/* WORLD MEDIA V3.1 — Titanium / Brushed Gold visual system */
:root {
  --bg: #08090b;
  --panel: #111318;
  --panel-2: #171a20;
  --panel-3: #20242b;
  --line: rgba(224,229,236,.105);
  --line-strong: rgba(239,242,247,.20);
  --text: #f7f8fa;
  --muted: #9ba1aa;
  --gold: #d7b56d;
  --gold-2: #f1d995;
  --gold-3: #8f6e34;
  --silver: #cfd3da;
  --steel: #767d87;
  --gold-soft: rgba(215,181,109,.12);
  --metal-shadow: 0 22px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.055);
}

html, body { background-color: var(--bg); }
body {
  background:
    radial-gradient(circle at 84% -8%, rgba(208,171,92,.14), transparent 25%),
    radial-gradient(circle at 3% 22%, rgba(183,190,200,.055), transparent 27%),
    linear-gradient(180deg, #0a0b0e 0%, #08090b 38%, #0a0b0d 100%);
}

button, .channel-card, .context-pill, .brand-mark, .radio-hero, .audio-dock {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Titanium glass header */
.topbar {
  border-bottom: 1px solid rgba(232,235,240,.11);
  background:
    linear-gradient(180deg, rgba(24,26,31,.88), rgba(8,9,12,.88)),
    rgba(8,9,12,.84);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.018), 0 14px 45px rgba(0,0,0,.24);
}

.icon-btn,
.drawer-close,
.context-pill,
.compat-toggle,
.favorite-now,
.secondary-action,
.audio-fav-btn,
.radio-hero-expand,
.now-sheet-secondary {
  border-color: rgba(231,234,239,.13);
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018) 45%, rgba(0,0,0,.16)),
    #111318;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075), inset 0 -1px 0 rgba(0,0,0,.38);
}
.icon-btn:active,
.drawer-close:active,
.context-pill:active,
.audio-fav-btn:active,
.radio-hero-expand:active,
.now-sheet-secondary:active {
  transform: translateY(1px) scale(.98);
  filter: brightness(1.08);
}

/* Brushed gold emblem */
.brand-mark {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg,
      #5f4820 0%,
      #a47c35 12%,
      #f0d78f 28%,
      #b98e43 44%,
      #f6e2a9 55%,
      #9a7331 72%,
      #d1ad62 88%,
      #6d5225 100%);
  border: 1px solid rgba(255,236,182,.34);
  color: #12100c;
  text-shadow: 0 1px rgba(255,255,255,.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.62),
    inset 0 -1px 0 rgba(70,45,10,.65),
    0 10px 28px rgba(184,139,54,.18);
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
}
.brand-copy strong { text-shadow: 0 1px 14px rgba(255,255,255,.04); }

/* Premium metal active controls */
.mode-btn.is-active,
.primary-action,
.audio-main-btn,
.now-sheet-play {
  color: #17130b;
  background:
    linear-gradient(105deg, #735623 0%, #d3ae61 20%, #f5dfa3 42%, #b98e40 61%, #e0be74 82%, #765823 100%);
  border: 1px solid rgba(255,232,167,.36);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(92,61,18,.52),
    0 10px 26px rgba(183,137,50,.18);
}
.primary-action:active,
.audio-main-btn:active,
.now-sheet-play:active { transform: scale(.96); }

.eyebrow,
.drawer-title-row span,
.context-pill b,
.bottom-mode-btn.is-active,
.card-fav.is-favorite,
.favorite-now.is-favorite,
.audio-fav-btn.is-favorite,
.now-sheet-secondary.is-favorite { color: var(--gold-2); }

/* Hero: machined dark titanium */
.radio-hero,
.player-card {
  border-color: rgba(229,233,240,.12);
  background:
    linear-gradient(140deg, rgba(255,255,255,.035), transparent 27%),
    radial-gradient(circle at 10% 20%, rgba(224,187,103,.12), transparent 36%),
    linear-gradient(145deg, #171a20 0%, #0c0e12 58%, #111318 100%);
  box-shadow: var(--metal-shadow);
}
.radio-hero::before,
.player-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255,255,255,.045), transparent 18%, transparent 78%, rgba(255,214,125,.025));
}
.radio-hero { overflow: hidden; }
.player-card { position: relative; }
.radio-hero-art,
.now-logo,
.audio-dock-logo,
.card-logo,
.now-sheet-art {
  border-color: rgba(230,233,238,.12);
  background:
    linear-gradient(145deg, #20242b, #0b0d10 65%),
    #111318;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), inset 0 -1px 0 rgba(0,0,0,.45);
}
.radio-hero-art { color: var(--gold-2); }

/* Search / filter surfaces */
.search-box,
.country-box select {
  border-color: rgba(226,230,236,.12);
  background:
    linear-gradient(180deg, rgba(30,33,40,.86), rgba(15,17,22,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 8px 28px rgba(0,0,0,.16);
}
.search-box:focus-within {
  border-color: rgba(237,211,151,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 0 0 3px rgba(215,181,109,.055);
}

/* Cards: less dashboard, more premium media list */
.channel-card {
  border-color: rgba(226,230,236,.095);
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.008)),
    #111318;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.channel-card:hover { background: linear-gradient(145deg, #1b1e24, #111318); }
.channel-card.is-active {
  border-color: rgba(238,207,133,.44);
  background:
    linear-gradient(90deg, rgba(215,181,109,.13), rgba(255,255,255,.022) 46%, rgba(255,255,255,.008)),
    #111318;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 36px rgba(0,0,0,.18);
}
.compat-pill {
  border: 1px solid rgba(86,212,151,.10);
  background: rgba(34,151,100,.10);
  color: #7ae2b2 !important;
}

/* Dock like premium hardware */
.audio-dock {
  border: 1px solid rgba(232,235,240,.13);
  background:
    linear-gradient(180deg, rgba(29,32,38,.95), rgba(11,13,17,.96));
  box-shadow: 0 24px 70px rgba(0,0,0,.54), inset 0 1px 0 rgba(255,255,255,.055);
}
.audio-dock.is-connecting .audio-main-btn { animation: metalPulse 1s ease-in-out infinite alternate; }
@keyframes metalPulse { from { filter: brightness(.82); } to { filter: brightness(1.18); } }

/* Now playing */
.now-sheet-panel {
  background:
    radial-gradient(circle at 50% 14%, rgba(214,177,95,.22), transparent 29%),
    linear-gradient(165deg, #1b1e24 0%, #0b0d11 44%, #08090b 100%);
}
.now-sheet-art {
  box-shadow:
    0 42px 100px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.07),
    0 0 0 1px rgba(219,184,105,.05);
}

@media (max-width: 620px) {
  body {
    background:
      radial-gradient(circle at 92% 2%, rgba(207,167,76,.13), transparent 25%),
      radial-gradient(circle at -8% 28%, rgba(190,197,208,.055), transparent 31%),
      linear-gradient(180deg, #0b0c0f 0%, #08090b 55%, #0b0c0e 100%);
  }

  .topbar {
    background:
      linear-gradient(180deg, rgba(28,30,35,.91), rgba(8,9,12,.87));
    border-bottom-color: rgba(238,240,244,.105);
  }

  .radio-hero {
    border-color: rgba(236,239,243,.13);
    background:
      linear-gradient(125deg, rgba(255,255,255,.045), transparent 24%),
      radial-gradient(circle at 11% 35%, rgba(215,181,109,.16), transparent 34%),
      linear-gradient(145deg, #191c22 0%, #0c0e11 62%, #14161b 100%);
  }

  .filters {
    background:
      linear-gradient(180deg, rgba(10,11,14,.97) 72%, rgba(10,11,14,.91));
  }
  .search-box { background: linear-gradient(180deg, #1a1d23, #111318); }

  .channel-card {
    box-shadow: none;
    border-bottom-color: rgba(225,229,235,.085);
  }
  .channel-card.is-active {
    border-color: rgba(236,205,132,.38);
    background:
      linear-gradient(90deg, rgba(215,181,109,.12), rgba(255,255,255,.024) 50%, rgba(255,255,255,.006));
  }
  .channel-card.is-active::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    border-radius: 99px;
    background: linear-gradient(180deg, #f3d995, #927035);
    box-shadow: 0 0 12px rgba(215,181,109,.25);
  }

  .context-pill {
    border-color: rgba(231,235,240,.12);
    background: linear-gradient(180deg, rgba(31,34,40,.88), rgba(15,17,21,.92));
  }

  .mobile-bottom-nav {
    border-top-color: rgba(232,235,240,.11);
    background:
      linear-gradient(180deg, rgba(26,28,34,.93), rgba(8,9,12,.96));
    box-shadow: 0 -18px 50px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.025);
  }
  .bottom-mode-btn { color: #7e858f; }
  .bottom-mode-icon {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid transparent;
  }
  .bottom-mode-btn.is-active .bottom-mode-icon {
    color: #17130b;
    border-color: rgba(255,232,167,.28);
    background: linear-gradient(120deg, #8c692d, #e2c47d 45%, #9c7736);
    box-shadow: inset 0 1px rgba(255,255,255,.48), 0 8px 20px rgba(184,139,54,.13);
  }
  .bottom-mode-btn.is-active::after { display: none; }

  .audio-dock {
    border-color: rgba(235,238,242,.15);
    background:
      linear-gradient(155deg, rgba(38,41,48,.97), rgba(12,14,18,.97) 62%);
  }
  .audio-main-btn { border: 1px solid rgba(255,235,176,.30); }

  .sidebar {
    border-color: rgba(235,238,242,.13);
    background:
      linear-gradient(180deg, rgba(29,32,38,.985), rgba(10,12,16,.985));
  }

  .drawer-handle { background: linear-gradient(90deg, #686f79, #d2d6dc, #6a717b); }
}

@media (prefers-reduced-motion: reduce) {
  .audio-dock.is-connecting .audio-main-btn { animation: none; }
}

/* WORLD MEDIA v3.2 — searchable country picker */
.country-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
/* Native fallback: prevent white-on-white option text in Chromium/WebKit desktop. */
select option { color: #111317; background: #f4f4f2; }

.country-picker-trigger {
  width: 100%; height: 48px; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid rgba(226,230,236,.12); border-radius: 14px;
  color: var(--text); text-align: left; cursor: pointer;
  background: linear-gradient(180deg, rgba(30,33,40,.92), rgba(15,17,22,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 28px rgba(0,0,0,.16);
}
.country-picker-trigger:hover,
.country-picker-trigger:focus-visible {
  border-color: rgba(237,211,151,.32); outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 3px rgba(215,181,109,.055);
}
.country-picker-trigger span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-picker-trigger b { color: var(--gold-2); font-size: 13px; }
#countryPickerValue, #mobileCountryText, #countryPickerCurrent { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.country-rich-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-inline-flag, .country-picker-flag {
  position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(0,0,0,.22));
  border: 1px solid rgba(235,238,243,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 12px rgba(0,0,0,.18);
}
.country-inline-flag { width: 25px; height: 18px; border-radius: 5px; }
.country-picker-flag { width: 34px; height: 24px; border-radius: 6px; }
.country-inline-flag img, .country-picker-flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.country-inline-flag.is-world, .country-picker-flag.is-world { border: 0; background: transparent; box-shadow: none; overflow: visible; font-size: 19px; }
.country-picker-flag.is-world { font-size: 23px; }
.country-flag-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #eef0f3; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.country-flag-fallback[hidden] { display: none !important; }

.country-picker { position: fixed; inset: 0; z-index: 180; }
.country-picker[hidden] { display: none !important; }
.country-picker-backdrop {
  position: absolute; inset: 0; background: rgba(3,4,7,.70);
  backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px);
}
.country-picker-panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(520px, calc(100vw - 34px)); height: min(78dvh, 720px); max-height: min(78dvh, 720px);
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(235,238,243,.15); border-radius: 28px;
  background:
    radial-gradient(circle at 18% -8%, rgba(218,181,98,.16), transparent 32%),
    linear-gradient(155deg, #202329 0%, #111318 48%, #0b0d10 100%);
  box-shadow: 0 38px 110px rgba(0,0,0,.68), inset 0 1px 0 rgba(255,255,255,.07);
}
.country-picker-panel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, rgba(255,255,255,.05), transparent 20%, transparent 80%, rgba(224,187,103,.025));
}
.country-picker-handle { display: none; }
.country-picker-head {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 22px 14px;
}
.country-picker-head .eyebrow { margin: 0 0 4px; }
.country-picker-head h2 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.country-picker-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(235,238,243,.12);
  color: #e5e7eb; background: linear-gradient(180deg,#22262d,#101216); font-size: 26px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.country-picker-search {
  position: relative; z-index: 1; margin: 0 22px 12px; min-height: 52px; padding: 0 15px;
  display: flex; align-items: center; gap: 11px;
  border: 1px solid rgba(235,238,243,.12); border-radius: 16px;
  background: linear-gradient(180deg,rgba(15,17,22,.90),rgba(9,11,14,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.country-picker-search:focus-within { border-color: rgba(237,211,151,.36); box-shadow: 0 0 0 3px rgba(215,181,109,.06); }
.country-picker-search span { color: #8e96a4; font-size: 20px; }
.country-picker-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #f5f6f8; font-size: 15px; }
.country-picker-search input::placeholder { color: #747b88; }
.country-picker-current {
  position: relative; z-index: 1; margin: 0 22px 8px; padding: 0 4px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid rgba(235,238,243,.08); color: #838a96; font-size: 11px; text-transform: uppercase; letter-spacing: .10em;
}
.country-picker-current strong { color: var(--gold-2); font-size: 12px; letter-spacing: .02em; text-transform: none; display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.country-picker-hint {
  position: relative; z-index: 1; margin: 0 22px 4px; padding: 0 4px 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  color: #626a77; font-size: 10px; letter-spacing: .04em;
}
.country-picker-list {
  position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; padding: 4px 14px 18px 22px;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none;
  mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 16px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 16px), transparent 100%);
}
.country-picker-list::-webkit-scrollbar { width: 0; height: 0; display: none; }

.country-picker-item {
  width: 100%; min-height: 59px; padding: 8px 12px;
  display: grid; grid-template-columns: 38px minmax(0,1fr) 34px; align-items: center; gap: 10px;
  border: 1px solid transparent; border-radius: 15px; color: #eef0f3; background: transparent; text-align: left; cursor: pointer;
}
.country-picker-item:hover { background: rgba(255,255,255,.045); }
.country-picker-item.is-selected {
  border-color: rgba(226,191,111,.28);
  background: linear-gradient(90deg, rgba(215,181,109,.13), rgba(255,255,255,.025));
}
.country-picker-flag { filter: saturate(.96) contrast(1.02); }
.country-picker-name { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.country-picker-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.country-picker-name small { color: #747d8b; font-size: 10px; letter-spacing: .09em; }
.country-picker-check { color: var(--gold-2); font-size: 20px; text-align: center; }
.country-picker-empty { position: relative; z-index: 1; padding: 30px 22px 38px; color: #8f96a2; text-align: center; }
body.country-picker-open { overflow: hidden; }

@media (max-width: 620px) {
  .country-picker-panel {
    left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; height: min(86dvh, 760px); max-height: min(86dvh, 760px);
    border-left: 0; border-right: 0; border-bottom: 0; border-radius: 30px 30px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .country-picker-handle { display: block; flex: 0 0 auto; width: 42px; height: 5px; margin: 9px auto 0; border-radius: 99px; background: linear-gradient(90deg,#6e737a,#e5e8ec,#777c83); opacity: .75; }
  .country-picker-head { padding: 15px 20px 12px; }
  .country-picker-head h2 { font-size: 25px; }
  .country-picker-search { margin: 0 18px 11px; min-height: 54px; }
  .country-picker-current { margin: 0 18px 7px; }
  .country-picker-hint { margin: 0 18px 2px; }
  .country-picker-list { padding: 3px 10px 16px 18px; }
  .country-picker-item { min-height: 60px; }
  .country-picker-name strong { font-size: 16px; }
  .country-picker-trigger { height: 52px; border-radius: 15px; }
}

/* V3.5 native-feel country accordion */
html { -webkit-text-size-adjust: 100%; }
button, input, select, textarea { touch-action: manipulation; }
.country-picker-search input { font-size: 16px; line-height: 1.25; }
.country-picker-accordion {
  position: relative; z-index: 1; flex: 1 1 auto; min-height: 0;
  margin: 0 16px 16px; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(235,238,243,.09); border-radius: 18px;
  background: linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.08));
}
.country-picker-accordion-btn {
  flex: 0 0 auto; width: 100%; min-height: 52px; padding: 9px 14px 9px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 0; border-bottom: 1px solid transparent; background: rgba(255,255,255,.018);
  color: #eef0f3; text-align: left; cursor: pointer;
}
.country-picker-accordion.is-open .country-picker-accordion-btn { border-bottom-color: rgba(235,238,243,.075); }
.country-picker-accordion-btn > span { display: flex; flex-direction: column; gap: 2px; }
.country-picker-accordion-btn strong { font-size: 13px; letter-spacing: .01em; }
.country-picker-accordion-btn small { color: #727a87; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.country-picker-accordion-btn b { color: var(--gold-2); font-size: 14px; }
.country-picker-accordion-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.country-picker-accordion-body[hidden] { display: none !important; }
.country-picker-accordion .country-picker-hint { flex: 0 0 auto; margin: 0; padding: 9px 16px 7px; }
.country-picker-accordion .country-picker-list {
  flex: 1 1 auto; min-height: 120px; margin: 0; padding: 4px 8px 14px;
  mask-image: none; -webkit-mask-image: none;
}
.country-picker-accordion .country-picker-empty { margin: auto 0; }

@media (max-width: 620px) {
  .country-picker-panel { height: min(88dvh, 780px); max-height: min(88dvh, 780px); }
  .country-picker-search input { font-size: 16px !important; }
  .search-box input { font-size: 16px !important; }
  .country-picker-accordion { margin: 0 12px 10px; border-radius: 17px; }
  .country-picker-accordion-btn { min-height: 50px; padding-inline: 13px; }
  .country-picker-accordion .country-picker-list { min-height: 180px; padding: 3px 5px 18px; }
}

/* V3.6 real SVG flags: consistent on Windows/Chrome, iOS and Android */
@media (max-width: 620px) {
  .country-inline-flag { width: 27px; height: 19px; border-radius: 5px; }
  .country-picker-flag { width: 36px; height: 25px; border-radius: 6px; }
}


/* V3.7 — station share links */
.now-sheet-share {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231,234,239,.13);
  border-radius: 50%;
  color: var(--silver);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018) 45%, rgba(0,0,0,.16)), #111318;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075), inset 0 -1px 0 rgba(0,0,0,.38);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.now-sheet-share svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.now-sheet-share:active { transform: translateY(1px) scale(.97); color: var(--gold-2); }
.now-sheet-share.is-done { color: var(--gold-2); border-color: rgba(241,217,149,.30); background: linear-gradient(145deg, rgba(215,181,109,.13), rgba(255,255,255,.02)), #111318; }

.share-toast {
  position: fixed;
  z-index: 180;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  transform: translate(-50%, 14px);
  min-width: 180px;
  max-width: min(88vw, 420px);
  padding: 12px 17px;
  border: 1px solid rgba(241,217,149,.22);
  border-radius: 999px;
  color: #f7e5b4;
  background: rgba(18,19,23,.96);
  box-shadow: 0 18px 55px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.share-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .radio-hero-actions { flex-wrap: wrap; }
  .radio-hero-actions #radioHeroShare { flex: 0 0 auto; }
  .share-toast { bottom: calc(116px + env(safe-area-inset-bottom)); }
}


/* WORLD MEDIA v3.9 — Discovery Engine */
.discovery-toolbar{
  display:grid;
  gap:10px;
  margin:2px 0 14px;
}
.discovery-toolbar-row{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.discovery-chips,.category-chips{
  display:flex;
  gap:8px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
  -ms-overflow-style:none;
  padding:1px 1px 2px;
}
.discovery-chips{ flex:1 1 auto; }
.discovery-chips::-webkit-scrollbar,.category-chips::-webkit-scrollbar{display:none}
.discovery-chip,.category-chip{
  flex:0 0 auto;
  border:1px solid rgba(221,184,102,.20);
  background:
    linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.015)),
    rgba(12,15,18,.82);
  color:#cfd3d6;
  min-height:36px;
  padding:0 13px;
  border-radius:999px;
  font:700 11px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:.02em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  white-space:nowrap;
  cursor:pointer;
}
.discovery-chip.is-active,.category-chip.is-active{
  color:#111;
  border-color:rgba(255,223,146,.8);
  background:
    linear-gradient(115deg,#8c6b2d 0%,#f1d084 34%,#9e7630 62%,#f6dda0 100%);
  box-shadow:
    0 5px 16px rgba(184,139,51,.18),
    inset 0 1px 0 rgba(255,255,255,.55);
}
.discovery-sort{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:0 9px 0 11px;
  border:1px solid rgba(221,184,102,.18);
  border-radius:12px;
  background:rgba(10,13,16,.88);
  color:#8e9499;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.discovery-sort select{
  min-width:118px;
  border:0;
  outline:0;
  color:#e8e8e6;
  background:#111519;
  border-radius:8px;
  padding:7px 28px 7px 9px;
  font-size:12px;
  font-weight:750;
  color-scheme:dark;
}
.fresh-pill{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-top:5px;
  border:1px solid rgba(234,194,105,.3);
  background:rgba(199,148,48,.1);
  color:#f0ce7e;
  padding:3px 7px;
  border-radius:999px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
.channel-card.is-active .fresh-pill{color:#111;background:#e3bf69}

@media (max-width: 700px){
  .discovery-toolbar{
    margin-top:0;
    gap:9px;
  }
  .discovery-toolbar-row{
    align-items:stretch;
    flex-wrap:wrap;
  }
  .discovery-chips{
    order:1;
    width:100%;
    flex-basis:100%;
  }
  .discovery-sort{
    order:2;
    width:100%;
    justify-content:space-between;
    min-height:42px;
    border-radius:13px;
  }
  .discovery-sort select{
    flex:1 1 auto;
    max-width:190px;
    font-size:16px;
  }
  .category-chips{
    padding-bottom:3px;
  }
  .discovery-chip,.category-chip{
    min-height:38px;
    padding-inline:14px;
  }
}
