/* Theme: warm ivory 60%, dusty rose 30%, burgundy 10% */
:root {
  --ivory: #fbf7f1;
  --cream: #f3ebe3;
  --paper: #fffdf9;
  --rose-50: #f5e9e9;
  --rose-100: #ead3d7;
  --rose-300: #cda0a8;
  --rose-500: #a96775;
  --burgundy: #7a2138;
  --burgundy-dark: #4a1725;
  --ink: #32252a;
  --muted: #705f64;
  --line: rgba(122, 33, 56, .16);
  --white: #fff;
  --shadow-sm: 0 10px 32px rgba(75, 36, 46, .08);
  --shadow-lg: 0 26px 70px rgba(75, 36, 46, .16);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.75; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.28; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { color: var(--white); background: var(--burgundy); }
:focus-visible { outline: 3px solid rgba(122, 33, 56, .42); outline-offset: 4px; }
.svg-sprite { width: 0; height: 0; position: absolute; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon use { pointer-events: none; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 108px 0; position: relative; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; color: var(--white); background: var(--burgundy); border-radius: 8px; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); border-bottom: 1px solid transparent; background: rgba(251, 247, 241, .82); backdrop-filter: blur(18px); transition: box-shadow .25s, border-color .25s, background .25s; }
.site-header.is-scrolled { background: rgba(255, 253, 249, .94); border-color: var(--line); box-shadow: 0 10px 35px rgba(67, 31, 40, .08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-width: 0; display: flex; align-items: center; gap: 11px; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 4px 14px rgba(122, 33, 56, .18); }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy b { max-width: 320px; color: var(--burgundy-dark); font-family: Georgia, "Noto Serif SC", serif; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-copy small { margin-top: 5px; color: var(--rose-500); font-size: 10px; letter-spacing: .08em; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 25px); }
.primary-nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; color: #5f4d53; font-size: 14px; font-weight: 650; white-space: nowrap; transition: color .2s; }
.primary-nav a .icon { width: 15px; height: 15px; }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -9px; height: 2px; background: var(--burgundy); transition: left .2s, right .2s; }
.primary-nav > a:hover, .primary-nav > a.is-active { color: var(--burgundy); }
.primary-nav > a:hover::after, .primary-nav > a.is-active::after { left: 0; right: 0; }
.nav-cta { padding: 10px 18px; color: var(--white) !important; background: var(--burgundy); border-radius: 999px; box-shadow: 0 8px 20px rgba(122, 33, 56, .22); }
.nav-cta:hover { background: var(--burgundy-dark); transform: translateY(-1px); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--burgundy); transition: transform .25s, opacity .25s; }

.hero { min-height: 100svh; padding: calc(var(--header-h) + 70px) 0 86px; display: grid; align-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 7% 25%, rgba(234, 211, 215, .78), transparent 28%), linear-gradient(135deg, var(--ivory), #fffaf7 54%, var(--rose-50)); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .3; pointer-events: none; background-image: radial-gradient(rgba(122, 33, 56, .18) .8px, transparent .8px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, #000, transparent 84%); }
.hero-glow { position: absolute; width: 520px; height: 520px; right: -180px; top: 6%; border-radius: 50%; background: rgba(169, 103, 117, .15); filter: blur(6px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); align-items: center; gap: clamp(48px, 6vw, 86px); }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.eyebrow span, .route-tag { padding: 6px 11px; color: var(--burgundy); background: rgba(255, 255, 255, .7); border: 1px solid var(--rose-100); border-radius: 999px; font-size: 12px; font-weight: 750; letter-spacing: .06em; }
.hero h1 { max-width: 720px; margin-bottom: 24px; color: var(--burgundy-dark); font-family: Georgia, "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(34px, 4.5vw, 58px); font-weight: 700; letter-spacing: -.035em; }
.hero-subtitle { max-width: 650px; margin-bottom: 32px; color: var(--muted); font-size: clamp(17px, 1.7vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { min-height: 52px; padding: 13px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; transition: transform .2s, background .2s, box-shadow .2s; }
.button .icon { width: 18px; height: 18px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--burgundy); box-shadow: 0 14px 32px rgba(122, 33, 56, .23); }
.button-primary:hover { background: var(--burgundy-dark); box-shadow: 0 17px 38px rgba(122, 33, 56, .28); }
.button-ghost { color: var(--burgundy); border-color: var(--rose-300); background: rgba(255, 255, 255, .45); }
.button-ghost:hover { background: var(--white); }
.hero-facts { display: flex; gap: 34px; margin: 34px 0 0; }
.hero-facts div { padding-left: 14px; border-left: 2px solid var(--rose-300); }
.hero-facts dt { color: var(--rose-500); font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.hero-facts dd { margin: 2px 0 0; color: var(--ink); font-size: 14px; font-weight: 750; }
.hero-media { margin: 0; position: relative; padding: 12px; background: rgba(255, 255, 255, .76); border: 1px solid rgba(255, 255, 255, .88); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: rotate(1.2deg); }
.hero-media::before { content: ""; position: absolute; inset: 10% -18px -22px 18%; z-index: -1; background: var(--rose-100); border-radius: var(--radius-lg); transform: rotate(-4deg); }
.hero-media img { width: 100%; aspect-ratio: 1200 / 677; object-fit: cover; border-radius: 24px; }
.hero-media figcaption { position: absolute; left: 32px; right: 32px; bottom: 30px; padding: 12px 15px; color: var(--white); background: rgba(74, 23, 37, .83); backdrop-filter: blur(10px); border-radius: 12px; font-size: 13px; }
.hero-media figcaption span { margin-right: 10px; color: #ffdce3; font-weight: 800; }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; display: grid; place-items: center; gap: 5px; color: var(--rose-500); font-size: 10px; font-weight: 700; letter-spacing: .12em; transform: translateX(-50%); }
.scroll-cue span { width: 22px; height: 34px; border: 1px solid var(--rose-300); border-radius: 20px; position: relative; }
.scroll-cue span::after { content: ""; width: 4px; height: 7px; position: absolute; top: 7px; left: 8px; background: var(--burgundy); border-radius: 3px; animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }

.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); align-items: center; gap: clamp(48px, 7vw, 90px); }
.section-kicker { margin-bottom: 12px; color: var(--rose-500); font-size: 12px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.section-copy h2, .section-heading h2, .faq-intro h2 { margin-bottom: 22px; color: var(--burgundy-dark); font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(28px, 3.3vw, 42px); letter-spacing: -.025em; }
.section-copy p, .section-heading p { color: var(--muted); }
.section-copy .lead { color: #554047; font-size: 18px; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.framed-media { margin: 0; padding: 10px; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.framed-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 15px; }
.framed-media figcaption { padding: 13px 12px 5px; color: var(--muted); font-size: 13px; text-align: center; }
.framed-media.compact { max-width: 470px; justify-self: end; }
.check-list { margin: 28px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.check-list li { position: relative; padding-left: 32px; color: #57454b; font-weight: 650; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; display: grid; place-items: center; color: var(--white); background: var(--rose-500); border-radius: 50%; font-size: 12px; }

.rose-section { background: var(--rose-50); overflow: hidden; }
.rose-section::after { content: ""; width: 330px; height: 330px; position: absolute; right: -110px; bottom: -150px; border: 70px solid rgba(255, 255, 255, .45); border-radius: 50%; }
.character-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.character-card { min-height: 295px; padding: 30px; position: relative; background: rgba(255, 253, 249, .84); border: 1px solid rgba(122, 33, 56, .1); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.character-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-index { position: absolute; right: 25px; top: 18px; color: rgba(122, 33, 56, .11); font-family: Georgia, serif; font-size: 50px; font-weight: 800; }
.icon-badge { width: 52px; height: 52px; margin-bottom: 24px; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--rose-500), var(--burgundy)); border-radius: 16px; font-size: 22px; box-shadow: 0 10px 24px rgba(122, 33, 56, .2); }
.character-card h3 { margin-bottom: 12px; color: var(--burgundy-dark); font-size: 21px; }
.character-card p { margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.route-tag { display: inline-flex; background: var(--rose-50); }

.content-showcase { display: grid; gap: 32px; }
.wide-media { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.wide-media img { width: 100%; aspect-ratio: 1200 / 677; object-fit: cover; }
.wide-media figcaption { position: absolute; left: 22px; bottom: 22px; padding: 12px 17px; color: var(--white); background: rgba(52, 28, 35, .82); border-radius: 10px; backdrop-filter: blur(8px); font-size: 14px; }
.mechanics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mechanic-card { padding: 25px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mechanic-card b { color: var(--rose-300); font-family: Georgia, serif; font-size: 30px; }
.mechanic-card h3 { margin: 5px 0 10px; color: var(--burgundy-dark); font-size: 18px; }
.mechanic-card p { margin: 0; color: var(--muted); font-size: 14px; }

.guide-section { background: linear-gradient(180deg, #fff, var(--cream)); }
.guide-header { margin-bottom: 50px; }
.strategy-tabs { padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.tab-list { padding: 7px; display: inline-flex; gap: 5px; background: var(--cream); border-radius: 999px; }
.tab-list button { padding: 10px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 750; cursor: pointer; }
.tab-list button .icon { width: 16px; height: 16px; }
.tab-list button[aria-selected="true"] { color: var(--white); background: var(--burgundy); box-shadow: 0 6px 16px rgba(122, 33, 56, .2); }
.tab-panel { padding: 30px 20px 20px; }
.step-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; counter-reset: steps; }
.step-list li { padding: 22px; background: var(--ivory); border-radius: var(--radius-sm); }
.step-list li > span { color: var(--rose-300); font-family: Georgia, serif; font-size: 32px; font-weight: 800; }
.step-list h3 { margin: 5px 0 10px; color: var(--burgundy-dark); font-size: 17px; }
.step-list p { margin: 0; color: var(--muted); font-size: 13px; }
.route-table, .collect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.route-table article, .collect-grid article { padding: 22px; background: var(--ivory); border: 1px solid transparent; border-radius: var(--radius-sm); }
.route-table article:hover { border-color: var(--rose-300); }
.route-table h3, .collect-grid h3 { margin-bottom: 10px; color: var(--burgundy-dark); font-size: 17px; }
.route-table p, .collect-grid p { color: var(--muted); font-size: 13px; }
.route-table small { color: var(--rose-500); font-weight: 700; }
.collect-grid span { color: var(--rose-500); font-size: 26px; }
.troubleshoot { margin-top: 24px; padding: 24px 28px; display: flex; align-items: flex-start; gap: 20px; border: 1px solid var(--rose-100); background: rgba(255, 255, 255, .7); border-radius: var(--radius-md); }
.trouble-icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); background: var(--rose-500); border-radius: 50%; font-size: 22px; font-weight: 800; }
.troubleshoot h3 { margin-bottom: 6px; color: var(--burgundy-dark); }
.troubleshoot p { margin: 0; color: var(--muted); }

.features-section { background: var(--ivory); }
.feature-list { display: grid; gap: 14px; }
.feature-list article { padding: 15px 0; display: flex; gap: 16px; border-bottom: 1px solid var(--line); }
.feature-list article > span { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; color: var(--burgundy); background: var(--rose-50); border-radius: 50%; }
.feature-list h3 { margin-bottom: 5px; color: var(--burgundy-dark); font-size: 17px; }
.feature-list p { margin: 0; font-size: 14px; }
.analysis-strip { margin-top: 65px; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: var(--burgundy-dark); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.analysis-strip article { padding: 28px; color: rgba(255,255,255,.75); border-right: 1px solid rgba(255,255,255,.12); }
.analysis-strip article:last-child { border-right: 0; }
.analysis-strip b { display: block; margin-bottom: 8px; color: #fff2f4; font-size: 17px; }
.analysis-strip p { margin: 0; font-size: 13px; }

.updates-section { background: #fffaf7; }
.update-timeline { max-width: 900px; margin-inline: auto; position: relative; }
.update-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 25px; width: 1px; background: var(--rose-100); }
.update-item { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding-bottom: 19px; }
.update-item > span { width: 52px; height: 52px; z-index: 1; display: grid; place-items: center; color: var(--burgundy); background: var(--rose-50); border: 1px solid var(--rose-100); border-radius: 50%; font-family: Georgia, serif; font-weight: 800; }
.update-item > div { padding: 19px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 5px 20px rgba(75,36,46,.04); }
.update-item h3 { margin-bottom: 5px; color: var(--burgundy-dark); font-size: 17px; }
.update-item p { margin: 0; color: var(--muted); font-size: 14px; }

.gallery-section { background: #24171c; color: rgba(255,255,255,.74); }
.gallery-section .section-kicker { color: #dca3af; }
.gallery-section .section-heading h2 { color: var(--white); }
.gallery-section .section-heading p { color: rgba(255,255,255,.65); }
.gallery-title-block { margin-bottom: 42px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery-card { min-width: 0; padding: 0; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: #120c0f; box-shadow: 0 18px 38px rgba(0,0,0,.24); cursor: zoom-in; isolation: isolate; }
.gallery-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.gallery-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(16,7,11,.7), transparent 48%); opacity: .5; transition: opacity .35s; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.05); }
.gallery-card:hover::after, .gallery-card:focus-visible::after { opacity: .9; }
.gallery-overlay { position: absolute; left: 14px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; color: var(--white); font-size: 12px; font-weight: 750; opacity: 0; transform: translateY(7px); transition: opacity .25s, transform .25s; }
.gallery-card:hover .gallery-overlay, .gallery-card:focus-visible .gallery-overlay { opacity: 1; transform: translateY(0); }
.gallery-overlay .icon { width: 17px; height: 17px; }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,7,9,.94); color: var(--white); overflow: hidden; }
.lightbox::backdrop { background: rgba(12,7,9,.92); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-shell { width: min(94vw, 1380px); height: min(92vh, 900px); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 18px; position: relative; }
.lightbox figure { margin: 0; min-width: 0; display: grid; justify-items: center; gap: 15px; }
.lightbox figure img { max-width: 100%; max-height: calc(92vh - 70px); width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,.55); }
.lightbox figcaption { color: rgba(255,255,255,.72); font-size: 14px; }
.lightbox button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); color: var(--white); background: rgba(255,255,255,.08); border-radius: 50%; cursor: pointer; transition: background .2s, transform .2s; }
.lightbox button:hover { background: var(--burgundy); transform: scale(1.05); }
.lightbox button .icon { width: 24px; height: 24px; }
.lightbox-close { position: fixed; top: 22px; right: 24px; z-index: 2; }

.faq-section { background: var(--paper); }
.faq-intro { max-width: 820px; margin-bottom: 38px; }
.faq-intro p { color: var(--muted); }
.faq-list { width: 100%; display: grid; grid-template-columns: 1fr; gap: 14px; }
.faq-list details { width: 100%; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 7px 24px rgba(75,36,46,.055); transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: var(--rose-300); box-shadow: 0 12px 32px rgba(75,36,46,.09); }
.faq-list summary { padding: 20px 62px 20px 24px; position: relative; color: var(--ink); font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 25px; top: 50%; width: 15px; height: 2px; background: var(--burgundy); transition: transform .25s; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary { color: var(--burgundy); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { margin: -2px 62px 20px 24px; color: var(--muted); font-size: 14px; }

.friend-links { padding: 45px 0 48px; background: linear-gradient(100deg, var(--ivory), var(--rose-50) 48%, #f8dfe5); border-top: 1px solid var(--line); }
.friend-links-inner { text-align: center; }
.friend-links h2 { margin-bottom: 22px; color: var(--rose-500); font-family: Georgia, "Noto Serif SC", serif; font-size: 27px; }
.friend-links nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.friend-links a { min-height: 44px; padding: 9px 21px; display: inline-flex; align-items: center; justify-content: center; color: #654b54; background: rgba(255, 253, 249, .82); border: 1px solid var(--rose-100); border-radius: 999px; box-shadow: 0 7px 18px rgba(91, 43, 57, .06); font-size: 14px; font-weight: 700; transition: color .2s, border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.friend-links a:hover { color: var(--white); background: var(--burgundy); border-color: var(--burgundy); box-shadow: 0 10px 24px rgba(122, 33, 56, .2); transform: translateY(-2px); }

.site-footer { padding: 60px 0 22px; color: rgba(255,255,255,.67); background: #2e1b22; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 50px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 58px; height: 58px; border-radius: 50%; }
.footer-brand b { color: var(--white); font-family: Georgia, serif; font-size: 15px; }
.footer-brand p { margin: 4px 0 0; font-size: 12px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.site-footer nav a { font-size: 13px; transition: color .2s; }
.site-footer nav a:hover { color: var(--white); }
.content-note { margin: 0; font-size: 12px; line-height: 1.8; }
.footer-bottom { margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.09); font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; }
.floating-cta { min-height: 52px; padding: 12px 21px; position: fixed; right: 22px; bottom: 22px; z-index: 82; display: inline-flex; align-items: center; gap: 9px; color: var(--white); background: var(--burgundy); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; box-shadow: 0 14px 34px rgba(74,23,37,.34); font-weight: 800; transition: transform .2s, background .2s, box-shadow .2s; }
.floating-cta:hover { background: var(--burgundy-dark); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(74,23,37,.4); }
.floating-cta .icon { width: 18px; height: 18px; }
.back-to-top { width: 46px; height: 46px; position: fixed; right: 25px; bottom: 86px; z-index: 80; display: grid; place-items: center; border: 0; color: var(--burgundy); background: var(--white); border-radius: 50%; box-shadow: 0 9px 25px rgba(74,23,37,.2); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, visibility .2s, transform .2s; }
.back-to-top .icon { width: 20px; height: 20px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.noscript-note { margin: 0; padding: 12px 20px; color: var(--white); background: var(--burgundy-dark); text-align: center; font-size: 13px; }

.reveal, .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; }

/* Unified desktop hover feedback. Touch devices keep their static layout. */
@media (hover: hover) and (pointer: fine) {
  :is(
    .character-card,
    .wide-media,
    .mechanic-card,
    .strategy-tabs,
    .step-list li,
    .route-table article,
    .collect-grid article,
    .troubleshoot,
    .analysis-strip article,
    .update-item > div,
    .faq-list details,
    .framed-media,
    .hero-media,
    .gallery-card,
    .friend-links a,
    .button,
    .nav-cta,
    .tab-list button,
    .gallery-controls button,
    .lightbox button,
    .back-to-top,
    .floating-cta,
    .nav-toggle
  ) {
    transition: transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out, background-color .3s ease-out, color .3s ease-out, filter .3s ease-out;
    will-change: transform;
  }

  :is(
    .character-card,
    .wide-media,
    .mechanic-card,
    .strategy-tabs,
    .step-list li,
    .route-table article,
    .collect-grid article,
    .troubleshoot,
    .analysis-strip article,
    .update-item > div,
    .faq-list details,
    .framed-media,
    .hero-media,
    .gallery-card,
    .friend-links a
  ):hover {
    transform: translateY(-4px);
    border-color: rgba(122, 33, 56, .34);
    box-shadow: 0 14px 30px rgba(74, 23, 37, .14), 0 0 0 1px rgba(122, 33, 56, .08), 0 0 12px rgba(122, 33, 56, .08);
  }

  :is(
    .button,
    .nav-cta,
    .tab-list button,
    .gallery-controls button,
    .lightbox button,
    .back-to-top,
    .floating-cta,
    .nav-toggle
  ):hover {
    transform: translateY(-4px);
    border-color: rgba(122, 33, 56, .4);
    box-shadow: 0 12px 26px rgba(74, 23, 37, .2), 0 0 0 1px rgba(122, 33, 56, .09), 0 0 10px rgba(122, 33, 56, .1);
  }

  .gallery-card:hover img {
    transform: scale(1.05);
  }
}

@media (max-width: 1060px) {
  :root { --header-h: 68px; }
  .brand-copy { display: none; }
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .hero h1 { font-size: clamp(34px, 4.8vw, 50px); }
  .step-list, .route-table, .collect-grid { grid-template-columns: repeat(2, 1fr); }
  .analysis-strip { grid-template-columns: repeat(2, 1fr); }
  .analysis-strip article:nth-child(2) { border-right: 0; }
  .analysis-strip article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 78px 0; }
  .brand { flex: 1 1 auto; max-width: calc(100% - 58px); }
  .brand-copy { min-width: 0; display: grid; }
  .brand-copy b { max-width: 100%; display: -webkit-box; overflow: hidden; white-space: normal; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12px; line-height: 1.35; }
  .brand-copy small { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { display: none; position: absolute; top: calc(100% + 8px); left: 15px; right: 15px; padding: 18px; align-items: stretch; gap: 0; background: rgba(255,253,249,.98); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 11px 9px; font-size: 14px; }
  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .primary-nav .nav-cta { justify-content: center; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 55px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .hero-facts { justify-content: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-media { max-width: 670px; margin-inline: auto; transform: none; }
  .scroll-cue { display: none; }
  .split-layout { grid-template-columns: 1fr; }
  .framed-media { max-width: 690px; margin-inline: auto; }
  .framed-media.compact { max-width: 690px; justify-self: stretch; }
  .character-grid, .mechanics-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-layout .framed-media { order: 2; }
  .feature-layout .section-copy { order: 1; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-note { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 64px 0; }
  .brand img { width: 44px; height: 44px; }
  .brand { gap: 9px; }
  .brand-copy b { font-size: 11px; }
  .hero { padding-bottom: 55px; }
  .hero h1 { font-size: clamp(31px, 9vw, 42px); }
  .hero-subtitle { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 14px; justify-content: space-between; }
  .hero-facts div { padding-left: 9px; }
  .hero-media { padding: 7px; border-radius: 22px; }
  .hero-media img { border-radius: 17px; }
  .hero-media figcaption { left: 18px; right: 18px; bottom: 17px; font-size: 11px; }
  .section-copy h2, .section-heading h2, .faq-intro h2 { font-size: 28px; }
  .character-grid, .mechanics-grid, .step-list, .route-table, .collect-grid, .analysis-strip { grid-template-columns: 1fr; }
  .character-card { min-height: auto; }
  .wide-media figcaption { position: static; color: var(--muted); background: var(--white); backdrop-filter: none; border-radius: 0; }
  .tab-list { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 16px; }
  .tab-list button { padding: 10px 6px; border-radius: 12px; font-size: 12px; }
  .tab-panel { padding: 24px 4px 4px; }
  .analysis-strip article, .analysis-strip article:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .analysis-strip article:last-child { border-bottom: 0; }
  .screenshot-grid { grid-template-columns: 1fr; gap: 14px; }
  .gallery-overlay { opacity: 1; transform: none; }
  .lightbox-shell { width: 100%; height: 100%; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 5px; padding: 60px 8px 18px; }
  .lightbox button { width: 42px; height: 42px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox figure img { max-height: calc(100vh - 130px); }
  .lightbox figcaption { padding-inline: 12px; text-align: center; font-size: 12px; }
  .update-item { grid-template-columns: 40px 1fr; gap: 12px; }
  .update-timeline::before { left: 19px; }
  .update-item > span { width: 40px; height: 40px; font-size: 12px; }
  .update-item > div { padding: 16px; }
  .floating-cta { right: 14px; bottom: 14px; min-height: 48px; padding: 11px 18px; }
  .back-to-top { right: 17px; bottom: 74px; width: 42px; height: 42px; }
  .friend-links { padding: 38px 0 40px; }
  .friend-links h2 { font-size: 25px; }
  .friend-links nav { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .friend-links a { width: 100%; min-height: 46px; padding-inline: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .content-note { grid-column: auto; }
  .footer-bottom { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-actions, .scroll-cue, .back-to-top, .floating-cta, .lightbox { display: none !important; }
  body { color: #000; background: #fff; }
  .hero { min-height: auto; padding: 30px 0; background: #fff; }
  .section { padding: 35px 0; break-inside: avoid; }
}
