@charset "UTF-8";
:root{--ink:#203f52;--muted:#607f8d;--paper:#edf5f5;--teal:#287e8a;--coral:#f16d59;--line:#d6e4e6;--yellow:#ffd077}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Hiragino Maru Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #e38c26;outline-offset:4px}button{border:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.page{max-width:1400px;margin:auto;padding:0 42px}.topbar{height:89px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:13px;letter-spacing:1.7px;font-weight:900}.brand-mark{font-size:30px;color:var(--teal)}.brand small{font-size:10px;letter-spacing:1px;color:var(--muted);font-weight:500;margin-left:12px}.top-actions{display:flex;gap:22px;align-items:center}.edition{font-size:10px;letter-spacing:2px;color:var(--muted)}.small-button{background:transparent;border:1px solid #bed2d7;border-radius:30px;padding:10px 16px;font-size:12px;min-height:42px}.layout{display:grid;grid-template-columns:minmax(230px,1fr) minmax(360px,490px) 250px;gap:38px;padding:43px 0 32px;align-items:start}.intro{padding-top:20px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:800;color:var(--teal);margin:0}.intro .eyebrow{font-size:11px;letter-spacing:1px}.eyebrow>span{display:inline-block;width:6px;height:6px;background:var(--coral);border-radius:50%;margin-right:7px}h1{font-size:clamp(44px,4vw,59px);font-weight:950;line-height:1.18;letter-spacing:-3px;margin:23px 0;position:relative}h1>span{display:block;font-size:27px;color:var(--teal);letter-spacing:1px;margin-bottom:13px}h1 em{font-style:normal}h1 b{display:inline-block;font-size:40px;color:var(--coral);transform:rotate(-15deg);margin-left:24px}.lead{font-size:13px;line-height:2;color:var(--muted);margin:0 0 22px}.tags{display:flex;gap:7px;flex-wrap:wrap}.tags span{font-size:10px;border:1px solid #c8dadd;border-radius:5px;padding:6px 9px;background:#f8fbfa}.postcard{position:relative;margin-top:36px;background:#fffdf6;padding:25px 21px;border:1px solid #e8e4d5;transform:rotate(-3deg);box-shadow:4px 7px 0 #dce9e9;max-width:264px}.postcard small{font-size:9px;color:#77888a;letter-spacing:1px}.postcard strong{display:block;font-size:24px;line-height:1.6;letter-spacing:1px;margin-top:15px}.postcard p{font-size:11px;line-height:1.8;color:var(--muted)}.postmark{position:absolute;right:15px;top:18px;border:2px dotted #c07b69;border-radius:50%;width:52px;height:52px;display:grid;place-content:center;font-size:9px;text-align:center;color:#b4786a;transform:rotate(14deg)}.postcard-bottom{display:block;font-size:7px;letter-spacing:1.3px;border-top:1px dashed #d1d1ba;padding-top:13px;margin-top:21px;color:#849397}.save-note{font-size:9px;line-height:1.8;color:#718791;margin-top:27px}.stage-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:8px}.stage-heading h2{font-size:18px;margin:7px 0 0;letter-spacing:.3px}.stage-button{background:transparent;border:1px solid #bcd0d5;border-radius:9px;padding:10px 12px;font-size:18px;font-weight:800}.stage-button span{font-size:10px;font-weight:500;color:var(--muted)}.game-frame{overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 9px 0 #cedfe2,0 16px 35px #214c6310;border:1px solid #cee0e2}.hud{height:66px;padding:11px 21px;display:flex;align-items:center;justify-content:space-between}.letters{display:flex;align-items:center;gap:10px}.letters>span,.steps>span{font-size:10px;color:var(--muted)}.letters>b{font-size:20px}.letters>div{font-size:19px;color:#d7e3e6;letter-spacing:2px}.letters>div .collected{color:#e0a343}.steps{text-align:right}.steps span{display:block}.steps>b{display:block;font-size:21px;line-height:1.2}.steps small{font-size:10px;font-weight:500}.board-wrap{position:relative;background:#a5d5e4;line-height:0}#board{width:100%;height:auto;display:block;touch-action:none;user-select:none;-webkit-user-select:none;outline-offset:-4px}.board-caption{display:flex;justify-content:space-between;padding:13px 16px;gap:6px;font-size:10px;color:var(--muted);line-height:1.5}.board-caption>span:last-child{color:var(--teal);font-weight:700;white-space:nowrap}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:#c5e7eb66;backdrop-filter:blur(3px);line-height:1.6;padding:15px}.overlay-card{width:92%;max-width:340px;text-align:center;border:1px solid #fff;background:#fffffff2;padding:22px 24px;border-radius:17px;box-shadow:0 12px 28px #214d6320}.overlay-card>.eyebrow{font-size:8px;letter-spacing:2px}.overlay-card canvas{display:block;width:130px;height:auto;margin:4px auto -5px}.overlay-card h2{font-size:20px;margin:5px 0 9px}.overlay-card p{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 15px}.primary{background:var(--coral);color:white;font-weight:800;border-radius:10px;padding:14px 20px;min-height:49px;width:100%;box-shadow:0 4px 0 #ce5547;display:flex;align-items:center;justify-content:space-between;gap:8px}.primary:hover{background:#e65e4a}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #ce5547}.overlay-card>small{display:block;margin-top:15px;font-size:10px;color:var(--muted)}.text-button{background:transparent;color:var(--teal);font-size:11px;min-height:42px;padding:10px 0}.text-button span{float:right}.overlay-card .text-button{padding:12px 0 0}.result-stars{font-size:34px;color:#edaf39;letter-spacing:5px;margin-bottom:12px}.result-stars .empty{color:#dde7e8}.toast{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);padding:12px 15px;border-radius:12px;background:#234757ed;color:white;font-size:12px;line-height:1.5;text-align:center;max-width:94%;width:max-content;pointer-events:none;opacity:0;transition:opacity .15s}.toast.show{opacity:1}.play-controls{display:flex;align-items:center;justify-content:space-between;margin:24px 4px 8px;gap:10px}.utility-controls{display:grid;gap:8px}.utility-controls button{background:transparent;color:var(--muted);font-size:10px;min-height:36px;text-align:left;padding:4px 7px}.utility-controls button>span{font-size:20px;vertical-align:middle;margin-right:8px}.dpad{display:grid;grid-template-columns:48px 48px 48px;grid-template-rows:44px 44px 44px;gap:4px;touch-action:none}.dpad button{background:#fff;border:1px solid #cbdde0;border-radius:10px;box-shadow:0 3px 0 #c9dade;font-size:24px;line-height:1}.dpad button:active,.dpad button.suggested{background:var(--yellow);transform:translateY(2px)}.dpad [data-dir=up]{grid-column:2}.dpad [data-dir=left]{grid-row:2;grid-column:1}.dpad>span{grid-row:2;grid-column:2;display:grid;place-items:center;color:#84a6ae;font-size:22px}.dpad [data-dir=right]{grid-row:2;grid-column:3}.dpad [data-dir=down]{grid-column:2;grid-row:3}.hint-button{background:#fff8de;border:1px solid #e5d7a1;border-radius:12px;padding:10px 13px;font-size:11px}.hint-button>span{display:block;font-size:26px;color:#c1983a}.hint-button>small{display:block;font-size:8px;color:#8f845e;margin-top:4px}.input-note{text-align:center;font-size:9px;letter-spacing:.2px;color:#82959e;margin:13px 0 0}.sidebar{padding-top:9px}.passport,.crew{padding:20px;background:#f9fcfb;border:1px solid var(--line);border-radius:13px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:7px}.section-heading h2{font-size:12px;margin:0;letter-spacing:.5px}.section-heading>span{font-size:10px;color:var(--muted)}.passport .section-heading>span{color:var(--coral);font-size:21px}.progress-info{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.progress-info strong{font-size:24px}.progress-info small{font-size:9px;color:var(--muted);font-weight:500}.progress-info>b{font-size:13px;color:var(--teal)}.progress-track{height:5px;background:#e0ebeb;border-radius:4px;margin:12px 0 5px;overflow:hidden}.progress-track>i{display:block;height:100%;background:var(--teal);width:0}.passport .text-button{width:100%;text-align:left}.crew{margin-top:20px;background:#e2eef0;border-color:#d4e4e7}.crew>canvas{width:100%;height:auto;display:block;margin:5px 0 -8px}.crew-name{display:flex;justify-content:center;align-items:center;gap:10px}.crew-name>b{font-size:16px}.crew-name>span{font-size:9px;color:var(--muted)}.crew-list{display:flex;gap:5px;justify-content:center;margin-top:16px;flex-wrap:wrap}.crew-list button{width:40px;height:40px;border-radius:50%;background:#f7faf8;border:1px solid #b8d0d6;padding:1px}.crew-list canvas{width:100%;height:100%}.crew-list button[aria-pressed=true]{border:2px solid var(--teal);background:#fff}.crew-list button:disabled{font-size:14px;opacity:.5}.crew>p{font-size:9px;color:var(--muted);text-align:center;margin:14px 0 0}.howto{padding:25px 6px 0}.howto h2{font-size:16px;margin:8px 0 16px}.howto ol{list-style:none;padding:0;margin:0}.howto li{display:flex;align-items:center;gap:10px;font-size:10px;margin:14px 0}.howto li b{font-size:10px;color:var(--teal)}.howto>p{font-size:10px;color:var(--muted);line-height:1.8;border-top:1px dashed #c3d5d8;padding-top:14px}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:22px 0;font-size:10px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:20px;padding:28px;max-width:650px;width:calc(100% - 28px);max-height:90dvh;color:var(--ink);background:#f4f9f8;box-shadow:0 20px 80px #16374c50}dialog::backdrop{background:#173e5166;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.dialog-heading h2{font-size:19px;margin:8px 0}.dialog-heading button{font-size:23px;min-width:44px}dialog>p{font-size:11px;color:var(--muted);line-height:1.9}.island{margin:21px 0}.island h3{font-size:12px;margin:0 0 9px;display:flex;justify-content:space-between}.island h3 span{font-size:9px;color:var(--muted);font-weight:500}.stage-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.stage-grid button{border:1px solid #c5d9dd;background:white;padding:10px 2px 7px;border-radius:9px;font-size:17px;font-weight:800;min-height:58px}.stage-grid button small{display:block;font-size:9px;letter-spacing:1px;color:#cf9d35;margin-top:5px}.stage-grid button.current{border:2px solid var(--coral);background:#fff8ed}.stage-grid button:disabled{background:#e1eceb}.map-note{border-top:1px solid var(--line);padding-top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1100px) and (max-height:780px){.topbar{height:70px}.layout{padding-top:26px;grid-template-columns:minmax(240px,1fr) minmax(340px,400px) 240px;gap:35px}.intro{padding-top:9px}.postcard{margin-top:24px;padding:18px}.postcard strong{font-size:21px}.postcard-bottom{margin-top:12px}.hud{height:55px}.stage-heading{margin-bottom:12px}.play-controls{margin-top:20px}.dpad{grid-template-columns:42px 42px 42px;grid-template-rows:35px 35px 35px}.crew{margin-top:14px;padding:15px}.crew>canvas{max-height:115px;object-fit:contain}.howto{padding-top:20px}.overlay-card{padding:15px 22px}.overlay-card canvas{width:105px}.overlay-card p{margin-bottom:12px}.overlay-card>small{margin-top:11px}.input-note{margin-top:8px}footer{padding:16px 0}}
@media(max-width:1150px){.page{padding:0 25px}.layout{grid-template-columns:220px minmax(340px,1fr);gap:32px}.sidebar{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:22px;padding:0}.crew{margin:0}.howto{padding:15px 5px}.brand small{display:none}}
@media(max-width:680px){.page{padding:0 16px}.topbar{height:60px}.brand{font-size:10px;letter-spacing:1.3px;gap:7px}.brand-mark{font-size:25px}.edition{display:none}.small-button{padding:7px 12px;font-size:10px}.layout{display:flex;flex-direction:column;gap:22px;padding:22px 0}.intro{padding:0;width:100%;position:relative}.intro .eyebrow{font-size:9px}.intro h1{font-size:29px;line-height:1.2;letter-spacing:-1px;margin:11px 0 9px}.intro h1>span{font-size:18px;display:inline;margin:0 9px 0 0;letter-spacing:-1px}.intro h1 br{display:none}.intro h1 b{display:none}.lead,.postcard,.intro .tags,.save-note{display:none}.play-area{width:100%;max-width:490px;align-self:center}.stage-heading{margin-bottom:12px}.stage-heading h2{font-size:15px}.stage-heading .eyebrow{font-size:8px}.stage-button{font-size:15px;padding:8px 11px}.hud{height:55px;padding:8px 15px}.letters{gap:8px}.letters>b{font-size:18px}.letters>div{font-size:18px}.steps>b{font-size:19px}.game-frame{border-radius:14px}.board-caption{font-size:9px;padding:10px 12px}.play-controls{margin-top:20px}.dpad{grid-template-columns:44px 44px 44px;grid-template-rows:40px 40px 40px;gap:4px}.utility-controls button{font-size:9px;padding-left:0}.utility-controls button>span{margin-right:5px}.hint-button{padding:8px 11px}.input-note{font-size:8px;margin-top:10px}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:13px;width:100%;margin-top:5px}.passport,.crew{padding:15px}.crew{grid-column:2;grid-row:1 / span 2}.howto{grid-column:1;padding:8px 2px}.howto li{font-size:9px;align-items:start;gap:6px;line-height:1.8;margin:9px 0}.howto h2{font-size:14px}.howto>p{font-size:9px}.crew-name{flex-direction:column;gap:4px}.crew-list{gap:5px}.crew-list button{width:34px;height:34px}.crew>p{font-size:8px}.section-heading h2{font-size:10px}.progress-info{margin-top:13px}.progress-info strong{font-size:21px}.progress-info small{font-size:8px}.progress-info>b{font-size:10px}.passport .text-button{font-size:10px}.overlay-card{padding:15px 19px;width:91%;border-radius:14px}.overlay-card>.eyebrow{font-size:7px}.overlay-card canvas{width:95px}.overlay-card h2{font-size:17px}.overlay-card p{font-size:10px;margin-bottom:12px}.overlay-card>small{font-size:9px;margin-top:12px}.primary{min-height:44px;padding:11px 17px;font-size:13px}.result-stars{font-size:27px;margin-bottom:5px}.overlay-card .text-button{padding-top:7px;font-size:10px;min-height:30px}footer{font-size:8px;gap:12px;line-height:1.8;padding:16px 0}.dialog-heading h2{font-size:15px}dialog{padding:20px 15px}.stage-grid{gap:5px}.stage-grid button{font-size:14px;min-height:53px}.stage-grid button small{font-size:8px;letter-spacing:0}.island h3{font-size:11px}}
@media(max-width:360px){.page{padding:0 10px}.intro h1{font-size:26px}.intro h1>span{font-size:16px}.layout{padding-top:15px;gap:14px}.overlay-card canvas{width:76px}.overlay-card h2{font-size:15px}.overlay-card p{font-size:9px;line-height:1.6}.overlay-card>small{font-size:8px;margin-top:10px}.overlay-card{padding:11px 15px}.overlay{padding:8px}.dpad{grid-template-columns:40px 40px 40px}.letters>div{letter-spacing:0}.crew-list button{width:30px;height:30px}}
.postcard strong{font-size:20px;letter-spacing:.2px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
