:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #000;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #000;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

/* Portal is always dark; ignore light scheme so no white flash */
.adv-layout { min-height: 100vh; background: #0b0b12; color: #e8e8ef; }
.adv-bar { display: flex; align-items: center; gap: 1rem; padding: 0.6rem 1.25rem; background: #12121b; border-bottom: 1px solid #23232f; flex-wrap: wrap; }
.adv-logo, .adv-logo-link img { height: 28px; }
.adv-portal-tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: #b4a7ff; background: #241f4a; padding: 0.15rem 0.5rem; border-radius: 999px; }
.adv-account-select { background: #0e0e15; border: 1px solid #2a2a38; color: #e8e8ef; border-radius: 6px; padding: 0.35rem 0.5rem; }
.adv-account-name { font-weight: 600; }
.adv-nav { display: flex; gap: 0.25rem; margin-left: 1rem; flex-wrap: wrap; }
.adv-nav-link { color: #a8a8b8; text-decoration: none; padding: 0.4rem 0.7rem; border-radius: 6px; font-size: 0.92rem; }
.adv-nav-link--active, .adv-nav-link:hover { color: #fff; background: #1d1d2a; }
.adv-user { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.adv-balance { font-weight: 700; color: #9be7b4; }
.adv-user-name { color: #c8c8d4; font-size: 0.9rem; }
.adv-logout { background: none; border: 1px solid #2a2a38; color: #c8c8d4; border-radius: 6px; padding: 0.35rem 0.7rem; cursor: pointer; }
.adv-badge { font-size: 0.72rem; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px; }
.adv-badge--active { background: #16331f; color: #9be7b4; }
.adv-badge--pending { background: #33301a; color: #e7d79b; }
.adv-badge--suspended { background: #3a1620; color: #f3a7b6; }

.adv-main { padding: 1.5rem; max-width: 1100px; margin: 0 auto; }
.adv-muted { color: #8a8a98; }
.adv-error { background: #3a1620; border: 1px solid #a83a4f; color: #f3a7b6; padding: 0.6rem 0.8rem; border-radius: 6px; margin-bottom: 1rem; }
.adv-notice { background: #33301a; border: 1px solid #6b5e2e; color: #e7d79b; padding: 0.6rem 0.8rem; border-radius: 6px; margin-bottom: 1rem; }
.adv-onboard { max-width: 520px; margin: 3rem auto; text-align: center; }
.adv-onboard h1 { margin-bottom: 0.5rem; }

.adv-btn { display: inline-block; background: #6c5ce7; color: #fff; border: none; border-radius: 6px; padding: 0.55rem 1rem; cursor: pointer; text-decoration: none; font-size: 0.95rem; }
.adv-btn:disabled { opacity: 0.5; cursor: default; }
.adv-link-btn { background: none; border: none; color: #9b8cff; cursor: pointer; padding: 0.2rem 0.4rem; }

/* Cards / sections */
.adv-section { background: #14141d; border: 1px solid #23232f; border-radius: 10px; padding: 1.25rem; margin-bottom: 1.25rem; }
.adv-section h2 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.adv-stat-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.adv-stat { display: flex; flex-direction: column; }
.adv-stat-value { font-size: 1.8rem; font-weight: 700; }
.adv-stat-label { color: #9a9aa8; font-size: 0.85rem; }

.adv-table { width: 100%; border-collapse: collapse; }
.adv-table th, .adv-table td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid #23232f; font-size: 0.9rem; }
.adv-table th { color: #9a9aa8; }
.adv-num { text-align: right; }
.adv-empty { color: #8a8a98; font-style: italic; padding: 0.75rem 0; }

/* Forms */
.adv-form { max-width: 560px; }
.adv-fr { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.8rem; }
.adv-fr label { font-size: 0.85rem; color: #c8c8d4; }
.adv-fr input, .adv-fr select, .adv-fr textarea { background: #0e0e15; border: 1px solid #2a2a38; color: #e8e8ef; border-radius: 6px; padding: 0.5rem; font-size: 0.9rem; }
.adv-form-actions { display: flex; gap: 0.75rem; align-items: center; margin-top: 0.5rem; }
.adv-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.dev-pending-approval {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0f0f14 0%, #1a1a24 100%);
  padding: 1rem;
}

.dev-pending-approval-card {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.dev-pending-approval-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}

.dev-pending-approval-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem 0;
}

.dev-pending-approval-message {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.dev-pending-approval-user {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1.25rem 0;
}

.dev-pending-approval-logout {
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  cursor: pointer;
}
.dev-pending-approval-logout:hover {
  background: rgba(255, 255, 255, 0.08);
}
/* Web-style app shell: top bar + wide content */

.portal-layout {
  min-height: 100vh;
  width: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
}

.portal-layout-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: #0a0a0a;
  border-bottom: 1px solid #222;
}

.portal-layout-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.portal-layout-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.portal-layout-logo {
  height: 28px;
  width: auto;
}

.portal-layout-studio-mark {
  display: flex;
  align-items: center;
  margin-right: 0.25rem;
}

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

.portal-layout-studio-switch {
  margin: 0;
}

.portal-layout-studio-select {
  max-width: 220px;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.85rem;
}

.portal-layout-company-logo {
  height: 32px;
  width: auto;
  max-width: 120px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid #334155;
  background: #0a0a0a;
  padding: 2px 6px;
  box-sizing: border-box;
}

.portal-layout-company-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #6366f1);
  border: 1px solid #334155;
}

.portal-layout-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portal-layout-nav-link {
  padding: 0.4rem 0.75rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.portal-layout-nav-link:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.06);
}

.portal-layout-nav-link--active {
  color: #f1f5f9 !important;
  background: rgba(0, 102, 255, 0.22);
}

.portal-layout-nav-sep {
  width: 1px;
  height: 1.25rem;
  background: #334155;
  margin: 0 0.15rem;
}

.portal-layout-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.portal-layout-dev-summary {
  font-size: 0.8rem;
  color: #94a3b8;
  white-space: nowrap;
  padding-right: 0.5rem;
  border-right: 1px solid #334155;
  margin-right: 0.25rem;
}

.portal-layout-user-name {
  font-size: 0.9rem;
  color: #94a3b8;
}

.portal-layout-logout {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #f1f5f9;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.portal-layout-logout:hover {
  border-color: #64748b;
}

.portal-layout-main {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}

.portal-layout-nav-badge {
  display: inline-block;
  margin-left: 0.35rem;
  min-width: 1.1rem;
  padding: 0.05rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  vertical-align: middle;
}

.portal-layout-role {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  border: 1px solid #2563eb;
}

.portal-layout-role--dev {
  background: rgba(100, 116, 139, 0.35);
  color: #cbd5e1;
  border-color: #475569;
}

.portal-layout-nav-link--secondary {
  font-size: 0.8rem;
  opacity: 0.85;
}
.banner-ad {
  flex-shrink: 0;
  width: 100%;
  min-height: 50px;
  max-height: 90px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-ad--loading {
  min-height: 40px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.banner-ad-iframe {
  width: 100%;
  height: 90px;
  border: none;
  display: block;
}

.banner-ad-html {
  width: 100%;
  max-height: 90px;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 0.8rem;
  line-height: 1.3;
}
.banner-ad-html img {
  max-height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.banner-ad-admob {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.banner-ad-admob-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.banner-ad-admob-hint {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}
/* Mobile-first layout for Gamers / Players portal – constrained width on desktop */

.play-layout {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #0f0f14 0%, #1a1a24 100%);
  color: #f1f5f9;
  display: flex;
  justify-content: center;
}

.play-layout-inner {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.play-layout-header {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.75rem 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  padding-top: max(0.75rem, env(safe-area-inset-top));
  background: rgba(15, 15, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.play-layout-header-left {
  min-width: 0;
}

.play-layout-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.play-layout-logo-link--center {
  grid-column: 2;
  justify-self: center;
}

.play-layout-logo {
  height: 28px;
  width: auto;
}

.play-layout-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.play-layout-dev-link {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
}

.play-layout-dev-link:hover {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.4);
}

.play-layout-avatar-link {
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  overflow: hidden;
}
.play-layout-avatar {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: cover;
}
.play-layout-avatar-placeholder {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.12);
}

.play-layout-main {
  flex: 1;
  overflow: auto;
  padding: 1rem;
  padding-bottom: 0.5rem;
}

.play-layout-bottom-nav {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  background: rgba(15, 15, 20, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.play-layout-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 8px;
}
.play-layout-nav-item:hover {
  color: #e2e8f0;
}
.play-layout-nav-item--active {
  color: #2563eb !important;
}
.play-layout-nav-item--active .play-layout-nav-label {
  color: #2563eb;
}
.play-layout-nav-label {
  color: inherit;
  font-size: 0.7rem;
}

@media (min-width: 600px) {
  .play-layout-header {
    padding: 0.75rem 1.5rem;
  }
  .play-layout-main {
    padding: 1.5rem;
  }
}
/* Developer portal login — centered, full-width dark background */

.dev-login {
  --vs-primary: #0066ff;
  --vs-primary-hover: #0052cc;
  --vs-primary-focus: rgba(0, 102, 255, 0.3);
  --vs-link: #3b82f6;
  --vs-text: #f1f5f9;
  --vs-text-muted: #94a3b8;
  --vs-border: #334155;

  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.dev-login-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
}

.dev-login-brand {
  text-align: center;
  margin-bottom: 1.75rem;
}

.dev-login-logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.dev-login-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-login-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--vs-text-muted);
  font-weight: 400;
}

.dev-login-form-wrap {
  width: 100%;
}

.dev-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dev-login-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vs-text);
}

.dev-login-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  box-sizing: border-box;
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--vs-text);
  background: #111;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dev-login-input::placeholder {
  color: var(--vs-text-muted);
}

.dev-login-input:focus {
  border-color: var(--vs-primary);
  box-shadow: 0 0 0 2px var(--vs-primary-focus);
}

.dev-login-password-wrap {
  position: relative;
  display: block;
}

.dev-login-password-wrap .dev-login-input {
  padding-right: 2.5rem;
}

.dev-login-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  padding: 4px;
  background: none;
  border: none;
  color: var(--vs-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  line-height: 0;
}

.dev-login-password-toggle:hover {
  color: var(--vs-text);
}

.dev-login-error {
  margin: 0;
  font-size: 0.875rem;
  color: #f87171;
}

.dev-login-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  margin-top: 0.25rem;
  background: var(--vs-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.dev-login-btn:hover:not(:disabled) {
  background: var(--vs-primary-hover);
}

.dev-login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.dev-login-footer {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--vs-border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--vs-text-muted);
}

.dev-login-footer a {
  color: var(--vs-link);
  font-weight: 500;
  text-decoration: none;
}

.dev-login-footer a:hover {
  text-decoration: underline;
}
/* Developer portal register — centered, full-width dark (matches Login) */

.dev-register {
  --vs-primary: #0066ff;
  --vs-primary-hover: #0052cc;
  --vs-primary-focus: rgba(0, 102, 255, 0.3);
  --vs-link: #3b82f6;
  --vs-text: #f1f5f9;
  --vs-text-muted: #94a3b8;
  --vs-border: #334155;

  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.dev-register-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
}

.dev-register-brand {
  text-align: center;
  margin-bottom: 1.75rem;
}

.dev-register-logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.dev-register-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-register-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--vs-text-muted);
  font-weight: 400;
}

.dev-register-form-wrap {
  width: 100%;
}

.dev-register-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dev-register-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vs-text);
}

.dev-register-optional {
  font-weight: 400;
  color: var(--vs-text-muted);
}

.dev-register-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  box-sizing: border-box;
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--vs-text);
  background: #111;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dev-register-input::placeholder {
  color: var(--vs-text-muted);
}

.dev-register-input:focus {
  border-color: var(--vs-primary);
  box-shadow: 0 0 0 2px var(--vs-primary-focus);
}

.dev-register-error {
  margin: 0;
  font-size: 0.875rem;
  color: #f87171;
}

.dev-register-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  margin-top: 0.25rem;
  background: var(--vs-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.dev-register-btn:hover:not(:disabled) {
  background: var(--vs-primary-hover);
}

.dev-register-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.dev-register-footer {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--vs-border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--vs-text-muted);
}

.dev-register-footer a {
  color: var(--vs-link);
  font-weight: 500;
  text-decoration: none;
}

.dev-register-footer a:hover {
  text-decoration: underline;
}
/* Gaming-themed login — for gamer app. See Login.tsx for developer portal. */

.gamer-login-screen {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow: auto;
}

.gamer-login-bg {
  position: absolute;
  inset: 0;
  background: url('/images/Login%20Background.png') center center / cover no-repeat;
  z-index: 0;
}

.gamer-login-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

.gamer-login-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.gamer-login-brand {
  margin-bottom: 2rem;
}

.gamer-login-logo {
  max-width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

.gamer-login-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-weight: 400;
}

.gamer-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.gamer-login-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: text;
}

.gamer-login-label-text {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.gamer-login-input-wrap {
  position: relative;
  display: block;
}

.gamer-login-input {
  width: 100%;
  padding: 0.85rem 3rem 0.85rem 1rem;
  box-sizing: border-box;
  background: rgba(40, 44, 52, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gamer-login-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.gamer-login-input:focus {
  border-color: rgba(100, 150, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(100, 150, 255, 0.2);
}

.gamer-login-input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gamer-login-input-icon--right {
  pointer-events: auto;
}

.gamer-login-password-toggle {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
  line-height: 0;
}

.gamer-login-password-toggle:hover {
  color: #fff;
}

.gamer-login-error {
  margin: 0;
  color: #ff6b6b;
  font-size: 0.9rem;
}

.gamer-login-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  margin-top: 0.25rem;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.gamer-login-btn:hover:not(:disabled) {
  background: #2563eb;
}

.gamer-login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.gamer-login-footer {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.gamer-login-footer a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.gamer-login-footer a:hover {
  text-decoration: underline;
}
.game-overview-series-sub {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.game-overview-series-y-hint {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

.game-overview-series-chart-wrap {
  width: 100%;
  max-width: 640px;
}

.game-overview-series-svg {
  width: 100%;
  height: auto;
  min-height: 240px;
  display: block;
}

.game-overview-series-x-svg-text {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.game-overview-series-muted,
.game-overview-series-error {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.game-overview-series-error {
  color: #f87171;
}
/* Game detail — same dark flair */

.dev-game-detail {
  --vs-primary: #0066ff;
  --vs-primary-hover: #0052cc;
  --vs-link: #3b82f6;
  --vs-card: #111;
  --vs-text: #f1f5f9;
  --vs-text-muted: #94a3b8;
  --vs-border: #334155;
}

.dev-game-detail-back {
  color: var(--vs-link);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.dev-game-detail-back:hover {
  text-decoration: underline;
}

.dev-game-detail-card {
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.dev-game-detail-info {
  margin-bottom: 1.5rem;
}

.dev-game-detail-name {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-game-detail-status-row {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dev-game-detail-status {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}
.dev-game-detail-status--pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}
.dev-game-detail-status--approved {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}
.dev-game-detail-status--rejected {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.dev-game-detail-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.dev-game-detail-live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.dev-game-detail-live-indicator--live {
  color: #4ade80;
}
.dev-game-detail-live-indicator--live .dev-game-detail-live-dot {
  background: #4ade80;
}
.dev-game-detail-live-indicator--potential {
  color: #fbbf24;
}
.dev-game-detail-live-indicator--potential .dev-game-detail-live-dot {
  background: #fbbf24;
}
.dev-game-detail-live-indicator--issue {
  color: #f87171;
}
.dev-game-detail-live-indicator--issue .dev-game-detail-live-dot {
  background: #f87171;
}

.dev-game-detail-meta {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.dev-game-detail-meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--vs-text-muted);
  margin-bottom: 0.25rem;
}

.dev-game-detail-meta dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--vs-text);
}

.dev-game-detail-meta code {
  font-size: 0.85em;
  color: var(--vs-text-muted);
}

.dev-game-detail-sdk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dev-game-detail-sdk-toggle,
.dev-game-detail-sdk-copy {
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--vs-border);
  background: transparent;
  color: var(--vs-text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.dev-game-detail-sdk-toggle:hover,
.dev-game-detail-sdk-copy:hover {
  color: var(--vs-text);
  border-color: var(--vs-text-muted);
}

.dev-game-detail-events {
  margin-top: 0;
}

.dev-game-detail-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.dev-game-detail-section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-game-detail-create-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--vs-primary);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}

.dev-game-detail-create-btn:hover {
  background: var(--vs-primary-hover);
}

.dev-game-detail-empty {
  margin: 0;
  color: var(--vs-text-muted);
  font-size: 0.95rem;
}

.dev-game-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.dev-game-detail-table th,
.dev-game-detail-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--vs-border);
  color: var(--vs-text);
  font-size: 0.95rem;
}

.dev-game-detail-table th {
  font-weight: 600;
  color: var(--vs-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dev-game-detail-table tbody tr:last-child td {
  border-bottom: none;
}

.dev-game-detail-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.dev-game-detail-event-link {
  color: var(--vs-link);
  text-decoration: none;
}

.dev-game-detail-event-link:hover {
  text-decoration: underline;
}

.dev-game-detail-status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.dev-game-detail-status--pending {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.dev-game-detail-status--live {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.dev-game-detail-status--ended {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

.dev-game-detail-status--cancelled {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.dev-game-detail-table code {
  font-size: 0.85em;
  color: var(--vs-text-muted);
}

.dev-game-detail-muted {
  color: var(--vs-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.dev-game-detail-error {
  color: #f87171;
  font-size: 0.95rem;
  margin: 0;
}

.dev-game-detail-success {
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 500;
}

.dev-game-detail-stats {
  margin-top: 1.5rem;
}

.dev-game-detail-stats .dev-game-detail-create-btn {
  cursor: pointer;
  border: none;
}

.dev-game-detail-stats .dev-game-detail-create-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dev-game-detail-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.5rem;
}

.dev-game-detail-stats-category {
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.dev-game-detail-stats-cat-title {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--vs-text-muted);
}

.dev-game-detail-stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dev-game-detail-stats-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  font-size: 0.9rem;
}

.dev-game-detail-stats-item:last-child {
  border-bottom: none;
}

.dev-game-detail-stats-item label {
  cursor: pointer;
  color: var(--vs-text);
  flex: 1;
}

.dev-game-detail-stats-item input[type="checkbox"] {
  margin-right: 0.5rem;
}

.dev-game-detail-stats-item code {
  font-size: 0.8em;
  color: var(--vs-text-muted);
}

.dev-game-detail-stats-desc {
  color: var(--vs-text-muted);
  font-size: 0.85em;
}

.dev-game-detail-stats-meta {
  font-size: 0.75rem;
  color: var(--vs-text-muted);
  white-space: nowrap;
}

.dev-game-detail-leaderboard-preview {
  margin-top: 1.5rem;
}

.dev-game-detail-lb-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.dev-game-detail-lb-select {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--vs-border);
  background: var(--vs-card);
  color: var(--vs-text);
  min-width: 12rem;
}

.dev-game-detail-lb-load {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  background: var(--vs-primary);
  color: #fff;
  cursor: pointer;
  font-weight: 500;
}

.dev-game-detail-lb-load:hover:not(:disabled) {
  background: var(--vs-primary-hover);
}

.dev-game-detail-lb-load:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dev-game-detail-lb-table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
}

.dev-game-detail-lb-table th,
.dev-game-detail-lb-table td {
  white-space: nowrap;
}

.dev-game-detail-lb-table td {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.dev-game-detail-analytics {
  margin-top: 1.5rem;
}

.dev-game-detail-summary {
  margin-bottom: 1.5rem;
}

.dev-game-detail-analytics-days {
  display: flex;
  gap: 0.5rem;
}

.dev-game-detail-analytics-day-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--vs-border);
  background: transparent;
  color: var(--vs-text-muted);
  cursor: pointer;
}

.dev-game-detail-analytics-day-btn:hover {
  color: var(--vs-text);
  border-color: var(--vs-text-muted);
}

.dev-game-detail-analytics-day-btn--active {
  background: var(--vs-primary);
  border-color: var(--vs-primary);
  color: #fff;
}

.dev-game-detail-analytics-h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-game-detail-funnel {
  margin-bottom: 1.5rem;
}

.dev-game-detail-funnel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 1rem;
}

.dev-game-detail-funnel-item {
  padding: 0.75rem 1rem;
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.dev-game-detail-funnel-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--vs-text-muted);
  margin-bottom: 0.25rem;
}

.dev-game-detail-funnel-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-game-detail-daily-totals {
  margin-bottom: 1.5rem;
}

.dev-game-detail-top-events {
  margin-top: 0.5rem;
}

.dev-game-detail-top-events .dev-game-detail-table {
  margin-top: 0.5rem;
}

/* Template creator: type + presets + JSON */
.dev-template-create-type {
  margin-bottom: 1.5rem;
}
.dev-template-create-type label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--vs-text);
}
.dev-template-create-type-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.dev-template-create-type-options input {
  margin-right: 0.35rem;
}
.dev-template-create-row {
  display: grid;
  grid-template-columns: 200px minmax(32rem, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 720px) {
  .dev-template-create-row {
    grid-template-columns: 1fr;
  }
}
.dev-template-create-presets {
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
}
.dev-template-create-presets h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--vs-text-muted);
}
.dev-template-create-preset-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.6rem;
  margin-bottom: 0.25rem;
  border: 1px solid var(--vs-border);
  border-radius: 6px;
  background: var(--vs-card);
  color: var(--vs-text);
  cursor: pointer;
  font-size: 0.9rem;
}
.dev-template-create-preset-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--vs-primary);
}
.dev-template-create-preset-btn.active {
  border-color: var(--vs-primary);
  background: rgba(0, 102, 255, 0.15);
  color: var(--vs-primary);
}
.dev-template-create-json-wrap {
  min-width: 0;
}
.dev-template-create-json-wrap label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--vs-text);
}
.dev-template-create-json-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.dev-template-create-json-wrap textarea {
  width: 100%;
  min-width: 32rem;
  min-height: 280px;
  font-family: monospace;
  font-size: 0.85rem;
  resize: vertical;
}

/* —— Game overview (mock-aligned dashboard) —— */
.dev-game-overview-flash {
  margin: 0 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 0.9rem;
}

.dev-game-overview-hero {
  margin-bottom: 1.5rem;
}

.dev-game-overview-hero-main {
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.dev-game-overview-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.dev-game-overview-brand {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  min-width: 0;
}

.dev-game-overview-icon-wrap {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  border: 1px solid var(--vs-border);
  background: #0a0a0a;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dev-game-overview-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-game-overview-icon-fallback {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  background: linear-gradient(145deg, #1e3a8a, #4f46e5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-game-overview-headlines {
  min-width: 0;
}

.dev-game-overview-title {
  margin-top: 0;
}

.dev-game-overview-edit-btn {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  background: var(--vs-primary);
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}

.dev-game-overview-edit-btn:hover {
  background: var(--vs-primary-hover);
}

.dev-game-overview-meta {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .dev-game-overview-meta {
    grid-template-columns: 1fr 1fr;
  }
}

.dev-game-overview-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 960px) {
  .dev-game-overview-grid {
    grid-template-columns: 1fr;
  }
}

.dev-game-overview-card {
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.dev-game-overview-card-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-game-overview-stats-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--vs-text-muted);
}

.dev-game-overview-stats-totals strong {
  color: var(--vs-text);
  font-weight: 600;
  margin-left: 0.25rem;
}

.dev-game-overview-table-wrap {
  overflow-x: auto;
}

.dev-game-overview-stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.dev-game-overview-stats-table th,
.dev-game-overview-stats-table td {
  text-align: right;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid #1e293b;
  color: var(--vs-text);
}

.dev-game-overview-stats-table thead th {
  text-align: right;
  color: var(--vs-text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dev-game-overview-stats-table thead th:first-child,
.dev-game-overview-stats-table tbody th {
  text-align: left;
}

.dev-game-overview-stats-table tbody th {
  font-weight: 500;
  color: var(--vs-text-muted);
}

.dev-game-overview-sample-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
}

.dev-game-overview-performance-card .perf-preview {
  margin-top: -0.25rem;
}

.dev-game-overview-performance-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.dev-game-overview-performance-head .dev-game-overview-card-title {
  margin-bottom: 0;
}

.dev-game-overview-series-select-label {
  margin: 0;
}

.dev-game-overview-series-select {
  padding: 0.4rem 2rem 0.4rem 0.65rem;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  max-width: min(100%, 22rem);
}

.dev-game-overview-series-select option {
  color: #0f172a;
  background: #fff;
}

.dev-game-overview-series-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-game-overview-sdk-restricted {
  font-size: 0.85rem;
  color: var(--vs-text-muted);
  line-height: 1.45;
}

.dev-game-overview-metrics-error {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #f87171;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Dashboard — company-style layout + cards */

.dev-dashboard {
  --vs-primary: #0066ff;
  --vs-primary-hover: #0052cc;
  --vs-link: #3b82f6;
  --vs-text: #f1f5f9;
  --vs-text-muted: #94a3b8;
  --vs-border: #334155;
  --vs-card: #111;
}

.dev-dashboard-layout {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 260px);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .dev-dashboard-layout {
    grid-template-columns: 1fr;
  }
  .dev-dashboard-aside {
    order: -1;
  }
}

.dev-dashboard-main {
  min-width: 0;
}

/* Company card + performance chart — one row */
.dev-dashboard-hero-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 1.35fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.dev-dashboard-hero-row > .dev-dashboard-section {
  margin-bottom: 0;
}

/* Adjacent-section spacing must not apply inside hero row (was pushing Performance down). */
.dev-dashboard-hero-row .dev-dashboard-section + .dev-dashboard-section {
  margin-top: 0;
}

.dev-dashboard-hero-row .dev-dashboard-performance .dev-dashboard-section-head {
  margin-bottom: 1rem;
}

.dev-dashboard-hero-row .dev-dashboard-performance .dev-dashboard-section-head h2 {
  font-size: 1.15rem;
}

.dev-dashboard-performance-head.dev-game-overview-performance-head {
  align-items: flex-start;
}

.dev-dashboard-performance-head .dev-dashboard-performance-title-wrap {
  margin-bottom: 0;
}

.dev-dashboard-performance-head .dev-dashboard-performance-title-wrap h2 {
  margin: 0;
  font-size: 1.15rem;
}

.dev-dashboard-performance-chart-title {
  margin: 0.35rem 0 0.25rem;
}

.dev-dashboard-performance-placeholder {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.dev-dashboard-performance-placeholder a {
  color: var(--vs-link);
}

@media (max-width: 900px) {
  .dev-dashboard-hero-row {
    grid-template-columns: 1fr;
  }
}

.dev-dashboard-company-hero-heading {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-dashboard-company-hero-logo-box {
  background: #0a0a0a;
  border: 1px solid var(--vs-border);
  border-radius: 12px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.dev-dashboard-company-hero-logo-img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.dev-dashboard-company-hero-logo-box--initials {
  background: linear-gradient(145deg, #1e3a8a, #4f46e5);
  border-color: #334155;
}

.dev-dashboard-company-hero-initials {
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1;
  user-select: none;
}

.dev-dashboard-company-hero-meta {
  min-width: 0;
}

.dev-dashboard-company-hero-title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-dashboard-company-hero-slug {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--vs-text-muted);
}

.dev-dashboard-company-hero-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vs-link);
  text-decoration: none;
}

.dev-dashboard-company-hero-link:hover {
  text-decoration: underline;
}

.dev-dashboard-aside {
  position: sticky;
  top: 1rem;
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.dev-dashboard-aside-title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-dashboard-activity {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dev-dashboard-activity-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid #1e293b;
}

.dev-dashboard-activity-item:last-child {
  border-bottom: none;
}

.dev-dashboard-activity-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--vs-text);
  line-height: 1.3;
}

.dev-dashboard-activity-sub {
  font-size: 0.75rem;
  color: var(--vs-text-muted);
  margin-top: 0.2rem;
}

.dev-dashboard-activity-ago {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.dev-dashboard-section {
  background: var(--vs-card);
  border-radius: 12px;
  border: 1px solid var(--vs-border);
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.dev-dashboard-performance-sub {
  margin: -0.5rem 0 1rem;
}

.dev-dashboard-chart-wrap {
  margin-top: 0.5rem;
}

.dev-dashboard-chart-svg {
  width: 100%;
  max-height: 220px;
  display: block;
}

.dev-dashboard-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--vs-text-muted);
}

.dev-dashboard-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dev-dashboard-chart-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.dev-dashboard-chart-dot--mau {
  background: #3b82f6;
}

.dev-dashboard-chart-dot--rev {
  background: #f97316;
}

.dev-dashboard-chart-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.dev-dashboard-table-scroll {
  overflow-x: auto;
  margin: 0 -0.25rem;
}

.dev-dashboard-th-icon {
  width: 2.75rem;
}

.dev-dashboard-game-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1e40af, #6366f1);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.dev-dashboard-game-icon--img {
  padding: 0;
  background: #0a0a0a;
  border: 1px solid var(--vs-border);
}

.dev-dashboard-game-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dev-dashboard-live-events {
  color: #22c55e;
  font-weight: 600;
}

.dev-dashboard-link-quiet {
  font-size: 0.85rem;
  color: var(--vs-link);
  text-decoration: none;
  font-weight: 500;
}

.dev-dashboard-link-quiet:hover {
  text-decoration: underline;
}

.dev-dashboard-section + .dev-dashboard-section {
  margin-top: 1.5rem;
}

.dev-dashboard-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.dev-dashboard-section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-dashboard-create-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--vs-primary);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}

.dev-dashboard-create-btn:hover {
  background: var(--vs-primary-hover);
}

.dev-dashboard-loading,
.dev-dashboard-error {
  margin: 0;
  color: var(--vs-text-muted);
  font-size: 0.95rem;
}

.dev-dashboard-error {
  color: #f87171;
}

.dev-dashboard-muted {
  margin: 0;
  color: var(--vs-text-muted);
  font-size: 0.95rem;
}

.dev-dashboard-game-status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-right: 0.5rem;
}
.dev-dashboard-game-status--pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}
.dev-dashboard-game-status--approved {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}
.dev-dashboard-game-status--rejected {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.dev-dashboard-th-live {
  width: 6.5rem;
  text-align: left;
}

.dev-dashboard-cell-live {
  width: 6.5rem;
  vertical-align: middle;
}

.dev-dashboard-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.dev-dashboard-live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.dev-dashboard-live-indicator--live {
  color: #4ade80;
}
.dev-dashboard-live-indicator--live .dev-dashboard-live-dot {
  background: #4ade80;
}

.dev-dashboard-live-indicator--potential {
  color: #fbbf24;
}
.dev-dashboard-live-indicator--potential .dev-dashboard-live-dot {
  background: #fbbf24;
}

.dev-dashboard-live-indicator--issue {
  color: #f87171;
}
.dev-dashboard-live-indicator--issue .dev-dashboard-live-dot {
  background: #f87171;
}

.dev-dashboard-live-tooltip-wrap {
  position: relative;
  display: inline-block;
}

.dev-dashboard-live-tooltip {
  display: none;
  position: absolute;
  z-index: 20;
  left: 0;
  bottom: 100%;
  margin-bottom: 0.35rem;
  padding: 0.5rem 0.65rem;
  max-width: 280px;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
  color: #f1f5f9;
  background: #0f172a;
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.dev-dashboard-live-tooltip-wrap:hover .dev-dashboard-live-tooltip,
.dev-dashboard-live-tooltip-wrap:focus-within .dev-dashboard-live-tooltip {
  display: block;
}

.dev-dashboard-success {
  margin: 0 0 1rem;
  color: #4ade80;
  font-size: 0.95rem;
}

.dev-dashboard-admin-banner {
  margin: 0 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid #2563eb;
  color: #bfdbfe;
  font-size: 0.88rem;
}

.dev-dashboard-warn {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid #b45309;
  color: #fcd34d;
  font-size: 0.9rem;
}

.dev-dashboard-warn a {
  color: #93c5fd;
  font-weight: 600;
}

.dev-dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dev-dashboard-table th,
.dev-dashboard-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--vs-border);
  color: var(--vs-text);
  font-size: 0.95rem;
}

.dev-dashboard-table th {
  font-weight: 600;
  color: var(--vs-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dev-dashboard-table tbody tr:last-child td {
  border-bottom: none;
}

.dev-dashboard-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.dev-dashboard-table code {
  font-size: 0.85em;
  color: var(--vs-text-muted);
}

.dev-dashboard-table .dev-dashboard-manage-link {
  color: var(--vs-link);
  text-decoration: none;
  font-weight: 500;
}

.dev-dashboard-table .dev-dashboard-manage-link:hover,
.dev-dashboard-table .dev-dashboard-event-link:hover {
  text-decoration: underline;
}

.dev-dashboard-table .dev-dashboard-event-link {
  color: var(--vs-link);
  text-decoration: none;
  font-weight: 500;
}

.dev-dashboard-status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.dev-dashboard-status--pending {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.dev-dashboard-status--live {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.dev-dashboard-status--ended {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

.dev-dashboard-status--cancelled {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.dev-dashboard-empty {
  color: var(--vs-text-muted);
  font-size: 0.95rem;
}

.dev-dashboard-earnings {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--vs-border);
}

.dev-dashboard-earnings-title {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--vs-text);
}

.dev-dashboard-earnings-list {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
  color: var(--vs-text-muted);
  font-size: 0.9rem;
}

.dev-dashboard-earnings-list li {
  margin-bottom: 0.25rem;
}
/* Create game — full Add Game form, dark theme */

.dev-create-game {
  --vs-primary: #0066ff;
  --vs-primary-hover: #0052cc;
  --vs-link: #3b82f6;
  --vs-bg: #000;
  --vs-card: #111;
  --vs-text: #f1f5f9;
  --vs-text-muted: #94a3b8;
  --vs-border: #334155;
}

.dev-create-game-back {
  color: var(--vs-link);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.dev-create-game-back:hover {
  text-decoration: underline;
}

.dev-create-game-blocked {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid #b45309;
  color: #fcd34d;
  font-size: 0.9rem;
}

.dev-create-game-blocked a {
  color: var(--vs-link);
  font-weight: 600;
}

.dev-create-game-card {
  max-width: 560px;
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.dev-create-game-header {
  margin-bottom: 0.5rem;
}

.dev-create-game-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.dev-create-game-card h1 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-create-game-subtitle {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--vs-text-muted);
}

.dev-create-game-hint {
  margin: -0.35rem 0 0.5rem;
  font-size: 0.8rem;
  color: var(--vs-text-muted);
}

.dev-create-game-required-legend {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  color: var(--vs-text-muted);
}

.dev-create-game-asterisk {
  color: #f87171;
}

.dev-create-game-section {
  margin-bottom: 1.75rem;
}

.dev-create-game-section h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-create-game-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vs-text);
  margin-bottom: 0.5rem;
}

.dev-create-game-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  box-sizing: border-box;
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--vs-text);
  background: var(--vs-bg);
  outline: none;
  margin-bottom: 1rem;
}

.dev-create-game-input:focus {
  border-color: var(--vs-primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.dev-create-game-input::placeholder {
  color: var(--vs-text-muted);
}

.dev-create-game-field-error {
  display: block;
  font-size: 0.8rem;
  color: #f87171;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.dev-create-game-select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  box-sizing: border-box;
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--vs-text);
  background: var(--vs-bg);
  outline: none;
  margin-bottom: 1rem;
  cursor: pointer;
}

.dev-create-game-select:focus {
  border-color: var(--vs-primary);
}

.dev-create-game-multiselect-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dev-create-game-multiselect-block {
  flex: 1;
  min-width: 0;
}

.dev-create-game-multiselect-list {
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  padding: 0.5rem;
  max-height: 140px;
  overflow-y: auto;
  background: var(--vs-bg);
}

.dev-create-game-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--vs-text);
  cursor: pointer;
  padding: 0.35rem 0;
}

.dev-create-game-checkbox-label input {
  accent-color: var(--vs-primary);
}

.dev-create-game-checkbox-label--block {
  margin-bottom: 0.5rem;
}

.dev-create-game-selected-display {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--vs-text-muted);
  background: var(--vs-bg);
  min-height: 2.5rem;
}

.dev-create-game-coming-soon {
  font-size: 1.25rem;
  font-weight: 600;
  color: #c084fc;
  margin: 0.5rem 0 0;
}

.dev-create-game-link-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.dev-create-game-link-input {
  flex: 1;
  margin-bottom: 0;
}

.dev-create-game-link-remove {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--vs-text-muted);
  background: transparent;
  border: 1px solid var(--vs-border);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.dev-create-game-link-remove:hover {
  color: #f87171;
  border-color: #f87171;
}

.dev-create-game-add-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--vs-primary);
  background: transparent;
  border: 1px dashed var(--vs-border);
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.25rem;
}

.dev-create-game-add-link:hover {
  border-color: var(--vs-primary);
  background: rgba(0, 102, 255, 0.08);
}

.dev-create-game-error {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #f87171;
}

.dev-create-game-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--vs-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.dev-create-game-btn:hover:not(:disabled) {
  background: var(--vs-primary-hover);
}

.dev-create-game-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
/* Game layout: sub-nav bar + game dropdown */

.game-layout {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.game-layout-sub-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 -1.5rem 1.5rem -1.5rem;
}

.game-layout-sub-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.game-layout-back {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.game-layout-back:hover {
  color: #fff;
}

.game-layout-nav-link {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s, color 0.2s;
}

.game-layout-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.game-layout-nav-link--active {
  background: #2563eb;
  color: #fff;
}

.game-layout-game-select-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-layout-game-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}

.game-layout-game-select {
  padding: 0.4rem 2rem 0.4rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  min-width: 10rem;
  appearance: auto;
}

.game-layout-game-select option {
  color: #0f172a;
  background: #fff;
}

.game-layout-game-select:focus {
  outline: none;
  border-color: #2563eb;
}

.game-layout-main {
  flex: 1;
  padding: 0 0 1.5rem;
}

.game-layout-muted {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.95rem;
}

.game-layout-error {
  color: #f87171;
  margin: 0;
  font-size: 0.95rem;
}
.elo-ladder-callout {
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 0.75rem 0 1rem;
  border: 1px solid var(--vs-border, #334155);
  background: rgba(15, 23, 42, 0.6);
}

.elo-ladder-callout--detail {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
}

.elo-ladder-callout--form {
  max-width: 100%;
}

.elo-ladder-callout--ladder {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(120, 53, 15, 0.2);
}

.elo-ladder-callout--ranked {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(30, 58, 138, 0.25);
}

.elo-ladder-callout__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--vs-text, #f1f5f9);
  opacity: 0.95;
}

.elo-ladder-callout__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--vs-text-muted, #94a3b8);
}

.elo-ladder-callout__text strong {
  color: var(--vs-text, #f1f5f9);
  font-weight: 600;
}

.elo-ladder-mode-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.elo-ladder-mode-badge--ladder {
  background: rgba(120, 53, 15, 0.45);
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.elo-ladder-mode-badge--ranked {
  background: rgba(30, 58, 138, 0.55);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.4);
}
/* Create event — centered card, uses space well */

.dev-create-event {
  --vs-primary: #0066ff;
  --vs-primary-hover: #0052cc;
  --vs-link: #3b82f6;
  --vs-bg: #000;
  --vs-card: #111;
  --vs-text: #f1f5f9;
  --vs-text-muted: #94a3b8;
  --vs-border: #334155;

  width: 100%;
  box-sizing: border-box;
}

.dev-create-event-back {
  color: var(--vs-link);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.dev-create-event-back:hover {
  text-decoration: underline;
}

.dev-create-event-muted {
  color: var(--vs-text-muted);
  margin: 1rem 0;
}

.dev-create-event-hint {
  color: var(--vs-text-muted);
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

/* Centered card: block + margin auto so it always centers in the main area */
.dev-create-event-card {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.dev-create-event-card h1 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-create-event-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.dev-create-event-mode {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--vs-border);
  background: transparent;
  color: var(--vs-text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.dev-create-event-mode:hover {
  color: var(--vs-text);
  border-color: var(--vs-text-muted);
}

.dev-create-event-mode.active {
  background: var(--vs-primary);
  color: #fff;
  border-color: var(--vs-primary);
}

.dev-create-event-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dev-create-event-section {
  margin-bottom: 1.5rem;
}

.dev-create-event-section h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--vs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dev-create-event-subsection {
  margin: 1rem 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vs-text-muted);
}

.dev-create-event-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vs-text);
  margin-bottom: 0.35rem;
  margin-top: 0.75rem;
}

.dev-create-event-label:first-of-type {
  margin-top: 0;
}

.dev-create-event-label-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dev-create-event-label-text {
  font-weight: 500;
}

.dev-create-event-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dev-create-event-info-wrap--inline {
  margin-left: 0.25rem;
}

.dev-create-event-info-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid var(--vs-text-muted);
  color: var(--vs-text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}

.dev-create-event-info-icon:hover {
  color: var(--vs-text);
  border-color: var(--vs-text-muted);
}

.dev-create-event-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 6px;
  padding: 0.5rem 0.65rem;
  max-width: 280px;
  width: max-content;
  background: #1e293b;
  border: 1px solid var(--vs-border);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--vs-text);
  line-height: 1.4;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dev-create-event-info-wrap:hover .dev-create-event-tooltip {
  opacity: 1;
  visibility: visible;
}

.dev-create-event-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  box-sizing: border-box;
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--vs-text);
  background: var(--vs-bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dev-create-event-input:focus {
  border-color: var(--vs-primary);
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.25);
}

.dev-create-event-input::placeholder {
  color: var(--vs-text-muted);
}

select.dev-create-event-input {
  cursor: pointer;
  appearance: auto;
}

textarea.dev-create-event-input {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.dev-create-event-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--vs-text);
  cursor: pointer;
}

.dev-create-event-check input {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.dev-create-event-error {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: #f87171;
}

.dev-create-event-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  margin-top: 0.5rem;
  background: var(--vs-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.dev-create-event-btn:hover:not(:disabled) {
  background: var(--vs-primary-hover);
}

.dev-create-event-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ELO: separate “Ladder vs Ranked” from optional tier JSON */
.dev-create-event-elo-tiers-panel {
  margin-top: 0.25rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 10px;
  border: 1px dashed var(--vs-border);
  background: rgba(15, 23, 42, 0.35);
}

.dev-create-event-elo-tiers-panel-title {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--vs-text-muted);
}

.dev-create-event-elo-tiers-panel-hint {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--vs-text-muted);
}

.dev-create-event-elo-tiers-panel-hint strong {
  color: var(--vs-text);
  font-weight: 600;
}
/* Event detail — same dark style as GameDetail */

.dev-event-detail {
  --vs-primary: #0066ff;
  --vs-primary-hover: #0052cc;
  --vs-link: #3b82f6;
  --vs-card: #111;
  --vs-text: #f1f5f9;
  --vs-text-muted: #94a3b8;
  --vs-border: #334155;
  max-width: 900px;
  margin: 0 auto;
}

.dev-event-detail-back {
  color: var(--vs-link);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.dev-event-detail-back:hover {
  text-decoration: underline;
}

.dev-event-detail-card {
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.dev-event-detail-info {
  margin-bottom: 1.5rem;
}

.dev-event-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.dev-event-detail-head-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dev-event-detail-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.dev-event-detail-btn-edit {
  background: var(--vs-primary, #0066ff);
  color: #fff;
}

.dev-event-detail-btn-edit:hover {
  background: var(--vs-primary-hover, #0052cc);
}

.dev-event-detail-btn-cancel {
  background: transparent;
  color: #f87171;
  border: 1px solid #f87171;
}

.dev-event-detail-btn-cancel:hover:not(:disabled) {
  background: rgba(248, 113, 113, 0.15);
}

.dev-event-detail-btn-cancel:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dev-event-detail-btn-finalize {
  background: var(--vs-primary, #0066ff);
  color: #fff;
}

.dev-event-detail-btn-finalize:hover:not(:disabled) {
  background: var(--vs-primary-hover, #0052cc);
}

.dev-event-detail-btn-finalize:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dev-event-detail-prizes-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dev-event-detail-prizes-actions .dev-event-detail-hint {
  font-size: 0.85rem;
  color: var(--vs-text-muted);
}

.dev-event-detail-success {
  color: #22c55e;
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}

.dev-event-detail-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-event-detail-status {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.dev-event-detail-status--pending {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.dev-event-detail-status--live {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.dev-event-detail-status--ended {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

.dev-event-detail-status--cancelled {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.dev-event-detail-participants-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.dev-event-detail-players-link {
  color: var(--vs-link);
  font-size: 0.9rem;
  text-decoration: none;
}

.dev-event-detail-players-link:hover {
  text-decoration: underline;
}

.dev-event-detail-meta {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.dev-event-detail-meta-row dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--vs-text-muted);
  margin-bottom: 0.2rem;
}

.dev-event-detail-meta-row dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--vs-text);
}

.dev-event-detail-meta code {
  font-size: 0.85em;
  color: var(--vs-text-muted);
}

.dev-event-detail-id-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dev-event-detail-copy {
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--vs-border);
  background: transparent;
  color: var(--vs-text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.dev-event-detail-copy:hover {
  color: var(--vs-text);
  border-color: var(--vs-text-muted);
}

.dev-event-detail-section-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-event-detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.dev-event-detail-mode-value {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.dev-event-detail-pre {
  margin: 0;
  font-size: 0.85rem;
  color: var(--vs-text-muted);
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 8rem;
  overflow: auto;
}

.dev-event-detail-muted {
  color: var(--vs-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.dev-event-detail-error {
  color: #f87171;
  font-size: 0.95rem;
  margin: 0;
}
.dev-event-participants {
  --vs-link: #3b82f6;
  --vs-card: #111;
  --vs-text: #f1f5f9;
  --vs-text-muted: #94a3b8;
  --vs-border: #334155;
  max-width: 1200px;
  margin: 0 auto;
}

.dev-event-participants-back {
  color: var(--vs-link);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.dev-event-participants-back:hover {
  text-decoration: underline;
}

.dev-event-participants-title {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--vs-text);
}

.dev-event-participants-muted,
.dev-event-participants-error {
  margin: 0;
  font-size: 0.95rem;
}

.dev-event-participants-muted {
  color: var(--vs-text-muted);
}

.dev-event-participants-error {
  color: #f87171;
}

.dev-event-participants-card {
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
}

.dev-event-participants-table {
  width: 100%;
  border-collapse: collapse;
}

.dev-event-participants-table th,
.dev-event-participants-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--vs-border);
  color: var(--vs-text);
  font-size: 0.9rem;
}

.dev-event-participants-table th {
  font-weight: 600;
  color: var(--vs-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.dev-event-participants-table tbody tr:last-child td {
  border-bottom: none;
}

.dev-event-participants-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.dev-event-participants-id {
  font-size: 0.8em;
  color: var(--vs-text-muted);
  word-break: break-all;
}

.dev-event-participants-table .dev-event-participants-view-link {
  color: var(--vs-link);
  text-decoration: none;
}

.dev-event-participants-table .dev-event-participants-view-link:hover {
  text-decoration: underline;
}
.pending-games-section {
  margin-top: 2rem;
}

.pending-games-section:first-of-type {
  margin-top: 0;
}

.pending-games-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.pending-games-section-hint {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.pending-games-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.pending-games-table--wide {
  min-width: 720px;
}

.pending-games-sub {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.pending-games {
  --vs-text: #f1f5f9;
  --vs-text-muted: #94a3b8;
  --vs-border: #334155;
  --vs-link: #3b82f6;
}

.pending-games-back-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1rem;
}

.pending-games-back-sep {
  color: var(--vs-muted, #64748b);
  font-size: 0.9rem;
  user-select: none;
}

.pending-games-back {
  color: var(--vs-link);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.pending-games-back-row .pending-games-back {
  margin-bottom: 0;
}

.pending-games-back:hover {
  text-decoration: underline;
}

.pending-games h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--vs-text);
}

.pending-games-desc {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--vs-text-muted);
}

.pending-games-loading,
.pending-games-empty {
  color: var(--vs-text-muted);
}

.pending-games-error {
  color: #f87171;
  margin-bottom: 1rem;
}

.pending-games-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--vs-border);
  border-radius: 8px;
  overflow: hidden;
}

.pending-games-table th,
.pending-games-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--vs-border);
}

.pending-games-table th {
  background: rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.pending-games-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  margin-right: 0.5rem;
  border: none;
}

.pending-games-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pending-games-btn--approve {
  background: #4ade80;
  color: #000;
}

.pending-games-btn--approve:hover:not(:disabled) {
  background: #22c55e;
}

.pending-games-btn--reject {
  background: rgba(248, 113, 113, 0.3);
  color: #f87171;
}

.pending-games-btn--reject:hover:not(:disabled) {
  background: rgba(248, 113, 113, 0.5);
}

.pending-games-action {
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--vs-border);
  background: rgba(59, 130, 246, 0.25);
  color: var(--vs-text);
}

.pending-games-action:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.4);
}

.pending-games-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pending-games-input {
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--vs-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--vs-text);
}

.pending-games-linkish {
  background: none;
  border: none;
  color: var(--vs-link);
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
  padding: 0;
}

.pending-games-th-icon {
  width: 3rem;
}

.pending-games-cell-icon {
  width: 3rem;
  vertical-align: middle;
}

.pending-games-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--vs-text-muted);
  overflow: hidden;
}

.pending-games-icon--img {
  padding: 0;
  background: #0f172a;
}

.pending-games-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-setup-overview-intro {
  margin-bottom: 1.25rem;
  max-width: 52rem;
}

.company-setup-overview-intro a {
  color: #93c5fd;
  text-decoration: underline;
}

.company-setup-overview-stats-wrap {
  max-width: 42rem;
}

.company-setup-overview-panel {
  margin-top: 0.5rem;
}

.company-setup {
  max-width: 56rem;
  padding: 1rem 1.25rem 2rem;
  color: #f1f5f9;
}

.company-setup-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.company-setup-tab {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.875rem;
  cursor: pointer;
}

.company-setup-tab--on {
  background: rgba(0, 102, 255, 0.2);
  border-color: #2563eb;
  color: #f1f5f9;
}

.company-setup-panel {
  background: #111;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

.company-setup-subh {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.company-setup-invite-dummy {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px dashed #475569;
  background: transparent;
  color: #64748b;
  cursor: not-allowed;
  font-size: 0.875rem;
}

.company-setup-team-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.company-setup-team-table th,
.company-setup-team-table td {
  text-align: left;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #1e293b;
  color: #e2e8f0;
}

.company-setup-team-table th {
  color: #64748b;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.company-setup-pill {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.company-setup-pill--ok {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.company-setup-brand-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.company-setup-logo-frame {
  flex-shrink: 0;
  width: 88px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-sizing: border-box;
}

.company-setup-logo-frame--initials {
  background: linear-gradient(135deg, #1d4ed8, #6366f1);
  border-color: #334155;
}

.company-setup-logo-initials {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.company-setup-logo-preview {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  object-fit: contain;
  border: none;
}

.company-setup-brand-name {
  margin: 0 0 0.25rem;
}

.company-setup-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.875rem;
}

.company-setup-dl dt {
  color: #64748b;
  margin: 0;
}

.company-setup-dl dd {
  margin: 0;
  color: #e2e8f0;
}

.company-setup-activity-panel {
  max-width: none;
}

.company-setup-activity-scroll {
  overflow-x: auto;
  margin-top: 1rem;
}

.company-setup-activity-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.company-setup-activity-table th,
.company-setup-activity-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #1e293b;
  vertical-align: top;
}

.company-setup-activity-table th {
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.company-setup-activity-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.company-setup-activity-link:hover {
  text-decoration: underline;
}

.company-setup-activity-status {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.company-setup-activity-status--live {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.company-setup-activity-status--pending {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.company-setup-activity-status--ended,
.company-setup-activity-status--cancelled {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

.company-setup-activity-time {
  display: block;
  color: #e2e8f0;
  font-size: 0.8rem;
}

.company-setup-activity-rel {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

.company-setup-activity-open {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
}

.company-setup-activity-open:hover {
  text-decoration: underline;
}

.company-setup-activity-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}

.company-setup-activity-row--announcement td {
  vertical-align: top;
}

.company-setup-activity-news-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.company-setup-activity-news-body {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  max-width: 420px;
}

.company-setup-back {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.company-setup-back:hover {
  text-decoration: underline;
}

.company-setup h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.company-setup-desc,
.company-setup-muted {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.company-setup-error {
  color: #f87171;
  margin-bottom: 1rem;
}

.company-setup-reject {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid #7f1d1d;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.company-setup-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.company-setup-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.company-setup-form input {
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #f1f5f9;
}

.company-setup-submit {
  margin-top: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.company-setup-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.live-ops {
  color: #f1f5f9;
  max-width: 1100px;
  margin: 0 auto;
}

.live-ops-back {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.live-ops-back:hover {
  text-decoration: underline;
}

.live-ops-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.live-ops h1 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.live-ops-desc {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.live-ops-filters {
  display: flex;
  gap: 0.35rem;
}

.live-ops-filter {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
}

.live-ops-filter--on {
  background: #1d4ed8;
  border-color: #2563eb;
  color: #fff;
}

.live-ops-muted {
  color: #94a3b8;
}

.live-ops-card {
  background: #111;
  border: 1px solid #334155;
  border-radius: 12px;
  overflow: hidden;
}

.live-ops-table {
  width: 100%;
  border-collapse: collapse;
}

.live-ops-table th,
.live-ops-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #1e293b;
  font-size: 0.9rem;
}

.live-ops-table th {
  color: #64748b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-ops-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.live-ops-link:hover {
  text-decoration: underline;
}

.live-ops-status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.live-ops-status--live {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.live-ops-status--pending {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.live-ops-status--ended,
.live-ops-status--cancelled {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

.live-ops-manage {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.live-ops-empty {
  color: #64748b;
  padding: 2rem 1rem !important;
}
.analytics-hub {
  color: #f1f5f9;
  max-width: 1100px;
  margin: 0 auto;
}

.analytics-hub-back {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.analytics-hub-back:hover {
  text-decoration: underline;
}

.analytics-hub h1 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.analytics-hub-desc {
  margin: 0 0 0.75rem;
  color: #94a3b8;
  font-size: 0.9rem;
  max-width: 36rem;
}

.analytics-hub-studio {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.analytics-hub-muted {
  color: #64748b;
  font-size: 0.9rem;
}

.analytics-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.analytics-hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  background: #111;
  border: 1px solid #334155;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.analytics-hub-card:hover {
  border-color: #2563eb;
  background: #0f172a;
}

.analytics-hub-card-title {
  font-weight: 600;
  font-size: 1rem;
}

.analytics-hub-card-meta {
  font-size: 0.8rem;
  color: #64748b;
}

.analytics-hub-card-cta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #3b82f6;
  font-weight: 500;
}

.analytics-hub-modular {
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px dashed #334155;
  background: rgba(15, 23, 42, 0.5);
}

.analytics-hub-modular h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #e2e8f0;
}

.analytics-hub-reports {
  margin-bottom: 2rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #334155;
  background: #0c1220;
}

.analytics-hub-reports h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #e2e8f0;
}

.analytics-hub-reports-hint {
  margin: 0 0 1rem;
  font-size: 0.85rem;
}

.analytics-hub-fieldset {
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 0.85rem 1rem 1rem;
  margin: 0 0 1rem;
  background: rgba(15, 23, 42, 0.4);
}

.analytics-hub-legend {
  padding: 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.analytics-hub-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  cursor: pointer;
}

.analytics-hub-check:last-of-type {
  margin-bottom: 0;
}

.analytics-hub-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.analytics-hub-check-sub {
  margin-left: 1.5rem;
  margin-top: -0.15rem;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.analytics-hub-check code {
  font-size: 0.78em;
  background: #1e293b;
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
  color: #93c5fd;
}

.analytics-hub-csv-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
}

.analytics-hub-csv-label {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

.analytics-hub-csv-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.analytics-hub-btn.small {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
}

.analytics-hub-preview-block {
  margin-top: 1.25rem;
}

.analytics-hub-preview-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.analytics-hub-preview-meta {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
}

.analytics-hub-preview-meta code {
  background: #1e293b;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: #93c5fd;
}

.analytics-hub-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.analytics-hub-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.analytics-hub-field span:first-child {
  font-weight: 500;
}

.analytics-hub-select,
.analytics-hub-input {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid #475569;
  background: #0f172a;
  color: #f1f5f9;
  font-size: 0.9rem;
}

.analytics-hub-input-narrow {
  max-width: 6rem;
}

.analytics-hub-select option {
  background: #0f172a;
  color: #f1f5f9;
}

.analytics-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.analytics-hub-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #475569;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 0.9rem;
  cursor: pointer;
}

.analytics-hub-btn:hover:not(:disabled) {
  background: #334155;
}

.analytics-hub-btn.primary {
  background: #1d4ed8;
  border-color: #2563eb;
  color: #fff;
}

.analytics-hub-btn.primary:hover:not(:disabled) {
  background: #2563eb;
}

.analytics-hub-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.analytics-hub-error {
  color: #f87171;
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.analytics-hub-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #334155;
}

.analytics-hub-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.analytics-hub-table th,
.analytics-hub-table td {
  padding: 0.45rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid #1e293b;
}

.analytics-hub-table th {
  background: #111827;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
}

.analytics-hub-table td {
  color: #e2e8f0;
}

.analytics-hub-table tr:last-child td {
  border-bottom: none;
}
.admin-users {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  color: #e2e8f0;
}

.admin-users-back {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.admin-users h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.admin-users-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
  max-width: 40rem;
}

.admin-users-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-users-search-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.admin-users-search {
  min-width: 220px;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #475569;
  background: #0f172a;
  color: #f1f5f9;
}

.admin-users-count {
  font-size: 0.85rem;
  color: #64748b;
}

.admin-users-muted {
  color: #64748b;
  font-size: 0.9rem;
}

.admin-users-error {
  color: #f87171;
}

.admin-users-table-wrap {
  overflow-x: auto;
  border: 1px solid #334155;
  border-radius: 10px;
}

.admin-users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-users-table th,
.admin-users-table td {
  padding: 0.5rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid #1e293b;
}

.admin-users-table th {
  background: #111827;
  color: #94a3b8;
  font-weight: 600;
}

.admin-users-row-banned td {
  opacity: 0.85;
  background: rgba(127, 29, 29, 0.15);
}

.admin-users-pill {
  margin-left: 0.35rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: #334155;
  color: #cbd5e1;
}

.admin-users-link {
  margin-left: 0.5rem;
  background: none;
  border: none;
  color: #3b82f6;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
}

.admin-users-input {
  padding: 0.25rem 0.4rem;
  margin-right: 0.35rem;
  border-radius: 6px;
  border: 1px solid #475569;
  background: #0f172a;
  color: #f1f5f9;
  max-width: 180px;
}

.admin-users-select {
  padding: 0.25rem 0.35rem;
  border-radius: 6px;
  border: 1px solid #475569;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.8rem;
}

.admin-users-btn {
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #475569;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 0.8rem;
  cursor: pointer;
}

.admin-users-btn.danger {
  border-color: #991b1b;
  background: #7f1d1d;
  color: #fecaca;
}

.admin-users-btn.ghost {
  background: transparent;
  border: none;
  color: #94a3b8;
}

.admin-users-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-users-pager {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.admin-users-player-id {
  max-width: 200px;
  vertical-align: top;
}

.admin-users-player-id code {
  display: block;
  font-size: 0.72rem;
  line-height: 1.35;
  word-break: break-all;
  color: #cbd5e1;
  background: #0f172a;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
}
.play-profile {
  padding: 0.5rem 0 1.5rem;
}

.play-profile-photo-error {
  color: #f87171;
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
  max-width: 20rem;
}

.play-profile-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.play-profile-photo-btn {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  display: block;
}
.play-profile-photo,
.play-profile-photo-placeholder {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.play-profile-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.1);
}
.play-profile-photo-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.play-profile-info {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.25rem 1rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
}
.play-profile-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  grid-column: 1;
  grid-row: 1;
}
.play-profile-location-row {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.play-profile-pin {
  color: #94a3b8;
  flex-shrink: 0;
}
.play-profile-location-btn,
.play-profile-location-input {
  font-size: 0.9rem;
  color: #94a3b8;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.play-profile-location-btn:hover {
  color: #cbd5e1;
}
.play-profile-location-input {
  flex: 1;
  min-width: 0;
  color: #e2e8f0;
  cursor: text;
  outline: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.play-profile-location-input::placeholder {
  color: #64748b;
}
.play-profile-friends {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.play-profile-friends-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.play-profile-friends-label {
  font-size: 0.8rem;
  color: #94a3b8;
}

.play-profile-games-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
}
.play-profile-games-empty {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}
.play-profile-games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.play-profile-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 72px;
  text-decoration: none;
  color: inherit;
}
.play-profile-game-card:hover .play-profile-game-name {
  color: #e2e8f0;
}
.play-profile-game-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}
.play-profile-game-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #e2e8f0;
}
.play-profile-game-name {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-user-play-profile {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}

.admin-user-play-profile-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--portal-muted, #94a3b8);
  text-decoration: none;
  font-size: 0.9rem;
}

.admin-user-play-profile-back:hover {
  color: var(--portal-text, #e2e8f0);
}

.admin-user-play-profile-banner {
  font-size: 0.85rem;
  color: var(--portal-muted, #94a3b8);
  margin: 0 0 1rem;
  padding: 0.6rem 0.75rem;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.admin-user-play-profile-meta {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.95rem;
  color: var(--portal-muted, #94a3b8);
}

.admin-user-play-profile-photo-readonly {
  display: inline-flex;
}

.admin-user-play-profile-id-row {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.admin-user-play-profile-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  word-break: break-all;
  color: var(--portal-text, #e2e8f0);
}

.admin-user-play-profile-copy {
  flex-shrink: 0;
}

.admin-user-play-profile-game-stats {
  display: block;
  font-size: 0.75rem;
  color: var(--portal-muted, #94a3b8);
  margin-top: 0.25rem;
}

.play-profile-game-card {
  flex-direction: column;
  align-items: flex-start;
}
.play-content-admin {
  padding: 1.5rem;
  max-width: 840px;
  color-scheme: dark;
}

.play-content-admin-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}
.play-content-admin-back:hover {
  color: #fff;
}

.play-content-admin h1 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.play-content-admin-desc {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.play-content-admin-error {
  color: #f87171;
  margin: 0 0 1rem;
}

.play-content-admin-section {
  margin-bottom: 2rem;
}

.play-content-admin-section h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  color: #e2e8f0;
}

.play-content-admin-btn-add {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.play-content-admin-btn-add:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.play-content-admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.play-content-admin-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.play-content-admin-item-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .play-content-admin-item-fields {
    grid-template-columns: 1fr 1fr;
  }
  .play-content-admin-item-fields .play-content-admin-input--num {
    grid-column: span 1;
    max-width: 5rem;
  }
}

.play-content-admin-input {
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  font-size: 0.9rem;
}
.play-content-admin-input--num {
  width: 100%;
  max-width: 5rem;
}

.play-content-admin-icon-block {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.play-content-admin-icon-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.play-content-admin-icon-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.play-content-admin-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #e2e8f0;
  cursor: pointer;
}

.play-content-admin-custom-icon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.35rem;
}

.play-content-admin-custom-icon .play-content-admin-input {
  flex: 1 1 200px;
  min-width: 0;
}

.play-content-admin-file {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.play-content-admin-btn-upload {
  padding: 0.45rem 0.65rem;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  cursor: pointer;
}
.play-content-admin-btn-upload:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.play-content-admin-select {
  margin-top: 0.35rem;
  width: 100%;
  max-width: 420px;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #0f172a;
  color: #f8fafc;
  font-size: 0.9rem;
}

.play-content-admin-select option,
.play-content-admin-select optgroup {
  background-color: #1e293b;
  color: #f8fafc;
}

.play-content-admin-icon-preview {
  display: block;
  margin-top: 0.5rem;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.play-content-admin-item-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.play-content-admin-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.play-content-admin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.play-content-admin-btn--save {
  background: #3b82f6;
  color: #fff;
}
.play-content-admin-btn--del {
  background: transparent;
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.play-content-admin-btn--edit {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.play-content-admin-item--saved {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.play-content-admin-saved-main {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1 1 200px;
  min-width: 0;
}

.play-content-admin-saved-text {
  min-width: 0;
}

.play-content-admin-saved-text strong {
  display: block;
  font-size: 0.95rem;
  color: #f1f5f9;
  margin-bottom: 0.15rem;
}

.play-content-admin-saved-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
  word-break: break-word;
}

.play-content-admin-saved-order {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.play-content-admin-saved-label {
  color: #64748b;
  margin-right: 0.25rem;
}

.play-content-admin-icon-preview--saved {
  margin-top: 0;
  flex-shrink: 0;
}
.gs { color: #e8e8ef; }
.gs-head { margin-bottom: 1rem; }
.gs-title { font-size: 1.6rem; margin: 0 0 0.25rem; }
.gs-sub { color: #a8a8b8; margin: 0; }

.gs-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; border-bottom: 1px solid #2a2a38; margin-bottom: 1rem; }
.gs-tab {
  background: none; border: none; color: #a8a8b8; padding: 0.5rem 0.9rem; cursor: pointer;
  border-bottom: 2px solid transparent; font-size: 0.95rem;
}
.gs-tab--active { color: #fff; border-bottom-color: #6c5ce7; }

.gs-section { margin-bottom: 1.5rem; }
.gs-desc { color: #a8a8b8; margin: 0 0 1rem; max-width: 60ch; }
.gs-muted { color: #8a8a98; }
.gs-empty { color: #8a8a98; font-style: italic; padding: 1rem 0; }
.gs-notice { background: #16331f; border: 1px solid #2e7d4f; color: #9be7b4; padding: 0.6rem 0.8rem; border-radius: 6px; margin-bottom: 1rem; }
.gs-error { background: #3a1620; border: 1px solid #a83a4f; color: #f3a7b6; padding: 0.6rem 0.8rem; border-radius: 6px; margin-bottom: 1rem; }

/* Marketplace cards */
.gs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gs-card { background: #16161f; border: 1px solid #2a2a38; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.gs-card-media { aspect-ratio: 16 / 9; background: #0e0e15; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gs-card-media img { width: 100%; height: 100%; object-fit: cover; }
.gs-card-noimg { color: #55556a; font-size: 0.85rem; }
.gs-card-body { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.gs-card-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.gs-card-name { font-weight: 600; }
.gs-card-cat { font-size: 0.7rem; text-transform: uppercase; color: #b4a7ff; background: #241f4a; padding: 0.15rem 0.45rem; border-radius: 999px; }
.gs-card-adv { color: #a8a8b8; font-size: 0.85rem; margin: 0; }
.gs-card-desc { color: #8a8a98; font-size: 0.82rem; margin: 0; }
.gs-card-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: #c8c8d4; margin-top: auto; padding-top: 0.5rem; }

/* Buttons */
.gs-btn {
  background: #6c5ce7; color: #fff; border: none; border-radius: 6px; padding: 0.5rem 0.9rem;
  cursor: pointer; font-size: 0.9rem; align-self: flex-start;
}
.gs-btn:disabled { opacity: 0.5; cursor: default; }
.gs-link-btn { background: none; border: none; color: #9b8cff; cursor: pointer; padding: 0.2rem 0.4rem; font-size: 0.85rem; }
.gs-link-btn--danger { color: #f3a7b6; }

/* Tables */
.gs-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.gs-table th, .gs-table td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid #23232f; font-size: 0.9rem; }
.gs-table th { color: #9a9aa8; font-weight: 600; }
.gs-num { text-align: right; }
.gs-row-actions { display: flex; gap: 0.3rem; justify-content: flex-end; }

/* Status badges */
.gs-badge { font-size: 0.72rem; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px; white-space: nowrap; }
.gs-badge--active { background: #16331f; color: #9be7b4; }
.gs-badge--pending-review { background: #33301a; color: #e7d79b; }
.gs-badge--paused { background: #2a2a38; color: #c8c8d4; }
.gs-badge--declined, .gs-badge--rejected { background: #3a1620; color: #f3a7b6; }
.gs-badge--disabled { background: #2a2a38; color: #8a8a98; }

/* Summary */
.gs-summary { display: flex; gap: 2rem; margin-bottom: 1rem; }
.gs-summary-item { display: flex; flex-direction: column; }
.gs-summary-value { font-size: 1.8rem; font-weight: 700; }
.gs-summary-label { color: #9a9aa8; font-size: 0.85rem; }

/* Forms */
.gs-form { background: #14141d; border: 1px solid #2a2a38; border-radius: 8px; padding: 1rem; margin: 1rem 0; max-width: 560px; }
.gs-form-row { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.8rem; }
.gs-form-row label { font-size: 0.85rem; color: #c8c8d4; }
.gs-form-row input[type="text"], .gs-form-row input[type="number"], .gs-form-row select, .gs-form-row textarea {
  background: #0e0e15; border: 1px solid #2a2a38; color: #e8e8ef; border-radius: 6px; padding: 0.5rem; font-size: 0.9rem;
}
.gs-form-row--inline { flex-direction: row; gap: 1rem; }
.gs-form-row--inline > div { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.gs-form-actions { display: flex; gap: 0.75rem; align-items: center; margin-top: 0.5rem; }

/* Modal */
.gs-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.gs-modal { background: #16161f; border: 1px solid #2a2a38; border-radius: 10px; padding: 1.5rem; width: 90%; max-width: 420px; }
.gs-modal h3 { margin: 0 0 0.5rem; }
.ad-reporting {
  padding: 1.5rem;
  max-width: 900px;
}

.ad-reporting-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}
.ad-reporting-back:hover {
  color: #fff;
}

.ad-reporting-title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.ad-reporting-desc {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.ad-reporting-info-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
}

.ad-reporting-list {
  margin: 0.75rem 0 1rem 1.25rem;
  padding: 0;
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ad-reporting-list li {
  margin-bottom: 0.5rem;
}

.ad-reporting-list code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

.ad-reporting-muted {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

.ad-reporting-h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
  color: #e2e8f0;
}

.ad-reporting-sdk-test {
  margin-top: 1rem;
}

.ad-reporting-sdk-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.ad-reporting-sdk-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.ad-reporting-sdk-select {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  min-width: 12rem;
}

.ad-reporting-sdk-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
}

.ad-reporting-sdk-btn:hover:not(:disabled) {
  background: #1d4ed8;
}

.ad-reporting-sdk-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ad-reporting-sdk-result {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-reporting-sdk-pre {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.ad-reporting-sdk-actions {
  display: flex;
  gap: 0.5rem;
}

.ad-reporting-error {
  color: #f87171;
  margin: 0 0 1rem;
}

.ad-reporting-forbidden {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 1rem;
}

.ad-reporting-presets {
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.5rem;
}

.ad-reporting-preset {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  cursor: pointer;
}
.ad-reporting-preset:hover {
  background: rgba(255, 255, 255, 0.1);
}
.ad-reporting-preset.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.ad-reporting-section {
  margin-bottom: 2rem;
}

.ad-reporting-section h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  color: #e2e8f0;
}

.ad-reporting-summary {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.5rem;
}

.ad-reporting-summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ad-reporting-summary-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.ad-reporting-summary-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.ad-reporting-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ad-reporting-table th,
.ad-reporting-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ad-reporting-table th {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.ad-reporting-table td {
  color: #e2e8f0;
}

.ad-reporting-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ad-reporting-empty {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 0;
}

.ad-reporting-sponsor-actions {
  margin-bottom: 1rem;
}

.ad-reporting-link-btn {
  background: none;
  border: none;
  color: #60a5fa;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  text-decoration: underline;
}
.ad-reporting-link-btn:hover {
  color: #93c5fd;
}

.ad-reporting-form {
  margin-top: 1rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-reporting-form h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #e2e8f0;
}

.ad-reporting-form-row {
  margin-bottom: 0.75rem;
}

.ad-reporting-form-row label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.ad-reporting-form-row input[type="text"],
.ad-reporting-form-row input[type="url"],
.ad-reporting-form-row input[type="number"],
.ad-reporting-form-row input[type="datetime-local"],
.ad-reporting-form-row textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ad-reporting-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.sa { color: #e8e8ef; padding: 0.5rem 0; }
.sa-back { color: #9b8cff; text-decoration: none; font-size: 0.9rem; }
.sa-title { font-size: 1.6rem; margin: 0.5rem 0 0.25rem; }
.sa-sub { color: #a8a8b8; margin: 0 0 1rem; }
.sa-forbidden { color: #f3a7b6; background: #3a1620; border: 1px solid #a83a4f; padding: 0.8rem; border-radius: 8px; }

.sa-tabs { display: flex; gap: 0.5rem; border-bottom: 1px solid #2a2a38; margin-bottom: 1rem; }
.sa-tab { background: none; border: none; color: #a8a8b8; padding: 0.5rem 0.9rem; cursor: pointer; border-bottom: 2px solid transparent; }
.sa-tab--active { color: #fff; border-bottom-color: #6c5ce7; }

.sa-section { margin-bottom: 1.5rem; }
.sa-toolbar { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
.sa-empty { color: #8a8a98; font-style: italic; padding: 0.75rem 0; }
.sa-notice { background: #16331f; border: 1px solid #2e7d4f; color: #9be7b4; padding: 0.6rem 0.8rem; border-radius: 6px; margin-bottom: 1rem; }
.sa-error { background: #3a1620; border: 1px solid #a83a4f; color: #f3a7b6; padding: 0.6rem 0.8rem; border-radius: 6px; margin-bottom: 1rem; }

.sa-btn { background: #6c5ce7; color: #fff; border: none; border-radius: 6px; padding: 0.5rem 0.9rem; cursor: pointer; font-size: 0.9rem; }
.sa-btn--sm { padding: 0.35rem 0.6rem; font-size: 0.82rem; }
.sa-btn:disabled { opacity: 0.5; cursor: default; }
.sa-link-btn { background: none; border: none; color: #9b8cff; cursor: pointer; padding: 0.2rem 0.4rem; font-size: 0.85rem; }
.sa-link-btn--danger { color: #f3a7b6; }
.sa-input { background: #0e0e15; border: 1px solid #2a2a38; color: #e8e8ef; border-radius: 6px; padding: 0.45rem; }

.sa-table { width: 100%; border-collapse: collapse; }
.sa-table th, .sa-table td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid #23232f; font-size: 0.9rem; }
.sa-table th { color: #9a9aa8; }
.sa-row-actions { display: flex; gap: 0.4rem; justify-content: flex-end; }

.sa-badge { font-size: 0.72rem; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px; white-space: nowrap; }
.sa-badge--active { background: #16331f; color: #9be7b4; }
.sa-badge--scheduled { background: #1a2a33; color: #9bd3e7; }
.sa-badge--draft { background: #2a2a38; color: #c8c8d4; }
.sa-badge--paused { background: #33301a; color: #e7d79b; }
.sa-badge--pending-review { background: #33301a; color: #e7d79b; }
.sa-badge--ended, .sa-badge--archived, .sa-badge--declined { background: #2a2a38; color: #8a8a98; }
.sa-badge--rejected { background: #3a1620; color: #f3a7b6; }

.sa-form { background: #14141d; border: 1px solid #2a2a38; border-radius: 8px; padding: 1rem; margin-top: 1rem; }
.sa-form h3 { margin: 0 0 0.75rem; }
.sa-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.sa-fr { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.6rem; }
.sa-fr label { font-size: 0.82rem; color: #c8c8d4; }
.sa-fr input, .sa-fr select, .sa-fr textarea { background: #0e0e15; border: 1px solid #2a2a38; color: #e8e8ef; border-radius: 6px; padding: 0.5rem; font-size: 0.9rem; }
.sa-targeting { margin: 0.5rem 0; }
.sa-targeting summary { cursor: pointer; color: #9b8cff; font-size: 0.88rem; margin-bottom: 0.5rem; }
.sa-form-actions { display: flex; gap: 0.75rem; align-items: center; margin-top: 0.75rem; }

.sa-creatives { border-top: 1px solid #23232f; margin-top: 1rem; padding-top: 1rem; }
.sa-creatives h4 { margin: 0 0 0.5rem; }
.sa-creative-list { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.sa-creative-list li { display: flex; gap: 0.75rem; align-items: center; padding: 0.4rem 0; border-bottom: 1px solid #1d1d28; font-size: 0.85rem; }
.sa-creative-list a { color: #9b8cff; text-decoration: none; }
.sa-creative-add { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.sa-creative-add input, .sa-creative-add select { background: #0e0e15; border: 1px solid #2a2a38; color: #e8e8ef; border-radius: 6px; padding: 0.4rem; font-size: 0.85rem; }
.sa-creative-add input[type="number"] { width: 70px; }
.support-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem;
}
.support-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--text-secondary, #64748b);
  text-decoration: none;
}
.support-back:hover {
  text-decoration: underline;
}
.support-page h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.support-desc,
.support-loading,
.support-empty {
  color: var(--text-secondary, #64748b);
  margin-bottom: 1rem;
}
.support-admin-link {
  margin-bottom: 1rem;
}
.support-admin-link a {
  color: var(--primary, #2563eb);
  text-decoration: none;
  font-weight: 500;
}
.support-admin-link a:hover {
  text-decoration: underline;
}
.support-error {
  color: var(--error, #dc2626);
  margin-bottom: 0.5rem;
}
.support-btn {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--primary, #2563eb);
  color: white;
  cursor: pointer;
  font-size: 0.9375rem;
}
.support-btn:hover:not(:disabled) {
  opacity: 0.9;
}
.support-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.support-btn--new {
  margin-bottom: 1.5rem;
}
.support-btn--secondary {
  background: transparent;
  color: var(--text, #1e293b);
  margin-left: 0.5rem;
}
.support-form {
  background: var(--card-bg, #f8fafc);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.support-form h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.support-form label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
}
.support-input {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 6px;
  font-size: 0.9375rem;
}
.support-form-actions {
  margin-top: 1rem;
}
.support-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.support-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.support-list-item:hover {
  background: var(--card-bg, #f8fafc);
}
.support-list-subject {
  flex: 1;
  font-weight: 500;
}
.support-list-date {
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
}
.support-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  background: var(--muted, #e2e8f0);
  color: var(--text, #1e293b);
}
.support-badge--status {
  text-transform: capitalize;
}
.support-badge--staff {
  background: #dbeafe;
  color: #1e40af;
}
.support-detail {
  margin-top: 1rem;
}
.support-detail-subject {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.support-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
}
.support-detail-date {
  margin-left: auto;
}
.support-detail-description {
  white-space: pre-wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
}
.support-replies {
  margin-bottom: 1rem;
}
.support-reply {
  padding: 0.75rem;
  border-radius: 8px;
  background: var(--card-bg, #f8fafc);
  margin-bottom: 0.5rem;
}
.support-reply--staff {
  background: #eff6ff;
  border-left: 3px solid #2563eb;
}
.support-reply-meta {
  font-size: 0.8125rem;
  color: var(--text-secondary, #64748b);
  margin-bottom: 0.25rem;
}
.support-reply-body {
  margin: 0;
  white-space: pre-wrap;
}
.support-reply-form {
  margin-top: 1rem;
}
.support-reply-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 6px;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  resize: vertical;
}
.doc-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

@media (max-width: 768px) {
  .doc-layout {
    grid-template-columns: 1fr;
  }
  .doc-layout__subnav {
    position: static;
  }
}

.doc-layout__subnav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #1e293b;
  border-radius: 10px;
  background: #0b1020;
}

.doc-layout__group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.doc-layout__group:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.doc-layout__group-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.25rem 0.5rem 0.15rem;
}

.doc-layout__sub {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-left: 0.65rem;
  border-left: 2px solid rgba(0, 102, 255, 0.35);
  margin-left: 0.35rem;
}

.doc-layout__link {
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.doc-layout__link--hub {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.doc-layout__link:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
}

.doc-layout__link--active {
  color: #f1f5f9 !important;
  background: rgba(0, 102, 255, 0.22);
}

.doc-layout__link--external::after {
  content: ' ↗';
  font-size: 0.75em;
  opacity: 0.75;
}
.docs-page {
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.docs-hero {
  border: 1px solid #1e293b;
  background: linear-gradient(180deg, #0b1220 0%, #0a0f18 100%);
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1rem;
}

.docs-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  color: #f8fafc;
}

.docs-hero p {
  margin: 0;
  color: #94a3b8;
  max-width: 70ch;
}

.docs-hero-extra {
  margin-top: 0.75rem !important;
}

.docs-inline-link {
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.9rem;
}

.docs-inline-link:hover {
  text-decoration: underline;
}

.docs-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.docs-total-time {
  font-size: 0.8rem;
  color: #64748b;
  border: 1px solid #334155;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.docs-lead {
  margin: 0 0 1rem;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 70ch;
}

.docs-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.docs-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: stretch;
}

.docs-step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid #1d4ed8;
  flex-shrink: 0;
}

.docs-step-body {
  display: block;
  text-decoration: none;
  border: 1px solid #1e293b;
  background: #0b1020;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.docs-step-body:hover {
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.docs-step-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.docs-step-top h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.35;
}

.docs-step-time {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  border: 1px solid #334155;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.docs-step-body p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.45;
}

.docs-section h2 {
  margin: 0 0 0.75rem;
  color: #f8fafc;
  font-size: 1.15rem;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.9rem;
}

.docs-card {
  display: block;
  text-decoration: none;
  border: 1px solid #1e293b;
  background: #0b1020;
  border-radius: 12px;
  padding: 0.9rem;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.docs-card:hover {
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.docs-card h3 {
  margin: 0.45rem 0;
  color: #f8fafc;
  font-size: 1rem;
}

.docs-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.45;
}

.docs-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  border: 1px solid #334155;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.15);
}

.docs-faq {
  display: grid;
  gap: 0.7rem;
}

.docs-faq-item {
  border: 1px solid #1e293b;
  border-radius: 12px;
  background: #0b1020;
  padding: 0.9rem;
}

.docs-faq-item h3 {
  margin: 0 0 0.45rem;
  color: #f8fafc;
  font-size: 0.98rem;
}

.docs-faq-item p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.45;
  font-size: 0.9rem;
}

.docs-back {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.9rem;
}

.docs-back:hover {
  text-decoration: underline;
}

.docs-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 0;
  border: 1px solid #1e293b;
  border-radius: 12px;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.docs-table th,
.docs-table td {
  border: 1px solid #334155;
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.docs-table thead th {
  color: #f1f5f9;
  background: #0f172a;
  font-weight: 600;
}

.docs-table tbody th[scope='row'] {
  color: #e2e8f0;
  background: #0c1222;
  font-weight: 600;
  white-space: nowrap;
}

.docs-table code {
  font-size: 0.9em;
  color: #bae6fd;
}
.doc-sdk-page__list {
  margin: 0;
  padding-left: 1.25rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.doc-sdk-page__list a {
  color: #93c5fd;
}

.doc-sdk-page__para {
  margin: 0;
  color: #94a3b8;
  line-height: 1.55;
  max-width: 72ch;
}

.doc-sdk-page__para code {
  font-size: 0.88em;
  color: #fde68a;
}
.tt-page {
  color: #e2e8f0;
  max-width: 960px;
}

.tt-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.9rem;
}

.tt-back:hover {
  text-decoration: underline;
}

.tt-hero {
  border: 1px solid #1e293b;
  background: linear-gradient(180deg, #0b1220 0%, #0a0f18 100%);
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1.5rem;
}

.tt-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  color: #f8fafc;
}

.tt-hero p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 72ch;
}

.tt-section {
  margin-bottom: 1.75rem;
}

.tt-section h2 {
  margin: 0 0 0.75rem;
  color: #f8fafc;
  font-size: 1.15rem;
}

.tt-choose {
  margin: 0;
  padding-left: 1.25rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.tt-choose li {
  margin-bottom: 0.5rem;
}

.tt-table-wrap {
  overflow-x: auto;
  border: 1px solid #1e293b;
  border-radius: 12px;
  background: #0b1020;
}

.tt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.tt-table th,
.tt-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #1e293b;
  vertical-align: top;
}

.tt-table th {
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
}

.tt-table tr:last-child td {
  border-bottom: none;
}

.tt-code {
  font-size: 0.8rem;
  color: #fde68a;
  white-space: nowrap;
}

.tt-card {
  border: 1px solid #1e293b;
  border-radius: 12px;
  background: #0b1020;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}

.tt-card h3 {
  margin: 0 0 0.5rem;
  color: #f1f5f9;
  font-size: 1rem;
}

.tt-card p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.5;
  font-size: 0.9rem;
}

.tt-note {
  margin-top: 0.65rem !important;
  padding-top: 0.65rem;
  border-top: 1px dashed #334155;
  font-size: 0.85rem !important;
  color: #cbd5e1 !important;
}

.tt-section--muted p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tt-section--muted a {
  color: #93c5fd;
}
.sdk-engine-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sdk-engine-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #1e293b;
  border-radius: 10px;
  background: #0b1020;
}

.sdk-engine-nav__title {
  font-weight: 700;
  color: #f8fafc;
  font-size: 0.95rem;
  margin-right: 0.25rem;
}

.sdk-engine-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
}

.sdk-engine-nav__a {
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: none;
}

.sdk-engine-nav__a:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
}

.sdk-engine-nav__a--active {
  color: #f1f5f9 !important;
  background: rgba(0, 102, 255, 0.22);
}
.sdk-engine-page {
  color: #e2e8f0;
}

.sdk-engine-page__h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #f8fafc;
}

.sdk-engine-page__lead {
  margin: 0 0 1.25rem;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 65ch;
}

.sdk-engine-page__lead strong {
  color: #e2e8f0;
}

.sdk-engine-page__muted {
  color: #64748b;
}

.sdk-engine-page__section {
  margin-bottom: 1.5rem;
}

.sdk-engine-page__section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #f1f5f9;
}

.sdk-engine-page__ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: #94a3b8;
}

.sdk-engine-page__ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.sdk-engine-page__para {
  margin: 0;
  color: #94a3b8;
  line-height: 1.55;
  max-width: 72ch;
}

.sdk-engine-page__para a {
  color: #93c5fd;
}

.sdk-engine-page__para code,
.sdk-engine-page__ol code {
  font-size: 0.88em;
  color: #fde68a;
}

.sdk-engine-page__pre {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.82rem;
  overflow-x: auto;
}

.sdk-engine-page__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.sdk-engine-page__cards--dim .sdk-engine-card:not(:hover) {
  opacity: 0.85;
}

.sdk-engine-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #1e293b;
  background: #0b1020;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}

.sdk-engine-card:hover {
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.sdk-engine-card--static {
  cursor: default;
  opacity: 0.7;
}

.sdk-engine-card--static:hover {
  transform: none;
  border-color: #1e293b;
}

.sdk-engine-card__t {
  font-weight: 700;
  color: #f8fafc;
  font-size: 0.95rem;
}

.sdk-engine-card__d {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.4;
}

.sdk-changelog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sdk-changelog__item {
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: #0b1020;
}

.sdk-changelog__meta {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.sdk-changelog__subject {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #f1f5f9;
}

.sdk-changelog__notes {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.sdk-changelog__empty {
  color: #64748b;
  font-size: 0.9rem;
}

.sdk-changelog__err {
  color: #f87171;
  font-size: 0.9rem;
}
.sdks-page {
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sdks-hero {
  border: 1px solid #1e293b;
  background: linear-gradient(180deg, #0b1220 0%, #0a0f18 100%);
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1rem;
}

.sdks-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  color: #f8fafc;
}

.sdks-hero p {
  margin: 0;
  color: #94a3b8;
  max-width: 72ch;
  line-height: 1.5;
}

.sdks-section__title {
  margin: 0 0 0.85rem;
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 600;
}

.sdks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1100px) {
  .sdks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sdks-grid {
    grid-template-columns: 1fr;
  }
}

.sdk-box {
  position: relative;
  border: 1px solid #1e293b;
  background: #0b1020;
  border-radius: 14px;
  padding: 1rem 1rem 1rem 0.85rem;
  min-height: 140px;
}

.sdk-box__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  line-height: 1.2;
}

.sdk-box__badge--beta {
  color: #bfdbfe;
  border: 1px solid #2563eb;
  background: rgba(37, 99, 235, 0.28);
}

.sdk-box__badge--coming-soon {
  color: #cbd5e1;
  border: 1px solid #475569;
  background: rgba(51, 65, 85, 0.45);
}

.sdk-box__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 4.5rem;
}

.sdk-box__logo-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #0f172a;
  border: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sdk-box__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.sdk-box__body {
  min-width: 0;
  flex: 1;
}

.sdk-box__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
}

.sdk-box__version {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.sdk-box__version-num {
  color: #cbd5e1;
  font-weight: 600;
}

.sdk-box__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.sdk-box__link {
  font-size: 0.9rem;
  color: #60a5fa;
  text-decoration: none;
  width: fit-content;
}

.sdk-box__link:hover {
  text-decoration: underline;
}

.sdk-box__link--disabled {
  color: #64748b !important;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

.sdk-box__link--disabled:hover {
  text-decoration: none;
}
.admin-support {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}
.admin-support-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--text-secondary, #64748b);
  text-decoration: none;
}
.admin-support-back:hover {
  text-decoration: underline;
}
.admin-support h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.admin-support-desc {
  color: var(--text-secondary, #64748b);
  margin-bottom: 1rem;
}
.admin-support-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-support-filters label {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
}
.admin-support-select {
  margin-top: 0.25rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 6px;
  font-size: 0.9375rem;
  min-width: 120px;
}
.admin-support-table-wrap {
  overflow-x: auto;
}
.admin-support-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.admin-support-table th,
.admin-support-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border, #e2e8f0);
}
.admin-support-table th {
  font-weight: 600;
  color: var(--text-secondary, #64748b);
}
.admin-support-link {
  color: var(--primary, #2563eb);
  text-decoration: none;
}
.admin-support-link:hover {
  text-decoration: underline;
}
.admin-support-detail {
  margin-top: 1rem;
}
.admin-support-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.admin-support-date {
  margin-left: auto;
  color: var(--text-secondary, #64748b);
}
.admin-support-subject {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.admin-support-description {
  white-space: pre-wrap;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
}
.admin-support-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-support-controls label {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
}
/* Play dashboard — mobile-first home */

.play-dashboard {
  padding: 0.5rem 0 1.5rem;
}

.play-dashboard-welcome {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
}

.play-dashboard-tagline {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #94a3b8;
}

.play-dashboard-box {
  margin-bottom: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.play-dashboard-section {
  margin-bottom: 1.5rem;
}

.play-dashboard-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.play-dashboard-section-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.play-dashboard-see-all {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: #2563eb;
  border-radius: 8px;
  text-decoration: none;
}
.play-dashboard-see-all:hover {
  background: #1d4ed8;
  color: #fff;
}

.play-dashboard-section-desc {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.play-dashboard-muted {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.play-dashboard-friends {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.play-dashboard-friend {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  font-size: 0.9rem;
  color: #e2e8f0;
  max-width: 100%;
}

.play-dashboard-friend-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.play-dashboard-friend-name {
  font-weight: 500;
  line-height: 1.2;
}

.play-dashboard-friend-game {
  font-size: 0.78rem;
  font-weight: 500;
  color: #93c5fd;
  text-decoration: none;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.play-dashboard-friend-game:hover {
  color: #bfdbfe;
  text-decoration: underline;
}
.play-dashboard-friend-game--text {
  color: #94a3b8;
  font-weight: 400;
}

.play-dashboard-friend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35rem;
}
.play-dashboard-friend-dot--ingame {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}
.play-dashboard-friend-dot--idle {
  background: #64748b;
}

.play-dashboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.play-dashboard-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  text-decoration: none;
}
.play-dashboard-card--link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.play-dashboard-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.play-dashboard-card-sub {
  font-size: 0.85rem;
  color: #94a3b8;
}

.play-dashboard-rec-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.play-support.support-page {
  padding-bottom: 4rem;
}
.play-games {
  padding: 0.5rem 0 1.5rem;
}

.play-games-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.play-games-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #f1f5f9;
}

.play-games-add-btn {
  flex-shrink: 0;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: #e0f2fe;
  background: rgba(59, 130, 246, 0.35);
  border: 1px solid rgba(96, 165, 250, 0.45);
}
.play-games-add-btn:hover {
  background: rgba(59, 130, 246, 0.5);
}

.play-games h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #f1f5f9;
}

.play-games-desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.play-games-error {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #f87171;
}

.play-games-muted {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.play-games-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.play-games-box {
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.play-games-game-name {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.play-games-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.play-games-events h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
}

.play-games-events ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.play-games-events li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}
.play-games-events li:last-child {
  border-bottom: none;
}

.play-games-events strong {
  display: block;
  color: #e2e8f0;
  margin-bottom: 0.2rem;
}

.play-games-event-meta {
  font-size: 0.8rem;
  color: #94a3b8;
}

.play-games-back {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #60a5fa;
  text-decoration: none;
}
.play-games-back:hover {
  text-decoration: underline;
}

.play-games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .play-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  .play-games-grid {
    grid-template-columns: 1fr;
  }
}

.play-games-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-height: 120px;
}
.play-games-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(96, 165, 250, 0.35);
}

.play-games-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-height: 72px;
  margin: 0 auto 0.5rem;
  width: 100%;
}

.play-games-card-icon {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.play-games-card-icon-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(139, 92, 246, 0.35));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e2e8f0;
}

.play-games-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.play-games-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.play-games-card-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}
.play-games-card-badge--ok {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}
.play-games-card-badge--warn {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

/* Game detail */
.play-game-detail-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.play-game-detail-icon-wrap {
  flex-shrink: 0;
}

.play-game-detail-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.play-game-detail-icon-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(139, 92, 246, 0.35));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #e2e8f0;
}

.play-game-detail-title {
  margin: 0;
  font-size: 1.35rem;
  color: #f1f5f9;
}

.play-game-detail-section {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.play-game-detail-h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
}

.play-game-detail-status {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.play-game-detail-status--ok {
  color: #86efac;
}
.play-game-detail-status--warn {
  color: #fcd34d;
}

.play-game-detail-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.5);
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  font-size: 0.9rem;
  cursor: pointer;
}
.play-game-detail-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.play-game-detail-btn--danger {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.play-game-detail-danger-zone {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.play-game-detail-footnote {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
}

.play-game-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.play-game-detail-event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.play-game-detail-event {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}
.play-game-detail-event:last-child {
  border-bottom: none;
}
.play-game-detail-event strong {
  display: block;
  color: #e2e8f0;
  margin-bottom: 0.2rem;
}

/* Add games */
.play-add-games-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.play-add-games-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.play-add-games-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-add-games-icon {
  max-width: 48px;
  max-height: 48px;
  border-radius: 8px;
  object-fit: contain;
}

.play-add-games-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.play-add-games-name {
  font-weight: 600;
  color: #e2e8f0;
}

.play-add-games-btn {
  flex-shrink: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.play-add-games-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.play-friends {
  padding: 0.5rem 0 1.5rem;
}

.play-friends h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #f1f5f9;
}

.play-friends-desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.play-friends-add {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.play-friends-input {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  font-size: 0.95rem;
}

.play-friends-btn {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
}
.play-friends-btn:hover:not(:disabled) {
  background: #1d4ed8;
}
.play-friends-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.play-friends-btn--accept {
  background: #2563eb;
  color: #fff;
}
.play-friends-btn--accept:hover:not(:disabled) {
  background: #1d4ed8;
}
.play-friends-btn--decline {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.play-friends-btn--remove {
  background: transparent;
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.play-friends-error {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #f87171;
}

.play-friends-muted {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.play-friends-section {
  margin-bottom: 1.25rem;
}

.play-friends-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.play-friends-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.play-friends-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: #e2e8f0;
}

.play-friends-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.play-friends-item-name {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.play-friends-presence {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.play-friends-presence--ingame {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}
.play-friends-presence--idle {
  background: #64748b;
}

.play-friends-item-game {
  margin-left: 1.15rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #93c5fd;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.play-friends-item-game:hover {
  color: #bfdbfe;
  text-decoration: underline;
}
.play-friends-item-game--text {
  color: #94a3b8;
  font-weight: 400;
  pointer-events: none;
}

.play-friends-item-actions {
  display: flex;
  gap: 0.5rem;
}

.play-friends-pending {
  font-size: 0.85rem;
  color: #94a3b8;
}
.play-tg {
  padding: 0.5rem 0 1.5rem;
}

.play-tg h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #f1f5f9;
}

.play-tg-desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.play-tg-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.play-tg-tab {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 0.95rem;
  cursor: pointer;
}

.play-tg-tab--active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.play-tg-error {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #f87171;
}

.play-tg-muted {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.play-tg-section {
  margin-bottom: 1.25rem;
}

.play-tg-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.play-tg-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.play-tg-section-header h2 {
  margin: 0;
}

.play-tg-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.play-tg-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: #e2e8f0;
}

.play-tg-item--clickable .play-tg-item-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.play-tg-tag {
  margin-left: 0.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.play-tg-meta {
  font-size: 0.85rem;
  color: #94a3b8;
}

.play-tg-item-actions {
  display: flex;
  gap: 0.5rem;
}

.play-tg-btn {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.play-tg-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.play-tg-btn--primary {
  background: #2563eb;
  color: #fff;
}

.play-tg-btn--primary:hover:not(:disabled) {
  background: #1d4ed8;
}

.play-tg-btn--secondary {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.play-tg-btn--accept {
  background: #2563eb;
  color: #fff;
}

.play-tg-btn--decline {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.play-tg-btn--danger {
  background: transparent;
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.play-tg-btn--danger:hover:not(:disabled) {
  background: rgba(248, 113, 113, 0.15);
}

.play-tg-invites {
  margin-bottom: 1.25rem;
}

.play-tg-invites h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.play-tg-create {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.play-tg-input {
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  font-size: 0.95rem;
}

.play-tg-textarea {
  resize: vertical;
  min-height: 60px;
}

.play-tg-create-actions {
  display: flex;
  gap: 0.5rem;
}

/* Guild detail */
.play-tg-detail {
  padding: 0.5rem 0 1.5rem;
}

.play-tg-back {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 1rem;
  padding: 0;
}

.play-tg-back:hover {
  color: #e2e8f0;
}

.play-tg-detail h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #f1f5f9;
}

.play-tg-detail-desc {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.play-tg-detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.play-tg-inline-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.play-tg-inline-form .play-tg-input {
  flex: 1;
  min-width: 180px;
}

.play-tg-item--row {
  gap: 0.75rem;
}

.play-tg-select-inline {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 0.85rem;
}

.play-tg-btn--sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
}

.play-tg-label {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
  display: block;
}
.play-settings {
  padding: 0.5rem 0 1.5rem;
}

.play-settings-title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.play-settings-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.play-settings-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 1rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 12px;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  gap: 0.75rem;
  box-sizing: border-box;
}
.play-settings-card:hover {
  background: rgba(255, 255, 255, 0.09);
}

.play-settings-card--profile {
  padding: 1rem;
}

.play-settings-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
.play-settings-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-settings-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
  font-weight: 600;
  color: #94a3b8;
}

.play-settings-card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.play-settings-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.play-settings-card-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.play-settings-chevron {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
}

.play-settings-logout {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
.play-settings-logout:hover {
  background: rgba(255, 255, 255, 0.95);
}
.play-linked {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}

.play-linked-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--play-text-muted, #8b93a7);
  text-decoration: none;
  font-size: 0.9rem;
}

.play-linked-back:hover {
  color: var(--play-text, #e8eaef);
}

.play-linked-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.play-linked-desc {
  color: var(--play-text-muted, #8b93a7);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 1.25rem;
}

.play-linked-muted {
  color: var(--play-text-muted, #8b93a7);
}

.play-linked-banner {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.play-linked-banner--ok {
  background: rgba(46, 160, 90, 0.15);
  color: #7dcea0;
}

.play-linked-banner--err {
  background: rgba(200, 80, 80, 0.15);
  color: #f5a9a9;
}

.play-linked-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.2);
}

.play-linked-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.play-linked-provider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.play-linked-provider-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.play-linked-card-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.play-linked-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--play-text-muted, #8b93a7);
}

.play-linked-badge--on {
  color: #7dcea0;
}

.play-linked-meta {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--play-text-muted, #8b93a7);
}

.play-linked-meta code {
  font-size: 0.85em;
  color: var(--play-text, #e8eaef);
}

.play-linked-actions {
  margin-top: 1rem;
}

.play-linked-btn {
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.play-linked-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.play-linked-btn--primary {
  background: #3d6ee8;
  color: #fff;
}

.play-linked-btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--play-text, #e8eaef);
}
.super-admin {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(145deg, #0f0f14 0%, #1a1a24 100%);
  padding: 1.5rem 1rem 2rem;
}

.super-admin-card {
  width: 100%;
  max-width: 360px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.super-admin-card--wide {
  max-width: 520px;
  text-align: left;
}

.super-admin-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.super-admin-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem 0;
  text-align: center;
}

.super-admin-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1.25rem 0;
  text-align: center;
}

.super-admin-health {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.super-admin-health-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.super-admin-health-dot--ok {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.super-admin-health-dot--warn {
  background: #f59e0b;
}

.super-admin-health-text {
  word-break: break-word;
}

.super-admin-inbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.super-admin-inbox-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.super-admin-inbox-link {
  color: #93c5fd;
  text-decoration: none;
}

.super-admin-inbox-link:hover {
  text-decoration: underline;
}

.super-admin-badge {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.35);
  color: #fecaca;
  font-size: 0.75rem;
  font-weight: 700;
}

.super-admin-muted {
  color: rgba(255, 255, 255, 0.45);
}

.super-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.super-admin-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
  transition: background 0.15s, transform 0.15s;
}

.super-admin-tile:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.super-admin-tile--accent {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
}

.super-admin-tile-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.super-admin-tile-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.2rem;
}

.super-admin-section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.super-admin-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.super-admin-btn {
  display: block;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}

.super-admin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.super-admin-btn-dev {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
}

.super-admin-btn-tickets {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
}

.super-admin-btn-play {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
}
.super-changelog {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  color: #e2e8f0;
}

.super-changelog__back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.9rem;
}

.super-changelog__back:hover {
  text-decoration: underline;
}

.super-changelog__title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  color: #f8fafc;
}

.super-changelog__sub {
  margin: 0 0 1.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.45;
}

.super-changelog__sub code {
  color: #fde68a;
  font-size: 0.85em;
}

.super-changelog__form {
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: #0b1020;
  margin-bottom: 2rem;
}

.super-changelog__h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #f1f5f9;
}

.super-changelog__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.super-changelog__input,
.super-changelog__textarea {
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #f1f5f9;
  font-size: 0.9rem;
}

.super-changelog__input--narrow {
  max-width: 200px;
}

.super-changelog__textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.super-changelog__btn {
  margin-top: 0.25rem;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  border: 1px solid #2563eb;
  background: rgba(37, 99, 235, 0.35);
  color: #bfdbfe;
  font-weight: 600;
  cursor: pointer;
}

.super-changelog__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.super-changelog__err {
  color: #f87171;
  font-size: 0.88rem;
  margin: 0 0 0.5rem;
}

.super-changelog__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.super-changelog__filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.super-changelog__muted {
  color: #64748b;
  font-size: 0.9rem;
}

.super-changelog__ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.super-changelog__li {
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #0b1020;
}

.super-changelog__li-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.super-changelog__badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid #1d4ed8;
}

.super-changelog__date {
  font-size: 0.78rem;
  color: #64748b;
  flex: 1;
}

.super-changelog__del {
  margin-left: auto;
  font-size: 0.78rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  border: 1px solid #7f1d1d;
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
  cursor: pointer;
}

.super-changelog__subj {
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.35rem;
}

.super-changelog__notes {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
}
.super-hosted {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  color: #e2e8f0;
  min-height: 100vh;
  box-sizing: border-box;
  background: linear-gradient(145deg, #0f0f14 0%, #1a1a24 100%);
}

.super-hosted__back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.9rem;
}

.super-hosted__back:hover {
  text-decoration: underline;
}

.super-hosted__title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  color: #f8fafc;
}

.super-hosted__sub {
  margin: 0 0 0.75rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.45;
}

.super-hosted__sub a {
  color: #93c5fd;
}

.super-hosted__sub code,
.super-hosted__api code {
  color: #fde68a;
  font-size: 0.85em;
}

.super-hosted__api {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  color: #64748b;
  word-break: break-all;
}

.super-hosted__upload {
  margin-bottom: 1rem;
}

.super-hosted__upload-label {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #1e3a5f;
  color: #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.super-hosted__upload-label:hover {
  background: #2563a8;
}

.super-hosted__file {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.super-hosted__err {
  color: #fca5a5;
  font-size: 0.9rem;
}

.super-hosted__ok {
  color: #86efac;
  font-size: 0.85rem;
}

.super-hosted__muted {
  color: #64748b;
  font-size: 0.9rem;
}

.super-hosted__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.super-hosted__row {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.super-hosted__thumb-wrap {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  background: #0b1020;
  display: flex;
  align-items: center;
  justify-content: center;
}

.super-hosted__thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.super-hosted__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.super-hosted__name {
  font-size: 0.8rem;
  color: #cbd5e1;
  word-break: break-all;
}

.super-hosted__meta2 {
  font-size: 0.75rem;
  color: #64748b;
}

.super-hosted__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.4rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #e2e8f0;
}

.super-hosted__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.super-hosted__btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  border-radius: 6px;
  border: 1px solid #475569;
  background: #1e293b;
  color: #e2e8f0;
  cursor: pointer;
}

.super-hosted__btn:hover {
  background: #334155;
}

.super-hosted__btn--danger {
  border-color: #7f1d1d;
  color: #fecaca;
  background: #450a0a;
}

.super-hosted__btn--danger:hover {
  background: #7f1d1d;
}
.admin-audit-log {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  color: #e2e8f0;
}

.admin-audit-log-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
}

.admin-audit-log h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.admin-audit-log-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.admin-audit-log-muted {
  color: #64748b;
}

.admin-audit-log-error {
  color: #f87171;
}

.admin-audit-log-table-wrap {
  overflow-x: auto;
  border: 1px solid #334155;
  border-radius: 10px;
}

.admin-audit-log-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-audit-log-table th,
.admin-audit-log-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #334155;
  vertical-align: top;
}

.admin-audit-log-table th {
  color: #94a3b8;
  font-weight: 600;
}

.admin-audit-log-time {
  white-space: nowrap;
  color: #94a3b8;
  font-size: 0.8rem;
}

.admin-audit-log-email {
  font-size: 0.85rem;
}

.admin-audit-log-action {
  font-size: 0.75rem;
  background: #0f172a;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  color: #cbd5e1;
}

.admin-audit-log-pager {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.admin-audit-log-pager button {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #475569;
  background: #1e293b;
  color: #e2e8f0;
  cursor: pointer;
}

.admin-audit-log-pager button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.admin-search {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  color: #e2e8f0;
}

.admin-search-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
}

.admin-search h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.admin-search-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.admin-search-input {
  width: 100%;
  max-width: 480px;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #475569;
  background: #0f172a;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.admin-search-muted {
  color: #64748b;
  font-size: 0.9rem;
}

.admin-search-error {
  color: #f87171;
}

.admin-search-section {
  margin-bottom: 1.5rem;
}

.admin-search-section h2 {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0 0 0.5rem;
}

.admin-search-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-search-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #1e293b;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.admin-search-link {
  color: #3b82f6;
  text-decoration: none;
}

.admin-search-link:hover {
  text-decoration: underline;
}

.admin-search-sub {
  color: #64748b;
  font-size: 0.85rem;
}

.admin-search-strong {
  font-weight: 600;
}

.admin-search-id {
  font-size: 0.7rem;
  color: #64748b;
  word-break: break-all;
}

.admin-search-pill {
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #334155;
  text-transform: capitalize;
}

.admin-search-pill--approved {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.admin-search-pill--pending {
  background: rgba(234, 179, 8, 0.2);
  color: #fde047;
}

.admin-search-pill--rejected {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}
.admin-newsletter {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  color: #e2e8f0;
}

.admin-newsletter-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
}

.admin-newsletter h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.admin-newsletter h2 {
  font-size: 1rem;
  color: #94a3b8;
  margin: 2rem 0 0.75rem;
}

.admin-newsletter-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.admin-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-newsletter-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.admin-newsletter-input,
.admin-newsletter-textarea {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #475569;
  background: #0f172a;
  color: #f1f5f9;
  font-family: inherit;
}

.admin-newsletter-textarea {
  resize: vertical;
  min-height: 180px;
}

.admin-newsletter-submit {
  align-self: flex-start;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.admin-newsletter-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.admin-newsletter-success {
  color: #86efac;
  margin-top: 1rem;
}

.admin-newsletter-error {
  color: #f87171;
  margin-top: 1rem;
}

.admin-newsletter-muted {
  color: #64748b;
}

.admin-newsletter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-newsletter-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #334155;
}

.admin-newsletter-item-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.admin-newsletter-item-meta {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.admin-newsletter-item-body {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.admin-oauth-hub {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}

.admin-oauth-hub-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

.admin-oauth-hub-back:hover {
  color: #e2e8f0;
}

.admin-oauth-hub-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.admin-oauth-hub-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 1.5rem;
}

.admin-oauth-hub-muted {
  color: #94a3b8;
}

.admin-oauth-hub-error {
  color: #f87171;
}

.admin-oauth-hub-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-oauth-hub-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-oauth-hub-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

.admin-oauth-hub-card-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.admin-oauth-hub-card-icon {
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  object-fit: contain;
}

.admin-oauth-hub-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.admin-oauth-hub-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.admin-oauth-hub-card-count {
  font-size: 0.85rem;
  color: #94a3b8;
}

.admin-oauth-hub-card-status {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
}

.admin-oauth-hub-card-status--live {
  color: #86efac;
  background: rgba(34, 197, 94, 0.15);
}

.admin-oauth-hub-card-status--off {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
}

.admin-oauth-hub-card-chevron {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: #64748b;
}

.admin-oauth-hub-foot {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
}

.admin-oauth-hub-foot a {
  color: #7dd3fc;
}

.admin-oauth-detail-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-oauth-detail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 520px) {
  .admin-oauth-detail-stats {
    grid-template-columns: 1fr;
  }
}

.admin-oauth-detail-stat {
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.admin-oauth-detail-stat-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.admin-oauth-detail-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f1f5f9;
}

.admin-oauth-detail-config {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.06);
}

.admin-oauth-detail-checklist {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.admin-oauth-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-oauth-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.admin-oauth-detail-btn--primary {
  background: #2563eb;
  color: #fff;
}

.admin-oauth-detail-btn--primary:hover {
  background: #1d4ed8;
  color: #fff;
}
/* Marketing home — www.vs.plus */

.landing {
  min-height: 100vh;
  background: #0a0a0f;
  color: #e2e8f0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.landing-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.landing-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.landing-nav a,
.landing-nav .landing-nav-cta {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}

.landing-nav a:hover {
  color: #e2e8f0;
}

.landing-nav-login {
  color: #cbd5e1 !important;
}

.landing-nav-cta {
  padding: 0.5rem 1rem !important;
  background: #2563eb !important;
  color: #fff !important;
  border-radius: 8px;
}

.landing-nav-cta:hover {
  background: #1d4ed8 !important;
  color: #fff !important;
}

/* Hero */
.landing-hero {
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}

.landing-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.landing-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1.25rem;
}

.landing-hero-sub {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 2rem;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.landing-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border: none;
  cursor: pointer;
}

.landing-btn-primary {
  background: #2563eb;
  color: #fff;
}

.landing-btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.landing-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.landing-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.landing-btn--large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Sections */
.landing-section {
  padding: 4rem 1.5rem;
}

.landing-section--dark {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.landing-section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  text-align: center;
}

.landing-section-lead {
  font-size: 1.1rem;
  color: #94a3b8;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Feature cards */
.landing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.landing-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.landing-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 0.5rem;
}

.landing-card p {
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* Game modes */
.landing-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.landing-mode {
  text-align: center;
  padding: 1.5rem;
}

.landing-mode-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.landing-mode h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 0.5rem;
}

.landing-mode p {
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* CTA section */
.landing-section--cta {
  padding: 5rem 1.5rem;
}

.landing-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Footer */
.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 1.5rem;
  background: rgba(0, 0, 0, 0.2);
}

.landing-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-footer-brand {
  display: flex;
  align-items: center;
}

.landing-footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
  opacity: 0.9;
}

.landing-footer-nav {
  display: flex;
  gap: 1.5rem;
}

.landing-footer-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

.landing-footer-nav a:hover {
  color: #e2e8f0;
}

.landing-footer-copy {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

@media (max-width: 640px) {
  .landing-nav {
    gap: 0.75rem;
  }
  .landing-nav a:not(.landing-nav-login):not(.landing-nav-cta) {
    display: none;
  }
  .landing-hero {
    padding: 3rem 1rem 4rem;
  }
  .landing-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
/* Shared layout for Privacy Policy and Terms of Service */

.legal-doc {
  min-height: 100vh;
  background: #0a0a0f;
  color: #e2e8f0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
}

.legal-doc-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 15, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.legal-doc-header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-doc-home {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.legal-doc-home img {
  height: 28px;
  width: auto;
}

.legal-doc-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

.legal-doc-nav a {
  color: #94a3b8;
  text-decoration: none;
}

.legal-doc-nav a:hover {
  color: #e2e8f0;
}

.legal-doc-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.legal-doc-main h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.legal-doc-updated {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 0 2rem;
}

.legal-doc-main h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: #f1f5f9;
}

.legal-doc-main h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-doc-main p {
  margin: 0 0 1rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.legal-doc-main ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.legal-doc-main li {
  margin-bottom: 0.35rem;
}

.legal-doc-main a {
  color: #7dd3fc;
}

.legal-doc-note {
  font-size: 0.875rem;
  color: #94a3b8;
  border-left: 3px solid rgba(125, 211, 252, 0.4);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.legal-doc-contact {
  font-size: 0.95rem;
}

.legal-doc-contact strong {
  color: #e2e8f0;
}
#root {
  width: 100%;
  min-height: 100vh;
  display: block;
}

.page {
  text-align: left;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.header > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 360px;
}

form input {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #444;
  font-size: 1rem;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #646cff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
}

.button:hover {
  background: #535bf2;
}

button.outline {
  background: transparent;
  border: 1px solid #666;
}

.error {
  color: #f66;
  margin: 0;
}

.muted {
  color: #888;
}

.games-table {
  width: 100%;
  border-collapse: collapse;
}

.games-table th,
.games-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #333;
}

.games-table code {
  font-size: 0.85em;
}

.games-table code.key {
  opacity: 0.8;
}

.success {
  color: #6a6;
  margin-bottom: 1rem;
}
