@font-face {
  font-family: "JinqiuTitle";
  src: url("./素材/字体/shanhaiqingfengheiw.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg-dark: #070b18;
  --bg-card: #121933;
  --bg-glass: rgba(18, 25, 51, 0.7);
  --border-color: #202b55;
  --gold: #d8b46a;
  --gold-dim: #a68b4f;
  --text-main: #f5f7ff;
  --text-dim: #9ca8c7;
  --gradient-primary: linear-gradient(135deg, #6246ff, #8f5bff);
  --gradient-gold: linear-gradient(135deg, #d8b46a, #f5d491);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", -apple-system, sans-serif;
  background:
    linear-gradient(rgba(7,11,24,.38), rgba(7,11,24,.56)),
    url("./素材/背景.webp") center top / cover no-repeat fixed;
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  mix-blend-mode: screen;
  opacity: .6;
}

.orb-blue {
  width: 28vw;
  height: 28vw;
  left: 10%;
  top: 12%;
  background: radial-gradient(circle, rgba(76,140,255,.22), transparent 68%);
  animation: ambientFloat 18s ease-in-out infinite alternate;
}

.orb-gold {
  width: 34vw;
  height: 34vw;
  right: 6%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(216,180,106,.18), transparent 68%);
  animation: ambientPulse 14s ease-in-out infinite;
}

.orb-violet {
  width: 22vw;
  height: 22vw;
  right: 18%;
  top: 18%;
  background: radial-gradient(circle, rgba(143,91,255,.18), transparent 68%);
  animation: ambientFloat 16s ease-in-out infinite alternate-reverse;
}

/* 布局容器 */
.app-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 导航栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(180deg, rgba(7,11,24,.82), rgba(7,11,24,.68));
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 48px;
  height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
}

.brand-year {
  font-size: 16px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a,
.nav-link-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  text-decoration: none;
  color: rgba(229,236,255,.72);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: .22s ease;
}

.nav-links a:hover,
.nav-link-btn:hover {
  color: #fff4cf;
  background: rgba(255,255,255,.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-group {
  display: flex;
  gap: 8px;
}

.hidden {
  display: none !important;
}

.wallet-panel {
  position: relative;
}

.wallet-env-hint {
  margin-top: 8px;
  max-width: 260px;
  color: rgba(214,224,248,.78);
  font-size: 12px;
  line-height: 1.5;
}

.wallet-env-hint.is-wallet {
  color: #fff0bf;
}

.wallet-menu-wrap {
  position: relative;
}

.wallet-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7,11,24,.88);
  color: #fff;
  cursor: pointer;
}

.wallet-chip-balance {
  color: var(--gold);
  font-weight: 800;
}

.wallet-chip-address {
  color: #e8ecff;
  font-weight: 700;
}

.wallet-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: rgba(5, 9, 22, .96);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}

.wallet-dropdown button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #f3f6ff;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.wallet-dropdown button:hover {
  background: rgba(255,255,255,.06);
}

.wallet-dropdown .danger {
  color: #ff7f93;
}

.result-ticker {
  position: sticky;
  top: 79px;
  z-index: 999;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(9,14,31,.92), rgba(7,11,24,.84));
  backdrop-filter: blur(16px) saturate(135%);
  overflow: hidden;
}

.result-ticker::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -22%;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), rgba(255,230,166,.10), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
  animation: tickerSheen 7.5s ease-in-out infinite;
}

.result-ticker-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 48px;
  padding: 0 32px;
}

.result-ticker-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(216,180,106,.2);
  background: rgba(216,180,106,.08);
  color: #fff0bc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.result-ticker-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd87a;
  box-shadow: 0 0 0 0 rgba(255,216,122,.38), 0 0 10px rgba(255,216,122,.28);
  animation: tickerPulse 1.9s ease-out infinite;
}

.result-ticker-marquee {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.result-ticker-marquee::before,
.result-ticker-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 1;
  pointer-events: none;
}

.result-ticker-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(8,12,28,.98), rgba(8,12,28,.38), transparent);
}

.result-ticker-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(8,12,28,.98), rgba(8,12,28,.38), transparent);
}

.result-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-width: max-content;
  will-change: transform;
  transform: translate3d(var(--ticker-start-x, 100%), 0, 0);
  animation: tickerMove var(--ticker-duration, 18s) linear infinite;
}

.result-ticker:hover .result-ticker-track {
  animation-play-state: paused;
}

.result-ticker-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(231,238,255,.88);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: opacity .28s ease, filter .28s ease, transform .28s ease;
}

.result-ticker-text.ticker-refresh {
  animation: tickerRefresh .34s ease;
}

.result-ticker-segment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.result-ticker-key {
  color: rgba(205,215,239,.68);
  font-size: 12px;
  font-weight: 700;
}

.result-ticker-value {
  color: #f7fbff;
  font-size: 13px;
  font-weight: 800;
}

.result-ticker-segment.is-round .result-ticker-value,
.result-ticker-segment.is-welcome .result-ticker-value {
  color: #fff1bf;
}

.result-ticker-segment.is-balls .result-ticker-value {
  color: #cfdcff;
}

.result-ticker-balls {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.result-ticker-ball {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(216,180,106,.28);
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.22), rgba(255,233,173,.12) 34%, rgba(216,180,106,.08) 70%, rgba(216,180,106,.02) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 6px 14px rgba(0,0,0,.12);
  color: #fff2c9;
  font-size: 12px;
  font-weight: 900;
}

.result-ticker-balls-empty {
  color: rgba(205,215,239,.58);
}

.result-ticker-segment.is-hit .result-ticker-value {
  color: #d8c4ff;
}

.result-ticker-segment.is-wins .result-ticker-value {
  color: #9ff0c0;
}

@keyframes tickerMove {
  from { transform: translate3d(var(--ticker-start-x, 100%), 0, 0); }
  to { transform: translate3d(var(--ticker-end-x, -100%), 0, 0); }
}

@keyframes tickerRefresh {
  0% { opacity: .64; filter: blur(2px); transform: translateY(2px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes tickerPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,216,122,.36), 0 0 10px rgba(255,216,122,.26); opacity: .95; }
  70% { box-shadow: 0 0 0 8px rgba(255,216,122,0), 0 0 16px rgba(255,216,122,.12); opacity: 1; }
  100% { box-shadow: 0 0 0 0 rgba(255,216,122,0), 0 0 10px rgba(255,216,122,.20); opacity: .92; }
}

@keyframes tickerSheen {
  0% { transform: translateX(0) skewX(-22deg); opacity: 0; }
  12% { opacity: .75; }
  32% { transform: translateX(760%) skewX(-22deg); opacity: 0; }
  100% { transform: translateX(760%) skewX(-22deg); opacity: 0; }
}

/* 英雄区 */
.hero-section {
  display: flex;
  align-items: flex-start;
  gap: clamp(36px, 4vw, 64px);
  padding: 76px 40px 42px;
  background:
    radial-gradient(circle at 10% 18%, rgba(98,70,255,.12) 0%, transparent 38%),
    radial-gradient(circle at 82% 36%, rgba(216,180,106,.08) 0%, transparent 30%);
}

.hero-left {
  position: relative;
  flex: 1.12;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  isolation: isolate;
}

.hero-left::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(216,180,106,.18), transparent 40%),
    radial-gradient(circle at 62% 58%, rgba(122,92,255,.14), transparent 52%),
    radial-gradient(circle at 35% 65%, rgba(255,115,72,.08), transparent 56%);
  filter: blur(28px);
  z-index: 0;
}

.hero-visual-shell {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 13px;
  border-radius: 35px;
  background: linear-gradient(180deg, rgba(86,95,255,.10), rgba(24,29,74,.03));
  border: 1px solid rgba(132,138,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 0 0 1px rgba(255,255,255,.015), 0 0 18px rgba(93,91,255,.10), 0 0 40px rgba(198,74,255,.04);
  overflow: visible;
}

.hero-video-shell::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 38px;
  background: radial-gradient(circle at 12% 18%, rgba(142,154,255,.16), transparent 22%), radial-gradient(circle at 86% 12%, rgba(173,92,255,.10), transparent 24%), radial-gradient(circle at 82% 88%, rgba(255,92,124,.06), transparent 18%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

.hero-video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 35px;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(210,220,255,.12), inset 1px 0 0 rgba(170,176,255,.06), inset -1px 0 0 rgba(130,98,255,.06), inset 0 -1px 0 rgba(255,98,151,.06);
}

.hero-video-frame {
  position: relative;
  border-radius: 29px;
  overflow: hidden;
  background: #04060d;
  box-shadow: 0 28px 64px rgba(0,0,0,.26);
}

.hero-video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 10%),
    linear-gradient(0deg, rgba(5,7,15,.42), rgba(5,7,15,.10) 22%, transparent 42%),
    radial-gradient(circle at 50% 50%, transparent 64%, rgba(5,7,15,.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 29px;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(244,247,255,.14), inset 0 0 0 2px rgba(60,74,150,.16);
}

.hero-media {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 20px 42px rgba(0,0,0,.18);
}

.hero-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 82px;
  height: 82px;
  margin: -41px 0 0 -41px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.16), rgba(18,24,60,.84) 56%, rgba(7,11,31,.96) 100%);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 10px rgba(98,70,255,.06), 0 0 22px rgba(98,70,255,.14), 0 16px 34px rgba(0,0,0,.28);
  cursor: pointer;
  transition: opacity .24s ease, transform .24s ease, box-shadow .24s ease;
}

.hero-play-btn:hover {
  transform: scale(1.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 12px rgba(98,70,255,.07), 0 0 26px rgba(98,70,255,.18), 0 18px 40px rgba(0,0,0,.32);
}

.hero-play-icon {
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid rgba(255,255,255,.96);
  transform: translateX(4px);
  filter: drop-shadow(0 2px 8px rgba(255,255,255,.12));
}

.hero-video-frame.is-playing .hero-play-btn {
  opacity: 0;
  transform: scale(.84);
  pointer-events: none;
}

.hero-video-meta {
  position: absolute;
  left: 17px;
  bottom: 17px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(102,84,255,.16);
  background: linear-gradient(90deg, rgba(6,10,24,.90), rgba(8,12,30,.74));
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), inset 0 -1px 0 rgba(255,255,255,.025), 0 8px 20px rgba(0,0,0,.18), 0 0 12px rgba(98,70,255,.06);
}

.hero-video-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b5f;
  box-shadow: 0 0 0 3px rgba(255,59,95,.10), 0 0 8px rgba(255,59,95,.22);
}

.hero-video-title {
  color: rgba(250,252,255,.96);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.hero-video-sep {
  color: rgba(255,92,124,.82);
  font-size: 14px;
  line-height: 1;
}

.hero-video-live {
  color: #ff4d6d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
}

.hero-video-copy,
.hero-video-line,
.hero-video-desc,
.hero-video-divider {
  display: none;
}

.hero-right {
  flex: .92;
  max-width: 620px;
  padding-top: 8px;
}

.hero-eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(216,180,106,.28);
  background: rgba(10,14,30,.42);
  color: rgba(255,227,180,.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.hero-title {
  margin: 0 0 20px;
  line-height: .92;
  letter-spacing: -.03em;
  font-weight: 900;
  overflow: visible;
}

.hero-title-line {
  display: block;
  font-family: "Alibaba PuHuiTi 3.0", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 900;
  text-wrap: balance;
  transform-origin: left center;
}

.hero-title-metal,
.hero-title-gold {
  display: inline-block;
  transform: none;
}

.hero-title-metal {
  margin-bottom: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 38%, #dde5f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0 transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.16), 0 10px 18px rgba(0,0,0,.08);
}

.hero-title-gold {
  background: linear-gradient(180deg, #fff6cf 0%, #ffe89d 28%, #e5bb55 66%, #b97d1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0 transparent;
  text-shadow: 0 8px 18px rgba(255,210,112,.10);
}

.hero-subtitle {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: clamp(17px, 1.9vw, 19px);
  line-height: 1.72;
  letter-spacing: .01em;
  color: rgba(224,231,248,.82);
}

.hero-subtitle-line {
  display: block;
}

.hero-btns {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.hero-btn-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex: 0 0 28px;
}

.hero-btn-icon::before,
.hero-btn-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.hero-primary .hero-btn-icon {
  background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(201,145,34,.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 6px rgba(120,74,8,.10);
}

.hero-secondary .hero-btn-icon {
  background: linear-gradient(180deg, rgba(126,106,255,.18), rgba(43,30,96,.22));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 0 10px rgba(111,92,255,.10);
}

.hero-btn-icon-ball::before {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(40,24,0,.86);
  border-radius: 50%;
}

.hero-btn-icon-ball::after {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(40,24,0,.86);
}

.hero-btn-icon-cup::before {
  width: 12px;
  height: 10px;
  top: 6px;
  border: 2px solid #f1d38d;
  border-bottom-width: 3px;
  border-radius: 0 0 6px 6px;
  border-top: 0;
}

.hero-btn-icon-cup::after {
  width: 10px;
  height: 8px;
  bottom: 4px;
  border-top: 2px solid #f1d38d;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
}

.hero-btn-text {
  line-height: 1;
}

.hero-primary,
.hero-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .01em;
  cursor: pointer;
  overflow: hidden;
}

.hero-primary::before,
.hero-secondary::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: 17px 17px 12px 12px;
  pointer-events: none;
}

.hero-primary {
  background: linear-gradient(180deg, #fff0bc 0%, #f8d979 18%, #efbf4c 48%, #d5982a 78%, #bf7818 100%);
  color: #251700;
  border: 1px solid rgba(255,232,170,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), inset 0 -1px 0 rgba(135,79,9,.24), 0 0 18px rgba(255,199,86,.16), 0 14px 26px rgba(114,72,10,.26);
}

.hero-primary::before {
  background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.10) 58%, transparent 100%);
}

.hero-secondary {
  background: linear-gradient(180deg, rgba(14,18,38,.78), rgba(8,11,25,.72));
  color: #f4f7ff;
  border: 1px solid rgba(121,103,255,.24);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), inset 0 -1px 0 rgba(0,0,0,.20), inset 0 0 0 1px rgba(92,70,220,.16), 0 0 0 1px rgba(121,103,255,.10), 0 0 20px rgba(101,81,255,.14), 0 12px 26px rgba(0,0,0,.24);
}

.hero-secondary::before {
  background: linear-gradient(180deg, rgba(136,126,255,.16), rgba(136,126,255,.04) 58%, transparent 100%);
}

.hero-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(102,166,255,.62), rgba(116,92,255,.84), rgba(198,112,255,.42));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .82;
  pointer-events: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(7,11,24,.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  color: rgba(234,239,255,.88);
  font-size: 12px;
  font-weight: 700;
}

.hero-point-icon {
  color: var(--gold);
  font-size: 13px;
}

.hero-point-text {
  letter-spacing: .01em;
}

/* 核心玩法 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 40px 24px;
}

.feature-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 156px;
  padding: 22px 22px 22px 18px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(18,25,51,.96), rgba(11,18,42,.92));
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,180,106,.12), transparent 68%);
}

.feature-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 20px rgba(0,0,0,.18);
}

.feature-train .feature-icon { background: linear-gradient(135deg, rgba(216,180,106,.22), rgba(216,180,106,.08)); color: #ffd98c; }
.feature-vote .feature-icon { background: linear-gradient(135deg, rgba(143,91,255,.26), rgba(98,70,255,.10)); color: #d4c0ff; }
.feature-buyback .feature-icon { background: linear-gradient(135deg, rgba(87,202,140,.22), rgba(87,202,140,.08)); color: #9ff0c0; }

.feature-body {
  flex: 1;
}

.feature-tag {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(216,180,106,.10);
  border: 1px solid rgba(216,180,106,.2);
}

.feature-body h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  color: #fff;
}

.feature-body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.feature-arrow {
  font-size: 28px;
  color: rgba(255,255,255,.28);
}

/* 数据卡片 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 8px 40px 40px;
}

.stat-card {
  position: relative;
  min-height: 128px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(9,16,38,.56), rgba(5,10,26,.42)) padding-box,
    linear-gradient(135deg, rgba(255,255,255,.20), rgba(134,171,255,.28) 30%, rgba(170,112,255,.24) 64%, rgba(255,195,138,.20) 100%) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 30px rgba(0,0,0,.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 34%);
  pointer-events: none;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.stat-card-pool::after { box-shadow: inset 0 1px 0 rgba(255,222,150,.16), inset 1px 0 0 rgba(255,222,150,.10), inset -1px 0 0 rgba(120,156,255,.06); }
.stat-card-glory::after { box-shadow: inset 0 1px 0 rgba(214,168,255,.16), inset 1px 0 0 rgba(214,168,255,.10), inset -1px 0 0 rgba(126,160,255,.06); }
.stat-card-round::after { box-shadow: inset 0 1px 0 rgba(160,196,255,.16), inset 1px 0 0 rgba(160,196,255,.10), inset -1px 0 0 rgba(196,132,255,.06); }
.stat-card-clock::after { box-shadow: inset 0 1px 0 rgba(255,184,150,.16), inset 1px 0 0 rgba(255,184,150,.10), inset -1px 0 0 rgba(176,132,255,.06); }

.stat-icon,
.stat-content {
  position: relative;
  z-index: 1;
}

.stat-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.stat-icon::before {
  content: none;
}

.pool-icon {
  background-image: url("./素材/图标/训练场奖池.webp");
  background-size: 48px 48px;
  background-position: center 49%;
}
.glory-icon {
  background-image: url("./素材/图标/荣耀池余额.webp");
  background-size: 42px 42px;
  background-position: center 50%;
}
.round-icon {
  background-image: url("./素材/图标/当前轮次.webp");
  background-size: 43px 43px;
  background-position: center 50%;
}
.clock-icon {
  background-image: url("./素材/图标/开奖倒计时.webp");
  background-size: 40px 40px;
  background-position: center 50%;
}

.stat-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-label {
  color: rgba(232,237,251,.92);
  font-size: 14px;
  font-weight: 700;
}

.stat-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.stat-prefix {
  color: rgba(240,244,255,.86);
  font-size: 22px;
  font-weight: 800;
}

.stat-value {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #f8fbff;
}

.stat-unit {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(216,180,106,.9);
}

.stat-note {
  color: rgba(201,211,236,.64);
  font-size: 12px;
  font-weight: 600;
}

.stat-chip,
.stat-status,
.stat-kicker,
.stat-top,
.stat-main,
.stat-meta {
  display: none;
}

.stat-input {
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  color: #f8fbff;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.05;
  font-weight: 900;
  width: 100%;
  outline: none;
}

/* 功能方块 */
.entries-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 0 40px 40px;
}

.entry-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(15,22,46,.94), rgba(8,13,31,.92)) padding-box,
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(132,168,255,.16), rgba(201,141,255,.12), rgba(255,208,146,.12)) border-box;
  border: 1px solid transparent;
  border-radius: 24px;
  box-shadow: 0 22px 56px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 34%);
  pointer-events: none;
}

.entry-card.highlight {
  border-color: rgba(216,180,106,.26);
  box-shadow: 0 22px 52px rgba(0,0,0,.26), 0 0 0 1px rgba(216,180,106,.08);
}

.entry-head,
.entry-body,
.entry-foot { position: relative; z-index: 1; }

.entry-head {
  padding: 18px 22px;
  background: rgba(255,255,255,.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.entry-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.entry-title i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  font-style: normal;
}

.entry-title h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.icon-config::before { content: "◫"; color: #cfd8ff; }
.icon-board::before { content: "◎"; color: #ffe0a2; }
.icon-soccer::before { content: "⚽"; color: #ffe0a2; }
.icon-proposal::before { content: "🏆"; color: #ddccff; }
.icon-buyback::before { content: "↺"; color: #9ff0c0; }
.icon-log::before { content: "≡"; color: #ffcfbf; }

.status-tag,
.status-dot {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  color: #eef3ff;
  font-size: 12px;
  font-weight: 700;
}

.entry-body {
  padding: 22px;
  flex: 1;
}

.entry-foot {
  padding: 14px 22px;
  background: rgba(255,255,255,.02);
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(255,255,255,.06);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.divider {
  height: 1px;
  margin: 14px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}

.notice-box {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(216,180,106,.16);
  background: rgba(216,180,106,.07);
  color: rgba(255,238,205,.9);
  font-size: 13px;
  line-height: 1.7;
}

/* 通用组件 */
.pill {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

.pill.info { background: #18244d; color: #dbe6ff; }
.pill.warning { background: #4a3414; color: #ffe9c7; }
.pill.success { background: #143824; color: #d8ffe5; }
.pill.muted { background: #24305d; color: #cdd8ff; }

.gold-text { color: var(--gold); }
.gold-bar { width: 4px; height: 24px; background: var(--gold); border-radius: 2px; }

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 40px 40px 20px;
}

.section-header.center { justify-content: center; }

.gradient-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}



.mini-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: #eef3ff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.mini-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(216,180,106,.28);
}

.mini-btn.primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: 0 12px 24px rgba(98,70,255,.22);
}

.action-link {
  min-height: 38px;
  padding: 0 4px;
  background: transparent;
  border: none;
  color: rgba(222,230,250,.82);
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}

.action-link.gold { color: var(--gold); }

/* 输入框微调 */
input, textarea, select {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  width: 100%;
  font-size: 13px;
  margin-bottom: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

input::placeholder,
textarea::placeholder { color: rgba(195,205,232,.44); }

.field-mini {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.field-mini label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(204,214,239,.72);
  margin-bottom: 6px;
}

.entry-card-training .entry-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.entry-card-training .entry-body.training-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 18px;
  align-items: start;
}

.training-stage-left {
  min-height: 100%;
  min-width: 0;
  width: 100%;
}

.training-side-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  width: min(100%, 360px);
  max-width: 360px;
  justify-self: end;
}

.entry-card-training {
  overflow: visible;
}

.training-action-card {
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 28px rgba(0,0,0,.12);
  padding: 14px;
}

.training-stage-head.compact {
  margin-bottom: 10px;
}

.training-eligibility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.training-eligibility-label {
  color: rgba(204,214,239,.72);
  font-size: 12px;
  font-weight: 700;
}

.training-eligibility-badge.eligible {
  color: #a8f3c7;
  background: rgba(66,190,122,.12);
  border-color: rgba(66,190,122,.24);
}

.training-eligibility-badge.ineligible {
  color: #ffb1bd;
  background: rgba(255,92,120,.10);
  border-color: rgba(255,92,120,.22);
}

.training-eligibility-badge.waiting {
  color: #cad7fb;
}

.training-eligibility-note {
  margin-bottom: 10px;
  color: rgba(214,224,248,.68);
  font-size: 12px;
  line-height: 1.6;
}

.training-action-buttons {
  margin: 0;
}

.training-action-buttons .mini-btn.primary {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  font-size: 15px;
}

.training-action-buttons .mini-btn.primary[disabled] {
  opacity: .52;
  cursor: not-allowed;
  box-shadow: none;
  filter: saturate(.75);
}

.training-action-card,
.training-summary-stack,
.training-records-panel {
  min-width: 0;
}

.training-summary-stack,
.training-summary-row.compact.training-summary-stack {
  grid-template-columns: 1fr;
  gap: 10px;
}

.training-stage,
.training-records-panel,
.training-service-panel,
.training-claim-box,
.training-stat {
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 28px rgba(0,0,0,.12);
}

.training-stage {
  padding: 14px;
}

.training-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.training-stage-head strong,
.training-records-head strong {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.training-stage-head span {
  color: rgba(214,224,248,.62);
  font-size: 12px;
  font-weight: 700;
}

.training-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
  align-items: stretch;
}

.training-summary-row.compact {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.training-stat {
  height: 100%;
  padding: 12px 14px;
}

.training-reward-card {
  position: relative;
  padding: 14px 16px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18,25,58,.88), rgba(10,15,33,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 30px rgba(0,0,0,.14);
  overflow: hidden;
}

.training-reward-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -42% auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,91,255,.22), transparent 68%);
  pointer-events: none;
}

.training-reward-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.training-reward-head label {
  margin: 0;
  color: rgba(204,214,239,.72);
  font-size: 12px;
  font-weight: 700;
}

.training-reward-chip {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(216,180,106,.14);
  background: rgba(216,180,106,.08);
  color: #ffe6a3;
  font-size: 11px;
  font-weight: 800;
}

.training-reward-value {
  position: relative;
  z-index: 1;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff2c7;
}

.training-reward-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.training-reward-status {
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
}

.training-reward-status.pending {
  color: #fff0bc;
  background: rgba(216,180,106,.10);
  border-color: rgba(216,180,106,.22);
}

.training-reward-status.ready {
  color: #a8f3c7;
  background: rgba(66,190,122,.10);
  border-color: rgba(66,190,122,.22);
}

.training-reward-status.idle {
  color: #cad7fb;
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}

.training-reward-count {
  color: rgba(226,234,250,.8);
  font-size: 13px;
  font-weight: 700;
}

.training-reward-note {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: rgba(214,224,248,.62);
  font-size: 12px;
  line-height: 1.6;
}

.training-summary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.training-summary-actions-stack {
  grid-template-columns: 1fr;
}

.training-summary-actions .mini-btn {
  min-height: 46px;
  border-radius: 16px;
}

.training-summary-actions-stack .mini-btn.primary {
  min-height: 52px;
  box-shadow: 0 14px 30px rgba(98,70,255,.24);
}

.training-summary-actions .mini-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: saturate(.72);
}

.mini-btn.is-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mini-btn.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  border-top-color: rgba(255,255,255,.96);
  animation: rewardBtnSpin .72s linear infinite;
}

.mini-btn.is-loading[disabled] {
  opacity: .86;
  filter: none;
}

.training-action-buttons .mini-btn.primary.is-loading[disabled] {
  box-shadow: 0 10px 24px rgba(98,70,255,.18);
}

.training-records-panel {
  margin-top: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(14,20,45,.86), rgba(8,12,28,.72));
}

.training-records-trigger {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  color: rgba(235,241,255,.9);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.training-records-trigger.hidden {
  display: none;
}

.training-records-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.training-records-copy {
  margin-top: 6px;
  color: rgba(214,224,248,.64);
  font-size: 12px;
  line-height: 1.6;
}

.training-records-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.training-records-actions .mini-btn {
  min-width: 108px;
  min-height: 42px;
  border-radius: 14px;
}

.training-records-actions input {
  width: 86px;
  margin-bottom: 0;
}

.training-records-panel textarea {
  margin-bottom: 0;
  min-height: 170px;
}

.num-picker {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.player-picker {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 4px;
}

.player-card {
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  color: #dfe7ff;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease, filter .2s ease, box-shadow .2s ease;
}

.player-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  display: block;
  margin-bottom: 2px;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

.player-card span {
  display: block;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.player-card:hover {
  border-color: rgba(216,180,106,.45);
}

.player-picker.has-selection .player-card:not(.selected) {
  opacity: .42;
  filter: saturate(.55) brightness(.72);
}

.player-picker.has-selection .player-card:not(.selected) img {
  filter: grayscale(.18) saturate(.7) brightness(.8);
}

.player-card.selected {
  border-color: rgba(216,180,106,.9);
  box-shadow: 0 0 0 1px rgba(216,180,106,.35), 0 12px 28px rgba(216,180,106,.16);
  background: rgba(216,180,106,.10);
  opacity: 1;
  filter: none;
}

.player-card.selected img {
  filter: none;
  transform: scale(1.02);
}

.player-selection-text {
  min-height: 22px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.current-round-ticket {
  margin-top: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(216,180,106,.14);
  background: linear-gradient(180deg, rgba(216,180,106,.05), rgba(255,255,255,.018));
}

.current-round-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.current-round-ticket-head strong {
  color: #fff2c7;
  font-size: 12px;
}

.current-round-ticket-head span {
  color: rgba(214,224,248,.62);
  font-size: 10px;
  font-weight: 700;
}

.current-round-ticket-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(72px, 88px));
  justify-content: start;
  gap: 6px;
}

.current-round-ticket-item {
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.035);
}

.current-round-ticket-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 4px;
}

.current-round-ticket-item span {
  display: block;
  text-align: center;
  color: #eef3ff;
  font-size: 10px;
  font-weight: 800;
}

.training-hint {
  padding: 0 2px;
}

.training-rules-trigger {
  appearance: none;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: rgba(239,244,255,.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.training-rules-trigger:hover {
  border-color: rgba(216,180,106,.28);
  background: rgba(216,180,106,.08);
  color: #fff2c7;
}

.training-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.training-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4,8,20,.62);
  backdrop-filter: blur(8px);
}

.training-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 32px));
  border-radius: 28px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(13,20,43,.97), rgba(7,12,29,.95)) padding-box,
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(128,170,255,.18), rgba(193,128,255,.16), rgba(255,211,144,.14)) border-box;
  box-shadow: 0 36px 100px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 22px;
}

.training-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: #fff;
}

.training-modal-sub {
  margin-top: 6px;
  color: rgba(213,223,246,.66);
  font-size: 13px;
}

.training-modal-actions {
  display: flex;
  gap: 8px;
}

.training-modal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.training-modal-stat,
.training-record-item {
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
  border-radius: 18px;
}

.training-modal-stat {
  padding: 14px 16px;
}

.training-modal-stat span {
  display: block;
  color: rgba(204,214,239,.68);
  font-size: 12px;
  margin-bottom: 8px;
}

.training-modal-stat strong {
  font-size: 24px;
  font-weight: 900;
  color: #fff6cf;
}

.training-records-list {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.training-records-list.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.training-record-empty {
  width: 100%;
  padding: 28px 22px;
  text-align: center;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 20px;
  color: rgba(214,224,248,.68);
  background: rgba(255,255,255,.02);
}

.training-record-item {
  padding: 14px 16px;
}

.training-record-top,
.training-record-nums {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.training-record-nums {
  justify-content: flex-start;
  margin: 12px 0 10px;
  flex-wrap: wrap;
}

.training-record-round {
  font-size: 15px;
  font-weight: 800;
}

.training-record-pill,
.training-record-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.training-record-pill {
  min-height: 28px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,.06);
}

.training-record-pill.win { color: #ffe6a3; }
.training-record-pill.claimed { color: #9ef0c2; }
.training-record-pill.miss { color: #cad7fb; }
.training-record-pill.forfeit { color: #ff9dab; }

.training-record-ball {
  width: 34px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255,240,188,.18), rgba(216,180,106,.08));
  border: 1px solid rgba(216,180,106,.24);
  color: #fff4cb;
  font-weight: 800;
}

.training-record-meta {
  color: rgba(213,223,246,.64);
  font-size: 13px;
}

/* 历史记录区 */
.history-section {
  padding: 0 40px 40px;
}

.proposal-launch-band {
  padding: 0 40px 40px;
}

.training-rules-modal-dialog {
  width: min(920px, calc(100vw - 32px));
}

.training-rules-shell.compact {
  display: grid;
  gap: 16px;
}

.training-rules-summary,
.training-rule-step,
.training-rules-note-strip {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
}

.training-rules-summary {
  padding: 22px 24px;
}

.training-rules-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(216,180,106,.16);
  background: rgba(216,180,106,.06);
  color: #ffe6a3;
  font-size: 11px;
  font-weight: 700;
}

.training-rules-summary h3 {
  margin: 14px 0 10px;
  max-width: 760px;
  font-size: 28px;
  line-height: 1.2;
  color: #fff7d7;
}

.training-rules-summary p {
  margin: 0;
  max-width: 700px;
  color: rgba(214,224,248,.72);
  line-height: 1.7;
}

.training-rules-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.training-rule-step {
  padding: 18px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
}

.training-rule-no {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(216,180,106,.08);
  border: 1px solid rgba(216,180,106,.16);
  color: #ffe5a0;
  font-size: 14px;
  font-weight: 800;
}

.training-rule-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  color: #ffffff;
}

.training-rule-step p {
  margin: 0;
  color: rgba(214,224,248,.72);
  line-height: 1.72;
}

.training-rules-note-strip {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.training-rules-note-strip span {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.04);
  color: rgba(236,242,255,.84);
  font-size: 12px;
  font-weight: 700;
}

.proposal-launch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(13,21,47,.78), rgba(8,13,31,.58));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.proposal-launch-kicker {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,214,122,.08);
  border: 1px solid rgba(255,214,122,.16);
  color: #ffe6a3;
  font-size: 12px;
  font-weight: 700;
}

.proposal-launch-card h3 {
  margin: 10px 0 8px;
  font-size: 26px;
}

.proposal-launch-card p {
  margin: 0;
  color: rgba(214,224,248,.68);
}

.proposal-create-modal-dialog {
  width: min(620px, calc(100vw - 32px));
}

.proposal-create-form {
  display: grid;
  gap: 14px;
}

.history-modal-dialog {
  width: min(920px, calc(100vw - 32px));
}

.proposal-modal-dialog {
  width: min(980px, calc(100vw - 32px));
}

.history-modal-head {
  margin-bottom: 14px;
}

.history-card-glass {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.history-result-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
}

.history-result-head,
.history-avatar-row,
.history-result-grid {
  display: flex;
  gap: 12px;
}

.history-result-head {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.history-avatar-row {
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.history-avatar-item {
  width: 110px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.history-avatar-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 6px;
}

.history-avatar-item span {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #eef3ff;
}

.history-result-grid {
  flex-wrap: wrap;
}

.history-result-stat {
  min-width: 148px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}

.history-result-stat span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: rgba(214,224,248,.62);
}

.history-result-stat strong {
  font-size: 16px;
  color: #fff;
}

.proposal-list {
  display: grid;
  gap: 14px;
  max-height: 68vh;
  overflow: auto;
}

.proposal-loading {
  min-height: 140px;
  border-radius: 20px;
  border: 1px dashed rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: rgba(214,224,248,.72);
  font-size: 14px;
  font-weight: 700;
}

.proposal-loading-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.12);
  border-top-color: rgba(216,180,106,.88);
  border-right-color: rgba(122,160,255,.78);
  animation: proposalSpin .75s linear infinite;
}

.proposal-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.proposal-card-top,
.proposal-card-meta,
.proposal-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.proposal-card-top {
  margin-bottom: 12px;
}

.proposal-card-title {
  display: block;
  font-size: 18px;
  color: #fff;
}

.proposal-card-subtitle {
  margin-top: 6px;
  color: rgba(214,224,248,.72);
  font-size: 13px;
}

.proposal-card-address-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.proposal-card-address {
  color: rgba(214,224,248,.64);
  font-size: 12px;
  word-break: break-all;
}

.proposal-copy-btn {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #eef3ff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.proposal-card-status {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}

.proposal-card-status.open {
  color: #ffe6a3;
  background: rgba(255,214,122,.08);
}
.proposal-card-status.passed {
  color: #9ef0c2;
  background: rgba(71,196,126,.10);
}
.proposal-card-status.closed {
  color: #cad7fb;
  background: rgba(150,164,214,.08);
}

.proposal-card-meta {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 14px;
  color: rgba(214,224,248,.7);
  font-size: 13px;
}

.proposal-card-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.05);
}

.proposal-countdown.normal { color: rgba(214,224,248,.78); }
.proposal-countdown.soon { color: #ffe6a3; background: rgba(255,214,122,.08); }
.proposal-countdown.urgent { color: #ffb0ba; background: rgba(255,107,122,.10); }
.proposal-countdown.ended { color: #cad7fb; background: rgba(150,164,214,.08); }

.proposal-vote-strip {
  margin-bottom: 14px;
}

.proposal-vote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: rgba(214,224,248,.76);
  font-size: 13px;
  font-weight: 700;
}

.proposal-vote-bar {
  position: relative;
  display: flex;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
}

.proposal-vote-yes,
.proposal-vote-no {
  display: block;
  height: 100%;
  transition: width .25s ease;
}

.proposal-vote-yes {
  background: linear-gradient(90deg, rgba(42,196,112,.92), rgba(121,235,170,.96));
  box-shadow: inset -1px 0 0 rgba(255,255,255,.22);
}

.proposal-vote-no {
  background: linear-gradient(90deg, rgba(255,113,113,.94), rgba(255,66,66,.96));
  box-shadow: inset 1px 0 0 rgba(255,255,255,.18);
}

.proposal-lock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.proposal-lock-badge,
.proposal-lock-amount {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.035);
}

.proposal-lock-badge.ready { color: #9ef0c2; background: rgba(71,196,126,.10); }
.proposal-lock-badge.locked { color: #ffe6a3; background: rgba(255,214,122,.08); }
.proposal-lock-badge.ended { color: #cad7fb; background: rgba(150,164,214,.08); }

.proposal-card-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.proposal-card-actions .mini-btn[disabled] {
  opacity: .48;
  cursor: not-allowed;
}

.proposal-inline-amount {
  width: min(220px, 100%);
  margin-bottom: 0;
}

.card-glass {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
}

.query-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 12px;
  margin-bottom: 14px;
}

.history-query-bar {
  grid-template-columns: 112px minmax(0, 1fr) 140px 112px;
}

.history-quick-rounds {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.history-round-chip {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(235,241,255,.88);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.history-round-chip:hover {
  border-color: rgba(216,180,106,.28);
}

.history-round-chip.active {
  color: #fff4cb;
  border-color: rgba(216,180,106,.34);
  background: rgba(216,180,106,.08);
}

.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* 玩法规则 */
.rules-modal {
  align-items: center;
}

.rules-modal-dialog {
  width: min(1140px, calc(100vw - 32px));
  max-height: calc(100vh - 34px);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.rules-modal-head {
  margin-bottom: 18px;
}

.rules-modal-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  flex: 1;
}

.rules-visual-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(11,17,38,.96), rgba(7,11,28,.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 34px rgba(0,0,0,.16);
  min-height: 540px;
}

.rules-visual-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4,8,22,.12), rgba(4,8,22,.90) 74%),
    radial-gradient(circle at 22% 18%, rgba(255,215,122,.10), transparent 26%),
    url("./素材/世界杯.webp") center center / cover no-repeat;
  transform: scale(1.02);
}

.rules-visual-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.rules-hero-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(216,180,106,.16);
  background: rgba(216,180,106,.06);
  color: #fff0bc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.rules-visual-content h3 {
  margin: 18px 0 12px;
  max-width: 220px;
  font-size: 40px;
  line-height: .98;
  letter-spacing: -.05em;
  color: #fff;
}

.rules-visual-content p {
  margin: 0;
  max-width: 240px;
  color: rgba(224,231,248,.70);
  font-size: 14px;
  line-height: 1.78;
}

.rules-visual-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.rules-visual-points span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: rgba(242,246,255,.92);
  font-size: 11px;
  font-weight: 700;
}

.rules-modal-body {
  min-height: 0;
  overflow: auto;
  padding: 2px 4px 2px 0;
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.rules-grid.compact {
  gap: 12px;
}

.rules-card {
  position: relative;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.05);
  background: linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.012));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.rules-card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,228,164,.72), rgba(255,228,164,0));
}

.rules-card-wide {
  grid-column: auto;
}

.rules-card-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  min-height: 22px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(122,92,255,.06);
  border: 1px solid rgba(122,92,255,.10);
  color: #dcd2ff;
  font-size: 11px;
  font-weight: 700;
}

.rules-card h4 {
  margin: 0 0 8px;
  max-width: 520px;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -.03em;
  color: #fff;
}

.rules-copy {
  margin: 0;
  max-width: 640px;
  color: rgba(214,224,248,.70);
  font-size: 14px;
  line-height: 1.85;
}

.rules-note-strip {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.022);
  color: rgba(214,224,248,.62);
  font-size: 13px;
  line-height: 1.7;
}

.flow-section {
  display: none;
}

.footer {
  padding: 28px 40px 34px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(8,13,29,0), rgba(8,13,29,.18));
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy-block {
  max-width: 860px;
}

.footer-copy-block strong {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #fff2c4;
  letter-spacing: .04em;
}

.footer-copy-block p {
  margin: 0 0 10px;
  color: rgba(214,224,248,.62);
  line-height: 1.75;
  font-size: 12px;
}

.footer-copy {
  color: rgba(214,224,248,.48);
  font-size: 12px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  color: #eef3ff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}

.footer-social:hover {
  border-color: rgba(216,180,106,.24);
  background: rgba(255,255,255,.04);
}

.footer-social-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-x .footer-social-icon::before {
  content: "𝕏";
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.footer-social-telegram .footer-social-icon::before {
  content: "✈";
  color: #7ec8ff;
  font-size: 16px;
  font-weight: 800;
}

/* 提示框 */
.toast-container {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.toast {
  width: min(360px, calc(100vw - 28px));
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(7, 11, 24, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  color: #f5f7ff;
  animation: toastIn .22s ease-out;
  overflow: hidden;
}

.toast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: #6d7cff;
}

.toast.info::before { background: #6d7cff; }
.toast.success::before { background: #2fc27d; }
.toast.warning::before { background: #e6b24b; }
.toast.error::before { background: #ff6b7a; }

.toast.info {
  background: linear-gradient(135deg, rgba(18,28,66,.95), rgba(10,18,44,.92));
}

.toast.success {
  background: linear-gradient(135deg, rgba(13,56,37,.94), rgba(8,32,23,.92));
}

.toast.warning {
  background: linear-gradient(135deg, rgba(74,52,20,.94), rgba(44,30,10,.92));
}

.toast.error {
  background: linear-gradient(135deg, rgba(78,19,31,.95), rgba(46,12,20,.92));
}

.toast-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.toast-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.toast-message {
  color: rgba(245,247,255,.92);
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  padding-right: 6px;
}

.toast-close {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.toast-close:hover {
  background: rgba(255,255,255,.16);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ambientFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: .72; }
  50% { transform: translate3d(10px, -12px, 0) scale(1.03); opacity: .88; }
  100% { transform: translate3d(-10px, 10px, 0) scale(.98); opacity: .68; }
}

@keyframes ambientPulse {
  0%, 100% { transform: scale(1); opacity: .52; }
  50% { transform: scale(1.04); opacity: .78; }
}

@keyframes proposalSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rewardBtnSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .training-main-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .training-side-panel {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 1024px) {
  .result-ticker {
    top: 73px;
  }
  .nav-content {
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 20px;
  }
  .brand {
    gap: 10px;
    min-width: 0;
  }
  .nav-logo {
    width: 42px;
    height: 42px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-year {
    font-size: 14px;
  }
  .nav-actions {
    margin-left: auto;
    gap: 10px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links a,
  .nav-link-btn {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    font-size: 14px;
    white-space: nowrap;
  }
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: 56px;
    gap: 28px;
  }
  .hero-right {
    max-width: 760px;
    padding-top: 0;
  }
  .hero-title,
  .hero-subtitle {
    max-width: none;
  }
  .hero-points {
    justify-content: center;
  }
  .features-grid { grid-template-columns: 1fr; }
  .player-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar,
  .result-ticker {
    width: 100%;
    margin-left: 0;
    left: 0;
    right: 0;
  }
  .stats-grid, .features-grid, .flow-grid, .entries-grid, .training-main-layout, .training-summary-row, .training-summary-row.compact, .training-summary-actions, .training-summary-stack { grid-template-columns: 1fr; }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 6px 16px 20px;
  }
  .stat-card {
    min-height: 118px;
    padding: 14px 14px 15px;
    border-radius: 18px;
    gap: 12px;
    align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(11,18,42,.68), rgba(6,11,26,.56)) padding-box,
      linear-gradient(135deg, rgba(255,255,255,.18), rgba(134,171,255,.24) 34%, rgba(170,112,255,.18) 66%, rgba(255,195,138,.16) 100%) border-box;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 28px rgba(0,0,0,.16);
  }
  .stat-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background-color: rgba(255,255,255,.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  }
  .pool-icon,
  .glory-icon,
  .round-icon,
  .clock-icon {
    background-size: 28px 28px;
  }
  .stat-content {
    gap: 5px;
  }
  .stat-label {
    font-size: 11px;
    line-height: 1.35;
    color: rgba(232,237,251,.84);
  }
  .stat-note,
  .stat-unit {
    font-size: 10px;
  }
  .stat-value {
    font-size: clamp(24px, 7.5vw, 32px);
  }
  .stat-prefix {
    font-size: 16px;
  }
  .stat-line {
    gap: 6px;
  }
  .stat-input {
    font-size: clamp(19px, 6.8vw, 26px);
  }
  .entries-grid {
    gap: 14px;
    padding: 0 16px 24px;
  }
  .proposal-launch-band {
    padding: 0 16px 18px;
  }
  .footer {
    padding: 24px 16px calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .entry-card {
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.04);
  }
  .entry-head {
    padding: 14px 16px;
  }
  .entry-title {
    gap: 10px;
  }
  .entry-title i {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }
  .entry-title h4 {
    font-size: 15px;
  }
  .entry-body {
    padding: 16px;
  }
  .entry-foot {
    padding: 12px 16px;
  }
  .nav-content {
    width: 100%;
    max-width: 100%;
    padding: 10px 14px 12px;
    gap: 10px;
  }
  .brand {
    max-width: calc(100% - 132px);
  }
  .nav-logo {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 17px;
  }
  .brand-year {
    font-size: 13px;
  }
  .nav-actions {
    gap: 8px;
  }
  .gradient-btn {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 14px;
  }
  .wallet-chip {
    gap: 8px;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 12px;
  }
  .wallet-chip-balance,
  .wallet-chip-address {
    font-size: 12px;
  }
  .wallet-chip-address {
    max-width: 98px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-links {
    gap: 8px;
    padding-bottom: 4px;
  }
  .nav-links a,
  .nav-link-btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
  .query-bar, .history-query-bar { grid-template-columns: 1fr; }
  .history-quick-rounds { gap: 8px; }
  .proposal-card-top,
  .proposal-card-actions,
  .proposal-card-address-row,
  .proposal-vote-head,
  .proposal-lock-row,
  .proposal-launch-card,
  .history-result-head { align-items: stretch; flex-direction: column; }
  .proposal-inline-amount { width: 100%; }
  .training-rules-steps {
    grid-template-columns: 1fr;
  }
  .history-modal-head {
    margin-bottom: 10px;
  }
  .history-query-bar {
    gap: 8px;
  }
  .history-query-bar .mini-btn,
  .proposal-create-form .mini-btn,
  .proposal-card-actions .mini-btn {
    min-height: 42px;
  }
  .history-result-card {
    margin-top: 10px;
    padding: 12px;
    border-radius: 16px;
  }
  .history-avatar-row {
    gap: 8px;
    margin-bottom: 10px;
  }
  .history-avatar-item {
    width: calc(33.333% - 6px);
    min-width: 0;
    padding: 6px;
    border-radius: 14px;
  }
  .history-avatar-item img {
    border-radius: 10px;
    margin-bottom: 4px;
  }
  .history-avatar-item span {
    font-size: 11px;
  }
  .history-result-grid {
    gap: 8px;
  }
  .history-card-glass,
  .history-result-card,
  .history-result-grid,
  .proposal-create-form,
  .proposal-list,
  .proposal-card {
    min-width: 0;
  }
  .history-result-stat {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .proposal-create-form {
    gap: 12px;
  }
  .proposal-list {
    gap: 10px;
    max-height: none;
  }
  .proposal-card {
    padding: 14px;
    border-radius: 16px;
  }
  .proposal-card > div,
  .proposal-card-top > div,
  .proposal-card-meta,
  .proposal-vote-strip,
  .proposal-lock-row,
  .proposal-card-actions {
    min-width: 0;
  }
  .proposal-card-title {
    font-size: 16px;
    line-height: 1.35;
  }
  .proposal-card-subtitle,
  .proposal-card-meta,
  .proposal-vote-head,
  .proposal-card-address,
  .proposal-lock-badge,
  .proposal-lock-amount {
    font-size: 12px;
  }
  .proposal-card-meta {
    gap: 8px;
    margin-bottom: 12px;
  }
  .proposal-card-meta span,
  .proposal-lock-badge,
  .proposal-lock-amount,
  .proposal-card-status {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .proposal-vote-strip,
  .proposal-lock-row {
    margin-bottom: 12px;
  }

  .training-rules-summary h3 {
    font-size: 24px;
  }
  .proposal-card-top,
  .proposal-card-actions { align-items: stretch; flex-direction: column; }
  .proposal-inline-amount { width: 100%; }
  .rules-modal-dialog {
    max-height: calc(100dvh - 24px);
    margin: auto 0;
    overflow: auto;
    padding: 16px;
  }
  .rules-modal-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .rules-visual-panel {
    min-height: 240px;
  }
  .rules-grid { grid-template-columns: 1fr; }
  .rules-visual-content h3 {
    max-width: none;
    font-size: 24px;
  }
  .rules-visual-content p {
    max-width: none;
  }
  .rules-card h4 { font-size: 20px; }
  .result-ticker {
    top: 0;
    position: relative;
  }
  .result-ticker-inner {
    width: 100%;
    max-width: 100%;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
  }
  .result-ticker-label {
    gap: 6px;
    padding: 0 10px;
    font-size: 11px;
  }
  .result-ticker-label::before {
    width: 6px;
    height: 6px;
  }
  .result-ticker-track {
    animation-duration: var(--ticker-duration, 16s);
  }
  .result-ticker-text {
    gap: 8px;
    font-size: 12px;
  }
  .result-ticker-segment {
    min-height: 30px;
    padding: 0 10px;
  }
  .result-ticker-ball {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .result-ticker-key,
  .result-ticker-value {
    font-size: 11px;
  }
  .training-modal {
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
  }
  .training-modal-dialog,
  .history-modal-dialog,
  .proposal-modal-dialog,
  .proposal-create-modal-dialog,
  .training-rules-modal-dialog {
    width: min(100%, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto 0;
    overflow: auto;
  }
  .training-modal-head { flex-direction: column; align-items: stretch; }
  .training-modal-actions { width: 100%; }
  .training-modal-actions .mini-btn { flex: 1; }
  .footer {
    padding: 24px 20px calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .footer-socials {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
  .footer-social {
    min-height: 40px;
  }
  .training-modal textarea { min-height: 300px; }
  .training-records-list {
    max-height: none;
  }
  .hero-section {
    padding: 28px 16px 18px;
    gap: 18px;
    text-align: left;
  }
  .hero-left::before {
    width: 280px;
    height: 280px;
  }
  .hero-right {
    width: 100%;
    text-align: center;
  }
  .hero-eyebrow {
    margin: 0 auto 12px;
    padding: 6px 12px;
    font-size: 10px;
    letter-spacing: .08em;
  }
  .hero-title {
    margin-bottom: 14px;
    line-height: 1;
  }
  .hero-title-line {
    font-size: clamp(34px, 11vw, 48px);
  }
  .hero-subtitle {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.65;
    text-align: center;
  }
  .hero-points {
    justify-content: center;
    gap: 8px;
  }
  .hero-point {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }
  .hero-visual-shell {
    width: 100%;
    padding: 10px;
    border-radius: 24px;
  }
  .hero-video-frame,
  .hero-media {
    border-radius: 18px;
  }
  .hero-play-btn {
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
  }
  .hero-play-icon {
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 16px;
  }
  .hero-video-meta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-height: 38px;
    max-width: calc(100% - 20px);
    padding: 0 12px;
    gap: 8px;
  }
  .hero-video-dot {
    width: 7px;
    height: 7px;
  }
  .hero-video-title,
  .hero-video-live {
    font-size: 9px;
    letter-spacing: .04em;
  }
  .hero-video-sep {
    font-size: 11px;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 16px;
    gap: 10px;
  }
  .hero-primary, .hero-secondary {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    font-size: 15px;
  }
  .hero-primary {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.30), inset 0 -1px 0 rgba(135,79,9,.22), 0 10px 22px rgba(114,72,10,.20);
  }
  .hero-secondary {
    background: linear-gradient(180deg, rgba(18,24,52,.90), rgba(9,12,29,.82));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), inset 0 0 0 1px rgba(92,70,220,.12), 0 8px 18px rgba(0,0,0,.18);
  }
  .hero-btn-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
  .hero-btn-text {
    font-size: 14px;
  }
  .entry-card-training .entry-head {
    align-items: flex-start;
    gap: 10px;
  }
  .entry-card-training .entry-body.training-main-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .training-stage-left,
  .training-side-panel {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .training-side-panel {
    gap: 10px;
    justify-self: stretch;
  }
  .training-stage,
  .training-action-card,
  .training-records-panel,
  .training-reward-card {
    border-radius: 18px;
    padding: 12px;
  }
  .training-action-card {
    background: linear-gradient(180deg, rgba(20,26,58,.96), rgba(10,14,33,.82));
    border-color: rgba(122,103,255,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 34px rgba(8,12,30,.20), 0 0 0 1px rgba(122,103,255,.06);
  }
  .training-stage-head,
  .training-stage-head.compact,
  .training-records-head {
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 10px;
    text-align: left;
  }
  .training-stage-head strong,
  .training-records-head strong {
    font-size: 15px;
  }
  .training-stage-head span {
    font-size: 11px;
    line-height: 1.5;
  }
  .player-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 6px;
  }
  .player-card {
    position: relative;
    overflow: hidden;
    padding: 5px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 18px rgba(0,0,0,.10);
  }
  .player-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,236,180,.14), rgba(216,180,106,.04));
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
  }
  .player-card img {
    border-radius: 9px;
    margin-bottom: 4px;
  }
  .player-card span {
    position: relative;
    z-index: 1;
    font-size: 10px;
    color: #f4f7ff;
    text-shadow: 0 1px 4px rgba(0,0,0,.24);
  }
  .player-card.selected {
    border-color: rgba(216,180,106,.94);
    background: linear-gradient(180deg, rgba(216,180,106,.14), rgba(255,255,255,.03));
    box-shadow: 0 0 0 1px rgba(216,180,106,.34), 0 12px 24px rgba(216,180,106,.14);
  }
  .player-card.selected::after {
    opacity: 1;
  }
  .player-picker.has-selection .player-card:not(.selected) {
    opacity: .34;
    filter: saturate(.45) brightness(.74);
    transform: scale(.97);
  }
  .player-picker.has-selection .player-card:not(.selected) span {
    color: rgba(223,231,255,.66);
  }
  .player-card:active {
    transform: scale(.98);
  }
  .player-selection-text {
    min-height: 20px;
    font-size: 12px;
    line-height: 1.5;
  }
  .current-round-ticket {
    margin-top: 8px;
    padding: 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(216,180,106,.08), rgba(255,255,255,.02));
    border-color: rgba(216,180,106,.18);
  }
  .current-round-ticket-head {
    margin-bottom: 6px;
  }
  .current-round-ticket-head strong {
    font-size: 11px;
  }
  .current-round-ticket-head span {
    font-size: 10px;
  }
  .current-round-ticket-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .current-round-ticket-item {
    padding: 3px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
  }
  .current-round-ticket-item img {
    margin-bottom: 3px;
    border-radius: 7px;
  }
  .current-round-ticket-item span {
    font-size: 9px;
    color: #fff2c7;
  }
  .training-eligibility-row {
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  .training-eligibility-label {
    font-size: 11px;
  }
  .training-eligibility-note,
  .training-hint {
    font-size: 11px;
    line-height: 1.6;
  }
  .training-hint {
    margin-top: 2px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    color: rgba(245,226,167,.92);
  }
  .training-action-buttons .mini-btn.primary {
    min-height: 50px;
    border-radius: 14px;
    font-size: 14px;
    box-shadow: 0 14px 28px rgba(98,70,255,.22);
  }
  .training-summary-row,
  .training-summary-row.compact {
    gap: 10px;
  }
  .training-reward-head {
    margin-bottom: 10px;
  }
  .training-reward-chip {
    min-height: 22px;
    padding: 0 8px;
    font-size: 10px;
  }
  .training-reward-value {
    font-size: 26px;
  }
  .training-reward-meta {
    gap: 6px;
    margin-top: 10px;
  }
  .training-reward-count {
    font-size: 12px;
    line-height: 1.5;
  }
  .training-reward-note,
  .training-records-copy {
    font-size: 11px;
    line-height: 1.55;
  }
  .training-summary-actions {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 8px;
  }
  .training-summary-actions .mini-btn,
  .training-records-actions .mini-btn {
    min-height: 44px;
    border-radius: 14px;
  }
  .training-records-actions {
    width: 100%;
  }
  .training-records-actions .mini-btn {
    width: 100%;
  }
  .training-stage-head, .training-records-head, .training-records-actions { flex-direction: column; align-items: stretch; }
  .training-records-actions input { width: 100%; }
}

@media (max-width: 560px) {
  .result-ticker-label {
    display: none;
  }
  .result-ticker-marquee::before,
  .result-ticker-marquee::after {
    width: 36px;
  }
  .hero-title-line {
    font-size: clamp(30px, 10vw, 40px);
  }
  .hero-video-title,
  .hero-video-live {
    font-size: 8px;
    letter-spacing: .03em;
  }
  .hero-video-sep {
    font-size: 10px;
  }
  .hero-subtitle {
    font-size: 13px;
  }
  .hero-btns {
    max-width: none;
    gap: 8px;
  }
  .hero-primary,
  .hero-secondary {
    min-height: 46px;
    border-radius: 15px;
    padding: 0 16px;
  }
  .hero-btn-text {
    font-size: 13px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 2px 14px 16px;
    gap: 8px;
  }
  .stat-card {
    min-height: 98px;
    padding: 12px 12px;
    gap: 10px;
    border-radius: 16px;
  }
  .stat-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }
  .pool-icon,
  .glory-icon,
  .round-icon,
  .clock-icon {
    background-size: 30px 30px;
  }
  .entries-grid {
    padding: 0 14px 20px;
    gap: 12px;
  }
  .proposal-launch-band {
    padding: 0 14px 16px;
  }
  .entry-card {
    border-radius: 18px;
  }
  .entry-head,
  .entry-body,
  .entry-foot {
    padding-left: 14px;
    padding-right: 14px;
  }
  .footer {
    padding: 22px 14px calc(108px + env(safe-area-inset-bottom, 0px));
  }
  .footer-copy-block strong {
    margin-bottom: 6px;
    font-size: 12px;
  }
  .footer-copy-block p,
  .footer-copy {
    font-size: 11px;
    line-height: 1.7;
  }
  .footer-socials {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .footer-social {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }
  .training-modal {
    padding: 14px;
  }
  .training-modal-dialog,
  .history-modal-dialog,
  .proposal-modal-dialog,
  .proposal-create-modal-dialog,
  .training-rules-modal-dialog,
  .rules-modal-dialog {
    width: min(100%, calc(100vw - 28px));
    max-height: calc(100dvh - 28px);
  }
  .training-rules-trigger {
    min-height: 32px;
    padding: 0 12px;
    font-size: 11px;
  }
  .history-query-bar,
  .proposal-create-form,
  .proposal-card-actions {
    gap: 8px;
  }
  .proposal-inline-amount,
  .history-query-bar input,
  .proposal-create-form input {
    font-size: 14px;
  }
  .training-modal-dialog,
  .history-modal-dialog,
  .proposal-modal-dialog,
  .proposal-create-modal-dialog,
  .training-rules-modal-dialog,
  .rules-modal-dialog {
    padding: 14px;
    border-radius: 20px;
  }
  .training-modal-head {
    gap: 10px;
    margin-bottom: 12px;
  }
  .training-modal-sub {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.55;
  }
  .training-modal-actions {
    gap: 6px;
  }
  .history-query-bar .mini-btn,
  .history-query-bar input,
  .proposal-create-form input,
  .proposal-inline-amount {
    min-height: 40px;
    border-radius: 12px;
  }
  .historyQuickRounds,
  .history-quick-rounds {
    gap: 6px;
  }
  .history-quick-rounds .mini-btn,
  .history-quick-rounds button {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
  }
  .history-avatar-item {
    width: calc(50% - 4px);
  }
  .history-result-stat {
    flex-basis: 100%;
  }
  .proposal-card {
    padding: 12px;
  }
  .proposal-card-address-row {
    gap: 8px;
  }
  .proposal-copy-btn {
    min-height: 32px;
    width: 100%;
    justify-content: center;
  }
  .proposal-card-meta span,
  .proposal-lock-badge,
  .proposal-lock-amount,
  .proposal-card-status {
    width: 100%;
    justify-content: center;
  }
  .proposal-inline-amount,
  .proposal-card-actions .mini-btn {
    width: 100%;
  }
  .proposal-inline-amount {
    min-width: 0;
  }
  .proposal-list {
    padding-right: 0;
  }
  .player-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .player-card {
    border-radius: 11px;
  }
  .player-card span {
    font-size: 9px;
  }
  .training-stage,
  .training-action-card,
  .training-records-panel,
  .training-reward-card {
    padding: 11px;
  }
  .training-reward-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .training-reward-value {
    font-size: 24px;
  }
  .training-summary-actions {
    grid-template-columns: 1fr;
  }
  .training-summary-actions .mini-btn,
  .training-records-actions .mini-btn,
  .training-action-buttons .mini-btn.primary {
    min-height: 42px;
  }
}