:root {
  --ink: #171a18;
  --muted: #646a61;
  --paper: #eee8da;
  --paper-deep: #ddd2bd;
  --white: #fffdf6;
  --red: #d94a37;
  --yellow: #f3bd3e;
  --green: #4f8f57;
  --blue: #39758f;
  --purple: #79588f;
  --line: rgba(23, 26, 24, 0.16);
  --shadow: 9px 9px 0 var(--ink);
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(243, 189, 62, .25), transparent 26rem),
    radial-gradient(circle at 92% 18%, rgba(217, 74, 55, .14), transparent 28rem),
    var(--paper);
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.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; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgba(238, 232, 218, .91); backdrop-filter: blur(16px); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 950; letter-spacing: .08em; }
.brand b { color: var(--red); }
.brand-mark { position: relative; width: 36px; height: 36px; display: inline-grid; place-items: center; border: 3px solid var(--ink); border-radius: 12px 12px 18px 18px; background: var(--green); transform: rotate(-5deg); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.brand-mark::before { left: 7px; } .brand-mark::after { right: 7px; }
.brand-mark i { position: absolute; width: 9px; height: 3px; border-radius: 10px; background: var(--ink); }
.brand-mark i:nth-child(1) { top: -6px; left: 1px; transform: rotate(50deg); }
.brand-mark i:nth-child(2) { top: -6px; right: 1px; transform: rotate(-50deg); }
.brand-mark i:nth-child(3) { bottom: 6px; width: 12px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #474d46; font-size: 14px; font-weight: 800; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--red); }
.nav-cta { padding: 9px 18px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: white !important; box-shadow: 3px 3px 0 var(--yellow); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 2px solid var(--ink); border-radius: 10px; background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { min-height: 680px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 70px; padding-block: 74px 88px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #71624d; font-size: 12px; font-weight: 950; letter-spacing: .13em; }
.eyebrow > span { width: 26px; height: 3px; border-radius: 99px; background: var(--red); }
.hero h1, .section h2 { margin: 0; letter-spacing: -.055em; }
.hero h1 { max-width: 560px; font-size: clamp(52px, 6.4vw, 84px); line-height: 1.04; font-weight: 950; }
.hero h1 em { display: block; color: var(--green); font-style: normal; text-shadow: 4px 4px 0 var(--ink); -webkit-text-stroke: 2px var(--ink); }
.hero-lead { max-width: 560px; margin: 28px 0 30px; color: var(--muted); font-size: 18px; }
.hero-actions, .status-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 24px; border: 2px solid var(--ink); border-radius: 12px; font-weight: 950; transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover, .button:focus-visible { transform: translate(-2px, -2px); }
.button.primary { background: var(--red); color: white; box-shadow: 5px 5px 0 var(--ink); }
.button.secondary { background: rgba(255, 253, 246, .6); }
.status-row { gap: 22px; margin-top: 28px; color: #686c65; font-size: 13px; font-weight: 800; }
.status-row span { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(79, 143, 87, .15); }

.arena { position: relative; width: min(550px, 44vw); aspect-ratio: 1; margin-inline: auto; border: 4px solid var(--ink); border-radius: 50%; background: radial-gradient(circle, #373d38 0 17%, #29302b 17% 40%, #5d6a58 40% 42%, #313832 42% 100%); box-shadow: 14px 14px 0 var(--ink); }
.arena-ring { position: absolute; inset: 16%; border: 2px dashed rgba(255,255,255,.34); border-radius: 50%; }
.arena-ring.two { inset: 31%; border-color: rgba(243,189,62,.55); }
.arena-core { position: absolute; z-index: 5; inset: 38%; display: grid; place-items: center; align-content: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); transform: rotate(-4deg); }
.arena-core b { font-size: 36px; line-height: 1; } .arena-core span { font-size: 10px; font-weight: 950; }
.faction { position: absolute; z-index: 4; width: 78px; height: 78px; display: grid; place-items: center; align-content: center; border: 3px solid var(--ink); border-radius: 22px; color: white; box-shadow: 5px 5px 0 var(--ink); }
.faction b { font-size: 26px; line-height: 1; } .faction span { font-size: 11px; font-weight: 900; }
.faction-one { top: 3%; left: 43%; background: var(--red); }
.faction-two { top: 22%; right: 3%; background: var(--blue); transform: rotate(5deg); }
.faction-three { right: 10%; bottom: 11%; background: #b68522; }
.faction-four { bottom: 3%; left: 40%; background: var(--green); transform: rotate(-3deg); }
.faction-five { bottom: 14%; left: 7%; background: var(--purple); }
.faction-six { top: 20%; left: 2%; background: #626764; transform: rotate(-5deg); }
.battle-line { position: absolute; z-index: 2; top: 49%; left: 19%; width: 62%; height: 4px; border-radius: 20px; background: var(--yellow); transform-origin: center; }
.line-b { transform: rotate(60deg); } .line-c { transform: rotate(-60deg); }

.metrics { border-block: 3px solid var(--ink); background: var(--ink); color: white; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric-grid article { min-height: 124px; display: grid; place-content: center; text-align: center; border-right: 1px solid rgba(255,255,255,.17); }
.metric-grid article:last-child { border-right: 0; }
.metric-grid b { color: var(--yellow); font-size: 38px; line-height: 1; } .metric-grid span { margin-top: 8px; color: #cbd0ca; font-size: 12px; font-weight: 800; }

.section { padding-block: 105px; }
.section-heading { max-width: 720px; margin-bottom: 54px; }
.section h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.08; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { position: relative; min-height: 400px; padding: 30px; overflow: hidden; border: 3px solid var(--ink); border-radius: 20px; background: var(--white); box-shadow: 7px 7px 0 var(--ink); }
.feature-card:nth-child(2) { transform: translateY(20px); }
.feature-card::after { content: ""; position: absolute; right: -55px; bottom: -65px; width: 150px; height: 150px; border-radius: 50%; opacity: .16; background: var(--red); }
.feature-card.yellow::after { background: var(--yellow); } .feature-card.green::after { background: var(--green); }
.card-number { position: absolute; top: 24px; right: 25px; color: #a8aaa4; font-weight: 950; }
.card-icon { position: relative; width: 76px; height: 76px; display: block; margin-bottom: 35px; border: 3px solid var(--ink); border-radius: 18px; background: #f6d1ca; }
.card-icon i { position: absolute; display: block; background: var(--ink); }
.swords i { width: 8px; height: 48px; top: 11px; left: 28px; transform: rotate(40deg); box-shadow: 0 0 0 2px white; }
.swords i:last-child { left: 40px; transform: rotate(-40deg); }
.breaker { background: #f7dfa0; }.breaker i { width: 15px; height: 34px; bottom: 10px; left: 29px; border-radius: 5px; }.breaker i:first-child { width: 44px; height: 17px; top: 14px; left: 15px; border-radius: 5px; }.breaker i:last-child { width: 42px; height: 5px; bottom: 8px; left: 16px; }
.crown { background: #cde5ce; }.crown i { width: 45px; height: 22px; left: 14px; bottom: 14px; }.crown i:first-child { width: 18px; height: 30px; left: 12px; bottom: 30px; transform: skew(20deg); }.crown i:nth-child(2) { width: 18px; height: 30px; left: 44px; bottom: 30px; transform: skew(-20deg); }
.card-kicker { margin: 0 0 8px; color: var(--red); font-size: 12px; font-weight: 950; letter-spacing: .12em; }
.feature-card h3 { margin: 0 0 15px; font-size: 27px; line-height: 1.28; }
.feature-card > p:last-child { margin: 0; color: var(--muted); font-size: 15px; }

.systems-section { border-block: 3px solid var(--ink); background: #1e2420; color: white; }
.systems-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 78px; }
.eyebrow.light { color: #c4cbc2; }.systems-lead { color: #c4cbc2; font-size: 17px; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: #e9ece8; }
.check-list i { flex: 0 0 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 12px; font-style: normal; font-weight: 950; }
.system-board { padding: 26px; border: 3px solid white; border-radius: 20px; background: #f8f2e5; color: var(--ink); box-shadow: 10px 10px 0 var(--red); }
.board-head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 3px solid var(--ink); font-size: 12px; font-weight: 950; letter-spacing: .1em; }
.upgrade-row { display: grid; grid-template-columns: 54px 1fr 30px; align-items: center; gap: 12px; padding-top: 19px; font-size: 13px; font-weight: 900; }
.upgrade-row i { height: 13px; overflow: hidden; border: 2px solid var(--ink); border-radius: 20px; background: #d9d5ca; }.upgrade-row i b { display: block; height: 100%; background: var(--green); }
.upgrade-row em { font-style: normal; text-align: right; }
.skill-chips { display: flex; gap: 9px; margin-top: 25px; }.skill-chips span { flex: 1; padding: 10px 4px; border: 2px solid var(--ink); border-radius: 10px; background: var(--yellow); text-align: center; font-size: 12px; font-weight: 950; }
.board-note { display: flex; flex-direction: column; margin-top: 20px; padding: 15px; border-radius: 10px; background: var(--red); color: white; }.board-note span { font-size: 12px; }

.release-section .section-heading { margin-inline: auto; text-align: center; }.release-section .eyebrow { justify-content: center; }
.release-list { max-width: 900px; padding: 0; margin: 0 auto; list-style: none; border: 3px solid var(--ink); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.release-list li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 18px; padding: 22px 26px; border-bottom: 1px solid var(--line); }.release-list li:last-child { border-bottom: 0; }
.release-list i { width: 36px; height: 36px; display: grid; place-items: center; border: 3px solid #8b8f88; border-radius: 50%; font-style: normal; font-weight: 950; }.release-list .done i { border-color: var(--green); background: var(--green); color: white; }.release-list .active i { border-color: var(--red); background: var(--yellow); }
.release-list div { display: flex; flex-direction: column; }.release-list div span { color: var(--muted); font-size: 13px; }.release-list em { color: #8b8f88; font-size: 12px; font-style: normal; font-weight: 950; }.release-list .done em { color: var(--green); }.release-list .active em { color: var(--red); }

.safety-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 65px; padding: 52px; border: 3px solid var(--ink); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }.safety-panel h2 { font-size: clamp(34px, 4vw, 52px); }.safety-panel > div > p:last-child { color: var(--muted); }.safety-links { display: grid; align-content: center; }.safety-links a { display: flex; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); font-weight: 850; }.safety-links a:hover { color: var(--red); }

.site-footer { padding-block: 60px 24px; background: #141715; color: white; }.footer-grid { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 48px; }.footer-grid p { color: #a8ada7; }.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: #c7ccc6; font-size: 13px; }.footer-links a:hover { color: var(--yellow); }.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: #858b84; font-size: 12px; }.footer-bottom a { color: #c7ccc6; }

/* Policy and error pages */
.policy-main { width: min(860px, calc(100% - 40px)); min-height: 70vh; margin: 0 auto; padding: 70px 0 110px; }.policy-hero { padding: 42px; border: 3px solid var(--ink); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }.policy-hero h1 { margin: 5px 0 12px; font-size: clamp(38px, 6vw, 62px); line-height: 1.1; }.policy-hero p { color: var(--muted); }.policy-meta { display: flex; gap: 20px; margin-top: 18px; color: #7a7f77; font-size: 12px; }.policy-content { margin-top: 42px; }.policy-content section { padding: 26px 0; border-bottom: 1px solid var(--line); }.policy-content h2 { margin: 0 0 10px; font-size: 24px; }.policy-content p, .policy-content li { color: #525851; }.policy-content ul { padding-left: 22px; }.policy-notice { padding: 18px 20px; border: 2px solid var(--ink); border-radius: 12px; background: #fff0b8; color: var(--ink) !important; font-weight: 800; }.back-link { display: inline-flex; margin-bottom: 22px; font-weight: 950; }.back-link:hover { color: var(--red); }.error-main { min-height: 72vh; display: grid; place-content: center; text-align: center; }.error-main b { color: var(--red); font-size: 110px; line-height: 1; }.error-main h1 { margin: 10px 0; font-size: 36px; }.error-main p { color: var(--muted); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 44px; }.hero-copy { text-align: center; }.hero-copy .eyebrow, .hero-actions, .status-row { justify-content: center; }.hero-lead { margin-inline: auto; }.arena { width: min(540px, 82vw); }.feature-grid { grid-template-columns: 1fr 1fr; }.feature-card:nth-child(2) { transform: none; }.feature-card:last-child { grid-column: 1 / -1; }.systems-grid { grid-template-columns: 1fr; }.safety-panel { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1160px); }.nav { height: 66px; }.nav-toggle { display: block; }.nav-links { position: absolute; top: 66px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); box-shadow: 6px 6px 0 var(--ink); }.nav-links.is-open { display: flex; }.nav-links a { padding: 12px 14px; }.nav-cta { margin-top: 4px; text-align: center; }.hero { min-height: auto; padding-block: 54px 76px; }.hero h1 { font-size: clamp(48px, 15vw, 70px); }.hero-lead { font-size: 16px; }.hero-actions { flex-direction: column; }.button { width: 100%; }.arena { width: min(420px, 88vw); box-shadow: 8px 8px 0 var(--ink); }.faction { width: 60px; height: 60px; border-radius: 17px; }.faction b { font-size: 20px; }.arena-core b { font-size: 25px; }.metric-grid { grid-template-columns: 1fr 1fr; }.metric-grid article:nth-child(2) { border-right: 0; }.metric-grid article { border-bottom: 1px solid rgba(255,255,255,.17); }.section { padding-block: 76px; }.feature-grid { grid-template-columns: 1fr; }.feature-card:last-child { grid-column: auto; }.system-board { box-shadow: 6px 6px 0 var(--red); }.release-list li { grid-template-columns: 42px 1fr; padding: 20px 18px; }.release-list em { grid-column: 2; }.safety-panel { padding: 32px 24px; box-shadow: 6px 6px 0 var(--ink); }.footer-grid, .footer-bottom { flex-direction: column; }.policy-main { width: min(100% - 28px, 860px); padding-top: 45px; }.policy-hero { padding: 28px 22px; box-shadow: 5px 5px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
