/* ============================================================
   QuizGames Live v2 — Core Styles
   Shared across all pages
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito:wght@400;600;700;800;900&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Brand colours */
  --pink:       #ac148d;
  --vivid:      #c230d3;
  --red:        #c9153c;
  --correct:    #00c48c;
  --gold:       #f0b429;
  --blue:       #3b82f6;

  /* UI colours */
  --bg:         #0d001a;
  --bg2:        #150028;
  --panel:      #1e0038;
  --panel2:     #280048;
  --border:     rgba(255,255,255,0.1);
  --border2:    rgba(255,255,255,0.18);

  /* Text */
  --text:       #ffffff;
  --text2:      rgba(255,255,255,0.7);
  --dim:        rgba(255,255,255,0.4);
  --muted:      rgba(255,255,255,0.25);

  /* Glow */
  --glow:       #c230d3;

  /* Fonts */
  --font-body:  'Nunito', sans-serif;
  --font-head:  'Bebas Neue', sans-serif;

  /* Radius */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;



  /* Transitions */
  --t-fast: 0.15s ease;
  --t-mid:  0.25s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ── Background gradient ──────────────────────────────────── */
.bg-gradient {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(194,48,211,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(172,20,141,0.2) 0%, transparent 60%),
    var(--bg);
  min-height: 100vh;
}

/* ── Typography ───────────────────────────────────────────── */
.font-head { font-family: var(--font-head); }

h1 { font-family: var(--font-head); font-size: 2.2rem; letter-spacing: 3px; }
h2 { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: 2px; }
h3 { font-family: var(--font-head); font-size: 1.1rem; letter-spacing: 2px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  color: var(--text);
  transition: all var(--t-fast);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.btn:active { transform: translateY(0); filter: brightness(0.95); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--vivid));
  box-shadow: 0 4px 20px rgba(194,48,211,0.4);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(194,48,211,0.6); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }

.btn-danger {
  background: rgba(201,21,60,0.2);
  border: 1px solid rgba(201,21,60,0.4);
  color: #ff6b8a;
}
.btn-danger:hover { background: rgba(201,21,60,0.35); }

.btn-success {
  background: rgba(0,196,140,0.2);
  border: 1px solid rgba(0,196,140,0.4);
  color: var(--correct);
}
.btn-success:hover { background: rgba(0,196,140,0.35); }

.btn-sm { padding: 7px 14px; font-size: 0.75rem; }
.btn-lg { padding: 14px 32px; font-size: 1.1rem; }
.btn-icon { padding: 8px; width: 36px; height: 36px; border-radius: var(--r-sm); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-mid);
}
.card:hover { border-color: var(--border2); transform: translateY(-2px); }

/* ── Form elements ────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }

.field-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--dim);
}

.field-input,
.field-textarea,
.field-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--t-fast);
  width: 100%;
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  outline: none;
  border-color: var(--vivid);
  background: rgba(255,255,255,0.09);
}

.field-textarea { resize: vertical; min-height: 80px; }
.field-select option { background: var(--panel); }

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.badge-private   { background: rgba(255,255,255,0.08); color: var(--dim); }
.badge-published { background: rgba(0,196,140,0.15); color: var(--correct); border: 1px solid rgba(0,196,140,0.3); }

/* ── Status bar ───────────────────────────────────────────── */
.status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--t-mid);
  min-height: 34px;
}
.status-idle    { background: transparent; color: var(--dim); }
.status-ok      { background: rgba(0,196,140,0.12); color: var(--correct); border: 1px solid rgba(0,196,140,0.25); }
.status-warn    { background: rgba(240,180,41,0.12); color: #f0b429; border: 1px solid rgba(240,180,41,0.25); }
.status-err     { background: rgba(201,21,60,0.12); color: #ff6b8a; border: 1px solid rgba(201,21,60,0.25); }

/* ── Server offline banner ────────────────────────────────── */
.server-offline {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(201,21,60,0.95);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 9999;
  letter-spacing: 1px;
}

/* ── Loading spinner ──────────────────────────────────────── */
.spinner {
  width: 32px; height: 32px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--vivid);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Empty state ──────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  color: var(--dim);
  text-align: center;
}
.empty-state .icon { font-size: 3rem; opacity: 0.5; }
.empty-state h3 { font-family: var(--font-head); letter-spacing: 2px; font-size: 1.1rem; }
.empty-state p { font-size: 0.85rem; max-width: 300px; line-height: 1.6; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* ── Utility ──────────────────────────────────────────────── */
.flex     { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }
.text-dim   { color: var(--dim); }
.text-vivid { color: var(--vivid); }
.text-sm    { font-size: 0.82rem; }
.text-xs    { font-size: 0.72rem; }
.font-bold  { font-weight: 700; }
.truncate   { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Fade in animation ────────────────────────────────────── */
.fade-in {
  animation: fadeIn 0.3s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Toast (global — injected by ui.js) ──────────────────── */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(20,0,40,0.96);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 0.83rem; font-weight: 700;
  color: var(--text);
  z-index: 9000;
  transition: transform 0.28s;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.ok   { border-color: rgba(0,196,140,0.4);  color: var(--correct); }
.toast.err  { border-color: rgba(201,21,60,0.4);  color: #ff6b8a; }
.toast.warn { border-color: rgba(240,180,41,0.4); color: var(--gold); }

/* ── Back button (shared across profile pages) ───────────── */
.back-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--panel, rgba(255,255,255,0.07));
  border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 16px;
  font-family: var(--font-head);
  font-size: 0.7rem; letter-spacing: 2px;
  color: var(--text2, rgba(255,255,255,0.55));
  cursor: pointer; text-decoration: none;
  transition: all var(--t-fast);
}
.back-btn:hover { border-color: var(--border2); color: var(--text); }

/* ── Page background (shared by profile pages) ───────────── */
.page-bg {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px;
  position: relative; overflow-x: hidden;
}
.page-bg::before {
  content: ''; position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--glow, rgba(194,48,211,0.35)) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%,  rgba(172,20,141,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(201,21,60,0.15) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.page-bg::after {
  content: ''; position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none; z-index: 0;
}


/* ── Dark mode explicit — wins over any light mode rules ──── */
[data-theme="dark"],
[data-theme="dark"] body {
  color: #ffffff;
}
[data-theme="dark"] .field-label { color: rgba(255,255,255,0.4); }


/* ── Light mode ───────────────────────────────────────────── */
[data-theme="light"] {
  /* Core colours */
  --bg:         #d8cded;
  --bg2:        #cfc4e8;
  --panel:      #ede5fa;
  --panel2:     #e5daf5;
  --border:     rgba(26,0,53,0.14);
  --border2:    rgba(26,0,53,0.26);
  --text:       #1a0035;
  --text2:      #3a006a;
  --dim:        rgba(26,0,53,0.55);
  --muted:      rgba(26,0,53,0.38);
  /* Brand */
  --pink:       #8b006e;
  --vivid:      #9400b8;
  --red:        #b0001c;
  --correct:    #006644;
  --gold:       #8a5f00;
  --blue:       #1240b0;
  --glow:       rgba(148,0,184,0.12);

}

[data-theme="light"] body  { background: #d8cded; color: #1a0035; }
[data-theme="light"] .page-bg { background: #d8cded; }
[data-theme="light"] .page-bg::before {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(148,0,184,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0%  100%, rgba(120,0,150,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%,rgba(160,0,50,0.05) 0%, transparent 60%);
}
[data-theme="light"] .page-bg::after {
  background-image: radial-gradient(circle, rgba(26,0,53,0.04) 1px, transparent 1px);
}
[data-theme="light"] .bg-gradient { background: #d8cded; }

/* Cards */
[data-theme="light"] .card { background: var(--panel); border-color: var(--border); box-shadow: 0 2px 10px rgba(26,0,53,0.1); }
[data-theme="light"] .card:hover { border-color: var(--border2); }

/* Inputs */
[data-theme="light"] .field-input,
[data-theme="light"] .field-textarea,
[data-theme="light"] .field-select { background: var(--input-bg); border-color: rgba(26,0,53,0.2); color: #1a0035; }
[data-theme="light"] .field-input::placeholder,
[data-theme="light"] .field-textarea::placeholder { color: rgba(26,0,53,0.4); }
[data-theme="light"] .field-input:focus,
[data-theme="light"] .field-textarea:focus,
[data-theme="light"] .field-select:focus { border-color: #9400b8; box-shadow: 0 0 0 3px rgba(148,0,184,0.1); }
[data-theme="light"] .field-select option { background: #ede5fa; color: #1a0035; }

/* Buttons */
[data-theme="light"] .btn-ghost { background: rgba(26,0,53,0.06); border: 1.5px solid rgba(26,0,53,0.18); color: #1a0035; }
[data-theme="light"] .btn-ghost:hover { background: rgba(26,0,53,0.12); }
[data-theme="light"] .btn-danger  { background: rgba(176,0,28,0.08);  border-color: rgba(176,0,28,0.3);  color: #b0001c; }
[data-theme="light"] .btn-success { background: rgba(0,102,68,0.08);  border-color: rgba(0,102,68,0.3);  color: #006644; }
[data-theme="light"] .back-btn { background: rgba(26,0,53,0.06); border-color: rgba(26,0,53,0.18); color: rgba(26,0,53,0.65); }
[data-theme="light"] .back-btn:hover { border-color: #9400b8; color: #1a0035; }

/* Misc */
[data-theme="light"] ::-webkit-scrollbar-track { background: #cfc4e8; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(26,0,53,0.25); }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(26,0,53,0.4); }
[data-theme="light"] .toast { background: #ede5fa; border-color: rgba(26,0,53,0.18); color: #1a0035; box-shadow: 0 4px 20px rgba(26,0,53,0.15); }
[data-theme="light"] .spinner { border-color: rgba(26,0,53,0.1); border-top-color: #9400b8; }
[data-theme="light"] .status-ok   { background: rgba(0,102,68,0.08);  border-color: rgba(0,102,68,0.25);  color: #006644; }
[data-theme="light"] .status-warn { background: rgba(138,95,0,0.08);  border-color: rgba(138,95,0,0.25);  color: #8a5f00; }
[data-theme="light"] .status-err  { background: rgba(176,0,28,0.08);  border-color: rgba(176,0,28,0.25);  color: #b0001c; }
[data-theme="light"] .badge-private   { background: rgba(26,0,53,0.07); color: rgba(26,0,53,0.55); }
[data-theme="light"] .badge-published { background: rgba(0,102,68,0.1); border-color: rgba(0,102,68,0.3); color: #006644; }

/* Dashboard components */
[data-theme="light"] .card-image-overlay { background: linear-gradient(to top, rgba(216,205,237,0.85) 0%, transparent 60%); }
[data-theme="light"] .card-no-image { background: linear-gradient(135deg, rgba(26,0,53,0.1), rgba(148,0,184,0.07)); }
[data-theme="light"] .card-type-icon { background: rgba(216,205,237,0.85); border-color: rgba(26,0,53,0.14); }
[data-theme="light"] .card-status-badge.private { background: rgba(216,205,237,0.85); border-color: rgba(26,0,53,0.16); color: rgba(26,0,53,0.6); }
[data-theme="light"] .card-edit { background: rgba(26,0,53,0.07); border-color: rgba(26,0,53,0.16); color: rgba(26,0,53,0.75); }
[data-theme="light"] .card-edit:hover { background: rgba(148,0,184,0.12); border-color: rgba(148,0,184,0.35); color: #1a0035; }
[data-theme="light"] .card-publish.private { background: rgba(26,0,53,0.07); border-color: rgba(26,0,53,0.16); color: rgba(26,0,53,0.55); }
[data-theme="light"] .recent-badge { background: rgba(216,205,237,0.9); border-color: rgba(26,0,53,0.12); color: #8a5f00; }
[data-theme="light"] .recent-remove { background: rgba(216,205,237,0.85); border-color: rgba(26,0,53,0.15); color: rgba(26,0,53,0.6); }
[data-theme="light"] .modal-overlay { background: rgba(26,0,53,0.45); }
[data-theme="light"] .modal-box { background: #ede5fa; border-color: rgba(26,0,53,0.18); box-shadow: 0 20px 60px rgba(26,0,53,0.25); }
[data-theme="light"] .modal-body { color: rgba(26,0,53,0.65); }
[data-theme="light"] .modal-btn-cancel { background: rgba(26,0,53,0.07); border-color: rgba(26,0,53,0.16); color: rgba(26,0,53,0.7); }
[data-theme="light"] .modal-btn-cancel:hover { background: rgba(26,0,53,0.13); }
[data-theme="light"] .profile-dropdown-panel { background: #ede5fa; border-color: rgba(26,0,53,0.16); box-shadow: 0 16px 48px rgba(26,0,53,0.2); }
[data-theme="light"] .dd-profile-head { background: rgba(26,0,53,0.05); border-bottom-color: rgba(26,0,53,0.1); }
[data-theme="light"] .dd-avatar  { border-color: rgba(26,0,53,0.2); }
[data-theme="light"] .dd-name,
[data-theme="light"] .dd-item    { color: #1a0035; }
[data-theme="light"] .dd-item:hover { background: rgba(26,0,53,0.07); }
[data-theme="light"] .dd-item.dd-signout .dd-label,
[data-theme="light"] .dd-item.dd-signout .dd-icon { color: #b0001c; }
[data-theme="light"] .dd-item.dd-signout:hover { background: rgba(176,0,28,0.07); }
[data-theme="light"] .dd-badge   { background: rgba(26,0,53,0.07); border-color: rgba(26,0,53,0.12); color: rgba(26,0,53,0.4); }
[data-theme="light"] .dd-arrow   { color: rgba(26,0,53,0.35); }
[data-theme="light"] .dd-divider { background: rgba(26,0,53,0.1); }
[data-theme="light"] .dd-footer  { border-top-color: rgba(26,0,53,0.1); }
[data-theme="light"] .dd-version { color: rgba(26,0,53,0.3); }

/* Quiz templates */
[data-theme="light"] .question-box { background: rgba(26,0,53,0.07); border-color: rgba(26,0,53,0.18); }
[data-theme="light"] #question { color: #1a0035; text-shadow: none; }
[data-theme="light"] .answer-tile { background: rgba(26,0,53,0.07); border-color: rgba(26,0,53,0.16); }
[data-theme="light"] .answer-tile:hover { background: rgba(26,0,53,0.13); border-color: #9400b8; }
[data-theme="light"] .tile-badge { background: rgba(26,0,53,0.1); border-right-color: rgba(26,0,53,0.14); }
[data-theme="light"] .tile-letter,
[data-theme="light"] .tile-text  { color: #1a0035; }
[data-theme="light"] .tile-pct   { color: rgba(26,0,53,0.65); }
[data-theme="light"] .tile-live-count { color: rgba(26,0,53,0.5); }
[data-theme="light"] .tile-wrong { background: rgba(26,0,53,0.04) !important; border-color: rgba(26,0,53,0.08) !important; }
[data-theme="light"] .tile-wrong .tile-letter,
[data-theme="light"] .tile-wrong .tile-text { color: rgba(26,0,53,0.3); }
[data-theme="light"] .progress-track { background: rgba(26,0,53,0.15); }
[data-theme="light"] .progress-text  { color: rgba(26,0,53,0.55); }
[data-theme="light"] .timer-track    { background: rgba(26,0,53,0.15); }
[data-theme="light"] .timer-num      { color: #1a0035; }
[data-theme="light"] .leader-ticker  { background: rgba(26,0,53,0.07) !important; border: 1.5px solid rgba(26,0,53,0.15) !important; color: #1a0035 !important; }
[data-theme="light"] #tickerName,
[data-theme="light"] #tickerLabel    { color: #1a0035 !important; }
[data-theme="light"] .qg-toolbar a,
[data-theme="light"] .qg-toolbar button { background: rgba(26,0,53,0.1); border-color: rgba(26,0,53,0.2); color: #1a0035; }
[data-theme="light"] .qg-toolbar a:hover,
[data-theme="light"] .qg-toolbar button:hover { background: rgba(26,0,53,0.18); border-color: #9400b8; }


/* ============================================================
   MOBILE RESPONSIVE — drawer and overlay styles
   Search: MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

  /* Overlay */
  #mob-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0,0,0,0.6);
    display: none;
  }

  /* Drawer */
  #mob-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 280px;
    height: 100%;
    z-index: 999;
    background: #1e0038;
    border-right: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 4px 0 32px rgba(0,0,0,0.7);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
  }
  #mob-drawer.mob-open {
    transform: translateX(0);
  }

  /* Drawer header */
  #mob-drawer-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    background: #2a0050;
    flex-shrink: 0;
  }
  #mob-drawer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: #fff;
  }
  #mob-drawer-logo span { color: #c230d3; }
  #mob-drawer-x {
    background: none; border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem; cursor: pointer; padding: 4px 8px;
  }
  #mob-drawer-x:hover { color: #fff; }

  /* Nav items */
  #mob-nav { display: flex; flex-direction: column; }
  .mob-ni {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.15s;
  }
  .mob-ni:hover {
    background: rgba(194,48,211,0.15);
    color: #c230d3;
  }
  .mob-ni:last-child { border-bottom: none; }
  .mob-ni span { font-size: 1.1rem; width: 26px; text-align: center; flex-shrink: 0; }


  /* TikTok status row in drawer */
  .mob-tiktok-row {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    background: rgba(0,0,0,0.2);
    cursor: default;
  }
  .mob-tiktok-row:hover { background: rgba(0,0,0,0.2) !important; color: rgba(255,255,255,0.6) !important; }

  /* Quiz grid */
  .quiz-grid { grid-template-columns: 1fr !important; }
  .card-actions { flex-wrap: wrap; }
  .card-launch, .card-edit { flex: 1; min-width: 80px; }
}

/* ============================================================
   END MOBILE RESPONSIVE
   ============================================================ */
