/* İngilizce Atölyem — LMS teması (site ile aynı turuncu / Inter dili) */
:root {
  --bg: #FBF8F4;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #EDE6DC;
  --line-2: #F4EFE8;
  --orange: #F97316;
  --orange-600: #EA580C;
  --orange-100: #FFE4CC;
  --orange-50: #FFF4EA;
  --green: #16A34A;
  --green-50: #E8F7EE;
  --red: #DC2626;
  --red-50: #FEECEC;
  --amber: #B45309;
  --amber-50: #FEF3C7;
  --blue: #2563EB;
  --blue-50: #E8F0FE;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .10);
  --shadow-hover: 0 2px 4px rgba(15, 23, 42, .05), 0 16px 32px -14px rgba(15, 23, 42, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 .9em; }
a { color: var(--orange-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.ico { flex: none; vertical-align: -3px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.mt { margin-top: 20px; } .mt-s { margin-top: 10px; } .mb { margin-bottom: 20px; } .mb-s { margin-bottom: 10px; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.flex-wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--orange-100); outline-offset: 1px; border-radius: 8px; }

/* ---------- İskelet ---------- */
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--surface); border-right: 1px solid var(--line);
  padding: 22px 16px; display: flex; flex-direction: column; gap: 6px;
}
.brand { font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); padding: 4px 12px 18px; display: block; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--orange); }
.nav-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #94A3B8; padding: 14px 14px 6px; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-radius: 12px;
  color: #475569; font-weight: 500; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--line-2); text-decoration: none; color: var(--ink); }
.nav a.active { background: var(--orange-50); color: var(--orange-600); font-weight: 600; }
.sidebar-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); }
.me { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--orange-100); color: var(--orange-600);
  display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none;
}
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.main { padding: 30px 36px 72px; min-width: 0; max-width: 1240px; width: 100%; }
.topbar { display: none; }
.scrim { display: none; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--orange-600); }

/* ---------- Kart / ızgara ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card.pad0 { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

.stat { display: flex; align-items: center; gap: 14px; }
.stat .bubble { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); flex: none; }
.stat .bubble.green { background: var(--green-50); color: var(--green); }
.stat .bubble.blue { background: var(--blue-50); color: var(--blue); }
.stat .bubble.amber { background: var(--amber-50); color: var(--amber); }
.stat .num { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat .lbl { font-size: 13px; color: var(--muted); }

/* ---------- Buton ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  font: inherit; font-weight: 600; line-height: 1.2; transition: transform .1s, background .15s, box-shadow .15s, border-color .15s;
  background: var(--orange); color: #fff; white-space: nowrap;
}
.btn:hover { background: var(--orange-600); text-decoration: none; color: #fff; box-shadow: 0 8px 18px -8px rgba(249, 115, 22, .7); }
.btn:active { transform: translateY(1px); }
.btn.outline { background: transparent; color: var(--orange-600); border-color: var(--orange); }
.btn.outline:hover { background: var(--orange-50); box-shadow: none; color: var(--orange-600); }
.btn.ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn.ghost:hover { background: var(--line-2); box-shadow: none; color: var(--ink); }
.btn.danger { background: var(--red); }
.btn.danger:hover { background: #B91C1C; box-shadow: none; }
.btn.danger.outline { background: transparent; color: var(--red); border-color: #FCA5A5; }
.btn.danger.outline:hover { background: var(--red-50); color: var(--red); }
.btn.green { background: var(--green); } .btn.green:hover { background: #15803D; box-shadow: none; }
.btn.sm { padding: 7px 14px; font-size: 13px; border-width: 1.5px; }
.btn.xs { padding: 5px 10px; font-size: 12px; border-width: 1.5px; }
.btn.icon { padding: 7px; width: 34px; height: 34px; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }
.btn.block { width: 100%; }
form.inline { display: inline; margin: 0; }

/* ---------- Rozet / ilerleme ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.badge.orange { background: var(--orange-50); color: var(--orange-600); }
.badge.green { background: var(--green-50); color: var(--green); }
.badge.red { background: var(--red-50); color: var(--red); }
.badge.amber { background: var(--amber-50); color: var(--amber); }
.badge.blue { background: var(--blue-50); color: var(--blue); }
.progress { height: 8px; background: #F1ECE4; border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, #FB923C, var(--orange)); border-radius: 999px; transition: width .5s ease; }
.progress.green > i { background: linear-gradient(90deg, #4ADE80, var(--green)); }
.progress.lg { height: 12px; }

/* ---------- Form ---------- */
.field { margin-bottom: 16px; }
.field > label, .lbl-t { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 11px 14px; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-50); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.searchbox { position: relative; max-width: 340px; flex: 1; }
.searchbox .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.searchbox input { padding-left: 40px; border-radius: 999px; }

details.disclosure > summary { list-style: none; cursor: pointer; }
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure[open] > summary { margin-bottom: 14px; }

/* ---------- Uyarı / toast ---------- */
.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.alert.success { background: var(--green-50); color: #166534; border-color: #BBF7D0; }
.alert.error { background: var(--red-50); color: #991B1B; border-color: #FECACA; }
.alert.info { background: var(--blue-50); color: #1E40AF; border-color: #BFDBFE; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 90; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-hover); font-weight: 500; transform: translateY(20px); opacity: 0; transition: .25s; pointer-events: none; max-width: 90vw; }
.toast.show { transform: none; opacity: 1; }

/* ---------- Tablo ---------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FDFBF8; white-space: nowrap; }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #FFFCF8; }
.tbl .name { font-weight: 600; color: var(--ink); }
.tbl .actions { display: flex; gap: 6px; justify-content: flex-end; }

/* ---------- Kurs kartları ---------- */
.course-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .2s, box-shadow .2s; color: inherit; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); text-decoration: none; }
.cover { height: 116px; position: relative; display: flex; align-items: flex-end; padding: 14px 18px; color: #fff; background-size: cover; background-position: center; }
.cover .lvl { background: rgba(255, 255, 255, .92); color: var(--ink); font-weight: 800; font-size: 12px; border-radius: 999px; padding: 3px 11px; }
.cover.c0 { background-image: linear-gradient(135deg, #FB923C, #F97316 55%, #EA580C); }
.cover.c1 { background-image: linear-gradient(135deg, #1E3A5F, #0F172A 70%); }
.cover.c2 { background-image: linear-gradient(135deg, #FDBA74, #FB7185); }
.cover.c3 { background-image: linear-gradient(135deg, #34D399, #0F766E); }
.cover.c4 { background-image: linear-gradient(135deg, #A78BFA, #6D28D9); }
.cover.c5 { background-image: linear-gradient(135deg, #38BDF8, #1D4ED8); }
.course-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-body h3 { font-size: 17px; }
.course-meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }

/* ---------- Müfredat ---------- */
.module { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; margin-bottom: 14px; }
.module-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #FDFBF8; border-bottom: 1px solid var(--line); }
.module-head h3 { font-size: 15px; }
.lesson-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line-2); color: inherit; }
.lesson-row:last-child { border-bottom: 0; }
a.lesson-row:hover { background: #FFFCF8; text-decoration: none; }
.lesson-row .state { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: var(--muted); flex: none; }
.lesson-row.done .state { background: var(--green); color: #fff; }
.lesson-row.current .state { background: var(--orange); color: #fff; }
.lesson-row.locked { opacity: .55; }
.lesson-row .t { font-weight: 600; }
.lesson-row .m { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- Ders sayfası ---------- */
.lesson-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.player { position: relative; padding-top: 56.25%; background: #0B1220; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-empty { display: grid; place-items: center; text-align: center; color: #CBD5E1; position: absolute; inset: 0; padding: 20px; }
.lesson-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.side-curr { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
.side-curr .module-head { padding: 11px 14px; }
.side-curr .lesson-row { padding: 10px 14px; gap: 10px; }
.side-curr .lesson-row .state { width: 24px; height: 24px; }
.side-curr .lesson-row .t { font-size: 13.5px; font-weight: 500; }
.side-curr .lesson-row.current { background: var(--orange-50); }
.side-curr .lesson-row.current .t { font-weight: 700; }
.prose { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.4em 0 .5em; }
.prose h2 { font-size: 22px; } .prose h3 { font-size: 18px; } .prose h4 { font-size: 16px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; } .prose li { margin: .25em 0; }
.prose blockquote { margin: 1em 0; padding: 14px 18px; background: var(--orange-50); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; color: var(--ink); }
.prose strong { color: var(--ink); }
.attach { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed #E5D5C0; border-radius: 14px; background: #FFFCF8; color: var(--ink); }
.attach:hover { text-decoration: none; border-color: var(--orange); }
.resume-note { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.watch { display: flex; align-items: center; gap: 12px; }
.watch .progress { flex: 1; }

/* ---------- Quiz ---------- */
.q-card { margin-bottom: 16px; }
.q-num { font-size: 12px; font-weight: 700; color: var(--orange-600); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.q-text { font-size: 17px; font-weight: 600; margin-bottom: 14px; line-height: 1.45; }
.opt { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: 9px; cursor: pointer; transition: border-color .12s, background .12s; background: #fff; }
.opt:hover { border-color: #F5C9A3; background: #FFFCF8; }
.opt input { width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.opt:has(input:checked) { border-color: var(--orange); background: var(--orange-50); }
.opt.ok { border-color: #86EFAC; background: var(--green-50); }
.opt.bad { border-color: #FCA5A5; background: var(--red-50); }
.opt.static { cursor: default; }
.explain { margin-top: 12px; padding: 12px 14px; background: var(--blue-50); border-radius: 12px; color: #1E3A8A; font-size: 14px; }
.score-ring { --p: 0; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--ring, var(--orange)) calc(var(--p) * 1%), #F1ECE4 0); position: relative; }
.score-ring::before { content: ''; position: absolute; inset: 11px; background: #fff; border-radius: 50%; }
.score-ring b { position: relative; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.result-hero { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.q-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.q-nav a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--line-2); color: var(--ink-2); font-weight: 600; font-size: 13px; }
.q-nav a.ok { background: var(--green-50); color: var(--green); } .q-nav a.no { background: var(--red-50); color: var(--red); }

/* ---------- Grafik (CSS) ---------- */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.bars .bar i { display: block; width: 100%; max-width: 38px; background: linear-gradient(180deg, #FDBA74, var(--orange)); border-radius: 8px 8px 4px 4px; min-height: 4px; transition: height .5s; }
.bars .bar i.zero { background: #F1ECE4; }
.bars .bar span { font-size: 11.5px; color: var(--muted); }
.bars .bar em { font-style: normal; font-size: 11px; color: var(--ink-2); font-weight: 600; }
.chart-box { position: relative; height: 270px; }
.hbar { display: grid; grid-template-columns: minmax(0, 1.3fr) 2fr auto; gap: 12px; align-items: center; padding: 9px 0; }
.hbar .nm { font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .val { font-size: 13px; font-weight: 700; min-width: 44px; text-align: right; }

/* ---------- Boş durum, yönetim blokları ---------- */
.empty { text-align: center; padding: 38px 20px; color: var(--muted); }
.empty .ico { color: #CBD5E1; margin-bottom: 8px; }
.empty h3 { color: var(--ink); margin-bottom: 4px; }
.edit-list .item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.edit-list .item:last-child { border-bottom: 0; }
.edit-list .item .t { font-weight: 600; }
.opt-row { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.opt-row input[type=text] { flex: 1; }
.opt-row .check input { margin: 0; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 500; }

/* ---------- Giriş sayfası ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-art { background: linear-gradient(150deg, #FFF4EA 0%, #FFE4CC 60%, #FDBA74 120%); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-art h2 { font-size: 38px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; max-width: 440px; }
.auth-art h2 em { font-style: normal; color: var(--orange); }
.auth-art ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--ink-2); }
.auth-art li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.auth-art li .ico { color: var(--orange-600); }
.auth-form { display: grid; place-items: center; padding: 32px; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h1 { font-size: 30px; margin-bottom: 6px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-main { grid-template-columns: minmax(0, 1fr); }
  .lesson-layout { grid-template-columns: minmax(0, 1fr); }
  .side-curr { position: static; max-height: none; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; z-index: 60; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .25s; box-shadow: var(--shadow-hover); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 55; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
  .topbar .brand { padding: 0; font-size: 18px; }
  .main { padding: 22px 16px 64px; }
  h1 { font-size: 24px; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}
@media (max-width: 640px) {
  .g2, .g3, .g4, .row2, .row3 { grid-template-columns: minmax(0, 1fr); }
  .g4.keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 18px; }
  .kv { grid-template-columns: 110px 1fr; }
  .hbar { grid-template-columns: 1fr auto; } .hbar .progress { grid-column: 1 / -1; order: 3; }
  .stat .num { font-size: 22px; }
  .result-hero { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .sidebar, .topbar, .no-print { display: none !important; } .app { display: block; } .main { padding: 0; max-width: none; } body { background: #fff; } }

/* ---------- Hızlı adlandırma ---------- */
.title-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.title-row:last-child { border-bottom: 0; }
.title-row:focus-within { background: #FFFCF8; }
.thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1E293B, #0B1220); border-radius: 12px; overflow: hidden; cursor: pointer; color: #fff; }
.thumb.static { cursor: default; background: var(--line-2); color: var(--muted); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 4px; background: rgba(15, 23, 42, .12); transition: background .15s; }
.thumb:hover .play { background: rgba(15, 23, 42, .32); }
.thumb.playing .play { display: none; }
.thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .title-row { grid-template-columns: minmax(0, 1fr); } }
