@charset "UTF-8";

/* src/styles.scss */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  input,
  textarea,
  select {
    font-size: 16px !important;
  }
}
:root {
  --fire: #E8440A;
  --fire-rgb:
    232,
    68,
    10;
  --ember: #C03508;
  --deepest: #070707;
  --pitch: #111111;
  --bg: #111111;
  --surface: #1A1A1A;
  --surface-2: #161616;
  --border: #2A2A2A;
  --border-soft: #242424;
  --divider: #1D1D1D;
  --text: #FFFFFF;
  --text-muted: #888888;
  --steel: #888888;
  --muted: #9A9A9A;
  --soft: #CFCFCF;
  --watermark: #181818;
  --success: #1B9C4F;
  --warning: #FFA42B;
  --danger: #F3727F;
  --danger-hover: #e03020;
  --info: #539DF5;
  --primary: var(--fire);
  --primary-ink: #ffffff;
  --primary-hover: var(--ember);
  --primary-glow: rgba(var(--fire-rgb), 0.3);
  --primary-rgb: var(--fire-rgb);
  --text-muted-hard: rgba(136, 136, 136, 0.5);
  --border-strong: #4a4a4a;
  --shadow: 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 70px rgba(0,0,0,.6);
  --glow-fire: 0 0 40px rgba(var(--fire-rgb), .35);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-pill: 9999px;
  --bar-radius: 2px;
  --font-display:
    "Barlow Condensed",
    system-ui,
    sans-serif;
  --font-sans:
    "Barlow",
    system-ui,
    -apple-system,
    sans-serif;
  --font-mono: ui-monospace, monospace;
}
body.staging-mode {
  --fire: #a78bfa;
  --ember: #9061f9;
  --primary: #a78bfa;
  --primary-ink: #0b0b0b;
  --primary-hover: #9061f9;
  --primary-glow: rgba(167,139,250,0.3);
  --primary-rgb:
    167,
    139,
    250;
  --fire-rgb:
    167,
    139,
    250;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.topbar-nav {
  display: none !important;
}
.topbar-user .btn-ghost {
  display: none !important;
}
.page-content {
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px) + 12px) !important;
}
.global-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 300;
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.global-bottom-nav::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-bottom, 0px);
  background: rgba(13, 13, 13, 0.94);
}
.gbn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.15s;
  height: 64px;
}
.gbn-item.active {
  color: var(--fire);
}
.gbn-item:hover {
  color: var(--text);
}
.gbn-icon {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gbn-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}
.gbn-fab-wrapper {
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 60px;
}
.gbn-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  margin-top: -20px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}
.gbn-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 0 22px 5px var(--primary-glow), 0 4px 16px rgba(0, 0, 0, 0.5);
}
.gbn-fab:active {
  transform: scale(0.94);
}
body.wizard-open .global-bottom-nav {
  display: none !important;
}
.gbn-fab-icon {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--primary-ink);
  line-height: 1;
  margin-top: -2px;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  height: 60px;
  background: rgba(11, 15, 11, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.03em;
}
.topbar-logo-img {
  height: 26px;
  width: auto;
  display: block;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}
.brand-accent {
  color: var(--primary);
}
.topbar-nav {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}
.nav-feud-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: #7c3aed;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  animation: badge-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes badge-pop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.user-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  border: 1.5px solid var(--border-strong);
  transition: border-color 0.15s;
}
.user-avatar-btn:hover {
  border-color: var(--primary);
}
.user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--primary-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: var(--font-display);
}
.page-content {
  flex: 1;
  padding: 2.25rem 1.5rem 5rem;
  max-width: none;
  width: 100%;
  margin: 0 auto;
}
.page-mono-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: block;
}
.page-header {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.page-header h2 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0;
}
.page-header-stack {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: var(--bg);
  background-image:
    radial-gradient(
      ellipse 80% 50% at 50% 0%,
      rgba(var(--primary-rgb), 0.07) 0%,
      transparent 65%);
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-top-color: rgba(var(--primary-rgb), 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow), 0 0 60px rgba(var(--primary-rgb), 0.04);
}
.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.login-logo .logo-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}
.login-logo h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0.25rem 0;
}
.login-logo p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  width: 100%;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.form-check label {
  font-size: 0.9rem;
  cursor: pointer;
}
.form-check input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all 0.15s;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.4rem;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  width: 100%;
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
}
.btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-danger {
  background: var(--danger);
  color: var(--text);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.4rem;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
}
.btn-danger:hover:not(:disabled) {
  background: var(--danger-hover);
}
.btn-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-xs {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-xs:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-xs.warning {
  border-color: var(--warning);
  color: var(--warning);
}
.btn-xs.danger {
  border-color: var(--danger);
  color: var(--danger);
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-sans);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.badge-sm {
  font-size: 0.72rem;
  padding: 0.18rem 0.5rem;
}
.badge-lg {
  font-size: 0.88rem;
  padding: 0.35rem 0.85rem;
}
.badge-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
}
.badge-warning {
  background: rgba(255, 181, 71, 0.15);
  color: var(--warning);
}
.badge-success {
  background: rgba(116, 224, 139, 0.15);
  color: var(--success);
}
.badge-primary {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
}
.badge-info {
  background: rgba(90, 160, 255, 0.15);
  color: var(--info);
}
.badge-danger {
  background: rgba(255, 84, 68, 0.15);
  color: var(--danger);
}
.match-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.match-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition:
    border-color 0.15s,
    transform 0.1s,
    box-shadow 0.15s;
  cursor: pointer;
}
.match-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.match-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.match-format {
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-display);
}
.match-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.match-score {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--text);
  margin-top: 0.25rem;
  letter-spacing: -0.04em;
}
.match-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.action-hint {
  font-size: 0.8rem;
  font-weight: 700;
}
.action-hint.warning {
  color: var(--warning);
}
.action-hint.success {
  color: var(--success);
}
.alert-banner {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}
.alert-banner.warning {
  background: rgba(255, 181, 71, 0.12);
  color: var(--warning);
  border: 1px solid rgba(255, 181, 71, 0.25);
}
.alert-banner.success {
  background: rgba(116, 224, 139, 0.12);
  color: var(--success);
  border: 1px solid rgba(116, 224, 139, 0.25);
}
.back-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s;
}
.back-link:hover {
  color: var(--primary);
}
.match-detail-shell {
  --match-status-rgb:
    212,
    255,
    43;
  --match-status-color: var(--primary);
}
.match-detail-shell--created,
.match-hero--created {
  --match-status-rgb:
    90,
    160,
    255;
  --match-status-color: #5aa0ff;
}
.match-detail-shell--confirmed,
.match-hero--confirmed {
  --match-status-rgb:
    116,
    224,
    139;
  --match-status-color: #74e08b;
}
.match-detail-shell--voting_open,
.match-hero--voting_open {
  --match-status-rgb:
    184,
    127,
    255;
  --match-status-color: #b87fff;
}
.match-detail-shell--completed,
.match-hero--completed {
  --match-status-rgb:
    99,
    110,
    114;
  --match-status-color: #a1a9ac;
}
.match-detail-shell--outcome-win,
.match-hero--outcome-win {
  --match-status-rgb:
    46,
    204,
    113;
  --match-status-color: #2ecc71;
}
.match-detail-shell--outcome-loss,
.match-hero--outcome-loss {
  --match-status-rgb:
    231,
    76,
    60;
  --match-status-color: #e74c3c;
}
.match-detail-shell--outcome-draw,
.match-hero--outcome-draw {
  --match-status-rgb:
    127,
    140,
    141;
  --match-status-color: #9aa4a5;
}
.match-hero {
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(var(--match-status-rgb), 0.14),
      transparent 34%),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      transparent 44%),
    var(--surface);
  border: 1px solid rgba(var(--match-status-rgb), 0.22);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  overflow: hidden;
  position: relative;
  padding: 1.1rem 1.25rem 1.25rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}
.match-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      var(--match-status-color) 50%,
      transparent 100%);
  opacity: 0.7;
}
.match-hero-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0.9rem;
}
.match-hero-info {
  margin-bottom: 1.35rem;
}
.match-hero-sublabel {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.match-hero-date {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}
.match-score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 0.65rem;
  padding-bottom: 0.2rem;
}
.score-side {
  min-width: 0;
}
.score-side--right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.score-team-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.score-side--right .score-team-label {
  justify-content: flex-end;
}
.sdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sdot.sdot-t1 {
  background: var(--danger);
}
.sdot.sdot-t2 {
  background: var(--info);
}
.score-big {
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 18vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.score-big--win {
  color: var(--primary);
}
.score-big--lose {
  color: var(--text-muted);
  opacity: 0.6;
}
.score-dash {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3rem);
  font-weight: 900;
  color: var(--text-muted);
  opacity: 0.3;
  padding-bottom: 0.62em;
  align-self: end;
  line-height: 1;
  transform: translateY(0.08em);
}
.match-hero-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.match-hero-ceremony-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.35;
}
.match-hero-action-label {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.match-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0.85rem 1rem 0.75rem;
  margin-bottom: 1rem;
  background:
    linear-gradient(
      135deg,
      rgba(var(--match-status-rgb), 0.08),
      transparent 55%),
    var(--surface);
  border: 1px solid rgba(var(--match-status-rgb), 0.16);
  border-radius: var(--radius);
}
.match-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  flex: 1;
  background: none;
  border: none;
  font-family: var(--font-sans);
  cursor: pointer;
  color: var(--text-muted);
  min-width: 0;
  padding: 0;
}
.match-step:hover .match-step-seg {
  background: rgba(var(--match-status-rgb), 0.35);
}
.match-step:hover .match-step-label {
  color: var(--text);
}
.match-step.active .match-step-seg {
  background: var(--match-status-color);
  box-shadow: 0 0 0 1px rgba(var(--match-status-rgb), 0.16), 0 0 18px rgba(var(--match-status-rgb), 0.16);
}
.match-step.active .match-step-label {
  color: var(--match-status-color);
}
.match-step-seg {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.25s, box-shadow 0.25s;
}
.match-step-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 0.25s;
  text-align: center;
}
.match-tab-content {
  margin-bottom: 2rem;
}
.tabellino-card {
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(var(--match-status-rgb), 0.09),
      transparent 32%),
    var(--surface);
  border: 1px solid rgba(var(--match-status-rgb), 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}
.tabel-team-hdr {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  background:
    linear-gradient(
      90deg,
      rgba(var(--match-status-rgb), 0.1),
      rgba(255, 255, 255, 0.025));
  border-bottom: 1px solid rgba(var(--match-status-rgb), 0.12);
}
.tabel-team-hdr--second {
  border-top: 1px solid var(--border-strong);
}
.tabel-team-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex: 1;
}
.tabel-team-score {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}
.tabel-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 58px;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.tabel-row:last-of-type {
  border-bottom: none;
}
.tabel-avatar {
  flex-shrink: 0;
  text-decoration: none;
}
.tabel-name {
  flex: 1;
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.tabel-name:hover {
  color: var(--primary);
}
.teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.player-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}
.player-row:last-child {
  border-bottom: none;
}
.player-row .player-name {
  flex: 1;
}
.player-row .goals {
  font-size: 0.85rem;
  color: var(--success);
  font-weight: 700;
  font-family: var(--font-mono);
}
.guest-badge {
  font-size: 0.7rem;
  background: var(--surface-2);
  color: var(--text-muted);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}
.section-card {
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(var(--match-status-rgb), 0.09),
      transparent 32%),
    var(--surface);
  border: 1px solid rgba(var(--match-status-rgb), 0.16);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.section-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.awards-card {
  min-height: 220px;
}
.awards-pending {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}
.awards-blocked {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed rgba(229, 85, 85, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(229, 85, 85, 0.06);
  color: var(--text-muted);
}
.awards-blocked lucide-icon {
  color: rgba(229, 85, 85, 0.6);
  margin-bottom: 0.75rem;
}
.awards-blocked p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}
.awards-blocked .awards-blocked-sub {
  font-size: 0.8rem;
  margin-top: 0.4rem;
}
.match-hero-blocked-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 85, 85, 0.1);
  border: 1px solid rgba(229, 85, 85, 0.25);
  border-radius: var(--radius-sm);
  color: rgba(229, 85, 85, 0.85);
  font-size: 0.82rem;
  padding: 0.55rem 0.85rem;
  margin-top: 0.75rem;
}
.rating-locked {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  opacity: 0.5;
  flex-shrink: 0;
}
.confirmation-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.progress-bar {
  flex: 1;
  height: 5px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--success);
  border-radius: var(--radius-sm);
  transition: width 0.4s ease;
}
.confirmation-list {
  margin-bottom: 1rem;
}
.confirmation-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.confirmation-row:last-child {
  border-bottom: none;
}
.confirmation-row.confirmed {
  color: var(--success);
}
.confirmation-row.pending {
  color: var(--text-muted);
}
.already-done {
  padding: 0.75rem 1rem;
  background: rgba(116, 224, 139, 0.08);
  border: 1px solid rgba(116, 224, 139, 0.2);
  border-radius: var(--radius-sm);
  color: var(--success);
  font-size: 0.9rem;
}
.vote-progress {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.vote-progress .closes-at {
  color: var(--warning);
}
.exit-poll {
  margin-bottom: 1.5rem;
}
.poll-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.poll-row:last-child {
  border-bottom: none;
}
.poll-row .poll-name {
  min-width: 120px;
  font-size: 0.9rem;
  font-weight: 600;
}
.poll-row .poll-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.poll-bar-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.poll-bar-group .poll-label {
  min-width: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
}
.poll-bar-group .poll-label.best {
  color: var(--warning);
}
.poll-bar-group .poll-label.worst {
  color: var(--danger);
}
.bar-track {
  flex: 1;
  height: 6px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: var(--radius-sm);
  transition: width 0.5s ease;
}
.bar-fill.best {
  background: var(--warning);
}
.bar-fill.worst {
  background: var(--danger);
}
.vote-form {
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}
.vote-form h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}
.vote-form .btn-primary {
  width: auto;
}
.leaderboard-table-wrap {
  overflow-x: auto;
}
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.leaderboard-table th,
.leaderboard-table td {
  padding: 0.65rem 0.75rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.leaderboard-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: var(--surface);
}
.leaderboard-table tbody tr {
  transition: background 0.12s;
}
.leaderboard-table tbody tr:hover {
  background: var(--surface-2);
}
.leaderboard-table tbody tr.top-row td {
  font-weight: 700;
}
.leaderboard-table tbody tr.me-row {
  background: rgba(var(--primary-rgb), 0.07);
  outline: 1px solid rgba(var(--primary-rgb), 0.25);
  outline-offset: -1px;
}
.leaderboard-table tbody tr.me-row td {
  font-weight: 600;
}
.leaderboard-table tbody tr.me-row:hover {
  background: rgba(var(--primary-rgb), 0.12);
}
.leaderboard-table .rank {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.leaderboard-table .player-name {
  font-weight: 600;
  text-align: left;
}
.leaderboard-table .wins {
  color: var(--success);
  font-weight: 700;
  font-family: var(--font-mono);
}
.leaderboard-table .best {
  color: var(--warning);
  font-weight: 700;
  font-family: var(--font-mono);
}
.leaderboard-table .worst {
  color: var(--danger);
  font-family: var(--font-mono);
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding-bottom: env(safe-area-inset-bottom, 8px);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  background: rgba(11, 15, 11, 0.96);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid var(--border);
  z-index: 200;
}
.admin-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.15s;
  position: relative;
}
.admin-tab.active {
  color: var(--primary);
}
.admin-tab-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.admin-tab-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.admin-page-content {
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 8px) + 1rem) !important;
  max-width: none;
}
.tab {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  font-size: 0.92rem;
  font-family: var(--font-sans);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.tab:hover {
  color: var(--text);
}
.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.tab-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}
.tab-header .btn-primary {
  width: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th,
.admin-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--surface);
}
.admin-table tbody tr:hover {
  background: var(--surface);
}
.admin-table .actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.admin-table .muted {
  color: var(--text-muted);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal.modal-sm {
  max-width: 380px;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  min-width: 0;
}
.modal-close {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.modal-body {
  padding: 1.1rem;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}
.modal-footer .btn-primary {
  width: auto;
}
.participants-section {
  margin-bottom: 1rem;
}
.participants-section label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}
.participant-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.participant-row .team-select {
  width: 100px;
  flex-shrink: 0;
}
.participant-row .user-select {
  flex: 1;
}
.participant-row input {
  flex: 1;
}
.add-participant-btns {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.score-inputs {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}
.score-inputs .form-group {
  flex: 1;
  margin-bottom: 0;
}
.score-inputs input[type=number] {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.score-inputs .score-sep {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  padding-bottom: 0.4rem;
  color: var(--text-muted);
}
.error-msg {
  color: var(--danger);
  font-size: 0.85rem;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 84, 68, 0.1);
  border: 1px solid rgba(255, 84, 68, 0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
}
.loading {
  color: var(--text-muted);
  padding: 2rem;
  text-align: center;
}
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.empty-state p {
  margin-bottom: 1rem;
}
.empty-state .btn-primary {
  width: auto;
  display: inline-block;
}
.coming-soon-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  gap: 1rem;
}
.coming-soon-state .coming-soon-icon {
  font-size: 3.5rem;
  opacity: 0.5;
  filter: grayscale(0.3);
}
.coming-soon-state .coming-soon-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0;
}
.coming-soon-state .coming-soon-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}
@media (max-width: 640px) {
  .topbar {
    height: 56px;
    flex-wrap: nowrap;
    padding: 0 1rem;
    gap: 0.75rem;
    background: rgba(11, 15, 11, 0.95);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    border-bottom: 1px solid var(--border);
  }
  .topbar-brand {
    flex: 1 1 auto;
    font-size: 1rem;
  }
  .topbar-user {
    flex: 0 0 auto;
    margin-left: 0;
    gap: 0.5rem;
  }
  .btn-ghost {
    padding: 0.3rem 0.7rem;
    font-size: 0.82rem;
  }
  .topbar-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    height: 68px;
    padding-bottom: env(safe-area-inset-bottom, 8px);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    background: rgba(11, 15, 11, 0.94);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-top: 1px solid var(--border);
    z-index: 90;
    gap: 0;
    margin: 0;
    order: 0;
  }
  .nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 2px 4px;
    border-radius: 0;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-muted);
    border-top: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
  }
  .nav-link::before {
    font-size: 1.2rem;
    line-height: 1;
    display: block;
  }
  .nav-link:hover {
    background: transparent;
    color: var(--text);
  }
  .nav-link.active {
    color: var(--primary);
    border-top-color: var(--primary);
    background: transparent;
    font-weight: 700;
  }
  .topbar-nav .nav-link:nth-child(1)::before {
    content: "\26bd";
  }
  .topbar-nav .nav-link:nth-child(2)::before {
    content: "\1f3c6";
  }
  .topbar-nav .nav-link:nth-child(3)::before {
    content: "\2694\fe0f";
  }
  .topbar-nav .nav-link:nth-child(4)::before {
    content: "\2709\fe0f";
  }
  .topbar-nav .nav-link:nth-child(5)::before {
    content: "\2699\fe0f";
  }
  .page-content {
    padding: 1rem 1rem 5.5rem;
  }
  .page-header {
    margin-bottom: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .page-header h2 {
    font-size: 1.8rem;
    letter-spacing: -0.04em;
  }
  .page-header .alert-banner {
    width: 100%;
  }
  .match-list {
    grid-template-columns: 1fr;
  }
  .match-hero {
    border-radius: var(--radius-sm);
  }
  .hero-score-num {
    font-size: 4rem;
  }
  .teams-grid {
    grid-template-columns: 1fr;
  }
  .section-card {
    padding: 1rem;
  }
  .vote-progress {
    flex-direction: column;
    gap: 0.25rem;
  }
  .poll-row {
    align-items: flex-start;
    gap: 0.5rem;
  }
  .poll-row .poll-name {
    min-width: 80px;
    font-size: 0.82rem;
  }
  .poll-bar-group .poll-label {
    min-width: 40px;
    font-size: 0.75rem;
  }
  .leaderboard-table {
    font-size: 0.75rem;
  }
  .leaderboard-table th,
  .leaderboard-table td {
    padding: 0.45rem 0.35rem;
  }
  .admin-table {
    font-size: 0.8rem;
  }
  .admin-table th,
  .admin-table td {
    padding: 0.5rem 0.5rem;
  }
  .modal {
    max-width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal-overlay--center {
    align-items: center;
    padding: 1rem;
  }
  .modal-overlay--center .modal {
    max-width: calc(100% - 2rem);
    border-radius: 20px;
  }
  .tab-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .score-inputs input[type=number] {
    font-size: 1.4rem;
  }
  .participant-row {
    flex-wrap: wrap;
  }
  .participant-row .team-select {
    width: 80px;
  }
  .login-page {
    align-items: flex-start;
    padding: 1.5rem 0.75rem;
  }
  .login-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius);
  }
  .login-logo {
    margin-bottom: 1.5rem;
  }
  .login-logo .logo-icon {
    font-size: 2.2rem;
  }
  .login-logo h1 {
    font-size: 1.5rem;
  }
  .login-card .form-group input {
    min-height: 46px;
    font-size: 1rem;
  }
  .login-card .btn-primary {
    min-height: 50px;
    font-size: 1rem;
  }
}
.ceremony-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #08080f;
  animation: overlay-in 0.3s ease-out;
  cursor: pointer;
}
@keyframes overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.ceremony-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
  padding: 2.5rem 1.75rem 1.75rem;
  text-align: center;
  cursor: default;
  animation: scene-enter 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes scene-enter {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(24px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.ceremony-bg-rings {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.ceremony-bg-rings::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150vmax;
  height: 150vmax;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 0 80px rgba(255, 255, 255, 0.02),
    0 0 0 160px rgba(255, 255, 255, 0.013),
    0 0 0 240px rgba(255, 255, 255, 0.008),
    0 0 0 320px rgba(255, 255, 255, 0.005);
}
.ceremony-glow {
  display: none;
}
.ceremony-top-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.55rem;
  animation: fade-up 0.35s 0.1s ease both;
  position: relative;
  z-index: 1;
}
.ceremony-big-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 13vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}
.ceremony-scene--best .ceremony-big-title {
  color: #22c55e;
  animation: title-slam 0.5s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both, title-glow-pulse 2.5s 0.75s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(34, 197, 94, 0.45);
}
.ceremony-scene--worst .ceremony-big-title {
  color: #ef4444;
  animation: title-slam 0.5s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both, title-shake 0.5s 0.8s ease both;
  text-shadow: 0 0 40px rgba(239, 68, 68, 0.45);
}
.ceremony-scene--chicken .ceremony-big-title {
  color: #f97316;
  animation: title-slam 0.5s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  text-shadow: 0 0 40px rgba(249, 115, 22, 0.45);
}
@keyframes title-slam {
  from {
    opacity: 0;
    transform: scale(1.45) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes title-glow-pulse {
  0%, 100% {
    text-shadow: 0 0 40px rgba(34, 197, 94, 0.45);
  }
  50% {
    text-shadow: 0 0 70px rgba(34, 197, 94, 0.75), 0 0 110px rgba(34, 197, 94, 0.3);
  }
}
@keyframes title-shake {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-7px);
  }
  40% {
    transform: translateX(7px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
.ceremony-avatar-wrap {
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
  animation: avatar-pop 0.55s 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.ceremony-scene--chicken .ceremony-avatar-wrap {
  animation: avatar-pop 0.55s 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both, wobble 0.65s 1.05s ease both;
}
@keyframes avatar-pop {
  from {
    opacity: 0;
    transform: scale(0.35);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes wobble {
  0%, 100% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-9deg);
  }
  40% {
    transform: rotate(9deg);
  }
  60% {
    transform: rotate(-5deg);
  }
  80% {
    transform: rotate(5deg);
  }
}
.ceremony-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  overflow: hidden;
}
.ceremony-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ceremony-avatar--best {
  border: 3px solid #22c55e;
  box-shadow: 0 0 32px rgba(34, 197, 94, 0.4);
}
.ceremony-avatar--worst {
  border: 3px solid #ef4444;
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.38);
}
.ceremony-avatar--chicken {
  border: 3px solid #f97316;
  box-shadow: 0 0 32px rgba(249, 115, 22, 0.38);
}
.ceremony-player-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s 0.6s ease both;
}
.ceremony-player-username {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 0.15rem;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s 0.7s ease both;
}
.ceremony-perf-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  width: 100%;
  max-width: 270px;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s 0.8s ease both;
}
.ceremony-perf-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 0.45rem;
}
.ceremony-perf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.22rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ceremony-perf-row:last-child {
  border-bottom: none;
}
.ceremony-perf-val {
  font-weight: 800;
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.92rem;
}
.ceremony-cta-btn {
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.9rem;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s 1s ease both;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ceremony-cta-btn:hover {
  transform: translateY(-2px);
}
.ceremony-cta-btn:active {
  transform: scale(0.97);
}
.ceremony-cta-btn--best {
  background: #22c55e;
  color: #031a0a;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.45);
}
.ceremony-cta-btn--worst {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.42);
}
.ceremony-cta-btn--chicken {
  background: #f97316;
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.42);
}
.ceremony-cta-btn--feuds {
  background: #7c3aed;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.45);
}
.ceremony-glow--feuds {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(124, 58, 237, 0.28) 0%,
      transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse-purple 2.5s 0.5s ease-in-out infinite;
}
@keyframes glow-pulse-purple {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -70%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -70%) scale(1.12);
  }
}
.ceremony-scene--feuds .ceremony-big-title {
  color: #a78bfa;
  animation: title-slam 0.5s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  text-shadow: 0 0 40px rgba(124, 58, 237, 0.55);
}
.ceremony-no-winner {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0.75rem 0 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s 0.5s ease both;
}
.ceremony-step-dots {
  display: flex;
  gap: 6px;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s 1.1s ease both;
}
.ceremony-step-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s, transform 0.3s;
}
.ceremony-step-dots span.active {
  background: rgba(255, 255, 255, 0.75);
  transform: scale(1.3);
}
.ceremony-step-dots--feuds span:last-child.active {
  background: #a78bfa;
  box-shadow: 0 0 6px rgba(167, 139, 250, 0.7);
}
.ceremony-glow--personal {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(56, 189, 248, 0.22) 0%,
      transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse-sky 2.5s 0.5s ease-in-out infinite;
}
@keyframes glow-pulse-sky {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -70%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -70%) scale(1.12);
  }
}
.ceremony-scene--personal .ceremony-big-title {
  color: #38bdf8;
  animation: title-slam 0.5s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.45);
}
.ceremony-cta-btn--personal {
  background: #38bdf8;
  color: #001a26;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.42);
}
.ceremony-big-rating {
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #38bdf8;
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.45);
  animation: title-slam 0.5s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  position: relative;
  z-index: 1;
  margin-bottom: 0.2rem;
}
.ceremony-rating-sublabel {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
  animation: fade-up 0.35s 0.35s ease both;
}
.ceremony-ratings-list {
  width: 100%;
  max-width: 270px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s 0.5s ease both;
}
.ceremony-ratings-teams {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 320px;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s 0.5s ease both;
}
.ceremony-ratings-team {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  overflow: hidden;
}
.ceremony-ratings-team-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 0.3rem 0.5rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ceremony-rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ceremony-rating-row:last-child {
  border-bottom: none;
}
.ceremony-rating-row--self {
  background: rgba(56, 189, 248, 0.08);
  color: rgba(255, 255, 255, 0.85);
}
.ceremony-rating-row--novote {
  color: rgba(255, 255, 255, 0.28);
}
.ceremony-rating-voter {
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 72%;
}
.ceremony-rating-val {
  font-weight: 800;
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.9rem;
}
.ceremony-rating-val--high {
  color: #22c55e;
}
.ceremony-rating-val--low {
  color: #ef4444;
}
.ceremony-rating-val--novote {
  color: #f97316;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}
.ceremony-award-votes {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s 0.65s ease both;
}
.cav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  min-width: 70px;
}
.cav-icon {
  font-size: 1.1rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}
.cav-label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.2rem;
  font-weight: 700;
}
.cav-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
}
.ceremony-glow--leaderboard {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(251, 191, 36, 0.22) 0%,
      transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse-gold 2.5s 0.5s ease-in-out infinite;
}
@keyframes glow-pulse-gold {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -70%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -70%) scale(1.12);
  }
}
.ceremony-scene--leaderboard .ceremony-big-title {
  color: #fbbf24;
  animation: title-slam 0.5s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  text-shadow: 0 0 40px rgba(251, 191, 36, 0.45);
}
.ceremony-cta-btn--leaderboard {
  background: #fbbf24;
  color: #291900;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.42);
}
.ceremony-lb-list {
  width: 100%;
  max-width: 320px;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s 0.5s ease both;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ceremony-lb-row {
  display: grid;
  grid-template-columns: 28px 1fr auto 38px;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
}
.ceremony-lb-row--self {
  background: rgba(251, 191, 36, 0.12);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.65rem 0.75rem;
}
.ceremony-lb-row--self .clb-rank {
  color: #fbbf24;
}
.ceremony-lb-row--self .clb-name {
  color: #fff;
}
.ceremony-lb-row--self .clb-score {
  color: #fbbf24;
}
.clb-rank {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 700;
}
.clb-rank::before {
  content: "#";
}
.clb-name {
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clb-score {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}
.clb-delta {
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-mono);
  text-align: right;
}
.clb-delta--up {
  color: #22c55e;
}
.clb-delta--down {
  color: #ef4444;
}
.clb-delta--same {
  color: rgba(255, 255, 255, 0.2);
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
lucide-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
  flex-shrink: 0;
}
.podium-medal--1 lucide-icon {
  color: #f59e0b;
}
.podium-medal--2 lucide-icon {
  color: #94a3b8;
}
.podium-medal--3 lucide-icon {
  color: #b45309;
}
.ks-sidebar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: var(--bg);
  border-right: 1px solid var(--border);
  flex-direction: column;
  padding: 24px 12px;
  z-index: 200;
  gap: 4px;
}
.ks-sidebar-logo {
  text-decoration: none;
  padding: 4px 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.ks-sidebar-logo-icon {
  display: none;
  height: 28px;
  width: auto;
}
.ks-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.ks-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.ks-sidebar-item:hover {
  color: var(--text);
  background: var(--surface-2);
}
.ks-sidebar-item.active {
  color: var(--fire);
  font-weight: 700;
  background: rgba(var(--fire-rgb), 0.08);
}
.ks-sidebar-new-match {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--fire);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: background 0.15s;
}
.ks-sidebar-new-match:hover {
  background: var(--ember);
}
.ks-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  width: 100%;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.ks-sidebar-toggle:hover {
  color: var(--text);
  background: var(--surface-2);
}
.ks-with-sidebar {
  margin-left: 0;
}
@media (min-width: 1024px) {
  .ks-sidebar {
    display: flex;
  }
  .ks-sidebar-toggle {
    display: flex;
  }
  .ks-with-sidebar {
    margin-left: 220px;
    transition: margin-left 0.2s ease;
  }
  .ks-with-sidebar--collapsed {
    margin-left: 64px;
  }
  .global-bottom-nav {
    display: none !important;
  }
  .page-content {
    padding-bottom: 0 !important;
  }
  .ks-sidebar {
    transition: width 0.2s ease, padding 0.2s ease;
    overflow: hidden;
  }
  .ks-sidebar--collapsed {
    width: 64px;
    padding: 24px 8px;
    align-items: center;
  }
  .ks-sidebar--collapsed .ks-sidebar-logo-full {
    display: none;
  }
  .ks-sidebar--collapsed .ks-sidebar-logo-icon {
    display: block;
  }
  .ks-sidebar--collapsed .ks-sidebar-logo {
    padding: 4px;
    justify-content: center;
    margin-bottom: 20px;
  }
  .ks-sidebar--collapsed .ks-sidebar-item {
    justify-content: center;
    padding: 10px;
  }
  .ks-sidebar--collapsed .ks-sidebar-item span {
    display: none;
  }
  .ks-sidebar--collapsed .ks-sidebar-new-match {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    margin-bottom: 12px;
  }
  .ks-sidebar--collapsed .ks-sidebar-new-match span {
    display: none;
  }
  .ks-sidebar--collapsed .ks-sidebar-toggle {
    width: 40px;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
