:root {
    --ink: #080a09;
    --ink-soft: #0e1210;
    --paper: #f0eae1;
    --paper-muted: #9e9d95;
    --jade: #7ebaa5;
    --jade-dark: #2d564e;
    --gold: #d4b26f;
    --gold-bright: #ffdf9e;
    --red: #c93b2b;
    --red-glow: rgba(201, 59, 43, 0.4);
    --line: rgba(240, 234, 225, 0.08);
    --serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
    --serif-en: "Cinzel", Georgia, serif;
    --cursive: "Ma Shan Zheng", "Songti SC", cursive;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
    --ease: cubic-bezier(.25, 1, .2, 1);

    /* Faction Colors */
    --color-wei: #4a86b8;
    --color-shu: #4c8a5f;
    --color-wu: #a84b3e;
    --color-qun: #85538e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; background: var(--ink); }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    overflow-x: clip;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    content: "";
    opacity: .16;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

button, a { color: inherit; font: inherit; }
button { touch-action: manipulation; }
a { text-decoration: none; }
button { border: 0; }
img { display: block; max-width: 100%; }
main { overflow: hidden; overflow: clip; }
::selection { color: #fff; background: var(--red); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3b463e; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999;
    padding: 10px 16px;
    color: var(--ink);
    background: var(--paper);
    transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.page-width { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.section { position: relative; padding-block: 124px; }
.eyebrow {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .24em;
    line-height: 1.5;
}
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.06; white-space: pre-line; }
h1 { font-size: clamp(3.4rem, 7.8vw, 7.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.3rem, 4.2vw, 4.35rem); letter-spacing: -.035em; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 78px;
    border-bottom: 1px solid transparent;
    transition: height .35s var(--ease), background .35s, border-color .35s;
}
.site-header.scrolled {
    height: 66px;
    border-color: var(--line);
    background: rgba(8, 10, 9, .82);
    backdrop-filter: blur(18px);
}
.nav-shell {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: min(1400px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; justify-self: start; }
.brand img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 24px rgba(197, 166, 101, .16); }
.brand span { font-family: var(--serif); font-size: .92rem; letter-spacing: .1em; }
.nav-menu { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 34px); }
.nav-menu a {
    position: relative;
    color: rgba(238, 233, 220, .66);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    transition: color .25s;
}
.nav-menu a::after {
    position: absolute;
    right: 50%;
    bottom: -10px;
    left: 50%;
    height: 1px;
    content: "";
    background: var(--gold);
    transition: right .25s var(--ease), left .25s var(--ease);
}
.nav-menu a:hover, .nav-menu a:focus-visible { color: var(--paper); }
.nav-menu a:hover::after, .nav-menu a:focus-visible::after { right: 0; left: 0; }
.language-picker { position: relative; justify-self: end; }
.language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 84px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    color: var(--paper);
    background: rgba(8, 10, 9, .35);
    cursor: pointer;
}
.language-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.language-button .chevron { width: 13px; margin-left: auto; }
.language-button span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: 148px;
    padding: 6px;
    border: 1px solid var(--line);
    background: rgba(12, 15, 13, .98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .25s var(--ease);
}
.language-picker.open .language-menu { opacity: 1; visibility: visible; transform: none; }
.language-menu button {
    padding: 9px 12px;
    color: var(--paper-muted);
    text-align: left;
    background: transparent;
    cursor: pointer;
}
.language-menu button:hover, .language-menu button.selected { color: var(--paper); background: rgba(126, 186, 165, .1); }
.nav-toggle { display: none; }

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: max(760px, 100svh);
    padding-top: 80px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 75% 46%, rgba(58, 107, 91, .24), transparent 32%),
        linear-gradient(110deg, #080a09 0%, #0b0f0c 47%, #080908 100%);
}
.hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background:
        linear-gradient(90deg, rgba(8, 10, 9, .08), transparent 40%, rgba(8, 10, 9, .08)),
        repeating-linear-gradient(90deg, transparent 0, transparent calc(20% - 1px), rgba(255,255,255,.026) 20%);
}
.hero::after {
    position: absolute;
    right: -8vw;
    bottom: -44vh;
    z-index: -1;
    width: 94vw;
    height: 72vh;
    border-radius: 50%;
    content: "";
    background: radial-gradient(ellipse, rgba(68, 113, 98, .2), transparent 64%);
    filter: blur(15px);
}
.hero-ink {
    position: absolute;
    top: -8%;
    right: -10%;
    z-index: -1;
    width: 78%;
    aspect-ratio: 1.4;
    opacity: .55;
    background:
        radial-gradient(ellipse at 52% 38%, #2c4239 0 4%, transparent 30%),
        radial-gradient(ellipse at 52% 50%, rgba(25, 45, 37, .8), transparent 56%);
    filter: blur(22px);
    transform: rotate(-8deg);
}
.hero-ridges { position: absolute; right: -4%; bottom: 6%; z-index: -1; width: 64%; height: 34%; opacity: .48; }
.hero-ridges i { position: absolute; inset: auto 0 0; height: 100%; background: #0b100d; clip-path: polygon(0 95%, 9% 66%, 19% 77%, 31% 36%, 43% 74%, 55% 42%, 66% 72%, 79% 23%, 91% 68%, 100% 47%, 100% 100%, 0 100%); }
.hero-ridges i:nth-child(2) { opacity: .65; transform: translate(9%, 14%) scale(.9); }
.hero-ridges i:nth-child(3) { opacity: .35; transform: translate(-16%, 28%) scale(1.1); }
.hero-content { position: relative; z-index: 3; padding-bottom: 76px; }
.hero-content h1 { max-width: 790px; text-wrap: balance; }
.hero-copy { max-width: 500px; margin: 28px 0 0; color: var(--paper-muted); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid rgba(238, 233, 220, .22);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    transition: transform .25s var(--ease), color .25s, background .25s, border-color .25s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.button-primary:hover { border-color: var(--gold); background: var(--gold); }
.button-ghost { gap: 10px; }
.button-ghost:hover { border-color: var(--jade); color: #d8fff0; background: rgba(126, 186, 165, .09); }
.button-ghost svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.hero-warrior {
    position: absolute;
    right: max(-3vw, calc((100vw - 1760px) / 2));
    bottom: -4%;
    z-index: 1;
    width: min(60vw, 1180px);
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transition: transform .7s var(--ease);
}
.hero-warrior::before {
    position: absolute;
    inset: -11%;
    z-index: -1;
    content: "";
    background: radial-gradient(circle, rgba(126, 186, 165, .18), transparent 64%);
    filter: blur(24px);
}
.hero-warrior img {
    width: 100%;
    height: auto;
    filter: contrast(1.1) saturate(.8) brightness(.82);
    mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 82%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 94%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 82%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    transform: scale(1.06);
}
.warrior-halo {
    position: absolute;
    top: 3%;
    left: 50%;
    z-index: -1;
    width: 66%;
    aspect-ratio: 1;
    border: 1px solid rgba(197, 166, 101, .34);
    border-radius: 50%;
    transform: translateX(-50%);
}
.warrior-halo::before, .warrior-halo::after { position: absolute; inset: 8%; border: 1px solid rgba(197, 166, 101, .11); border-radius: inherit; content: ""; }
.warrior-halo::after { inset: -4%; border-style: dashed; animation: turn 36s linear infinite; }
.warrior-seal { position: absolute; right: 11%; bottom: 15%; padding: 2px 7px; border: 1px solid rgba(255,220,186,.45); color: rgba(255,220,186,.75); background: rgba(116, 31, 24, .55); font-family: var(--serif); }
@keyframes turn { to { transform: rotate(360deg); } }
.hero-facts {
    position: absolute;
    right: 0;
    bottom: 26px;
    left: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}
.hero-facts div { display: flex; align-items: baseline; gap: 10px; padding: 18px 24px 0 0; }
.hero-facts strong { color: var(--paper); font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.hero-facts span { color: #858a84; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue { position: absolute; right: 20px; bottom: 34px; z-index: 5; width: 1px; height: 54px; background: rgba(238,233,220,.2); }
.scroll-cue span { display: block; width: 1px; height: 16px; background: var(--gold); animation: scroll 2s ease-in-out infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(38px); opacity: 0; } }

.manifesto { display: grid; grid-template-columns: 64px minmax(0, 1.08fr) minmax(380px, .92fr); gap: clamp(32px, 4vw, 52px); align-items: center; }
.manifesto-text-container { display: flex; flex-direction: column; gap: 20px; }
.section-number { color: rgba(197, 166, 101, .42); font-family: var(--serif); font-size: .72rem; letter-spacing: .18em; align-self: flex-start; }
.manifesto-copy { padding-top: 0px; }
.manifesto-copy > p { max-width: 500px; margin: 0; color: var(--paper-muted); }
.five-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.five-stats span { padding: 7px 10px; border: 1px solid var(--line); color: #777e78; font-size: .58rem; letter-spacing: .11em; border-radius: 2px; }

/* Interactive Radar Chart */
.manifesto-interactive {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 30px;
    border: 1px solid var(--line);
    background: rgba(14, 18, 16, 0.45);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.hero-selector {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
}
.hero-select-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    background: rgba(8, 10, 9, 0.7);
    color: var(--paper-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s var(--ease);
}
.hero-select-btn:hover {
    color: var(--paper);
    border-color: rgba(238, 233, 220, 0.3);
}
.hero-select-btn.active {
    color: var(--paper);
    background: rgba(238, 233, 220, 0.08);
}
.hero-select-btn.active[data-hero="caocao"] { border-color: var(--color-wei); box-shadow: 0 0 12px rgba(74, 134, 184, 0.3); }
.hero-select-btn.active[data-hero="zhugeliang"] { border-color: var(--color-shu); box-shadow: 0 0 12px rgba(76, 138, 95, 0.3); }
.hero-select-btn.active[data-hero="lubu"] { border-color: var(--color-qun); box-shadow: 0 0 12px rgba(133, 83, 142, 0.3); }

.faction-tag {
    display: inline-grid;
    place-content: center;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
}
.wei-tag { background: var(--color-wei); }
.shu-tag { background: var(--color-shu); }
.qun-tag { background: var(--color-qun); }

.radar-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}
.radar-chart {
    width: 200px;
    height: 200px;
    overflow: visible;
}
.radar-grid {
    fill: none;
    stroke: rgba(240, 234, 225, 0.08);
    stroke-width: 1;
}
.radar-axis {
    stroke: rgba(240, 234, 225, 0.12);
    stroke-dasharray: 2 2;
    stroke-width: 1;
}
.radar-area {
    fill: var(--radar-fill, rgba(74, 134, 184, 0.18));
    stroke: var(--radar-stroke, var(--color-wei));
    stroke-width: 2;
    filter: drop-shadow(0 0 4px var(--radar-stroke, var(--color-wei)));
    transition: all 0.6s var(--ease);
}
.radar-label {
    fill: var(--paper-muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: var(--sans);
}
.radar-stats-display {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    padding: 6px 4px;
    border: 1px solid var(--line);
    background: rgba(8, 10, 9, 0.4);
    border-radius: 3px;
}
.stat-badge span {
    font-size: 0.5rem;
    color: var(--paper-muted);
    letter-spacing: 0.05em;
}
.stat-badge strong {
    font-size: 0.88rem;
    font-family: var(--serif);
    color: var(--gold-bright);
    font-weight: 500;
}

.strategy { border-block: 1px solid var(--line); background: #0c100d; overflow: hidden; }
.strategy::before { position: absolute; inset: 0; content: ""; opacity: .2; background: repeating-radial-gradient(circle at 70% 50%, transparent 0 68px, rgba(126,186,165,.12) 69px 70px); }
.section-heading { position: relative; display: grid; grid-template-columns: 1.5fr .75fr; gap: 80px; align-items: end; margin-bottom: 72px; }
.section-heading > p { max-width: 470px; margin: 0 0 7px; color: var(--paper-muted); }
.strategy-stage { position: relative; display: grid; grid-template-columns: 310px minmax(0, 1fr); min-height: 670px; border: 1px solid var(--line); background: rgba(5, 8, 6, .66); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.strategy-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.strategy-tab { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 3px 12px; flex: 1; padding: 34px; color: var(--paper-muted); text-align: left; background: transparent; cursor: pointer; transition: color .3s, background .3s; }
.strategy-tab:not(:last-child) { border-bottom: 1px solid var(--line); }
.strategy-tab > span { grid-row: span 2; color: #515751; font-size: .68rem; }
.strategy-tab strong { color: inherit; font-family: var(--serif); font-size: 1.12rem; font-weight: 500; }
.strategy-tab small { color: #5e645e; font-size: .7rem; }
.strategy-tab::before { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; content: ""; background: var(--jade); transform: scaleY(0); transition: transform .35s var(--ease); }
.strategy-tab.active { color: var(--paper); background: linear-gradient(90deg, rgba(126,186,165,.09), transparent); }
.strategy-tab.active::before { transform: scaleY(1); }
.board { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; padding: 26px 36px; }
.board-topline { display: flex; justify-content: space-between; color: #5c635d; font-size: .61rem; font-weight: 700; letter-spacing: .16em; }
.board-topline em { color: var(--jade); font-style: normal; }
.board-field { position: relative; align-self: center; width: min(100%, 720px); height: 510px; margin-inline: auto; overflow: hidden; perspective: 900px; }
.battle-ground { position: absolute; inset: 5% 4%; opacity: .55; transform: rotateX(62deg); background: linear-gradient(90deg, transparent 49.8%, rgba(197,166,101,.16) 50%, transparent 50.2%), repeating-linear-gradient(90deg, transparent 0 calc(16.66% - 1px), rgba(126,186,165,.09) 16.66%), repeating-linear-gradient(0deg, transparent 0 calc(12.5% - 1px), rgba(126,186,165,.08) 12.5%); border: 1px solid rgba(126,186,165,.14); }
.battle-ground::before, .battle-ground::after { position: absolute; inset: 4%; border: 1px solid rgba(197,166,101,.08); content: ""; }
.battle-ground::after { inset: 13% 24%; border-radius: 50%; }
.battle-army { position: absolute; right: 7%; left: 7%; z-index: 2; display: grid; gap: 6px; }
.enemy-army { top: 4px; }.ally-army { bottom: 4px; }
.army-label { display: flex; align-items: center; justify-content: space-between; padding-inline: 4px; color: #626a64; font-size: .52rem; font-weight: 700; letter-spacing: .14em; }
.enemy-army .army-label { color: rgba(178, 88, 77, .78); }.ally-army .army-label { color: rgba(126, 186, 165, .85); }
.army-label b { font-weight: 600; letter-spacing: .08em; }
.battle-row { position: relative; display: grid; grid-template-columns: 40px repeat(3, 70px); justify-content: center; gap: 22px; min-height: 88px; }
.row-label { align-self: center; color: #414842; font-size: .45rem; font-weight: 700; letter-spacing: .12em; writing-mode: vertical-rl; transform: rotate(180deg); }
.front-row { padding-inline: 8%; }.back-row { opacity: .84; transform: scale(.92); }
.combatant {
    --faction: var(--jade);
    position: relative;
    width: 70px;
    height: 82px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(135deg, #121815 0%, #0a0d0b 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s, opacity 0.4s;
    overflow: visible;
}
.combatant.wei { --faction: var(--color-wei); }
.combatant.shu { --faction: var(--color-shu); }
.combatant.wu { --faction: var(--color-wu); }
.combatant.qun { --faction: var(--color-qun); }

/* Premium Card borders based on Rarity */
.combatant[class*=" SSR"] {
    border-color: rgba(212, 178, 111, 0.45);
    box-shadow: inset 0 0 8px rgba(212, 178, 111, 0.15), 0 8px 22px rgba(0,0,0,0.6);
}
.combatant[class*=" UR"] {
    border-color: rgba(201, 59, 43, 0.55);
    box-shadow: inset 0 0 10px rgba(201, 59, 43, 0.25), 0 0 16px rgba(201, 59, 43, 0.15), 0 8px 22px rgba(0,0,0,0.7);
}
.combatant[class*=" SR"] {
    border-color: rgba(150, 160, 155, 0.35);
}

.combatant::before { position: absolute; inset: -4px; z-index: -1; border: 1px solid transparent; content: ""; transition: border-color .35s, box-shadow .35s; border-radius: 6px; }
.combatant img { width: 100%; height: 66px; object-fit: cover; filter: saturate(.72) contrast(1.08) brightness(.82); border-radius: 2px; }
.combatant .rarity { position: absolute; top: 5px; left: 5px; z-index: 2; padding: 1px 3px; color: #f2deb0; background: rgba(7,9,8,.82); font-size: .4rem; font-weight: 800; line-height: 1.4; border-radius: 1px; }
.combatant .health { position: absolute; right: 4px; bottom: 3px; left: 4px; height: 4px; background: rgba(0,0,0,.75); border-radius: 1px; overflow: hidden; }
.combatant .health i { display: block; width: var(--hp); height: 100%; background: var(--faction); box-shadow: 0 0 5px var(--faction); transition: width 0.3s ease; }
.combatant > b { position: absolute; top: -6px; right: -7px; z-index: 3; display: grid; place-content: center; width: 16px; height: 16px; border: 1px solid rgba(238,233,220,.32); border-radius: 50%; color: var(--paper); background: #0b0e0c; font-size: .45rem; font-weight: 600; box-shadow: 0 2px 5px rgba(0,0,0,0.5); }

.combatant.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,166,101,.08), 0 0 26px rgba(197,166,101,.24); }
.combatant.active::before { border-color: rgba(197,166,101,.28); }
.combatant.target::after { position: absolute; inset: 25%; border: 1px solid #dc6b5e; border-radius: 50%; content: ""; box-shadow: 0 0 15px rgba(220,107,94,.5); opacity: 0; transition: opacity .35s; }

/* Interactive Board & SVG overlays */
.board-svg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.synergy-path {
    fill: none;
    stroke: var(--faction-color, var(--gold));
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 3px var(--faction-color, var(--gold)));
    opacity: 0;
    transition: opacity 0.5s ease;
}
.board[data-mode="synergy"] .synergy-path {
    opacity: 0.7;
    stroke-dasharray: 8 6;
    animation: line-pulse 2s linear infinite;
}
@keyframes line-pulse {
    to { stroke-dashoffset: -28; }
}

/* Battle striking/hit states */
.combatant.striking {
    transform: translateY(-28px) scale(1.08) rotate(1deg) !important;
    z-index: 10;
    border-color: var(--gold-bright);
    box-shadow: 0 0 15px var(--faction), 0 12px 30px rgba(0,0,0,0.8);
}
.enemy-army .combatant.striking {
    transform: translateY(28px) scale(1.08) rotate(-1deg) !important;
}
.combatant.hit {
    animation: hit-shake 0.35s ease-in-out forwards;
    border-color: var(--red);
}
.combatant.hit::before {
    position: absolute;
    inset: 0;
    background: rgba(201, 59, 43, 0.35);
    content: "";
    z-index: 5;
    border-radius: inherit;
    pointer-events: none;
    animation: flash-red 0.35s ease-out forwards;
}

@keyframes hit-shake {
    0%, 100% { transform: translate(0, 0); }
    20%, 60% { transform: translate(-5px, 2px) rotate(-1deg); }
    40%, 80% { transform: translate(5px, -2px) rotate(1deg); }
}
@keyframes flash-red {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Floating damage numbers */
.combat-floating-texts {
    position: absolute;
    inset: 0;
    z-index: 99;
    pointer-events: none;
}
.floating-dmg {
    position: absolute;
    color: var(--red);
    font-family: var(--cursive);
    font-size: 1.55rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0,0,0,0.9), 0 0 8px var(--red-glow);
    animation: damage-rise 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}
.floating-dmg.crit {
    color: var(--gold-bright);
    font-size: 2.1rem;
    text-shadow: 0 0 5px rgba(0,0,0,0.9), 0 0 10px rgba(255, 223, 158, 0.5);
}
@keyframes damage-rise {
    0% { transform: translate(-50%, 0) scale(0.4); opacity: 0; }
    15% { transform: translate(-50%, -24px) scale(1.15); opacity: 1; }
    80% { transform: translate(-50%, -52px) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -75px) scale(0.85); opacity: 0; }
}

.battle-clash { position: absolute; top: 50%; left: 50%; z-index: 4; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(197,166,101,.2); border-radius: 50%; color: var(--gold); background: rgba(8,10,9,.9); transform: translate(-50%, -50%) scale(.8); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.battle-clash::before, .battle-clash::after { position: absolute; top: 50%; width: 190px; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(197,166,101,.22)); }
.battle-clash::before { right: 100%; }.battle-clash::after { left: 100%; transform: rotate(180deg); }
.battle-clash svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.attack-trace { position: absolute; bottom: -160px; left: 11px; width: 160px; height: 290px; border: 1px solid transparent; border-right-color: rgba(224,194,122,.85); border-radius: 50%; filter: drop-shadow(0 0 6px rgba(224,194,122,.5)); opacity: 0; transform: rotate(24deg) scale(.6); transform-origin: left bottom; transition: opacity .3s, transform .65s var(--ease); }

/* Sword slash effect */
.sword-slash-overlay {
    position: absolute;
    width: 280px;
    height: 120px;
    pointer-events: none;
    z-index: 8;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6) rotate(-15deg);
    mix-blend-mode: color-dodge;
}
.sword-slash-overlay.active {
    opacity: 1;
    animation: slash-animation 0.4s ease-out forwards;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.95) 48%, rgba(212, 178, 111, 1) 50%, rgba(255, 255, 255, 0.95) 52%, transparent 60%);
}
@keyframes slash-animation {
    0% { transform: translate(-50%, -50%) scale(0.6) rotate(-15deg); opacity: 0; }
    25% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.3) rotate(20deg); opacity: 0; }
}

.board[data-mode="formation"] .ally-army .front-row .combatant { transform: translateY(-3px); }
.board[data-mode="synergy"] .ally-army .combatant { border-color: rgba(224,194,122,.75); box-shadow: 0 0 19px rgba(197,166,101,.2); }
.board[data-mode="synergy"] .ally-army .combatant::before { border-color: rgba(197,166,101,.16); }
.board[data-mode="battle"] .combatant.active { transform: translateY(-8px) scale(1.03); }
.board[data-mode="battle"] .combatant.target { transform: translateY(5px); }
.board[data-mode="battle"] .combatant.target::after { opacity: 1; animation: target-pulse 1.3s ease-in-out infinite; }
.board[data-mode="battle"] .battle-clash { border-color: var(--gold); box-shadow: 0 0 30px rgba(197,166,101,.22); transform: translate(-50%, -50%) scale(1); }
.board[data-mode="battle"] .attack-trace { opacity: 1; transform: rotate(24deg) scale(1); }
@keyframes target-pulse { 50% { transform: scale(1.45); opacity: .3; } }
.board-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.bonus { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 9px; }
.bonus span { color: #747b75; font-size: .62rem; }.bonus strong { grid-column: 2; font-size: .73rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; }.dot.jade { background: var(--jade); box-shadow: 0 0 8px var(--jade); }.dot.gold { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.turn { padding-left: 24px; border-left: 1px solid var(--line); text-align: right; }.turn span { display: block; color: #5a615b; font-size: .52rem; letter-spacing: .14em; }.turn strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }

.features { display: grid; gap: 16px; padding-top: 124px; padding-bottom: 124px; }
.feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); align-items: center; min-height: 490px; padding: 58px 7%; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #0b0e0c; }
.feature-copy { position: relative; z-index: 3; max-width: 500px; }
.feature-copy > p:last-child { max-width: 430px; margin: 26px 0 0; color: var(--paper-muted); }
.feature-index { position: absolute; top: -3px; left: -56px; color: rgba(197,166,101,.35); font-family: var(--serif); font-size: .65rem; }
.skill-orbit { position: relative; justify-self: center; width: min(34vw, 390px); aspect-ratio: 1; }
.orbit { position: absolute; inset: 7%; border: 1px solid rgba(126,186,165,.22); border-radius: 50%; animation: turn 38s linear infinite; }
.orbit::before, .orbit::after { position: absolute; content: ""; background: var(--jade); border-radius: 50%; box-shadow: 0 0 15px var(--jade); }
.orbit::before { top: 15%; left: 8%; width: 4px; height: 4px; }.orbit::after { right: 3%; bottom: 24%; width: 3px; height: 3px; }
.orbit-two { inset: 23%; border-color: rgba(197,166,101,.3); animation-direction: reverse; animation-duration: 24s; }
/* Features interactive details panels */
.skill-detail-box, .rank-info-box {
    margin-top: 24px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    background: rgba(20, 24, 22, 0.45);
    border-radius: 4px;
    min-height: 90px;
    transition: all 0.3s var(--ease);
}
.skill-detail-box h4 {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    font-family: var(--serif);
    color: var(--gold-bright);
}
.skill-detail-box p, .rank-info-box p {
    margin: 0;
    font-size: 0.76rem;
    color: var(--paper-muted);
    line-height: 1.5;
}

.talent-core { position: absolute; inset: 35%; display: grid; place-content: center; border: 1px solid rgba(197, 166, 101, .55); border-radius: 50%; text-align: center; background: radial-gradient(circle, rgba(197, 166, 101, .15), rgba(8, 10, 9, .9) 65%); box-shadow: 0 0 60px rgba(197, 166, 101, .12); z-index: 5; }
.talent-core span { color: var(--gold); font-size: .6rem; letter-spacing: .2em; }.talent-core b { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.skill-node { position: absolute; display: grid; place-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--paper-muted); background: var(--ink); font-size: .65rem; font-weight: bold; cursor: pointer; transition: all 0.3s var(--ease); z-index: 6; }
.skill-node:hover { border-color: rgba(238, 233, 220, 0.4); color: var(--paper); box-shadow: 0 0 8px rgba(238,233,220,0.15); }
.skill-node.active { border-color: var(--gold); color: var(--paper); background: rgba(212, 178, 111, 0.12); box-shadow: 0 0 12px rgba(212, 178, 111, 0.4); }
.node-1 { top: 1%; left: 44%; }.node-2 { top: 43%; right: 0; }.node-3 { bottom: 0; left: 44%; }.node-4 { top: 43%; left: 0; }
.feature-battle { background: linear-gradient(120deg, #0c100d, #11130e); }
.rank-visual { position: relative; justify-self: center; width: min(36vw, 420px); aspect-ratio: 1; }
.rank-sun { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(165,57,46,.28) 0 30%, rgba(165,57,46,.06) 31% 48%, transparent 49%); }
.rank-sun::before { position: absolute; inset: 0; border: 1px solid rgba(165,57,46,.25); border-radius: inherit; content: ""; }
.rank-mark { position: absolute; inset: 24%; display: grid; place-content: center; text-align: center; }
.rank-mark span { color: var(--gold); font-size: .65rem; letter-spacing: .2em; }.rank-mark strong { font-family: var(--serif); font-size: 7rem; font-weight: 400; line-height: 1; text-shadow: 0 0 50px rgba(197,166,101,.2); }

/* Interactive Rank Roadmap */
.rank-path { position: absolute; right: 5%; bottom: 4%; left: 5%; display: flex; justify-content: space-between; align-items: center; z-index: 5; }
.rank-path::before { position: absolute; right: 0; left: 0; height: 1px; content: ""; background: linear-gradient(90deg, transparent, var(--gold), transparent); z-index: -1; }
.rank-node {
    position: relative;
    z-index: 2;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(212, 178, 111, 0.4);
    border-radius: 50%;
    background: var(--ink);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    padding: 0;
}
.rank-node:hover {
    border-color: var(--gold);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--gold);
}
.rank-node.active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 16px var(--gold);
    transform: scale(1.3);
}

/* Layered Ink Art Gallery Stack */
.ink-art-gallery {
    position: relative;
    justify-self: center;
    width: 280px;
    height: 380px;
    perspective: 1000px;
}
.ink-gallery-card {
    position: absolute;
    width: 230px;
    height: 320px;
    background: #111512;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: all 0.6s var(--ease);
    transform-style: preserve-3d;
}
.ink-gallery-card img {
    width: 100%;
    height: calc(100% - 30px);
    object-fit: cover;
    filter: saturate(0.6) contrast(1.1) brightness(0.8);
    border-radius: 4px;
    transition: filter 0.4s;
}
.card-caption {
    display: block;
    text-align: center;
    height: 30px;
    line-height: 30px;
    font-family: var(--serif);
    font-size: 0.88rem;
    color: var(--paper-muted);
}
.ink-gallery-card:hover img {
    filter: saturate(0.85) contrast(1.1) brightness(0.9);
}

/* Card positions in the 3D stack */
.ink-gallery-card.card-1 {
    transform: translate3d(0, 0, 0) rotateY(-8deg);
    z-index: 3;
}
.ink-gallery-card.card-2 {
    transform: translate3d(30px, 15px, -60px) rotateY(-12deg);
    z-index: 2;
    opacity: 0.8;
}
.ink-gallery-card.card-3 {
    transform: translate3d(60px, 30px, -120px) rotateY(-16deg);
    z-index: 1;
    opacity: 0.55;
}

/* Active top card behavior */
.ink-gallery-card.active {
    border-color: rgba(212, 178, 111, 0.4);
    box-shadow: 0 20px 45px rgba(212,178,111,0.1), 0 15px 40px rgba(0,0,0,0.7);
    opacity: 1 !important;
}

.game-guide {
    overflow: hidden;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at 12% 18%, rgba(126, 186, 165, .08), transparent 32%),
        linear-gradient(180deg, #0a0d0b, #080a09);
}
.guide-intro {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr);
    gap: clamp(44px, 8vw, 120px);
    align-items: center;
}
.guide-heading h2 {
    max-width: 680px;
}
.guide-intro > p:last-child {
    margin: 0 0 6px;
    color: var(--paper-muted);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.85;
}
.guide-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 58px 0 0;
    border-block: 1px solid var(--line);
}
.guide-facts > div {
    min-width: 0;
    padding: 30px 28px;
}
.guide-facts > div:not(:last-child) {
    border-right: 1px solid var(--line);
}
.guide-facts dt {
    margin-bottom: 9px;
    color: var(--gold);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.guide-facts dd {
    margin: 0;
    color: var(--paper);
    font-family: var(--serif);
    font-size: clamp(.92rem, 1.4vw, 1.08rem);
    line-height: 1.55;
}
.faq {
    display: grid;
    grid-template-columns: minmax(230px, .65fr) minmax(420px, 1.35fr);
    gap: clamp(44px, 8vw, 120px);
    margin-top: 84px;
}
.faq-heading h2 {
    font-size: clamp(2.35rem, 4vw, 4.6rem);
}
.faq-list {
    border-top: 1px solid rgba(240, 234, 225, .16);
}
.faq-list details {
    border-bottom: 1px solid rgba(240, 234, 225, .12);
}
.faq-list summary {
    position: relative;
    padding: 25px 54px 25px 0;
    color: var(--paper);
    font-family: var(--serif);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}
.faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 3px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(240, 234, 225, .18);
    border-radius: 50%;
    color: var(--gold);
    content: "+";
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 26px;
    text-align: center;
    transform: translateY(-50%);
}
.faq-list details[open] summary::after {
    content: "−";
}
.faq-list details p {
    max-width: 720px;
    margin: -4px 52px 25px 0;
    color: var(--paper-muted);
    line-height: 1.8;
}

.download { display: grid; align-items: center; min-height: 640px; padding-block: 104px; overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(circle at 50% 42%, rgba(52,91,76,.2), transparent 42%), #080a09; }
.download-mountains { position: absolute; inset: auto 0 0; height: 45%; opacity: .55; background: #0e1612; clip-path: polygon(0 86%, 11% 58%, 18% 71%, 30% 22%, 39% 72%, 52% 40%, 61% 68%, 74% 12%, 84% 63%, 93% 39%, 100% 70%, 100% 100%, 0 100%); }
.download-mountains::before { position: absolute; inset: 20% 0 0; content: ""; opacity: .5; background: #18241e; clip-path: polygon(0 69%, 17% 34%, 27% 70%, 39% 46%, 53% 74%, 66% 30%, 80% 66%, 92% 41%, 100% 69%, 100% 100%, 0 100%); }
.download-content { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.download-logo { margin-bottom: 30px; border-radius: 50%; box-shadow: 0 0 80px rgba(197,166,101,.14); }
.download-content > p:not(.eyebrow) { margin: 24px 0 0; color: var(--paper-muted); }
.store-buttons { display: flex; gap: 12px; margin-top: 38px; }
.store-button { display: flex; align-items: center; min-width: 190px; padding: 10px 17px; border: 1px solid rgba(238,233,220,.34); text-align: left; background: rgba(238,233,220,.03); transition: transform .25s var(--ease), border-color .25s, background .25s; }
.store-button:hover { border-color: var(--paper); background: rgba(238,233,220,.08); transform: translateY(-3px); }
.store-button svg { width: 27px; margin-right: 12px; fill: currentColor; }.store-button small, .store-button strong { display: block; }.store-button small { color: var(--paper-muted); font-size: .58rem; line-height: 1.1; }.store-button strong { font-size: 1.05rem; font-weight: 500; letter-spacing: -.02em; }

.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--ink); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 110px; color: #696e69; font-size: .66rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--paper-muted); font-family: var(--serif); letter-spacing: .08em; }.footer-brand img { border-radius: 50%; }
.footer-inner > p { margin: 0; }.footer-links { display: flex; gap: 24px; justify-self: end; }.footer-links a:hover { color: var(--paper); }

.wechat-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 22px; background: rgba(3,5,4,.88); backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: opacity .25s; }
.wechat-overlay.active { opacity: 1; visibility: visible; }
.wechat-card { position: relative; width: min(460px, 100%); padding: 52px; border: 1px solid var(--line); text-align: center; background: #101411; transform: translateY(15px); transition: transform .35s var(--ease); }.wechat-overlay.active .wechat-card { transform: none; }
.overlay-close { position: absolute; top: 12px; right: 14px; padding: 6px 10px; color: var(--paper-muted); background: transparent; font-size: 1.5rem; cursor: pointer; }.overlay-seal { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 22px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 1.35rem; }.wechat-card h2 { font-size: 2rem; }.wechat-card p { margin: 18px 0 30px; color: var(--paper-muted); }

.reveal { opacity: 1; transform: translateY(28px); transition: transform .9s var(--ease); }
.reveal.visible { transform: none; }

@media (max-width: 1020px) {
    .page-width { width: min(100% - 44px, 900px); }
    .section { padding-block: 104px; }
    .hero-warrior { right: -12%; width: 63vw; opacity: .75; }
    .hero-content h1 { max-width: 68%; }
    .hero-copy { max-width: 44%; }
    .manifesto { grid-template-columns: 50px 1fr; }.manifesto-text-container { grid-column: 2; }
    .manifesto-interactive { grid-column: 2; width: 100%; max-width: 500px; margin-top: 24px; }
    .section-heading { grid-template-columns: 1fr; gap: 28px; }
    .strategy-stage { grid-template-columns: 230px minmax(0, 1fr); }
    .strategy-tab { padding: 24px 20px; }
    .board { padding-inline: 24px; }
    .features { padding-block: 104px; }
    .feature { min-height: 460px; padding-inline: 6%; }
    .feature-index { display: none; }
    .guide-facts > div { padding-inline: 20px; }
}

@media (max-width: 820px) {
    .page-width { width: min(100% - 32px, 680px); }
    .section { padding-block: 76px; }
    h2 { font-size: clamp(2.15rem, 9vw, 3.5rem); line-height: 1.1; }
    .site-header { height: 68px; background: linear-gradient(#080a09, transparent); }
    .nav-shell { grid-template-columns: 1fr auto auto; width: calc(100% - 28px); gap: 10px; }
    .brand img { width: 38px; height: 38px; }.brand span { display: none; }
    .nav-toggle { position: relative; display: block; order: 3; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(8,10,9,.7); cursor: pointer; }
    .nav-toggle > span:not(.sr-only) { position: absolute; top: 18px; left: 13px; width: 17px; height: 1px; background: var(--paper); transition: .25s; }.nav-toggle > span:nth-child(2) { top: 24px; }
    .nav-toggle[aria-expanded="true"] > span:first-child { top: 21px; transform: rotate(45deg); }.nav-toggle[aria-expanded="true"] > span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
    .nav-menu { position: fixed; top: 67px; right: 0; left: 0; display: grid; gap: 0; padding: 18px; border-bottom: 1px solid var(--line); background: rgba(8,10,9,.97); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease); }
    .nav-menu.open { opacity: 1; visibility: visible; transform: none; }.nav-menu a { min-height: 48px; padding: 14px 5px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .8rem; }.nav-menu a::after { display: none; }
    .language-picker { order: 2; }.language-button { min-width: 70px; height: 44px; padding: 8px; }.language-button svg:first-child { display: none; }
    .hero { align-items: flex-start; min-height: max(720px, 100svh); padding-top: 116px; }
    .hero-content { padding-bottom: 0; }
    .hero-content h1 { max-width: 100%; font-size: clamp(3rem, 14vw, 4.7rem); line-height: 1; }
    .hero-copy { max-width: 88%; margin-top: 20px; font-size: .94rem; }
    .hero-actions { margin-top: 24px; }.button { min-width: 0; min-height: 48px; padding-inline: 18px; }
    .hero-warrior { right: -12%; bottom: 58px; width: min(100vw, 560px); opacity: .7; }
    .hero-warrior img { mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 72%, transparent 98%), linear-gradient(to right, transparent 0, #000 12%, #000 93%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 72%, transparent 98%), linear-gradient(to right, transparent 0, #000 12%, #000 93%, transparent 100%); }
    .warrior-seal { display: none; }
    .hero-facts { bottom: 10px; grid-template-columns: repeat(2, 1fr); }.hero-facts div { gap: 7px; min-width: 0; padding: 9px 4px; border-bottom: 1px solid rgba(255,255,255,.04); }.hero-facts strong { font-size: 1.05rem; }.hero-facts span { overflow: hidden; font-size: .55rem; letter-spacing: .03em; text-overflow: ellipsis; white-space: nowrap; }
    .scroll-cue { display: none; }
    .manifesto { grid-template-columns: minmax(0, 1fr); gap: 32px; }.manifesto .section-number { display: none; }.manifesto-text-container { grid-column: 1; gap: 18px; }.manifesto-title, .manifesto-copy { min-width: 0; }.manifesto-interactive { grid-column: 1; align-self: center; width: 100%; max-width: 460px; margin-top: 4px; padding: 22px 18px; }.hero-selector { gap: 8px; }.hero-select-btn { min-height: 44px; padding: 8px 12px; }.radar-chart { width: min(58vw, 220px); height: auto; }
    .section-heading { gap: 18px; margin-bottom: 40px; }.section-heading > p { margin: 0; }
    .strategy-stage { display: block; min-height: 0; }.strategy-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }.strategy-tab { display: block; min-height: 76px; padding: 14px 8px; text-align: center; }.strategy-tab:not(:last-child) { border-right: 1px solid var(--line); border-bottom: 0; }.strategy-tab > span, .strategy-tab small { display: none; }.strategy-tab strong { font-family: var(--sans); font-size: .7rem; line-height: 1.35; }.strategy-tab::before { top: auto; right: 0; width: auto; height: 2px; transform: scaleX(0); }.strategy-tab.active::before { transform: scaleX(1); }
    .board { min-height: 570px; padding: 20px 12px; }.board-field { height: 445px; }.battle-army { right: 2%; left: 2%; }.battle-row { grid-template-columns: 22px repeat(3, 52px); gap: 11px; min-height: 69px; }.front-row { padding-inline: 4%; }.combatant { width: 52px; height: 62px; }.combatant img { height: 47px; }.row-label { font-size: .4rem; }.battle-clash::before, .battle-clash::after { width: 95px; }.attack-trace { bottom: -142px; left: 9px; width: 115px; height: 260px; }.board-footer { grid-template-columns: 1fr 1fr; gap: 10px; }.bonus span { font-size: .56rem; }.turn { display: none; }
    .features { gap: 12px; padding-block: 76px; }
    .feature { grid-template-columns: minmax(0, 1fr); gap: 30px; min-height: 0; padding: 42px 24px; border-radius: 10px; }.feature-copy { align-self: start; max-width: none; }.feature-copy h2 br { display: none; }.feature-copy > p:last-child { margin-top: 18px; }
    .skill-detail-box, .rank-info-box { margin-top: 18px; padding: 14px 16px; min-height: 0; }
    .skill-orbit, .rank-visual, .ink-art-gallery { grid-row: 2; width: min(76vw, 330px); margin-top: 4px; }.feature-battle .rank-visual { grid-row: 2; }.feature-battle .feature-copy { grid-row: 1; }.rank-node { width: 20px; height: 20px; }
    .guide-intro, .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .guide-heading .eyebrow { margin-bottom: 14px; }
    .guide-intro > p:last-child { margin: 0; }
    .guide-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 42px; }
    .guide-facts > div { padding: 22px 16px; }
    .guide-facts > div:nth-child(2) { border-right: 0; }
    .guide-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .faq { margin-top: 64px; }
    .faq-heading h2 { font-size: clamp(2.25rem, 10vw, 3.35rem); }
    .faq-list summary { min-height: 54px; padding-block: 18px; }
    .download { min-height: 590px; padding-block: 80px; }.download-logo { width: 88px; height: 88px; margin-bottom: 24px; }.download-content h2 { font-size: clamp(2.45rem, 11vw, 3.7rem); }.download-content > p:not(.eyebrow) { margin-top: 18px; }.store-buttons { width: 100%; max-width: 360px; flex-direction: column; margin-top: 30px; }.store-button { justify-content: center; width: 100%; min-height: 54px; }
    .footer-inner { grid-template-columns: 1fr auto; gap: 12px; padding-block: 24px; }.footer-inner > p { grid-column: 1 / -1; grid-row: 2; }.footer-links { gap: 14px; }
}

@media (max-width: 430px) {
    .hero { min-height: max(700px, 100svh); }.hero-warrior { bottom: 74px; width: 102vw; }
    .hero-facts span { letter-spacing: .03em; }
    .board-field { height: 430px; }.battle-row { grid-template-columns: 18px repeat(3, 49px); gap: 9px; }.combatant { width: 49px; height: 59px; }.combatant img { height: 44px; }
    .ink-art-gallery { height: 350px; }
    .wechat-card { padding: 44px 24px 30px; }
}

@media (max-width: 360px) {
    .page-width { width: calc(100% - 24px); }
    .hero-actions { align-items: stretch; flex-direction: column; width: 172px; gap: 8px; }
    .hero-content h1 { font-size: 2.85rem; }
    .hero-selector { flex-wrap: wrap; }
    .hero-select-btn { flex: 1 1 30%; justify-content: center; padding-inline: 8px; }
    .guide-facts { grid-template-columns: 1fr; }
    .guide-facts > div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
    .guide-facts > div:last-child { border-bottom: 0; }
}

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