/* RadioPotok v2 — светлая, яркая, воздушная */
:root{
  --bg:#f4f6fb; --card:#ffffff; --ink:#171a26; --muted:#68707f;
  --accent:#12a150; --accent2:#0d7a44; --line:#e8eaf2; --radius:18px;
  --shadow:0 2px 10px rgba(23,26,38,.06),0 10px 34px rgba(23,26,38,.07);
  --grad:linear-gradient(120deg,#0d8a4d,#22c55e 55%,#a3e635);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px;line-height:1.55;
  display:flex;flex-direction:column;min-height:100vh}
.site-main{flex:1 0 auto;box-sizing:border-box;width:100%}
.site-footer{flex-shrink:0}
a{color:var(--accent2);text-decoration:none}
.skip-link{position:absolute;left:-9999px;top:0;z-index:100;background:#171a26;color:#fff;font-size:14px;font-weight:600;
  padding:10px 18px;border-radius:0 0 12px 0}
.skip-link:focus{left:0;color:#fff}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.wrap{max-width:1180px;margin:0 auto;padding:0 18px}
.page-content{padding-top:44px}
.page-content h1{margin:0 0 22px}
h1,h2{line-height:1.2}
.center{text-align:center;margin:26px 0}
.muted{color:var(--muted)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}

/* Шапка */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:60;box-shadow:0 1px 0 rgba(23,26,38,.02)}
.header-inner{display:flex;align-items:center;gap:26px;min-height:64px}
.logo{display:flex;align-items:center;flex-shrink:0}
.logo:hover{text-decoration:none}
.logo-text{font-size:19px;font-weight:800;letter-spacing:-.3px;white-space:nowrap;margin-left:9px;
  background:linear-gradient(120deg,#c2410c,#f97316 55%,#fbbf24);-webkit-background-clip:text;background-clip:text;color:transparent}
.logo-img{max-height:40px;width:auto}
.main-nav{display:flex;align-items:center;gap:6px;margin-left:auto}
.main-nav>a,button.nav-dropdown-toggle{display:inline-block;padding:9px 12px;border-radius:10px;font-weight:600;font-size:15px;color:var(--ink);background:none;border:none;font-family:inherit;cursor:pointer;transition:color .15s}
.main-nav>a:hover,button.nav-dropdown-toggle:hover{color:#ea580c;text-decoration:none}
.nav-dropdown{position:relative}
.nav-dropdown-toggle::after{content:"▾";margin-left:6px;font-size:12px;color:var(--muted)}
.nav-dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;width:max-content;max-width:min(660px,88vw);background:#fff;border:1px solid var(--line);
  border-radius:16px;box-shadow:var(--shadow);padding:14px;display:none;flex-wrap:wrap;gap:8px;align-content:flex-start;justify-content:flex-start;max-height:70vh;overflow:auto;z-index:50}
.nav-dropdown.open .nav-dropdown-menu{display:flex}
.nav-dropdown-menu a{position:relative;display:inline-flex;align-items:center;padding:7px 14px 7px 12px;border-radius:999px;background:#fff;
  font-size:13.5px;font-weight:600;color:var(--accent2);white-space:nowrap;border:1.5px solid #bfe8cf;transition:all .15s}
.nav-dropdown-menu a::before{content:"";width:13px;height:13px;margin-right:7px;flex-shrink:0;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center/contain no-repeat}
.nav-dropdown-menu a:hover{background:linear-gradient(120deg,#0d8a4d,#22c55e);border-color:transparent;color:#fff;text-decoration:none}

/* Поиск по станциям в шапке */
.header-search{position:relative;order:-1;margin:0 14px 0 0}
.header-search input[type=search]{width:220px;padding:9px 16px;border:1.5px solid #c9cfda;border-radius:999px;
  font:inherit;font-size:14px;background:#fff;color:var(--ink)}
.header-search input[type=search]:focus{border-color:#9aa1ad;outline:none;background:#fff}
.header-search .search-results{position:absolute;top:calc(100% + 6px);right:0;width:320px;max-width:88vw;max-height:360px;overflow:auto;
  background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);display:none;z-index:70}
.header-search .search-results.open{display:block}
.header-search .search-results a{display:flex;gap:11px;align-items:center;padding:9px 13px;color:var(--ink);font-weight:600;font-size:14.5px}
.header-search .search-results a:hover{background:#f4f8f5;text-decoration:none;color:var(--accent)}
.header-search .search-results img{width:38px;height:38px;border-radius:10px;object-fit:cover;flex-shrink:0;background:#eef0f6}
.header-search .search-results .sr-none{padding:13px 15px;color:var(--muted);font-size:14px}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:8px;margin-left:auto}
.nav-toggle span{width:24px;height:2.5px;background:var(--ink);border-radius:2px;transition:.25s}
.nav-toggle.active span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.nav-toggle.active span:nth-child(2){opacity:0}
.nav-toggle.active span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}

/* Крошки */
.breadcrumbs ol{list-style:none;display:flex;gap:6px;padding:16px 0 0;margin:0;font-size:13.5px;color:var(--muted);flex-wrap:wrap}
/* Сквозной рекламный блок РСЯ под хлебными крошками */
.rp-ad{max-width:760px;margin:14px auto 4px;text-align:center;overflow:hidden}
.rp-ad:empty{display:none}
.rp-ad div[id^="yandex_rtb"]{margin:0 auto}
.breadcrumbs li+li:before{content:"›";margin-right:6px;color:#c3c7d4}
.breadcrumbs a{color:#3a3f4d}
.breadcrumbs a:hover{color:#111}

/* Главная */
.section-title{font-size:27px;margin:56px 0 20px;letter-spacing:-.3px}
.stations-section:first-of-type .section-title{margin-top:34px}
.station-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
@media(max-width:1020px){.station-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:640px){.station-grid{grid-template-columns:repeat(3,1fr);gap:10px}}
@media(max-width:420px){.station-grid{grid-template-columns:repeat(2,1fr)}}
.station-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px;
  display:flex;flex-direction:column;gap:9px;color:var(--ink);box-shadow:var(--shadow);
  transition:transform .18s,box-shadow .18s,border-color .18s;position:relative}
.station-card:hover{transform:translateY(-4px);text-decoration:none;border-color:#ffd9d0;
  box-shadow:0 6px 16px rgba(18,161,80,.14),0 16px 40px rgba(23,26,38,.12)}
.station-card-cover{width:100%;aspect-ratio:1;object-fit:cover;border-radius:13px;background:#eef0f6}
.station-card-name{font-weight:700;line-height:1.25;font-size:14.5px}
.station-card-rating{position:absolute;top:18px;right:18px;background:rgba(255,255,255,.94);border-radius:999px;
  padding:2px 9px;font-size:12.5px;font-weight:800;color:#f97316;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.btn{display:inline-block;border-radius:999px;padding:12px 30px;font-weight:800;font-size:15.5px;cursor:pointer;border:none}
.btn-primary{background:linear-gradient(135deg,#ea580c,#f97316);color:#fff;border:none;border-radius:999px;cursor:pointer;transition:filter .15s,transform .15s}
.btn-primary:hover{text-decoration:none;filter:brightness(1.06)}
.btn-primary:active{transform:scale(.98)}
/* Hero на главной */
.hero-home{text-align:center;padding:44px 20px 8px;margin-top:8px;
  background:linear-gradient(180deg,#f2fbf5 0%,rgba(255,255,255,0) 100%);border-radius:24px}
.hero-home-title{font-size:clamp(26px,4.2vw,40px);line-height:1.2;margin:0 0 12px;letter-spacing:-.5px}
.hero-home-sub{font-size:16px;color:var(--muted);margin:0 auto 26px;max-width:640px}
.hero-player-wrap{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:26px}
@media(min-width:961px){
  .hero-player-wrap .hero-player{order:1}
  .hero-player-wrap .hero-shuffle{order:2}
  .hero-player-wrap .hero-player-station{order:3}
}
.hero-shuffle{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:13px 22px;font-size:15px}
.hero-shuffle .shuffle-ic{transition:transform .3s}
.hero-shuffle:hover .shuffle-ic{transform:rotate(180deg)}
.hero-shuffle-hint{width:100%;text-align:center;font-size:12.5px;color:var(--muted);margin:-14px 0 18px}
.player-ui.hero-player{background:#fff;border:1px solid #cdeeda;box-shadow:0 8px 24px rgba(18,161,80,.12)}
.hero-now-playing{flex:1 1 100%;margin:2px 0 0;text-align:center;font-size:15.5px}
.hero-now-label{color:var(--muted);font-weight:600}
.hero-player-station{font-weight:700;color:var(--accent);text-decoration:none}
.hero-player-station:hover{text-decoration:underline}
.hero-stats{list-style:none;display:flex;justify-content:center;gap:0;margin:0 0 10px;padding:0}
.hero-stats li{display:flex;flex-direction:column;padding:0 34px;border-left:1px solid #dfe5ec}
.hero-stats li:first-child{border-left:none}
.hero-stats b{font-size:26px;font-weight:800;color:var(--accent);line-height:1.1}
.hero-stats span{font-size:13px;color:var(--muted);margin-top:2px}
@media (max-width:640px){
  .hero-home{padding:32px 12px 4px}
  .hero-stats li{padding:0 16px}
  .hero-stats b{font-size:21px}
}

/* «Играет прямо сейчас» на главной */
.now-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.now-card{position:relative;display:flex;align-items:center;gap:13px;background:linear-gradient(135deg,#ffffff 60%,#fff7f0);border:1px solid var(--line);border-radius:var(--radius);padding:13px 16px 13px 13px;box-shadow:var(--shadow);transition:border-color .15s,transform .15s;overflow:hidden}
.now-card:hover{border-color:#bfe6cf;transform:translateY(-2px);text-decoration:none}
.now-bg{position:absolute;right:-4px;top:50%;transform:translateY(-50%);font-size:74px;line-height:1;color:#f97316;opacity:.08;pointer-events:none;font-family:serif}
.now-cover{display:block;width:52px;height:52px;min-width:52px;border-radius:12px;object-fit:cover;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.10)}
.now-cover-wrap{position:relative;flex-shrink:0}
.now-card>.now-dot{position:absolute;top:10px;right:10px;width:12px;height:12px;min-width:12px;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.25);z-index:1}
.now-body{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.now-artist{display:flex;align-items:center;gap:7px;font-size:14.5px;font-weight:700;color:#2c3040}
.now-dot{width:7px;height:7px;min-width:7px;border-radius:50%;background:var(--accent);animation:rp-pulse 1.6s ease-in-out infinite}
@keyframes rp-pulse{0%,100%{opacity:1}50%{opacity:.35}}
.now-track{font-size:13px;color:#4a4f60}
.now-station{margin-top:4px;font-size:12px;font-weight:600;color:var(--accent2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:980px){.now-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:420px){.now-grid{grid-template-columns:1fr}}

.about-site{margin:64px 0 10px;max-width:860px}
.about-site h2{font-size:22px;margin-bottom:10px}
.about-site-text{color:var(--muted)}

/* Страница станции: первый экран */
.station-layout{display:grid;grid-template-columns:1fr 300px;gap:22px;align-items:start;margin-top:6px}
@media(max-width:960px){.station-layout{grid-template-columns:1fr}}
.station-hero{background:var(--card);border:1px solid var(--line);border-radius:22px;
  padding:26px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.station-hero:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#c2410c,#f97316 55%,#fbbf24)}
.hero-head{margin:0 0 20px 200px;text-align:center}
.hero-head h1{margin:0;font-size:26px;letter-spacing:-.4px}
.hero-body{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"side col" "side col" "bottom bottom";gap:18px 0;align-items:center}
.hero-col{grid-area:col;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:18px;min-width:0}
.hero-info{width:100%;align-items:center}
.hero-bottom{grid-area:bottom;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.player-ui{align-self:center}
.hero-cover{position:relative;flex-shrink:0;width:200px;height:200px}
.hero-cover img{width:200px;height:200px;min-width:200px;min-height:200px;border-radius:20px;object-fit:cover;box-shadow:0 4px 14px rgba(23,26,38,.14);display:block;background:#eceff3}
.age-badge{position:absolute;top:10px;left:10px;background:#98a0ad;color:#fff;font-weight:800;
  font-size:13px;border-radius:9px;padding:3px 8px}.hero-info{min-width:0;width:100%;display:flex;flex-direction:column;gap:14px;justify-content:center;align-items:center}
.hero-rating{grid-area:rating;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.hero-actions{grid-area:share;justify-self:end;align-self:center}
.genre-tags{display:flex;gap:8px;flex-wrap:wrap}
.genre-chip{position:relative;display:inline-flex;align-items:center;background:#fff;border:1.5px solid #bfe8cf;border-radius:999px;
  padding:7px 14px 7px 12px;font-size:13.5px;font-weight:600;color:var(--accent2);transition:all .15s}
.genre-chip::before{content:"";width:13px;height:13px;margin-right:7px;flex-shrink:0;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center/contain no-repeat}
.genre-chip:hover{background:linear-gradient(120deg,#0d8a4d,#22c55e);border-color:transparent;color:#fff;text-decoration:none;
  box-shadow:0 4px 12px rgba(18,161,80,.3);transform:translateY(-1px)}
.genre-chip:hover::before{background:#fff}

/* Фильтр сортировки списков станций */
.sort-filter{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.sort-chip{display:inline-block;background:#fff;border:1px solid #e2e8f0;border-radius:999px;
  padding:7px 15px;font-size:13.5px;font-weight:600;color:#475569;transition:all .15s}
button.sort-chip{font:inherit;cursor:pointer;line-height:1.35}
button.sort-chip:hover{border-color:#f97316;color:#c2410c}
button.sort-chip.is-active{background:linear-gradient(135deg,#ea580c,#f97316);border-color:transparent;color:#fff}
.sort-chip:hover{border-color:#f97316;color:#c2410c;text-decoration:none}
.sort-chip.is-active{background:linear-gradient(135deg,#ea580c,#f97316);border-color:transparent;color:#fff}
.sort-chip .chip-date{display:block;font-size:11px;font-weight:500;color:#94a3b8;margin-top:1px;text-align:center;line-height:1.2}
.sort-chip.is-active .chip-date{color:#ffe8d6}

/* Плеер */
.player-ui{display:flex;align-items:center;gap:18px;background:#f8fafc;
  grid-area:unset;border:1px solid #ffe3c7;border-radius:18px;padding:13px 16px;gap:14px;background:linear-gradient(180deg,#fffaf5,#fff4ea)}
.player-ui .player-meta{display:contents}
.player-ui .live-badge{order:1}
.player-ui .play-btn{order:2}
.player-ui .volume{order:3}
.player-ui .fav-btn{order:4}
.player-ui .player-audio{display:none}
.play-btn{flex-shrink:0;width:58px;height:58px;border:none;border-radius:50%;background:linear-gradient(135deg,#ea580c,#f97316);cursor:pointer;
  display:grid;place-items:center;transition:transform .15s;position:relative}
.play-btn::after{content:attr(aria-label);position:absolute;top:calc(100% + 7px);left:50%;transform:translateX(-50%);
  background:#171a26;color:#fff;font-size:12px;font-weight:600;padding:5px 10px;border-radius:8px;
  white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s;z-index:10}
.play-btn:hover::after{opacity:1}
.play-btn:hover{transform:scale(1.06)}
.play-btn svg{width:26px;height:26px;fill:#fff}
.play-btn .icon-play{transform:translateX(-1.5px)}
.play-btn .icon-pause{display:none}
.player-ui.playing .icon-play{display:none}
.player-ui.playing .icon-pause{display:block}
.player-ui .icon-load{display:none;width:24px;height:24px}
.player-ui.loading .icon-play,.player-ui.loading .icon-pause{display:none}
.player-ui.loading .icon-load{display:block;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.player-ui.playing .play-btn{animation:none}
.player-meta{display:flex;flex-direction:row;align-items:center;gap:14px;min-width:0}
.live-badge{font-size:11px;font-weight:500;letter-spacing:.5px;white-space:nowrap;color:var(--accent);background:#f0fdf4;
  border:1.5px solid #86efac;border-radius:6px;padding:3px 8px;text-transform:uppercase}
.volume{-webkit-appearance:none;appearance:none;width:130px;height:5px;border-radius:3px;background:#f0e0d0;outline:none;cursor:pointer}
.volume::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;background:#fff;
  border:3px solid #f97316;box-shadow:0 1px 4px rgba(249,115,22,.4)}
.volume::-moz-range-thumb{width:15px;height:15px;border-radius:50%;background:#fff;border:3px solid #f97316}

/* Действия под плеером */
.hero-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.rating-widget{display:flex;align-items:center;gap:10px}
.rating-msg{position:absolute;left:0;top:100%;margin-top:4px;font-size:13px;font-weight:700;color:var(--accent);opacity:0;transform:translateY(-3px);transition:opacity .2s,transform .2s;white-space:nowrap;pointer-events:none}
.hero-rating{position:relative}
.rating-msg.show{opacity:1;transform:none}
.rating-widget{flex-wrap:wrap}
.rating-stars{display:inline-flex;gap:1px}
/* Закраска звезды — градиентом по переменной --fill (0–100%), дробный рейтинг
   даёт частично закрашенную звезду */
.star{border:none;font-size:25px;cursor:pointer;padding:0 2px;line-height:1;transition:transform .12s;
  background-image:linear-gradient(90deg,#f97316,#fbbf24 var(--fill,0%),#d9dce7 var(--fill,0%));
  -webkit-background-clip:text;background-clip:text;color:transparent}
.star:hover{transform:scale(1.15)}
/* предпросмотр при наведении — через JS (селектор «предыдущие соседи» в CSS отсутствует) */
.rating-info{font-size:14px;color:var(--muted);white-space:nowrap}
.hero-info .rating-widget{flex-wrap:nowrap;gap:12px}
.rating-info b{color:#f97316}
.hero-side .rating-info{white-space:normal;text-align:left;font-size:15px}
.hero-side{grid-area:side;display:flex;flex-direction:row;align-items:center;gap:26px;flex-shrink:0}
.hero-side .rating-widget{flex-direction:column;gap:8px;align-items:flex-start}
.player-notes{list-style:none;display:flex;gap:12px;flex-wrap:wrap;margin:0;padding:0;max-width:640px}
.player-notes li{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--ink);
  background:#fff;border:1px solid #86efac;border-radius:999px;padding:6px 15px 6px 8px;box-shadow:0 1px 3px rgba(18,161,80,.08)}
.player-notes li::before{content:"✓";display:grid;place-items:center;width:20px;height:20px;border-radius:50%;
  background:var(--grad);color:#fff;font-size:12px;font-weight:900;flex-shrink:0}
.fav-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;margin-left:auto;
  border:1.5px solid #fdba74;background:#fff;border-radius:50%;cursor:pointer;color:#f97316;
  transition:.15s;position:relative;flex-shrink:0}
.fav-btn:hover{border-color:#f97316}
.fav-btn.active{border-color:transparent;color:#fff;background:linear-gradient(135deg,#ea580c,#f97316)}
.fav-btn .heart{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.fav-btn.active .heart{fill:#fff;stroke:#fff}
/* Подсказка при наведении */
.fav-btn::after{content:attr(aria-label);position:absolute;top:calc(100% + 7px);left:50%;transform:translateX(-50%);
  background:#171a26;color:#fff;font-size:12px;font-weight:600;padding:5px 10px;border-radius:8px;
  white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s;z-index:10}
.fav-btn:hover::after{opacity:1}
.genres-label{margin:0;font-size:13px;font-weight:700;color:var(--muted)}
.about-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 14px}
.about-station .about-head h2{margin:0}
.about-genres-box{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.about-genres-box .genre-tags{margin:0}
.h1-suffix{font-size:.58em;font-weight:600;color:#98a0ad;letter-spacing:0;white-space:nowrap}
.share-box{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}
.share-label{font-size:14px;color:var(--muted);font-weight:400}
.share-btn{display:inline-grid;place-items:center;min-width:30px;height:26px;padding:0 8px;border-radius:9px;
  background:#eef0f4;border:1px solid transparent;color:var(--ink);font-size:11.5px;font-weight:700;cursor:pointer}
.share-btn:hover{background:#dfe3ea;color:var(--ink);text-decoration:none}

/* Блоки под hero */
.now-playing,.about-station,.contacts-box,.children-box,.station-comments{margin-top:20px}
.now-playing h2,.about-station h2,.similar-box h2,.contacts-box h2,.children-box h2,.comments-area>h2{font-size:19px;margin:0 0 14px}
.about-genres{margin:-4px 0 14px}
.contact-url{word-break:break-all}
.track-list{padding-left:22px;margin:0 0 12px}
.track-list li{margin-bottom:7px}
.track-list time{color:var(--muted);font-size:12.5px;margin-left:8px}
.track-list-cols{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
@media (max-width:720px){.track-list-cols{grid-template-columns:1fr}}
.playlist-link{font-weight:800}
.station-text{color:#2c3040}
.station-text img{max-width:100%}

/* Сайдбар */
.station-sidebar{position:sticky;top:84px}
.station-sidebar .card{margin-top:0}
.station-sidebar .card + .card{margin-top:18px}
.similar-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.similar-list a{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:600;font-size:14.5px;
  padding:6px;border-radius:12px}
.similar-list a:hover{background:#f6f7fc;text-decoration:none;color:var(--accent)}
.similar-list img{width:46px;height:46px;border-radius:11px;object-fit:cover;flex-shrink:0}
.children-box .similar-list{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 20px}
@media (max-width:1100px){.children-box .similar-list{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){.children-box .similar-list{grid-template-columns:1fr}}
.facts-list{list-style:none;margin:0;padding:0;font-size:14px;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.facts-list li{background:#f7faf8;border:1px solid var(--line);border-radius:12px;
  padding:10px 14px;display:flex;flex-direction:column;gap:3px;min-width:0}
.facts-list li:hover{border-color:#cfe6d8}
.fact-label{color:var(--muted);font-size:12px;letter-spacing:.3px}
.fact-value{font-weight:600;color:#23263a;word-break:break-word}

/* Жанры, списки */
.term-header{margin:14px 0 18px}
.term-header h1{font-size:28px;margin:0 0 6px;letter-spacing:-.3px}
.pagination{margin:28px 0;display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.pagination .page-numbers{display:inline-grid;place-items:center;min-width:42px;height:42px;padding:0 14px;
  border-radius:12px;background:#fff;border:1px solid var(--line);font-weight:700;color:var(--ink);font-size:14.5px}
.pagination .page-numbers:hover{border-color:#f97316;color:#ea580c;text-decoration:none}
.pagination .page-numbers.current{background:linear-gradient(135deg,#ea580c,#f97316);color:#fff;border:none;box-shadow:0 4px 14px rgba(249,115,22,.35)}
.pagination .page-numbers.dots{border:none;background:none}

/* Плейлист */
.playlist-wrap{width:100%}
.day-filter{display:flex;flex-wrap:nowrap;gap:10px;width:100%}
.day-filter .sort-chip{flex:1 1 0;justify-content:center;text-align:center}
.pl-list{width:100%;margin:16px 0 26px;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.pl-row{display:grid;grid-template-columns:64px 1fr 44px;align-items:center;gap:6px 14px;
  padding:13px 20px;border-bottom:1px solid var(--line)}
.pl-row:last-child{border-bottom:none}
.pl-row:hover{background:#fafbfd}
.pl-row time{font-size:14px;font-weight:600;color:#2c3040;white-space:nowrap}
.pl-main{display:flex;flex-direction:column;min-width:0}
.pl-artist{font-size:16px;font-weight:600;color:#2c3040;line-height:1.4;word-break:break-word}
.pl-name{font-size:15px;color:var(--muted);line-height:1.4;word-break:break-word}
.pl-search{display:flex;justify-content:center}
.pl-search .ym-link{display:inline-flex;margin:0}
@media (max-width:900px){
  .pl-list{max-width:100%}
}
@media (max-width:820px){
  .playlist-wrap{width:100%}
  .day-filter{flex-wrap:wrap;justify-content:center;gap:10px}
  .day-filter .sort-chip{flex:0 0 calc(50% - 5px)}
  .pl-row{grid-template-columns:52px 1fr 40px;padding:12px 14px;gap:4px 10px}
  .pl-row time{font-size:13px}
  .pl-artist{font-size:15px}
  .pl-name{font-size:14px}
}

/* Комментарии */
.comment-list{padding-left:20px;margin:0}
.comment-reply-title{font-size:19px;font-weight:700;margin:0 0 14px}
.comment-list .comment-body{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin-bottom:12px}
.comment-form{font-size:14px;max-width:560px}
.comment-form p{margin:0 0 10px}
.comment-form label{display:block;font-size:13px;font-weight:600;color:var(--muted);margin:0 0 5px}
.comment-form .required{color:#f97316}
.comment-form input[type=text],.comment-form input[type=email],.comment-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:8px 12px;font:14px inherit;background:#fff;transition:border-color .15s,box-shadow .15s}
.comment-form input[type=text]:focus,.comment-form input[type=email]:focus,.comment-form textarea:focus{outline:none;border-color:#86efac;box-shadow:0 0 0 3px rgba(18,161,80,.1)}
.comment-form textarea{min-height:84px;resize:vertical;line-height:1.45}
.comment-form .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:8px;font-size:12.5px}
.comment-form .comment-form-cookies-consent input{width:auto;margin-top:2px}
.comment-form .comment-form-cookies-consent label{font-size:12.5px;font-weight:400;color:var(--muted);margin:0}
.comment-form .comment-notes{font-size:12.5px;color:var(--muted);margin:0 0 12px}
.comment-form .form-submit{margin-bottom:0}
.comment-form .submit{background:linear-gradient(135deg,#ea580c,#f97316);color:#fff;border:none;border-radius:999px;padding:9px 26px;font-weight:700;font-size:14px;cursor:pointer;transition:filter .15s,transform .15s}
.comment-form .submit:hover{filter:brightness(1.06)}
.comment-form .submit:active{transform:scale(.98)}
.comment-form .logged-in-as{font-size:12.5px;color:var(--muted)}
.comment-form .must-log-in{font-size:13px}
.comment-list{margin-top:16px}
.comment-reply-link{font-size:12.5px;font-weight:700;color:var(--accent);text-decoration:none}
.comment-list .comment-meta{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:8px}
.comment-list .comment-author{font-size:14px;font-weight:700;color:var(--ink)}
.comment-list .comment-date{font-size:12.5px;color:var(--muted)}
.comment-list .comment-content{font-size:14px;line-height:1.5;color:var(--ink)}
.comment-list .comment-content p{margin:0 0 8px}
.comment-list .comment-content p:last-child{margin-bottom:0}

/* Подвал */
.site-footer{margin-top:52px;border-top:1px solid var(--line);background:#fff}
.footer-inner{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:22px 18px;color:var(--muted);font-size:14px}
.footer-legal{padding:0;color:var(--muted);font-size:14px;text-align:right}
.footer-legal-title{font-size:15px;font-weight:700;color:var(--ink);margin:0 0 10px}
.footer-legal-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,max-content);gap:7px 28px;justify-content:end}
.footer-legal-list a{color:var(--muted);text-decoration:none}
.footer-legal-list a:hover{color:#ea580c;text-decoration:underline}
.footer-who-list{grid-template-columns:max-content;justify-content:start;text-align:left}
.footer-right-group{display:flex;gap:56px;align-items:flex-start}
@media (max-width:720px){
  .footer-inner{flex-direction:column;gap:26px}
  .footer-right-group{flex-direction:column;gap:26px}
  .footer-legal{text-align:left}
  .footer-legal-list{grid-template-columns:1fr;justify-content:start}
}
.footer-col-copyright p{margin:0 0 14px}
.footer-socials{display:flex;gap:10px;flex-wrap:wrap}
.footer-social{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:13.5px;color:#c2410c;text-decoration:none;transition:color .15s}
.footer-social:hover{color:#ea580c;text-decoration:underline}
.page-404{text-align:center;padding:60px 0}

/* Мобильная адаптация */
@media(max-width:960px){
  .nav-toggle{display:flex}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;
    align-items:stretch;padding:12px 18px 18px;border-bottom:1px solid var(--line);box-shadow:var(--shadow);gap:2px}
  .main-nav.open{display:flex}
  .main-nav>a,button.nav-dropdown-toggle{padding:12px 10px;border-radius:12px;text-align:left}
  .header-inner{flex-wrap:wrap;gap:12px;padding:10px 0}
  .header-search{order:-1;flex:1 1 100%;margin:0 0 6px}
  .header-search input[type=search]{width:100%}
  .header-search .search-results{position:static;width:100%;max-width:none;margin-top:6px}
  .nav-dropdown-menu{position:static;display:none;width:auto;max-width:100%;box-shadow:none;border:none;
    max-height:none;padding:4px 0 10px 12px;gap:6px}
  .main-nav .nav-dropdown.open .nav-dropdown-menu{max-height:45vh;overflow-y:auto;-webkit-overflow-scrolling:touch}
  .nav-dropdown.open .nav-dropdown-menu{display:flex}
  .nav-dropdown-menu a{font-size:13px;padding:6px 11px}
  .station-hero{padding:20px}
  .hero-head{text-align:center;margin-left:0}
  .hero-body{grid-template-columns:1fr;grid-template-areas:"side" "col" "bottom";justify-items:center;gap:16px}
  .hero-col{width:100%;align-items:center}
  .hero-info{padding-left:0}
  .hero-bottom{width:100%;flex-direction:column;align-items:center}
  .hero-actions{justify-self:center}
  .hero-side{flex-direction:column;gap:14px}
  .hero-side .rating-widget{align-items:center}
  .hero-rating{align-items:center;width:100%}
  .hero-rating .rating-widget{justify-content:center}
  .hero-side .rating-info{text-align:center}
  .hero-info{align-items:center;justify-content:flex-start;width:100%}
  .genre-tags,.hero-actions{justify-content:center}
  .about-genres-box{justify-content:flex-start;align-items:center;row-gap:8px}
  .about-genres-box .genre-tags{display:contents}
  .hero-rating{margin-bottom:22px}
  .player-ui{width:100%;display:grid;grid-template-columns:1fr auto 1fr;
    grid-template-areas:"badge play fav" "vol vol vol";
    justify-items:center;align-items:center;gap:14px 10px;padding:14px 12px}
  .live-badge{grid-area:badge;justify-self:center;align-self:center;white-space:normal;text-align:center;width:min-content;padding:3px}
  .play-btn{grid-area:play;justify-self:center;width:66px;height:66px}
  .fav-btn{grid-area:fav;justify-self:center;margin-left:0}
  .volume{grid-area:vol;justify-self:center;width:min(150px,70%)}
  .play-btn::after,.fav-btn::after{display:none}
  .player-notes{justify-content:center}
}
@media(max-width:480px){
  .player-ui{gap:12px 10px;padding:12px}
  .hero-cover,.hero-cover img{width:160px;height:160px;min-width:160px;min-height:160px}}
}

/* Плейлист: шапка с логотипом и выбор дня недели */
.playlist-header{display:flex;align-items:center;gap:18px;margin-top:26px}
.playlist-header-text p{margin-bottom:22px}
.playlist-logo{width:96px;height:96px;border-radius:16px;object-fit:cover;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.08);flex-shrink:0}
.playlist-header-text h1{margin:0 0 10px}
.playlist-header-text p{margin:0 0 18px}
.day-filter{margin:26px 0 16px}
.playlist-empty{margin-top:34px}
.ym-link{display:inline-flex;align-items:center;margin-right:9px;vertical-align:-3px;color:#f97316;opacity:.95;transition:opacity .15s}
.ym-link:hover{opacity:1}
