/* live.udyos: aydınlık, sade, telefonda tek elle kullanılır. */
:root {
  --bg: #f6f6f3;
  --card: #ffffff;
  --ink: #141414;
  --muted: #6a6a66;
  --line: #e7e6e1;
  --live: #e0352b;
  --ok: #138a43;
  --warn: #b7791f;
  --err: #c2281e;
  --accent: #141414;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 20, 20, 0.05), 0 4px 16px rgba(20, 20, 20, 0.04);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: 880px; margin: 0 auto; padding: 16px 16px 64px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 18px; }
.brand { font-weight: 750; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(224, 53, 43, 0.12); }
.brand small { color: var(--muted); font-weight: 500; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.status.bad i { background: var(--err); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin: 0 0 14px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
h1 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 18px; letter-spacing: -0.01em; margin: 0; }
h3 { font-size: 14px; margin: 18px 0 8px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 650; background: #efefeb; color: var(--muted); white-space: nowrap; }
.badge.live { background: var(--live); color: #fff; }
.badge.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; color: var(--muted); }
.stats b { color: var(--ink); font-weight: 650; }
.btn { appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 14px; cursor: pointer; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; }
.btn:hover { background: #fafaf8; }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { background: #2a2a2a; }
.btn.red { background: var(--live); color: #fff; border-color: var(--live); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.small { min-height: 32px; padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: default; }
.dest { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.dest:first-of-type { border-top: 0; }
.pf { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; flex: none; }
.pf.youtube { background: #ff0033; } .pf.facebook { background: #0866ff; } .pf.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.pf.tiktok { background: #111; } .pf.x { background: #000; } .pf.twitch { background: #9146ff; } .pf.kick { background: #53fc18; color: #111; } .pf.custom { background: #8a8a85; }
.dest .name { font-weight: 650; }
.st { font-size: 13px; }
.st.ok { color: var(--ok); } .st.warn { color: var(--warn); } .st.err { color: var(--err); } .st.off { color: var(--muted); }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #d9d8d3; border-radius: 999px; transition: background 0.15s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transition: transform 0.15s; }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(18px); }
label.f { display: block; margin: 10px 0 0; font-size: 13px; font-weight: 600; }
label.f input, label.f select, label.f textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 400; font-size: 15px; }
label.f input:focus, label.f select:focus { outline: 2px solid #141414; outline-offset: -1px; }
.help { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.panel { background: #fafaf7; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
.kv { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px 10px; align-items: center; }
.kv > div:nth-child(3n + 1) { color: var(--muted); font-size: 13px; }
.log { background: #111; color: #e8e8e3; border-radius: 10px; padding: 10px 12px; max-height: 220px; overflow: auto; font: 12px/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.events { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.events li { padding: 7px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.events li:first-child { border-top: 0; }
.events time { color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.events .hata { color: var(--err); } .events .uyari { color: var(--warn); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: #141414; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; opacity: 0; transition: opacity 0.2s; pointer-events: none; z-index: 10; max-width: 90vw; }
.toast.show { opacity: 1; }
.center { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login { width: 100%; max-width: 380px; }
.login h1 { font-size: 26px; }
.sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 18px 0 4px; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.player { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.player.vertical { aspect-ratio: 9 / 16; max-height: 80vh; margin: 0 auto; }
.player video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.player .over { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-align: center; padding: 20px; background: rgba(0, 0, 0, 0.55); }
.player .over[hidden] { display: none; }
.player .tag { position: absolute; left: 12px; top: 12px; }
.embed .wrap { padding: 0; max-width: none; }
.embed .player { border-radius: 0; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.hide { display: none !important; }
.list a.card { display: block; text-decoration: none; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mb16 { margin-bottom: 16px; }
.brand.big { font-size: 24px; margin-bottom: 22px; }
.chk { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
.chk input { width: 18px; height: 18px; }
.studio video { width: 100%; max-height: 70vh; background: #000; border-radius: var(--radius); display: block; object-fit: contain; }
.bigbtn { min-height: 54px; font-size: 17px; border-radius: 14px; }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; }
.unmute { position: absolute; right: 12px; bottom: 12px; }
.kv .act { display: flex; gap: 6px; }
p.center-txt{text-align:center}
.akis { margin-top: 12px; }
.akis-simdi { margin-top: 6px; font-size: 14px; }
.akis-sira { margin: 6px 0 0; padding-left: 18px; }
.akis-sira li { margin: 2px 0; }
.markalar { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 560px) { .markalar { grid-template-columns: 1fr 1fr; } }
.markalar .chk { margin-top: 6px; }
.klipler .dest .name { font-size: 14px; }
