/* =========================================================
   GKG TV - TV Launcher Teması
   Palet: #09162b bg / #13233d panel / #1b3a63 kart / #2f7cf6 vurgu
   Dock: alttan yukarı kayan kanal barı
   ========================================================= */
:root {
  /* ---- KOYÜ SİNEMATİK (Google TV / Netflix) ---- */
  --bg: #0a0e12;
  --bg2: #0f1419;
  --panel: #151b22;
  --panel2: #1d252e;
  --line: rgba(255,255,255,0.08);
  --txt: #f2f5f7;
  --muted: #8b949b;
  --card: #1c232b;
  --card2: #232c36;
  --acc: #e50914;      /* canlı kırmızı */
  --live: #e50914;
  --ok: #3ddc84;       /* Netflix yaşıl */
  --radius: 14px;
  --shadow: 0 14px 40px rgba(0,0,0,0.7);
  --hero-head: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1600px 700px at 75% -15%, rgba(40,55,80,0.22), transparent 55%),
    radial-gradient(1200px 600px at 0% 120%, rgba(10,14,20,0.9), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--txt);
  overflow-x: hidden;
  min-height: 100vh;
}
.hidden { display: none !important; }

  /* ---------- LOGO (logo.html -> birebir entegre; --logo-scale boyut uyumu) ---------- */
  :root{
    --font-sans: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
    --text-primary: var(--txt);
    --text-secondary: var(--muted);
    --text-muted: var(--muted);
    --surface-1: var(--panel);
    --border-strong: var(--line);
        --logo-scale: 0.5;
    --logo-scale-sm: 0.4;
  }
  .brand{overflow:visible}
  .logo-stage{
    display:inline-block;position:relative;overflow:hidden;
    transform:scale(var(--logo-scale));transform-origin:top center;width:220px;
  }
  @media(max-width:768px){.logo-stage{width:190px;transform:scale(var(--logo-scale-sm))}}
  .bg-lines{position:absolute;inset:0;pointer-events:none;opacity:0.04}

  .logo-wrap{display:flex;align-items:center;cursor:pointer;user-select:none}
  .signal-bars{display:flex;align-items:flex-end;gap:5px;height:56px;margin-right:18px}
  .bar{width:8px;border-radius:2px 2px 0 0;background:#E24B4A;transform-origin:bottom;
        transition:transform .3s ease,background .3s ease}
  .bar:nth-child(1){height:22px;animation:pulse1 1.8s ease-in-out infinite}
  .bar:nth-child(2){height:34px;animation:pulse2 1.8s ease-in-out infinite .2s}
  .bar:nth-child(3){height:46px;animation:pulse3 1.8s ease-in-out infinite .4s}
  .bar:nth-child(4){height:56px;animation:pulse4 1.8s ease-in-out infinite .6s}
  @keyframes pulse1{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.4)}}
  @keyframes pulse2{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.7)}}
  @keyframes pulse3{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.3)}}
  @keyframes pulse4{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.8)}}

  .logo-text{display:flex;flex-direction:column;line-height:1}
  .gks-letters{display:flex;align-items:baseline;gap:2px}
  .letter{font-family:var(--font-sans);font-size:72px;font-weight:500;letter-spacing:-2px;
          color:var(--text-primary);display:inline-block;
          transition:color .2s ease,transform .2s ease}
  .letter.accent{color:#E24B4A}
  .logo-wrap:hover .letter{color:#E24B4A}
  .logo-wrap:hover .letter.accent{color:var(--text-primary)}
  .tv-tag{display:flex;align-items:center;gap:6px;margin-top:4px;padding-left:2px}
  .tv-box{background:#E24B4A;color:#fff;font-family:var(--font-sans);font-size:13px;
          font-weight:500;letter-spacing:3px;padding:3px 10px;border-radius:2px;text-transform:uppercase}
  .tagline{font-family:var(--font-sans);font-size:11px;font-weight:400;letter-spacing:4px;
           color:var(--text-muted);text-transform:uppercase}

  .scan-line{position:absolute;left:0;right:0;height:1px;
             background:linear-gradient(90deg,transparent,rgba(226,75,74,.4),transparent);
             animation:scanDown 4s linear infinite;pointer-events:none}
  @keyframes scanDown{0%{top:0;opacity:0}10%{opacity:1}90%{opacity:1}100%{top:100%;opacity:0}}

  .live-label{font-size:11px;font-weight:500;letter-spacing:2px;color:#E24B4A;
              text-transform:uppercase;display:flex;align-items:center;gap:5px;margin-top:14px}
  .dot-live{width:8px;height:8px;border-radius:50%;background:#E24B4A;
            animation:blink 1.2s ease-in-out infinite;display:inline-block}
  @keyframes blink{0%,100%{opacity:1}50%{opacity:.2}}

  .controls{display:flex;gap:10px;margin-top:28px;flex-wrap:wrap;justify-content:center}
  .ctrl-btn{font-size:12px;font-weight:500;letter-spacing:1px;padding:6px 16px;
            border:0.5px solid var(--border-strong);border-radius:var(--radius);
            background:transparent;color:var(--text-secondary);cursor:pointer;
            text-transform:uppercase;transition:background .15s,color .15s}
  .ctrl-btn:hover{background:var(--surface-1);color:var(--text-primary)}
  .ctrl-btn.active{background:#E24B4A;color:#fff;border-color:#E24B4A}
  .variant-label{font-size:11px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase;margin-top:20px}
  .logo-stage.dark-v{background:#1a1a1a;border-radius:12px}
  .logo-stage.dark-v .letter{color:#f0f0f0}
  .logo-stage.dark-v .tagline{color:#666}
  .logo-stage.mono-v .bar{background:var(--text-primary)}
  .logo-stage.mono-v .tv-box{background:var(--text-primary)}
  .logo-stage.mono-v .letter.accent{color:var(--text-primary)}
  .logo-stage.mono-v .dot-live{background:var(--text-primary)}
  .logo-stage.mono-v .live-label{color:var(--text-secondary)}
  @media(max-width:768px){.controls{display:none}}
.topbar {
  position: sticky; top: 0; z-index: 60;
  display: grid;
  grid-template-columns: auto auto minmax(160px, 1fr) auto;
  grid-auto-flow: column;
  align-items: center;
  gap: 0.5rem 0.9rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(180deg, rgba(10,14,18,0.98), rgba(10,14,18,0.93));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  min-height: 64px;
}
.topbar .brand      { grid-column: 1; }
.topbar .app-shortcuts { grid-column: 2; }
.topbar .search-box { grid-column: 3; min-width: 0; }
.topbar .top-right  { grid-column: 4; justify-self: end; }

/* Logo kompakt ve köşede */
.brand { display: flex; align-items: center; gap: 0.5rem; }
.brand .logo-stage, .brand .logo-wrap { margin: 0; }
.brand .gks-letters .letter { font-size: 30px; }
.brand .signal-bars { height: 30px; gap: 3px; margin-right: 8px; }
.brand .bar { width: 5px; }
.brand .tv-box { font-size: 10px; padding: 2px 7px; letter-spacing: 2px; }
.brand .live-label { font-size: 0.6rem; }

/* Arama orta geniş */
.topbar .search-box { flex: 1 1 auto; margin-left: auto; margin-right: auto; max-width: 420px; }
/* Sağ: saat+hava+butonlar yatay, iyi sıra */
.topbar .top-right { display: flex; align-items: center; gap: 0.4rem; }
.topbar .top-right #clock { flex-direction: column; align-items: flex-end; line-height: 1.1; }
.topbar .top-right #clock-time { font-size: 0.85rem; }
.topbar .top-right #clock-date { font-size: 0.58rem; }
.topbar .top-right .icon-btn { width: 38px; height: 38px; }

/* Dar (<900px): iki satır — logolu + sağ; arama alt tam geniş */
@media (max-width: 900px) {
  .topbar { grid-template-columns: auto 1fr auto; padding: 0.5rem 0.8rem; }
  .topbar .brand { grid-column: 1; }
  .topbar .app-shortcuts { grid-column: 2; justify-self: start; }
  .topbar .search-box { grid-column: 1 / -1; grid-row: 2; max-width: none; margin: 0; }
  .topbar .top-right { grid-column: 3; }
}
@media (max-width: 560px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar .brand { grid-column: 1; }
  .topbar .app-shortcuts { grid-column: 2; }
  .topbar .search-box { grid-column: 1/-1; grid-row: 2; }
  .topbar .top-right { grid-column: 1/-1; grid-row: 3; justify-self: stretch; justify-content: space-between; }
  .topbar .top-right #clock { display: none; }   /* telefon: saat yer kazanına */
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-badge {
  min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 9px;
  background: linear-gradient(135deg, #2f7cf6, #1b3a63);
  color: #fff; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.5px;
  border-radius: 12px; box-shadow: 0 4px 14px rgba(47,124,246,0.4);
}
.brand h1 { font-size: 1.35rem; letter-spacing: 0.5px; }
.brand h1 span { color: var(--acc); }
.live-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 2px;
  color: #dceaff; background: rgba(47,124,246,0.18);
  border: 1px solid rgba(47,124,246,0.45);
  padding: 0.25rem 0.6rem; border-radius: 30px;
}
.live-tag i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--acc); box-shadow: 0 0 0 0 var(--acc);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,124,246,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(47,124,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,124,246,0); }
}
.search-box {
  flex: 1; max-width: 360px; margin-left: auto;
  display: flex; align-items: center;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  border-radius: 30px; padding: 0.3rem 0.4rem 0.3rem 1rem;
}
.search-box:focus-within { border-color: rgba(47,124,246,0.6); box-shadow: 0 0 0 3px rgba(47,124,246,0.15); }
.search-box input { flex: 1; background: none; border: 0; outline: 0; color: var(--txt); font-size: 0.95rem; padding: 0.4rem 0; }
.search-box input::placeholder { color: var(--muted); }
#search-clear { background: none; border: 0; color: var(--muted); font-size: 1.3rem; width: 32px; cursor: pointer; }
#search-go {
  background: none; border: 0;
  color: var(--acc); font-size: 1.1rem;
  width: 36px; cursor: pointer; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
#search-go:hover { color: #7ab8ff; }
#search-go:focus-visible { outline: 2px solid var(--acc); border-radius: 8px; }

/* ---------- OYNATICI (video) ---------- */
.top-right { display: flex; align-items: center; gap: 0.5rem; position: relative; }
#clock { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; margin-right: 0.4rem; }
#clock-time { font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
#clock-date { font-size: 0.68rem; color: var(--muted); }
.icon-btn {
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  color: var(--txt); width: 38px; height: 38px; border-radius: 12px;
  font-size: 1.05rem; cursor: pointer;
}
/* Hamburger (duck-toggle) — kutunun TAM ORTASına hizalı */
.duck-toggle {
  display: grid; 
  place-items: center;
  padding: 0;
  line-height: 1;
  font-size: 1.25rem;
  background: rgba(229,9,20,0.14);
  border: 1px solid rgba(229,9,20,0.45);
  color: #fff;
  border-radius: 10px;
}
.duck-toggle:hover, .duck-toggle:focus-visible {
  background: rgba(229,9,20,0.3);
  box-shadow: 0 0 0 2px rgba(229,9,20,0.25);
  color: #ffd9d9;
}
.duck-toggle.active { background: rgba(229,9,20,0.4); box-shadow: 0 0 0 2px rgba(229,9,20,0.35); }
/* ---------- LAUNCHER GÖVDESİ ---------- */
.launcher { display: flex; flex-direction: column; min-height: 100vh; }
.launcher-body { flex: 1; padding: 1.6rem 1.6rem 1rem; max-width: 1500px; margin: 0 auto; width: 100%; }

/* ---------- HERO (koyü sinematik backdrop) ---------- */
.hero {
  position: relative;
  display: flex; align-items: center; gap: 1.8rem;
  background:
    radial-gradient(900px 420px at 30% 0%, rgba(30,44,66,0.6), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(229,9,20,0.18), transparent 55%),
    linear-gradient(105deg, #161d26, #0f1419 75%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem 2.2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer; outline: none;
}
.hero:focus-visible, .hero:hover {
  border-color: rgba(229,9,20,0.5);
  box-shadow: 0 0 0 2px rgba(229,9,20,0.25), var(--shadow);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px 260px at 18% 0%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(800px 400px at 85% 100%, rgba(229,9,20,0.14), transparent 55%);
}
.hero-poster {
  flex: 0 0 auto;
  width: 210px; height: 210px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(229,9,20,0.35), rgba(20,24,31,0.9));
  display: grid; place-items: center;
  box-shadow: 0 18px 50px rgba(0,0,0,0.8);
}
.hero-poster img#hero-logo { width: 200px; height: 200px; object-fit: contain; filter: drop-shadow(0 10px 26px rgba(0,0,0,0.7)); }
#hero-logo { width: 200px; height: 200px; }
.hero-info { position: relative; z-index: 2; flex: 1; }
.hero-eyebrow { font-size: 0.72rem; font-weight: 800; letter-spacing: 3px; color: #9fc6ff; }
.hero-heading, .hero-info h2 { font-size: 2.8rem; margin: 0.35rem 0; letter-spacing: 0.5px; color: var(--hero-head); }
.hero-meta, .hero-info p { color: var(--muted); font-size: 1rem; margin: 0.2rem 0 1rem; }
.hero-actions { display: flex; gap: 0.7rem; align-items: center; }
.hero-btn {
  position: relative; z-index: 2;
  background: linear-gradient(135deg, #e50914, #b00709);
  color: #fff; border: 0; border-radius: 30px; padding: 0.7rem 2rem;
  font-weight: 800; cursor: pointer; font-size: 1.05rem;
  box-shadow: 0 8px 22px rgba(229,9,20,0.45);
}
.hero-btn:hover { filter: brightness(1.15); }
.ghost-btn {
  background: rgba(255,255,255,0.08); color: var(--txt);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 30px;
  padding: 0.7rem 1.4rem; font-weight: 700; cursor: pointer; font-size: 1rem;
}
.ghost-btn:hover { background: rgba(255,255,255,0.16); }
.live-badge.on-player {
  position: absolute; bottom: 16px; right: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 2px;
  color: #ffe8e8; background: rgba(229,9,20,0.85);
  border: 1px solid rgba(229,9,20,0.9);
  padding: 0.3rem 0.7rem; border-radius: 30px;
}
.live-badge.on-player i { width: 7px; height: 7px; border-radius: 50%; background: #e50914; animation: pulse 1.4s infinite; }

/* ---------- KATEGORİ KAROLARI (lang film kartlar) ---------- */
.row-title { margin: 1.6rem 0 0.8rem; font-size: 1.15rem; font-weight: 800; letter-spacing: 0.3px; display: flex; align-items: baseline; gap: 0.7rem; }
.row-hint { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px,1fr)); gap: 0.9rem; }
.cat-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem;
  background: linear-gradient(135deg, rgba(28,35,43,0.85), rgba(20,25,31,0.9));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--txt); cursor: pointer; outline: none; text-align: left;
}
.cat-tile-icon { font-size: 1.6rem; }
.cat-tile-ad { font-size: 0.95rem; font-weight: 700; }
.cat-tile-count { font-size: 0.7rem; color: var(--muted); }
.cat-tile:hover, .cat-tile:focus-visible {
  background: linear-gradient(135deg, rgba(229,9,20,0.22), rgba(28,35,43,0.9));
  border-color: rgba(229,9,20,0.55);
  transform: translateY(-2px);
}
.cat-tile:focus-visible { box-shadow: 0 0 0 2px rgba(229,9,20,0.3); }
.cat-tile.active {
  background: linear-gradient(135deg, rgba(229,9,20,0.35), rgba(28,35,43,0.85));
  border-color: rgba(229,9,20,0.7);
}

/* ---------- İPUCU BAR ---------- */
.hint-bar {
  text-align: center; padding: 0.85rem 1rem 1rem;
  color: var(--muted); font-size: 0.78rem;
}
.hint-bar b { color: #9fc6ff; }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; z-index: 500; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  background: rgba(13,31,61,0.95); color: var(--txt);
  border: 1px solid rgba(47,124,246,0.5);
  padding: 0.6rem 1.2rem; border-radius: 30px;
  font-size: 0.85rem; box-shadow: var(--shadow);
  animation: toast-in .25s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
/* ---------- KANAL BARI / DOCK (alttan yukarı) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: linear-gradient(180deg, #0d1f3d, #09162b);
  border-top: 2px solid rgba(47,124,246,0.4);
  border-radius: 22px 22px 0 0;
  padding: 1rem 1.2rem 1.2rem;
  box-shadow: 0 -18px 50px rgba(0,0,0,0.6);
  transform: translateY(112%);
  transition: transform .32s cubic-bezier(.22,1,.3,1);
  will-change: transform;
  visibility: hidden;              /* kapalıyken hiç görünmez — "yarı açık" yok */
  pointer-events: none;
}
.dock.open { transform: translateY(0); z-index: 9999 !important; position: fixed !important; left: 0; right: 0; bottom: 0; visibility: visible; pointer-events: auto; }
:fullscreen { position: fixed !important; z-index: 9998 !important; width: 100vw !important; height: 100vh !important; inset: 0; margin: 0; padding: 0; }
.dock-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
#dock-title { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.4px; }
.dock-hint { font-size: 0.72rem; color: var(--muted); flex: 1; }
.dock-close {
  background: rgba(255,255,255,0.08); border: 1px solid var(--line);
  color: var(--txt); width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
}
.dock-close:hover { background: rgba(47,124,246,0.25); }
.dock-row {
  display: flex; gap: 0.7rem; overflow-x: auto;
  padding: 0.4rem 0.2rem 0.6rem;
  scroll-snap-type: x proximity;
   -webkit-overflow-scrolling: touch;
}
.dock-row::-webkit-scrollbar { height: 6px; }
.dock-row::-webkit-scrollbar-thumb { background: rgba(47,124,246,0.4); border-radius: 10px; }
.dock-item {
  flex: 0 0 148px;
  scroll-snap-align: center;
  background: rgba(27,58,99,0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem;
  cursor: pointer; outline: none;
  text-align: center;
  transition: transform .15s, border-color .15s, background .15s;
}
.dock-item:hover, .dock-item:focus-visible {
  background: linear-gradient(135deg, rgba(47,124,246,0.3), rgba(27,58,99,0.7));
  border-color: rgba(47,124,246,0.7);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.dock-item:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.dock-logo {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin: 0 auto 0.4rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #2f7cf6, #1b3a63);
}
.dock-logo img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
.dock-name { display: block; font-size: 0.82rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-sub { display: block; font-size: 0.66rem; color: var(--muted); margin-top: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-epg { display: block; font-size: 0.62rem; color: var(--muted); margin-top: 0.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.85; }
/* ---------- OYNATICI ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3,5,9,0.97);
  display: grid; place-items: center;
}
.player {
  position: relative; width: min(1120px, 96vw); aspect-ratio: 16/9;
  background: #000; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow);
}
.player:fullscreen, .player:-webkit-full-screen, .player:-moz-full-screen {
  width: 100vw !important; height: 100vh !important;
  aspect-ratio: auto; border-radius: 0; max-width: none;
}
/* Tam ekrandayken kanal logo + canlı şeridini (player-banner) komple gizle; OSD kontrol barı kalır */
.player:fullscreen .player-banner,
.player:-webkit-full-screen .player-banner,
.player:-moz-full-screen .player-banner {
  display: none !important;
}
.player:fullscreen #video,
.player:-webkit-full-screen #video,
.player:-moz-full-screen #video { object-fit: contain; }
#video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.player-noise, .player-error {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.7rem;
  color: var(--muted); background: #05070b; z-index: 2; text-align: center;
}
.noise-icon { font-size: 2.6rem; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.4; } }
.btn {
  background: linear-gradient(135deg, #2f7cf6, #1b3a63);
  color: #fff; border: 0; border-radius: 30px; padding: 0.6rem 1.5rem;
  font-weight: 700; cursor: pointer; font-size: 0.9rem;
}
.player-banner {
  position: absolute; top: 14px; left: 14px; right: 14px; z-index: 5;
  display: flex; align-items: center; gap: 0.8rem;
  background: linear-gradient(100deg, rgba(9,22,43,0.9), rgba(9,22,43,0.35) 70%, transparent);
  padding: 0.6rem 0.9rem; border-radius: 12px;
  backdrop-filter: blur(6px); pointer-events: none;
}
#player-logo { border-radius: 8px; background: rgba(255,255,255,0.08); object-fit: contain; padding: 3px; }
.pb-text h2 { font-size: 1.05rem; }
.pb-text p { font-size: 0.78rem; color: var(--muted); }
.player-now { font-size: 0.7rem; color: var(--muted); font-style: italic; margin-top: 0.12rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.8; }
.player-osd {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  background: linear-gradient(0deg, rgba(5,8,14,0.92), rgba(5,8,14,0.4));
  padding: 0.55rem 0.8rem; border-radius: 12px;
  backdrop-filter: blur(6px);
}
.osd-status { font-size: 0.78rem; color: var(--muted); }
.osd-status.ok { color: var(--ok); }
.osd-right { display: flex; align-items: center; gap: 0.4rem; }

/* Dokunmatik / kumanda kontrol barı */
.ctrl-bar { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; justify-content: flex-end; }
.ctrl-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.18); margin: 0 0.2rem; }

.osd-btn {
  background: rgba(255,255,255,0.08); border: 1px solid var(--line);
  color: var(--txt); width: 38px; height: 38px; border-radius: 10px;
  cursor: pointer; font-size: 1.05rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.osd-btn:hover, .osd-btn:focus-visible { background: rgba(47,124,246,0.25); outline: 2px solid var(--acc); }
.osd-btn:active { background: rgba(47,124,246,0.45); transform: scale(0.94); }
#vol-range { width: 84px; accent-color: var(--acc); height: 6px; }
.close-x:hover { background: rgba(255,59,48,0.35) !important; }

/* Kaydırma ipucu */
.swipe-hint {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 6;
  background: rgba(9,22,43,0.85); border: 1px solid rgba(47,124,246,0.4);
  border-radius: 20px; padding: 0.3rem 0.9rem;
  font-size: 0.72rem; color: var(--muted); pointer-events: none;
  animation: hint-in .5s ease;
}
@keyframes hint-in { from { opacity: 0; transform: translateX(-50%) translateY(-6px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.player-osd.hide-osd { opacity: 0; pointer-events: none; transition: opacity .3s; }
.player-osd { transition: opacity .3s; }

/* ---------- BİLGİ PANELİ ---------- */
.about-panel {
  position: fixed; z-index: 400; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: min(480px, 92vw);
  max-height: 88vh; overflow-y: auto;    /* Android / keyboard ile tam kaybolmasın */
  background: var(--bg2); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem; box-shadow: var(--shadow);
}
.about-panel h3 { color: var(--acc); margin-bottom: 0.6rem; }
.about-panel p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.8rem; }
.about-panel ul { list-style: none; display: grid; gap: 0.45rem; margin-bottom: 0.8rem; }
.about-panel li { font-size: 0.85rem; color: var(--txt); }
.about-panel b { color: var(--acc); }
.about-close { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.note { font-size: 0.75rem !important; opacity: 0.8; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
  .launcher-body { padding: 1rem 0.8rem 0.5rem; }
  .hero { flex-direction: column; text-align: center; padding: 1.2rem; }
  .hero-info h2 { font-size: 1.7rem; }
  #hero-logo { display: none; }
  .cat-tiles { grid-template-columns: repeat(auto-fill, minmax(112px,1fr)); }
  .search-box { max-width: none; }
  #clock { display: none; }
  .dock-item { flex-basis: 120px; }
  .dock-hint { display: none; }
  .player { width: 100vw; height: 100vh; border-radius: 0; aspect-ratio: auto; }
  .player-osd { flex-wrap: wrap; gap: 0.4rem; padding: 0.45rem; }
  .osd-status { width: 100%; }
  .ctrl-bar { width: 100%; justify-content: center; gap: 0.5rem; }
  .osd-btn { width: 46px; height: 46px; font-size: 1.25rem; border-radius: 12px; }
  #vol-range { width: 96px; }
  .swipe-hint { font-size: 0.66rem; }
}

/* ---------- DOKUNMATİK CİHAZLAR (geniş tablet/telefon) ---------- */
body.touch .osd-btn { min-width: 46px; min-height: 46px; }
body.touch #vol-range { height: 10px; }
/* ========== v2.2 EKLEMELERİ ========== */

/* FIX #10: Aktif kategori tile vurgusu */
.cat-tile.active {
  background: linear-gradient(135deg, rgba(47,124,246,0.35), rgba(27,58,99,0.65));
  border-color: rgba(47,124,246,0.8);
  box-shadow: 0 0 0 2px rgba(47,124,246,0.25), 0 4px 12px rgba(0,0,0,0.3);
}
.cat-tile.active .cat-tile-ad { color: #7ab8ff; }

/* FIX #13: icon-btn aktif durumu (favori butonu vb.) */
.icon-btn.active {
  background: rgba(47,124,246,0.25);
  border-color: rgba(47,124,246,0.7);
  color: #ffd700;
  box-shadow: 0 0 0 2px rgba(47,124,246,0.2);
}

/* FIX #12: Dock item favori toggle butonu */
.dock-fav-btn {
  position: absolute;
  top: 5px; right: 5px;
  background: none; border: 0;
  color: rgba(255,255,255,0.35);
  font-size: 0.9rem; cursor: pointer;
  line-height: 1; padding: 2px 4px;
  border-radius: 6px;
  transition: color .15s, background .15s;
  z-index: 2;
}
.dock-fav-btn:hover { color: #ffd700; background: rgba(255,215,0,0.1); }
.dock-fav-btn.is-fav { color: #ffd700; }

/* Dock item pozisyon (fav butonu için relative gerekli) */
.dock-item { position: relative; }

/* FIX #6: OSD banner auto-hide geçişi */
#player-banner {
  transition: opacity .4s ease;
}

/* Klavye kısayol ipucu hint-bar güncellemesi */
.hint-bar span { line-height: 1.8; }

/* Ses slider - mobil için daha kalın */
@media (max-width: 760px) {
  .dock-fav-btn { top: 3px; right: 3px; font-size: 0.8rem; }
}

/* ========== ÇÖZÜNÜRLÜK MENÜSÜ ========== */
.quality-wrap {
  position: relative;
  display: inline-flex;
}
#quality-btn {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  min-width: 48px;
  padding: 0 6px;
}
.quality-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: rgba(9,22,43,0.97);
  border: 1px solid rgba(47,124,246,0.45);
  border-radius: 12px;
  padding: 0.4rem;
  min-width: 140px;
  box-shadow: 0 -8px 28px rgba(0,0,0,0.6);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quality-menu.hidden { display: none !important; }
.quality-item {
  background: none;
  border: 0;
  color: var(--muted);
  text-align: left;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.quality-item:hover { background: rgba(47,124,246,0.2); color: var(--txt); }
.quality-item.active {
  color: var(--acc);
  background: rgba(47,124,246,0.12);
}
.quality-item.active::before { content: '✓ '; }

@media (max-width: 760px) {
  .quality-menu { min-width: 120px; right: 0; }
  .quality-item { font-size: 0.78rem; padding: 0.4rem 0.6rem; }
}

/* =========================================================
   OTOMATİK CİHAZ TESPİTİ + CİHAZA ÖZEL STİLLER  (device.js)
   body class'ları: device-android-tv | device-android-phone | device-pc | device-tablet
                    browser-old | browser-modern | browser-hls | browser-fs | touch | no-touch | reduced-motion
   ========================================================= */

/* Eski tarayıcı optimizasyonu: animasyon / geçiş / gölge KAPALI */
body.browser-old .logo-stage .letter,
body.browser-old .signal-bars .bar,
body.browser-old .hero-glow,
body.browser-old .dock,
body.browser-old .dock-item,
body.browser-old .cat-tile {
  animation: none !important;
  transition: none !important;
}
body.browser-old .hero-glow,
body.browser-old .dock { box-shadow: none !important; }
body.browser-old .osd-btn { transition: none !important; }
body.browser-old .noise-icon { animation: none !important; }

/*prefers-reduced-motion — zihinsel yorgunluk / animasyon istenmeyen cihazlarda */
body.reduced-motion * {
  animation: none !important;
  transition: none !important;
}

/* ---- Android TV (Launcher / D-pad kumanda) ---- */
body.device-android-tv {
  --tile-w: 200px;
  --tile-h: 120px;
  --tile-radius: 14px;
}
body.device-android-tv .cat-tiles {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.1rem;
}
body.device-android-tv .cat-tile {
  min-height: 110px;
  font-size: 1.15rem;
}
body.device-android-tv .cat-tile-icon { font-size: 2rem; }
body.device-android-tv .cat-tile-count { font-size: 0.85rem; }
body.device-android-tv .dock-item {
  flex-basis: 170px;
  font-size: 1rem;
}
body.device-android-tv .dock-head,
body.device-android-tv .hero,
body.device-android-tv .topbar { padding: 1.1rem 1.5rem; }
body.device-android-tv .topbar { min-height: 80px; }
/* Android TV'de D-pad focus ring'ı — seçilen tile/kanal net görünsün */
body.device-android-tv .cat-tile:focus-visible,
body.device-android-tv .dock-item:focus-visible {
  outline: 3px solid var(--acc) !important;
  outline-offset: 3px;
  z-index: 12;
}
body.device-android-tv #video { cursor: default; }

/* ---- Android telefon (dokunmatik / swipe launcher) ---- */
body.device-android-phone {
  --tile-w: 130px;
}
body.device-android-phone .cat-tiles {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.8rem;
}
body.device-android-phone .cat-tile { min-height: 80px; }
body.device-android-phone .cat-tile-icon { font-size: 1.6rem; }
body.device-android-phone .dock-item { flex-basis: 130px; }
/* telefonda dokunma hedefleri 48dp alt sınırı */
body.device-android-phone .osd-btn,
body.device-android-phone .icon-btn,
body.device-android-phone .dock-close { min-width: 48px; min-height: 48px; }
body.device-android-phone .swipe-hint { display: flex; }  /* dokunma ipucu görün */
body.device-android-phone .duck-toggle { display: none; }   /* telefonda duck panel yok (kategori karo yetmez) */

/* ---- Tablet ---- */
body.device-tablet .cat-tiles {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

/* ---- PC (fare / hover / kaydırma) ---- */
body.device-pc .cat-tile:hover,
body.device-pc .dock-item:hover {
  transform: translateY(-2px);
}
body.device-pc .cat-tile { transition: transform .12s ease, box-shadow .12s ease; }
body.device-pc .dock-item { transition: transform .12s ease; }
/* PC'de dock kaydırma çubuğu */
body.device-pc .dock-row { overflow-y: auto; }
body.device-pc .duck-toggle { display: grid; place-items: center; }

/* ---- ESKİ TARAYICI: fullscreen API yoksa dock tam ekranda sabit kalksın ---- */
body.browser-nofs .dock.open { position: fixed !important; }  /* sticky yerine fixed */

/* perf-off = animasyon kapalı (eski/az uyumlu) */
body.perf-off * {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

/* =========================================================
   DUCK PANEL (kanal kategorileri açılır menüsü)
   ========================================================= */
.duck-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 9999;
  min-width: 200px;
  max-width: 300px;
  max-height: min(60vh, 480px);
  max-height: 60vh;
  overflow-y: auto;
  background: rgba(15, 26, 49, 0.96);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.duck-panel .duck-cat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  color: var(--txt);
  text-align: left;
  font-size: 0.88rem;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  margin: 0 0.4rem;
}
.duck-panel .duck-cat .duck-icon { font-size: 1.1rem; }
.duck-panel .duck-cat .duck-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(47, 124, 246, 0.15);
  padding: 1px 8px;
  border-radius: 10px;
}
.duck-panel .duck-cat:hover,
.duck-panel .duck-cat:focus-visible {
  background: rgba(47, 124, 246, 0.18);
  color: #fff;
  outline: 1px solid var(--acc);
}
.duck-panel .duck-cat.active {
  background: rgba(47, 124, 246, 0.35);
  color: #fff;
  font-weight: 600;
}
.duck-panel .duck-sep {
  height: 1px;
  background: var(--line);
  margin: 0.3rem 0;
}

/* =========================================================
   MOBİL OPTİMİZASYON (<=480px) — kayma / logo taşması / dokunma hedefleri
   ========================================================= */
@media (max-width: 480px) {
  body { overflow-x: hidden; }
  /* üst bar: 3 parça sarmalı (brand · butonlar · arama) */
  .topbar { flex-wrap: wrap; gap: 0.4rem 0.6rem; padding: 0.55rem 0.65rem 0.6rem; min-height: 0; }
  .brand { order: 1; flex: 1 1 auto; min-width: 0; }
  .logo-stage { width: 140px !important; height: auto; transform: scale(0.34) !important; transform-origin: left center; }
  .top-right { order: 2; gap: 0.3rem; }
  #clock { display: flex; flex-direction: column; margin-right: 0; }
  #clock-time { font-size: 0.8rem; }
  #clock-date { font-size: 0.6rem; }
  .search-box { order: 3; flex: 1 1 100%; max-width: none; margin-left: 0; padding: 0.25rem 0.35rem 0.25rem 0.8rem; }
  .icon-btn { width: 40px; height: 40px; min-width: 40px; min-height: 40px; font-size: 1rem; }
  .live-label span:last-child { font-size: 0.6rem; }
  .gks-letters .letter { font-size: 46px; }
  .tagline { display: none; }
  .signal-bars { height: 38px; gap: 3px; margin-right: 8px; }
  .bar { width: 6px; }

  /* içerik */
  .launcher-body { padding: 0.9rem 0.7rem 0.6rem; }
  .hero { flex-wrap: wrap; gap: 0.9rem; padding: 1rem; border-radius: 16px; }
  .hero-info h2 { font-size: 1.5rem; }
  .hero-info p { font-size: 0.78rem; margin-bottom: 0.6rem; }
  #hero-logo { width: 74px !important; height: 74px !important; }
  .hero-btn { padding: 0.55rem 1.2rem; font-size: 0.88rem; }
  .row-title { margin: 1rem 0 0.5rem; font-size: 0.95rem; }
  .cat-tiles { grid-template-columns: repeat(auto-fill, minmax(100px,1fr)); gap: 0.6rem; }
  .cat-tile { padding: 0.6rem 0.65rem; min-height: 0; border-radius: 12px; }
  .cat-tile-icon { font-size: 1.3rem; }
  .cat-tile-ad { font-size: 0.8rem; }
  .cat-tile-count { font-size: 0.6rem; }
  .hint-bar { font-size: 0.7rem; padding: 0.7rem 0.6rem 0.9rem; }

  /* dock */
  .dock { padding: 0.7rem 0.6rem 0.9rem; border-radius: 18px 18px 0 0; }
  .dock-head { gap: 0.4rem; margin-bottom: 0.5rem; }
  #dock-title { font-size: 0.9rem; }
  .dock-hint { display: none; }
  .dock-close { width: 34px; height: 34px; }
  .dock-item { flex: 0 0 108px; padding: 0.5rem 0.4rem; border-radius: 12px; }
  .dock-logo { width: 46px; height: 46px; }
  .dock-logo img { width: 28px; height: 28px; }
  .dock-name { font-size: 0.72rem; }
  .dock-sub { font-size: 0.6rem; }
  .dock-epg { font-size: 0.57rem; }

  /* oynatıcı */
  .player { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; }
  .player-banner { padding: 0.5rem; }
  .player-banner h2 { font-size: 1rem; }
  .player-meta { font-size: 0.72rem; }
  .player-now { font-size: 0.66rem; }
  .osd-btn { width: 42px; height: 42px; min-width: 42px; min-height: 42px; font-size: 1.05rem; }
  #vol-range { width: 82px; }
  .ctrl-bar { gap: 0.35rem; padding: 0.3rem; }
  .osd-status { font-size: 0.72rem; }
  .quality-menu { min-width: 96px; max-height: 42vh; }
  .swipe-hint { font-size: 0.58rem; }

  /* duck */
  .duck-panel { min-width: 168px; max-height: 54vh; right: -10px; }
  .duck-cat { padding: 0.5rem 0.7rem; font-size: 0.8rem; }
}

/* =========================================================
/* =========================================================
   HAZIR TAVSIYELER — media rail (Netflix tarzı yatay kaydırma)
   ========================================================= */
.media-rail {
  display: flex; gap: 0.8rem;
  overflow-x: auto;
  padding: 0.5rem 0.1rem 0.8rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.media-rail .media-card {
  flex: 0 0 150px;
  scroll-snap-align: center;
  aspect-ratio: 16/9;
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(28,35,43,0.9), rgba(18,22,28,0.95));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 0; overflow: hidden; cursor: pointer; outline: none;
}
.media-rail .media-card {
  flex: 0 0 150px;
  scroll-snap-align: center;
  aspect-ratio: 16/9;
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(28,35,43,0.9), rgba(18,22,28,0.95));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 0; overflow: hidden; cursor: pointer; outline: none;
}
.media-card img {
  width: 100%; height: 100%;
  object-fit: contain;       /* taşması yok — logoları tam konum */
  background: rgba(255,255,255,0.02);
  padding: 6px;              /* logoya air */
.media-card .mc-fallback {
  color: var(--muted); font-size: 0.75rem; font-weight: 700;
  text-align: center; padding: 0.4rem; line-height: 1.3;
}
.media-card:hover, .media-card:focus-visible {
  border-color: rgba(229,9,20,0.6);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.65);
}
.media-car empty-rail-message { display: none; }

/* =========================================================
   ÜST GİRİŞ ALANLAR (Netflix / YouTube / Google) + HAVA WIDGET
   ========================================================= */
.app-shortcuts {
  display: flex; align-items: center; gap: 0.35rem;
  flex: 0 0 auto;    /* Android/TV'de sıkışıp bozulmasın */
  min-width: 0;
}
.app-ico {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 0.8rem; font-weight: 900; font-family: inherit;
  color: #fff; line-height: 1; flex: none;
}
.app-link {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 0.78rem;
  color: var(--txt);
  padding: 0.3rem 0.5rem; border-radius: 40px;   /* ikon-only kompakt */
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  line-height: 1;
  flex: 0 0 auto;
}
.app-link .app-ico {
  width: 22px; height: 22px; display: inline-grid; place-items: center;
  border-radius: 50%;
  font-size: 0.72rem; font-weight: 900; color: #fff;
  background: #0f1117;
}
.app-link:hover, .app-link:focus-visible {
  background: rgba(255,255,255,0.12);
  outline: 2px solid var(--acc);
}
.app-link[data-app="netflix"] .app-ico { background: #e50914; }
.app-link[data-app="youtube"] .app-ico { background: #ff0000; }
.app-link[data-app="google"]  .app-ico { background: #4285F4; }

.weather-widget {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem; font-weight: 700; color: var(--txt);
  cursor: pointer; white-space: nowrap;
}
.weather-widget #weather-icon { font-size: 0.9rem; }
#weather-text { font-size: 0.75rem; }

/* Telefonda: giriş alanlar + hava üzleği (header sıkışmasın) */
@media (max-width: 680px) {
  .app-shortcuts { display: none; }
  .weather-widget #weather-text { display: none; } /* holt icon box */
  .app-shortcuts,
  .weather-widget { order: 99; }
}
/* ---------- NAV PILLS (topbar üstler ayararları) ---------- */
.nav-pills {
  display: flex; gap: 0.4rem;
  overflow: hidden;
  margin-left: auto;
}
.nav-pills button {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.78rem; font-weight: 700; color: var(--muted);
  padding: 0.45rem 0.85rem; border-radius: 30px; white-space: nowrap;
}
.nav-pills button.active { background: rgba(229,9,20,0.2); color: var(--txt); }
.nav-pills button:focus-visible { outline: 2px solid var(--acc); }

/* Dock koyü panel */
.dock { background: linear-gradient(180deg, #10151c, #0a0e12); border-top: 2px solid rgba(229,9,20,0.3); }
.dock-close:hover { background: rgba(229,9,20,0.2); }
.dock-item:hover, .dock-item:focus-visible {
  background: linear-gradient(135deg, rgba(229,9,20,0.28), rgba(28,35,43,0.8));
  border-color: rgba(229,9,20,0.65);
}
.dock-item:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.dock-logo { background: linear-gradient(135deg, #e50914, #232c36); }

/* Oynatıcı OSD */
.osd-btn:hover { background: rgba(255,255,255,0.14); }
#quality-btn { background: rgba(229,9,20,0.18); border-color: rgba(229,9,20,0.6); }
   TEMA / LAUNCHER GÖRÜNÜMÜ (kullanıcı tercihi)
   body.tema-* — device class'larından sonra gelir (kazanan)
   ========================================================= */
body.tema-mobil .cat-tiles  { grid-template-columns: repeat(auto-fill,minmax(104px,1fr)); gap: 0.55rem; }
body.tema-mobil .cat-tile   { padding: 0.6rem; font-size: 0.9rem; border-radius: 12px; }
body.tema-mobil .cat-tile-icon { font-size: 1.4rem; }
body.tema-mobil .dock-item  { flex: 0 0 114px; }
body.tema-mobil .hero       { padding: 0.9rem; }
body.tema-mobil .osd-btn    { min-width: 46px; min-height: 46px; }

body.tema-tv .cat-tiles     { grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: 1.1rem; }
body.tema-tv .cat-tile      { min-height: 116px; font-size: 1.1rem; }
body.tema-tv .cat-tile-icon { font-size: 2rem; }
body.tema-tv .dock-item     { flex: 0 0 178px; font-size: 0.95rem; }
body.tema-tv .cat-tile:focus-visible,
body.tema-tv .dock-item:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }

body.tema-pc .cat-tile:hover,
body.tema-pc .dock-item:hover  { transform: translateY(-2px); }
body.tema-pc .dock-row         { overflow-y: auto; }
body.tema-pc .duck-toggle      { display: inline-flex; }

/* Tema seçim butonları (bilgi paneli) */
.theme-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0 0.4rem; }
.theme-btn {
  padding: 0.4rem 0.8rem; border-radius: 30px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  color: var(--txt); font-size: 0.8rem; font-weight: 700; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.theme-btn:hover, .theme-btn:focus-visible { border-color: rgba(47,124,246,0.6); }
.theme-btn.active { background: rgba(47,124,246,0.3); border-color: var(--acc); }
