* { box-sizing: border-box; }
:root {
  --bg: #071421;
  --panel: #0E1B2A;
  --panel2: rgba(14, 27, 42, 0.86);
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(0, 210, 106, 0.38);
  --text: #FFFFFF;
  --muted: #A8B3C7;
  --green: #00D26A;
  --blue: #0066FF;
  --gold: #FFC400;
  --red: #FF3B30;
  --radius: 20px;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 78% 4%, rgba(0, 102, 255, 0.25), transparent 28rem),
    radial-gradient(circle at 18% 12%, rgba(0, 210, 106, 0.20), transparent 25rem),
    radial-gradient(circle at 88% 82%, rgba(255, 59, 48, 0.16), transparent 22rem),
    linear-gradient(180deg, #071421 0%, #071421 46%, #030813 100%);
  color: var(--text);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.65), transparent 78%);
}
a { color: inherit; }
input, textarea, select, button { font: inherit; }
.mobile {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background:
    radial-gradient(circle at 70% 0, rgba(0, 102, 255, 0.18), transparent 19rem),
    radial-gradient(circle at 10% 92%, rgba(0, 210, 106, 0.12), transparent 18rem),
    linear-gradient(180deg, #071421 0%, #071421 56%, #030813 100%);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 30px 20px 22px;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 16%, rgba(255,255,255,0.72), rgba(17,148,255,0.22) 11%, transparent 26%),
    radial-gradient(circle at 64% 100%, rgba(39,224,131,0.24), transparent 34%),
    linear-gradient(145deg, #07101c 0%, #0b1f35 58%, #06110f 100%);
  border-bottom: 1px solid var(--line);
}
.hero:before {
  content: "";
  position: absolute;
  inset: auto -10% -72px -10%;
  height: 170px;
  border: 1px solid rgba(39,224,131,0.32);
  border-radius: 50% 50% 0 0;
  box-shadow: inset 0 22px 40px rgba(39,224,131,0.08);
}
.hero:after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 94px;
  height: 94px;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(39,224,131,0.18) 30%, transparent 62%);
  filter: blur(1px);
  opacity: 0.68;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { margin: 0; font-size: 31px; line-height: 1.12; letter-spacing: 0; text-shadow: 0 10px 28px rgba(0,0,0,0.42); }
.hero p { margin: 10px 0 0; color: #c5d5e7; line-height: 1.55; }
.section { padding: 14px; }
.app-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 0, rgba(0,102,255,0.12), transparent 32%),
    linear-gradient(180deg, rgba(16,31,51,0.94), rgba(8,18,31,0.94));
  box-shadow: 0 14px 36px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}
.app-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,0.07), transparent 18% 80%, rgba(0,210,106,0.07));
  opacity: .75;
}
.app-card > * { position: relative; z-index: 1; }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: linear-gradient(180deg, rgba(13, 27, 44, 0.92), rgba(7, 14, 24, 0.92));
  box-shadow: 0 12px 30px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
}
.panel + .panel { margin-top: 12px; }
.match { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; text-align: center; }
.team { font-size: 22px; font-weight: 900; word-break: break-word; }
.vs {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06101d;
  background: linear-gradient(135deg, #ffffff, #b7f7d4);
  font-weight: 900;
  box-shadow: 0 0 26px rgba(39,224,131,0.36);
}
.meta { color: var(--muted); font-size: 14px; line-height: 1.7; }
.prize { color: var(--gold); font-weight: 900; text-shadow: 0 0 18px rgba(255,213,90,0.22); }
.notice {
  border: 1px solid rgba(255, 213, 90, 0.32);
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255,213,90,0.12), rgba(255,77,77,0.08));
  color: #ffe690;
  line-height: 1.6;
}
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 6px; color: #bdd0e5; font-size: 14px; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(142,168,196,0.26);
  border-radius: 18px;
  padding: 11px 12px;
  color: var(--text);
  background: rgba(4, 10, 18, 0.72);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(39,224,131,0.7);
  box-shadow: 0 0 0 3px rgba(39,224,131,0.12);
}
.field input[type="file"] {
  padding: 13px 12px;
  line-height: 1.25;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.asset-card {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 12px;
  background: rgba(4,10,18,0.48);
}
.asset-card b {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #fff;
}
.asset-preview {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
}
.asset-preview.qr-preview {
  aspect-ratio: 1 / 1;
}
.asset-empty {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(168,179,199,0.35);
  border-radius: 14px;
  padding: 12px;
  color: #A8B3C7;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  background: rgba(255,255,255,0.04);
}
.asset-empty.required {
  color: #FFC400;
  border-color: rgba(255,196,0,0.45);
  background: rgba(255,196,0,0.08);
}
.merchant-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.merchant-card-head h2 { margin: 0; }
.service-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #A8B3C7;
  font-size: 12px;
  font-weight: 900;
}
.service-pill.ready {
  border-color: rgba(0,210,106,0.42);
  background: rgba(0,210,106,0.12);
  color: #00D26A;
}
.service-pill.warn {
  border-color: rgba(255,196,0,0.42);
  background: rgba(255,196,0,0.12);
  color: #FFC400;
}
.service-pill.off {
  border-color: rgba(255,59,48,0.36);
  background: rgba(255,59,48,0.10);
  color: #ffb4aa;
}
.setup-issues {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.setup-chip {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255,196,0,0.10);
  border: 1px solid rgba(255,196,0,0.25);
  color: #FFE08A;
  font-size: 12px;
  font-weight: 800;
}
.setup-chip.ready {
  background: rgba(0,210,106,0.10);
  border-color: rgba(0,210,106,0.28);
  color: #00D26A;
}
.admin-merchant-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.filter-pill {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(14,27,42,0.78);
  color: #A8B3C7;
  font-weight: 900;
  cursor: pointer;
}
.filter-pill.active {
  color: #071421;
  border-color: transparent;
  background: linear-gradient(135deg, #00D26A, #FFC400);
  box-shadow: 0 10px 24px rgba(0,210,106,0.18);
}
.mini.muted {
  opacity: .72;
  cursor: default;
  pointer-events: none;
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 28px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-weight: 900;
  font-size: 17px;
  background: linear-gradient(135deg, #00d26a, #27e083);
  color: #06111b;
  box-shadow: 0 14px 30px rgba(0,210,106,0.42);
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 18px 38px rgba(0,210,106,0.52); }
.btn2 {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(142,168,196,0.28);
  border-radius: 18px;
  padding: 13px 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  background: rgba(9, 18, 31, 0.68);
  color: var(--text);
}
.leader {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(8, 19, 33, 0.82);
  border: 1px solid rgba(142,168,196,0.18);
  margin-bottom: 10px;
}
.rank {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #c9ff4a);
  color: #04110b;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(39,224,131,0.28);
}
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.stat {
  border: 1px solid rgba(142,168,196,0.22);
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(13, 27, 44, 0.9), rgba(7, 14, 24, 0.9));
}
.stat strong { display: block; font-size: 26px; color: var(--green); }
.merchant-card { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 14px; align-items: start; margin-bottom: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mini {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(142,168,196,0.25);
  padding: 7px 10px;
  color: var(--text);
  text-decoration: none;
  background: rgba(4, 10, 18, 0.72);
  font-size: 13px;
  font-weight: 800;
}
.mini.primary { background: linear-gradient(90deg, var(--green), var(--blue)); border-color: transparent; color: #031018; }
.mini.danger { border-color: rgba(255,59,48,0.34); background: rgba(255,59,48,0.10); color: #ffb4aa; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; background: rgba(39,224,131,0.14); border: 1px solid rgba(39,224,131,0.28); color: #8ff0bd; font-size: 12px; font-weight: 900; }
.admin { max-width: 1240px; margin: 0 auto; padding: 22px; }
.admin h1 { margin: 0 0 8px; font-size: 28px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  padding: 10px;
  border-bottom: 1px solid rgba(142,168,196,0.18);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
th { color: #bfd2e8; font-weight: 800; }
.copy { white-space: pre-wrap; color: #d9eadf; }
.copy-area {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(142,168,196,0.28);
  border-radius: 12px;
  padding: 12px;
  color: #f8f5e8;
  background: #081912;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.copy-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.copy-status { color: #8ff0bd; font-size: 13px; }
.poster-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}
.poster-result .copy-area { min-height: 92px; }
.legal-notice {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(142,168,196,0.18);
  border-radius: 14px;
  color: #8fa3ba;
  background: rgba(4,10,18,0.48);
  font-size: 12px;
  line-height: 1.65;
}
.poster-preview {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.42);
}
.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  margin: 12px 0 16px;
  color: #afc1d4;
  font-size: 13px;
  line-height: 1.55;
}
.consent-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); }
.price { font-size: 30px; font-weight: 900; color: var(--gold); }
.tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(39,224,131,0.14); border: 1px solid rgba(39,224,131,0.26); color: #8ff0bd; font-size: 13px; font-weight: 800; margin-right: 6px; }
.linkbox { padding: 10px; border: 1px solid rgba(142,168,196,0.24); border-radius: 8px; background: rgba(4,10,18,0.72); word-break: break-all; overflow-wrap: anywhere; color: #b8d2e8; }
.qr { width: 132px; height: 132px; border-radius: 8px; background: #fff; padding: 8px; }
.qr.qr-large { width: 190px; height: 190px; border-radius: 16px; padding: 10px; }
.success-hero { min-height: 260px; }
.conversion-card {
  display: grid;
  gap: 14px;
}
.conversion-card .notice { margin: 0; }
.conversion-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 2px 0 4px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0, rgba(0,210,106,0.18), transparent 62%),
    rgba(255,255,255,0.05);
  text-align: center;
}
.conversion-qr strong { font-size: 17px; color: #fff; }
.conversion-qr span { font-size: 13px; color: var(--muted); }
.action-grid {
  display: grid;
  gap: 10px;
}
.screen {
  min-height: 100vh;
  padding: 34px;
  background:
    radial-gradient(circle at 50% 0, rgba(17,148,255,0.28), transparent 34rem),
    radial-gradient(circle at 20% 100%, rgba(39,224,131,0.14), transparent 28rem),
    #050912;
}
.screen h1 { margin: 0; font-size: 54px; text-shadow: 0 0 30px rgba(17,148,255,0.28); }
.screen .match { max-width: 980px; margin: 28px auto; }
.screen .team { font-size: 56px; }
.screen .vs { width: 86px; height: 86px; font-size: 28px; }
.ticker { display: flex; gap: 12px; overflow: hidden; margin-top: 18px; }
.ticker span { white-space: nowrap; border: 1px solid rgba(142,168,196,0.22); border-radius: 999px; padding: 12px 18px; background: rgba(8, 19, 33, 0.82); color: #f7f2df; font-weight: 800; animation: slide 18s linear infinite; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-420px); } }
.bars { display: grid; gap: 10px; }
.bar { min-height: 34px; border-radius: 8px; background: rgba(4,10,18,0.72); border: 1px solid rgba(142,168,196,0.18); overflow: hidden; }
.bar span { display: block; min-width: 42px; height: 100%; padding: 8px 10px; background: linear-gradient(90deg, var(--green), #c9ff4a); color: #04110b; font-weight: 900; }
.source-bar span { background: linear-gradient(90deg, var(--green), var(--blue)); color: white; text-shadow: 0 1px 8px rgba(0,0,0,0.18); }
.trend-bar span { background: linear-gradient(90deg, var(--yellow), var(--red)); color: #071421; }
.linkbox.compact { margin-top: 8px; font-size: 11px; line-height: 1.35; word-break: break-all; }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.channel-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.055);
}
.channel-card b { display:block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.channel-card small { display:block; color: var(--muted); line-height: 1.45; }
.channel-card img { width: 82px; height: 82px; border-radius: 14px; background: white; padding: 6px; object-fit: contain; }
.channel-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 2px;
  color: #dceaff;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 950;
  letter-spacing: 0;
}
.brand:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(39,224,131,0.75);
}
.ghost-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5,12,20,0.58);
  text-decoration: none;
  color: #edf7ff;
  font-weight: 900;
}
.hero.hero-worldcup {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 20px 24px;
  background:
    linear-gradient(180deg, rgba(7,17,30,0.35) 0%, rgba(3,8,16,0.75) 65%),
    url('/static/wc/wc-stadium-night.webp') center/cover no-repeat,
    linear-gradient(135deg, rgba(7, 20, 46, 0.88), rgba(4, 14, 22, 0.88));
  position: relative;
}
.hero.hero-worldcup .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.hero.hero-worldcup .hero-kicker:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(0,210,106,0.72);
}
.hero.hero-worldcup:before {
  inset: auto -28% 28px -28%;
  height: 132px;
  border-radius: 50%;
  border-color: rgba(39,224,131,0.34);
  box-shadow:
    inset 0 24px 54px rgba(39,224,131,0.1),
    0 -28px 60px rgba(17,148,255,0.16);
}
.hero.hero-worldcup:after {
  right: -28px;
  top: 56px;
  width: 178px;
  height: 178px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.22), transparent 22%),
    repeating-conic-gradient(from 18deg, rgba(255,255,255,0.22) 0 7deg, rgba(39,224,131,0.08) 7deg 14deg);
  opacity: 0.42;
  filter: blur(0);
}
.eyebrow {
  margin: 0 0 10px;
  color: #9fffc5;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.hero-title {
  margin: 0;
  max-width: 330px;
  font-size: 38px;
  line-height: 1.16;
  font-weight: 950;
  text-shadow: 0 10px 28px rgba(0,0,0,0.52), 0 0 28px rgba(17,148,255,0.32);
}
.hero-title .accent, .accent { color: var(--gold); }
.hero-subtitle { max-width: 330px; }
.floating-ball {
  position: absolute;
  right: 26px;
  bottom: 92px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7fbff, #a7b3c5);
  color: #06111b;
  font-size: 30px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.45), 0 0 28px rgba(39,224,131,0.34);
}
.festival-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.festival-entry {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 20px 18px;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease;
}
.festival-entry:hover, .festival-entry:active {
  transform: translateY(-2px);
  border-color: rgba(0,210,106,0.38);
}
.festival-entry-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,210,106,0.22), rgba(0,102,255,0.18));
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(0,102,255,0.15);
}
.festival-entry strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
}
.festival-entry span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.match-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(39,224,131,0.25);
}
.match-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(39,224,131,0.16), transparent 26%),
    radial-gradient(circle at 84% 24%, rgba(17,148,255,0.16), transparent 28%);
  pointer-events: none;
}
.match-card > * { position: relative; z-index: 1; }
.match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}
.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 90px;
}
.team .crest {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  padding: 4px;
}
.team-name {
  font-size: 15px;
  font-weight: 800;
  color: #f3f8ff;
}
.vs {
  font-size: 20px;
  font-weight: 900;
  color: #8fffbd;
  padding-bottom: 8px;
}
.match-time {
  text-align: center;
  color: #c7d6e8;
  margin: 0 0 16px;
  font-size: 14px;
}
.score-picker {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: end;
  margin: 18px 0;
}
.score-box {
  min-height: 92px;
  border-radius: 16px;
  border: 1px solid rgba(142,168,196,0.25);
  background: linear-gradient(180deg, rgba(14,31,49,0.95), rgba(6,14,24,0.95));
  padding: 12px 10px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.score-box label {
  display: block;
  min-height: 34px;
  margin: 0;
  color: #9eb2c9;
  font-size: 12px;
  line-height: 1.35;
}
.score-box input {
  width: 100%;
  height: 44px;
  margin-top: 2px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: center;
  font-size: 30px;
  font-weight: 950;
  outline: none;
}
.score-colon {
  padding-bottom: 20px;
  color: #c6d6e6;
  font-size: 28px;
  font-weight: 950;
}
.score-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 16px;
}
.score-chip {
  min-height: 42px;
  border: 1px solid rgba(142,168,196,0.25);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(6,16,29,0.85);
  color: #f3f8ff;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: all .1s ease;
}
.score-chip:hover, .score-chip:active {
  border-color: #00d26a;
  background: rgba(0,210,106,0.12);
  color: #8fffbd;
}
.coupon {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, #ffc545, #f4a319);
  color: #301600;
  box-shadow: 0 16px 28px rgba(244,163,25,0.2);
}
.coupon strong { font-size: 34px; line-height: 1; }
.coupon span { display: block; font-weight: 950; }
.coupon small { display: block; opacity: 0.72; margin-top: 3px; }
.bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(142,168,196,0.2);
  background: rgba(3,7,13,0.88);
  backdrop-filter: blur(14px);
}
.bottom-nav a {
  display: grid;
  gap: 3px;
  justify-items: center;
  color: #c6d7e8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  min-width: 0;
}
.bottom-nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bottom-nav a.active { color: #8fffbd; }
.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 10px;
  margin-top: 12px;
}
.podium-card {
  min-height: 126px;
  border: 1px solid rgba(142,168,196,0.22);
  border-radius: 16px;
  padding: 12px 8px;
  text-align: center;
  background: linear-gradient(180deg, rgba(14,31,49,0.95), rgba(6,14,24,0.95));
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.podium-card.first {
  min-height: 152px;
  border-color: rgba(255,213,90,0.6);
  box-shadow: 0 0 32px rgba(255,213,90,0.25);
  background: linear-gradient(180deg, rgba(20,35,55,0.98), rgba(8,18,30,0.98));
  position: relative;
}
.podium-card.first:after {
  content: "#1";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFC400, #00D26A);
  color: #071421;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 0 26px rgba(255,196,0,0.35);
}
.avatar {
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(39,224,131,0.6);
  background: linear-gradient(135deg, #0e253b, #0a110e);
  color: #fff;
  font-size: 21px;
  font-weight: 950;
}
.podium-card.first .avatar { border-color: rgba(255,213,90,0.9); }
.podium-score { color: var(--green); font-weight: 950; }
.dashboard-shell {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(8,18,31,0.94), rgba(3,8,15,0.94));
}
.side-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  border-radius: 8px;
  padding: 8px 10px;
  color: #9db1c8;
  text-decoration: none;
  font-weight: 850;
  font-size: 14px;
}
.side-link.active {
  background: linear-gradient(90deg, rgba(39,224,131,0.82), rgba(39,224,131,0.22));
  color: #07110d;
}
.chart-card {
  min-height: 190px;
  position: relative;
  overflow: hidden;
}
.chart-line {
  height: 126px;
  margin-top: 18px;
  border-left: 1px solid rgba(142,168,196,0.18);
  border-bottom: 1px solid rgba(142,168,196,0.18);
  background:
    linear-gradient(180deg, rgba(39,224,131,0.12), transparent),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(255,255,255,0.045) 30px 31px);
  clip-path: polygon(0 82%, 14% 62%, 27% 68%, 39% 45%, 52% 50%, 66% 30%, 78% 38%, 100% 18%, 100% 100%, 0 100%);
}
.donut {
  width: 138px;
  height: 138px;
  margin: 18px auto;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 58%, #b8e84e 58% 83%, var(--blue) 83% 100%);
  position: relative;
}
.donut:after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background: #07111d;
  border: 1px solid rgba(255,255,255,0.08);
}
.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 4px 0 18px;
}
.step {
  position: relative;
  text-align: center;
  color: #b6c7d8;
  font-size: 12px;
  font-weight: 850;
}
.step b {
  width: 26px;
  height: 26px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef6ff;
  color: #07111d;
}
.screen-board {
  border: 1px solid rgba(142,168,196,0.24);
  border-radius: 16px;
  padding: 22px;
  background:
    url('/static/wc/wc-stadium-night.webp') center/cover no-repeat,
    linear-gradient(180deg, rgba(5,12,22,0.88), rgba(3,8,14,0.92));
  position: relative;
}
.screen-board:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,12,22,0.55), rgba(3,8,14,0.75));
  border-radius: 16px;
  pointer-events: none;
  z-index: 0;
}
.screen-board > * { position: relative; z-index: 1; }
.screen-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}
.screen-qr {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(39,224,131,0.26);
  border-radius: 8px;
  background: rgba(6,17,19,0.72);
  font-size: 24px;
  font-weight: 900;
}

.festival-strip {
  position: relative;
  overflow: hidden;
}
.festival-strip:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(255,59,48,0.22) 18% 20%, transparent 20% 44%, rgba(0,210,106,0.18) 44% 46%, transparent 46% 70%, rgba(0,102,255,0.2) 70% 72%, transparent 72%),
    radial-gradient(circle at 50% 100%, rgba(0,210,106,0.16), transparent 40%);
  opacity: 0.9;
  z-index: 0;
}
.hero.hero-worldcup .eyebrow:before { content: "Fan Festival 2026"; display:block; color:#00D26A; margin-bottom:4px; }
.hero-cta { margin-top: 18px; }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.module-card {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: linear-gradient(180deg, rgba(14,27,42,0.94), rgba(5,12,22,0.94));
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.module-card b { font-size: 16px; }
.module-card span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: #dbe8ff; background: rgba(255,255,255,0.05); font-size: 12px; font-weight: 850; }
.prize-card {
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  color: #190f00;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
}
.prize-card.gold { background: linear-gradient(135deg, #FFC400, #FF9F0A); }
.prize-card.green { background: linear-gradient(135deg, #00D26A, #8DFF7A); }
.prize-card.blue { background: linear-gradient(135deg, #3DA2FF, #0066FF); color: #fff; }
.prize-card.red { background: linear-gradient(135deg, #FF6A4D, #FF3B30); color: #fff; }
.prize-card h3 { margin: 0 0 6px; font-size: 18px; }
.prize-card p { margin: 0; opacity: 0.8; font-size: 13px; }
.status-chip { border-radius: 999px; padding: 7px 10px; background: rgba(255,255,255,0.24); font-weight: 950; white-space: nowrap; }
.sticky-rank { position: sticky; bottom: 64px; z-index: 4; border-color: rgba(0,210,106,0.42); }
.admin-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 85% 20%, rgba(0,102,255,0.24), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(0,210,106,0.18), transparent 34%),
    linear-gradient(145deg, rgba(14,27,42,0.96), rgba(4,11,20,0.96));
}
.metric-card strong { font-size: 30px; }
.poster-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.poster-tile { min-height: 210px; border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); display:flex; flex-direction:column; justify-content:space-between; background:linear-gradient(145deg, rgba(0,102,255,0.24), rgba(0,210,106,0.12)), #0E1B2A; }
.poster-tile.red { background:linear-gradient(145deg, rgba(255,59,48,0.34), rgba(14,27,42,0.96)); }
.poster-tile.gold { background:linear-gradient(145deg, rgba(255,196,0,0.34), rgba(14,27,42,0.96)); }
.poster-tile h3 { margin:0; font-size:22px; line-height:1.18; }
.data-attribution {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 26px;
  color: #7f93aa;
  font-size: 12px;
  text-align: center;
}
.data-attribution a { color: #9fffc5; }
@media (max-width: 780px) { .poster-grid { grid-template-columns: 1fr; } .module-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) {
  .admin-grid, .grid2, .grid3, .stat-grid, .merchant-card, .dashboard-shell, .screen-grid { grid-template-columns: 1fr; }
  .admin { padding: 14px; }
  .table-scroll, .panel:has(table), .app-card:has(table), section.panel:has(table) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table { min-width: 620px; }
  table.responsive-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
  }
  .responsive-table thead { display: none; }
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }
  .responsive-table tr {
    padding: 8px 12px;
    border: 1px solid rgba(142,168,196,0.20);
    border-radius: 16px;
    background: rgba(4, 10, 18, 0.56);
  }
  .responsive-table td {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(142,168,196,0.12);
  }
  .responsive-table td:last-child { border-bottom: 0; }
  .responsive-table td:before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }
  .responsive-table td[colspan] {
    display: block;
    color: var(--muted);
    text-align: center;
  }
  .responsive-table td[colspan]:before { content: ""; display: none; }
  .poster-result-grid { grid-template-columns: 1fr; }
  th, td { padding: 9px 10px; }
  .sidebar { position: static; }
  .screen { padding: 18px; }
  .screen h1 { font-size: 34px; }
  .screen .team { font-size: 30px; }
  .hero-title { font-size: 34px; }
  .hero.hero-worldcup { min-height: 310px; }
}

/* ========== New Commercial Platform Components ========== */
.gradient-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s cubic-bezier(0.23, 1.0, 0.32, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.25);
}
.gradient-btn--lg { padding: 16px 28px; font-size: 17px; min-height: 56px; }
.gradient-btn--sm { padding: 10px 18px; font-size: 14px; min-height: 44px; }
.gradient-btn--primary {
  background: linear-gradient(135deg, #00D26A, #0066FF);
  color: #fff;
}
.gradient-btn--primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.gradient-btn--secondary {
  background: linear-gradient(135deg, #0E1B2A, #101F33);
  color: #fff;
  border: 1px solid rgba(0, 210, 106, 0.4);
}
.gradient-btn--ghost {
  background: transparent;
  color: #A8B3C7;
  border: 1px solid var(--line);
}
.gradient-btn--danger {
  background: linear-gradient(135deg, #FF3B30, #FF6A4D);
  color: #fff;
}

.prize-coupon {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  margin-bottom: 12px;
  background: linear-gradient(145deg, #0E1B2A, #101F33);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.prize-coupon:after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 7px;
  background: var(--green);
  opacity: .9;
}
.prize-coupon.tone-gold:after { background: var(--gold); }
.prize-coupon.tone-blue:after { background: var(--blue); }
.prize-coupon.tone-red:after { background: var(--red); }
.prize-coupon.tone-green:after { background: var(--green); }
.prize-coupon .coupon-left { display: grid; gap: 4px; }
.prize-coupon .coupon-type { font-size: 12px; color: var(--muted); font-weight: 700; }
.prize-coupon .coupon-name { font-size: 17px; font-weight: 900; color: #fff; }
.prize-coupon .coupon-badge {
  font-size: 13px; font-weight: 900; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.1); color: #fff;
}
.prize-coupon.status-available .coupon-badge,
.prize-coupon.status-won .coupon-badge,
.prize-coupon.status-pending .coupon-badge { background: #00D26A; color: #071421; }
.prize-coupon.status-redeemed .coupon-badge,
.prize-coupon.status-claimed .coupon-badge { background: #FFC400; color: #071421; }
.prize-coupon.status-missed .coupon-badge { background: #FF3B30; }

.stat-card {
  background: #0E1B2A;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.stat-card .stat-value { font-size: 32px; font-weight: 900; line-height: 1; margin: 8px 0 4px; }
.stat-card .stat-title { font-size: 13px; color: var(--muted); font-weight: 700; }
.stat-card .stat-sub { font-size: 12px; color: #6B7A90; margin-top: 4px; }

.stepper-header {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.stepper-header .step {
  flex: 1;
  padding: 10px 14px;
  background: #0E1B2A;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  color: #A8B3C7;
  border: 1px solid var(--line);
}
.stepper-header .step.active {
  background: linear-gradient(135deg, #00D26A, #0066FF);
  color: #fff;
  border-color: transparent;
}
.stepper-header .step.done { background: #0E1B2A; color: #00D26A; }

.poster-template-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0E1B2A;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.poster-template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}
.poster-template-card .poster-preview {
  height: 160px;
  background: linear-gradient(145deg, #071421, #0E1B2A);
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #A8B3C7;
}
.poster-template-card .poster-info { padding: 16px 18px; }
.poster-template-card .poster-title { font-weight: 900; font-size: 16px; }
.poster-template-card .poster-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }

.match-card {
  background: #0E1B2A;
  border-radius: 24px;
  padding: 24px 20px;
  border: 1px solid rgba(0, 210, 106, 0.2);
}
.score-input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}
.score-input-group input {
  width: 78px;
  height: 64px;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: #071421;
  color: #fff;
}
.score-input-group input:focus {
  border-color: #00D26A;
  box-shadow: 0 0 0 4px rgba(0, 210, 106, 0.2);
  outline: none;
}
.score-chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: #101F33;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 15px;
  color: #dbe8ff;
}
.score-chip.active, .score-chip:hover {
  background: #00D26A;
  color: #071421;
  border-color: transparent;
}

/* Leaderboard commercial styles */
.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #0E1B2A;
  border-radius: 16px;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.leaderboard-rank {
  width: 32px;
  font-weight: 900;
  font-size: 15px;
  color: #A8B3C7;
  flex-shrink: 0;
}
.leaderboard-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066FF, #00D26A);
  color: #071421;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
}
.leaderboard-main { flex: 1; min-width: 0; }
.leaderboard-name { font-weight: 800; font-size: 15px; }
.leaderboard-meta { font-size: 12px; color: #A8B3C7; margin-top: 2px; }
.leaderboard-result { font-weight: 700; color: #00D26A; font-size: 13px; }
.leaderboard-banner {
  background:
    linear-gradient(rgba(7,20,33,0.64), rgba(7,20,33,0.88)),
    url('/static/wc/wc-stadium-night.webp') center/cover;
}
.leaderboard-tabs {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.current-rank-sticky {
  position: sticky;
  bottom: 64px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid rgba(0,210,106,0.42);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(7,20,33,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 32px rgba(0,0,0,0.22);
}
.current-rank-sticky b { color: #00D26A; }
.current-rank-sticky span { color: #A8B3C7; font-size: 13px; }

.segmented-tabs {
  display: inline-flex;
  background: #0E1B2A;
  border-radius: 999px;
  padding: 4px;
  border: 1px solid var(--line);
}
.seg-tab {
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  color: #A8B3C7;
  background: transparent;
  border: none;
  cursor: pointer;
}
.seg-tab.active {
  background: #101F33;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ========== Fan Festival 2026 高级赛事氛围样式 ========== */
.hero.hero-worldcup {
  background:
    linear-gradient(rgba(7,20,33,0.55), rgba(7,20,33,0.75)),
    url('/static/wc/wc-stadium-night.webp') center/cover;
  position: relative;
  overflow: hidden;
}
.hero.hero-worldcup:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0,210,106,0.18) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(0,102,255,0.15) 0%, transparent 55%);
  pointer-events: none;
}

.match-hero {
  background: #0E1B2A;
  border-radius: 24px;
  padding: 28px 24px;
  border: 1px solid rgba(0,210,106,0.2);
  position: relative;
  overflow: hidden;
}
.match-hero:after {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 200%;
  background: linear-gradient(135deg, rgba(0,210,106,0.12), transparent 40%);
  transform: rotate(25deg);
  pointer-events: none;
}
.match-hero-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255,255,255,0.08);
  color: #A8B3C7;
  font-size: 13px;
  font-weight: 900;
}
.match-hero-subtitle {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: #A8B3C7;
  text-align: center;
  line-height: 1.55;
}
.match-hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.score-input-group input {
  background: #071421;
  border: 2px solid #1F2E45;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  transition: all .2s ease;
}
.score-input-group input:focus {
  border-color: #00D26A;
  box-shadow: 0 0 0 6px rgba(0,210,106,0.15);
}
.sticky-submit {
  position: sticky;
  bottom: 74px;
  z-index: 10;
  margin-top: 24px;
  padding: 8px 0;
  background: linear-gradient(180deg, rgba(7,20,33,0), rgba(7,20,33,0.92) 35%);
  backdrop-filter: blur(8px);
}
.sticky-submit .gradient-btn, .gradient-btn.full-width { width: 100%; }

.prize-coupon {
  background: linear-gradient(145deg, #0E1B2A, #101F33);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.stat-card {
  background: #0E1B2A;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,102,255,0.15);
}

.leaderboard-row {
  background: #0E1B2A;
  border: 1px solid rgba(255,255,255,0.06);
}

.screen-board {
  background: #071421;
  position: relative;
}
.screen-board:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/static/wc/wc-stadium-night.webp') center/cover;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}

.poster-template-card {
  transition: transform .3s cubic-bezier(0.23,1,0.32,1), box-shadow .3s ease;
}
.poster-template-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0,102,255,0.25);
}
.poster-template-card .poster-preview {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(7,20,33,0.28), rgba(7,20,33,0.72)),
    url('/static/wc/wc-player-kick.webp') center/cover;
}
.poster-template-card .poster-preview:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(0,210,106,0.25), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(0,102,255,0.26), transparent 34%),
    linear-gradient(130deg, transparent 0 42%, rgba(255,59,48,0.24) 42% 46%, transparent 46%);
}
.poster-template-card.red .poster-preview {
  background:
    linear-gradient(rgba(7,20,33,0.18), rgba(7,20,33,0.72)),
    url('/static/wc/wc-hero-stadium.webp') center/cover;
}
.poster-template-card.gold .poster-preview {
  background:
    linear-gradient(rgba(7,20,33,0.20), rgba(7,20,33,0.72)),
    url('/static/wc/wc-stadium-night.webp') center/cover;
}
.poster-template-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.poster-template-card:has(input[type="radio"]:checked) {
  border-color: rgba(0,210,106,0.68);
  box-shadow: 0 0 0 3px rgba(0,210,106,0.16), 0 26px 56px rgba(0,102,255,0.22);
}
.poster-template-card.selected {
  border-color: rgba(0,210,106,0.68);
  box-shadow: 0 0 0 3px rgba(0,210,106,0.16), 0 26px 56px rgba(0,102,255,0.22);
}
.poster-template-card:has(input[type="radio"]:checked) .poster-title:after {
  content: " 已选择";
  display: inline-flex;
  margin-left: 8px;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(0,210,106,0.18);
  color: #00D26A;
  font-size: 12px;
}
.poster-template-card.selected .poster-title:after {
  content: " 当前模板";
  display: inline-flex;
  margin-left: 8px;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(0,210,106,0.18);
  color: #00D26A;
  font-size: 12px;
}

.gradient-btn--primary {
  background: linear-gradient(135deg, #00D26A 0%, #0066FF 100%);
  box-shadow: 0 12px 30px rgba(0,210,106,0.35);
}
.gradient-btn--primary:active {
  transform: scale(0.985);
}

.panel-title {
  font-weight: 950;
  font-size: 18px;
  line-height: 1.25;
}
.merchant-action-panel {
  border: 1px solid rgba(0,210,106,0.22);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 0, rgba(0,102,255,0.22), transparent 38%),
    linear-gradient(180deg, rgba(14,27,42,0.96), rgba(5,12,22,0.96));
  box-shadow: 0 16px 38px rgba(0,0,0,0.30);
}
.merchant-action-panel.compact { padding: 16px; }
.merchant-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.merchant-action-grid.compact { margin-top: 12px; }
.merchant-action {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 14px;
  text-decoration: none;
  background: rgba(7,20,33,0.74);
}
.merchant-action.primary {
  border-color: rgba(0,210,106,0.40);
  background: linear-gradient(135deg, rgba(0,210,106,0.26), rgba(0,102,255,0.20));
}
.merchant-action b { font-size: 15px; }
.merchant-action span { color: #A8B3C7; font-size: 12px; line-height: 1.45; }
.merchant-link-list { display: grid; gap: 10px; }
.merchant-link-list a {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 13px 14px;
  text-decoration: none;
  background: rgba(4,10,18,0.46);
}
.merchant-link-list span, .merchant-copy-block p {
  margin: 0;
  color: #A8B3C7;
  font-size: 13px;
  line-height: 1.6;
}
.merchant-share-card {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 0, rgba(255,196,0,0.14), transparent 36%),
    linear-gradient(180deg, rgba(14,27,42,0.96), rgba(5,12,22,0.96));
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
}
.quick-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.quick-share {
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 78px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 13px 14px;
  text-align: left;
  text-decoration: none;
  background: rgba(4,10,18,0.48);
  color: #fff;
  cursor: pointer;
}
.quick-share.primary {
  border-color: rgba(0,210,106,0.34);
  background: linear-gradient(135deg, rgba(0,210,106,0.22), rgba(0,102,255,0.16));
}
.quick-share b { font-size: 14px; line-height: 1.2; }
.quick-share span { color: #A8B3C7; font-size: 12px; line-height: 1.35; }
.merchant-copy-block {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.merchant-copy-block:first-of-type { border-top: 0; }
.launch-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.launch-check {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 66px;
  border-radius: 16px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(4,10,18,0.42);
}
.launch-check > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 950;
}
.launch-check.ok > span {
  background: rgba(0,210,106,0.18);
  color: #00D26A;
}
.launch-check.todo > span {
  background: rgba(255,196,0,0.16);
  color: #FFC400;
}
.launch-check b {
  display: block;
  font-size: 13px;
  color: #fff;
}
.launch-check small {
  display: block;
  margin-top: 3px;
  color: #A8B3C7;
  font-size: 11px;
  line-height: 1.35;
}
.activity-wizard {
  display: grid;
  gap: 16px;
}
.wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 6px 0 8px;
  background: linear-gradient(180deg, rgba(14,27,42,0.98), rgba(14,27,42,0.80));
  backdrop-filter: blur(10px);
}
.wizard-step {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 9px 6px;
  background: rgba(4,10,18,0.48);
  color: #A8B3C7;
  cursor: pointer;
}
.wizard-step b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #A8B3C7;
  font-size: 12px;
  font-weight: 950;
}
.wizard-step span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
}
.wizard-step.active {
  border-color: rgba(0,210,106,0.42);
  color: #fff;
  background: linear-gradient(135deg, rgba(0,210,106,0.28), rgba(0,102,255,0.20));
  box-shadow: 0 12px 26px rgba(0,102,255,0.14);
}
.wizard-step.active b {
  background: linear-gradient(135deg, #00D26A, #0066FF);
  color: #fff;
}
.wizard-step.done b {
  background: rgba(0,210,106,0.18);
  color: #00D26A;
}
.wizard-panel {
  display: none;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 18px;
  background:
    radial-gradient(circle at 92% 0, rgba(0,102,255,0.14), transparent 34%),
    rgba(4,10,18,0.32);
}
.wizard-panel.active { display: block; }
.wizard-panel-title {
  font-size: 18px;
  font-weight: 950;
  margin-bottom: 8px;
}
.wizard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  position: sticky;
  bottom: 76px;
  z-index: 5;
  padding: 10px 0 0;
  background: linear-gradient(180deg, rgba(14,27,42,0), rgba(14,27,42,0.96) 34%);
  backdrop-filter: blur(10px);
}
.wizard-actions .gradient-btn:only-child {
  grid-column: 1 / -1;
}
@media (min-width: 980px) {
  .mobile.merchant-console,
  .mobile.merchant-detail,
  .mobile.merchant-materials,
  .mobile.merchant-redemptions {
    max-width: 1180px;
    border-left: 0;
    border-right: 0;
    padding: 0 22px 34px;
  }
  .mobile.merchant-console .section,
  .mobile.merchant-detail .section,
  .mobile.merchant-materials .section,
  .mobile.merchant-redemptions .section {
    padding-left: 0;
    padding-right: 0;
  }
  .mobile.merchant-console .hero,
  .mobile.merchant-detail .hero,
  .mobile.merchant-materials .hero,
  .mobile.merchant-redemptions .hero {
    border-radius: 26px;
    margin-top: 16px;
  }
  .mobile.merchant-console .bottom-nav,
  .mobile.merchant-detail .bottom-nav,
  .mobile.merchant-materials .bottom-nav,
  .mobile.merchant-redemptions .bottom-nav {
    position: sticky;
    top: 10px;
    bottom: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    margin: 12px 0 0;
  }
  .mobile.merchant-console .bottom-nav a.active,
  .mobile.merchant-detail .bottom-nav a.active,
  .mobile.merchant-materials .bottom-nav a.active,
  .mobile.merchant-redemptions .bottom-nav a.active {
    border-radius: 14px;
    background: rgba(0,210,106,0.14);
  }
}

.screen {
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background: #030813;
}
.screen-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 34px 42px 138px;
  background: #071421;
}
.screen-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,20,33,0.96) 0%, rgba(7,20,33,0.70) 54%, rgba(7,20,33,0.94) 100%),
    url('/static/wc/wc-stadium-night.webp') center/cover no-repeat;
}
.screen-stage:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(255,59,48,0.30) 18% 20%, transparent 20% 46%, rgba(0,210,106,0.22) 46% 48%, transparent 48% 74%, rgba(0,102,255,0.28) 74% 76%, transparent 76%),
    radial-gradient(circle at 50% 6%, rgba(0,102,255,0.28), transparent 35%),
    radial-gradient(circle at 8% 86%, rgba(0,210,106,0.20), transparent 30%);
  pointer-events: none;
}
.screen-stage > * { position: relative; z-index: 1; }
.screen-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  color: #d8e8ff;
  font-size: 20px;
}
.screen-topline strong {
  color: #00D26A;
  font-size: 24px;
  letter-spacing: 3px;
}
.screen-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 210px);
}
.screen-left { text-align: center; }
.screen-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  margin: 30px auto 18px;
  max-width: 1120px;
}
.screen-team {
  min-width: 0;
  color: #fff;
  font-size: clamp(54px, 6.2vw, 104px);
  line-height: 1.02;
  font-weight: 950;
  text-shadow: 0 0 34px rgba(0,102,255,0.40), 0 10px 34px rgba(0,0,0,0.46);
  word-break: keep-all;
}
.screen-vs {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071421;
  background: linear-gradient(135deg, #FFC400, #00D26A);
  font-size: 42px;
  font-weight: 950;
  box-shadow: 0 0 42px rgba(0,210,106,0.48);
}
.screen-count strong {
  display: block;
  color: #fff;
  font-size: clamp(150px, 17vw, 280px);
  line-height: .86;
  font-weight: 950;
  text-shadow: 0 0 60px rgba(0,210,106,0.28), 0 22px 70px rgba(0,0,0,0.48);
  animation: screenPulse 2.8s ease-in-out infinite;
}
.screen-count span {
  display: block;
  margin-top: 16px;
  color: #00D26A;
  font-size: clamp(30px, 3.1vw, 56px);
  font-weight: 950;
  letter-spacing: 5px;
}
.screen-callout {
  display: inline-flex;
  margin-top: 28px;
  border-radius: 999px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #00D26A, #0066FF);
  color: #fff;
  font-size: 30px;
  font-weight: 950;
  box-shadow: 0 18px 48px rgba(0,102,255,0.28);
}
.screen-side { display: grid; gap: 20px; }
.screen-panel {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 22px;
  background: rgba(5,12,22,0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.28);
}
.screen-panel h2 { margin: 0 0 18px; color: #fff; font-size: 28px; }
.screen-support-row, .screen-hot-row {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(7,20,33,0.78);
  border: 1px solid rgba(255,255,255,0.10);
}
.screen-support-row > *, .screen-hot-row > * { position: relative; z-index: 1; }
.screen-support-row i, .screen-hot-row i {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, rgba(0,210,106,0.44), rgba(0,102,255,0.20));
  border-radius: inherit;
}
.screen-support-row span, .screen-hot-row span { color: #dceaff; font-size: 22px; }
.screen-support-row b, .screen-hot-row strong { color: #FFC400; font-size: 30px; font-weight: 950; }
.screen-muted { color: #A8B3C7; font-size: 22px; }
.screen-live-bar {
  position: absolute;
  left: 42px;
  right: 300px;
  bottom: 34px;
  display: grid;
  grid-template-columns: 160px minmax(0,1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
}
.screen-live-label {
  min-height: 70px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #FFC400;
  color: #071421;
  font-size: 26px;
  font-weight: 950;
  box-shadow: 0 0 36px rgba(255,196,0,0.36);
}
.screen-ticker {
  display: flex;
  gap: 18px;
  overflow: hidden;
  white-space: nowrap;
}
.screen-ticker span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 0 30px;
  background: rgba(7,20,33,0.82);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  animation: screenMarquee 26s linear infinite;
  box-shadow: 0 0 28px rgba(0,102,255,0.18);
}
.screen-ticker span b { color: #00D26A; font-size: 36px; }
.screen-ticker.compact span { min-height: 54px; font-size: 24px; animation-duration: 18s; }
@keyframes screenMarquee { from { transform: translateX(0); } to { transform: translateX(-760px); } }
@keyframes screenPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0,210,106,0)); }
  50% { transform: scale(1.025); filter: drop-shadow(0 0 28px rgba(0,210,106,0.24)); }
}
.screen-qr-fixed {
  position: absolute;
  right: 42px;
  bottom: 34px;
  width: 228px;
  display: grid;
  justify-items: center;
  gap: 8px;
  border-radius: 26px;
  padding: 16px;
  background: #fff;
  color: #071421;
  box-shadow: 0 18px 64px rgba(0,0,0,0.44);
  animation: qrBeat 3.2s ease-in-out infinite;
}
.screen-qr-fixed img { width: 170px; height: 170px; display: block; }
.screen-qr-fixed strong { font-size: 28px; line-height: 1; }
.screen-qr-fixed span { font-size: 16px; color: #263950; }
.screen-result-stage {
  max-width: 1360px;
  margin: -28px auto 22px;
  border-radius: 30px;
  padding: 20px 24px 22px;
  background:
    radial-gradient(circle at 18% 0, rgba(255,196,0,0.30), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(255,59,48,0.22), transparent 32%),
    linear-gradient(135deg, rgba(255,196,0,0.18), rgba(0,102,255,0.13));
  border: 1px solid rgba(255,196,0,0.46);
  box-shadow: 0 0 44px rgba(255,196,0,0.18), inset 0 1px 0 rgba(255,255,255,0.10);
  animation: resultGlow 2.8s ease-in-out infinite;
}
.screen-result-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}
.screen-result-head span {
  border-radius: 999px;
  padding: 10px 16px;
  background: #FFC400;
  color: #071421;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 3px;
}
.screen-result-head strong {
  color: #fff;
  font-size: clamp(56px, 6.4vw, 110px);
  line-height: .9;
  font-weight: 950;
  text-shadow: 0 0 40px rgba(255,196,0,0.48);
}
.screen-result-head b {
  color: #FFC400;
  font-size: clamp(28px, 2.4vw, 46px);
  font-weight: 950;
  text-align: right;
}
.screen-winner-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.screen-winner-card {
  min-height: 104px;
  border-radius: 22px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255,196,0,0.96), rgba(255,106,77,0.88));
  color: #170b05;
  box-shadow: 0 16px 40px rgba(0,0,0,0.26);
  animation: winnerPop .9s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.screen-winner-card em {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(7,20,33,0.16);
  font-style: normal;
  font-size: 14px;
  font-weight: 950;
}
.screen-winner-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(25px, 2vw, 38px);
  line-height: 1.05;
  font-weight: 950;
}
.screen-winner-card span {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 900;
}
.screen-no-winner {
  grid-column: 1 / -1;
  min-height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 24px;
  border: 1px dashed rgba(255,255,255,0.22);
  background: rgba(5,12,22,0.42);
  color: #dceaff;
}
.screen-no-winner strong { font-size: 32px; color: #FFC400; }
.screen-no-winner span { font-size: 22px; color: #dceaff; }
.screen-winner-marquee {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 12px;
}
@keyframes resultGlow {
  0%, 100% { box-shadow: 0 0 36px rgba(255,196,0,0.14), inset 0 1px 0 rgba(255,255,255,0.10); }
  50% { box-shadow: 0 0 70px rgba(255,196,0,0.28), inset 0 1px 0 rgba(255,255,255,0.16); }
}
@keyframes winnerPop {
  from { transform: translateY(18px) scale(.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes qrBeat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 980px) {
  .admin-merchant-tools { grid-template-columns: 1fr; }
  .filter-pills { justify-content: flex-start; }
  .filter-pill { flex: 1 1 calc(50% - 8px); }
  .merchant-action-grid { grid-template-columns: 1fr; }
  .quick-share-grid { grid-template-columns: 1fr; }
  .screen-stage { padding: 20px 18px 220px; }
  .screen-topline { display: grid; gap: 8px; text-align: center; font-size: 15px; }
  .screen-topline strong { font-size: 18px; }
  .screen-main-grid { grid-template-columns: 1fr; gap: 18px; min-height: auto; }
  .screen-match { gap: 12px; }
  .screen-team { font-size: 34px; }
  .screen-vs { width: 70px; height: 70px; font-size: 24px; }
  .screen-count strong { font-size: 120px; }
  .screen-count span { font-size: 26px; letter-spacing: 2px; }
  .screen-callout { font-size: 20px; padding: 12px 18px; }
  .screen-side { grid-template-columns: 1fr; }
  .screen-result-stage { margin: 18px 0; padding: 16px; }
  .screen-result-head { grid-template-columns: 1fr; text-align: center; }
  .screen-result-head b { text-align: center; }
  .screen-winner-wall { grid-template-columns: 1fr; }
  .screen-live-bar { left: 18px; right: 18px; bottom: 18px; grid-template-columns: 1fr; }
  .screen-live-label { min-height: 44px; font-size: 18px; }
  .screen-ticker span { min-height: 54px; font-size: 22px; }
  .screen-qr-fixed { position: relative; right: auto; bottom: auto; width: 190px; margin: 18px auto 0; }
  .screen-qr-fixed img { width: 140px; height: 140px; }
}

/* ========== Launch Polish: sports bar challenge style ========== */
:root {
  --bg: #05070B;
  --panel: #090E15;
  --panel2: rgba(10, 15, 23, 0.88);
  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255, 204, 92, 0.42);
  --green: #22D17D;
  --blue: #1677FF;
  --gold: #FFD05A;
  --gold2: #FFB92E;
  --muted: #AEB7C6;
  --text: #F8FBFF;
  --radius: 22px;
}
body {
  background:
    linear-gradient(90deg, rgba(5,7,11,0.96), rgba(5,7,11,0.82) 50%, rgba(5,7,11,0.96)),
    radial-gradient(circle at 50% 0, rgba(255,208,90,0.18), transparent 30rem),
    url('/static/wc/wc-stadium-night.webp') center/cover fixed no-repeat,
    #05070B;
  color: var(--text);
}
body:before {
  background:
    radial-gradient(circle at 50% 0, rgba(255,208,90,0.16), transparent 22rem),
    linear-gradient(115deg, transparent 0 22%, rgba(255,208,90,0.08) 22% 23%, transparent 23% 64%, rgba(34,209,125,0.07) 64% 65%, transparent 65%);
  mask-image: none;
}
.mobile {
  background:
    linear-gradient(180deg, rgba(6,9,14,0.86), rgba(5,7,11,0.94)),
    radial-gradient(circle at 50% 0, rgba(255,208,90,0.14), transparent 22rem);
  border-color: rgba(255,255,255,0.11);
  width: 100%;
  overflow-x: hidden;
}
.topbar {
  min-height: 58px;
  background: rgba(5,7,11,0.74);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}
.brand { color: #fff; }
.brand:before { background: var(--green); box-shadow: 0 0 18px rgba(34,209,125,.75); }
.hero,
.hero.hero-worldcup {
  background:
    linear-gradient(180deg, rgba(5,7,11,0.46), rgba(5,7,11,0.88)),
    radial-gradient(circle at 70% 0, rgba(255,208,90,0.18), transparent 20rem),
    url('/static/wc/wc-stadium-night.webp') center/cover;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero h1,
.hero-title {
  letter-spacing: -.04em;
  text-shadow: 0 18px 44px rgba(0,0,0,0.56);
}
.hero p,
.meta {
  color: var(--muted);
}
.hero.hero-worldcup .hero-kicker,
.eyebrow {
  color: var(--gold);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero.hero-worldcup .hero-kicker:before,
.eyebrow:before {
  background: var(--green);
  box-shadow: 0 0 16px rgba(34,209,125,.7);
}
.hero.hero-worldcup .eyebrow:before {
  content: "FAN FESTIVAL 2026";
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 6px;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  box-shadow: none;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .04em;
}
.app-card,
.panel,
.match-hero,
.stat-card,
.merchant-action-panel,
.leaderboard-banner,
.screen-panel {
  background:
    linear-gradient(180deg, rgba(13,18,27,0.90), rgba(7,11,17,0.90));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 22px 58px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
}
.gradient-btn {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  line-height: 1.18;
  border-radius: 999px;
  text-wrap: balance;
}
.gradient-btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #111820;
  box-shadow: 0 16px 34px rgba(255,208,90,0.28);
}
.gradient-btn--secondary {
  background: linear-gradient(135deg, rgba(21,28,38,0.96), rgba(8,12,18,0.96));
  color: #fff;
  border: 1px solid rgba(255,208,90,0.38);
}
.gradient-btn--ghost {
  color: #D7DEEA;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.13);
}
.gradient-btn--sm {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
}
.festival-entry-grid {
  gap: 12px;
}
.festival-entry {
  min-height: 126px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(13,18,27,0.94), rgba(8,13,20,0.94));
}
.festival-entry-icon {
  background: rgba(255,208,90,0.13);
  color: var(--gold);
  border: 1px solid rgba(255,208,90,0.18);
}
.prize-coupon {
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  flex-wrap: wrap;
  background: linear-gradient(145deg, rgba(13,18,27,0.96), rgba(8,13,20,0.96));
  border-color: rgba(255,255,255,0.12);
}
.prize-coupon .coupon-left {
  min-width: 0;
}
.prize-coupon .coupon-name {
  overflow-wrap: anywhere;
}
.prize-coupon .coupon-right {
  flex: 1 0 100%;
  width: 100%;
  max-width: none;
  margin-left: 0;
}
.prize-coupon .coupon-badge {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.15;
}
.prize-coupon.status-available .coupon-badge,
.prize-coupon.status-won .coupon-badge,
.prize-coupon.status-pending .coupon-badge {
  background: var(--gold);
  color: #111820;
}
.match-hero {
  border-color: rgba(255,208,90,0.20);
}
.match-hero:after {
  background: linear-gradient(135deg, rgba(255,208,90,0.10), transparent 44%);
}
.match-hero .vs,
.vs {
  background: linear-gradient(135deg, var(--gold), var(--green));
  color: #111820;
  box-shadow: 0 0 28px rgba(255,208,90,0.24);
}
.pill,
.match-hero-label {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: #D7DEEA;
}
.match-hero > div[style*="justify-content:space-between"] {
  flex-wrap: wrap;
  gap: 12px;
}
.match-hero > div[style*="justify-content:space-between"] .gradient-btn {
  flex: 1 0 100%;
  width: 100%;
  min-width: 104px;
}
.match-hero > div[style*="justify-content:space-between"] .pill {
  flex: 1 0 100%;
  width: 100%;
  text-align: center;
}
.score-input-group {
  display: grid;
  grid-template-columns: minmax(64px,1fr) auto auto auto minmax(64px,1fr);
  gap: 8px;
  align-items: center;
}
.score-stepper {
  display: grid;
  grid-template-columns: 32px 56px 32px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.score-stepper input {
  width: 56px !important;
  height: 58px !important;
  border: 0 !important;
  border-left: 1px solid rgba(255,255,255,0.12) !important;
  border-right: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 0 !important;
  background: rgba(5,7,11,0.72) !important;
  color: var(--gold) !important;
  font-size: 28px !important;
}
.score-step {
  width: 32px;
  height: 58px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 25px;
  font-weight: 950;
  cursor: pointer;
}
.score-step:active {
  background: rgba(255,208,90,0.16);
}
.score-chip {
  color: #E9EEF7;
  border-color: rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.05);
}
.score-chip.active {
  color: #111820;
  background: var(--gold);
  border-color: transparent;
}
.field input,
.field textarea,
.field select {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  border-radius: 16px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(255,208,90,0.72);
  box-shadow: 0 0 0 4px rgba(255,208,90,0.13);
}
.bottom-nav {
  background: rgba(5,7,11,0.92);
  border-top-color: rgba(255,255,255,0.10);
}
.bottom-nav a.active {
  color: var(--gold);
}
.qr-fallback {
  width: 132px;
  min-height: 132px;
  display: grid;
  place-items: center;
  margin-top: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(255,208,90,0.42);
  background: rgba(255,208,90,0.08);
  color: var(--gold);
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  padding: 12px;
}
.screen-bg {
  background:
    linear-gradient(90deg, rgba(5,7,11,0.96) 0%, rgba(5,7,11,0.66) 54%, rgba(5,7,11,0.94) 100%),
    url('/static/wc/wc-stadium-night.webp') center/cover no-repeat;
}
.screen-stage:before {
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(255,208,90,0.18) 18% 20%, transparent 20% 46%, rgba(34,209,125,0.18) 46% 48%, transparent 48% 74%, rgba(22,119,255,0.20) 74% 76%, transparent 76%),
    radial-gradient(circle at 50% 6%, rgba(255,208,90,0.22), transparent 35%),
    radial-gradient(circle at 8% 86%, rgba(34,209,125,0.14), transparent 30%);
}
.screen-topline strong,
.screen-count span {
  color: var(--gold);
}
.screen-vs,
.screen-live-label {
  background: var(--gold);
  color: #111820;
}
.screen-callout {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #111820;
}
.screen-support-row i,
.screen-hot-row i {
  background: linear-gradient(90deg, rgba(34,209,125,0.48), rgba(255,208,90,0.42));
}
.screen-qr-fixed {
  width: 198px;
  right: 28px;
  bottom: 24px;
  padding: 12px;
}
.screen-qr-fixed img {
  width: 138px;
  height: 138px;
}
.screen-qr-fixed strong {
  font-size: 23px;
}
.btn {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #111820;
  box-shadow: 0 16px 34px rgba(255,208,90,0.24);
}
.btn2 {
  border-color: rgba(255,208,90,0.25);
  background: rgba(255,255,255,0.045);
}
@media (min-width: 980px) {
  .mobile.merchant-console,
  .mobile.merchant-detail,
  .mobile.merchant-materials,
  .mobile.merchant-redemptions {
    max-width: none;
    min-height: 100vh;
    padding: 0 42px 70px 300px;
    background: transparent;
    border: 0;
  }
  .mobile.merchant-console .topbar,
  .mobile.merchant-detail .topbar,
  .mobile.merchant-materials .topbar,
  .mobile.merchant-redemptions .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin-left: -300px;
    padding: 14px 42px;
  }
  .mobile.merchant-console .hero,
  .mobile.merchant-detail .hero,
  .mobile.merchant-materials .hero,
  .mobile.merchant-redemptions .hero {
    min-height: 190px;
    margin-top: 28px;
  }
  .mobile.merchant-console .bottom-nav,
  .mobile.merchant-detail .bottom-nav,
  .mobile.merchant-materials .bottom-nav,
  .mobile.merchant-redemptions .bottom-nav {
    position: fixed;
    left: max(34px, calc(50vw - 650px));
    top: 120px;
    width: 230px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    background: rgba(7,11,17,0.82);
    backdrop-filter: blur(18px);
  }
  .mobile.merchant-console .bottom-nav a,
  .mobile.merchant-detail .bottom-nav a,
  .mobile.merchant-materials .bottom-nav a,
  .mobile.merchant-redemptions .bottom-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 14px;
  }
  .mobile.merchant-console .bottom-nav a.active,
  .mobile.merchant-detail .bottom-nav a.active,
  .mobile.merchant-materials .bottom-nav a.active,
  .mobile.merchant-redemptions .bottom-nav a.active {
    color: #111820;
    background: var(--gold);
  }
  .mobile.merchant-console .section,
  .mobile.merchant-detail .section,
  .mobile.merchant-materials .section,
  .mobile.merchant-redemptions .section {
    max-width: 1220px;
  }
}
@media (max-width: 430px) {
  .hero.hero-worldcup h1 {
    font-size: 34px !important;
  }
  .score-input-group {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }
  .score-input-group > div:first-child,
  .score-input-group > div:last-child {
    width: 100%;
  }
  .score-input-group > div[style*="font-size:28px"] {
    line-height: 1;
  }
  .prize-coupon {
    align-items: flex-start;
  }
  .prize-coupon .coupon-right {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
  .prize-coupon .coupon-badge {
    width: 100%;
  }
  .match-hero > div[style*="justify-content:space-between"] .gradient-btn,
  .match-hero > div[style*="justify-content:space-between"] .pill {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  body:before {
    opacity: .35;
  }
  .app-card,
  .panel,
  .match-hero,
  .prize-coupon,
  .stat-card,
  .leaderboard-card,
  .poster-template-card,
  .merchant-action,
  .quick-share,
  .screen-panel {
    box-shadow: 0 8px 18px rgba(0,0,0,0.22) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .app-card:before,
  .match-hero:before,
  .hero:after {
    opacity: .42 !important;
  }
  .screen,
  .screen-stage,
  .hero-worldcup,
  .fan-hero,
  .leaderboard-banner,
  .mobile:before,
  .mobile:after {
    background-attachment: scroll !important;
  }
  .ticker span,
  .screen-ticker span {
    animation-duration: 28s !important;
  }
  .score-chip,
  .gradient-btn,
  .btn,
  .btn2 {
    transition: none !important;
  }
}
@media (prefers-reduced-motion: reduce), (max-width: 430px) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
  }
  .ticker span,
  .screen-ticker span,
  .live-dot {
    animation: none !important;
  }
}
