﻿/**
 * YTKara V2 — Aurora Futura Design System
 * Elegant futuristic / cyberpunk design language for the commercial karaoke suite.
 * Dark glass surfaces, restrained neon accents (cyan/teal primary, violet/fuchsia
 * secondary, amber warning, red danger), Outfit UI + Oxanium display numerals.
 */

:root {
  /* Deep-space palette */
  --bg-deep: #07090f;
  --bg-surface: #0d1119;
  --bg-elevated: #131a26;
  --bg-card: rgba(15, 20, 31, 0.78);
  --bg-card-hover: rgba(23, 30, 44, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.04);

  /* Neon accents (used sparingly: focus rings, active states, rules, dots) */
  --cyan: #45e0f2;
  --teal: #2dd4bf;
  --cyan-glow: rgba(69, 224, 242, 0.32);
  --cyan-subtle: rgba(69, 224, 242, 0.10);
  --violet: #a78bfa;
  --violet-glow: rgba(167, 139, 250, 0.32);
  --violet-subtle: rgba(167, 139, 250, 0.12);
  --fuchsia: #e879f9;
  --pink: #f471b5;
  --gold: #ffd166;
  --green: #34d399;
  --amber: #fbbf24;
  --danger: #f87171;

  /* Typography colors (>= 4.5:1 on deep surfaces) */
  --text-primary: #f2f5fb;
  --text-secondary: #c3cbdd;
  --text-muted: #9aa3ba;

  /* Borders, elevation */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --border-highlight: rgba(69, 224, 242, 0.34);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.58);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.72);
  --shadow-glow: 0 0 36px rgba(69, 224, 242, 0.16);
  --inner-hi: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Type */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Oxanium', 'JetBrains Mono', 'Consolas', monospace;

  /* Motion */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Signature gradients (accent elements only) */
  --grad-primary: linear-gradient(135deg, #38d9ee 0%, #2dd4bf 100%);
  --grad-text: linear-gradient(120deg, #45e0f2 0%, #a78bfa 55%, #e879f9 100%);
  --grad-rule: linear-gradient(90deg, transparent, rgba(69, 224, 242, 0.55), rgba(167, 139, 250, 0.5), transparent);
}

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

html {
  background-color: var(--bg-deep);
}

html, body {
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient aurora field — sits behind body content (body bg stays transparent
   so this paints above the html base color). Pages that set an opaque body
   background (stage.php, remote.php) automatically suppress it. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 42% at 12% -6%, rgba(69, 224, 242, 0.075), transparent 62%),
    radial-gradient(46% 38% at 88% -2%, rgba(167, 139, 250, 0.07), transparent 60%),
    radial-gradient(72% 52% at 50% 112%, rgba(45, 212, 191, 0.05), transparent 62%),
    linear-gradient(180deg, #080b12 0%, var(--bg-deep) 100%);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(69, 224, 242, 0.45);
  background-clip: content-box;
}

::selection {
  background: rgba(69, 224, 242, 0.28);
  color: #ffffff;
}

/* Layout container */
.ytk-container {
  width: min(100% - 40px, 1400px);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .ytk-container {
    width: min(100% - 24px, 1400px);
  }
}

/* ---------------------------------------------------------------- */
/* Navigation                                                        */
/* ---------------------------------------------------------------- */
.ytk-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.80);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
}

/* Thin aurora hairline under the nav (restrained accent rule) */
.ytk-nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--grad-rule);
  opacity: 0.5;
  pointer-events: none;
}

.ytk-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ytk-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ytk-logo-text {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 9px;
}

.ytk-logo-dot {
  width: 9px;
  height: 9px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(69, 224, 242, 0.16), 0 0 14px rgba(69, 224, 242, 0.65);
  flex-shrink: 0;
}

.ytk-brand-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--cyan-subtle);
  border: 1px solid rgba(69, 224, 242, 0.26);
  color: var(--cyan);
}

.ytk-brand-badge.demo {
  background: var(--violet-subtle);
  border-color: rgba(167, 139, 250, 0.3);
  color: var(--violet);
}

.ytk-brand-badge.host {
  background: rgba(255, 209, 102, 0.12);
  border-color: rgba(255, 209, 102, 0.32);
  color: var(--gold);
}

.ytk-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

/* ---------------------------------------------------------------- */
/* Buttons — opaque, clearly clickable, 44px touch targets           */
/* ---------------------------------------------------------------- */
.ytk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  box-shadow: var(--inner-hi), 0 6px 16px rgba(0, 0, 0, 0.32);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-smooth),
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    filter var(--transition-fast);
}

.ytk-btn:hover {
  transform: translateY(-1px);
}

.ytk-btn:active {
  transform: scale(0.98);
}

.ytk-btn:disabled,
.ytk-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  filter: none !important;
  box-shadow: none;
}

.ytk-btn.is-loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Primary — solid cyan→teal gradient, dark text */
.ytk-btn-primary {
  background: var(--grad-primary);
  color: #05202a;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ytk-btn-primary:hover {
  filter: brightness(1.08);
  color: #02181f;
  box-shadow: 0 12px 30px rgba(45, 212, 191, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Secondary — solid raised dark surface */
.ytk-btn-secondary {
  background: linear-gradient(180deg, #242e42 0%, #1a2231 100%);
  color: #eef2fa;
  border-color: rgba(255, 255, 255, 0.10);
}

.ytk-btn-secondary:hover {
  background: linear-gradient(180deg, #2b374e 0%, #202a3c 100%);
  border-color: rgba(69, 224, 242, 0.38);
  color: #ffffff;
}

/* Utility — quiet ghost link-button */
.ytk-btn-utility {
  background: transparent;
  box-shadow: none;
  color: var(--text-muted);
  font-size: 13px;
  min-height: 40px;
  padding: 8px 14px;
}

.ytk-btn-utility:hover {
  color: #ffffff;
  transform: none;
}

/* Danger — solid red */
.ytk-btn-danger {
  background: linear-gradient(180deg, #d43a4e 0%, #b32236 100%);
  color: #ffffff;
  font-weight: 800;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 22px rgba(179, 34, 54, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.ytk-btn-danger:hover {
  filter: brightness(1.1);
  color: #ffffff;
}

/* Warning — solid amber, dark text */
.ytk-btn-warning {
  background: linear-gradient(180deg, #f6b93c 0%, #dd9a10 100%);
  color: #1d1300;
  font-weight: 800;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 22px rgba(221, 154, 16, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ytk-btn-warning:hover {
  filter: brightness(1.07);
}

/* Sizes */
.ytk-btn-lg {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 14px;
}

.ytk-btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.ytk-btn-full {
  width: 100%;
}

/* ---------------------------------------------------------------- */
/* Cards & glass surfaces                                            */
/* ---------------------------------------------------------------- */
.ytk-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 30%),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg), var(--inner-hi);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Accent card (e.g. currently playing queue item) */
.ytk-card-highlight {
  border-color: rgba(69, 224, 242, 0.38);
  box-shadow:
    0 0 0 1px rgba(69, 224, 242, 0.12),
    0 14px 40px rgba(0, 0, 0, 0.55),
    inset 0 0 26px rgba(69, 224, 242, 0.05);
}

/* Type helpers */
.ytk-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.ytk-gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ytk-wordmark {
  font-family: var(--font-mono);
  font-weight: 900;
  letter-spacing: 0.14em;
}

/* Thin gradient rule divider */
.ytk-rule {
  height: 1px;
  border: 0;
  background: var(--grad-rule);
  opacity: 0.7;
}

/* Deliberate empty state */
.ytk-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.015);
}

/* Form labels */
.ytk-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------- */
/* Inputs                                                            */
/* ---------------------------------------------------------------- */
.ytk-input {
  width: 100%;
  min-height: 48px;
  background: rgba(8, 11, 18, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--text-primary);
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.ytk-input::placeholder {
  color: #6b7590;
}

.ytk-input:focus {
  border-color: rgba(69, 224, 242, 0.55);
  background: rgba(10, 14, 22, 0.92);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(69, 224, 242, 0.14);
}

.ytk-input-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
}

/* ---------------------------------------------------------------- */
/* Status badges & pills                                             */
/* ---------------------------------------------------------------- */
.ytk-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ytk-status-playing {
  background: rgba(69, 224, 242, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(69, 224, 242, 0.3);
}

.ytk-status-pending {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.ytk-status-active {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.ytk-status-queued {
  background: rgba(167, 139, 250, 0.13);
  color: var(--violet);
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.ytk-status-played {
  background: rgba(255, 255, 255, 0.08);
  color: #b7bfd4;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Stage-connected indicator pill (STAGE LIVE / NO STAGE) */
.ytk-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.ytk-stage-pill .ytk-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.ytk-stage-pill.is-live {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.34);
  color: var(--green);
}

.ytk-stage-pill.is-live .ytk-pill-dot {
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
  animation: ytkPulseDot 1.8s ease-in-out infinite;
}

.ytk-stage-pill.is-warn {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.34);
  color: var(--amber);
}

.ytk-stage-pill.is-warn .ytk-pill-dot {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
}

@keyframes ytkPulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Room PIN pill */
.ytk-pin-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  background: var(--cyan-subtle);
  border: 1px solid rgba(69, 224, 242, 0.26);
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- */
/* Song / queue cards (shared by remote.php, demo.php renderers)     */
/* ---------------------------------------------------------------- */
.ytk-song-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 40%),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), var(--inner-hi);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.ytk-song-card:hover {
  border-color: rgba(69, 224, 242, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 40%),
    var(--bg-card-hover);
  transform: translateY(-1px);
}

.ytk-song-thumb {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #04060b;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ytk-song-meta {
  flex: 1;
  min-width: 0;
}

.ytk-song-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.ytk-song-sub {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------------------------------------------------------- */
/* Modals                                                            */
/* ---------------------------------------------------------------- */
.ytk-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* ---------------------------------------------------------------- */
/* Toasts                                                            */
/* ---------------------------------------------------------------- */
.ytk-toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: min(92vw, 480px);
}

.ytk-toast {
  pointer-events: auto;
  background: rgba(13, 18, 28, 0.94);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--cyan);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.7);
  padding: 12px 20px;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: ytkToastIn 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ytk-toast.success {
  border-left-color: var(--green);
  color: #b9f5dd;
}

.ytk-toast.error {
  border-left-color: var(--danger);
  color: #fecaca;
}

@keyframes ytkToastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------- */
/* Focus rings (TV DPAD + accessibility)                             */
/* ---------------------------------------------------------------- */
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(69, 224, 242, 0.18) !important;
}

/* ---------------------------------------------------------------- */
/* Shared marketing / product primitives (index.php, demo.php)       */
/* ---------------------------------------------------------------- */

/* Pricing card */
.ytk-pricing-card {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(69, 224, 242, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 30%),
    var(--bg-card);
  border: 1px solid rgba(69, 224, 242, 0.28);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-xl), 0 0 54px rgba(69, 224, 242, 0.12), var(--inner-hi);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

/* Thin aurora rule across the top edge of the pricing card */
.ytk-pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--violet) 70%, transparent 100%);
  opacity: 0.8;
}

.ytk-price-val {
  font-family: var(--font-mono);
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 900;
  color: #ffffff;
  margin: 12px 0 6px;
  letter-spacing: -0.02em;
}

.ytk-price-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.ytk-checklist {
  list-style: none;
  text-align: left;
  max-width: 440px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.ytk-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ytk-check-icon {
  color: var(--cyan);
  font-weight: 800;
  font-family: var(--font-mono);
}

/* ---------------------------------------------------------------- */
/* Reduced motion                                                    */
/* ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ytk-btn:hover {
    transform: none;
  }
  .ytk-btn:active {
    transform: none;
  }
}

/* ---------------------------------------------------------------- */
/* Narrow-viewport hardening                                         */
/* ---------------------------------------------------------------- */

/* Remote tab-count badges live in remote.php's scoped <style>; this higher-
   specificity selector wins there. Bumps text to dark for max contrast
   on the bright cyan/amber chips. */
.ytk-remote-tabs .ytk-remote-tab-badge {
  color: #05202a;
}
.ytk-remote-tabs .ytk-remote-tab-badge.pending {
  color: #1a1000;
}

@media (max-width: 480px) {
  .ytk-nav-actions {
    gap: 8px;
  }
  .ytk-nav-actions .ytk-btn {
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .ytk-logo-text {
    font-size: 17px;
  }
  .ytk-brand-badge {
    font-size: 9.5px;
    padding: 3px 7px;
  }
  /* Long single-line CTA labels wrap to a second line instead of clipping. */
  .ytk-btn {
    white-space: normal;
    text-align: center;
  }
}
