
:root {
  --ink: #0d1b3e;
  --ink-2: #1c2d5a;
  --text: #1a2238;
  --muted: #5b6684;
  --line: #e3e7f0;
  --bg: #f6f7fb;
  --card: #ffffff;
  --accent: #f5a623;
  --accent-2: #ffbe4d;
  --blue: #2f5bea;
  --ok: #17a673;
  --err: #d64545;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(13,27,62,.06), 0 8px 24px rgba(13,27,62,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--ink); font-weight: 700; border: 0; border-radius: 12px;
  padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(245,166,35,.35);
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn-dark:hover { background: var(--ink-2); }
.btn-danger { background: #fff; color: var(--err); border: 1.5px solid #f3caca; box-shadow: none; }
.btn-danger:hover { background: #fff5f5; }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* header */
#site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo b { display: block; color: var(--ink); font-size: 1.05rem; line-height: 1.1; }
.logo small { display: block; color: var(--muted); font-size: .76rem; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }
.links { display: flex; align-items: center; gap: 4px; }
.links a:not(.btn) { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: .95rem; }
.links a:not(.btn):hover, .links a.active { color: var(--ink); background: var(--bg); }
.links a.active { font-weight: 700; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .burger { display: block; }
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  #site-header.open .links { display: flex; }
  .links .btn { margin-top: 8px; }
}

/* hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #2a4aa8 0%, transparent 60%), var(--ink); color: #dfe6ff; padding: 80px 0 90px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 1.15rem; color: #b9c4ea; max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.stats b { display: block; font-size: 1.8rem; color: #fff; font-weight: 800; }
.stats span { font-size: .88rem; color: #9fb0e0; }
.formula-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 28px; backdrop-filter: blur(4px); }
.formula-card .q { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.formula-card .expr { font-size: 1.6rem; color: #fff; font-weight: 700; margin: 12px 0 18px; font-family: ui-monospace, Menlo, monospace; }
.formula-card ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.formula-card li { background: rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; font-size: .95rem; }
.formula-card li.right { background: rgba(23,166,115,.25); outline: 1px solid rgba(23,166,115,.6); color: #fff; }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; } .hero { padding: 56px 0 64px; } .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .stats b { font-size: 1.15rem; } .stats span { font-size: .78rem; } .formula-card .expr { font-size: 1.25rem; } }

.page-hero { background: var(--ink); color: #b9c4ea; padding: 48px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { margin: 0; max-width: 620px; }

/* cards & grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fff3dc; color: #a26200; }
.tag.ghost { background: var(--bg); color: var(--muted); }
.lesson { display: flex; flex-direction: column; gap: 10px; }
.lesson-top { display: flex; gap: 6px; flex-wrap: wrap; }
.lesson h3 { margin: 4px 0 0; }
.lesson p { margin: 0; font-size: .93rem; }
.meta { list-style: none; margin: 4px 0; padding: 0; border-top: 1px dashed var(--line); }
.meta li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.meta span { color: var(--muted); }
.meta b { text-align: right; color: var(--ink); }
.meta s.old { color: var(--muted); font-weight: 500; margin-right: 4px; }
.meta .new { color: var(--ok); font-size: 1.05rem; }
.meta .disc { display: inline-block; margin-left: 4px; background: #e3f7ef; color: var(--ok); font-size: .72rem; font-weight: 800; padding: 2px 7px; border-radius: 99px; }
.seats .bar { height: 6px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.seats .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent)); border-radius: 99px; }
.seats small { color: var(--muted); }
.opening { background: #fff8ea; border: 1px dashed #f3c46b; border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.opening b { color: #8a5300; font-size: .92rem; }
.opening .bar { height: 6px; background: #fde9c2; border-radius: 99px; overflow: hidden; }
.opening .bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.opening small { color: #8a5300; }
.lesson .btn { margin-top: auto; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eaf0ff; color: var(--blue); font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.feature p { margin: 0; font-size: .93rem; }

.video { padding: 0; overflow: hidden; }
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 16/9; background: var(--ink); border: 0; padding: 0; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.thumb:hover img { opacity: 1; }
.play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.frame { aspect-ratio: 16/9; } .frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-body { padding: 16px 20px 20px; }
.video-body h3 { margin: 8px 0 4px; }
.video-body p { margin: 0; font-size: .9rem; }

.book { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cover { aspect-ratio: 4/3; background: var(--bg); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-ph { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 24px; text-align: center; background: linear-gradient(135deg, var(--ink), #2a4aa8); color: #fff; }
.cover-ph span { font-size: 3rem; color: var(--accent); line-height: 1; }
.cover-ph b { font-size: 1rem; max-width: 240px; }
.book-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.book-body p { font-size: .92rem; }
.book-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 10px; }
.price { font-size: 1.4rem; font-weight: 800; color: var(--ink); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; color: var(--muted); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,91,234,.12); }
.form textarea { resize: vertical; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form .check input { width: auto; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.done { text-align: center; padding: 20px 0; }
.done-ico { width: 64px; height: 64px; border-radius: 50%; background: #e3f7ef; color: var(--ok); display: grid; place-items: center; font-size: 2rem; font-weight: 800; margin: 0 auto 14px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* Q&A */
.qa { display: grid; gap: 14px; }
.qa-item { padding: 18px 20px; }
.qa-item .q { font-weight: 600; color: var(--ink); white-space: pre-wrap; }
.qa-item .a { margin-top: 12px; padding: 12px 14px; background: #f1f5ff; border-left: 3px solid var(--blue); border-radius: 8px; white-space: pre-wrap; font-size: .95rem; }
.qa-item img { max-height: 220px; border-radius: 10px; margin-top: 10px; border: 1px solid var(--line); }
.qa-item small { color: var(--muted); }

/* CTA band */
.band { background: linear-gradient(135deg, var(--accent), #ffcf6e); border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.band h2 { margin: 0 0 6px; }
.band p { margin: 0; color: #5a3d00; }

/* modal */
.modal-wrap { position: fixed; inset: 0; background: rgba(13,27,62,.55); z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s; overflow-y: auto; }
.modal-wrap.in { opacity: 1; }
.modal { position: relative; background: #fff; border-radius: 20px; padding: 28px; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal h2 { font-size: 1.4rem; padding-right: 30px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg); font-size: 1.4rem; cursor: pointer; line-height: 1; color: var(--muted); }

/* misc */
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(440px, calc(100% - 40px)); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); transition: opacity .4s, transform .4s; font-size: .94rem; }
.toast.err { background: var(--err); }
.toast.out { opacity: 0; transform: translateY(10px); }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); background: #fff; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.skel { min-height: 240px; background: linear-gradient(90deg, #fff 25%, #f0f2f8 50%, #fff 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.setup-bar { background: #fff3dc; color: #7a4a00; text-align: center; padding: 8px 16px; font-size: .88rem; font-weight: 600; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }

/* footer */
#site-footer { background: var(--ink); color: #9fb0e0; padding: 48px 0 20px; margin-top: 40px; }
#site-footer .logo b { color: #fff; } #site-footer .logo small { color: #9fb0e0; }
#site-footer .logo-mark { background: var(--accent); color: var(--ink); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot p { margin-top: 12px; color: #9fb0e0; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 16px; font-size: .85rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ============ ADMIN ============ */
.admin-body { background: #eef1f7; }
.admin-top { background: var(--ink); color: #fff; }
.admin-top .container { display: flex; justify-content: space-between; align-items: center; height: 60px; gap: 12px; }
.admin-top .logo b { color: #fff; } .admin-top .logo small { color: #9fb0e0; }
.admin-top .logo-mark { background: var(--accent); color: var(--ink); }
.admin-top .who { font-size: .85rem; color: #9fb0e0; display: flex; align-items: center; gap: 8px; }
@media (max-width: 600px) { .admin-top .who span { display: none; } }
.admin-top .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); padding: 6px 12px; font-size: .85rem; }
.login-box { max-width: 420px; margin: 80px auto; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 24px 0; }
.tab { border: 0; background: #fff; border-radius: 10px; padding: 10px 16px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; box-shadow: var(--shadow); display: inline-flex; gap: 8px; align-items: center; }
.tab.on { background: var(--ink); color: #fff; }
.tab .n { background: var(--accent); color: var(--ink); border-radius: 99px; padding: 0 7px; font-size: .75rem; font-weight: 800; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; font-size: 1.3rem; }
.tbl-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f8f9fc; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .sub { color: var(--muted); font-size: .82rem; }
td select { font: inherit; padding: 6px 8px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; }
.acts { display: flex; gap: 6px; flex-wrap: wrap; }
.acts .btn { padding: 6px 10px; font-size: .82rem; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .75rem; font-weight: 700; background: var(--bg); color: var(--muted); }
.pill.yes { background: #e3f7ef; color: var(--ok); }
.pill.new { background: #fff3dc; color: #a26200; }
.q-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 14px; }
.q-card .q { white-space: pre-wrap; margin: 8px 0; }
.q-card img { max-height: 280px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 10px; }
.q-card textarea { width: 100%; font: inherit; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px; }
.q-card .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }

/* ============ ÖNGÖRÜ / DENEME ============ */
.steps { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.steps div { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; }
.steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-size: .85rem; }
.steps span { color: #dfe6ff; font-size: .92rem; font-weight: 600; }
.gate-card { color: var(--text); }
.pred-grid { display: grid; gap: 20px; }
.pred { padding: 18px; }
.pred-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.pred-head b { color: var(--ink); }
.pred-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .pred-pair { grid-template-columns: 1fr; } }
.pred-side { background: var(--bg); border-radius: 12px; padding: 12px; display: grid; gap: 10px; align-content: start; }
.pred-side + .pred-side { background: #eef7f2; }
.pred-label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.pred-side + .pred-side .pred-label { color: var(--ok); }
.pred-side img { width: 100%; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.pred-text { white-space: pre-wrap; font-size: .95rem; }
.ph { height: 150px; border-radius: 8px; background: repeating-linear-gradient(0deg, #dfe4ee 0 10px, transparent 10px 22px); }
.locked { position: relative; }
.blur { filter: blur(6px); pointer-events: none; user-select: none; opacity: .7; }
.lock-msg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; text-align: center; }
.lock-msg b { font-size: 1.15rem; color: var(--ink); background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 10px; }
.lock-ico { font-size: 2.2rem; }

.intro { max-width: 560px; margin: 0 auto; }
.exam { display: grid; gap: 14px; }
.exam-bar { position: sticky; top: 76px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 16px; box-shadow: var(--shadow); font-weight: 700; }
.exam-bar #timer.low { color: #ff8a8a; }
.exam-bar #count { font-weight: 500; color: #b9c4ea; font-size: .9rem; }
.q { display: flex; gap: 12px; padding: 18px; }
.q-num { font-weight: 800; color: var(--blue); min-width: 26px; }
.q-body { flex: 1; min-width: 0; }
.q-text { white-space: pre-wrap; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.q-img { max-width: 100%; max-height: 360px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 12px; }
.opts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.opt { text-align: left; font: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; color: var(--text); }
button.opt:hover { border-color: var(--blue); }
.opt.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt.correct { background: #e3f7ef; border-color: var(--ok); color: #0c6b49; }
.opt.chosen-wrong { background: #fdecec; border-color: var(--err); color: #9b2c2c; }
.q.right { border-left: 4px solid var(--ok); } .q.wrong { border-left: 4px solid var(--err); } .q.blank { border-left: 4px solid var(--line); }
.expl { margin-top: 10px; padding: 10px 12px; background: #f1f5ff; border-left: 3px solid var(--blue); border-radius: 8px; font-size: .93rem; white-space: pre-wrap; }
.result { text-align: center; max-width: 620px; margin: 0 auto; }
.score { display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.score b { font-size: 4rem; color: var(--ink); line-height: 1; }
.score span { font-size: 1.4rem; color: var(--muted); }
.score-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.pill.bad { background: #fdecec; color: var(--err); }
.promo { background: radial-gradient(600px 300px at 90% 0%, #2a4aa8, transparent 70%), var(--ink); color: #b9c4ea; border-radius: 24px; padding: 36px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.promo h2 { color: #fff; margin: 0 0 6px; }
.promo p { margin: 0; max-width: 560px; }
.land-top { background: #fff; border-bottom: 1px solid var(--line); }
.land-hero { padding-top: 56px; }
.land-hero .stats { margin-top: 28px; }
.feature.card { padding: 20px; }
.land-foot { padding: 24px 0 90px; margin-top: 20px; }
.land-foot a { color: #fff; }
.pq { display: grid; gap: 10px; background: #fff; border-radius: 10px; padding: 14px; border: 1px solid var(--line); }
.pq-line { font-weight: 600; color: var(--ink); text-align: center; font-size: 1.02rem; }
.pq-line .katex-display { margin: 4px 0; }
.pq-opts { display: grid; gap: 6px; }
.pq-opt { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; background: var(--bg); font-size: 1.02rem; }
.pq-opt b { color: var(--blue); min-width: 22px; }
.pred-side + .pred-side .pq-opt b { color: var(--ok); }
.pq .katex-display { overflow-x: auto; overflow-y: hidden; padding: 2px 0; }
.pq .katex { font-size: 1.12em; }
.pred-side img { padding: 6px; }
.paper-head { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid #9fc3e6; border-radius: 8px; padding: 6px 10px; background: #fff; font-size: .82rem; color: var(--ink); }
.paper-head span { color: var(--muted); }
.pred-side > a img { cursor: zoom-in; }

/* ============ SƏHİFƏLİ DENEME + LÖVHƏ ============ */
.howto { display: grid; gap: 8px; margin: 14px 0; }
.howto div { display: flex; gap: 10px; align-items: center; background: var(--bg); border-radius: 10px; padding: 8px 12px; font-size: .92rem; }
.howto b { min-width: 34px; text-align: center; color: var(--blue); }
.pexam { max-width: 860px; margin: 0 auto; }
.pnav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 0; flex-wrap: wrap; }
.dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.dot { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.dot.done { border-color: var(--ok); color: var(--ok); }
.dot.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pageimg { position: relative; background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; user-select: none; -webkit-user-select: none; }
.pageimg img { width: 100%; display: block; pointer-events: none; }
.penbtn { position: absolute; transform: translate(-100%, 0); display: inline-flex; align-items: center; gap: 4px; font-size: 1.15rem; background: #fff; border: 2px solid var(--accent); border-radius: 999px; padding: 4px 9px; cursor: pointer; box-shadow: 0 3px 10px rgba(0,0,0,.12); line-height: 1; }
.penbtn.has { background: #fff3dc; }
.penbtn .chosen { font-size: .8rem; font-weight: 800; background: var(--ink); color: #fff; border-radius: 99px; padding: 2px 7px; }
@media (max-width: 600px) { .penbtn { font-size: .95rem; padding: 3px 7px; } }
.anssheet { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 14px; box-shadow: var(--shadow); }
.ans-title { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ansrow { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.ansrow b { min-width: 34px; color: var(--ink); }
.bub { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; }
.bub.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bub.pen { border-color: var(--accent); margin-left: auto; }
.board-wrap { position: fixed; inset: 0; z-index: 300; background: #eef1f7; display: grid; grid-template-rows: auto 1fr auto; }
.board-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--ink); color: #fff; flex-wrap: wrap; }
.board-top .bq { margin-right: 4px; }
.tools { display: flex; align-items: center; gap: 6px; flex: 1; flex-wrap: wrap; }
.tool { width: 38px; height: 38px; border-radius: 10px; border: 2px solid transparent; background: rgba(255,255,255,.1); cursor: pointer; display: grid; place-items: center; color: #fff; font-size: 1.1rem; }
.tool.on { border-color: var(--accent); background: rgba(255,255,255,.2); }
.tool.color::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--c); border: 2px solid #fff; }
.tool.size i { display: block; background: #fff; border-radius: 50%; }
.sep { width: 1px; height: 26px; background: rgba(255,255,255,.25); margin: 0 4px; }
.board { position: relative; overflow: hidden; margin: 8px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); touch-action: none; }
.board-svg { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.board-ans { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px 14px; }
.board-ans span { font-weight: 700; color: var(--ink); margin-right: 4px; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rbox { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; border-left: 4px solid var(--line); }
.rbox.right { border-left-color: var(--ok); } .rbox.wrong { border-left-color: var(--err); }
.rhead { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .88rem; }
.rhead b { font-size: 1rem; color: var(--ink); }
.sol-modal { width: min(720px, 100%); }
.qcrop { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 10px; margin: 6px 0 10px; background: #fff; }
.expl.sol { white-space: normal; line-height: 1.7; font-size: 1rem; }
.expl.sol .katex-display { margin: 6px 0; overflow-x: auto; overflow-y: hidden; }
@media (max-width: 600px) { .tool { width: 32px; height: 32px; font-size: .95rem; } .board-top { gap: 6px; padding: 6px 8px; } .sep { display: none; } }
/* lövhə v2 */
.board-wrap, .board-wrap * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.board-wrap { touch-action: none; }
.qcard { position: absolute; z-index: 1; background: #fff; border: 2px solid var(--accent); border-radius: 12px; padding: 4px; pointer-events: none; will-change: left, top, width; }
.qcard svg { width: 100%; height: 100%; display: block; }
.ink { position: absolute; inset: 0; z-index: 2; touch-action: none; cursor: crosshair; }
.qctl { position: absolute; z-index: 3; display: flex; gap: 4px; transform: translateY(-60%); }
.qctl button { height: 32px; min-width: 32px; padding: 0 10px; border-radius: 99px; border: 1.5px solid var(--accent); background: #fff; font: inherit; font-weight: 800; font-size: .9rem; color: var(--ink); cursor: pointer; touch-action: none; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.qctl .qdrag { cursor: grab; background: #fff3dc; }
.bub { width: 34px; height: 34px; font-size: .9rem; font-weight: 700; color: #3b4766; border-color: #d5dbe7; }
.bub.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.board-ans .bub { width: 36px; height: 36px; }
.board-ans { padding: 6px 12px 10px; }
.qctl button { white-space: nowrap; }

/* kitablar */
.cover { position: relative; }
.peek { position: absolute; left: 12px; bottom: 12px; border: 0; background: rgba(13,27,62,.85); color: #fff; font: inherit; font-weight: 700; font-size: .88rem; padding: 8px 12px; border-radius: 99px; cursor: pointer; }
.peek:hover { background: var(--ink); }
.choice { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.choice legend { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.choice label { display: flex !important; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 500 !important; }
.choice label:has(input:checked) { border-color: var(--blue); background: #f1f5ff; }
.choice input { width: auto !important; margin-top: 3px; }
.choice span { display: grid; gap: 2px; } .choice small { color: var(--muted); font-weight: 400; }
.cardbox { display: grid; gap: 6px; justify-items: center; background: var(--bg); border-radius: 12px; padding: 14px; margin: 10px 0; }
.cardno { font-size: 1.35rem; letter-spacing: .08em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pv-modal { width: min(760px, 100%); }
.pv { display: grid; gap: 12px; }
.pv-page { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.pv-page img { width: 100%; display: block; }
.pv-page.locked img { filter: blur(7px); opacity: .7; }
.pv-lock { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.gal { display: flex; gap: 8px; flex-wrap: wrap; } .gal-i { display: grid; gap: 4px; justify-items: center; } .gal-i img { width: 70px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.book .cover { aspect-ratio: 4/5; background: linear-gradient(160deg, #eef1f8, #e3e8f3); display: grid; place-items: center; padding: 18px; }
.book .cover img { width: auto; height: 100%; max-width: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 24px rgba(13,27,62,.25); }
.book .cover .cover-ph { width: 100%; border-radius: 8px; }
.book h3 { font-size: 1.02rem; }
.private-tag { display: inline-block; align-self: flex-start; background: #1f2a44; color: #ffd27a; font-size: .78rem; font-weight: 800; padding: 5px 10px; border-radius: 99px; margin-bottom: 8px; }
.book.private { border: 2px solid #1f2a44; }
.private-note { margin-top: 14px; background: #1f2a44; color: #fff; padding: 12px 14px; border-radius: 12px; font-weight: 600; text-align: center; }
.seats small.few { color: #c2410c; font-weight: 700; }
/* videolar + icazə */
.thumb .vbadge { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(13,27,62,.85); color: #ffd27a; font-size: .75rem; font-weight: 800; padding: 4px 9px; border-radius: 99px; }
.pdfchip { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 700; color: #b42318; background: #fff1f0; border: 1px solid #ffd2cc; padding: 4px 10px; border-radius: 99px; }
.access-bar { margin-bottom: 18px; }
.ab { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); }
.ab.ok { background: #e9f8f1; border-color: #b6e6cf; } .ab.wait { background: #fff8ea; border-color: #f3dca5; } .ab.no { background: #fff1f0; border-color: #ffd2cc; }
.vmodal { width: min(900px, 100%); }
.player { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.player iframe, .player #ytp { position: absolute; inset: 0; width: 100%; height: 100%; }
.lockover { position: absolute; inset: 0; background: rgba(13,27,62,.92); color: #fff; display: grid; place-items: center; text-align: center; padding: 20px; z-index: 3; }
.lockover h3 { color: #fff; margin: 6px 0; } .lockover p { color: #c9d3f0; max-width: 460px; margin: 0 auto 12px; }
.lockover[hidden] { display: none; }
.lockover .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); } .lockover .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* fəaliyyət tarixçəsi */
.tl { max-height: 55vh; overflow-y: auto; border-top: 1px solid var(--line); padding-top: 6px; }
.tl-day { position: sticky; top: 0; background: #fff; font-weight: 800; font-size: .85rem; color: var(--muted); padding: 10px 0 4px; text-transform: uppercase; letter-spacing: .03em; }
.tl-row { display: grid; grid-template-columns: 46px 26px 1fr; gap: 6px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; line-height: 1.4; }
.tl-time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .85rem; padding-top: 1px; }
.tl-row .sub { color: var(--muted); font-size: .82rem; }
.tl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.tl-stats div { background: var(--bg); border-radius: 12px; padding: 10px; text-align: center; }
.tl-stats b { display: block; font-size: 1.1rem; }
.tl-stats span { font-size: .78rem; color: var(--muted); }
@media (max-width: 560px) { .tl-stats { grid-template-columns: repeat(2, 1fr); } }

/* səhifələr arası hamar keçid (Safari 18.2+, Chrome 126+) */
@view-transition { navigation: auto; }
#site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
