/* Alpa Player TV — Siyah & Gümüş tasarım sistemi (APK ile aynı).
   Tuval 1920×1080 (TV tarayıcıları bu boyutta açar).
   Kurallar: neon yok, renkli degrade yok, kalın çerçeve yok. Odak: yazı
   beyazlaşır, bir ağırlık kalınlaşır, hafif zemin + 1.03 büyüme (200 ms).
   Uyumluluk: Chromium 68+ (webOS 5 / Tizen 5.5) — flex "gap", "inset",
   "aspect-ratio" kullanılmaz. */

@font-face { font-family: Inter; font-weight: 200; src: url(../fonts/Inter-ExtraLight.ttf); }
@font-face { font-family: Inter; font-weight: 300; src: url(../fonts/Inter-Light.ttf); }
@font-face { font-family: Inter; font-weight: 400; src: url(../fonts/Inter-Regular.ttf); }
@font-face { font-family: Inter; font-weight: 500; src: url(../fonts/Inter-Medium.ttf); }
@font-face { font-family: Inter; font-weight: 600; src: url(../fonts/Inter-SemiBold.ttf); }

:root {
  --bg: #000000;
  --surface: #0e0e12;
  --surface-raised: #16161c;
  --platinum: #e2e8f0;
  --silver: #94a3b8;
  --text: #ffffff;
  --text-2: #a1a1aa;
  --muted: #52525b;
  --hairline: rgba(255, 255, 255, 0.08);
  --focus-fill: rgba(255, 255, 255, 0.06);
  --selected-fill: rgba(255, 255, 255, 0.1);
  --error: #f87171;
  --scrim: rgba(0, 0, 0, 0.8);
  --karo-orange: #e0512a;
  --karo-light: #f2f0eb;
  --karo-dark: #141413;
  /* Kurum (beyaz etiket) vurgusu; yoksa platin. */
  --accent: #e2e8f0;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --t-focus: 200ms;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  cursor: none;
}
body.pointer { cursor: default; }

/* Video katmanı en arkada; video varken sayfa saydamlaşır (Tizen AVPlay
   videoyu sayfanın ARKASINDAKİ donanım düzleminde çizer). */
/* 1920×1080 tuval: TV'de birebir, masaüstü önizlemede pencereye sığacak şekilde ölçeklenir. */
#stage { position: fixed; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden; transform-origin: 0 0; }
#video-layer { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 0; }
#video-layer video, #video-layer object {
  position: absolute; left: 0; top: 0; width: 0; height: 0; background: transparent;
}
body.has-video, body.has-video #app, body.has-video #stage { background: transparent; }
#app { position: relative; z-index: 1; width: 1920px; height: 1080px; overflow: hidden; background: var(--bg); }

.screen {
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px;
  background: var(--bg);
  animation: screen-in 260ms var(--ease) both;
}
.screen.leaving { animation: screen-out 160ms ease-in both; }
.screen.transparent { background: transparent; }
/* Video gösterilirken (önizleme kutusu) zemin html'den gelir: video katmanı görünür. */
body.has-video .screen { background: transparent; }
@keyframes screen-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes screen-out { from { opacity: 1; } to { opacity: 0; } }

/* --- Tipografi (AppTypography) --- */
.display { font-size: 64px; font-weight: 200; letter-spacing: -0.5px; line-height: 1.1; }
.headline { font-size: 48px; font-weight: 200; line-height: 1.15; }
.title-l { font-size: 32px; font-weight: 300; }
.title-m { font-size: 26px; font-weight: 300; }
.title-s { font-size: 22px; font-weight: 400; }
.body { font-size: 22px; font-weight: 300; line-height: 1.5; color: var(--text-2); }
.body-s { font-size: 18px; font-weight: 300; color: var(--text-2); }
.label { font-size: 16px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--text-2); }
.muted { color: var(--muted); }
.secondary { color: var(--text-2); }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- Odak (TvFocusable) --- */
.f { transition: transform var(--t-focus) var(--ease), background-color var(--t-focus) var(--ease),
  color var(--t-focus) var(--ease), opacity var(--t-focus) var(--ease); }
.f.is-focus { transform: scale(1.03); }

/* --- Düğmeler (PremiumButton: hap biçimli) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 76px; padding: 0 44px; border-radius: 38px;
  background: rgba(255, 255, 255, 0.08); color: var(--text);
  font-size: 24px; font-weight: 400; white-space: nowrap;
}
.btn svg { width: 26px; height: 26px; margin-right: 14px; fill: currentColor; }
.btn.primary { background: rgba(226, 232, 240, 0.86); color: #000; font-weight: 500; }
.btn.is-focus { background: rgba(255, 255, 255, 0.16); font-weight: 500; }
.btn.primary.is-focus { background: #fff; }
.btn.small { height: 60px; padding: 0 30px; font-size: 20px; border-radius: 30px; }
.btn.block { display: flex; width: 100%; }
.row-buttons > * + * { margin-left: 20px; }

/* --- Metin alanı (PremiumTextField: kutusuz, alt çizgili) --- */
.field { display: block; margin-bottom: 26px; }
.field .field-label { display: block; font-size: 20px; font-weight: 400; color: var(--text-2); margin-bottom: 6px;
  transition: color var(--t-focus); }
.field .field-box { position: relative; padding: 10px 0 12px; }
.field input {
  width: 100%; background: transparent; border: 0; outline: 0; padding: 0;
  font: 300 30px Inter, sans-serif; color: var(--text); caret-color: var(--platinum);
}
.field input::placeholder { color: var(--muted); }
.field .field-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hairline); }
.field .field-line::after {
  content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--platinum);
  transition: width var(--t-focus) var(--ease);
}
.field.is-focus { transform: none; }
.field.is-focus .field-label { color: var(--text); }
.field.is-focus .field-line::after, .field.editing .field-line::after { width: 100%; }
.field.error .field-line { background: var(--error); }
.field .field-error { display: block; color: var(--error); font-size: 18px; margin-top: 8px; }

/* --- Sekmeler (koyu hap zemin üzerinde gümüş seçili sekme) --- */
.tabs { display: flex; padding: 6px; border-radius: 40px; background: rgba(255, 255, 255, 0.06); }
.tab {
  flex: 1; height: 62px; display: flex; align-items: center; justify-content: center;
  border-radius: 34px; font-size: 22px; font-weight: 300; color: var(--platinum); white-space: nowrap;
}
.tab.is-focus { background: rgba(255, 255, 255, 0.12); font-weight: 500; transform: none; }
.tab.active { background: var(--platinum); color: #000; font-weight: 500; }

/* --- Üst şerit --- */
.topbar {
  position: absolute; left: 0; top: 0; right: 0; height: 132px; padding: 0 96px;
  display: flex; align-items: center; z-index: 3;
}
.topbar .brand { display: flex; align-items: center; }
.topbar .brand svg.mark { width: 54px; height: 54px; margin-right: 18px; }
.topbar .spacer { flex: 1; }
.topbar .clock { font-size: 40px; font-weight: 200; margin: 0 28px; }
.topbar .divider { width: 1px; height: 44px; background: var(--hairline); }
.icon-btn {
  width: 76px; height: 76px; border-radius: 38px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06);
}
.icon-btn svg { width: 32px; height: 32px; fill: var(--platinum); }
.icon-btn.is-focus { background: rgba(255, 255, 255, 0.16); }
.profile { display: flex; align-items: center; margin-left: 28px; padding: 6px 6px 6px 22px; border-radius: 40px; }
.profile .name { font-size: 28px; font-weight: 300; margin-right: 18px; }
.profile .avatar {
  width: 64px; height: 64px; border-radius: 32px; background: var(--surface-raised);
  display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 400;
}
.profile .avatar svg { width: 30px; height: 30px; fill: var(--platinum); }
.profile.is-focus { background: var(--focus-fill); }
.org-logo { width: 54px; height: 54px; border-radius: 12px; object-fit: contain; margin-right: 16px; }

/* --- Logo yazısı (ColoredWordmark) --- */
.wordmark { display: inline-flex; align-items: baseline; white-space: nowrap; line-height: 1; }
.wordmark .alpa { font-weight: 600; }
.wordmark .alpa span { letter-spacing: 0.06em; }
.wordmark .o { color: var(--karo-orange); }
.wordmark .l { color: var(--karo-light); }
.wordmark .player { font-weight: 200; color: var(--platinum); letter-spacing: 0.3em; margin-left: 0.4em; }
.wordmark.mono .o, .wordmark.mono .l { color: var(--text); }

/* --- Ana ekran (dashboard) --- */
.hero { position: absolute; left: 0; top: 0; width: 1920px; height: 760px; overflow: hidden; }
.hero .backdrop { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-size: cover;
  background-position: center 20%; opacity: 0; transition: opacity 600ms ease; }
.hero .backdrop.on { opacity: 1; }
.hero .shade { position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 38%, rgba(0, 0, 0, 0.25) 72%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(0deg, #000 0%, #000 3%, rgba(0, 0, 0, 0) 45%); }
.hero .backdrop { bottom: 2px; height: auto; }
.hero .content { position: absolute; left: 96px; bottom: 120px; width: 1120px; }
.hero .meta { margin-bottom: 16px; }
.hero .meta span + span::before { content: '·'; margin: 0 16px; color: var(--muted); }
.hero .title { font-size: 76px; font-weight: 200; line-height: 1.08; margin: 0 0 22px; }
.hero .overview { font-size: 26px; font-weight: 300; color: var(--text-2); line-height: 1.45; max-height: 76px;
  overflow: hidden; margin-bottom: 34px; }
.hero .dots { display: inline-flex; align-items: center; margin-left: 40px; vertical-align: middle; }
.hero .dots i { display: block; width: 14px; height: 4px; border-radius: 2px; background: var(--muted); margin-right: 8px;
  transition: width 300ms, background 300ms; }
.hero .dots i.on { width: 44px; background: var(--platinum); }

.cards { position: absolute; left: 80px; right: 80px; bottom: 76px; height: 290px; display: flex; }
.card {
  position: relative; flex: 1; margin: 0 14px; border-radius: 28px; background: var(--surface); padding: 34px 36px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.card .icon svg { width: 54px; height: 54px; fill: var(--silver); transition: fill var(--t-focus); }
.card .card-title { font-size: 34px; font-weight: 300; color: var(--text-2); letter-spacing: 1px; }
.card .card-sub { font-size: 22px; font-weight: 300; color: var(--muted); margin-top: 6px; }
.card .badge { position: absolute; right: 36px; top: 36px; font-size: 18px; letter-spacing: 3px; font-weight: 500; }
.card .badge::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 5px;
  background: var(--text); margin-right: 12px; vertical-align: 2px; }
.card.is-focus { background: var(--surface-raised); }
.card.is-focus .card-title { color: var(--text); font-weight: 400; }
.card.is-focus .card-sub { color: var(--text-2); }
.card.is-focus .icon svg { fill: var(--accent); }
.quick { flex: 0 0 600px; display: flex; flex-wrap: wrap; align-content: space-between; margin: 0 14px; }
.quick .q {
  width: 290px; height: 134px; border-radius: 24px; background: var(--surface); display: flex; align-items: center;
  padding: 0 30px; font-size: 24px; font-weight: 300; color: var(--text-2);
}
.quick .q:nth-child(odd) { margin-right: 20px; }
.quick .q svg { width: 32px; height: 32px; fill: var(--silver); margin-right: 18px; flex: none; }
.quick .q.is-focus { background: var(--surface-raised); color: var(--text); font-weight: 400; }

.signature { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 18px; color: var(--muted); }
.signature b { font-weight: 500; color: var(--text-2); }
.signature .karo-mini { display: inline-block; vertical-align: -4px; margin: 0 6px; }
.signature .karo-mini i { display: inline-block; width: 20px; height: 20px; margin-right: 2px; border-radius: 4px;
  font-style: normal; font-size: 14px; font-weight: 600; line-height: 20px; text-align: center; }

.bg-mark { position: absolute; right: 90px; top: 64px; width: 640px; height: 640px; }

/* --- Kaynak ekle --- */
.split { display: flex; height: 1080px; }
.split .left { width: 760px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.split .left svg.mark { width: 300px; height: 300px; }
.split .left .caption { margin-top: 36px; width: 560px; text-align: center; font-size: 24px; color: var(--text-2);
  line-height: 1.5; letter-spacing: 0.5px; }
.split .right { flex: 1; padding: 70px 120px 0 40px; }
.back-btn { position: absolute; left: 36px; top: 36px; }
.note { font-size: 21px; color: var(--text-2); margin: 22px 0 26px; line-height: 1.45; }
.device-card { border-radius: 26px; background: var(--surface); padding: 40px; }
.device-card .k { font-size: 18px; letter-spacing: 3px; color: var(--muted); font-weight: 500; }
.device-card .v { font-size: 52px; font-weight: 200; letter-spacing: 4px; margin: 6px 0 26px; }
.device-card .status { font-size: 22px; color: var(--text-2); }
.form-error { color: var(--error); font-size: 21px; margin: -6px 0 22px; }

/* --- Sütunlu tarayıcı (Canlı TV / Filmler / Diziler) --- */
.browse { position: absolute; left: 0; top: 132px; right: 0; bottom: 78px; display: flex; }
.col { position: relative; height: 100%; overflow: hidden; }
.col.cats { width: 440px; padding: 0 0 0 80px; }
.col.list { width: 640px; }
.col.preview { flex: 1; padding: 0 80px 0 30px; }
.col .scroll { position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: hidden; padding: 10px 24px 60px 0; }
.col.cats .scroll { left: 80px; }
.col-title { font-size: 18px; letter-spacing: 3px; font-weight: 500; color: var(--muted); margin: 0 0 18px 20px;
  text-transform: uppercase; }
.item {
  display: flex; align-items: center; height: 76px; padding: 0 22px; border-radius: 18px; margin-bottom: 4px;
  font-size: 25px; font-weight: 300; color: var(--text-2);
}
.item .num { width: 66px; font-size: 20px; color: var(--muted); flex: none; }
.item img.logo { width: 64px; height: 44px; object-fit: contain; margin-right: 20px; flex: none; }
.item .name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .count { font-size: 18px; color: var(--muted); margin-left: 12px; }
.item.selected { color: var(--text); background: var(--selected-fill); }
.item.is-focus { color: var(--text); font-weight: 400; background: var(--focus-fill); transform: scale(1.02); }
.item.selected.is-focus { background: rgba(255, 255, 255, 0.14); }
.item .indicator { width: 4px; height: 30px; border-radius: 2px; background: transparent; margin-right: 16px; flex: none; }
.item.selected .indicator { background: var(--accent); }

.preview-box { position: relative; width: 100%; height: 486px; border-radius: 22px; overflow: hidden;
  background: transparent; box-shadow: 0 0 0 1px var(--hairline); }
.preview-box .ph { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; align-items: center;
  justify-content: center; color: var(--muted); font-size: 22px; background: var(--surface); }
.preview-box.playing .ph { display: none; }
.epg { margin-top: 34px; }
.epg .now { font-size: 30px; font-weight: 300; margin: 6px 0 4px; }
.epg .time { font-size: 20px; color: var(--muted); }
.epg .bar { height: 4px; border-radius: 2px; background: var(--hairline); margin: 16px 0 26px; overflow: hidden; }
.epg .bar i { display: block; height: 100%; background: var(--platinum); }
.hint { position: absolute; left: 30px; bottom: 0; font-size: 19px; color: var(--muted); }

/* Afiş ızgarası */
.grid-wrap { position: absolute; left: 470px; right: 0; top: 0; bottom: 0; overflow: hidden; }
.grid-wrap .scroll { padding: 14px 80px 60px 20px; }
.grid { display: flex; flex-wrap: wrap; }
.poster { width: 200px; margin: 0 24px 34px 0; }
.poster .img { position: relative; width: 200px; height: 300px; border-radius: 18px; background: var(--surface) center/cover;
  overflow: hidden; transition: box-shadow var(--t-focus); }
.poster .img .fallback { position: absolute; left: 18px; right: 18px; bottom: 18px; font-size: 22px; color: var(--text-2);
  font-weight: 300; line-height: 1.3; }
.poster .cap { margin-top: 14px; font-size: 21px; color: var(--muted); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; transition: color var(--t-focus); }
.poster .rating { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.7); font-size: 17px; font-weight: 400; }
.poster.is-focus .img { box-shadow: 0 0 0 3px rgba(226, 232, 240, 0.9); }
.poster.is-focus .cap { color: var(--text); font-weight: 400; }
.tile-card { width: 400px; height: 150px; margin: 0 24px 24px 0; border-radius: 22px; background: var(--surface);
  padding: 26px 30px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-card .t { font-size: 26px; font-weight: 300; color: var(--text-2); line-height: 1.3; max-height: 68px; overflow: hidden; }
.tile-card .s { font-size: 18px; color: var(--muted); }
.tile-card.is-focus { background: var(--surface-raised); }
.tile-card.is-focus .t { color: var(--text); font-weight: 400; }

/* --- Ayrıntı --- */
.details .backdrop { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background-size: cover;
  background-position: center 20%; opacity: 0.55; }
.details .shade { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.88) 45%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 50%); }
.details .poster-l { position: absolute; left: 96px; top: 150px; width: 400px; height: 600px; border-radius: 24px;
  background: var(--surface) center/cover; }
.details .info { position: absolute; left: 560px; top: 150px; width: 1180px; }
.details .info .title { font-size: 64px; font-weight: 200; line-height: 1.1; margin-bottom: 18px; }
.details .info .meta span + span::before { content: '·'; margin: 0 14px; color: var(--muted); }
.details .info .plot { font-size: 25px; color: var(--text-2); line-height: 1.5; margin: 30px 0 44px; max-height: 190px;
  overflow: hidden; }
.details .info .cast { font-size: 20px; color: var(--muted); margin-top: 28px; max-height: 60px; overflow: hidden; }
.seasons { display: flex; margin: 10px 0 18px; }
.seasons .tab { flex: none; padding: 0 28px; margin-right: 10px; }
.episodes { position: absolute; left: 560px; right: 80px; top: 640px; bottom: 60px; overflow: hidden; }
.episode { display: flex; align-items: center; height: 92px; border-radius: 18px; padding: 0 24px; margin-bottom: 6px; }
.episode .no { width: 140px; font-size: 22px; color: var(--muted); white-space: nowrap; flex: none; }
.episode .nm { flex: 1; font-size: 25px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.episode .dur { font-size: 20px; color: var(--muted); margin-left: 16px; }
.episode .prog { width: 120px; height: 4px; border-radius: 2px; background: var(--hairline); margin-left: 20px; overflow: hidden; }
.episode .prog i { display: block; height: 100%; background: var(--platinum); }
.episode.is-focus { background: var(--focus-fill); transform: scale(1.01); }
.episode.is-focus .nm { color: var(--text); font-weight: 400; }

/* --- Oynatıcı --- */
.player-ui { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
.player-ui .top, .player-ui .bottom { position: absolute; left: 0; right: 0; padding: 0 96px;
  transition: opacity 300ms ease, transform 300ms var(--ease); }
.player-ui .top { top: 0; height: 220px; padding-top: 64px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); }
.player-ui .bottom { bottom: 0; height: 300px; padding-top: 120px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0)); }
.player-ui.idle .top { opacity: 0; transform: translateY(-20px); }
.player-ui.idle .bottom { opacity: 0; transform: translateY(20px); }
.player-ui .ptitle { font-size: 40px; font-weight: 300; }
.player-ui .psub { font-size: 22px; color: var(--text-2); margin-top: 8px; }
.seekbar { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); margin: 0 0 22px; }
.seekbar .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--platinum); }
.seekbar .knob { position: absolute; top: -9px; width: 24px; height: 24px; border-radius: 12px; background: #fff; margin-left: -12px; }
.ptimes { display: flex; justify-content: space-between; font-size: 22px; color: var(--text-2); }
.pstate { position: absolute; left: 50%; top: 50%; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 70px;
  background: rgba(0, 0, 0, 0.55); display: none; align-items: center; justify-content: center; }
.pstate svg { width: 64px; height: 64px; fill: #fff; }
.pstate.on { display: flex; }
.live-pill { display: inline-block; padding: 6px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.12);
  font-size: 18px; font-weight: 500; letter-spacing: 3px; margin-left: 20px; vertical-align: middle; }
.watermark { position: absolute; font-size: 30px; font-weight: 500; color: #fff; white-space: nowrap; pointer-events: none;
  transition: left 1.6s ease, top 1.6s ease; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }

/* --- Yükleniyor, boş durum, uyarı --- */
.spinner { width: 54px; height: 54px; border-radius: 27px; border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--platinum); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.center-msg { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: var(--text-2); font-size: 24px; }
.center-msg .spinner { margin-bottom: 26px; }
.toast { position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%); z-index: 20; padding: 22px 40px;
  border-radius: 36px; background: rgba(22, 22, 28, 0.96); font-size: 22px; color: var(--text);
  animation: screen-in 220ms var(--ease) both; }
.dialog-scrim { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 15; background: var(--scrim);
  display: flex; align-items: center; justify-content: center; }
.dialog { width: 820px; border-radius: 30px; background: var(--surface); padding: 56px; text-align: center; }
.dialog .title-m { margin-bottom: 18px; color: var(--text); }
.dialog .body { margin-bottom: 40px; }

/* --- Yasal metin --- */
.legal { position: absolute; left: 260px; right: 260px; top: 90px; bottom: 60px; display: flex; flex-direction: column; }
.legal .text { flex: 1; overflow: hidden; position: relative; margin: 28px 0; border-radius: 24px; background: var(--surface);
  padding: 40px 48px; }
.legal .text.is-focus { transform: none; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14); }
.legal .text .inner { position: absolute; left: 48px; right: 48px; top: 40px; transition: transform 200ms var(--ease); }
.legal .text h3 { font-size: 24px; font-weight: 500; margin: 26px 0 10px; color: var(--platinum); }
.legal .text p { font-size: 21px; line-height: 1.55; color: var(--text-2); margin: 0; }
.check { display: flex; align-items: center; padding: 14px 20px; border-radius: 18px; font-size: 22px; color: var(--text-2);
  margin-bottom: 22px; }
.check .box { width: 34px; height: 34px; border-radius: 8px; border: 2px solid var(--silver); margin-right: 20px; flex: none;
  display: flex; align-items: center; justify-content: center; }
.check .box svg { width: 24px; height: 24px; fill: #000; display: none; }
.check.on .box { background: var(--platinum); border-color: var(--platinum); }
.check.on .box svg { display: block; }
.check.is-focus { background: var(--focus-fill); color: var(--text); transform: none; }

/* --- Ayarlar --- */
.settings { position: absolute; left: 0; top: 132px; right: 0; bottom: 0; }
.settings .scroll { position: absolute; left: 260px; right: 260px; top: 0; bottom: 0; overflow: hidden; padding-bottom: 140px; }
.settings h2 { font-size: 18px; letter-spacing: 3px; font-weight: 500; color: var(--muted); margin: 34px 20px 14px;
  text-transform: uppercase; }
.srow { display: flex; align-items: center; min-height: 86px; padding: 0 26px; border-radius: 20px; font-size: 25px;
  color: var(--text-2); }
.srow .v { margin-left: auto; color: var(--muted); font-size: 22px; }
.srow.is-focus { background: var(--focus-fill); color: var(--text); font-weight: 400; transform: scale(1.01); }
.srow.danger { color: var(--error); }

/* --- Splash --- */
.splash { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.splash svg.mark { width: 300px; height: 300px; }
.splash .wordmark { font-size: 64px; margin-top: 48px; }
.splash .tagline { margin-top: 26px; font-size: 20px; letter-spacing: 6px; color: var(--muted); text-transform: uppercase; }
.reveal > * { opacity: 0; animation: letter-in 500ms var(--ease) forwards; }
@keyframes letter-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tile-in { opacity: 0; transform-origin: center; animation: tile-in 520ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes tile-in { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.press { animation: press 460ms ease-in-out 2; transform-origin: center; }
@keyframes press { 0%, 100% { transform: none; } 40% { transform: translateY(-6px); } 70% { transform: scale(0.9); } }

.hidden { display: none !important; }

/* Fare kipinde geri düğmesi (TV'de kumandanın GERİ tuşu kullanılır). */
#pointer-back { display: none; position: absolute; left: 22px; top: 30px; z-index: 50; width: 64px; height: 64px;
  border-radius: 32px; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(22, 22, 28, 0.82); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); transition: background 0.15s; }
#pointer-back:hover { background: rgba(60, 60, 70, 0.95); }
#pointer-back svg { width: 34px; height: 34px; fill: #fff; }
body.pointer.can-back #pointer-back { display: flex; }
