:root {
  --bg: #030303;
  --bg-soft: #090806;
  --surface: rgba(15, 12, 8, 0.9);
  --surface-strong: #13100b;
  --surface-hover: #1a150f;
  --line: rgba(219, 179, 92, 0.12);
  --line-strong: rgba(214, 162, 43, 0.42);
  --text: #f7f1e7;
  --text-soft: #d1c6b0;
  --text-muted: #93856b;
  --gold: #c99a2e;
  --gold-strong: #f0bf4a;
  --gold-soft: rgba(240, 191, 74, 0.12);
  --emerald: #3ecf8e;
  --red: #ff6b6b;
  --blue: #d9b25b;
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.46);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --max-width: 1160px;
  --transition: 180ms ease;
  --font-ui: "Manrope", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 162, 43, 0.18), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(214, 162, 43, 0.1), transparent 18%),
    linear-gradient(180deg, #0a0907 0%, #040404 48%, #020202 100%);
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.app-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.app-bg__glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.32;
}

.app-bg__glow--left {
  top: -8rem;
  left: -10rem;
  background: rgba(214, 162, 43, 0.4);
}

.app-bg__glow--right {
  top: 10rem;
  right: -12rem;
  background: rgba(180, 122, 22, 0.26);
}

.app-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(214, 162, 43, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 162, 43, 0.03) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 85%);
}

.app-shell,
.page {
  position: relative;
  z-index: 1;
}

.layout {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.boot,
.noscript,
.full-loader {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.boot__logo {
  width: min(20rem, 76vw);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 24px 38px rgba(214, 162, 43, 0.24));
}

.boot__eyebrow,
.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.boot__title,
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.boot__text,
.muted {
  color: var(--text-soft);
}

.full-loader__dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(214, 162, 43, 0.42);
  animation: pulse 1.15s infinite;
}

.hero,
.panel,
.notice,
.nav,
.footer {
  position: relative;
  isolation: isolate;
  backdrop-filter: blur(22px);
  background:
    radial-gradient(circle at top center, rgba(214, 162, 43, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(18, 14, 10, 0.98), rgba(8, 6, 4, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero::before,
.panel::before,
.notice::before,
.nav::before,
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 191, 74, 0.68), transparent);
  pointer-events: none;
}

.hero,
.panel,
.nav {
  border-radius: var(--radius-xl);
}

.hero {
  position: relative;
  display: block;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  margin-bottom: 1rem;
}

.hero__brand {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.hero__logo {
  width: min(100%, 28rem);
  max-width: 22rem;
  margin: 0 auto;
  filter: drop-shadow(0 22px 30px rgba(214, 162, 43, 0.24));
}

.hero__content {
  width: 100%;
}

.hero__subtitle {
  margin: 0.75rem auto 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 42rem;
}

.hero__team {
  color: var(--text-muted);
  margin: 0.65rem 0 0;
}

.hero__actions {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__meta,
.toolbar,
.stack,
.action-row,
.split-row,
.chip-list,
.detail-list,
.count-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero__meta {
  justify-content: center;
}

.badge,
.pill,
.status-chip,
.hero__sync {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.56rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  font-size: 0.83rem;
  font-weight: 700;
}

.date-badge {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.45rem;
  padding: 0.28rem 0.78rem 0.28rem 0.34rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 162, 43, 0.24);
  background: linear-gradient(135deg, rgba(214, 162, 43, 0.16), rgba(255, 255, 255, 0.03));
  color: var(--text);
}

.date-badge__weekday {
  display: inline-grid;
  place-items: center;
  min-width: 1.9rem;
  min-height: 1.9rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-strong), #d89d1e);
  color: #261a04;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.date-badge__value {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.date-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.28rem 0.64rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.date-status--today {
  color: #261a04;
  background: linear-gradient(135deg, var(--gold-strong), #d89d1e);
  border-color: rgba(255, 224, 162, 0.28);
}

.date-status--soon {
  color: var(--gold-strong);
  background: rgba(214, 162, 43, 0.12);
  border-color: rgba(214, 162, 43, 0.24);
}

.date-status--upcoming {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.date-status--past {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.date-status--neutral {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.badge--accent,
.pill--accent,
.status-chip--accent {
  color: #261a04;
  background: linear-gradient(135deg, var(--gold-strong), #d89d1e);
  border-color: rgba(255, 224, 162, 0.28);
}

.pill--positive,
.status-chip--positive {
  color: var(--emerald);
  background: rgba(62, 207, 142, 0.12);
  border-color: rgba(62, 207, 142, 0.24);
}

.pill--negative,
.status-chip--negative {
  color: var(--red);
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.24);
}

.pill--info {
  color: var(--gold-strong);
  background: rgba(214, 162, 43, 0.12);
  border-color: rgba(214, 162, 43, 0.24);
}

.nav {
  margin-bottom: 1rem;
  padding: 0.5rem;
  overflow-x: auto;
}

.nav__inner {
  display: inline-flex;
  gap: 0.5rem;
  min-width: 100%;
}

.nav__button,
.button,
.icon-button,
.chip,
.slot,
.tab-trigger {
  border: 1px solid transparent;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.nav__button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
}

.nav__button {
  font-family: var(--font-display);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__button.is-active {
  color: #261a04;
  background: linear-gradient(135deg, var(--gold-strong), #d89d1e);
  box-shadow: 0 14px 28px rgba(214, 162, 43, 0.22);
}

.nav__button:hover,
.nav__button:focus-visible {
  color: var(--gold-strong);
  border-color: rgba(214, 162, 43, 0.18);
  background: rgba(214, 162, 43, 0.08);
}

.icon-button {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.icon-button:hover,
.button:hover,
.chip:hover,
.slot:hover {
  transform: translateY(-1px);
}

.button {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
  color: var(--text);
}

.button--primary {
  color: #261a04;
  background: linear-gradient(135deg, var(--gold-strong), #d89d1e);
  border-color: rgba(255, 223, 163, 0.2);
}

.button--secondary {
  color: var(--gold-strong);
  background: rgba(214, 162, 43, 0.08);
  border-color: rgba(214, 162, 43, 0.18);
}

.button--success {
  color: var(--emerald);
  background: rgba(62, 207, 142, 0.1);
  border-color: rgba(62, 207, 142, 0.2);
}

.button--danger {
  color: var(--red);
  background: rgba(255, 107, 107, 0.09);
  border-color: rgba(255, 107, 107, 0.2);
}

.button--muted {
  color: var(--text-soft);
}

.button--block {
  width: 100%;
}

.button--small {
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.button:disabled,
.icon-button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
}

.notice {
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
}

.notice--error {
  border-color: rgba(255, 107, 107, 0.22);
  color: #ffb4b4;
}

.notice--success {
  border-color: rgba(62, 207, 142, 0.22);
  color: #bbf7da;
}

.notice--info {
  border-color: rgba(214, 162, 43, 0.24);
  color: #f3dfb0;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel {
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.panel--hero {
  overflow: hidden;
}

.panel__title,
.event-card__headline,
.admin-card__headline {
  font-family: var(--font-display);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.panel__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: 0.03em;
}

.panel__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel__copy {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
}

.field-group,
.control-group {
  display: grid;
  gap: 0.45rem;
}

.field-label {
  font-family: var(--font-display);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.92rem 1rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.textarea {
  min-height: 8rem;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(214, 162, 43, 0.45);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(214, 162, 43, 0.12);
}

.option-grid {
  display: grid;
  gap: 0.85rem;
}

.option-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.option-card.is-selected {
  border-color: rgba(214, 162, 43, 0.44);
  background: rgba(214, 162, 43, 0.09);
}

.option-card__radio {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  margin-top: 0.1rem;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: transparent;
}

.option-card.is-selected .option-card__radio {
  border-color: var(--gold-strong);
  box-shadow: inset 0 0 0 5px rgba(214, 162, 43, 0.92);
}

.section-stack > * + * {
  margin-top: 1rem;
}

.empty-state {
  border: 1px dashed rgba(214, 162, 43, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  text-align: center;
  color: var(--text-muted);
  background: rgba(214, 162, 43, 0.03);
}

.event-list,
.stat-list,
.vote-list,
.admin-event-list {
  display: grid;
  gap: 0.75rem;
}

.event-card,
.list-row,
.vote-card,
.admin-card,
.mini-card,
.rank-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, rgba(214, 162, 43, 0.02), transparent 42%);
}

.event-card {
  overflow: hidden;
}

.event-card.is-expanded {
  border-color: rgba(214, 162, 43, 0.4);
  box-shadow: 0 14px 34px rgba(214, 162, 43, 0.08);
}

.event-card__summary,
.admin-card__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: start;
  padding: 0.82rem 0.92rem;
}

.event-card__summary {
  cursor: pointer;
}

.event-card__headline,
.admin-card__headline {
  font-size: 1.06rem;
  line-height: 1.15;
  margin: 0.28rem 0 0;
}

.event-card__meta,
.admin-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  margin-top: 0.5rem;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.event-card__body,
.admin-card__body {
  border-top: 1px solid var(--line);
  padding: 0.88rem 0.92rem 0.95rem;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.name-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.name-list li {
  min-height: 1.6rem;
}

.name-list--muted li {
  color: var(--text-muted);
}

.line-through {
  text-decoration: line-through;
}

.counter {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 0.92rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.counter--positive {
  color: var(--emerald);
}

.counter--negative {
  color: var(--red);
}

.stats-grid,
.dashboard-grid {
  display: grid;
  gap: 1rem;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.score-card {
  padding: 1rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top center, rgba(214, 162, 43, 0.08), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.score-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
}

.score-card__label {
  font-family: var(--font-display);
  margin-top: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 800;
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: end;
}

.podium__item {
  text-align: center;
}

.podium__label {
  min-height: 2.6rem;
  margin-bottom: 0.6rem;
  color: var(--text-soft);
  font-weight: 800;
}

.podium__column {
  display: flex;
  min-height: 6rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-top: 4px solid rgba(255, 255, 255, 0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.4rem 0.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.podium__item--first .podium__column {
  min-height: 10rem;
  border-top-color: var(--gold-strong);
  background: linear-gradient(180deg, rgba(214, 162, 43, 0.16), rgba(214, 162, 43, 0.05));
}

.podium__item--second .podium__column {
  min-height: 8.4rem;
}

.podium__item--third .podium__column {
  min-height: 7rem;
}

.podium__place {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.podium__meta {
  font-size: 0.76rem;
  color: var(--text-soft);
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
}

.list-row__left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.list-row__title {
  font-weight: 800;
}

.list-row__subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.22rem;
}

.rank {
  width: 1.9rem;
  text-align: right;
  color: var(--text-muted);
  font-weight: 800;
}

.progress {
  width: 7rem;
  height: 0.45rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.progress__value {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.vote-card {
  padding: 1rem;
}

.vote-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vote-card__results,
.vote-card__actions {
  display: grid;
  gap: 0.7rem;
}

.vote-bar {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.vote-bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, rgba(214, 162, 43, 0.2), rgba(117, 189, 251, 0.2));
}

.vote-bar__row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
}

.widget-frame {
  width: 100%;
  min-height: 42rem;
  border: 0;
  border-radius: calc(var(--radius-xl) - 8px);
  background: transparent;
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-grid > .panel--full {
  grid-column: 1 / -1;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  font-weight: 700;
}

.chip.is-active {
  color: #261a04;
  background: linear-gradient(135deg, var(--gold-strong), #d89d1e);
  border-color: rgba(255, 223, 163, 0.25);
}

.lineup-layout {
  display: grid;
  gap: 1rem;
}

.lineup-meta {
  display: grid;
  gap: 1rem;
}

.field-board {
  position: relative;
  width: min(100%, 33rem);
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 8%,
      transparent 8%,
      transparent 16%
    ),
    linear-gradient(180deg, #0f5f3e 0%, #0b432e 100%);
}

.field-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.42);
}

.field-line--horizontal {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.field-circle {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 7rem;
  height: 7rem;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.penalty-area {
  position: absolute;
  left: 25%;
  width: 50%;
  border: 2px solid rgba(255, 255, 255, 0.42);
}

.penalty-area--top {
  top: 0;
  height: 15%;
  border-top: 0;
}

.penalty-area--bottom {
  bottom: 0;
  height: 15%;
  border-bottom: 0;
}

.goal-area {
  position: absolute;
  left: 35%;
  width: 30%;
  border: 2px solid rgba(255, 255, 255, 0.42);
}

.goal-area--top {
  top: 0;
  height: 5%;
  border-top: 0;
}

.goal-area--bottom {
  bottom: 0;
  height: 5%;
  border-bottom: 0;
}

.slot {
  position: absolute;
  inset: var(--top) auto auto var(--left);
  transform: translate(-50%, -50%);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0.2rem;
  text-align: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.18);
}

.slot.is-filled {
  color: var(--gold);
  border-color: rgba(214, 162, 43, 0.5);
  background: rgba(7, 12, 17, 0.95);
}

.slot.is-target {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.slot.is-selected {
  color: #261a04;
  background: linear-gradient(135deg, var(--gold-strong), #d89d1e);
  border-color: rgba(255, 223, 163, 0.2);
  box-shadow: 0 14px 28px rgba(214, 162, 43, 0.22);
}

.slot__label {
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  overflow: hidden;
}

.bench {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.bench__slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.bench-slot {
  position: static;
  transform: none;
  width: 100%;
  min-height: 3.2rem;
  border-radius: var(--radius-sm);
}

.upload-area {
  position: relative;
  display: grid;
  gap: 0.5rem;
  place-items: center;
  min-height: 11rem;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  padding: 1rem;
}

.upload-area__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.footer {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.83rem;
}

.hidden {
  display: none !important;
}

.spin {
  animation: spin 1.1s linear infinite;
}

.content-auto {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(214, 162, 43, 0.44);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(214, 162, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(214, 162, 43, 0);
  }
}

@media (max-width: 960px) {
  .hero__brand {
    text-align: center;
  }

  .hero__actions {
    top: 1rem;
    right: 1rem;
  }

  .dashboard-grid,
  .grid--2,
  .grid--3,
  .split-list,
  .score-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .layout {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 0.75rem;
  }

  .panel,
  .hero {
    padding: 1rem;
  }

  .hero__actions {
    top: 0.85rem;
    right: 0.85rem;
  }

  .event-card__summary,
  .admin-card__summary,
  .vote-card__header,
  .panel__title-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .event-list,
  .admin-event-list {
    gap: 0.65rem;
  }

  .event-card__summary,
  .admin-card__summary {
    gap: 0.55rem;
    padding: 0.72rem 0.8rem;
  }

  .event-card__headline,
  .admin-card__headline {
    font-size: 0.98rem;
    margin-top: 0.2rem;
  }

  .event-card__meta,
  .admin-card__meta {
    gap: 0.35rem 0.7rem;
    margin-top: 0.38rem;
    font-size: 0.8rem;
  }

  .event-card__body,
  .admin-card__body {
    padding: 0.8rem;
  }

  .counter {
    width: 1.95rem;
    height: 1.95rem;
    font-size: 0.86rem;
  }

  .count-pills {
    gap: 0.4rem;
  }

  .count-pills .pill {
    padding: 0.38rem 0.68rem;
    font-size: 0.74rem;
  }

  .date-badge {
    gap: 0.42rem;
    min-height: 2.2rem;
    padding: 0.24rem 0.66rem 0.24rem 0.28rem;
  }

  .date-badge__weekday {
    min-width: 1.72rem;
    min-height: 1.72rem;
    font-size: 0.58rem;
  }

  .date-badge__value {
    font-size: 0.74rem;
  }

  .date-status {
    min-height: 1.75rem;
    padding: 0.22rem 0.52rem;
    font-size: 0.62rem;
  }

  .podium {
    grid-template-columns: 1fr;
  }

  .widget-frame {
    min-height: 36rem;
  }

  .bench__slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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