:root {
  color-scheme: dark;
  --bg: #07080d;
  --surface: #101117;
  --surface-raised: #17181f;
  --line: #292a34;
  --muted: #888a96;
  --gold: #f6c86d;
  --gold-soft: #ffe2a3;
  --lime: #cfff51;
  --purple: #8f35ff;
  --white: #f8f8fa;
  background: var(--bg);
  color: var(--white);
  font-family: "Poppins", sans-serif;
}

* { box-sizing: border-box; }
button { font: inherit; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -15%, rgba(122, 49, 212, .22), transparent 32rem),
    linear-gradient(180deg, #0b0c12, var(--bg) 35%);
}
body, button, input, textarea, select { font-family: "Poppins", sans-serif; }
h1, h2, .settings-title h2, .admin-drawer > summary, .primary-action, .keydrop-action,
.ignore-action, .danger-action { font-family: "Poppins", sans-serif; }
main { width: min(100%, 600px); margin: 0 auto; padding: 16px 16px 112px; }

.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 58px; margin-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px 10px 4px 10px;
  background: linear-gradient(145deg, var(--gold-soft), #dca849); color: #15120b;
  font-family: "Goldman", sans-serif; font-size: 20px; font-weight: 700;
  box-shadow: 0 0 28px rgba(246, 200, 109, .2);
}
.brand-name { font-family: "Goldman", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.04em; }
.brand-name span { color: var(--gold); }
.brand-lockup { display: block; width: 116px; height: auto; object-fit: contain; }
.profile-chip { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 11px; border: 1px solid var(--line); border-radius: 99px; background: rgba(23, 24, 31, .86); color: #c1c2c9; font-size: 11px; font-weight: 600; }
.profile-chip.avatar-only { padding: 4px; border: 0; background: transparent; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-language { position: relative; display: flex; align-items: center; gap: 5px; min-width: 50px; padding: 6px 7px; border: 1px solid #30313a; border-radius: 10px; background: #15161c; }
.header-language span { font-size: 15px; line-height: 1; }
.header-language select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.header-language i { color: #777984; font-size: 9px; font-style: normal; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 9px var(--lime); }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #17130c; font-weight: 800; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 350px; border: 1px solid #32303c; border-radius: 26px; background: linear-gradient(145deg, #191923 0%, #0e0f15 58%, #14101b 100%); box-shadow: 0 28px 80px rgba(0, 0, 0, .42); }
.hero::after { content: "PICK"; position: absolute; right: -16px; top: 38px; z-index: -1; font-family: "Goldman", sans-serif; font-size: 116px; font-weight: 700; color: rgba(255, 255, 255, .025); transform: rotate(-90deg); }
.hero-grid { position: absolute; inset: 0; z-index: -2; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
.hero-glow { position: absolute; width: 240px; height: 240px; right: -70px; bottom: -90px; z-index: -1; border-radius: 50%; background: var(--purple); filter: blur(76px); opacity: .32; }
.hero-content { padding: 30px 26px 24px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--gold); font-family: "Goldman", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.eyebrow span { padding: 5px 8px; border-radius: 6px; background: var(--lime); color: #12150b; letter-spacing: .08em; }
h1 { margin: 0; font-family: "Goldman", sans-serif; font-size: clamp(37px, 10vw, 57px); line-height: .94; letter-spacing: -.045em; }
h1 em { color: var(--lime); font-style: normal; text-shadow: 0 0 30px rgba(207, 255, 81, .14); }
.hero-content > p { margin: 16px 0 24px; color: #a6a7af; font-size: 13px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 15px; background: rgba(7, 8, 13, .48); }
.stat { display: flex; flex-direction: column; padding: 13px 14px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { font-family: "Goldman", sans-serif; font-size: 18px; line-height: 1; }
.stat span { margin-top: 6px; color: #71727d; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.accent-stat strong { color: var(--gold); }
.progress-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.progress { flex: 1; height: 6px; overflow: hidden; border-radius: 8px; background: #2a2b34; }
.progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a9e82b, var(--lime)); box-shadow: 0 0 12px rgba(207, 255, 81, .55); transition: width .25s; }
.progress-row small { min-width: 34px; color: #878894; font-family: "Goldman", sans-serif; font-size: 10px; text-align: right; }

.section-title { display: flex; align-items: end; justify-content: space-between; margin: 30px 3px 14px; }
.section-title p { margin: 0 0 2px; color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .2em; }
h2 { margin: 0; font-family: "Goldman", sans-serif; font-size: 19px; letter-spacing: -.02em; }
.format-badge { padding: 7px 10px; border: 1px solid #3b3447; border-radius: 8px; background: #1d1726; color: #c998ff; font-family: "Goldman", sans-serif; font-size: 10px; }
.matches { display: grid; gap: 11px; }
.match { position: relative; overflow: hidden; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(135deg, var(--surface-raised), var(--surface)); }
.match::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--gold), #ae7c2a); opacity: .8; }
.match-time { display: flex; align-items: center; gap: 7px; margin: 0 0 12px 3px; color: #858691; font-size: 10px; font-weight: 600; letter-spacing: .03em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(246, 200, 109, .85); }
.teams { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: stretch; gap: 7px; }
.versus { display: grid; place-items: center; color: #555660; font-family: "Goldman", sans-serif; font-size: 9px; }
.team { position: relative; min-height: 68px; padding: 12px 8px; border: 1px solid #30313a; border-radius: 11px; background: #111218; color: #f0f0f2; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.team:hover { transform: translateY(-1px); border-color: #575864; }
.team.selected { border-color: var(--lime); background: linear-gradient(145deg, rgba(207, 255, 81, .17), rgba(116, 145, 36, .07)); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(207, 255, 81, .07), 0 0 22px rgba(207, 255, 81, .06); }
.team.selected::after { content: "✓"; position: absolute; top: 7px; right: 8px; color: var(--lime); font-size: 10px; }

.bottom-nav { position: fixed; left: 50%; bottom: 10px; z-index: 10; display: grid; grid-template-columns: repeat(4, 1fr); width: min(calc(100% - 28px), 570px); padding: 7px; border: 1px solid #2c2d35; border-radius: 18px; background: rgba(18, 19, 25, .94); box-shadow: 0 18px 50px rgba(0,0,0,.55); backdrop-filter: blur(18px); transform: translateX(-50%); }
.bottom-nav:has(.admin-nav[hidden]) { grid-template-columns: repeat(3, 1fr); }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 48px; border: 0; border-radius: 12px; background: transparent; color: #666873; font-size: 8px; font-weight: 700; letter-spacing: .05em; }
.nav-item span { font-size: 14px; }
.nav-item.active { background: rgba(246, 200, 109, .09); color: var(--gold); }
.toast { position: fixed; left: 50%; bottom: 86px; z-index: 20; width: max-content; transform: translate(-50%, 18px); padding: 12px 17px; border: 1px solid #b9e743; border-radius: 11px; background: var(--lime); color: #111408; font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; transition: .2s; box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.primary-action { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 18px; padding: 14px 16px; border: 0; border-radius: 11px; background: var(--lime); color: #101308; font-family: "Goldman", sans-serif; font-size: 12px; font-weight: 700; text-align: center; cursor: pointer; box-shadow: 0 12px 32px rgba(207,255,81,.12); }
.primary-action:disabled { opacity: .45; cursor: not-allowed; }
.primary-action span { font-size: 18px; }
.section-title button { border: 0; background: none; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.page-heading { padding: 18px 3px 22px; }
.page-heading p, .profile-hero > p { margin: 0 0 5px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.page-heading h1, .profile-hero h1, .tournament-hero h1 { margin: 0 0 8px; font-family: "Goldman", sans-serif; font-size: 34px; line-height: 1; }
.page-heading > span { color: var(--muted); font-size: 12px; }
.filter-row, .date-strip, .stage-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
.filter-row button, .date-strip button, .stage-tabs button { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 9px; background: #111218; color: #737580; font-size: 9px; font-weight: 800; }
.filter-row button.active, .date-strip button.active, .stage-tabs button.active { border-color: rgba(246,200,109,.5); background: rgba(246,200,109,.1); color: var(--gold); }
.tournament-list { display: grid; gap: 11px; }
.tournament-card { display: grid; grid-template-columns: 86px 1fr; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #111218; color: var(--white); text-align: left; cursor: pointer; }
.tournament-art { position: relative; display: grid; place-items: center; min-height: 132px; overflow: hidden; background: radial-gradient(circle at 50% 80%, rgba(143,53,255,.6), transparent 62%), #16131e; }
.tournament-card.gold .tournament-art { background: radial-gradient(circle at 50% 80%, rgba(246,200,109,.48), transparent 62%), #1b1812; }
.tournament-card.lime .tournament-art { background: radial-gradient(circle at 50% 80%, rgba(207,255,81,.35), transparent 62%), #151a10; }
.tournament-art span { position: relative; z-index: 1; font-family: "Goldman", sans-serif; font-size: 25px; font-weight: 700; }
.tournament-art i { position: absolute; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.13); transform: rotate(45deg); }
.tournament-copy { display: flex; flex-direction: column; padding: 14px; }
.card-meta, .tournament-footer { display: flex; align-items: center; justify-content: space-between; }
.card-meta span { padding: 4px 6px; border-radius: 5px; background: var(--lime); color: #11140a; font-size: 7px; font-weight: 900; }
.card-meta small { color: #70717b; font-size: 8px; }
.tournament-copy h3 { margin: 11px 0 auto; font-family: "Goldman", sans-serif; font-size: 15px; line-height: 1.05; }
.tournament-footer { margin-top: 13px; }
.tournament-footer strong { color: var(--gold); font-family: "Goldman", sans-serif; font-size: 12px; }
.tournament-footer span { color: #858690; font-size: 8px; font-weight: 700; }
.card-progress { height: 3px; margin-top: 9px; overflow: hidden; border-radius: 4px; background: #292a31; }
.card-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), #bd77ff); }
.tournament-card.gold .card-progress i { background: var(--gold); }
.tournament-card.lime .card-progress i { background: var(--lime); }
.profile-hero { display: flex; flex-direction: column; align-items: center; padding: 28px 20px 24px; text-align: center; }
.large-avatar { display: grid; place-items: center; width: 82px; height: 82px; margin-bottom: 14px; border: 1px solid #795b28; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #ffe2a3, #d49b36); color: #171208; font-family: "Goldman", sans-serif; font-size: 32px; box-shadow: 0 0 48px rgba(246,200,109,.16); }
.profile-score { display: grid; grid-template-columns: auto auto 1px auto auto; align-items: center; gap: 8px; margin-top: 14px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.profile-score strong { font-family: "Goldman", sans-serif; color: var(--gold); }
.profile-score span { color: #71727c; font-size: 8px; font-weight: 800; }
.profile-score i { width: 1px; height: 18px; background: var(--line); }
.settings-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #17181f, #0f1015); }
.settings-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.settings-title p { margin: 0; color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.settings-title h2 { font-size: 16px; }
.security-badge { padding: 6px 8px; border-radius: 6px; background: rgba(207,255,81,.1); color: var(--lime); font-size: 7px; font-weight: 800; }
.settings-card label { display: grid; gap: 7px; margin-bottom: 14px; color: #8b8c96; font-size: 10px; font-weight: 600; }
.settings-card input { width: 100%; padding: 13px; border: 1px solid #30313b; border-radius: 10px; outline: 0; background: #0b0c11; color: var(--white); font: inherit; font-size: 12px; }
.settings-card input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246,200,109,.08); }
.integration-state { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px dashed #3b3c45; border-radius: 11px; background: #0d0e13; }
.integration-state > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #24252c; color: var(--gold); font-weight: 800; }
.integration-state div { display: grid; gap: 2px; }
.integration-state strong { font-size: 9px; }
.integration-state small { color: #6f707a; font-size: 8px; line-height: 1.35; }
.integration-state.linked { border-style: solid; border-color: rgba(207,255,81,.25); }
.integration-state.linked > span { background: var(--lime); color: #101308; }
.back-button { margin: 8px 0 12px; border: 0; background: transparent; color: #858690; font-size: 9px; font-weight: 800; }
.tournament-hero { display: flex; align-items: center; gap: 16px; padding: 21px; border: 1px solid #493069; border-radius: 19px; background: radial-gradient(circle at 10% 90%, rgba(143,53,255,.42), transparent 45%), #15121d; }
.tournament-hero.gold { border-color: #67532e; background: radial-gradient(circle at 10% 90%, rgba(246,200,109,.3), transparent 45%), #191711; }
.tournament-hero.lime { border-color: #425420; background: radial-gradient(circle at 10% 90%, rgba(207,255,81,.23), transparent 45%), #14170f; }
.trophy, .team-monogram { display: grid; place-items: center; flex: 0 0 auto; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(0,0,0,.25); font-family: "Goldman", sans-serif; font-weight: 700; }
.tournament-hero p { margin: 0 0 5px; color: var(--gold); font-size: 8px; font-weight: 800; }
.tournament-hero h1 { font-size: 21px; }
.tournament-hero > div > span { color: #858690; font-size: 9px; }
.tournament-hero strong { color: var(--lime); }
.stage-tabs { margin-top: 15px; }
.stage-note { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; padding: 12px; border: 1px solid rgba(246,200,109,.18); border-radius: 11px; background: rgba(246,200,109,.06); }
.stage-note > span { color: var(--gold); }
.stage-note div { display: grid; }
.stage-note strong { font-size: 9px; }
.stage-note small { color: #777883; font-size: 8px; }
.entry-list { display: grid; gap: 8px; }
.entry-card { display: grid; grid-template-columns: 44px 1fr 30px; align-items: center; gap: 11px; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: #111218; color: var(--white); text-align: left; }
.entry-card .team-monogram { width: 44px; height: 44px; border-radius: 10px; font-size: 12px; }
.entry-card div { display: grid; gap: 2px; }
.entry-card strong { font-size: 11px; }
.entry-card small { color: #73747e; font-size: 8px; }
.entry-card > i { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #34353e; border-radius: 8px; color: #6d6e78; font-style: normal; }
.entry-card.selected { border-color: rgba(207,255,81,.45); background: rgba(207,255,81,.06); }
.entry-card.selected > i { border-color: var(--lime); background: var(--lime); color: #101308; }
.screen-loader { display: grid; place-items: center; min-height: 50vh; color: #777883; font-size: 11px; }
.screen-loader span { width: 28px; height: 28px; border: 2px solid #33343d; border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
.error-card { margin-top: 30px; padding: 20px; border: 1px solid #61323a; border-radius: 15px; background: #211217; color: #ff7d8b; }
@keyframes spin { to { transform: rotate(360deg); } }

.campaign-hero { position: relative; isolation: isolate; overflow: hidden; padding: 27px 23px 22px; border: 1px solid #332f3d; border-radius: 24px; background: linear-gradient(145deg, #191923, #0f1016 62%, #191121); }
.campaign-status { display: flex; align-items: center; gap: 9px; color: var(--gold); font-family: "Goldman", sans-serif; font-size: 9px; letter-spacing: .11em; }
.campaign-status span { padding: 5px 7px; border-radius: 5px; background: var(--lime); color: #111408; font-weight: 700; }
.campaign-hero h1 { max-width: 430px; margin: 17px 0 10px; font-family: "Goldman", sans-serif; font-size: clamp(34px, 10vw, 52px); line-height: .95; letter-spacing: -.04em; }
.campaign-hero > p { max-width: 430px; color: #9a9ba5; font-size: 12px; line-height: 1.5; }
.prize-panel { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(246,200,109,.28); border-radius: 13px; background: linear-gradient(90deg, rgba(246,200,109,.13), rgba(246,200,109,.03)); }
.prize-panel div { display: grid; gap: 3px; }
.prize-panel small { color: #8d7b58; font-size: 7px; font-weight: 800; letter-spacing: .15em; }
.prize-panel strong { color: var(--gold); font-family: "Goldman", sans-serif; font-size: 16px; }
.prize-panel > span { font-size: 27px; }
.campaign-progress { margin-top: 15px; }
.campaign-progress div { display: flex; justify-content: space-between; color: #858690; font-size: 8px; font-weight: 700; }
.campaign-progress strong { color: var(--white); }
.campaign-progress > i { display: block; height: 5px; margin-top: 7px; overflow: hidden; border-radius: 5px; background: #2b2c34; }
.campaign-progress b { display: block; height: 100%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.prediction-list { display: grid; gap: 11px; }
.prediction-card { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #17181f, #0f1015); }
.prediction-top { display: flex; align-items: center; justify-content: space-between; }
.prediction-top span { color: #777883; font-family: "Goldman", sans-serif; font-size: 8px; letter-spacing: .1em; }
.prediction-top strong { padding: 5px 7px; border-radius: 6px; background: rgba(207,255,81,.1); color: var(--lime); font-size: 8px; }
.prediction-top .question-points.muted { background: #24252c; color: #777984; }
.prediction-top .question-points.available { background: rgba(207,255,81,.1); color: var(--lime); }
.prediction-card h3 { margin: 14px 0 8px; font-family: "Goldman", sans-serif; font-size: 16px; line-height: 1.25; }
.matchup-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; padding: 6px 8px; border: 1px solid #37333f; border-radius: 7px; background: #19151f; color: #d0a9ff; font-size: 8px; font-weight: 800; }
.deadline { display: flex; align-items: center; gap: 6px; color: #73747e; font-size: 8px; }
.answer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 14px; }
.answer-grid.many { grid-template-columns: 1fr; }
.answer-option { position: relative; min-height: 45px; padding: 10px; border: 1px solid #30313a; border-radius: 10px; background: #0d0e13; color: #d5d5da; font-size: 11px; font-weight: 700; }
.answer-option.selected { border-color: var(--lime); background: rgba(207,255,81,.08); color: var(--lime); }
.answer-option i { position: absolute; right: 9px; color: var(--lime); font-style: normal; }
.answer-option:disabled { cursor: not-allowed; }
.prediction-card.closed { opacity: .62; }
.day-group { margin-top: 18px; }
.day-divider { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; padding: 0 3px 8px; border-bottom: 1px solid #292a31; }
.day-divider span { color: var(--gold); font-family: "Goldman", sans-serif; font-size: 11px; }
.day-divider small { color: #686973; font-size: 7px; font-weight: 800; }
.keydrop-gate { display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 11px; width: 100%; margin-top: 12px; padding: 13px; border: 1px solid rgba(246,200,109,.3); border-radius: 13px; background: rgba(246,200,109,.08); color: var(--white); text-align: left; }
.keydrop-gate > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--gold); color: #161209; font-family: "Goldman", sans-serif; }
.keydrop-gate div { display: grid; }
.keydrop-gate strong { font-size: 9px; }.keydrop-gate small { color: #89806f; font-size: 8px; }
.keydrop-gate i { color: var(--gold); font-style: normal; }
.answer-stats { display: grid; gap: 9px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #292a31; }
.stat-line div { display: flex; justify-content: space-between; color: #898a94; font-size: 8px; }
.stat-line i { display: block; height: 5px; margin-top: 5px; overflow: hidden; border-radius: 5px; background: #292a31; }
.stat-line b { display: block; height: 100%; background: #777985; }
.stat-line.correct div span { color: var(--lime); }.stat-line.correct b { background: var(--lime); }
.user-photo { object-fit: cover; }
.fallback-photo, .user-photo { display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #151109; font-family: "Goldman", sans-serif; }
.large-photo { width: 82px; height: 82px; margin-bottom: 13px; font-size: 29px; box-shadow: 0 0 45px rgba(246,200,109,.15); }
.profile-hero > small { color: #70717a; font-size: 8px; }
.help-button { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #484951; border-radius: 50%; background: #202128; color: var(--gold); font-weight: 800; }
.keydrop-card { margin-top: 11px; }
.keydrop-action { width: 100%; padding: 14px; border: 0; border-radius: 10px; background: var(--gold); color: #171209; font-family: "Goldman", sans-serif; font-weight: 700; }
.linked-account { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid rgba(207,255,81,.3); border-radius: 11px; background: rgba(207,255,81,.06); color: inherit; text-decoration: none; }
.linked-account > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--lime); color: #101308; font-weight: 900; }
.linked-account div { display: grid; }
.linked-account strong { font-size: 9px; }
.linked-account small { color: #8b9a62; font-size: 8px; }
.locked-note { margin: 9px 2px 0; color: #71727c; font-size: 8px; }
.additional-prizes { display: grid; gap: 7px; margin-top: 10px; padding: 12px; border: 1px solid #30313a; border-radius: 12px; background: rgba(10,11,16,.62); }
.additional-prizes > small { color: #777984; font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.additional-prizes > div { display: grid; grid-template-columns: 24px 34px 1fr auto; align-items: center; gap: 8px; min-height: 36px; }
.additional-prizes b { color: var(--gold); font: 700 9px/1 "Goldman",sans-serif; }.additional-prizes img { width: 34px; height: 34px; object-fit: contain; }.additional-prizes strong { font-size: 9px; }.additional-prizes em { color: var(--lime); font-size: 8px; font-style: normal; font-weight: 700; }
.leader-podium { display: flex; align-items: end; justify-content: center; gap: 7px; margin: 8px 0 20px; }
.podium { display: flex; flex-direction: column; align-items: center; width: 30%; border: 0; background: transparent; color: inherit; }
.podium > span { display: grid; place-items: center; width: 20px; height: 20px; margin-bottom: -8px; z-index: 1; border-radius: 50%; background: #33343c; font-size: 8px; font-weight: 800; }
.podium > div { display: grid; place-items: center; width: 55px; height: 55px; border: 2px solid #4a4b54; border-radius: 50%; background: #22232a; font-family: "Goldman", sans-serif; font-size: 18px; }
.podium.p1 { order: 2; }
.podium.p1 > div { width: 69px; height: 69px; border-color: var(--gold); background: radial-gradient(circle, #57431e, #211c13); }
.podium > img { width: 55px; height: 55px; border: 2px solid #4a4b54; border-radius: 50%; object-fit: cover; }.podium.p1 > img { width: 69px; height: 69px; border-color: var(--gold); }
.podium.p2 { order: 1; }.podium.p3 { order: 3; }
.podium strong { max-width: 100%; margin-top: 7px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.podium small { color: var(--gold); font-size: 8px; }
.rank-prize { margin-top:5px; color:var(--lime); font:700 6px/1.25 Poppins,sans-serif; text-align:center; }
.inline-prize { display:block; margin-top:2px; color:var(--lime); font-size:7px; }
.leaderboard-table { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #111218; }
.leader-row { display: grid; grid-template-columns: 22px minmax(90px, 1fr) 54px 50px 34px; align-items: center; gap: 5px; width: 100%; min-height: 52px; padding: 7px 10px; border: 0; border-bottom: 1px solid #25262d; background: transparent; color: inherit; font-size: 9px; text-align: left; }
.leader-row:last-child { border-bottom: 0; }
.leader-row.header { min-height: 34px; color: #666771; font-size: 7px; font-weight: 800; }
.leader-row > div { display: flex; align-items: center; gap: 7px; min-width: 0; }
.leader-row > div strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; border-radius: 50%; background: #292a31; color: var(--gold); font-weight: 800; }
.leader-row em { color: var(--lime); font-style: normal; font-weight: 800; }
.leader-row.me { background: rgba(246,200,109,.07); }
.my-rank-card { display: grid; grid-template-columns: 34px 52px 1fr 20px; align-items: center; gap: 8px; width: 100%; margin-bottom: 18px; padding: 13px; border: 1px solid rgba(246,200,109,.28); border-radius: 13px; background: rgba(246,200,109,.07); color: inherit; text-align: left; }
.my-rank-card .my-rank-number { display: grid; place-items: center; align-self: stretch; color: var(--gold); font: 700 18px/1 "Goldman", sans-serif; }.my-rank-card div { display: grid; }.my-rank-card small { color: #777883; font-size: 8px; }.my-rank-card strong { font-size: 11px; }.my-rank-card > i { color: var(--gold); font-style: normal; }
.my-rank-change { display: grid; place-items: center; align-self: stretch; }
.my-rank-change .rank-move { margin: 0; font-size: 8px; }
.load-more { display: grid; place-items: center; gap: 3px; width: 100%; margin-top: 11px; padding: 13px; border: 1px solid #34353e; border-radius: 11px; background: #15161c; color: var(--gold); }
.load-more span { font: 700 9px/1 "Goldman",sans-serif; }
.load-more small { color: #696a74; font-size: 7px; }
.load-more.loading { opacity: .55; }
.list-complete { padding: 14px; color: #666873; font-size: 8px; text-align: center; }
.rank-skeleton { position: relative; overflow: hidden; border-radius: 12px; background: #191a21; }
.rank-skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent,rgba(255,255,255,.045),transparent); transform: translateX(-100%); animation: skeletonSweep 1.2s ease-in-out infinite; }
.hero-skeleton { height: 74px; margin-bottom: 18px; }
.skeleton-table { display: grid; gap: 1px; padding: 9px; }
.row-skeleton { height: 47px; border-radius: 8px; }
@keyframes skeletonSweep { to { transform: translateX(100%); } }
.history-list { display: grid; gap: 8px; }
.history-item { display: grid; grid-template-columns: 1fr 36px; align-items: center; gap: 9px; padding: 12px; border: 1px solid #30313a; border-radius: 12px; background: #111218; }
.history-item div { display: grid; gap: 3px; }.history-item small { color: #9e77cb; font-size: 7px; font-weight: 800; }.history-item strong { font-size: 10px; }.history-item span { color: #7a7b85; font-size: 8px; }.history-item em { font-family: "Goldman", sans-serif; font-style: normal; text-align: center; }
.history-item.correct { border-color: rgba(207,255,81,.28); }.history-item.correct em { color: var(--lime); }.history-item.wrong { border-color: rgba(255,80,95,.22); }.history-item.wrong em { color: #ff6472; }.history-item.pending em { color: var(--gold); }
.empty-state { padding: 18px; border: 1px dashed #35363f; border-radius: 12px; color: #777883; font-size: 9px; text-align: center; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; align-items: end; padding: 14px; background: rgba(2,3,6,.78); backdrop-filter: blur(8px); }
.help-modal { position: relative; width: min(100%, 540px); margin: 0 auto; padding: 24px; border: 1px solid #3c3d46; border-radius: 20px; background: #15161c; box-shadow: 0 -20px 70px rgba(0,0,0,.5); }
.help-modal > button { position: absolute; top: 12px; right: 14px; border: 0; background: none; color: #8a8b94; font-size: 24px; }
.help-modal > p { color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.help-modal h2 { font-family: "Goldman", sans-serif; }
.help-modal ol { padding-left: 20px; color: #aaaab2; font-size: 11px; line-height: 1.8; }
.help-modal a { color: var(--gold); }
.help-modal code { color: var(--lime); font-size: 9px; }
.warning { padding: 11px; border: 1px solid rgba(246,200,109,.22); border-radius: 9px; background: rgba(246,200,109,.06); color: var(--gold); font-size: 9px; }
.settings-card textarea, .settings-card select { width: 100%; padding: 12px; border: 1px solid #30313b; border-radius: 10px; outline: 0; background: #0b0c11; color: var(--white); font: inherit; font-size: 11px; }
.settings-card textarea { min-height: 78px; resize: vertical; }
.resolve-card { margin-top: 11px; }
.admin-form, .draw-card { margin-top: 11px; }
.draw-card > p { color: #858690; font-size: 9px; line-height: 1.5; }
#draw-result { display: grid; gap: 3px; margin-top: 12px; color: var(--gold); text-align: center; }
#draw-result small { color: #81828b; }
.resolve-item { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid #292a31; }
.resolve-item strong { font-size: 10px; }
.resolve-item button { padding: 10px; border: 0; border-radius: 8px; background: var(--gold); color: #151109; font-size: 9px; font-weight: 800; }
.resolve-item > small { color: #b68ae8; font-size: 7px; font-weight: 800; }.resolve-item.resolved { opacity: .66; }.resolve-item button:disabled { background: #30313a; color: #777883; }
.admin-date-tabs { display: flex; gap: 7px; margin-bottom: 12px; overflow-x: auto; }.admin-date-tabs button { flex: 0 0 auto; padding: 8px 10px; border: 1px solid #33343d; border-radius: 8px; background: #111218; color: #777883; font-size: 8px; font-weight: 800; }.admin-date-tabs button.active { border-color: var(--gold); color: var(--gold); }
.admin-user-row { padding: 8px 0; border-bottom: 1px solid #292a31; }.admin-user-row > button:first-child { display: grid; grid-template-columns: 38px 1fr 16px; align-items: center; gap: 9px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }.admin-user-row img, .admin-user-row > button:first-child > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #292a31; color: var(--gold); }.admin-user-row div { display:grid; gap:2px; }.admin-user-row small, .admin-user-row em { color:#777984; font-size:7px; font-style:normal; }.visibility-action { width:100%; margin-top:7px; padding:8px; border:1px solid #444650; border-radius:8px; background:#17181f; color:#92949e; font-size:7px; font-weight:800; }.visibility-action.hidden-user { border-color:rgba(207,255,81,.35); color:var(--lime); }

@media (max-width: 380px) {
  main { padding-inline: 12px; }
  .hero-content { padding: 25px 20px 21px; }
  .profile-chip > span:not(.status-dot) { display: none; }
  .teams { grid-template-columns: 1fr 24px 1fr; }
  .stat { padding-inline: 10px; }
}

/* KeyDrop motion system and polished mobile home */
html { scroll-behavior: smooth; overscroll-behavior-y: none; }
body { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
button, a, input, select, textarea { touch-action: manipulation; }
button, a { -webkit-user-select: none; user-select: none; }
button { transition: transform .16s cubic-bezier(.2,.8,.2,1), border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
button:active, a:active { transform: scale(.975); }
.view-surface { min-height: 60vh; transform-origin: 50% 20%; will-change: transform, opacity; }
.view-surface.enter-forward { animation: pageForward .34s cubic-bezier(.22,.8,.24,1) both; }
.view-surface.enter-back { animation: pageBack .3s cubic-bezier(.22,.8,.24,1) both; }
.view-surface.swiping-back { transform: translate3d(var(--swipe-x),0,0); opacity: .92; transition: none; }

.topbar { position: sticky; top: 0; z-index: 9; min-height: 64px; margin: -16px -16px 14px; padding: 10px 16px 8px; border-bottom: 1px solid rgba(47,48,59,.68); background: rgba(9,10,15,.78); backdrop-filter: blur(20px) saturate(1.35); }
.brand-mark { position: relative; width: 36px; height: 36px; border-radius: 7px; background: linear-gradient(145deg, #ffd783, #e2a640); box-shadow: 0 8px 28px rgba(246,200,109,.16); }
.brand-mark::after { content: ""; position: absolute; inset: 8px; border: 2px solid #181309; border-radius: 2px; transform: rotate(45deg); opacity: .32; }
.brand-mark::after { display: none; }
.brand-mark img { width: 24px; height: 26px; object-fit: contain; }
.brand-name { font-size: 19px; }
.brand-name span { display: block; margin-top: -3px; font: 700 7px/1 "Poppins",sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.profile-chip { border-color: #33343d; background: #191a21; box-shadow: inset 0 1px rgba(255,255,255,.035); }

.event-pass { display: grid; grid-template-columns: 58px 1fr 70px; align-items: stretch; min-height: 56px; margin-bottom: 12px; overflow: hidden; border: 1px solid #31323e; border-radius: 12px; background: #171820; box-shadow: inset 0 1px rgba(255,255,255,.025); }
.event-level, .event-points { display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(145deg, rgba(246,200,109,.28), rgba(86,62,24,.28)); }
.event-points { background: linear-gradient(145deg, rgba(0,239,197,.16), rgba(0,71,61,.19)); }
.event-level strong, .event-points strong { color: var(--gold); font: 700 18px/1 "Goldman",sans-serif; }
.event-points strong { color: #36ead1; }
.event-level small, .event-points small { margin-top: 5px; color: #d4d4da; font-size: 6px; font-weight: 800; }
.event-track { display: flex; flex-direction: column; justify-content: center; padding: 0 12px; }
.event-track div { display: flex; justify-content: space-between; margin-bottom: 7px; color: #8b8c96; font-size: 7px; font-weight: 800; }
.event-track b { color: var(--gold); }
.event-track > i { height: 4px; overflow: hidden; border-radius: 4px; background: #2b2c38; }
.event-track em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#dca846,var(--gold)); box-shadow: 0 0 12px rgba(246,200,109,.45); animation: growBar .7s cubic-bezier(.2,.8,.2,1) both; }

.campaign-hero { min-height: 370px; padding: 25px 21px 18px; border-color: #363440; border-radius: 22px; background: radial-gradient(circle at 82% 17%, rgba(130,53,231,.4), transparent 38%), linear-gradient(148deg,#20202b,#101116 58%,#16121d); box-shadow: 0 25px 65px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.035); }
.campaign-hero::after { content: "PREDICT"; position: absolute; right: -18px; top: 82px; z-index: -1; color: rgba(255,255,255,.025); font: 700 72px/1 "Goldman",sans-serif; transform: rotate(-90deg); }
.hero-copy { position: relative; z-index: 2; max-width: 88%; }
.campaign-hero h1 { max-width: 360px; margin-top: 21px; font-size: clamp(34px,10.5vw,52px); line-height: .91; text-wrap: balance; }
.campaign-hero > .hero-copy > p { max-width: 350px; margin: 14px 0 0; color: #a8a8b2; font-size: 11px; line-height: 1.55; }
.campaign-status span { position: relative; box-shadow: 0 0 20px rgba(207,255,81,.18); }
.campaign-status span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #132006; animation: livePulse 1.8s ease infinite; }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(178,111,255,.22); transform: rotate(45deg); }
.orbit-one { right: -55px; top: 66px; width: 190px; height: 190px; animation: orbitFloat 7s ease-in-out infinite; }
.orbit-two { right: 35px; top: 118px; width: 82px; height: 82px; border-color: rgba(246,200,109,.19); animation: orbitFloat 5s ease-in-out -1.6s infinite reverse; }
.prize-panel { position: relative; z-index: 2; display: grid; grid-template-columns: 44px 1fr 25px; gap: 12px; margin-top: 24px; padding: 13px; border-color: rgba(246,200,109,.35); background: linear-gradient(90deg,rgba(79,57,23,.74),rgba(30,25,17,.68)); backdrop-filter: blur(8px); }
.prize-showcase { position: relative; z-index: 2; display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: center; gap: 13px; min-height: 126px; margin-top: 22px; padding: 10px; overflow: hidden; border: 1px solid rgba(246,200,109,.35); border-radius: 14px; background: radial-gradient(circle at 18% 50%,rgba(246,200,109,.14),transparent 38%),linear-gradient(120deg,#24232c,#14151b); }
.prize-showcase > img { width: 112px; height: 106px; object-fit: contain; object-position: center; mix-blend-mode: screen; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }
.prize-showcase > div { display: grid; gap: 4px; min-width: 0; }
.prize-showcase small { color: var(--gold); font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.prize-showcase strong { color: #f7f7f9; font-size: 12px; line-height: 1.25; }
.prize-price { width: fit-content; margin-top: 3px; padding: 5px 16px; border-radius: 5px; background: #392b14; color: var(--gold); font: 800 11px/1 "Poppins",sans-serif; }
.prize-showcase em { color: #aaaab3; font-size: 7px; font-style: normal; font-weight: 700; }
.prize-showcase a { margin-top: 5px; color: #8e8f99; font-size: 7px; font-weight: 800; text-decoration: none; }
.prize-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #8d682c; border-radius: 10px; background: #2b2112; color: var(--gold); font-size: 17px!important; box-shadow: inset 0 0 20px rgba(246,200,109,.1); }
.prize-panel div { align-content: center; }
.prize-panel strong { font-size: 15px; }
.prize-panel em { margin-top: 3px; color: #8f8066; font-size: 6px; font-style: normal; font-weight: 800; letter-spacing: .09em; }
.prize-arrow { align-self: center; color: var(--gold); font-size: 16px!important; }
.campaign-progress { position: relative; z-index: 2; }
.campaign-progress b { animation: growBar .7s cubic-bezier(.2,.8,.2,1) both; }
.quick-stats { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 13px; margin-top: 12px; padding: 13px 15px; border: 1px solid #2e2f38; border-radius: 12px; background: #121319; }
.quick-stats div { display: grid; gap: 3px; min-width: 0; }
.quick-stats small { color: #636570; font-size: 6px; font-weight: 800; letter-spacing: .13em; }
.quick-stats strong { overflow: hidden; color: #c8c8ce; font: 700 8px/1.3 "Goldman",sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.quick-stats > i { background: #2d2e36; }

.section-title { margin-top: 25px; }
.format-badge { padding: 6px 8px; border-color: #3a3b45; background: #191a20; color: #8b8c96; font-size: 7px; }
.day-divider { position: sticky; top: 64px; z-index: 4; margin-inline: -3px; padding: 9px 6px; border: 0; background: rgba(7,8,13,.88); backdrop-filter: blur(14px); }
.day-divider::after { content: ""; position: absolute; right: 6px; bottom: 0; left: 6px; height: 1px; background: linear-gradient(90deg,rgba(246,200,109,.55),#2a2b33 32%,transparent); }
.prediction-card { position: relative; overflow: hidden; padding: 17px; border-color: #2e3039; background: linear-gradient(142deg,#191a21,#101116); box-shadow: inset 0 1px rgba(255,255,255,.025); animation: cardRise .42s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--card-index) * 45ms); }
.prediction-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: linear-gradient(var(--gold),rgba(143,53,255,.7)); }
.prediction-card.closed::before { background: #50515a; }
.prediction-top span { display: flex; align-items: center; gap: 6px; }
.prediction-top span i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px rgba(246,200,109,.8); }
.matchup-badge { min-height: 29px; padding-right: 11px; border-color: #37343e; background: #141219; color: #d6b4ff; }
.matchup-badge b { display: grid; place-items: center; width: 21px; height: 17px; border-radius: 4px; background: rgba(143,53,255,.2); color: #c999ff; font-size: 7px; }
.answer-option { cursor: pointer; transition: transform .14s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.answer-option:not(:disabled):hover { border-color: #4b4d58; }
.answer-option:not(:disabled):active { transform: scale(.985); }
.answer-option.selected { box-shadow: inset 0 0 0 1px rgba(207,255,81,.06), 0 0 24px rgba(207,255,81,.05); }
.stat-line b { transition: width .65s cubic-bezier(.2,.8,.2,1); }

.bottom-nav { bottom: max(10px,env(safe-area-inset-bottom)); border-color: rgba(55,56,67,.86); background: rgba(20,21,28,.88); box-shadow: 0 16px 55px rgba(0,0,0,.62), inset 0 1px rgba(255,255,255,.04); }
.nav-item { position: relative; cursor: pointer; }
.nav-item::after { content: ""; position: absolute; right: 20%; bottom: 3px; left: 20%; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.nav-item.active { background: linear-gradient(180deg,rgba(246,200,109,.12),rgba(246,200,109,.03)); }
.nav-item.active::after { transform: scaleX(1); }
.nav-item span { transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.nav-item.active span { transform: translateY(-1px) scale(1.08); }
.modal-backdrop { animation: fadeIn .2s ease both; }
.help-modal { animation: sheetUp .32s cubic-bezier(.2,.8,.2,1) both; }
.toast.show { animation: toastPop .25s cubic-bezier(.2,.9,.2,1) both; }

@keyframes pageForward { from { opacity:0; transform:translate3d(22px,0,0) scale(.99); } to { opacity:1; transform:none; } }
@keyframes pageBack { from { opacity:0; transform:translate3d(-18px,0,0) scale(.99); } to { opacity:1; transform:none; } }
@keyframes cardRise { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes growBar { from { width:0; } }
@keyframes fadeIn { from { opacity:0; } }
@keyframes sheetUp { from { opacity:0; transform:translateY(22px); } }
@keyframes toastPop { from { opacity:0; transform:translate(-50%,12px) scale(.96); } }
@keyframes livePulse { 50% { opacity:.35; transform:scale(.75); } }
@keyframes orbitFloat { 50% { transform:rotate(48deg) translate3d(0,-7px,0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; scroll-behavior: auto!important; transition-duration: .01ms!important; }
}

@media (max-width: 380px) {
  .event-pass { grid-template-columns: 52px 1fr 62px; }
  .event-track { padding-inline: 8px; }
  .campaign-hero { min-height: 355px; padding-inline: 18px; }
  .campaign-hero h1 { font-size: 32px; }
}

/* Simplified prediction cards: question first, context second */
.admin-nav[hidden] { display: none!important; }
.nav-item { position: relative; }
.result-badge { position:absolute; top:5px; right:18%; min-width:16px; height:16px; padding:0 4px; border-radius:9px; background:#ef5d69; color:#fff; font:700 9px/16px Poppins,sans-serif; font-style:normal; }
.admin-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; align-items:stretch; }
.admin-actions > button { display:grid; place-items:center; min-height:56px; height:100%; margin:0; padding:12px; line-height:1.25; text-align:center; }
.danger-action { border:1px solid rgba(239,93,105,.45)!important; color:#ef6b77!important; background:rgba(239,93,105,.08)!important; }
.toggle input { display:none; }
.toggle span { display:block; width:44px; height:24px; border-radius:14px; background:#34353d; padding:3px; transition:.2s; }
.toggle span::after { content:""; display:block; width:18px; height:18px; border-radius:50%; background:#fff; transition:.2s; }
.toggle input:checked + span { background:#8fac27; }
.toggle input:checked + span::after { transform:translateX(20px); }
.preference-row,.season-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.day-group,.leader-row,.history-item { content-visibility:auto; contain-intrinsic-size:auto 120px; }
img { content-visibility:auto; }
.preference-row > span,.season-row > div { display:flex; flex-direction:column; gap:3px; }
.preference-row small,.season-row small,.answer-time { color:#777984; font-size:9px; }
.season-row em { color:var(--gold); font:700 8px Goldman,sans-serif; text-transform:uppercase; }
.season-actions { display:flex; flex-direction:column; gap:6px; min-width:98px; }
.season-actions button { min-height:32px; padding:7px; font-size:7px; }
.section-title { align-items: center; margin-bottom: 12px; }
.section-title > div { width: 100%; }
.prediction-card, .prediction-card.closed { opacity: 1; }
.prediction-card.waiting::before { background: linear-gradient(#f2a43c,#80531c); }
.prediction-card.closed::before { background: linear-gradient(#ef5d69,#713038); }
.prediction-top { min-height: 25px; }
.question-state { display: inline-flex!important; align-items: center; gap: 7px!important; font: 800 8px/1 "Poppins",sans-serif!important; letter-spacing: .08em!important; }
.question-state i { width: 6px!important; height: 6px!important; }
.question-state.open { color: var(--lime)!important; }
.question-state.open i { background: var(--lime)!important; box-shadow: 0 0 9px rgba(207,255,81,.7)!important; }
.question-state.waiting { color: #f2a43c!important; }
.question-state.waiting i { background: #f2a43c!important; box-shadow: 0 0 9px rgba(242,164,60,.65)!important; }
.question-state.closed { color: #ef6571!important; }
.question-state.closed i { background: #ef6571!important; box-shadow: 0 0 9px rgba(239,101,113,.55)!important; }
.prediction-card h3 { margin: 15px 0 12px; color: #f5f5f7; font-size: 18px; line-height: 1.28; letter-spacing: -.025em; }
.matchup-line { display: flex; align-items: center; gap: 9px; min-height: 32px; padding: 7px 9px; border: 1px solid #30313a; border-radius: 8px; background: #121319; }
.matchup-line span { flex: 0 0 auto; padding: 4px 5px; border-radius: 4px; background: rgba(143,53,255,.15); color: #b883f2; font-size: 6px; font-weight: 900; letter-spacing: .08em; }
.matchup-line strong { overflow: hidden; color: #bdbdc5; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.answer-grid { margin-top: 12px; }
.answer-option { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 13px; text-align: left; }
.answer-option > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.answer-option i { position: static; display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; margin-left: 8px; border-radius: 50%; background: var(--lime); color: #111408; }
.answer-option.correct-answer { border-color: rgba(207,255,81,.78); background: linear-gradient(145deg,rgba(207,255,81,.16),rgba(85,108,22,.08)); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(207,255,81,.08); }
.answer-option.correct-answer i { background: var(--lime); color: #101308; }
.answer-option.wrong-answer { border-color: rgba(239,93,105,.8); background: linear-gradient(145deg,rgba(239,93,105,.16),rgba(105,34,42,.08)); color: #ff7b86; box-shadow: inset 0 0 0 1px rgba(239,93,105,.08); }
.answer-option.wrong-answer i { background: #ef5d69; color: white; }
.answer-option.correct-reveal { border-color: rgba(246,200,109,.72); background: linear-gradient(145deg,rgba(246,200,109,.12),rgba(91,67,26,.06)); color: var(--gold); }
.answer-option.correct-reveal i { width: auto; min-width: 22px; padding-inline: 7px; border-radius: 6px; background: rgba(246,200,109,.16); color: var(--gold); font-size: 6px; font-weight: 900; }
.prediction-card.user-lost .stat-line.correct div span { color: var(--gold); }
.prediction-card.user-lost .stat-line.correct b { background: var(--gold); }
.answer-option:disabled { cursor: default; }
.question-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; margin: 14px -3px -3px; padding: 12px 3px 2px; border-top: 1px solid #292a32; }
.question-footer > div { display: grid; gap: 3px; min-width: 0; }
.question-footer small { color: #5f606a; font-size: 6px; font-weight: 800; letter-spacing: .12em; }
.question-footer strong { overflow: hidden; color: #8b8c95; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.result-bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin: 14px -3px -3px; padding: 12px 13px; border: 1px solid #30313a; border-radius: 10px; background: #111218; }
.result-bar > div { display: grid; gap: 3px; }
.result-bar small { color: #777883; font-size: 7px; font-weight: 900; letter-spacing: .11em; }
.result-bar strong { color: #9a9ba4; font-size: 8px; }
.result-bar em { color: #777883; font: 700 10px/1 "Goldman",sans-serif; font-style: normal; }
.result-bar.won { border-color: rgba(207,255,81,.34); background: rgba(207,255,81,.065); }
.result-bar.won small, .result-bar.won em { color: var(--lime); }
.result-bar.lost { border-color: rgba(239,93,105,.3); background: rgba(239,93,105,.055); }
.result-bar.lost small { color: #ef6571; }
.result-bar.lost em { color: #777883; }
.result-bar.waiting { border-color: rgba(242,164,60,.28); background: rgba(242,164,60,.05); }
.result-bar.waiting small, .result-bar.waiting em { color: #f2a43c; }
.result-bar.open em { color: var(--gold); }
.countdown-wrap { text-align: right; }
.countdown-wrap strong { color: var(--gold); font-family: "Goldman",sans-serif; }
.prediction-card.waiting .countdown-wrap strong { color: #f2a43c; }
.prediction-card.closed .countdown-wrap strong { color: #ef6571; }
.answer-stats { margin-top: 13px; padding: 12px; border: 1px solid #292a33; border-radius: 10px; background: #0d0e13; }

.connect-modal { text-align: center; }
.connect-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 3px auto 16px; border: 1px solid #856329; border-radius: 14px; background: linear-gradient(145deg,#302411,#19150e); color: var(--gold); font-size: 20px; box-shadow: 0 0 35px rgba(246,200,109,.12); }
.connect-modal > p { margin-bottom: 7px; }
.connect-copy { margin: 13px 0 20px; color: #9697a0; font-size: 10px; line-height: 1.6; }
.connect-actions { display: grid; gap: 8px; }
.ignore-action { width: 100%; padding: 12px; border: 1px solid #34353e; border-radius: 10px; background: #111218; color: #8a8b94; font-size: 9px; font-weight: 800; }

.daily-summary { position: relative; z-index: 2; margin-top: 14px; padding: 13px 14px; border: 1px solid #343540; border-radius: 12px; background: rgba(12,13,18,.72); backdrop-filter: blur(10px); }
.summary-head { display: flex; justify-content: space-between; align-items: center; }
.summary-head span { color: #a6a7b0; font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.summary-head small { color: #6f707b; font-size: 7px; }
.summary-values { display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; align-items: center; margin-top: 11px; }
.summary-values > div { display: grid; place-items: center; gap: 4px; }
.summary-values > i { width: 1px; height: 27px; background: #2d2e37; }
.summary-values strong { font: 700 17px/1 "Goldman",sans-serif; }
.summary-values span { color: #646570; font-size: 6px; font-weight: 800; letter-spacing: .1em; }
.summary-points strong { color: var(--gold); animation: pointsPop .55s cubic-bezier(.2,.9,.2,1) both; }
.summary-streak strong { color: #ffad49; font-size: 15px; }
.daily-summary > p { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #292a32; color: #777883; font-size: 7px; text-align: center; }

.rank-move { display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; color: #73747d; font: 800 6px/1 "Poppins",sans-serif; }
.rank-move.up { color: var(--lime); }
.rank-move.down { color: #ef6571; }
.my-rank-card .rank-move { margin: 0; }
.leader-row > b { display: flex; align-self: stretch; align-items: center; justify-content: center; gap: 3px; }
.leader-row .rank-move { order: -1; margin: 0; }
.podium > .rank-move { margin: 4px 0 0; }

.points-celebration { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; pointer-events: none; overflow: hidden; background: radial-gradient(circle,rgba(207,255,81,.07),transparent 45%); animation: celebrationFade 2.1s ease both; }
.score-burst { position: relative; z-index: 2; display: grid; place-items: center; min-width: 190px; padding: 18px 24px; border: 1px solid rgba(207,255,81,.48); border-radius: 18px; background: rgba(15,18,10,.94); box-shadow: 0 20px 70px rgba(0,0,0,.55),0 0 45px rgba(207,255,81,.12); animation: scoreBurst .6s cubic-bezier(.16,1,.3,1) both; }
.score-burst small { color: #929a7c; font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.score-burst strong { margin-top: 6px; color: var(--lime); font: 700 30px/1 "Goldman",sans-serif; text-shadow: 0 0 24px rgba(207,255,81,.25); }
.score-burst span { margin-top: 8px; color: #ffb44f; font-size: 9px; font-weight: 800; }
.confetti { position: absolute; inset: 0; }
.confetti i { position: absolute; top: 44%; left: 50%; width: 7px; height: 12px; border-radius: 2px; background: var(--gold); transform: rotate(calc(var(--piece) * 23deg)); animation: confettiFly 1.15s cubic-bezier(.2,.7,.2,1) var(--delay) both; }
.confetti i:nth-child(3n) { background: var(--lime); }
.confetti i:nth-child(3n + 1) { background: #a85fff; }

@keyframes pointsPop { from { opacity:0; transform:translateY(6px) scale(.75); } }
@keyframes scoreBurst { from { opacity:0; transform:scale(.68) translateY(12px); } 65% { transform:scale(1.04); } }
@keyframes celebrationFade { 0%,82% { opacity:1; } 100% { opacity:0; } }
@keyframes confettiFly { from { opacity:0; transform:translate(0,0) rotate(0); } 15% { opacity:1; } to { opacity:0; transform:translate(var(--x),var(--y)) rotate(540deg); } }

/* iOS zooms focused form fields below 16px; keep controls at the native-safe size. */
.settings-card input,
.settings-card textarea,
.settings-card select { font-size: 16px; }
.settings-card label { font-size: 12px; }
body { overscroll-behavior: none; }
main { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }

.correct-answer-copy { color: var(--lime)!important; font-weight: 700; }
.admin-identity { display: grid; gap: 3px; margin-top: 13px; padding: 10px 12px; border: 1px solid rgba(246,200,109,.28); border-radius: 10px; background: rgba(246,200,109,.06); text-align: left; }
.admin-identity strong { color: var(--gold); font-size: 9px; }
.admin-identity span { color: #8a8b94; font-size: 8px; }
.admin-drawer { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: #101117; }
.admin-drawer > summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; color: #d8d8dd; font: 700 11px/1 "Goldman",sans-serif; cursor: pointer; list-style: none; }
.admin-drawer > summary::-webkit-details-marker { display: none; }
.admin-drawer > summary i { color: var(--gold); font-style: normal; transition: transform .2s ease; }
.admin-drawer[open] > summary i { transform: rotate(180deg); }
.admin-drawer > .settings-card, .admin-drawer > .admin-form { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.admin-users { display: grid; gap: 8px; max-height: 430px; overflow: auto; }
.admin-user-row { display: block; width:100%; padding: 10px; border: 1px solid #292a33; border-radius: 10px; background: #0d0e13; color:inherit; text-align:left; }
.admin-user-row > button:first-child > img, .admin-user-row > button:first-child > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #24252d; color: var(--gold); font-weight: 800; }
.admin-user-row > button:first-child > div { display: grid; gap: 3px; min-width: 0; }
.admin-user-row strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; }
.admin-user-row small, .admin-user-row em { overflow-wrap: anywhere; color: #777984; font-size: 7px; font-style: normal; }
.admin-user-row > button:first-child > i { color:var(--gold); font-style:normal; }
.settings-card + .settings-card { margin-top:12px; }
.notification-card .preference-row:last-child { margin-bottom:0; padding-bottom:0; border-bottom:0; }
.marketing-form { display:grid; gap:10px; margin-bottom:16px; }
.marketing-list { display:grid; gap:9px; }
.marketing-row { padding:12px; border:1px solid #2b2c34; border-radius:12px; background:#0d0e13; }
.marketing-row.inactive { opacity:.58; }
.marketing-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.marketing-head > div { display:grid; gap:3px; min-width:0; }
.marketing-head strong { overflow:hidden; color:#ededf1; font-size:10px; text-overflow:ellipsis; }
.marketing-head code { color:var(--gold); font:700 8px/1.3 "Poppins",sans-serif; }
.marketing-head > span { color:var(--lime); font-size:7px; font-weight:900; }
.marketing-row.inactive .marketing-head > span { color:#8a8b93; }
.marketing-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-top:11px; }
.marketing-metrics > div { display:grid; gap:2px; padding:8px 5px; border-radius:8px; background:#16171d; text-align:center; }
.marketing-metrics b { color:#f3f3f5; font:700 13px/1 "Goldman",sans-serif; }
.marketing-metrics small { color:#777984; font-size:6px; font-weight:800; }
.marketing-actions { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-top:9px; }
.marketing-actions > button { min-height:38px; border:1px solid #30313a; border-radius:9px; background:#17181e; color:#b7b8c0; font-size:7px; font-weight:900; }
.marketing-actions > button:only-child { grid-column:1/-1; }

@media (max-width: 380px) {
  .prediction-card h3 { font-size: 16px; }
  .question-footer { grid-template-columns: minmax(0,1fr) minmax(100px,auto); }
}

/* Poppins owns mixed Ukrainian/Latin UI copy; Goldman remains for numeric accents. */
h1, h2, .settings-title h2, .admin-drawer > summary, .primary-action, .keydrop-action,
.ignore-action, .danger-action { font-family:"Poppins",sans-serif; }
