/* BKFT Yılın Animesi — koyu tema, logodaki gün batımı turuncusu sadece vurgu rengi */
:root {
  --bg: #0d0c0d; --panel: #171517; --panel2: #221f22; --line: #322d30;
  --text: #f1ebe4; --muted: #a39a94; --cream: #efd9bb;
  --accent: #e8894a; --accent2: #c9553a; --accent-soft: rgba(232,137,74,.14);
  --ok: #3fc98f; --warn: #f0b443; --bad: #ff6159;
  --radius: 14px; --bar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.grow { flex: 1; min-width: 0; }

/* ---------- Marka ---------- */
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; flex: none; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .4px; }
.brand b, .grad { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Giriş ve bekleme ekranı ---------- */
.center { min-height: 100dvh; display: grid; place-items: center; padding: 20px 16px calc(20px + var(--safe-b)); }
.box { width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.box h1 { font-size: 22px; margin: 0 0 6px; }
.box p { color: var(--muted); margin: 0 0 14px; line-height: 1.5; font-size: 14px; }
.hero { text-align: center; margin-bottom: 18px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 40px rgba(232,137,74,.18); }
.hero h1 { margin-top: 12px; font-size: 26px; }
.hero p { margin: 6px 0 0; }
.rules { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 16px; font-size: 14px; }
.rules summary { padding: 12px 14px; cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary::after { content: "▾"; color: var(--muted); transition: transform .2s; }
.rules[open] summary::after { transform: rotate(180deg); }
.rules ol { margin: 0; padding: 0 14px 12px 34px; color: var(--muted); line-height: 1.55; }
.rules li { margin-bottom: 6px; }
.rules li b { color: var(--text); font-weight: 600; }

.tabs { display: flex; gap: 6px; background: var(--bg); padding: 4px; border-radius: 11px; margin-bottom: 14px; }
.tabs button { flex: 1; white-space: nowrap; border: 0; background: transparent; padding: 10px; border-radius: 8px; color: var(--muted); }
.tabs button.on { background: var(--panel2); color: var(--text); font-weight: 650; }
label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
.inp { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; font-size: 16px; }
.inp:focus { outline: 2px solid var(--accent); border-color: transparent; }
.btn { border: 0; border-radius: 12px; padding: 13px 18px; font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; }
.btn.full { width: 100%; margin-top: 18px; }
.btn.ghost { background: var(--panel2); color: var(--text); font-weight: 600; }
.btn.small { padding: 7px 11px; font-size: 13px; border-radius: 9px; }
.btn:disabled { opacity: .5; cursor: default; }
.err { color: var(--bad); font-size: 14px; margin-top: 10px; min-height: 1em; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.pill { font-size: 13px; padding: 5px 10px; border-radius: 99px; background: var(--panel2); color: var(--muted); white-space: nowrap; }
.link { background: none; border: 0; color: var(--muted); font-size: 13px; padding: 6px; }

/* ---------- Üst bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(13,12,13,.9); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 10px 14px; }
.top .row { display: flex; align-items: center; gap: 10px; }
.top .row + .row { margin-top: 10px; }
.search { position: relative; }
.search input { padding-left: 38px; font-size: 15px; padding-top: 10px; padding-bottom: 10px; }
.search::before { content: "⌕"; position: absolute; left: 13px; top: 50%; transform: translateY(-52%); color: var(--muted); font-size: 19px; }
.iconbtn { border: 1px solid var(--line); background: var(--panel); border-radius: 11px; padding: 9px 12px; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; white-space: nowrap; }
.iconbtn .dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
.navtabs { display: flex; gap: 4px; }
.navtabs button { border: 0; background: transparent; color: var(--muted); padding: 8px 12px; border-radius: 9px; font-weight: 600; }
.navtabs button.on { background: var(--panel2); color: var(--text); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 99px; padding: 6px 11px; font-size: 13px; white-space: nowrap; }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--cream); }
.chip.x::after { content: " ✕"; opacity: .7; }
.notice { color: var(--warn); font-size: 13px; }
.savestate { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- Kartlar ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; padding: 14px 14px 24px; }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px 10px 20px; } }
.card { position: relative; background: var(--panel); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: transform .08s, border-color .15s; user-select: none; display: flex; flex-direction: column; }
.card:active { transform: scale(.98); }
.card .name { padding: 9px 9px 8px; font-size: 13px; font-weight: 650; line-height: 1.25; }
.card .name span { height: 3.75em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .poster { position: relative; aspect-ratio: 2/3; background: var(--panel2); }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .meta { display: flex; justify-content: space-between; padding: 7px 9px; font-size: 11.5px; color: var(--muted); }
.card .star { color: var(--cream); }
.pick { position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85);
  background: rgba(0,0,0,.55); color: #fff; font-size: 22px; font-weight: 800; display: grid; place-items: center; line-height: 1; padding: 0;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.card.sel { border-color: var(--accent); }
.card.sel .pick { background: var(--accent); border-color: var(--accent); }
.card.sel .poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(232,137,74,.28)); pointer-events: none; }
.card .num { position: absolute; left: 8px; top: 8px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; border-radius: 8px; padding: 3px 7px; }
.empty { text-align: center; color: var(--muted); padding: 50px 20px; line-height: 1.6; }
#sentinel { height: 1px; }

/* ---------- Benim 30'um ---------- */
.mine { max-width: 720px; margin: 0 auto; padding: 14px 14px 24px; }
.progress { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.progress .bar { height: 8px; background: var(--panel2); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.progress .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 99px; transition: width .3s; }
.progress h2 { margin: 0; font-size: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.progress h2 span { font-size: 14px; color: var(--muted); font-weight: 500; }
.row-item { display: flex; align-items: center; gap: 10px; background: var(--panel); border-radius: 12px; padding: 8px; margin-bottom: 8px; }
.row-item .n { width: 26px; text-align: center; font-weight: 800; color: var(--accent); flex: none; }
.row-item img { width: 46px; height: 66px; border-radius: 8px; object-fit: cover; background: var(--panel2); flex: none; cursor: pointer; }
.row-item .t { font-weight: 650; font-size: 14px; line-height: 1.3; cursor: pointer; }
.row-item .s { font-size: 12px; color: var(--muted); margin-top: 3px; }
.row-item .acts { display: flex; gap: 4px; flex: none; }
.sq { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--panel2); color: var(--text); font-size: 16px; display: grid; place-items: center; padding: 0; }
.sq:disabled { opacity: .3; }
.sq.del { color: var(--bad); }

/* ---------- Alt bar (mobil) ---------- */
.bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none;
  background: rgba(23,21,23,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 6px 8px calc(6px + var(--safe-b)); }
.bottombar .in { display: flex; max-width: 520px; margin: 0 auto; }
.bottombar button { flex: 1; border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11.5px; font-weight: 600; padding: 6px 0; border-radius: 12px; position: relative; }
.bottombar button .ic { font-size: 21px; line-height: 1; }
.bottombar button.on { color: var(--cream); }
.bottombar button.on .ic { color: var(--accent); }
.bottombar .count { position: absolute; top: 0; left: calc(50% + 6px); background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 99px; padding: 1px 6px; }
@media (max-width: 1023px) {
  .bottombar { display: block; }
  .desk-only { display: none !important; }
  body.app { padding-bottom: calc(var(--bar-h) + var(--safe-b)); }
}
@media (min-width: 1024px) { .mob-only { display: none !important; } }

/* ---------- Pencereler (detay, filtre) ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.sheet { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; width: 100%; max-width: 560px; max-height: 88dvh;
  overflow: auto; transform: translateY(20px); transition: transform .22s; }
.overlay.open .sheet { transform: none; }
@media (max-width: 820px) {
  .overlay { align-items: flex-end; padding: 0; }
  .sheet { border-radius: 20px 20px 0 0; max-height: 90dvh; padding-bottom: var(--safe-b); transform: translateY(100%); }
}
.sheet .grab { width: 40px; height: 5px; border-radius: 99px; background: var(--line); margin: 10px auto 0; }
.sheet .head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 0; }
.sheet .head h3 { margin: 0; font-size: 17px; }
.sheet .body { padding: 14px 16px 16px; }
.sheet .foot { position: sticky; bottom: 0; background: var(--panel); padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.sheet .foot .btn { flex: 1; }
.close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--panel2); color: var(--text); font-size: 16px; padding: 0; }
.det { display: flex; gap: 14px; }
.det img { width: 130px; aspect-ratio: 2/3; object-fit: cover; border-radius: 12px; background: var(--panel2); flex: none; }
.det h2 { margin: 0 0 4px; font-size: 19px; line-height: 1.25; }
.det .alt { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { background: var(--panel2); border-radius: 99px; padding: 5px 10px; font-size: 12.5px; color: var(--cream); }
.extlink { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14px; }
@media (max-width: 380px) { .det img { width: 105px; } }
.fsec { margin-bottom: 18px; }
.fsec h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.fsec .chips { flex-wrap: wrap; overflow: visible; }
.fsec .chip { font-size: 14px; padding: 8px 13px; }

#toast { position: fixed; left: 50%; bottom: calc(20px + var(--safe-b)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--panel2); border: 1px solid var(--line); padding: 11px 16px; border-radius: 12px; font-size: 14px;
  transition: .25s; z-index: 60; max-width: calc(100% - 30px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { border-color: var(--bad); }
#toast.ok { border-color: var(--ok); }
@media (max-width: 1023px) { body.app #toast { bottom: calc(var(--bar-h) + 14px + var(--safe-b)); } }

.bottombar .lbl, .progress .ttl { white-space: nowrap; }
.progress h2 .ttl, .progress h2 em { font-size: inherit; color: var(--text); font-weight: 700; font-style: normal; }
.row-item .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* =====================================================================
   v3: canlı tasarım, masaüstü sol filtre paneli
   ===================================================================== */
body.app { background:
  radial-gradient(900px 500px at 0% -10%, rgba(232,137,74,.10), transparent 60%),
  radial-gradient(700px 500px at 100% 0%, rgba(201,85,58,.08), transparent 60%), var(--bg);
  background-attachment: fixed; }
.top .who { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Hero */
.hero2 { position: relative; overflow: hidden; margin: 14px 14px 0; border-radius: 20px; border: 1px solid var(--line); min-height: 190px; }
.hero2 .bgposters { position: absolute; inset: 0; display: flex; gap: 0; filter: blur(2px) saturate(1.1); transform: scale(1.05); }
.hero2 .bgposters img { flex: 1; min-width: 0; height: 100%; object-fit: cover; }
.hero2::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,12,13,.97) 0%, rgba(13,12,13,.86) 45%, rgba(13,12,13,.55) 100%); }
.hero2 .in { position: relative; z-index: 1; display: flex; gap: 24px; align-items: center; padding: 26px 28px; flex-wrap: wrap; }
.hero2 .logo { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); flex: none; }
.hero2 h1 { margin: 0; font-size: 34px; line-height: 1.1; letter-spacing: -.5px; }
.hero2 p { margin: 8px 0 0; color: var(--muted); max-width: 520px; line-height: 1.5; font-size: 14.5px; }
.countdown { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; align-items: center; }
.countdown .u { background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; text-align: center; min-width: 54px; }
.countdown .u b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.countdown .u span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.countdown .lbl { font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.ring { position: relative; width: 112px; height: 112px; flex: none; margin-left: auto; cursor: pointer; }
.ring svg { transform: rotate(-90deg); }
.ring .t { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; line-height: 1.1; }
.ring .t b { font-size: 26px; }
.ring .t span { font-size: 11px; color: var(--muted); display: block; }
@media (max-width: 820px) {
  .hero2 { margin: 10px 10px 0; min-height: 0; border-radius: 16px; }
  .hero2 .in { padding: 16px; gap: 14px; flex-wrap: nowrap; }
  .hero2 .logo, .hero2 p { display: none; }
  .hero2 h1 { font-size: 20px; }
  .countdown { margin-top: 8px; gap: 5px; }
  .countdown .u { min-width: 42px; padding: 4px 6px; }
  .countdown .u b { font-size: 16px; }
  .countdown .lbl { width: 100%; }
  .ring { width: 78px; height: 78px; }
  .ring svg { width: 78px; height: 78px; }
  .ring .t b { font-size: 18px; }
}

/* Şu an yayında şeridi */
.strip { padding: 18px 14px 0; }
.strip h3 { margin: 0 0 10px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.strip h3 small { color: var(--muted); font-weight: 500; font-size: 13px; }
.strip .row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.strip .card { flex: none; width: 150px; scroll-snap-align: start; }
@media (max-width: 480px) { .strip { padding: 14px 10px 0; } .strip .card { width: 128px; } }
.livedot { width: 9px; height: 9px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 0 rgba(255,97,89,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,97,89,.55); } 70% { box-shadow: 0 0 0 8px rgba(255,97,89,0); } 100% { box-shadow: 0 0 0 0 rgba(255,97,89,0); } }
.live { position: absolute; right: 8px; top: 8px; background: rgba(0,0,0,.65); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .6px;
  border-radius: 7px; padding: 4px 7px 4px 6px; display: flex; align-items: center; gap: 5px; backdrop-filter: blur(4px); }
.live .livedot { width: 7px; height: 7px; }

/* Kart canlılığı */
.card { transition: transform .18s, border-color .15s, box-shadow .18s; }
.card .poster { overflow: hidden; }
.card .poster img { transition: transform .35s ease; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(232,137,74,.25); }
  .card:hover .poster img { transform: scale(1.06); }
  .pick:hover { transform: scale(1.08); }
}
.pick { transition: transform .15s, background .15s; }
.pick.pop { animation: pop .35s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* Sonuç başlığı */
.reshead { display: flex; align-items: center; gap: 10px; padding: 14px 14px 0; }
.reshead h3 { margin: 0; font-size: 16px; }
.reshead .cnt { color: var(--muted); font-size: 13px; }
.reshead select { width: auto; padding: 8px 10px; font-size: 14px; margin-left: auto; }

/* Masaüstü düzeni: solda filtre paneli */
.layout { display: block; }
.side { display: none; }
@media (min-width: 1024px) {
  .layout { display: grid; grid-template-columns: 270px 1fr; gap: 6px; align-items: start; padding: 0 0 0 14px; }
  .side { display: block; position: sticky; top: 74px; max-height: calc(100dvh - 88px); overflow: auto; margin-top: 14px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 4px 0 10px; scrollbar-width: thin; }
  .side .sb { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .side .sb:last-child { border-bottom: 0; }
  .side .sb h4 { margin: 0 0 10px; font-size: 14px; display: flex; justify-content: space-between; cursor: pointer; user-select: none; }
  .side .sb.closed h4 { margin: 0; }
  .side .sb.closed .opts, .side .sb.closed .more-opt { display: none; }
  .side .sb h4::after { content: "⌃"; color: var(--muted); transition: transform .2s; }
  .side .sb.closed h4::after { transform: rotate(180deg); }
  .side .search input { font-size: 14px; }
  .side .clear { background: none; border: 0; color: var(--accent); font-size: 13px; padding: 0; }
  .grid { padding-left: 14px; }
  .mob-filter { display: none !important; }
}
/* Seçenekler: panelde onay kutusu listesi, mobil pencerede çip */
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 99px; padding: 8px 13px; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.opt small { opacity: .6; }
.opt.on { background: var(--accent-soft); border-color: var(--accent); color: var(--cream); }
.side .opts { display: block; }
.side .opt { display: flex; width: 100%; border: 0; background: none; border-radius: 8px; padding: 6px 4px; font-size: 14px; color: var(--text); text-align: left; }
.side .opt:hover { background: var(--panel2); }
.side .opt::before { content: ""; width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid #5a5258; flex: none; display: grid; place-items: center; font-size: 12px; }
.side .opt.radio::before { border-radius: 50%; }
.side .opt.on::before { background: var(--accent); border-color: var(--accent); content: "✓"; color: #fff; font-weight: 800; }
.side .opt.radio.on::before { content: ""; box-shadow: inset 0 0 0 3px var(--panel); }
.side .opt small { margin-left: auto; }
.side .opt.on { background: none; color: var(--text); }
.more-opt { background: none; border: 0; color: var(--accent); font-size: 13px; padding: 6px 4px 0; }

/* Detay penceresi: bulanık afiş başlığı */
.sheet.detail { overflow: auto; }
.det-hero { position: relative; overflow: hidden; border-radius: 20px 20px 0 0; }
.det-hero .bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(24px) brightness(.45) saturate(1.2); }
.det-hero .in { position: relative; display: flex; gap: 16px; padding: 18px 16px 16px; align-items: flex-end; }
.det-hero img { width: 120px; aspect-ratio: 2/3; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.5); flex: none; }
.det-hero h2 { margin: 0 0 4px; font-size: 20px; line-height: 1.25; }
.det-hero .alt { color: rgba(255,255,255,.65); font-size: 13px; }
.det-hero .close { position: absolute; right: 12px; top: 12px; z-index: 2; background: rgba(0,0,0,.45); }
.det-hero .badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.det-hero .badges span { background: rgba(255,255,255,.12); border-radius: 7px; padding: 3px 8px; font-size: 12px; }
.det-hero .badges .lv { background: var(--bad); font-weight: 700; }
.factrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.factrow div { background: var(--panel2); border-radius: 10px; padding: 8px 10px; }
.factrow dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.factrow dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) { .factrow { grid-template-columns: repeat(2, 1fr); } .det-hero img { width: 96px; } }
.desc { font-size: 14.5px; line-height: 1.6; color: #ddd4cc; white-space: pre-line; }
.desc-h { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin: 16px 0 6px; display: flex; align-items: center; gap: 6px; }
.desc-h.tr { color: var(--accent); }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.morebtn { background: none; border: 0; color: var(--accent); padding: 4px 0; font-size: 13px; }
.sheet .grab.abs { position: absolute; left: 50%; transform: translateX(-50%); top: 0; z-index: 2; }

/* Konfeti */
#konfeti { position: fixed; inset: 0; pointer-events: none; z-index: 70; }

/* ---------- Final turnuva tablosu (tablo.js) ---------- */
.tablo { position: relative; display: grid; grid-template-columns: repeat(var(--kol), minmax(0, 1fr)); gap: 0 14px; height: 100%; }
.tablo .kol { display: flex; flex-direction: column; min-width: 0; position: relative; z-index: 1; }
.tablo .kb { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); padding: 2px 0 6px; white-space: nowrap; }
.tablo .ki { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 4px; }
.tablo .orta .ki { justify-content: center; gap: 18px; }
.tablo svg.cizgi { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mac { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mac.canli { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 0 24px rgba(232,137,74,.5); animation: nabiz 1.4s ease-in-out infinite; }
@keyframes nabiz { 50% { box-shadow: 0 0 0 2px var(--accent), 0 0 6px rgba(232,137,74,.2); } }
.ent { position: relative; display: flex; align-items: center; gap: 5px; height: var(--ent-h, 24px); padding-right: 6px; font-size: var(--ent-fs, 11px); }
.ent + .ent { border-top: 1px solid var(--line); }
.ent img { height: 100%; aspect-ratio: 2/3; object-fit: cover; flex: none; background: var(--panel2); }
.ent .sd { font-size: .8em; color: var(--muted); min-width: 1.4em; text-align: right; flex: none; }
.ent .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ent.bos .t { color: var(--muted); padding-left: 8px; }
.ent.win { background: linear-gradient(90deg, rgba(232,137,74,.28), transparent); font-weight: 700; }
.ent.lose { color: var(--muted); }
.ent.lose > * { opacity: .45; }
.ent.lose::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), rgba(255,97,89,.85) calc(50% - 1px), rgba(255,97,89,.85) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(255,97,89,.85) calc(50% - 1px), rgba(255,97,89,.85) calc(50% + 1px), transparent calc(50% + 1px)); }
.kupa { text-align: center; display: grid; justify-items: center; gap: 6px; }
.kupa span { font-size: 54px; filter: grayscale(.4) opacity(.5); }
.kupa img { width: 70%; max-width: 160px; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 3px var(--accent), 0 0 40px rgba(232,137,74,.6); }
.kupa b { font-size: 15px; } .kupa small { color: var(--accent); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; font-size: 11px; }
.tablo-bos { padding: 40px; text-align: center; color: var(--muted); }

/* Yöneticiler için ana sayfadaki "Yönetim" kısayolu */
.adminbtn { flex: none; text-decoration: none; font-size: 12.5px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(232,137,74,.35); border-radius: 99px; padding: 6px 11px; white-space: nowrap; }
.adminbtn:hover { background: rgba(232,137,74,.24); }
