* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: #f7f9ff;
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.48), rgba(7, 16, 24, 0.82)),
    radial-gradient(circle at 12% 0%, rgba(255, 92, 122, 0.2), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(20, 184, 166, 0.22), transparent 30%),
    url("https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?auto=format&fit=crop&w=1800&q=85");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 92, 122, 0.1), transparent 35%, rgba(20, 184, 166, 0.12)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

button,
input {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 52px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(7, 16, 24, 0.58);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6b8a, #14b8a6);
  font-size: 14px;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.28);
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.user-pill strong {
  color: #9ee493;
}

.auth-open-button {
  position: relative;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff2f5f, #ffb238);
  box-shadow: 0 14px 32px rgba(217, 35, 63, 0.24);
  cursor: pointer;
  font-weight: 900;
  overflow: hidden;
}

.auth-open-button::after {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}

.auth-open-button:hover {
  transform: translateY(-1px);
}

.auth-open-button.is-logout {
  color: #071018;
  background: linear-gradient(135deg, #9ee493, #22d3ee);
  box-shadow: 0 14px 32px rgba(34, 211, 238, 0.2);
}

.success-banner {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(18, 123, 82, 0.24);
  border-radius: 8px;
  color: #0f6843;
  background: #e9f8f1;
  font-weight: 800;
}

.trend-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.trend-strip strong {
  flex: 0 0 auto;
  order: 2;
  padding: 7px 10px;
  border-radius: 8px;
  color: #071018;
  background: linear-gradient(135deg, #ffcf5a, #9ee493);
  font-size: 13px;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(255, 207, 90, 0.36);
}

.trend-marquee {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  animation: marquee-slide 18s linear infinite;
}

.trend-marquee span::before {
  content: "";
  display: inline-block;
  width: 8px;
  aspect-ratio: 1;
  margin-right: 8px;
  border-radius: 50%;
  background: #ff2f5f;
  box-shadow: 0 0 16px rgba(255, 47, 95, 0.75);
}

@keyframes marquee-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-42%);
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 30px;
  align-items: center;
  min-height: 430px;
  margin-bottom: 18px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.82), rgba(7, 16, 24, 0.28)),
    url("https://images.unsplash.com/photo-1545569341-9eb8b30979d9?auto=format&fit=crop&w=1400&q=80");
  background-position: center;
  background-size: cover;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 10px;
  color: #22d3ee;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions .auth-open-button,
.secondary-button {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.secondary-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.hero-art {
  position: relative;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 47, 95, 0.8), rgba(34, 211, 238, 0.7)),
    url("https://images.unsplash.com/photo-1536098561742-ca998e48cbcc?auto=format&fit=crop&w=900&q=80");
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 28px 70px rgba(0, 0, 0, 0.26);
}

.hero-screen,
.hero-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 16, 24, 0.76);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.hero-screen {
  left: 22px;
  right: 22px;
  top: 24px;
  padding: 18px;
}

.hero-screen strong,
.hero-card strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.hero-screen p,
.hero-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.live-dot {
  display: inline-block;
  width: 10px;
  aspect-ratio: 1;
  margin-right: 8px;
  border-radius: 50%;
  background: #17c964;
  box-shadow: 0 0 16px rgba(23, 201, 100, 0.8);
}

.hero-card {
  left: 28px;
  bottom: 26px;
  width: min(260px, calc(100% - 56px));
  padding: 16px;
}

.hero-card span {
  color: #ffcf5a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-meter {
  position: absolute;
  right: 22px;
  bottom: 30px;
  width: 110px;
  height: 110px;
  border: 10px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: conic-gradient(#9ee493 0 72%, rgba(255, 255, 255, 0.18) 72% 100%);
}

.hero-meter span {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: rgba(7, 16, 24, 0.82);
}

.ad-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.ad-unit,
.side-ad-rail article {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(12, 21, 32, 0.62);
}

.ad-unit::after,
.side-ad-rail article::after {
  position: absolute;
  inset: auto -30px -42px auto;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.16);
}

.ad-unit span,
.side-ad-rail span {
  color: #ffcf5a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ad-unit strong,
.side-ad-rail strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 20px;
}

.ad-unit p,
.side-ad-rail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.42;
}

.ad-gold {
  background: linear-gradient(135deg, rgba(255, 178, 56, 0.18), rgba(255, 255, 255, 0.06));
}

.ad-cyan {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(255, 255, 255, 0.06));
}

.ad-red {
  background: linear-gradient(135deg, rgba(255, 47, 95, 0.2), rgba(255, 255, 255, 0.06));
}

.content-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.side-ad-rail {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 12px;
}

.games-section {
  min-width: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0;
}

.online-pill {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 8px;
  color: #071018;
  background: #9ee493;
  font-size: 13px;
  font-weight: 900;
}

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

.game-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(12, 21, 32, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, border-color 160ms ease;
}

.game-card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  transform: translateY(-3px);
}

.game-art {
  position: relative;
  display: block;
  min-height: 170px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 58px;
  font-weight: 900;
  background: #101522;
}

.game-art img {
  display: block;
  width: 100%;
  height: 174px;
  object-fit: cover;
}

.game-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(7, 16, 24, 0.72));
  pointer-events: none;
}

.game-rank {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #071018;
  background: #ffcf5a;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.card-red .game-art {
  background: linear-gradient(135deg, #d9233f, #ffb238);
}

.card-blue .game-art {
  background: linear-gradient(135deg, #1065d8, #34c6eb);
}

.card-green .game-art {
  background: linear-gradient(135deg, #127b52, #b7d85b);
}

.card-gold .game-art {
  background: linear-gradient(135deg, #c58613, #f4db7d);
}

.card-slate .game-art {
  background: linear-gradient(135deg, #22283a, #66808d);
}

.card-pink .game-art {
  background: linear-gradient(135deg, #dd5f92, #7bc9a8);
}

.game-body {
  padding: 18px;
}

.game-tag {
  color: #22d3ee;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.game-body h2 {
  margin: 8px 0 8px;
  font-size: 24px;
}

.game-body p {
  min-height: 62px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.floating-travel-ads {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  display: grid;
  gap: 10px;
  width: min(270px, calc(100vw - 36px));
  pointer-events: auto;
}

.floating-travel-ads article {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(12, 21, 32, 0.92), rgba(20, 184, 166, 0.78));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  animation: travel-ad-pulse 4.5s ease-in-out infinite;
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.floating-travel-ads article:hover,
.floating-travel-ads article:focus {
  border-color: rgba(255, 255, 255, 0.42);
  outline: none;
  transform: translateY(-3px);
}

.floating-travel-ads article:nth-child(2) {
  animation-delay: 0.8s;
  background: linear-gradient(135deg, rgba(12, 21, 32, 0.92), rgba(255, 207, 90, 0.76));
}

.floating-travel-ads article:nth-child(3) {
  animation-delay: 1.6s;
  background: linear-gradient(135deg, rgba(12, 21, 32, 0.92), rgba(255, 92, 122, 0.74));
}

.floating-travel-ads article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-110%);
  animation: travel-ad-shine 5.2s ease-in-out infinite;
}

.floating-travel-ads span {
  position: relative;
  z-index: 1;
  color: #ffcf5a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.floating-travel-ads strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 5px;
  font-size: 22px;
  text-transform: uppercase;
}

.floating-travel-ads p {
  position: relative;
  z-index: 1;
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.35;
}

@keyframes travel-ad-pulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes travel-ad-shine {
  0%,
  45% {
    transform: translateX(-110%);
  }

  70%,
  100% {
    transform: translateX(110%);
  }
}

.play-trigger,
.auth-form button,
.admin-card button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #151926, #26324d);
  cursor: pointer;
  font-weight: 800;
}

.modal,
.support-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(11, 14, 24, 0.62);
}

.modal.is-open,
.support-modal.is-open {
  display: grid;
}

.modal-panel,
.support-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 32px));
  overflow: auto;
  padding: 24px;
  border-radius: 8px;
  color: #14161f;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.support-panel {
  width: min(620px, 100%);
}

.close-button {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: #edf0f6;
  cursor: pointer;
  font-weight: 800;
}

.modal-game {
  margin: 0 0 8px;
  color: #d9233f;
  font-weight: 800;
}

.modal-panel h2,
.support-panel h2 {
  margin: 0 0 18px;
  color: #14161f;
  font-size: 30px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-button {
  min-height: 42px;
  border: 1px solid #dce1ec;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.tab-button.is-active {
  color: #ffffff;
  border-color: #151926;
  background: #151926;
}

.auth-form {
  display: none;
  gap: 12px;
}

.auth-form.is-active {
  display: grid;
}

label {
  display: grid;
  gap: 6px;
  color: #3c4252;
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #dce1ec;
  border-radius: 8px;
  outline: none;
}

input:focus {
  border-color: #d9233f;
  box-shadow: 0 0 0 3px rgba(217, 35, 63, 0.13);
}

.form-message,
.admin-message {
  min-height: 18px;
  margin: 0;
  color: #127b52;
  font-size: 14px;
}

.forgot-password-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(21, 25, 38, 0.14);
  border-radius: 8px;
  background: #f4f7fb;
}

.forgot-password-box p {
  margin: 0;
  color: #303746;
  font-size: 14px;
  font-weight: 800;
}

.forgot-password-box.is-alert {
  border-color: rgba(217, 35, 63, 0.28);
  background: #fff3f5;
  box-shadow: 0 10px 28px rgba(217, 35, 63, 0.12);
}

.forgot-password-box.is-alert p {
  color: #8d1830;
}

.auth-form .forgot-password-button {
  color: #ffffff;
  background: #d9233f;
}

.queue-message {
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 8px;
  color: #9a6500;
  background: #fff3d8;
  font-weight: 800;
}

.support-start-button {
  width: 100%;
  min-height: 46px;
  margin-bottom: 12px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: #d9233f;
  cursor: pointer;
  font-weight: 900;
}

.support-start-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-gate-form {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(217, 35, 63, 0.18);
  border-radius: 8px;
  background: #fff7e8;
}

.contact-gate-form[hidden] {
  display: none;
}

.contact-gate-form label {
  color: #6f4300;
}

.contact-gate-message {
  min-height: 18px;
  margin: 0;
  color: #d9233f;
  font-size: 13px;
  font-weight: 800;
}

.chat-window {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  max-height: 320px;
  overflow: auto;
  padding: 12px;
  border: 1px solid #dce1ec;
  border-radius: 8px;
  background: #f8faff;
}

.chat-message {
  max-width: 82%;
  padding: 10px;
  border-radius: 8px;
  color: #202536;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 22, 31, 0.08);
}

.chat-message strong {
  color: #14161f;
}

.chat-message.from-admin {
  justify-self: start;
  border-left: 4px solid #d9233f;
}

.chat-message.from-user {
  justify-self: end;
  border-right: 4px solid #127b52;
}

.chat-message p {
  margin: 4px 0;
  color: #202536;
}

.chat-message small {
  color: #6b7280;
}

.empty-chat {
  margin: 0;
  color: #646b7d;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 94px;
  gap: 10px;
  margin-top: 12px;
}

.chat-form button {
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: #151926;
  cursor: pointer;
  font-weight: 800;
}

.leave-chat-confirm {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: min(360px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid #dce1ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(20, 22, 31, 0.22);
  transform: translate(-50%, -50%);
}

.leave-chat-confirm p {
  margin: 0 0 14px;
  color: #14161f;
  font-weight: 900;
}

.leave-chat-confirm div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.leave-chat-confirm button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.leave-button {
  color: #ffffff;
  background: #d9233f;
}

.keep-button {
  color: #071018;
  background: #9ee493;
}

.admin-page {
  background: #101522;
}

.incoming-toast,
#incomingToast {
  display: none !important;
}

.admin-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.admin-card {
  width: min(980px, 100%);
  padding: 26px;
  border-radius: 8px;
  color: #ffffff;
  background: #171e30;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.admin-card h1 {
  margin: 0;
  font-size: 32px;
}

.admin-card p {
  color: rgba(255, 255, 255, 0.72);
}

.admin-card input {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.admin-topbar,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-actions button {
  width: auto;
  min-width: 104px;
}

.signup-list {
  display: grid;
  gap: 12px;
  max-height: 64vh;
  overflow: auto;
}

.signup-row {
  display: grid;
  grid-template-columns: 42px 1fr 1.15fr 1.15fr minmax(180px, 0.85fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.signup-row p {
  margin: 4px 0;
}

.credit-form {
  display: grid;
  gap: 8px;
}

.credit-form strong {
  color: #ffcf5a;
  font-size: 18px;
}

.credit-form label {
  color: rgba(255, 255, 255, 0.82);
}

.credit-form input {
  min-height: 40px;
}

.credit-form button {
  min-height: 40px;
  color: #071018;
  background: #9ee493;
}

.credit-message {
  min-height: 18px;
  color: #9ee493 !important;
  font-size: 13px;
}

.support-admin {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.support-admin h2 {
  margin: 0;
}

.support-status {
  color: #9ee493;
  font-size: 14px;
}

.support-queue {
  display: grid;
  gap: 10px;
}

.support-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(217, 35, 63, 0.18);
  transition: border-color 160ms ease, background 160ms ease;
}

.support-call.is-accepted {
  background: rgba(255, 255, 255, 0.06);
}

.support-call.is-closed {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  opacity: 0.82;
}

.support-call.has-new-message {
  border-color: #ffcf5a;
  background: rgba(255, 207, 90, 0.18);
}

.support-call:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(217, 35, 63, 0.28);
}

.support-call strong {
  color: #ffffff;
}

.support-call p,
.support-call small {
  display: block;
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.72);
}

.support-state {
  min-width: 86px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #071018;
  background: #ffcf5a;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.support-call.is-accepted .support-state {
  color: #071018;
  background: #9ee493;
}

.support-call.is-closed .support-state {
  color: #ffffff;
  background: #6b7280;
}

.support-call.has-new-message .support-state {
  color: #071018;
  background: #ffcf5a;
}

.support-call button {
  width: auto;
  min-width: 96px;
  background: #17c964;
  color: #071018;
}

.support-call .remove-chat-button {
  color: #ffffff;
  background: #d9233f;
}

.admin-chat {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce1ec;
  border-radius: 8px;
  color: #14161f;
  background: #ffffff;
}

.admin-chat h2 {
  color: #14161f;
}

.admin-chat .chat-window {
  border-color: #dce1ec;
  background: #f8faff;
}

.admin-chat .chat-message,
.admin-chat .chat-message strong,
.admin-chat .chat-message p {
  color: #14161f !important;
}

.admin-chat .chat-message small {
  color: #5d6678 !important;
}

.admin-chat .empty-chat {
  color: #5d6678 !important;
}

.admin-chat .chat-form input {
  color: #14161f;
  border-color: #dce1ec;
  background: #ffffff;
}

.row-number {
  color: #9ee493;
  font-weight: 900;
}

.empty-state {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .hero,
  .ad-showcase,
  .content-layout,
  .games-grid {
    grid-template-columns: 1fr;
  }

  .side-ad-rail {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signup-row {
    grid-template-columns: 32px 1fr;
  }

  .credit-form {
    grid-column: 1 / -1;
  }

  .support-call {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .trend-strip,
  .section-head,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .side-ad-rail {
    grid-template-columns: 1fr;
  }

  .floating-travel-ads {
    left: 11px;
    right: 11px;
    bottom: 11px;
    width: auto;
  }

  .floating-travel-ads article:nth-child(2),
  .floating-travel-ads article:nth-child(3) {
    display: none;
  }

  .topbar,
  .topbar-actions,
  .admin-topbar,
  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-open-button,
  .secondary-button,
  .user-pill,
  .admin-actions button {
    width: 100%;
    text-align: center;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }
}
