:root {
  color-scheme: dark;
  --bg: #08071f;
  --bg-soft: #0d1030;
  --surface: #131638;
  --surface-raised: #1a1e4b;
  --line: rgba(139, 246, 255, 0.12);
  --line-strong: rgba(255, 78, 205, 0.42);
  --orange: #ff4ecd;
  --orange-light: #8bf6ff;
  --orange-dark: #5d6cff;
  --gold: #ffd166;
  --text: #f8f4ff;
  --muted: #8b92bd;
  --muted-strong: #d4d8ff;
  --success: #62f0a5;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(3, 4, 24, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 88% -10%, rgba(255, 78, 205, 0.18), transparent 28rem),
    radial-gradient(circle at -10% 25%, rgba(139, 246, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 50% 0%, rgba(93, 108, 255, 0.14), transparent 30rem),
    var(--bg);
  color: var(--text);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

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

.app-shell {
  min-height: 100vh;
  padding-bottom: 90px;
}

.site-header,
main {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.brand span span {
  color: var(--orange);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.brand-mark i {
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(to top, var(--orange-dark), var(--orange-light), var(--orange));
}

.brand-mark i:nth-child(1) { height: 11px; }
.brand-mark i:nth-child(2) { height: 23px; }
.brand-mark i:nth-child(3) { height: 16px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-control {
  position: relative;
}

.language-switch,
.profile-button {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.language-menu {
  position: absolute;
  z-index: 12;
  top: 50px;
  right: 0;
  width: 178px;
  overflow: hidden;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 16, 48, 0.98);
  box-shadow: var(--shadow);
}

.language-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--orange);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  text-align: left;
}

.language-menu button:hover,
.language-menu button.is-selected {
  background: rgba(255, 78, 205, 0.11);
}

.language-menu span {
  color: var(--muted-strong);
  font-weight: 650;
}

.profile-button span {
  position: relative;
  width: 18px;
  height: 18px;
}

.profile-button span::before,
.profile-button span::after {
  position: absolute;
  left: 50%;
  content: "";
  translate: -50%;
  border: 1.5px solid var(--muted-strong);
}

.profile-button span::before {
  top: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.profile-button span::after {
  bottom: 0;
  width: 15px;
  height: 7px;
  border-radius: 9px 9px 4px 4px;
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 78, 205, 0.08), transparent 42%),
    linear-gradient(145deg, rgba(26, 30, 75, 0.97), rgba(11, 13, 43, 0.96));
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  gap: 14px;
}

.player-panel {
  position: relative;
  min-height: 405px;
  overflow: hidden;
  padding: 20px;
}

.player-panel::after {
  position: absolute;
  z-index: 0;
  right: -120px;
  bottom: -150px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(139, 246, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 78, 205, 0.035), 0 0 0 75px rgba(139, 246, 255, 0.025);
  content: "";
}

.panel-topline,
.station-heading,
.visualizer,
.player-controls,
.player-footer {
  position: relative;
  z-index: 1;
}

.panel-topline,
.player-footer,
.section-heading,
.map-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.eyebrow,
.signal-label,
.player-footer p,
.station-heading p,
.lock-screen-note p {
  margin: 0;
}

.eyebrow {
  color: var(--orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 78, 205, 0.12);
}

.signal-label {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
  fill: transparent;
  stroke: var(--muted-strong);
  stroke-width: 1.6px;
}

.favorite-button.is-saved {
  border-color: var(--line-strong);
  background: rgba(255, 78, 205, 0.12);
}

.favorite-button.is-saved svg {
  fill: var(--orange);
  stroke: var(--orange);
}

.station-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.station-heading h1 {
  max-width: 440px;
  margin: 0;
  font-size: clamp(25px, 7vw, 41px);
  letter-spacing: -1.5px;
  line-height: 1;
}

.station-heading p {
  margin-top: 9px;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.45;
}

.station-emblem,
.list-emblem {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 209, 102, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(255, 78, 205, 0.2), rgba(139, 246, 255, 0.05)),
    var(--surface);
  color: var(--orange);
  font-weight: 900;
  letter-spacing: -1px;
}

.station-emblem {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  font-size: 27px;
}

.visualizer {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 57px;
  margin-top: 20px;
  overflow: hidden;
  opacity: 0.42;
}

.visualizer span {
  width: 4px;
  height: calc(9px + (var(--bar, 3) * 4px));
  border-radius: 999px;
  background: linear-gradient(to top, var(--orange-dark), var(--orange), var(--orange-light));
}

.visualizer span:nth-child(3n + 1) { --bar: 4; }
.visualizer span:nth-child(3n + 2) { --bar: 7; }
.visualizer span:nth-child(4n + 3) { --bar: 10; }
.visualizer span:nth-child(5n + 4) { --bar: 5; }

.is-playing .visualizer {
  opacity: 1;
}

.is-playing .visualizer span {
  animation: bounce 1.25s ease-in-out infinite alternate;
  animation-delay: calc(var(--bar, 3) * -95ms);
}

@keyframes bounce {
  from { scale: 1 0.3; }
  to { scale: 1 1; }
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
}

.control-button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.control-button svg {
  width: 22px;
  fill: currentColor;
}

.control-secondary {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
}

.control-primary {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  box-shadow: 0 10px 25px rgba(255, 78, 205, 0.26), 0 0 30px rgba(139, 246, 255, 0.14);
  color: #08071f;
}

.control-primary:active,
.route-card:active,
.station-row:active {
  scale: 0.98;
}

.pause-icon {
  display: none;
}

.is-playing .play-icon {
  display: none;
}

.is-playing .pause-icon {
  display: block;
}

.player-footer {
  margin-top: 18px;
  font-size: 11px;
}

.player-footer p {
  color: var(--muted);
}

.player-footer p span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--success);
}

.player-footer a {
  color: var(--orange-light);
  font-weight: 700;
}

.map-panel {
  overflow: hidden;
  padding: 20px 20px 17px;
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: 23px;
  letter-spacing: -0.85px;
}

.compact-heading h2 {
  font-size: 19px;
}

.map-scale,
.station-count {
  color: var(--orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
}

.map-wrap {
  height: 236px;
  margin: 1px -9px 0;
}

.europe-map {
  width: 100%;
  height: 100%;
}

.map-base {
  opacity: 0.96;
}

.signal-speck circle {
  fill: var(--orange-light);
  opacity: 0.32;
}

.road-line {
  fill: none;
  stroke: rgba(139, 246, 255, 0.34);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  vector-effect: non-scaling-stroke;
}

.road-primary {
  stroke: rgba(139, 246, 255, 0.42);
  stroke-width: 3.4;
}

.road-secondary {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 2.2;
}

.road-connector {
  stroke: rgba(255, 209, 102, 0.34);
  stroke-width: 1.8;
}

.road-line.is-muted {
  opacity: 0.42;
}

.road-line.is-local {
  opacity: 0.72;
}

.road-line.is-active {
  stroke: rgba(139, 246, 255, 0.62);
  stroke-width: 3.1;
  opacity: 0.86;
  filter: url("#glow");
}

.city-pin circle {
  fill: var(--orange);
  stroke: var(--gold);
  stroke-width: 2;
}

.city-pin text {
  fill: var(--muted-strong);
  font-size: 24px;
  font-weight: 700;
  opacity: 0;
  paint-order: stroke;
  stroke: #111436;
  stroke-linejoin: round;
  stroke-width: 6px;
  transition: opacity 180ms ease;
}

.city-pin .pulse {
  fill: transparent;
  stroke: var(--orange-light);
  opacity: 0;
  filter: url("#glow");
}

.city-pin.active-pin .pulse {
  opacity: 0.35;
}

.city-pin.active-pin text {
  opacity: 1;
}

.muted-pin {
  opacity: 0.52;
}

.muted-pin circle:first-child {
  fill: var(--orange-light);
  stroke: rgba(255, 255, 255, 0.72);
}

.map-legend {
  color: var(--muted);
  font-size: 10px;
}

.map-legend span {
  white-space: nowrap;
}

.map-legend strong {
  margin-left: auto;
  color: var(--muted-strong);
  font-weight: 750;
}

.legend-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--muted);
}

.legend-dot.orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
}

.section-block {
  margin-top: 30px;
}

.text-button,
.reset-button {
  border: 0;
  background: transparent;
  color: var(--orange-light);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.route-scroller {
  display: flex;
  gap: 12px;
  margin-inline: -16px;
  padding: 16px 16px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.memory-scroller {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.memory-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 96% 120%, rgba(255, 78, 205, 0.16), transparent 40%),
    radial-gradient(circle at 0% 0%, rgba(139, 246, 255, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.025);
  color: inherit;
  text-align: left;
}

.memory-badge {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 78, 205, 0.12), rgba(139, 246, 255, 0.08));
  color: var(--orange-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.3px;
  text-align: center;
}

.memory-card h3,
.memory-card p {
  margin: 0;
}

.memory-card h3 {
  font-size: 14px;
}

.memory-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.memory-link,
.memory-button {
  padding: 8px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255, 78, 205, 0.1);
  color: var(--orange-light);
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.memory-card small {
  display: block;
  margin-top: 6px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.route-scroller::-webkit-scrollbar {
  display: none;
}

.route-card {
  position: relative;
  width: 215px;
  min-height: 151px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 246, 255, 0.06), transparent 45%),
    linear-gradient(145deg, rgba(24, 28, 72, 0.98), rgba(12, 14, 46, 0.98));
  color: var(--text);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
}

.route-card.is-selected {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 90% 100%, rgba(255, 78, 205, 0.24), transparent 55%),
    radial-gradient(circle at 0% 0%, rgba(255, 209, 102, 0.12), transparent 40%),
    linear-gradient(145deg, rgba(30, 35, 86, 0.98), rgba(15, 17, 54, 0.98));
}

.route-index {
  color: var(--orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
}

.route-card h3 {
  margin: 20px 0 8px;
  font-size: 19px;
  letter-spacing: -0.6px;
}

.route-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.route-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--muted);
  font-size: 18px;
}

.is-selected .route-arrow {
  color: var(--orange);
}

.tuner-panel {
  padding: 20px;
}

.tuner-grid {
  display: grid;
  gap: 19px;
  margin-top: 24px;
}

.tuner-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  align-items: center;
  gap: 12px;
}

.tuner-label {
  font-size: 12px;
  font-weight: 780;
}

.tuner-label small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.35px;
}

input[type="range"] {
  width: 100%;
  height: 20px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--orange) 0 var(--fill), #252a5f var(--fill) 100%);
}

input[type="range"]::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: #252a5f;
}

input[type="range"]::-moz-range-progress {
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

input[type="range"]::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  margin-top: -7px;
  appearance: none;
  border: 3px solid #22144d;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 78, 205, 0.2);
}

input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 3px solid #22144d;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 78, 205, 0.2);
}

.region-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  overflow-x: auto;
}

.region-row span {
  margin-right: auto;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

.region-button {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.region-button.is-selected {
  border-color: var(--line-strong);
  background: rgba(255, 78, 205, 0.13);
  color: var(--orange-light);
}

.station-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.empty-state {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.empty-state strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
}

.station-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.station-row.is-current {
  border-color: var(--line-strong);
  background: rgba(255, 78, 205, 0.075);
}

.list-emblem {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.station-copy {
  min-width: 0;
}

.station-copy h3,
.station-copy p {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-copy h3 {
  font-size: 14px;
}

.station-copy p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.station-score {
  display: grid;
  min-width: 45px;
  justify-items: end;
  gap: 5px;
  color: var(--orange-light);
  font-size: 10px;
  font-weight: 800;
}

.station-score i {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
}

.lock-screen-note {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  padding: 15px;
}

.note-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 78, 205, 0.13);
}

.note-icon svg {
  width: 19px;
  fill: var(--orange);
}

.lock-screen-note h2 {
  margin: 0;
  font-size: 14px;
}

.lock-screen-note p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.mobile-nav {
  position: fixed;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  background: rgba(8, 7, 31, 0.93);
  backdrop-filter: blur(18px);
}

.mobile-nav a {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
}

.mobile-nav svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.mobile-nav .is-active {
  color: var(--orange);
}

.toast {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: calc(78px + env(safe-area-inset-bottom));
  left: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(13, 16, 48, 0.97);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  translate: 0 15px;
  transition: 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  translate: 0;
}

.modal-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 16px;
  background: rgba(3, 5, 7, 0.72);
  backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] {
  display: none;
}

.owner-modal {
  width: min(100%, 430px);
  max-height: calc(100vh - 32px);
  margin-inline: auto;
  overflow-y: auto;
  padding: 20px;
}

.owner-modal-header,
.owner-status {
  display: flex;
  align-items: center;
  gap: 13px;
}

.owner-modal-header {
  justify-content: space-between;
}

.owner-modal h2 {
  margin: 6px 0 0;
  font-size: 25px;
  letter-spacing: -0.9px;
}

.modal-close {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.owner-login > p {
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.owner-login label {
  display: block;
  margin-top: 13px;
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 800;
}

.owner-login input {
  width: 100%;
  height: 45px;
  margin-top: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
}

.owner-login input:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(255, 78, 205, 0.1);
}

.form-error {
  min-height: 16px;
  margin: 10px 0 0;
  color: #ff907b;
  font-size: 11px;
}

.owner-primary-button,
.owner-secondary-button {
  width: 100%;
  min-height: 44px;
  border-radius: 11px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.owner-primary-button {
  border: 0;
  background: var(--orange);
  color: #08071f;
}

.owner-secondary-button {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted-strong);
}

.owner-status {
  margin-top: 19px;
  padding: 12px;
  border: 1px solid rgba(129, 199, 132, 0.2);
  border-radius: 12px;
  background: rgba(129, 199, 132, 0.06);
}

.owner-status > span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(129, 199, 132, 0.1);
}

.owner-status strong {
  color: var(--text);
  font-size: 12px;
}

.owner-status p,
.owner-tool p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.owner-tools {
  margin-top: 13px;
}

.owner-tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 78, 205, 0.07);
}

.owner-tool strong {
  display: block;
  font-size: 13px;
}

.owner-tool a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--orange);
  color: #08071f;
  font-size: 11px;
  font-weight: 850;
}

.route-lab {
  margin-top: 13px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.route-lab h3,
.route-lab p {
  margin: 0;
}

.route-lab h3 {
  font-size: 13px;
}

.route-lab > p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.private-stream-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.private-stream-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.private-stream-row strong {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.private-stream-row small {
  grid-column: 1;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.private-stream-actions {
  grid-row: 1 / 3;
  grid-column: 2;
  display: flex;
  align-self: center;
  gap: 5px;
}

.private-stream-actions button {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--orange-light);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.private-stream-actions button:last-child {
  padding-inline: 8px;
  align-self: center;
  color: #ff907b;
  font-size: 16px;
}

.private-stream-form {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.private-stream-form input {
  width: 100%;
  height: 39px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  font-size: 11px;
}

.private-stream-form input:focus {
  border-color: var(--line-strong);
}

.private-stream-form button {
  min-height: 39px;
  border: 0;
  border-radius: 9px;
  background: var(--orange);
  color: #08071f;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

@media (min-width: 760px) {
  .app-shell {
    padding-bottom: 35px;
  }

  .site-header,
  main {
    width: min(1180px, calc(100% - 60px));
  }

  .site-header {
    height: 92px;
  }

  .brand {
    font-size: 21px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  }

  .player-panel {
    min-height: 405px;
    padding: 25px;
  }

  .map-panel {
    padding: 24px;
  }

  .map-wrap {
    height: 310px;
  }

  .route-scroller {
    margin-inline: 0;
    padding-inline: 0;
  }

  .route-card {
    width: 240px;
  }

  .tuner-grid {
    grid-template-columns: 1fr 1fr;
    gap: 23px 34px;
  }

  .station-list {
    grid-template-columns: 1fr 1fr;
  }

  .memory-scroller {
    grid-template-columns: 1fr 1fr;
  }

  .lock-screen-note {
    max-width: 560px;
  }

  .mobile-nav {
    display: none;
  }

  .toast {
    right: 28px;
    bottom: 28px;
    left: auto;
    width: 340px;
  }

  .modal-backdrop {
    place-items: center;
  }
}
