* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --bg: #111015;
  --paper: #18151d;
  --ink: #f5efdf;
  --muted: #c9c1c3;
  --gold: #e9c58a;
  --rule: #65564177;
  font: 16px/1.65 "Segoe UI", system-ui, sans-serif;
}
body { margin: 0; background: var(--bg); color: var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.frame { width: min(100% - 6rem, 77rem); margin-inline: auto; }
header { border-bottom: 1px solid var(--rule); background: #151218; position: relative; z-index: 1; }
.header-inner, .footer-inner { min-height: 76px; padding-block: .65rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap; }
.brand { font-family: Georgia, serif; letter-spacing: .19em; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.42rem); }
.page-nav { display: flex; gap: clamp(.8rem, 2vw, 2rem); align-items: center; }
.page-nav a { color: var(--muted); font-size: .95rem; }
.page-nav a:hover, .languages { color: var(--gold); }
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--rule); background: #18141a; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #131016 3%, #131016e8 31%, #13101630 70%), linear-gradient(0deg, #131016 0%, transparent 36%); }
.hero-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 53%; }
.hero-inner { min-height: clamp(34rem, 69vh, 50rem); display: flex; flex-direction: column; justify-content: center; align-items: start; padding-block: clamp(3.5rem, 8vw, 8.25rem); }
.edition { border: 1px solid var(--rule); padding: .26rem .75rem; margin: 0 0 1.1rem; color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: .88rem; background: #121016cc; }
h1,h2,h3,p { overflow-wrap: anywhere; }
h1,h2,h3 { font-family: Georgia, "Noto Serif", "Microsoft YaHei", serif; margin: 0; font-weight: 500; }
h1 { font-size: clamp(4.5rem, 12vw, 10rem); line-height: .84; letter-spacing: -.07em; }
h1 span { display: block; color: var(--gold); font-size: .36em; letter-spacing: -.03em; line-height: 1.15; margin-top: .35em; }
h2 { font-size: clamp(2.35rem, 5.5vw, 4.4rem); line-height: 1.04; letter-spacing: -.055em; }
h3 { font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15; }
p { color: var(--muted); }
.tagline { margin: 1.5rem 0 .4rem; color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.55rem); }
.intro { max-width: 33rem; margin: 0 0 1.6rem; font-size: 1.06rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.button, .outline, button { font: inherit; font-weight: 650; min-height: 44px; padding: .62rem 1rem; border: 1px solid var(--gold); display: inline-flex; align-items: center; justify-content: center; text-align: center; color: var(--gold); background: #17131c; cursor: pointer; }
.button, button[aria-pressed="true"], .button:hover, .outline:hover, button:hover { color: #211815; background: var(--gold); }
.section { padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.features article { border: 1px solid var(--rule); background: var(--paper); overflow: hidden; }
.features img { width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; display: block; }
.features article div { padding: clamp(1.15rem, 2.4vw, 1.8rem); border-top: 1px solid var(--rule); }
.features p { margin-bottom: 0; }
.play-section { background: radial-gradient(ellipse at 75% 30%, #39302a, transparent 62%), #19151d; border-block: 1px solid var(--rule); }
.play-layout, .faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 6vw, 5rem); align-items: start; }
.formation { max-width: 33rem; width: 100%; justify-self: end; padding: clamp(.6rem, 2.2vw, 1.5rem); border: 1px solid var(--rule); background: #10101590; }
.formation-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.formation-row + .formation-row { margin-top: .5rem; }
.slot { min-height: clamp(3.7rem, 8vw, 5.4rem); display: grid; place-items: center; border: 1px solid #93847958; padding: .35rem; text-align: center; line-height: 1.15; font-size: .9rem; overflow-wrap: anywhere; }
.slot[data-role] { color: #fff5e4; background: #7862435c; border-color: #b6925f; }
.slot[data-role="striker"] { background: #632e38aa; border-color: #b57b86; }
.slot[data-role="support"] { background: #204749bb; border-color: #76aaa9; }
.portraits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; max-width: 53rem; }
figure { margin: 0; background: radial-gradient(ellipse, #302746, #17141f 70%); border: 1px solid var(--rule); overflow: hidden; }
figure img { display: block; width: 100%; height: auto; aspect-ratio: 1.32; object-fit: contain; object-position: center bottom; }
figcaption { padding: .65rem 1rem; background: #16131b; border-top: 1px solid var(--rule); font-family: Georgia, serif; font-size: 1.3rem; }
.faq { border-top: 1px solid var(--rule); }
.faq .button { margin-top: 1rem; }
details { border-bottom: 1px solid var(--rule); }
details summary { cursor: pointer; font-weight: 650; padding-block: 1rem; }
details summary::marker { color: var(--gold); }
details p { margin: 0 0 1rem; }
footer { border-top: 1px solid var(--rule); background: var(--paper); }
footer details { flex: 1; min-width: min(100%, 12rem); }
footer details p { max-width: 59ch; }
@media (max-width: 920px) {
  .frame { width: calc(100% - 3rem); }
  .page-nav { order: 2; width: 100%; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: .45rem; }
  .hero-inner { min-height: 31rem; }
}
@media (max-width: 620px) {
  .frame { width: calc(100% - 2rem); }
  .header-inner { gap: .4rem .65rem; }
  .header-inner > .brand { font-size: 1rem; }
  .hero::before { background: linear-gradient(0deg, #151019 3%, #151019eb 23%, #15101922 75%); }
  .hero-art { object-position: 67% center; }
  .hero-inner { justify-content: end; min-height: 34rem; padding-block: 9rem 1.8rem; }
  h1 { font-size: clamp(3.9rem, 19vw, 6rem); }
  .features, .play-layout, .faq { grid-template-columns: minmax(0, 1fr); }
  .formation { justify-self: start; }
  .footer-inner { align-items: start; }
  .footer-inner details { order: 3; flex-basis: 100%; }
}
@media (max-width: 360px) {
  .header-inner > .brand { flex-basis: 100%; }
}
