@font-face {
  font-family:Manrope;
  src:url('/static/fonts/manrope-cyrillic-400.woff2') format('woff2');
  font-weight:400;
  font-display:swap;
  unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family:Manrope;
  src:url('/static/fonts/manrope-latin-400.woff2') format('woff2');
  font-weight:400;
  font-display:swap;
}

@font-face {
  font-family:Manrope;
  src:url('/static/fonts/manrope-cyrillic-600.woff2') format('woff2');
  font-weight:600;
  font-display:swap;
  unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family:Manrope;
  src:url('/static/fonts/manrope-latin-600.woff2') format('woff2');
  font-weight:600;
  font-display:swap;
}

@font-face {
  font-family:Manrope;
  src:url('/static/fonts/manrope-cyrillic-800.woff2') format('woff2');
  font-weight:800;
  font-display:swap;
  unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family:Manrope;
  src:url('/static/fonts/manrope-latin-800.woff2') format('woff2');
  font-weight:800;
  font-display:swap;
}

:root {
  --paper:#f7f7fb;
  --white:#fff;
  --ink:#222136;
  --muted:#747487;
  --purple:#7054d8;
  --purple-dark:#5b40bb;
  --purple-wash:#f0ecff;
  --line:#e8e7ef;
  --green:#219664;
  --red:#d43d56;
  --radius:22px;
  --shadow:0 5px 24px #24213a04;
  --font:Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:24px;
}

body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font:14px/1.6 var(--font);
  -webkit-font-smoothing:antialiased;
}

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

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:default;
  opacity:.55;
}

a {
  color:inherit;
  text-decoration:none;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #b0a0f2;
  outline-offset:4px;
}

input:focus,textarea:focus,select:focus {
  border-color:#a48be8;
}

input,textarea,select {
  color:var(--ink);
}

[hidden] {
  display:none!important;
}

h1,h2,h3,p {
  margin:0;
}

svg {
  display:block;
  width:24px;
  height:24px;
  flex:none;
}

h1,h2,h3 {
  font-weight:800;
}

h2 {
  font-size:20px;
  line-height:1.35;
  letter-spacing:-.5px;
}

h3 {
  font-size:17px;
}

p {
  overflow-wrap:anywhere;
}

.muted {
  color:var(--muted);
}

.multiline {
  white-space:pre-line;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link {
  position:fixed;
  top:-70px;
  left:20px;
  z-index:20;
  padding:10px 20px;
  background:var(--white);
  border:2px solid var(--purple);
}

.skip-link:focus {
  top:10px;
}

.site-header {
  height:96px;
  max-width:1344px;
  padding:0 32px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:21px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.6px;
}

.brand-mark {
  width:44px;
  height:44px;
  background:var(--purple);
  border-radius:13px;
  display:grid;
  place-items:center;
  color:white;
  transform:rotate(-5deg);
}

.brand-mark svg {
  width:30px;
  height:30px;
}

.brand-caption {
  display:block;
  font-size:10px;
  font-weight:400;
  letter-spacing:.45px;
  margin-top:5px;
  color:var(--muted);
}

.header-nav {
  display:flex;
  align-items:center;
  gap:29px;
  font-weight:600;
  font-size:13px;
}

.text-link {
  transition:color .15s;
}

.text-link:hover {
  color:var(--purple);
}

.account-link {
  display:flex;
  align-items:center;
  gap:8px;
  max-width:190px;
}

.account-link #header-name {
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.account-dot {
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--purple);
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid transparent;
  border-radius:12px;
  min-height:46px;
  padding:11px 19px;
  font-size:13px;
  font-weight:800;
  line-height:1.5;
  text-align:center;
  transition:background .15s,transform .15s;
  white-space:normal;
}

.button:not(:disabled):active {
  transform:translateY(1px);
}

.button-purple {
  background:var(--purple);
  color:white;
}

.button-purple:hover:not(:disabled) {
  background:var(--purple-dark);
}

.button-white {
  background:white;
  border-color:var(--line);
}

.button-white:hover:not(:disabled) {
  background:#f5f3fb;
}

.button-small {
  min-height:38px;
  padding:8px 16px;
  font-size:12px;
  border-radius:10px;
}

.button-full {
  width:100%;
}

.button-danger {
  background:var(--red);
  color:white;
}

.page-shell {
  max-width:1344px;
  margin:auto;
  padding:38px 32px 0;
}

.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:27px;
}

.eyebrow {
  text-transform:uppercase;
  font-size:10px;
  font-weight:800;
  letter-spacing:1.5px;
  color:var(--purple);
}

.sparkle {
  font-size:18px;
  vertical-align:middle;
  line-height:1;
  margin-right:5px;
}

.page-heading h1 {
  font-size:clamp(26px,2.6vw,36px);
  letter-spacing:-1.35px;
  line-height:1.25;
  margin:10px 0 11px;
}

.event-subtitle {
  color:var(--muted);
  font-size:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.subtitle-dot {
  color:#c8c7d3;
}

.event-badge {
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  padding:8px 13px;
  background:white;
  border:1px solid var(--line);
  border-radius:100px;
  font-size:11px;
  font-weight:800;
  color:var(--muted);
}

.event-indicators {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}

.online-badge {
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  white-space:nowrap;
}

.status-dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#b3aec6;
}

.event-badge[data-status=live] {
  color:var(--red);
  background:#fff2f4;
  border-color:#ffe2e8;
}

.event-badge[data-status=live] .status-dot {
  background:var(--red);
  box-shadow:0 0 0 4px #d43d5612;
}

.event-badge[data-status=waiting] {
  color:var(--purple);
  background:var(--purple-wash);
  border-color:#e7e0fa;
}

.event-badge[data-status=waiting] .status-dot {
  background:var(--purple);
}

.broadcast-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
  align-items:start;
}

.broadcast-column {
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.player-card {
  overflow:hidden;
  background:#181623;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.player-stage {
  aspect-ratio:16/9;
  position:relative;
  overflow:hidden;
  background:#191725;
}

.player-art {
  position:absolute;
  inset:0;
  overflow:hidden;
  background:radial-gradient(ellipse at 80% 80%,#5a3ea43d,transparent 55%),radial-gradient(ellipse at 10% 10%,#4b3e7226,transparent 60%);
}

.orbit {
  position:absolute;
  border:1px solid #bda5fc12;
  border-radius:50%;
  width:80%;
  aspect-ratio:1;
  right:-25%;
  top:-55%;
  transform:rotate(-20deg);
}

.orbit-two {
  width:100%;
  right:-35%;
  top:-75%;
}

.orbit-three {
  width:120%;
  right:-45%;
  top:-95%;
}

.art-star {
  position:absolute;
  color:#9c7cde;
  opacity:.6;
}

.art-star-one {
  font-size:58px;
  left:9%;
  bottom:17%;
  transform:rotate(15deg);
}

.art-star-two {
  font-size:42px;
  right:12%;
  top:24%;
  transform:rotate(-10deg);
}

.player-placeholder {
  position:relative;
  z-index:1;
  min-height:100%;
  padding:28px 40px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:white;
}

.player-label {
  font-size:8px;
  letter-spacing:2px;
  font-weight:800;
  color:#c6bedc;
  margin-bottom:15px;
}

.player-symbol {
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#b69bff12;
  border:1px solid #b69bff26;
  margin-bottom:13px;
  color:#bdabef;
}

.player-symbol svg {
  width:32px;
  height:32px;
  margin-left:2px;
}

.player-placeholder h2 {
  font-size:27px;
  letter-spacing:-.8px;
  margin-bottom:9px;
}

.player-placeholder p {
  font-size:11px;
  color:#b7afc9;
  max-width:340px;
  line-height:1.75;
}

.countdown {
  font-variant-numeric:tabular-nums;
  letter-spacing:3px;
  font-size:22px;
  font-weight:600;
  margin-top:13px;
  color:#ded4fa;
}

.button-play {
  background:#fff;
  color:#30263e;
  margin-top:20px;
  min-height:42px;
  font-size:12px;
  padding:10px 21px;
}

.button-play svg {
  width:14px;
  height:14px;
}

.button-play:disabled {
  background:#ffffff1b;
  color:#c5bfd1;
  border-color:#ffffff12;
  opacity:1;
}

.button-play:hover:not(:disabled) {
  background:#eae1ff;
}

.player-stage iframe {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:#111;
  z-index:2;
}

.player-footer {
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 20px;
  color:#a9a3b7;
  font-size:10px;
  border-top:1px solid #ffffff06;
}

.player-footer>span {
  display:flex;
  align-items:center;
  gap:8px;
}

.vk-mark {
  background:#ffffff13;
  color:#e7e2f1;
  font-weight:800;
  font-size:9px;
  letter-spacing:-.3px;
  border-radius:5px;
  line-height:18px;
  width:22px;
  text-align:center;
}

.player-footer a {
  color:#e1dbea;
}



.announcement {
  display:flex;
  align-items:center;
  gap:13px;
  background:#f0ebfc;
  border:1px solid #e5dcf8;
  padding:14px 18px;
  border-radius:14px;
  font-size:12px;
  color:#5e478f;
  white-space:pre-line;
}

.announcement-icon {
  font-size:22px;
  line-height:1;
}

.results-banner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border:1px solid #d6caef;
  background:#efe9fa;
  border-radius:var(--radius);
  padding:22px 26px;
}

.results-banner .eyebrow {
  display:block;
  margin-bottom:4px;
}

.results-banner strong {
  font-size:21px;
  font-weight:800;
}

.round-arrow {
  border:1px solid #c7b6e9;
  border-radius:50%;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  font-size:22px;
  color:var(--purple);
}

.content-card {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:27px;
  box-shadow:var(--shadow);
}

.section-heading {
  display:flex;
  align-items:center;
  gap:14px;
}

.section-heading h2 {
  font-size:18px;
}

.section-heading p {
  font-size:11px;
  color:var(--muted);
  margin-top:4px;
}

.section-icon {
  color:var(--purple);
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:none;
}

.section-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:20px;
}

.section-title .eyebrow {
  display:block;
  margin-bottom:6px;
  font-size:9px;
}

.section-decoration {
  font-size:32px;
  color:#c8b5f0;
  line-height:1;
}

.prize-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}

.prize-item {
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:12px;
  align-items:center;
  position:relative;
  padding:17px 14px;
  background:#faf9fd;
  border:1px solid #f0edf6;
  border-radius:13px;
}

.prize-symbol {
  width:40px;
  height:46px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:24px;
  background:#eee8fa;
  color:#8e73ca;
}

.prize-item h3 {
  font-size:12px;
  line-height:1.6;
  font-weight:800;
  letter-spacing:-.15px;
}

.prize-item p {
  font-size:10px;
  color:var(--muted);
  margin-top:3px;
}

.prize-item:first-child {
  grid-column:1/-1;
  background:linear-gradient(110deg,#f3effc,#fcfbff);
  padding-top:21px;
  padding-bottom:21px;
}

.prize-item:first-child h3 {
  font-size:16px;
}

.prize-item:first-child .prize-symbol {
  background:#e8dff8;
}

.rules-card #rules-text {
  font-size:12px;
  line-height:1.95;
  color:#626172;
}

.rules-note {
  margin-top:20px;
  padding-top:17px;
  border-top:1px solid var(--line);
  font-size:10px;
  line-height:1.9;
  color:#8a8798;
}

.chat-card {
  position:sticky;
  top:18px;
  display:flex;
  flex-direction:column;
  max-height:calc(100dvh - 36px);
  min-height:630px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.chat-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:23px 22px 19px;
  border-bottom:1px solid var(--line);
  gap:10px;
}

.chat-heading h2 {
  font-size:17px;
}

.chat-heading p {
  font-size:10px;
  color:var(--muted);
  margin-top:4px;
}

.chat-icon {
  color:#b4a7cd;
}

.chat-scroll {
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:21px 18px;
  min-height:200px;
  height:370px;
  flex:1;
  scrollbar-width:thin;
  scrollbar-color:#ded8ec transparent;
}

.chat-empty {
  height:100%;
  min-height:210px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.chat-empty>span {
  color:#c6b3ea;
  font-size:35px;
  margin-bottom:12px;
}

.chat-empty strong {
  font-size:12px;
}

.chat-empty p {
  font-size:11px;
  line-height:1.8;
  color:#9792a5;
  margin-top:7px;
}

.messages {
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.message {
  display:grid;
  grid-template-columns:29px minmax(0,1fr);
  column-gap:9px;
  position:relative;
}

.message-avatar {
  width:29px;
  height:29px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#f0ebf8;
  color:#8c6bb5;
  font-size:11px;
  font-weight:800;
  margin-top:2px;
}

.message[data-role=host] .message-avatar,.message[data-role=moderator] .message-avatar {
  background:var(--purple);
  color:#fff;
}

.message-header {
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  flex-wrap:wrap;
}

.message-name {
  font-size:10px;
  font-weight:800;
  max-width:100%;
  overflow-wrap:anywhere;
}

.message-time {
  font-size:8px;
  color:#a3a0af;
  margin-left:auto;
}

.role-badge {
  display:inline-flex;
  align-items:center;
  font-size:10px;
  line-height:1.5;
  font-weight:800;
  background:var(--purple);
  color:#fff;
  border-radius:6px;
  padding:2px 7px;
  white-space:nowrap;
}

.message[data-role=host] .message-name,.message[data-role=moderator] .message-name {
  color:#5839aa;
}

#chat-sender-role {
  width:fit-content;
  margin:0 0 8px;
}

#pinned-role {
  margin-left:6px;
}

.message-text {
  font-size:11px;
  line-height:1.8;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  color:#5a576a;
  margin-top:2px;
}

.message-tools {
  grid-column:2;
  font-size:10px;
  margin-top:4px;
}

.message-tools summary {
  display:inline-block;
  color:var(--purple);
  cursor:pointer;
  list-style:none;
}

.message-tools summary::-webkit-details-marker {
  display:none;
}

.message-tools-body {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-top:7px;
}

.message-tools button {
  border:1px solid #e6def3;
  padding:4px 7px;
  background:#faf8fe;
  border-radius:5px;
  font-size:9px;
  color:#695780;
}

.message-tools button:hover {
  background:#eee7f8;
}

.chat-composer {
  padding:18px 20px 14px;
  border-top:1px solid var(--line);
  background:#fff;
}

.chat-composer #guest-chat {
  text-align:center;
}

.chat-composer #guest-chat>p {
  font-size:11px;
  color:#696576;
  margin-bottom:11px;
}

.chat-composer #guest-chat>span {
  font-size:9px;
  color:#9993a6;
  display:block;
  margin-top:9px;
}

.chat-etiquette {
  font-size:8px;
  text-align:center;
  color:#a29ba9;
  margin-top:12px;
}

.name-field {
  display:flex;
  align-items:center;
  font-size:9px;
  color:#8c8599;
  gap:10px;
  margin-bottom:9px;
}

.name-field input {
  font-size:11px;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  padding:4px 0;
  width:0;
  min-width:0;
  flex:1;
  color:#595164;
  font-weight:600;
  border-radius:0;
}

.chat-composer textarea {
  display:block;
  width:100%;
  resize:vertical;
  min-height:64px;
  max-height:180px;
  padding:10px 12px;
  border:1px solid #e8e2f1;
  border-radius:11px;
  background:#fcfbfe;
  font-size:11px;
  line-height:1.7;
}

.chat-composer textarea::placeholder {
  color:#aaa1b8;
}

.composer-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:10px;
}

.composer-bottom>span {
  font-size:9px;
}

.button-send {
  min-height:34px;
  font-size:10px;
  padding:7px 11px;
  border-radius:9px;
  gap:5px;
}

.button-send svg {
  width:15px;
  height:15px;
}

.chat-restriction {
  font-size:11px;
  background:#f8f3e8;
  padding:10px;
  border-radius:8px;
  color:#8c682f;
  margin-top:10px;
}

.connection-status {
  padding:8px 16px;
  background:#fff7e5;
  color:#8b6e3d;
  font-size:10px;
  border-bottom:1px solid #f5e9cb;
}

.pinned-message {
  padding:11px 20px;
  background:#f6f2fd;
  border-bottom:1px solid #e9e1f7;
}

.pin-label {
  display:block;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:7px;
  font-weight:800;
  color:#967abd;
  margin-bottom:3px;
}

.pinned-message strong {
  font-size:10px;
}

.pinned-message p {
  font-size:10px;
  line-height:1.7;
  white-space:pre-wrap;
  max-height:84px;
  overflow-y:auto;
  color:#77648f;
}

.new-messages {
  align-self:center;
  background:var(--purple-wash);
  color:var(--purple);
  border:1px solid #e6def6;
  border-radius:100px;
  padding:6px 13px;
  font-size:10px;
  font-weight:800;
  margin:0 10px 10px;
}

.form-error {
  font-size:11px;
  color:#b22c47;
  margin-top:10px;
  white-space:pre-line;
}

.form-feedback {
  font-size:12px;
  color:var(--green);
  margin-top:12px;
}

.form-feedback.is-error {
  color:#b22c47;
}

.staff-panel {
  margin-top:28px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
}

.staff-panel>summary {
  font-size:14px;
  font-weight:800;
  padding:20px 26px;
  cursor:pointer;
}

.staff-panel>summary>span {
  font-size:10px;
  background:var(--purple-wash);
  color:var(--purple);
  padding:4px 8px;
  border-radius:6px;
  margin-left:8px;
}

.staff-panel-content {
  padding:0 26px 26px;
}

.staff-intro {
  font-size:12px;
  color:var(--muted);
  margin-bottom:20px;
}

.staff-links {
  display:flex;
  gap:20px;
  align-items:center;
  margin-bottom:24px;
  font-size:12px;
  flex-wrap:wrap;
}

.settings-form {
  max-width:720px;
}

.audience-section {
  margin:24px 0;
  padding:18px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

#audience-summary {
  margin:12px 0;
  font-size:13px;
  line-height:1.7;
}

.settings-form>h3 {
  margin-bottom:15px;
}

.settings-form label {
  display:grid;
  gap:6px;
  margin-bottom:14px;
  font-size:12px;
  font-weight:600;
}

.settings-form input:not([type=checkbox]),.settings-form select,.settings-form textarea {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:44px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:white;
  font:inherit;
  font-size:16px;
}

.settings-form .checkbox-label {
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
}

.settings-form .checkbox-label input {
  width:18px;
  height:18px;
  min-height:18px;
  flex:0 0 18px;
  margin:0;
  padding:0;
  accent-color:var(--purple);
}

.settings-form label,.settings-form input,.settings-form textarea,.settings-form select,.settings-form textarea {
  resize:vertical;
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.field-hint {
  font-size:10px;
  font-weight:400;
  color:var(--muted);
}

.form-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.notice {
  font-size:12px;
  line-height:1.7;
  padding:12px 16px;
  background:#fff5dd;
  border:1px solid #eee2c2;
  border-radius:10px;
  color:#83693d;
  margin:14px 0;
}

.notice a {
  text-decoration:underline;
}

.staff-list {
  list-style:none;
  padding:0;
  margin:14px 0;
}

.staff-list li {
  padding:10px 0;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:12px;
  border-bottom:1px solid #f2eff7;
  max-width:720px;
  flex-wrap:wrap;
}

.staff-list .staff-label {
  flex:1;
  overflow-wrap:anywhere;
}

.staff-list .staff-id {
  font-size:10px;
  color:var(--muted);
}

.audit-section {
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid var(--line);
}

.audit-list {
  list-style:none;
  padding:0;
  margin:0;
  max-height:360px;
  overflow:auto;
}

.audit-list li {
  border-bottom:1px solid #f1eef6;
  padding:11px 0;
  font-size:11px;
  line-height:1.7;
}

.audit-list time {
  font-size:9px;
  color:var(--muted);
  display:block;
}

.audit-list .audit-details {
  font-size:10px;
  color:var(--muted);
  white-space:pre-wrap;
}

.audit-actions {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}

.list-more {
  margin-top:12px;
}

.site-footer {
  max-width:1280px;
  margin:44px auto 0;
  padding:25px 0 35px;
  display:flex;
  gap:20px;
  align-items:center;
  border-top:1px solid var(--line);
  font-size:10px;
  color:#8e8a9e;
}

.site-footer>span {
  font-size:13px;
  font-weight:800;
  color:#696176;
}

.site-footer p {
  flex:1;
}

.site-footer a {
  color:var(--purple);
}

dialog {
  border:1px solid var(--line);
  border-radius:20px;
  padding:28px;
  max-width:420px;
  width:calc(100% - 32px);
  color:var(--ink);
  box-shadow:0 20px 100px #24203630;
}

dialog::backdrop {
  background:#16102170;
  backdrop-filter:blur(3px);
}

dialog h2 {
  font-size:20px;
}

dialog p {
  font-size:13px;
  line-height:1.8;
  margin:12px 0 24px;
  color:var(--muted);
}

@media(min-width:1500px) {
  .site-header,.page-shell {
    max-width:1384px;
  }
  .site-footer {
    max-width:1320px;
  }
  .broadcast-layout {
    grid-template-columns:minmax(0,1fr) 370px;
  }
  .player-placeholder h2 {
    font-size:30px;
  }
  .player-placeholder p {
    font-size:12px;
  }
}

@media(max-width:1100px) {
  .broadcast-layout {
    grid-template-columns:minmax(0,1fr) 320px;
    gap:18px;
  }
  .site-header {
    padding:0 24px;
  }
  .page-shell {
    padding:30px 24px 0;
  }
  .site-footer {
    margin-left:24px;
    margin-right:24px;
  }
  .content-card {
    padding:22px;
  }
  .player-placeholder {
    padding:22px;
  }
  .player-symbol {
    width:42px;
    height:42px;
    margin-bottom:9px;
  }
  .player-label {
    margin-bottom:10px;
    font-size:7px;
  }
  .player-placeholder h2 {
    font-size:23px;
  }
  .player-placeholder p {
    font-size:10px;
    max-width:270px;
  }
  .button-play {
    margin-top:14px;
    min-height:38px;
    padding:8px 16px;
  }
  .countdown {
    font-size:18px;
    margin-top:9px;
  }
  .prize-item {
    grid-template-columns:30px minmax(0,1fr);
    padding:13px 10px;
    gap:9px;
  }
  .prize-symbol {
    width:30px;
    height:38px;
    font-size:21px;
  }
  .prize-item:first-child h3 {
    font-size:14px;
  }
  .chat-card {
    min-height:600px;
  }
  .chat-heading {
    padding:20px 17px;
  }
  .chat-composer {
    padding:16px;
  }
  .chat-scroll {
    padding:17px 14px;
  }
}

@media(max-width:850px) {
  .broadcast-layout {
    grid-template-columns:minmax(0,1fr);
  }
  .chat-card {
    position:relative;
    top:auto;
    max-height:none;
    min-height:0;
    height:auto;
    grid-row:2;
  }
  .chat-scroll {
    height:330px;
    flex:none;
    min-height:0;
  }
  .page-heading {
    gap:15px;
  }
  .page-heading h1 {
    font-size:30px;
  }
  .event-subtitle {
    font-size:11px;
  }
  .player-placeholder {
    padding:28px;
  }
  .player-label {
    font-size:9px;
    margin-bottom:18px;
  }
  .player-symbol {
    width:56px;
    height:56px;
    margin-bottom:15px;
  }
  .player-placeholder h2 {
    font-size:28px;
  }
  .player-placeholder p {
    font-size:12px;
    max-width:340px;
  }
  .button-play {
    margin-top:20px;
    min-height:44px;
  }
  .countdown {
    font-size:24px;
    margin-top:14px;
  }
  .broadcast-column {
    display:contents;
  }
  .player-card {
    grid-column:1;
    grid-row:1;
  }
  .announcement {
    grid-row:2;
  }
  .broadcast-layout:has(.announcement:not([hidden])) .chat-card {
    grid-row:3;
  }
  .results-banner,.chat-composer {
    padding:18px 22px;
  }
  .chat-composer #guest-chat {
    max-width:360px;
    margin:auto;
  }
  .chat-heading {
    padding:20px 22px;
  }
  .chat-heading p {
    font-size:11px;
  }
  .chat-scroll {
    padding:20px 22px;
  }
  .message-text {
    font-size:12px;
  }
  .message-name {
    font-size:11px;
  }
  .message-time {
    font-size:9px;
  }
  .message-avatar {
    width:31px;
    height:31px;
  }
  .message {
    grid-template-columns:31px minmax(0,1fr);
    gap:10px;
  }
  .message-tools {
    margin-top:0;
  }
  .message-tools button {
    font-size:11px;
    padding:5px 8px;
  }
  .chat-composer textarea {
    font-size:13px;
  }
  .name-field {
    font-size:11px;
  }
  .name-field input {
    font-size:12px;
  }
  .composer-bottom>span {
    font-size:10px;
  }
  .button-send {
    font-size:12px;
    min-height:38px;
  }
  .prize-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .prize-item:first-child {
    grid-column:auto;
  }
  .prize-item {
    grid-template-columns:1fr;
    align-items:start;
    padding:16px;
  }
  .prize-item:first-child {
    padding:16px;
  }
  .prize-item:first-child h3 {
    font-size:12px;
  }
  .prize-symbol {
    width:40px;
    height:45px;
  }
  .site-footer {
    flex-wrap:wrap;
  }
}

@media(max-width:560px) {
  .site-header {
    height:78px;
    padding:0 18px;
  }
  .brand {
    font-size:18px;
    gap:10px;
  }
  .brand-mark {
    width:37px;
    height:37px;
    border-radius:11px;
  }
  .brand-mark svg {
    width:26px;
    height:26px;
  }
  .brand-caption {
    font-size:8px;
    letter-spacing:.25px;
  }
  .header-nav {
    gap:12px;
  }
  .header-nav>.text-link {
    display:none;
  }
  .header-nav .button {
    min-height:34px;
    font-size:11px;
    padding:7px 12px;
  }
  .account-link {
    max-width:110px;
    font-size:11px;
  }
  .page-shell {
    padding:24px 16px 0;
  }
  .page-heading {
    display:block;
    position:relative;
    margin-bottom:20px;
  }
  .page-heading .eyebrow {
    font-size:8px;
    letter-spacing:1.1px;
    padding-right:60px;
  }
  .page-heading h1 {
    font-size:27px;
    letter-spacing:-1px;
    margin-top:10px;
    max-width:320px;
  }
  .event-subtitle {
    font-size:10px;
    gap:7px;
  }
  .event-subtitle>span:last-child {
    display:none;
  }
  .subtitle-dot {
    display:none;
  }
  .event-badge {
    position:relative;
    display:inline-flex;
    margin-top:12px;
    font-size:9px;
    padding:5px 10px;
  }
  .status-dot {
    width:5px;
    height:5px;
  }
  .broadcast-layout {
    gap:16px;
  }
  .player-card {
    border-radius:17px;
  }
  .player-stage {
    aspect-ratio:auto;
    min-height:270px;
  }
  .player-stage.is-playing {
    aspect-ratio:16/9;
    min-height:0;
  }
  .player-placeholder {
    padding:25px 20px;
    min-height:270px;
  }
  .player-label {
    font-size:7px;
    letter-spacing:1.5px;
    margin-bottom:13px;
  }
  .player-symbol {
    width:42px;
    height:42px;
    margin-bottom:12px;
  }
  .player-symbol svg {
    width:26px;
    height:26px;
  }
  .player-placeholder h2 {
    font-size:24px;
    margin-bottom:8px;
  }
  .player-placeholder p {
    font-size:10px;
    max-width:265px;
  }
  .countdown {
    font-size:20px;
    margin-top:12px;
  }
  .button-play {
    min-height:39px;
    padding:8px 18px;
    font-size:11px;
    margin-top:16px;
  }
  .player-footer {
    font-size:9px;
    padding:11px 14px;
    min-height:43px;
  }
  .art-star-one {
    left:7%;
    font-size:36px;
    bottom:18%;
  }
  .art-star-two {
    font-size:31px;
    right:8%;
    top:20%;
  }
  .content-card {
    padding:21px 19px;
    border-radius:17px;
  }
  .section-heading {
    gap:11px;
  }
  .section-heading h2 {
    font-size:16px;
  }
  .section-heading p {
    font-size:10px;
  }
  .section-icon {
    width:33px;
    height:33px;
  }
  .section-title {
    margin-bottom:17px;
  }
  .section-title h2 {
    font-size:18px;
  }
  .prize-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .prize-item {
    padding:13px;
    gap:10px;
  }
  .prize-item:first-child {
    grid-column:1/-1;
    grid-template-columns:40px minmax(0,1fr);
    align-items:center;
    padding:17px 14px;
  }
  .prize-item:first-child h3 {
    font-size:14px;
  }
  .prize-item h3 {
    font-size:11px;
  }
  .prize-item p {
    font-size:9px;
  }
  .rules-card #rules-text {
    font-size:11px;
  }
  .rules-note {
    font-size:9px;
  }
  .chat-card {
    border-radius:17px;
  }
  .chat-heading {
    padding:18px;
  }
  .chat-scroll {
    padding:18px;
    height:300px;
  }
  .chat-composer {
    padding:17px 18px;
  }
  .chat-composer #guest-chat>p {
    font-size:10px;
  }
  .chat-etiquette {
    font-size:8px;
  }
  .chat-heading h2 {
    font-size:16px;
  }
  .chat-heading p {
    font-size:9px;
  }
  .announcement {
    font-size:11px;
    padding:12px 15px;
  }
  .results-banner {
    padding:20px;
  }
  .results-banner strong {
    font-size:18px;
  }
  .results-banner .eyebrow {
    font-size:8px;
  }
  .staff-panel>summary {
    padding:17px;
    font-size:12px;
  }
  .staff-panel-content {
    padding:0 17px 20px;
  }
  .staff-panel>summary>span {
    font-size:8px;
    margin-left:4px;
  }
  .form-grid {
    grid-template-columns:1fr;
    gap:0;
  }
  .staff-links {
    gap:12px;
  }
  .staff-list li {
    gap:6px;
  }
  .site-footer {
    margin:30px 18px 0;
    padding:22px 0 28px;
    gap:9px;
    font-size:9px;
  }
  .site-footer>span {
    font-size:12px;
  }
  .site-footer p {
    flex:0 0 100%;
    order:3;
  }
  .site-footer a {
    margin-left:auto;
  }
  .button {
    font-size:12px;
  }
  .form-actions .button {
    flex:1;
  }
  .staff-intro {
    font-size:11px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}

.inline-button {
  padding:0;
  border:0;
  background:transparent;
  color:var(--purple);
  font:inherit;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px;
}

.name-field {
  justify-content:space-between;
  gap:10px;
}

.name-field>span {
  min-width:0;
  overflow-wrap:anywhere;
}

.name-field .inline-button {
  font-size:9px;
  white-space:nowrap;
}

.name-field strong {
  color:#625172;
  font-weight:800;
}

#join-dialog #join-name {
  display:block;
  width:100%;
  border:1px solid #e8e2f1;
  border-radius:10px;
  padding:11px 12px;
  font-size:16px;
  margin-bottom:9px;
  background:#fcfbfe;
  min-height:42px;
}

.restrictions-section {
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid var(--line);
}

.restrictions-section .staff-list {
  max-height:360px;
  overflow:auto;
}

#staff-logout {
  margin-bottom:20px;
}

#staff-login-dialog input {
  width:100%;
  border:1px solid var(--line);
  padding:12px;
  border-radius:10px;
  font-size:16px;
  margin-bottom:20px;
}

#staff-login-dialog .form-error {
  margin:0 0 18px;
  color:#b22c47;
  font-size:12px;
}

#staff-login-open {
  color:#8e8a9e;
  font-size:9px;
}

@media(max-width:560px) {
  #join-dialog #join-name {
    font-size:16px;
  }
  .name-field .inline-button {
    font-size:10px;
  }
  .site-footer #staff-login-open {
    order:4;
    width:100%;
    text-align:left;
    margin-top:5px;
  }
  .restrictions-section .section-title {
    align-items:flex-start;
  }
  .restrictions-section h3 {
    font-size:15px;
  }
}

/* A single, visible play control: no decorative non-clickable play icon. */
#play-button {
  min-width:150px;
  min-height:58px;
  padding:14px 30px;
  font-size:20px;
  gap:12px;
  box-shadow:0 4px 24px #0003;
}
#play-button svg { width:24px; height:24px; }
#play-button:focus-visible { outline:3px solid #c9b5ff; outline-offset:5px; }

.sound-hint {
  margin:0;
  padding:0 20px 12px;
  font-size:12px;
  line-height:1.5;
  color:#b7afc9;
}

#join-dialog h2 { font-size:26px; }
#join-dialog label { display:block; font-size:14px; font-weight:700; margin-bottom:8px; }
#join-dialog #join-name { min-height:50px; }
#join-dialog .form-actions { margin-top:20px; }
#join-dialog .form-error { margin:10px 0 0; color:var(--red); }
#join-open { min-height:48px; font-size:14px; }
