html, body { margin: 0; background: #0f1218; color: #e8ecf1; font-family: "Samsung One", "LG Smart UI", Roboto, Arial, sans-serif; overflow: hidden; }
#stage { width: 1920px; height: 1080px; transform-origin: 0 0; position: relative; overflow: hidden; }
header { display: flex; align-items: center; padding: 40px 80px 10px; gap: 30px; }
.brand { font-size: 44px; font-weight: bold; color: #2ec4a0; flex: 1; }
#clock { font-size: 34px; color: #9aa4b2; }
.chip { background: #1d222c; border-radius: 40px; padding: 14px 32px; font-size: 30px; border: 4px solid transparent; }
header .chip, .brand { white-space: nowrap; } /* dil düğmesi eklendi; uzun çeviride satır kırılmasın, arama kutusu daralır */
.focused { border-color: #2ec4a0 !important; background: #23413c !important; }
#status { padding: 0 80px; font-size: 28px; color: #9aa4b2; min-height: 10px; }
#rows { position: absolute; top: 150px; left: 0; right: 0; bottom: 0; overflow: hidden; }
#rowsInner { transition: transform .2s; }
.row { margin: 0 0 26px 80px; }
.row h2 { font-size: 34px; margin: 0 0 14px; font-weight: 600; }
.cards { display: flex; gap: 26px; transition: transform .2s; }
.card { flex: 0 0 300px; min-width: 0; height: 230px; background: #1d222c; border-radius: 18px; padding: 16px; box-sizing: border-box;
  border: 4px solid transparent; transition: transform .12s; display: flex; flex-direction: column; }
.card.focused { transform: scale(1.08); }
.card .logo { height: 110px; display: flex; align-items: center; justify-content: center; }
.card .logo img { max-height: 110px; max-width: 240px; }
.card .ph { font-size: 48px; font-weight: bold; color: #2ec4a0; }
.card .name { font-size: 26px; font-weight: bold; margin-top: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .sub { font-size: 21px; color: #9aa4b2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .fav { color: #f5c542; }
.hidden { display: none !important; }
#player { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #000; z-index: 10; }
#video { width: 100%; height: 100%; background: #000; }
#osd { position: absolute; left: 4vw; right: 4vw; bottom: 6vh; background: rgba(0,0,0,.72); border-radius: 18px; padding: 1.4vw 1.8vw; font-size: max(16px, 1.6vw); }
#osd .t { font-size: max(20px, 2.1vw); font-weight: bold; }
#osd .s { color: #b9c2cf; margin-top: 8px; }
#spinner { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px; border: 10px solid #2ec4a066; border-top-color: #2ec4a0; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#picker { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.7); z-index: 20; display: flex; align-items: center; justify-content: center; }
#picker .box { width: 900px; height: 860px; background: #1d222c; border-radius: 22px; padding: 34px; box-sizing: border-box; display: flex; flex-direction: column; }
#picker .title { font-size: 38px; font-weight: bold; margin-bottom: 14px; }
#picker .query { font-size: 30px; color: #9aa4b2; padding: 10px 0 18px; }
#pickList { overflow: hidden; flex: 1; }
.pitem { font-size: 32px; padding: 14px 20px; border-radius: 12px; border: 4px solid transparent; }
#toast { position: absolute; left: 50%; top: 60px; transform: translateX(-50%); background: rgba(0,0,0,.85); padding: 18px 34px; border-radius: 16px; font-size: 30px; z-index: 30; }
#pickQuery { background: #0f1218; color: #e8ecf1; border: 4px solid transparent; border-radius: 12px; padding: 12px 18px; margin-bottom: 14px; outline: none; }
.card, .chip, .pitem { cursor: pointer; }
#bar { position: absolute; top: 16px; left: 0; right: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; z-index: 12; }
.pbtn.rot { display: none; }
.pbtn { background: rgba(29,34,44,.9); border: 2px solid #2ec4a0; border-radius: 40px; padding: 8px 18px; font-size: 18px; cursor: pointer; color: #e8ecf1; white-space: nowrap; }
.pbtn:hover { background: #23413c; }
#plist { position: absolute; top: 0; left: 0; bottom: 0; width: max(280px, 24vw); background: rgba(16,19,24,.94); overflow-y: auto; z-index: 13; padding: 1vw; box-sizing: border-box; }
.ptitle { color: #2ec4a0; font-weight: bold; font-size: max(16px, 1.4vw); margin: 0 0 .8vw; }
.pch { display: flex; gap: .8vw; align-items: center; padding: .6vw; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.pch:hover { background: #23413c; } .pch.cur { border-color: #2ec4a0; } .pch.bad { opacity: .45; }
.pch img { width: max(48px, 3.6vw); height: max(32px, 2.4vw); object-fit: contain; flex: none; }
.pn { font-size: max(14px, 1.1vw); font-weight: bold; } .ps { font-size: max(12px, .9vw); color: #9aa4b2; }
#q { background: #1d222c; border: 4px solid transparent; border-radius: 40px; padding: 14px 32px; font-size: 30px; color: #e8ecf1; width: 420px; outline: none; }
#q:focus { border-color: #2ec4a0; }
#plist:not(.hidden) ~ #bar { left: max(280px, 24vw); }
#btnHesap.premium { color: #ffd34d; }
#hesapPen { position: absolute; inset: 0; background: rgba(0,0,0,.7); z-index: 30; display: flex; align-items: center; justify-content: center; }
#hesapPen.hidden { display: none; }
#hesapPen .box { width: 760px; background: #1d222c; border-radius: 22px; padding: 40px; box-sizing: border-box; font-size: 28px; }
#hesapPen .title { font-size: 40px; font-weight: bold; margin-bottom: 20px; }
#hesapPen input { display: block; width: 100%; box-sizing: border-box; font-size: 30px; padding: 16px; margin: 10px 0; border-radius: 12px; border: 2px solid #39414f; background: #11141a; color: #fff; }
#hesapPen .hbtn { display: block; text-align: center; background: #2f7cf6; color: #fff; text-decoration: none; border-radius: 14px; padding: 16px; margin-top: 14px; cursor: pointer; }
#hesapPen .hbtn.ikincil { background: #2a303c; }
#hesapPen .not { color: #9aa4b2; font-size: 24px; margin-top: 26px; }
#hHata { color: #ff8a8a; min-height: 34px; }
/* Satır okları: fareyle satır içinde gezinme */
.row { position: relative; }
.arw { position: absolute; top: 50%; z-index: 5; width: 64px; height: 120px; margin-top: -30px; display: flex; align-items: center; justify-content: center;
  font-size: 70px; background: rgba(13,15,20,.85); border-radius: 16px; cursor: pointer; opacity: .55; }
.arw:hover { opacity: 1; background: #2ec4a0; color: #0d0f14; }
.arw.l { left: -72px; } .arw.r { right: 20px; }
/* Kategori ızgarası */
.rt { cursor: pointer; display: inline-block; }
.rt .all { font-size: 24px; color: #2ec4a0; font-weight: normal; margin-left: 16px; }
.rt:hover .all { text-decoration: underline; }
#grid { position: absolute; top: 130px; left: 0; right: 0; bottom: 0; background: #0f1218; z-index: 15; overflow-y: auto; padding: 0 60px 40px 80px; }
#grid .ghead { display: flex; align-items: center; gap: 30px; position: sticky; top: 0; background: #0f1218; padding: 10px 0 16px; z-index: 2; }
#grid .ghead h2 { font-size: 36px; margin: 0; }
#grid .gclose { cursor: pointer; }
#grid .gcards { display: flex; flex-wrap: wrap; gap: 26px; }
/* Oynatma kontrolleri (alt çubuk) */
#ctl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 18px 24px; z-index: 12;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 18px; }
#ctl #cSeek { flex: 1; accent-color: #2ec4a0; height: 6px; cursor: pointer; }
#ctl select { background: rgba(29,34,44,.9); color: #e8ecf1; border: 2px solid #2ec4a0; border-radius: 20px; padding: 6px 10px; font-size: 16px; cursor: pointer; }
#grid .gf { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 14px; }
#grid .gfl { font-size: 22px; color: #9aa4b2; min-width: 60px; }
#grid .gchip { font-size: 20px; padding: 6px 16px; border-radius: 20px; background: #1d222c; cursor: pointer; border: 2px solid transparent; }
#grid .gchip.on { border-color: #2ec4a0; color: #2ec4a0; }
#grid .gchip:hover { background: #23413c; }
#ctl select#cS { max-width: 220px; }
video::cue { font-size: 2.2vw; background: rgba(0,0,0,.65); }
#cevYazi { position: absolute; left: 50%; transform: translateX(-50%); max-width: 80%; bottom: 22%; text-align: center; font-size: 2.1vw; line-height: 1.3; color: #fff;
  background: rgba(0,0,0,.72); padding: .2em .6em; border-radius: 8px; z-index: 11; pointer-events: none; }
#cevYazi:empty { display: none; }

/* ---------- Telefon / tablet (html.mobil): doğal kaydırma, dokunmaya uygun boyutlar ---------- */
html.mobil, html.mobil body { overflow: auto; -webkit-text-size-adjust: 100%; }
html.mobil #stage { width: 100%; height: auto; min-height: 100vh; transform: none; overflow: visible; }
html.mobil header { flex-wrap: wrap; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 12px 8px; }
html.mobil .brand { font-size: 22px; flex: 1 1 auto; }
html.mobil #clock { display: none; }
html.mobil .chip { font-size: 14px; padding: 8px 14px; border-width: 2px; }
html.mobil #q { order: 9; flex: 1 1 100%; width: auto; font-size: 16px; padding: 10px 16px; border-width: 2px; box-sizing: border-box; }
html.mobil #status { padding: 0 12px; font-size: 13px; }
html.mobil #rows { position: static; overflow: visible; }
html.mobil #rowsInner { transform: none !important; }
html.mobil .row { margin: 0 0 14px 0; }
html.mobil .row h2 { font-size: 17px; margin: 0 12px 8px; }
html.mobil .rt .all { font-size: 13px; margin-left: 8px; }
html.mobil .arw { display: none; }
html.mobil .cards { overflow-x: auto; transform: none !important; gap: 10px; padding: 0 12px 4px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scrollbar-width: none; }
html.mobil .cards::-webkit-scrollbar { display: none; }
html.mobil .card { flex: 0 0 132px; height: 128px; padding: 8px; border-radius: 12px; border-width: 2px; scroll-snap-align: start; }
html.mobil .card.focused { transform: none; border-color: transparent !important; background: #1d222c !important; }
html.mobil .card .logo { height: 56px; }
html.mobil .card .logo img { max-height: 56px; max-width: 110px; }
html.mobil .card .ph { font-size: 24px; }
html.mobil .card .name { font-size: 13px; margin-top: 6px; }
html.mobil .card .sub { font-size: 11px; }
html.mobil #grid { position: fixed; top: 0; padding: calc(8px + env(safe-area-inset-top)) 10px 20px; }
html.mobil #grid .ghead { gap: 10px; padding: 6px 0 10px; }
html.mobil #grid .ghead h2 { font-size: 17px; }
html.mobil #grid .gcards { gap: 8px; }
html.mobil #grid .card { flex: 0 0 calc(33.33% - 6px); }
html.mobil #grid .gchip { font-size: 13px; padding: 4px 10px; }
html.mobil #grid .gfl { font-size: 13px; min-width: 34px; }
html.mobil #picker .box { width: 92vw; height: 80vh; padding: 16px; }
html.mobil #picker .title { font-size: 20px; }
html.mobil .pitem { font-size: 16px; padding: 10px 12px; border-width: 2px; }
html.mobil #pickQuery { font-size: 16px; }
html.mobil #toast { top: 12px; font-size: 15px; padding: 10px 16px; }
html.mobil #bar { top: calc(6px + env(safe-area-inset-top)); gap: 6px; padding: 0 6px; }
html.mobil .pbtn { font-size: 13px; padding: 6px 10px; }
html.mobil #ctl { gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); flex-wrap: wrap; font-size: 13px; }
html.mobil #ctl #cSeek { flex: 1 1 100%; order: -1; }
html.mobil #ctl select { font-size: 13px; padding: 4px 6px; }
html.mobil #osd { font-size: 14px; padding: 10px 12px; border-radius: 12px; }
html.mobil #osd .t { font-size: 16px; }
html.mobil #plist { width: 80vw !important; }
html.mobil #hesapPen .box { width: 92vw; padding: 18px; font-size: 16px; }
html.mobil #hesapPen .title { font-size: 22px; }
html.mobil #hesapPen input { font-size: 16px; padding: 10px; }
html.mobil #osd { bottom: calc(130px + env(safe-area-inset-bottom)); left: 12px; right: 12px; }
html.mobil .pbtn.rot { display: inline-block; font-size: 15px; }
html.mobil #ctl .pbtn[data-act=full], html.mobil #bar .pbtn[data-act=full] { display: none; }
@media (orientation: portrait) { html.mobil #video { box-sizing: border-box; padding-top: calc(96px + env(safe-area-inset-top)); object-position: center top; } }
/* Gömülü YouTube oynatıcı (diziler, Yeşilçam) */
#ytkat { position: fixed; inset: 0; background: #000; z-index: 50; }
#ytkat iframe { width: 100%; height: 100%; border: 0; }
#ytkat .ytbar { position: absolute; top: 12px; left: 12px; display: flex; gap: 10px; }
#ytkat .chip { cursor: pointer; background: rgba(15,18,24,.85); }
#ytkat .ytdis { color: #fff; text-decoration: none; background: #c4302b; }
