@font-face { font-family: font_en; src: url('./assets/ab/rd.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: font_en_heavy; src: url('./assets/ab/rd-heavy.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: font_en_light; src: url('./assets/ab/rd-light.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: font_rc; src: url('./assets/ab/roboto-cond.woff2') format('woff2'); font-display: swap; }

:root {
  --sw: 1920;
  --smw: 100vw;
  --u: calc(var(--smw) / var(--sw));
  --bg: #0b0c0e;
  --bg2: #121417;
  --panel: #14171a;
  --panel2: #1b1f23;
  --field: #0c0e10;
  --line: rgba(200, 215, 225, .085);
  --line2: rgba(200, 215, 225, .17);
  --line3: rgba(210, 222, 230, .32);
  --txt: #f5f5f5;
  --txt2: #aab3ba;
  --txt3: #7b8389;
  --txt4: #646c72;
  --or: #e26103;
  --or2: #ff733a;
  --or3: #dd5c08;
  --gold: #ff733a;
  --gold2: #ff733a;
  --amber: #e26103;
  --blue: #2f8fe4;
  --green: #3fbf7f;
  --red: #e5484d;
  --warn: #f0a020;
  --fd: font_en, 'Oswald', 'Arial Narrow', sans-serif;
  --fh: font_en_heavy, font_en, 'Oswald', 'Arial Narrow', sans-serif;
  --fl: font_en_light, font_en, 'Arial Narrow', sans-serif;
  --fb: font_rc, 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --wrap: min(1400px, calc(100% - 48px));
  --topbar-h: 76px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}
@media (min-width: 1921px) { :root { --smw: 1920px; } }
@media (max-width: 1200px) { :root { --sw: 1200; } }
@media (max-width: 900px) { :root { --sw: 900; --topbar-h: 112px; --wrap: calc(100% - 32px); } }
@media (max-width: 600px) { :root { --sw: 750; --topbar-h: 104px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--or); color: #fff; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; }
small { font-size: inherit; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #090a0c; }
::-webkit-scrollbar-thumb { background: #2a3036; }
::-webkit-scrollbar-thumb:hover { background: #363b40; }

.ico {
  display: inline-block; width: 16px; height: 16px; vertical-align: -3px; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.ico.big { width: 38px; height: 38px; }
.ico-trophy { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M6 4h12v5a6 6 0 0 1-12 0z'/%3E%3Cpath d='M6 6H3v2a3 3 0 0 0 3 3M18 6h3v2a3 3 0 0 1-3 3M12 15v4M8 21h8'/%3E%3C/svg%3E"); }
.ico-upload { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 20h16'/%3E%3C/svg%3E"); }
.ico-info { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E"); }
.ico-search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E"); }
.ico-target { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E"); }
.ico-sort { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M8 9l4-4 4 4M16 15l-4 4-4-4'/%3E%3C/svg%3E"); }
.ico-image { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Crect x='3' y='4' width='18' height='16'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 17l-5-5-9 8'/%3E%3C/svg%3E"); }
.ico-send { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M4 12l16-8-6 16-3-6z'/%3E%3C/svg%3E"); }
.ico-history { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ico-shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3C/svg%3E"); }
.ico-crown { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M3 8l4 4 5-7 5 7 4-4v10H3z'/%3E%3C/svg%3E"); }

.bracket { position: relative; }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: linear-gradient(180deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, 0) 100%);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.topbar.scrolled { background-color: rgba(11, 12, 14, .96); box-shadow: 0 1px 0 var(--line); }
.topbar-inner {
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 clamp(16px, calc(40 * var(--u)), 48px);
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex: 0 0 auto; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; justify-content: center; padding-left: 16px; border-left: 2px solid rgba(255, 255, 255, .55); line-height: 1; }
.brand-text strong { font-family: var(--fh); font-weight: 400; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.brand-text span { font-family: var(--fd); font-size: 13px; letter-spacing: .08em; color: var(--txt2); margin-top: 4px; text-transform: uppercase; }

.main-tabs { display: flex; align-items: center; margin-left: auto; height: 44px; }
.mtab, .seg-btn {
  position: relative; height: 44px; padding: 0 22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; color: #fff;
  font-family: var(--fd); font-size: 24px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.mtab .ico { display: none; }
.mtab::before, .mtab::after, .seg-btn::before, .seg-btn::after {
  content: ""; position: absolute; top: 0; width: 7px; height: 100%;
  border: 2px solid var(--or); opacity: 0;
  transition: left .3s ease-in-out, right .3s ease-in-out, opacity .3s ease-in-out;
}
.mtab::before, .seg-btn::before { left: 50%; border-right: none; }
.mtab::after, .seg-btn::after { right: 50%; border-left: none; }
.mtab.active::before, .seg-btn.active::before { opacity: 1; left: 0; }
.mtab.active::after, .seg-btn.active::after { opacity: 1; right: 0; }
@media (hover: hover) {
  .mtab:hover::before, .seg-btn:hover::before { opacity: 1; left: 0; }
  .mtab:hover::after, .seg-btn:hover::after { opacity: 1; right: 0; }
}

.topbar-right { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .25); }
.live-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px;
  border: 1px solid rgba(63, 191, 127, .35); color: #8fdcb4;
  font-family: var(--fd); font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
}
.live-chip .dot { width: 6px; height: 6px; background: var(--green); }
.lang-select-wrap { position: relative; }
.lang-select {
  height: 34px; padding: 0 28px 0 32px; max-width: 150px;
  background: rgba(0, 0, 0, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E") 9px 50% / 16px no-repeat;
  border: 1px solid var(--line2); border-radius: 0; color: #fff;
  font-family: var(--fd); font-size: 18px; letter-spacing: .02em;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.lang-select-wrap::after {
  content: ""; position: absolute; right: 11px; top: 50%; margin-top: -2px; pointer-events: none;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #fff;
}
.lang-select option { background: #121417; color: #fff; }
.lang-select:focus-visible { outline: 1px solid var(--or); }
.user-chip {
  display: flex; align-items: center; gap: 9px; padding: 3px 12px 3px 3px; cursor: pointer;
  border: 1px solid var(--line2); background: rgba(0, 0, 0, .35); min-width: 0;
}
.user-chip img { width: 30px; height: 30px; object-fit: cover; display: block; background: #181b1f; }
.user-meta { min-width: 0; line-height: 1.1; }
.user-meta b { display: block; font-family: var(--fd); font-weight: 400; font-size: 17px; letter-spacing: .02em; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-meta small { display: block; font-size: 11.5px; color: var(--txt3); letter-spacing: .03em; }
.topbar-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.topbar-progress .bar { height: 100%; width: 0; background: var(--or); transition: width .35s ease; }

.app { display: block; }
.view { display: none; padding-bottom: 70px; }
.view.active { display: block; }

.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 640px; max-height: 1080px;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-bg {
  position: absolute; inset: -2% 0 0 0;
  background: #0b0c0e url('./assets/ab/hero_bay.jpg') center 40% / cover no-repeat;
  transform-origin: 50% 40%; will-change: transform;
}
@supports (background-image: image-set(url('x.webp') type('image/webp'))) {
  .hero-bg { background-image: image-set(url('./assets/ab/hero_bay.webp') type('image/webp')); }
}
@media (max-width: 900px) {
  .hero-bg { background-position: center 35%; }
  @supports (background-image: image-set(url('x.webp') type('image/webp'))) {
    .hero-bg { background-image: image-set(url('./assets/ab/hero_bay_m.webp') type('image/webp')); }
  }
}
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 12, 14, .55) 0%, rgba(11, 12, 14, 0) 22%, rgba(11, 12, 14, .12) 48%, rgba(11, 12, 14, .78) 76%, #0b0c0e 100%),
    radial-gradient(ellipse 60% 45% at 50% 72%, rgba(0, 0, 0, .45), transparent 70%);
}
.hero-fade { display: none; }
.hero-content {
  position: relative; z-index: 2; width: var(--wrap);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--topbar-h) + 20px) 0 clamp(40px, calc(70 * var(--u)), 80px);
}
.hero-tag {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 9px 38px 15px;
  background: url('./assets/ab/tag_or.webp') center / 100% 100% no-repeat;
  font-family: var(--fd); font-size: clamp(15px, calc(22 * var(--u)), 22px); letter-spacing: .14em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 2px rgba(80, 30, 0, .55);
}
.hero-title { display: flex; flex-direction: column; align-items: center; margin-top: 12px; }
.hero-title .l1 {
  display: block; font-family: var(--fh); font-weight: 400; text-transform: uppercase;
  font-size: clamp(46px, calc(150 * var(--u)), 168px); line-height: .9; letter-spacing: .01em; color: #eef2f4;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .55);
}
.hero-title .l2 {
  display: block; margin-top: clamp(8px, calc(16 * var(--u)), 18px); font-style: normal;
  font-family: var(--fd); text-transform: uppercase; color: #fff; white-space: nowrap;
  font-size: clamp(18px, calc(48 * var(--u)), 52px); letter-spacing: .12em; line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
}
.hero-title .l2::before { content: "[ "; font-family: var(--fl); }
.hero-title .l2::after { content: " ]"; font-family: var(--fl); }
.hero-tagline { margin: clamp(14px, calc(22 * var(--u)), 24px) 0 0; font-size: clamp(14px, calc(20 * var(--u)), 19px); color: #d9e0e4; max-width: 640px; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.hero-sub { margin: 6px 0 0; font-family: var(--fd); font-size: clamp(14px, calc(20 * var(--u)), 20px); letter-spacing: .1em; text-transform: uppercase; color: var(--txt2); }
.cd-label { margin-top: clamp(18px, calc(30 * var(--u)), 32px); font-family: var(--fd); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: #98a1a8; }
.countdown { display: flex; gap: 10px; margin-top: 10px; justify-content: center; }
.cd-cell {
  position: relative; width: clamp(64px, calc(92 * var(--u)), 92px); padding: 10px 0 8px;
  background: rgba(9, 11, 13, .62); border: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-direction: column; align-items: center;
}
.cd-cell::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--or); }
.cd-cell b { font-family: var(--fh); font-weight: 400; font-size: clamp(28px, calc(44 * var(--u)), 44px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cd-cell small { margin-top: 5px; font-family: var(--fd); font-size: 12px; letter-spacing: .2em; color: #98a1a8; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(22px, calc(36 * var(--u)), 40px); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--fd); font-size: 22px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}
.btn .ico { width: 18px; height: 18px; }
.btn.lg { height: 56px; padding: 0 32px; font-size: 26px; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 18px; }
.btn.block { display: flex; width: 100%; }
.btn-primary { background: var(--or); border-color: #ff8a4f; color: #121210; box-shadow: 0 0 0 1px rgba(0, 0, 0, .55) inset; }
.btn-primary:hover { background: var(--or2); }
.btn-ghost { background: rgba(9, 11, 13, .6); border-color: var(--line3); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(9, 11, 13, .8); }
.btn.not-ready { opacity: .62; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-douyin { background: rgba(9, 11, 13, .7); border-color: rgba(37, 244, 238, .5); color: #fff; box-shadow: inset 3px 0 0 #fe2c55; }
.btn-douyin:hover { border-color: #25f4ee; }
.btn-douyin .dy-soon { display: none; font-family: var(--fb); font-size: 12px; letter-spacing: .02em; text-transform: none; color: var(--txt3); }
.btn-douyin.is-pending { cursor: default; }
.btn-douyin.is-pending:hover { border-color: rgba(37, 244, 238, .5); }
.btn-douyin.is-pending .dy-soon { display: inline; }
.btn-douyin.is-pending .dy-soon::before { content: "·"; margin: 0 6px 0 0; }

.section-head { width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.plate, .rw-title {
  display: flex; align-items: flex-end; justify-content: center; width: 100%;
  min-height: clamp(84px, calc(150 * var(--u)), 150px); padding-bottom: clamp(10px, calc(16 * var(--u)), 16px);
  background: url('./assets/ab/bg_title.png') 50% 100% / auto 100% no-repeat;
  font-family: var(--fd); font-weight: 400; text-transform: uppercase; color: #fff;
  font-size: clamp(34px, calc(62 * var(--u)), 62px); line-height: 1; letter-spacing: .02em;
}
.section-head .sub { margin-top: 12px; font-family: var(--fd); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--txt3); }

.podium-wrap { padding-top: clamp(30px, calc(60 * var(--u)), 70px); }
.podium { width: min(1100px, var(--wrap)); margin: 34px auto 0; display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 18px; align-items: end; }
.pod {
  position: relative; overflow: hidden; text-align: center;
  padding: 28px 18px 22px; min-height: 260px;
  background: linear-gradient(180deg, #181b1f 0%, #101316 100%);
  border: 1px solid var(--line); border-top: 2px solid #363b40;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  transition: border-color .25s ease, transform .25s ease;
}
.pod[data-id] { cursor: pointer; }
.pod[data-id]:hover { transform: translateY(-4px); border-color: rgba(226, 97, 3, .5); }
.pod.p1 { min-height: 320px; border-top-color: var(--or); background: linear-gradient(180deg, rgba(226, 97, 3, .12) 0%, #121518 55%); }
.pod.p2 { border-top-color: #cfcfcf; }
.pod.p3 { border-top-color: #b8743f; }
.pod-beam { display: none; }
.pod-watermark { display: none; }
.pod-medal {
  position: relative; z-index: 1; display: block; margin-bottom: -37px;
  font-family: var(--fh); font-size: 36px; line-height: 1; letter-spacing: .02em;
  background: linear-gradient(180deg, #f4f6f8 0%, #9aa3aa 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .7));
}
.pod-medal::before { content: "0"; }
.p1 .pod-medal { font-size: 44px; margin-bottom: -45px; background-image: linear-gradient(180deg, #ffb27a 0%, #e26103 100%); }
.p3 .pod-medal { background-image: linear-gradient(180deg, #f0c49a 0%, #a8662f 100%); }
.pod-crown { width: 33px; height: 24px; margin-bottom: 2px; background: url('./assets/ab/crown.webp') center / contain no-repeat; }
.pod-crown svg { display: none; }
.pod-ava {
  width: 162px; height: 154px; padding: 56px 48px 32px; object-fit: cover; border: 0;
  background: url('./assets/ab/laurel_2.webp') center / contain no-repeat;
}
.p1 .pod-ava { width: 192px; height: 182px; padding: 69px 57px 35px; background-image: url('./assets/ab/laurel_1.webp'); }
.p3 .pod-ava { background-image: url('./assets/ab/laurel_3.webp'); }
.pod-nick { margin-top: 12px; font-family: var(--fd); font-size: 24px; letter-spacing: .02em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-uid { font-size: 12.5px; color: var(--txt3); letter-spacing: .04em; }
.pod-val { margin-top: 8px; font-family: var(--fh); font-size: 32px; line-height: 1; color: var(--or2); }
.p1 .pod-val { font-size: 38px; }
.pod-meta { margin-top: 10px; }

.board-panel { width: var(--wrap); margin: clamp(40px, calc(70 * var(--u)), 80px) auto 0; }
.board-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line2); }
.seg { display: flex; }
.seg-btn { color: var(--txt2); font-size: 22px; }
.seg-btn.active { color: #fff; }
.tool-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.search { position: relative; display: flex; align-items: center; }
.search .ico { position: absolute; left: 12px; color: var(--txt3); pointer-events: none; }
.search input {
  width: 260px; height: 40px; padding: 0 12px 0 36px;
  background: var(--field); border: 1px solid var(--line2); border-radius: 0; color: var(--txt); font-size: 14px;
}
.search input:focus { outline: none; border-color: var(--or); }
.select {
  height: 40px; padding: 0 32px 0 12px; border-radius: 0; border: 1px solid var(--line2); color: var(--txt);
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23ffffff'/%3E%3C/svg%3E") right 12px center / 9px no-repeat;
  font-family: var(--fd); font-size: 18px; letter-spacing: .02em; appearance: none; -webkit-appearance: none;
}
.select:focus { outline: none; border-color: var(--or); }
.select option { background: #121417; }
.select.block { width: 100%; height: 46px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table th {
  text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line2);
  font-family: var(--fd); font-weight: 400; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--txt3); white-space: nowrap;
}
.rank-table th.sortable { cursor: pointer; }
.rank-table th.sortable:hover { color: #fff; }
.rank-table th .ico-sort { width: 12px; height: 12px; opacity: .6; }
.rank-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rank-table tbody tr { transition: background-color .2s ease; cursor: pointer; }
.rank-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.rank-table tbody tr.me-row { background: rgba(226, 97, 3, .07); box-shadow: inset 3px 0 0 var(--or); }
.rank-table tbody tr.flash { animation: abFlash 1.4s ease 1; }
@keyframes abFlash { from { background: rgba(226, 97, 3, .25); } to { background: transparent; } }
.c-rank { width: 70px; }
.rk { font-family: var(--fh); font-size: 26px; color: var(--txt2); line-height: 1; }
.rk.g1 { color: var(--or2); }
.rk.g2 { color: #e3e3e3; }
.rk.g3 { color: #c98a4d; }
.team-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rk-avatar { width: 40px; height: 40px; object-fit: cover; border: 1px solid var(--line2); background: #0c0e10; flex: 0 0 auto; }
.team-cell-main { min-width: 0; }
.team-cell-main b { display: block; font-family: var(--fd); font-weight: 400; font-size: 20px; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-cell-main small { display: block; font-size: 12px; color: var(--txt3); letter-spacing: .04em; }
.val { font-family: var(--fh); font-size: 24px; color: var(--or2); white-space: nowrap; }
.t-time { font-size: 13px; color: var(--txt2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.thumb-btn { position: relative; width: 64px; height: 40px; padding: 0; border: 1px solid var(--line2); background: #000; overflow: hidden; display: block; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s ease; display: block; }
.thumb-btn:hover img { opacity: 1; }
.thumb-n { position: absolute; right: 2px; bottom: 2px; padding: 0 4px; font-size: 11px; line-height: 15px; background: rgba(0, 0, 0, .75); }
.empty-row td { padding: 54px 12px; text-align: center; color: var(--txt3); cursor: default; }
.board-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; color: var(--txt3); font-size: 13px; }
.pager { display: flex; align-items: center; gap: 6px; color: var(--txt3); }
.pg { min-width: 34px; height: 34px; padding: 0 6px; border: 1px solid var(--line2); background: var(--field); color: var(--txt2); font-family: var(--fd); font-size: 17px; }
.pg:hover:not(:disabled) { border-color: var(--or); color: #fff; }
.pg.active { background: var(--or); border-color: var(--or); color: #121210; }
.pg:disabled { opacity: .35; cursor: default; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px;
  border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: #d2d9de;
  font-family: var(--fd); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; line-height: 1;
}
.chip.gold { color: var(--or2); border-color: rgba(255, 115, 58, .5); background: rgba(226, 97, 3, .08); }
.chip.ok { color: #7fd6a8; border-color: rgba(63, 191, 127, .45); background: rgba(63, 191, 127, .08); }
.chip.warn { color: #f3c06a; border-color: rgba(240, 160, 32, .45); background: rgba(240, 160, 32, .08); }
.chip.bad { color: #ff8b8e; border-color: rgba(229, 72, 77, .5); background: rgba(229, 72, 77, .08); }
.chip.ghost { color: var(--txt2); }

.sub-banner {
  position: relative; overflow: hidden;
  height: clamp(220px, calc(467 * var(--u) + 40px), 520px);
  display: flex; align-items: center; justify-content: center; padding-top: var(--topbar-h);
  background: #0b0c0e url('./assets/ab/banner_bay.webp') center 45% / cover no-repeat;
}
.sub-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 14, .55), rgba(11, 12, 14, .35) 45%, #0b0c0e 100%); pointer-events: none; }
@media (max-width: 600px) { .sub-banner { background-image: url('./assets/ab/banner_bay_m.webp'); background-position: center; } }
.sub-title { position: relative; z-index: 1; font-family: var(--fh); font-size: clamp(42px, calc(90 * var(--u)), 96px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.crumb { width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 0; padding: 20px 0 26px; font-size: 13.5px; color: var(--txt4); }
.crumb::before { content: ""; width: 15px; height: 14px; margin-right: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 1L1 11h3v10h6v-6h4v6h6V11h3z' fill='%23848486'/%3E%3C/svg%3E") center / contain no-repeat; }
.crumb-home { padding: 0; background: none; border: 0; color: var(--txt3); font-size: inherit; }
.crumb-home:hover { color: var(--or2); }
.crumb i { font-style: normal; padding: 0 8px; }
.crumb span { color: var(--txt2); }

.submit-layout { width: var(--wrap); margin: 0 auto; }
.submit-layout.two { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.card { background: var(--bg2); border: 1px solid var(--line); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.card-head h3 { display: flex; align-items: center; gap: 10px; font-family: var(--fd); font-size: 28px; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.card-head h3 .ico { color: var(--or2); width: 20px; height: 20px; }
.card-body { padding: 22px; }
.card-body.no-pad { padding: 0; }
.mine-card.side { position: sticky; top: calc(var(--topbar-h) + 16px); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 18px; }
.field > label { display: block; margin-bottom: 7px; font-family: var(--fd); font-size: 19px; letter-spacing: .03em; text-transform: uppercase; color: #e8ecee; }
.field > label small { margin-left: 6px; font-family: var(--fb); font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--txt3); }
.field > label > span { font-family: var(--fb); font-size: 12.5px; text-transform: none; }
.input {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--field); border: 1px solid rgba(255, 255, 255, .14); border-radius: 0; color: var(--txt);
  font-size: 15px; transition: border-color .2s ease, background-color .2s ease;
}
textarea.input { height: auto; min-height: 70px; padding: 11px 14px; resize: vertical; line-height: 1.45; }
.input::placeholder { color: #5a6268; }
.input:focus { outline: none; border-color: var(--or); background: #0f1215; }
.input:disabled { opacity: .55; }
.input-money { position: relative; }
.input-money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-family: var(--fh); font-size: 20px; color: var(--or2); pointer-events: none; }
.input-money .input { padding-left: 32px; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
.field-msg { display: none; margin-top: 6px; font-size: 12.5px; color: #ff7b7e; }
.field.invalid .field-msg { display: block; }
.field-msg::before { content: "⚠ "; }
.field.invalid .input, .field.invalid select { border-color: var(--red); }
.mates > label { margin-bottom: 7px; }
.mate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mate-grid .field { margin: 0; }

.avatar-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.avatar-prev, .avatar-opt { width: 64px; height: 64px; object-fit: cover; display: block; background: var(--field); flex: 0 0 auto; }
.avatar-prev { border: 2px solid var(--or); }
.avatar-side { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-left: 10px; border-left: 1px solid var(--line2); }
.avatar-opts { display: flex; gap: 10px; }
.avatar-opt { border: 1px solid var(--line2); cursor: pointer; opacity: .72; transition: border-color .2s ease, opacity .2s ease; }
.avatar-opt:hover { opacity: 1; border-color: rgba(226, 97, 3, .6); }
.avatar-opt.active { opacity: 1; border: 2px solid var(--or); }
.avatar-up { display: inline-flex; align-items: center; gap: 8px; height: 64px; padding: 0 16px; border: 1px dashed var(--line3); background: var(--field); cursor: pointer; font-family: var(--fd); font-size: 18px; letter-spacing: .02em; text-transform: uppercase; transition: border-color .2s ease; }
.avatar-up:hover { border-color: var(--or); border-style: solid; }

.hint { display: block; margin: 2px 0 18px; padding: 12px 14px 12px 40px; position: relative; background: rgba(47, 143, 228, .07); border-left: 2px solid var(--blue); color: #c3cbd1; font-size: 14px; line-height: 1.5; }
.hint .ico { position: absolute; left: 14px; top: 14px; color: #7fb4e8; }
.hint strong { color: #fff; font-weight: 700; }

.dropzone {
  position: relative; height: 150px; display: grid; place-items: center; cursor: pointer;
  border: 1px dashed rgba(255, 255, 255, .26); background: var(--field);
  transition: border-color .2s ease, background-color .2s ease, height .25s var(--ease);
}
.dropzone:hover { border-color: var(--or); }
.dropzone.drag { border-style: solid; border-color: var(--or); background: rgba(226, 97, 3, .06); }
.dropzone.compact { height: 82px; }
.dz-inner { text-align: center; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dz-inner .ico { color: var(--txt3); }
.dz-inner b { font-family: var(--fd); font-weight: 400; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
.dz-inner small { font-size: 12.5px; color: var(--txt3); }
.dropzone.compact .dz-inner .ico { display: none; }
.dropzone.compact .dz-inner b { font-size: 17px; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-top: 10px; }
.shot-grid:empty { display: none; }
.shot-grid.check-invalid + .shot-counter, .shot-grid.check-invalid { color: #ff7b7e; }
.shot-cell { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line2); overflow: hidden; background: #000; }
.shot-cell img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; }
.shot-no { position: absolute; left: 4px; bottom: 4px; padding: 0 6px; background: rgba(0, 0, 0, .75); font-family: var(--fd); font-size: 14px; }
.shot-del { position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; border: 0; background: rgba(0, 0, 0, .78); color: #fff; font-size: 16px; line-height: 24px; padding: 0; }
.shot-del:hover { background: var(--red); }
.shot-counter { margin-top: 8px; font-size: 13px; color: var(--txt3); }
.shot-counter b { color: var(--or2); font-weight: 700; }
.shot-counter em { font-style: normal; color: var(--txt4); }
.shot-counter.ok b { color: var(--green); }

.checklist { display: flex; flex-direction: column; gap: 11px; margin: 4px 0 22px; }
.ck { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #c3cbd1; cursor: pointer; line-height: 1.45; }
.ck input { position: absolute; opacity: 0; pointer-events: none; }
.ck span { position: relative; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; border: 1px solid var(--line3); background: var(--field); transition: background-color .15s ease, border-color .15s ease; }
.ck span::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #121210; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .15s ease; }
.ck input:checked + span { background: var(--or); border-color: var(--or); }
.ck input:checked + span::after { transform: rotate(45deg) scale(1); }
.ck input:focus-visible + span { outline: 1px solid var(--or2); outline-offset: 2px; }
.ck.check-invalid span { border-color: var(--red); }

.mine-list { list-style: none; padding: 0; }
.mine-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mine-item:last-child { border-bottom: 0; }
.mi-thumb-wrap { position: relative; flex: 0 0 auto; width: 66px; height: 44px; border: 1px solid var(--line2); overflow: hidden; cursor: zoom-in; background: #000; }
.mi-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.mi-n { position: absolute; right: 2px; bottom: 2px; padding: 0 4px; font-size: 11px; line-height: 15px; background: rgba(0, 0, 0, .75); }
.mi-main { flex: 1; min-width: 0; }
.mi-main b { display: block; font-family: var(--fh); font-weight: 400; font-size: 21px; color: var(--or2); line-height: 1.1; }
.mi-main small { display: block; font-size: 12px; color: var(--txt3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-cmt { display: block; margin-top: 3px; font-size: 12px; color: #f3c06a; }

.rw-head { width: var(--wrap); margin: 0 auto 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rw-sub { margin: 14px 0 0; max-width: 680px; color: var(--txt2); font-size: 15px; line-height: 1.55; }
.rw-sub strong { color: var(--or2); font-weight: 700; }
.rw-title-sm { font-size: clamp(28px, calc(50 * var(--u)), 50px); min-height: clamp(70px, calc(120 * var(--u)), 120px); }
.rw-stats { width: min(900px, var(--wrap)); margin: 0 auto 34px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.rw-stat { padding: 18px 12px; text-align: center; }
.rw-stat + .rw-stat { border-left: 1px solid var(--line); }
.rw-stat b { display: block; font-family: var(--fh); font-weight: 400; font-size: 38px; line-height: 1; color: var(--or2); }
.rw-stat span { display: block; margin-top: 8px; font-family: var(--fd); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--txt3); }
.rw-ladder { width: min(1120px, var(--wrap)); margin: 0 auto; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rw-row { --tier: #5d6266; display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 18px 26px 18px 22px; background: var(--bg2); border: 1px solid var(--line); border-left: 3px solid var(--tier); transition: border-color .25s ease, background-color .25s ease; }
.rw-row:hover { border-color: var(--line2); border-left-color: var(--tier); background-color: var(--panel); }
.rw-1 { --tier: #ff733a; background: linear-gradient(90deg, rgba(226, 97, 3, .16), var(--bg2) 55%); padding-top: 26px; padding-bottom: 26px; }
.rw-1:hover { background: linear-gradient(90deg, rgba(226, 97, 3, .2), var(--panel) 55%); }
.rw-2 { --tier: #dcdcdc; }
.rw-3 { --tier: #b8743f; }
.rw-pos { display: flex; align-items: baseline; gap: 8px; }
.rw-pos small { font-family: var(--fd); font-size: 15px; letter-spacing: .14em; color: var(--txt3); }
.rw-pos b { font-family: var(--fh); font-weight: 400; font-size: 40px; line-height: 1; color: #fff; white-space: nowrap; }
.rw-1 .rw-pos b { font-size: 54px; color: var(--or2); }
.rw-4 .rw-pos b, .rw-5 .rw-pos b { font-size: 32px; }
.rw-amt { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0; }
.rw-amt b { font-family: var(--fh); font-weight: 400; font-size: 36px; line-height: 1; color: var(--or2); }
.rw-1 .rw-amt b { font-size: 46px; }
.rw-amt span { font-size: 15px; color: var(--txt2); }
.rw-items { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.rw-items li { padding: 7px 12px; background: var(--panel2); border: 1px solid var(--line2); font-size: 14px; color: #d3d9de; white-space: nowrap; }
.rw-gifts { width: min(1120px, var(--wrap)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rw-gift { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px 22px; background: var(--bg2); border: 1px solid var(--line); border-top: 2px solid #25f4ee; }
.rw-gift b { font-family: var(--fh); font-weight: 400; font-size: 48px; line-height: 1; color: #25f4ee; }
.rw-gift small { margin-top: 4px; font-family: var(--fd); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--txt3); }
.rw-gift span { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; font-size: 16px; color: #e6eaed; }
.rw-pool-head { margin-top: 64px; }
.rw-pool-cta { display: flex; justify-content: center; margin-top: 24px; }
.rw-foot { width: var(--wrap); margin: 30px auto 0; text-align: center; font-size: 13px; color: var(--txt4); }
@media (max-width: 900px) {
  .rw-row { grid-template-columns: 96px minmax(0, 1fr); gap: 10px 16px; padding: 16px 16px 16px 14px; }
  .rw-items { grid-column: 1 / -1; justify-content: flex-start; }
  .rw-pos b { font-size: 34px; }
  .rw-1 .rw-pos b { font-size: 44px; }
  .rw-4 .rw-pos b, .rw-5 .rw-pos b { font-size: 26px; }
}
@media (max-width: 600px) {
  .rw-stats { margin-bottom: 24px; }
  .rw-stat { padding: 14px 4px; }
  .rw-stat b { font-size: 28px; }
  .rw-stat span { font-size: 11px; letter-spacing: .06em; }
  .rw-row { grid-template-columns: 78px minmax(0, 1fr); padding: 14px 14px 14px 12px; }
  .rw-1 { padding-top: 18px; padding-bottom: 18px; }
  .rw-pos { flex-direction: column; gap: 0; }
  .rw-pos small { font-size: 12px; }
  .rw-amt { flex-direction: column; gap: 4px; }
  .rw-amt b { font-size: 30px; }
  .rw-1 .rw-amt b { font-size: 36px; }
  .rw-amt span { font-size: 13px; }
  .rw-items li { font-size: 13px; padding: 6px 10px; white-space: normal; }
  .rw-gifts { grid-template-columns: 1fr; gap: 8px; }
  .rw-gift { flex-direction: row; flex-wrap: wrap; align-items: baseline; text-align: left; gap: 0 8px; padding: 14px 16px; border-top-width: 1px; border-left: 3px solid #25f4ee; }
  .rw-gift b { font-size: 32px; }
  .rw-gift small { margin: 0; }
  .rw-gift span { margin: 0 0 0 auto; padding: 0; border: 0; width: auto; font-size: 15px; text-align: right; }
}

.modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 16px; }
.modal.open { display: grid; }
.modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); }
.modal-box { position: relative; width: min(680px, 100%); max-height: 86vh; overflow: auto; background: var(--bg2); border: 1px solid var(--line2); border-top: 2px solid var(--or); }
.modal-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.modal-head h4 { font-family: var(--fd); font-size: 28px; letter-spacing: .02em; text-transform: uppercase; }
.icon-btn { width: 36px; height: 36px; border: 1px solid var(--line2); background: none; color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center; padding: 0; transition: border-color .2s ease; }
.icon-btn:hover { border-color: var(--or); }
.modal-body { padding: 20px 22px 24px; font-size: 14.5px; line-height: 1.65; color: #c3cbd1; }
.modal-body ol { padding-left: 22px; }
.modal-body ol li { margin-bottom: 11px; padding-left: 4px; }
.modal-body ol li::marker { color: var(--or2); font-family: var(--fd); }
.modal-body ul { padding-left: 18px; }
.modal-body strong { color: #fff; }

.lightbox { position: fixed; inset: 0; z-index: 1100; display: none; place-items: center; padding: 56px 16px; background: rgba(0, 0, 0, .93); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 112px); object-fit: contain; border: 1px solid var(--line2); }
.lb-close, .lb-nav { position: absolute; border: 1px solid var(--line2); background: rgba(0, 0, 0, .6); color: #fff; padding: 0; transition: border-color .2s ease; }
.lb-close:hover, .lb-nav:hover { border-color: var(--or); }
.lb-close { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 26px; }
.lb-nav { top: 50%; width: 46px; height: 64px; margin-top: -32px; font-size: 32px; }
.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font-family: var(--fd); font-size: 18px; letter-spacing: .1em; color: var(--txt2); }

.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 1200; display: grid; gap: 10px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; min-width: 270px; max-width: 400px; padding: 12px 16px;
  background: #15181b; border: 1px solid var(--line2); border-left: 3px solid var(--blue); box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  animation: abToastIn .3s var(--ease) 1; pointer-events: auto;
}
.toast.ok { border-left-color: var(--green); }
.toast.err { border-left-color: var(--red); }
.toast.out { animation: abToastOut .3s ease 1 forwards; }
.toast i.dot { width: 7px; height: 7px; flex: 0 0 auto; background: var(--blue); }
.toast.ok i.dot { background: var(--green); }
.toast.err i.dot { background: var(--red); }
.toast b { display: block; font-family: var(--fd); font-weight: 400; font-size: 19px; letter-spacing: .02em; text-transform: uppercase; }
.toast small { display: block; font-size: 12.5px; color: var(--txt2); }
@keyframes abToastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes abToastOut { to { opacity: 0; transform: translateY(6px); } }

.site-footer { display: flex; justify-content: center; align-items: center; padding: 30px 16px; background: var(--bg2); border-top: 1px solid var(--line); }
.footer-logo { height: 40px; width: auto; opacity: .9; }

.anim .hero-content > *, .anim .topbar, .anim .podium-wrap, .anim .board-panel { opacity: 0; }

@media (max-width: 1200px) {
  .topbar-inner { gap: 18px; }
  .mtab { padding: 0 16px; font-size: 21px; }
  .brand-text strong { font-size: 19px; }
  .live-chip { display: none; }
  .submit-layout.two { grid-template-columns: 1fr; }
  .mine-card.side { position: static; }
}
@media (max-width: 900px) {
  .topbar-inner { flex-wrap: wrap; align-content: center; row-gap: 6px; padding-top: 8px; padding-bottom: 6px; }
  .brand { gap: 12px; }
  .brand-logo { height: 30px; }
  .brand-text { padding-left: 12px; }
  .brand-text strong { font-size: 17px; }
  .brand-text span { font-size: 11px; }
  .topbar-right { margin-left: auto; padding-left: 0; border-left: 0; gap: 8px; }
  .main-tabs { order: 3; width: 100%; margin: 0; justify-content: space-between; height: 40px; }
  .mtab { flex: 1; justify-content: center; height: 40px; padding: 0 6px; font-size: 20px; }
  .lang-select { height: 32px; max-width: 112px; font-size: 16px; padding: 0 24px 0 28px; background-position: 7px 50%; }
  .user-chip { padding: 2px; }
  .user-meta { display: none; }
  .user-chip.open .user-meta { display: block; position: absolute; right: 16px; top: 52px; padding: 8px 12px; background: #121417; border: 1px solid var(--line2); }
  .hero { min-height: 600px; }
  .podium { gap: 10px; }
  .pod { padding: 18px 8px 16px; min-height: 200px; }
  .pod.p1 { min-height: 236px; }
  .pod-medal { font-size: 22px; margin-bottom: -23px; }
  .p1 .pod-medal { font-size: 26px; margin-bottom: -26px; }
  .pod-ava { width: 98px; height: 93px; padding: 35px 29px 18px; }
  .p1 .pod-ava { width: 111px; height: 105px; padding: 40px 33px 20px; }
  .pod-nick { font-size: 18px; }
  .pod-val { font-size: 22px; }
  .p1 .pod-val { font-size: 26px; }
  .pod-meta { display: none; }
  .board-toolbar { flex-direction: column; align-items: stretch; }
  .seg { justify-content: center; }
  .tool-right { display: grid; grid-template-columns: 1fr auto; }
  .search { grid-column: 1 / -1; }
  .search input { width: 100%; }
  #btnMyRank { justify-content: center; }
}
@media (max-width: 760px) {
  .rank-table th.c-map, .rank-table th.c-time, .rank-table th.c-cnt,
  .rank-table td:nth-child(4), .rank-table td:nth-child(5), .rank-table td:nth-child(6) { display: none; }
  .rank-table td, .rank-table th { padding: 11px 8px; }
  .c-rank { width: 46px; }
  .rk { font-size: 22px; }
  .val { font-size: 20px; }
  .team-cell-main b { font-size: 17px; max-width: 42vw; }
  .rk-avatar { width: 34px; height: 34px; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .topbar-inner { flex-wrap: nowrap; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 44px 40px; row-gap: 6px; padding-top: 6px; padding-bottom: 6px; }
  .brand-text { display: none; }
  .brand-logo { height: 28px; }
  .topbar-right { justify-self: end; }
  .main-tabs { grid-column: 1 / -1; }
  .mtab { font-size: 19px; }
  .rank-table th.c-act, .rank-table td:nth-child(7) { display: none; }
  .team-cell-main small { white-space: nowrap; }
  .hero-tag { min-height: 42px; padding: 8px 22px 12px; letter-spacing: .1em; font-size: 14px; }
  .hero-title .l2 { white-space: normal; }
  .countdown { gap: 6px; }
  .hero-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { width: 100%; padding: 0 10px; font-size: 21px; height: 50px; }
  .hero-actions .btn-douyin { grid-column: 1 / -1; }
  .card-head { padding: 14px 16px; }
  .card-head h3 { font-size: 23px; }
  .card-body { padding: 16px; }
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  .mate-grid { grid-template-columns: 1fr; gap: 8px; }
  .avatar-side { display: contents; }
  .avatar-up { width: 100%; height: 48px; justify-content: center; }
  .rw-pool-cta .btn { width: 100%; }
  .toast-wrap { left: 12px; right: 12px; bottom: 12px; }
  .toast { min-width: 0; max-width: none; }
  .modal-head h4 { font-size: 23px; }
  .modal-body { padding: 16px; }
  .lb-nav { width: 38px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .anim .hero-content > *, .anim .topbar, .anim .podium-wrap, .anim .board-panel { opacity: 1; }
}
html, body { overflow-x: hidden; overscroll-behavior-x: none; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
.rw-pool-cta { width: var(--wrap); margin-left: auto; margin-right: auto; }
@media (max-width: 900px), (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
}
