:root{font-family:DM Sans,sans-serif;color:#e9e6db;background:#091b27;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 65% 45%,#143543 0,transparent 65%),#091b27}button{font:inherit;cursor:pointer}button:focus-visible{outline:2px solid #f0cc88;outline-offset:5px}header{height:96px;border-bottom:1px solid #b6cbc416;display:flex;align-items:center;justify-content:space-between;padding:0 5vw}.brand{font-family:Playfair Display,Georgia,serif;font-size:28px;letter-spacing:1px;display:flex;align-items:center;gap:13px}.brand span{color:#f3cf8b;font-size:29px}.edition,.eyebrow,.label{font-size:10px;letter-spacing:2.5px;color:#8ba5aa;font-weight:600}.header-right{display:flex;gap:24px;align-items:center}.icon-button,.text-button{border:0;background:none;color:#a7bcbf;padding:10px;font-size:12px}.icon-button{border:1px solid #b6cbc42b;border-radius:50%;width:38px;height:38px;padding:0}main{max-width:1440px;margin:auto;padding:52px 5vw 24px;display:grid;grid-template-columns:300px minmax(340px,1fr);gap:64px}.eyebrow{color:#d8ba81;display:flex;align-items:center;gap:12px}.eyebrow:before{content:"";width:24px;height:1px;background:#d8ba81}h1{font-family:Playfair Display,Georgia,serif;font-size:64px;font-weight:400;line-height:1.06;letter-spacing:-2px;margin:27px 0 24px}h1 em{font-weight:400;color:#e4c68e}p{color:#95adb2;line-height:1.85;font-size:13px}.intro{max-width:265px}.chapter-card{border-top:1px solid #b6cbc426;margin-top:35px;padding-top:24px}.chapter-card h2{font-family:Playfair Display,Georgia,serif;font-weight:400;font-size:25px;margin:12px 0}.chapter-card p{font-size:12px;margin:10px 0}.progress{display:flex;gap:8px;margin:24px 0}.dot{width:29px;height:4px;border:0;padding:0;background:#28424d;border-radius:4px}.dot.active{background:#efca88}.dot.complete{background:#6baba3}.instructions{margin-top:35px;display:flex;gap:13px;align-items:start}.instructions .symbol{border:1px solid #718e9166;border-radius:8px;color:#e9cc96;padding:8px 12px;font-size:24px}.instructions p{margin:0;font-size:11px;line-height:1.8}.instructions strong{font-weight:500;color:#d6ded6}.game-area{min-width:0}.board-top{display:flex;align-items:center;justify-content:space-between;margin:0 5px 18px}.board-top .label{font-size:9px}.live{display:flex;align-items:center;gap:8px;font-size:10px;color:#b7c7bf}.live i{width:5px;height:5px;border-radius:50%;background:#e9c488;box-shadow:0 0 10px #edc77b}.board-wrap{position:relative;border:1px solid #6d969336;border-radius:13px;padding:14px;background:#0b202cc2;box-shadow:0 30px 80px #0003;overflow:hidden}canvas{width:100%;display:block;aspect-ratio:1.1;touch-action:manipulation;border-radius:5px}.board-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.stats{display:flex;gap:28px}.stat{font-size:10px;color:#7c999f}.stat b{color:#dce4d9;font-size:15px;font-weight:400;margin-right:7px}.controls{display:flex;align-items:center;gap:8px}.control{background:#17313d;color:#b7c8c8;border:1px solid #6a8f9133;border-radius:5px;padding:9px 13px;font-size:11px}.control:hover{background:#24434d}.sea-note{text-align:center;color:#627e87;font-size:10px;margin-top:27px;letter-spacing:.5px}.legend{display:flex;justify-content:center;gap:24px;font-size:10px;color:#8da7ac;margin-top:20px}.legend span{display:flex;align-items:center;gap:8px}.legend i{font-style:normal;color:#efc884}footer{margin:10px 5vw 0;padding:22px 0;border-top:1px solid #b6cbc416;display:flex;justify-content:space-between;color:#5b7984;font-size:9px;letter-spacing:1.5px}.overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#081b26ef;display:flex;align-items:center;justify-content:center;padding:30px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.overlay[hidden]{display:none}.letter{text-align:center;max-width:370px}.letter .seal{font-size:40px;color:#ecc78d;margin-bottom:18px}.letter h2{font-family:Playfair Display,Georgia,serif;font-weight:400;font-size:35px;margin:14px 0}.letter blockquote{font-family:Playfair Display,Georgia,serif;font-size:19px;line-height:1.8;color:#bdcbc4;font-style:italic;margin:20px 0}.letter .from{font-size:10px;color:#bfa675;letter-spacing:1px;margin-bottom:28px}.primary{background:#e8c78c;color:#17313a;border:0;border-radius:4px;padding:13px 23px;font-size:12px;font-weight:600}.primary:hover{background:#ffdfa4}.hint{color:#dabf8c;font-size:11px;min-height:20px;margin:12px 0 0;text-align:center}.grid-buttons{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mirror-hit{position:absolute;background:transparent;border:0;pointer-events:auto;border-radius:12px}.mirror-hit:focus-visible{outline:2px solid #e9cb90;outline-offset:-4px}.help-content{text-align:left}.help-content p{font-size:13px}.close-help{margin-top:16px}@media(min-width:1400px){main{padding-top:70px;gap:100px;grid-template-columns:330px 1fr}}@media(max-width:900px){main{gap:28px;grid-template-columns:240px 1fr;padding:35px 4vw}h1{font-size:52px}.edition{display:none}header{height:75px}.stats{gap:12px}.board-wrap{padding:8px}}@media(max-width:650px){header{padding:0 6vw;height:68px}.brand{font-size:24px}.header-right{gap:10px}main{display:flex;flex-direction:column;padding:28px 5vw 10px;gap:20px}h1{font-size:43px;margin:15px 0 12px}h1 br{display:none}h1 em{margin-left:8px}.intro{max-width:none;font-size:12px;margin:0}.chapter-card{margin-top:20px;padding-top:16px}.chapter-card h2{font-size:22px;margin:8px 0}.chapter-card p,.instructions{display:none}.progress{margin:16px 0 0}.board-top{margin-bottom:12px}.board-bottom{margin-top:12px}.legend{gap:16px}.sea-note{margin-top:15px}footer{font-size:8px;margin-top:0;gap:10px}.letter blockquote{font-size:16px}.letter h2{font-size:27px}.overlay{padding:20px}.letter .seal{font-size:25px;margin-bottom:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.language-button{color:#e4c68e;white-space:nowrap;border:1px solid #b6cbc42b;border-radius:5px;padding:8px 10px}html[lang=zh-Hant]{font-family:Noto Sans TC,PingFang TC,Microsoft JhengHei,sans-serif}html[lang=zh-Hant] h1,html[lang=zh-Hant] .chapter-card h2,html[lang=zh-Hant] .letter h2,html[lang=zh-Hant] .letter blockquote{font-family:"Noto Serif TC",Songti TC,PMingLiU,serif}html[lang=zh-Hant] h1{font-size:53px;line-height:1.35;letter-spacing:1px}html[lang=zh-Hant] .letter blockquote{font-style:normal;line-height:1.9}html[lang=zh-Hant] .eyebrow{letter-spacing:1.5px}html[lang=zh-Hant] .letter{max-width:390px}@media(max-width:900px){html[lang=zh-Hant] h1{font-size:42px}.header-right{gap:12px}}@media(max-width:650px){header{padding:0 5vw}.header-right{gap:5px}.header-right .text-button{font-size:11px;padding:8px}.brand{gap:7px;font-size:22px}html[lang=zh-Hant] h1{font-size:34px}html[lang=zh-Hant] .letter blockquote{font-size:16px}.language-button{font-size:11px}}.overlay{overflow-y:auto;align-items:flex-start}.overlay>.letter{margin:auto}@media(max-width:650px){html[lang=zh-Hant] h1 br{display:block}html[lang=zh-Hant] h1 em{margin-left:0}}@media(max-width:360px){.brand{font-size:18px;gap:4px}.brand span{font-size:24px}.header-right .text-button{font-size:10px;padding:7px 6px}.header-right .icon-button{width:30px;height:30px}}
