:root{color-scheme:dark;--ink:#11202d;--cream:#e8e1cd;--gold:#c9ad7d;--muted:#8ea5a7;font-family:"PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#101e2b;color:var(--cream)}body{overflow-x:hidden;background:radial-gradient(ellipse at 76% 52%,#253e43 0,transparent 57%),linear-gradient(145deg,#152435,#101c27 65%);font-weight:300}.ambient{position:fixed;inset:0;pointer-events:none;overflow:hidden}.ambient:before{content:"";position:absolute;inset:0;opacity:.1;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23ffffff' opacity='.35' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E")}.ambient i{position:absolute;border:1px solid #bca46d0c;width:800px;height:800px;border-radius:50%;right:-230px;top:calc(50% - 450px)}.ambient i:nth-child(2){width:970px;height:970px;right:-315px;top:calc(50% - 535px)}.ambient i:nth-child(3){width:1140px;height:1140px;right:-400px;top:calc(50% - 620px)}.site-header{position:relative;display:flex;align-items:center;justify-content:space-between;padding:29px 5.2%;height:92px;border-bottom:1px solid #b0bcaa12}.wordmark{color:var(--cream);font-family:"Songti SC","SimSun",serif;font-size:20px;text-decoration:none;letter-spacing:5px}.mark{font-family:serif;color:var(--gold);font-size:31px;margin-right:13px;vertical-align:-2px}.header-note{font-size:11px;letter-spacing:3px;color:#7d969c}.sound-toggle{border:0;background:none;color:#acbdb8;font-size:11px;display:flex;gap:12px;align-items:center;cursor:pointer;letter-spacing:2px;min-height:44px;padding:8px}.sound-lines{display:flex;gap:3px;align-items:center;height:18px}.sound-lines i{width:1px;height:8px;background:#c4aa7f}.sound-lines i:nth-child(2){height:17px}.sound-lines i:nth-child(3){height:12px}.sound-lines i:nth-child(4){height:6px}.sound-toggle[aria-pressed=false] .sound-lines i{height:3px}.experience{position:relative;max-width:1370px;margin:0 auto;display:grid;grid-template-columns:minmax(370px,1fr) minmax(350px,430px) 72px;align-items:center;gap:7%;padding:32px 5.2% 23px;min-height:calc(100vh - 155px)}.eyebrow{display:flex;align-items:center;gap:13px;font-size:10px;color:var(--gold);letter-spacing:4px;margin-bottom:38px}.eyebrow span{height:1px;width:30px;background:#b49b6e}h1{font-family:"Noto Serif SC","Songti SC","STSong","SimSun",serif;font-weight:400;font-size:clamp(38px,4vw,57px);line-height:1.6;letter-spacing:4px;margin:0 0 25px;color:#f0e9d6}h1 span{color:#c9bc9e}.intro{font-size:13px;line-height:2.2;letter-spacing:2px;color:#8da7ac;margin:0}.chapter-list{display:grid;gap:17px;margin-top:46px}.chapter-index{font-size:12px;color:#66828a;letter-spacing:3px;transition:color .4s}.chapter-index span{font-family:Georgia,serif;font-size:10px;margin-right:18px;letter-spacing:1px}.chapter-index.is-current{color:#dfc796}.chapter-index.is-current:after{content:"";display:inline-block;width:27px;height:1px;background:#a38c62;margin-left:16px;vertical-align:middle}.editorial-footer{display:flex;gap:11px;align-items:center;margin-top:52px;color:#7f9b9e;font-size:10px;letter-spacing:1px}.small-star{color:#c8ad78;font-size:17px}.play-column{width:100%;position:relative;justify-self:center}.game-rim{padding:7px;border:1px solid #b7bfa52b;border-radius:25px;background:#0b1822;box-shadow:0 30px 90px #03101b77,0 0 70px #8c9f7320}#game-host{width:100%;height:min(780px,calc(100vh - 190px));min-height:560px;position:relative;overflow:hidden;border-radius:19px;isolation:isolate;touch-action:none}#game{position:absolute;inset:0;width:100%;height:100%;display:block}#game-controls{position:absolute;inset:0;pointer-events:none}.game-control{position:absolute;padding:0;margin:0;background:transparent;border:none;border-radius:9px;color:transparent;pointer-events:none}.game-control:focus-visible{outline:2px solid #f1d296;outline-offset:3px;background:#f1d29612}.under-game{display:flex;align-items:center;justify-content:space-between;padding:18px 6px 0;font-size:10px;color:#819d9f;letter-spacing:1px}.under-game>span:first-child{display:flex;align-items:center;gap:8px}.under-game i{display:inline-block;width:4px;height:4px;background:#bfad7d;border-radius:50%}.under-game b{font-weight:400;color:#c6c9b6;font-family:Georgia,serif;margin-left:8px;letter-spacing:2px}.margin-note{justify-self:end;height:470px;display:flex;align-items:center;gap:20px;writing-mode:vertical-rl;font-size:9px;letter-spacing:3px;color:#69848c}.margin-note i{height:70px;width:1px;background:#92a29025}.site-footer{position:relative;display:flex;justify-content:space-between;padding:20px 5.2%;font-size:9px;color:#66818a;letter-spacing:2px;border-top:1px solid #a8b3a410}.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:1500px){.experience{max-width:1500px;grid-template-columns:minmax(420px,1fr) 450px 80px;gap:8%}#game-host{height:min(850px,calc(100vh - 190px))}}@media(max-width:1050px){.experience{grid-template-columns:1fr 390px;gap:5%;padding-left:4%;padding-right:4%}.margin-note{display:none}h1{font-size:37px;letter-spacing:2px}.editorial-footer{letter-spacing:0}.header-note{display:none}}@media(max-width:760px){html,body{height:100%;min-height:100%;overflow:hidden;background:#11202d}.site-header,.editorial,.margin-note,.site-footer,.under-game,.ambient{display:none}.experience{display:block;margin:0;padding:0;height:100dvh;min-height:0}.play-column{height:100%;width:100%;max-width:540px;margin:auto}.game-rim{padding:0;border:0;border-radius:0;box-shadow:none;height:100%;background:transparent}#game-host{height:100%;min-height:0;border-radius:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Courtyard edition: keep the game surface primary on desktop and edge-to-edge on touch. */
:root{color-scheme:light;--ink:#35534c;--cream:#35534c;--gold:#aa874f;--muted:#748879}html,body{background:#eff1e7;color:#35534c}body{background:radial-gradient(ellipse at 78% 40%,#dde6d8 0,transparent 58%),linear-gradient(145deg,#f8f5e9,#e7ece2 65%)}.site-header{border-bottom-color:#879d7d25}.wordmark{color:#385b50}.header-note,.sound-toggle{color:#7b8d79}.experience{gap:6%}h1{color:#38594e}h1 span{color:#8a997a}.intro{color:#74846e}.chapter-index{color:#98a38d}.chapter-index.is-current{color:#6a7b53}.editorial-footer{color:#819075}.game-rim{background:#eff1e5;border-color:#b6c5ab;border-radius:20px;box-shadow:0 25px 70px #5e775b1f,0 0 1px #ced6bd}.under-game,.site-footer,.margin-note{color:#81907b}.under-game b{color:#526b58}.site-footer{border-top-color:#879d7d25}.game-control:focus-visible{outline-color:#aa8244;background:#be9b5d20}.ambient:before{opacity:.025}.ambient i{border-color:#90a28012}.game-rim #game-host{border-radius:14px}@media(max-width:760px){html,body{background:#e7eee5}.game-rim #game-host{border-radius:0}.game-rim{background:transparent}}
