/* ============================================
   RADIO — petula.fun  |  style.css
   ============================================ */

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

/* Globální touch vylepšení */
button, input[type="range"], .station-item, .tab, .fab {
  -webkit-tap-highlight-color: transparent; /* žádný šedý flash při tapnutí na iOS */
  touch-action: manipulation;               /* okamžitá odezva, žádné 300ms delay */
}

/* Lepší scroll na iOS */
.station-list {
  -webkit-overflow-scrolling: touch;
}

:root {
  --bg:        #0a0a0f;
  --surface:   #12121a;
  --surface2:  #1a1a26;
  --surface3:  #22223a;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.12);
  --accent:    #e84d4d;
  --accent2:   #ff7c4d;
  --gold:      #f0c060;
  --text:      #f0ede8;
  --text2:     #9997b3;
  --text3:     #5c5a78;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 8px 40px rgba(0,0,0,0.6);
  --tr:        0.2s cubic-bezier(0.4,0,0.2,1);
  --header-h:  56px;
  --font-d:    'DM Serif Display', Georgia, serif;
  --font-m:    'DM Mono', monospace;
  --font-ui:   'Instrument Sans', sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;   /* žádný scroll na body — scrolluje jen seznam */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
}

/* Grain */
.grain {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ---- HEADER ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-d);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.logo-text em { font-style: normal; color: var(--text2); font-size: 0.85em; }

.header-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-m);
  font-size: 0.68rem; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text3);
  transition: background var(--tr), box-shadow var(--tr);
}
.pulse-dot.live {
  background: #4dff91; box-shadow: 0 0 10px #4dff91;
  animation: pulseAnim 1.4s ease-in-out infinite;
}
@keyframes pulseAnim { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:0.7} }

/* ---- LAYOUT — 2 sloupce, celá výška pod headerem ---- */
.layout {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  overflow: hidden;
}

/* ---- NOW PLAYING — levý sloupec, celá výška ---- */
.now-playing {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
}

.np-background {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a0f2e 0%, #0a0a1f 100%);
  transition: background 1.2s ease; z-index: 0;
}
.np-background::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(232,77,77,0.1) 0%, transparent 70%);
}

.np-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  padding: 48px 52px;
  height: 100%;
  gap: 10px;
}

.np-label {
  font-family: var(--font-m); font-size: 0.63rem;
  letter-spacing: 0.2em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 2px;
}

.np-station {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; letter-spacing: -0.03em;
}

.np-track {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  font-size: 1rem; color: var(--text2); min-height: 1.6em;
}
.np-artist { color: var(--gold); font-weight: 500; }
.np-sep    { opacity: 0.3; }
.np-title  { font-style: italic; }

.np-meta {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-top: 4px; min-height: 28px;
}
.meta-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border2);
  border-radius: 100px; padding: 3px 10px;
  font-family: var(--font-m); font-size: 0.68rem;
  color: var(--text2); letter-spacing: 0.04em;
}

/* Favicon v now playing */
.np-station-logo {
  position: absolute; top: 24px; right: 28px;
  width: 52px; height: 52px;
  border-radius: 12px; object-fit: contain; opacity: 0.75;
  border: 1px solid var(--border2);
}

/* Visualizer */
.visualizer {
  display: flex; align-items: flex-end; gap: 3px;
  height: 52px; margin-top: auto; padding-top: 16px; opacity: 0.55;
}
.visualizer span {
  flex: 1; background: linear-gradient(to top, var(--accent), var(--accent2));
  border-radius: 2px 2px 0 0; height: 4px; transform-origin: bottom;
}
.visualizer.playing span { animation: bar 0.8s ease-in-out infinite alternate; }
.visualizer.playing span:nth-child(1)  { animation-delay:0.00s; animation-duration:0.70s }
.visualizer.playing span:nth-child(2)  { animation-delay:0.05s; animation-duration:0.90s }
.visualizer.playing span:nth-child(3)  { animation-delay:0.10s; animation-duration:0.60s }
.visualizer.playing span:nth-child(4)  { animation-delay:0.15s; animation-duration:1.00s }
.visualizer.playing span:nth-child(5)  { animation-delay:0.20s; animation-duration:0.75s }
.visualizer.playing span:nth-child(6)  { animation-delay:0.08s; animation-duration:0.85s }
.visualizer.playing span:nth-child(7)  { animation-delay:0.12s; animation-duration:0.65s }
.visualizer.playing span:nth-child(8)  { animation-delay:0.03s; animation-duration:0.95s }
.visualizer.playing span:nth-child(9)  { animation-delay:0.18s; animation-duration:0.72s }
.visualizer.playing span:nth-child(10) { animation-delay:0.25s; animation-duration:0.88s }
.visualizer.playing span:nth-child(11) { animation-delay:0.02s; animation-duration:0.68s }
.visualizer.playing span:nth-child(12) { animation-delay:0.14s; animation-duration:0.92s }
.visualizer.playing span:nth-child(13) { animation-delay:0.09s; animation-duration:0.77s }
.visualizer.playing span:nth-child(14) { animation-delay:0.21s; animation-duration:0.83s }
.visualizer.playing span:nth-child(15) { animation-delay:0.06s; animation-duration:0.71s }
.visualizer.playing span:nth-child(16) { animation-delay:0.16s; animation-duration:0.98s }
.visualizer.playing span:nth-child(17) { animation-delay:0.11s; animation-duration:0.64s }
.visualizer.playing span:nth-child(18) { animation-delay:0.19s; animation-duration:0.87s }
.visualizer.playing span:nth-child(19) { animation-delay:0.07s; animation-duration:0.74s }
.visualizer.playing span:nth-child(20) { animation-delay:0.23s; animation-duration:0.91s }
@keyframes bar { from{height:4px} to{height:var(--h,36px)} }
.visualizer.playing span:nth-child(odd)  { --h:38px }
.visualizer.playing span:nth-child(even) { --h:22px }
.visualizer.playing span:nth-child(3n)   { --h:44px }
.visualizer.playing span:nth-child(5n)   { --h:16px }
.visualizer.playing span:nth-child(7n)   { --h:32px }

/* Controls */
.controls {
  display: flex; align-items: center; gap: 20px; margin-top: 12px;
}
.btn-play {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(232,77,77,0.4);
  transition: transform var(--tr), box-shadow var(--tr); flex-shrink: 0;
}
.btn-play:hover { transform: scale(1.07); box-shadow: 0 6px 32px rgba(232,77,77,0.6); }
.btn-play:active { transform: scale(0.95); }
.btn-play svg { width: 24px; height: 24px; }

.volume-wrap { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 240px; }
.volume-wrap svg { color: var(--text3); flex-shrink: 0; }

input[type="range"] {
  -webkit-appearance: none; width: 100%; height: 3px;
  background: var(--surface3); border-radius: 10px; outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px;
  border-radius: 50%; background: var(--text); cursor: pointer;
  transition: transform var(--tr);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.3); }

/* ---- RIGHT PANEL — pravý sloupec, celá výška ---- */
.right-panel {
  display: flex; flex-direction: column;
  background: var(--surface);
  overflow: hidden;           /* důležité — scroll jen v .station-list */
  border-left: 1px solid var(--border);
}

.panel-top {
  flex-shrink: 0;             /* nepřizpůsobuje se, vždy nahoře */
  border-bottom: 1px solid var(--border);
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 8px; background: none; border: none;
  color: var(--text3); font-family: var(--font-ui); font-size: 0.78rem;
  font-weight: 500; cursor: pointer; letter-spacing: 0.03em;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--tr), background var(--tr);
}
.tab:hover { color: var(--text2); background: rgba(255,255,255,0.03); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }

/* Search bar */
.search-bar { padding: 10px 14px 8px; }

.search-input-wrap {
  position: relative; display: flex; align-items: center;
}
.search-icon {
  position: absolute; left: 11px; color: var(--text3); pointer-events: none;
}
.search-bar input {
  width: 100%; background: var(--surface2);
  border: 1px solid var(--border2); border-radius: var(--radius);
  padding: 9px 34px 9px 34px; color: var(--text);
  font-family: var(--font-ui); font-size: 0.85rem;
  outline: none; transition: border-color var(--tr), background var(--tr);
}
.search-bar input:focus { border-color: var(--accent); background: var(--surface3); }
.search-bar input::placeholder { color: var(--text3); }

.search-clear {
  position: absolute; right: 8px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--surface3); border: none;
  color: var(--text3); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr), color var(--tr);
}
.search-clear:hover { background: var(--accent); color: #fff; }

.search-count {
  font-family: var(--font-m); font-size: 0.61rem;
  color: var(--text3); letter-spacing: 0.06em;
  padding: 4px 2px 0; min-height: 18px;
}

/* Station list — SCROLLUJE SEM */
.station-list {
  flex: 1;                    /* zabere zbytek výšky pravého panelu */
  overflow-y: auto;           /* scroll jen tady */
  padding: 6px 0 16px;
}
.station-list::-webkit-scrollbar { width: 4px; }
.station-list::-webkit-scrollbar-track { background: transparent; }
.station-list::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 10px; }

.loading-msg, .empty-msg {
  text-align: center; color: var(--text3); font-size: 0.82rem;
  padding: 40px 20px; font-family: var(--font-m); white-space: pre-line;
}

/* Station item */
.station-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; cursor: pointer;
  border-left: 3px solid transparent;
  transition: background var(--tr), border-color var(--tr);
}
.station-item:hover { background: rgba(255,255,255,0.04); }
.station-item.active { background: rgba(232,77,77,0.08); border-left-color: var(--accent); }

.station-logo {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--surface3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 1.1rem; color: var(--text2);
  flex-shrink: 0; overflow: hidden; border: 1px solid var(--border);
}
.station-logo img { width: 100%; height: 100%; object-fit: cover; }

.station-info { flex: 1; min-width: 0; }
.station-name {
  font-weight: 600; font-size: 0.87rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text);
}
.station-genre {
  font-family: var(--font-m); font-size: 0.66rem;
  color: var(--text3); letter-spacing: 0.05em; margin-top: 1px;
}
.station-bitrate {
  display: inline-block; font-family: var(--font-m); font-size: 0.6rem;
  color: var(--text3); background: var(--surface3);
  border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: middle;
}

.station-actions {
  display: flex; align-items: center; gap: 4px;
  opacity: 0; transition: opacity var(--tr);
}
.station-item:hover .station-actions { opacity: 1; }

.btn-fav, .btn-del {
  width: 28px; height: 28px; border-radius: 6px;
  background: none; border: none; color: var(--text3); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--tr), background var(--tr);
}
.btn-fav:hover  { color: var(--gold); background: rgba(240,192,96,0.1); }
.btn-fav.starred { color: var(--gold); opacity: 1 !important; }
.btn-del:hover  { color: var(--accent); background: rgba(232,77,77,0.1); }

.station-playing-icon {
  display: flex; align-items: flex-end; gap: 2px; height: 18px; flex-shrink: 0;
}
.station-playing-icon span {
  display: inline-block; width: 3px; background: var(--accent); border-radius: 2px;
  animation: miniBar 0.7s ease-in-out infinite alternate;
}
.station-playing-icon span:nth-child(1) { height: 8px; animation-delay:0s }
.station-playing-icon span:nth-child(2) { height: 14px; animation-delay:0.1s }
.station-playing-icon span:nth-child(3) { height: 6px; animation-delay:0.2s }
@keyframes miniBar { from{transform:scaleY(0.4)} to{transform:scaleY(1)} }

.list-section-header {
  padding: 14px 16px 5px;
  font-family: var(--font-m); font-size: 0.61rem;
  letter-spacing: 0.15em; color: var(--text3); text-transform: uppercase;
}

/* ---- NOW PLAYING LINKS ---- */
.np-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.np-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.np-link-label {
  font-family: var(--font-m);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  flex-shrink: 0;
  width: 36px;
}

.np-link-url {
  font-family: var(--font-m);
  font-size: 0.7rem;
  color: var(--text3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  transition: color var(--tr);
}

.np-link-anchor {
  color: var(--text2);
  text-decoration: none;
}
.np-link-anchor:hover {
  color: var(--accent);
  text-decoration: underline;
}

.np-link-btn {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border2);
  color: var(--text3);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
  text-decoration: none;
}
.np-link-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}

/* ---- FAB ---- */
.fab {
  position: fixed; bottom: 28px; right: 28px;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--text2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); z-index: 50;
  transition: transform var(--tr), background var(--tr), color var(--tr);
}
.fab:hover { transform: scale(1.1) rotate(90deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.fab svg { width: 22px; height: 22px; }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity var(--tr);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 32px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow); transform: translateY(20px); transition: transform var(--tr);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal h3 { font-family: var(--font-d); font-size: 1.5rem; margin-bottom: 24px; }
.modal label { display: block; font-size: 0.78rem; color: var(--text3); letter-spacing: 0.04em; margin-bottom: 16px; }
.modal label input {
  display: block; width: 100%; margin-top: 6px;
  background: var(--surface3); border: 1px solid var(--border2); border-radius: var(--radius);
  padding: 10px 14px; color: var(--text); font-family: var(--font-ui); font-size: 0.88rem;
  outline: none; transition: border-color var(--tr);
}
.modal label input:focus { border-color: var(--accent); }
.modal label input::placeholder { color: var(--text3); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.btn-secondary {
  padding: 9px 20px; border-radius: var(--radius); background: none;
  border: 1px solid var(--border2); color: var(--text2); cursor: pointer;
  font-family: var(--font-ui); font-size: 0.85rem; transition: background var(--tr), color var(--tr);
}
.btn-secondary:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.btn-primary {
  padding: 9px 20px; border-radius: var(--radius); background: var(--accent);
  border: none; color: #fff; cursor: pointer; font-family: var(--font-ui);
  font-size: 0.85rem; font-weight: 600;
  box-shadow: 0 2px 12px rgba(232,77,77,0.35); transition: transform var(--tr), box-shadow var(--tr);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,77,77,0.5); }

/* ---- TOAST ---- */
.toast {
  position: fixed; bottom: 88px; right: 28px;
  background: var(--surface2); border: 1px solid var(--border2); border-radius: var(--radius);
  padding: 11px 18px; font-size: 0.82rem; color: var(--text);
  box-shadow: var(--shadow); z-index: 300;
  transform: translateY(10px); opacity: 0;
  transition: opacity 0.3s, transform 0.3s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { border-color: var(--accent); color: var(--accent); }

/* ---- RESPONSIVE / MOBILE ---- */
@media (max-width: 860px) {
  /* Na mobilu scrolluje celá stránka */
  html, body {
    overflow: auto;
    overflow-x: hidden;
    height: auto;
    /* Safe area pro výřez (iPhone notch) */
    padding-top: env(safe-area-inset-top);
  }

  .layout {
    position: static;
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .site-header {
    position: sticky;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  /* Now playing — kompaktnější na mobilu */
  .now-playing {
    min-height: 300px;
    flex-shrink: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .np-content { padding: 24px 20px 28px; gap: 8px; }
  .np-station  { font-size: 1.9rem; }
  .np-station-logo { width: 40px; height: 40px; top: 16px; right: 16px; }
  .visualizer  { height: 40px; }

  /* Pravý panel — pevná výška se scrollem */
  .right-panel {
    height: 60vh;
    min-height: 360px;
    border-left: none;
    border-top: 1px solid var(--border);
    /* Safe area dole (home indicator na iPhone) */
    padding-bottom: env(safe-area-inset-bottom);
  }

  .station-list { overflow-y: auto; -webkit-overflow-scrolling: touch; }

  /* Větší touch targety */
  .station-item { padding: 13px 16px; min-height: 60px; }
  .station-logo { width: 44px; height: 44px; }
  .btn-fav, .btn-del { width: 36px; height: 36px; }
  .station-actions { opacity: 1; } /* vždy viditelné na dotyku */
  .btn-play { width: 64px; height: 64px; }

  /* Tabs větší pro prst */
  .tab { padding: 16px 8px; font-size: 0.82rem; }

  /* Search input větší */
  .search-bar input { padding: 11px 36px 11px 36px; font-size: 16px; /* 16px = no zoom on iOS */ }

  /* Modal safe area */
  .modal { margin: env(safe-area-inset-top) 16px env(safe-area-inset-bottom); }

  /* FAB safe area dole */
  .fab {
    bottom: max(20px, calc(env(safe-area-inset-bottom) + 16px));
    right: max(20px, env(safe-area-inset-right));
  }
  .toast {
    bottom: max(88px, calc(env(safe-area-inset-bottom) + 80px));
    right: max(16px, env(safe-area-inset-right));
    left: max(16px, env(safe-area-inset-left));
    right: auto; width: calc(100% - max(32px, env(safe-area-inset-left) + env(safe-area-inset-right)));
  }

  /* Objem slider — širší track pro prst */
  input[type="range"] { height: 6px; }
  input[type="range"]::-webkit-slider-thumb { width: 20px; height: 20px; }
}

/* Landscape mobil */
@media (max-width: 860px) and (orientation: landscape) {
  .layout { flex-direction: row; height: calc(100vh - var(--header-h)); }
  .layout { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; }
  html, body { overflow: hidden; height: 100%; }
  .now-playing { flex: 1; min-height: unset; border-right: 1px solid var(--border); border-bottom: none; }
  .right-panel { width: 320px; flex: none; height: 100%; border-top: none; border-left: 1px solid var(--border); padding-bottom: 0; }
  .np-content { padding: 20px 28px; }
  .np-station { font-size: 1.6rem; }
}

/* Velmi malé displeje */
@media (max-width: 380px) {
  .np-content { padding: 20px 16px; }
  .np-station { font-size: 1.6rem; }
  .controls { gap: 14px; }
  .volume-wrap { max-width: 160px; }
  .tabs .tab { font-size: 0.74rem; gap: 4px; }
  .tabs .tab svg { display: none; }
}
