
    :root {
      color-scheme: light;
      font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
      --ink: #20352f;
      --soft-ink: #49615a;
      --accent: #823c56;
      --wash: #f5e8ec;
      --edge: clamp(24px, 4.4vw, 76px);
    }
    *, *::before, *::after { box-sizing: border-box; }
    body { margin: 0; color: var(--ink); background: #e0eee5; overflow: hidden; }
    button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    button:focus-visible, canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
    .experience { height: 100vh; height: 100dvh; position: relative; isolation: isolate; color: var(--ink); }
    .sky, .sky-layer, #scene { position: absolute; inset: 0; width: 100%; height: 100%; }
    .sky { z-index: -2; overflow: hidden; }
    .sky-layer { opacity: 0; transition: opacity 1.2s ease-in-out; }
    .sky-layer.visible { opacity: 1; }
    .weather-sky, .twilight-sky, .night-sky { position: absolute; inset: 0; pointer-events: none; transition: opacity .8s ease; }
    .weather-sky { opacity: var(--cloud, 0); background: linear-gradient(140deg, #e0e9ec, #9ab6c6 64%, #87a5bb); }
    .twilight-sky { opacity: var(--twilight, 0); background: radial-gradient(ellipse at 78% 68%, #f7be8c 2%, transparent 57%), linear-gradient(150deg, #f5d4b9, #b6a7bc 57%, #748da5); }
    .night-sky {
      opacity: var(--night, 0);
      background: radial-gradient(1px 1px at 8% 15%, #d6f4ff 96%, transparent),
        radial-gradient(1px 1px at 23% 7%, #ffffff 96%, transparent),
        radial-gradient(1.5px 1.5px at 19% 26%, #d4e9ef 96%, transparent),
        radial-gradient(1px 1px at 36% 19%, #fff0d6 96%, transparent),
        radial-gradient(1.5px 1.5px at 44% 4%, #e0f7ff 96%, transparent),
        radial-gradient(1px 1px at 48% 32%, #f4e7fc 96%, transparent),
        radial-gradient(1px 1px at 57% 12%, #e3f3ff 96%, transparent),
        radial-gradient(1px 1px at 65% 6%, #ffffff 96%, transparent),
        radial-gradient(1.5px 1.5px at 70% 27%, #d3e9ff 96%, transparent),
        radial-gradient(1px 1px at 80% 13%, #e0f7ff 96%, transparent),
        radial-gradient(1px 1px at 82% 35%, #d8e5ef 96%, transparent),
        radial-gradient(1.5px 1.5px at 93% 26%, #f5e6ec 96%, transparent),
        radial-gradient(1px 1px at 94% 53%, #dffaff 96%, transparent),
        radial-gradient(1px 1px at 26% 61%, #d6ebff 96%, transparent),
        radial-gradient(1px 1px at 12% 63%, #e6edfe 96%, transparent),
        radial-gradient(ellipse at 75% 100%, #42647c 0%, transparent 61%),
        linear-gradient(155deg, #0e2338, #1b3252 64%, #223a55);
    }
    .night-sky::after { content: ""; position: absolute; top: 12%; right: 11%; width: clamp(32px, 5.2vw, 90px); aspect-ratio: 1; border-radius: 50%; background: #f8efd4; box-shadow: 0 0 35px #d7ebff67, 0 0 90px #a2dfff26, inset -9px -7px #eee3c7; opacity: calc(1 - var(--cloud, 0) * .85); }
    .sky-layer[data-season="0"] {
      background: radial-gradient(ellipse at 12% 28%, #fff8e8 0, transparent 57%),
        radial-gradient(ellipse at 78% 94%, #e6efe4 2%, transparent 48%), linear-gradient(125deg, #e3f0e4, #bad7d6 76%, #b2cfcb);
    }
    .sky-layer[data-season="1"] {
      background: radial-gradient(ellipse at 12% 28%, #faf8d8 0, transparent 54%),
        radial-gradient(ellipse at 73% 100%, #e4f4d6 0, transparent 55%), linear-gradient(130deg, #e2f2ea, #a7d4dc 76%, #9ac7d7);
    }
    .sky-layer[data-season="2"] {
      background: radial-gradient(ellipse at 8% 26%, #fff3d9 0, transparent 60%),
        radial-gradient(ellipse at 79% 100%, #f9e4c4 0, transparent 63%), linear-gradient(135deg, #faeadb, #e4b9a1 75%, #d9a995);
    }
    .sky-layer[data-season="3"] {
      background: radial-gradient(ellipse at 9% 24%, #f7f9fe 0, transparent 53%),
        radial-gradient(ellipse at 77% 100%, #e9f3f6 0, transparent 50%), linear-gradient(132deg, #e0eaf6, #b3cbe2 76%, #a6bed7);
    }
    #scene { display: block; touch-action: none; cursor: grab; }
    #scene:active { cursor: grabbing; }
    #scene:focus-visible { outline-offset: -5px; }
    .topbar { position: absolute; top: clamp(21px, 4.2vh, 49px); left: var(--edge); right: var(--edge); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
    .brand { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; letter-spacing: .15em; white-space: nowrap; }
    .brand-mark { width: 36px; height: 36px; background: #29443d; border-radius: 12px; position: relative; }
    .brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 9px; background: #e6f2dd; clip-path: polygon(50% 0, 100% 36%, 50% 75%, 0 36%); }
    .brand-mark::after { transform: translateY(5px); background: #a4bca4; clip-path: polygon(0 38%, 50% 76%, 100% 38%, 100% 52%, 50% 92%, 0 52%); }
    .reset { pointer-events: auto; display: flex; align-items: center; gap: 8px; border: 1px solid #fff9; border-radius: 24px; padding: 11px 15px; background: #f9fcf878; font-size: .875rem; font-weight: 650; white-space: nowrap; transition: background .2s; }
    .reset:hover { background: #fffdf1ce; }
    .reset-icon { font-family: system-ui, sans-serif; font-size: 18px; line-height: .75; }
    .top-actions { display: flex; gap: 8px; align-items: center; }
    .bag-toggle .count { min-width: 22px; padding: 2px 5px; border-radius: 12px; background: #dbe8dd; font-size: .75rem; text-align: center; }
    .journal-toggle { background: #ecf5eadd; }
    .journal-icon { position: relative; width: 13px; height: 14px; border: 1.5px solid currentColor; border-radius: 2px; }
    .journal-icon::after { content: ""; position: absolute; left: 3px; right: 2px; top: 4px; height: 4px; border-block: 1px solid currentColor; }
    .intro { position: absolute; top: 21.8%; left: var(--edge); pointer-events: none; }
    .island-meta { display: flex; align-items: center; gap: 9px; width: max-content; margin-bottom: 15px; color: var(--soft-ink); font-size: .8125rem; font-weight: 650; letter-spacing: .04em; }
    .island-meta time { font-variant-numeric: tabular-nums; }
    .meta-dot { color: var(--soft-ink); opacity: .66; }
    .intro h1 { margin: 0 0 18px; font-family: "Noto Serif CJK SC", "Songti SC", SimSun, serif; font-size: clamp(60px, 7.15vw, 117px); font-weight: 700; letter-spacing: -.10em; line-height: .96; }
    .intro p { margin: 0; color: var(--soft-ink); font-size: clamp(13px, 1.02vw, 17px); letter-spacing: .09em; line-height: 1.85; }
    .intro-copy { animation: enter .45s both; }
    .activity-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
    .game-action, .gather-action { display: flex; align-items: center; gap: 9px; min-height: 43px; padding: 8px 15px; border: 1px solid #20372e; border-radius: 23px; background: #29443d; color: #fffef3; font-size: .875rem; font-weight: 700; letter-spacing: .045em; pointer-events: auto; transition: background .2s, box-shadow .2s; }
    .gather-action { border-color: #ffffffad; background: #f8fbf586; color: var(--ink); }
    .gather-action:hover { background: #fffcf5d9; }
    .gather-star { color: #98703c; font-size: 1rem; line-height: 1; }
    .game-action:hover { background: #416255; }
    .game-action[data-bite="true"] { background: #8b4a32; border-color: #8b4a32; box-shadow: 0 0 0 5px #fff4cf9c; }
    .hook { width: 10px; height: 11px; border: 1.5px solid currentColor; border-top: 0; border-radius: 0 0 6px 6px; transform: rotate(10deg); }
    .hook::after { content: ""; position: absolute; right: -1.5px; top: -4px; height: 5px; border-right: 1.5px solid currentColor; }
    .intro .game-status { max-width: min(286px, 78vw); min-height: 1.55em; margin-top: 9px; font-size: .875rem; letter-spacing: .01em; line-height: 1.55; }
    .bag, .journal { position: absolute; z-index: 2; top: calc(clamp(21px, 4.2vh, 49px) + 54px); right: var(--edge); width: min(340px, calc(100% - 2 * var(--edge))); max-height: calc(100% - clamp(126px, 18vh, 162px)); overflow: auto; overscroll-behavior: contain; padding: 17px; border: 1px solid #fff; border-radius: 23px; background: #fcfefbf7; color: #20352f; box-shadow: 0 14px 42px #162d2a30; }
    .bag[hidden], .journal[hidden], .placement-tools[hidden] { display: none; }
    .bag h2, .journal h2 { margin: 0; font-size: 1.125rem; }
    .bag-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
    .bag-close { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #eef3ee; font-size: 17px; }
    .bag-note { margin: 3px 0 10px; color: #526860; font-size: .875rem; line-height: 1.55; }
    .supplies { display: grid; gap: 6px; }
    .supply { display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center; width: 100%; padding: 7px 9px; border: 1px solid #e6ece6; border-radius: 12px; background: #f7faf6; text-align: left; }
    .supply[hidden] { display: none; }
    .supply:disabled { opacity: .58; cursor: default; }
    .supply:not(:disabled):hover { border-color: #a5bca7; background: #edf5ed; }
    .supply-icon { display: grid; place-items: center; position: relative; width: 30px; height: 30px; border-radius: 9px; background: #e9efe5; }
    .supply-icon::before, .supply-icon::after { content: ""; position: absolute; }
    .supply-icon.wood::before { width: 18px; height: 8px; border-radius: 4px; background: #95684a; transform: rotate(-30deg); }
    .supply-icon.wood::after { width: 6px; height: 6px; border: 1px solid #95684a; border-radius: 50%; background: #e1b481; transform: translate(-5px, 3px); }
    .supply-icon.stone::before { width: 19px; height: 13px; background: #788b81; clip-path: polygon(0 72%, 25% 24%, 62% 5%, 85% 22%, 100% 66%, 79% 96%, 20% 100%); }
    .supply-icon.stone::after { width: 11px; height: 7px; background: #b3c4ac; clip-path: polygon(0 67%, 47% 11%, 84% 12%, 100% 62%, 48% 83%); transform: translateY(-2px); }
    .supply-icon.seed::before { width: 8px; height: 11px; border-radius: 8px 1px 8px 2px; background: #6a944e; transform: translate(3px, -3px) rotate(31deg); }
    .supply-icon.seed::after { width: 8px; height: 10px; border-radius: 1px 8px 2px 8px; background: #94ad5e; transform: translate(-3px, 0) rotate(-10deg); }
    .supply-icon.lantern::before { width: 13px; height: 13px; border-radius: 5px; background: #cd764f; box-shadow: inset 3px 0 #efad68, inset -3px 0 #a95641; }
    .supply-icon.lantern::after { width: 8px; height: 17px; border-block: 2px solid #82573e; border-radius: 2px; }
    .supply-icon.glass::before { width: 13px; height: 17px; border-radius: 4px; background: #78b9aa; transform: rotate(25deg); box-shadow: inset 3px 0 #addbd0; }
    .supply-icon.carrot::before { width: 8px; height: 18px; border-radius: 7px 7px 80% 80%; background: #d9844e; transform: translate(1px, 2px) rotate(-26deg); }
    .supply-icon.carrot::after { width: 8px; height: 6px; border-radius: 5px; background: #658850; transform: translate(-4px, -8px) rotate(23deg); }
    .supply-icon.berry::before { width: 13px; height: 14px; border-radius: 6px 6px 60% 60%; background: #c76c78; box-shadow: inset -3px 0 #b45765; transform: translateY(2px); }
    .supply-icon.berry::after, .supply-icon.pumpkin::after { width: 7px; height: 5px; border-radius: 6px 1px 6px 1px; background: #668654; transform: translateY(-7px); }
    .supply-icon.pumpkin::before { width: 18px; height: 13px; border-radius: 48%; background: #dfab61; box-shadow: inset 4px 0 #cc8a4b, inset -4px 0 #edbd76; transform: translateY(2px); }
    .supply-icon.windmill::before { width: 19px; height: 19px; background: #849680; clip-path: polygon(45% 0, 63% 0, 63% 43%, 100% 43%, 100% 61%, 61% 61%, 61% 100%, 43% 100%, 43% 60%, 0 60%, 0 42%, 45% 42%); transform: rotate(25deg); }
    .supply-icon.cloth::before { width: 16px; height: 14px; border-radius: 2px; background: repeating-conic-gradient(#b96d69 0 25%, #edc3ab 0 50%) 50% / 8px 8px; transform: rotate(-15deg); }
    .supply-icon.star::before { width: 18px; height: 18px; background: #b38f49; clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%); }
    .supply-icon.fish::before { width: 14px; height: 10px; border-radius: 62% 62% 64% 64%; background: var(--item-tint, #78989c); transform: translateX(-3px); }
    .supply-icon.fish::after { width: 8px; height: 11px; background: var(--item-tint, #78989c); clip-path: polygon(0 50%, 100% 0, 100% 100%); transform: translateX(7px); }
    .supply-name { display: block; font-size: .875rem; font-weight: 700; }
    .supply-prop, .supply-count { color: #50665d; font-size: .8125rem; }
    .bag-actions { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 8px; }
    .undo, .reclaim { border: 0; min-height: 36px; padding: 4px 0; background: transparent; color: #49615a; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
    .undo:disabled { opacity: .52; cursor: default; }
    .bag-items { margin: 13px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
    .bag-items:empty { display: none; }
    .bag-item { display: inline-flex; gap: 5px; align-items: center; padding: 4px 8px 4px 4px; background: #ecf2e9; border-radius: 9px; font-size: .8125rem; }
    .bag-item .supply-icon { width: 24px; height: 24px; background: transparent; }
    .placement-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; pointer-events: auto; width: max-content; max-width: 100%; }
    .journal { display: flex; flex-direction: column; width: min(440px, calc(100% - var(--edge) * 2)); padding: 0; overflow: hidden; }
    .journal-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 17px 12px; }
    .wallet { margin-left: auto; font-size: .8125rem; font-weight: 700; color: #715633; background: #f3ebd7; padding: 6px 9px; border-radius: 13px; white-space: nowrap; }
    .journal-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; padding: 0 12px 10px; }
    .journal-tabs button { min-height: 37px; border: 0; background: transparent; border-radius: 9px; font-size: .875rem; font-weight: 700; white-space: nowrap; padding: 4px; }
    .journal-tabs button:hover { background: #ecf1eb; }
    .journal-tabs button[aria-pressed="true"] { background: #dfecdf; color: #295247; }
    .journal-content { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 16px 16px; }
    .journal-content h3 { margin: 14px 0 8px; font-family: "Songti SC", SimSun, serif; font-size: 1.25rem; }
    .journal-content h3:first-child { margin-top: 5px; }
    .journal-content p { margin: 0; font-size: .875rem; line-height: 1.58; color: #526860; }
    .journal-card { margin: 7px 0; padding: 11px; border-radius: 13px; background: #f1f5ee; border: 1px solid #e5ede3; }
    .journal-card.feature { background: #e6eee3; border-color: #dbe7d7; }
    .card-row { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
    .card-row + p { margin-top: 5px; }
    .journal-card strong { line-height: 1.36; font-size: .9375rem; }
    .card-meter { margin-top: 7px; height: 5px; border-radius: 8px; overflow: hidden; background: #d5e2d7; }
    .card-meter > i { display: block; height: 100%; background: #6b9d7e; border-radius: inherit; }
    .panel-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .panel-button { min-height: 36px; padding: 6px 10px; border: 1px solid #cadacf; border-radius: 9px; background: #fbfdf8; color: #274739; font-size: .875rem; font-weight: 700; white-space: nowrap; }
    .panel-button:hover { background: #e2eedf; }
    .panel-button.primary { border-color: #2e594d; background: #2e594d; color: #fffdf2; }
    .panel-button.primary:hover { background: #416e5c; }
    .panel-button:disabled { opacity: .55; cursor: default; }
    .panel-button[aria-pressed="true"] { background: #dcebdc; border-color: #a6c0ae; }
    .tagline { color: #53695b; font-size: .8125rem; text-align: end; }
    .costs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
    .cost { padding: 3px 6px; border-radius: 7px; background: #e2eee1; color: #426450; font-size: .775rem; }
    .cost.short { background: #f4e9dc; color: #895c46; }
    .crop-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 10px 0; }
    .crop-tabs .panel-button { padding-inline: 5px; }
    .inline-item { display: flex; align-items: center; gap: 7px; min-width: 0; }
    .inline-item .supply-icon { flex: 0 0 30px; }
    .experience.dark-sky { --ink: #f2f6ef; --soft-ink: #cfdfeb; --accent: #f3cf93; }
    .dark-sky .reset { color: #edf5f2; background: #19374de9; border-color: #627a90; }
    .dark-sky .reset:hover, .dark-sky .gather-action:hover { background: #37566f; }
    .dark-sky .bag-toggle .count { color: #253b45; background: #d7e6e7; }
    .dark-sky .gather-action { color: #eef6ef; border-color: #8195aa; background: #203d54d9; }
    .dark-sky .gather-star { color: #f5d18b; }
    .dark-sky .dock { color: #264037; --accent: #366051; --wash: #e1eee3; }
    #scene.placing, #scene.placing:active { cursor: crosshair; }
    @keyframes enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
    .hint { position: absolute; bottom: clamp(25px, 4.05vh, 53px); left: var(--edge); display: grid; gap: 6px; color: var(--soft-ink); font-size: 12px; letter-spacing: .04em; pointer-events: none; }
    .hint-line { display: flex; align-items: center; gap: 7px; }
    .hint kbd { padding: 2px 4px; border: 1px solid currentColor; border-radius: 4px; font: 9px/1 system-ui, sans-serif; }
    .mouse { display: inline-block; width: 12px; height: 17px; border: 1.4px solid currentColor; border-radius: 8px; position: relative; }
    .mouse::after { content: ""; position: absolute; width: 1.5px; height: 4px; top: 3px; left: 4px; background: currentColor; border-radius: 2px; }
    .touch-help { display: none; }
    .dock { position: absolute; left: 50%; bottom: clamp(19px, 3.6vh, 43px); transform: translateX(-50%); display: flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); padding: 7px; border: 1px solid #ffffffd9; border-radius: 27px; background: #fffffff1; box-shadow: 0 10px 38px #203d3220, 0 2px 3px #203d3208; }
    .seasons { display: flex; gap: 3px; }
    .season { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 97px; height: 55px; padding: 0 14px; border: 1px solid transparent; border-radius: 19px; background: transparent; white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .08em; transition: background .24s, border-color .24s, color .24s; }
    .season:hover { background: #eef3ee; }
    .season[aria-pressed="true"] { background: var(--wash); border-color: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
    .season-icon { position: relative; display: grid; place-items: center; width: 27px; height: 27px; flex: none; border-radius: 50%; font-family: "Segoe UI Symbol", system-ui, sans-serif; font-size: 18px; line-height: 1; letter-spacing: 0; }
    .spring .season-icon { background: #f7d6e2; color: #9a496b; }
    .summer .season-icon { background: #ecedbd; color: #658138; }
    .autumn .season-icon { background: #f8dfbd; color: #8e472c; }
    .autumn .season-icon::before { content: ""; width: 11px; height: 16px; border-radius: 80% 8% 80% 8%; background: currentColor; transform: rotate(20deg); }
    .autumn .season-icon::after { content: ""; position: absolute; width: 1px; height: 12px; background: #f8dfbd; top: 9px; left: 12px; transform: rotate(32deg); }
    .winter .season-icon { background: #dbeaf8; color: #45759c; }
    .divider { width: 1px; height: 29px; margin: 0 1px; background: #e1eae5; }
    .autoplay { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eff4ee; transition: background .2s; }
    .autoplay:hover, .autoplay[aria-pressed="true"] { background: var(--wash); color: var(--accent); }
    .play-icon { margin-left: 2px; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
    .autoplay[aria-pressed="true"] .play-icon { width: 9px; height: 11px; margin-left: 0; border: 0; border-inline: 3px solid currentColor; }
    .error { position: absolute; inset: 40% 8% auto; border-radius: 15px; background: #fff; padding: 16px; text-align: center; font-size: 14px; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
    @media (max-width: 1130px) { .hint { bottom: 113px; } }
    @media (max-width: 800px) {
      .intro { top: clamp(82px, 12vh, 130px); }
      .island-meta { margin-bottom: 9px; }
      .intro h1 { font-size: clamp(48px, 12vw, 82px); margin-bottom: 9px; }
      .intro p { letter-spacing: .035em; }
      .activity-actions { margin-top: 10px; }
      .game-action, .gather-action { min-height: 38px; }
      .hint { bottom: 105px; }
    }
    @media (max-width: 565px) {
      :root { --edge: 21px; }
      .brand { gap: 9px; font-size: 14px; }
      .brand-mark { width: 33px; height: 33px; }
      .brand-mark::before, .brand-mark::after { inset: 8px; }
      .reset { padding: 8px 10px; min-height: 39px; gap: 5px; }
      .top-actions { gap: 5px; }
      .camera-label { display: none; }
      .camera-reset { justify-content: center; width: 39px; }
      .journal { top: auto; bottom: calc(clamp(19px, 3.6vh, 43px) + 69px); right: 12px; width: calc(100% - 24px); max-height: min(68dvh, calc(100% - 167px)); }
      .bag { top: auto; bottom: calc(clamp(19px, 3.6vh, 43px) + 69px); right: 12px; width: min(340px, calc(100% - 24px)); max-height: min(66dvh, calc(100% - 167px)); }
      .hint { bottom: 95px; }
      .dock { gap: 5px; padding: 5px; border-radius: 22px; width: max-content; }
      .seasons { gap: 2px; }
      .season { min-width: 0; height: 48px; padding: 0 7px; gap: 4px; border-radius: 16px; font-size: 12px; letter-spacing: 0; }
      .season-icon { width: 22px; height: 22px; font-size: 15px; }
      .autumn .season-icon::before { width: 8px; height: 12px; }
      .autumn .season-icon::after { height: 8px; top: 8px; left: 10px; }
      .autoplay { width: 36px; height: 36px; }
    }
    @media (max-width: 359px) {
      :root { --edge: 15px; }
      .season { padding: 0 5px; }
      .top-actions { gap: 4px; }
      .reset { gap: 4px; padding: 7px; }
      .journal-icon { display: none; }
    }
    @media (pointer: coarse) { .mouse-help { display: none; } .touch-help { display: inline; } }
    @media (max-height: 550px) and (min-width: 640px) {
      .topbar { top: 15px; }
      .intro { top: 27%; }
      .island-meta { margin-bottom: 5px; }
      .intro h1 { font-size: min(12vh, 65px); margin-bottom: 8px; }
      .game-action, .gather-action { min-height: 34px; }
      .activity-actions { margin-top: 7px; }
      .intro .game-status { max-width: 165px; }
      .hint { bottom: 70px; }
      .dock { bottom: 10px; }
      .season { height: 42px; }
    }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: 0s !important; } }
  
.chart-toggle{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:7px 14px;background:#f9f5dfd9;color:#31595a;border:1px solid #46716b55;border-radius:30px;pointer-events:auto;font-weight:700;font-size:.86rem}.chart-toggle:hover{background:#fffbea}.placement-tools{display:flex;gap:5px;flex-wrap:wrap}.placement-tools [hidden],.pond-hud{display:none}.pond-view:not(.voyage-open) .pond-hud{position:absolute;top:calc(clamp(21px,4.2vh,49px) + 54px);left:var(--edge);max-width:calc(100% - 2 * var(--edge));display:flex;align-items:center;gap:15px;padding:10px 13px;background:#f8f5e7ee;border-radius:9px;color:#284d4b;box-shadow:0 3px 14px #25463a24}.pond-hud strong,.pond-list{display:block}.pond-list{font-size:12px;color:#4d6d61;max-width:230px;margin-top:4px}.pond-hud .pond-return{flex:none;min-height:32px;font-size:12px;padding:5px 8px}.pond-view .intro,.pond-view .hint,.pond-view:has(.journal:not([hidden])) .pond-hud,.pond-view:has(.bag:not([hidden])) .pond-hud{display:none}.pond-view .brand{color:#284d4b;background:#f9f5e8da;border-radius:13px;padding-right:9px}.compass-icon{width:1.13em;height:1.13em;display:inline-grid;place-items:center;border:1.45px solid currentColor;border-radius:50%;position:relative;flex:none;transform:rotate(34deg)}.compass-icon:after{content:"";width:4px;height:73%;clip-path:polygon(50% 0,100% 53%,50% 100%,0 48%);background:linear-gradient(currentColor 0 51%,#c08152 52%)}.voyage{position:absolute;inset:0;z-index:20;color:#244749;pointer-events:none;--chart-ink: #284e50;--paper: #f6efda;--route: #397f7b}.voyage [hidden],.voyage[hidden]{display:none!important}.voyage button:focus-visible{outline:3px solid #cf8241;outline-offset:3px}.voyage-open>:is(.intro,.topbar,.hint,.dock,.bag,.journal){display:none}.voyage-open.sailing-sky>.sky{background:radial-gradient(circle at 78% 24%,#fff5d3 0 2.7%,transparent 2.85%),linear-gradient(180deg,var(--voyage-sky),var(--voyage-horizon) 71%,var(--voyage-sky))}.sailing-sky>.sky>*{display:none}.sailing-sky>#scene:focus-visible{outline:none}.sailing-sky[data-voyage-route=stars]>.sky{background:radial-gradient(circle at 76% 21%,#fcf0ce 0 1.9%,#e4d9d75c 2.1%,transparent 3.8%),linear-gradient(177deg,#233555,#53618a 40%,#b4a2bd 71%,#8f9bae)}.sailing-sky[data-voyage-route=stars]>.sky:before{content:"";position:absolute;inset:0 0 32%;opacity:.8;background-image:radial-gradient(circle at 16% 27%,#fff6d6 0 1.2px,transparent 1.7px),radial-gradient(circle at 74% 70%,#e9efff 0 .8px,transparent 1.3px),radial-gradient(circle at 47% 41%,#fffdf7 0 .7px,transparent 1.2px);background-size:217px 179px,139px 151px,167px 109px;mask-image:linear-gradient(#000 65%,transparent)}.voyage button{touch-action:manipulation}.atlas{position:absolute;inset:0;display:grid;place-items:center;pointer-events:auto;background:radial-gradient(ellipse at 22% 24%,#4b7671,#315b59 55%,#264a4c);padding:clamp(12px,4vw,52px);overflow:auto}.atlas-sheet{width:min(1120px,100%);padding:clamp(17px,3.4vw,46px);border-radius:10px;background-color:#f7f0de;background-image:repeating-linear-gradient(0deg,#84683c04 0 1px,transparent 1px 4px);box-shadow:0 20px 80px #163d3b92,inset 0 0 0 1px #fffae4}.atlas-head,.sail-top,.course-heading,.atlas-heading,.atlas-log,.helm-keys,.route-facts,.port-bottom{display:flex;align-items:center}.atlas-head,.course-heading,.sail-top{justify-content:space-between;gap:12px}.atlas-head{padding-bottom:clamp(13px,2vw,25px);border-bottom:1px solid #b2aa91}.atlas-heading{gap:12px}.atlas-heading .compass-icon{width:34px;height:34px;border-width:2px;color:#356565}.atlas-heading .compass-icon:after{width:8px}.atlas-head h2,.route-info h3,.port-panel h3,.route-name{font-family:STKaiti,KaiTi,Songti SC,SimSun,serif;margin:0;line-height:1.12;letter-spacing:.065em}.atlas-head h2{font-size:clamp(26px,3vw,43px)}.sail-secondary,.sail-primary,.steer{border-radius:7px;border:1px solid #49696759;background:#f9f3e4;color:#284d4d;min-height:39px;padding:8px 14px;font-size:13px;font-weight:700;letter-spacing:.03em}.sail-secondary:hover:not(:disabled),.steer:hover{background:#fffbed;border-color:#56827b}.sail-primary{background:#295952;color:#fff7df;border-color:#295952;min-height:43px}.sail-primary:hover:not(:disabled){background:#1b4844}.voyage button:disabled{opacity:.58;cursor:default}.atlas-spread{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(210px,1fr);gap:clamp(16px,3vw,40px);margin:clamp(15px,2.4vw,30px) 0}.atlas-map{position:relative;isolation:isolate;min-height:270px;aspect-ratio:1.62;align-self:center;background:#dce6d9;border-radius:4px;box-shadow:inset 0 0 0 1px #5578725c;overflow:hidden}.chart-paper,.map-pins{position:absolute;inset:0;width:100%;height:100%}.map-pin{position:absolute;transform:translate(-50%,-50%);border:0;background:transparent;padding:7px 5px 2px;color:#25494b;display:flex;align-items:center;flex-direction:column;min-width:56px}.map-pin i{width:13px;height:13px;border:2px solid #f5edd6;border-radius:50%;background:var(--pin);box-shadow:0 0 0 1px var(--pin);position:relative}.map-pin[aria-pressed=true] i:after{content:"";position:absolute;inset:-7px;border:1px solid var(--pin);border-radius:50%}.map-pin strong{margin-top:8px;border:1px solid transparent;padding:1px 5px;font-size:clamp(10px,1.13vw,14px);letter-spacing:.05em;border-radius:4px;background:#f9f2ddd9}.map-pin[aria-pressed=true] strong{border-color:#617d70;background:#fff4d8}.chart-scale{position:absolute;bottom:9px;right:12px;font:600 10px system-ui;letter-spacing:.17em;color:#406360}.route-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}.route-info h3{color:#294f4c;font-size:clamp(29px,3.7vw,53px);margin:5px 0 8px}.route-info p,.port-panel p{margin:8px 0;line-height:1.7;font-size:14px;color:#48625d}.route-info .route-kind,.route-type,.port-kind{color:var(--route);font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:800}.route-facts{gap:8px 16px;flex-wrap:wrap;padding:10px 0;margin:6px 0 11px;border-block:1px solid #bdbda6;font-size:12px;color:#345451;width:100%}.route-info .route-detail{font-size:12px;margin:0 0 12px}.route-info p.sail-instructions{font-size:11px;margin:8px 0 0;color:#59716b}.route-info .sail-primary{min-width:135px}.route-info .sail-secondary{margin-top:6px}.atlas-log{justify-content:space-between;gap:10px 20px;flex-wrap:wrap;border-top:1px solid #b2aa91;padding-top:12px;font-size:12px;color:#4b6762}.stamp-list{display:flex;gap:7px;flex-wrap:wrap}.stamp-list span{border:1px dashed #9ba597;border-radius:5px;padding:3px 7px;color:#62746b}.stamp-list span.earned{color:#386653;border:1px solid #47755b;background:#e2ead5}.sailing{position:absolute;inset:0}.sail-top{position:absolute;top:clamp(15px,3.5vh,40px);left:var(--edge);right:var(--edge);align-items:flex-start}.route-plate,.course-card,.helm-keys,.helm-guide,.port-panel,.moor{background:#fbf4e4ee;box-shadow:0 5px 28px #28494522;border:1px solid #fdfcf0bd}.route-plate{display:flex;align-items:center;gap:12px;padding:12px 18px;border-radius:9px}.route-plate>.compass-icon{width:30px;height:30px;color:var(--route)}.route-plate>.compass-icon:after{width:7px}.route-name{font-size:clamp(22px,2.4vw,34px);margin-top:3px}.moor{pointer-events:auto;border-color:#57716d50}.sail-hud{position:absolute;inset:auto var(--edge) max(18px,4.1vh) var(--edge);display:flex;justify-content:space-between;align-items:flex-end;gap:10px}.course-card{border-radius:9px;width:clamp(182px,19vw,258px);padding:10px 13px 9px}.course-heading{font-size:13px}.mail-tally,.course-meta{font-size:11px;color:#43625d}.course-paper{width:100%;height:auto;display:block;margin:3px 0}.course-meta{font-variant-numeric:tabular-nums;white-space:nowrap}.helm{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.helm-guide{border-radius:6px;padding:5px 11px;font-size:12px;text-align:right;max-width:330px}.helm-keys{border-radius:9px;padding:5px;gap:4px;pointer-events:auto}.steer{min-width:43px;touch-action:none}.steer:active,.pilot[aria-pressed=true],.pilot[aria-pressed=true]:hover:not(:disabled){background:#2c635c;color:#fff7de}.helm-keys .sail-secondary{padding-inline:10px}.boost:active{background:#ecd19c}.port-panel{pointer-events:auto;position:absolute;top:50%;left:var(--edge);transform:translateY(-43%);width:min(373px,49vw);max-height:calc(100% - 115px);overflow:auto;overscroll-behavior:contain;padding:clamp(17px,2.25vw,30px);border-radius:10px;background:#fbf4e7f5}.port-panel h3{font-size:clamp(23px,2.2vw,34px);margin-top:5px}.port-bottom{gap:7px;flex-wrap:wrap;margin-top:12px}.puzzle-note{min-height:1.4em;color:#805831;font-size:13px;font-weight:600;margin:7px 0}.puzzle-board{position:relative;border-radius:6px;background:#e3e7d5;border:1px solid #95a99a;aspect-ratio:1.65;margin:9px 0;overflow:hidden}.puzzle-board canvas{width:100%;height:100%;display:block}.puzzle-board button{position:absolute;transform:translate(-50%,-50%);width:32px;height:32px;border-radius:50%;border:1px solid #46726e;background:#fcf6dc;color:#295752;font-weight:700;padding:0}.puzzle-board .mirror{width:clamp(28px,3.3vw,39px);height:clamp(25px,3.1vw,35px);border-radius:5px;font:700 19px monospace;background:#d2f3eb;color:#1c5c68;border-color:#77a69d}.puzzle-board .current-star{background:#967038;color:#fff7d6;border-color:#816838}.bell-row{display:flex;gap:8px;margin:11px 0}.bell-key{flex:1;min-height:60px;border:1px solid #b39d7a;border-radius:20px 20px 7px 7px;background:#e4e9d4;font-weight:700;color:#365956}.bell-key:nth-child(2){background:#f0d9b2;color:#82552e}.bell-key:nth-child(3){background:#dfe4f2;color:#5b6483}.bell-key.ringing{outline:3px solid #c97e3e;outline-offset:2px;filter:brightness(1.09)}.reward-line{border-block:1px solid #b8c0a5;padding:9px 0;color:#315c50;font-weight:650;line-height:1.7;font-size:14px}@media(max-width:750px){.atlas{padding:12px}.atlas-sheet{padding:18px}.atlas-spread{gap:17px;grid-template-columns:1.35fr 1fr}.atlas-map{min-height:245px}.route-info p,.port-panel p{font-size:13px}.chart-toggle{min-height:36px;padding-inline:11px}.sail-top{left:15px;right:15px}.sail-hud{left:12px;right:12px;bottom:14px}.route-plate{padding:8px 12px}}@media(max-width:590px)and (min-height:480px){.atlas{display:flex;flex-direction:column;padding:max(9px,env(safe-area-inset-top)) 9px max(9px,env(safe-area-inset-bottom))}.atlas-sheet{padding:16px;min-height:min-content;flex:none;margin-block:auto}.atlas-head{padding-bottom:12px}.atlas-spread{display:flex;flex-direction:column;gap:14px;margin:12px 0}.atlas-map{min-height:0;min-width:100%;aspect-ratio:1.67;max-height:32vh}.route-info h3{font-size:30px}.route-info p{margin:3px 0}.route-facts{padding:7px 0;margin:6px 0}.route-info .route-detail{margin:3px 0 9px}.atlas-log{gap:6px}.course-card{width:147px;padding:6px 8px}.course-paper{max-height:49px}.sail-hud{flex-wrap:wrap;align-items:flex-end}.helm{width:100%;align-items:stretch}.helm-guide{text-align:center;align-self:center}.helm-keys{align-self:center}.port-panel{top:auto;bottom:max(9px,env(safe-area-inset-bottom));left:10px;width:calc(100% - 20px);transform:none;max-height:65%;padding:15px 18px}.puzzle-board{height:min(18vh,150px);aspect-ratio:auto}.bell-row{margin:6px 0}.bell-key{min-height:46px}}@media(max-height:560px)and (min-width:591px){.atlas{display:block;padding:8px 18px}.atlas-sheet{margin:auto;padding:12px 20px}.atlas-head{padding-bottom:7px}.atlas-head h2{font-size:24px}.atlas-spread{margin:9px 0;grid-template-columns:1.45fr 1fr}.atlas-map{min-height:0;aspect-ratio:auto;height:clamp(150px,52vh,240px);width:100%}.atlas-log{padding-top:6px}.route-info h3{font-size:28px}.route-info p{margin:3px 0;font-size:12px}.route-info .route-detail{margin:0 0 5px}.route-facts{margin:4px 0;padding:4px 0}.port-panel{inset:60px 15px 8px auto;transform:none;max-height:none;width:min(370px,50vw);padding:12px 17px}.puzzle-board{height:100px;aspect-ratio:auto}.sail-top{top:8px}.route-plate{padding:5px 10px}.course-card{max-width:155px}.sail-hud{bottom:8px}}@media(max-width:365px){.helm-keys .sail-secondary,.steer{padding-inline:7px}.chart-toggle{padding-inline:8px}}.village-toggle{background:#f6ebd4df;border-color:#ceba94a8;color:#534b36}.v-roof{width:15px;height:13px;display:inline-block;position:relative;border:1.5px solid currentColor;border-top:0;transform:scale(.82);margin-top:4px}.v-roof:before{content:"";position:absolute;width:12px;height:12px;top:-5px;left:0;border:1.7px solid currentColor;border-right:0;border-bottom:0;transform:rotate(45deg)}.village-book{position:absolute;z-index:5;display:flex;flex-direction:column;right:var(--edge);top:calc(clamp(21px,4.2vh,49px) + 54px);width:clamp(335px,30vw,425px);max-height:calc(100% - 112px);color:#354c43;background:#faf5e8f7;border:1px solid #fff8de;border-radius:14px;box-shadow:0 15px 50px #273b373c;overflow:hidden}.village-book[hidden],.resident-pin[hidden],.v-notice[hidden],.voyage-open .resident-pin{display:none}.v-book-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 12px;border-bottom:1px solid #c7c8ac;background:linear-gradient(105deg,#e8ebd6,#eee2c5)}.v-book-head h2{font:700 26px/1.12 KaiTi,STKaiti,Songti SC,serif;letter-spacing:.07em;margin:4px 0}.v-book-total,.v-overline{font-size:11px;font-weight:700;letter-spacing:.12em;color:#647355}.v-close{border:1px solid #acb69c;background:#f9f5e7;border-radius:50%;height:33px;width:33px;color:#40594e;font-size:19px}.v-tabs{display:flex;padding:8px 14px 0;gap:6px}.v-tabs button{flex:1;border:1px solid #bec5ad;background:#f1eedf;border-radius:7px;color:#516254;padding:6px;font-size:13px;min-height:34px;font-weight:650}.v-tabs [aria-pressed=true],.v-btn[aria-pressed=true]{background:#436658;color:#fff6de;border-color:#436658}.v-book-body{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bcbfa8 transparent;padding:12px 14px 17px;min-height:0}.v-lede,.v-heading,.v-person,.v-actions,.v-ledger-row{display:flex;align-items:center;gap:7px}.v-lede,.v-heading{justify-content:space-between}.v-lede{margin:0 1px 8px}.v-lede h3,.v-heading h3{font-size:15px;margin:0}.v-lede span,.v-tag,.v-subtle,.v-bond{font-size:12px;color:#627164}.v-card{background:#fffcf3;border:1px solid #d4d3bc;border-radius:9px;padding:13px;margin:0 0 8px}.v-card:last-child{margin-bottom:0}.v-card p{color:#54665a;font-size:13px;line-height:1.65;margin:7px 0}.v-person{gap:13px}.v-portrait{width:56px;height:56px;border-radius:12px;border:1px solid #8e9b8052;flex:none}.v-person-text{display:grid;gap:2px}.v-person-text strong{font:700 23px/1.15 KaiTi,STKaiti,Songti SC,serif;letter-spacing:.07em}.v-person .v-overline{color:var(--person)}.v-actions{flex-wrap:wrap;margin-top:8px}.v-btn{background:#f5f3e6;border:1px solid #b9c0a7;border-radius:6px;color:#3c584c;font-size:12px;font-weight:650;padding:6px 10px;min-height:32px}.v-btn:hover:not(:disabled){border-color:#647d64}.v-btn.v-primary{background:#406650;color:#fff7e0;border-color:#406650}.v-btn:disabled{opacity:.48;cursor:default}.v-dialogue{border-top:3px solid var(--person)}.v-quote{padding:9px 12px;margin:10px 0 4px;background:#f1eedc;border-left:3px solid #abb68b;font-size:14px;line-height:1.65}.v-blueprint{display:block;width:100%;height:auto;max-height:110px;object-fit:cover;border-radius:5px;margin-bottom:10px}.v-stages{display:flex;list-style:none;gap:4px;padding:0;margin:10px 0;align-items:stretch}.v-stages li{text-align:center;flex:1;border-top:3px solid #d9dbca;padding-top:4px;color:#798478;font-size:11px}.v-stages .built{border-color:#6b926c;color:#406650}.v-stages .next{border-color:#bd8b56;color:#7e5d38}.v-back{margin-bottom:8px;background:transparent;border:0;padding:0 3px;min-height:23px}.v-ledger{margin:8px 0;border-block:1px solid #d9d8c4}.v-ledger-row{padding:5px 0;font-size:12px}.v-ledger-row+.v-ledger-row{border-top:1px dashed #d9d8c4}.v-ledger-row span{margin-left:auto;color:#5c6c60;font-variant-numeric:tabular-nums}.v-ledger-row .v-btn{padding:3px 8px;min-height:27px}.v-notice{margin:7px 14px 0;padding:6px 9px;background:#e6eddb;color:#355c48;font-size:12px;line-height:1.45;border-radius:5px}.resident-pin{position:absolute;z-index:1;transform:translate(-50%,-100%);border:1px solid #b0b597;border-radius:8px;padding:3px 8px;background:#fff7dfe8;box-shadow:0 2px 6px #40553d27;color:#365447;font-size:11px;font-weight:700;white-space:nowrap}.resident-pin:after{content:"";position:absolute;left:calc(50% - 4px);bottom:-4px;width:7px;height:7px;transform:rotate(45deg);background:#fff7df;border:solid #b0b597;border-width:0 1px 1px 0}.village-reading .resident-pin,.visiting-village .intro,.visiting-village .hint{display:none}.village-reading .dock{z-index:1}.visiting-village .dock{visibility:hidden}.visiting-village .brand{background:#faf5e5e8;color:#344d42;border-radius:11px;padding-right:10px}.delivery-note{pointer-events:auto;display:grid;grid-template-columns:1fr auto;gap:3px 12px;margin-top:8px;padding:6px 10px 8px;max-width:100%;border:1px solid #b7bca5;border-radius:8px;background:linear-gradient(90deg,#769372 var(--filled),#dde1d2 var(--filled)) left bottom/100% 3px no-repeat,#fbf8ecd9;color:#375446;text-align:left;font-size:12px}.delivery-title{font-weight:700}.delivery-tally{font-variant-numeric:tabular-nums}.delivery-needs{grid-column:1/-1;color:#536654;font-size:11px;line-height:1.35}.delivery-note[hidden],.village-reading .delivery-note,.pond-view .delivery-note,.voyage-open .delivery-note{display:none}.v-person .v-routine{margin-left:auto;max-width:40%;font-size:11px;line-height:1.4;color:#5a6a55}@media(max-width:650px){.village-book{top:auto;bottom:max(8px,env(safe-area-inset-bottom));right:9px;left:9px;width:auto;max-height:min(65dvh,calc(100% - 74px))}.village-reading .dock,.village-reading .hint{visibility:hidden}.visiting-village .village-book{max-height:min(56dvh,calc(100% - 74px))}.v-book-head{padding:8px 13px}.v-book-head h2{font-size:20px;margin:2px 0}.v-book-head>div{display:flex;align-items:baseline;gap:10px;flex-direction:row-reverse}.v-tabs{padding:5px 11px 0}.v-book-body{padding:7px 10px 10px}.v-card{padding:10px}.v-portrait{width:47px;height:47px}}@media(max-width:425px){.topbar{left:12px;right:12px}.village-toggle .v-roof{display:none}.top-actions .reset{padding-inline:8px}}@media(max-width:360px){.brand{font-size:12px;gap:4px}.brand-mark{width:25px;height:25px}.top-actions .reset{padding-inline:6px}.camera-reset{width:32px}}@media(max-height:550px)and (min-width:651px){.village-book{top:56px;right:12px;width:min(335px,45vw);max-height:calc(100% - 64px)}.v-book-head{padding:5px 13px}.v-book-head h2{font-size:20px}.v-tabs{padding-top:4px}.v-book-body{padding-top:6px}}

.brand { color: inherit; text-decoration: none; pointer-events: auto; }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
