/*
  Competition theme v2
  Reference lock: high-energy event control surface; cobalt owns actions,
  violet owns atmosphere/selected states, white owns logo presentation.
*/

:root {
  color-scheme: dark;
  --ink: #f8f8ff;
  --muted: #b8b6d2;
  --paper: #15102d;
  --paper-2: #1c153a;
  --navy: #0b0624;
  --navy-2: #10082f;
  --navy-3: #1b1150;
  --line: rgba(159, 171, 255, 0.2);
  --line-dark: rgba(174, 180, 255, 0.24);
  --blue: #0f7cff;
  --blue-hi: #65b3ff;
  --violet: #904bff;
  --violet-hi: #c394ff;
  --green: #26c98b;
  --orange: #ff9b42;
  --danger: #ff6077;
  --display: "Manrope", "Golos Text", sans-serif;
}

html { background: #09051b; }
body {
  color: var(--ink);
  background:
    radial-gradient(ellipse 58% 42% at 92% 2%, rgba(144, 75, 255, 0.26), transparent 70%),
    radial-gradient(ellipse 55% 45% at 2% 28%, rgba(15, 124, 255, 0.2), transparent 72%),
    linear-gradient(145deg, #070415 0%, #0b0624 43%, #11082e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 51%, rgba(110, 91, 255, 0.08) 51.1% 51.25%, transparent 51.35% 100%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(122, 148, 255, 0.035) 120px);
  mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 34vw;
  height: 120vh;
  top: -20vh;
  right: 5vw;
  transform: skewX(-18deg);
  background: linear-gradient(180deg, rgba(15, 124, 255, 0.08), rgba(144, 75, 255, 0.04), transparent 72%);
  border-inline: 1px solid rgba(127, 128, 255, 0.1);
  pointer-events: none;
}

* { touch-action: manipulation; }
.app-shell { position: relative; isolation: isolate; }
.site-header {
  min-height: 92px;
  border-bottom-color: rgba(142, 151, 255, 0.28);
}
.brand img { width: 154px; }
.brand-divider { background: linear-gradient(var(--blue-hi), var(--violet)); }
.brand-event { color: #d8d9ff; }
.source-pill {
  border: 1px solid rgba(137, 133, 255, 0.62);
  color: #fff;
  background: linear-gradient(115deg, rgba(15, 124, 255, 0.34), rgba(144, 75, 255, 0.34));
  box-shadow: inset 0 0 28px rgba(105, 112, 255, 0.1);
}

.progress-wrap {
  padding-block: 15px 13px;
  background: rgba(11, 6, 36, 0.92);
  border-bottom: 1px solid rgba(142, 151, 255, 0.12);
}
.progress-meta { color: #d1d0ed; }
.progress-track { height: 4px; background: rgba(148, 154, 255, 0.15); }
.progress-track span { background: linear-gradient(90deg, var(--blue) 0%, #5368ff 50%, var(--violet) 100%); box-shadow: 0 0 14px rgba(81, 111, 255, 0.64); }

.screen { padding-block: 58px 76px; }
.eyebrow { color: #9acaff; }
.eyebrow::before { background: var(--violet-hi); box-shadow: 0 0 17px rgba(172, 116, 255, 0.95); transform: rotate(45deg); }
.display-title {
  max-width: 780px;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-transform: none;
  text-wrap: balance;
}
.display-title span { color: var(--violet-hi); }
.lead { margin-bottom: 26px; color: #c7c5dc; font-size: clamp(16px, 2vw, 19px); }

.intro-facts {
  position: relative;
  margin-bottom: 28px;
  border-color: rgba(144, 147, 255, 0.3);
  background: rgba(14, 8, 44, 0.48);
  box-shadow: inset 0 0 65px rgba(72, 48, 166, 0.09);
}
.intro-fact { min-height: 94px; padding: 16px 18px; }
.intro-facts::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 33.333%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}
.intro-fact + .intro-fact { border-color: rgba(148, 154, 255, 0.2); }
.intro-fact strong { font-family: var(--display); color: #cdaaff; font-size: 25px; letter-spacing: -0.03em; }
.intro-fact span { color: #aaaac7; }

.jury-mode .source-pill {
  border-color: rgba(255, 194, 92, 0.72);
  background: rgba(134, 80, 18, 0.28);
  color: #ffe0a6;
}
.jury-mode .eyebrow::before { background: #ffc05a; box-shadow: 0 0 17px rgba(255, 178, 65, 0.72); }
.jury-weight-note {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -1px 0 28px;
  border: 1px solid rgba(153, 156, 255, 0.24);
  background: rgba(8, 5, 27, 0.46);
}
.jury-weight-note span { min-height: 62px; padding: 12px 14px; display: flex; align-items: center; gap: 9px; color: #aaa7c1; font-size: 11px; line-height: 1.35; }
.jury-weight-note span + span { border-left: 1px solid rgba(153, 156, 255, 0.18); }
.jury-weight-note b { color: #ffc86f; font: 700 16px/1 var(--display); }

.button { border-radius: 0; }
.button-primary {
  background: linear-gradient(105deg, #087cff 0%, #4c65ff 50%, #8d45ff 100%);
  color: #fff;
  box-shadow: 0 12px 38px rgba(69, 82, 255, 0.25);
}
.button-primary:hover { background: linear-gradient(105deg, #258dff 0%, #6677ff 50%, #a25dff 100%); }
.button-secondary { border-color: rgba(139, 147, 255, 0.66); color: #f1efff; background: rgba(32, 20, 81, 0.38); }
.button-secondary:hover { background: rgba(75, 48, 146, 0.42); }
.button-quiet { color: #b4b6df; }
.button:focus-visible, a:focus-visible { outline: 2px solid #c394ff; outline-offset: 3px; }

.form-shell { max-width: 840px; }
.step-kicker { color: #91c8ff; }
.form-heading h1 {
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-transform: none;
  text-wrap: balance;
}
.form-heading p { color: #bcbad1; }
.form-panel {
  color: #f5f3ff;
  background: linear-gradient(155deg, rgba(29, 21, 66, 0.98), rgba(18, 12, 47, 0.98));
  border: 1px solid rgba(153, 156, 255, 0.3);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.035);
}
.field label { color: #e4e1f3; }
.required { color: #a974ff; }
.input {
  border-color: rgba(153, 159, 225, 0.37);
  color: #fff;
  background: rgba(7, 4, 25, 0.58);
}
.input::placeholder { color: #777492; }
.input:focus { border-color: #7f75ff; box-shadow: 0 0 0 3px rgba(116, 90, 255, 0.18); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field-error, .inline-error { color: #ff8a9b; }
.consent-box { border-top-color: rgba(156, 160, 225, 0.24); }
.check-row { color: #c6c3d9; }
.check-ui { border-color: #747394; background: #0c0824; }
.check-row input:checked + .check-ui { border-color: #8d55ff; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.privacy-note { color: #8f8da9; }

.contest-card {
  color: #f8f7ff;
  background: #130d31;
  border: 1px solid rgba(147, 153, 255, 0.3);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.38);
}
.contest-visual {
  background: #fff;
  border-bottom-color: rgba(142, 94, 255, 0.42);
}
.logo-stage {
  background:
    linear-gradient(130deg, rgba(86, 182, 255, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(157, 74, 255, 0.09), transparent 47%),
    #fff;
}
.logo-stage::after { color: #6c6590; }
.speaker-card {
  position: relative;
  background: linear-gradient(155deg, #0867db 0%, #4e3ee5 48%, #7c32d5 100%);
  overflow: hidden;
}
.speaker-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  top: -72px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.035), 0 0 0 64px rgba(255, 255, 255, 0.025);
}
.speaker-photo, .speaker-card small, .speaker-card strong, .speaker-card span { position: relative; }
.speaker-photo { border-color: rgba(255, 255, 255, 0.68); }
.speaker-card small { color: #e3dbff; }
.speaker-card span { color: #e0dcf1; }
.contest-copy { background: linear-gradient(160deg, #181038, #100a28); }
.contest-index { color: #a99cdb; }
.contest-copy h1 { font-family: var(--display); color: #fff; letter-spacing: -0.035em; text-transform: none; }
.contest-description { color: #b9b5cd; }
.question-block { border-top-color: rgba(158, 162, 224, 0.22); }
.question-title { color: #f3f1fb; }
.choice-ui {
  border-color: rgba(147, 151, 205, 0.36);
  color: #c2bfd4;
  background: rgba(9, 6, 28, 0.54);
}
.choice input:checked + .choice-ui {
  border-color: #8f66ff;
  color: #fff;
  background: linear-gradient(120deg, rgba(24, 101, 231, 0.42), rgba(121, 53, 214, 0.48));
  box-shadow: inset 0 0 0 1px rgba(175, 151, 255, 0.4), 0 8px 22px rgba(71, 47, 169, 0.16);
}
.rating-legend { color: #8885a5; }
.jury-form-shell { max-width: 900px; }
.jury-scale-guide { margin: 0 0 4px; padding: 13px 15px; display: flex; justify-content: space-between; gap: 18px; border: 1px solid rgba(255, 194, 92, 0.2); color: #aaa6be; background: rgba(68, 40, 16, 0.16); font-size: 11px; }
.jury-scale-guide b { margin-right: 6px; color: #ffd487; font-size: 15px; }
.jury-criterion { padding-block: 23px; }
.criterion-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.criterion-head .question-title { margin-bottom: 4px; }
.criterion-head p { max-width: 620px; margin: 0; color: #8f8ca5; font-size: 12px; line-height: 1.45; }
.criterion-weight { flex: none; padding: 7px 9px; border: 1px solid rgba(255, 194, 92, 0.36); color: #ffd487; font: 700 11px/1 var(--mono); letter-spacing: 0.04em; }
.jury-comment-field { margin-top: 24px; }
.jury-comment-field textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
.jury-review-list { display: grid; border: 1px solid rgba(153, 158, 211, 0.24); }
.jury-review-row { min-height: 66px; padding: 10px 14px; display: grid; grid-template-columns: 34px 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.jury-review-row + .jury-review-row { border-top: 1px solid rgba(153, 158, 211, 0.2); }
.jury-review-row img { width: 50px; height: 38px; object-fit: contain; padding: 4px; background: #fff; }
.jury-review-row strong { min-width: 0; color: #f3f0fb; font-size: 13px; }
.jury-review-row > b { color: #ffd487; font: 700 16px/1 var(--display); font-variant-numeric: tabular-nums; }
.jury-rank { color: #77738c; font: 600 10px/1 var(--mono); }

.results-mode .app-shell { width: min(100%, 1180px); }
.results-mode .screen { padding-top: 42px; }
.results-mode .source-pill { border-color: rgba(90, 175, 255, 0.62); background: rgba(15, 91, 183, 0.26); }
.results-shell { max-width: 1120px; margin: 0 auto; }
.results-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; margin-bottom: 30px; }
.results-heading .display-title { margin-bottom: 0; }
.results-status { margin-bottom: 5px; padding: 10px 12px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(38, 201, 139, 0.32); color: #b7e9d5; background: rgba(19, 111, 78, 0.15); font: 600 10px/1.2 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.results-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(38, 201, 139, 0.8); }
.results-status.is-demo { border-color: rgba(255, 194, 92, 0.3); color: #f3d9a9; background: rgba(115, 71, 16, 0.18); }
.results-status.is-demo span { background: #ffc05a; box-shadow: 0 0 12px rgba(255, 192, 90, 0.72); }
.results-status.has-error { border-color: rgba(255, 96, 119, 0.36); color: #ffb3be; background: rgba(150, 35, 54, 0.16); }
.results-status.has-error span { background: var(--danger); box-shadow: none; }
.results-toolbar { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(153, 156, 255, 0.28); margin-bottom: 18px; }
.result-tab { min-height: 76px; padding: 15px 18px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; border: 0; color: #9d99b7; background: rgba(8, 5, 27, 0.52); cursor: pointer; text-align: left; }
.result-tab + .result-tab { border-left: 1px solid rgba(153, 156, 255, 0.22); }
.result-tab small { font: 600 9px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.result-tab strong { font: 700 18px/1.2 var(--display); }
.result-tab.is-active { color: #fff; background: linear-gradient(115deg, rgba(15, 124, 255, 0.34), rgba(144, 75, 255, 0.28)); box-shadow: inset 0 -3px #6faeff; }
.result-tab:focus-visible { outline: 2px solid #c394ff; outline-offset: -4px; }
.results-winner { min-height: 174px; display: grid; grid-template-columns: 82px 176px minmax(0, 1fr) 190px; align-items: stretch; border: 1px solid rgba(159, 168, 255, 0.36); background: linear-gradient(120deg, rgba(15, 124, 255, 0.25), rgba(74, 51, 168, 0.32) 52%, rgba(144, 75, 255, 0.25)); overflow: hidden; }
.winner-place { display: flex; flex-direction: column; justify-content: space-between; padding: 18px 15px; border-right: 1px solid rgba(181, 188, 255, 0.22); }
.winner-place small, .winner-copy small { color: #a6a2c2; font: 600 9px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.winner-place strong { color: #ffd487; font: 700 42px/1 var(--display); letter-spacing: -0.04em; }
.winner-logo { min-height: 172px; padding: 24px; display: grid; place-items: center; background: #fff; }
.winner-logo img { width: 100%; max-height: 94px; object-fit: contain; }
.winner-copy { min-width: 0; padding: 27px 30px; display: flex; flex-direction: column; justify-content: center; }
.winner-copy h2 { margin: 9px 0 8px; color: #fff; font: 700 clamp(28px, 4vw, 46px)/1.02 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.winner-copy span { color: #bdb9d4; font-size: 12px; line-height: 1.45; }
.winner-score { padding: 25px 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; border-left: 1px solid rgba(181, 188, 255, 0.22); text-align: right; }
.winner-score strong { color: #fff; font: 700 clamp(42px, 5vw, 64px)/1 var(--display); letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.winner-score span { max-width: 115px; margin-top: 7px; color: #a9a5c1; font-size: 10px; line-height: 1.35; }
.leaderboard { margin-top: 18px; border: 1px solid rgba(153, 158, 211, 0.28); background: rgba(7, 4, 25, 0.46); }
.leaderboard-head { min-height: 42px; padding: 10px 16px 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #77738f; font: 600 9px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.leader-row { min-height: 70px; padding: 10px 16px; display: grid; grid-template-columns: 44px 64px minmax(0, 1fr) 82px; gap: 14px; align-items: center; border-top: 1px solid rgba(153, 158, 211, 0.2); }
.leader-place { color: #77738e; font: 700 14px/1 var(--mono); }
.place-1 .leader-place { color: #ffd487; }
.place-2 .leader-place { color: #d4d8e8; }
.place-3 .leader-place { color: #d99d72; }
.leader-logo { width: 58px; height: 46px; padding: 5px; display: grid; place-items: center; background: #fff; }
.leader-logo img { width: 100%; height: 100%; object-fit: contain; }
.leader-main { min-width: 0; display: grid; gap: 9px; }
.leader-main strong { overflow: hidden; color: #eeeafa; font-size: 13px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.leader-track { width: 100%; height: 5px; overflow: hidden; background: rgba(142, 145, 191, 0.16); }
.leader-track i { display: block; height: 100%; background: linear-gradient(90deg, #0f7cff, #8052f3); box-shadow: 0 0 12px rgba(73, 103, 255, 0.55); }
.place-1 .leader-track i { background: linear-gradient(90deg, #39a2ff, #a66cff); }
.leader-score { color: #f6f3ff; font: 700 24px/1 var(--display); letter-spacing: -0.04em; text-align: right; font-variant-numeric: tabular-nums; }
.results-method { margin-top: 18px; padding: 18px 20px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 220px; gap: 18px; align-items: start; border: 1px solid rgba(153, 158, 211, 0.22); background: rgba(21, 13, 52, 0.55); }
.method-index { color: #6f6a88; font: 600 11px/1 var(--mono); }
.results-method strong { display: block; margin-bottom: 6px; color: #e8e4f2; font-size: 13px; }
.results-method p { max-width: 650px; margin: 0; color: #9591a9; font-size: 11px; line-height: 1.5; }
.method-privacy { color: #817d97; font: 600 9px/1.45 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; text-align: right; }
.results-empty { padding: 60px 30px; border: 1px solid rgba(153, 158, 211, 0.28); text-align: center; background: rgba(8, 5, 27, 0.5); }
.results-empty strong { font: 700 24px/1.2 var(--display); }
.results-empty p { color: #9d99b2; }

/* 16:9 presentation mode for the venue screen */
.stage-mode {
  min-width: 0;
  overflow: hidden;
  background: #02010a;
}
.stage-mode::before,
.stage-mode::after,
.stage-mode .site-header,
.stage-mode .progress-wrap,
.stage-mode .site-footer { display: none !important; }
.stage-mode .app-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
.stage-mode #app { min-height: 100vh; }
.stage-screen {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #02010a;
}
.stage-frame {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  container-type: inline-size;
  color: #f7f5ff;
  background:
    radial-gradient(circle at 82% 12%, rgba(139, 70, 255, 0.32), transparent 32%),
    radial-gradient(circle at 9% 82%, rgba(12, 122, 255, 0.24), transparent 35%),
    linear-gradient(145deg, #070314 0%, #0b0624 49%, #12072d 100%);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
}
.stage-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 55%, rgba(112, 105, 255, 0.1) 55.1% 55.25%, transparent 55.35% 100%),
    repeating-linear-gradient(90deg, transparent 0 9.35cqw, rgba(132, 142, 255, 0.035) 9.4cqw);
}
.stage-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 3.5cqw 4cqw 3.1cqw;
  overflow: hidden;
  animation: stage-enter 0.38s ease both;
}
@keyframes stage-enter {
  from { opacity: 0; transform: translateX(1.1cqw); }
  to { opacity: 1; transform: none; }
}
.stage-brandline,
.stage-ranking-head,
.stage-cover-footer,
.stage-ranking-foot { position: relative; z-index: 2; }
.stage-brandline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
}
.stage-brandline img { width: 13.5cqw; height: auto; }
.stage-brandline span,
.stage-cover-footer,
.stage-kicker,
.stage-data-status,
.stage-table-head,
.stage-winner-label span,
.stage-ranking-foot {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stage-brandline span { color: #aaa8c0; font-size: 0.82cqw; }
.stage-cover-copy {
  position: relative;
  z-index: 2;
  width: 74%;
  margin-top: 8.4cqw;
}
.stage-kicker {
  margin: 0 0 1.5cqw;
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  color: #a8cfff;
  font-size: 0.83cqw;
  font-weight: 600;
}
.stage-kicker i {
  width: 0.62cqw;
  height: 0.62cqw;
  background: #aa70ff;
  box-shadow: 0 0 1.3cqw rgba(167, 105, 255, 0.92);
  transform: rotate(45deg);
}
.stage-cover-copy h1,
.stage-empty h1 {
  margin: 0;
  font: 700 6.15cqw/0.95 var(--display);
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.stage-cover-copy h1 span { color: #9e70ff; }
.stage-cover-copy > p:last-child,
.stage-empty > p:last-child {
  max-width: 54cqw;
  margin: 2cqw 0 0;
  color: #c4c0d8;
  font-size: 1.36cqw;
  line-height: 1.45;
}
.stage-cover-footer {
  position: absolute;
  right: 4cqw;
  bottom: 3.1cqw;
  left: 4cqw;
  padding-top: 1.15cqw;
  display: flex;
  justify-content: space-between;
  gap: 2cqw;
  border-top: 1px solid rgba(160, 165, 232, 0.26);
  color: #85819c;
  font-size: 0.67cqw;
}
.stage-orbit {
  position: absolute;
  border: 1px solid rgba(132, 146, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
}
.stage-orbit-one {
  width: 45cqw;
  height: 45cqw;
  top: -9cqw;
  right: -9cqw;
  box-shadow: 0 0 0 6cqw rgba(120, 78, 255, 0.025), 0 0 0 12cqw rgba(45, 122, 255, 0.018);
}
.stage-orbit-two {
  width: 17cqw;
  height: 17cqw;
  right: 10cqw;
  bottom: -8cqw;
}
.stage-ranking { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.stage-ranking-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3cqw;
  margin-bottom: 1.35cqw;
}
.stage-ranking-head .stage-kicker { margin-bottom: 0.7cqw; }
.stage-ranking-head h1 {
  margin: 0;
  font: 700 3.25cqw/1 var(--display);
  letter-spacing: -0.045em;
}
.stage-data-status {
  flex: none;
  margin-bottom: 0.25cqw;
  padding: 0.7cqw 0.85cqw;
  border: 1px solid rgba(38, 201, 139, 0.32);
  color: #b9ead7;
  background: rgba(20, 113, 80, 0.15);
  font-size: 0.58cqw;
  font-weight: 600;
}
.stage-data-status.is-demo {
  border-color: rgba(255, 194, 92, 0.32);
  color: #f1d7a5;
  background: rgba(117, 72, 17, 0.18);
}
.stage-ranking-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: 29cqw minmax(0, 1fr);
  gap: 1.3cqw;
}
.stage-winner {
  min-width: 0;
  display: grid;
  grid-template-rows: 3.2cqw 11.2cqw minmax(0, 1fr);
  border: 1px solid rgba(158, 166, 255, 0.34);
  background: linear-gradient(145deg, rgba(18, 102, 220, 0.2), rgba(91, 43, 170, 0.29));
}
.stage-winner-label {
  padding: 0.75cqw 1cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(166, 173, 234, 0.22);
}
.stage-winner-label span { color: #a9a5c2; font-size: 0.58cqw; }
.stage-winner-label b { color: #ffd487; font: 700 1.55cqw/1 var(--display); }
.stage-winner-logo {
  padding: 1.45cqw 2.4cqw;
  display: grid;
  place-items: center;
  background: #fff;
}
.stage-winner-logo img { width: 100%; height: 100%; object-fit: contain; }
.stage-winner-copy {
  min-height: 0;
  padding: 1.25cqw 1.4cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stage-winner-copy h2 {
  margin: 0 0 0.75cqw;
  font: 700 1.85cqw/1.05 var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.stage-winner-copy strong {
  color: #fff;
  font: 700 4.4cqw/0.95 var(--display);
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.stage-winner-copy p {
  max-width: 21cqw;
  margin: 0.65cqw 0 0;
  color: #a9a5bf;
  font-size: 0.72cqw;
  line-height: 1.35;
}
.stage-leaderboard {
  min-width: 0;
  display: grid;
  grid-template-rows: 2.55cqw repeat(9, minmax(0, 1fr));
  border: 1px solid rgba(153, 158, 211, 0.28);
  background: rgba(6, 3, 22, 0.48);
}
.stage-table-head {
  padding: 0.7cqw 0.9cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #77738f;
  font-size: 0.54cqw;
  font-weight: 600;
}
.stage-row {
  min-height: 0;
  padding: 0.34cqw 0.8cqw;
  display: grid;
  grid-template-columns: 2cqw 3.5cqw minmax(0, 1fr) 4cqw;
  gap: 0.7cqw;
  align-items: center;
  border-top: 1px solid rgba(153, 158, 211, 0.18);
}
.stage-row-place { color: #77738f; font: 700 0.8cqw/1 var(--mono); }
.stage-place-1 .stage-row-place { color: #ffd487; }
.stage-place-2 .stage-row-place { color: #d7d9e4; }
.stage-place-3 .stage-row-place { color: #d9a47d; }
.stage-row-logo {
  width: 3.3cqw;
  height: 2.15cqw;
  padding: 0.18cqw;
  display: grid;
  place-items: center;
  background: #fff;
}
.stage-row-logo img { width: 100%; height: 100%; object-fit: contain; }
.stage-row-main { min-width: 0; display: grid; gap: 0.34cqw; }
.stage-row-main strong {
  overflow: hidden;
  color: #eeeafa;
  font-size: 0.72cqw;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stage-row-main i { height: 0.2cqw; overflow: hidden; background: rgba(142, 145, 191, 0.16); }
.stage-row-main i b { display: block; height: 100%; background: linear-gradient(90deg, #0f7cff, #8052f3); }
.stage-place-1 .stage-row-main i b { background: linear-gradient(90deg, #42a5ff, #ab70ff); box-shadow: 0 0 0.7cqw rgba(76, 112, 255, 0.6); }
.stage-row-score {
  color: #f7f4ff;
  font: 700 1.3cqw/1 var(--display);
  letter-spacing: -0.04em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.stage-ranking-foot {
  padding-top: 1.05cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  color: #817d98;
  font-size: 0.54cqw;
}
.stage-ranking-foot strong { color: #a7a3bc; font-weight: 600; }
.stage-empty { display: flex; flex-direction: column; justify-content: center; }
.stage-controls {
  position: absolute;
  z-index: 10;
  right: 1.6cqw;
  bottom: 1.45cqw;
  display: flex;
  align-items: center;
  border: 1px solid rgba(153, 158, 211, 0.32);
  color: #fff;
  background: rgba(5, 3, 18, 0.88);
  box-shadow: 0 0.8cqw 2.2cqw rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  opacity: 0.12;
  transition: opacity 0.2s ease;
}
.stage-frame:hover .stage-controls,
.stage-controls:focus-within { opacity: 1; }
.stage-control,
.stage-fullscreen {
  min-width: 2.7cqw;
  min-height: 2.7cqw;
  border: 0;
  color: #f4f1ff;
  background: transparent;
  cursor: pointer;
}
.stage-control { font-size: 1.25cqw; }
.stage-control:hover,
.stage-fullscreen:hover { background: rgba(117, 89, 220, 0.28); }
.stage-control:disabled { color: #58546a; cursor: default; }
.stage-counter { min-width: 4.2cqw; color: #7e7993; font: 600 0.64cqw/1 var(--mono); text-align: center; }
.stage-counter b { color: #fff; }
.stage-control-divider { width: 1px; height: 1.3cqw; background: rgba(153, 158, 211, 0.28); }
.stage-fullscreen {
  padding: 0 0.95cqw;
  display: flex;
  align-items: center;
  gap: 0.65cqw;
  font: 600 0.59cqw/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stage-fullscreen span { font-size: 1.1cqw; }
@media (hover: none), (pointer: coarse) {
  .stage-controls { opacity: 1; }
}

.favorite-ui {
  border-color: rgba(152, 157, 213, 0.34);
  color: #fff;
  background: rgba(8, 5, 27, 0.62);
}
.favorite-ui span { color: #d5d1e4; }
.favorite-card input:checked + .favorite-ui {
  border-color: #8c5dff;
  background: linear-gradient(145deg, rgba(18, 109, 229, 0.3), rgba(112, 44, 192, 0.4));
  box-shadow: inset 0 0 0 1px rgba(170, 140, 255, 0.45);
}
.lead-ui {
  border-color: rgba(153, 158, 211, 0.33);
  background: rgba(8, 5, 27, 0.62);
}
.lead-ui strong { color: #f0eef9; }
.lead-check { border-color: #757492; }
.lead-choice input:checked + .lead-ui { border-color: #8c64ff; background: rgba(82, 51, 158, 0.36); }
.lead-choice input:checked + .lead-ui .lead-check { border-color: #7d55ff; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.optional-badge { color: #aaa4c8; }

.review-row { border-color: rgba(153, 158, 211, 0.28); background: rgba(8, 5, 27, 0.56); }
.review-row strong { color: #f3f0fb; }
.review-row span { color: #aca9c5; }
.submission-note { border-left-color: #8458ff; color: #c5c1d8; background: rgba(82, 51, 158, 0.28); }

.success-mark { border-color: rgba(188, 158, 255, 0.7); background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 15px 45px rgba(91, 69, 255, 0.3); }
.success-box { border-color: rgba(151, 156, 255, 0.25); background: rgba(33, 19, 78, 0.55); }
.success-box p { color: #bdb9d2; }
.site-footer { border-top-color: rgba(144, 150, 255, 0.18); color: #777691; }
.site-footer a { color: #b8a4ff; }

@media (max-width: 760px) {
  .site-header { min-height: 76px; }
  .brand img { width: 126px; }
  .screen { padding-block: 44px 62px; }
  .display-title { font-size: clamp(34px, 10vw, 48px); line-height: 1.08; letter-spacing: -0.035em; }
  .intro-facts::before { width: 2px; height: 33.333%; top: 0; }
  .contest-copy h1 { font-size: clamp(27px, 8vw, 40px); }
  .logo-stage { min-height: 190px; }
  .speaker-card { background: linear-gradient(115deg, #0969dd 0%, #4d3dde 52%, #782fcf 100%); }
  .jury-weight-note { grid-template-columns: 1fr 1fr; }
  .jury-weight-note span:nth-child(3) { border-left: 0; border-top: 1px solid rgba(153, 156, 255, 0.18); }
  .jury-weight-note span:nth-child(4) { border-top: 1px solid rgba(153, 156, 255, 0.18); }
  .criterion-head { gap: 10px; }
  .jury-scale-guide { align-items: center; }
  .jury-review-row { grid-template-columns: 26px 46px minmax(0, 1fr) auto; gap: 9px; padding-inline: 10px; }
  .jury-review-row img { width: 42px; height: 34px; }
  .results-mode .screen { padding-top: 34px; }
  .results-heading { grid-template-columns: 1fr; align-items: start; gap: 15px; }
  .results-status { margin: 0; justify-self: start; }
  .result-tab { min-height: 72px; padding: 12px; }
  .result-tab strong { font-size: 14px; }
  .results-winner { grid-template-columns: 58px minmax(0, 1fr) 104px; min-height: 0; }
  .winner-place { grid-column: 1; grid-row: 1 / 3; padding: 14px 10px; }
  .winner-place strong { font-size: 31px; }
  .winner-logo { grid-column: 2; grid-row: 1; min-height: 112px; padding: 18px; }
  .winner-copy { grid-column: 2 / 4; grid-row: 2; padding: 18px; border-top: 1px solid rgba(181, 188, 255, 0.22); }
  .winner-copy h2 { font-size: 28px; }
  .winner-score { grid-column: 3; grid-row: 1; padding: 16px 12px; }
  .winner-score strong { font-size: 34px; }
  .winner-score span { font-size: 8px; }
  .leaderboard-head { padding-inline: 10px; }
  .leader-row { min-height: 67px; padding-inline: 9px; grid-template-columns: 28px 46px minmax(0, 1fr) 58px; gap: 8px; }
  .leader-logo { width: 44px; height: 38px; }
  .leader-score { font-size: 19px; }
  .results-method { grid-template-columns: 28px 1fr; padding: 16px 13px; gap: 10px; }
  .method-privacy { grid-column: 2; text-align: left; }
}

@media (prefers-reduced-motion: no-preference) {
  .eyebrow::before { animation: competition-pulse 2.8s ease-in-out infinite; }
  @keyframes competition-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(172, 116, 255, 0.68); }
    50% { box-shadow: 0 0 23px rgba(101, 179, 255, 0.95); }
  }
}
