@font-face {
  font-family: Barlow Condensed;
  src: url("assets/barlow-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Barlow Condensed;
  src: url("assets/barlow-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-400.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #101011;
  --panel: #171718;
  --panel-raised: #1c1c1e;
  --line: #2e2e31;
  --line-light: #444347;
  --white: #f7f5f2;
  --muted: #b0aeb0;
  --orange: #ff592c;
  --orange-light: #ff7652;
  --green: #83dba2;
  --display: "Barlow Condensed", "Arial Narrow", "Microsoft YaHei", sans-serif;
  --body: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --header-height: 72px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--white); font-family: var(--body); font-size: 1rem; line-height: 1.55; }
body:has(dialog[open]) { overflow: hidden; }
main { min-height: 60vh; }
main:focus { outline: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .96; text-transform: uppercase; }
h1 { font-size: clamp(3.5rem, 7vw, 7rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2.8rem, 4.9vw, 4.7rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
:lang(zh-CN) h1, :lang(zh-CN) h2, :lang(zh-CN) h3 { line-height: 1.1; }
:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 5px; }
::selection { color: #15110f; background: var(--orange); }

.shell { width: min(1264px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: clamp(54px, 6vw, 88px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px 26px; margin-bottom: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; color: var(--orange-light); font-size: .8125rem; font-weight: 800; letter-spacing: .135em; text-transform: uppercase; }
.eyebrow .slash { width: 13px; height: 12px; transform: skew(-24deg); border-inline-start: 3px solid var(--orange); border-inline-end: 3px solid var(--orange); }
.section-head h2 { margin-top: 7px; }
.section-link, .back-link {
  flex: none;
  color: var(--white);
  font-size: .8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .075em;
  padding-block: 7px;
  border-bottom: 1px solid var(--orange);
  transition: color .2s ease;
}
.section-link { margin-bottom: 4px; }
.section-link:hover, .back-link:hover { color: var(--orange-light); }

.skip { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 20px; transform: translateY(-150%); background: var(--orange); color: #130e0c; font-weight: 800; }
.skip:focus { transform: translateY(0); }
.header { height: var(--header-height); position: sticky; inset-block-start: 0; z-index: 10; background: #101011; border-bottom: 1px solid #29282a; }
.header-inner { width: min(1360px, calc(100% - 80px)); height: 100%; margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 10px; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: 1.85rem; line-height: 1; letter-spacing: .025em; }
.crest { width: 37px; height: 37px; object-fit: contain; flex: none; }
.brand-period { color: var(--orange); }
.primary { height: 100%; display: flex; align-items: stretch; justify-content: center; gap: clamp(14px, 2.35vw, 38px); }
.primary a { display: grid; align-content: center; position: relative; color: #c5c2c3; white-space: nowrap; font-size: .8125rem; letter-spacing: .065em; font-weight: 750; text-transform: uppercase; }
.primary a:hover, .primary a[aria-current] { color: var(--white); }
.primary a[aria-current]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions button { background: transparent; border: 1px solid #373638; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 37px; min-width: 43px; padding: 0 9px; font-size: .8125rem; font-weight: 750; transition: border-color .2s; }
.header-actions button:hover { border-color: var(--orange); }
.header-actions .menu-toggle { display: none; }
.bag-count { color: var(--orange-light); font-size: .75rem; }
.icon-globe { flex: none; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.icon-globe::before { content: ""; position: absolute; inset: -1px 3px; border: 1px solid currentColor; border-radius: 50%; }
.icon-globe::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; border-top: 1px solid currentColor; }
.icon-bag { position: relative; width: 13px; height: 12px; margin-top: 3px; border: 1px solid currentColor; border-radius: 1px; }
.icon-bag::before { content: ""; position: absolute; width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 55% 55% 0 0; border-bottom: none; left: 2.5px; top: -6px; }
.icon-menu { width: 18px; height: 12px; border-block: 1px solid currentColor; position: relative; }
.icon-menu::after { content: ""; position: absolute; top: 4.5px; width: 100%; border-top: 1px solid currentColor; left: 0; }

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 21px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #140f0c;
  font-size: .8125rem;
  letter-spacing: .06em;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  transition: color .2s, border-color .2s, background .2s;
}
.button:hover { background: var(--orange-light); border-color: var(--orange-light); }
.button.outline { color: var(--white); background: #15131366; border-color: #777170; }
.button.outline:hover { border-color: var(--orange); color: var(--orange-light); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #701f10;
  background: #100a08 url("assets/arena.webp") center 50% / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a0808b3 0%, #0a08084a 34%, transparent 62%), linear-gradient(0deg, #0b0909ed 0%, transparent 34%); }
.hero-inner { min-height: clamp(520px, 39vw, 655px); display: flex; align-items: center; position: relative; padding-block: 49px 52px; }
.hero-copy { position: relative; z-index: 1; }
.hero-label { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #823a28; background: #24110bcc; padding: 5px 10px; color: #ff9275; font-size: .8125rem; font-weight: 800; letter-spacing: .125em; }
.hero-label i { width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); }
.hero h1 { font-size: clamp(6.45rem, 9.2vw, 9.7rem); line-height: .78; margin: 24px 0 22px; text-shadow: 0 3px 28px #0004; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--orange); margin-top: .075em; font-style: normal; }
:lang(zh-CN) .hero h1 { font-size: clamp(4.3rem, 6vw, 7.3rem); line-height: 1.06; font-weight: 900; }
.hero-copy p { color: #d0cbca; line-height: 1.57; font-size: clamp(.98rem, 1.25vw, 1.14rem); }
.hero-buttons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
.hero-caption { position: absolute; right: 0; bottom: 27px; text-align: right; border-right: 2px solid var(--orange); padding-right: 12px; }
.hero-caption span { display: block; color: #d4b8aa; line-height: 1; font-size: .75rem; letter-spacing: .11em; font-weight: 700; }
.hero-caption strong { font-family: var(--display); font-size: 2.45rem; line-height: 1; }
.circuit-strip { background: #171313; border-bottom: 1px solid #38251f; }
.circuit-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 53px; }
.circuit-inner a { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; padding: 10px 12px; text-transform: uppercase; border-inline-end: 1px solid #38251f; font-size: .72rem; line-height: 1.2; letter-spacing: .05em; }
.circuit-inner a:first-child { border-inline-start: 1px solid #38251f; }
.circuit-inner a:hover { background: #261a17; }
.circuit-inner a > span:last-child { color: #b6a9a5; }
.diamond { width: 6px; height: 6px; transform: rotate(45deg); background: var(--orange); flex: none; }
.home-fixtures { padding-top: clamp(42px, 3.7vw, 58px); }

.fixture-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fixture { background: var(--panel); min-width: 0; display: block; border: 1px solid #343335; padding: 15px 17px; transition: background .2s, border-color .2s; }
.fixture:hover { background: var(--panel-raised); border-color: var(--orange); }
.fixture-top { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.game-label { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: #dad6d4; font-weight: 740; line-height: 1.25; text-transform: uppercase; }
.game-mark { display: grid; place-items: center; flex: none; background: #2a211e; width: 27px; height: 26px; color: var(--orange-light); font: 800 1.12rem / 1 var(--display); }
.status { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; font-size: .75rem; line-height: 1.1; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; border: 1px solid #704332; color: #ff9a7d; background: #2b1d18; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.status.won { color: var(--green); background: #192a20; border-color: #356044; }
.status.lost { color: #ff9e9e; border-color: #6d3b3b; }
.matchup { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; text-align: center; padding: 19px 0 17px; }
.competitor { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.competitor strong { font-size: .77rem; font-weight: 800; text-transform: uppercase; line-height: 1.2; }
.fixture-crest { width: 43px; height: 43px; }
.opponent { width: 40px; height: 40px; display: grid; place-items: center; margin: 1.5px auto; color: #e1d9ff; background: #392d4f; transform: skew(-8deg); font: 800 1.35rem / 1 var(--display); letter-spacing: .035em; }
.opponent.mint { background: #243d34; color: #a6dfc1; }
.opponent.rose { background: #482934; color: #f3bbca; }
.score { color: #a5a0a0; font: 700 1.25rem / 1 var(--display); }
.score.is-final { font-size: 2.3rem; color: var(--white); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fixture-bottom { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; line-height: 1.35; }
.fixture-bottom strong, .fixture-bottom small { display: block; font-size: .8125rem; }
.fixture-bottom small { color: #b0acad; margin-top: 4px; font-size: .75rem; }
.fixture-bottom time { text-align: right; flex: none; }
.fixture-bottom time strong { text-transform: uppercase; }

.news-section, .store-section { background: #151516; border-block: 1px solid #252526; }
.news-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr; gap: 17px; }
.story { display: flex; flex-direction: column; min-width: 0; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, background .2s; overflow: hidden; }
.story:hover, .product:hover { background: var(--panel-raised); border-color: var(--orange); }
.story img { width: 100%; height: clamp(155px, 16vw, 250px); object-fit: cover; }
.story-body { padding: 19px; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 11px; color: var(--muted); font-size: .75rem; font-weight: 650; }
.story-meta span { color: var(--orange-light); text-transform: uppercase; letter-spacing: .1em; }
.story h3 { margin-block: 9px; }
.story p { color: var(--muted); line-height: 1.5; font-size: .92rem; }
.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-teams { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.team-tile { position: relative; min-height: 310px; overflow: hidden; display: flex; align-items: end; isolation: isolate; border: 1px solid #4b3c38; background: #241c1b; transition: border-color .2s; }
.team-tile:hover { border-color: var(--orange); }
.home-teams .team-tile { min-height: 242px; }
.team-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 33%; z-index: -2; transition: transform .35s; }
.team-tile:hover img { transform: scale(1.045); }
.team-tile::after { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(0deg, #0c0909 0%, #100c0be0 16%, #100b0b20 67%); }
.team-tile > div { padding: 20px; }
.team-region, .team-league { color: #e9c0b4; font-size: .8125rem; font-weight: 700; }
.team-region { color: var(--orange-light); text-transform: uppercase; letter-spacing: .09em; }
.team-tile h3 { margin: 6px 0; }
.team-hero { background: linear-gradient(90deg, #0e0b0bf7 9%, #0f0a0bc8 45%, #130e0f55 100%), var(--team-image) center 31% / cover; border-bottom: 1px solid #3d302b; }
.team-hero-valorant { --team-image: url("assets/valorant.webp"); }
.team-hero-lol { --team-image: url("assets/lol.webp"); }
.team-hero-cs2 { --team-image: url("assets/cs2.webp"); }
.team-hero-gc { --team-image: url("assets/gc.webp"); }
.team-hero .shell { padding-block: 44px 64px; }
.team-hero .back-link { display: table; margin-bottom: 46px; }
.team-hero h1 { margin: 10px 0 17px; max-width: 15ch; }
.team-hero p { max-width: 50ch; color: #e0d9d7; }
.team-location { margin-top: 21px; display: inline-block; font-size: .875rem; color: var(--orange-light); }
.roster-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.member { min-width: 0; overflow: hidden; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end; min-height: 175px; border: 1px solid var(--line); background: linear-gradient(140deg, #1b1716, #171718 65%); padding: 16px; }
.member-role { color: var(--orange-light); font-size: .76rem; font-weight: 750; text-transform: uppercase; }
.member h3 { margin: 4px 0 6px; }
.member p, .member small { color: var(--muted); font-size: .82rem; }
.member small { display: block; }
.member-mark { pointer-events: none; position: absolute; top: -3px; right: 7px; z-index: -1; color: #ff592c17; font: 800 5rem / 1 var(--display); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.product { border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color .2s, background .2s; }
.product img { width: 100%; aspect-ratio: 1.27; object-fit: cover; }
.product > div { padding: 13px 16px 17px; }
.product h3 { font-size: 1.65rem; }
.product strong, .product-price { color: var(--orange-light); display: block; margin-top: 6px; font-size: .87rem; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 68px); }
.product-detail > img { width: 100%; background: var(--panel); border: 1px solid var(--line); }
.product-detail h1 { font-size: clamp(3.2rem, 5.4vw, 5.6rem); margin-top: 8px; }
.product-price { font-size: 1.4rem; }
.product-detail p { color: var(--muted); margin: 14px 0 24px; }
fieldset { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
legend { font-size: .85rem; font-weight: 750; padding: 0 0 9px; }
.sizes { display: flex; flex-wrap: wrap; gap: 7px; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; }
.sizes span { display: grid; place-items: center; padding: 0 9px; height: 43px; min-width: 43px; border: 1px solid var(--line-light); font-weight: 750; font-size: .85rem; cursor: pointer; }
.sizes input:checked + span { border-color: var(--orange); color: var(--orange-light); background: #2b1d18; }
.sizes input:focus-visible + span { outline: 2px solid var(--orange-light); outline-offset: 3px; }

.club-banner { min-height: 370px; margin-block: clamp(45px, 6vw, 80px); padding: clamp(22px, 6vw, 70px); display: flex; align-items: center; background: linear-gradient(90deg, #140f0fee 0%, #140f0fa0 55%, #140f0f33), url("assets/club.webp") center 33% / cover; border: 1px solid #46352d; }
.club-banner h2 { margin: 7px 0 12px; }
.club-banner p { color: #e2d9d5; max-width: 44ch; }
.footer { border-top: 1px solid #322c2b; background: #0c0c0d; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 30px; align-items: start; padding-block: 46px 40px; }
.footer-grid p { color: var(--muted); font-size: .88rem; margin-top: 10px; }
.footer-grid nav { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.footer-link { color: #d6d2d1; font-size: .9rem; width: fit-content; }
.footer-link:hover { color: var(--orange-light); }
.footer-bottom { border-top: 1px solid #2b292a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px 28px; padding-block: 16px; color: #a6a1a0; font-size: .78rem; }

.page-head {
  background: linear-gradient(100deg, #1a1414, #151416 58%, #351910);
  border-bottom: 1px solid #432c24;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 105px) clamp(49px, 6vw, 88px);
}
.page-head::after { content: ""; position: absolute; z-index: -1; top: -110%; right: 10%; width: 210px; height: 380%; transform: rotate(30deg); background: repeating-linear-gradient(90deg, transparent 0 5px, #ff592c25 5px 6px, transparent 6px 10px); opacity: .65; border: 1px solid #ff592c2c; }
.page-head h1 { margin: 8px 0 14px; }
.page-head p { color: #ccc3c1; max-width: 56ch; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; gap: 16px 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button, select { border: 1px solid var(--line-light); background: var(--panel); padding: 9px 13px; color: #e2dfdd; min-height: 42px; font-size: .875rem; font-weight: 650; }
.filters button:hover, .filters button[aria-pressed="true"] { color: var(--orange-light); border-color: var(--orange); background: #2b1d18; }
select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, #d0c7c3 50%), linear-gradient(135deg, #d0c7c3 50%, transparent 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; border-radius: 0; }
.select-label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .875rem; }
.empty { color: var(--muted); padding: 17px 0; }
.detail-shell, .article-shell { padding-top: 35px; }
.detail-shell > .back-link, .article-shell > .back-link { display: table; margin-bottom: 27px; }
.detail-match { padding: clamp(18px, 5vw, 60px); max-width: 900px; margin-inline: auto; background: var(--panel); border: 1px solid var(--line-light); }
.detail-match h1 { margin: 12px 0 10px; font-size: clamp(2.9rem, 5.2vw, 5.4rem); }
.detail-match p { color: var(--muted); }
.detail-match .matchup { margin: 24px 0; padding: 22px 0; background: #111112; border: 1px solid var(--line); }
.detail-match .fixture-crest { width: 64px; height: 64px; }
.detail-match .opponent { width: 56px; height: 56px; margin: 4px auto; font-size: 1.75rem; }
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 0; }
.detail-facts dt, .map-scores span { color: var(--muted); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.detail-facts dd { margin: 2px 0 0; }
.map-scores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.map-scores div { padding: 8px 13px; border: 1px solid var(--line-light); display: grid; gap: 3px; }
.match-recap { margin-top: 22px; }

.article-shell { max-width: 940px; }
.article-top time { font-size: .83rem; color: var(--muted); margin-left: 13px; }
.article-top h1 { margin: 13px 0; font-size: clamp(3rem, 6vw, 6rem); }
.article-top p { color: #d2c7c3; font-size: clamp(1rem, 1.9vw, 1.3rem); max-width: 65ch; }
.article-cover { width: 100%; max-height: 490px; object-fit: cover; margin-block: 26px; }
.article-body { max-width: 69ch; }
.article-body p { color: #d6d1ce; margin-bottom: 17px; }
.article-body .button { margin-top: 8px; }

.split-feature { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(24px, 5vw, 68px); }
.split-feature img { width: 100%; }
.split-feature h2 { margin-block: 8px 13px; }
.split-feature p { margin-bottom: 22px; color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; list-style: none; padding: 0; gap: 17px; }
.timeline li { background: var(--panel); border: 1px solid var(--line-light); border-top: 2px solid var(--orange); padding: 17px; }
.timeline strong { font: 800 2.3rem / 1 var(--display); color: var(--orange-light); }
.timeline h3 { margin-block: 9px; }
.timeline p { color: var(--muted); font-size: .9rem; }
.partner-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 5vw, 66px); align-items: start; }
.partner-layout img { width: 100%; margin-bottom: 22px; }
.partner-layout li { margin-top: 9px; color: #d5cfcd; }
.partner-layout li::marker { color: var(--orange); }
.partner-layout h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.partner-form { display: grid; gap: 14px; background: var(--panel); border: 1px solid var(--line-light); padding: clamp(17px, 3vw, 34px); }
.partner-form p { color: var(--muted); margin-bottom: 5px; font-size: .92rem; }
.partner-form label { display: grid; gap: 5px; font-size: .88rem; font-weight: 700; }
.partner-form input, .partner-form textarea, .partner-form select { background-color: #101011; border: 1px solid var(--line-light); color: var(--white); border-radius: 0; padding: 8px 11px; width: 100%; min-height: 43px; }
.partner-form select { padding-right: 35px; }
.partner-form textarea { resize: vertical; }
.partner-form .button { justify-self: start; }
.partner-form output { color: var(--green); font-size: .9rem; }
.partner-form output:empty { display: none; }

dialog { width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 26px); padding: 0; background: var(--panel); color: var(--white); border: 1px solid var(--line-light); }
dialog::backdrop { background: #000b; }
.dialog-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--panel); border-bottom: 1px solid var(--line-light); padding: 17px 20px; }
.dialog-head h2 { font-size: 2.4rem; }
.close-button { font-size: 1.6rem; flex: none; width: 38px; height: 38px; display: grid; place-content: center; background: transparent; border: 1px solid var(--line-light); }
.close-button:hover { color: var(--orange-light); }
.dialog-body { padding: 20px; }
.dialog-body .empty { padding-top: 0; }
.dialog-body .button { margin-top: 10px; }
.dialog-body p { color: var(--muted); }
.cart-items, .checkout-items { list-style: none; margin: 0; padding: 0; }
.cart-items li, .checkout-items li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checkout-items li { justify-content: space-between; }
.cart-items img { width: 76px; aspect-ratio: 1; object-fit: cover; }
.cart-items li > div { flex: 1; }
.cart-items small { display: block; font-size: .83rem; color: var(--muted); margin-bottom: 6px; }
.stepper { display: inline-flex; align-items: center; gap: 10px; font-size: .87rem; }
.stepper button { width: 30px; height: 30px; background: #111112; border: 1px solid var(--line-light); }
.stepper button:hover { color: var(--orange-light); }
.remove { background: none; border: 0; color: var(--muted); padding: 7px 0; text-decoration: underline; font-size: .8rem; }
.remove:hover { color: var(--orange-light); }
.cart-total { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.cart-total strong { color: var(--orange-light); }
.dialog-body .hero-buttons { margin-top: 14px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 11; max-width: calc(100vw - 44px); color: var(--white); background: #242021; border: 1px solid var(--line-light); border-left: 3px solid var(--orange); padding: 13px 17px; font-size: .88rem; font-weight: 700; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; pointer-events: none; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { width: calc(100% - 50px); gap: 22px; }
  .primary { gap: 17px; }
  .primary a { font-size: .76rem; }
  .roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .circuit-inner a { gap: 7px; }
}
@media (max-width: 850px) {
  :root { --header-height: 62px; }
  .header-inner { width: calc(100% - 32px); grid-template-columns: 1fr auto; gap: 8px; }
  .header-actions .menu-toggle { display: inline-flex; }
  .primary { display: none; position: absolute; height: auto; inset: var(--header-height) 0 auto; background: #151516; padding: 8px 16px 16px; border-bottom: 1px solid var(--line-light); }
  .primary.is-open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 15px; }
  .primary a { font-size: .9rem; padding: 11px 5px; border-bottom: 1px solid var(--line); }
  .primary a[aria-current] { color: var(--orange-light); }
  .primary a[aria-current]::after { display: none; }
  .hero { background-position: 61% 50%; }
  .hero h1 { font-size: clamp(6.1rem, 14vw, 8rem); }
  .hero-inner { min-height: 490px; }
  .circuit-inner { grid-template-columns: repeat(2, 1fr); }
  .circuit-inner a { justify-content: start; min-height: 39px; border-bottom: 1px solid #38251f; }
  .circuit-inner a:nth-child(3) { border-inline-start: 1px solid #38251f; }
  .circuit-inner a:nth-last-child(-n+2) { border-bottom: 0; }
  .fixture-grid, .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid .featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .news-grid .featured img { height: 100%; min-height: 165px; }
  .home-teams, .product-grid, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-tile { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 32px); }
  .section { padding-block: 42px; }
  .section-head { margin-bottom: 22px; gap: 10px; }
  .section-head h2 { font-size: clamp(2.15rem, 9vw, 3rem); }
  .section-link { font-size: .75rem; }
  .header-actions { gap: 6px; }
  .header-actions button { min-width: 37px; height: 36px; padding-inline: 6px; gap: 5px; }
  .brand { font-size: 1.53rem; gap: 5px; }
  .brand .crest { width: 30px; height: 30px; }
  .hero { background-position: 67% 0; background-size: auto 74%; }
  .hero::before { background: linear-gradient(0deg, #0e0a09 15%, #0e0a09 29%, #100a09a1 53%, transparent 83%), linear-gradient(90deg, #0b09097a, transparent 72%); }
  .hero-inner { min-height: 575px; align-items: end; padding-block: 172px 44px; }
  .hero h1 { font-size: clamp(4.6rem, 20vw, 6rem); margin: 18px 0; }
  :lang(zh-CN) .hero h1 { font-size: clamp(3.05rem, 13vw, 4.1rem); }
  .hero-label { font-size: .75rem; }
  .hero-caption { display: none; }
  .hero-buttons { gap: 8px; margin-top: 19px; }
  .button { padding-inline: 13px; min-height: 45px; font-size: .76rem; }
  .circuit-inner a { flex-wrap: wrap; align-content: center; gap: 4px 7px; font-size: .68rem; padding: 7px 8px; min-height: 46px; }
  .circuit-inner a > span:last-child { width: 100%; padding-left: 13px; }
  .fixture-grid, .news-list, .news-grid, .team-grid, .product-detail, .split-feature, .partner-layout { grid-template-columns: minmax(0, 1fr); }
  .news-grid .featured { display: flex; }
  .news-grid .featured img, .story img { height: 185px; }
  .fixture, .story, .team-tile { min-width: 0; }
  .home-teams { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .team-tile > div { padding: 12px; }
  .team-tile h3 { font-size: 1.42rem; }
  .home-teams .team-tile { min-height: 195px; }
  .product-grid { gap: 9px; }
  .product > div { padding: 10px; }
  .product h3 { font-size: 1.34rem; }
  .roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .club-banner { min-height: 300px; background-position: 62% center; }
  .footer-grid { grid-template-columns: 1fr; padding-block: 30px; gap: 19px; }
  .footer-grid nav { grid-template-columns: repeat(3, 1fr); }
  .detail-facts { grid-template-columns: 1fr; }
  .team-hero .back-link { margin-bottom: 27px; }
  .select-label, .select-label select { width: 100%; }
  .section.detail-shell, .section.article-shell { padding-top: 25px; }
  .dialog-head, .dialog-body { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
