/* dinle.net.tr — tasarım sistemi
   Konsept: gece radyosu. Üst bant ve oynatıcı gece mavisi; türler skaladaki renkli bantlar;
   şehirler Türk plakası. Tek dikkat çeken hareket: frekans ibresinin yeni türe kayması. */

/* Bricolage Grotesque (SIL Open Font License) — sitede barındırılır, ziyaretçi IP'si üçüncü tarafa gitmez */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #15113A;
  --night-2: #211B55;
  --night-3: #2D2672;
  --paper: #F4F6FC;
  --surface: #FFFFFF;
  --ink: #1C1A33;
  --ink-2: #5B5980;
  --line: #E1E3F0;
  --link: #3436C8;
  --onair: #FF3B5C;
  --amber: #FFB340;
  --plate-blue: #1F4FB8;
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: var(--font);
  --wrap: 1240px;

  /* Tema yüzeyleri: üst bar, kahraman alanı, sayfa bandı, alt bilgi */
  --chrome: var(--night);
  --chrome-2: var(--night-2);
  --chrome-ink: #fff;
  --chrome-ink-2: color-mix(in srgb, var(--chrome-ink) 74%, transparent);
  --chrome-ink-3: color-mix(in srgb, var(--chrome-ink) 45%, transparent);
  --chrome-line: color-mix(in srgb, var(--chrome-ink) 13%, transparent);
  --chrome-hover: color-mix(in srgb, var(--chrome-ink) 8%, transparent);
  --hero-bg: var(--chrome);
  --hero-lead: #CFCBF2;
  --band-bg: var(--chrome);
  --band-mix: 72%;
  --footer-bg: var(--chrome);
  --footer-ink: var(--chrome-ink);
  --dial-bg: linear-gradient(180deg, #1D1750, #17123F);
  --dial-line: color-mix(in srgb, var(--chrome-ink) 9%, transparent);
  --dial-tick: color-mix(in srgb, var(--chrome-ink) 34%, transparent);
  --dial-tick-2: color-mix(in srgb, var(--chrome-ink) 16%, transparent);
  --tuner-icon-filter: brightness(1.25);
  --accent: var(--amber);
  --accent-hover: #FFC46B;
  --accent-ink: var(--night);
  --needle: var(--amber);
  --player-bg: rgba(21, 17, 58, .96);
  --player-ink: #fff;
  --player-line: rgba(255, 255, 255, .08);
  --drawer-bg: var(--night-2);
  --logo-ring: 2px;
  --player-h: 76px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root[data-tema="gece"]:not([data-theme="light"]) {
    --paper: #0F0C28; --surface: #18143D; --ink: #ECEBFA; --ink-2: #A8A5CB; --line: #2B2561; --link: #AEB1FF;
    color-scheme: dark;
  }
}
:root[data-tema="gece"][data-theme="dark"] {
  --paper: #0F0C28; --surface: #18143D; --ink: #ECEBFA; --ink-2: #A8A5CB; --line: #2B2561; --link: #AEB1FF;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 85%; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.main:focus { outline: none; }

/* ---------- Üst bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--chrome); color: var(--chrome-ink); border-bottom: 1px solid var(--chrome-line); }
.topbar__in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 1px; text-decoration: none; flex: none; }
.brand__signal { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 8px; align-self: center; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
body.is-playing .brand__signal { background: var(--onair); box-shadow: 0 0 0 3px rgba(255,59,92,.25); }
.brand__word { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; font-stretch: 84%; line-height: 1; }
.brand__tld { font-size: .95rem; font-weight: 500; opacity: .6; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav__link { padding: 8px 10px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--chrome-ink-2); white-space: nowrap; }
.nav__link:hover { color: var(--chrome-ink); background: var(--chrome-hover); }
.nav__link[aria-current="page"] { color: var(--chrome-ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 10px 10px 0 0; }
.search { position: relative; margin-left: auto; flex: 0 1 300px; }
.search__input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--chrome-line); background: var(--chrome-2); color: var(--chrome-ink); padding: 0 44px 0 18px; font: inherit; font-size: .95rem; }
.search__input::placeholder { color: var(--chrome-ink-3); }
.search__input:focus { outline: none; border-color: var(--accent); }
.search__btn { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--chrome-ink-2); display: grid; place-items: center; cursor: pointer; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; flex: none; color: inherit; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn .i-on, [aria-pressed="true"] > .i-off { display: none; }
[aria-pressed="true"] > .i-on { display: block; }
.icon--sun { display: none; }
:root[data-theme="dark"] .icon--sun { display: block; }
:root[data-theme="dark"] .icon--moon { display: none; }
.menu-btn { display: none; }

/* Canlı arama açılır listesi */
.search__drop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: min(360px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(21,17,58,.55); padding: 8px; max-height: min(70vh, 520px); overflow: auto; z-index: 60; }
.search .search__drop { left: auto; width: 380px; }
.sd-group { font-size: .8rem; font-weight: 600; color: var(--ink-2); padding: 8px 10px 4px; }
.sd-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.sd-item:hover, .sd-item[aria-selected="true"] { background: var(--paper); }
.sd-item .logo { width: 40px; height: 40px; border-radius: 10px; }
.sd-item__name { font-weight: 650; }
.sd-item__sub { font-size: .82rem; color: var(--ink-2); }
.sd-swatch { width: 40px; height: 40px; border-radius: 10px; background: var(--c); flex: none; }
.sd-empty { padding: 14px 10px; color: var(--ink-2); }
.sd-all { display: block; text-align: center; padding: 10px; font-weight: 650; color: var(--link); text-decoration: none; border-top: 1px solid var(--line); margin-top: 6px; }

/* ---------- Ana sayfa kahraman alanı + frekans skalası ---------- */
.hero { position: relative; background: var(--hero-bg); color: var(--chrome-ink); overflow: hidden; }
.hero__in { padding: 44px 0 48px; display: grid; gap: 30px; }
.hero__in > *, .band__in > *, .tuner, .tuner__dial, .tuner__panel { min-width: 0; }
.hero__title { font-family: var(--font-display); font-size: clamp(2.7rem, 7vw, 5.4rem); font-weight: 800; line-height: .92; letter-spacing: -0.012em; font-stretch: 84%; margin: 0; }
.hero__lead { max-width: 48ch; margin: 14px 0 0; font-size: 1.15rem; color: var(--hero-lead); }

.tuner { --needle-x: 0px; }
.tuner__dial { position: relative; background: var(--dial-bg); border: 1px solid var(--dial-line); border-radius: 22px; padding: 14px 14px 0; box-shadow: inset 0 1px 0 var(--dial-line); }
.tuner__scale { display: flex; justify-content: space-between; padding: 0 6px 6px; font-size: .78rem; font-variant-numeric: tabular-nums; color: var(--chrome-ink-3); letter-spacing: .04em; }
.tuner__bands { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(88px, 1fr); overflow-x: auto; scrollbar-width: none; padding-top: 16px; scroll-snap-type: x proximity; }
.tuner__bands::-webkit-scrollbar { display: none; }
.tuner__bands::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; min-width: 100%;
  background:
    repeating-linear-gradient(90deg, var(--dial-tick) 0 1px, transparent 1px 48px) 0 0 / auto 12px no-repeat,
    repeating-linear-gradient(90deg, var(--dial-tick-2) 0 1px, transparent 1px 8px) 0 6px / auto 6px no-repeat; }
.tuner__band { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 14px; color: var(--chrome-ink); text-decoration: none; border-top: 4px solid var(--c); opacity: .62; scroll-snap-align: center; transition: opacity .2s, background-color .2s; }
.tuner__band:hover { opacity: .9; }
.tuner__band[aria-selected="true"], .tuner__band[aria-current="page"] { opacity: 1; background: linear-gradient(180deg, color-mix(in oklab, var(--c) 34%, transparent), transparent); }
.tuner__icon { width: 24px; height: 24px; color: var(--c); filter: var(--tuner-icon-filter); }
.tuner__label { font-weight: 700; font-size: .92rem; white-space: nowrap; font-stretch: 85%; }
.tuner__needle { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; transform: translateX(var(--needle-x)); background: var(--needle); box-shadow: 0 0 14px 1px color-mix(in srgb, var(--needle) 70%, transparent); opacity: 0; pointer-events: none; transition: transform .7s cubic-bezier(.2,.85,.25,1), opacity .3s; }
.tuner__needle::before { content: ""; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--needle); }
.tuner.is-ready .tuner__needle { opacity: 1; }
.tuner__panel { margin-top: 22px; transition: opacity .25s; }
.tuner__panel.is-loading { opacity: .45; }
.band .tuner { margin-top: 26px; }

.rail__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rail__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 750; font-stretch: 85%; }
.rail__more { color: var(--accent); font-weight: 650; text-decoration: none; white-space: nowrap; }
.rail__more:hover { text-decoration: underline; }
.rail { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 108px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--chrome-line) transparent; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; scroll-snap-align: start; }
.tile__btn { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 20px; }
.tile .logo { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 0 0 3px color-mix(in oklab, var(--c) 70%, transparent); }
.tile__play { position: absolute; right: -6px; bottom: -6px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(0,0,0,.45); }
.tile__play .icon { width: 16px; height: 16px; }
.tile__name { font-size: .88rem; font-weight: 600; text-align: center; line-height: 1.25; text-decoration: none; color: var(--chrome-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile__name:hover { text-decoration: underline; }

/* Çal/duraklat simge geçişi (oynatıcının durumuna göre) */
.i-pause, .i-pause-label { display: none; }
[data-playing="true"] .i-play, [data-playing="true"] .i-play-label { display: none; }
[data-playing="true"] .i-pause, [data-playing="true"] .i-pause-label { display: block; }
[data-playing="true"] .i-pause-label { display: inline; }

/* ---------- Bölümler ---------- */
.sections { display: grid; gap: 60px; padding-block: 48px; }
.block { min-width: 0; }
.block + .block { margin-top: 0; }
.layout__main > .block + .block { margin-top: 48px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.block__head .block__title { margin-bottom: 0; }
.block__title { font-family: var(--font-display); display: flex; align-items: center; gap: 10px; font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 750; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 16px; }
.block__note { margin: 0; color: var(--ink-2); font-size: .92rem; }
.more { color: var(--ink-2); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--line); white-space: nowrap; }
.more:hover { color: var(--ink); text-decoration-color: currentColor; }
.onair { width: 10px; height: 10px; border-radius: 50%; background: var(--onair); flex: none; }

/* ---------- Radyo satırları ---------- */
.stlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: 32px; }
.stlist--compact { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.st { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.st__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; text-decoration: none; }
.st__link:hover .st__name { text-decoration: underline; text-underline-offset: 3px; }
.st__text { min-width: 0; display: grid; gap: 1px; }
.st__name { font-weight: 650; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st__meta { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: .84rem; color: var(--ink-2); }
.st__genre { color: color-mix(in oklab, var(--c) 72%, var(--ink)); font-weight: 650; }
.st__time { color: var(--onair); font-weight: 600; }
.st__play { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; cursor: pointer; border: 1.5px solid color-mix(in oklab, var(--c) 45%, transparent); background: color-mix(in oklab, var(--c) 10%, transparent); color: color-mix(in oklab, var(--c) 78%, var(--ink)); }
.st__play:hover, .st__play[data-playing="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.st__play .icon { width: 18px; height: 18px; }
.st__rank { width: 2.2ch; flex: none; font-size: 1.35rem; font-weight: 800; color: var(--ink-2); font-variant-numeric: tabular-nums; font-stretch: 75%; text-align: right; }
.stlist--compact .logo { width: 44px; height: 44px; border-radius: 12px; }
.stlist--compact .st__play { width: 38px; height: 38px; }

.logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #fff; flex: none; box-shadow: 0 0 0 var(--logo-ring) color-mix(in oklab, var(--c) 50%, transparent); }
.logo--initials { display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; box-shadow: none; }

/* ---------- Plakalar ---------- */
.plates { display: flex; flex-wrap: wrap; gap: 8px; }
.plate { display: inline-flex; align-items: stretch; height: 34px; border: 2px solid #1C1A33; border-radius: 6px; background: #fff; color: #1C1A33; text-decoration: none; overflow: hidden; font-variant-numeric: tabular-nums; line-height: 1; flex: none; }
.plate:hover { border-color: var(--plate-blue); }
.plate__tr { background: var(--plate-blue); color: #fff; font-size: 9px; font-weight: 700; padding: 0 4px 3px; display: flex; align-items: flex-end; }
.plate__code { display: flex; align-items: center; padding: 0 6px 0 7px; font-weight: 800; font-size: 1rem; }
.plate__name { display: flex; align-items: center; padding-right: 9px; font-weight: 600; font-size: .92rem; }
.plate__count { display: flex; align-items: center; padding: 0 7px; font-size: .78rem; font-weight: 700; background: #EAF0FF; color: var(--plate-blue); border-left: 1px solid #D3DBEF; }
.plate--empty { opacity: .5; }
.plate--empty:hover { opacity: .85; }
.plate--big { height: 64px; border-width: 3px; border-radius: 10px; }
.plate--big .plate__tr { font-size: 14px; padding: 0 8px 6px; }
.plate--big .plate__code { font-size: 2.2rem; padding: 0 16px; }
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 28px 44px; }
.region__name { font-size: 1.02rem; font-weight: 700; color: var(--ink-2); margin: 0 0 10px; font-stretch: 100%; }
.regions--page .region__name { font-size: 1.3rem; color: var(--ink); }
.plates--hero { margin-top: 24px; }
.plates--side { display: grid; grid-template-columns: 1fr; gap: 6px; }
.plates--side .plate__name { flex: 1; font-size: .9rem; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* ---------- Sayfa bandı (iç sayfalar) ---------- */
.band { --c: #5E6AD2; position: relative; background: var(--band-bg); color: var(--chrome-ink); padding: 22px 0 40px; }
.band--genre, .band[style*="--c"] { background: linear-gradient(140deg, color-mix(in oklab, var(--c) var(--band-mix), var(--band-bg)) 0%, var(--band-bg) 68%); }
.band--night, .band--city { background: var(--band-bg); }
.band__title { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.01em; font-stretch: 86%; margin: 10px 0 12px; }
.band__lead { max-width: 62ch; margin: 0; color: var(--chrome-ink-2); font-size: 1.08rem; }
.band__lead a { color: inherit; text-decoration-color: var(--accent); }
.band__head { display: flex; align-items: center; gap: 22px; margin-top: 10px; }
.band__head .band__title { margin-top: 0; }
.band__icon { width: 72px; height: 72px; border-radius: 20px; background: var(--c); display: grid; place-items: center; flex: none; box-shadow: 0 16px 36px -14px rgba(0,0,0,.6); }
.band__icon .icon { width: 38px; height: 38px; color: #fff; }
.band__count { margin: 8px 0 0; font-weight: 600; color: var(--chrome-ink-3); }
.band__eyebrow-num { margin: 0; font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: .9; color: var(--accent); font-stretch: 75%; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .88rem; color: var(--chrome-ink-2); }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--chrome-ink); text-decoration: underline; }

/* Radyo sayfası başlığı */
.station-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; align-items: center; margin-top: 22px; }
.station-head__logo .logo { width: 136px; height: 136px; border-radius: 30px; box-shadow: 0 0 0 4px rgba(255,255,255,.92), 0 22px 44px -16px rgba(0,0,0,.6); }
.station-head__logo .logo--initials { font-size: 2.6rem; }
.station-head__title { font-family: var(--font-display); font-size: clamp(2.2rem, 5.6vw, 4.2rem); font-weight: 800; line-height: .98; letter-spacing: -0.012em; font-stretch: 84%; margin: 0 0 12px; }
.station-head__tagline { margin: -4px 0 12px; font-size: 1.1rem; color: var(--chrome-ink-2); }
.station-head__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.station-head__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.freq { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--chrome-line); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Düğmeler ve etiketler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; }
.btn .icon { width: 20px; height: 20px; }
.btn--play { background: var(--accent); color: var(--accent-ink); padding: 0 28px 0 22px; font-size: 1.05rem; }
.btn--play:hover { background: var(--accent-hover); }
.btn--ghost { background: color-mix(in srgb, var(--chrome-ink) 10%, transparent); color: var(--chrome-ink); box-shadow: inset 0 0 0 1px var(--chrome-line); }
.btn--ghost:hover { background: color-mix(in srgb, var(--chrome-ink) 17%, transparent); }
.btn--ghost[aria-pressed="true"] .i-on { color: var(--onair); }
.btn--ghost[data-fav][aria-pressed="true"] .i-on { color: var(--accent); }
.btn .i-on { display: none; }
.btn[aria-pressed="true"] .i-on { display: block; }
.btn[aria-pressed="true"] .i-off { display: none; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: .92rem; background: color-mix(in oklab, var(--c) 13%, var(--surface)); color: color-mix(in oklab, var(--c) 70%, var(--ink)); border: 1px solid color-mix(in oklab, var(--c) 28%, transparent); }
.chip:hover { background: color-mix(in oklab, var(--c) 22%, var(--surface)); }
.chip .icon { width: 18px; height: 18px; }
.chip__count { font-weight: 500; opacity: .75; }
.chip--light { background: color-mix(in srgb, var(--chrome-ink) 12%, transparent); color: var(--chrome-ink); border-color: var(--chrome-line); }
.chip--light:hover { background: color-mix(in srgb, var(--chrome-ink) 20%, transparent); }

/* ---------- Ana içerik + kenar çubuğu ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; padding-block: 44px; align-items: start; }
.side { display: grid; gap: 20px; position: sticky; top: 84px; }
.side__block { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.side__title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 750; margin: 0 0 12px; }
.side .more { display: inline-block; margin-top: 12px; font-size: .92rem; }

/* ---------- Metin içerikleri ---------- */
.prose { max-width: 72ch; }
.prose--wide { max-width: 76ch; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 750; line-height: 1.2; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 1.4em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .25em 0; }
.prose a { color: var(--link); text-underline-offset: 3px; }
.prose img { border-radius: 14px; }
.prose blockquote { margin: 1em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--accent); color: var(--ink-2); }
.city-about::after { content: ""; display: block; clear: both; }
.city-about__img { float: right; width: 300px; margin: 4px 0 14px 24px; border-radius: 14px; }

.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); column-gap: 28px; }
.facts > div { border-top: 1px solid var(--line); padding: 12px 0; }
.facts dt { font-size: .84rem; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font-weight: 650; }
.facts a { color: var(--link); }
.facts__updated { margin: 12px 0 0; font-size: .84rem; color: var(--ink-2); }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { font-size: .84rem; font-weight: 650; color: var(--ink-2); }
.data-table a { color: var(--link); }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { padding: 16px 32px 16px 0; font-weight: 650; font-size: 1.05rem; cursor: pointer; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__q { display: inline; margin: 0; font: inherit; }
.faq__answer { color: var(--ink-2); padding-bottom: 12px; max-width: 70ch; }
.faq__answer a { color: var(--link); }

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.pager__num, .pager__step, .pager__gap { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; text-decoration: none; font-weight: 650; font-variant-numeric: tabular-nums; }
.pager__num, .pager__step { border: 1px solid var(--line); background: var(--surface); }
.pager a:hover { border-color: var(--ink-2); }
.pager__num[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager__gap { color: var(--ink-2); }

.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 28px; }
.genre-card { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: 6px 6px 20px 20px; padding: 20px; }
.genre-card__head { display: grid; grid-template-columns: 52px 1fr; gap: 2px 14px; text-decoration: none; align-items: center; }
.genre-card__icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; background: var(--c); color: #fff; display: grid; place-items: center; }
.genre-card__icon .icon { width: 28px; height: 28px; }
.genre-card__title { margin: 0; font-size: 1.3rem; font-weight: 750; line-height: 1.15; }
.genre-card__head:hover .genre-card__title { text-decoration: underline; text-underline-offset: 3px; }
.genre-card__count { color: var(--ink-2); font-size: .9rem; font-weight: 600; }
.genre-card__intro { color: var(--ink-2); margin: 14px 0 8px; font-size: .96rem; }

/* ---------- Formlar ---------- */
.form { display: grid; gap: 18px; max-width: 660px; position: relative; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-2); font-size: .86rem; margin-left: 4px; }
.field input, .field select, .field textarea, .bigsearch__input { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plate-blue); box-shadow: 0 0 0 3px color-mix(in oklab, var(--plate-blue) 22%, transparent); }
.field__help { margin: 6px 0 0; font-size: .86rem; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.field--captcha input { max-width: 120px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__alt { color: var(--ink-2); margin-top: 22px; }
.form__alt a { color: var(--link); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin: 0 0 22px; font-weight: 550; }
.notice .icon { margin-top: 2px; }
.notice ul { margin: 0; padding-left: 1.1em; }
.notice--ok { background: #E4F7EC; color: #11613B; }
.notice--error { background: #FDE9EC; color: #9C1B31; }
.notice--warn { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--chrome-ink); margin: 0; }
.empty { padding: 28px; border: 1.5px dashed var(--line); border-radius: 16px; color: var(--ink-2); margin: 0; }
.empty a { color: var(--link); }

.bigsearch { position: relative; display: flex; gap: 10px; max-width: 760px; margin-top: 24px; }
.bigsearch__input { height: 58px; border-radius: 999px; padding: 0 24px; font-size: 1.15rem; border: 0; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--chrome-line); }
.bigsearch__input:focus { outline: 3px solid var(--accent); }
.bigsearch .btn { height: 58px; }
.bigsearch .search__drop { top: calc(100% + 10px); right: auto; width: min(100%, 560px); }

.ad { text-align: center; overflow: hidden; }
.ad--top { padding-top: 18px; }
.ad--inline { margin-bottom: 32px; }
/* GNR reklam ağı: yalnızca dikey boşluk; boyutu ag.js ayarlar, reklam yoksa div'ler silinir ve :empty ile boşluk kalmaz */
.ag { margin: 0 0 28px; }
.ag:empty { display: none; margin: 0; }

/* ---------- Alt bilgi ---------- */
.footer { background: var(--footer-bg); color: color-mix(in srgb, var(--footer-ink) 72%, transparent); padding: 52px 0 26px; margin-top: 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer__about p { max-width: 42ch; }
.footer__title { color: var(--footer-ink); font-size: 1rem; font-weight: 750; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 7px 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--footer-ink); text-decoration: underline; }
.brand--footer { color: var(--footer-ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 36px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--footer-ink) 12%, transparent); font-size: .86rem; }

/* ---------- Oynatıcı ---------- */
.player { --c: var(--accent); position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; color: var(--player-ink); background: var(--player-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--player-line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.player__eq { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--c); opacity: .25; transform-origin: left; }
.player[data-state="playing"] .player__eq { opacity: 1; }
.player[data-state="loading"] .player__eq { opacity: 1; animation: signal 1.1s ease-in-out infinite; }
.player__eq i { display: none; }
.player__in { height: var(--player-h); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; }
.player__station { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.player__logo { width: 50px; height: 50px; border-radius: 13px; flex: none; }
.player__logo.logo--initials .icon { width: 26px; height: 26px; color: var(--accent-ink); }
.player__text { min-width: 0; display: grid; }
.player__name { font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__status { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: color-mix(in srgb, var(--player-ink) 66%, transparent); min-width: 0; }
.player__status > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .onair { width: 8px; height: 8px; background: color-mix(in srgb, var(--player-ink) 30%, transparent); }
.player[data-state="playing"] .onair { background: var(--onair); animation: onair 1.8s ease-in-out infinite; }
.player[data-state="error"] .player__status { color: var(--onair); }
.player__toggle { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; position: relative; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.player__toggle:disabled { opacity: .35; cursor: default; box-shadow: none; }
.player__toggle .icon { width: 26px; height: 26px; grid-area: 1 / 1; }
.player__i-pause, .spinner { display: none; }
.player[data-state="playing"] .player__i-play { display: none; }
.player[data-state="playing"] .player__i-pause { display: block; }
.player[data-state="loading"] .player__i-play { display: none; }
.player[data-state="loading"] .spinner { display: block; }
.spinner { grid-area: 1 / 1; width: 24px; height: 24px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--accent-ink) 25%, transparent); border-top-color: var(--accent-ink); animation: spin .8s linear infinite; }
.player__tools { justify-self: end; display: flex; align-items: center; gap: 2px; }
.player__tools [data-player-like][aria-pressed="true"] { color: var(--onair); }
.player__tools [data-player-fav][aria-pressed="true"] { color: var(--accent); }
.player__volume { display: flex; align-items: center; }
.player__volume input { width: 110px; accent-color: var(--accent); }
.drawer { position: absolute; left: 0; right: 0; bottom: 100%; background: var(--drawer-bg); border-top: 1px solid var(--player-line); box-shadow: 0 -20px 40px -20px rgba(0,0,0,.6); max-height: min(60vh, 460px); overflow: auto; }
.drawer__in { padding: 14px 0 18px; }
.drawer__tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.drawer__tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-weight: 650; cursor: pointer; color: color-mix(in srgb, var(--player-ink) 70%, transparent); }
.drawer__tabs button[aria-selected="true"] { background: color-mix(in srgb, var(--player-ink) 12%, transparent); color: var(--player-ink); }
.drawer__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 24px; }
.drawer__list li { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.drawer__list .logo { width: 40px; height: 40px; border-radius: 10px; }
.drawer__list a { flex: 1; min-width: 0; text-decoration: none; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer__list a:hover { text-decoration: underline; }
.drawer__list .st__play { --c: var(--accent); width: 36px; height: 36px; color: var(--player-ink); }
.drawer__empty { color: color-mix(in srgb, var(--player-ink) 66%, transparent); padding: 8px 0; grid-column: 1 / -1; }
.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-weight: 650; box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); z-index: 70; }

@keyframes onair { 50% { box-shadow: 0 0 0 5px rgba(255,59,92,.18); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes signal { 0% { transform: scaleX(.05); } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: .2; } }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1100px) {
  .nav__link:nth-child(5) { display: none; }
}
@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: var(--chrome); border-bottom: 1px solid var(--chrome-line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
  .nav.is-open { display: flex; }
  .nav__link, .nav__link:nth-child(5) { display: block; padding: 12px 6px; font-size: 1.05rem; }
  .nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); border-radius: 0; padding-left: 14px; }
}
@media (max-width: 720px) {
  :root { --player-h: 68px; }
  body { font-size: 16px; }
  .topbar__in { gap: 8px; }
  .search { flex: 1 1 auto; }
  .search .search__drop { width: auto; left: -60px; right: -90px; }
  .brand__tld { display: none; }
  .hero__in { padding: 30px 0 34px; }
  .station-head { grid-template-columns: 1fr; gap: 18px; }
  .station-head__logo .logo { width: 104px; height: 104px; border-radius: 24px; }
  .band__head { align-items: flex-start; }
  .band__icon { width: 56px; height: 56px; border-radius: 16px; }
  .band__icon .icon { width: 30px; height: 30px; }
  .stlist, .stlist--compact { grid-template-columns: minmax(0, 1fr); }
  .player__in { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
  .player__volume, .player__tools [data-player-like] { display: none; }
  .player__toggle { width: 50px; height: 50px; }
  .player__logo { width: 44px; height: 44px; }
  .city-about__img { float: none; width: 100%; max-width: 360px; margin: 0 0 16px; }
  .bigsearch { flex-direction: column; }
  .bigsearch .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Tema önizleme şeridi ---------- */
.theme-preview { position: sticky; top: 0; z-index: 45; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: center; min-height: 38px; padding: 6px 16px; background: var(--ink); color: var(--paper); font-size: .9rem; }
.theme-preview a { color: inherit; font-weight: 650; }
.theme-preview + .topbar { top: 38px; }

/* Temaya özel öğeler varsayılanda gizli */
.onair-sign { display: none; }

/* Çerez tercihi bildirimi (oynatıcının üstünde) */
.consent { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(var(--player-h) + 12px + env(safe-area-inset-bottom, 0px)); width: min(760px, calc(100% - 24px)); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px -20px rgba(0,0,0,.45); }
.consent[hidden] { display: none; }
.consent__text { flex: 1 1 320px; margin: 0; font-size: .92rem; line-height: 1.5; }
.consent__text a { color: var(--link); }
.consent__actions { display: flex; gap: 8px; margin-left: auto; }
.consent .btn { height: 42px; padding: 0 18px; font-size: .95rem; }
.consent .btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.footer__link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; opacity: .85; }
