/* ===============================================
   HYDRO PUMP HOLD'EM - COMPLETE UNIFIED THEME
   All styles consolidated into ONE file
   Pokemon Poker Stats & Ledger
   =============================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Orbitron:wght@600;700;800;900&display=swap');

/* ============ BASE RESET ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 72px; /* Space for fixed topbar */
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6, .brand {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* ============ DESIGN TOKENS ============ */
:root {
  /* Pokemon Water Theme - Light Mode */
  --bg: #f0f4f8;
  --bg-gradient: linear-gradient(135deg, #e3f2fd 0%, #f0f4f8 50%, #e8eaf6 100%);
  --panel: rgba(255, 255, 255, 0.95);
  --panel-hover: rgba(255, 255, 255, 0.98);
  --glass: rgba(255, 255, 255, 0.75);
  --border: rgba(33, 150, 243, 0.15);
  --border-strong: rgba(33, 150, 243, 0.3);
  
  /* Text */
  --text: #0d1b2a;
  --text-light: #1b263b;
  --muted: #64748b;
  --muted-light: #94a3b8;
  
  /* Pokemon Water Blue - Primary Accent */
  --accent: #2196F3;
  --accent-hover: #1976D2;
  --accent-light: #64B5F6;
  --accent-glow: rgba(33, 150, 243, 0.3);
  --accent-bg: rgba(33, 150, 243, 0.08);
  --accent-contrast: #ffffff;
  
  /* Secondary - Hydro Pump Aqua */
  --secondary: #00BCD4;
  --secondary-hover: #00ACC1;
  --secondary-light: #4DD0E1;
  
  /* Status Colors */
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --info: #3b82f6;
  --info-bg: rgba(59, 130, 246, 0.1);
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(33, 150, 243, 0.08);
  --shadow: 0 4px 16px rgba(33, 150, 243, 0.12);
  --shadow-lg: 0 12px 32px rgba(33, 150, 243, 0.2);
  --shadow-xl: 0 20px 48px rgba(33, 150, 243, 0.25);
  --glow: 0 0 20px var(--accent-glow);
  
  /* Spacing & Layout */
  --radius: 20px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --header-h: 72px;
  --sidebar-w: 280px;
  
  /* Backdrop */
  --backdrop-blur: blur(16px);
  --backdrop-saturate: saturate(180%);
  
  /* Logo */
  --logo-opacity: 0.06;
  --logo-blend: multiply;
  
  /* Icon filter */
  --icon-filter: none;
}

/* ============ DARK MODE ============ */
:root.theme-dark {
  /* Dark Ocean Theme */
  --bg: #0a0e1a;
  --bg-gradient: linear-gradient(135deg, #0a0e1a 0%, #0d1321 50%, #11172a 100%);
  --panel: rgba(17, 25, 40, 0.92);
  --panel-hover: rgba(17, 25, 40, 0.98);
  --glass: rgba(17, 25, 40, 0.75);
  --border: rgba(96, 165, 250, 0.15);
  --border-strong: rgba(96, 165, 250, 0.3);
  
  /* Text */
  --text: #e2e8f0;
  --text-light: #cbd5e1;
  --muted: #94a3b8;
  --muted-light: #64748b;
  
  /* Brighter blues for dark mode */
  --accent: #60A5FA;
  --accent-hover: #93C5FD;
  --accent-light: #BFDBFE;
  --accent-glow: rgba(96, 165, 250, 0.4);
  --accent-bg: rgba(96, 165, 250, 0.12);
  --accent-contrast: #0a0e1a;
  
  --secondary: #22D3EE;
  --secondary-hover: #67E8F9;
  --secondary-light: #A5F3FC;
  
  /* Shadows in dark mode */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.6);
  
  --logo-opacity: 0.04;
  --logo-blend: screen;
  
  /* Icon filter */
  --icon-filter: invert(1);
}

/* ============ BACKGROUND ============ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg-gradient);
  z-index: -2;
  pointer-events: none;
}

/* Watermark Logo */
.background-image {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('/static/logos/hph_logo.png') center center / 40% no-repeat;
  opacity: var(--logo-opacity);
  mix-blend-mode: var(--logo-blend);
  pointer-events: none;
}

/* ============ LAYOUT UTILITIES ============ */
.page {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 48px;
}

/* ============ TOPBAR (FIXED) ============ */
.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: var(--header-h);
  background: var(--panel);
  border-bottom: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
  z-index: 1030;
}

.topbar .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar .brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
}

.icon-btn:hover {
  background: var(--panel-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.icon-btn img,
.icon-btn svg {
  width: 20px;
  height: 20px;
}

.icon-btn img {
  filter: var(--icon-filter);
}

#notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--danger);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  object-fit: cover;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

/* ============ HAMBURGER MENU ============ */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--glass);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: var(--panel-hover);
  border-color: var(--accent);
}

.hb-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============ NOTIFICATION PANEL ============ */
#notif-panel {
  position: fixed;
  z-index: 10000;
  top: 80px;
  right: 20px;
  width: 420px;
  max-width: calc(100vw - 40px);
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
  overflow: hidden;
}

#notif-panel[hidden] {
  display: none;
}

.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 2px solid var(--border);
  background: var(--glass);
}

.notif-panel-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

#notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 450px;
  overflow-y: auto;
}

.notif-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
}

.notif-item:hover {
  background: var(--glass);
}

.notif-item.unread {
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
}

.notif-item:last-child {
  border-bottom: none;
}

/* ============ PANELS & CARDS ============ */
.panel {
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.panel:hover {
  background: var(--panel-hover);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.panel:hover::before {
  opacity: 1;
}

.card {
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* Glass effect */
.glass {
  background: var(--glass);
  backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
  border: 1px solid var(--border);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--accent-contrast);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow), var(--glow);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
  color: var(--accent-contrast);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.btn.ghost, .btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn.ghost:hover, .btn-ghost:hover {
  background: var(--panel);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 32px;
  font-size: 1.1rem;
}

.icon-btn {
  padding: 10px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--glass);
  border: 2px solid var(--border);
  color: var(--text);
  transition: all 0.3s ease;
}

.icon-btn:hover {
  background: var(--panel-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.ico {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
}

/* ============ FORMS ============ */
input, textarea, select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-bg);
}

input:hover, textarea:hover, select:hover {
  border-color: var(--border-strong);
}

input::placeholder, textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

/* ============ TABLES ============ */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table thead {
  background: var(--glass);
  border-bottom: 2px solid var(--border-strong);
}

.table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}

.table tbody tr:hover {
  background: var(--glass);
}

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

/* ============ NOTIFICATION BELL ============ */
#notif-bell {
  position: relative;
  padding: 10px;
  border-radius: 12px;
  background: var(--glass);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

#notif-bell:hover {
  background: var(--panel-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

#notif-bell svg,
.icon-btn svg {
  width: 20px;
  height: 20px;
  color: var(--text);
}

#notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--danger);
  color: white;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ============ USER PILL ============ */
.user-pill {
  background: var(--glass);
  border: 2px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.user-pill:hover {
  background: var(--panel-hover);
  border-color: var(--accent);
}

#user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  object-fit: cover;
}

.user-name {
  color: var(--text);
  font-weight: 600;
}

/* ============ HAMBURGER MENU (Mobile) ============ */
.hamburger {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.hamburger:hover {
  background: var(--glass);
}

.hb-line {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============ Z-INDEX HIERARCHY ============ */
/* Topbar: 1030, Sidebar/Menu: 1020, Content: 1 */

.sidebar, .sidepanel, .drawer, .nav-drawer, .menu, .menu-panel, #mobile-menu, #sidebar {
  position: fixed;
  left: 0;
  top: var(--header-h);
  bottom: 0;
  width: 280px;
  max-width: 88vw;
  z-index: 1020;
  background: var(--panel);
  border-right: 2px solid var(--border-strong);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar.open, .menu.open, #mobile-menu.open, #sidebar.open {
  transform: translateX(0);
}

/* Backdrop */
.sidebar-backdrop, .drawer-backdrop, .menu-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1015;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-backdrop.show, .drawer-backdrop.show, .menu-backdrop.show {
  opacity: 1;
}

/* Ensure content doesn't overlap */
.card, .panel, .content, .page, .sheet, .sheet-content, main {
  position: relative;
  z-index: 1;
}

/* ============ NAVIGATION LIST ============ */
.nav-list {
  list-style: none;
  padding: 20px 16px;
  margin: 0;
}

.nav-list li {
  margin-bottom: 6px;
}

/* UPDATED: include .submenu-toggle */
.nav-list li a,
.nav-list li .submenu-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

/* UPDATED: include .submenu-toggle:hover */
.nav-list li a:hover,
.nav-list li .submenu-toggle:hover {
  background: var(--glass);
  color: var(--accent);
}

/* UPDATED: icons in links and submenu buttons */
.nav-list li a .ico,
.nav-list li .submenu-toggle .ico {
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex-shrink: 0;
  opacity: 0.8;
  filter: var(--icon-filter);
}

.nav-list li a:hover .ico,
.nav-list li .submenu-toggle:hover .ico {
  opacity: 1;
  transform: scale(1.1);
}

.nav-list li a.signout {
  color: var(--danger);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--border);
}

.nav-list li a.signout:hover {
  background: var(--danger-bg);
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  
  .topbar {
    height: 60px;
    padding: 0 12px;
  }
  
  .topbar .brand {
    font-size: 1rem;
  }
  
  .topbar .brand img {
    height: 32px;
  }
  
  #hph-theme-toggle span.desktop-only {
    display: none;
  }
  
  #hph-theme-toggle {
    padding: 8px;
    width: 40px;
    justify-content: center;
  }
  
  .user-pill {
    display: none;
  }
  
  .user-name {
    display: none;
  }
  
  .page {
    padding: 16px;
  }
  
  .panel, .card {
    padding: 16px;
  }
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: inline;
}

@media (max-width: 767px) {
  .mobile-only {
    display: flex;
  }
  
  .desktop-only {
    display: none;
  }
}

/* ============ UTILITY CLASSES ============ */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted);
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.break-words {
  word-break: break-word;
  overflow-wrap: break-word;
}

.w-100 {
  width: 100%;
}

.hidden {
  display: none !important;
}

/* ============ STATUS BADGES ============ */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid;
}

.badge-success {
  background: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-bg);
  border-color: var(--warning);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-bg);
  border-color: var(--danger);
  color: var(--danger);
}

.badge-info {
  background: var(--info-bg);
  border-color: var(--info);
  color: var(--info);
}

/* ============ FEATURED CARD STYLE ============ */
.featured {
  background: var(--accent-bg);
  border-color: var(--accent);
  position: relative;
}

.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

/* ============ DIVIDER ============ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* ============ PENDING SHIPMENTS & TRACKING COMPONENTS ============ */
.ship-card {
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.ship-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ship-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--accent-bg);
  color: var(--text);
  border: 2px solid var(--border);
}

.kv {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 8px 14px;
}

.kv dt {
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  color: var(--muted);
}

.kv dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 720px) {
  .kv {
    grid-template-columns: 1fr;
  }
}

.hl {
  background: var(--warning-bg);
  border: 2px solid var(--warning);
  border-radius: 8px;
  padding: 6px 10px;
  display: inline-block;
  color: var(--text);
  font-weight: 600;
}
