/* =========================================================
   Koza İzle · YENİ Parti İzmir İl Gençlik Kolları
   Açık tema · Kırmızı-beyaz kurumsal çizgi
   Başlık: Manrope 800 · Metin: Inter
   ========================================================= */

:root {
  --red: #ED1C24;
  --red-deep: #B11837; /* YENİ Gençlik İzmir logosu */
  --red-ink: #C8141B;
  --red-soft: #FDECEC;
  --red-tint: rgba(237, 28, 36, .10);

  --ink: #1C1C19;
  --ink-2: #221F20;
  --muted: #5F5F5A;
  --line: #E5E7EB;
  --bg: #FFFFFF;
  --bg-soft: #F7F6F4;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(28, 28, 25, .06), 0 1px 1px rgba(28, 28, 25, .04);
  --shadow: 0 10px 30px -12px rgba(28, 28, 25, .18), 0 2px 6px rgba(28, 28, 25, .05);
  --shadow-red: 0 10px 24px -10px rgba(237, 28, 36, .55);

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--red);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
kbd {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85em;
  padding: .1em .5em;
  border: 1.5px solid var(--ink);
  border-bottom-width: 3px;
  border-radius: 6px;
  background: #fff;
}

[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Klavye/kumanda odağı: her zaman görünür ve kalın */
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }
.btn:focus-visible, .source-tab:focus-visible, .main-nav__link:focus-visible { border-radius: var(--pill); }

/* ---------- Üst imza şeridi ---------- */
.signature-bar {
  background: var(--red-deep);
  color: #fff;
  font-size: 13px;
  padding-top: var(--safe-top);
}
.signature-bar__inner {
  display: flex; align-items: center; gap: 8px;
  min-height: 34px;
  letter-spacing: .01em;
}
.signature-bar strong { font-family: var(--font-head); font-weight: 800; letter-spacing: .02em; }
.signature-bar__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.signature-bar__sep { opacity: .6; }
.signature-bar__note { opacity: .85; }

/* ---------- Başlık / menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}

/* Logo + kelime markası */
.brand-group { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border-radius: 12px; }
.brand-logo { width: 48px; height: 48px; border-radius: 10px; box-shadow: 0 4px 12px -4px rgba(177, 24, 55, .5); }
.brand-divider { width: 1px; height: 38px; background: var(--line); }

/* Katmanlı kelime markası: KOZA / çizgi / İZLE */
.brand {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  text-decoration: none; line-height: .9;
  font-family: var(--font-head); font-weight: 800;
  padding: 4px 2px;
}
.brand__top { color: var(--red); font-size: 27px; letter-spacing: -.035em; }
.brand__rule { width: 100%; height: 3px; background: var(--red); margin: 3px 0 4px; border-radius: 2px; }
.brand__bottom { color: var(--ink); font-size: 15px; letter-spacing: .32em; padding-left: 1px; }

.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--pill);
  text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}
.main-nav__link svg { width: 18px; height: 18px; fill: currentColor; }
.main-nav__link:hover { background: var(--bg-soft); }
.main-nav__link.is-active { background: var(--red-soft); color: var(--red-ink); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--pill);
  border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-ink); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { min-height: 60px; padding: 14px 28px; font-size: 18px; }
.btn--install { margin-left: 8px; }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--red-ink); text-decoration: none;
  padding: 6px 10px; border-radius: var(--pill);
}
.link-btn svg { width: 16px; height: 16px; }
.link-btn:hover { background: var(--red-soft); }

.link-plain {
  background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Sayfa başlıkları (katmanlı tipografi) ---------- */
main { flex: 1; outline: none; }
.view { padding: clamp(24px, 5vw, 48px) 0 clamp(40px, 7vw, 72px); animation: viewIn .35s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.page-head { margin-bottom: clamp(18px, 3vw, 28px); max-width: 820px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; color: var(--ink); margin: 0; }
h1 { font-size: clamp(32px, 5.4vw, 56px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.1; letter-spacing: -.025em; }
h3 { font-size: 20px; letter-spacing: -.015em; }

.accent { color: var(--red); }

.layered { position: relative; isolation: isolate; }
.layered::before {
  content: attr(data-text);
  position: absolute; left: .045em; top: .07em; z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(237, 28, 36, .28);
  pointer-events: none;
  white-space: inherit;
}
.layered::after {
  content: "";
  display: block;
  width: 64px; height: 5px; margin-top: 14px;
  background: var(--red); border-radius: 3px;
}
.section-title.layered::after { width: 44px; height: 4px; margin-top: 10px; }

.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); margin: 14px 0 0; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink);
}

.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px 6px 10px;
  border-radius: var(--pill);
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .14em;
}
.live-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }

/* ---------- Oynatıcı ---------- */
.player-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(8px, 1.4vw, 14px);
}
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0E0E0C;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
}
@supports not (aspect-ratio: 16 / 9) {
  .player { height: 0; padding-top: 56.25%; }
}
.player__frame, .player__frame iframe, .player__state {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.player__state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center;
  color: #fff;
  background: radial-gradient(120% 120% at 50% 0%, #2A1416 0%, #0E0E0C 60%);
}
.player__state p { margin: 0; max-width: 460px; color: rgba(255, 255, 255, .85); }
.player__state h3 { color: #fff; font-size: clamp(18px, 2.6vw, 26px); }
.player__state .state-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
}
.player__state .state-icon svg { width: 30px; height: 30px; }
.player__state .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.player__state .btn--ghost:hover { border-color: #fff; }
.player__state .state-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, .15); border-top-color: var(--red);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.sound-btn {
  position: absolute; left: 14px; bottom: 14px; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px;
  border: 0; border-radius: var(--pill);
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  cursor: pointer;
  animation: nudge 2.4s ease-in-out infinite;
}
.sound-btn svg { width: 22px; height: 22px; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* Kaynak sekmeleri */
.source-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 12px;
  padding: 6px;
  background: var(--bg-soft);
  border-radius: var(--pill);
}
.source-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 14px;
  border: 0; border-radius: var(--pill);
  background: transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.source-tab svg { width: 20px; height: 20px; }
.source-tab:hover { background: #fff; }
.source-tab.is-active { background: #fff; color: var(--red-ink); box-shadow: var(--shadow-sm); }
.source-tab.is-active[data-source="youtube"] svg rect { fill: var(--red); }

.player-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 8px 4px;
}
.player-meta__text { margin: 0; font-size: 14px; color: var(--muted); }
.player-meta__actions { display: flex; flex-wrap: wrap; gap: 4px; }
button.link-btn { background: none; border: 0; cursor: pointer; }

/* ---------- Ana ekrana ekle tanıtımı ---------- */
.install-banner {
  display: flex; align-items: center; gap: 18px;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff 0%, var(--red-soft) 100%);
  border: 1px solid #F7CFD0;
}
.install-banner__icon img { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow-red); }
.install-banner__text { flex: 1; min-width: 0; }
.install-banner__text h2 { font-size: clamp(18px, 2.4vw, 22px); }
.install-banner__text p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Diğer izleme yolları ---------- */
.ways { margin-top: clamp(32px, 5vw, 48px); }
.ways__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 20px;
}
.way-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.way-card__label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.way-card__value { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.way-card__hint { font-size: 13px; color: var(--muted); }
.way-card--cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.way-card--cta .way-card__label, .way-card--cta .way-card__hint { color: rgba(255, 255, 255, .75); }
.way-card--cta:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- TV rehberi ---------- */
.address-chip {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--bg-soft); border: 1px dashed #D7D7D2;
  font-size: 15px;
}
.address-chip strong { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--red-ink); word-break: break-all; }

.tv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.tv-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-height: 168px;
  padding: 22px;
  border: 2px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
}
.tv-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.tv-card:focus-visible { border-color: var(--red); background: var(--red-soft); transform: scale(1.02); border-radius: var(--radius-lg); }
.tv-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--red-soft); color: var(--red-ink);
}
.tv-card__icon svg { width: 28px; height: 28px; }
.tv-card__title { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.tv-card__desc { font-size: 15px; color: var(--muted); line-height: 1.4; }
.tv-card__go {
  position: absolute; right: 20px; top: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--ink);
}
.tv-card__go svg { width: 18px; height: 18px; }
.tv-card:focus-visible .tv-card__go, .tv-card:hover .tv-card__go { background: var(--red); color: #fff; }

.tv-detail { max-width: 900px; }
.tv-detail__head { margin-bottom: 18px; }
.tv-detail__body h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(26px, 3.6vw, 38px); }
.tv-detail__body h2 .tv-card__icon { width: 56px; height: 56px; }
.tv-detail__intro { font-size: 17px; color: var(--muted); margin: 12px 0 0; }

.method {
  margin-top: 24px;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
}
.method__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.method__tag {
  font-family: var(--font-head); font-weight: 800; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--pill);
  background: var(--red); color: #fff;
}
.method__tag--alt { background: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.steps > li {
  counter-increment: step;
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 17px; line-height: 1.45;
}
.steps > li::before {
  content: counter(step);
  flex: 0 0 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 17px;
}
.steps strong { font-weight: 700; color: var(--ink); }
.steps code {
  font-family: var(--font-head); font-weight: 800; color: var(--red-ink);
  background: var(--red-soft); padding: 1px 8px; border-radius: 6px; word-break: break-all;
}

.tip {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 16px; padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-size: 15px; color: var(--ink-2);
}
.tip svg { width: 22px; height: 22px; color: var(--red); margin-top: 1px; }

.tv-detail__foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Hakkında / Gizlilik ---------- */
.about-hero { display: flex; align-items: center; gap: clamp(18px, 4vw, 36px); margin-bottom: clamp(24px, 4vw, 36px); }
.about-hero__logo { width: clamp(96px, 16vw, 160px); height: auto; aspect-ratio: 1; border-radius: 24px; box-shadow: 0 18px 40px -18px rgba(177, 24, 55, .6); }
.prose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.prose-grid--single { grid-template-columns: 1fr; max-width: 860px; }
.prose-card {
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
}
.prose-card h2 { font-size: clamp(20px, 2.4vw, 24px); margin-bottom: 10px; }
.prose-card p { margin: 0 0 10px; color: var(--ink-2); }
.prose-card p:last-child { margin-bottom: 0; }
.prose-card a { color: var(--red-ink); font-weight: 600; }
.prose-card--notice { background: var(--red-soft); border-color: #F5C9CB; }
.muted { color: var(--muted); font-size: 14px; }
.check-list { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.faq { margin-top: clamp(32px, 5vw, 48px); max-width: 860px; }
.faq__list { display: grid; gap: 10px; margin-top: 20px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: 0 0 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft); font-size: 20px; font-weight: 700; color: var(--red-ink);
}
.faq__item[open] summary::after { content: "−"; background: var(--red); color: #fff; }
.faq__item p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); }
.faq__item a { color: var(--red-ink); font-weight: 600; }
.faq__item summary:focus-visible { box-shadow: inset 0 0 0 3px var(--red); border-radius: var(--radius); }

/* ---------- Alt bilgi ---------- */
.site-footer {
  border-top: 4px solid var(--red-deep);
  background: var(--bg-soft);
  padding: 36px 0 calc(28px + var(--safe-bottom));
}
.site-footer__inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px 40px;
  align-items: start;
}
.sign-row { display: flex; align-items: center; gap: 14px; }
.sign-logo { width: 72px; height: 72px; border-radius: 14px; }
.sign-mark { display: inline-flex; flex-direction: column; font-family: var(--font-head); font-weight: 800; line-height: 1; }
.sign-mark__top { color: var(--red-deep); font-size: 26px; letter-spacing: -.03em; }
.sign-mark__rule { height: 3px; width: 58px; background: var(--red-deep); margin: 6px 0 8px; border-radius: 2px; }
.sign-mark__bottom { color: var(--ink); font-size: 17px; letter-spacing: -.01em; }
.site-footer__disclaimer { margin: 14px 0 0; font-size: 14px; color: var(--muted); max-width: 560px; }
.site-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { color: var(--red-ink); }
.site-footer__copy { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Pencereler ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 18, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fadeIn .2s ease both; }
.modal__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 24px);
  overflow: auto;
  margin: 12px;
  margin-bottom: calc(12px + var(--safe-bottom));
  padding: 28px 24px 22px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  animation: sheetUp .3s cubic-bezier(.2, .8, .2, 1) both;
}
@media (min-width: 720px) { .modal { align-items: center; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { opacity: 0; transform: translateY(24px); } }
.modal__close {
  position: absolute; right: 14px; top: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--bg-soft);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.modal__app-icon { width: 60px; height: 60px; border-radius: 15px; margin-bottom: 14px; box-shadow: var(--shadow-red); }
.modal__lead { color: var(--muted); margin: 6px 0 18px; }
.modal__note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.steps--icons > li::before { display: none; }
.step-icon {
  flex: 0 0 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--red-soft); color: #0A7AFF;
}
.step-icon svg { width: 24px; height: 24px; }
.steps--icons > li:nth-child(n+2) .step-icon { color: var(--ink); }
.ios-pointer {
  margin-top: 16px; text-align: center;
  font-family: var(--font-head); font-weight: 800; color: var(--red-ink);
  animation: nudge 1.6s ease-in-out infinite;
}

/* ---------- Bildirimler ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + var(--safe-bottom)); z-index: 90;
  transform: translateX(-50%);
  padding: 12px 20px; border-radius: var(--pill);
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow);
  animation: sheetUp .25s ease both;
}
.offline-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 10px 16px calc(10px + var(--safe-bottom));
  background: var(--ink); color: #fff; text-align: center; font-size: 14px;
}

/* ---------- Uygulama olarak açıldığında (ana ekran) ---------- */
@media (display-mode: standalone), (display-mode: fullscreen) {
  .btn--install, .js-install-banner { display: none !important; }
}

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1020px) {
  .btn--install span { display: none; }
  .btn--install { padding: 12px; width: 48px; }
  .ways__grid { grid-template-columns: repeat(2, 1fr); }
  .tv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  /* Bulanık arka plan, sabit alt menüyü başlığın içine hapseder; mobilde kapat */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .site-header__inner { min-height: 62px; gap: 10px; }
  .brand__top { font-size: 23px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-group { gap: 10px; }
  .brand-divider { height: 32px; }
  .prose-grid { grid-template-columns: 1fr; }
  .about-hero { flex-direction: column; align-items: flex-start; }
  .player-meta__actions { width: 100%; justify-content: space-between; }
  .brand__bottom { font-size: 13px; }
  .main-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    margin: 0; gap: 0;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 6px 8px calc(6px + var(--safe-bottom));
  }
  .main-nav__link { flex-direction: column; gap: 2px; padding: 8px 6px; font-size: 12px; border-radius: 14px; justify-content: center; }
  .main-nav__link svg { width: 22px; height: 22px; }
  .btn--install { margin-left: auto; }
  body { padding-bottom: calc(64px + var(--safe-bottom)); }
  .offline-bar { bottom: calc(64px + var(--safe-bottom)); }
  .toast { bottom: calc(80px + var(--safe-bottom)); }

  .signature-bar__note, .signature-bar__sep { display: none; }
  .source-tabs { grid-template-columns: 1fr 1fr 1fr; border-radius: var(--radius); gap: 4px; padding: 4px; }
  .source-tab { flex-direction: column; gap: 3px; padding: 8px 4px; font-size: 12px; border-radius: 14px; min-height: 58px; text-align: center; line-height: 1.15; }
  .player { border-radius: 12px; }
  .player-card { border-radius: 20px; padding: 6px; }
  .player-meta { padding: 10px 6px 4px; }
  .player-meta__text { font-size: 13px; }
  .sound-btn { left: 10px; bottom: 10px; padding: 8px 14px 8px 10px; font-size: 14px; }

  .install-banner { flex-wrap: wrap; padding: 16px; }
  .install-banner__icon img { width: 52px; height: 52px; }
  .install-banner__text { flex: 1 1 calc(100% - 72px); }
  .install-banner .btn { width: 100%; }

  .ways__grid { gap: 10px; }
  .way-card { padding: 14px; }
  .way-card__value { font-size: 19px; }

  .tv-grid { grid-template-columns: 1fr; gap: 12px; }
  .tv-card { min-height: 0; padding: 18px; flex-direction: row; align-items: center; }
  .tv-card__text { display: flex; flex-direction: column; gap: 2px; padding-right: 40px; }
  .tv-card__go { top: 50%; transform: translateY(-50%); }
  .steps > li { font-size: 16px; }
  .tv-detail__foot .btn { width: 100%; }

  .site-footer__inner { grid-template-columns: 1fr; }
}
@media (min-width: 721px) {
  .tv-card__text { display: flex; flex-direction: column; gap: 6px; }
}

/* ---------- Televizyon modu (otomatik ya da ?tv=1) ----------
   3 metreden okunacak büyüklük, kalın odak çerçevesi */
html.tv { font-size: 20px; }
html.tv body { font-size: 20px; }
html.tv .container { max-width: 1600px; padding: 0 56px; }
html.tv .signature-bar { font-size: 17px; }
html.tv .signature-bar__inner { min-height: 44px; }
html.tv .site-header { position: static; }
html.tv .site-header__inner { min-height: 96px; }
html.tv .brand__top { font-size: 36px; }
html.tv .brand__bottom { font-size: 19px; }
html.tv .brand-logo { width: 64px; height: 64px; }
html.tv .prose-card p, html.tv .check-list li, html.tv .faq__item p { font-size: 22px; }
html.tv .prose-card h2 { font-size: 30px; }
html.tv .faq__item summary { font-size: 24px; padding: 22px 24px; }
html.tv .main-nav__link { font-size: 22px; padding: 14px 26px; }
html.tv .main-nav__link svg { width: 26px; height: 26px; }
html.tv .btn { min-height: 64px; font-size: 22px; padding: 16px 30px; }
html.tv .btn svg { width: 26px; height: 26px; }
html.tv .btn--lg { min-height: 76px; font-size: 26px; }
html.tv h1 { font-size: 64px; }
html.tv .lead { font-size: 24px; }
html.tv .source-tab { min-height: 68px; font-size: 22px; }
html.tv .source-tab svg { width: 28px; height: 28px; }
html.tv .player-meta__text { font-size: 18px; }
html.tv .tv-grid { gap: 24px; }
html.tv .tv-card { min-height: 220px; padding: 30px; border-width: 3px; }
html.tv .tv-card__title { font-size: 30px; }
html.tv .tv-card__desc { font-size: 20px; }
html.tv .tv-card__icon { width: 68px; height: 68px; }
html.tv .tv-card__icon svg { width: 36px; height: 36px; }
html.tv .tv-card__go { width: 48px; height: 48px; }
html.tv .steps > li { font-size: 26px; gap: 20px; }
html.tv .steps > li::before { flex-basis: 50px; height: 50px; font-size: 24px; }
html.tv .tip { font-size: 21px; }
html.tv .tv-detail { max-width: 1200px; }
html.tv .tv-detail__body h2 { font-size: 48px; }
html.tv .tv-detail__intro { font-size: 24px; }
html.tv .method { padding: 32px; }
html.tv .method h3 { font-size: 30px; }
html.tv .method__tag { font-size: 16px; padding: 7px 14px; }
html.tv .tv-detail .page-head, html.tv #view-tv .page-head .lead { margin-bottom: 12px; }
html.tv .address-chip { font-size: 22px; padding: 14px 26px; }
html.tv .address-chip strong { font-size: 30px; }
html.tv .way-card__value { font-size: 28px; }
html.tv .sound-btn { font-size: 20px; padding: 14px 22px 14px 16px; }
html.tv .btn--install, html.tv .js-install-banner, html.tv .js-install { display: none !important; }
html.tv { --focus: 0 0 0 4px #fff, 0 0 0 10px var(--red); }
html.tv :focus-visible, html.tv .kbd-nav :focus { box-shadow: var(--focus); }

/* Kumanda/klavye ile gezinirken odak her zaman görünsün */
html.kbd-nav :focus { box-shadow: var(--focus); }
html.kbd-nav .tv-card:focus { border-color: var(--red); background: var(--red-soft); transform: scale(1.02); border-radius: var(--radius-lg); }
html.kbd-nav .tv-card:focus .tv-card__go { background: var(--red); color: #fff; }

/* Hareketi azalt tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
