/* V2 visual QA refinements. Content and download carriers stay intact. */
.ruins-art{position:relative;overflow:hidden;background:#120b18}
.ruins-art>img{position:absolute;inset:0;width:100%;max-width:none;height:152%;object-fit:cover;object-position:64% 0}
.chapter-1{overflow:hidden;border-radius:16px;align-items:stretch}
.chapter-1>.chapter-art{padding:0;min-height:260px;order:2}
.chapter-1>div:not(.chapter-art){min-width:0}
.chapter-1 .chapter-art img{display:block}
.sidebar-card{padding:24px!important}
.sidebar-card>h2{font-size:22px;line-height:1.3;margin:12px 0 20px}
.sidebar-card .resource h3{font:400 14px/1.65 Arial,Helvetica,sans-serif!important;color:#e4cde8;margin:0!important}
.sidebar-card .guide-resource .button{background:#f3e6f5;box-shadow:none;width:100%;margin:18px 0 0}
.sidebar-card .merch-resource{margin-top:20px}
.sidebar-card .order-link{display:inline-block!important;width:auto!important;min-height:0;padding:0;border-radius:0;background:none!important;box-shadow:none!important;color:#ffd93d!important;margin-top:12px!important;font-size:13px;font-weight:700;text-decoration:none}
.rail #gotonews{display:none}
.rail .post{padding:24px 0}
.rail .post:last-child{padding-bottom:0}
.home .lead{font-size:18px;line-height:1.6;color:#e4cde8}
.platform-art{height:380px;border-radius:20px}
.ruins-hero.platform .hero-copy{max-width:754px;padding:32px}
.ruins-hero.platform .lead{font-size:16px;line-height:1.6;max-width:none}
.ruins-hero.platform .notice{max-width:none;font-size:11px;line-height:1.6}
.ruins-hero.platform .eyebrow{font-size:12px;letter-spacing:.08em;color:#e7a9eb}
.page-nav{display:flex;gap:24px;align-items:center;font-size:14px;color:#d8b2df;padding:20px 0}
.page-nav a{line-height:1.5}
.page-nav a:last-child{margin-left:auto;color:#ffd93d}
.kicker{display:block;font-size:12px;letter-spacing:.05em;margin-bottom:8px}
.platform~.content-grid .content>section>h2{font-size:28px;font-weight:700}
.requirements-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}
.requirements-legend{grid-column:1/-1;display:flex;justify-content:space-between;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#d8b2df}
.requirement{border:1px solid #aa62aa55;background:#221128;border-radius:12px;padding:16px}
.requirement>span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#cbb0d0}
.requirement>strong{display:block;font-size:15px;color:#ffd93d;margin-top:5px}
section[id]{scroll-margin-top:115px}
.content>.panel:empty{display:none}
@media(min-width:1050px){
 .chapter-1{display:grid;grid-template-columns:60% 40%}
 .chapter-1>.chapter-art{order:2;min-height:0}
 .chapter-1>div:not(.chapter-art){order:1}
}
@media(max-width:1049px){.chapter-1>.chapter-art{height:260px;flex-shrink:0}}
@media(max-width:800px){
 .platform-art{height:190px;border-radius:14px}
 .ruins-hero.platform .hero-copy{padding:22px}
 .ruins-hero.platform .lead{font-size:16px}
 .chapter-1>.chapter-art{height:210px;min-height:210px}
 .sidebar-card{padding:23px!important}
 .sidebar-card .resource{display:block}
 .page-nav{gap:12px 20px;font-size:13px}
 .page-nav a:last-child{margin-left:0}
 .requirements-grid{grid-template-columns:1fr;gap:14px}
 .platform~.content-grid .content>section>h2{font-size:25px}
 section[id]{scroll-margin-top:135px}
 .rail .post{grid-template-columns:100px minmax(0,1fr)}
 .rail .post img{grid-row:1/3}
 .rail .post>b,.rail .post>span{grid-column:2}
}

/* Round 3: restore the V2 component hierarchy without replacing SEO copy. */
.home .hero-copy>.notice{font-size:.75rem;line-height:1.45;color:#a89bc2;max-width:440px;margin-top:1.25rem;opacity:1}
.chapter-0 #authorname{display:none}
.chapter-0 p{font-size:.95rem;line-height:1.6;color:#d1c4e9}
.chapter-0 p+p{margin-top:1.25rem}
.sidebar-v2-refined .resource-label{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.sidebar-v2-refined .resource-description{font-size:.875rem;line-height:1.5;color:#d1c4e9;margin:0 0 1.5rem}
.sidebar-v2-refined .guide-resource .button{margin-top:0!important}
.sidebar-v2-refined .merch-resource{margin-top:1rem}
.sidebar-v2-refined .merch-resource .order-link{margin-top:0!important}
.platform-art{height:420px;border-radius:16px}
.platform-art>img{height:100%;object-fit:cover;object-position:85% center}
.ruins-hero.platform-v2-refined .hero-copy{width:65%;max-width:580px;margin:-140px 0 0 2rem;z-index:2}
.platform-v2-refined~.content-grid .content>.gallery-section{margin:0 0 3.5rem}
.platform-v2-refined~.content-grid .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.platform-v2-refined~.content-grid .step{gap:24px;padding-bottom:2rem}
.platform-v2-refined~.content-grid .steps{gap:0}
.platform-v2-refined~.content-grid .step-content{flex:1}
.platform-v2-refined~.content-grid .step h3{font-size:1.125rem;font-weight:700;color:#fff;margin:0 0 .5rem;line-height:1.4}
.platform-v2-refined~.content-grid .step p{font-size:.875rem;line-height:1.5;color:#d1c4e9}
.platform-v2-refined~.content-grid .step:not(:last-child):before{left:21px;top:44px;bottom:0;width:2px;background:#55347a}
.platform-v2-refined~.content-grid .step:last-child{padding-bottom:0}
@media(max-width:800px){
 .platform-art{height:190px;border-radius:14px}
 .ruins-hero.platform-v2-refined .hero-copy{width:calc(100% - 20px);margin:-45px 10px 0;max-width:none}
 .platform-v2-refined~.content-grid .gallery{display:flex;gap:18px}
 .platform-v2-refined~.content-grid .gallery figure{flex:0 0 85%}
 .platform-v2-refined~.content-grid .content>.gallery-section{margin-bottom:2rem}
 .platform-v2-refined~.content-grid .step{gap:16px}
 .platform-v2-refined~.content-grid .step:not(:last-child):before{left:18px;top:38px}
}
