@font-face {
  font-family: Lotti;
  src: url(/fonts/Roboto-Regular.ttf) format("truetype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg:#10171e;
  --panel:#172129;
  --panel-raised:#1d2a33;
  --line:#2b3943;
  --text:#eef3f5;
  --muted:#9bacb8;
  --accent:#b9f277;
  --accent-ink:#18270d;
  --danger:#ff9292;
  --radius:20px;
  --sidebar:216px;
  --shadow:0 16px 48px #00000012;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Lotti,
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: .6;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(25px, 2.8vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1px;
}
h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}
h3 {
  font-size: 15px;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  flex-shrink: 0;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
strong {
  font-weight: 700;
}
small {
  font-size: 12px;
}
button {
  color: inherit;
  border: 0;
}
a,
button,
input,
textarea,
select,
summary {
  outline-offset: 5px;
}
:focus-visible {
  outline: 2px solid var(--accent);
}
[hidden],
.hidden {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 20px;
  z-index: 500;
  border-radius: 12px;
}
.skip-link:focus {
  top: 16px;
}
.icon {
  display: inline-block;
  vertical-align: middle;
}
.muted,
.microcopy,
.page-subtitle {
  color: var(--muted);
}
.microcopy {
  font-size: 12px;
  line-height: 1.65;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.surface,
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.button-transparent,
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
}
.button-primary,
.btn-outline-primary,
.btn-outline-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid #41525f;
}
.button-transparent,
.button-primary,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  transition:
    background .15s,
    border-color .15s,
    transform .15s;
}
.button-transparent:hover,
.btn-primary:hover {
  background: #cef69f;
  border-color: #cef69f;
}
.button-primary:hover,
.btn-outline-primary:hover {
  background: var(--panel-raised);
  border-color: var(--muted);
}
.button-transparent:active,
.button-primary:active {
  transform: translateY(1px);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 9px;
  background: transparent;
  border-radius: 11px;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--panel-raised);
  color: var(--text);
}
.text-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.text-link:hover {
  color: var(--accent);
}
.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100dvh;
}
.app-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 31px 20px 22px;
  border-right: 1px solid var(--line);
  background: #131c23;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -2px;
  padding-right: 2px;
}
.brand-name {
  font-size: 22px;
  letter-spacing: -.8px;
  font-weight: 700;
  line-height: 1.05;
}
.brand-suffix {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  margin-top: 5px;
  text-transform: uppercase;
  color: var(--muted);
}
.mobile-nav {
  margin-top: 48px;
}
.nav-caption {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #879ba9;
  margin: 0 12px 14px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  margin: 4px 0;
  border-radius: 11px;
  color: var(--muted);
  font-size: 13px;
  min-height: 44px;
}
.nav-item.active {
  background: #29382a;
  color: var(--accent);
  font-weight: 700;
}
.nav-item:hover {
  background: var(--panel-raised);
  color: var(--text);
}
.nav-item .icon {
  width: 18px;
  height: 18px;
}
.admin-link {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 18px;
  border-radius: 0;
}
.nav-arrow {
  margin-left: auto;
}
.sidebar-help {
  width: 100%;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--accent);
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 25px;
  font-size: 10px;
  color: var(--muted);
}
.version-label {
  margin-left: auto;
  font-size: 9px;
  color: #6e8391;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 10px #b9f2772b;
}
.workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      ellipse at 85% 30%,
      #19332822,
      transparent 65%);
}
.header {
  border-bottom: 1px solid var(--line);
  padding: 20px 32px;
  min-height: 87px;
  background: #10171ee0;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1380px;
  margin: auto;
}
.header-intro .eyebrow {
  font-size: 9px;
  color: #7f95a4;
  letter-spacing: 2.3px;
}
.header-intro p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.header-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-profile form {
  margin: 0;
}
.wallet-pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 7px 8px 7px 12px;
  min-height: 40px;
  border-radius: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wallet-pill > .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.currency {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.wallet-plus {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: var(--accent);
  background: #2e3e2c;
  margin-left: 4px;
  font-size: 17px;
}
.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  max-width: 130px;
}
.user-initial {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: #30403a;
  border: 1px solid #526849;
  border-radius: 50%;
  color: var(--accent);
  font-size: 13px;
}
.user-name {
  max-width: 80px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.header-buttons {
  display: flex;
  gap: 9px;
}
.language-form {
  display: flex;
  align-items: center;
  margin: 0 !important;
  gap: 5px;
}
.language-form select {
  background: transparent;
  color: var(--muted);
  border: 0;
  cursor: pointer;
  width: 92px;
  min-height: 40px;
  padding: 7px 16px 7px 5px;
  font-size: 12px;
}
.language-form option {
  background: var(--panel);
  color: var(--text);
}
.language-form button {
  display: none;
}
.mobile-logo,
.header-burger {
  display: none;
}
.workspace-main {
  flex: 1;
  width: 100%;
  max-width: 1444px;
  margin: auto;
  padding: 28px 32px 36px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 25px;
}
.page-heading .eyebrow {
  margin-bottom: 11px;
}
.page-subtitle {
  margin-top: 10px;
  font-size: 13px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 21px 32px;
  color: #8194a1;
  border-top: 1px solid var(--line);
  font-size: 10px;
}
.footer p span {
  margin: 0 5px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer a:hover {
  color: var(--accent);
}
.online-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.online-counter .status-dot {
  width: 4px;
  height: 4px;
}
.online-counter span {
  margin: 0 !important;
}
.top-users {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.community-heading {
  min-width: 195px;
  flex-shrink: 0;
}
.community-heading > div > h2 {
  font-size: 13px;
}
.community-heading > div > p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.top-users-add {
  width: 44px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border-radius: 12px;
  margin: 0;
  background: var(--accent);
  color: var(--accent-ink);
}
.top-users-add .icon {
  width: 24px;
  height: 24px;
}
.top-users-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  flex: 1;
  padding: 2px;
}
.top-users-empty {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  width: 100%;
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 24px;
}
.community-empty-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--panel-raised);
  color: #78908e;
}
.top-users-empty p {
  font-size: 12px;
  color: #b0bfca;
}
.top-users-empty p span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.top-user {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 160px;
  width: 160px;
  min-width: 0;
  height: 50px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1b2730;
}
.top-user > img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.top-user-massage {
  min-width: 0;
  position: relative;
  width: 100%;
  padding-right: 20px;
}
.top-user-name {
  display: block;
  font-size: 11px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.top-user-text {
  display: block;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.send-money-btn {
  position: static;
  flex: 0 0 20px;
  width: 20px;
  height: 34px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--accent);
  border-radius: 5px;
  font-size: 0;
}
.send-money-btn .icon {
  width: 16px;
  height: 16px;
}
.top-user:focus-within,
.top-user:hover {
  border-color: #618648;
}
.community-preview {
  flex: 1;
  min-width: 0;
  text-align: left;
  background: transparent;
  color: var(--text);
  line-height: 1.5;
  padding: 2px 0;
  border-radius: 3px;
}
.community-preview:focus-visible {
  outline-offset: 2px;
}
.community-message {
  position: fixed;
  inset: auto;
  margin: 0;
  width: 310px;
  max-width: calc(100vw - 20px);
  max-height: min(350px, calc(100dvh - 20px));
  overflow-y: auto;
  padding: 14px 16px;
  border: 1px solid #49613d;
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 12px 40px #0006;
}
.community-message h2 {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.community-message .icon-button {
  flex-shrink: 0;
}
.community-message p {
  margin-top: 8px;
  color: #c4d0d5;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.arena-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: start;
}
.arena-card {
  padding: 24px 26px 18px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 38%,
      #203b2f66,
      transparent 65%),
    var(--panel);
}
.arena-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.arena-heading h2 {
  font-size: 18px;
  letter-spacing: -.4px;
  margin-top: 10px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  background: #b9f2770c;
  border: 1px solid #b9f27721;
}
.live-badge .status-dot {
  width: 4px;
  height: 4px;
}
.round-number {
  font-size: 34px;
  letter-spacing: -1.5px;
  color: #adcbb4;
  line-height: 1;
  text-align: right;
  font-weight: 700;
}
.round-number span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 7px;
}
.arena-progress {
  max-width: 460px;
  margin: 24px auto 0;
}
.arena-progress > div {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}
.arena-progress strong {
  font-size: 11px;
  color: var(--text);
}
progress {
  appearance: none;
  width: 100%;
  height: 4px;
  display: block;
  border: 0;
  border-radius: 4px;
  background: #2d3c42;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #2d3c42;
}
progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 4px;
}
progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 4px;
}
.roulette {
  position: relative;
  aspect-ratio: 1;
  max-width: 540px;
  margin: 12px auto 0;
  width: 100%;
  isolation: isolate;
}
.roulette-wheel {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 50%;
  pointer-events: none;
}
.wheel-rim {
  fill: #111c21;
  stroke: #526450;
  stroke-width: 1.5;
}
.wheel-sector {
  stroke: #304139;
  stroke-width: 1.4;
}
.sector-0 {
  fill: #1d2d30;
}
.sector-1 {
  fill: #233638;
}
.wheel-avatar-ring {
  fill: #2b3e3c;
  stroke: #54714f;
  stroke-width: 1;
}
.wheel-name {
  fill: #d4e2d8;
  font-size: 18px;
  font-weight: 600;
  font-family:
    Lotti,
    system-ui,
    sans-serif;
}
.wheel-slot {
  fill: #6f8f7e;
  font-size: 10px;
  letter-spacing: 1px;
  font-family:
    Lotti,
    system-ui,
    sans-serif;
}
.wheel-inner {
  fill: #17251e;
}
.wheel-inner-ring {
  fill: none;
  stroke: #4c6343;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.roulette-triangle {
  position: absolute;
  top: 1.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 5.5%;
  height: 5%;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 3;
  filter: drop-shadow(0 3px 8px #0007);
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 12px;
  border: 1px solid #d6f7ac;
  box-shadow: 0 0 34px #b9f2771f;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: clamp(12px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  z-index: 2;
  overflow-wrap: anywhere;
}
.play-button:hover {
  background: #c8f79b;
}
.play-button:disabled {
  opacity: 1;
  background: #71935d;
  border-color: #8da87c;
  color: #11200e;
}
.play-button.winner {
  font-size: clamp(10px, 1vw, 13px);
}
.wheel-sector.is-winner {
  fill: #344b30;
}
.wheel-seat.is-winner .wheel-avatar-ring {
  stroke: var(--accent);
  stroke-width: 3;
}
.wheel-seat.is-winner .wheel-name {
  fill: var(--accent);
}
.game-status {
  text-align: center;
  min-height: 20px;
  color: var(--muted);
  font-size: 11px;
  padding: 0 10px;
  line-height: 1.5;
  margin: 0 auto 19px;
  max-width: 500px;
}
.game-error {
  padding: 11px 14px;
  border: 1px solid #ff92922e;
  border-radius: 10px;
  background: #ff92920c;
  color: var(--danger);
  font-size: 12px;
  text-align: center;
  margin-bottom: 15px;
}
.arena-bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
  font-size: 10px;
}
.arena-bottom > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.arena-bottom .icon {
  width: 14px;
  height: 14px;
  color: #8ca990;
}
.arena-aside {
  display: grid;
  gap: 17px;
}
.roulette-info {
  padding: 22px;
}
.card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
}
.card-heading h2 {
  font-size: 14px;
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #b9f27712;
  border: 1px solid #b9f27721;
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
}
.card-icon .icon {
  width: 17px;
  height: 17px;
}
.roulette-info > .muted {
  font-size: 10px;
  margin-bottom: 4px;
}
.ticket-price {
  font-size: 45px;
  line-height: 1.3;
  letter-spacing: -1.8px;
  font-weight: 700;
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.ticket-price > span + span {
  font-size: 12px;
  letter-spacing: .6px;
  color: var(--muted);
  font-weight: 400;
}
.ticket-choose {
  width: 100%;
  justify-content: space-between;
  font-size: 11px;
  margin: 17px 0 21px;
  min-height: 41px;
}
.ticket-choose > .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.round-finances {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 13px;
}
.round-finances > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
}
.round-finances strong {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.round-finances strong small {
  font-size: 8px;
  font-weight: 400;
  color: var(--muted);
}
.round-finances > div:nth-child(2) strong {
  color: var(--accent);
}
.roulette-info .microcopy {
  font-size: 9px;
}
.last-winners {
  padding: 20px;
}
.last-winners .card-heading {
  margin-bottom: 16px;
}
.trophy-icon {
  background: #f9d8830d;
  border-color: #f9d88320;
  color: #f9d883;
}
.winner-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}
.winner-user-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}
.winner-user-name {
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.winner-star {
  margin-left: auto;
  font-size: 16px;
  color: #f9d883;
}
.winners-empty {
  text-align: center;
  padding: 10px 5px 4px;
}
.winners-empty > span {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px dashed #41594c;
  border-radius: 50%;
  margin: 0 auto 10px;
  color: #809873;
  font-size: 20px;
}
.winners-empty p {
  font-size: 11px;
  color: #bdcbc4;
}
.winners-empty small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.round-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
}
.tip-number {
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -2px;
  color: #78946b;
}
.round-tip h3 {
  font-size: 10px;
  color: #bfcdc2;
}
.round-tip p {
  font-size: 9px;
  margin-top: 4px;
  color: var(--muted);
}
.guest-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 44px 0 42px;
}
.hero-copy h1 {
  font-size: clamp(36px, 4.9vw, 66px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-top: 21px;
}
.hero-copy h1 > span {
  color: var(--accent);
}
.hero-copy > p {
  max-width: 405px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 23px;
  font-size: 14px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions .button-transparent {
  padding: 14px 22px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 37px;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hero-stats strong {
  font-size: 24px;
  letter-spacing: -.6px;
}
.hero-stats strong small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.hero-stats span {
  font-size: 10px;
  color: var(--muted);
}
.hero-wheel {
  position: relative;
  min-width: 0;
}
.hero-wheel .roulette {
  margin: 0;
  width: 100%;
  max-width: 525px;
}
.hero-wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  text-align: center;
  place-items: center;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #68804e;
  background:
    linear-gradient(
      145deg,
      #3e512e,
      #22321f);
  box-shadow: 0 0 50px #b9f2771d;
}
.hero-wheel-center > span {
  font-size: clamp(32px, 4vw, 55px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -4px;
  line-height: 1;
}
.hero-wheel-center small {
  font-size: 7px;
  color: #c8dfbb;
  letter-spacing: 1.5px;
  margin-top: -6px;
}
.hero-orbit {
  position: absolute;
  border: 1px solid #b9f27712;
  width: 92%;
  height: 92%;
  border-radius: 50%;
  left: 4%;
  top: 4%;
  transform: scale(1.12);
}
.orbit-two {
  transform: scale(1.24);
  border-style: dashed;
}
.hero-float {
  position: absolute;
  right: -5px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #243329;
  border: 1px solid #4f6342;
  padding: 13px 16px;
  border-radius: 14px;
  box-shadow: 0 14px 35px #0004;
  transform: rotate(-3deg);
  font-size: 11px;
}
.hero-float .icon {
  color: var(--accent);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  padding: 23px;
}
.feature-card h2 {
  font-size: 15px;
  margin-top: 15px;
}
.feature-card p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.7;
}
input:not([type=checkbox]):not([type=radio]):not([type=submit]),
textarea,
select {
  width: 100%;
  border: 1px solid #3b4b58;
  background: #131e26;
  color: var(--text);
  border-radius: 10px;
  padding: 11px 13px;
  min-height: 44px;
  max-width: 100%;
  font-size: 13px;
}
input::placeholder,
textarea::placeholder {
  color: #879ba9;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
}
input[readonly] {
  color: var(--muted);
}
textarea {
  resize: vertical;
  min-height: 115px;
}
.form-label,
.control-label {
  display: block;
  color: #bac9d2;
  font-size: 11px;
  margin: 15px 0 7px;
}
.form-text {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.form-group,
.mb-3 {
  margin-bottom: 16px;
}
.mt-3 {
  margin-top: 16px;
}
.mt-4,
.mb-4 {
  margin-top: 24px;
}
.btn {
  border: 1px solid #41525f;
  background: transparent;
}
.btn.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.card {
  padding: 25px;
}
.card-body {
  min-width: 0;
}
.card-body > h1 {
  font-size: 28px;
  margin-bottom: 14px;
}
.card-body > p {
  color: var(--muted);
  margin-bottom: 20px;
}
.money-form {
  max-width: 560px;
  margin: 35px auto 0;
}
.money-form h1 {
  letter-spacing: -.6px;
}
.alert {
  padding: 13px 16px;
  background: #243439;
  border: 1px solid #435555;
  border-radius: 11px;
  margin: 15px 0;
  font-size: 12px;
}
.text-danger,
.form-error,
.error-block {
  color: var(--danger);
}
.text-success {
  color: var(--accent);
}
.form-error {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 15px;
  overflow-wrap: anywhere;
}
.form-feedback {
  font-size: 11px;
  line-height: 1.7;
  min-height: 17px;
  margin-top: 8px;
}
.pop-up {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #050b10bb;
  backdrop-filter: blur(9px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
}
.pop-up > div,
.pop-up > form {
  position: relative;
  width: min(100%, 460px);
  border: 1px solid #3a4e56;
  background: var(--panel);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 25px 120px #0006;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}
.screen-title {
  font-size: 24px;
  letter-spacing: -.6px;
  margin-bottom: 23px;
  padding-right: 20px;
}
.screen-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.screen-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-raised);
  color: var(--muted);
  font-size: 23px;
  line-height: 1;
}
.screen-close:hover {
  color: var(--text);
}
.input-field {
  display: block;
  margin-bottom: 14px;
}
.input-field > .form-label {
  margin: 0 0 6px;
}
.screen-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.screen-btns > * {
  flex: 1;
}
.pop-up .registration-screen {
  width: min(100%, 740px);
  display: grid;
  grid-template-columns: 1fr 250px;
  padding: 0;
  overflow: hidden;
}
.registration-form {
  padding: 31px;
}
.auth-art {
  padding: 70px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(
      circle at 70% 20%,
      #3b512e,
      #18251e);
  border-left: 1px solid var(--line);
}
.auth-art .brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  font-size: 32px;
  letter-spacing: -3px;
}
.auth-art .brand-name {
  font-size: 28px;
}
.auth-art h3 {
  font-size: 31px;
  line-height: 1.25;
  letter-spacing: -1px;
  color: #d4edbe;
  margin-top: 55px;
}
.auth-art p {
  font-size: 12px;
  color: #a9c397;
  margin-top: 17px;
  line-height: 1.9;
}
.registration-form .input-field {
  margin-bottom: 11px;
}
.registration-form .screen-title {
  margin-bottom: 20px;
}
.registration-form .screen-desc {
  font-size: 10px;
  margin-bottom: 13px;
}
.form-politics {
  font-size: 9px;
  color: var(--muted);
  margin-top: 18px;
}
.form-politics a:hover {
  color: var(--accent);
}
.captcha-block {
  display: grid;
  grid-template-columns: 1fr 130px 24px;
  gap: 8px;
  align-items: end;
  margin: 18px 0;
}
.captcha-block > .input-field {
  margin: 0;
}
.captcha-block > [data-captcha] {
  width: 130px;
  height: 44px;
  border-radius: 6px;
  object-fit: contain;
  background: #ecf0f6;
}
.captcha-block > button {
  background: transparent;
  padding: 0;
  height: 44px;
}
.captcha-block > button img {
  width: 22px;
  height: 22px;
}
.bet-btns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 25px;
}
.bet-btn {
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-raised);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.bet-btn.active {
  background: #30452b;
  color: var(--accent);
  border-color: #73995d;
}
.bet-btn:hover {
  border-color: var(--accent);
}
.bet-screen > div:last-of-type {
  display: flex;
  gap: 10px;
}
.message-info {
  font-size: 12px;
  padding: 12px 0;
  color: var(--accent);
}
.small-message-input-label {
  display: block;
  position: relative;
  margin-top: 10px;
}
.small-message-input {
  padding-bottom: 32px;
}
.letters-count {
  position: absolute;
  right: 13px;
  bottom: 12px;
  font-size: 10px;
  color: var(--muted);
}
.small-message-input-label > .form-label {
  margin: 0 0 8px;
}
.withdraw-popup > .button-transparent {
  margin-top: 10px;
}
.balance-popup .button-transparent {
  margin-top: 8px;
}
.legacy-success {
  padding-top: 40px !important;
}
.legacy-success .screen-title {
  color: var(--accent);
}
.profile-info {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 34px;
  padding: 30px;
}
.photo-wrap {
  text-align: center;
  margin: 0;
}
.profile-photo > img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid #3d5340;
}
.profile-change-photo {
  display: block;
  font-size: 11px;
  margin-bottom: 9px;
  color: var(--accent);
  cursor: pointer;
}
.profile-photo input[type=file] {
  font-size: 9px;
  padding: 8px;
  min-height: 35px;
}
.profile-photo input::file-selector-button {
  background: #293932;
  border: 0;
  border-radius: 4px;
  color: var(--accent);
  padding: 6px 5px;
  font-size: 9px;
  cursor: pointer;
}
.profile-save-changes {
  display: flex;
  gap: 6px;
  margin: 10px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.profile-save-changes button {
  padding: 6px 10px;
  min-height: 33px;
  font-size: 10px;
}
.photo-wrap .microcopy {
  font-size: 9px;
  margin-top: 9px;
}
.profile-details > .eyebrow {
  margin-bottom: 8px;
}
.profile-details h2 {
  font-size: 27px;
  letter-spacing: -.6px;
  overflow-wrap: anywhere;
}
.profile-details > .muted {
  font-size: 12px;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.profile-wallet {
  margin-top: 23px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile-wallet > span {
  font-size: 10px;
  color: var(--muted);
}
.profile-wallet strong {
  font-size: 31px;
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}
.profile-wallet small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.profile-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}
.profile-content {
  display: grid;
  gap: 22px;
}
.profile-ref {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.profile-ref > section,
.profile-ref > form {
  padding: 25px;
}
.profile-ref h2 {
  margin-top: 14px;
}
.profile-ref .muted {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 8px;
}
.ref-field,
.promo-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ref-field input,
.promo-field input {
  min-width: 0;
}
.copy-icon {
  border: 1px solid var(--line);
  min-height: 44px;
  min-width: 44px;
}
.copy-success {
  font-size: 11px;
  color: var(--accent);
  margin-top: 10px;
}
.profile-tables {
  display: grid;
  gap: 22px;
}
.profile-payments {
  padding: 25px;
}
.payments-title {
  font-size: 16px;
  margin-bottom: 19px;
}
.row.static,
.payments-tablet > .row:not(.static) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  font-size: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.row.static {
  font-size: 10px;
  color: var(--muted);
}
.referrals .payments-tablet > .row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.row > p {
  overflow-wrap: anywhere;
}
.empty-history {
  color: var(--muted);
  font-size: 12px;
  padding: 19px 0;
}
.payments-pagination {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  margin-top: 20px;
}
.pagination-list,
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination-link {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  padding: 6px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: pointer;
}
.pagination-link.active {
  border-color: #71935b;
  color: var(--accent);
  background: #283c2b;
}
.pagination-link svg {
  width: 14px;
  height: 12px;
}
.faq-flex,
.rules-flex {
  display: grid;
  gap: 13px;
  max-width: 940px;
}
.faq-block {
  padding: 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 21px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question > span {
  font-size: 23px;
  color: var(--accent);
  font-weight: 400;
}
.faq-block[open] .faq-question > span {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px 23px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.faq-question:hover {
  color: var(--accent);
}
.empty-state {
  text-align: center;
  padding: 45px 28px;
  grid-column: 1/-1;
  color: var(--muted);
}
.empty-state > .icon {
  width: 30px;
  height: 30px;
  color: #73917c;
  margin-bottom: 15px;
}
.empty-state h2 {
  color: var(--text);
  margin-bottom: 10px;
}
.empty-state p {
  font-size: 13px;
}
.empty-state .button-primary {
  margin-top: 20px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 22px;
}
.news-item {
  overflow: hidden;
}
.news-cover {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.news-item-left {
  padding: 25px;
}
.news-item h2 {
  font-size: 22px;
  margin-bottom: 14px;
}
.news-item-left > div {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.news-item-left ul,
.news-item-left ol {
  list-style: initial;
  padding-left: 24px;
}
.news-item-left a {
  color: var(--accent);
  text-decoration: underline;
}
.rules-title,
.contacts-page-title,
.help-page-title,
.faq-title {
  margin: 32px 0 22px;
}
.rules-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 24px;
  max-width: 900px;
}
.rule-block {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 16px;
}
.rule-title {
  font-size: 17px;
  margin-bottom: 17px;
}
.rule {
  padding: 7px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.legal-document {
  white-space: pre-wrap;
  line-height: 1.95;
  font-size: 13px;
  color: var(--muted);
  max-width: 960px;
  background: var(--panel);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow-wrap: anywhere;
}
.help-page-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.help-ticket,
.help-contacts,
.chat-history,
.contacts-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.help-ticket h2,
.help-contacts h2,
.chat-history h2 {
  margin-bottom: 20px;
  font-size: 17px;
}
.help-ticket textarea {
  min-height: 160px;
}
.help-ticket button {
  margin-top: 15px;
}
.help-contacts {
  grid-column: 1;
}
.chat-history {
  grid-column: 2;
  grid-row: 1/3;
}
.chat-history-chat {
  max-height: 550px;
  overflow: auto;
}
.chat-history-msg {
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 13px;
  margin-top: 12px;
  background: var(--panel-raised);
}
.chat-history-msg.support {
  background: #24362b;
  border-color: #3b5940;
}
.chat-history-info {
  font-size: 10px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.chat-history-info span {
  font-weight: 400;
  color: var(--muted);
}
.chat-history-text {
  font-size: 12px;
  color: #becdd5;
  overflow-wrap: anywhere;
}
.help-contacts-social,
.contacts-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.help-contacts-social a,
.contacts-social a {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.help-contacts-social img,
.contacts-social img {
  width: 25px;
  height: 25px;
}
.contacts-mail {
  font-size: 13px;
  color: var(--accent);
  display: block;
  margin-top: 20px;
}
.contacts-mail:hover {
  text-decoration: underline;
}
.contacts-card {
  max-width: 700px;
}
.contact-empty {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.notification {
  position: relative;
}
.notification.invisible {
  visibility: hidden;
}
.notification-quantity {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 15px;
  height: 15px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 2px;
}
.notification-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: min(310px, calc(100vw - 32px));
  max-height: 360px;
  overflow: auto;
  padding: 12px;
  border: 1px solid #45575f;
  background: var(--panel);
  border-radius: 14px;
  z-index: 30;
  box-shadow: 0 15px 60px #0005;
}
.notification-content.active {
  display: block;
}
.notification-message {
  padding: 12px;
  font-size: 11px;
  color: #c5d2da;
  border-radius: 9px;
  background: var(--panel-raised);
  margin: 5px 0;
}
.notification-empty {
  padding: 15px;
  color: var(--muted);
  font-size: 12px;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.info-table th,
.info-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.info-table th {
  font-size: 10px;
  color: var(--muted);
}
#login-page {
  max-width: 440px;
  margin: 25px auto;
}
.money-form .btn {
  margin-top: 10px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
@media (min-width: 1600px) {
  .arena-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .arena-card {
    padding: 30px 35px 24px;
  }
  .roulette {
    max-width: 590px;
  }
  .arena-heading h2 {
    font-size: 21px;
  }
  .ticket-price {
    font-size: 52px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar:185px;
  }
  .app-sidebar {
    padding: 26px 14px 20px;
  }
  .header {
    padding: 18px 24px;
  }
  .workspace-main {
    padding: 24px;
  }
  .header-intro {
    display: none;
  }
  .header-content {
    justify-content: flex-end;
  }
  .header-profile {
    gap: 10px;
  }
  .arena-layout {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 16px;
  }
  .arena-card {
    padding: 21px 19px 16px;
  }
  .arena-heading h2 {
    font-size: 16px;
  }
  .roulette-info,
  .last-winners {
    padding: 18px;
  }
  .community-heading {
    min-width: 165px;
  }
  .top-users-empty {
    padding-left: 18px;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-stats {
    gap: 21px;
  }
  .hero-float {
    font-size: 9px;
    padding: 10px;
  }
  .feature-card {
    padding: 19px;
  }
}
@media (max-width: 1000px) {
  :root {
    --sidebar:74px;
  }
  .app-sidebar {
    padding: 24px 12px 18px;
  }
  .app-sidebar .brand-name,
  .nav-caption,
  .nav-item > span,
  .sidebar-footer {
    display: none;
  }
  .app-sidebar .logo {
    gap: 0;
    justify-content: center;
  }
  .mobile-nav {
    margin-top: 30px;
  }
  .nav-item {
    justify-content: center;
    padding: 12px 10px;
  }
  .nav-item .icon {
    width: 20px;
    height: 20px;
  }
  .nav-item.admin-link {
    border-radius: 0;
  }
  .arena-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
  }
  .workspace-main {
    padding: 24px;
  }
  .top-users {
    gap: 15px;
  }
  .top-users-empty p span {
    max-width: 220px;
  }
  .hero-copy h1 {
    font-size: 43px;
  }
  .hero-stats {
    gap: 22px;
  }
  .hero-stats strong {
    font-size: 22px;
  }
  .feature-card h2 {
    font-size: 14px;
  }
  .feature-card p {
    font-size: 11px;
  }
  .footer {
    padding: 20px 24px;
  }
  .profile-info {
    gap: 24px;
  }
  .hero-float {
    right: 0;
    font-size: 8px;
  }
}
@media (max-width: 760px) {
  .app-shell {
    display: block;
  }
  .app-sidebar {
    position: static;
    height: 0;
    padding: 0;
    border: 0;
  }
  .app-sidebar > .logo {
    display: none;
  }
  .mobile-logo {
    display: inline-flex;
  }
  .mobile-logo .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 18px;
  }
  .mobile-logo .brand-name {
    font-size: 19px;
  }
  .mobile-logo .brand-suffix {
    font-size: 8px;
    letter-spacing: 2px;
    margin-top: 3px;
  }
  .header {
    padding: 16px 18px;
    min-height: 68px;
    position: relative;
    z-index: 25;
  }
  .header-content {
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .header-profile {
    gap: 6px;
    min-width: 0;
  }
  .header-burger {
    display: inline-flex;
    min-width: 34px;
    padding: 7px;
  }
  .header-profile .user-pill,
  .header-profile > form {
    display: none;
  }
  .header-profile .wallet-pill {
    gap: 5px;
    padding: 6px 5px 6px 8px;
    font-size: 11px;
    min-height: 34px;
  }
  .wallet-pill > .icon {
    display: none;
  }
  .wallet-plus {
    width: 21px;
    height: 21px;
  }
  .header-lang .language-form select {
    width: 75px;
    min-height: 34px;
    font-size: 10px;
    padding: 5px 12px 5px 4px;
  }
  .notification-bell {
    min-width: 30px;
    min-height: 34px;
    padding: 6px;
  }
  .notification-bell > .icon {
    width: 17px;
    height: 17px;
  }
  .notification-quantity {
    right: 0;
    font-size: 7px;
    min-width: 12px;
    height: 12px;
  }
  .app-sidebar .mobile-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    z-index: 24;
    background: #172129fa;
    border-bottom: 1px solid #42574a;
    box-shadow: 0 12px 30px #0006;
    margin: 0;
    padding: 15px 18px;
  }
  .app-sidebar .mobile-nav.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .app-sidebar .mobile-nav .nav-item {
    justify-content: flex-start;
    margin: 0;
    padding: 11px;
    font-size: 12px;
  }
  .app-sidebar .mobile-nav .nav-item > span {
    display: block;
  }
  .nav-item.admin-link {
    margin: 0;
    border: 0;
    padding: 11px;
  }
  .nav-item .nav-arrow {
    display: none !important;
  }
  .workspace-main {
    padding: 19px 18px 26px;
  }
  .top-users {
    display: flex;
    padding: 8px 10px;
  }
  .community-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
  }
  .community-heading > div > h2 {
    font-size: 12px;
  }
  .community-heading > div > p {
    font-size: 9px;
  }
  .top-users-add {
    margin: 0;
    min-height: 32px;
    font-size: 9px;
  }
  .top-users-inner {
    margin-top: 0;
  }
  .top-users-empty {
    border: 0;
    padding: 7px 0 1px;
  }
  .top-users-empty p {
    font-size: 10px;
  }
  .top-users-empty p span {
    font-size: 9px;
    max-width: none;
  }
  .community-empty-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .community-empty-icon > .icon {
    width: 16px;
    height: 16px;
  }
  .page-heading {
    margin: 27px 0 20px;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 26px;
    letter-spacing: -.6px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
    margin-bottom: 9px;
  }
  .page-subtitle {
    font-size: 11px;
    line-height: 1.7;
    margin-top: 9px;
  }
  .page-heading > .text-link {
    align-self: flex-start;
    margin-top: 5px;
    font-size: 10px;
    white-space: nowrap;
  }
  .page-heading > .text-link > .icon {
    display: none;
  }
  .page-heading > .button-primary {
    font-size: 10px;
    padding: 8px 10px;
  }
  .arena-layout {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }
  .arena-card {
    width: 100%;
    padding: 18px 16px 15px;
    border-radius: 17px;
    order: 1;
  }
  .arena-aside {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    order: 2;
  }
  .arena-aside .roulette-info {
    grid-column: 1/-1;
  }
  .roulette-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 19px;
    gap: 0 22px;
    position: relative;
  }
  .roulette-info > .card-heading {
    grid-column: 1;
    margin-bottom: 13px;
  }
  .roulette-info > .muted {
    grid-column: 1;
    font-size: 9px;
  }
  .ticket-price {
    grid-column: 1;
    font-size: 37px;
  }
  .ticket-choose {
    grid-column: 1;
    margin: 13px 0 0;
    font-size: 10px;
    min-height: 38px;
  }
  .round-finances {
    grid-column: 2;
    grid-row: 1/5;
    border: 0;
    border-left: 1px solid var(--line);
    padding: 0 0 0 18px;
    margin: 0;
    align-content: center;
    gap: 16px;
  }
  .round-finances > div {
    flex-wrap: wrap;
    gap: 3px;
    font-size: 9px;
  }
  .round-finances strong {
    font-size: 11px;
  }
  .roulette-info > .microcopy {
    grid-column: 1/-1;
    margin-top: 17px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .card-heading h2 {
    font-size: 12px;
  }
  .card-icon {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
  .card-icon .icon {
    width: 15px;
    height: 15px;
  }
  .arena-progress {
    margin-top: 20px;
  }
  .arena-heading h2 {
    font-size: 16px;
  }
  .round-number {
    font-size: 28px;
  }
  .round-number span {
    font-size: 8px;
  }
  .live-badge {
    font-size: 7px;
    padding: 4px 7px;
  }
  .roulette {
    max-width: 480px;
    margin-top: 10px;
  }
  .play-button {
    font-size: 13px;
    padding: 10px;
  }
  .play-button.winner {
    font-size: 10px;
  }
  .game-status {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .arena-bottom {
    font-size: 8px;
    gap: 12px;
    padding-top: 12px;
  }
  .arena-bottom .icon {
    width: 12px;
    height: 12px;
  }
  .last-winners {
    padding: 17px;
    min-width: 0;
  }
  .last-winners .card-heading {
    gap: 8px;
    margin-bottom: 13px;
  }
  .last-winners-title {
    font-size: 11px !important;
  }
  .round-tip {
    padding: 12px;
    align-self: center;
    gap: 10px;
  }
  .tip-number {
    font-size: 31px;
  }
  .round-tip h3 {
    font-size: 10px;
  }
  .round-tip p {
    font-size: 9px;
    line-height: 1.8;
  }
  .footer {
    padding: 20px 18px;
    justify-content: center;
    text-align: center;
    gap: 11px;
    font-size: 9px;
  }
  .footer-links {
    gap: 14px;
    justify-content: center;
  }
  .online-counter {
    font-size: 9px;
  }
  .guest-hero {
    padding: 32px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-copy h1 {
    font-size: 46px;
    letter-spacing: -1.5px;
    margin-top: 17px;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 350px;
    margin-top: 18px;
    line-height: 1.85;
  }
  .hero-actions {
    margin-top: 20px;
    gap: 10px;
  }
  .hero-actions > * {
    font-size: 12px;
    padding: 12px 16px !important;
  }
  .hero-stats {
    gap: 28px;
    margin-top: 25px;
  }
  .hero-stats strong {
    font-size: 23px;
  }
  .hero-stats span {
    font-size: 9px;
  }
  .hero-wheel {
    width: 94%;
    max-width: 430px;
  }
  .hero-wheel-center > span {
    font-size: 44px;
  }
  .hero-wheel-center small {
    font-size: 5px;
    letter-spacing: 1px;
  }
  .hero-float {
    font-size: 9px;
    bottom: 15px;
    right: -2px;
    padding: 10px 12px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-card {
    padding: 19px;
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 3px 15px;
  }
  .feature-card > .card-icon {
    grid-row: 1/3;
  }
  .feature-card h2 {
    font-size: 13px;
    margin: 0;
  }
  .feature-card p {
    font-size: 10px;
    margin: 4px 0 0;
    grid-column: 2;
  }
  .profile-info {
    grid-template-columns: 100px minmax(0, 1fr);
    padding: 20px;
    gap: 20px;
  }
  .profile-photo > img {
    width: 78px;
    height: 78px;
    margin-bottom: 10px;
  }
  .profile-details h2 {
    font-size: 23px;
  }
  .profile-details > .muted {
    font-size: 10px;
  }
  .profile-wallet {
    margin-top: 17px;
  }
  .profile-wallet strong {
    font-size: 27px;
  }
  .profile-wallet small {
    font-size: 9px;
  }
  .profile-buttons {
    gap: 6px;
  }
  .profile-buttons button {
    min-height: 34px;
    font-size: 9px;
    padding: 7px 9px;
  }
  .profile-buttons .icon {
    width: 12px;
    height: 12px;
  }
  .profile-ref {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .profile-ref > section,
  .profile-ref > form {
    padding: 20px;
  }
  .profile-ref h2 {
    font-size: 17px;
  }
  .profile-ref .muted {
    font-size: 11px;
  }
  .profile-payments {
    padding: 20px;
  }
  .payments-title {
    font-size: 15px;
  }
  .row.static,
  .payments-tablet > .row:not(.static) {
    font-size: 10px;
    gap: 8px;
    padding: 12px 0;
  }
  .row.static {
    font-size: 9px;
  }
  .help-page-content {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }
  .help-ticket,
  .help-contacts,
  .chat-history {
    padding: 21px;
  }
  .help-ticket h2,
  .chat-history h2,
  .help-contacts h2 {
    font-size: 17px;
  }
  .help-contacts {
    order: 3;
  }
  .chat-history {
    order: 2;
  }
  .faq-question {
    padding: 17px 19px;
    font-size: 12px;
  }
  .faq-answer {
    padding: 0 19px 20px;
    font-size: 11px;
  }
  .legal-document {
    padding: 22px;
    font-size: 12px;
  }
  .rule-block {
    padding: 20px;
  }
  .rule-title {
    font-size: 15px;
  }
  .rule {
    font-size: 11px;
  }
  .money-form {
    padding: 23px;
    margin-top: 27px;
  }
  .money-form h1 {
    font-size: 25px;
  }
  .money-form p {
    font-size: 12px;
  }
  .pop-up {
    padding: 14px;
  }
  .pop-up > div,
  .pop-up > form {
    padding: 28px 24px;
    max-height: calc(100dvh - 28px);
    border-radius: 18px;
  }
  .pop-up .registration-screen {
    display: block;
    max-width: 460px;
    overflow-y: auto;
  }
  .registration-form {
    padding: 28px 24px;
  }
  .auth-art {
    display: none;
  }
  .screen-title {
    font-size: 23px;
  }
  .input-field input,
  .input-field select,
  .small-message-input {
    font-size: 16px;
  }
  .captcha-block {
    grid-template-columns: minmax(0, 1fr) 113px 24px;
    gap: 7px;
  }
  .captcha-block > [data-captcha] {
    width: 113px;
    height: 44px;
  }
  .captcha-block input {
    font-size: 13px;
  }
  .screen-btns > * {
    min-height: 44px;
    font-size: 12px;
  }
  .screen-desc {
    font-size: 11px;
  }
  .header-buttons > .button-transparent {
    display: none;
  }
  .header-buttons .button-primary {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 10px;
  }
  .brand-suffix {
    color: var(--muted);
  }
}
@media (max-width: 390px) {
  .mobile-logo .brand-name {
    display: none;
  }
  .header-profile {
    gap: 4px;
  }
  .workspace-main {
    padding: 16px 14px 24px;
  }
  .header {
    padding: 14px;
  }
  .header-lang .language-form select {
    width: 71px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading > .text-link {
    font-size: 9px;
  }
  .top-users-add > span {
    max-width: 85px;
  }
  .profile-info {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .photo-wrap {
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: left;
    flex-wrap: wrap;
  }
  .profile-photo {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 5px 15px;
    align-items: center;
    width: 100%;
  }
  .profile-photo > img {
    grid-row: 1/3;
    width: 64px;
    height: 64px;
    margin: 0;
  }
  .profile-change-photo {
    margin: 0;
    font-size: 11px;
  }
  .profile-photo input {
    min-width: 0;
  }
  .photo-wrap .microcopy {
    margin: 0;
  }
  .hero-stats {
    gap: 23px;
  }
  .round-tip {
    gap: 7px;
    padding: 8px;
  }
  .tip-number {
    font-size: 26px;
  }
  .captcha-block {
    grid-template-columns: 1fr 108px 20px;
  }
  .captcha-block > [data-captcha] {
    width: 108px;
  }
  .play-button {
    font-size: 11px;
  }
  .round-finances {
    padding-left: 13px;
  }
  .arena-aside {
    gap: 12px;
  }
  .last-winners {
    padding: 14px;
  }
  .last-winners .card-heading {
    gap: 6px;
  }
  .last-winners .card-icon {
    width: 24px;
    height: 24px;
  }
  .last-winners-title {
    font-size: 10px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .roulette-wheel {
    will-change: auto;
  }
}
.mobile-sign-out {
  display: none;
}
@media (max-width: 760px) {
  .mobile-sign-out {
    display: block;
    grid-column: 1/-1;
    margin: 0;
  }
  .mobile-sign-out .nav-item {
    background: transparent;
    width: 100%;
    color: var(--muted);
  }
}
.guest-hero {
  overflow: visible;
}
.hero-orbit {
  width: 86%;
  height: 86%;
  left: 7%;
  top: 7%;
}
.profile-change-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #41525f;
  border-radius: 9px;
}
.photo-wrap:has(input:focus-visible) .profile-change-photo {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.game-help {
  position: fixed;
  inset: auto;
  top: 12px;
  left: 12px;
  margin: 0;
  width: min(340px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 18px 20px 20px;
  border: 1px solid #496145;
  border-radius: 16px;
  color: var(--text);
  background: var(--panel-raised);
  box-shadow: 0 18px 60px #0008;
}
.help-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.help-heading h2 {
  font-size: 16px;
}
.help-heading .icon-button {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  font-size: 26px;
}
.help-steps {
  margin: 0;
  padding-left: 19px;
}
.help-steps li {
  padding-left: 5px;
}
.help-steps li + li {
  margin-top: 14px;
}
.help-steps li::marker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.help-steps h3 {
  font-size: 12px;
  margin-bottom: 4px;
}
.help-steps p {
  font-size: 12px;
  color: var(--muted);
}
.game-page .workspace-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  margin: 0 auto;
  padding: 18px 24px;
}
.game-page .top-users {
  flex-shrink: 0;
  padding: 8px 10px;
  gap: 10px;
}
.game-page .community-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.game-page .community-heading > div > p {
  display: none;
}
.game-page .top-users-add {
  margin: 0;
}
.game-page .top-users-empty {
  padding: 0 0 0 20px;
}
.game-page .page-content {
  flex: 1;
  min-height: 0;
}
.game-page .arena-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px 20px;
}
.arena-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.arena-title h1 {
  font-size: 18px;
  letter-spacing: -.4px;
}
.arena-help {
  display: none;
  flex-shrink: 0;
}
.arena-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.arena-tools .icon-button {
  width: 32px;
  height: 32px;
  padding: 6px;
}
#game-sound[aria-pressed="true"] {
  color: var(--accent);
}
#game-app[data-phase="countdown"] .play-button {
  font-size: clamp(24px, 7cqh, 48px);
  font-variant-numeric: tabular-nums;
}
#game-app[data-phase="finished"] .play-button {
  box-shadow: 0 0 34px #b9f27730;
}
.game-page .arena-progress {
  width: 100%;
  margin: 12px auto 0;
  flex-shrink: 0;
}
.wheel-stage {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: grid;
  place-items: center;
  container-type: size;
  margin: 6px 0;
}
.game-page .roulette {
  width: min(100cqw, 100cqh, 580px);
  max-width: none;
  margin: 0;
}
.game-page .play-button {
  font-size: clamp(11px, 3.3cqh, 18px);
  padding: 6px;
}
.game-page .play-button.winner {
  font-size: clamp(10px, 2.8cqh, 13px);
}
.game-page .game-status {
  margin: 0 auto;
  padding: 0;
  flex-shrink: 0;
  height: 32px;
  min-height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}
.game-page .game-error {
  margin: 6px 0 0;
  padding: 8px 10px;
  flex-shrink: 0;
}
.game-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  flex-shrink: 0;
  height: 34px;
}
.arena-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 40px;
  flex-shrink: 0;
}
.arena-footer .game-status {
  margin: 0;
  min-width: 0;
}
.arena-footer .game-actions:has(> :not([hidden])) {
  flex-shrink: 0;
}
.arena-footer .game-actions:has(> :not([hidden])) .button-primary {
  white-space: nowrap;
}
.arena-footer .game-actions:not(:has(> :not([hidden]))) {
  display: none;
}
.game-actions .text-link {
  background: transparent;
  border: 0;
  font-size: 11px;
  min-height: 30px;
}
.game-actions .button-primary {
  font-size: 11px;
  min-height: 34px;
  padding: 6px 12px;
}
.game-actions .icon {
  width: 14px;
  height: 14px;
}
.game-page .roulette-info {
  padding: 18px;
}
.game-page .roulette-info .card-heading {
  margin-bottom: 12px;
}
.game-page .ticket-price {
  font-size: 36px;
}
.game-page .ticket-choose {
  margin: 12px 0;
}
.game-page .round-finances {
  padding: 12px 0;
  gap: 9px;
  margin-bottom: 10px;
}
.game-page .last-winners {
  padding: 16px 18px;
}
.game-page .last-winners .card-heading {
  margin-bottom: 10px;
}
@media (min-width: 761px) {
  .game-page .workspace {
    height: 100dvh;
  }
  .game-page .header,
  .game-page .footer {
    flex-shrink: 0;
  }
  .game-page .footer {
    padding: 12px 24px;
  }
  .game-page .arena-layout {
    height: 100%;
    align-items: stretch;
    gap: 18px;
  }
  .game-page .arena-aside {
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
  }
  .game-page .last-winners {
    min-height: 0;
    overflow: auto;
  }
  .game-page .app-sidebar {
    overflow-y: auto;
  }
  .game-page .mobile-nav {
    margin-top: 26px;
  }
}
@media (min-width: 761px) and (max-height: 700px) {
  .game-page .header {
    min-height: 68px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .game-page .workspace-main {
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }
  .game-page .roulette-info {
    padding: 12px 16px;
  }
  .game-page .roulette-info .card-heading {
    margin-bottom: 6px;
  }
  .game-page .roulette-info .microcopy {
    display: none;
  }
  .game-page .mobile-nav {
    margin-top: 14px;
  }
  .game-page .nav-item {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
@media (max-width: 760px) {
  .game-page .workspace-main {
    padding: 14px;
    gap: 12px;
  }
  .game-page .top-users {
    padding: 8px 10px;
  }
  .game-page .top-users-inner {
    margin-top: 0;
  }
  .game-page .top-users-empty {
    padding: 0;
  }
  .game-page .arena-card {
    height: min(560px, calc(100svh - var(--header-size, 68px) - var(--community-size, 90px) - 40px));
    min-height: 280px;
    padding: 14px;
  }
  .arena-title {
    display: block;
  }
  .arena-title h1 {
    font-size: 15px;
    margin-bottom: 5px;
  }
  .arena-help {
    display: inline-flex;
  }
  .game-page .arena-aside {
    grid-template-columns: 1fr;
  }
  .game-page .round-finances {
    margin: 0;
    padding: 0 0 0 14px;
  }
  .game-page .ticket-choose {
    margin-bottom: 0;
  }
}
@media (max-width: 760px) {
  .header {
    position: sticky;
    top: 0;
  }
  .app-sidebar .mobile-nav {
    position: fixed;
    top: var(--header-size,68px);
    max-height: calc(100dvh - var(--header-size,68px));
    overflow: auto;
  }
  .notification-content {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header-size,68px) + 10px);
    width: auto;
  }
}
