/* Multi Sport TV – ortak stil (site + panel). Renkler referans HTML tasarımından alınmıştır. */
:root {
  --bg: #141414; --bg-deep: #0f0f0f; --bg-footer: #0a0a0a; --panel: #1a1a1a; --card: #222; --input: #2b2b2b;
  --line: #2a2a2a; --line-2: #333; --text: #fff; --text-2: #e5e5e5; --muted: #a3a3a3; --dim: #777;
  --red: #e50914; --red-2: #f40612; --green: #46d369; --gold: #f5c518; --orange: #ff4500;
  --radius: 12px; --header-h: 68px; --tab-h: 0px; --pad: 50px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.45; overflow-x: hidden; padding-bottom: var(--tab-h); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .green { color: var(--green); } .red { color: var(--red); }
.right { text-align: right; } .center { text-align: center; } .nowrap { white-space: nowrap; } .mono { font-family: Consolas, 'Courier New', monospace; }
.mt { margin-top: 20px; } .mb { margin-bottom: 20px; } .hide { display: none !important; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 880px; }
.page { padding-top: calc(var(--header-h) + 30px); min-height: 70vh; }
.page.flush { padding-top: 0; }
.page-title { font-size: 1.9rem; margin-bottom: 24px; }

/* ---------- İkonlar: tek renk çizgi seti, metin rengini alır ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.fill { fill: currentColor; stroke: none; }

/* ---------- Üst menü ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); padding: 0 var(--pad); display: flex; align-items: center; gap: 28px; z-index: 100;
  background: linear-gradient(to bottom, rgba(0,0,0,.85) 10%, rgba(0,0,0,0)); transition: background .3s; }
.site-header.solid { background: rgba(0,0,0,.95); border-bottom: 1px solid var(--line); }
.logo { font-size: 1.55rem; font-weight: bold; color: var(--red); text-transform: uppercase; letter-spacing: 2px; white-space: nowrap; }
.main-nav { display: flex; gap: 20px; flex: 1; min-width: 0; }
.main-nav a { color: var(--text-2); font-size: .95rem; white-space: nowrap; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: #fff; font-weight: bold; }
.header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.search-form input { background: rgba(0,0,0,.55); border: 1px solid var(--line-2); border-radius: 20px; padding: 8px 14px; width: 190px; font-size: .9rem; transition: width .25s, border-color .2s; }
.search-form input:focus { outline: none; border-color: var(--red); width: 240px; }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--card); padding: 8px 15px; border-radius: 20px; font-size: .9rem; font-weight: bold; border: 1px solid var(--line-2); white-space: nowrap; cursor: pointer; transition: .2s; position: relative; }
.pill-btn:hover { background: var(--line-2); border-color: var(--red); }
.pill-btn img, .avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--line-2); }
.pill-btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.dot { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); font-size: .7rem; display: grid; place-items: center; }

/* Mobil alt sekme çubuğu */
.tabbar { display: none; position: fixed; inset: auto 0 0 0; height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(10,10,10,.97); border-top: 1px solid var(--line); z-index: 100; }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: .68rem; color: var(--muted); }
.tabbar a .icon { width: 22px; height: 22px; opacity: .75; }
.tabbar a.active { color: #fff; } .tabbar a.active .icon { opacity: 1; }

/* ---------- Düğmeler / rozetler ---------- */
.btn { padding: 12px 28px; font-size: 1.05rem; font-weight: bold; border: 1px solid transparent; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: all .2s; text-align: center; }
.btn:active { transform: scale(.98); }
.btn-play { background: #fff; color: #000; } .btn-play:hover { background: #e6e6e6; }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: var(--red-2); }
.btn-ghost { background: rgba(109,109,110,.7); color: #fff; border-color: rgba(255,255,255,.4); } .btn-ghost:hover { background: rgba(109,109,110,.9); border-color: #fff; }
.btn-dark { background: var(--line-2); color: #fff; } .btn-dark:hover { background: #444; }
.btn-outline { background: transparent; border-color: #8c8c8c; color: #fff; } .btn-outline:hover { background: #fff; color: #000; }
.btn-sm { padding: 7px 14px; font-size: .85rem; border-radius: 6px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.badge { display: inline-block; font-size: .68rem; padding: 4px 8px; border-radius: 4px; font-weight: bold; letter-spacing: .3px; white-space: nowrap; }
.badge.live { background: var(--red); animation: pulse 2s infinite; }
.badge.gold { background: var(--gold); color: #000; }
.badge.vod { background: rgba(51,51,51,.85); border: 1px solid #777; backdrop-filter: blur(4px); }
.badge.warn { background: var(--orange); }
.badge.green { background: rgba(70,211,105,.15); color: var(--green); border: 1px solid rgba(70,211,105,.4); }
.badge.gray { background: var(--line-2); color: var(--muted); }
.badge.price { background: rgba(0,0,0,.75); border: 1px solid rgba(255,255,255,.25); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 85vh; background: #000 center/cover no-repeat; display: flex; align-items: center; padding: calc(var(--header-h) + 20px) var(--pad) 90px; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(20,20,20,.92) 20%, transparent 80%), linear-gradient(to top, var(--bg) 0%, transparent 25%); }
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; margin: 14px 0; text-shadow: 2px 2px 4px rgba(0,0,0,.5); }
.hero-desc { font-size: 1.1rem; margin-bottom: 14px; color: #d2d2d2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-meta span, .detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-weight: bold; margin-bottom: 24px; font-size: .95rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero.small { min-height: 46vh; }

/* ---------- Şeritler / kartlar ---------- */
.rows { margin-top: -60px; position: relative; z-index: 3; padding-bottom: 30px; }
.rows.plain { margin-top: 0; }
.row { margin-bottom: 40px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 var(--pad); margin-bottom: 14px; }
.row-title { font-size: 1.35rem; color: var(--text-2); font-weight: bold; }
.row-more { color: var(--muted); font-size: .9rem; white-space: nowrap; } .row-more:hover { color: #fff; }
.slider { display: flex; gap: 15px; overflow-x: auto; padding: 6px var(--pad) 18px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; scroll-margin-left: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.grid .card, .grid .short-card { flex: none; width: 100%; }
.grid.shorts { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

.card { flex: 0 0 280px; aspect-ratio: 16 / 9; background: var(--card); border-radius: var(--radius); position: relative; overflow: hidden; border: 1px solid var(--line-2); transition: transform .25s, border-color .25s, box-shadow .25s; display: block; }
.card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .25s; }
.card:hover { transform: scale(1.04); box-shadow: 0 10px 20px rgba(0,0,0,.7); z-index: 4; border-color: var(--red); }
.card:hover img { opacity: 1; }
.card-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; }
.card-info { position: absolute; inset: auto 0 0 0; padding: 26px 12px 11px; background: linear-gradient(to top, rgba(0,0,0,.94), transparent); }
.card-title { font-size: .95rem; font-weight: bold; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { font-size: .76rem; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.short-card { flex: 0 0 170px; aspect-ratio: 9 / 16; }
.chip { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 9px; width: 108px; text-align: center; font-size: .82rem; color: var(--text-2); }
.chip img, .chip .ph { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-2); background: var(--card); transition: border-color .2s; display: grid; place-items: center; font-size: 1.8rem; font-weight: bold; color: var(--red); }
.chip:hover img, .chip:hover .ph { border-color: var(--red); }
.cat-pill { flex: 0 0 auto; padding: 10px 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); font-size: .92rem; font-weight: bold; white-space: nowrap; transition: .2s; }
.cat-pill:hover, .cat-pill.active { border-color: var(--red); background: rgba(229,9,20,.12); }
.empty { padding: 34px 20px; text-align: center; color: var(--muted); background: var(--panel); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.ad { display: block; margin: 0 var(--pad) 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.ad img { width: 100%; max-height: 200px; object-fit: cover; }
.ad::after { content: 'Reklam'; position: absolute; top: 8px; right: 8px; font-size: .62rem; background: rgba(0,0,0,.7); padding: 2px 7px; border-radius: 3px; color: var(--muted); }
.container .ad, .footer-content .ad { margin-left: 0; margin-right: 0; }

/* ---------- Kutular / formlar ---------- */
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.box + .box { margin-top: 20px; }
.box-title { font-size: 1.25rem; font-weight: bold; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-group label, .label { font-size: .88rem; color: var(--muted); }
.form-control { width: 100%; background: var(--input); border: 1px solid #3b3b3b; color: #fff; padding: 13px 14px; border-radius: 8px; font-size: 1rem; transition: border-color .2s; }
.form-control:focus { outline: none; border-color: var(--red); }
.form-control:disabled, .form-control[readonly] { opacity: .65; cursor: not-allowed; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea.form-control { min-height: 110px; resize: vertical; }
input[type=file].form-control { padding: 9px; font-size: .88rem; }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: .92rem; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); flex: none; margin-top: 1px; }
.help { font-size: .8rem; color: var(--dim); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.alerts { position: fixed; top: calc(var(--header-h) + 10px); left: 50%; transform: translateX(-50%); z-index: 200; width: min(560px, calc(100% - 24px)); display: grid; gap: 8px; }
.alert { padding: 13px 16px; border-radius: 10px; font-size: .93rem; border: 1px solid; box-shadow: 0 10px 30px rgba(0,0,0,.6); display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; }
.alert.success { background: #10271a; border-color: #1f6b3a; color: #9be7b4; }
.alert.error { background: #2d1113; border-color: #7a1c22; color: #ffb3b8; }
.alert.info { background: #14212e; border-color: #24507a; color: #a9d2f7; }
.alert button { background: none; border: 0; cursor: pointer; opacity: .7; font-size: 1.1rem; line-height: 1; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 12px 18px; color: var(--muted); font-weight: bold; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a.active, .tabs a:hover { color: #fff; border-color: var(--red); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { color: var(--muted); font-weight: normal; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; background: #171717; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(255,255,255,.02); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tfoot td { font-weight: bold; background: #171717; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.pager a { min-width: 36px; padding: 8px 10px; text-align: center; border-radius: 8px; background: var(--card); border: 1px solid var(--line-2); font-size: .9rem; }
.pager a.current, .pager a:hover { background: var(--red); border-color: var(--red); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stat { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; }
.stat .v { font-size: 1.55rem; font-weight: bold; font-variant-numeric: tabular-nums; }
.stat .k { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 9px 14px; font-size: .93rem; }
.kv dt { color: var(--muted); } .kv dd { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Etkinlik detayı ---------- */
.detail-hero { height: 62vh; min-height: 320px; background: #000 center/cover no-repeat; position: relative; }
.detail-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(20,20,20,.4) 50%, rgba(0,0,0,.8) 100%); }
.detail { margin-top: -150px; position: relative; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 34px; align-items: start; padding-bottom: 40px; }
.detail-title { font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 12px 0; text-shadow: 2px 2px 4px rgba(0,0,0,.8); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); margin-bottom: 20px; font-weight: bold; }
.detail-desc { font-size: 1.08rem; color: #d2d2d2; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.channel-line { display: inline-flex; align-items: center; gap: 10px; font-weight: bold; }
.channel-line img, .channel-line .ph { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--card); display: grid; place-items: center; color: var(--red); }
.buy-box { position: sticky; top: calc(var(--header-h) + 14px); }
.tt-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.tt-row .name { font-weight: bold; } .tt-row .price { color: var(--green); font-weight: bold; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.qty button { width: 36px; height: 38px; background: var(--card); border: 0; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 40px; height: 38px; text-align: center; background: transparent; border: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .95rem; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.2rem; font-weight: bold; }

/* ---------- Oynatıcı ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000 center/cover no-repeat; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.8); border: 1px solid var(--line-2); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .badge.live { position: absolute; top: 16px; left: 16px; z-index: 3; font-size: .8rem; padding: 5px 10px; pointer-events: none; }
.gate { position: absolute; inset: 0; background: rgba(0,0,0,.78); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; }
.gate .lock { font-size: 2.6rem; line-height: 1; } .gate h2 { font-size: clamp(1.1rem, 3vw, 1.6rem); } .gate p { color: var(--muted); max-width: 440px; }
.video-title { font-size: 1.6rem; font-weight: 600; margin: 18px 0 8px; }
.video-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .9rem; color: #aaa; }
.side-list { display: grid; gap: 12px; }
.side-item { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: start; }
.side-item .thumb { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--card); position: relative; }
.side-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-item .t { font-size: .9rem; font-weight: bold; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-item .m { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.comments { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.comment { display: flex; gap: 14px; margin-bottom: 16px; }
.comment .avatar { width: 42px; height: 42px; flex: none; display: grid; place-items: center; font-weight: bold; }
.comment-body { flex: 1; background: #181818; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--card); min-width: 0; }
.comment-body .h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: .9rem; }
.comment-body .x { color: #ccc; font-size: .94rem; overflow-wrap: anywhere; white-space: pre-line; }

/* ---------- Shorts ---------- */
.shorts-feed { height: calc(100dvh - var(--header-h) - var(--tab-h)); margin-top: var(--header-h); overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.shorts-feed::-webkit-scrollbar { display: none; }
.short { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; padding: 10px; }
.short-frame { position: relative; height: 100%; max-width: 100%; aspect-ratio: 9 / 16; background: #000 center/cover no-repeat; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); }
.short-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.short-info { position: absolute; inset: auto 0 0 0; padding: 50px 16px 16px; background: linear-gradient(to top, rgba(0,0,0,.9), transparent); pointer-events: none; }
.short-info a { pointer-events: auto; }
.shorts-page .site-footer { display: none; }

/* ---------- Kanal ---------- */
.channel-cover { height: 300px; background: #000 center/cover no-repeat; position: relative; }
.channel-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), transparent 55%), linear-gradient(to bottom, rgba(0,0,0,.6), transparent 35%); }
.channel-head { display: flex; align-items: flex-end; gap: 22px; margin-top: -64px; position: relative; z-index: 3; flex-wrap: wrap; margin-bottom: 24px; }
.channel-logo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); background: var(--card); display: grid; place-items: center; font-size: 3rem; font-weight: bold; color: var(--red); flex: none; }
.channel-head h1 { font-size: 1.9rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verified { color: #fff; font-size: .95em; }

/* ---------- Hesabım ---------- */
.account { display: flex; gap: 28px; align-items: flex-start; padding-bottom: 40px; }
.sidebar { width: 270px; flex: none; background: var(--panel); border-radius: var(--radius); padding: 22px 0; border: 1px solid var(--line); }
.sidebar-header { padding: 0 22px 18px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.sidebar-header h3 { font-size: 1.15rem; margin-bottom: 4px; overflow-wrap: anywhere; } .sidebar-header p { font-size: .84rem; color: var(--muted); }
.sidebar-menu { list-style: none; }
.sidebar-menu a, .sidebar-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 22px; color: var(--muted); font-size: .98rem; border: 0; border-left: 4px solid transparent; background: none; cursor: pointer; text-align: left; transition: .2s; }
.sidebar-menu a:hover, .sidebar-menu button:hover { background: var(--line); color: #fff; border-left-color: #555; }
.sidebar-menu a.active { background: var(--line); color: #fff; border-left-color: var(--red); font-weight: bold; }
.sidebar-menu .sep { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.sidebar-menu .logout { color: var(--red); }
.content-area { flex: 1; min-width: 0; }
.ref-card { background: linear-gradient(135deg, var(--red) 0%, #8a050c 100%); padding: 24px; border-radius: var(--radius); box-shadow: 0 10px 20px rgba(229,9,20,.2); }
.ref-card h4 { font-size: 1.1rem; font-weight: 500; }
.ref-desc { font-size: .86rem; color: rgba(255,255,255,.85); margin-top: 8px; }
.ref-code-box { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(0,0,0,.3); padding: 12px 16px; border-radius: 8px; margin-top: 14px; border: 1px solid rgba(255,255,255,.2); }
.ref-code { font-size: 1.35rem; font-weight: bold; letter-spacing: 2px; overflow-wrap: anywhere; }
.btn-copy { background: #fff; color: var(--red); border: 0; padding: 8px 14px; border-radius: 6px; font-weight: bold; cursor: pointer; white-space: nowrap; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Dijital bilet ---------- */
.ticket { background: #fff; color: #111; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr 210px; max-width: 720px; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.ticket-top { grid-column: 1 / -1; background: var(--red); color: #fff; padding: 11px 22px; font-size: .78rem; font-weight: bold; letter-spacing: 1.5px; display: flex; justify-content: space-between; gap: 10px; }
.ticket-main { padding: 22px; min-width: 0; }
.ticket-main h2 { font-size: 1.4rem; margin-bottom: 14px; }
.ticket-main dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ticket-main dt { font-size: .68rem; text-transform: uppercase; letter-spacing: 1px; color: #888; }
.ticket-main dd { font-weight: bold; font-size: .95rem; overflow-wrap: anywhere; }
.ticket-qr { border-left: 2px dashed #ccc; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.ticket-qr svg { width: 100%; height: auto; }
.ticket-qr .code { font-family: Consolas, monospace; font-size: .74rem; color: #555; text-align: center; }
.ticket.used, .ticket.cancelled { filter: grayscale(1); opacity: .75; }
.ticket-mini { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.ticket-mini .date { text-align: center; background: var(--bg); border-radius: 8px; padding: 10px 6px; }
.ticket-mini .date b { display: block; font-size: 1.5rem; line-height: 1; } .ticket-mini .date span { font-size: .72rem; color: var(--muted); text-transform: uppercase; }

/* ---------- Takvim ---------- */
.cal-day { margin-bottom: 30px; }
.cal-day h3 { font-size: 1.05rem; color: var(--muted); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.cal-item { display: grid; grid-template-columns: 70px 120px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: var(--radius); transition: background .2s; }
.cal-item:hover { background: var(--panel); }
.cal-item .time { font-size: 1.15rem; font-weight: bold; }
.cal-item .thumb { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--card); }
.cal-item .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Giriş / kayıt ---------- */
.auth-bg { position: fixed; inset: 0; background: url('https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1600&q=70') center/cover no-repeat; opacity: .4; z-index: -2; }
.auth-overlay { position: fixed; inset: 0; background: radial-gradient(circle, rgba(0,0,0,.4) 0%, #000 100%); z-index: -1; }
.auth-wrapper { display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 96px 16px 40px; }
.auth-container { background: #181818; padding: 44px 48px; border-radius: 20px; width: 100%; max-width: 460px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.8), 0 0 20px rgba(229,9,20,.15); border: 1px solid var(--line); }
.auth-container h1 { font-size: 1.9rem; margin-bottom: 24px; font-weight: 600; }
.auth-container .form-control { margin-bottom: 14px; border-radius: 12px; padding: 15px 18px; }
.auth-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: .86rem; color: #b3b3b3; flex-wrap: wrap; }
.auth-actions a:hover, .signup-text a:hover { text-decoration: underline; color: #fff; }
.signup-text { margin-top: 30px; color: #8a8a8a; text-align: center; } .signup-text a { color: #fff; font-weight: 500; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.seg label { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 8px; border-radius: 12px; background: var(--input); border: 1px solid var(--line-2); cursor: pointer; font-weight: bold; font-size: .93rem; transition: .2s; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + label { border-color: var(--red); background: rgba(229,9,20,.14); }
.seg input:focus-visible + label { outline: 2px solid #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-footer); padding: 60px var(--pad) 28px; border-top: 1px solid var(--card); color: #8c8c8c; margin-top: 40px; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 36px; border-bottom: 1px solid var(--card); padding-bottom: 28px; }
.footer-top h3 { color: #fff; font-size: 1.3rem; font-weight: 500; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 36px; }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.footer-col a { font-size: .9rem; transition: color .2s; } .footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .85rem; border-top: 1px solid #1a1a1a; }
.footer-logo { font-size: 1.4rem; font-weight: bold; color: var(--red); text-transform: uppercase; letter-spacing: 1.5px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a { width: 36px; height: 36px; background: var(--card); border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: bold; font-size: .8rem; transition: .2s; }
.social-icons a:hover { background: var(--red); transform: translateY(-3px); }

/* ---------- Yönetim paneli ---------- */
.panel { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; background: var(--bg-deep); }
.panel-side { background: #0a0a0a; border-right: 1px solid var(--line); padding: 20px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.panel-side .logo { display: block; padding: 0 20px 18px; font-size: 1.2rem; }
.panel-side h5 { padding: 16px 20px 6px; font-size: .7rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--dim); font-weight: normal; }
.panel-side a.nav { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: var(--muted); font-size: .93rem; border-left: 3px solid transparent; }
.panel-side a.nav:hover { color: #fff; background: var(--panel); }
.panel-side a.nav.active { color: #fff; background: var(--panel); border-left-color: var(--red); font-weight: bold; }
.panel-main { padding: 24px 28px 60px; min-width: 0; }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.panel-top h1 { font-size: 1.5rem; }
.panel-toggle { display: none; }
.panel .alerts { top: 14px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 18px; }
.filters .form-control { padding: 9px 12px; font-size: .9rem; width: auto; min-width: 150px; }
.filters .form-group { gap: 4px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.thumb-sm { width: 74px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--card); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; min-width: 0; }
.bars .bar i { width: 100%; max-width: 34px; background: var(--red); border-radius: 4px 4px 0 0; min-height: 2px; }
.bars .bar span { font-size: .66rem; color: var(--dim); white-space: nowrap; }
.scan-box { max-width: 560px; margin: 0 auto; }
.scan-video { width: 100%; aspect-ratio: 1; background: #000; border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line-2); }
.scan-video video { width: 100%; height: 100%; object-fit: cover; }
.scan-video::after { content: ''; position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.75); border-radius: 14px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); pointer-events: none; }
.scan-result { margin-top: 16px; padding: 20px; border-radius: var(--radius); text-align: center; border: 2px solid var(--line-2); background: var(--panel); }
.scan-result.ok { background: #0f2f1c; border-color: var(--green); }
.scan-result.bad { background: #331215; border-color: var(--red); }
.scan-result .big { font-size: 1.5rem; font-weight: bold; margin-bottom: 6px; }
.preview-frame { width: 100%; height: 520px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #0f0f0f; }

/* ---------- Duyarlı kırılımlar ---------- */
@media (max-width: 1100px) {
  :root { --pad: 28px; }
  .detail, .watch { grid-template-columns: 1fr; }
  .buy-box { position: static; }
  .main-nav { gap: 14px; }
  .search-form { display: none; }
}
@media (max-width: 900px) {
  :root { --pad: 16px; --header-h: 56px; --tab-h: calc(58px + env(safe-area-inset-bottom)); }
  .main-nav, .header-tools .hide-m { display: none; }
  .tabbar { display: flex; }
  .logo { font-size: 1.2rem; letter-spacing: 1px; }
  .site-header { background: rgba(0,0,0,.92); gap: 12px; }
  .hero { min-height: 72vh; padding-bottom: 80px; align-items: flex-end; }
  .hero::before { background: linear-gradient(to top, var(--bg) 6%, rgba(20,20,20,.55) 55%, rgba(0,0,0,.35) 100%); }
  .hero-desc { font-size: 1rem; -webkit-line-clamp: 2; }
  .btn { padding: 12px 20px; font-size: 1rem; }
  .hero-buttons .btn { flex: 1; }
  .card { flex-basis: 240px; } .short-card { flex-basis: 132px; }
  .card:hover { transform: none; }
  .row-title { font-size: 1.15rem; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .grid.shorts { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .account { flex-direction: column; }
  .sidebar { width: 100%; padding: 8px 0; }
  .sidebar-header { display: none; }
  .sidebar-menu { display: flex; overflow-x: auto; scrollbar-width: none; }
  .sidebar-menu li { flex: none; }
  .sidebar-menu a, .sidebar-menu button { padding: 10px 14px; border-left: 0; border-bottom: 3px solid transparent; white-space: nowrap; font-size: .9rem; }
  .sidebar-menu a.active { border-bottom-color: var(--red); }
  .sidebar-menu .sep { border: 0; margin: 0; padding: 0; }
  .box { padding: 18px; }
  .form-grid, .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; text-align: center; }
  .detail { margin-top: -110px; }
  .detail-hero { height: 44vh; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-qr { border-left: 0; border-top: 2px dashed #ccc; } .ticket-qr svg { max-width: 220px; }
  .ticket-mini { grid-template-columns: 70px 1fr; } .ticket-mini .actions { grid-column: 1 / -1; justify-content: stretch; } .ticket-mini .actions .btn { flex: 1; }
  .cal-item { grid-template-columns: 54px 88px 1fr; gap: 10px; padding: 8px 0; } .cal-item .go { display: none; }
  .channel-cover { height: 180px; } .channel-logo { width: 92px; height: 92px; font-size: 2.2rem; } .channel-head { margin-top: -46px; gap: 14px; } .channel-head h1 { font-size: 1.4rem; }
  .side-item { grid-template-columns: 130px 1fr; }
  .auth-container { padding: 30px 22px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 10px; }
  .panel { grid-template-columns: 1fr; }
  .panel-side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 300; transform: translateX(-100%); transition: transform .25s; }
  .panel.open .panel-side { transform: none; box-shadow: 0 0 0 100vw rgba(0,0,0,.6); }
  .panel-toggle { display: inline-flex; }
  .panel-main { padding: 16px 14px 60px; }
  .short { padding: 0; } .short-frame { border-radius: 0; border: 0; width: 100%; aspect-ratio: auto; }
}
@media print {
  body { background: #fff; padding: 0; }
  .site-header, .tabbar, .site-footer, .no-print, .alerts { display: none !important; }
  .page { padding-top: 0; }
  .ticket { box-shadow: none; border: 1px solid #999; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
