@font-face{font-family:Story;src:url('assets/story-serif.woff') format('woff');font-style:normal;font-weight:400 700;font-display:swap}
:root{--night:#0c1018;--panel:#131822;--ink:#f1ede4;--mute:#b5b2ac;--gold:#d0b580;--dim:#887652;--line:#70614867;--serif:Story,"Noto Serif KR",Batang,Georgia,serif;--sans:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans CJK KR",Arial,sans-serif;--latin:Georgia,"Times New Roman",serif;color-scheme:dark}
*{box-sizing:border-box}html{background:var(--night);scrollbar-color:#695f50 #121722}body{margin:0;background:radial-gradient(ellipse at 12% 95%,#19202b 0,transparent 48%),#0c1018;color:var(--ink);min-height:100vh;font-family:var(--sans);word-break:keep-all}button,input{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none}button:focus-visible,input:focus-visible{outline:2px solid #efcf91;outline-offset:4px}button:disabled{cursor:default}button svg,[data-icon] svg{width:1.15em;height:1.15em;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}button{touch-action:manipulation}button:hover{color:#ffe8bc}[hidden]{display:none!important}
.mast{height:82px;background:linear-gradient(110deg,#111722,#10141c 65%,#151824);border-bottom:1px solid #b69b6340;position:relative;z-index:15}.mast-inner{height:100%;max-width:1920px;margin:auto;padding:0 clamp(24px,3.7vw,76px);display:flex;align-items:center;gap:clamp(24px,4vw,65px)}.brand{height:68px;display:flex;align-items:center}.brand img{height:62px;width:132px;object-fit:contain;filter:drop-shadow(0 2px 7px #8996cb25)}.main-nav,.mast-actions{display:flex;align-items:center}.main-nav{align-self:stretch;gap:30px}.main-nav button{font-family:var(--serif);font-size:15px;font-weight:bold;letter-spacing:.04em;padding:0 2px;position:relative;color:#a6abb3}.main-nav button.selected{color:var(--gold)}.main-nav button.selected:after{content:"";height:2px;position:absolute;bottom:0;inset-inline:0;background:linear-gradient(90deg,transparent,#cfb078 25% 75%,transparent)}.mast-actions{margin-left:auto;gap:22px;white-space:nowrap}.mast-actions button{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:12px;min-height:36px}.mast-actions #sound{font-family:var(--latin);font-size:12px;letter-spacing:.09em;color:#d9c6a4}.mast-actions b{font-weight:400}.skip{border:1px solid #68604e80;background:#ffffff03;padding:0 16px;border-radius:2px;color:#d5d0c7}.skip:hover{background:#d4b78412;border-color:var(--dim)}#wave{display:inline-flex;align-items:center;gap:2px;height:16px;color:#d7b77e}#wave i{width:2px;height:6px;background:currentColor}#wave i:nth-child(2){height:12px}#wave i:nth-child(3){height:16px}#wave i:nth-child(4){height:10px}#wave i:nth-child(5){height:5px}#sound[aria-pressed=false] #wave i{height:2px}#sound.playing #wave i{animation:meter .64s ease-in-out infinite alternate}#sound.playing #wave i:nth-child(2n){animation-delay:-.4s}@keyframes meter{to{transform:scaleY(.45)}}
#novel{max-width:1920px;margin:auto;padding:20px clamp(14px,1.65vw,32px) 0}
#stage{position:relative;isolation:isolate;overflow:hidden;height:calc(100svh - 200px);min-height:460px;max-height:1100px;background:#04060c;box-shadow:0 14px 40px #0005}.scene-art,.scene-shade,.frame,.goddess,#headlights,#blackout{position:absolute;inset:0;pointer-events:none}.street-art{background:#171c29 url('assets/street.webp') center 58% / cover no-repeat;transform-origin:69% 64%;will-change:transform}.heaven-art{background:#131528 url('assets/heavens.webp') center 41% / cover no-repeat;opacity:0}.goddess{opacity:0;display:flex;align-items:flex-start;justify-content:center;overflow:hidden}.goddess img{height:119%;width:auto;max-width:none;object-fit:contain;transform:translateY(2%);filter:drop-shadow(0 0 35px #a293ed24)}.scene-shade{background:linear-gradient(90deg,rgba(5,10,18,.88),rgba(8,12,20,.64) 25%,rgba(8,10,17,.19) 55%,transparent 77%),linear-gradient(0deg,rgba(7,10,17,.89),transparent 34%,transparent 81%,rgba(5,7,12,.26));box-shadow:inset 0 0 80px #04081039}
.frame{z-index:6;inset:0;border:1px solid #d2b38a60}.frame:before{content:"";position:absolute;inset:7px;border:1px solid #ccb07f3b}.frame i{position:absolute;left:6px;top:6px;width:54px;height:54px;border-top:2px solid #bca175;border-left:2px solid #bca175;clip-path:polygon(0 0,100% 0,100% 5%,15% 5%,15% 15%,5% 15%,5% 100%,0 100%)}.frame i:nth-child(2){inset:6px 6px auto auto;transform:rotate(90deg)}.frame i:nth-child(3){inset:auto 6px 6px auto;transform:rotate(180deg)}.frame i:nth-child(4){inset:auto auto 6px 6px;transform:rotate(270deg)}
.scene-marker{position:absolute;right:clamp(20px,2.6vw,50px);top:clamp(20px,3.8vh,50px);display:flex;gap:8px;align-items:center;font:11px var(--latin);letter-spacing:.18em;color:#eee4d0;text-shadow:0 2px 8px #000;z-index:3}.mini-star{color:#e1c48b;font-size:14px}.scene-marker b{font-weight:normal}.small-rule{width:18px;height:1px;background:#d2bd8d88}#scene-place{font:12px var(--serif);letter-spacing:.04em}
#street-copy{position:absolute;left:clamp(40px,6.1vw,116px);top:42%;transform:translateY(-50%);max-width:74%}.kicker,.choice-label,.journey-title small,.card-en,.tab-en,.eyebrow{font-family:var(--latin);text-transform:uppercase;color:var(--gold);letter-spacing:.24em}.kicker{display:flex;align-items:center;gap:13px;font-size:13px;font-weight:normal}.rule-star{width:41px;height:1px;display:inline-block;background:#c9ad76;position:relative}.rule-star:before{content:"";position:absolute;left:0;top:-3px;width:7px;height:7px;background:#d0b580;transform:rotate(45deg)}
h1,h2,h3,h4,p{margin:0}#street-copy h1{font-family:var(--serif);font-size:clamp(52px,5.8vw,100px);font-weight:400;letter-spacing:-.075em;line-height:1.28;margin:14px 0 19px;color:#fff8eb;text-shadow:0 3px 22px #0009}.title-rule{width:clamp(145px,15vw,240px);height:8px;display:flex;align-items:center;margin-bottom:18px}.title-rule:before,.title-rule:after{content:"";height:1px;background:linear-gradient(90deg,#bcaa8777,#cbb17c);flex:2}.title-rule:after{flex:1;background:linear-gradient(90deg,#cbb17c,transparent)}.title-rule i{display:block;width:5px;height:5px;transform:rotate(45deg);border:1px solid #dbbf86;margin:0 4px}#street-copy p{font:clamp(15px,1.23vw,21px)/1.95 var(--serif);color:#e6e2dc;letter-spacing:-.035em;text-shadow:0 2px 10px #000}
#decision{position:absolute;bottom:8%;left:50%;transform:translateX(-50%);text-align:center}.choice-label{display:flex;justify-content:center;align-items:center;gap:12px;font-size:10px;line-height:1;letter-spacing:.27em;color:#e5d4b4;text-shadow:0 1px 5px #000;margin-bottom:13px}.choice-label span{width:22px;height:1px;background:#d8ba81aa}.gilt-button{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:16px;min-width:222px;height:57px;background:linear-gradient(105deg,#a58349,#f3dfac 25%,#e5ce97 72%,#a98a50);color:#352b1f;text-shadow:0 1px #fff5;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,10px 100%,0 50%);transition:filter .2s,transform .2s}.gilt-button:before,.gilt-button:after{content:"";position:absolute;pointer-events:none;border:1px solid #6f563f88;inset:4px 13px}.gilt-button:after{inset:7px 10px;border-top:0;border-bottom:0}.gilt-button:hover{filter:brightness(1.15);transform:translateY(-2px);color:#312518}.gilt-button b{font:600 20px var(--serif);letter-spacing:.18em}.gilt-button .arrow{font-size:20px}.gilt-button svg{width:17px;height:17px}
.journey{min-height:98px;display:flex;align-items:center;gap:clamp(20px,3.4vw,70px);padding:0 clamp(18px,2.7vw,66px)}.journey-title{display:flex;gap:14px;align-items:center;flex-shrink:0}.journey-title small{display:block;font-size:9px;letter-spacing:.23em;margin-bottom:5px}.journey-title strong{font:16px var(--serif);color:#e4dbca}.compass-icon{color:#cdb07a}.compass-icon svg{width:38px;height:38px;stroke-width:.85}#track{padding:0;margin:0;display:flex;align-items:center;flex:1;list-style:none;max-width:925px}#track li{display:flex;align-items:center;gap:10px;color:#8b8e97;font:13px var(--serif);white-space:nowrap}#track li:not(:last-child){flex:1}#track li:not(:last-child):after{content:"";height:1px;flex:1;min-width:6px;background:#7e73573e;margin:0 clamp(7px,1.4vw,32px) 0 5px}#track i{display:block;width:7px;height:7px;border:1px solid #797a7c;transform:rotate(45deg);flex:none}#track li[aria-current=step]{color:#e0c896}#track li[aria-current=step] i{background:#dabc7e;border:1px solid #edcf92;box-shadow:0 0 0 3px #20202a,0 0 0 4px #ac9362}#track .past i{background:#a48d64;border-color:#a48d64}.keyhelp{margin-left:auto;display:flex;gap:8px;align-items:center;font-size:11px;color:#a6a6a9}kbd{padding:2px 6px;border-radius:3px;border:1px solid #84858b63;font:13px var(--sans);color:#cecac5}
#headlights{opacity:0;display:flex;justify-content:center;gap:26%;align-items:center;z-index:5}#headlights i{width:13%;height:17%;border-radius:50%;background:#fff;box-shadow:0 0 35px 25px #fff,0 0 120px 90px #ffedc6,0 0 185px 120px #fff8}#stage.rushing .street-art{animation:rush 1.3s cubic-bezier(.48,.05,.83,.65) forwards}#stage.rushing #street-copy,#stage.rushing #decision,#stage.rushing .scene-marker{opacity:0;pointer-events:none}#stage.rushing #headlights{animation:lights .78s .85s ease-in forwards}@keyframes rush{to{transform:scale(1.92)}}@keyframes lights{0%{opacity:0;transform:scale(.2)}60%{opacity:1}100%{opacity:1;transform:scale(2.8);background:white}}
#blackout{background:#04050a;z-index:6;opacity:0;transition:opacity .55s}.dark #blackout{opacity:1}.dark .frame{opacity:.18}#limbo{position:absolute;inset:0;z-index:7;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:28px}.limbo-sigil{font-size:40px;color:#c5aa78;margin-bottom:12px;filter:drop-shadow(0 0 12px #e7cfa6)}#limbo-line{font:clamp(24px,3.1vw,54px)/1.6 var(--serif);letter-spacing:.03em;text-shadow:0 0 22px #dbccac88}
#stage[data-scene=heaven] .street-art{opacity:0}#stage[data-scene=heaven] .heaven-art,#stage[data-scene=heaven] .goddess{opacity:1;transition:opacity 1.25s}#stage[data-scene=heaven] .scene-shade{background:linear-gradient(0deg,#080a16b5,transparent 48%,#1413210d);box-shadow:inset 0 0 68px #090e2140}#dialogue{position:absolute;z-index:7;bottom:4.7%;left:9%;right:9%;background:linear-gradient(112deg,#111623f7,#171b2cef 65%,#181c2af4);border:1px solid #c5ac78b3;box-shadow:0 5px 37px #0008,inset 0 0 0 4px #161a25,inset 0 0 0 5px #bba57932;padding:21px 32px 14px}.speaker{display:flex;align-items:center;gap:12px;color:#f2d8a1;font:600 19px var(--serif)}.speaker i{width:7px;height:7px;background:var(--gold);transform:rotate(45deg)}.speaker span{font:12px var(--serif);color:#b5a68a;border-left:1px solid #9e8b6666;padding-left:12px}#speak{width:100%;text-align:left;padding:8px 0 0;display:flex;flex-direction:column;align-items:stretch}#line{display:block;font:clamp(16px,1.4vw,24px)/1.7 var(--serif);min-height:1.9em;color:#f3eee4}.continue{align-self:flex-end;font-size:11px;color:var(--gold);display:flex;align-items:center;gap:9px}.continue i{font-size:7px;transform:rotate(45deg);font-style:normal}#choices{display:grid;gap:6px;margin:10px 0 5px;grid-template-columns:1fr 1fr}#choices button{display:flex;gap:11px;align-items:center;text-align:left;padding:10px 14px;background:#282b38;border:1px solid #a38e625c;font:14px/1.5 var(--serif)}#choices button:hover{border-color:var(--gold);background:#383641}#choices button span{color:var(--gold);font:11px var(--latin)}#choices button.asked{color:#c0b8aa}
.end-link{position:absolute;z-index:9;right:9%;bottom:3.5%;display:flex;align-items:center;gap:10px;padding:11px 17px;border:1px solid #d5bd81;background:#2a2630;color:#efd5a4;font:14px var(--serif)}#stage.ended #dialogue{bottom:calc(3.5% + 56px)}#stage.ended #speak{cursor:default}#tableau{position:absolute;z-index:4;top:7%;bottom:30%;left:10%;right:10%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(8px,1.5vw,24px);align-content:center;perspective:1100px}#stage.card-scene .scene-shade{background:#0b0c1baf}#tableau .stat-card{animation:deal .85s cubic-bezier(.18,.7,.23,1) both;animation-delay:calc(var(--idx)*.22s)}@keyframes deal{from{opacity:0;transform:translateY(18%) rotateY(85deg) scale(.75);filter:brightness(2)}to{opacity:1;transform:none;filter:brightness(1)}}
.stat-card{position:relative;isolation:isolate;overflow:hidden;border:1px solid color-mix(in srgb,var(--tone) 75%,#5e5645);background:radial-gradient(ellipse at 50% 28%,color-mix(in srgb,var(--tone) 24%,#141423),#181a29 56%,#10121d);box-shadow:inset 0 0 0 4px #141520,inset 0 0 0 5px color-mix(in srgb,var(--tone) 35%,#282738),0 6px 18px #0007;padding:clamp(12px,2.3vh,26px) 11px;text-align:center;color:#f1ebe2}.stat-card:before,.stat-card:after{content:"✦";position:absolute;font:9px var(--serif);color:var(--tone)}.stat-card:before{top:8px;left:9px}.stat-card:after{bottom:8px;right:9px}.card-glyph{width:clamp(40px,5vw,72px);height:clamp(40px,5vw,72px);margin:0 auto 12px;color:var(--tone);display:grid;place-items:center;position:relative}.card-glyph:before,.card-glyph:after{content:"";position:absolute;inset:6%;border:1px solid currentColor;opacity:.45;transform:rotate(45deg)}.card-glyph:after{transform:rotate(0);border-radius:50%;inset:8%;opacity:.5}.card-glyph svg{width:50%;height:50%;stroke-width:1.1}.stat-card h3{font:600 clamp(17px,1.55vw,27px) var(--serif)}.card-en{display:block;color:var(--tone);font-size:9px;letter-spacing:.17em;margin:4px 0 9px}.stat-card p{font:clamp(12px,1vw,15px)/1.65 var(--serif);color:#d6d1cd}
#archive{max-width:1360px;margin:auto;padding:38px clamp(20px,4vw,64px) 60px}.book-heading .kicker{font-size:11px}.book-heading h1{font:400 clamp(32px,3.4vw,54px)/1.45 var(--serif);letter-spacing:-.065em;margin:5px 0 20px}.book-tabs{display:flex;border-block:1px solid var(--line);gap:8px;padding:5px 0}.book-tabs button{font:15px var(--serif);color:#b5b5bb;padding:11px 19px;display:flex;gap:9px;align-items:center;border:1px solid transparent}.book-tabs button[aria-current=page]{color:#edd3a0;background:#24252b;border-color:#cdb58255}.book-tabs button svg{color:#c7ac78}.book-content{animation:surface .35s ease-out}@keyframes surface{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}.cover-page{display:grid;grid-template-columns:1.13fr 1fr;margin-top:26px;border:1px solid var(--line);background:linear-gradient(120deg,#1a202d,#161b26);min-height:342px}.cover-illustration{position:relative;min-height:280px;background:#191c2b url('assets/codex/region-01.webp') 53% 50% / cover no-repeat;overflow:hidden}.cover-illustration:before{content:"";position:absolute;inset:10px;border:1px solid #efd69a88;pointer-events:none}.cover-illustration:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#040711bb,transparent 60%);pointer-events:none}.cover-caption{position:absolute;z-index:1;bottom:28px;left:30px;color:#e4ceab;letter-spacing:.19em;font:italic 24px var(--latin)}.cover-text{padding:clamp(25px,3.2vw,47px)}.eyebrow{font-size:10px;letter-spacing:.18em;display:block}.cover-text h2,.subhead{font:400 clamp(24px,2.5vw,40px) var(--serif);color:#f1e7d5;letter-spacing:-.055em}.cover-text h2{margin:10px 0 17px}.cover-text p,.lore-p,.atlas-copy p{font:16px/1.85 var(--serif);color:#d5d1ca;letter-spacing:-.025em}.cover-text p+p{margin-top:9px}.book-link{display:inline-flex;align-items:center;gap:12px;border-bottom:1px solid var(--dim);color:#debf87;padding:7px 0;margin-top:15px;font:14px var(--serif)}.note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:17px}.note{border:1px solid var(--line);padding:20px 24px;background:#171d27}.note h3{display:flex;align-items:center;gap:10px;color:#e3cc9e;font:600 17px var(--serif);margin-bottom:7px}.note p{font:14px/1.8 var(--serif);color:#ccc9c4}.note h3 svg{width:18px;height:18px}.tools-row,.districts{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:21px 0}.chip{color:#b9bac1;border:1px solid #b5a07740;border-radius:2px;background:#171b25;padding:8px 13px;font:14px var(--serif);min-height:36px}.chip[aria-pressed=true]{background:#302d29;border-color:#c5ad7f;color:#f5dfb7}.atlas-image{position:relative;width:100%;display:block;padding:0;overflow:hidden;border:1px solid var(--line);background:#121622}.atlas-image img{width:100%;height:auto;aspect-ratio:3/1;object-fit:cover;display:block;transition:transform .5s}.atlas-image:hover img,.portrait:hover img{transform:scale(1.025)}.expand{position:absolute;right:11px;bottom:11px;background:#121722d9;border:1px solid #d7c28c88;color:#f3e0bd;display:grid;place-items:center;width:31px;height:31px}.expand svg{width:16px;height:16px}.atlas-copy{padding:23px 3px 0}.atlas-copy h2{font:500 clamp(26px,2.8vw,43px) var(--serif);margin:7px 0 11px}.atlas-copy h2 small{font:15px var(--serif);color:#c3ad88;margin-left:15px;white-space:nowrap}.character-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.character{background:linear-gradient(135deg,#1b202b,#151a24);border:1px solid var(--line)}.portrait{position:relative;width:100%;padding:0;display:block;overflow:hidden;background:#151a26}.portrait img{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;object-position:center 35%;display:block;transition:transform .4s}.char-copy{padding:15px 18px 19px}.char-copy h3{font:600 23px var(--serif);color:#eedfbe;margin-bottom:6px}.char-meta{font-size:12px;color:#c6b691;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.char-meta span+span{padding-left:8px;border-left:1px solid #a59a794d}.traits{font-size:13px;color:#b9b9cb;margin:13px 0 5px}.intro{font:14px/1.75 var(--serif);color:#e1ddd6}.subhead{margin:24px 0 12px}.book-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:18px}.book-stats .stat-card{padding:22px 18px}.grade-grid{display:grid;grid-template-columns:repeat(11,1fr);gap:4px;margin:13px 0}.grade-grid span{display:grid;place-content:center;text-align:center;gap:5px;padding:10px 3px;border:1px solid var(--line);background:#1b1e29;font-size:12px;color:#c9c6bf}.grade-grid b{font:21px var(--latin);color:#e7c994}.fine{font:14px/1.8 var(--serif);color:#bcb8b1}
#page-turn{position:fixed;z-index:30;inset:0;display:grid;place-items:center;overflow:hidden;background:#0b101b;animation:veil 1.12s both;perspective:850px}.book-light{position:absolute;inset:0;background:radial-gradient(ellipse,#c4a67654,transparent 64%)}.flipbook{width:min(60vw,520px);aspect-ratio:1.45;position:relative;transform:rotateX(15deg);perspective:1000px}.flipbook i{position:absolute;left:50%;top:0;bottom:0;width:43%;background:repeating-linear-gradient(0deg,transparent 0 14px,#95805b33 15px 16px),linear-gradient(90deg,#806642,#ead8af 14%,#cebc93);box-shadow:inset 0 0 0 6px #c4a975,inset 0 0 0 7px #7d6840,0 0 13px #e9c77c40;transform-origin:left center;animation:leaf .72s ease-in-out both;animation-delay:calc(var(--leaf)*.055s);border-radius:0 4px 4px 0}.flipbook i:nth-child(1){--leaf:0;background:#503e31}.flipbook i:nth-child(2){--leaf:1}.flipbook i:nth-child(3){--leaf:2}.flipbook i:nth-child(4){--leaf:3}.flipbook i:nth-child(5){--leaf:4}.flipbook i:nth-child(6){--leaf:5;animation-name:front-leaf}.flipbook em{position:absolute;left:49%;top:36%;font:36px var(--latin);color:#fff0ce;text-shadow:0 0 25px #ffe3ac}@keyframes leaf{from{transform:rotateY(-7deg)}to{transform:rotateY(-173deg)}}@keyframes front-leaf{from{transform:rotateY(-8deg)}to{transform:rotateY(-24deg)}}@keyframes veil{0%,100%{opacity:0}18%,79%{opacity:1}}
#viewer{background:#10151f;border:1px solid var(--dim);padding:0;max-width:min(95vw,1800px);max-height:94svh;box-shadow:0 20px 90px #000;color:var(--ink)}#viewer::backdrop{background:#03050be8}#full-art{display:block;max-width:100%;max-height:calc(94svh - 57px);object-fit:contain;margin:auto}.viewer-top{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:50px;padding:5px 16px}.viewer-top h2{font:18px var(--serif)}.viewer-top button{display:flex;align-items:center;gap:9px;color:var(--gold);min-height:36px;font-size:13px}.viewer-top button span{font:23px var(--sans)}
@media(min-width:1650px){#novel{padding-top:28px}#stage{height:calc(100svh - 214px)}.journey{min-height:104px}}
@media(max-width:1000px){.mast-inner{gap:32px}.journey{gap:26px}.keyhelp{display:none}#dialogue{left:5%;right:5%}#tableau{left:6%;right:6%}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.mast{height:65px}.mast-inner{padding:0 17px;gap:20px}.brand{height:56px}.brand img{width:96px;height:50px}.main-nav{gap:13px}.main-nav button{font-size:12px}.mast-actions{gap:9px}.mast-actions button{font-size:11px}.mast-actions #sound{font-size:10px;gap:6px}.skip{padding:0 9px}.skip svg{width:12px}.journey{min-height:86px;gap:18px;padding:0 8px}.journey-title strong{font-size:13px}.journey-title small{font-size:8px}.journey-title{gap:7px}.compass-icon svg{width:28px;height:28px}#track li{font-size:11px;gap:6px}#stage{height:calc(100svh - 166px);min-height:440px}.book-tabs{gap:3px}.book-tabs button{font-size:13px;padding:10px}.book-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.note-grid{grid-template-columns:1fr}.cover-page{grid-template-columns:1fr}.cover-illustration{min-height:200px}.grade-grid{grid-template-columns:repeat(6,1fr)}}
@media(max-width:570px){.mast-inner{padding:0 16px;gap:10px}.main-nav{display:none}.mast-actions{gap:13px}#novel{padding:9px 8px 0}#stage{height:calc(100svh - 150px);min-height:440px}.street-art{background-position:63% 55%}.scene-shade{background:linear-gradient(180deg,#0b1020b8 0%,#0b101c70 22%,transparent 53%,#09101c22 68%,#080d16e8 100%),linear-gradient(90deg,#080d193b,transparent 78%)}#street-copy{max-width:calc(100% - 40px);top:12%;left:24px;transform:none}.kicker{font-size:10px;gap:8px}.rule-star{width:27px}.rule-star:before{width:5px;height:5px;top:-2px}#street-copy h1{font-size:clamp(37px,10.6vw,57px);margin:7px 0 10px;letter-spacing:-.075em}.title-rule{width:115px;margin-bottom:9px}#street-copy p{font-size:clamp(12px,3.35vw,16px);line-height:1.85}.scene-marker{top:18px;right:18px;font-size:9px;gap:4px}#scene-place{font-size:10px}.mini-star{font-size:11px}.small-rule{width:10px}#decision{bottom:7%}.gilt-button{min-width:185px;height:48px}.gilt-button b{font-size:18px}.choice-label{font-size:8px;margin-bottom:10px}.journey{min-height:72px;padding:0 7px;gap:0}.journey-title{display:none}#track{justify-content:space-around}#track li{flex:1;flex-direction:column;position:relative;gap:8px;font-size:10px}#track li:not(:last-child):after{position:absolute;top:3px;left:57%;width:87%;margin:0}#track i{width:6px;height:6px}.goddess img{height:100%;max-width:none;transform:translateY(7%)}#dialogue{left:4%;right:4%;bottom:4%;padding:16px 16px 12px}.speaker{font-size:16px;gap:8px}.speaker span{font-size:11px}#line{font-size:15px;line-height:1.65}.continue{font-size:10px}#choices{grid-template-columns:1fr;gap:4px}#choices button{padding:7px 8px;font-size:12px;gap:8px}.end-link{right:4%;bottom:3%;padding:9px 12px;font-size:12px}#tableau{inset:5% 5% auto;grid-template-columns:1fr 1fr;gap:7px}.stat-card{padding:11px 9px}.card-glyph{width:34px;height:34px;margin-bottom:3px}.stat-card h3{font-size:17px}.card-en{font-size:8px;margin:1px 0 3px}.stat-card p{font-size:11px;line-height:1.4}.end-link+*{margin:0}#stage.card-scene{min-height:555px}#stage.card-scene .scene-marker{opacity:0}#archive{padding:22px 16px 45px}.book-heading h1{margin-bottom:13px}.book-tabs{display:grid;grid-template-columns:repeat(4,1fr)}.book-tabs button{font-size:12px;justify-content:center;padding:9px 1px;gap:4px}.book-tabs svg{width:13px;height:13px}.cover-page{margin-top:16px}.cover-text{padding:21px}.lore-p,.cover-text p,.atlas-copy p{font-size:14px}.character-grid{grid-template-columns:1fr;gap:15px}.tools-row,.districts{gap:5px;margin:14px 0}.chip{font-size:12px;min-height:32px;padding:6px 10px}.book-stats{gap:8px}.book-stats .stat-card{padding:15px 13px}.note{padding:16px}.scene-marker .small-rule{display:none}.atlas-copy h2 small{font-size:12px;margin-left:8px}}
@media(max-height:560px) and (min-width:571px){.mast{height:53px}.brand,.brand img{height:44px}.brand img{width:88px}#novel{padding-top:7px}#stage{height:calc(100svh - 112px);min-height:265px}.journey{min-height:52px}#street-copy{top:45%}#street-copy h1{font-size:40px;margin:5px 0}.title-rule{margin-bottom:4px}#street-copy p{font-size:13px}.gilt-button{height:40px;min-width:156px}.choice-label{margin-bottom:7px;font-size:8px}.gilt-button b{font-size:16px}#decision{left:61%;bottom:7%}#dialogue{bottom:4%;padding:10px 16px}.speaker{font-size:15px}#line{font-size:14px}#stage.card-scene{min-height:358px}#tableau{top:4%;bottom:40%}.stat-card{padding:12px}.card-glyph{width:30px;height:30px;margin-bottom:3px}.card-en{margin:1px 0 3px}.stat-card p{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-delay:0s!important;transition-duration:.01ms!important}#stage.rushing #headlights{display:none}#page-turn{animation:none}#tableau .stat-card{animation:none}}
.card-glyph svg,.note svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.note svg{stroke-width:1.4}.card-glyph{filter:drop-shadow(0 0 7px color-mix(in srgb,var(--tone) 40%,transparent))}.card-glyph svg{z-index:2;stroke-width:1.35}.card-glyph:before{inset:1%}.card-glyph:after{inset:5%;background:repeating-conic-gradient(from 18deg,transparent 0 14deg,currentColor 14.3deg 14.7deg,transparent 15deg 30deg);mask:radial-gradient(circle,transparent 53%,black 56% 100%);opacity:.65}
.stat-card .card-en:after{content:"";display:block;width:40%;height:1px;margin:12px auto 0;background:linear-gradient(90deg,transparent,var(--tone),transparent)}#summon-caption{position:absolute;z-index:5;bottom:10%;left:6%;right:6%;text-align:center;font:clamp(16px,1.5vw,24px)/1.65 var(--serif);text-shadow:0 2px 8px #000,0 0 12px #000;color:#f1e6d4}.card-scene .goddess img{transform-origin:50% 68%;animation:summon .95s ease-out}@keyframes summon{0%{scale:1}45%{scale:1.045;filter:brightness(1.13)}100%{scale:1}}
@media(min-width:741px) and (min-height:610px){#tableau{inset:6% 14% 27%;gap:clamp(10px,1.65vw,27px)}#tableau .stat-card{min-height:clamp(214px,30vh,345px);display:flex;flex-direction:column;justify-content:center;padding:20px 16px}#tableau .card-glyph{width:clamp(50px,6.8vw,96px);height:clamp(50px,6.8vw,96px);margin-bottom:17px}}
@media(max-width:570px){.stat-card .card-en:after{margin:5px auto}.card-scene #summon-caption{bottom:9%}}
@media(prefers-reduced-motion:reduce){.card-scene .goddess img{animation:none}}
