.admin-body {
  background: #0b0e15;
}
.login-screen {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-art {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, #252c2060, transparent 60%), #10160f;
  border-right: 1px solid #d5ff7022;
}
.art-label {
  position: absolute;
  top: 8%;
  left: 10%;
  color: #d5ff70a0;
  font-size: 14px;
  letter-spacing: 0.2em;
  line-height: 1.7;
}
.art-word {
  position: absolute;
  top: 27%;
  left: 10%;
  font-family: Archivo, sans-serif;
  letter-spacing: -0.055em;
  line-height: 0.88;
  font-size: clamp(100px, 12vw, 210px);
  color: var(--lime);
}
.art-word span {
  -webkit-text-stroke: 1px var(--lime);
  color: transparent;
}
.art-word i {
  font-style: normal;
  font-family: Arial;
  font-size: 0.55em;
  position: absolute;
  right: -0.7em;
  top: 0.4em;
}
.art-foot {
  position: absolute;
  bottom: 7%;
  left: 10%;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #d5ff7090;
}
.orbit {
  position: absolute;
  width: 105%;
  height: 50%;
  border: 1px solid #d5ff7025;
  border-radius: 50%;
  transform: rotate(-32deg);
  left: 0;
  top: 42%;
}
.orbit-b {
  width: 135%;
  height: 63%;
  left: -23%;
  top: 34%;
}
.orbit-c {
  width: 163%;
  height: 77%;
  left: -40%;
  top: 27%;
}
.orbit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--lime);
  border-radius: 50%;
  right: 15%;
  bottom: 24%;
  box-shadow: 0 0 40px #d5ff7060;
}
.login-content {
  max-width: 580px;
  padding: 64px 64px 40px;
  align-self: center;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: Plex, sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand img {
  width: 38px;
  height: 42px;
  object-fit: contain;
}
.brand small {
  font-family: inherit;
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.14em;
  margin-top: 5px;
}
.login-content .brand {
  margin-bottom: 78px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.19em;
  color: var(--lime);
  margin-bottom: 14px;
}
.login-content h1 {
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.5;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  font-weight: 600;
}
.login-content h1 span {
  color: #a3a9b4;
}
.login-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 32px;
}
.login-content form .button {
  width: 100%;
  justify-content: space-between;
  padding: 15px 18px;
  margin-bottom: 12px;
}
.login-content > .hint {
  font-size: 11px;
}
.error-message {
  font-size: 12px;
  color: var(--danger);
  min-height: 18px;
  line-height: 1.6;
  margin: 7px 0;
}
.login-stage {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 25px;
  color: #b0b6c3;
}
.app {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 224px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #10131a;
  border-right: 1px solid var(--line);
  padding: 36px 22px 24px;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  font-size: 21px;
  gap: 10px;
}
.sidebar .brand img {
  width: 32px;
}
.sidebar .brand small {
  font-size: 9px;
}
.nav-caption {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #626b7c;
  margin: 58px 14px 14px;
}
.sidebar nav {
  display: grid;
  gap: 8px;
}
.nav-item {
  display: flex;
  gap: 13px;
  align-items: center;
  width: 100%;
  background: none;
  border: 0;
  padding: 14px 13px;
  border-radius: 10px;
  color: #949cac;
  text-align: left;
  font-size: 13px;
}
.nav-item:hover {
  background: #ffffff06;
}
.nav-item.active {
  background: #d5ff7010;
  color: var(--lime);
}
.nav-icon {
  font-size: 20px;
  line-height: 1;
  width: 20px;
  text-align: center;
}
.nav-index {
  font-size: 10px;
  margin-left: auto;
  opacity: 0.5;
}
.pending-badge {
  margin-left: auto;
  background: var(--lime);
  color: #19200f;
  font-size: 10px;
  border-radius: 5px;
  padding: 2px 5px;
  font-weight: 700;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 32px 13px 0;
}
.room-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 19px;
}
.room-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px #d5ff7040;
}
.room-label.rehearsal {
  color: var(--violet);
}
.room-label.rehearsal i {
  background: var(--violet);
}
.sidebar-bottom > .hint {
  font-size: 11px;
  line-height: 1.9;
  color: #727c8e;
}
.text-button {
  padding: 0;
  color: #c7cdd8;
  border: 0;
  background: none;
  font-size: 12px;
  line-height: 1.8;
  cursor: pointer;
}
.text-button:hover {
  color: var(--lime);
}
.sidebar-footer {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #565f71;
  margin-top: 30px;
}
.main {
  margin-left: 224px;
  width: calc(100% - 224px);
  padding: 0 40px;
}
.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.breadcrumbs {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #9fa6b5;
  display: flex;
  gap: 16px;
}
.breadcrumbs > span:first-child {
  color: #4c5463;
}
.breadcrumbs > span:last-child {
  color: #626b7a;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-actions .pill {
  font-size: 10px;
  color: var(--muted);
  border: 0;
}
.top-actions .button {
  font-size: 11px;
}
.tab-panel {
  max-width: 1600px;
  margin: 0 auto;
  animation: panel-in 0.25s ease;
}
.page-heading {
  padding: 36px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.page-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 12px;
}
.page-heading h1 {
  font-size: clamp(24px, 2.3vw, 35px);
  letter-spacing: -0.04em;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 13px;
}
.page-heading p:last-child {
  color: #8f98a8;
  font-size: 12px;
  margin: 0;
}
.accent {
  color: var(--lime);
}
.edition-tag {
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: #8a93a2;
  text-align: right;
}
.edition-tag b {
  display: block;
  font-weight: 400;
  font-size: 34px;
  letter-spacing: -0.03em;
  color: #eef2e8;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 19px;
}
.section-label > .mono {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #788293;
}
.stage-preview {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  border: 1px solid #ffffff18;
  border-radius: 16px;
  overflow: hidden;
  background: #080b13;
  box-shadow: 0 18px 70px #0002;
}
.stage-preview iframe {
  border: 0;
  position: absolute;
  inset: 0;
  width: 1280px;
  height: 720px;
  transform-origin: top left;
  pointer-events: none;
}
.preview-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #242930aa;
  color: #f5f2eb;
  border: 1px solid #ffffff20;
  backdrop-filter: blur(10px);
}
.mode-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 13px;
}
.mode-strip button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  background: #11151e;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 8px;
  color: #939eaf;
}
.mode-strip button span {
  font-family: Plex;
  font-size: 10px;
  color: #5f6b7f;
}
.mode-strip button.active {
  border-color: #d5ff7048;
  color: var(--lime);
  background: #d5ff7009;
}
.mode-strip button.active span {
  color: #d5ff7060;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.stat-grid > div {
  display: flex;
  flex-direction: column;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.stat-grid > div:first-child {
  border: 0;
  padding: 0;
}
.stat-grid span {
  font-size: 11px;
  color: #9ca5b5;
}
.stat-grid b {
  font-weight: 400;
  font-size: 43px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.stat-grid small {
  font-family: Plex;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #626c7e;
}
.panel {
  background: #11151e;
  border: 1px solid #ffffff13;
  border-radius: 15px;
  padding: 24px;
}
.panel h2 {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}
.right-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.next-draw {
  background:
    radial-gradient(ellipse at top right, #d5ff7013, transparent 70%), #141a18;
  padding-top: 20px;
}
.next-draw .section-label {
  color: #d5ff70a0;
  font-size: 11px;
  margin-bottom: 23px;
}
.spark {
  font-size: 26px;
  color: var(--lime);
  line-height: 1;
}
.draw-prize-type {
  font-size: 9px;
  letter-spacing: 0.13em;
  color: #727d6b;
  margin-bottom: 9px;
}
.next-draw h2 {
  margin-bottom: 8px;
  color: #edf7dc;
}
.next-draw > .hint {
  min-height: 34px;
  font-size: 11px;
}
.draw-nums {
  display: flex;
  gap: 40px;
  margin: 22px 0;
}
.draw-nums > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.draw-nums b {
  font-size: 32px;
  font-weight: 400;
  color: var(--lime);
}
.draw-nums span {
  font-size: 10px;
  color: #9ca792;
}
.full {
  width: 100%;
  justify-content: space-between;
}
.join-panel {
  padding: 20px;
}
.join-panel .section-label {
  font-size: 11px;
}
.join-card {
  display: flex;
  gap: 17px;
  align-items: center;
  margin: 0 0 15px;
}
.join-card img {
  width: 92px;
  height: 92px;
  padding: 6px;
  background: white;
  border-radius: 8px;
}
.join-card strong {
  font-size: 12px;
  font-weight: 500;
}
.join-card .hint {
  font-size: 10px;
  line-height: 1.7;
  margin: 8px 0 0;
}
.join-panel .text-button {
  font-size: 10px;
  color: #a0abba;
}
.mini-note {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 5px;
  color: #6f7a8d;
}
.mini-note > span {
  font-size: 24px;
}
.mini-note p {
  font-size: 10px;
  line-height: 1.7;
  margin: 0;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 21px 0;
  margin-top: 40px;
  color: #586274;
  font-size: 10px;
}
.app-footer .mono {
  font-size: 9px;
  letter-spacing: 0.16em;
}
.rehearsal-banner {
  margin: 18px 0 -10px;
  padding: 12px 17px;
  border: 1px solid #ad8cff45;
  border-radius: 10px;
  background: #ad8cff12;
  color: #cdbbfb;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  line-height: 1.8;
}
.rehearsal-banner .text-button {
  margin-left: auto;
  color: #cdbbfb;
}
.lottery-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
}
.lottery-command {
  align-self: start;
  position: sticky;
  top: 24px;
}
.lottery-command > .field {
  margin-top: 24px;
}
.lottery-command select {
  width: 100%;
  font-size: 18px;
  padding: 15px;
}
.lottery-live {
  position: relative;
  height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 10px 0;
}
.lottery-orbit {
  position: absolute;
  color: #d5ff7020;
  border: 1px solid #d5ff7018;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  font-size: 160px;
  display: grid;
  place-items: center;
  line-height: 1;
}
.lottery-available {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 8px;
  background: radial-gradient(ellipse, #11151e 20%, #11151e00 70%);
  width: 100%;
}
.lottery-available b {
  font-size: 76px;
  font-weight: 400;
  letter-spacing: -0.06em;
}
.lottery-available > span {
  font-size: 12px;
  color: #9da995;
}
.batch-row {
  display: flex;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}
.batch-row > .field {
  flex: 1;
  max-width: 60%;
}
.batch-row > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.batch-row > div b {
  font-size: 27px;
  font-weight: 400;
  padding: 7px 0;
}
.draw-button {
  font-size: 17px;
  padding: 17px 21px;
}
.draw-note {
  font-size: 10px;
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.9;
}
.setup-panel .section-label {
  margin-bottom: 18px;
}
.segment {
  display: flex;
  background: #090c13;
  border: 1px solid #ffffff0a;
  padding: 4px;
  border-radius: 9px;
  gap: 5px;
  margin: 17px 0 22px;
}
.segment button {
  flex: 1;
  background: none;
  border: 0;
  border-radius: 5px;
  padding: 9px;
  color: #727e91;
  font-size: 12px;
}
.segment button.active {
  background: #222938;
  color: #e2e7f0;
}
.form-row {
  display: flex;
  gap: 14px;
}
.form-row > * {
  min-width: 0;
  flex: 1;
}
.field input,
.field select {
  width: 100%;
}
.check-row {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 20px 0;
  font-size: 13px;
}
.check-row input {
  appearance: auto;
  accent-color: var(--lime);
  margin: 4px 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.check-row small {
  display: block;
  font-size: 11px;
  color: #7f8a9c;
  margin-top: 4px;
}
.panel-divider {
  height: 1px;
  background: var(--line);
  margin: 28px -24px 24px;
}
.prize-editors {
  display: grid;
  gap: 15px;
  margin-bottom: 20px;
}
.prize-editor {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  background: #0c1018;
}
.prize-editor > .form-row {
  padding-right: 26px;
}
.prize-editor .field > span {
  font-size: 11px;
}
.prize-editor .quantity-field {
  flex: 0 0 70px;
}
.prize-editor .remove-prize {
  position: absolute;
  right: 12px;
  top: 38px;
  font-size: 20px;
  border: 0;
  background: none;
  color: #757f91;
}
.prize-editor > .field {
  margin-top: 12px;
}
.prize-editor input {
  font-size: 12px;
  padding: 10px;
}
.file-import {
  display: inline-flex;
  color: var(--lime);
  font-size: 11px;
  margin-top: 10px;
  cursor: pointer;
  position: relative;
}
.file-import input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.history-panel {
  margin-top: 24px;
}
.history-row {
  display: grid;
  grid-template-columns: 70px minmax(120px, 1fr) minmax(180px, 2fr) 70px;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.history-row .history-time {
  font-size: 11px;
  color: #798599;
}
.history-row h3 {
  font-size: 13px;
  margin: 0 0 6px;
}
.history-row .hint {
  font-size: 10px;
  margin: 0;
}
.winner-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.winner-chip {
  background: #d5ff7010;
  border: 1px solid #d5ff7025;
  color: #cfe5a7;
  border-radius: 5px;
  font-size: 12px;
  padding: 5px 9px;
}
.voided {
  opacity: 0.45;
}
.voided .winner-chip {
  text-decoration: line-through;
}
.empty-state {
  text-align: center;
  padding: 45px 20px;
  color: #778397;
}
.empty-state .empty-symbol {
  font-size: 38px;
  color: #3f4b60;
  margin-bottom: 12px;
}
.empty-state h3 {
  font-size: 16px;
  font-weight: 400;
  color: #c0c9d7;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.8;
}
.current-winners {
  margin-top: 23px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.current-winners > p {
  font-size: 11px;
  color: #8e99aa;
}
.current-winners .winner-chip {
  font-size: 18px;
  padding: 10px 15px;
}
.people-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.filter-tabs {
  display: flex;
  gap: 25px;
}
.filter-tabs button {
  padding: 13px 0 17px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #8893a5;
  font-size: 12px;
}
.filter-tabs button.active {
  border-color: var(--lime);
  color: var(--lime);
}
.filter-tabs span {
  font-family: Plex;
  font-size: 11px;
  margin-left: 5px;
  opacity: 0.65;
}
.rotation-controls {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.people-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.people-search input {
  width: 300px;
  font-size: 12px;
}
.people-search > .hint {
  font-size: 11px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.profile-grid > .empty-state {
  grid-column: 1/-1;
}
.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #121620;
  display: flex;
  flex-direction: column;
}
.profile-card-main {
  padding: 23px;
  flex: 1;
}
.profile-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ad8cff16;
  border: 1px solid #ad8cff23;
  display: grid;
  place-items: center;
  color: #c3aaff;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-top h3 {
  font-size: 17px;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.profile-top p {
  font-size: 11px;
  color: #7e8b9e;
  margin: 0;
  overflow-wrap: anywhere;
}
.profile-status {
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 13px;
  background: #ffffff07;
  color: #929eb0;
}
.profile-status.pending {
  color: #d7c294;
  background: #d7c29412;
}
.profile-status.approved {
  color: var(--lime);
  background: #d5ff7010;
}
.profile-intro {
  font-size: 12px;
  color: #bac2cf;
  line-height: 1.85;
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 15px 0;
}
.profile-tags span {
  font-size: 10px;
  color: #a99ac9;
  border: 1px solid #ad8cff25;
  border-radius: 5px;
  padding: 4px 7px;
}
.profile-assets {
  display: flex;
  gap: 10px;
  font-size: 10px;
  color: #6e7c91;
  margin: 12px 0;
}
.profile-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 13px 17px;
}
.profile-actions .button {
  font-size: 11px;
}
.profile-actions .detail-button {
  margin-left: auto;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}
.settings-grid > form {
  align-self: start;
}
.settings-grid > form > .field {
  margin-bottom: 22px;
}
.settings-grid > div {
  display: grid;
  gap: 20px;
  align-content: start;
}
.settings-grid .panel .hint {
  line-height: 1.9;
}
.backup-panel .button {
  margin: 5px 5px 0 0;
  font-size: 12px;
}
.ops-notes {
  padding-left: 20px;
  margin: 0;
  font-size: 12px;
  color: #8b98ad;
  line-height: 2.3;
}
.profile-dialog {
  color: var(--text);
  background: #151a25;
  border: 1px solid #ffffff26;
  border-radius: 20px;
  max-width: min(720px, calc(100vw - 32px));
  width: 100%;
  padding: 35px;
  max-height: 90vh;
  overflow: auto;
}
.profile-dialog::backdrop {
  background: #03060bc9;
  backdrop-filter: blur(6px);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: 0;
  color: #8d9aaf;
  font-size: 29px;
}
.detail-images {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.detail-images figure {
  margin: 0;
  flex: 1;
  min-width: 150px;
}
.detail-images img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}
.detail-images figcaption {
  font-size: 11px;
  color: #8e9aae;
  margin: 9px 0;
}
.detail-full-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.9;
  color: #c2cbd9;
}
.detail-label {
  font-size: 11px;
  color: var(--violet);
  margin: 25px 0 8px;
}
.profile-dialog .profile-top h3 {
  font-size: 25px;
}
.profile-dialog .profile-actions {
  padding: 20px 0 0;
  flex-wrap: wrap;
}
.offline i {
  background: #ffbb70 !important;
}
.offline {
  color: #ffbb70 !important;
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .main {
    padding: 0 55px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
  }
  .panel {
    padding: 28px;
  }
  .next-draw h2 {
    font-size: 29px;
  }
  .draw-nums {
    margin: 32px 0;
  }
  .join-card img {
    width: 112px;
    height: 112px;
  }
  .page-heading {
    padding: 45px 0 32px;
  }
  .stat-grid {
    margin-top: 35px;
    padding-top: 28px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 195px;
    padding: 30px 15px;
  }
  .main {
    margin-left: 195px;
    width: calc(100% - 195px);
    padding: 0 25px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 20px;
  }
  .panel {
    padding: 20px;
  }
  .topbar {
    height: 78px;
  }
  .top-actions {
    gap: 7px;
  }
  .breadcrumbs {
    gap: 8px;
  }
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-actions .pill {
    display: none;
  }
  .join-card {
    gap: 11px;
  }
  .join-card img {
    width: 76px;
    height: 76px;
  }
  .join-card strong {
    font-size: 11px;
  }
  .lottery-grid {
    grid-template-columns: minmax(250px, 0.9fr) minmax(290px, 1.1fr);
    gap: 20px;
  }
  .panel-divider {
    margin-left: -20px;
    margin-right: -20px;
  }
  .rehearsal-banner {
    display: block;
  }
  .rehearsal-banner .text-button {
    margin-left: 12px;
  }
}
@media (max-width: 1000px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .right-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .mini-note {
    display: none;
  }
  .next-draw .draw-nums {
    margin: 16px 0;
  }
  .next-draw > .hint {
    min-height: 0;
  }
  .next-draw .section-label {
    margin-bottom: 15px;
  }
  .stat-grid {
    margin-bottom: 10px;
  }
  .join-card {
    margin-top: 25px;
  }
  .join-card img {
    width: 100px;
    height: 100px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .lottery-grid {
    grid-template-columns: 1fr;
  }
  .lottery-command {
    position: static;
  }
  .lottery-live {
    height: 190px;
  }
  .lottery-orbit {
    height: 180px;
    width: 180px;
  }
  .lottery-available b {
    font-size: 65px;
  }
  .lottery-command > .field {
    margin-top: 15px;
  }
  .top-actions .button.quiet {
    display: none;
  }
  .history-row {
    grid-template-columns: 60px 1fr 1.5fr 50px;
    gap: 10px;
  }
}
@media (max-width: 720px) {
  .login-screen {
    display: block;
  }
  .login-art {
    display: none;
  }
  .login-content {
    padding: 40px 26px;
    max-width: 480px;
    margin: auto;
    min-height: 100svh;
  }
  .login-content .brand {
    margin-bottom: 60px;
  }
  .login-content h1 {
    font-size: 32px;
  }
  .sidebar {
    position: static;
    width: auto;
    padding: 17px 20px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    font-size: 18px;
  }
  .sidebar .brand img {
    width: 28px;
    height: 30px;
  }
  .sidebar .brand small {
    font-size: 9px;
  }
  .sidebar nav {
    display: flex;
    margin-top: 18px;
    gap: 0;
  }
  .nav-item {
    padding: 12px 8px;
    font-size: 11px;
    gap: 6px;
    border-radius: 0;
    justify-content: center;
  }
  .nav-item.active {
    border-bottom: 2px solid var(--lime);
    background: none;
  }
  .nav-icon {
    font-size: 15px;
    width: 16px;
  }
  .nav-index,
  .nav-caption,
  .sidebar-bottom {
    display: none;
  }
  .app {
    display: block;
  }
  .main {
    margin: 0;
    width: 100%;
    padding: 0 18px;
  }
  .topbar {
    height: 62px;
  }
  .breadcrumbs {
    font-size: 9px;
  }
  .top-actions .button {
    font-size: 10px;
    padding: 7px 10px;
  }
  .page-heading {
    padding: 28px 0 25px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p:last-child {
    font-size: 11px;
    line-height: 1.7;
  }
  .edition-tag {
    display: none;
  }
  .page-heading > .button {
    font-size: 11px;
    padding: 9px;
    flex-shrink: 0;
  }
  .overview-grid {
    gap: 22px;
  }
  .stat-grid b {
    font-size: 34px;
  }
  .stat-grid span {
    font-size: 10px;
  }
  .stat-grid small {
    font-size: 8px;
  }
  .stat-grid > div {
    padding-left: 16px;
  }
  .right-rail {
    grid-template-columns: 1fr;
  }
  .next-draw {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
  .next-draw > .section-label,
  .next-draw > .draw-prize-type,
  .next-draw > h2,
  .next-draw > .hint {
    grid-column: 1;
  }
  .next-draw > .draw-nums {
    grid-column: 2;
    grid-row: 2/5;
    align-items: center;
    justify-content: center;
    gap: 25px;
  }
  .next-draw > .button {
    grid-column: 1/-1;
  }
  .join-panel {
    display: none;
  }
  .people-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .filter-tabs {
    gap: 22px;
  }
  .rotation-controls {
    justify-content: flex-end;
    margin: 0 0 10px;
  }
  .people-search {
    gap: 10px;
  }
  .people-search input {
    width: 60%;
  }
  .people-search > .hint {
    font-size: 10px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .history-row {
    grid-template-columns: 50px 1fr 50px;
  }
  .history-row .winner-chips {
    grid-column: 2;
    grid-row: 2;
  }
  .history-row > .text-button {
    grid-column: 3;
    grid-row: 1;
  }
  .app-footer {
    font-size: 8px;
  }
  .app-footer .mono {
    font-size: 8px;
  }
  .rehearsal-banner {
    font-size: 11px;
  }
  .profile-dialog {
    padding: 25px;
  }
  .panel h2 {
    font-size: 21px;
  }
}
.lottery-command.is-rolling .lottery-orbit {
  animation: draw-spin 8s linear infinite;
  color: #d5ff7030;
}
.lottery-command.is-rolling .lottery-available b {
  color: var(--lime);
}
@keyframes draw-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-height: 900px) and (min-width: 1001px) {
  .lottery-command {
    padding: 20px;
  }
  .lottery-command > .section-label {
    margin-bottom: 14px;
  }
  .lottery-command > .field {
    margin-top: 12px;
  }
  .lottery-command select {
    font-size: 16px;
    padding: 11px;
  }
  .lottery-live {
    height: 135px;
    margin: 4px 0;
  }
  .lottery-orbit {
    width: 135px;
    height: 135px;
    font-size: 110px;
  }
  .lottery-available b {
    font-size: 56px;
  }
  .lottery-available > span {
    font-size: 11px;
  }
  .batch-row {
    margin-bottom: 16px;
  }
  .draw-button {
    padding: 14px 18px;
  }
  .draw-note {
    margin-top: 10px;
  }
  .page-heading {
    padding: 24px 0;
  }
  .topbar {
    height: 72px;
  }
}
