:root{
  --ink:#05070d;
  --ink-2:#080b12;
  --paper:#f0ede6;
  --muted:#a9a49e;
  --gold:#b98b43;
  --gold-light:#e2bd72;
  --violet:#8f65cf;
  --line:rgba(220,190,125,.28);
  --panel:rgba(4,7,13,.79);
  --header-h:76px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--ink)}
body{margin:0;background:var(--ink);color:var(--paper);font-family:"Yu Mincho","Hiragino Mincho ProN","Yu Gothic",serif;line-height:1.8;overflow-x:hidden}

/* Japanese text wrapping: keep phrases readable instead of breaking at awkward points. */
:where(h1,h2,h3,.hero-lead,.world-quote){line-break:strict;word-break:normal;overflow-wrap:normal;text-wrap:balance}
:where(p,dd,small,.character-lead,.hero-copy,.lore-card p,.game-feature p,.news-board p,.play-stage-copy>span){line-break:strict;word-break:normal;overflow-wrap:break-word;text-wrap:pretty}
#world,#character,#game,#news{scroll-margin-top:calc(var(--header-h) + 14px)}
body.nav-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,a{touch-action:manipulation}
::selection{background:#7c4eb6;color:#fff}

.site-grid{position:fixed;z-index:40;inset:0;pointer-events:none;background:url("../IMAGE/ui_grid.png") center/cover no-repeat;opacity:.03;mix-blend-mode:screen}

.site-header{position:fixed;z-index:100;top:0;left:0;right:0;height:var(--header-h);padding:0 clamp(18px,4vw,64px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(222,191,127,.16);background:linear-gradient(180deg,rgba(4,6,11,.96),rgba(4,6,11,.78));backdrop-filter:blur(14px);transition:background .25s,border-color .25s}
.site-header.is-scrolled{background:rgba(4,6,11,.96);border-color:rgba(222,191,127,.27)}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-mark{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 0 12px rgba(90,137,214,.16))}
.brand-copy{display:grid;line-height:1.05}
.brand-copy b{font-family:Georgia,"Times New Roman",serif;font-size:21px;font-weight:500;letter-spacing:.18em}
.brand-copy small{margin-top:5px;color:#8f8b88;font-family:Arial,sans-serif;font-size:7px;letter-spacing:.26em}
.site-nav{display:flex;align-items:center;gap:clamp(18px,2.5vw,34px);font-family:Arial,sans-serif;font-size:10px;font-weight:700;letter-spacing:.18em}
.site-nav a{position:relative;padding:25px 0;color:#a8a29b;transition:.2s}
.site-nav a>span{margin-right:7px;color:#665b50;font-size:8px}
.site-nav a:not(.nav-play):after{content:"";position:absolute;left:0;right:100%;bottom:17px;height:1px;background:var(--gold);transition:.25s}
.site-nav a:hover{color:#fff}.site-nav a:hover:after{right:0}
.site-nav .nav-play{padding:10px 18px;border:1px solid rgba(196,151,75,.52);color:#e8d8ba;background:rgba(89,56,24,.16);box-shadow:inset 0 0 20px rgba(192,140,58,.05)}
.nav-toggle{display:none;border:0;background:none;color:#fff;padding:8px 4px;align-items:center;gap:5px;cursor:pointer}
.nav-toggle span{display:block;width:20px;height:1px;background:#d9d4cc}.nav-toggle em{margin-left:7px;color:#9a948c;font:normal 9px/1 Arial,sans-serif;letter-spacing:.16em}

.hero{position:relative;min-height:100svh;display:flex;align-items:center;padding:calc(var(--header-h) + 56px) clamp(24px,8vw,140px) 90px;isolation:isolate;overflow:hidden}
.hero-bg,.section-bg,.final-bg{position:absolute;z-index:-4;inset:0;width:100%;height:100%;object-fit:cover}
.hero-bg{object-position:center center;animation:hero-drift 24s ease-in-out infinite alternate}
@keyframes hero-drift{from{transform:scale(1.015)}to{transform:scale(1.055)}}
.hero-shade{position:absolute;z-index:-3;inset:0;background:linear-gradient(90deg,rgba(2,4,8,.94) 0%,rgba(2,4,8,.68) 38%,rgba(2,4,8,.18) 72%,rgba(2,4,8,.46) 100%),linear-gradient(0deg,rgba(3,5,9,.93),transparent 38%)}
.hero-overlay{position:absolute;z-index:-2;inset:0;background:url("../IMAGE/ui_overlay.png") center/cover no-repeat;opacity:.12;mix-blend-mode:screen}
.hero-content{position:relative;width:min(760px,72vw);padding-left:clamp(0px,2vw,26px)}
.hero-kicker,.section-heading>p,.role,.play-stage-copy>p,.final-inner>p{margin:0;color:#c29b59;font-family:Arial,sans-serif;font-size:10px;font-weight:700;letter-spacing:.26em}
.hero-logo{width:min(650px,75vw);margin:10px 0 -8px;filter:drop-shadow(0 12px 32px rgba(0,0,0,.55))}
.hero-lead{max-width:18em;margin:18px 0 0;font-size:clamp(23px,2.5vw,38px);letter-spacing:.09em;text-shadow:0 2px 16px #000;text-wrap:balance}
.hero-copy{max-width:620px;margin:14px 0 30px;color:#c3beb8;font-size:clamp(13px,1.2vw,16px);line-height:2}
.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.ornament-button{position:relative;isolation:isolate;width:280px;min-height:82px;padding:17px 34px;display:grid;place-items:center;align-content:center;text-align:center;font-family:Arial,sans-serif;letter-spacing:.19em;transition:transform .2s,filter .2s}
.ornament-button:before{content:"";position:absolute;z-index:-1;inset:-34px -76px;background:url("../IMAGE/ui_button.png") center/contain no-repeat;pointer-events:none;filter:drop-shadow(0 6px 12px rgba(0,0,0,.55))}
.ornament-button.large{width:330px;min-height:96px}.ornament-button.large:before{inset:-45px -95px;background-image:url("../IMAGE/ui_button_large.png")}
.ornament-button span{font-size:13px;font-weight:800}.ornament-button small{margin-top:3px;color:#9a8a72;font-size:8px;letter-spacing:.2em}
.ornament-button:hover{transform:translateY(-2px);filter:brightness(1.15)}
.plain-link{color:#b7b0a7;font-family:Arial,sans-serif;font-size:10px;font-weight:700;letter-spacing:.18em;border-bottom:1px solid rgba(190,149,84,.4);padding:8px 0}.plain-link b{color:var(--gold);margin-left:8px}
.scroll-cue{position:absolute;z-index:3;left:50%;bottom:16px;transform:translateX(-50%);display:grid;place-items:center;color:#8f8a85;font-family:Arial,sans-serif;font-size:8px;letter-spacing:.22em}
.scroll-cue img{width:92px;height:92px;object-fit:contain;opacity:.8;animation:scroll-pulse 2.8s ease-in-out infinite}
.scroll-cue span{margin-top:-16px}
@keyframes scroll-pulse{50%{transform:scale(1.05);filter:brightness(1.3)}}

.section{position:relative;padding:clamp(92px,10vw,160px) clamp(24px,7.5vw,130px);isolation:isolate;overflow:hidden;border-top:1px solid rgba(225,194,129,.1)}
.scene-section{min-height:760px}
.section-bg{object-position:center}
.section-shade{position:absolute;z-index:-3;inset:0;background:linear-gradient(90deg,rgba(4,6,10,.91),rgba(4,6,10,.68) 48%,rgba(4,6,10,.86)),linear-gradient(0deg,rgba(4,6,10,.94),rgba(4,6,10,.24) 45%,rgba(4,6,10,.8))}
.section-overlay{position:absolute;z-index:-2;inset:0;background:url("../IMAGE/ui_overlay.png") center/cover no-repeat;opacity:.07;mix-blend-mode:screen}
.section-inner{width:min(1420px,100%);margin:0 auto}
.section-heading{max-width:900px;margin-bottom:clamp(48px,6vw,86px)}
.section-heading>p span{display:inline-block;margin-right:13px;color:#786b5d}
.section-heading h2{max-width:15em;margin:10px 0 4px;font-size:clamp(34px,4.6vw,66px);font-weight:400;line-height:1.32;letter-spacing:.04em;text-shadow:0 3px 20px #000;text-wrap:balance}
.heading-line{width:min(720px,76vw);height:56px;margin-top:7px;object-fit:contain;object-position:left center;filter:sepia(.45) saturate(.9) brightness(.8);opacity:.78}

.world-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);gap:clamp(40px,8vw,120px);align-items:start}
.glass-panel{position:relative;padding:clamp(28px,4vw,54px);border:1px solid rgba(199,154,83,.24);background:linear-gradient(135deg,rgba(8,12,19,.78),rgba(4,6,10,.54));box-shadow:0 20px 70px rgba(0,0,0,.25),inset 0 0 44px rgba(97,75,44,.035);backdrop-filter:blur(5px)}
.glass-panel:before{content:"";position:absolute;inset:9px;border:1px solid rgba(199,154,83,.09);pointer-events:none}
.panel-label{color:#9d835d;font:700 9px/1 Arial,sans-serif;letter-spacing:.24em}
.world-story p{margin:18px 0;color:#c7c2bc;font-size:clamp(17px,1.5vw,22px)}
.world-story strong{display:block;margin-top:44px;color:#f0e9df;font-size:clamp(24px,2.4vw,36px);font-weight:400;letter-spacing:.09em}
.world-sides{display:grid;gap:12px;padding-top:20px}
.lore-card{padding:24px 26px 26px;border-left:1px solid rgba(197,151,78,.48);background:linear-gradient(90deg,rgba(65,48,29,.2),transparent)}
.lore-card>span{color:#977845;font:700 9px/1 Arial,sans-serif;letter-spacing:.22em}
.lore-card h3{margin:6px 0 9px;font-size:25px;font-weight:400}.lore-card p{margin:0;color:#aaa49d;font-size:14px}
.small-divider{width:240px;height:46px;object-fit:contain;opacity:.56;filter:sepia(.5) saturate(.8);justify-self:center}
.world-quote{max-width:28em;margin:80px auto 0;text-align:center;color:#bab1a7;font-size:clamp(18px,2vw,28px);letter-spacing:.13em;line-height:1.7;text-wrap:balance}

.character-section .section-shade{background:linear-gradient(90deg,rgba(5,5,12,.91),rgba(8,5,17,.64) 50%,rgba(5,5,12,.91)),linear-gradient(0deg,rgba(4,5,10,.96),rgba(4,5,10,.22) 47%,rgba(4,5,10,.82))}
.character-list{display:grid;gap:clamp(70px,9vw,130px)}
.character-card{display:grid;grid-template-columns:minmax(340px,.82fr) minmax(380px,1.18fr);gap:clamp(34px,6vw,90px);align-items:center}
.character-card.reverse{grid-template-columns:minmax(380px,1.18fr) minmax(340px,.82fr)}.character-card.reverse .character-visual{order:2}.character-card.reverse .character-info{order:1}
.character-visual{position:relative;min-height:clamp(520px,58vw,780px);overflow:hidden;border:1px solid rgba(213,176,112,.22);background:#080910;box-shadow:0 26px 70px rgba(0,0,0,.38)}
.character-card-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.74}
.character-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,5,10,.84),transparent 30%),linear-gradient(90deg,rgba(7,7,12,.38),transparent 36%);pointer-events:none}
.character-art{position:absolute;z-index:2;left:50%;bottom:-1%;transform:translateX(-50%);width:auto;height:97%;max-width:none;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 20px 28px rgba(0,0,0,.48))}
.character-number{position:absolute;z-index:3;right:18px;top:4px;color:rgba(255,255,255,.08);font:400 clamp(70px,9vw,124px)/1 Georgia,serif}
.character-info{position:relative;padding:30px 0}
.character-info:before{content:"";position:absolute;z-index:-1;left:-80px;right:-80px;top:-50px;bottom:-50px;background:radial-gradient(circle at 40% 45%,rgba(72,48,103,.17),transparent 64%);pointer-events:none}
.character-info h3{margin:8px 0 0;font-size:clamp(40px,5vw,72px);font-weight:400;letter-spacing:.04em}.reading{margin:0 0 25px;color:#7c7773;font:700 9px/1.5 Arial,sans-serif;letter-spacing:.22em}
.character-lead{max-width:600px;margin:0 0 28px;color:#bcb5ae;font-size:16px}
.character-info dl{margin:0 0 32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px;border-top:1px solid rgba(255,255,255,.08)}
.character-info dl div{display:grid;grid-template-columns:105px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.065)}.character-info dt{color:#766f69;font-size:11px}.character-info dd{margin:0;color:#c7c0b8;font-size:13px}
.skill-list{display:grid;gap:8px}.skill-list p{margin:0;padding:13px 15px;display:grid;grid-template-columns:75px 1fr;column-gap:12px;border:1px solid rgba(196,151,78,.12);background:rgba(6,8,13,.54)}.skill-list p span{grid-row:1/3;color:#8f734a;font:700 8px/1.3 Arial,sans-serif;letter-spacing:.14em;align-self:center}.skill-list b{font-size:15px;font-weight:400}.skill-list small{color:#827c76;font-size:11px}
.char-shizuku .role{color:#9db3bf}.char-yato .role{color:#82a594}

.game-section .section-shade{background:linear-gradient(90deg,rgba(3,6,10,.92),rgba(3,6,10,.58) 55%,rgba(3,6,10,.89)),linear-gradient(0deg,rgba(3,5,9,.97),rgba(3,5,9,.24) 48%,rgba(3,5,9,.78))}
.game-features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.game-feature{min-height:280px;padding:32px 30px;border-top:1px solid rgba(208,166,93,.4);border-bottom:1px solid rgba(255,255,255,.065);background:linear-gradient(180deg,rgba(6,9,14,.74),rgba(5,7,11,.5));backdrop-filter:blur(3px)}
.game-feature>span{color:#8c744f;font:700 9px/1 Arial,sans-serif;letter-spacing:.18em}.game-feature h3{margin:16px 0 12px;font-size:34px;font-weight:400}.game-feature p{margin:0;color:#a7a19a;font-size:14px}
.play-stage{position:relative;margin-top:58px;padding:clamp(34px,5vw,58px);display:grid;grid-template-columns:1fr auto;gap:34px;align-items:center;background:rgba(4,6,10,.82);overflow:hidden}
.play-stage:before{content:"";position:absolute;inset:0;background:url("../IMAGE/ui_overlay.png") center/cover no-repeat;opacity:.13;pointer-events:none}
.play-stage-frame{position:absolute;inset:0;border:1px solid rgba(209,168,96,.32);box-shadow:inset 0 0 70px rgba(138,84,24,.05);pointer-events:none}.play-stage-frame:before,.play-stage-frame:after{content:"✦";position:absolute;top:50%;transform:translateY(-50%);color:#b78a44;font-size:20px}.play-stage-frame:before{left:11px}.play-stage-frame:after{right:11px}
.play-stage-copy{position:relative}.play-stage-copy h3{margin:8px 0 6px;font-size:clamp(28px,3.5vw,48px);font-weight:400}.play-stage-copy>span{color:#9c958d;font-size:13px}

.news-section .section-shade{background:linear-gradient(90deg,rgba(4,5,8,.92),rgba(4,5,8,.57) 53%,rgba(4,5,8,.88)),linear-gradient(0deg,rgba(4,5,8,.96),rgba(4,5,8,.27) 48%,rgba(4,5,8,.8))}
.news-board{border-top:1px solid rgba(202,159,90,.32);background:rgba(5,7,11,.6);backdrop-filter:blur(4px)}
.news-board article{display:grid;grid-template-columns:145px 1fr;gap:34px;padding:25px 22px;border-bottom:1px solid rgba(255,255,255,.075);transition:background .2s}.news-board article:hover{background:rgba(112,73,28,.08)}
.news-board time{color:#837b71;font:700 10px/1.5 Arial,sans-serif;letter-spacing:.08em}.news-board div>span{color:#9b7742;font:700 8px/1 Arial,sans-serif;letter-spacing:.19em}.news-board h3{margin:4px 0 2px;font-size:18px;font-weight:400}.news-board p{margin:0;color:#8f8982;font-size:12px}

.final-cta{position:relative;min-height:640px;padding:110px 24px;display:grid;place-items:center;text-align:center;isolation:isolate;overflow:hidden;border-top:1px solid rgba(209,171,103,.14)}
.final-bg{object-position:center}.final-shade{position:absolute;z-index:-3;inset:0;background:linear-gradient(0deg,rgba(3,5,9,.98),rgba(3,5,9,.4) 47%,rgba(3,5,9,.68)),radial-gradient(circle at 50% 40%,transparent,rgba(2,4,8,.52) 65%)}
.final-inner{width:min(1040px,94vw);display:grid;justify-items:center}.final-logo{width:min(520px,78vw);margin-bottom:-26px;filter:drop-shadow(0 12px 36px rgba(0,0,0,.55))}.final-divider{width:190px;height:46px;object-fit:contain;margin:-2px 0 -4px;filter:sepia(.55) saturate(.8);opacity:.75}.final-inner h2{max-width:100%;margin:10px 0 22px;font-size:clamp(31px,4.2vw,58px);font-weight:400;letter-spacing:.055em;line-height:1.45;text-wrap:balance}.final-inner>p{color:#b89356}

.site-footer{position:relative;padding:34px clamp(20px,6vw,84px);border-top:1px solid rgba(225,193,128,.12);background:#030509}
.footer-inner{width:min(1420px,100%);margin:0 auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:36px}.footer-brand img{width:165px;height:74px;object-fit:contain;object-position:left center}.footer-copy{color:#6f6b66;font:9px/1.7 Arial,sans-serif;letter-spacing:.08em}.footer-copy p{margin:0}.to-top{color:#91877b;font:700 9px/1 Arial,sans-serif;letter-spacing:.14em;border-bottom:1px solid rgba(186,145,77,.34);padding:7px 0}

.reveal{opacity:0;transform:translateY(22px);transition:opacity .72s ease,transform .72s cubic-bezier(.2,.7,.2,1)}.reveal.is-visible{opacity:1;transform:none}

@media(max-width:1050px){
  .world-layout{grid-template-columns:1fr;gap:44px}.world-sides{grid-template-columns:1fr 1fr;gap:18px}.small-divider{display:none}
  .character-card,.character-card.reverse{grid-template-columns:minmax(300px,.9fr) minmax(360px,1.1fr);gap:44px}.character-visual{min-height:620px}
  .game-features{grid-template-columns:1fr}.game-feature{min-height:0}.play-stage{grid-template-columns:1fr}.play-stage .ornament-button{justify-self:start}
}
@media(max-width:820px){
  :root{--header-h:66px}
  .site-header{padding:0 18px}.brand-copy small{display:none}.brand-mark{width:40px;height:40px}
  .nav-toggle{display:flex}
  .site-nav{position:absolute;z-index:110;top:100%;left:0;width:100vw;height:calc(100vh - var(--header-h));height:calc(100dvh - var(--header-h));padding:24px 22px 40px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;background:#05070d url("../IMAGE/ui_overlay.png") center/cover no-repeat;box-shadow:inset 0 1px rgba(222,191,127,.18),0 20px 60px rgba(0,0,0,.75);overflow-y:auto;transform:translateX(100%);visibility:hidden;opacity:0;transition:transform .3s ease,opacity .22s ease,visibility .3s}
  .site-nav.is-open{transform:none;visibility:visible;opacity:1}.site-nav a{padding:18px 16px;border:1px solid rgba(196,151,75,.12);background:rgba(8,11,18,.94);color:#d8d2c9;font-size:12px;box-shadow:inset 0 0 22px rgba(32,57,91,.08)}.site-nav a>span{color:#b58a49}.site-nav a:hover{border-color:rgba(196,151,75,.42);background:rgba(24,20,18,.96)}.site-nav a:not(.nav-play):after{display:none}.site-nav .nav-play{margin-top:14px;padding:18px;text-align:center;border-color:rgba(196,151,75,.58);background:rgba(72,48,22,.38);color:#fff1d2}
  .hero{align-items:flex-end;padding:calc(var(--header-h) + 50px) 24px 110px}.hero-content{width:100%;padding:0}.hero-logo{width:min(650px,94vw)}.hero-shade{background:linear-gradient(0deg,rgba(2,4,8,.97) 0%,rgba(2,4,8,.62) 55%,rgba(2,4,8,.18) 82%)}
  .section{padding-left:24px;padding-right:24px}.section-heading h2{font-size:clamp(34px,8vw,52px)}
  .world-sides{grid-template-columns:1fr}
  .character-card,.character-card.reverse{grid-template-columns:1fr}.character-card.reverse .character-visual,.character-card.reverse .character-info{order:initial}.character-visual{min-height:min(128vw,680px)}.character-art{width:auto;height:96%;bottom:-1%}.character-info{padding-top:0}.character-info:before{display:none}
  .play-stage .ornament-button{justify-self:center}.play-stage-copy{text-align:center}
  .news-board article{grid-template-columns:1fr;gap:7px}
  .footer-inner{grid-template-columns:1fr;justify-items:center;text-align:center;gap:16px}.footer-brand img{object-position:center}.to-top{margin-top:4px}
}
@media(max-width:520px){
  .hero{padding-left:18px;padding-right:18px}.hero-kicker{font-size:8px;letter-spacing:.18em}.hero-copy br{display:none}.hero-actions{display:grid;gap:12px}.ornament-button{width:min(280px,90vw);justify-self:start}.plain-link{justify-self:start}
  .scroll-cue img{width:74px;height:74px}
  .section{padding-left:18px;padding-right:18px}.heading-line{width:100%}.world-story strong{font-size:23px}.glass-panel{padding:28px 22px}
  .character-info dl{grid-template-columns:1fr}.character-info h3{font-size:43px}.skill-list p{grid-template-columns:62px 1fr}.skill-list p small{font-size:10px}.character-visual{min-height:610px}.character-art{width:auto;height:95%;bottom:-1%}
  .play-stage{padding:32px 18px}.play-stage .ornament-button{width:min(300px,88vw)}
  .final-cta{min-height:560px;padding-left:18px;padding-right:18px}.final-logo{width:90vw}.final-inner h2{max-width:11em;font-size:34px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-bg,.scroll-cue img{animation:none}.reveal{opacity:1;transform:none;transition:none}.ornament-button{transition:none}}

/* Ver.1 Japanese readability pass: keep semantic phrases together. */
.heading-phrase,.final-phrase{display:block}
.story-lines span,.prose-lines span,.feature-lines span{display:block}
.world-story .story-lines{max-width:31em}
.lore-card p{max-width:38em;line-height:2}
.game-feature p{max-width:37em;line-height:2.05}
.game-feature{padding-left:clamp(28px,2.2vw,42px);padding-right:clamp(28px,2.2vw,42px)}

/* The final copy and PLAY button are separate visual blocks; never let them collide. */
.final-cta{min-height:720px;padding-top:120px;padding-bottom:130px}
.final-inner{row-gap:12px}
.final-logo{margin-bottom:4px}
.final-divider{margin:0}
.final-inner h2{margin:4px 0 30px;line-height:1.38}
.final-inner .ornament-button{margin-top:6px}

@media(min-width:1051px){
  .character-section .section-heading h2{max-width:10.5em}
  .game-section .section-heading h2{max-width:11.5em}
  .world-sides{max-width:560px;justify-self:end;width:100%}
}

@media(max-width:1050px){
  .story-lines span,.prose-lines span,.feature-lines span{display:inline}
  .story-lines span+span:before,.prose-lines span+span:before,.feature-lines span+span:before{content:" "}
  .heading-phrase,.final-phrase{display:inline}
  .heading-phrase+.heading-phrase:before,.final-phrase+.final-phrase:before{content:" "}
}

@media(max-width:520px){
  .final-cta{min-height:600px;padding-top:92px;padding-bottom:100px}
  .final-inner{row-gap:8px}
  .final-logo{margin-bottom:0}
  .final-inner h2{margin-bottom:24px}
}

/* Ver.1 responsive Japanese readability refinement. */
/* Keep designed Japanese phrase breaks on every viewport size. */
.heading-phrase,.final-phrase{
  display:block !important;
  width:max-content;
  max-width:100%;
  white-space:nowrap;
}
.heading-phrase+.heading-phrase:before,.final-phrase+.final-phrase:before{content:none !important}

.story-lines span,.prose-lines span,.feature-lines span{display:block !important}
.story-lines span+span:before,.prose-lines span+span:before,.feature-lines span+span:before{content:none !important}

/* WORLD side copy: readable at a glance without losing the subdued tone. */
.lore-card{
  padding:clamp(25px,2vw,34px) clamp(26px,2.2vw,38px) clamp(28px,2.2vw,36px);
}
.lore-card h3{margin:9px 0 13px;font-size:clamp(26px,2vw,31px)}
.lore-card p{
  max-width:34em;
  color:#c2b8ab;
  font-size:clamp(15px,1.05vw,17px);
  line-height:1.9;
  letter-spacing:.015em;
}

/* Character skill rows are important game information, not fine print. */
.skill-list{gap:10px}
.skill-list p{
  min-height:78px;
  padding:16px 18px;
  grid-template-columns:80px minmax(0,1fr);
  column-gap:15px;
  align-content:center;
  background:rgba(6,8,13,.62);
  border-color:rgba(196,151,78,.18);
}
.skill-list p span{
  color:#a88958;
  font-size:9px;
  line-height:1.35;
  letter-spacing:.15em;
}
.skill-list b{
  color:#e2dcd3;
  font-size:clamp(16px,1.15vw,18px);
  line-height:1.45;
}
.skill-list small{
  margin-top:3px;
  color:#aaa39a;
  font-size:clamp(12px,.95vw,14px);
  line-height:1.65;
}

@media(max-width:1050px){
  /* Preserve the semantic line breaks introduced for Japanese readability. */
  .heading-phrase,.final-phrase{display:block !important}
  .story-lines span,.prose-lines span,.feature-lines span{display:block !important}
  .world-sides{gap:24px}
  .lore-card p{font-size:16px;line-height:1.9}
  .game-feature p{font-size:15px;line-height:2}
}

@media(max-width:820px){
  .section-heading h2{line-height:1.38}
  .lore-card{padding:26px 24px 28px}
  .lore-card p{font-size:15.5px}
  .skill-list p{grid-template-columns:74px minmax(0,1fr);padding:15px 16px}
  .skill-list small{font-size:12.5px}
}

@media(max-width:520px){
  .section-heading h2{font-size:clamp(30px,9vw,43px);letter-spacing:.025em}
  .heading-phrase,.final-phrase{max-width:100%;white-space:nowrap}
  .lore-card h3{font-size:25px}
  .lore-card p{font-size:15px;line-height:1.85}
  .skill-list p{grid-template-columns:66px minmax(0,1fr);column-gap:12px;min-height:74px}
  .skill-list p span{font-size:8.5px}
  .skill-list b{font-size:16px}
  .skill-list small{font-size:12px !important;line-height:1.6}
}

@media(max-width:380px){
  .section-heading h2{font-size:29px}
  .final-inner h2{font-size:30px}
  .skill-list p{grid-template-columns:60px minmax(0,1fr);padding:14px 13px}
}

/* Ver.1 readability polish: WORLD resident / intruder are core story information. */
.world-sides .lore-card{
  position:relative;
  padding:clamp(30px,2.5vw,42px) clamp(30px,2.8vw,46px) clamp(34px,2.8vw,44px);
  background:linear-gradient(110deg,rgba(8,10,15,.82),rgba(23,18,14,.62) 72%,rgba(8,10,15,.38));
  border-left:2px solid rgba(204,158,82,.72);
  box-shadow:inset 0 0 0 1px rgba(204,158,82,.08),0 18px 42px rgba(0,0,0,.16);
}
.world-sides .lore-card:after{
  content:"";
  position:absolute;
  left:30px;
  bottom:20px;
  width:76px;
  height:1px;
  background:linear-gradient(90deg,rgba(214,166,84,.7),transparent);
}
.world-sides .lore-card>span{
  color:#c69a55;
  font-size:10px;
  letter-spacing:.25em;
}
.world-sides .lore-card h3{
  margin:11px 0 17px;
  color:#f0e9df;
  font-size:clamp(29px,2.15vw,35px);
}
.world-sides .lore-card p{
  max-width:31em;
  color:#d8cec1;
  font-size:clamp(18px,1.25vw,21px);
  line-height:1.9;
  letter-spacing:.025em;
  text-shadow:0 1px 10px rgba(0,0,0,.35);
}
.world-sides .lore-card .prose-lines span+span{margin-top:.18em}

@media(max-width:1050px){
  .world-sides .lore-card p{font-size:19px;line-height:1.9}
}
@media(max-width:820px){
  .world-sides .lore-card{padding:29px 26px 36px}
  .world-sides .lore-card:after{left:26px}
  .world-sides .lore-card h3{font-size:29px}
  .world-sides .lore-card p{font-size:18px;line-height:1.85}
}
@media(max-width:520px){
  .world-sides .lore-card{padding:26px 22px 34px}
  .world-sides .lore-card:after{left:22px}
  .world-sides .lore-card h3{font-size:27px}
  .world-sides .lore-card p{font-size:17px;line-height:1.82}
}

/* Ver.1 WORLD core-copy visibility fix.
   The resident / intruder copy is core story information, so do not allow
   earlier responsive rules to shrink it back into fine print. */
.world-layout .world-sides{
  width:100%;
  max-width:620px;
  justify-self:end;
  gap:28px;
}
.world-layout .world-sides .lore-card{
  min-height:210px;
  padding:36px 40px 42px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:linear-gradient(110deg,rgba(5,8,13,.92),rgba(25,18,12,.73) 72%,rgba(5,8,13,.58));
  border-left:3px solid rgba(217,170,91,.82);
}
.world-layout .world-sides .lore-card>span{
  font-size:11px !important;
  color:#d3a761;
}
.world-layout .world-sides .lore-card h3{
  margin:12px 0 18px;
  font-size:34px !important;
  line-height:1.25;
}
.world-layout .world-sides .lore-card p.prose-lines{
  max-width:28em;
  margin:0;
  color:#f0e6d8 !important;
  font-size:24px !important;
  font-weight:500;
  line-height:1.78 !important;
  letter-spacing:.018em;
  text-shadow:0 2px 14px rgba(0,0,0,.72);
}
.world-layout .world-sides .lore-card p.prose-lines span{
  display:block !important;
  font:inherit !important;
  color:inherit !important;
  letter-spacing:inherit !important;
  white-space:nowrap;
}
.world-layout .world-sides .lore-card p.prose-lines span+span{
  margin-top:.18em;
}

@media(max-width:1200px){
  .world-layout .world-sides{max-width:680px;justify-self:stretch}
  .world-layout .world-sides .lore-card p.prose-lines{font-size:22px !important}
}
@media(max-width:820px){
  .world-layout .world-sides{max-width:none;gap:20px}
  .world-layout .world-sides .lore-card{min-height:0;padding:30px 28px 34px}
  .world-layout .world-sides .lore-card h3{font-size:30px !important}
  .world-layout .world-sides .lore-card p.prose-lines{font-size:20px !important;line-height:1.8 !important}
}
@media(max-width:520px){
  .world-layout .world-sides .lore-card{padding:26px 22px 30px}
  .world-layout .world-sides .lore-card p.prose-lines span{white-space:normal}
  .world-layout .world-sides .lore-card h3{font-size:27px !important}
  .world-layout .world-sides .lore-card p.prose-lines{font-size:18px !important;line-height:1.82 !important}
}


/* Ver.1 legal / credits footer links */
.footer-legal{display:flex;flex-wrap:wrap;gap:0 .65em;margin-top:8px;font-size:10px;letter-spacing:.06em}
.footer-legal a{color:#aaa197;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
.footer-legal a:hover,.footer-legal a:focus-visible{color:#e0c58f;border-color:rgba(224,197,143,.5)}
@media(max-width:820px){.footer-legal{justify-content:center;font-size:11px}}
