@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root {
  --bg: #101214;
  --surface: #17191c;
  --raised: #1e2024;
  --line: #2c2e32;
  --text: #f0eee8;
  --muted: #8b8e91;
  --subtle: #5c6065;
  --red: #f15945;
  --red-hover: #ff6b57;
  --green: #a7bc92;
  --paper: #e6e3d9;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius: 8px;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
svg {
  width: 24px;
  height: 24px;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand > svg {
  width: 32px;
  height: 32px;
  color: var(--red);
}
.brand > span {
  font: 800 29px/1 Manrope;
  letter-spacing: -1.8px;
}
.brand sup {
  font: 500 11px 'DM Sans';
  margin-left: 3px;
  vertical-align: top;
}
.brand small {
  display: block;
  font: 550 7px 'DM Sans';
  letter-spacing: 2.5px;
  margin-top: 6px;
  color: var(--muted);
}
.club-header {
  max-width: 1440px;
  margin: auto;
  padding: 0 5%;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.club-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  padding: 16px 0;
  position: relative;
  font-size: 11px;
  color: var(--muted);
  transition: color 0.25s;
}
.nav-link b {
  font: 500 8px 'DM Sans';
  padding: 3px 5px;
  margin-left: 4px;
  border-radius: 3px;
  background: var(--raised);
}
.nav-link.selected {
  color: var(--text);
}
.club-nav .nav-link:after {
  content: '';
  height: 2px;
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.club-nav .selected:after {
  transform: scaleX(1);
}
.identity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
  text-align: left;
}
.identity-avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #24272a;
  color: #b2b6b7;
  font: 600 11px Manrope;
}
.identity small {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 5px;
}
.identity b {
  font: 500 9px 'DM Sans';
  letter-spacing: 1px;
}
.identity > svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #878b8f;
  stroke-width: 1.5;
  margin-left: 7px;
}
.club-main {
  max-width: 1280px;
  margin: auto;
  padding: 0 35px;
}
.page {
  display: none;
  min-height: 65vh;
}
.page.active {
  display: block;
}
.page.entering {
  animation: page-enter 0.45s var(--ease) both;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  padding: 44px 0 35px;
}
.overline {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.9px;
  line-height: 1.5;
  color: #a0a2a1;
}
.overline i {
  width: 5px;
  height: 5px;
  background: var(--red);
  display: inline-block;
  border-radius: 1px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
  letter-spacing: -0.055em;
}
h1 {
  font-size: clamp(40px, 4.9vw, 65px);
  font-weight: 650;
  line-height: 1.04;
  margin-top: 17px;
}
h1 > span {
  color: #727679;
}
.heading-note {
  text-align: right;
  padding-bottom: 3px;
}
.heading-note p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 14px;
}
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--green);
}
.live-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px #a7bc9210;
}
.play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, 0.8fr);
  gap: 20px;
}
.machine-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #303237;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 36%, #2b2d31 0%, #1b1e21 43%, #17191c 76%);
}
.machine-topline,
.machine-bottomline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 19px 22px;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: #7c8185;
  position: relative;
  z-index: 2;
}
.machine-topline > span:first-child {
  color: #b0b2ad;
}
.machine-bottomline {
  border-top: 1px solid #ffffff07;
  padding-top: 16px;
  padding-bottom: 17px;
}
.machine-bottomline > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.machine-bottomline i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}
.offline .machine-bottomline i {
  background: var(--red);
}
.wheel-stage {
  height: 405px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  perspective: 1000px;
}
.stage-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffff05;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
}
.orbit-one {
  width: 410px;
  height: 410px;
}
.orbit-two {
  width: 485px;
  height: 485px;
}
.stage-cross {
  position: absolute;
  color: #6b707180;
  font-size: 15px;
  top: 47%;
  font-weight: 300;
}
.cross-left {
  left: 25px;
}
.cross-right {
  right: 25px;
}
.wheel-assembly {
  width: 345px;
  height: 345px;
  position: relative;
  transform: rotate(-8deg);
  z-index: 1;
  filter: drop-shadow(0 25px 20px #0008);
}
.wheel-case {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 18px;
  background: linear-gradient(
    140deg,
    #c2c1b9 0%,
    #555b5f 12%,
    #33383c 24%,
    #9d9c92 42%,
    #2d3438 65%,
    #7f8585 87%,
    #c2c1b9
  );
  box-shadow:
    0 2px 0 #848a89,
    0 5px 0 #22282c,
    0 8px 0 #12171b,
    0 11px 0 #101518,
    0 14px 0 #0c1013,
    0 20px 20px #0007,
    inset 0 2px 3px #fff8;
}
.wheel-case:after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1px solid #bfc5bd55;
  pointer-events: none;
}
.wheel-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #e4e0d5;
  border: 3px solid #141a1d;
  box-shadow: 0 0 0 1px #c4c8bd;
  will-change: transform;
}
.wheel-face svg {
  width: 100%;
  height: 100%;
  display: block;
}
.wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3a3c3d, #131719 65%);
  border: 2px solid #7c8381;
  box-shadow:
    0 4px 0 #070c0f,
    0 6px 13px #0009,
    inset 0 1px 2px #fff5;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  align-items: center;
  color: var(--red);
}
.wheel-center > svg {
  width: 28px;
  height: 28px;
}
.wheel-center > span {
  font: 600 5px Manrope;
  letter-spacing: 1.7px;
  color: #b4b9b3;
}
.wheel-pointer {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%) rotate(8deg);
  width: 32px;
  height: 48px;
  z-index: 4;
  filter: drop-shadow(0 3px 3px #0008);
}
.wheel-pointer:before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 87% 55%, 50% 100%, 13% 55%);
  border-radius: 6px;
}
.wheel-pointer span {
  position: absolute;
  width: 10px;
  height: 10px;
  top: 6px;
  left: 11px;
  border-radius: 50%;
  background: #512a25;
  box-shadow: inset 0 1px 2px #0007;
}
.rim-studs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.rim-studs i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin: -2px;
  background: #b8bdb4;
  box-shadow: 0 1px 2px #0009;
}
.wheel-floor {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 25px;
  border-radius: 50%;
  background: #0005;
  filter: blur(8px);
  z-index: -1;
}
.spin-panel {
  padding: 27px 27px 23px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.wallet-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 15px;
}
.wallet-number strong {
  font: 600 54px/1.2 Manrope;
  letter-spacing: -3px;
}
.wallet-number strong span {
  font: 400 13px 'DM Sans';
  letter-spacing: 0;
  color: var(--muted);
}
.token-dots {
  display: flex;
  gap: 5px;
}
.token-dots i {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
  background: #25282b;
  color: #4d5356;
  border: 1px solid #353b3b;
}
.token-dots i.filled {
  color: #d2d3c6;
  background: #393d35;
  border-color: #63674e;
}
.wallet-description {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 9px 0 14px;
}
.spin-mode {
  font-size: 9px;
  color: #72797c;
  line-height: 1.6;
  margin-bottom: 15px;
  min-height: 14px;
}
.spin-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--red);
  color: #141719;
  padding: 17px 19px;
  border-radius: 5px;
  text-align: left;
  font-size: 13px;
  font-weight: 650;
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
  box-shadow: 0 3px 0 #8f3025;
}
.spin-button > svg {
  width: 19px;
  height: 19px;
}
.spin-button:hover:not(:disabled) {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #8f3025;
}
.spin-button:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #8f3025;
}
.spin-hint {
  font-size: 8px;
  color: #6f767a;
  margin-top: 13px;
  line-height: 1.6;
}
.sound-toggle {
  padding: 10px 0;
  color: #9b9e98;
  font-size: 9px;
  min-height: 35px;
}
.sound-toggle[aria-pressed='false'] {
  color: #646b6f;
}
.wallet-divider {
  height: 1px;
  background: var(--line);
  margin: 12px 0 17px;
}
.topup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.topup-row small {
  font-size: 7px;
  letter-spacing: 1px;
  color: #72797d;
  display: block;
}
.topup-row strong {
  display: block;
  font: 650 16px Manrope;
  margin-top: 7px;
  letter-spacing: -0.4px;
}
.topup-row strong span {
  font: 400 9px 'DM Sans';
  color: var(--muted);
}
.round-link {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid #4a5051;
  border-radius: 50%;
  font-size: 18px;
  transition: background 0.25s;
}
.round-link:hover {
  background: #ffffff0b;
}
.transfer-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.transfer-note > span {
  font-size: 23px;
  color: #a1a59b;
  line-height: 1;
}
.transfer-note p {
  font-size: 9px;
  line-height: 1.8;
  color: #7f8687;
}
.transfer-note strong {
  font-weight: 450;
  color: #bec1b8;
}
.feature-strip {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}
.feature-caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 5px 0;
}
.feature-caption h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -1.3px;
  margin: 11px 0 20px;
  font-weight: 550;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: 10px;
  color: #a9ada5;
  padding: 6px 0;
  min-height: 30px;
}
.text-link:hover {
  color: var(--text);
}
.featured-wink,
.featured-cash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 193px;
  padding: 22px;
  overflow: hidden;
  gap: 12px;
  background: #1b1e20;
}
.featured-cash {
  background: #1b1d1e;
}
.mini-label {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #818783;
}
.featured-wink h3,
.featured-cash h3 {
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-top: 11px;
}
.featured-wink p {
  font-size: 9px;
  color: #7d8583;
  margin-top: 8px;
}
.featured-wink img {
  width: 74px;
  height: 79px;
  object-fit: cover;
  border-radius: 16px;
  transform: rotate(11deg);
  box-shadow: 4px 6px 0 #ffffff15;
}
.featured-cash img {
  width: 95px;
  height: 110px;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(0.85);
  transform: rotate(-12deg);
}
.featured-cash .text-link {
  font-size: 9px;
  margin-top: 12px;
}
.stock-badge {
  display: inline-block;
  font-size: 7px;
  letter-spacing: 0.7px;
  border: 1px solid #5e6b4a80;
  color: #a3ad91;
  border-radius: 20px;
  padding: 5px 8px;
  margin-top: 17px;
}
.fair-note {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  margin: 37px 0 15px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.fair-note > span {
  font-size: 7px;
  letter-spacing: 1px;
  color: #6c7477;
  white-space: nowrap;
}
.fair-note p {
  font-size: 9px;
  line-height: 1.8;
  color: #737b7c;
  max-width: 460px;
}
.fair-note button {
  font-size: 9px;
  white-space: nowrap;
  color: #a5aca5;
}
.club-footer {
  max-width: 1280px;
  padding: 32px 35px 35px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  gap: 20px;
}
.club-footer > span:first-child {
  font: 800 17px Manrope;
  letter-spacing: -1px;
  color: #6f7778;
}
.club-footer small {
  font: 500 6px 'DM Sans';
  letter-spacing: 1px;
  margin-left: 6px;
}
.club-footer p {
  font-size: 9px;
  color: #616a6d;
}
.club-footer > span:last-child {
  font-size: 8px;
  color: #616a6d;
}
.section-description {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 3px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 8px 0 60px;
}
.collection-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 24px;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s;
}
.collection-card:hover {
  transform: translateY(-6px);
  border-color: #535b5c;
}
.collection-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 7px;
  letter-spacing: 1px;
  color: #969e98;
}
.collection-art {
  height: 225px;
  display: grid;
  place-items: center;
}
.collection-art img {
  width: 145px;
  height: 145px;
  object-fit: contain;
  border-radius: 15px;
}
.collection-card.wink img {
  width: 108px;
  height: 114px;
  object-fit: cover;
  transform: rotate(-8deg);
  box-shadow: 6px 8px 0 #ffffff0d;
}
.collection-card.cash img {
  width: 185px;
  height: 170px;
}
.collection-card h2 {
  font-size: 26px;
  font-weight: 550;
}
.collection-card p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 15px;
  min-height: 66px;
}
.collection-foot {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  color: #697476;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 17px;
}
.history-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 20px;
  margin-top: 12px;
}
.filter-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter-tabs button {
  font-size: 10px;
  padding: 10px 17px;
  border-radius: 4px;
  color: #8b9292;
}
.filter-tabs .active {
  color: var(--text);
  background: #292e30;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 12px;
  width: 270px;
  background: #15191b;
}
.search-field > span {
  font-size: 22px;
  color: #778082;
}
.search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 10px;
  padding: 12px 0;
}
.personal-history {
  margin: 10px 0 60px;
}
.history-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  animation: page-enter 0.35s var(--ease) both;
}
.history-item > img {
  width: 57px;
  height: 57px;
  object-fit: contain;
  border-radius: 9px;
  background: #fff;
  flex-shrink: 0;
}
.history-item > div {
  flex: 1;
  min-width: 0;
}
.history-item h3 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.7px;
}
.history-item p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.8;
}
.history-item .secondary-button {
  font-size: 9px;
  padding: 9px 12px;
  margin-top: 11px;
  min-height: 34px;
}
.history-item time {
  font-size: 9px;
  color: #737d80;
  white-space: nowrap;
}
.empty-state {
  padding: 65px 20px;
  text-align: center;
  border: 1px dashed #343c3f;
  margin-top: 30px;
  border-radius: 7px;
}
.empty-state > span {
  font-size: 34px;
  color: var(--red);
}
.empty-state h3 {
  font-size: 24px;
  margin: 15px 0;
  font-weight: 550;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid #465153;
  border-radius: 4px;
  padding: 12px 17px;
  min-height: 40px;
  font-size: 11px;
  color: #d4d9ce;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.secondary-button:hover:not(:disabled) {
  background: #ffffff08;
  border-color: #838f84;
  transform: translateY(-1px);
}
.help-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.4fr;
  gap: 10%;
  margin: 12px 0 65px;
}
.help-index > span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #a2aca3;
}
.help-index > p {
  font-size: 14px;
  line-height: 1.8;
  color: #707d7e;
  max-width: 230px;
  margin-top: 15px;
}
.help-contact {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.help-contact small {
  font-size: 8px;
  color: #727f7f;
  letter-spacing: 1px;
}
.help-contact strong {
  font-size: 15px;
  font-weight: 450;
}
.help-contact button {
  font-size: 10px;
  color: var(--red);
  padding: 4px 0;
}
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 21px 0;
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: #ccd1c9;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  font-size: 20px;
  transition: transform 0.25s;
  color: #737f7d;
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
  color: var(--red);
}
.faq-list details p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 15px;
  padding-right: 40px;
  animation: page-enter 0.25s var(--ease);
}
.mobile-nav {
  display: none;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.preview-banner {
  background: #3c2b20;
  color: #ebba94;
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #7d503540;
}
.preview-banner[hidden],
.maintenance-banner[hidden] {
  display: none;
}
.preview-banner > span {
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 600;
  white-space: nowrap;
}
.preview-banner p {
  font-size: 10px;
  line-height: 1.6;
}
.preview-banner a {
  font-size: 9px;
  white-space: nowrap;
}
.maintenance-banner {
  padding: 13px 5%;
  background: #392823;
  color: #daa792;
  font-size: 11px;
  text-align: center;
}
.result-dialog,
.contact-dialog {
  width: min(455px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #1b1f22;
  color: var(--text);
  border: 1px solid #454f50;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 35px 100px #0009;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.result-dialog::backdrop,
.contact-dialog::backdrop,
.confirm-dialog::backdrop {
  background: #090d11b5;
  backdrop-filter: blur(9px);
}
dialog[open] {
  animation: dialog-enter 0.4s var(--ease);
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 10px;
  min-width: 36px;
  min-height: 36px;
  font-size: 24px;
  color: #99a39d;
  border-radius: 50%;
  z-index: 1;
}
.dialog-close:hover {
  background: #ffffff08;
}
.result-content {
  text-align: center;
}
.result-content > .overline {
  justify-content: center;
  color: var(--red);
}
.result-art {
  height: 145px;
  display: grid;
  place-items: center;
  margin: 12px 0;
  position: relative;
}
.result-art:before {
  content: '';
  position: absolute;
  width: 135px;
  height: 135px;
  border: 1px solid #777f6a25;
  border-radius: 50%;
  transform: scale(1.2);
}
.result-art img {
  position: relative;
  max-width: 130px;
  width: 130px;
  height: 125px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  animation: prize-enter 0.7s var(--ease) both;
  z-index: 1;
}
.result-art.wink img {
  width: 87px;
  height: 93px;
  object-fit: cover;
  border-radius: 18px;
}
.result-content h2 {
  font-size: 34px;
  font-weight: 550;
  line-height: 1.15;
}
.result-content > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 17px 0 21px;
}
.claim-box {
  display: none;
  border: 1px dashed #4a5754;
  border-radius: 5px;
  font-size: 8px;
  color: #a5b2a0;
  padding: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  margin-bottom: 17px;
}
.claim-box.visible {
  display: block;
}
.credential-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  background: #11181b;
  border: 1px solid #354345;
  border-radius: 5px;
  text-align: left;
  margin: 10px 0;
}
.credential-row > div {
  min-width: 0;
}
.credential-row small {
  display: block;
  font-size: 8px;
  color: #788c8d;
  margin-bottom: 6px;
}
.credential-row span {
  font-size: 12px;
  overflow-wrap: anywhere;
  user-select: all;
}
.credential-copy {
  font-size: 9px;
  min-height: 36px;
  background: #2c3638;
  color: #becdb7;
  padding: 8px 11px;
  border-radius: 4px;
  white-space: nowrap;
}
.copied {
  background: #394b31 !important;
  color: #d9edc7 !important;
  animation: copy-pop 0.3s var(--ease);
}
.copy-all {
  width: 100%;
  margin: 7px 0 14px;
}
.copy-notice {
  display: none;
  position: sticky;
  bottom: 0;
  background: #34432f;
  color: #c9dabb;
  padding: 11px;
  border-radius: 4px;
  font-size: 10px;
  margin: 10px 0;
  z-index: 3;
  box-shadow: 0 5px 15px #0003;
}
.copy-notice.visible {
  display: block;
  animation: copy-pop 0.3s var(--ease);
}
.result-contact {
  font-size: 9px;
  color: #7e8e8c;
  margin-top: 18px;
  padding: 8px;
}
.result-content .spin-button {
  margin-top: 12px;
}
.cash-claim {
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 14px;
}
.cash-claim[hidden] {
  display: none;
}
.cash-claim > label {
  font-size: 8px;
  letter-spacing: 1px;
  color: #9dada6;
}
.cash-claim textarea {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  display: block;
  padding: 13px;
  background: #12191c;
  color: #b7c4bd;
  border: 1px solid #354347;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.8;
  margin: 10px 0;
}
.cash-claim > p {
  font-size: 9px;
  color: #778c8c;
  line-height: 1.8;
  text-align: center;
  margin: 10px 0 15px;
}
.whatsapp-link {
  display: flex;
  width: 100%;
  background: #354b37;
  border-color: #5b7656;
  color: #cfdfc7;
  margin: 12px 0;
}
.contact-dialog > .overline {
  font-size: 8px;
}
.contact-dialog h2 {
  font-size: 35px;
  font-weight: 550;
  margin: 23px 0 16px;
  line-height: 1.15;
}
.contact-dialog > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.contact-id {
  font: 500 17px Manrope;
  letter-spacing: 1px;
  border: 1px dashed #415454;
  border-radius: 5px;
  padding: 18px;
  margin: 20px 0;
}
.contact-dialog > .secondary-button {
  width: 100%;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #e3e5d9;
  color: #1b2423;
  padding: 14px 22px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.7;
  max-width: min(92vw, 600px);
  text-align: center;
  z-index: 100;
  transition:
    opacity 0.25s,
    transform 0.25s;
  box-shadow: 0 15px 40px #0005;
}
.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
#confettiCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  pointer-events: none;
}
.spinning .wheel-pointer {
  animation: pointer-tick 0.12s ease-in-out infinite;
}
.spinning .wheel-center {
  box-shadow:
    0 4px 0 #070c0f,
    0 0 25px #f159451a;
}
.spinning .spin-button {
  background: #c86b5b;
  box-shadow: 0 3px 0 #633e32;
}
@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes prize-enter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.55) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes copy-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pointer-tick {
  50% {
    transform: translateX(-50%) rotate(15deg);
  }
}
@media (min-width: 1450px) {
  .club-main {
    padding-top: 10px;
  }
  .wheel-stage {
    height: 445px;
  }
  .wheel-assembly {
    width: 375px;
    height: 375px;
  }
  .spin-panel {
    padding: 32px;
  }
  .wallet-number strong {
    font-size: 62px;
  }
  .wallet-description {
    margin-top: 14px;
    margin-bottom: 20px;
  }
  .wallet-divider {
    margin-top: 22px;
  }
  .transfer-note {
    margin-top: 30px;
  }
  .spin-button {
    padding: 19px 21px;
  }
}
@media (max-width: 1050px) {
  .club-header {
    padding: 0 30px;
    gap: 20px;
  }
  .club-nav {
    gap: 18px;
  }
  .identity > svg {
    display: none;
  }
  .identity b {
    font-size: 8px;
  }
  .club-main {
    padding: 0 28px;
  }
  .play-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.85fr);
    gap: 15px;
  }
  .wheel-assembly {
    width: 305px;
    height: 305px;
  }
  .wheel-stage {
    height: 380px;
  }
  .spin-panel {
    padding: 24px 22px;
  }
  .wallet-number strong {
    font-size: 48px;
  }
  .feature-strip {
    gap: 13px;
    grid-template-columns: 0.75fr 1.15fr 1fr;
  }
  .featured-wink,
  .featured-cash {
    padding: 19px 17px;
  }
  .featured-wink img {
    width: 59px;
    height: 63px;
  }
  .featured-cash img {
    width: 70px;
    height: 100px;
  }
  .featured-wink h3,
  .featured-cash h3 {
    font-size: 21px;
  }
  .machine-bottomline {
    font-size: 6px;
    padding-left: 17px;
    padding-right: 17px;
  }
  .collection-card {
    padding: 20px;
  }
  .collection-card h2 {
    font-size: 23px;
  }
}
@media (max-width: 760px) {
  .club-header {
    height: 83px;
    padding: 0 20px;
  }
  .club-nav {
    display: none;
  }
  .brand > span {
    font-size: 26px;
  }
  .brand > svg {
    width: 29px;
    height: 29px;
  }
  .identity {
    gap: 8px;
  }
  .identity b {
    font-size: 8px;
  }
  .identity small {
    font-size: 6px;
  }
  .identity-avatar {
    width: 28px;
    height: 28px;
  }
  .club-main {
    padding: 0 20px;
  }
  .page-heading {
    padding: 30px 0 25px;
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 43px;
  }
  .overline {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .heading-note p {
    font-size: 9px;
  }
  .live-chip {
    font-size: 6px;
  }
  .play-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .wheel-stage {
    height: 380px;
  }
  .wheel-assembly {
    width: 310px;
    height: 310px;
  }
  .machine-topline {
    font-size: 6px;
    padding: 16px 17px;
  }
  .machine-bottomline {
    font-size: 6px;
  }
  .spin-panel {
    padding: 22px;
  }
  .wallet-number {
    margin-top: 9px;
  }
  .wallet-number strong {
    font-size: 52px;
  }
  .wallet-description {
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 10px;
  }
  .wallet-description br {
    display: none;
  }
  .spin-panel > .overline {
    font-size: 8px;
  }
  .token-dots i {
    width: 23px;
    height: 23px;
  }
  .spin-mode {
    font-size: 9px;
  }
  .spin-button {
    padding: 18px 20px;
    font-size: 14px;
  }
  .spin-hint {
    font-size: 9px;
  }
  .sound-toggle {
    min-height: 44px;
    font-size: 10px;
  }
  .wallet-divider {
    margin-top: 5px;
  }
  .topup-row small {
    font-size: 8px;
  }
  .topup-row strong {
    font-size: 18px;
  }
  .topup-row strong span {
    font-size: 10px;
  }
  .round-link {
    width: 40px;
    height: 40px;
  }
  .transfer-note {
    margin-top: 18px;
    padding-top: 16px;
  }
  .transfer-note p {
    font-size: 10px;
  }
  .feature-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
    gap: 12px;
  }
  .feature-caption {
    grid-column: 1/-1;
    padding-bottom: 8px;
  }
  .feature-caption h2 {
    font-size: 29px;
    margin: 9px 0 8px;
  }
  .feature-caption h2 br {
    display: none;
  }
  .feature-caption .text-link {
    font-size: 10px;
  }
  .featured-wink,
  .featured-cash {
    min-height: 210px;
    position: relative;
    display: block;
    padding: 19px 16px;
  }
  .featured-wink h3,
  .featured-cash h3 {
    font-size: 22px;
  }
  .featured-wink p {
    font-size: 9px;
    max-width: 100px;
    line-height: 1.6;
  }
  .featured-wink img {
    position: absolute;
    right: 15px;
    bottom: 20px;
    width: 52px;
    height: 56px;
    opacity: 0.85;
  }
  .featured-cash img {
    position: absolute;
    width: 67px;
    height: 95px;
    right: 7px;
    bottom: 13px;
    opacity: 0.7;
  }
  .featured-cash .text-link {
    margin-top: 20px;
  }
  .stock-badge {
    font-size: 6px;
    margin-top: 25px;
  }
  .fair-note {
    display: block;
    margin-top: 30px;
    padding: 20px 0;
  }
  .fair-note p {
    font-size: 10px;
    margin-top: 13px;
  }
  .fair-note button {
    margin-top: 12px;
    padding: 8px 0;
    font-size: 10px;
  }
  .club-footer {
    margin-top: 10px;
    padding: 25px 20px calc(108px + env(safe-area-inset-bottom));
  }
  .club-footer p {
    display: none;
  }
  .club-footer > span:first-child {
    font-size: 17px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: space-around;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #15191bf0;
    backdrop-filter: blur(15px);
    border-top: 1px solid #3b454444;
  }
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    min-width: 65px;
    font-size: 8px;
    color: #73817f;
    min-height: 50px;
  }
  .mobile-nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-nav .selected {
    color: var(--red);
  }
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 0;
  }
  .collection-art {
    height: 220px;
  }
  .collection-card {
    padding: 22px;
  }
  .collection-meta {
    font-size: 8px;
  }
  .collection-card h2 {
    font-size: 29px;
  }
  .collection-card p {
    font-size: 12px;
    min-height: 0;
  }
  .collection-foot {
    font-size: 8px;
    margin-top: 20px;
  }
  .section-description {
    display: none;
  }
  .history-toolbar {
    flex-direction: column;
    gap: 14px;
  }
  .filter-tabs button {
    font-size: 10px;
    padding: 11px 16px;
  }
  .search-field {
    width: 100%;
  }
  .search-field input {
    font-size: 16px;
    padding: 13px 0;
  }
  .history-item {
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
  }
  .history-item > img {
    width: 46px;
    height: 46px;
  }
  .history-item h3 {
    font-size: 20px;
  }
  .history-item p {
    font-size: 10px;
  }
  .history-item time {
    margin-left: 60px;
    margin-top: -5px;
    font-size: 8px;
  }
  .history-item .secondary-button {
    min-height: 40px;
  }
  .help-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .help-index > p {
    max-width: 100%;
    font-size: 13px;
  }
  .help-contact {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .help-contact strong {
    font-size: 16px;
  }
  .help-contact button {
    font-size: 11px;
    min-height: 40px;
  }
  .faq-list details {
    padding: 20px 0;
  }
  .faq-list summary {
    font-size: 13px;
    line-height: 1.7;
    min-height: 30px;
  }
  .faq-list details p {
    padding-right: 12px;
  }
  .help-layout {
    margin-top: 0;
  }
  .preview-banner {
    padding: 13px 20px;
    flex-wrap: wrap;
    gap: 6px 20px;
  }
  .preview-banner p {
    order: 3;
    width: 100%;
    font-size: 9px;
  }
  .preview-banner > span {
    font-size: 7px;
  }
  .preview-banner a {
    font-size: 8px;
    margin-left: auto;
  }
  .result-dialog,
  .contact-dialog {
    padding: 32px 24px;
  }
  .result-content h2 {
    font-size: 31px;
  }
  .result-content > p {
    font-size: 12px;
  }
  .dialog-close {
    min-width: 44px;
    min-height: 44px;
  }
  .credential-copy {
    min-height: 44px;
    font-size: 10px;
  }
  .cash-claim textarea {
    font-size: 16px;
    min-height: 235px;
  }
  .toast {
    bottom: calc(90px + env(safe-area-inset-bottom));
    font-size: 11px;
  }
  .contact-dialog h2 {
    font-size: 33px;
  }
  .contact-id {
    font-size: 15px;
  }
  .secondary-button {
    min-height: 44px;
  }
  .result-contact {
    min-height: 40px;
  }
  .machine-bottomline > span:last-child {
    display: none;
  }
}
@media (max-width: 370px) {
  .club-main {
    padding: 0 15px;
  }
  .club-header {
    padding: 0 15px;
  }
  .page-heading h1 {
    font-size: 38px;
  }
  .heading-note p {
    display: none;
  }
  .wheel-assembly {
    width: 268px;
    height: 268px;
  }
  .wheel-stage {
    height: 340px;
  }
  .orbit-one {
    width: 330px;
    height: 330px;
  }
  .orbit-two {
    width: 390px;
    height: 390px;
  }
  .stage-cross {
    display: none;
  }
  .machine-topline {
    letter-spacing: 0.7px;
    font-size: 5px;
  }
  .featured-wink,
  .featured-cash {
    padding: 17px 12px;
  }
  .featured-wink h3,
  .featured-cash h3 {
    font-size: 20px;
  }
  .featured-wink img {
    width: 43px;
    height: 46px;
    right: 9px;
  }
  .identity b {
    font-size: 7px;
  }
  .brand > span {
    font-size: 24px;
  }
  .brand {
    gap: 8px;
  }
  .identity-avatar {
    display: none;
  }
  .history-item time {
    margin-left: 0;
  }
  .filter-tabs button {
    padding: 11px 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Brand motion: WebGL supplies depth and lighting; the letter remains visible without it. */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0e1113;
  color: #e7e9df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    opacity 0.55s var(--ease),
    transform 0.65s var(--ease);
}
.intro-screen.leaving {
  opacity: 0;
  transform: translateY(-3%);
  pointer-events: none;
}
.intro-top {
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #7f8989;
}
.intro-skip {
  font-size: 10px;
  color: #bac3b8;
  padding: 12px;
}
.intro-visual {
  position: relative;
  width: min(390px, 75vw);
  height: min(340px, 65vw);
  margin-top: -25px;
}
.intro-visual canvas {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
.intro-fallback {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  font: 800 140px Manrope;
  color: var(--red);
}
.scene-unavailable + .intro-fallback {
  display: grid;
}
.intro-wordmark {
  font: 800 clamp(48px, 8vw, 85px) / 1 Manrope;
  letter-spacing: -6px;
  animation: intro-letters 0.7s var(--ease) both;
  animation-delay: 0.15s;
}
.intro-wordmark span {
  font: 400 16px 'DM Sans';
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 6px;
}
.intro-caption {
  display: flex;
  gap: 65px;
  font-size: 7px;
  letter-spacing: 1.7px;
  color: #657475;
  margin-top: 25px;
  animation: page-enter 0.7s var(--ease) both;
  animation-delay: 0.4s;
}
.intro-progress {
  position: absolute;
  bottom: 45px;
  width: 180px;
  height: 1px;
  background: #2d393b;
}
.intro-progress i {
  display: block;
  height: 100%;
  background: var(--red);
  transform-origin: left;
  animation: intro-progress 2.6s var(--ease) both;
}
.maintenance-page {
  min-height: 100svh;
  padding: 0 6%;
  display: flex;
  flex-direction: column;
  background: #101214;
}
.maintenance-header {
  max-width: 1320px;
  width: 100%;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  border-bottom: 1px solid var(--line);
}
.maintenance-brand {
  font: 800 28px/1 Manrope;
  letter-spacing: -1.5px;
}
.maintenance-brand > span {
  color: var(--red);
  font: 500 10px 'DM Sans';
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 3px;
}
.maintenance-brand small {
  display: block;
  font: 500 7px 'DM Sans';
  letter-spacing: 2px;
  color: #76847e;
  margin-top: 7px;
}
.maintenance-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #9bada0;
}
.maintenance-label i,
.visual-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px #f1594510;
  animation: maintenance-pulse 2.5s ease-in-out infinite;
}
.maintenance-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 30px;
  max-width: 1188px;
  width: 100%;
  margin: auto;
  flex: 1;
  padding: 65px 0;
}
.maintenance-copy h1 {
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 1.05;
  margin: 22px 0 25px;
}
.maintenance-copy > p {
  max-width: 395px;
  font-size: 12px;
  line-height: 1.95;
  color: #879593;
}
.maintenance-copy > .overline {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #82948d;
}
.maintenance-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}
.maintenance-actions > a {
  font-size: 11px;
  background: #dce0d1;
  border: 0;
  color: #1a2625;
  padding: 16px 20px;
}
.maintenance-actions > button {
  font-size: 10px;
  color: #a1b19f;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
}
.maintenance-actions button > span {
  font-size: 18px;
}
#maintenanceStatus {
  font-size: 9px;
  color: #586e6a;
  line-height: 1.8;
  margin-top: 20px;
}
.maintenance-visual {
  position: relative;
  min-height: 370px;
  display: grid;
  place-items: center;
}
.maintenance-visual canvas {
  width: 100%;
  height: 380px;
  position: relative;
  z-index: 1;
}
.visual-orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid #7c978512;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.visual-orbit:after {
  content: '';
  position: absolute;
  inset: -35px;
  border-radius: 50%;
  border: 1px solid #7c978509;
}
.maintenance-scene-fallback {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  font: 800 145px Manrope;
  color: var(--red);
}
.scene-unavailable + .maintenance-scene-fallback {
  display: grid;
}
.visual-coordinate {
  position: absolute;
  top: 17px;
  left: 20px;
  font-size: 8px;
  letter-spacing: 2px;
  color: #4b6561;
}
.visual-tag {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 7px;
  letter-spacing: 1.7px;
  color: #6f8980;
}
.maintenance-roadmap {
  max-width: 1188px;
  width: 100%;
  margin: 0 auto 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 30px;
}
.maintenance-roadmap span {
  display: block;
  font-size: 7px;
  letter-spacing: 1.5px;
  color: #4f6c66;
}
.maintenance-roadmap strong {
  font-size: 12px;
  font-weight: 450;
  color: #98ad9f;
  display: block;
  margin-top: 10px;
}
.maintenance-roadmap p {
  font-size: 9px;
  line-height: 1.8;
  color: #56746b;
  align-self: center;
  text-align: right;
  max-width: 160px;
  justify-self: end;
}
.maintenance-footer {
  max-width: 1188px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #45645b;
  font-size: 7px;
  letter-spacing: 1px;
}
@keyframes intro-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes intro-letters {
  from {
    opacity: 0;
    transform: translateY(18px);
    letter-spacing: 0;
  }
  to {
    opacity: 1;
    transform: none;
    letter-spacing: -6px;
  }
}
@keyframes maintenance-pulse {
  50% {
    box-shadow: 0 0 0 9px #f1594503;
  }
}
@media (max-width: 760px) {
  .maintenance-header {
    height: 85px;
  }
  .maintenance-page {
    padding: 0 6%;
  }
  .maintenance-main {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 35px 0 30px;
  }
  .maintenance-copy h1 {
    font-size: 48px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .maintenance-copy > .overline {
    font-size: 6px;
  }
  .maintenance-label {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .maintenance-copy > p {
    font-size: 11px;
    max-width: 100%;
  }
  .maintenance-actions {
    gap: 20px;
    margin-top: 22px;
  }
  .maintenance-actions > a {
    font-size: 10px;
    padding: 14px 17px;
  }
  .maintenance-actions > button {
    font-size: 10px;
    gap: 10px;
  }
  .maintenance-visual {
    min-height: 260px;
  }
  .maintenance-visual canvas {
    height: 285px;
  }
  .visual-orbit {
    width: 240px;
    height: 240px;
  }
  .visual-orbit:after {
    inset: -20px;
  }
  .visual-coordinate {
    font-size: 6px;
    left: 8px;
    top: 8px;
  }
  .visual-tag {
    font-size: 6px;
    bottom: 3px;
  }
  .maintenance-roadmap {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 22px;
  }
  .maintenance-roadmap span {
    font-size: 6px;
  }
  .maintenance-roadmap strong {
    font-size: 10px;
  }
  .maintenance-roadmap p {
    grid-column: 1/-1;
    justify-self: start;
    text-align: left;
    max-width: 100%;
    font-size: 9px;
  }
  .maintenance-footer {
    font-size: 6px;
    padding-bottom: 25px;
  }
  .intro-wordmark {
    letter-spacing: -3px;
  }
  .intro-caption {
    font-size: 6px;
    gap: 35px;
  }
  .intro-visual {
    margin-top: -25px;
  }
  .intro-top {
    font-size: 6px;
    top: 20px;
  }
  .intro-progress {
    bottom: 35px;
  }
}
.result-content {
  position: relative;
  z-index: 2;
}
#confettiCanvas {
  z-index: 1;
}
.whatsapp-link[hidden] {
  display: none;
}
.result-art {
  perspective: 650px;
}
.result-art img {
  transform-style: preserve-3d;
  box-shadow:
    4px 8px 0 #0003,
    0 13px 25px #0003;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
.scene-unavailable {
  opacity: 0;
}
/* Control room */
.admin-body {
  background: #111416;
}
.admin-body [hidden] {
  display: none !important;
}
.admin-landing-header {
  height: 105px;
  padding: 0 6%;
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.admin-landing-header > span {
  font-size: 8px;
  color: #858788;
  letter-spacing: 1.2px;
}
.signed-in .admin-landing-header {
  display: none;
}
.control-login {
  max-width: 1188px;
  min-height: calc(100svh - 105px);
  margin: auto;
  padding: 60px 35px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10%;
  align-items: center;
}
.control-login-art {
  position: relative;
  height: 400px;
  background: radial-gradient(ellipse, #ffffff03, transparent 65%);
}
.control-login-art > canvas {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
.login-art-caption {
  position: absolute;
  bottom: 15px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 6px;
  letter-spacing: 1.2px;
  color: #747677;
}
.control-login-form {
  max-width: 400px;
}
.control-login-form h1 {
  font-size: 47px;
  margin: 20px 0 18px;
}
.control-login-form > p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.control-login-form form {
  margin-top: 29px;
}
.control-login-form label {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #c3c5c6;
}
.password-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #11191c;
  border: 1px solid #364647;
  border-radius: 5px;
  margin-top: 9px;
  overflow: hidden;
}
.password-field input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.password-field > button {
  font-size: 9px;
  color: #a8aaab;
  padding: 12px;
  min-width: 52px;
  flex-shrink: 0;
}
.control-login-form input {
  width: 100%;
  padding: 15px;
  color: var(--text);
  font-size: 13px;
  outline: none;
}
.control-login-form .spin-button {
  margin-top: 16px;
}
.login-note {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 28px;
  font-size: 9px;
  line-height: 1.9;
  color: #8a8c8d;
}
.control-login-form > .text-link {
  margin-top: 18px;
  font-size: 9px;
}
.inline-feedback {
  display: none;
  padding: 15px 18px;
  background: #333639;
  border: 1px solid #686a6b;
  color: #dfe1e2;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.8;
  margin: 18px 0;
  overflow-wrap: anywhere;
}
.inline-feedback.visible {
  display: block;
  animation: page-enter 0.3s var(--ease);
}
.inline-feedback.error {
  background: #3b2825;
  border-color: #734b3c;
  color: #deb5a0;
}
.admin-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100svh;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  padding: 29px 18px 20px;
  background: #13191b;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #595b5c transparent;
}
.admin-sidebar > .maintenance-brand {
  padding: 0 13px;
  font-size: 26px;
}
.sidebar-section-label {
  font-size: 7px;
  letter-spacing: 1.4px;
  color: #6d6f70;
  padding: 0 14px;
  margin-top: 45px;
  margin-bottom: 13px;
}
.admin-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-tabs button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 12px 14px;
  font-size: 11px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #a6a8a9;
  min-height: 40px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.admin-tabs button > span {
  font-size: 7px;
  font-weight: 500;
  color: #77797a;
  min-width: 13px;
}
.admin-tabs button:hover {
  background: #232629;
  color: #dfe1e2;
}
.admin-tabs .selected {
  color: #dfe1e2;
  background: #2e3134;
  border-color: #565859;
}
.admin-tabs .selected > span {
  color: var(--red);
}
.sidebar-bottom {
  margin-top: auto;
  padding: 30px 13px 0;
}
.sidebar-bottom > a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #969899;
  font-size: 9px;
  padding-bottom: 20px;
  border-bottom: 1px solid #3b3e41;
}
.admin-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 15px;
}
.admin-avatar {
  width: 29px;
  height: 29px;
  background: #565859;
  color: #d8dadb;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 600 10px Manrope;
}
.admin-identity strong {
  font-size: 10px;
  font-weight: 500;
  display: block;
  color: #dee0e1;
}
.admin-identity small {
  font-size: 7px;
  color: #7a7c7d;
  display: block;
  margin-top: 4px;
}
.logout-button {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  font-size: 8px;
  color: #959798;
  padding: 8px 0;
}
.admin-content {
  min-width: 0;
  padding: 0 42px;
  max-width: 1640px;
  width: 100%;
  margin: auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}
.admin-topbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
}
.admin-topbar > div > span {
  font-size: 7px;
  letter-spacing: 1px;
  color: #7f8182;
}
.admin-topbar b {
  font-weight: 400;
  margin-left: 12px;
  color: #626465;
}
.admin-topbar strong {
  font-weight: 450;
  color: #c5c7c8;
}
.admin-connection {
  font-size: 7px;
  letter-spacing: 0.8px;
  color: #959798;
}
.admin-page-heading {
  padding: 38px 0 30px;
}
.admin-page-heading > .overline {
  font-size: 7px;
  letter-spacing: 1.4px;
  color: #7f8182;
}
.admin-page-heading h1 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 550;
  margin: 12px 0;
}
.admin-page-heading > p {
  font-size: 11px;
  line-height: 1.8;
  color: #959798;
}
.admin-pane {
  display: none;
  min-width: 0;
}
.admin-pane.active {
  display: block;
  animation: page-enter 0.35s var(--ease);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.metric-grid article {
  border: 1px solid #535556;
  background: #1e2124;
  padding: 22px 20px;
  border-radius: 7px;
}
.metric-grid article > span {
  font-size: 7px;
  letter-spacing: 1px;
  color: #959798;
  display: block;
}
.metric-grid strong {
  display: block;
  font: 550 39px Manrope;
  letter-spacing: -1.5px;
  margin-top: 16px;
  color: #dfe1e2;
}
.metric-grid small {
  font-size: 8px;
  color: #747677;
  display: block;
  margin-top: 9px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}
.control-card {
  background: #1d2023;
  border: 1px solid #3c3f42;
  border-radius: 8px;
  padding: 26px;
  min-width: 0;
}
.control-card > .overline {
  font-size: 7px;
  color: #8f9192;
}
.control-card h2 {
  font-size: 25px;
  font-weight: 550;
  margin-top: 13px;
  letter-spacing: -1px;
}
.control-card > p {
  font-size: 11px;
  line-height: 1.9;
  color: #a5a7a8;
  margin-top: 16px;
}
.control-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.control-card-heading h2 {
  margin-top: 12px;
}
.control-card-heading .overline {
  font-size: 7px;
}
.status-pill {
  font-size: 7px;
  letter-spacing: 0.7px;
  border: 1px solid #747677;
  border-radius: 20px;
  padding: 6px 9px;
  color: #cacccd;
  white-space: nowrap;
  background: #b7d18d05;
}
.status-pill.paused {
  border-color: #865b3f;
  color: #dab088;
  background: #f1594505;
}
.status-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 9px;
  padding: 17px 0;
  border-bottom: 1px solid #3d4043;
}
.status-detail > span {
  font-size: 7px;
  letter-spacing: 0.8px;
  color: #7e8081;
}
.status-detail strong {
  font-size: 10px;
  font-weight: 450;
  color: #cccecf;
}
.overview-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.overview-actions .secondary-button {
  font-size: 9px;
  padding: 11px 14px;
}
.quick-actions {
  margin-top: 17px;
}
.quick-actions button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 15px 0;
  border-bottom: 1px solid #3c3f42;
}
.quick-actions button:last-child {
  border-bottom: 0;
}
.quick-actions span {
  font-size: 11px;
  color: #d8dadb;
}
.quick-actions small {
  display: block;
  color: #7e8081;
  font-size: 8px;
  margin-top: 7px;
}
.quick-actions b {
  font-size: 18px;
  font-weight: 400;
  color: #969899;
}
.admin-form-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(220px, 0.8fr);
  gap: 40px;
  align-items: start;
}
.admin-card label {
  display: block;
  font-size: 10px;
  color: #c6c8c9;
}
.admin-card input,
.admin-card select,
.admin-card textarea {
  display: block;
  width: 100%;
  border: 1px solid #5e6061;
  border-radius: 5px;
  background: #181b1e;
  color: #dfe1e2;
  padding: 13px;
  margin-top: 9px;
  font-size: 12px;
  min-height: 43px;
}
.admin-card textarea {
  resize: vertical;
  line-height: 1.8;
}
.admin-card form {
  margin-top: 24px;
}
.admin-card form > label + label {
  margin-top: 19px;
}
.admin-card form > .spin-button {
  margin-top: 23px;
}
.admin-card .password-field {
  background: #181b1e;
  border-color: #5e6061;
}
.admin-card .password-field > button {
  color: #a9abac;
}
.form-inline {
  display: flex;
  align-items: flex-end;
  gap: 13px;
}
.form-inline label {
  flex: 1;
  min-width: 0;
}
.form-inline > .secondary-button {
  min-height: 43px;
  white-space: nowrap;
}
.field-hint {
  font-size: 9px;
  color: #828485;
  line-height: 1.8;
  margin: 10px 0 18px;
}
.context-note {
  padding: 13px 7px;
  min-width: 0;
}
.context-note > span {
  font-size: 7px;
  letter-spacing: 1.6px;
  color: #7c7e7f;
}
.context-note h3 {
  font-size: 30px;
  font-weight: 450;
  line-height: 1.25;
  margin: 19px 0 22px;
  color: #c9cbcc;
  letter-spacing: -1.2px;
}
.context-note > p {
  font-size: 11px;
  line-height: 1.95;
  color: #8d8f90;
  max-width: 300px;
  margin-top: 15px;
}
.context-note .secondary-button {
  margin-top: 22px;
  font-size: 10px;
}
.context-note .text-link {
  margin-top: 20px;
  color: #aaacad;
}
.preset-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.preset-buttons button,
.rule-shortcuts button {
  border: 1px solid #5f6162;
  background: #292c2f;
  color: #b7b9ba;
  font-size: 9px;
  border-radius: 4px;
  padding: 9px 15px;
}
.account-manager {
  margin-top: 28px;
  border-top: 1px solid #57595a;
  padding-top: 22px;
}
.account-manager h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.6px;
}
.account-manager form {
  margin-top: 20px;
}
.panel-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.panel-toolbar > span {
  font-size: 9px;
  color: #8d8f90;
}
.panel-toolbar h3 {
  font-size: 19px;
  font-weight: 500;
}
.inventory-toolbar {
  margin-top: 35px;
}
.rule-list {
  margin-top: 12px;
}
.rule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid #373a3d;
  font-size: 11px;
  line-height: 1.7;
  min-width: 0;
}
.rule-row > div {
  min-width: 0;
}
.rule-row strong {
  font-size: 11px;
  font-weight: 450;
  color: #d8dadb;
  overflow-wrap: anywhere;
}
.rule-row small {
  display: block;
  font-size: 9px;
  color: #828485;
  margin-top: 4px;
  line-height: 1.8;
}
.rule-row > button,
.row-actions button {
  border: 1px solid #6e7071;
  border-radius: 4px;
  font-size: 8px;
  padding: 8px 11px;
  white-space: nowrap;
  color: #b9bbbc;
  min-height: 34px;
}
.rule-row > button:hover,
.row-actions button:hover {
  background: #34373a;
}
.row-actions {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.rule-summary {
  background: #24272a;
  border: 1px solid #606263;
  padding: 13px 15px;
  border-radius: 5px;
  color: #aeb0b1;
  font-size: 10px;
  line-height: 1.9;
  margin: 15px 0;
}
.rule-shortcuts {
  margin: 0 0 20px;
}
.mode-card {
  max-width: 1000px;
}
.mode-card > p {
  max-width: 650px;
}
.mode-card form {
  margin-top: 25px;
}
.mode-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mode-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  padding: 20px;
  background: #1d2023;
  border: 1px solid #595b5c;
  border-radius: 6px;
  transition:
    background 0.25s,
    border-color 0.25s;
  min-width: 0;
}
.mode-option:has(input:checked) {
  background: #2e3134;
  border-color: #a1a3a4;
}
.mode-option input {
  position: absolute;
  right: 17px;
  top: 19px;
  width: 14px;
  height: 14px;
  accent-color: var(--red);
}
.mode-option-index {
  font-size: 9px;
  color: #7d7f80;
}
.mode-option strong {
  display: block;
  font: 500 23px Manrope;
  letter-spacing: -1px;
  margin-top: 26px;
  color: #d6d8d9;
}
.mode-option p {
  font-size: 10px;
  line-height: 1.8;
  color: #97999a;
  margin-top: 13px;
  flex: 1;
}
.mode-option small {
  font-size: 6px;
  letter-spacing: 1px;
  color: #6f7172;
  border-top: 1px solid #5b5d5e;
  padding-top: 16px;
  margin-top: 22px;
  width: 100%;
}
.mode-card .spin-button {
  max-width: 280px;
  margin-top: 25px;
}
.table-filters {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.table-filters > select {
  font-size: 10px;
  color: #b1b3b4;
  background: #222528;
  padding: 11px;
  border: 1px solid #5c5e5f;
  border-radius: 4px;
  max-width: 200px;
}
.table-scroll {
  overflow-x: auto;
  margin-top: 8px;
  scrollbar-width: thin;
  scrollbar-color: #6b6d6e transparent;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
th {
  text-align: left;
  font-size: 7px;
  letter-spacing: 0.8px;
  color: #7c7e7f;
  font-weight: 500;
  padding: 17px 12px;
  border-bottom: 1px solid #3e4144;
}
td {
  font-size: 10px;
  color: #b0b2b3;
  padding: 18px 12px;
  border-bottom: 1px solid #35383b;
  line-height: 1.8;
}
#historyRows td:first-child {
  max-width: 230px;
  white-space: normal;
  overflow-wrap: anywhere;
}
#historyRows td:first-child > span {
  font-size: 8px;
  color: #97999a;
}
#historyRows td:first-child small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
  color: #c9cbcc;
}
#historyRows .secondary-button {
  font-size: 8px;
  padding: 9px 12px;
  min-height: 34px;
}
.switch-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 22px;
  border-bottom: 1px solid #595b5c;
  margin-bottom: 21px;
}
.switch-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #d3d5d6;
}
.switch-row small {
  display: block;
  font-size: 9px;
  color: #818384;
  line-height: 1.8;
  margin-top: 8px;
  max-width: 275px;
}
.switch-control {
  position: relative;
  display: block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.switch-control input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
  min-height: 0;
}
.switch-control i {
  position: absolute;
  inset: 0;
  background: #34373a;
  border: 1px solid #737576;
  border-radius: 20px;
  transition: background 0.2s;
}
.switch-control i:after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #8a8c8d;
  left: 3px;
  top: 3px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.switch-control input:checked + i {
  background: #7c4930;
  border-color: #a65d39;
}
.switch-control input:checked + i:after {
  transform: translateX(18px);
  background: #efac79;
}
.switch-control input:focus-visible + i {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
.key-tools {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}
.key-tools button {
  font-size: 9px;
  color: #a9abac;
  padding: 8px 0;
}
.control-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding: 50px 0 25px;
  font-size: 6px;
  color: #646667;
  letter-spacing: 1px;
}
.confirm-dialog {
  width: min(420px, calc(100% - 30px));
  border: 1px solid #626465;
  background: #202326;
  color: #dfe1e2;
  border-radius: 9px;
  padding: 30px;
}
.confirm-dialog h2 {
  font-size: 26px;
  line-height: 1.2;
  margin-top: 18px;
  font-weight: 500;
}
.confirm-dialog > p {
  font-size: 12px;
  line-height: 1.9;
  color: #a0a2a3;
  margin: 17px 0 25px;
}
.confirm-dialog > div {
  display: flex;
  gap: 12px;
}
.confirm-dialog > div > .spin-button {
  flex: 1;
  font-size: 11px;
  padding: 13px 18px;
}
.confirm-dialog > div > .secondary-button {
  min-width: 90px;
}
.admin-body .toast {
  bottom: 25px;
}
.admin-pane form .spin-button {
  font-size: 12px;
}
.admin-sidebar a,
.admin-tabs button {
  flex-shrink: 0;
}
@media (min-width: 1650px) {
  .admin-content {
    padding: 0 60px;
  }
  .admin-shell {
    grid-template-columns: 250px 1fr;
  }
  .admin-sidebar {
    padding-left: 24px;
    padding-right: 24px;
  }
  .admin-content .admin-page-heading {
    padding-top: 45px;
    padding-bottom: 35px;
  }
  .admin-page-heading h1 {
    font-size: 42px;
  }
  .metric-grid strong {
    font-size: 44px;
  }
}
@media (max-width: 1150px) {
  .admin-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .admin-content {
    padding: 0 27px;
  }
  .admin-sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .admin-tabs button {
    font-size: 10px;
    padding: 11px 12px;
    gap: 10px;
  }
  .metric-grid {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-grid article {
    padding: 20px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-layout {
    gap: 25px;
    grid-template-columns: minmax(280px, 1.1fr) minmax(180px, 0.7fr);
  }
  .control-card {
    padding: 23px;
  }
  .context-note h3 {
    font-size: 27px;
  }
  .mode-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mode-option {
    padding: 18px 20px;
  }
  .mode-option strong {
    margin-top: 13px;
    font-size: 24px;
  }
  .mode-option p {
    margin-top: 10px;
    max-width: 500px;
  }
  .mode-option small {
    margin-top: 17px;
    padding-top: 13px;
  }
  .panel-toolbar .search-field {
    width: 230px;
  }
  .table-filters {
    flex-wrap: wrap;
  }
  .mode-card .spin-button {
    max-width: 100%;
  }
}
@media (max-width: 850px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: relative;
    top: auto;
    height: auto;
    padding: 21px 22px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }
  .admin-sidebar > .maintenance-brand {
    padding: 0;
    font-size: 25px;
  }
  .sidebar-section-label {
    display: none;
  }
  .admin-tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 5px;
    margin-top: 23px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .admin-tabs::-webkit-scrollbar {
    display: none;
  }
  .admin-tabs button {
    white-space: nowrap;
    font-size: 10px;
    padding: 11px 14px;
  }
  .admin-tabs button > span {
    display: none;
  }
  .sidebar-bottom {
    position: absolute;
    top: 17px;
    right: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
  }
  .sidebar-bottom > a {
    padding: 0;
    border: 0;
    font-size: 8px;
  }
  .admin-identity {
    display: none;
  }
  .logout-button {
    width: auto;
    gap: 10px;
    font-size: 8px;
    min-height: 35px;
  }
  .admin-content {
    padding: 0 22px;
  }
  .admin-topbar {
    height: 56px;
  }
  .admin-page-heading {
    padding: 28px 0 25px;
  }
  .admin-page-heading h1 {
    font-size: 32px;
  }
  .admin-form-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 25px;
  }
  .metric-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .metric-grid article {
    padding: 17px 15px;
  }
  .metric-grid article > span {
    font-size: 6px;
    line-height: 1.7;
  }
  .metric-grid strong {
    font-size: 33px;
  }
  .metric-grid small {
    font-size: 7px;
    line-height: 1.7;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .control-card h2 {
    font-size: 23px;
  }
  .control-card-heading {
    display: block;
  }
  .control-card-heading > .status-pill {
    display: inline-block;
    margin-top: 14px;
  }
  .control-login {
    gap: 5%;
    padding: 40px 25px;
  }
  .control-login-form h1 {
    font-size: 39px;
  }
  .control-login-art {
    height: 340px;
  }
  .context-note > p {
    font-size: 10px;
  }
  .context-note h3 {
    font-size: 26px;
  }
  .context-note > span {
    font-size: 6px;
  }
}
@media (max-width: 600px) {
  .admin-landing-header {
    height: 85px;
    padding: 0 20px;
  }
  .admin-landing-header > span {
    font-size: 6px;
    letter-spacing: 0.8px;
  }
  .control-login {
    min-height: calc(100svh - 85px);
    grid-template-columns: 1fr;
    padding: 25px 24px 45px;
    gap: 5px;
  }
  .control-login-art {
    height: 205px;
    order: 2;
    display: none;
  }
  .control-login-form {
    max-width: 100%;
    padding-top: 15px;
  }
  .control-login-form h1 {
    font-size: 44px;
  }
  .control-login-form input {
    font-size: 16px;
    padding: 16px;
  }
  .control-login-form > .overline {
    font-size: 8px;
  }
  .control-login-form > p {
    font-size: 12px;
  }
  .control-login-form label {
    font-size: 9px;
  }
  .login-note {
    font-size: 10px;
  }
  .control-login-form .password-field > button {
    font-size: 10px;
    min-height: 44px;
  }
  .admin-sidebar {
    padding: 20px 18px 10px;
  }
  .admin-sidebar > .maintenance-brand {
    font-size: 24px;
  }
  .sidebar-bottom {
    right: 18px;
    top: 17px;
    gap: 14px;
  }
  .sidebar-bottom > a {
    font-size: 7px;
  }
  .logout-button {
    font-size: 7px;
  }
  .logout-button span {
    display: none;
  }
  .admin-tabs {
    margin-top: 20px;
  }
  .admin-tabs button {
    font-size: 10px;
    min-height: 44px;
    padding: 12px 13px;
  }
  .admin-content {
    padding: 0 18px;
  }
  .admin-topbar > div {
    font-size: 8px;
    gap: 8px;
  }
  .admin-topbar > div > span {
    font-size: 6px;
  }
  .admin-topbar b {
    margin-left: 8px;
  }
  .admin-connection {
    font-size: 6px;
    max-width: 120px;
    line-height: 1.6;
    text-align: right;
  }
  .admin-page-heading h1 {
    font-size: 29px;
    line-height: 1.2;
  }
  .admin-page-heading > p {
    font-size: 11px;
  }
  .admin-page-heading > .overline {
    font-size: 6px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
  }
  .metric-grid article {
    padding: 19px 17px;
  }
  .metric-grid article > span {
    font-size: 7px;
  }
  .metric-grid strong {
    font-size: 37px;
  }
  .metric-grid small {
    font-size: 8px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 18px;
  }
  .control-card {
    padding: 23px 20px;
  }
  .control-card-heading {
    display: flex;
  }
  .control-card-heading > .status-pill {
    margin-top: 0;
  }
  .control-card h2 {
    font-size: 25px;
  }
  .control-card > p {
    font-size: 12px;
  }
  .overview-actions .secondary-button {
    font-size: 9px;
    padding: 11px 13px;
    min-height: 44px;
  }
  .quick-actions span {
    font-size: 12px;
  }
  .quick-actions small {
    font-size: 9px;
  }
  .quick-actions button {
    min-height: 65px;
  }
  .admin-form-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .admin-card label {
    font-size: 11px;
  }
  .admin-card input,
  .admin-card textarea,
  .admin-card select {
    font-size: 16px;
    min-height: 46px;
    padding: 13px;
  }
  .admin-card .password-field > button {
    font-size: 10px;
    min-height: 44px;
  }
  .field-hint {
    font-size: 10px;
  }
  .context-note {
    padding: 8px 4px;
  }
  .context-note h3 {
    font-size: 28px;
    margin-top: 13px;
    margin-bottom: 15px;
  }
  .context-note h3 br {
    display: none;
  }
  .context-note > p {
    font-size: 11px;
    max-width: 100%;
  }
  .context-note > span {
    font-size: 7px;
  }
  .panel-toolbar {
    gap: 15px;
    flex-wrap: wrap;
  }
  .panel-toolbar .search-field {
    width: 100%;
  }
  .panel-toolbar > span {
    font-size: 10px;
  }
  .panel-toolbar h3 {
    font-size: 19px;
  }
  .inventory-toolbar {
    margin-top: 28px;
  }
  .rule-row {
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 18px 0;
  }
  .rule-row strong {
    font-size: 11px;
  }
  .rule-row small {
    font-size: 10px;
    line-height: 1.8;
  }
  .rule-row > button,
  .row-actions button {
    min-height: 40px;
    font-size: 9px;
  }
  .row-actions {
    width: 100%;
    gap: 8px;
    margin-top: 4px;
  }
  .row-actions button {
    flex: 1;
  }
  .preset-buttons button {
    min-height: 42px;
    font-size: 10px;
    flex: 1;
  }
  .rule-summary {
    font-size: 11px;
  }
  .rule-shortcuts button {
    min-height: 42px;
    font-size: 10px;
  }
  .form-inline {
    flex-wrap: wrap;
  }
  .form-inline > label {
    min-width: 110px;
  }
  .form-inline > .secondary-button {
    min-height: 46px;
  }
  .mode-option p {
    font-size: 11px;
  }
  .mode-option strong {
    font-size: 25px;
  }
  .mode-option small {
    font-size: 7px;
  }
  .mode-card > p {
    font-size: 12px;
  }
  .table-filters {
    width: 100%;
  }
  .table-filters select {
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    min-height: 45px;
  }
  .table-filters .search-field {
    width: 100%;
  }
  th {
    font-size: 7px;
    padding: 16px 10px;
  }
  td {
    font-size: 10px;
    padding: 17px 10px;
  }
  #historyRows .secondary-button {
    min-height: 42px;
    font-size: 9px;
  }
  .switch-row strong {
    font-size: 13px;
  }
  .switch-row small {
    font-size: 10px;
    max-width: 230px;
  }
  .switch-control {
    width: 46px;
    height: 26px;
  }
  .switch-control i:after {
    width: 18px;
    height: 18px;
  }
  .switch-control input:checked + i:after {
    transform: translateX(20px);
  }
  .key-tools button {
    font-size: 10px;
    min-height: 40px;
  }
  .control-footer {
    padding-top: 35px;
    padding-bottom: 25px;
    font-size: 6px;
  }
  .confirm-dialog {
    padding: 27px 23px;
  }
  .confirm-dialog h2 {
    font-size: 27px;
  }
  .confirm-dialog > p {
    font-size: 12px;
  }
  .confirm-dialog .secondary-button,
  .confirm-dialog .spin-button {
    min-height: 45px;
  }
}
.mobile-spin-dock {
  display: none;
}
.admin-tabs button {
  font-size: 12px;
}
.metric-grid article > span {
  font-size: 9px;
}
.metric-grid article > small {
  font-size: 10px;
}
.control-card > .overline,
.control-card-heading .overline {
  font-size: 8px;
}
.admin-topbar > div > span {
  font-size: 8px;
}
.admin-page-heading > p {
  font-size: 12px;
}
.admin-card label {
  font-size: 11px;
}
.context-note > p {
  font-size: 12px;
}
.rule-row strong {
  font-size: 12px;
}
.rule-row small {
  font-size: 10px;
}
.club-nav .nav-link {
  font-size: 12px;
}
.machine-topline,
.machine-bottomline {
  font-size: 8px;
}
.spin-hint {
  font-size: 9px;
}
.wallet-description {
  font-size: 12px;
}
.transfer-note p {
  font-size: 10px;
}
.fair-note p {
  font-size: 10px;
}
@media (max-width: 850px) {
  .admin-tabs button {
    font-size: 11px;
  }
  .metric-grid article > span {
    font-size: 8px;
  }
  .metric-grid article > small {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  .mobile-spin-dock:not([hidden]) {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    z-index: 19;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 17px;
    padding: 11px 12px 11px 17px;
    background: #1a2022f2;
    border: 1px solid #4a5350;
    border-radius: 7px;
    box-shadow: 0 -7px 35px #0005;
    backdrop-filter: blur(12px);
    animation: page-enter 0.25s var(--ease);
  }
  .mobile-spin-dock small {
    font-size: 6px;
    letter-spacing: 1px;
    color: #788b82;
    display: block;
  }
  .mobile-spin-dock strong {
    display: block;
    font: 500 18px Manrope;
    letter-spacing: -0.7px;
    margin-top: 3px;
  }
  .mobile-spin-dock > button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 17px;
    background: var(--red);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #17201d;
    min-height: 45px;
    gap: 10px;
  }
  .mobile-spin-dock > button b {
    font-size: 17px;
    font-weight: 400;
  }
  .machine-topline,
  .machine-bottomline {
    font-size: 6px;
  }
  .wallet-description {
    font-size: 12px;
  }
  .transfer-note p {
    font-size: 11px;
  }
  .spin-hint {
    font-size: 10px;
  }
  .club-footer {
    padding-bottom: calc(172px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 370px) {
  .mobile-spin-dock:not([hidden]) {
    left: 12px;
    right: 12px;
    gap: 10px;
    padding-left: 13px;
  }
  .mobile-spin-dock > button {
    font-size: 11px;
    padding: 14px;
  }
  .machine-topline {
    font-size: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-spin-dock {
    animation: none !important;
  }
}

/* Maintenance: a quiet pause, in ERAWLN's own colours. */
.maintenance-light {
  background: #f6f5f1;
  color: #252b28;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: inherit;
}
.pause-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 44px 24px 20px;
}
.pause-header > span {
  font-size: 9px;
  letter-spacing: 3px;
  color: #858983;
}
.pause-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #252b28;
  text-decoration: none;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1px;
}
.pause-brand sup {
  font-size: 11px;
  align-self: flex-start;
  margin-top: 5px;
}
.pause-mark {
  display: grid;
  place-items: center;
  background: #ef7659;
  color: white;
  width: 30px;
  height: 33px;
  border-radius: 8px;
  font-size: 23px;
  transform: rotate(-7deg);
}
.pause-main {
  flex: 1;
  text-align: center;
  padding: 60px 0 56px;
  overflow: hidden;
}
.pause-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #787e77;
}
.pause-status i {
  width: 6px;
  height: 6px;
  background: #ef7659;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #ef765912;
}
.pause-main h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -2.7px;
  font-weight: 650;
  margin: 27px 20px 22px;
}
.pause-description {
  font-size: 15px;
  line-height: 1.8;
  max-width: 450px;
  margin: 0 auto;
  color: #7a8079;
  padding: 0 24px;
}
.pause-art {
  max-width: 1100px;
  margin: 22px auto 6px;
}
.pause-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.plug-left {
  animation: plug-left 4s ease-in-out infinite;
}
.plug-right {
  animation: plug-right 4s ease-in-out infinite;
}
.plug-sparks {
  animation: plug-spark 4s ease-in-out infinite;
  transform-origin: 514px 148px;
}
.pause-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 0 20px;
}
.pause-actions button {
  border: 1px solid #dedfd7;
  background: #fff;
  color: #303630;
  padding: 14px 21px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.pause-actions button:hover {
  background: #eeede6;
  transform: translateY(-2px);
}
.pause-actions button:disabled {
  opacity: 0.5;
}
.pause-actions a {
  font-size: 13px;
  color: #555e55;
  text-decoration: none;
}
.pause-actions button span {
  margin-left: 12px;
}
#maintenanceStatus {
  font-size: 11px;
  color: #969b93;
  margin: 20px 24px 0;
  min-height: 18px;
}
.pause-footer {
  border-top: 1px solid #e2e3db;
  margin: 0 5%;
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #8b9187;
  letter-spacing: 0.4px;
}
.pause-footer a {
  color: inherit;
  text-decoration: none;
}
@keyframes plug-left {
  50% {
    transform: translateX(-12px);
  }
}
@keyframes plug-right {
  50% {
    transform: translateX(12px);
  }
}
@keyframes plug-spark {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 600px) {
  .pause-header {
    padding-top: 32px;
  }
  .pause-main {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .pause-main h1 {
    letter-spacing: -1.8px;
  }
  .pause-art {
    width: 155%;
    margin-left: -27.5%;
    margin-top: 28px;
    margin-bottom: 24px;
  }
  .pause-description {
    font-size: 13px;
  }
  .pause-footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }
  .pause-footer span:nth-child(2) {
    width: 100%;
    order: 3;
  }
}
@media (max-width: 850px) {
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-sidebar {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .admin-tabs {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
  }
  .admin-content {
    min-width: 0;
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plug-left,
  .plug-right,
  .plug-sparks {
    animation: none;
  }
}

/* Studio-lit monogram, with a restrained grounding shadow. */
.intro-screen {
  background: #111214;
}
.intro-visual::after {
  content: '';
  position: absolute;
  bottom: 8%;
  left: 29%;
  width: 42%;
  height: 6%;
  border-radius: 50%;
  background: #000;
  filter: blur(13px);
  opacity: 0.38;
  transform: rotate(-5deg);
  pointer-events: none;
}
.intro-wordmark {
  font-weight: 650;
  letter-spacing: -4px;
}
