:root {
  --page: #050811;
  --card: #0A1329;
  --overlay: #080D1A;
  --royal: #0048B3;
  --cyan: #00D2FF;
  --gold: #7AF4FF;
  --gold-hi: #E7FBFF;
  --gold-lo: #1490FF;
  --gold-glow: rgba(0, 210, 255, 0.45);
  --btn-hi: #7AF4FF;
  --btn-lo: #1A6CFF;
  --btn-line: #D9F8FF;
  --ink: #0B0F19;
  --text: #FFFFFF;
  --ice: #C2D1E8;
  --muted: #60728F;
  --ok: #00E676;
  --danger: #FF3B30;
  --silver: #E0E6ED;
  --bronze: #6A7CFF;
  --star-off: #4A628A;
  --glass-line: #436499;
  --field: rgba(5, 8, 17, 0.72);
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: "Heebo", "Assistant", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background: var(--page);
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(880px 420px at 50% -8%, rgba(0, 72, 179, 0.42), transparent 70%),
    radial-gradient(480px 260px at 100% 12%, rgba(0, 210, 255, 0.08), transparent 68%);
}
.is-home::before {
  background:
    radial-gradient(760px 380px at 50% -4%, rgba(0, 72, 179, 0.55), transparent 68%),
    radial-gradient(420px 220px at 12% 18%, rgba(122, 244, 255, 0.1), transparent 70%);
}
.is-admin::before { background: none; }
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -48px;
  z-index: 8;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 14px;
}
.skip:focus { top: 8px; }
.top, main, footer { position: relative; z-index: 1; }
.top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg, var(--royal), #00398f);
  box-shadow: inset 0 -3px 0 var(--gold), 0 8px 24px rgba(0, 72, 179, 0.45);
}
.brand { width: fit-content; text-decoration: none; }
.brand-logo, .login-logo {
  display: block;
  height: 64px;
  width: auto;
  border-radius: 10px;
  border: 1px solid var(--gold);
  box-shadow: 0 0 18px var(--gold-glow);
}
.brand-fallback, .hero-fallback { display: none; }
.brand.is-broken .brand-logo, .hero.is-broken .hero-logo { display: none; }
.brand.is-broken .brand-fallback, .hero.is-broken .hero-fallback {
  display: block;
  color: var(--gold);
  font-weight: 900;
  font-size: 22px;
}
nav { display: flex; flex-wrap: wrap; gap: 6px; }
nav a {
  color: var(--text);
  text-decoration: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 14px;
  font-weight: 700;
}
nav a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
nav a.nav-cta {
  background: linear-gradient(180deg, #e7fbff, #7af4ff);
  color: #041428;
  font-weight: 900;
  border: 1px solid var(--btn-line);
  box-shadow: 0 4px 20px rgba(0, 190, 255, 0.4);
}
main { width: min(1120px, calc(100% - 28px)); margin: 16px auto 40px; }
footer {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto 20px;
  padding-top: 12px;
  border-top: 1px solid var(--muted);
  color: var(--ice);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  font-size: 12px;
}
h1, h2, h3 { margin: 0 0 8px; line-height: 1.25; color: var(--text); }
h1 { font-size: 26px; font-weight: 700; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; color: var(--ice); margin-top: 14px; }
p { margin: 0 0 10px; }
section + section, .lock-banner + .bonus-legend, .bonus-legend + section { margin-top: 18px; }
.slogan {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}
.hero { text-align: center; padding: 4px 0 8px; }
.hero-logo {
  width: min(920px, 100%);
  max-height: 168px;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 40px var(--gold-glow), 0 0 80px rgba(0, 72, 179, 0.45);
  margin: 0 auto 12px;
  display: block;
  background: #050811;
}
.hero-line { max-width: 36rem; margin: 12px auto; color: var(--ice); }
.hero-actions, .inline-form, .search-row { display: flex; flex-direction: column; gap: 10px; }
.steps, .poll-grid, .gallery, .podium-grid, .kpi-row { display: grid; gap: 12px; }
.steps article, .panel, .poll-card, .clip, .prize, .star-hero, .podium-card, .kpi {
  background: var(--card);
  border: 1px solid rgba(122, 244, 255, 0.28);
  border-radius: 16px;
}
.steps article, .panel, .prize { padding: 16px; }
.steps article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-height: 168px;
}
.prize-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.steps h2 { font-size: 20px; }
.steps p, .prize p, .muted, .hint, .clip-meta, .facts dt { color: var(--ice); }
.hint, .shnaton, .clip-meta, footer, .badge, .chip { font-size: 12px; }
.prize-hero {
  text-align: center;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(180deg, var(--gold-hi), var(--gold-lo)) border-box;
  box-shadow: 0 0 28px var(--gold-glow);
  margin-top: 14px;
}
.prize-kicker, .prize-tag { color: var(--gold); font-weight: 900; }
.prize-tag {
  display: inline-flex;
  margin: 0 auto 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: var(--ink);
}
.poll-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  min-height: 110px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0, 72, 179, 0.65), 0 0 24px rgba(0, 72, 179, 0.28);
}
.poll-card.is-move { box-shadow: 0 0 0 1px rgba(0, 210, 255, 0.55), 0 0 24px rgba(0, 210, 255, 0.2); }
.poll-card.is-save { box-shadow: 0 0 0 1px var(--gold), 0 0 24px var(--gold-glow); }
.poll-card strong { font-size: 18px; }
.gallery { grid-template-columns: 1fr; }
.clip { overflow: hidden; }
.player-frame {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 1px var(--gold);
}
.player { display: block; width: 100%; height: 100%; background: #000; }
.player-state, .load-cover {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  color: var(--ice);
  font-weight: 700;
}
.player-state {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 16px;
  background: rgba(8, 13, 26, 0.72);
  backdrop-filter: blur(12px);
}
.player-state[hidden], .load-cover[hidden], .upload-progress[hidden] { display: none; }
.player-state[data-state="error"] { color: var(--danger); }
.load-cover {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(8, 13, 26, 0.72);
  backdrop-filter: blur(30px);
}
.spin-star {
  position: relative;
  width: 96px;
  height: 96px;
  font-size: 40px;
  line-height: 48px;
  color: var(--gold);
  text-shadow: 0 0 16px var(--gold-glow), 0 0 28px rgba(0, 210, 255, 0.65);
}
.spin-star img { width: 96px; height: 96px; object-fit: contain; display: block; border-radius: 16px; }
.spin-star::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--cyan);
  border-right-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.upload-progress {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #071428;
  border: 1px solid var(--royal);
}
.upload-progress span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--royal), var(--cyan), var(--gold));
  animation: load 1s ease-in-out infinite;
}
@keyframes load { 50% { transform: translateX(160%); } }
.clip-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.clip-top, .who, .place, .place-line, .winners li, .chip-row, .player-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.who-name { font-weight: 700; font-size: 18px; }
.star-glyph { color: var(--gold); text-shadow: 0 0 10px var(--gold-glow); }
.star-count { margin: 0; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--text); }
.star-count.big, .star-hero strong { font-size: 44px; line-height: 1; color: var(--gold); text-shadow: 0 0 18px var(--gold-glow); }
.star-count.is-live .n { color: var(--cyan); }
.star-count.is-stale::after { content: " לא עודכן"; color: var(--danger); font-size: 12px; }
.badge, .chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 3px 8px;
  font-weight: 700;
  line-height: 1.4;
}
.chip-icon { width: 14px; height: 14px; }
.chip-gk {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: var(--ink);
  box-shadow: 0 0 12px var(--gold-glow);
}
.chip-field {
  background: #071833;
  color: var(--ice);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
}
.chip-lock {
  background: #140812;
  color: var(--text);
  border: 1px solid var(--danger);
}
.game-icon { width: 28px; height: 28px; display: block; }
.chip .game-icon { width: 16px; height: 16px; }
.icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: #071833;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.28);
}
.icon-badge .game-icon { width: 40px; height: 40px; }
.icon-badge .crown svg { width: 40px; height: 30px; }
.icon-badge .star-glyph { font-size: 40px; line-height: 1; }
.icon-badge.gold,
.prize .icon-badge,
.recruit .icon-badge {
  color: var(--ink);
  border-color: var(--btn-line);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  box-shadow: 0 0 18px var(--gold-glow);
}
.icon-badge.gold .star-glyph { color: var(--ink); text-shadow: none; }
h1 .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  vertical-align: middle;
  margin-inline-end: 4px;
}
h1 .icon-badge .game-icon { width: 28px; height: 28px; }
.recruit .icon-badge {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
}
.badge.demo { color: var(--gold-hi); border: 1px solid var(--gold); }
.badge.ok { background: var(--ok); color: #04140c; }
.badge.ok::before { content: "✓ "; color: var(--gold-lo); }
.badge.wait { background: rgba(0, 210, 255, 0.14); color: #b8f4ff; border: 1px solid rgba(122, 244, 255, 0.7); }
.badge.no, .badge.stop { background: rgba(255, 59, 48, 0.14); color: var(--danger); border: 1px solid var(--danger); }
.crown { display: inline-flex; align-items: center; gap: 4px; }
.crown svg { width: 28px; height: 22px; filter: drop-shadow(0 0 6px currentColor); }
.crown-1 { color: var(--gold); }
.crown-2 { color: var(--silver); }
.crown-3 { color: var(--bronze); }
.crown-prize {
  font-size: 12px;
  font-weight: 900;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  padding: 1px 6px;
}
.crown-2 .crown-prize { background: var(--silver); }
.crown-3 .crown-prize { background: var(--bronze); color: #fff; }
.place-num { font-weight: 900; font-size: 28px; font-variant-numeric: tabular-nums; }
.btn {
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  min-height: 48px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}
.btn.gold {
  background: linear-gradient(180deg, #e7fbff 0%, #7af4ff 62%, #3ec8ff 100%);
  color: #041428;
  border: 1px solid var(--btn-line);
  box-shadow: 0 4px 22px rgba(0, 190, 255, 0.45);
}
.btn-play {
  min-height: 68px;
  font-size: 22px;
  border-radius: 16px;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--glass-line);
  font-weight: 700;
}
.btn.tiny { min-height: 36px; padding: 6px 10px; font-size: 13px; border-radius: 10px; }
.btn.ok-btn { background: var(--ok); color: #04140c; }
.btn.danger-btn { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.btn.big-btn, .form .btn, .hero-actions .btn, .search-row .btn { width: 100%; }
.btn:disabled { opacity: 0.72; cursor: progress; }
.already {
  margin: 0;
  min-height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ok);
  color: #04140c;
  font-weight: 900;
}
.form, .facts { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 500; }
input, select, textarea {
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--muted);
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 48px;
  width: 100%;
}
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.25);
}
input::placeholder { color: var(--muted); }
.check { grid-template-columns: auto 1fr; align-items: center; min-height: 48px; }
.check input { width: 1.25rem; height: 1.25rem; min-height: 0; accent-color: var(--gold); }
input[type="file"], .dropzone input {
  border: 1px dashed var(--cyan);
  background: rgba(0, 72, 179, 0.2);
  padding: 16px;
  border-radius: 14px;
}
fieldset {
  border: 1px solid rgba(122, 244, 255, 0.35);
  border-radius: 14px;
  margin: 0;
  padding: 12px;
  display: grid;
  gap: 12px;
}
legend { padding: 0 6px; font-weight: 700; }
.club-list {
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--cyan);
  border-radius: 12px;
  max-height: 220px;
  overflow: auto;
}
.club-list button {
  width: 100%;
  text-align: right;
  background: transparent;
  color: var(--text);
  border: 0;
  min-height: 44px;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}
.club-list button[aria-selected="true"], .club-list button:hover { background: rgba(0, 210, 255, 0.12); }
.shnaton-preview:empty { display: none; }
.shnaton-preview:not(:empty) {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: var(--ink);
  font-weight: 900;
}
.birth-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.birth-row input { flex: 1; min-width: 12rem; }
.flash { padding: 12px 14px; border-radius: 14px; margin: 0 0 12px; }
.flash.ok { background: rgba(0, 230, 118, 0.14); color: var(--ok); border: 1px solid var(--ok); }
.flash.error { background: rgba(255, 59, 48, 0.14); color: var(--danger); border: 1px solid var(--danger); }
.lock-banner, .elig-banner, .dash-bar, .recruit {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 0 18px var(--gold-glow);
}
.lock-banner, .bonus-legend { color: var(--text); font-weight: 700; }
.bonus-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.bonus-legend span {
  background: #071833;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--gold);
  font-weight: 900;
}
.elig-banner { color: var(--gold-hi); font-weight: 700; }
.dash-bar { font-weight: 700; }
.recruit p { font-weight: 700; }
.board-top {
  background: var(--card);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 0 0 1px var(--gold), 0 0 36px var(--gold-glow);
}
.podium-grid { grid-template-columns: 1fr; }
.podium-card { padding: 14px; text-align: center; }
.podium-card.podium-1 { box-shadow: 0 0 0 2px var(--gold), 0 0 28px var(--gold-glow); }
.podium-card.podium-2 { box-shadow: 0 0 0 2px var(--silver); }
.podium-card.podium-3 { box-shadow: 0 0 0 2px var(--bronze); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 8px; border-bottom: 1px solid rgba(96, 114, 143, 0.45); text-align: right; vertical-align: top; }
th { color: var(--ice); font-size: 12px; font-weight: 700; }
.total-gold { color: var(--gold); font-weight: 900; font-size: 18px; text-shadow: 0 0 10px var(--gold-glow); }
tr.podium-1 { background: rgba(122, 244, 255, 0.14); }
tr.podium-2 { background: rgba(224, 230, 237, 0.1); }
tr.podium-3 { background: rgba(205, 127, 50, 0.16); }
.mini-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  display: inline-grid;
  place-items: center;
  background: #07101f;
  color: var(--gold);
}
.winners, .top-list { list-style: none; padding: 0; margin: 0 0 12px; }
.winners { display: grid; gap: 8px; }
.winners li, .top-list li {
  background: var(--card);
  border: 1px solid rgba(122, 244, 255, 0.28);
  border-radius: 14px;
  padding: 12px;
}
.top-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.top-rail li { flex: 0 0 78%; scroll-snap-align: start; display: flex; }
.top-list li.podium-1 { box-shadow: inset 0 0 0 2px var(--gold), 0 0 18px var(--gold-glow); }
.top-list li.podium-2 { box-shadow: inset 0 0 0 2px var(--silver); }
.top-list li.podium-3 { box-shadow: inset 0 0 0 2px var(--bronze); }
.state-empty, .state-error {
  background: var(--card);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  color: var(--ice);
}
.state-empty { border: 1px solid rgba(0, 210, 255, 0.35); }
.state-error { border: 1px solid var(--danger); box-shadow: 0 0 24px rgba(255, 59, 48, 0.25); }
.empty-mark { width: 88px; height: 88px; margin: 0 auto 8px; }
.empty-mark svg { width: 88px; height: 88px; }
.share { display: grid; gap: 14px; }
.login-card { text-align: center; }
.login-logo { margin: 0 auto 12px; height: 92px; }
.kpi-row { margin: 12px 0; }
.kpi { padding: 12px; }
.kpi span { display: block; color: var(--ice); font-size: 12px; }
.kpi strong { font-size: 22px; font-weight: 700; color: var(--text); }
.is-admin .top {
  background: #0A1329;
  box-shadow: inset 0 -1px 0 #243656;
}
.is-admin .brand-logo {
  height: 40px;
  box-shadow: none;
}
.is-admin h1 { font-size: 22px; font-weight: 700; }
.is-admin .kpi,
.is-admin .panel {
  border-color: #243656;
  box-shadow: none;
}
.poll-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 12px 0; }
.tab {
  flex: 0 0 auto;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 8px 12px;
}
.tab[aria-selected="true"] {
  background: linear-gradient(180deg, #e7fbff, #7af4ff);
  color: #041428;
  border-color: var(--btn-line);
}
.profile-hero { display: grid; gap: 14px; }
.star-hero {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-shadow: 0 0 28px var(--gold-glow);
}
.star-hero .star-glyph { font-size: 42px; }
.star-hero span:last-child { color: var(--ice); font-size: 12px; }
.avatar-edit { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; margin-top: 12px; }
.avatar-edit .form { flex: 1; min-width: min(100%, 220px); }
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
  background: #07101f;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 42px;
}
.facts > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(96, 114, 143, 0.45);
}
.facts dt, .facts dd { margin: 0; }
.narrow { max-width: 640px; }
.narrow.panel { margin-inline: auto; }
a { color: var(--cyan); }
.pager { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; color: var(--ice); }
.pager a {
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.08);
}
.actions { display: grid; gap: 8px; }
.actions form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.actions input { width: auto; flex: 1; min-width: 8rem; min-height: 36px; }
.spark {
  position: fixed;
  z-index: 40;
  color: var(--gold);
  font-size: 18px;
  pointer-events: none;
  animation: spark 0.7s ease-out forwards;
}
@keyframes spark {
  to { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.hint.is-error { color: var(--danger); font-weight: 700; }
.hint.is-ok { color: var(--ok); font-weight: 700; }

@media (max-width: 899px) {
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .table-wrap tr {
    background: var(--card);
    border: 1px solid rgba(122, 244, 255, 0.28);
    border-radius: 16px;
    margin: 0 0 12px;
    padding: 8px 12px;
  }
  .table-wrap td { border: 0; padding: 7px 0; }
  .table-wrap td[data-label] {
    display: grid;
    grid-template-columns: 6.4rem 1fr;
    gap: 8px;
    align-items: start;
  }
  .table-wrap td[data-label]::before {
    content: attr(data-label);
    color: var(--ice);
    font-size: 12px;
    font-weight: 700;
  }
  .table-wrap td.actions[data-label] { grid-template-columns: 1fr; }
  .admin-table .actions input { width: 100%; }
}

@media (min-width: 800px) {
  .top { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 28px; }
  .brand-logo { height: 72px; }
  .is-admin .brand-logo { height: 44px; }
  .slogan { font-size: 36px; }
  .hero-logo { max-height: 220px; }
  main, footer { width: min(1120px, calc(100% - 48px)); }
  .hero-actions, .search-row, .inline-form { flex-direction: row; justify-content: center; }
  .hero-actions .btn, .search-row .btn, .form .btn, .inline-form .btn, .clip-body .btn { width: auto; }
  .hero-actions .btn { min-width: 220px; }
  .steps, .poll-grid, .kpi-row { grid-template-columns: repeat(3, 1fr); }
  .podium-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .share, .profile-hero { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .top-rail li { flex-basis: 240px; }
  .avatar { width: 100px; height: 100px; }
}
@media (min-width: 1100px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .spin-star::after, .upload-progress span, .spark { animation: none; }
}
