/* The game's current ivory shell, pale gold edges and warm brown typography. */
:root{--cream:#fff8e8;--cream-2:#f8e9c6;--ink:#543b28;--ink-soft:#765f47;--wood-dark:#543b28;--green-dk:#665332;--blue-dk:#665332;--brick-dark:#806234;--gold:#f3ce79}
body{color:var(--ink)}
.panel,.card,.item,.q,.toc-card,.idx,.badge,.plat,.nav-inner,.modal-box,.shot{
 border:2px solid #deca99;background:linear-gradient(160deg,#fffdf6,#fff5df);
 box-shadow:inset 0 2px 0 #fff,0 5px 0 #d9c59c,0 12px 25px #85633715;border-radius:22px;
}
.nav{padding:16px 0}.nav-inner{padding:12px 16px}.nav-links{gap:0}
.brand .logo{background:none;box-shadow:none;border-radius:10px;overflow:hidden}
.brand .logo img{width:42px;height:42px;object-fit:contain}
.btn,.btn.blue,.btn.green,.btn.red,.btn.tan,.btn.gold{
 --cd:#c2a16c;color:#543b28;text-shadow:none;border:2px solid #d5b77c;
 background:linear-gradient(180deg,#fffdf3,#f4e3b6);
 box-shadow:inset 0 2px 0 #fff,0 4px 0 #c6a66e,0 8px 14px #80603d1c;
 border-radius:999px;font-family:inherit;font-weight:800;
}
.btn.gold,.hero-cta .btn:first-child{background:linear-gradient(180deg,#ffe596,#eac35d)}
.btn:hover{box-shadow:inset 0 2px 0 #fff,0 6px 0 #c6a66e,0 10px 18px #80603d25}
.btn.lg{font-size:1.2rem;padding:1em 1.8em}
button:disabled,[aria-disabled=true]{opacity:.5;cursor:not-allowed;box-shadow:none}
:focus-visible{outline:3px solid #976a24;outline-offset:5px}
.nav-links a.active,.lang-menu a.on{background:#edd5a1;color:#543b28;box-shadow:none}
.hero{padding:35px 0 24px}.hero-logo{max-width:450px;margin:auto!important}
.hero-logo img{width:100%;height:auto;filter:drop-shadow(0 8px 8px #83603b18)}
.hero .ribbon{font-family:inherit;font-weight:800;color:#63452c;background:linear-gradient(#fff9e4,#efdcaa);box-shadow:0 3px 0 #d1b581,inset 0 1px #fff;border:1px solid #d9bb7e;border-radius:999px;letter-spacing:.08em;font-size:1.1rem;padding:.55em 1.4em}
.hero .lead{color:#765f47;max-width:720px;font-size:1.05rem}.hero .eyebrow{margin-bottom:15px}
.title-out{color:#543b28;text-shadow:none;font-family:inherit;font-weight:900}
.eyebrow{background:#f5e7c5;border:1px solid #e3c98d;box-shadow:inset 0 1px #fff;color:#745731;font-family:inherit;font-size:.85rem;font-weight:800;letter-spacing:.12em}
.section-head h2{font-family:inherit;font-weight:900;font-size:clamp(1.8rem,4vw,2.7rem)}
.section-head{margin-bottom:26px}.section-head p{font-size:1rem;max-width:710px}
.ico,.item .ico{background:#fff6e3!important;border:1px solid #e4cd9d;box-shadow:inset 0 1px #fff,0 3px 0 #e5d4b3;overflow:hidden}
.ico img{width:85%;height:85%;object-fit:contain}.item .ico{width:74px;height:74px}
.loop .step-no{color:#aa7c3c!important;font-family:inherit;font-weight:900;font-size:1.5rem}
.loop h3,.mode h3,.item b{color:#543b28!important;font-family:inherit}.loop-arrows{color:#b08d53}
.loop .card,.mode{padding:26px}.mode .ico{width:82px;height:82px}
.video-frame{width:100%;padding:0;background:#fff8e8;display:block;border:3px solid #e2cb94;border-radius:24px;box-shadow:0 7px 0 #d9c59c,0 18px 32px #74532b1c;position:relative}
.play-btn{width:84px;height:84px;background:linear-gradient(#fff4cd,#edcc7b);box-shadow:0 4px 0 #bb924e,0 8px 20px #49331855;border:2px solid #fff8dc;animation:none}
.play-btn::after{border-width:16px 0 16px 27px;border-color:transparent transparent transparent #63462a;filter:none}
.video-tag{top:18px;left:18px}.video-frame img{height:auto;aspect-ratio:16/9;object-fit:cover}
.shot-open{display:block;width:100%;padding:0;border:0;background:#f5e7c5;cursor:zoom-in}
.shot img{height:auto;aspect-ratio:16/9;object-fit:cover}.shot .cap{background:transparent;font-size:.94rem;padding:14px 18px}
.gallery{gap:24px}.q summary{font-family:inherit;font-weight:700;font-size:1.05rem}.q summary .mk{color:#a88445}
.modal{background:#3b291fbb;padding:32px}.modal-box{position:relative;max-width:1100px;padding:28px 20px 18px;max-height:calc(100dvh - 64px);overflow:auto}
.modal-box h2{font-size:1.15rem;margin-bottom:16px;padding-right:35px}.modal-box video{display:block;width:100%;max-height:70dvh;border-radius:14px;background:#31261e}
.art-close{position:absolute;right:7px;top:7px;width:42px;height:42px;padding:0;background:none;border:0;cursor:pointer;z-index:2}
.art-close img{width:100%;height:100%;object-fit:contain}.media-credit{display:inline-block;margin-top:12px;font-size:.82rem;text-decoration:underline}
.screenshot-box{padding-top:52px}.screenshot-box>img{width:100%;max-height:70dvh;object-fit:contain;border-radius:12px}.screenshot-box p{padding-top:12px;font-weight:700}
.foot-inner{color:#543b28;background:linear-gradient(#fff9ea,#efdfba);border-top:2px solid #d8bd83;box-shadow:inset 0 2px #fff}
.foot a,.foot h4,.foot-bottom{color:#63492e}.foot p,.foot .brand{color:#63492e!important}.foot h4{font-family:inherit;font-weight:800}.foot-bottom{border-color:#d5bd8e}
.wood-frame{background:linear-gradient(#fff8e3,#efdbac);box-shadow:0 5px 0 #ccb27f}.wood-frame .inner{background:#fff9e9;color:#543b28;box-shadow:inset 0 0 0 1px #dfc797}
.wood-frame .inner *{color:#543b28}.doc h2,.doc h3{font-family:inherit}.steps li::before{background:#eddbb0;color:#63492e;box-shadow:0 3px 0 #cfb783;font-family:inherit}
.tip{background:#fff4d5;border-left-color:#d1ac65;color:#765f47}.tip b{color:#543b28}
section[id],article[id]{scroll-margin-top:115px}
@media(min-width:861px) and (max-width:1200px){.nav-links a{padding:.4em .5em;font-size:.95rem}.nav-links>.lang-switch{margin-left:6px}}
@media(max-width:760px){.wrap{padding:0 18px}.hero{padding-top:22px}.hero-logo{max-width:320px}.hero .ribbon{font-size:.9rem;letter-spacing:0}.hero-cta{gap:12px}.btn.lg{font-size:1rem;padding:.9em 1.2em}.gap{height:44px}.badges{gap:8px}.badge{font-size:.82rem}.modal{padding:14px}.modal-box{max-height:calc(100dvh - 28px);padding-left:12px;padding-right:12px}.play-btn{width:64px;height:64px}.video-tag{font-size:.7rem;top:10px;left:10px}.nav-inner{padding:10px 12px}.brand{font-size:1.2rem}.foot-inner{padding:30px 22px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
