/* ScholaMundus — "Akademi" görsel dili (5 Eki 2026). style.css'ten SONRA yüklenir.
   Mürekkep laciverdi zemin katmanları + fildişi sayfa + altın vurgu; başlıklar serif (Fraunces),
   gövde Nunito. Yazı tipleri yerelde barındırılır (static/fonts) — dış istek yok. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url("fonts/fraunces-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url("fonts/fraunces-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --murekkep: #0b1430;
    --murekkep-2: #141f47;
    --fildisi: #faf8f3;
    --kagit: #ffffff;
    --cizgi: #e7e1d6;
    --altin: #c8962e;
    --altin-acik: #f1d28a;
    --yazi: #161a2b;
    --yazi-2: #5b6176;
    --primary: #4a2bd4;
    --dark: #161a2b;
    --gray: #5b6176;
    --border: #e7e1d6;
    --light: #f4f1ea;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Nunito", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --golge: 0 1px 2px rgba(11,20,48,.05), 0 8px 24px rgba(11,20,48,.06);
    --golge-ust: 0 2px 4px rgba(11,20,48,.06), 0 18px 40px rgba(11,20,48,.13);
}

body { font-family: var(--sans); background: var(--fildisi); color: var(--yazi); -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }

/* Üst çubuk */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(250,248,243,.86);
    -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--cizgi); box-shadow: none; }
.logo { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; color: var(--murekkep); }
.searchbar input { border-radius: 999px 0 0 999px; border-color: var(--cizgi); background: #fff; padding-left: 18px; }
.searchbar button { border-radius: 0 999px 999px 0; background: var(--murekkep); }
.btn-primary { border-radius: 999px; padding: 9px 20px; background: var(--primary); box-shadow: 0 6px 16px rgba(74,43,212,.22); transition: transform .15s, box-shadow .15s; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(74,43,212,.3); }
.btn-outline { border-radius: 999px; padding: 9px 20px; border-color: var(--cizgi); color: var(--yazi); }
.btn-outline:hover { background: var(--murekkep); border-color: var(--murekkep); color: #fff; }
.alan-menu { background: var(--kagit); border-bottom: 1px solid var(--cizgi); }
.am-baslik { font-weight: 600; font-size: .92rem; }

/* İç sayfa başlık bandı */
.hero { position: relative; overflow: hidden; border-bottom: 0; color: #fff; padding: 52px 32px;
    background:
        radial-gradient(700px 320px at 12% -10%, rgba(92,66,255,.55), transparent 60%),
        radial-gradient(620px 300px at 92% 0%, rgba(200,150,46,.28), transparent 62%),
        radial-gradient(520px 320px at 60% 120%, rgba(15,143,131,.32), transparent 60%),
        linear-gradient(160deg, var(--murekkep) 0%, var(--murekkep-2) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%); }
.hero > * { position: relative; }
.hero h1 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.02em; line-height: 1.12; }
.hero p { color: rgba(255,255,255,.78); max-width: 760px; margin-left: auto; margin-right: auto; }
.hero p strong { color: var(--altin-acik); font-weight: 600; }

/* Ana sayfa ve sınav merkezi */
.p-hero { padding: 84px 32px 0; text-align: center; }
.p-ust { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(241,210,138,.4); border-radius: 999px;
    font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--altin-acik); background: rgba(241,210,138,.08); margin-bottom: 22px; }
.p-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.04; max-width: 900px; margin: 0 auto 18px; }
.p-hero h1 em { font-style: italic; font-weight: 500; background: linear-gradient(100deg, var(--altin-acik), #fff3d1 45%, var(--altin)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-hero .p-alt { font-size: 1.14rem; line-height: 1.6; max-width: 660px; }
.p-eylem { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 30px 0 0; }
.p-dugme { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.p-dugme.altin { color: #241a02; background: linear-gradient(180deg, #f6dc9d, var(--altin)); box-shadow: 0 10px 28px rgba(200,150,46,.38), inset 0 1px 0 rgba(255,255,255,.55); }
.p-dugme.altin:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(200,150,46,.5), inset 0 1px 0 rgba(255,255,255,.55); }
.p-dugme.cam { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.p-dugme.cam:hover { background: rgba(255,255,255,.14); }
.p-sayilar { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 980px; margin: 56px auto 0; border: 1px solid rgba(255,255,255,.14); border-bottom: 0;
    border-radius: 18px 18px 0 0; background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.p-sayi { padding: 22px 14px; border-left: 1px solid rgba(255,255,255,.1); }
.p-sayi:first-child { border-left: 0; }
.p-sayi strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.1; color: #fff; }
.p-sayi span { font-size: .84rem; color: rgba(255,255,255,.7); }

.p-bolum { max-width: 1180px; margin: 0 auto; padding: 64px 32px 0; }
.p-bolum:last-of-type { padding-bottom: 24px; }
.p-baslik { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.p-baslik h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.15; margin: 0; }
.p-baslik p { color: var(--yazi-2); max-width: 560px; margin: 8px 0 0; }
.p-kicker { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--altin); margin-bottom: 8px; }
.p-hepsi { font-weight: 600; color: var(--primary); white-space: nowrap; }
.p-hepsi:hover { text-decoration: underline; }

.p-izgara { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.p-izgara.uc { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.p-kart { --renk: var(--primary); position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; background: var(--kagit);
    border: 1px solid var(--cizgi); box-shadow: var(--golge); color: inherit; text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.p-kart::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--renk), color-mix(in srgb, var(--renk) 40%, #fff)); }
a.p-kart:hover { transform: translateY(-4px); box-shadow: var(--golge-ust); border-color: color-mix(in srgb, var(--renk) 35%, var(--cizgi)); }
.p-simge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.5rem; margin-bottom: 6px;
    background: color-mix(in srgb, var(--renk) 12%, #fff); }
.p-kart h3 { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1.2; margin: 0; }
.p-kart p { color: var(--yazi-2); font-size: .94rem; line-height: 1.55; margin: 0; }
.p-kart .p-ok { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: .9rem; color: var(--renk); }
.p-kart .p-kunye { font-size: .8rem; font-weight: 600; color: var(--yazi-2); letter-spacing: .02em; }
.p-adim { counter-increment: adim; }
.p-adim .p-simge { font-family: var(--serif); font-weight: 600; color: var(--renk); }
.p-adim .p-simge::before { content: counter(adim); }
.p-izgara.adimlar { counter-reset: adim; }

/* Koyu vurgu paneli (çıkmış sorular) */
.p-panel { position: relative; overflow: hidden; border-radius: 24px; padding: 40px; color: #fff;
    background: radial-gradient(600px 300px at 0% 0%, rgba(92,66,255,.5), transparent 60%), radial-gradient(500px 280px at 100% 100%, rgba(200,150,46,.3), transparent 60%), linear-gradient(160deg, var(--murekkep), var(--murekkep-2)); box-shadow: var(--golge-ust); }
.p-panel h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 8px; }
.p-panel > p { color: rgba(255,255,255,.78); max-width: 620px; margin: 0 0 24px; }
.p-kagitlar { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.p-kagit { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; color: #fff; text-decoration: none;
    border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); transition: background .15s, transform .15s; }
.p-kagit:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.p-kagit strong { display: block; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.p-kagit span { font-size: .82rem; color: rgba(255,255,255,.7); }
.p-kagit b { color: var(--altin-acik); font-size: 1.2rem; }

/* Sınav renkleri */
.s-lgs { --renk: #d9483b; } .s-tyt { --renk: #d97a12; } .s-ayt { --renk: #b4530a; }
.s-kpss { --renk: #2457d6; } .s-ales { --renk: #6d3ad8; } .s-dgs { --renk: #0f8f83; }
.s-yds { --renk: #0a7fa3; } .s-toefl { --renk: #4338ca; } .s-ielts { --renk: #b3123f; }

/* Ortak kart ve liste dokunuşları */
.course-card, .ders-kart, .sinav-kart, .konu-test-kart, .cikmis-soru, .ana-kart { border-color: var(--cizgi); border-radius: 16px; box-shadow: var(--golge); }
.course-card:hover, .sinav-kart:hover { box-shadow: var(--golge-ust); }
.chip { border-color: var(--cizgi); background: var(--kagit); font-weight: 600; }
.chip.active, .chip:hover { background: var(--murekkep); border-color: var(--murekkep); }
.konu-bolum h2, .ders-kart h2, .sinav-kart h2, .kitapcik-ders { font-family: var(--serif); }
footer { background: var(--kagit); border-top: 1px solid var(--cizgi); margin-top: 72px; }

@media (max-width: 720px) {
    .p-hero { padding: 56px 18px 0; }
    .p-sayilar { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
    .p-sayi:nth-child(3) { border-left: 0; }
    .p-sayi:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
    .p-bolum { padding: 44px 18px 0; }
    .p-panel { padding: 26px 20px; border-radius: 18px; }
    .hero { padding: 36px 18px; }
    .navbar { position: static; }
}
@media (prefers-reduced-motion: reduce) {
    .p-kart, .p-dugme, .p-kagit, .btn-primary { transition: none; }
    a.p-kart:hover, .p-dugme.altin:hover, .p-kagit:hover, .btn-primary:hover { transform: none; }
}

/* Telefonda sınav ve alan kutucukları ikişerli, açıklamasız: sayfa uzamasın */
@media (max-width: 720px) {
    .p-hero h1 { line-height: 1.1; }
    .p-izgara { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .p-izgara.uc, .p-izgara.tek { grid-template-columns: 1fr; }
    .p-kart { padding: 16px; border-radius: 14px; }
    .p-kart h3 { font-size: 1.08rem; }
    .p-kompakt p { display: none; }
    .p-simge { width: 40px; height: 40px; font-size: 1.25rem; border-radius: 12px; }
}

/* ===================== TEMA SEÇENEKLERİ (önizleme: static/tema-onizleme.js) ===================== */
@font-face { font-family: "Nunito"; font-weight: 400 900; font-display: swap; src: url("fonts/nunito-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: "Nunito"; font-weight: 400 900; font-display: swap; src: url("fonts/nunito-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: "Jakarta"; font-weight: 400 800; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: "Jakarta"; font-weight: 400 800; font-display: swap; src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: "Caveat"; font-weight: 500 700; font-display: swap; src: url("fonts/caveat-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: "Caveat"; font-weight: 500 700; font-display: swap; src: url("fonts/caveat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }

/* ---------- A · GÜN IŞIĞI: aydınlık, sıcak, yuvarlak, neşeli ---------- */
html.tema-gunisigi { --fildisi: #fff9f0; --cizgi: #f0e4d2; --border: #f0e4d2; --murekkep: #23264a; --yazi: #23264a; --dark: #23264a; --yazi-2: #5d6283; --gray: #5d6283;
    --primary: #ff5a3c; --altin: #ff5a3c; --altin-acik: #ffc93c; --serif: "Nunito", system-ui, sans-serif; --sans: "Nunito", system-ui, sans-serif; }
html.tema-gunisigi h1, html.tema-gunisigi h2, html.tema-gunisigi .p-kart h3, html.tema-gunisigi .logo { font-weight: 900; letter-spacing: -.02em; }
html.tema-gunisigi .hero { color: var(--yazi);
    background: radial-gradient(420px 420px at 8% 18%, #ffd9a8 0, transparent 62%), radial-gradient(380px 380px at 92% 10%, #b9ecff 0, transparent 60%),
                radial-gradient(420px 360px at 78% 96%, #ffc4d6 0, transparent 62%), radial-gradient(360px 320px at 22% 100%, #c9f5d9 0, transparent 60%), #fff9f0; }
html.tema-gunisigi .hero::before { display: none; }
html.tema-gunisigi .hero h1 { color: var(--yazi); }
html.tema-gunisigi .hero p { color: #4a4f72; }
html.tema-gunisigi .hero p strong { color: #e0442a; }
html.tema-gunisigi .p-ust { color: #b23a22; border-color: #ffc2b3; background: #fff; box-shadow: 0 4px 0 #ffd9cf; }
html.tema-gunisigi .p-hero h1 em { font-style: normal; background: linear-gradient(180deg, transparent 62%, #ffe27a 62%); -webkit-background-clip: border-box; background-clip: border-box; color: #ff5a3c; padding: 0 .12em; border-radius: 6px; }
html.tema-gunisigi .p-dugme.altin { color: #fff; background: #ff5a3c; box-shadow: 0 6px 0 #d43e23; }
html.tema-gunisigi .p-dugme.altin:hover { transform: translateY(2px); box-shadow: 0 4px 0 #d43e23; }
html.tema-gunisigi .p-dugme.cam { color: var(--yazi); background: #fff; border: 2px solid #23264a; box-shadow: 0 6px 0 #23264a; }
html.tema-gunisigi .p-dugme.cam:hover { background: #fff; transform: translateY(2px); box-shadow: 0 4px 0 #23264a; }
html.tema-gunisigi .p-sayilar { background: #fff; border: 2px solid #23264a; border-bottom: 0; border-radius: 26px 26px 0 0; box-shadow: 0 -6px 30px rgba(35,38,74,.08); }
html.tema-gunisigi .p-sayi { border-color: #efe6d8; }
html.tema-gunisigi .p-sayi span { color: var(--yazi-2); }
html.tema-gunisigi .p-sayi:nth-child(1) strong { color: #ff5a3c; }
html.tema-gunisigi .p-sayi:nth-child(2) strong { color: #0fa3b1; }
html.tema-gunisigi .p-sayi:nth-child(3) strong { color: #7c4dff; }
html.tema-gunisigi .p-sayi:nth-child(4) strong { color: #18a558; }
html.tema-gunisigi .p-kart { border: 2px solid #23264a; border-radius: 24px; box-shadow: 0 6px 0 color-mix(in srgb, var(--renk) 85%, #000); }
html.tema-gunisigi .p-kart::after { display: none; }
html.tema-gunisigi a.p-kart:hover { transform: translate(0, 3px) rotate(-.4deg); box-shadow: 0 3px 0 color-mix(in srgb, var(--renk) 85%, #000); border-color: #23264a; }
html.tema-gunisigi .p-simge { border-radius: 50%; background: color-mix(in srgb, var(--renk) 18%, #fff); width: 54px; height: 54px; }
html.tema-gunisigi .p-panel { color: var(--yazi); background: #ffe27a; border: 2px solid #23264a; box-shadow: 0 8px 0 #23264a; }
html.tema-gunisigi .p-panel h2 { color: var(--yazi); }
html.tema-gunisigi .p-panel > p { color: #4a4f72; }
html.tema-gunisigi .p-kagit { color: var(--yazi); background: #fff; border: 2px solid #23264a; }
html.tema-gunisigi .p-kagit span { color: var(--yazi-2); }
html.tema-gunisigi .p-kagit b { color: #ff5a3c; }
html.tema-gunisigi .p-kagit:hover { background: #fff; transform: translateY(-3px) rotate(.5deg); }
html.tema-gunisigi .btn-primary { background: #ff5a3c; box-shadow: 0 4px 0 #d43e23; }
html.tema-gunisigi .searchbar button, html.tema-gunisigi .chip.active, html.tema-gunisigi .chip:hover { background: #23264a; }
html.tema-gunisigi .navbar { background: rgba(255,249,240,.9); }

/* ---------- B · CANLI: beyaz zemin, parlak renk geçişleri, cam kartlar ---------- */
html.tema-canli { --fildisi: #f6f7fb; --cizgi: #e6e8f2; --border: #e6e8f2; --murekkep: #0f1226; --yazi: #0f1226; --dark: #0f1226; --yazi-2: #5a6079; --gray: #5a6079;
    --primary: #5b3df5; --altin: #5b3df5; --altin-acik: #fff; --serif: "Jakarta", system-ui, sans-serif; --sans: "Jakarta", system-ui, sans-serif; }
html.tema-canli h1, html.tema-canli h2, html.tema-canli .p-kart h3, html.tema-canli .logo { font-weight: 800; letter-spacing: -.03em; }
html.tema-canli .hero { background: linear-gradient(120deg, #5b3df5 0%, #b73df5 28%, #ff4d8d 55%, #ff8a3d 80%, #ffc93c 100%); background-size: 180% 180%; animation: tc-akis 14s ease-in-out infinite alternate; }
@keyframes tc-akis { to { background-position: 100% 60%; } }
html.tema-canli .hero::before { opacity: .35; }
html.tema-canli .p-ust { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.16); }
html.tema-canli .p-hero h1 em { font-style: normal; background: none; color: #fff; text-decoration: underline; text-decoration-color: #ffe27a; text-decoration-thickness: .12em; text-underline-offset: .12em; }
html.tema-canli .hero p { color: rgba(255,255,255,.92); }
html.tema-canli .p-dugme.altin { color: #0f1226; background: #fff; box-shadow: 0 14px 34px rgba(15,18,38,.28); }
html.tema-canli .p-dugme.cam { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.14); }
html.tema-canli .p-sayilar { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html.tema-canli .p-sayi { border-color: rgba(255,255,255,.3); }
html.tema-canli .p-sayi span { color: rgba(255,255,255,.9); }
html.tema-canli .p-kart { border: 0; border-radius: 22px; box-shadow: 0 1px 0 #fff inset, 0 10px 30px rgba(15,18,38,.07); }
html.tema-canli .p-kart::after { height: 100%; width: 5px; inset: 0 auto 0 0; background: linear-gradient(180deg, var(--renk), color-mix(in srgb, var(--renk) 30%, #ffc93c)); }
html.tema-canli a.p-kart:hover { transform: translateY(-6px); box-shadow: 0 24px 50px color-mix(in srgb, var(--renk) 26%, transparent); }
html.tema-canli .p-simge { background: linear-gradient(135deg, color-mix(in srgb, var(--renk) 22%, #fff), #fff); border-radius: 16px; }
html.tema-canli .p-panel { background: linear-gradient(120deg, #0f1226, #2a1b6b 55%, #7a1f6b); }
html.tema-canli .p-kicker { background: linear-gradient(90deg, #5b3df5, #ff4d8d); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
html.tema-canli .p-panel .p-kicker { background: none; color: #ffe27a; }
html.tema-canli .btn-primary { background: linear-gradient(90deg, #5b3df5, #9a2ae0); }

/* ---------- C · OKUL DEFTERİ: kara tahta, kareli defter, tebeşir ve kurşun kalem ---------- */
html.tema-defter { --fildisi: #fbfaf5; --cizgi: #dfe6ef; --border: #dfe6ef; --murekkep: #1e2a3a; --yazi: #1e2a3a; --dark: #1e2a3a; --yazi-2: #55617a; --gray: #55617a;
    --primary: #c0392b; --altin: #c0392b; --altin-acik: #ffe27a; --sans: "Nunito", system-ui, sans-serif; }
html.tema-defter body { background-color: #fbfaf5; background-image: linear-gradient(#e3ecf7 1px, transparent 1px), linear-gradient(90deg, #e3ecf7 1px, transparent 1px); background-size: 26px 26px; }
html.tema-defter .hero { background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.09), transparent 55%), radial-gradient(ellipse at 80% 90%, rgba(255,255,255,.06), transparent 50%), #24523f;
    border: 14px solid #8a5a2b; border-image: linear-gradient(180deg, #a8733b, #6e4520) 1; box-shadow: inset 0 0 60px rgba(0,0,0,.35); }
html.tema-defter .hero::before { opacity: .22; background-image: repeating-linear-gradient(112deg, rgba(255,255,255,.5) 0 1px, transparent 1px 7px); background-size: auto; -webkit-mask-image: none; mask-image: none; }
html.tema-defter .hero h1 { font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(2.6rem, 6.4vw, 4.8rem); letter-spacing: 0; line-height: 1; color: #fdfdf6; text-shadow: 0 0 1px rgba(255,255,255,.6); }
html.tema-defter .hero.hero-alan h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
html.tema-defter .p-hero h1 em { background: none; color: #ffe27a; font-style: normal; text-decoration: underline wavy rgba(255,226,122,.7); text-decoration-thickness: 2px; text-underline-offset: .14em; }
html.tema-defter .p-ust { font-family: "Caveat", cursive; font-size: 1.15rem; letter-spacing: .04em; text-transform: none; color: #fdfdf6; border: 1.5px dashed rgba(255,255,255,.6); background: none; }
html.tema-defter .hero p { color: rgba(253,253,246,.86); }
html.tema-defter .p-dugme.altin { color: #1e2a3a; background: #ffd54a; box-shadow: 0 5px 0 #b8901a; border-radius: 12px; }
html.tema-defter .p-dugme.altin:hover { transform: translateY(2px); box-shadow: 0 3px 0 #b8901a; }
html.tema-defter .p-dugme.cam { border: 1.5px dashed rgba(255,255,255,.7); border-radius: 12px; background: none; }
html.tema-defter .p-sayilar { background: rgba(0,0,0,.18); border: 1.5px dashed rgba(255,255,255,.45); border-bottom: 0; }
html.tema-defter .p-sayi strong { font-family: "Caveat", cursive; font-size: 2.6rem; color: #ffe27a; }
html.tema-defter .p-kicker { font-family: "Caveat", cursive; font-size: 1.35rem; letter-spacing: 0; text-transform: none; color: #c0392b; }
html.tema-defter .p-kart { border: 1px solid #d9d2bd; border-radius: 6px; background: #fffef8; padding-left: 38px; box-shadow: 2px 3px 0 rgba(30,42,58,.12), 0 12px 24px rgba(30,42,58,.07); }
html.tema-defter .p-kart::after { height: 100%; width: 2px; inset: 0 auto 0 24px; background: #f2a5a0; }
html.tema-defter .p-izgara > .p-kart:nth-child(odd) { transform: rotate(-.5deg); }
html.tema-defter .p-izgara > .p-kart:nth-child(even) { transform: rotate(.4deg); }
html.tema-defter a.p-kart:hover { transform: rotate(0) translateY(-5px) scale(1.02); box-shadow: 4px 8px 0 rgba(30,42,58,.14), 0 20px 34px rgba(30,42,58,.12); }
html.tema-defter .p-simge { background: #fff3c4; border-radius: 50% 46% 52% 48%; border: 1.5px solid #1e2a3a; }
html.tema-defter .p-kart .p-ok { font-family: "Caveat", cursive; font-size: 1.3rem; }
html.tema-defter .p-panel { background: #24523f; border: 12px solid #8a5a2b; border-radius: 8px; box-shadow: inset 0 0 50px rgba(0,0,0,.35), 0 16px 34px rgba(30,42,58,.2); }
html.tema-defter .p-panel h2 { font-family: "Caveat", cursive; font-size: 2.6rem; }
html.tema-defter .p-panel .p-kicker { color: #ffe27a; }
html.tema-defter .p-kagit { border: 1.5px dashed rgba(255,255,255,.55); border-radius: 8px; background: none; }
html.tema-defter .p-kagit strong { font-family: "Caveat", cursive; font-size: 1.5rem; }
html.tema-defter .btn-primary { background: #c0392b; border-radius: 10px; box-shadow: 0 4px 0 #8e261b; }
html.tema-defter .navbar { background: rgba(251,250,245,.92); border-bottom: 3px double #c9d6e6; }

/* Tema seçici (üst çubuk) */
.tema-sec { display: inline-flex; gap: 6px; align-items: center; padding: 4px 6px; border: 1px solid var(--cizgi); border-radius: 999px; background: #fff; }
.tema-sec button { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #c9ced8; cursor: pointer; }
.tema-sec button[data-tema="defter"] { background: linear-gradient(135deg, #24523f 50%, #ffd54a 50%); }
.tema-sec button[data-tema="gunisigi"] { background: linear-gradient(135deg, #ff5a3c 50%, #ffe27a 50%); }
.tema-sec button[data-tema="canli"] { background: linear-gradient(135deg, #5b3df5, #ff4d8d 60%, #ffc93c); }
.tema-sec button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--yazi); transform: scale(1.12); }
.tema-sec button:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Günün sorusu + gün serisi (static/gunun.js) */
.gunun { background: var(--kagit); border: 2px solid var(--yazi); border-radius: 18px; padding: 26px; box-shadow: 6px 7px 0 color-mix(in srgb, var(--yazi) 14%, transparent); }
.gs-ust { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.gs-ust h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.gs-seri { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.gs-ates { font-size: 1rem; padding: 6px 14px; border-radius: 999px; background: #fff3c4; border: 1.5px solid var(--yazi); }
.gs-ates strong { font-size: 1.2rem; }
.gs-gunler { display: inline-flex; gap: 5px; }
.gs-gun { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-size: .68rem; font-weight: 700; color: var(--yazi-2); border: 1.5px dashed #b9c2d0; }
.gs-gun.dolu { background: #ffd54a; color: #1e2a3a; border: 1.5px solid #1e2a3a; }
.gs-gun.bugun { outline: 2px solid var(--primary); outline-offset: 2px; }
.gs-eniyi { font-size: .8rem; color: var(--yazi-2); }
.gs-sinavlar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.gs-sinavlar button { border: 1.5px solid var(--cizgi); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: .86rem; cursor: pointer; }
.gs-sinavlar button[aria-pressed="true"] { background: var(--yazi); border-color: var(--yazi); color: #fff; }
.gs-kunye { font-size: .82rem; font-weight: 700; color: var(--yazi-2); margin-bottom: 8px; }
.gs-soru { font-size: 1.08rem; line-height: 1.6; margin-bottom: 16px; }
.gs-siklar { display: grid; gap: 10px; }
.gs-sik { display: flex; align-items: baseline; gap: 12px; text-align: left; width: 100%; padding: 13px 16px; border: 2px solid var(--cizgi); border-radius: 12px; background: #fff; font: inherit; color: inherit; cursor: pointer; transition: transform .12s, border-color .12s; }
.gs-sik b { flex: none; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--light); }
.gs-sik:not(:disabled):hover { border-color: var(--yazi); transform: translateX(4px); }
.gs-sik:disabled { cursor: default; }
.gs-sik.dogru { border-color: #1e7e34; background: #eaf7ee; } .gs-sik.dogru b { background: #1e7e34; color: #fff; }
.gs-sik.yanlis { border-color: #b71c1c; background: #fdecec; } .gs-sik.yanlis b { background: #b71c1c; color: #fff; }
.gs-sonuc { margin-top: 16px; padding-top: 16px; border-top: 1.5px dashed var(--cizgi); animation: gs-gel .35s ease-out; }
@keyframes gs-gel { from { opacity: 0; transform: translateY(8px); } }
.gs-karar { font-weight: 800; font-size: 1.1rem; }
.gs-sonuc.iyi .gs-karar { color: #1e7e34; } .gs-sonuc.kotu .gs-karar { color: #b71c1c; }
.gs-cozum { margin: 10px 0; padding: 10px 14px; border-left: 3px solid var(--primary); background: var(--light); border-radius: 0 8px 8px 0; font-size: .95rem; }
.gs-soz { font-family: "Caveat", cursive; font-size: 1.5rem; line-height: 1.2; color: var(--primary); margin: 12px 0; }
.gs-devam { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.gs-devam span { font-size: .86rem; color: var(--yazi-2); }
.gs-hata { color: #b71c1c; }
@media (max-width: 720px) { .gunun { padding: 18px 16px; } .gs-gun { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .gs-sonuc { animation: none; } .gs-sik { transition: none; } }

/* Teneffüs (static/mola.js) */
button.p-kart { font: inherit; text-align: left; cursor: pointer; align-items: flex-start; }
.teneffus-uzun { margin-top: 18px; color: var(--yazi-2); font-size: .95rem; }
.teneffus-uzun a, .mola-uzun a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.teneffus-oneri { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.mola-acik { overflow: hidden; }
.mola-pencere { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15,23,42,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: mola-gel .2s ease-out; }
@keyframes mola-gel { from { opacity: 0; } }
.mola-kutu { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; padding: 30px 26px 24px; text-align: center; border-radius: 22px; background: #fffef8; border: 2px solid #1e2a3a; box-shadow: 8px 10px 0 rgba(0,0,0,.25); color: #1e2a3a; }
.mola-carpi { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef1f5; cursor: pointer; font-size: 1rem; }
.mola-ust { font-family: "Caveat", cursive; font-size: 1.5rem; color: #c0392b; margin-bottom: 2px; }
.mola-kutu h2 { font-size: 1.6rem; margin: 0 0 4px; }
.mola-alt { color: #55617a; margin-bottom: 16px; }
.mola-secenekler { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mola-secenek { display: flex; flex-direction: column; gap: 3px; align-items: center; padding: 16px 10px; border: 2px solid #dfe6ef; border-radius: 16px; background: #fff; font: inherit; color: inherit; cursor: pointer; transition: transform .12s, border-color .12s; }
.mola-secenek:hover { transform: translateY(-3px); border-color: #1e2a3a; }
.mola-secenek span { font-size: 2rem; line-height: 1.1; } .mola-secenek em { font-style: normal; font-size: .8rem; color: #55617a; line-height: 1.35; }
.mola-sahne { position: relative; width: 190px; height: 190px; margin: 14px auto 16px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #e6f4ff, #cfe6fb); border: 2px solid #1e2a3a; display: flex; align-items: center; justify-content: center; }
.mola-top { width: 64px; height: 64px; border-radius: 50%; background: #ffd54a; border: 2px solid #1e2a3a; }
.mola-sahne[data-tur="nefes"] { border-radius: 26px; }
.mola-sahne[data-tur="nefes"][data-adim="al"].oynat .mola-top { animation: mola-buyu var(--adim-sure) ease-in-out forwards; }
.mola-sahne[data-tur="nefes"][data-adim="tut"] .mola-top { transform: scale(var(--tut, 2.4)); }
.mola-sahne[data-tur="nefes"][data-adim="ver"].oynat .mola-top { animation: mola-kucul var(--adim-sure) ease-in-out forwards; }
.mola-sahne[data-tur="nefes"][data-adim="ver"] ~ * { --tut: 1; }
@keyframes mola-buyu { from { transform: scale(1); } to { transform: scale(2.4); } }
@keyframes mola-kucul { from { transform: scale(2.4); } to { transform: scale(1); } }
.mola-sahne:not([data-tur="nefes"]) .mola-top { display: none; }
.mola-sahne:not([data-tur="nefes"])::after { font-size: 5rem; line-height: 1; }
.mola-sahne[data-adim="uzak"]::after { content: "🪟"; } .mola-sahne[data-adim="kapat"]::after { content: "😌"; } .mola-sahne[data-adim="kirp"]::after { content: "😉"; }
.mola-sahne[data-adim="omuz"]::after { content: "🤷"; } .mola-sahne[data-adim="boyun"]::after { content: "🙆"; } .mola-sahne[data-adim="kol"]::after { content: "🙌"; }
.mola-sahne[data-adim="bilek"]::after { content: "👐"; } .mola-sahne[data-adim="kalk"]::after { content: "🧍"; }
.mola-sahne[data-adim="su"]::after { content: "🥛"; } .mola-sahne[data-adim="hava"]::after { content: "🌬️"; } .mola-sahne[data-adim="otur"]::after { content: "🪑"; }
.mola-sahne:not([data-tur="nefes"]).oynat::after { animation: mola-zipla .5s ease-out; }
@keyframes mola-zipla { from { transform: scale(.6); opacity: .3; } }
.mola-yonerge { font-size: 1.15rem; font-weight: 700; min-height: 3.2em; line-height: 1.4; }
.mola-sayi { font-family: "Caveat", cursive; font-size: 2.6rem; line-height: 1; color: #c0392b; }
.mola-cubuk { height: 8px; border-radius: 99px; background: #e8ebf0; overflow: hidden; margin: 12px 0 16px; }
.mola-cubuk i { display: block; height: 100%; width: 0; background: #ffd54a; transition: width 1s linear; }
.mola-soz { font-family: "Caveat", cursive; font-size: 2.2rem !important; line-height: 1.1; margin: 10px 0 18px !important; }
.mola-eylem { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mola-uzun { margin-top: 20px; padding: 14px 16px; border: 1.5px dashed #b9c2d0; border-radius: 14px; text-align: left; font-size: .9rem; display: flex; flex-direction: column; gap: 6px; }
.mola-uzun span { color: #55617a; } .mola-uzun p { display: flex; flex-wrap: wrap; gap: 6px 16px; }
@media (max-width: 480px) { .mola-secenekler { grid-template-columns: 1fr; } .mola-sahne { width: 150px; height: 150px; } }
@media (prefers-reduced-motion: reduce) { .mola-pencere, .mola-sahne .mola-top, .mola-sahne::after { animation: none !important; } .mola-cubuk i { transition: none; } }

/* Hata defteri (sinav_defter.py) */
.defter-serit { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 14px; background: #fff5f3; border: 2px solid #c0392b; color: inherit; text-decoration: none; box-shadow: 5px 6px 0 rgba(192,57,43,.18); transition: transform .15s; }
.defter-serit:hover { transform: translateY(-3px); }
.defter-serit-simge { font-size: 2.2rem; line-height: 1; }
.defter-serit strong { display: block; font-family: var(--serif); font-size: 1.25rem; }
.defter-serit em { font-style: normal; color: var(--yazi-2); font-size: .93rem; }
.defter-serit b { margin-left: auto; white-space: nowrap; color: #c0392b; }
.defter-not { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .95rem; }
.defter-not a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.defter-sayilar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.defter-sayi { padding: 18px 12px; text-align: center; border-radius: 14px; background: var(--kagit); border: 1.5px solid var(--cizgi); }
.defter-sayi strong { display: block; font-family: "Caveat", cursive; font-size: 3rem; line-height: 1; }
.defter-sayi span { font-size: .85rem; color: var(--yazi-2); }
.defter-sayi.bugun { border-color: #c0392b; background: #fff5f3; } .defter-sayi.bugun strong { color: #c0392b; }
.defter-sayi.kapandi strong { color: #1e7e34; }
.defter-soz { font-family: "Caveat", cursive; font-size: 1.5rem; line-height: 1.25; margin-top: 14px; color: var(--yazi); }
.defter-grup-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.defter-grup-ust h2 { margin: 0; }
.defter-liste { list-style: none; padding: 0; margin: 0; background: var(--kagit); border: 1.5px solid var(--cizgi); border-radius: 12px; overflow: hidden; }
.defter-liste li { display: grid; grid-template-columns: minmax(120px, 190px) 1fr auto 56px; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px dashed var(--cizgi); font-size: .92rem; }
.defter-liste li:first-child { border-top: 0; }
.defter-liste li.bugun { background: #fff5f3; }
.defter-konu { font-weight: 700; } .defter-soru { color: var(--yazi-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.defter-basamak { display: inline-flex; gap: 4px; }
.defter-basamak i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #9aa5b5; }
.defter-basamak i.dolu { background: #1e7e34; border-color: #1e7e34; }
.defter-vade { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.defter-liste li.bugun .defter-vade { color: #c0392b; }
.defter-bos { text-align: center; padding: 30px 0; } .defter-bos p { margin: 10px 0; }
@media (max-width: 720px) {
    .defter-liste li { grid-template-columns: 1fr auto; } .defter-soru { display: none; } .defter-basamak { display: none; }
    .defter-serit { flex-wrap: wrap; } .defter-serit b { margin-left: 0; }
}

/* Üst çubuk: tema seçici eklendikten sonra dar ekranda satır kırılmasın */
.navbar nav a, .navbar nav .btn-outline, .navbar nav .btn-primary, .lang-btn { white-space: nowrap; }
.navbar .searchbar { flex: 1 1 180px; min-width: 0; margin: 0 16px; }
.navbar { gap: 8px; }
@media (max-width: 1180px) and (min-width: 721px) { .navbar { padding-left: 18px; padding-right: 18px; } .navbar nav { gap: 8px; } .navbar nav .user-hi { display: none; } }
@media (max-width: 1100px) and (min-width: 721px) { .navbar { flex-wrap: wrap; row-gap: 10px; } .navbar nav { flex-wrap: wrap; justify-content: flex-end; margin-left: auto; } }
@media (max-width: 1100px) and (min-width: 761px) { .am-liste { flex-wrap: wrap; justify-content: center; } .am-baslik { padding-top: 9px; padding-bottom: 9px; } }

/* Karnem: seviye ve rozetler (sinav_rozet.py) */
.serit-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.karne-serit { background: #f3f8ff; border-color: #2457d6; box-shadow: 5px 6px 0 rgba(36,87,214,.18); }
.karne-serit b { color: #2457d6; }
.seviye-kutu { background: var(--kagit); border: 2px solid var(--yazi); border-radius: 18px; padding: 24px; box-shadow: 6px 7px 0 color-mix(in srgb, var(--yazi) 14%, transparent); }
.seviye-ust { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.seviye-no { flex: none; width: 84px; height: 84px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: "Caveat", cursive; font-size: 3.4rem; line-height: 1; background: #ffd54a; border: 2px solid #1e2a3a; box-shadow: 3px 4px 0 #1e2a3a; color: #1e2a3a; }
.seviye-ust h2 { margin: 0; font-size: 1.9rem; }
.seviye-soz { font-family: "Caveat", cursive; font-size: 1.45rem; line-height: 1.2; color: var(--primary); }
.seviye-cubuk { height: 14px; border-radius: 99px; background: #e8ebf0; border: 1.5px solid #1e2a3a; overflow: hidden; margin-bottom: 8px; }
.seviye-cubuk i { display: block; height: 100%; background: repeating-linear-gradient(45deg, #ffd54a 0 10px, #ffc21a 10px 20px); }
.olcu-sayilar { margin-top: 16px; }
.rozet-sayac { font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.rozet-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 12px; }
.rozet { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 18px 12px 14px; border-radius: 16px; background: var(--kagit); border: 1.5px solid var(--cizgi); }
.rozet-simge { font-size: 2.6rem; line-height: 1.1; }
.rozet strong { font-size: 1rem; } .rozet-aciklama { font-size: .8rem; color: var(--yazi-2); line-height: 1.35; min-height: 2.7em; }
.rozet-durum { font-size: .78rem; font-weight: 700; color: var(--yazi-2); }
.rozet-cubuk { width: 100%; height: 6px; border-radius: 99px; background: #e8ebf0; overflow: hidden; }
.rozet-cubuk i { display: block; height: 100%; width: 0; background: #2457d6; }
.rozet.kilitli .rozet-simge { filter: grayscale(1); opacity: .45; }
.rozet.kazanildi { border: 2px solid #1e2a3a; background: #fffbe6; box-shadow: 3px 4px 0 rgba(30,42,58,.2); transform: rotate(-.6deg); }
.rozet.kazanildi:nth-child(even) { transform: rotate(.6deg); }
.rozet.kazanildi .rozet-durum { color: #1e7e34; }
.defter-cikmis { background: var(--kagit); border: 1.5px solid var(--cizgi); border-radius: 12px; overflow: hidden; }
.defter-cikmis details { border-top: 1px dashed var(--cizgi); padding: 11px 14px; }
.defter-cikmis details:first-child { border-top: 0; }
.defter-cikmis summary { cursor: pointer; font-weight: 700; font-size: .93rem; }
.defter-cikmis img { margin-top: 12px; }
@media (max-width: 720px) { .serit-ikili { grid-template-columns: 1fr; } .seviye-no { width: 64px; height: 64px; font-size: 2.6rem; } .rozet-izgara { grid-template-columns: repeat(2, 1fr); } }

/* Düello */
.duello-serit { background: #fff8e6; border-color: #b8901a; box-shadow: 5px 6px 0 rgba(184,144,26,.22); }
.duello-serit b { color: #8a6a00; }
.duello-adimlar { margin: 8px 0 0 22px; line-height: 1.9; }
.duello-dersler { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 10px; }
.duello-ders { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: var(--kagit); border: 1.5px solid var(--cizgi); }
.duello-ders a { text-align: center; }
.duello-kutu { background: var(--kagit); border: 2px solid var(--yazi); border-radius: 18px; padding: 26px; max-width: 640px; margin-left: auto; margin-right: auto; box-shadow: 6px 7px 0 color-mix(in srgb, var(--yazi) 14%, transparent); }
.duello-meydan { font-size: 1.25rem; }
.duello-form { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 12px; }
.duello-form label, .duello-sonuc label { font-size: .88rem; font-weight: 700; }
.duello-form input[type="text"], .duello-paylas input { padding: 11px 14px; border: 1.5px solid var(--cizgi); border-radius: 10px; font: inherit; min-width: 0; }
.duello-form button { align-self: flex-start; }
.duello-sonuc { margin: 14px 0; padding: 18px; border-radius: 14px; background: #fff8e6; border: 2px solid #b8901a; text-align: left; }
.duello-skor { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 1.15rem; margin: 4px 0; }
.duello-skor b { font-family: "Caveat", cursive; font-size: 3.2rem; line-height: 1; vertical-align: middle; margin: 0 6px; }
.duello-skor i { font-style: normal; color: var(--yazi-2); }
.duello-sonuc .defter-soz { text-align: center; margin: 4px 0 12px; }
.duello-paylas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.duello-paylas input { flex: 1 1 240px; background: #fff; }

/* Öğretmen köşesi */
.ogretmen-serit { background: #f1faf3; border-color: #1e7e34; box-shadow: 5px 6px 0 rgba(30,126,52,.18); }
.ogretmen-serit b { color: #1e7e34; }
.ogr-sinav { margin-top: 12px; background: var(--kagit); border: 1.5px solid var(--cizgi); border-radius: 12px; padding: 12px 16px; }
.ogr-sinav summary { cursor: pointer; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.ogr-sinav h3 { font-size: 1rem; margin: 16px 0 6px; }
.ogr-konular { list-style: none; padding: 0; margin: 0; }
.ogr-konular li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 7px 0; border-top: 1px dashed var(--cizgi); font-size: .93rem; }
.ogr-konular li a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--cizgi); }
.ogr-kopyala { margin-left: auto; border: 1.5px solid var(--cizgi); background: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.ogr-kopyala:hover { border-color: var(--yazi); }
.ogr-mola { justify-content: flex-start; }
.ogr-yakinda { padding: 18px 20px; border: 1.5px dashed #9aa5b5; border-radius: 14px; }
.ogr-yakinda a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.konu-sayfa .konu-bolum > p + p, .konu-sayfa .konu-bolum > p + .filter-bar { margin-top: 12px; }

/* Telefonda üst çubuk: tek satır (logo + giriş/kayıt + tema + dil), altında arama. Eskiden 352 px tutuyordu. */
@media (max-width: 720px) {
    .navbar { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 12px; gap: 8px 6px; }
    .navbar .logo { order: 1; font-size: 1.15rem; }
    .navbar nav { order: 2; margin-left: auto; gap: 6px; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
    .navbar nav > a[href$="/en-cok-egitim-alanlar"], .navbar nav .user-hi { display: none; }
    .navbar nav .btn-outline, .navbar nav .btn-primary { padding: 7px 11px; font-size: .82rem; box-shadow: none; }
    .navbar .searchbar { order: 3; flex: 1 1 100%; margin: 0; max-width: none; }
    .tema-sec { padding: 3px 5px; gap: 4px; } .tema-sec button { width: 20px; height: 20px; }
    .lang-btn { padding: 6px 8px; font-size: .8rem; }
}
@media (max-width: 720px) { .navbar .logo { font-size: 1.05rem; } .lang-btn { font-size: 0; padding: 6px 9px; } .lang-btn::before { content: "🌐"; font-size: 1rem; } }

/* Denetim turu 1 (6 Eki 2026) */
/* Gün ışığı: beyaz üstünde ana renk AA kontrastı tutsun (#ff5a3c 3,1 idi) */
html.tema-gunisigi { --primary: #c9361b; --altin: #c9361b; }
html.tema-gunisigi .p-dugme.altin, html.tema-gunisigi .btn-primary { background: #c9361b; box-shadow: 0 5px 0 #8f2410; }
html.tema-gunisigi .p-dugme.altin:hover { box-shadow: 0 3px 0 #8f2410; }
html.tema-gunisigi .p-hero h1 em, html.tema-gunisigi .p-kagit b { color: #c9361b; }
html.tema-gunisigi .p-ust { color: #9c2a14; }
.s-tyt { --renk: #b05a05; } .s-yds { --renk: #086f8f; }
.back-link { color: var(--yazi-2); }
/* Hata defteri satırı açılır: soru, şıklar, çözüm */
.defter-aciklama { margin: 0 0 8px; font-size: .88rem; }
.defter-satir { border-top: 1px dashed var(--cizgi); }
.defter-satir:first-child { border-top: 0; }
.defter-satir.bugun { background: #fff5f3; }
.defter-satir summary { display: grid; grid-template-columns: minmax(120px, 190px) 1fr auto 56px; gap: 12px; align-items: center; padding: 11px 14px; font-size: .92rem; cursor: pointer; list-style: none; }
.defter-satir summary::-webkit-details-marker { display: none; }
.defter-satir summary:hover .defter-konu { text-decoration: underline; }
.defter-satir.bugun .defter-vade { color: #c0392b; }
.defter-ic { padding: 4px 14px 16px; }
.defter-ic .q-option { padding: 6px 10px; margin: 4px 0; border-radius: 8px; }
.defter-ic .q-option.correct { background: #eaf7ee; outline: 1.5px solid #1e7e34; }
@media (max-width: 720px) {
    .defter-satir summary { grid-template-columns: 1fr auto; gap: 4px 10px; }
    .defter-satir .defter-soru { display: block; grid-column: 1 / -1; grid-row: 2; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .defter-satir .defter-basamak { display: inline-flex; grid-column: 1; grid-row: 3; }
}

/* Sınıf kodu ve ödev takibi */
.sinif-davet { max-width: 1180px; margin: 14px auto 0; padding: 0 32px; font-size: .95rem; }
.sinif-davet a, .sinif-liste a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.sinif-kutu { background: var(--kagit); border: 1.5px solid var(--cizgi); border-radius: 16px; padding: 22px; }
.sinif-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 8px; }
.sinif-form input[type="text"], .sinif-form select { flex: 1 1 220px; min-width: 0; padding: 11px 14px; border: 1.5px solid var(--cizgi); border-radius: 10px; font: inherit; background: #fff; }
.sinif-form label { font-size: .88rem; font-weight: 700; }
#sinif-kod { text-transform: uppercase; letter-spacing: .25em; font-weight: 800; max-width: 240px; }
.sinif-liste { list-style: none; padding: 0; margin: 0 0 6px; }
.sinif-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 9px 0; border-top: 1px dashed var(--cizgi); }
.sinif-kod, .sinif-kod-buyuk { font-family: Consolas, "Courier New", monospace; letter-spacing: .18em; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: #fff3c4; color: #1e2a3a; border: 1.5px solid #1e2a3a; }
.sinif-kod-buyuk { font-size: 1.3em; color: #1e2a3a !important; }
.sinif-tablo-kap { overflow-x: auto; background: var(--kagit); border: 1.5px solid var(--cizgi); border-radius: 12px; }
.sinif-tablo { border-collapse: collapse; width: 100%; font-size: .9rem; }
.sinif-tablo th, .sinif-tablo td { padding: 9px 12px; border-bottom: 1px dashed var(--cizgi); text-align: center; white-space: nowrap; }
.sinif-tablo th[scope="row"], .sinif-tablo thead th:first-child { text-align: left; position: sticky; left: 0; background: var(--kagit); }
.sinif-tablo thead th { vertical-align: bottom; white-space: normal; min-width: 130px; }
.sinif-odev-ad { display: block; font-weight: 700; } .sinif-tablo small { color: var(--yazi-2); font-weight: 400; }
.sinif-tablo td.yapti { background: #f1faf3; } .sinif-tablo td.yapmadi { color: #9aa5b5; }
.sinif-tablo tfoot td, .sinif-tablo tfoot th { border-top: 2px solid var(--yazi); border-bottom: 0; font-size: .82rem; }
.sinif-tablo .zayif { color: #b71c1c; }
.sinif-odevler { display: grid; gap: 10px; }
.sinif-odev { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--kagit); border: 1.5px solid var(--cizgi); }
.sinif-odev div { display: flex; flex-direction: column; gap: 2px; } .sinif-odev div span { font-size: .85rem; }
.sinif-odev.yapti { background: #f1faf3; border-color: #1e7e34; }
.sinif-odev-durum { font-weight: 800; color: #1e7e34; }
.sinif-sil { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .88rem; color: var(--yazi-2); }
@media (max-width: 720px) { .sinif-davet { padding: 0 18px; } }

/* Üye girişliyken üst çubuk: selam yazısı dar ekranda gizli, bağlantılar arama kutusuna binmez */
.navbar nav .user-hi { white-space: nowrap; }
@media (min-width: 721px) { .navbar nav { flex: none; } .navbar .searchbar { min-width: 140px; } }
@media (max-width: 1500px) { .navbar nav .user-hi { display: none; } }
@media (max-width: 1280px) and (min-width: 721px) { .navbar nav > a[href$="/en-cok-egitim-alanlar"] { font-size: 0; } .navbar nav > a[href$="/en-cok-egitim-alanlar"]::before { content: "🏆"; font-size: 1.1rem; } }
