/* ============================================================
   GençPusula AI – Tema
   Gençlik ve Spor Bakanlığı
============================================================ */

:root {
    --c-primary: #15616D;
    --c-primary-dark: #0C424A;
    --c-primary-light: #E2F1F2;
    --c-secondary: #C77B30;
    --c-secondary-dark: #9E5F22;
    --c-accent: #E0A458;
    --c-success: #2BB673;
    --c-info: #0EA5E9;
    --c-warning: #E0A458;
    --c-danger: #EF4444;

    --c-text: #0F172A;
    --c-text-muted: #64748B;
    --c-bg: #F6F8FC;
    --c-card: #FFFFFF;
    --c-border: #E2E8F0;
    --c-border-strong: #CBD5E1;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
    --shadow: 0 2px 8px rgba(15,23,42,.08);
    --shadow-lg: 0 12px 32px rgba(15,23,42,.12);

    --sidebar-w: 260px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, system-ui, -apple-system, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .75rem; letter-spacing: -0.01em; line-height: 1.25; }
h1 { font-size: 1.75rem; font-weight: 700; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.1rem;  font-weight: 600; }

p { margin: 0 0 .75rem; }
hr { border: none; border-top: 1px solid var(--c-border); margin: 1.25rem 0; }
code, pre { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ==================== App Layout ==================== */
/* Uygulama sayfalarında pencere (html) hiçbir şekilde kaydırılamaz;
   kaydırma yalnızca .main içindedir. clip: odak/scrollIntoView kaynaklı
   programatik kaymaları da engeller (sayfanın "üstünün kesilmesi" hatası). */
html:has(> body.app) { overflow: clip; }
.app {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    grid-template-rows: minmax(0, 1fr);
    height: 100vh;
    overflow: hidden; /* eski tarayıcılar için */
    overflow: clip;
    align-items: stretch;
}

.sidebar {
    background: linear-gradient(180deg, #0C3A3F 0%, #0F4C53 100%);
    color: #E8EEF7;
    padding: .9rem 0 0;
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    transition: background .15s;
}
.sidebar:hover::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); }

.brand { padding: 0 1rem .75rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-link { display: flex; gap: .65rem; align-items: center; color: #fff; }
.brand-link:hover { text-decoration: none; }
.brand-mark {
    width: 44px; height: 44px;
    flex-shrink: 0;
    display: block;
    border-radius: 50%;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
}
.sidebar .brand-mark {
    filter: drop-shadow(0 3px 10px rgba(0,0,0,.4));
    background: #FFFFFF;
}
/* Görsel yüklenemezse gösterilecek zarif geçici marka */
.brand-mark-fallback {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #15616D 0%, #E0A458 50%, #C77B30 100%);
    align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1rem;
    flex-shrink: 0;
}
.brand-mark-fallback::before { content: "GP"; letter-spacing: 0.5px; }
.brand-title { font-weight: 800; letter-spacing: .5px; font-size: 1.05rem; }
.brand-sub { font-size: .68rem; color: #A5B4C9; margin-top: 1px; }

.nav { flex: 1; padding: .6rem .6rem; display: flex; flex-direction: column; gap: 1px; }
.nav-section {
    font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: #8AA4C5; padding: .7rem .75rem .2rem;
}
.nav-link {
    display: flex; align-items: center; gap: .65rem;
    padding: .45rem .75rem; border-radius: 9px; color: #CBD6E7; font-weight: 500;
    font-size: .92rem;
    transition: background .15s, color .15s, transform .15s;
    position: relative;
}
.nav-link i[data-ico] { width: 18px; height: 18px; }
.nav-link i[data-ico] { flex-shrink: 0; }
.nav-link:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.nav-link.active {
    background: linear-gradient(135deg, var(--c-accent), #DC7F04);
    color: #fff; font-weight: 700;
}
.nav-link.active:hover { filter: brightness(1.08); }
.nav-link .pill {
    margin-left: auto; background: var(--c-secondary); color: #fff;
    font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
}
.nav-accent {
    background: linear-gradient(135deg, var(--c-accent), #DC7F04);
    color: #fff !important;
}
.nav-accent:hover { filter: brightness(1.08); }
.nav-danger { color: #F5B4B4 !important; }
.nav-danger:hover { background: rgba(239,68,68,.18); }

.sidebar-foot {
    padding: .75rem 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15,41,67,0.92) 0%, #0F4C53 100%);
    backdrop-filter: blur(6px);
}
@media (max-height: 820px) {
    .sidebar-foot { display: none; }
}
.copyright { font-size: .72rem; color: #7A8FAB; }

/* ==================== Partner Logos ==================== */
.partners { text-align: center; }
.partners-logos {
    display: inline-flex; align-items: center; gap: 1rem;
    flex-wrap: wrap; justify-content: center;
}
.partner {
    display: inline-flex; align-items: center; gap: .7rem;
    text-decoration: none !important; color: inherit;
    transition: transform .15s, opacity .15s;
}
.partner:hover { transform: translateY(-2px); }
.partner img { display: block; object-fit: contain; }
.partner-name { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.partner-name b { font-size: .92rem; font-weight: 700; }
.partner-name small { font-size: .72rem; opacity: .7; margin-top: 2px; }
.partners-divider {
    color: var(--c-text-muted); font-size: 1.4rem; font-weight: 300;
    opacity: .5; user-select: none;
}

/* Sidebar variant (dark) */
.partners-sidebar { padding: .25rem 0; }
.partners-sidebar .partners-caption {
    font-size: .68rem; color: #6F83A0;
    text-transform: uppercase; letter-spacing: .14em;
    margin-bottom: .55rem; font-weight: 700;
}
.partners-sidebar .partners-logos { gap: .5rem; }
.partners-sidebar .partner {
    background: #fff; border-radius: 10px; padding: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.partners-sidebar .partner img { height: 24px; width: auto; }
.partners-sidebar .partners-divider {
    color: #6F83A0; font-size: 1rem;
}

/* Auth variant (small, below card) */
.partners-auth { margin-top: 1.25rem; }
.partners-auth .partners-logos { gap: 1.25rem; }
.partners-auth .partner img { height: 30px; width: auto; }
.partners-auth .partners-divider { font-size: 1rem; color: var(--c-border-strong); }

/* Footer variant (on dark footer) */
.guest-footer .partners { margin-bottom: 1rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.guest-footer .partner {
    background: #fff; border-radius: 14px;
    padding: 10px 16px 10px 10px;
    color: #0C3A3F;
}
.guest-footer .partner img { height: 36px; width: auto; }
.guest-footer .partner-name small { opacity: .55; }
.guest-footer .partners-divider { color: #415876; font-size: 1.8rem; }
.guest-footer .footer-brand { margin-top: 1rem; font-size: .9rem; color: #CBD6E7; }

/* Hero band variant (light, under hero) */
.partners-band {
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}
.partners-hero .partners-title {
    font-size: .75rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--c-text-muted); margin-bottom: 1.1rem;
}
.partners-hero .partners-logos { gap: 1.75rem; }
.partners-hero .partner {
    padding: 10px 18px 10px 12px;
    border-radius: 16px; background: #fff;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
}
.partners-hero .partner:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow);
}
.partners-hero .partner img { height: 46px; width: auto; }
.partners-hero .partner-name b { font-size: 1rem; }
.partners-hero .partners-divider { font-size: 2rem; color: var(--c-border-strong); }

@media (max-width: 640px) {
    .partners-hero .partners-logos { gap: .75rem; }
    .partners-hero .partner { padding: 8px 12px 8px 8px; }
    .partners-hero .partner img { height: 34px; width: auto; }
    .partners-hero .partner-name b { font-size: .88rem; }
    .partners-divider { display: none; }
    .guest-footer .partners-divider { display: none; }
}

/* ==================== Main ==================== */
.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; overflow-y: auto; }
.topbar {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(1.3) blur(14px);
    border-bottom: 1px solid var(--c-border);
    padding: .85rem 1.5rem;
    display: flex; align-items: center; gap: 1rem;
}
.menu-toggle {
    display: none; background: none; border: 0; cursor: pointer; padding: 8px;
    border-radius: 8px;
}
.menu-toggle:hover { background: var(--c-primary-light); }
.topbar-title { font-size: 1.1rem; font-weight: 700; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }

.user-chip {
    display: flex; align-items: center; gap: .6rem;
    padding: 4px 10px 4px 4px; border-radius: 999px;
    background: var(--c-primary-light); color: var(--c-text);
}
.user-chip:hover { text-decoration: none; background: #D5E5F7; }
.avatar {
    width: 36px; height: 36px; border-radius: 50%;
    color: #fff; font-weight: 700; font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    text-transform: uppercase;
}
.avatar.sm { width: 28px; height: 28px; font-size: .85rem; }
.avatar.lg { width: 48px; height: 48px; font-size: 1.2rem; }
.user-meta .user-name { font-weight: 600; font-size: .88rem; line-height: 1.1; }
.user-meta .user-role { font-size: .72rem; color: var(--c-text-muted); }

.content { padding: 1.5rem 1.5rem 3rem; flex: 1 0 auto; max-width: 1400px; width: 100%; }

/* ==================== Flash ==================== */
.flash-wrap { padding: 0 1.5rem; }
.flash {
    padding: .8rem 1rem; border-radius: 12px; margin-top: .75rem;
    font-weight: 500; border: 1px solid transparent;
    display: flex; align-items: center; gap: .75rem;
    animation: slideIn .3s ease;
}
/* [hidden] + display:flex çakışmasını gider: native hidden yok sayılıyordu */
.flash[hidden] {
    display: none !important;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.flash-success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.flash-error   { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.flash-info    { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }
.flash-warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }

/* ==================== Cards / Grid ==================== */
.card {
    background: var(--c-card); border: 1px solid var(--c-border);
    border-radius: var(--radius-lg); padding: 1.35rem;
    box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 1rem; }
.card-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.card-head h2, .card-head h3 { margin: 0; }
.card-head .spacer { flex: 1; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* Kısayol kartları (panel altı bağlantılar) */
.link-card {
    display: flex; flex-direction: column; gap: .4rem;
    text-decoration: none; color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.link-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-lg);
    border-color: var(--c-primary); text-decoration: none;
}
.link-card h3 {
    display: flex; align-items: center; gap: .55rem;
    margin: 0; font-size: 1.05rem; font-weight: 700;
}
.link-card h3 i[data-ico] { color: var(--c-primary); flex-shrink: 0; }
.link-card p {
    margin: 0; color: var(--c-text-muted);
    font-size: .86rem; line-height: 1.45;
    min-height: 2.5em; display: flex; align-items: flex-start;
}

/* ==================== Stats ==================== */
.stat {
    background: var(--c-card); border: 1px solid var(--c-border);
    border-radius: var(--radius-lg); padding: 1.15rem 1.25rem;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.stat::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
    background: var(--c-primary);
}
.stat.s-secondary::before { background: var(--c-secondary); }
.stat.s-accent::before    { background: var(--c-accent); }
.stat.s-success::before   { background: var(--c-success); }
.stat.s-info::before      { background: var(--c-info); }
.stat-label { font-size: .8rem; color: var(--c-text-muted); font-weight: 500; }
.stat-value { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.stat-sub   { font-size: .78rem; color: var(--c-text-muted); margin-top: 4px; }
.stat-icon  { position: absolute; right: 1rem; top: 1rem; font-size: 1.5rem; opacity: .25; }

/* ==================== Buttons / Form ==================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .5rem;
    padding: .6rem 1.1rem; border-radius: 10px; font-weight: 600; font-size: .92rem;
    cursor: pointer; border: 1px solid transparent; background: #fff;
    transition: transform .05s, box-shadow .2s, background .2s, border-color .2s;
    color: var(--c-text);
    text-decoration: none !important;
}
.btn:hover { box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn-primary   { background: var(--c-primary);   color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); }
.btn-secondary { background: var(--c-secondary); color: #fff; }
.btn-secondary:hover { background: var(--c-secondary-dark); }
.btn-success   { background: var(--c-success); color: #fff; }
.btn-accent    { background: var(--c-accent); color: #fff; }
.btn-ghost     { background: transparent; border-color: var(--c-border); }
.btn-ghost:hover { background: var(--c-primary-light); border-color: var(--c-primary); }
.btn-outline   { background: #fff; border-color: var(--c-border-strong); }
.btn-outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-danger    { background: var(--c-danger); color: #fff; }
.btn-sm { padding: .35rem .7rem; font-size: .82rem; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field > label { font-weight: 600; font-size: .88rem; }
.input, .textarea, .select {
    padding: .65rem .85rem; border: 1px solid var(--c-border-strong);
    border-radius: 10px; background: #fff; font: inherit; color: inherit;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}
.input:focus, .textarea:focus, .select:focus {
    outline: none; border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(30,102,184,.15);
}
.textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
.check { display: flex; align-items: center; gap: .5rem; }
.hint { font-size: .78rem; color: var(--c-text-muted); }

/* ==================== Badges / Pills ==================== */
.badge {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 4px 12px; border-radius: 999px;
    font-size: .7rem; font-weight: 700; color: #fff;
    letter-spacing: .02em; text-transform: uppercase;
    line-height: 1.2; white-space: nowrap; vertical-align: middle;
}
.status { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.status-open      { background: #DBEAFE; color: #1E40AF; }
.status-matched   { background: #D1FAE5; color: #065F46; }
.status-closed    { background: #F1F5F9; color: #475569; }
.status-cancelled { background: #FEE2E2; color: #991B1B; }
.status-scheduled { background: #DBEAFE; color: #1E40AF; }
.status-in_progress { background: #FEF3C7; color: #92400E; }
.status-completed { background: #D1FAE5; color: #065F46; }
.status-active    { background: #D1FAE5; color: #065F46; }
.status-pending_approval { background: #FEF3C7; color: #92400E; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }

.chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; background: #F1F5F9; border-radius: 999px;
    font-size: .76rem; color: #475569; font-weight: 500;
}
.chip-primary { background: var(--c-primary-light); color: var(--c-primary-dark); }

/* ==================== Tables ==================== */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
    padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--c-border);
    font-size: .92rem;
}
.table th {
    font-size: .78rem; color: var(--c-text-muted); font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em;
    background: #F8FAFC;
}
.table tr:hover td { background: #F8FAFC; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--c-border); background: #fff; }

/* ==================== Page head ==================== */
.page-head {
    display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.page-head h1 { margin: 0; }
.page-head .subtitle { color: var(--c-text-muted); margin-top: 4px; }
.page-head .spacer { flex: 1; }

.profile-form-actions {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.35rem;
}
a.btn.profile-logout {
    color: #B91C1C; border-color: rgba(220, 38, 38, 0.38);
}
a.btn.profile-logout:hover { background: rgba(220, 38, 38, 0.07); color: #991B1B; }

/* Pagination */
.pagination {
    display: flex; gap: .35rem; align-items: center; justify-content: center;
    flex-wrap: wrap;
}
.page-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 12px;
    border-radius: 10px; border: 1px solid var(--c-border);
    background: #fff; color: var(--c-text);
    font-weight: 600; font-size: .88rem;
    transition: border-color .15s, color .15s, background .15s;
}
.page-btn:hover { text-decoration: none; border-color: var(--c-primary); color: var(--c-primary); }
.page-btn.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.page-btn.disabled { pointer-events: none; opacity: .45; }
.page-ellipsis { padding: 0 4px; color: var(--c-text-muted); }

/* Uzmanlık uyum skoru rozeti */
.match-score {
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; letter-spacing: 0;
    line-height: 1.3;
}
.match-high { background: #DCFCE7; color: #065F46; border: 1px solid #86EFAC; }
.match-mid  { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.match-low  { background: #F1F5F9; color: #475569; border: 1px solid #CBD5E1; }

/* ==================== Request Card ==================== */
.req-card-wrap { position: relative; }
.req-card-del {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    opacity: 0; transition: opacity .15s;
}
.req-card-wrap:hover .req-card-del { opacity: 1; }
.req-card-del button {
    background: #fff; border: 1px solid var(--c-border);
    width: 32px; height: 32px; border-radius: 50%;
    cursor: pointer; font-size: 14px;
    box-shadow: var(--shadow-sm);
    display: inline-flex; align-items: center; justify-content: center;
    color: #64748B;
    transition: background .15s, color .15s, border-color .15s;
}
.req-card-del button:hover {
    background: #FEF2F2; color: #DC2626; border-color: #FCA5A5;
}
.req-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
    padding: 1.15rem; transition: transform .15s, box-shadow .15s, border-color .15s;
    display: flex; flex-direction: column; gap: .75rem;
    position: relative; overflow: hidden;
}
.req-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.req-cat {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
    color: #fff; letter-spacing: 0;
    box-shadow: 0 1px 3px rgba(15,23,42,.12);
    white-space: nowrap;
}
.req-cat .cat-emoji { font-size: .95rem; line-height: 1; }
.req-card h3 { margin: 0; }
.req-card h3 a { color: inherit; }
.req-card .req-desc { color: var(--c-text-muted); font-size: .9rem;
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.req-meta { display: flex; gap: 1rem; align-items: center; font-size: .8rem; color: var(--c-text-muted); flex-wrap: wrap; }

/* ==================== Request Detail (Hero + Question) ==================== */
.req-hero {
    position: relative; overflow: hidden;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    isolation: isolate;
}
.req-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 240px at 0% 0%, color-mix(in srgb, var(--accent, #15616D) 18%, transparent), transparent 55%);
    z-index: -1;
}
.req-hero::after {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0;
    width: 6px;
    background: var(--accent, #15616D);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
.req-hero-icon {
    width: 76px; height: 76px; border-radius: 20px;
    background: linear-gradient(135deg, var(--accent, #15616D), color-mix(in srgb, var(--accent, #15616D) 70%, #fff));
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2.4rem; color: #fff;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--accent, #15616D) 35%, transparent),
                inset 0 1px 0 rgba(255,255,255,.35);
    flex-shrink: 0;
    position: relative;
}
.req-hero-icon::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 60%);
    border-radius: inherit;
}
.req-hero-body { min-width: 0; }
.req-hero-badges {
    display: flex; gap: .45rem; flex-wrap: wrap;
    margin-bottom: .65rem; align-items: center;
}
/* Hero içindeki tüm rozetler aynı ebatta ve hizalı olsun */
.req-hero-badges .req-cat,
.req-hero-badges .status,
.req-hero-badges .chip {
    height: 28px;
    padding: 0 12px;
    font-size: .78rem;
    font-weight: 600;
    border-radius: 999px;
    display: inline-flex; align-items: center; gap: 6px;
    line-height: 1;
    text-transform: none;
    letter-spacing: 0;
}
.req-hero-badges .req-cat { font-weight: 700; }
.req-hero-badges .status {
    background: #fff; border: 1px solid var(--c-border);
    color: var(--c-text); box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.req-hero-badges .status-open::before      { content: "●"; color: #16A34A; margin-right: 2px; }
.req-hero-badges .status-matched::before   { content: "✓"; color: #059669; margin-right: 2px; font-weight: 900; }
.req-hero-badges .status-closed::before    { content: "○"; color: #64748B; margin-right: 2px; }
.req-hero-badges .status-cancelled::before { content: "✕"; color: #DC2626; margin-right: 2px; font-weight: 900; }
.req-hero-badges .chip { background: #F1F5F9; color: #334155; }
.req-hero-title {
    margin: 0 0 .5rem;
    font-size: 1.75rem; font-weight: 800;
    letter-spacing: -.01em; line-height: 1.15;
    color: var(--c-text);
}
.req-hero-meta {
    display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
    color: var(--c-text-muted); font-size: .9rem;
}
.req-hero-meta .dot {
    width: 4px; height: 4px; border-radius: 50%; background: var(--c-border-strong);
    display: inline-block;
}
.req-hero-actions { display: flex; gap: .5rem; flex-shrink: 0; }

@media (max-width: 820px) {
    .req-hero { grid-template-columns: auto 1fr; }
    .req-hero-actions { grid-column: 1 / -1; }
    .req-hero-title { font-size: 1.35rem; }
    .req-hero-icon { width: 60px; height: 60px; font-size: 2rem; }
}

/* Question / description card */
.req-question .card-head { margin-bottom: .5rem; }
.q-label { display: flex; gap: .75rem; align-items: center; }
.q-bubble {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, #15616D, #4F8FD4);
    color: #fff; font-weight: 800; font-size: 1.1rem;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(30,102,184,.25);
}
.q-title { font-weight: 700; font-size: 1.02rem; }
.q-sub   { font-size: .78rem; }

.req-desc-big {
    font-size: 1.02rem; line-height: 1.65;
    color: var(--c-text);
    white-space: pre-wrap;
    padding: .85rem 1rem;
    border-left: 3px solid var(--c-primary);
    background: linear-gradient(90deg, #F0F7FF 0%, transparent 100%);
    border-radius: 0 10px 10px 0;
    margin: 0;
}
.req-meta-chips { margin-top: .85rem; display: flex; gap: .4rem; flex-wrap: wrap; }

/* AI card */
.ai-card {
    background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 60%, #FFFFFF 100%);
    border-color: #FCD34D;
    position: relative; overflow: hidden;
}
.ai-card::before {
    content: ""; position: absolute; top: -30px; right: -30px;
    width: 140px; height: 140px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.18), transparent 70%);
}
.ai-card .card-head { margin-bottom: .6rem; }
.ai-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, #E0A458, #FBBF24);
    color: #fff; font-size: 1.15rem;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(245,158,11,.35);
}
.ai-teaser {
    background: linear-gradient(135deg, #F8FAFC, #FFFFFF);
    border: 1px dashed var(--c-border-strong);
}
.ai-icon-big {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, #E0A458, #FBBF24);
    color: #fff; font-size: 1.4rem;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Interest form */
.interest-form {
    background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%);
    border-color: #86EFAC;
}
.interest-given {
    background: #ECFDF5; border-color: #A7F3D0;
}

.emoji-badge {
    width: 40px; height: 40px; border-radius: 12px;
    background: #F0F7FF;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.emoji-badge-primary { background: var(--c-primary-light); }
.emoji-badge-success { background: #D1FAE5; }

/* Interest box */
.interest-box .empty-soft {
    border: 1px dashed var(--c-border-strong);
    background: linear-gradient(180deg, #FAFBFF 0%, #FFFFFF 100%);
    border-radius: 16px;
    padding: 2.25rem 1.25rem;
    text-align: center;
}
.empty-wave {
    font-size: 2.4rem; letter-spacing: .2rem;
    animation: wave 2.6s ease-in-out infinite;
    display: inline-block; margin-bottom: .75rem;
}
@keyframes wave {
    0%, 100% { transform: rotate(-4deg); }
    50%      { transform: rotate(4deg); }
}

.interest-list { gap: .8rem; }
.interest-card {
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius); padding: 1rem;
    transition: border-color .15s, box-shadow .15s;
}
.interest-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }

.interest-quote {
    margin-top: .65rem; padding: .6rem .85rem .6rem 1.5rem;
    background: #F8FAFC; border-radius: 10px;
    font-size: .9rem; color: #334155;
    position: relative; font-style: italic;
}
.interest-quote .q-mark {
    position: absolute; left: .45rem; top: .15rem;
    font-size: 1.4rem; color: var(--c-primary); font-style: normal;
    font-weight: 700;
}

/* Match / tip card */
.match-card {
    background: linear-gradient(135deg, #ECFDF5, #FFFFFF);
    border-color: #86EFAC;
    position: relative; overflow: hidden;
}
.match-card::before {
    content: "🎉"; position: absolute; right: -10px; top: -20px;
    font-size: 6rem; opacity: .08; transform: rotate(15deg);
}
.tip-card {
    background: linear-gradient(135deg, #FFFBEB, #FFFFFF);
    border-color: #FDE68A;
}
.tip-card h3 { margin: 0 0 .35rem; }

/* ==================== Hero duo (student dashboard) ==================== */
.hero-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.hero-duo-card {
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    display: flex; flex-direction: column;
    min-height: 160px;
}
.hero-duo-card h2 { margin-bottom: .4rem; }
.hero-duo-card p  { flex: 1; margin-bottom: .75rem; }
@media (max-width: 720px) {
    .hero-duo { grid-template-columns: 1fr; }
}

/* ==================== Student profile ==================== */
.student-profile { background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%); }
.student-header { display: flex; gap: 1rem; align-items: flex-start; }
.student-header .avatar.lg { width: 72px; height: 72px; font-size: 1.8rem; flex-shrink: 0; }

/* ==================== Feedback type picker ==================== */
.feedback-types { display: flex; gap: .5rem; flex-wrap: wrap; }
.fb-type-option input { display: none; }
.fb-type-card {
    display: flex; align-items: center; gap: .5rem;
    padding: .55rem 1rem; border-radius: 10px;
    border: 2px solid var(--c-border); background: #fff;
    cursor: pointer; transition: border-color .15s, background .15s;
    font-weight: 600; font-size: .88rem;
}
.fb-type-card:hover { border-color: var(--c-primary); }
.fb-type-option input:checked + .fb-type-card {
    border-color: var(--c-primary); background: var(--c-primary-light);
}
.fb-type-icon { font-size: 1.2rem; }

/* ==================== Rating Stars ==================== */
.rating-row {
    display: flex; align-items: center; gap: 1rem;
    padding: .55rem 0; border-bottom: 1px solid var(--c-border);
}
.rating-row:last-of-type { border-bottom: none; }
.rating-label { flex: 1; min-width: 0; }
.rating-stars {
    display: flex; flex-direction: row-reverse;
    gap: 2px;
}
.rating-stars input { display: none; }
.rating-stars label {
    font-size: 1.5rem; cursor: pointer; color: #CBD5E1;
    transition: color .1s;
    line-height: 1;
}
.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input:checked ~ label {
    color: #E0A458;
}

/* ==================== Moderation Alert ==================== */
.moderation-alert {
    background: linear-gradient(135deg, #FEF2F2 0%, #FFFFFF 100%);
    border: 2px solid #FCA5A5 !important;
    margin-bottom: 1rem;
    animation: shakeIn .4s ease;
}
@keyframes shakeIn {
    0%   { transform: translateX(0); opacity: 0; }
    25%  { transform: translateX(-8px); opacity: 1; }
    50%  { transform: translateX(6px); }
    75%  { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}
.mod-head { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: .75rem; }
.mod-icon {
    font-size: 2rem; line-height: 1;
    width: 48px; height: 48px; border-radius: 14px;
    background: #FEE2E2; display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mod-title { font-size: 1.1rem; font-weight: 800; color: #991B1B; }
.mod-sub { display: flex; gap: .5rem; align-items: center; margin-top: 3px; font-size: .82rem; }
.mod-source { color: #64748B; }
.chip-danger { background: #FEE2E2; color: #991B1B; font-weight: 700; border: 1px solid #FCA5A5; }
.mod-reason {
    padding: .85rem 1rem;
    background: rgba(255,255,255,.7);
    border-radius: 10px; border-left: 3px solid #DC2626;
    margin-bottom: .75rem; color: #7F1D1D;
    line-height: 1.55;
}
.mod-tips {
    font-size: .85rem; color: #64748B;
    padding: .5rem 0 0;
}

/* Safety alert (randevu buluşma yeri vb. kritik güvenlik uyarıları) */
.safety-alert {
    display: flex; gap: .85rem; align-items: flex-start;
    padding: 1rem 1.15rem; margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 60%, #FFFFFF 100%);
    border: 1px solid #FCD34D;
    border-left: 4px solid #E0A458;
    border-radius: 12px;
    font-size: .92rem; line-height: 1.55; color: #78350F;
}
.safety-icon {
    font-size: 1.6rem; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: 10px;
    background: #fff; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
}

/* AI guard banner (form üstü bilgi kartı) */
.ai-guard-banner {
    display: flex; gap: .85rem; align-items: center;
    padding: .85rem 1rem; margin-bottom: 1rem;
    background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
    border: 1px solid #BAE6FD;
    border-radius: 12px;
}
.ai-guard-ico {
    font-size: 1.6rem; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: 10px;
    background: #fff; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
}

/* ==================== Chat / Messages ==================== */
.chat {
    display: flex; flex-direction: column; gap: .5rem;
    max-height: 500px; overflow-y: auto; padding: .75rem;
    background: #F8FAFC; border-radius: var(--radius); border: 1px solid var(--c-border);
}
.msg { display: flex; gap: .5rem; max-width: 80%; }
.msg-bubble { padding: .6rem .85rem; border-radius: 14px; font-size: .92rem; line-height: 1.45; }
.msg-time { font-size: .7rem; color: var(--c-text-muted); margin-top: 2px; }
.msg.me { margin-left: auto; flex-direction: row-reverse; }
.msg.me .msg-bubble { background: var(--c-primary); color: #fff; border-bottom-right-radius: 4px; }
.msg.me .msg-bubble .msg-link { color: #BFDBFE; text-decoration: underline; }
.msg.them .msg-bubble .msg-link { color: var(--c-primary); text-decoration: underline; }
.msg-link:hover { opacity: .8; }
.msg-link-blocked {
    color: #94A3B8; font-size: .82rem; font-style: italic;
    cursor: not-allowed;
}
.msg.them .msg-bubble { background: #fff; border: 1px solid var(--c-border); border-bottom-left-radius: 4px; }

/* ==================== Notify Panel ==================== */
.notify { position: relative; }
.notify-bell {
    border: 0; background: var(--c-primary-light); width: 40px; height: 40px;
    border-radius: 10px; cursor: pointer; position: relative;
}
.notify-bell:hover { background: #D5E5F7; }
.notify-dot {
    position: absolute; top: -4px; right: -4px;
    background: var(--c-secondary); color: #fff;
    font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px;
    border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 5px; border: 2px solid #fff;
}
.notify-panel {
    position: absolute; top: calc(100% + 8px); right: 0; width: 360px;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); z-index: 50; overflow: hidden;
}
.notify-head {
    padding: .85rem 1rem; font-weight: 700; display: flex; justify-content: space-between;
    border-bottom: 1px solid var(--c-border);
}
.notify-list { max-height: 380px; overflow-y: auto; }
.notify-item {
    padding: .75rem 1rem; border-bottom: 1px solid var(--c-border);
    display: flex; gap: .7rem; align-items: flex-start; cursor: pointer;
}
.notify-item:hover { background: #F8FAFC; }
.notify-item.unread { background: #F0F7FF; }
.notify-icon {
    width: 32px; height: 32px; border-radius: 8px; background: var(--c-primary-light);
    color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.notify-title { font-weight: 600; font-size: .88rem; }
.notify-body  { font-size: .8rem; color: var(--c-text-muted); }
.notify-time  { font-size: .72rem; color: var(--c-text-muted); margin-top: 2px; }

/* ==================== Misc ==================== */
.muted { color: var(--c-text-muted); }
.tc { text-align: center; }
.tr { text-align: right; }
.p-2 { padding: 1rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.flex { display: flex; gap: .75rem; align-items: center; }
.flex-col { display: flex; flex-direction: column; gap: .75rem; }
.gap-2 { gap: 1rem !important; }
.spacer { flex: 1; }

.kbd { display: inline-block; padding: 2px 8px; background: #F1F5F9; border: 1px solid var(--c-border); border-radius: 6px; font-family: 'JetBrains Mono', monospace; font-size: .82rem; }

.empty {
    text-align: center; padding: 3rem 1.5rem; color: var(--c-text-muted);
    border: 2px dashed var(--c-border); border-radius: var(--radius-lg);
    background: #fff;
}
.empty-emoji { font-size: 3rem; display: block; margin-bottom: .5rem; }

/* ==================== Guest (public) ==================== */
.guest { background: var(--c-bg); min-height: 100vh; display: flex; flex-direction: column; }
.guest-header {
    background: #fff; border-bottom: 1px solid var(--c-border);
    padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1rem; justify-content: space-between;
    position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px);
}
.guest-brand { display: flex; gap: .75rem; align-items: center; color: var(--c-text); }
.guest-brand:hover { text-decoration: none; }
.guest-brand b { font-size: 1.05rem; display: block; }
.guest-brand small { color: var(--c-text-muted); font-size: .72rem; }
.guest-nav { display: flex; gap: .5rem; align-items: center; }
.guest-nav a { padding: .5rem .8rem; border-radius: 8px; }
.guest-nav a:hover { background: var(--c-primary-light); text-decoration: none; }
.guest-nav .btn { padding: .5rem 1rem; }
.guest-footer {
    margin-top: auto; padding: 2rem 1rem; background: #0C3A3F; color: #CBD6E7;
    text-align: center;
}

/* ==================== Scientist Character ==================== */
.scientist-wrap {
    position: fixed;
    bottom: 0; right: 24px;
    width: 140px; height: 182px;
    z-index: 30;
    pointer-events: none;
    transition: transform .3s ease;
    filter: drop-shadow(0 -4px 16px rgba(15,23,42,0.08));
}
.scientist-svg {
    width: 100%; height: 100%;
    display: block;
}
.sc-speech {
    animation: speechBob 3s ease-in-out infinite;
}
@keyframes speechBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}
@media (max-width: 960px) {
    .scientist-wrap { width: 110px; height: 143px; right: 12px; }
}
@media (max-width: 600px) {
    .scientist-wrap { display: none; }
}

/* ==================== FAQ Accordion ==================== */
.faq-list {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: .5rem;
}
.faq {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.faq:hover { border-color: var(--c-primary); }
.faq[open] {
    border-color: var(--c-primary);
    box-shadow: 0 4px 16px rgba(30,102,184,0.08);
}
.faq-q {
    padding: 1rem 1.25rem;
    font-weight: 700; font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex; align-items: center; gap: .75rem;
    color: var(--c-text);
    transition: color .15s;
    user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before {
    content: "+";
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--c-primary-light); color: var(--c-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800; flex-shrink: 0;
    transition: background .2s, color .2s, transform .3s;
}
.faq[open] .faq-q::before {
    content: "−";
    background: var(--c-primary); color: #fff;
    transform: rotate(180deg);
}
.faq-q:hover { color: var(--c-primary); }
.faq-a {
    padding: 0 1.25rem 1.15rem 3.5rem;
    color: var(--c-text-muted);
    line-height: 1.7;
    font-size: .95rem;
    animation: faqSlide .25s ease;
}
@keyframes faqSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.faq-a ul { margin: .35rem 0 0; }
.faq-a li { margin-bottom: .25rem; }

/* ==================== Canvas Trail (MEDTR-AI style) ==================== */
.trail-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
}
@media (hover: none), (max-width: 768px) {
    .trail-canvas { display: none !important; }
}

/* ===== Yatay scroll sorunu: tüm taşmaları engelle ===== */
html, body { overflow-x: hidden; }
.guest { overflow-x: hidden; }

/* ==================== Magnetic Buttons ==================== */
.magnetic-btn {
    will-change: transform;
    transition: box-shadow .25s, background .2s, border-color .2s;
    position: relative;
    z-index: 1;
}
.magnetic-btn::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.magnetic-btn:hover::after { opacity: 1; }
.magnetic-btn:hover {
    box-shadow: 0 8px 28px rgba(30,102,184,0.3), 0 0 0 1px rgba(255,255,255,0.15) inset;
}
.btn-ghost.magnetic-btn:hover {
    box-shadow: 0 6px 20px rgba(15,23,42,0.12), 0 0 0 1px rgba(30,102,184,0.2) inset;
}

/* Hero */
.hero {
    background:
      radial-gradient(900px 500px at 10% -10%, rgba(30,102,184,.18), transparent 50%),
      radial-gradient(900px 500px at 110% 20%, rgba(200,16,46,.16), transparent 50%),
      linear-gradient(180deg, #F6F9FF 0%, #FFFFFF 100%);
    padding: 4rem 1.5rem 3rem;
    overflow: hidden; position: relative;
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.hero h1 {
    font-size: 3rem; line-height: 1.05; margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--c-primary), var(--c-secondary) 65%, var(--c-accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    letter-spacing: -.02em; font-weight: 800;
}
.hero .lead { font-size: 1.1rem; color: #334155; max-width: 560px; }
.hero-cta { display: flex; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hero-art {
    position: relative; height: 360px;
}
.hero-art .blob {
    position: absolute; border-radius: 36% 64% 54% 46% / 48% 40% 60% 52%;
    filter: blur(.3px);
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    animation: float 9s ease-in-out infinite;
}
.hero-art .b1 { width: 220px; height: 220px; background: linear-gradient(135deg, #15616D, #6BA6F0); top: 0; left: 30px; }
.hero-art .b2 { width: 180px; height: 180px; background: linear-gradient(135deg, #C77B30, #FF5A73); bottom: 0; right: 20px; animation-delay: -3s; }
.hero-art .b3 { width: 140px; height: 140px; background: linear-gradient(135deg, #E0A458, #FBBF24); top: 40px; right: 80px; animation-delay: -6s; }
.hero-art .b4 { width: 120px; height: 120px; background: linear-gradient(135deg, #2BB673, #34D399); bottom: 50px; left: 80px; animation-delay: -1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-18px) scale(1.04); } }

.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.hero-chips .chip { background: #fff; border: 1px solid var(--c-border); }

.section { padding: 3rem 1.5rem; }
.section h2 { font-size: 1.8rem; text-align: center; margin-bottom: .5rem; }
.section .lead { text-align: center; color: var(--c-text-muted); margin-bottom: 2rem; }

.feature {
    padding: 1.5rem; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { box-shadow: var(--shadow); border-color: var(--c-primary); }
.feature { will-change: transform; }
.feature .icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--c-primary), #4F8FD4);
    color: #fff; font-size: 1.5rem;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: .85rem;
}
.feature.c2 .icon { background: linear-gradient(135deg, var(--c-secondary), #E1586E); }
.feature.c3 .icon { background: linear-gradient(135deg, var(--c-accent), #FBBF24); }
.feature.c4 .icon { background: linear-gradient(135deg, var(--c-success), #34D399); }
.feature.c5 .icon { background: linear-gradient(135deg, #117A8B, #A78BFA); }
.feature.c6 .icon { background: linear-gradient(135deg, #0EA5E9, #38BDF8); }

/* Auth boxes */
.auth-scene {
    position: relative;
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 4rem;
    overflow: hidden;
    isolation: isolate;
}
.auth-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1400px 600px at 50% 100%, rgba(30, 102, 184, 0.06), transparent 70%),
        radial-gradient(800px 380px at 50% 10%, rgba(245, 158, 11, 0.05), transparent 70%),
        linear-gradient(180deg, #FBFDFF 0%, #F3F7FC 60%, #F7FAFE 100%);
    z-index: -2;
}
.auth-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(247,250,254,0.85) 100%);
    z-index: -1;
    pointer-events: none;
}
.auth-bridge {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(1800px, 150vw);
    max-width: none;
    pointer-events: none;
    z-index: -1;
    opacity: 0.42;
    filter: saturate(0.7) blur(0.2px);
    -webkit-mask-image:
        linear-gradient(to right,
            transparent 0%,
            rgba(0,0,0,0.35) 8%,
            #000 20%,
            #000 80%,
            rgba(0,0,0,0.35) 92%,
            transparent 100%);
            mask-image:
        linear-gradient(to right,
            transparent 0%,
            rgba(0,0,0,0.35) 8%,
            #000 20%,
            #000 80%,
            rgba(0,0,0,0.35) 92%,
            transparent 100%);
}
.auth-bridge img {
    width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
}
.auth-wrap { width: 100%; max-width: 460px; margin: 0 auto; padding: 0 1rem; position: relative; z-index: 1; }
.auth-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 20px 60px -20px rgba(30, 102, 184, 0.25), 0 4px 12px rgba(15, 23, 42, 0.06);
}
@media (max-width: 720px) {
    .auth-bridge { opacity: 0.32; width: 200vw; bottom: 0; }
    .auth-scene  { min-height: calc(100vh - 180px); padding: 1.5rem 1rem 3rem; }
}

/* About page hero — pusula/keşif arka planı */
.about-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--c-border);
    background:
        radial-gradient(900px 380px at 50% 108%, rgba(21, 97, 109, 0.07), transparent 70%),
        radial-gradient(620px 300px at 50% -18%, rgba(224, 164, 88, 0.09), transparent 70%),
        linear-gradient(180deg, #FCFEFE 0%, #EFF6F6 100%);
    box-shadow: var(--shadow-sm);
    padding: 3.25rem 1.5rem 3.5rem;
    isolation: isolate;
    margin-bottom: 1rem;
}
.about-aura {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
/* Kadran, hero'nun ortasına değil pusula logosunun merkezine oturur:
   --aura-y = üst boşluk + logo yarıçapı. */
.about-aura img {
    position: absolute;
    left: 50%;
    top: var(--aura-y, 118px);
    transform: translate(-50%, -50%);
    width: min(1400px, 130%);
    min-width: 880px;
    height: auto;
    display: block;
    -webkit-mask-image: radial-gradient(farthest-side ellipse at 50% 50%, #000 52%, rgba(0,0,0,.68) 76%, transparent 100%);
            mask-image: radial-gradient(farthest-side ellipse at 50% 50%, #000 52%, rgba(0,0,0,.68) 76%, transparent 100%);
}
.about-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.about-hero-logo {
    width: 132px;
    height: 132px;
    margin: 0 auto .9rem;
    display: block;
    filter: drop-shadow(0 12px 30px rgba(12, 66, 74, 0.22));
}
.about-hero-eyebrow {
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-primary-dark);
    font-weight: 700;
    margin-bottom: .6rem;
}
.about-hero-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--c-text);
    letter-spacing: -0.01em;
}
.about-hero-title span {
    color: var(--c-primary);
    font-weight: 700;
}
.about-hero-lead {
    font-size: 1.05rem;
    color: var(--c-text-muted);
    line-height: 1.65;
    margin: 0 auto;
    max-width: 680px;
}
@media (max-width: 720px) {
    .about-hero { padding: 2.25rem 1rem 2.5rem; --aura-y: 88px; }
    .about-hero-logo { width: 104px; height: 104px; }
    .about-aura img { width: 190%; min-width: 0; }
}
.auth-card h1 { text-align: center; margin-bottom: 1rem; }
.auth-sub { text-align: center; color: var(--c-text-muted); margin-bottom: 1.5rem; }
.auth-alt { text-align: center; margin-top: 1rem; color: var(--c-text-muted); font-size: .9rem; }

.input-password-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}
.input-password-wrap .input {
    flex: 1;
    padding-right: 3rem;
}
.password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 36px;
    border: none;
    border-radius: var(--radius);
    background: transparent;
    color: var(--c-text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .15s, background .15s;
}
.password-toggle:hover {
    color: var(--c-primary);
    background: rgba(30, 102, 184, 0.08);
}
.password-toggle:focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
}
.password-toggle i[data-ico] {
    width: 22px;
    height: 22px;
}

.role-picker { max-width: 900px; margin: 3rem auto; padding: 0 1rem; }
.role-picker h1 { text-align: center; }
.role-picker .lead { text-align: center; color: var(--c-text-muted); margin-bottom: 2rem; }
.role-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.role-card {
    background: #fff; border: 2px solid var(--c-border); border-radius: var(--radius-xl);
    padding: 2rem; text-align: center; transition: border-color .2s, transform .2s, box-shadow .2s;
    color: var(--c-text);
}
.role-card:hover { text-decoration: none; border-color: var(--c-primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.role-card .ico {
    width: 72px; height: 72px; border-radius: 20px; font-size: 2.1rem;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; color: #fff;
}
.role-card.academic .ico { background: linear-gradient(135deg, var(--c-secondary), #E05F73); }
.role-card.library  .ico { background: linear-gradient(135deg, var(--c-primary), #4F8FD4); }
.role-card h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.role-card p  { color: var(--c-text-muted); margin: 0; }

/* AI assistant */
.ai-chat {
    display: flex; flex-direction: column; gap: 1rem;
    height: 65vh; min-height: 400px;
}
.ai-chat-body {
    flex: 1; overflow-y: auto; padding: 1rem;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    border: 1px solid var(--c-border); border-radius: var(--radius);
}
.ai-msg { margin-bottom: .75rem; }
.ai-msg .msg-bubble { white-space: pre-wrap; }
.ai-form { display: flex; gap: .5rem; }
.ai-form .input { flex: 1; }

/* Pusula Hoca */
.iskender-page { display: flex; flex-direction: column; gap: .65rem; }

/* Karakter seçici - kompakt yatay yerleşim */
.iskender-character-picker {
    background: linear-gradient(135deg, #FFFFFF, #F8FAFC);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: .65rem .85rem;
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: .9rem;
}
.iskender-character-picker-head { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.iskender-character-picker-title {
    font-weight: 800; font-size: .98rem; color: var(--c-text); line-height: 1.15;
}
.iskender-character-picker-sub {
    color: var(--c-text-muted); font-size: .76rem; line-height: 1.25;
}
.iskender-character-options {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem;
}
.iskender-character-option {
    display: flex; align-items: center; gap: .55rem;
    padding: .42rem .55rem;
    border: 2px solid var(--c-border);
    border-radius: var(--radius-lg);
    background: #fff;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
    position: relative;
    min-height: 0;
}
.iskender-character-option:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.iskender-character-option input { position: absolute; opacity: 0; pointer-events: none; }
.iskender-character-option .iskender-character-thumb {
    width: 38px; height: 50px;
    display: grid; place-items: center;
    border-radius: 8px;
    background: linear-gradient(180deg, #EEF2FF, #FAF5FF);
    border: 1px solid #E2E8F0;
    overflow: hidden; flex-shrink: 0;
}
.iskender-character-option .iskender-character-thumb img {
    width: 100%; height: 100%; object-fit: contain;
}
.iskender-character-option .iskender-character-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.iskender-character-option .iskender-character-meta b { font-size: .85rem; line-height: 1.1; }
.iskender-character-option .iskender-character-meta small {
    color: var(--c-text-muted); font-size: .68rem; line-height: 1.15;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.iskender-character-option[data-character-option="iskender"].is-active {
    border-color: #117A8B; background: #F5F3FF;
}
.iskender-character-option[data-character-option="iskender"].is-active .iskender-character-thumb {
    background: linear-gradient(180deg, #EEF2FF, #DDD6FE);
}
.iskender-character-option[data-character-option="polen"].is-active {
    border-color: #DB2777; background: #FDF2F8;
}
.iskender-character-option[data-character-option="polen"].is-active .iskender-character-thumb {
    background: linear-gradient(180deg, #FCE7F3, #FBCFE8);
}
.iskender-character-option[data-character-option="cinar"].is-active {
    border-color: #059669; background: #ECFDF5;
}
.iskender-character-option[data-character-option="cinar"].is-active .iskender-character-thumb {
    background: linear-gradient(180deg, #D1FAE5, #A7F3D0);
}
.iskender-character-option[data-character-option="atlas"].is-active {
    border-color: #2563EB; background: #EFF6FF;
}
.iskender-character-option[data-character-option="atlas"].is-active .iskender-character-thumb {
    background: linear-gradient(180deg, #DBEAFE, #BFDBFE);
}
.iskender-character-option[data-character-option="derya"].is-active {
    border-color: #0891B2; background: #ECFEFF;
}
.iskender-character-option[data-character-option="derya"].is-active .iskender-character-thumb {
    background: linear-gradient(180deg, #CFFAFE, #A5F3FC);
}
.iskender-character-option[data-character-option="gokce"].is-active {
    border-color: #7C3AED; background: #F5F3FF;
}
.iskender-character-option[data-character-option="gokce"].is-active .iskender-character-thumb {
    background: linear-gradient(180deg, #EDE9FE, #DDD6FE);
}
.iskender-character-option[data-character-option="ayse"].is-active {
    border-color: #D97706; background: #FFFBEB;
}
.iskender-character-option[data-character-option="ayse"].is-active .iskender-character-thumb {
    background: linear-gradient(180deg, #FEF3C7, #FDE68A);
}
@media (max-width: 720px) {
    .iskender-character-picker { grid-template-columns: 1fr; gap: .55rem; }
    .iskender-character-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .iskender-character-options { grid-template-columns: 1fr; }
}

/* Focus mode karakter geçiş pill'leri */
.iskender-focus-character-switch {
    display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem;
}
.iskender-focus-character-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(15,23,42,.35);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.iskender-focus-character-pill img {
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(255,255,255,.85);
    object-fit: contain;
}
.iskender-focus-character-pill:hover { background: rgba(15,23,42,.55); }
.iskender-focus-character-pill.is-active {
    background: #fff; color: #1F2937; border-color: #fff;
}

/* SVG slot wrapper'ları layout'u bozmasın */
.iskender-focus-character-slot { display: contents; }
.iskender-focus-character-slot[hidden] { display: none; }
.iskender-focus-character-slot[hidden] svg { display: none !important; }

/* === YILDIZ HOCA: doğa & sıcak temalı modern mesh === */
.iskender-page[data-character="polen"] .iskender-hero {
    background:
        radial-gradient(circle at 100% -8%, rgba(250, 204, 21, .55), transparent 40%),
        radial-gradient(circle at -5% 0%, rgba(244, 114, 182, .55), transparent 38%),
        radial-gradient(ellipse at 110% 110%, rgba(14, 165, 233, .42), transparent 50%),
        radial-gradient(ellipse 65% 70% at 25% 60%, rgba(190, 24, 93, .6), transparent 60%),
        linear-gradient(135deg, #2A0A24 0%, #4C0F33 22%, #831843 48%, #BE185D 78%, #F472B6 100%);
}
.iskender-page[data-character="polen"] .iskender-hero::after {
    background:
        linear-gradient(112deg, transparent 35%, rgba(255,255,255,.08) 48%, transparent 62%),
        linear-gradient(98deg, transparent 60%, rgba(250,204,21,.22) 72%, transparent 84%);
}
.iskender-page[data-character="polen"] .iskender-orb-1 {
    background: radial-gradient(circle, rgba(244, 114, 182, .9), rgba(244, 114, 182, 0) 70%);
}
.iskender-page[data-character="polen"] .iskender-orb-2 {
    background: radial-gradient(circle, rgba(250, 204, 21, .85), rgba(250, 204, 21, 0) 70%);
}
.iskender-page[data-character="polen"] .iskender-orb-3 {
    background: radial-gradient(circle, rgba(14, 165, 233, .55), rgba(14, 165, 233, 0) 70%);
}
.iskender-page[data-character="polen"] .iskender-orb-4 {
    background: radial-gradient(circle, rgba(251, 207, 232, .85), rgba(251, 207, 232, 0) 70%);
}
.iskender-page[data-character="polen"] .iskender-level.active {
    border-color: #DB2777; background: #FDF2F8;
}
.iskender-page[data-character="polen"] .iskender-grade-note {
    background: #FDF2F8; border-color: #FBCFE8; color: #831843;
}
.iskender-page[data-character="polen"] .iskender-grade-field .select:focus {
    border-color: #F472B6;
    box-shadow: 0 0 0 2px rgba(244,114,182,.22);
}
.iskender-page[data-character="polen"] .iskender-pulse {
    background: rgba(244, 114, 182, .28);
}

/* === ÇINAR HOCA: orman & yeşil temalı modern mesh === */
.iskender-page[data-character="cinar"] .iskender-hero {
    background:
        radial-gradient(circle at 100% -8%, rgba(163, 230, 53, .5), transparent 40%),
        radial-gradient(circle at -5% 0%, rgba(45, 212, 191, .5), transparent 38%),
        radial-gradient(ellipse at 110% 110%, rgba(250, 204, 21, .35), transparent 50%),
        radial-gradient(ellipse 65% 70% at 25% 60%, rgba(6, 95, 70, .65), transparent 60%),
        linear-gradient(135deg, #06251C 0%, #064E3B 26%, #047857 55%, #059669 80%, #34D399 100%);
}
.iskender-page[data-character="cinar"] .iskender-orb-1 { background: radial-gradient(circle, rgba(74, 222, 128, .9), rgba(74, 222, 128, 0) 70%); }
.iskender-page[data-character="cinar"] .iskender-orb-2 { background: radial-gradient(circle, rgba(250, 204, 21, .7), rgba(250, 204, 21, 0) 70%); }
.iskender-page[data-character="cinar"] .iskender-orb-3 { background: radial-gradient(circle, rgba(45, 212, 191, .6), rgba(45, 212, 191, 0) 70%); }
.iskender-page[data-character="cinar"] .iskender-orb-4 { background: radial-gradient(circle, rgba(187, 247, 208, .8), rgba(187, 247, 208, 0) 70%); }
.iskender-page[data-character="cinar"] .iskender-level.active { border-color: #059669; background: #ECFDF5; }
.iskender-page[data-character="cinar"] .iskender-grade-note { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.iskender-page[data-character="cinar"] .iskender-pulse { background: rgba(52, 211, 153, .28); }

/* === ATLAS HOCA: keşif & mavi temalı modern mesh === */
.iskender-page[data-character="atlas"] .iskender-hero {
    background:
        radial-gradient(circle at 100% -8%, rgba(251, 191, 36, .5), transparent 40%),
        radial-gradient(circle at -5% 0%, rgba(125, 211, 252, .55), transparent 38%),
        radial-gradient(ellipse at 110% 110%, rgba(217, 119, 6, .4), transparent 50%),
        radial-gradient(ellipse 65% 70% at 25% 60%, rgba(30, 58, 138, .7), transparent 60%),
        linear-gradient(135deg, #0B1226 0%, #172554 26%, #1E3A8A 55%, #1D4ED8 80%, #60A5FA 100%);
}
.iskender-page[data-character="atlas"] .iskender-orb-1 { background: radial-gradient(circle, rgba(96, 165, 250, .9), rgba(96, 165, 250, 0) 70%); }
.iskender-page[data-character="atlas"] .iskender-orb-2 { background: radial-gradient(circle, rgba(251, 191, 36, .8), rgba(251, 191, 36, 0) 70%); }
.iskender-page[data-character="atlas"] .iskender-orb-3 { background: radial-gradient(circle, rgba(34, 211, 238, .55), rgba(34, 211, 238, 0) 70%); }
.iskender-page[data-character="atlas"] .iskender-orb-4 { background: radial-gradient(circle, rgba(191, 219, 254, .85), rgba(191, 219, 254, 0) 70%); }
.iskender-page[data-character="atlas"] .iskender-level.active { border-color: #2563EB; background: #EFF6FF; }
.iskender-page[data-character="atlas"] .iskender-grade-note { background: #EFF6FF; border-color: #BFDBFE; color: #1E3A8A; }
.iskender-page[data-character="atlas"] .iskender-pulse { background: rgba(96, 165, 250, .28); }

/* === DERYA HOCA: deniz & camgöbeği temalı modern mesh === */
.iskender-page[data-character="derya"] .iskender-hero {
    background:
        radial-gradient(circle at 100% -8%, rgba(103, 232, 249, .55), transparent 40%),
        radial-gradient(circle at -5% 0%, rgba(56, 189, 248, .5), transparent 38%),
        radial-gradient(ellipse at 110% 110%, rgba(45, 212, 191, .4), transparent 50%),
        radial-gradient(ellipse 65% 70% at 25% 60%, rgba(21, 94, 117, .68), transparent 60%),
        linear-gradient(135deg, #082530 0%, #164E63 26%, #0E7490 55%, #0891B2 80%, #22D3EE 100%);
}
.iskender-page[data-character="derya"] .iskender-orb-1 { background: radial-gradient(circle, rgba(34, 211, 238, .9), rgba(34, 211, 238, 0) 70%); }
.iskender-page[data-character="derya"] .iskender-orb-2 { background: radial-gradient(circle, rgba(125, 211, 252, .8), rgba(125, 211, 252, 0) 70%); }
.iskender-page[data-character="derya"] .iskender-orb-3 { background: radial-gradient(circle, rgba(45, 212, 191, .6), rgba(45, 212, 191, 0) 70%); }
.iskender-page[data-character="derya"] .iskender-orb-4 { background: radial-gradient(circle, rgba(207, 250, 254, .85), rgba(207, 250, 254, 0) 70%); }
.iskender-page[data-character="derya"] .iskender-level.active { border-color: #0891B2; background: #ECFEFF; }
.iskender-page[data-character="derya"] .iskender-grade-note { background: #ECFEFF; border-color: #A5F3FC; color: #155E75; }
.iskender-page[data-character="derya"] .iskender-pulse { background: rgba(34, 211, 238, .28); }

/* === GÖKÇE HOCA: gökyüzü & mor temalı modern mesh === */
.iskender-page[data-character="gokce"] .iskender-hero {
    background:
        radial-gradient(circle at 100% -8%, rgba(251, 191, 36, .5), transparent 40%),
        radial-gradient(circle at -5% 0%, rgba(196, 181, 253, .55), transparent 38%),
        radial-gradient(ellipse at 110% 110%, rgba(244, 114, 182, .38), transparent 50%),
        radial-gradient(ellipse 65% 70% at 25% 60%, rgba(76, 29, 149, .68), transparent 60%),
        linear-gradient(135deg, #1B1038 0%, #312E81 26%, #5B21B6 55%, #7C3AED 80%, #A78BFA 100%);
}
.iskender-page[data-character="gokce"] .iskender-orb-1 { background: radial-gradient(circle, rgba(167, 139, 250, .9), rgba(167, 139, 250, 0) 70%); }
.iskender-page[data-character="gokce"] .iskender-orb-2 { background: radial-gradient(circle, rgba(251, 191, 36, .8), rgba(251, 191, 36, 0) 70%); }
.iskender-page[data-character="gokce"] .iskender-orb-3 { background: radial-gradient(circle, rgba(244, 114, 182, .55), rgba(244, 114, 182, 0) 70%); }
.iskender-page[data-character="gokce"] .iskender-orb-4 { background: radial-gradient(circle, rgba(221, 214, 254, .85), rgba(221, 214, 254, 0) 70%); }
.iskender-page[data-character="gokce"] .iskender-level.active { border-color: #7C3AED; background: #F5F3FF; }
.iskender-page[data-character="gokce"] .iskender-grade-note { background: #F5F3FF; border-color: #DDD6FE; color: #4C1D95; }
.iskender-page[data-character="gokce"] .iskender-pulse { background: rgba(167, 139, 250, .28); }

/* === AYŞE HOCA: gönül sıcaklığı & amber temalı modern mesh === */
.iskender-page[data-character="ayse"] .iskender-hero {
    background:
        radial-gradient(circle at 100% -8%, rgba(253, 230, 138, .55), transparent 40%),
        radial-gradient(circle at -5% 0%, rgba(45, 212, 191, .45), transparent 38%),
        radial-gradient(ellipse at 110% 110%, rgba(225, 29, 72, .32), transparent 50%),
        radial-gradient(ellipse 65% 70% at 25% 60%, rgba(146, 64, 14, .65), transparent 60%),
        linear-gradient(135deg, #2A1505 0%, #6B3A0A 26%, #B45309 55%, #D97706 80%, #FBBF24 100%);
}
.iskender-page[data-character="ayse"] .iskender-orb-1 { background: radial-gradient(circle, rgba(251, 191, 36, .9), rgba(251, 191, 36, 0) 70%); }
.iskender-page[data-character="ayse"] .iskender-orb-2 { background: radial-gradient(circle, rgba(45, 212, 191, .6), rgba(45, 212, 191, 0) 70%); }
.iskender-page[data-character="ayse"] .iskender-orb-3 { background: radial-gradient(circle, rgba(251, 113, 133, .5), rgba(251, 113, 133, 0) 70%); }
.iskender-page[data-character="ayse"] .iskender-orb-4 { background: radial-gradient(circle, rgba(254, 243, 199, .85), rgba(254, 243, 199, 0) 70%); }
.iskender-page[data-character="ayse"] .iskender-level.active { border-color: #D97706; background: #FFFBEB; }
.iskender-page[data-character="ayse"] .iskender-grade-note { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.iskender-page[data-character="ayse"] .iskender-pulse { background: rgba(251, 191, 36, .28); }

/* === MODERN HERO BACKGROUND === */
.iskender-hero {
    display: grid; grid-template-columns: 1.4fr .6fr; gap: 1.2rem; align-items: center;
    min-height: 200px; padding: 1rem 1.25rem;
    border-radius: var(--radius-xl);
    color: #fff; overflow: hidden; position: relative;
    box-shadow: var(--shadow-lg);
    isolation: isolate;
    /* Pusula Hoca: derin morumsu/lacivert mesh + sıcak köşeler */
    background:
        radial-gradient(circle at 92% -10%, rgba(245, 158, 11, .55), transparent 38%),
        radial-gradient(circle at 0% -5%, rgba(56, 189, 248, .42), transparent 36%),
        radial-gradient(ellipse at 110% 110%, rgba(190, 24, 93, .55), transparent 50%),
        radial-gradient(ellipse 65% 70% at 30% 60%, rgba(124, 58, 237, .55), transparent 60%),
        linear-gradient(135deg, #0F1736 0%, #1E1B4B 25%, #2E1065 55%, #4C1D95 100%);
}

/* İnce noktalı yıldız konstelasyonu deseni (asimetrik üst kısım) */
.iskender-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 1.6px);
    background-size: 26px 26px;
    opacity: .85;
    mask-image: radial-gradient(ellipse 100% 80% at 30% 40%, rgba(0,0,0,1) 0%, rgba(0,0,0,.35) 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 30% 40%, rgba(0,0,0,1) 0%, rgba(0,0,0,.35) 60%, transparent 100%);
}

/* Diyagonal şeffaf parlama (aurora hissi) */
.iskender-hero::after {
    content: ""; position: absolute; inset: -10% -8%; z-index: 0; pointer-events: none;
    background:
        linear-gradient(112deg, transparent 35%, rgba(255,255,255,.08) 48%, transparent 62%),
        linear-gradient(98deg, transparent 60%, rgba(244,114,182,.18) 72%, transparent 84%);
    transform: rotate(-1deg);
}

/* Yumuşak floating orb'lar — modern abstract dekor */
.iskender-hero-orbs {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    overflow: hidden;
}
.iskender-orb {
    position: absolute; border-radius: 50%;
    filter: blur(28px);
    opacity: .85;
    animation: iskenderOrbFloat 12s ease-in-out infinite;
}
.iskender-orb-1 {
    width: 220px; height: 220px;
    left: -60px; top: -50px;
    background: radial-gradient(circle, rgba(56, 189, 248, .85), rgba(56, 189, 248, 0) 70%);
    animation-delay: -2s;
}
.iskender-orb-2 {
    width: 260px; height: 260px;
    right: 18%; top: -80px;
    background: radial-gradient(circle, rgba(245, 158, 11, .7), rgba(245, 158, 11, 0) 70%);
    animation-delay: -5s;
}
.iskender-orb-3 {
    width: 320px; height: 320px;
    right: -90px; bottom: -130px;
    background: radial-gradient(circle, rgba(190, 24, 93, .85), rgba(190, 24, 93, 0) 70%);
    animation-delay: -7s;
}
.iskender-orb-4 {
    width: 200px; height: 200px;
    left: 35%; bottom: -90px;
    background: radial-gradient(circle, rgba(167, 139, 250, .7), rgba(167, 139, 250, 0) 70%);
    animation-delay: -10s;
}
@keyframes iskenderOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(18px, -14px) scale(1.06); }
    66% { transform: translate(-14px, 12px) scale(.96); }
}
@media (prefers-reduced-motion: reduce) {
    .iskender-orb { animation: none; }
}
.iskender-copy, .iskender-stage { position: relative; z-index: 3; }
.iskender-kicker {
    display: inline-flex; padding: .25rem .55rem; border-radius: 999px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22);
    font-size: .72rem; font-weight: 700; margin-bottom: .35rem;
}
.iskender-copy h1 {
    color: #fff;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    margin: 0 0 .25rem;
    line-height: 1.05;
}
.iskender-copy p {
    color: #EEF2FF; font-size: .92rem; max-width: 560px; margin: 0;
    line-height: 1.4;
}
.iskender-safe {
    display: inline-flex; max-width: 580px; margin-top: .45rem; padding: .45rem .65rem;
    border-radius: var(--radius); background: rgba(15,23,42,.28);
    border: 1px solid rgba(255,255,255,.16); color: #F8FAFC; font-size: .76rem;
    line-height: 1.3;
}
.iskender-copy .mt-2 { margin-top: .55rem; }
.iskender-copy .btn-lg { padding: .5rem 1rem; font-size: .92rem; }
.iskender-stage { display: grid; place-items: center; min-height: 220px; position: relative; }
.iskender-stage-glow {
    position: absolute;
    left: 50%; bottom: 6%;
    transform: translateX(-50%);
    width: min(240px, 78%);
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(240, 180, 46, .5), rgba(21, 97, 109, .28) 45%, transparent 72%);
    filter: blur(2px);
    z-index: 0;
    pointer-events: none;
}
.iskender-avatar-img {
    width: min(190px, 90%); height: auto;
    transform-origin: 50% 80%;
    animation: iskenderFloat 4.5s ease-in-out infinite;
    position: relative; z-index: 2;
    filter: drop-shadow(0 16px 24px rgba(0,0,0,.28));
}
.iskender-avatar-img.is-maskot {
    width: min(270px, 108%);
    max-height: 300px;
    filter:
        drop-shadow(0 0 0.6px rgba(6, 36, 42, .85))
        drop-shadow(0 18px 28px rgba(4, 22, 26, .38));
}
.iskender-page[data-character="pusula"] .iskender-hero {
    background:
        radial-gradient(circle at 88% 12%, rgba(240, 180, 46, .42), transparent 36%),
        radial-gradient(circle at 8% 18%, rgba(125, 211, 252, .38), transparent 40%),
        radial-gradient(ellipse at 70% 90%, rgba(21, 97, 109, .55), transparent 48%),
        linear-gradient(145deg, #06242A 0%, #0C424A 42%, #15616D 78%, #1A7A86 100%);
}
.iskender-page[data-character="pusula"] .iskender-hero::after {
    background:
        linear-gradient(112deg, transparent 35%, rgba(255,255,255,.07) 48%, transparent 62%),
        linear-gradient(98deg, transparent 58%, rgba(240,180,46,.16) 74%, transparent 88%);
}
.iskender-character-thumb.is-maskot {
    background: radial-gradient(circle at 50% 70%, rgba(240,180,46,.25), transparent 60%),
                linear-gradient(180deg, #E8F4F5, #D5EBEE);
    overflow: hidden;
}
.iskender-character-thumb.is-maskot img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    padding: 4px;
}
.iskender-pulse {
    position: absolute; width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255,255,255,.18); filter: blur(4px);
    animation: iskenderPulse 2.8s ease-in-out infinite;
    z-index: -1;
}
.is-speaking .iskender-avatar-img { animation: iskenderSpeak 620ms ease-in-out infinite; }
.is-speaking .iskender-pulse { animation-duration: 1s; background: rgba(245,158,11,.28); }
/* Seviye + sınıf yan yana tek satır */
.iskender-controls {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: .65rem;
    align-items: stretch;
}
/* 9 seviye: auto-fit ile esnek kaydırma; küçük ekrana otomatik wrap */
.iskender-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: .42rem;
    align-content: start;
}
.iskender-level {
    display: flex; flex-direction: column; gap: 1px; padding: .42rem .55rem;
    border: 2px solid var(--c-border); border-radius: var(--radius-lg);
    background: #fff; cursor: pointer; box-shadow: var(--shadow-sm);
    transition: transform .12s, border-color .15s, box-shadow .15s;
    line-height: 1.08;
    min-height: 0;
    text-align: center;
    position: relative;
}
.iskender-level em {
    position: absolute; top: .2rem; right: .4rem;
    font-style: normal; font-weight: 800; font-size: .72rem;
    color: rgba(21, 97, 109, .35);
}
.iskender-level[data-module-num="1"].active { border-color: #7C3AED; background: #F5F3FF; }
.iskender-level[data-module-num="2"].active { border-color: #117A8B; background: #E8F4F5; }
.iskender-level[data-module-num="3"].active { border-color: #C2410C; background: #FFF7ED; }
.iskender-level-genel.active { border-color: #0C424A; background: #F0F7F8; }
.iskender-level:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.iskender-level.active { border-color: #117A8B; background: #F5F3FF; }
.iskender-level input { position: absolute; opacity: 0; pointer-events: none; }
.iskender-level b { font-size: .82rem; }
.iskender-level span {
    color: var(--c-text-muted); font-size: .66rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Sınıf strip — tek satır içinde label/select/not */
.iskender-grade-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    align-items: center; gap: .5rem;
    padding: 0;
}
.iskender-grade-strip .iskender-grade-note {
    grid-column: 1 / -1;
}
.iskender-grade-field {
    display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.iskender-grade-field > span {
    font-size: .68rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: var(--c-text-muted); line-height: 1;
}
.iskender-grade-field .select {
    width: 100%; min-width: 0;
    padding: .42rem .55rem; font-size: .85rem;
    border-radius: var(--radius); border: 1.5px solid var(--c-border);
    background: #fff; cursor: pointer; outline: none;
}
.iskender-grade-field .select:focus {
    border-color: #A78BFA;
    box-shadow: 0 0 0 2px rgba(167,139,250,.18);
}
.iskender-grade-note {
    padding: .55rem .7rem; border-radius: var(--radius);
    background: #F5F3FF; border: 1px solid #DDD6FE;
    color: #4C1D95; font-weight: 700; font-size: .82rem;
    line-height: 1.2;
    display: flex; align-items: center; justify-content: center;
    text-align: center; min-height: 100%;
}
.iskender-grade-note::before {
    content: "Seçili: ";
    font-weight: 600; opacity: .7; margin-right: .25rem;
}
@media (max-width: 880px) {
    .iskender-controls { grid-template-columns: 1fr; }
}
.iskender-chat-card { min-height: 620px; display: flex; flex-direction: column; }
.iskender-chat {
    flex: 1; min-height: 360px; max-height: 55vh; overflow-y: auto;
    padding: 1rem; border: 1px solid var(--c-border); border-radius: var(--radius);
    background: linear-gradient(180deg, #F8FAFC, #FFFFFF);
}
.iskender-form { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.iskender-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.iskender-actions .btn { flex: 1; min-width: 150px; }
.iskender-vision-card { background: linear-gradient(180deg, #FFFFFF, #F8FAFC); }
.iskender-camera {
    position: relative; min-height: 290px; border: 2px dashed #CBD5E1;
    border-radius: var(--radius-lg); overflow: hidden; background: #F8FAFC;
    display: grid; place-items: center;
}
.iskender-camera [hidden] { display: none !important; }
.iskender-camera video, .iskender-camera img {
    width: 100%; height: 100%; min-height: 290px; object-fit: contain; background: #0F172A;
}
.iskender-camera-empty { display: grid; place-items: center; gap: .25rem; text-align: center; color: var(--c-text-muted); }
.iskender-camera-empty span { font-size: 2.2rem; }
.iskender-rules {
    margin-top: 1rem; padding: 1rem; border-radius: var(--radius);
    background: #FFF7ED; border: 1px solid #FED7AA; font-size: .88rem;
}
.iskender-rules ul { margin: .45rem 0 0; padding-left: 1.1rem; color: #7C2D12; }
.iskender-focus[hidden] { display: none !important; }
.iskender-focus {
    --iskender-focus-pad-top: 5.4rem;
    --iskender-focus-pad-bottom: 1.4rem;
    position: fixed; inset: 0; z-index: 200;
    display: grid; place-items: center;
    background: #07111F; color: #fff; overflow: hidden;
    height: 100vh;
    height: 100dvh;
    padding: var(--iskender-focus-pad-top) 1rem var(--iskender-focus-pad-bottom);
    box-sizing: border-box;
}
.iskender-focus:fullscreen {
    --iskender-focus-pad-top: 4.8rem;
    --iskender-focus-pad-bottom: 1.2rem;
}
.iskender-focus-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(circle at 26% 20%, rgba(30,102,184,.72), transparent 32%),
        radial-gradient(circle at 74% 22%, rgba(200,16,46,.62), transparent 34%),
        radial-gradient(circle at 50% 88%, rgba(245,158,11,.32), transparent 36%),
        linear-gradient(135deg, #07111F, #111827 55%, #1E1B4B);
}
.iskender-focus-bg::after {
    content: ""; position: absolute; inset: 0;
    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: 42px 42px; opacity: .45;
}
/* GençPusula AI — tam ekranda soft siluet (içerik altında) */
.iskender-focus-bridge {
    position: absolute;
    left: 50%;
    bottom: -5%;
    transform: translateX(-50%);
    width: min(1700px, 145%);
    max-height: 46%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
    filter: brightness(1.2) contrast(1.15) saturate(0.75);
    -webkit-mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.2) 80%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.2) 80%,
        transparent 100%
    );
}
.iskender-focus-bridge img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center bottom;
}
/* Tam ekran: Gençlik Merkezi + iş birliği + kurum logoları (sağdaki Çıkış / tam ekran butonlarına taşmaz) */
.iskender-focus-brand {
    position: absolute; top: 0; left: 0; right: 0; z-index: 2;
    padding: 0.7rem 27rem 0.55rem 1.1rem;
    max-width: 100%;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.97) 0%, rgba(7, 17, 31, 0.55) 70%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}
.iskender-focus-brand a { pointer-events: auto; }
.iskender-focus-brand-main { min-width: 0; max-width: min(52rem, 100%); }
.iskender-focus-brand-title {
    margin: 0; font-size: clamp(0.75rem, 1.1vw, 0.95rem);
    font-weight: 800; letter-spacing: 0.04em; line-height: 1.25;
    color: #F8FAFC;
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.5rem;
}
.iskender-focus-brand-line { text-wrap: balance; }
.iskender-focus-brand-slash { color: rgba(245, 158, 11, 0.95); font-weight: 900; }
.iskender-focus-brand-sub {
    margin: 0.28rem 0 0; font-size: clamp(0.65rem, 0.9vw, 0.8rem);
    color: rgba(226, 232, 240, 0.88); font-weight: 600; line-height: 1.35;
    text-wrap: balance;
}
.iskender-focus-brand-logos {
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
    margin-top: 0.45rem;
}
.iskender-focus-partner {
    display: flex; align-items: center; justify-content: center;
    padding: 0.2rem; border-radius: 12px;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.iskender-focus-partner:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.32); }
.iskender-focus-partner img { display: block; width: 40px; height: 40px; object-fit: contain; }
.iskender-focus-partners-x {
    color: rgba(255, 255, 255, 0.45); font-size: 1.15rem; font-weight: 300; line-height: 1; user-select: none;
}
.iskender-focus-controls {
    position: absolute; top: 18px; right: 18px; z-index: 5;
    display: flex; align-items: center; justify-content: flex-end; gap: .55rem;
    max-width: calc(100vw - 2rem);
}
.iskender-focus-close,
.iskender-real-fullscreen,
.iskender-panel-toggle {
    border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
    padding: .62rem .9rem; cursor: pointer; font-weight: 900;
    white-space: nowrap; line-height: 1;
    box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.iskender-focus-close {
    background: rgba(15,23,42,.62); color: #fff;
}
.iskender-real-fullscreen {
    background: rgba(245,158,11,.92); color: #111827;
}
.iskender-panel-toggle {
    background: rgba(15,23,42,.72); color: #fff;
}
.iskender-panel-toggle:hover { background: rgba(30,41,59,.9); }
.iskender-focus-stage {
    position: relative; z-index: 2; width: min(1680px, 98vw);
    height: 100%;
    max-height: 100%;
    display: grid; grid-template-columns: minmax(320px, 0.86fr) minmax(520px, 1.38fr) minmax(300px, 0.68fr);
    gap: 1.05rem; align-items: stretch;
    transition: grid-template-columns .22s ease, width .22s ease;
    min-height: 0;
}
.iskender-focus.is-dialog-collapsed .iskender-focus-stage {
    width: min(1760px, 99vw);
    grid-template-columns: minmax(360px, 0.85fr) minmax(720px, 1.65fr);
}
.iskender-focus.is-dialog-collapsed .iskender-focus-dialog {
    display: none;
}
.iskender-focus-stage > * {
    min-width: 0;
    min-height: 0;
}
.iskender-focus-character {
    position: relative; display: flex;
    align-items: center; justify-content: center;
    height: 100%; max-height: 100%;
    overflow: hidden;
}
.iskender-focus-character svg {
    height: 100%;
    max-height: 100%;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 32px 44px rgba(0,0,0,.35));
    animation: iskenderFloat 4.5s ease-in-out infinite;
}
.iskender-focus-platform {
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    width: min(340px, 78%);
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(240, 180, 46, .55) 0%, rgba(21, 97, 109, .35) 40%, transparent 70%);
    filter: blur(1px);
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 0 60px rgba(125, 211, 252, .22);
}
.iskender-focus-character-slot.is-maskot {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    width: 100%;
    z-index: 2;
}
.iskender-focus-character-slot.is-maskot[hidden] { display: none !important; }
.iskender-focus-maskot-img {
    height: min(92%, 620px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 0 0.7px rgba(4, 26, 30, .9))
        drop-shadow(0 26px 40px rgba(0, 0, 0, .34));
    animation: iskenderFloat 4.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
.is-speaking .iskender-focus-maskot-img { animation: iskenderSpeak 620ms ease-in-out infinite; }
.iskender-page[data-character="pusula"] .iskender-focus .iskender-focus-bg {
    background:
        radial-gradient(ellipse 70% 55% at 22% 55%, rgba(21, 97, 109, .55), transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(240, 180, 46, .18), transparent 40%),
        linear-gradient(160deg, #041A1E 0%, #06242A 40%, #0A353C 100%) !important;
}
.iskender-focus-character-avatar.is-maskot {
    background: radial-gradient(circle at 50% 80%, rgba(240,180,46,.3), rgba(21,97,109,.2));
}
.iskender-focus-character-avatar.is-maskot img {
    object-fit: contain;
    padding: 2px;
}
.iskender-focus-halo {
    position: absolute; width: min(420px, 80%); height: min(420px, 80%);
    border-radius: 50%; background: rgba(255,255,255,.13);
    filter: blur(4px); z-index: -1; animation: iskenderPulse 2.4s ease-in-out infinite;
}
.iskender-page[data-character="pusula"] .iskender-focus-halo {
    background: radial-gradient(circle, rgba(21, 97, 109, .42), transparent 72%);
    filter: blur(22px);
    opacity: .85;
}
.is-speaking .iskender-focus-character svg { animation: iskenderSpeak 620ms ease-in-out infinite; }
.iskender-focus-character .mouth-open { transform-origin: 130px 137px; }
.is-speaking .iskender-focus-character .mouth-smile {
    animation: iskenderMouthSmile 420ms ease-in-out infinite;
}
.is-speaking .iskender-focus-character .mouth-open {
    animation: iskenderMouthOpen 420ms ease-in-out infinite;
}
.iskender-board {
    height: 100%; max-height: 100%; min-height: 0;
    align-self: stretch; display: flex; flex-direction: column;
    border: 10px solid #6B4F2A; border-radius: 22px;
    background: linear-gradient(180deg, #0F3D35, #082F2A);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 0 24px 70px rgba(0,0,0,.38);
    overflow: hidden;
}
.iskender-board-top {
    display: flex; align-items: center; gap: .55rem;
    padding: .65rem .85rem; color: #ECFDF5;
    background: rgba(0,0,0,.22); border-bottom: 1px solid rgba(255,255,255,.12);
}
.iskender-board-top b { font-size: 1rem; }
.iskender-board-keyhint {
    color: #FEF3C7; font-size: .76rem; font-weight: 900;
    padding: .22rem .5rem; border-radius: 999px;
    background: rgba(245,158,11,.16); border: 1px solid rgba(245,158,11,.3);
    white-space: nowrap;
}
.iskender-board-top small {
    margin-left: auto; color: #A7F3D0; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Sesli okumayı durdurma düğmeleri */
.iskender-board-stop, .iskender-stop-speech {
    flex-shrink: 0; cursor: pointer; white-space: nowrap;
    border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
    background: rgba(255,255,255,.1); color: #FEE2E2;
    font-size: .8rem; font-weight: 800; padding: .3rem .75rem;
    transition: background .15s, transform .1s;
}
.iskender-board-stop:hover, .iskender-stop-speech:hover { background: rgba(239,68,68,.35); color: #fff; }
.iskender-board-stop:active, .iskender-stop-speech:active { transform: scale(.96); }
/* Konuşma sürerken düğme kırmızı ve dikkat çekici olur */
.iskender-page.is-speaking .iskender-board-stop,
.iskender-page.is-speaking .iskender-stop-speech {
    background: #DC2626; border-color: #F87171; color: #fff;
    animation: iskenderStopPulse 1.2s ease-in-out infinite;
}
@keyframes iskenderStopPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,.55); }
    50%      { box-shadow: 0 0 0 9px rgba(220,38,38,0); }
}
.iskender-board-dot { width: 11px; height: 11px; border-radius: 50%; background: #E0A458; box-shadow: 0 0 18px rgba(245,158,11,.9); }
.iskender-board-body {
    flex: 1; overflow-y: auto; padding: 1.15rem 1.25rem;
    color: #F4F8E8;
    font-family: "Kalam", "Patrick Hand", "Comic Sans MS", "Bradley Hand", system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.62; font-size: clamp(1.05rem, 1.22vw, 1.28rem);
    /* Hafif tebeşir grain efekti */
    text-shadow:
        0 0 1px rgba(255,255,255,.35),
        0 1px 0 rgba(0,0,0,.05);
    letter-spacing: 0.2px;
}
.iskender-board-body h3 {
    color: #FFFEF0; font-size: clamp(1.45rem, 2.1vw, 2.15rem);
    font-weight: 700;
    margin: 0 0 .85rem; border-bottom: 2px solid rgba(255,255,255,.28); padding-bottom: .45rem;
    text-shadow:
        0 0 1px rgba(255,255,255,.5),
        0 0 12px rgba(253, 230, 138, .18);
}
.iskender-board-body p {
    margin: 0 0 .55rem;
    color: #F0F4DE;
}
.iskender-board-body strong, .iskender-board-body b {
    color: #FFFBE0;
    font-weight: 700;
}
/* Tahtadaki listelerde tebeşir hissi devam etsin */
.iskender-board-body ul, .iskender-board-body ol {
    list-style-position: outside;
}
.iskender-board-body ul li::marker { color: #FCD34D; }
.iskender-board-body ol li::marker { color: #FCD34D; font-weight: 700; }
.iskender-focus.is-dialog-collapsed .iskender-board-body {
    padding: 1.35rem 1.55rem;
    font-size: clamp(1.02rem, 1.24vw, 1.24rem);
}
.iskender-focus.is-dialog-collapsed .iskender-board-body h3 {
    font-size: clamp(1.42rem, 2.05vw, 2.08rem);
}
.iskender-board-shortcut {
    display: inline-flex; align-items: center; flex-wrap: wrap; gap: .25rem;
    margin-top: .65rem !important; padding: .55rem .7rem;
    border: 1px solid rgba(245,158,11,.35); border-radius: 999px;
    background: rgba(245,158,11,.12); color: #FEF3C7 !important;
    font-weight: 800; font-size: .95em;
}
.iskender-board-shortcut.is-listening {
    border-color: rgba(34,197,94,.45);
    background: rgba(34,197,94,.14);
    color: #DCFCE7 !important;
}
.iskender-board-shortcut.is-thinking {
    border-color: rgba(56,189,248,.45);
    background: rgba(14,165,233,.14);
    color: #E0F2FE !important;
}
.iskender-board-shortcut.is-error {
    border-color: rgba(248,113,113,.5);
    background: rgba(239,68,68,.16);
    color: #FEE2E2 !important;
}
.iskender-board-shortcut kbd {
    min-width: 1.8rem; padding: .1rem .38rem;
    border-radius: 7px; border: 1px solid rgba(255,255,255,.24);
    background: rgba(15,23,42,.65); color: #fff;
    font: inherit; text-align: center;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.14);
}
/* Dinleme bandı: uyandırma / gönder / kapan komut vurguları */
.iskender-board-shortcut.is-listening .iskender-listen-hint {
    display: block; max-width: 52rem; line-height: 1.55; font-weight: 600; font-size: .92em;
}
.iskender-board-shortcut.is-listening .iskender-listen-hint p { margin: .45rem 0 0; }
.iskender-board-shortcut.is-listening .iskender-listen-hint p:first-child { margin-top: 0; }
.iskender-board-shortcut.is-listening .iskender-listen-lead { font-size: 1.02em; }
.iskender-board-shortcut .iskender-kw {
    display: inline-block; font-weight: 900; letter-spacing: .02em;
    padding: .12em .38em; border-radius: 6px;
    box-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.iskender-board-shortcut.is-listening .iskender-kw-wake {
    color: #FFFBEB; background: linear-gradient(180deg, rgba(146,64,14,.92), rgba(120,53,15,.88)); border: 1px solid rgba(253,230,138,.45);
}
.iskender-board-shortcut.is-listening .iskender-kw-send {
    color: #022C22; background: linear-gradient(180deg, #6EE7B7, #34D399); border: 1px solid rgba(16,185,129,.65);
}
.iskender-board-shortcut.is-listening .iskender-kw-bye {
    color: #1E1B4B; background: linear-gradient(180deg, #FDE68A, #FBBF24); border: 1px solid rgba(245,158,11,.7);
}
.iskender-follow-hint.iskender-hint-compact,
.iskender-listen-hint.iskender-hint-compact {
    line-height: 1.42;
}
.iskender-board-shortcut.is-listening .iskender-hint-compact p:last-child {
    margin-bottom: 0;
}
.iskender-board-shortcut.is-followup .iskender-follow-hint {
    display: block; max-width: 52rem; line-height: 1.45; font-weight: 650; font-size: .92em;
}
.iskender-board-shortcut.is-followup .iskender-follow-hint.iskender-hint-compact p {
    margin: .35rem 0 0;
}
.iskender-board-shortcut.is-followup .iskender-follow-hint.iskender-hint-compact p:first-child {
    margin-top: 0;
}
.iskender-board-shortcut.is-followup .iskender-follow-hint .iskender-kw {
    padding: .1em .32em;
}
.iskender-board-shortcut.is-followup .iskender-kw-wake {
    color: #FFFBEB; background: rgba(146,64,14,.82); border: 1px solid rgba(253,230,138,.42);
}
.iskender-board-shortcut.is-followup .iskender-kw-send, .iskender-board-shortcut.is-followup .iskender-kw-bye {
    color: #1E293B;
    background: linear-gradient(180deg, rgba(251,243,199,.98), rgba(251,191,36,.92));
}
.iskender-board-body ul, .iskender-board-body ol { margin: .45rem 0 .9rem; padding-left: 1.25rem; }
.iskender-board-body li { margin: .28rem 0; }
.iskender-board-step {
    margin: .65rem 0; padding: .65rem .75rem; border-radius: 12px;
    background: rgba(255,255,255,.08); border-left: 4px solid #E0A458;
    animation: iskenderBoardFadeIn .4s ease both;
}

/* === Akıllı tahta animasyon ve görsel zenginleştirme === */
.iskender-board-body p,
.iskender-board-body .iskender-board-list,
.iskender-board-body .iskender-board-callout {
    animation: iskenderBoardFadeIn .4s ease both;
}
.iskender-board-title-anim {
    animation: iskenderBoardFadeIn .35s ease both;
    position: relative;
}
@keyframes iskenderBoardFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

/* Bold / vurgu kalemi (yellow highlighter) */
.iskender-board-body mark.iskender-board-mark {
    background: linear-gradient(180deg, transparent 50%, rgba(253, 230, 138, .55) 50%, rgba(253, 230, 138, .35) 90%, transparent 100%);
    color: #FFFBEB;
    font-weight: 800;
    padding: 0 2px;
    border-radius: 3px;
}

/* Callout kutuları — kategori ikonu + renkli kenar */
.iskender-board-callout {
    margin: .8rem 0;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    overflow: hidden;
}
.iskender-board-callout-head {
    display: flex; align-items: center; gap: .45rem;
    padding: .42rem .7rem;
    background: rgba(255,255,255,.07);
    color: #FEF3C7;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-weight: 800;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-transform: uppercase; letter-spacing: .04em; font-size: .76rem;
    text-shadow: none;
}
.iskender-board-callout-head i {
    width: 18px; height: 18px; display: inline-flex;
}
.iskender-board-callout-head i svg { width: 100%; height: 100%; }
.iskender-board-callout-body {
    padding: .65rem .75rem;
    color: #F8FAFC;
}
.iskender-board-callout-body p:first-child { margin-top: 0; }
.iskender-board-callout-body p:last-child  { margin-bottom: 0; }

/* Kategori-renk varyantları */
.iskender-board-callout.is-example {
    background: rgba(56,189,248,.06);
    border-color: rgba(56,189,248,.32);
}
.iskender-board-callout.is-example .iskender-board-callout-head {
    background: rgba(56,189,248,.18); color: #BAE6FD;
}
.iskender-board-callout.is-important {
    background: rgba(34,197,94,.06);
    border-color: rgba(34,197,94,.35);
}
.iskender-board-callout.is-important .iskender-board-callout-head {
    background: rgba(34,197,94,.2); color: #BBF7D0;
}
.iskender-board-callout.is-warning {
    background: rgba(239,68,68,.06);
    border-color: rgba(248,113,113,.35);
}
.iskender-board-callout.is-warning .iskender-board-callout-head {
    background: rgba(239,68,68,.22); color: #FECACA;
}
.iskender-board-callout.is-tip {
    background: rgba(251,191,36,.06);
    border-color: rgba(251,191,36,.4);
}
.iskender-board-callout.is-tip .iskender-board-callout-head {
    background: rgba(245,158,11,.22); color: #FEF3C7;
}
.iskender-board-callout.is-memory {
    background: rgba(167,139,250,.06);
    border-color: rgba(167,139,250,.4);
}
.iskender-board-callout.is-memory .iskender-board-callout-head {
    background: rgba(124,58,237,.28); color: #DDD6FE;
}
.iskender-board-callout.is-step {
    background: rgba(14,165,233,.05);
    border-color: rgba(14,165,233,.32);
}
.iskender-board-callout.is-step .iskender-board-callout-head {
    background: rgba(14,165,233,.2); color: #BAE6FD;
}
.iskender-board-callout.is-summary {
    background: rgba(244,114,182,.05);
    border-color: rgba(244,114,182,.32);
}
.iskender-board-callout.is-summary .iskender-board-callout-head {
    background: rgba(190,24,93,.28); color: #FBCFE8;
}
.iskender-board-callout.is-question {
    background: rgba(168,85,247,.06);
    border-color: rgba(168,85,247,.32);
}
.iskender-board-callout.is-question .iskender-board-callout-head {
    background: rgba(124,58,237,.22); color: #E9D5FF;
}

/* Aksiyon butonları paneli — her cevabın sonunda */
.iskender-board-actions {
    display: flex; flex-wrap: wrap; gap: .42rem;
    margin: 1.1rem 0 .35rem;
    padding-top: .7rem;
    border-top: 1px dashed rgba(255,255,255,.16);
}
.iskender-board-action {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .4rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(15,23,42,.55);
    color: #E0E7FF;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: .78rem; font-weight: 700;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .15s, color .15s;
    text-shadow: none;
}
.iskender-board-action:hover {
    background: rgba(124,58,237,.42);
    border-color: rgba(167,139,250,.55);
    color: #fff;
    transform: translateY(-1px);
}
.iskender-board-action span { font-size: .9rem; line-height: 1; }

.iskender-board-body .track-word {
    border-radius: 6px; padding: 0 1px;
    transition: background .12s, color .12s;
    cursor: pointer;
}
.iskender-board-body .track-word:hover {
    background: rgba(253, 230, 138, .14);
}

/* === Tahta yazma (typewriter / chalk) animasyonu === */
/* is-writing modunda blok-seviyesinde fade-in animasyonu calismasin
   (cunku kelime-seviyesinde chalk reveal olacak) */
.iskender-board-body.is-writing p,
.iskender-board-body.is-writing .iskender-board-list,
.iskender-board-body.is-writing .iskender-board-callout,
.iskender-board-body.is-writing .iskender-board-step,
.iskender-board-body.is-writing .iskender-board-title-anim {
    animation: none !important;
    opacity: 1;
    transform: none;
}
.iskender-board-body.is-writing .track-word {
    opacity: 0;
    transform: translateY(8px) scale(0.85);
    filter: blur(4px);
    text-shadow: 0 0 0 transparent;
    animation: iskenderChalkReveal .55s cubic-bezier(.18,.7,.18,1) forwards;
    will-change: opacity, transform, filter;
}
@keyframes iskenderChalkReveal {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.85);
        filter: blur(4px);
        text-shadow: 0 0 12px rgba(253, 230, 138, .85), 0 0 4px rgba(253, 230, 138, 1);
    }
    35% {
        opacity: .7;
        transform: translateY(2px) scale(0.96);
        filter: blur(1.4px);
        text-shadow: 0 0 14px rgba(253, 230, 138, 1), 0 0 4px rgba(253, 230, 138, .9);
    }
    70% {
        opacity: 1;
        transform: none;
        filter: blur(0);
        text-shadow: 0 0 8px rgba(253, 230, 138, .65);
    }
    100% {
        opacity: 1;
        transform: none;
        filter: none;
        text-shadow: none;
    }
}
/* Yazılan son kelimenin sağında yanıp sönen tebeşir imleci */
.iskender-board-body.is-writing .track-word.cursor-tip::after {
    content: "";
    display: inline-block;
    width: .5ch;
    height: 1em;
    margin-left: 2px;
    vertical-align: -0.12em;
    background: rgba(253, 230, 138, .9);
    box-shadow: 0 0 14px rgba(253, 230, 138, .85);
    border-radius: 2px;
    animation: iskenderChalkBlink .8s steps(2) infinite;
}
@keyframes iskenderChalkBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .iskender-board-body.is-writing .track-word { animation: none; opacity: 1; filter: none; transform: none; text-shadow: none; }
    .iskender-board-body.is-writing .track-word.cursor-tip::after { display: none; }
}
.iskender-board-body .track-word.active {
    background: #FDE68A !important;
    color: #431407 !important;
    box-shadow: 0 0 0 3px rgba(245,158,11,.28), 0 0 18px rgba(253,230,138,.35);
    font-weight: 900;
}
.iskender-board-body.is-reading {
    box-shadow: inset 0 0 0 3px rgba(245,158,11,.24);
}
.iskender-focus-dialog {
    display: flex; flex-direction: column; height: 100%;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.86));
    box-shadow: 0 24px 70px rgba(0,0,0,.38);
    /* backdrop-filter, bazı Windows tarayıcılarında <select> açılır listesini bozabiliyor; blur kaldırıldı */
    overflow: hidden;
    isolation: isolate;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
/* === Focus dialog: temiz başlık ve ayar bloğu === */
.iskender-focus-head {
    display: flex; flex-direction: column; gap: .55rem;
    padding: .8rem .82rem .65rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
    position: relative; z-index: 2;
    flex-shrink: 0; min-width: 0; box-sizing: border-box;
    background: linear-gradient(180deg, rgba(124,58,237,.18), rgba(15,23,42,0));
}
.iskender-focus-character-card {
    display: flex; align-items: center; gap: .65rem;
    min-width: 0;
}
.iskender-focus-character-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.92);
    display: grid; place-items: center; overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.32);
    flex-shrink: 0;
}
.iskender-focus-character-avatar[hidden] { display: none !important; }
.iskender-focus-character-avatar img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
}
.iskender-focus-character-info {
    display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto;
}
.iskender-focus-character-eyebrow {
    font-size: .62rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(196,181,253,.85); line-height: 1;
}
.iskender-focus-character-info strong {
    font-size: clamp(.96rem, 1.6vw, 1.12rem);
    font-weight: 900; color: #F8FAFC; line-height: 1.15;
    margin-top: 2px; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.iskender-focus-icon-btn {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 50%;
    background: rgba(15,23,42,.55);
    border: 1px solid rgba(255,255,255,.18);
    color: #E2E8F0;
    cursor: pointer;
    display: grid; place-items: center;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.iskender-focus-icon-btn:hover {
    background: rgba(91,33,182,.55); color: #fff; border-color: rgba(167,139,250,.55);
    transform: translateY(-1px);
}
.iskender-focus-icon-btn i { width: 17px; height: 17px; display: inline-flex; }
.iskender-focus-icon-btn i svg { width: 100%; height: 100%; }
#iskenderFocusStopVoice:hover { background: rgba(239,68,68,.8); border-color: rgba(248,113,113,.6); }

.iskender-focus-settings {
    display: flex; flex-direction: column;
    gap: .45rem; padding: .65rem .82rem .55rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    flex-shrink: 0; min-width: 0; box-sizing: border-box;
}
.iskender-focus-pills {
    display: flex; flex-wrap: wrap; align-items: center; gap: .32rem; min-width: 0;
}
.iskender-focus-pill {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    color: #E0E7FF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.28rem 0.62rem;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.iskender-focus-pill:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(196, 181, 253, 0.45);
}
.iskender-focus-pill.is-active {
    background: rgba(91, 33, 182, 0.45);
    border-color: #A78BFA;
    color: #F5F3FF;
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.35);
}
.iskender-focus-fields {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .42rem; min-width: 0;
}
.iskender-focus-field {
    display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.iskender-focus-field > span {
    font-size: .62rem; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: rgba(196, 181, 253, .8); line-height: 1;
}
.iskender-focus-field select {
    width: 100%; min-width: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(15,23,42,.85);
    color: #fff;
    font-weight: 600;
    font-size: .76rem;
    padding: .36rem .5rem;
    cursor: pointer;
    outline: none;
    text-overflow: ellipsis;
}
.iskender-focus-field select:focus {
    border-color: rgba(167,139,250,.6);
    box-shadow: 0 0 0 2px rgba(167,139,250,.18);
}
.iskender-focus-field select option,
.iskender-focus-field select optgroup {
    color: #111; background: #fff; font-weight: 600;
}
.iskender-voice-select { /* eski sınıfla uyum: alanın stilini koru */
    width: 100%; min-width: 0;
}
.iskender-focus-grade-select { width: 100%; min-width: 0; }
.iskender-focus-level-summary {
    margin: 0;
    font-size: .68rem;
    line-height: 1.3;
    color: rgba(186, 230, 253, 0.9);
    font-weight: 700;
}
.iskender-focus-personalize {
    margin: 0;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255,255,255,.1);
    padding: .2rem .55rem .45rem;
}
.iskender-focus-personalize > summary {
    cursor: pointer;
    font-size: .68rem;
    font-weight: 700;
    color: rgba(196, 181, 253, .95);
    padding: .28rem 0;
    list-style: none;
}
.iskender-focus-personalize > summary::-webkit-details-marker { display: none; }
.iskender-focus-personalize[open] > summary { margin-bottom: .35rem; }
.iskender-focus-fields-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 720px) {
    .iskender-focus-fields-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Kişiselleştirme paneli (ana sayfa) --- */
.iskender-personalize {
    margin: 1rem 0 1.25rem;
    padding: 1rem 1.1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(21, 97, 109, 0.18);
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(236, 253, 245, .75)),
        radial-gradient(circle at 100% 0%, rgba(43, 182, 115, .08), transparent 45%);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.iskender-personalize-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: .75rem; margin-bottom: .85rem;
}
.iskender-personalize-head h2 {
    margin: 0 0 .2rem; font-size: 1.15rem; letter-spacing: -.01em; color: #0F3D46;
}
.iskender-personalize-head p {
    margin: 0; font-size: .82rem; line-height: 1.4; color: #3F5F66; max-width: 48rem;
}
.iskender-personalize-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem .75rem;
}
.iskender-personalize-field {
    display: flex; flex-direction: column; gap: .28rem; min-width: 0;
}
.iskender-personalize-field > span {
    font-size: .68rem; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: #15616D;
}
.iskender-personalize-field select {
    width: 100%;
    border: 1px solid rgba(21, 97, 109, 0.22);
    border-radius: 12px;
    background: #fff;
    color: #0F172A;
    font-weight: 600;
    font-size: .86rem;
    padding: .48rem .6rem;
    cursor: pointer;
}
.iskender-personalize-field select:focus {
    outline: none;
    border-color: #2BB673;
    box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.18);
}
.iskender-personalize-limit {
    margin: .75rem 0 0;
    font-size: .74rem;
    line-height: 1.35;
    color: #4B6B72;
    font-weight: 600;
}
.iskender-personalize-limit.is-saved { color: #047857; }
.iskender-personalize-limit.is-error { color: #B91C1C; }

/* Ekran kişiliği — hafif görsel vurgu */
.iskender-page[data-appearance="resmi"] .iskender-stage .iskender-avatar-img,
.iskender-page[data-appearance="resmi"] .iskender-focus-character-slot {
    filter: saturate(.92) contrast(1.05);
}
.iskender-page[data-appearance="sporcu"] .iskender-stage .iskender-avatar-img,
.iskender-page[data-appearance="sporcu"] .iskender-focus-character-slot {
    filter: saturate(1.15) brightness(1.03);
}
.iskender-page[data-appearance="yaratici"] .iskender-stage .iskender-avatar-img,
.iskender-page[data-appearance="yaratici"] .iskender-focus-character-slot {
    filter: saturate(1.25) hue-rotate(-6deg);
}
@media (max-width: 900px) {
    .iskender-personalize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .iskender-personalize-grid { grid-template-columns: 1fr; }
    .iskender-personalize-head { flex-direction: column; align-items: stretch; }
}
.iskender-focus-chat {
    flex: 0 0 auto; max-height: 108px; min-height: 64px;
    overflow-y: auto; padding: .72rem .82rem;
    display: flex; flex-direction: column; gap: .55rem;
    background: rgba(2, 6, 23, 0.14);
}
.iskender-focus-msg {
    max-width: 90%; padding: .62rem .78rem; border-radius: 14px;
    white-space: pre-wrap; line-height: 1.42; box-shadow: 0 8px 20px rgba(0,0,0,.16);
    font-size: .82rem;
}
.iskender-focus-msg.them { align-self: flex-start; background: rgba(255,255,255,.92); color: #111827; border-bottom-left-radius: 6px; }
.iskender-focus-msg.me { align-self: flex-end; background: #E0A458; color: #111827; border-bottom-right-radius: 6px; font-weight: 700; }
.iskender-focus-msg .track-word {
    border-radius: 6px; padding: 0 1px; transition: background .12s, color .12s;
}
.iskender-focus-msg .track-word.active {
    background: #FDE68A; color: #7C2D12; box-shadow: 0 0 0 2px rgba(245,158,11,.18);
}
.iskender-focus-msg.is-reading {
    outline: 3px solid rgba(245,158,11,.25); outline-offset: 3px;
}
.iskender-focus-form {
    flex: 1 1 auto; min-height: 0; overflow-y: auto;
    display: flex; flex-direction: column;
    padding: .82rem; border-top: 1px solid rgba(255,255,255,.14);
    background: rgba(15,23,42,.28);
}
.iskender-focus-camera[hidden] { display: none !important; }
.iskender-focus-camera {
    flex: 0 0 auto;
    min-height: 112px; max-height: 148px; margin-bottom: .58rem;
    border: 1px dashed rgba(255,255,255,.35); border-radius: 14px;
    background: rgba(15,23,42,.48); overflow: hidden; display: grid; place-items: center;
}
.iskender-focus.has-image .iskender-focus-camera {
    min-height: 70px;
    max-height: 86px;
    margin-bottom: .48rem;
}
.iskender-focus-camera video,
.iskender-focus-camera img {
    width: 100%; height: 100%; max-height: 148px; object-fit: contain; background: #020617;
}
.iskender-focus.has-image .iskender-focus-camera img {
    max-height: 86px;
}
.iskender-focus-camera [hidden] { display: none !important; }
.iskender-focus-camera-empty {
    padding: .9rem; color: rgba(255,255,255,.72); text-align: center; font-size: .88rem;
}
/* === Composer (input alanı) — ikonlu toolbar + textarea + gönder === */
.iskender-focus-toolbar {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 44px 1px 1.4fr 44px;
    align-items: stretch; gap: .35rem;
    margin-bottom: .55rem;
    padding: .35rem .42rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(15,23,42,.42);
}
.iskender-focus-tool {
    display: flex; align-items: center; justify-content: center;
    gap: .35rem;
    padding: .42rem .55rem;
    border-radius: 8px;
    border: 1px solid transparent;
    background: rgba(255,255,255,.04);
    color: rgba(226,232,240,.92);
    font-size: .76rem; font-weight: 700; line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
    min-width: 0;
    white-space: nowrap;
}
.iskender-focus-tool:hover {
    background: rgba(91,33,182,.28);
    border-color: rgba(167,139,250,.35);
    color: #fff;
}
.iskender-focus-tool[disabled] {
    opacity: .35; cursor: not-allowed;
}
.iskender-focus-tool[disabled]:hover {
    background: transparent; border-color: transparent; color: rgba(226,232,240,.92);
}
.iskender-focus-tool i { width: 16px; height: 16px; display: inline-flex; }
.iskender-focus-tool i svg { width: 100%; height: 100%; }
.iskender-focus-tool-divider {
    width: 1px; height: 22px;
    background: rgba(255,255,255,.14);
    margin: 0 auto;
    align-self: center;
    justify-self: center;
}
.iskender-focus-toolbar input[type="file"] {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0; pointer-events: none;
}
.iskender-focus-form textarea {
    flex: 1 1 96px; width: 100%; resize: none; min-height: 92px; max-height: none;
    border: 1px solid rgba(255,255,255,.25); border-radius: 14px;
    padding: .78rem .85rem; font: inherit; color: #fff; background: rgba(15,23,42,.62);
    outline: none;
    font-size: .86rem;
}
.iskender-focus-form textarea::placeholder { color: rgba(255,255,255,.66); }
.iskender-focus-form textarea:focus {
    border-color: rgba(167,139,250,.55);
    box-shadow: 0 0 0 2px rgba(167,139,250,.18);
}

.iskender-focus-send-row {
    flex: 0 0 auto;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: .55rem; margin-top: .58rem;
    position: sticky; bottom: 0; z-index: 2;
    padding-top: .35rem;
    background: linear-gradient(180deg, rgba(15,23,42,0), rgba(15,23,42,.86) 35%);
}
.iskender-focus-mic-btn,
.iskender-focus-send-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .42rem;
    padding: .65rem .65rem;
    border-radius: 12px;
    font-weight: 800; font-size: .82rem;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
    line-height: 1.1;
    min-width: 0;
}
.iskender-focus-mic-btn {
    background: rgba(15,23,42,.55);
    border: 1px solid rgba(255,255,255,.22);
    color: #E2E8F0;
}
.iskender-focus-mic-btn:hover {
    background: rgba(91,33,182,.45);
    border-color: rgba(167,139,250,.55);
    color: #fff;
    transform: translateY(-1px);
}
.iskender-focus-mic-btn.is-listening {
    background: rgba(34,197,94,.55);
    border-color: rgba(74,222,128,.7);
    color: #fff;
    animation: iskenderMicPulse 1.4s ease-in-out infinite;
}
.iskender-focus-mic-btn.is-listening kbd { display: none; }
@keyframes iskenderMicPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
    50%      { box-shadow: 0 0 0 8px rgba(34,197,94,.05); }
}
.iskender-focus-mic-btn kbd {
    font: inherit; font-size: .62rem; font-weight: 800;
    padding: 1px 6px; border-radius: 6px;
    background: rgba(15,23,42,.85);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(226,232,240,.9);
}
.iskender-focus-send-btn {
    background: linear-gradient(135deg, #E0A458, #D97706);
    border: 1px solid rgba(251,191,36,.5);
    color: #1F2937;
    box-shadow: 0 8px 22px rgba(217,119,6,.32);
}
.iskender-focus-send-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #FBBF24, #E0A458);
    box-shadow: 0 12px 28px rgba(217,119,6,.42);
}
.iskender-focus-mic-btn i,
.iskender-focus-send-btn i { width: 17px; height: 17px; display: inline-flex; flex-shrink: 0; }
.iskender-focus-mic-btn i svg,
.iskender-focus-send-btn i svg { width: 100%; height: 100%; }

.iskender-focus-hint {
    flex: 0 0 auto;
    margin-top: .42rem; color: #BBF7D0; font-size: .76rem; font-weight: 800;
}
html.iskender-focus-open,
body.iskender-focus-open {
    overflow: hidden;
    height: 100%;
}
@keyframes iskenderFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}
@keyframes iskenderPulse {
    0%, 100% { transform: scale(.92); opacity: .55; }
    50% { transform: scale(1.08); opacity: .9; }
}
@keyframes iskenderSpeak {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.018); }
}
@keyframes iskenderMouthOpen {
    0%, 100% { opacity: 0; transform: scaleY(.35); }
    45%, 70% { opacity: .95; transform: scaleY(1.55); }
}
@keyframes iskenderMouthSmile {
    0%, 100% { opacity: 1; }
    45%, 70% { opacity: .25; }
}
@media (max-width: 960px) {
    .iskender-hero { grid-template-columns: 1fr; text-align: center; }
    .iskender-orb-2, .iskender-orb-3 { filter: blur(40px); opacity: .7; }
    .iskender-safe { margin-left: auto; margin-right: auto; }
    .iskender-levels { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .iskender-focus { --iskender-focus-pad-top: 6.25rem; }
    .iskender-focus-brand { padding: 0.5rem 0.65rem 0.4rem 0.65rem; padding-right: 5.5rem; }
    .iskender-focus-brand-title { font-size: 0.68rem; letter-spacing: 0.03em; }
    .iskender-focus-brand-sub { font-size: 0.62rem; }
    .iskender-focus-partner img { width: 32px; height: 32px; }
    .iskender-focus-bridge { width: 200%; max-height: 38%; bottom: -8%; opacity: 0.42; }
    .iskender-focus-stage,
    .iskender-focus.is-dialog-collapsed .iskender-focus-stage {
        grid-template-columns: 1fr;
        gap: .75rem;
        height: 100%;
        overflow-y: auto;
        padding-top: 3.8rem;
    }
    .iskender-focus-character { height: 28vh; place-items: center; }
    .iskender-focus-character svg { max-height: 28vh; }
    .iskender-board { height: min(42vh, 420px); min-height: 280px; }
    .iskender-focus-dialog { height: 48vh; }
    .iskender-focus-controls {
        top: 12px; right: 12px; left: 12px;
        justify-content: flex-end; gap: .4rem; flex-wrap: wrap;
    }
    .iskender-focus-close,
    .iskender-real-fullscreen,
    .iskender-panel-toggle {
        padding: .52rem .65rem;
        font-size: .76rem;
    }
    .iskender-focus-fields { grid-template-columns: 1fr; }
    .iskender-focus-toolbar {
        grid-template-columns: 1fr 1fr 40px 1px 1fr 40px;
    }
    .iskender-focus-tool { font-size: .72rem; padding: .42rem .35rem; }
}
@media (max-width: 520px) {
    .iskender-levels { grid-template-columns: 1fr; }
    .iskender-hero { padding: 1rem; }
    .iskender-focus-brand { padding-right: 4.5rem; }
    .iskender-focus-brand-title { font-size: 0.62rem; }
    .iskender-real-fullscreen { display: none; }
    .iskender-focus-controls { top: 10px; right: 10px; left: auto; max-width: 55vw; }
}

/* Responsive */
@media (max-width: 960px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .form-row { grid-template-columns: 1fr; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero-art { display: none; }
    .role-cards { grid-template-columns: 1fr; }
}

/* =========================================================
   Iskender Hoca page (desktop/web)
   Readable sizes; content vertically centered in main area so
   short pages do not leave a huge empty band under the hero.
   Mild scroll on very short viewports is acceptable.
   ========================================================= */
@media (min-width: 900px) {
    .content:has(#iskenderHocaRoot) {
        padding-top: 1rem;
        padding-bottom: 1.75rem;
        /* flex-basis auto + shrink 0: içerik doğal yüksekliğini korur.
           Ekrana sığmazsa .main normal şekilde kaydırılır; sığarsa
           çocuktaki auto marjinler dikeyde ortalar. (flex:1 kullanma:
           taban 0 olur, içerik sıkışır ve alt kısım kesilir.) */
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
    }
    #iskenderHocaRoot.iskender-page {
        width: 100%;
        max-width: 100%;
        flex-shrink: 0;
        margin-top: auto;
        margin-bottom: auto;
    }
    .flash-wrap:has(+ .content #iskenderHocaRoot),
    body:has(#iskenderHocaRoot) .flash-wrap {
        margin-bottom: .5rem;
    }
    body:has(#iskenderHocaRoot) .flash {
        padding: .55rem .85rem;
        font-size: .9rem;
        line-height: 1.35;
        margin-bottom: .5rem;
    }
    .iskender-page {
        gap: .72rem;
    }
    .iskender-character-picker {
        padding: .7rem .95rem;
        grid-template-columns: minmax(190px, .65fr) minmax(0, 1.35fr);
        gap: .85rem;
        border-radius: var(--radius-lg);
    }
    .iskender-character-picker-title { font-size: 1rem; }
    .iskender-character-picker-sub { font-size: .78rem; line-height: 1.28; }
    .iskender-character-options { gap: .55rem; }
    .iskender-character-option {
        padding: .48rem .62rem;
        border-radius: var(--radius-lg);
        gap: .5rem;
    }
    .iskender-character-option .iskender-character-thumb {
        width: 40px;
        height: 52px;
        border-radius: 8px;
    }
    .iskender-character-option .iskender-character-meta b { font-size: .88rem; }
    .iskender-character-option .iskender-character-meta small { font-size: .7rem; }

    .iskender-hero {
        min-height: 220px;
        padding: 1.05rem 1.25rem;
        grid-template-columns: 1.45fr .55fr;
        border-radius: var(--radius-xl);
    }
    .iskender-kicker {
        font-size: .74rem;
        padding: .26rem .58rem;
        margin-bottom: .38rem;
    }
    .iskender-copy h1 {
        font-size: clamp(1.75rem, 3vw, 2.45rem);
        margin-bottom: .28rem;
    }
    .iskender-copy p {
        font-size: .92rem;
        line-height: 1.42;
        max-width: 560px;
    }
    .iskender-safe {
        margin-top: .45rem;
        padding: .42rem .62rem;
        font-size: .78rem;
        line-height: 1.32;
    }
    .iskender-copy .mt-2 { margin-top: .55rem; }
    .iskender-copy .btn-lg {
        padding: .52rem 1.05rem;
        font-size: .92rem;
        border-radius: var(--radius);
    }
    .iskender-stage {
        min-height: 175px;
    }
    .iskender-avatar-img {
        width: min(182px, 92%);
    }
    .iskender-pulse {
        width: 152px;
        height: 152px;
    }

    .iskender-controls {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
        gap: .75rem;
        align-items: stretch;
    }
    .iskender-levels {
        display: flex;
        flex-wrap: wrap;
        gap: .48rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }
    .iskender-level {
        flex: 1 1 122px;
        min-width: 118px;
        max-width: 160px;
        padding: .48rem .55rem;
        border-radius: var(--radius-lg);
        text-align: center;
    }
    .iskender-level b {
        font-size: .84rem;
        white-space: nowrap;
    }
    .iskender-level span {
        font-size: .66rem;
        white-space: nowrap;
    }
    .iskender-grade-strip {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: .55rem;
    }
    .iskender-grade-field > span { font-size: .66rem; }
    .iskender-grade-field .select {
        padding: .44rem .58rem;
        font-size: .86rem;
        border-radius: var(--radius);
    }
    .iskender-grade-note {
        padding: .52rem .65rem;
        font-size: .84rem;
        border-radius: var(--radius);
    }
}
@media (max-width: 720px) {
    .app { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed; top: 0; left: -100%; width: 80%; max-width: 300px; z-index: 50;
        transition: left .25s ease;
    }
    body.nav-open .sidebar { left: 0; }
    body.nav-open::after {
        content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.45);
        z-index: 40;
    }
    .menu-toggle { display: inline-flex; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .content { padding: 1rem; }
    .notify-panel { width: 94vw; right: -1rem; }
}

/* Simple icon stroke defaults */
i[data-ico] {
    width: 20px; height: 20px; display: inline-block;
    stroke: currentColor; stroke-width: 1.8;
}

/* ==================== About Page Body (public) ==================== */
.about-body { line-height: 1.7; color: var(--c-text); }
.about-body p { margin: 0 0 .75rem; }
.about-body p:last-child { margin-bottom: 0; }
.about-body ul {
    margin: .5rem 0 .75rem;
    padding-left: 1.3rem;
}
.about-body li { margin: .25rem 0; }
.about-body a { color: var(--c-primary); font-weight: 600; }
.about-body a:hover { text-decoration: underline; }

/* ==================== About Page Layout (public) ==================== */
.about-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}
.about-page.is-app { padding: 0 0 1rem; max-width: 1100px; gap: 2.25rem; }
.about-page .about-hero { margin-bottom: 0; }

.about-eyebrow {
    font-size: .74rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--c-primary);
}

/* --- Hero eklentileri --- */
.about-hero-meta {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}
.about-hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255, 255, 255, .78);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    padding: .38rem .85rem;
    font-size: .84rem;
    font-weight: 600;
    color: var(--c-primary-dark);
    backdrop-filter: blur(4px);
}
.about-hero-cta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
}

/* --- Bölüm başlığı --- */
.about-sec-head { text-align: center; max-width: 680px; margin: 0 auto 1.75rem; }
.about-sec-head h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: .5rem 0 .6rem;
}
.about-sec-head p { color: var(--c-text-muted); font-size: 1.02rem; margin: 0; }

/* --- Üç modül --- */
.about-mod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}
.about-mod {
    --am: var(--c-primary);
    --am-soft: var(--c-primary-light);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 22px;
    padding: 2.6rem 1.75rem 2.1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
/* Kartın tepesinden inen renkli ışık huzmesi */
.about-mod::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -170px;
    width: 360px;
    height: 300px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--am) 20%, transparent), transparent);
    z-index: -1;
}
.about-mod:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--am) 32%, var(--c-border));
    box-shadow: 0 26px 50px -26px color-mix(in srgb, var(--am) 62%, transparent);
}
.about-mod-ico {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    line-height: 1;
    border-radius: 50%;
    background: linear-gradient(160deg, #FFFFFF, var(--am-soft));
    border: 1px solid color-mix(in srgb, var(--am) 20%, transparent);
    box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--am) 70%, transparent),
                inset 0 1px 0 rgba(255, 255, 255, .9);
    margin-bottom: 1.15rem;
}
.about-mod-step {
    display: inline-flex;
    align-items: center;
    font-size: .69rem;
    letter-spacing: .17em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--am);
    background: var(--am-soft);
    border: 1px solid color-mix(in srgb, var(--am) 16%, transparent);
    border-radius: 999px;
    padding: .28rem .7rem;
    margin-bottom: .8rem;
}
.about-mod-title {
    font-size: 1.26rem;
    margin: 0 0 .85rem;
    color: var(--c-text);
    letter-spacing: -0.015em;
    text-wrap: balance;
}
.about-mod-rule {
    width: 46px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--am), color-mix(in srgb, var(--am) 25%, #FFFFFF));
    margin-bottom: 1.05rem;
}
.about-mod-body {
    font-size: .93rem;
    line-height: 1.75;
    color: var(--c-text-muted);
    text-wrap: pretty;
}
.about-mod-body strong, .about-mod-body b { color: var(--c-text); font-weight: 650; }

.about-mod.am-1 { --am: #7C3AED; --am-soft: #F3EEFF; }
.about-mod.am-2 { --am: #15616D; --am-soft: #E2F1F2; }
.about-mod.am-3 { --am: #B4532A; --am-soft: #FCEFE7; }

/* --- Standart bölümler --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    align-items: stretch;
}
/* Tek kalan kart satırı yarım bırakmasın. */
.about-grid > .about-sec:last-child:nth-child(odd) { grid-column: 1 / -1; }
.about-sec,
.about-callout {
    display: flex;
    gap: 1.2rem;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    padding: 1.75rem 1.6rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.about-sec:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--c-primary) 26%, var(--c-border));
    box-shadow: 0 20px 40px -24px rgba(12, 66, 74, .45);
}
.about-sec-ico {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    line-height: 1;
    border-radius: 50%;
    background: linear-gradient(160deg, #FFFFFF, var(--c-primary-light));
    border: 1px solid rgba(21, 97, 109, .16);
    box-shadow: 0 10px 22px -14px rgba(12, 66, 74, .6),
                inset 0 1px 0 rgba(255, 255, 255, .9);
}
.about-sec-main { min-width: 0; }
.about-sec-title { font-size: 1.14rem; margin: .35rem 0 .6rem; letter-spacing: -0.012em; }
.about-sec .about-body,
.about-callout .about-body { font-size: .95rem; line-height: 1.75; color: var(--c-text-muted); }
.about-sec .about-body strong,
.about-sec .about-body b,
.about-callout .about-body strong,
.about-callout .about-body b { color: var(--c-text); font-weight: 650; }
.about-sec .about-body ul { padding-left: 1.15rem; }
.about-sec .about-body li { margin: .4rem 0; }
.about-sec .about-body li::marker { color: var(--c-primary); }

.about-callout.is-warning {
    background: linear-gradient(135deg, #FFFBEB, #FFFFFF);
    border-color: #FCD34D;
}
.about-callout.is-warning .about-sec-ico { background: #FEF3C7; border-color: #FCD34D; }
.about-callout.is-success {
    background: linear-gradient(135deg, #ECFDF5, #FFFFFF);
    border-color: #A7F3D0;
}
.about-callout.is-success .about-sec-ico { background: #D1FAE5; border-color: #6EE7B7; }

/* --- Vizyon alıntısı --- */
.about-quote {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 2.75rem 2rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #0C424A 0%, #15616D 55%, #1B7C86 100%);
    box-shadow: 0 24px 50px -24px rgba(12, 66, 74, .65);
}
.about-quote-mark {
    position: absolute;
    left: 50%;
    top: -1.5rem;
    transform: translateX(-50%);
    font-size: 8rem;
    line-height: 1;
    font-weight: 900;
    color: #fff;
    opacity: .1;
    pointer-events: none;
}
.about-quote-inner { position: relative; max-width: 720px; margin: 0 auto; }
.about-quote .about-eyebrow { color: var(--c-accent); }
.about-quote-body {
    margin-top: .85rem;
    color: rgba(255, 255, 255, .94);
    font-size: 1.14rem;
    line-height: 1.7;
}
.about-quote-body strong, .about-quote-body b { color: #fff; }
.about-quote-body a { color: var(--c-accent); }

/* --- Sosyal sorumluluk bandı --- */
.about-band {
    text-align: center;
    border-radius: var(--radius-xl);
    border: 1px solid #BFDBFE;
    background:
        radial-gradient(600px 240px at 50% -10%, rgba(59, 130, 246, .10), transparent 70%),
        linear-gradient(135deg, #EFF6FF, #FFFFFF);
    padding: 2.5rem 1.75rem;
    box-shadow: var(--shadow-sm);
}
.about-band-ico {
    width: 62px;
    height: 62px;
    margin: 0 auto .85rem;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #BFDBFE;
    box-shadow: var(--shadow-sm);
}
.about-band-title { font-size: 1.4rem; margin-bottom: .6rem; }
.about-band-body {
    max-width: 660px;
    margin: 0 auto;
    font-size: 1.02rem;
    color: var(--c-text-muted);
}
.about-band-body strong, .about-band-body b { color: var(--c-text); }

/* --- Kapanış çağrısı --- */
.about-cta {
    text-align: center;
    border-radius: var(--radius-xl);
    padding: 2.75rem 1.75rem;
    color: #fff;
    background: linear-gradient(135deg, #15616D, #0C424A);
    box-shadow: 0 24px 50px -24px rgba(12, 66, 74, .6);
}
.about-cta h2 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.about-cta p {
    color: rgba(255, 255, 255, .85);
    max-width: 560px;
    margin: 0 auto 1.4rem;
}
.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
}
.about-cta-btn {
    background: var(--c-accent);
    color: #1F2937;
    border: 1px solid var(--c-accent);
    font-weight: 700;
}
.about-cta-btn:hover { background: #EDB877; border-color: #EDB877; text-decoration: none; }
.about-cta-ghost {
    background: rgba(255, 255, 255, .10);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .38);
    font-weight: 600;
}
.about-cta-ghost:hover { background: rgba(255, 255, 255, .18); text-decoration: none; }

@media (max-width: 980px) {
    .about-mod-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .about-page { padding: 1.5rem 1rem 2.5rem; gap: 2rem; }
    .about-quote { padding: 2.25rem 1.25rem; }
    .about-band, .about-cta { padding: 2rem 1.25rem; }
    .about-sec, .about-callout { padding: 1.25rem 1.1rem; gap: .85rem; }
    .about-hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .about-mod { transition: none; }
    .about-mod:hover { transform: none; }
}

/* ==================== About Admin Editor ==================== */
.about-admin-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.about-admin-section {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: border-color .15s, box-shadow .15s, opacity .2s;
}
.about-admin-section:hover {
    border-color: #BFDBFE;
    box-shadow: var(--shadow);
}
.about-admin-section.is-hidden {
    opacity: .55;
    background: #F8FAFC;
    border-style: dashed;
}
.about-admin-head {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: .85rem;
    padding-bottom: .85rem;
    border-bottom: 1px dashed var(--c-border);
}
.about-admin-ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EFF6FF, #F0F9FF);
    border: 1px solid #BFDBFE;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.about-admin-heading b {
    font-size: 1.02rem;
    color: var(--c-text);
}
.about-admin-grid {
    display: grid;
    grid-template-columns: 1.6fr .7fr .7fr 1fr;
    gap: .75rem;
}
.about-admin-grid .field { margin: 0; }
.about-body-textarea {
    min-height: 160px;
    font-family: 'Segoe UI', ui-sans-serif, system-ui, sans-serif;
    font-size: .95rem;
    line-height: 1.6;
    resize: vertical;
}
@media (max-width: 820px) {
    .about-admin-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .about-admin-grid { grid-template-columns: 1fr; }
}

/* ==================== Help Card (Module Guide) ==================== */
.help-box {
    background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 60%, #FEFBF0 100%);
    border: 1px solid #BFDBFE;
    border-radius: 14px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.help-box:hover { border-color: #93C5FD; }
.help-box[open] {
    border-color: var(--c-primary);
    box-shadow: 0 6px 20px rgba(30, 102, 184, 0.08);
    background: linear-gradient(135deg, #EAF3FD 0%, #FFFFFF 50%, #FFFBEB 100%);
}
.help-toggle {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1rem;
    cursor: pointer;
    font-size: .92rem;
    color: var(--c-text);
    user-select: none;
    transition: background .15s;
}
.help-toggle::-webkit-details-marker { display: none; }
.help-toggle::marker { content: ""; }
.help-toggle:hover { background: rgba(30, 102, 184, 0.04); }

.help-ico {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), #4F8FD4);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(30, 102, 184, 0.25);
    animation: helpPulse 3.5s ease-in-out infinite;
}
@keyframes helpPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 3px 10px rgba(30, 102, 184, 0.25); }
    50%      { transform: scale(1.06); box-shadow: 0 4px 16px rgba(30, 102, 184, 0.4); }
}
.help-box[open] .help-ico { animation: none; }

.help-toggle-text { flex: 1; line-height: 1.3; }
.help-toggle-text b { color: var(--c-primary-dark); }
.help-toggle-lead { color: var(--c-text-muted); font-size: .85rem; font-weight: 500; }

.help-chevron {
    flex-shrink: 0;
    color: var(--c-text-muted);
    font-size: 1rem;
    transition: transform .25s ease;
}
.help-box[open] .help-chevron { transform: rotate(180deg); color: var(--c-primary); }

.help-body {
    padding: .5rem 1.1rem 1.1rem;
    border-top: 1px dashed #BFDBFE;
    background: rgba(255, 255, 255, 0.6);
    animation: helpSlide .25s ease;
}
@keyframes helpSlide {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
}
.help-steps {
    list-style: none;
    counter-reset: help-step;
    padding: 0;
    margin: .5rem 0 0;
}
.help-steps li {
    counter-increment: help-step;
    position: relative;
    padding: .45rem 0 .45rem 2.1rem;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--c-text);
}
.help-steps li::before {
    content: counter(help-step);
    position: absolute;
    left: 0;
    top: .35rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--c-primary-light);
    color: var(--c-primary-dark);
    font-weight: 700;
    font-size: .78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #BFDBFE;
}
.help-steps li b {
    color: var(--c-primary-dark);
    font-weight: 700;
}
.help-tip {
    margin-top: .7rem;
    padding: .55rem .8rem;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 10px;
    font-size: .88rem;
    color: #713F12;
}
.help-warn {
    margin-top: .7rem;
    padding: .55rem .8rem;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 10px;
    font-size: .88rem;
    color: #991B1B;
}

@media (max-width: 480px) {
    .help-toggle { padding: .65rem .85rem; font-size: .88rem; gap: .6rem; }
    .help-ico { width: 26px; height: 26px; font-size: .9rem; }
    .help-toggle-lead { display: none; }
    .help-body { padding: .4rem .85rem 1rem; }
    .help-steps li { font-size: .88rem; padding-left: 1.9rem; }
    .help-steps li::before { width: 22px; height: 22px; font-size: .72rem; }
}

/* ==================== Mobile Polish ==================== */
/* Prevent horizontal scroll anywhere */
html, body { overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; }

/* Filter bars & inline-styled rows should stack on mobile */
@media (max-width: 720px) {
    /* Override inline grid-template-columns on .form-row */
    .form-row[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .form-row .btn { width: 100%; }

    /* Flex filter rows with inline max-width inputs: let them grow full width */
    .flex[style*="flex-wrap"] > input.input[style*="max-width"],
    .flex[style*="flex-wrap"] > select.select[style*="max-width"],
    .flex[style*="flex-wrap"] > label.check[style*="white-space"] {
        max-width: none !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
    }
    .flex[style*="flex-wrap"] > .btn { flex: 1 1 100%; }

    /* Admin users.php filter row (no flex-wrap) — force wrap */
    form.mb-2 > .flex { flex-wrap: wrap; }
    form.mb-2 > .flex > .input[style*="max-width"],
    form.mb-2 > .flex > .select[style*="max-width"] {
        max-width: none !important;
        flex: 1 1 100% !important;
    }

    /* Page head: buttons should wrap and take full width */
    .page-head { gap: .6rem; margin-bottom: 1rem; }
    .page-head .btn { width: 100%; }
    .page-head > .spacer { display: none; }
    .page-head h1 { font-size: 1.5rem; }

    /* Tables: denser on mobile */
    .table th, .table td {
        padding: .55rem .65rem;
        font-size: .85rem;
    }
    .table th { font-size: .7rem; }

    /* Meetings show — rating label width should shrink */
    .meeting-rating-row { flex-wrap: wrap; }

    /* Topbar: hide user-meta text, keep only avatar on tiny screens */
    .topbar { padding: .7rem 1rem; gap: .5rem; }
    .topbar-title {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0;
    }
    .topbar-right { gap: .5rem; }
    .user-chip { padding: 2px; }
    .user-chip .user-meta { display: none; }

    /* Guest header: stack brand subtext more compactly */
    .guest-header { padding: .75rem 1rem; flex-wrap: wrap; gap: .5rem; }
    .guest-brand b { font-size: .95rem; }
    .guest-brand small { display: none; }
    .guest-nav { gap: .25rem; }
    .guest-nav a { padding: .4rem .5rem; font-size: .88rem; }
    .guest-nav .btn { padding: .45rem .75rem; font-size: .85rem; }

    /* Cards & section paddings */
    .card { padding: 1rem; }
    .section { padding: 2rem 0 !important; }

    /* Hero on phone */
    .hero { padding: 2rem 1rem 1.5rem; }
    .hero h1 { font-size: 1.8rem !important; }
    .hero .lead { font-size: .98rem; }
    .hero-cta { gap: .5rem; }
    .hero-cta .btn { flex: 1; min-width: 0; }

    /* Stats grid spacing */
    .stat { padding: 1rem; }
    .stat-value { font-size: 1.75rem; }

    /* Notify panel within topbar */
    .notify-panel { width: calc(100vw - 2rem); right: -.5rem; }

    /* Inline form styling overrides */
    .card-head { flex-wrap: wrap; }
    .card-head .chip { font-size: .72rem; }

    /* Request hero on mobile */
    .req-hero-actions { width: 100%; }
    .req-hero-actions .btn { width: 100%; }
    .req-hero-title { font-size: 1.2rem !important; }

    /* Chat area: adjust height on mobile */
    .chat { max-height: 60vh; }
    .msg { max-width: 92%; }

    /* Meeting rating label width */
    .meeting-rating-row > span:first-child { width: auto !important; min-width: 92px; }

    /* Auth scene gets tighter padding */
    .auth-card { padding: 1.5rem 1.25rem; }
    .auth-wrap { padding: 0 .75rem; }

    /* About hero more compact title */
    .about-hero-title { font-size: 1.4rem !important; }
    .about-hero-lead  { font-size: .95rem; }

    /* Form row inline styles (margin:0) still get gap */
    .form-row .field { margin-bottom: 0; }
}

/* Very small phones */
@media (max-width: 420px) {
    .content { padding: .75rem !important; }
    .card { padding: .85rem; border-radius: 12px; }
    .page-head h1 { font-size: 1.3rem; }
    .btn { font-size: .9rem; }
    .btn-lg { padding: .7rem 1.1rem; font-size: .95rem; }
    .table th, .table td { padding: .45rem .5rem; font-size: .78rem; }
    .chip { font-size: .72rem; padding: 3px 8px; }
    .status { font-size: .72rem; padding: 3px 8px; }
    .avatar { width: 32px; height: 32px; font-size: .88rem; }
    .avatar.lg { width: 40px; height: 40px; font-size: 1rem; }
    .stat-value { font-size: 1.5rem; }
    .hero h1 { font-size: 1.55rem !important; }
    .hero-chips .chip { font-size: .72rem; }
    .flash { font-size: .88rem; padding: .65rem .85rem; }
}

/* ==================== Gelişim Paneli (Oyunlaştırma) ==================== */
.gp-hero { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 1rem; }
.gp-level-card {
    display: flex; align-items: center; gap: 1.1rem;
    background: linear-gradient(135deg, #0C424A, #15616D);
    color: #fff; border-radius: var(--radius-lg); padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow);
}
.level-ring {
    --p: 0; width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0;
    background: conic-gradient(var(--c-accent) calc(var(--p) * 1%), rgba(255,255,255,.18) 0);
    display: grid; place-items: center;
}
.level-ring-in {
    width: 70px; height: 70px; border-radius: 50%; background: #0C424A;
    display: grid; place-items: center; text-align: center; line-height: 1;
}
.lvl-num { font-size: 1.7rem; font-weight: 800; }
.lvl-lbl { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #A9CBCF; margin-top: 2px; }
.gp-level-meta { flex: 1; min-width: 0; }
.gp-points { font-size: 1.6rem; font-weight: 800; }
.gp-points span { font-size: .9rem; font-weight: 500; color: #C9E2E4; }
.gp-progress { height: 8px; border-radius: 6px; background: rgba(255,255,255,.18); margin: .55rem 0 .35rem; overflow: hidden; }
.gp-progress-bar { height: 100%; background: var(--c-accent); border-radius: 6px; transition: width .6s ease; }

.gp-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.gp-stat {
    display: flex; align-items: center; gap: .8rem;
    background: var(--c-card); border: 1px solid var(--c-border);
    border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow-sm);
}
.gp-stat-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.gp-stat-num { font-size: 1.3rem; font-weight: 800; color: var(--c-text); line-height: 1.1; }
.gp-stat-lbl { font-size: .78rem; color: var(--c-text-muted); }

/* Günlük hedefler */
.goals { display: flex; flex-direction: column; gap: .6rem; }
.goal {
    display: flex; align-items: center; gap: .85rem;
    border: 1px solid var(--c-border); border-radius: var(--radius);
    padding: .75rem .9rem; transition: background .15s, border-color .15s;
}
.goal.done { background: #EAF7F0; border-color: #B6E5CD; }
.goal-ico { font-size: 1.4rem; width: 38px; text-align: center; flex-shrink: 0; }
.goal-main { flex: 1; min-width: 0; }
.goal-label { font-weight: 700; }
.goal.done .goal-label { text-decoration: line-through; color: #1B8A5A; }
.goal-hint { font-size: .8rem; color: var(--c-text-muted); }
.goal-check { width: 30px; height: 30px; border-radius: 50%; background: var(--c-success); color: #fff; display: grid; place-items: center; font-weight: 800; }
.goals-done-note { margin-top: .9rem; padding: .7rem .9rem; background: #FEF7EC; border: 1px dashed var(--c-accent); border-radius: var(--radius); font-size: .9rem; font-weight: 600; color: #9E5F22; }

/* Haftalık aktivite grafiği */
.week-chart { display: flex; align-items: flex-end; gap: .5rem; height: 180px; padding-top: .5rem; }
.week-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; height: 100%; }
.week-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.week-bar { width: 100%; max-width: 34px; margin: 0 auto; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--c-primary), #1E7E8C); transition: height .5s ease; min-height: 4px; }
.week-val { font-size: .72rem; font-weight: 700; color: var(--c-text-muted); }
.week-dow { font-size: .72rem; color: var(--c-text-muted); }

/* Rozetler */
.badges-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.badges-grid .badge { position: relative; text-align: center; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1rem .8rem; background: var(--c-card); transition: transform .15s; color: inherit; text-transform: none; letter-spacing: 0; font-weight: 400; }
.badges-grid .badge.earned { border-color: #B6E5CD; background: linear-gradient(180deg, #fff, #F1FBF6); }
.badges-grid .badge.locked { opacity: .55; filter: grayscale(.7); }
.badges-grid .badge:hover { transform: translateY(-3px); }
.badge-ico { font-size: 2rem; line-height: 1; }
.badges-grid .badge.locked .badge-ico { filter: grayscale(1); }
.badge-name { font-weight: 800; margin-top: .4rem; font-size: .95rem; }
.badge-desc { font-size: .76rem; color: var(--c-text-muted); margin-top: .2rem; line-height: 1.3; }
.badge-earned-tag { margin-top: .5rem; font-size: .7rem; font-weight: 700; color: var(--c-success); }
.badges-grid .badge.just-earned { animation: badgePop .6s ease; }
@keyframes badgePop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }

.quiz-score { font-weight: 700; font-size: .85rem; }
.quiz-score-good { color: var(--c-success); }
.quiz-score-mid { color: var(--c-accent); }
.quiz-score-low { color: var(--c-danger); }
.chip-success { background: #E7F8EF; color: #1B8A5A; }

/* Segmented control (sınav başlat) */
.field-label { display: block; font-weight: 700; margin-bottom: .5rem; }
.seg { display: inline-flex; flex-wrap: wrap; gap: .4rem; background: var(--c-bg); padding: .3rem; border-radius: 12px; border: 1px solid var(--c-border); }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-opt span { display: block; padding: .5rem .95rem; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--c-text-muted); transition: background .15s, color .15s; }
.seg-opt input:checked + span { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }

/* Sınav çözme */
.quiz-progress-top { height: 8px; background: var(--c-border); border-radius: 6px; overflow: hidden; margin-bottom: .4rem; position: sticky; top: 0; z-index: 5; }
.quiz-progress-fill { height: 100%; background: var(--c-accent); width: 0; transition: width .3s ease; }
.quiz-progress-label { font-size: .82rem; color: var(--c-text-muted); margin-bottom: 1rem; }
.quiz-q { margin-bottom: 1rem; }
.quiz-q.answered { border-color: #B6E5CD; }
.quiz-q-head { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .9rem; }
.quiz-q-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.quiz-q-text { font-size: 1.05rem; font-weight: 600; line-height: 1.5; }
.quiz-opts { display: flex; flex-direction: column; gap: .55rem; }
.quiz-opt { display: flex; align-items: center; gap: .7rem; border: 1.5px solid var(--c-border); border-radius: var(--radius); padding: .7rem .85rem; cursor: pointer; transition: border-color .12s, background .12s; }
.quiz-opt:hover { border-color: var(--c-primary); background: var(--c-primary-light); }
.quiz-opt input { position: absolute; opacity: 0; }
.quiz-opt-letter { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--c-bg); display: grid; place-items: center; font-weight: 800; color: var(--c-text-muted); border: 1px solid var(--c-border); }
.quiz-opt-text { flex: 1; }
.quiz-opt:has(input:checked) { border-color: var(--c-primary); background: var(--c-primary-light); }
.quiz-opt:has(input:checked) .quiz-opt-letter { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.quiz-submit-bar { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }

/* Sonuç ekranı */
.result-hero { display: flex; align-items: center; gap: 1.5rem; border-radius: var(--radius-lg); padding: 1.6rem; color: #fff; margin-bottom: 1.2rem; box-shadow: var(--shadow); }
.result-good { background: linear-gradient(135deg, #15616D, #2BB673); }
.result-mid { background: linear-gradient(135deg, #15616D, #C77B30); }
.result-low { background: linear-gradient(135deg, #6B7280, #9E5F22); }
.result-score-ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; flex-shrink: 0; background: conic-gradient(#fff calc(var(--p)*1%), rgba(255,255,255,.25) 0); display: grid; place-items: center; }
.result-score-in { width: 94px; height: 94px; border-radius: 50%; background: rgba(0,0,0,.18); display: grid; place-items: center; text-align: center; }
.result-pct { font-size: 1.8rem; font-weight: 800; }
.result-frac { font-size: .85rem; opacity: .9; }
.result-points { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.result-levelup { margin-top: .6rem; background: rgba(255,255,255,.18); border-radius: 10px; padding: .5rem .8rem; font-weight: 600; display: inline-block; }
.review-list { display: flex; flex-direction: column; gap: 1rem; }
.review-item { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1rem; border-left: 4px solid var(--c-border); }
.review-item.ok { border-left-color: var(--c-success); }
.review-item.wrong { border-left-color: var(--c-danger); }
.review-q { font-weight: 600; margin-bottom: .7rem; line-height: 1.5; }
.review-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: .8rem; font-weight: 800; margin-right: .35rem; }
.review-item.ok .review-badge { background: var(--c-success); }
.review-item.wrong .review-badge { background: var(--c-danger); }
.review-opts { display: flex; flex-direction: column; gap: .4rem; }
.review-opt { display: flex; align-items: center; gap: .6rem; padding: .45rem .65rem; border-radius: 8px; font-size: .92rem; background: var(--c-bg); }
.review-opt.correct { background: #E7F8EF; color: #14794D; font-weight: 600; }
.review-opt.chosen-wrong { background: #FDECEC; color: #B42318; font-weight: 600; }
.review-tag { margin-left: auto; font-size: .68rem; font-weight: 700; background: var(--c-success); color: #fff; padding: 2px 8px; border-radius: 20px; }
.review-tag-wrong { background: var(--c-danger); }
.review-exp { margin-top: .7rem; font-size: .88rem; color: var(--c-text); background: #FEF7EC; border-radius: 8px; padding: .6rem .8rem; }

@media (max-width: 860px) {
    .gp-hero { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .gp-stat-grid { grid-template-columns: 1fr; }
    .result-hero { flex-direction: column; text-align: center; }
}

/* ==================== Akıllı Tahta Sınav Modu ==================== */
.iskender-quiz-btn {
    border: 0; cursor: pointer; font-weight: 700; font-size: .9rem;
    padding: .5rem 1rem; border-radius: 999px;
    background: linear-gradient(135deg, #E0A458, #C77B30); color: #2A1B08;
    box-shadow: 0 4px 14px rgba(224,164,88,.4);
}
.iskender-quiz-btn:hover { filter: brightness(1.06); }

.qb {
    position: absolute; inset: 0; z-index: 60;
    display: grid; place-items: center; padding: 2.5vh 3vw;
    background: rgba(5, 24, 27, .72); backdrop-filter: blur(6px);
    animation: qbFade .25s ease;
}
.qb[hidden] { display: none !important; }
@keyframes qbFade { from { opacity: 0; } to { opacity: 1; } }
.qb-inner {
    position: relative; width: min(960px, 96%); max-height: 94%; overflow-y: auto;
    background: linear-gradient(160deg, #0C424A 0%, #0A363C 100%);
    border: 1px solid rgba(224,164,88,.35); border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5); color: #EAF6F7;
    padding: 2rem 2.2rem;
}
.qb-close {
    position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
    color: #EAF6F7; font-size: 1rem; cursor: pointer;
}
.qb-close:hover { background: rgba(255,255,255,.18); }
.qb-step { animation: qbFade .25s ease; }

/* Kurulum */
.qb-emoji { font-size: 2.6rem; text-align: center; }
.qb-title { font-size: 1.7rem; font-weight: 800; text-align: center; color: #fff; margin: .2rem 0 .3rem; }
.qb-sub { text-align: center; color: #B6D4D7; margin-bottom: 1.4rem; }
.qb-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8FB7BB; margin: 1rem 0 .55rem; font-weight: 700; }
.qb-subjects { display: flex; flex-wrap: wrap; gap: .55rem; }
.qb-subject {
    border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #EAF6F7;
    padding: .6rem 1.05rem; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .95rem;
    transition: all .15s;
}
.qb-subject:hover { border-color: var(--c-accent); }
.qb-subject.is-active { background: var(--c-accent); color: #2A1B08; border-color: var(--c-accent); }
.qb-counts { display: flex; gap: .55rem; }
.qb-count {
    width: 64px; padding: .55rem 0; border-radius: 12px; cursor: pointer; font-weight: 800;
    border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #EAF6F7;
}
.qb-count.is-active { background: #15616D; border-color: var(--c-accent); }
.qb-setup-meta { margin: 1.2rem 0 .5rem; color: #B6D4D7; font-size: .9rem; }
.qb-start, .qb-again, .qb-done, .qb-next, .qb-prev {
    border: 0; cursor: pointer; font-weight: 700; border-radius: 12px; padding: .85rem 1.4rem; font-size: 1rem;
}
.qb-start, .qb-again {
    width: 100%; margin-top: .8rem; background: linear-gradient(135deg, #E0A458, #C77B30); color: #2A1B08;
    box-shadow: 0 6px 18px rgba(224,164,88,.35);
}
.qb-start:disabled { opacity: .5; cursor: not-allowed; }

/* Yükleniyor */
#qbLoading { text-align: center; padding: 3rem 1rem; }
.qb-spinner {
    width: 54px; height: 54px; margin: 0 auto 1.2rem; border-radius: 50%;
    border: 5px solid rgba(255,255,255,.15); border-top-color: var(--c-accent);
    animation: qbSpin 1s linear infinite;
}
@keyframes qbSpin { to { transform: rotate(360deg); } }
.qb-loading-text { color: #B6D4D7; font-size: 1.05rem; }

/* Soru */
.qb-progress { height: 8px; background: rgba(255,255,255,.14); border-radius: 6px; overflow: hidden; margin-bottom: .8rem; }
.qb-progress-fill { height: 100%; width: 0; background: var(--c-accent); transition: width .3s ease; }
.qb-qmeta { font-size: .82rem; color: #8FB7BB; font-weight: 700; letter-spacing: .04em; margin-bottom: .7rem; }
.qb-qtext { font-size: 1.45rem; font-weight: 700; line-height: 1.5; color: #fff; margin-bottom: 1.4rem; }
.qb-opts { display: flex; flex-direction: column; gap: .7rem; }
.qb-opt {
    display: flex; align-items: center; gap: .9rem; text-align: left; cursor: pointer;
    background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.16);
    border-radius: 14px; padding: .9rem 1.1rem; color: #EAF6F7; font-size: 1.08rem; transition: all .12s;
}
.qb-opt:hover { border-color: var(--c-accent); background: rgba(224,164,88,.12); }
.qb-opt.is-chosen { border-color: var(--c-accent); background: rgba(224,164,88,.2); }
.qb-opt-letter {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: rgba(255,255,255,.12); font-weight: 800; color: #EAF6F7;
}
.qb-opt.is-chosen .qb-opt-letter { background: var(--c-accent); color: #2A1B08; }
.qb-opt-text { flex: 1; }
.qb-nav { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.qb-prev { background: rgba(255,255,255,.08); color: #EAF6F7; }
.qb-prev:disabled { opacity: .35; cursor: not-allowed; }
.qb-next { margin-left: auto; background: #15616D; color: #fff; }
.qb-next.is-finish { background: linear-gradient(135deg, #2BB673, #15616D); }
.qb-dots { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: center; }
.qb-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.18); cursor: pointer; transition: all .15s; }
.qb-dot.answered { background: var(--c-accent); }
.qb-dot.current { box-shadow: 0 0 0 3px rgba(224,164,88,.4); transform: scale(1.2); }

/* Sonuç */
#qbResult { text-align: center; }
.qb-result-ring {
    --p: 0; width: 140px; height: 140px; border-radius: 50%; margin: .5rem auto 1rem;
    background: conic-gradient(var(--c-accent) calc(var(--p)*1%), rgba(255,255,255,.15) 0);
    display: grid; place-items: center;
}
.qb-result-ring.good { background: conic-gradient(#2BB673 calc(var(--p)*1%), rgba(255,255,255,.15) 0); }
.qb-result-ring.low { background: conic-gradient(#E0A458 calc(var(--p)*1%), rgba(255,255,255,.15) 0); }
.qb-result-ring-in { width: 108px; height: 108px; border-radius: 50%; background: #0A363C; display: grid; place-items: center; }
#qbScorePct { font-size: 1.9rem; font-weight: 800; color: #fff; }
.qb-result-ring-in small { color: #B6D4D7; font-size: .85rem; }
.qb-result-msg { font-size: 1.4rem; color: #fff; margin: .2rem 0; }
.qb-result-points { color: var(--c-accent); font-weight: 700; font-size: 1.05rem; }
.qb-levelup { margin-top: .8rem; display: inline-block; background: rgba(43,182,115,.2); border: 1px solid rgba(43,182,115,.5); color: #d5f7e6; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; }
.qb-badges { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.2rem; }
.qb-badge { background: rgba(255,255,255,.08); border: 1px solid rgba(224,164,88,.4); border-radius: 14px; padding: .7rem 1rem; display: flex; align-items: center; gap: .5rem; animation: badgePop .6s ease; }
.qb-badge-ico { font-size: 1.4rem; }
.qb-badge-name { font-weight: 700; font-size: .9rem; }
.qb-actions { display: flex; gap: .8rem; margin-top: 1.6rem; }
.qb-actions .qb-again { margin-top: 0; }
.qb-done { background: rgba(255,255,255,.1); color: #EAF6F7; flex-shrink: 0; }

@media (max-width: 640px) {
    .qb-inner { padding: 1.4rem 1.2rem; }
    .qb-qtext { font-size: 1.2rem; }
    .qb-opt { font-size: 1rem; }
}

/* ==================== Konu Analizi & Yönlendirme ==================== */
.analysis-bars { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
.ana-row { display: grid; grid-template-columns: 130px 1fr 52px 54px; align-items: center; gap: .7rem; }
.ana-subj { font-weight: 600; font-size: .9rem; }
.ana-track { height: 10px; border-radius: 6px; background: var(--c-bg); border: 1px solid var(--c-border); overflow: hidden; }
.ana-fill { height: 100%; border-radius: 6px; transition: width .5s ease; }
.ana-strong { background: var(--c-success); }
.ana-mid { background: var(--c-accent); }
.ana-weak { background: var(--c-danger); }
.ana-pct { font-weight: 800; font-size: .85rem; text-align: right; }
.ana-strong-tx { color: var(--c-success); }
.ana-mid-tx { color: #B07A1E; }
.ana-weak-tx { color: var(--c-danger); }
.ana-meta { font-size: .78rem; text-align: right; }
.analysis-allgood { background: #EAF7F0; border: 1px solid #B6E5CD; border-radius: var(--radius); padding: .8rem 1rem; font-weight: 600; color: #1B8A5A; }
.analysis-weak-head { font-weight: 700; margin: .4rem 0 .8rem; }
.weak-block { border: 1px solid var(--c-border); border-left: 4px solid var(--c-danger); border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: .7rem; }
.weak-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.weak-subject { font-weight: 800; font-size: 1.02rem; }
.teacher-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.teacher-chip { display: flex; align-items: center; gap: .5rem; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 999px; padding: .35rem .8rem .35rem .35rem; }
.teacher-chip-meta { display: flex; flex-direction: column; line-height: 1.15; }
.teacher-chip-meta b { font-size: .88rem; }
.teacher-chip-meta small { font-size: .72rem; color: var(--c-text-muted); }
.analysis-note { margin-top: .9rem; font-size: .85rem; color: var(--c-text-muted); background: #FEF7EC; border-radius: 8px; padding: .6rem .8rem; }
@media (max-width: 560px) {
    .ana-row { grid-template-columns: 92px 1fr 44px; }
    .ana-meta { display: none; }
}

/* ==================== Sınav Oyun Modu (ilkokul/ortaokul) ==================== */
.qb-combo {
    margin-left: auto; font-weight: 800; color: #FFD27D; font-size: .85rem;
    background: rgba(224,164,88,.18); border: 1px solid rgba(224,164,88,.45);
    padding: .15rem .6rem; border-radius: 999px; animation: comboPop .3s ease;
}
@keyframes comboPop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.qb-opt.locked { cursor: default; }
.qb-opt.locked:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.qb-opt.correct { border-color: #2BB673 !important; background: rgba(43,182,115,.22) !important; animation: optPop .35s ease; }
.qb-opt.correct .qb-opt-letter { background: #2BB673 !important; color: #06281b !important; }
.qb-opt.wrong { border-color: #EF4444 !important; background: rgba(239,68,68,.18) !important; animation: optShake .4s ease; }
.qb-opt.wrong .qb-opt-letter { background: #EF4444 !important; color: #fff !important; }
@keyframes optPop { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes optShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qb-feedback { margin-top: 1rem; padding: .85rem 1.1rem; border-radius: 14px; font-weight: 700; font-size: 1.05rem; text-align: center; animation: fbIn .3s ease; }
.qb-feedback.ok { background: rgba(43,182,115,.2); color: #d8f7e7; border: 1px solid rgba(43,182,115,.5); }
.qb-feedback.no { background: rgba(239,68,68,.16); color: #ffd9d9; border: 1px solid rgba(239,68,68,.45); }
@keyframes fbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.qb-confetti {
    position: absolute; top: 8%; width: 10px; height: 14px; border-radius: 2px;
    opacity: .95; pointer-events: none; z-index: 5;
    animation: confettiFall 1.4s ease-in forwards;
}
@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(420px) rotate(540deg); opacity: 0; }
}

/* Veli erişim kodu kartı */
.veli-code-card { background: linear-gradient(135deg, #F1FBF6, #fff); border-color: #B6E5CD; }
.veli-code-main { display: flex; align-items: center; gap: .9rem; }
.veli-code-ico { font-size: 1.8rem; }
.veli-code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 800; font-size: 1.1rem;
    background: var(--c-primary); color: #fff; padding: .45rem .9rem; border-radius: 10px; letter-spacing: 1px; }

/* ==================== Erişilebilirlik ==================== */
.a11y { position: fixed; right: 14px; bottom: 14px; z-index: 200; }
.a11y-toggle { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--c-primary); color: #fff; font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow-lg); }
.a11y-toggle:hover { filter: brightness(1.08); }
.a11y-menu { position: absolute; right: 0; bottom: 58px; background: #fff; border: 1px solid var(--c-border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem; min-width: 210px; display: flex; flex-direction: column; gap: .25rem; }
.a11y-menu[hidden] { display: none; }

/* hidden özniteliği her zaman kazanır (display kuralı olan .btn vb. sınıfları da ezer) */
[hidden] { display: none !important; }
.a11y-title { font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-muted); padding: .35rem .6rem; }
.a11y-menu button { text-align: left; border: 0; background: transparent; padding: .55rem .65rem; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--c-text); }
.a11y-menu button:hover { background: var(--c-bg); }

body.a11y-big { font-size: 18px; }
body.a11y-big .lead, body.a11y-big p, body.a11y-big .nav-link, body.a11y-big .btn, body.a11y-big td, body.a11y-big th, body.a11y-big label { font-size: 1.06em; }
body.a11y-big h1 { font-size: 2.1rem; }
body.a11y-big .quiz-q-text, body.a11y-big .qb-qtext { font-size: 1.55rem; }
body.a11y-big .qb-opt, body.a11y-big .quiz-opt { font-size: 1.18rem; }

body.a11y-contrast { --c-text: #000; --c-text-muted: #2b2b2b; --c-border: #7a7a7a; --c-border-strong: #4a4a4a; --c-bg: #ffffff; }
body.a11y-contrast .muted, body.a11y-contrast .subtitle { color: #2b2b2b !important; }
body.a11y-contrast .card, body.a11y-contrast .quiz-q { border-width: 2px; }

body.a11y-dys, body.a11y-dys * { font-family: 'Comic Sans MS', 'Trebuchet MS', Verdana, sans-serif !important; letter-spacing: .03em; word-spacing: .08em; }
body.a11y-dys p, body.a11y-dys li, body.a11y-dys .quiz-q-text, body.a11y-dys .qb-qtext, body.a11y-dys .lead { line-height: 1.85 !important; }

@media print { .a11y { display: none; } }
.qb-read { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #EAF6F7; border-radius: 999px; padding: .15rem .65rem; font-size: .78rem; font-weight: 700; cursor: pointer; margin-left: .5rem; }
.qb-read:hover { background: rgba(255,255,255,.22); }

/* ==================== Responsive cila — yeni modüller ==================== */
@media (max-width: 600px) {
    /* Gelişim & analiz */
    .gp-points { font-size: 1.35rem; }
    .gp-level-card { padding: 1rem; gap: .8rem; }
    .level-ring { width: 76px; height: 76px; }
    .level-ring-in { width: 58px; height: 58px; }
    .lvl-num { font-size: 1.35rem; }
    .week-chart { height: 150px; gap: .3rem; }
    .badges-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .6rem; }
    .badge-ico { font-size: 1.7rem; }
    .teacher-chips { gap: .4rem; }

    /* Veli erişim kodu */
    .veli-code-main { flex-wrap: wrap; }
    .veli-code { font-size: .95rem; }

    /* Takip tablosu: küçült, yatay kaydırma korunur */
    .table { font-size: .86rem; }
    .table th, .table td { padding-left: .5rem; padding-right: .5rem; }

    /* Sınav sonucu (panel) */
    .review-opt { flex-wrap: wrap; }
    .review-tag { margin-left: 0; margin-top: .25rem; }

    /* Akıllı tahta sınavı / oyun modu */
    .qb-nav { flex-wrap: wrap; gap: .6rem; }
    .qb-dots { order: 3; width: 100%; }
    .qb-result-ring { width: 112px; height: 112px; }
    .qb-result-ring-in { width: 86px; height: 86px; }
    .qb-actions { flex-direction: column; }
    .qb-actions .qb-done, .qb-actions .qb-again { width: 100%; }
    .qb-qmeta { flex-wrap: wrap; gap: .35rem; }
}

@media (max-width: 400px) {
    .gp-stat { padding: .7rem; gap: .6rem; }
    .gp-stat-ico { width: 38px; height: 38px; font-size: 1.1rem; }
    .gp-stat-num { font-size: 1.1rem; }
    .qb-subject { padding: .5rem .8rem; font-size: .88rem; }
    .a11y-toggle { width: 42px; height: 42px; font-size: 1.2rem; }
    .hero-duo-card { padding: 1.1rem; }
}

/* =====================================================================
   3 ANA MODUL — Genc Ben Kimim / Genclik Merkezleri / Bakanlik
   ===================================================================== */

/* --- Modul sohbeti --- */
.module-chat { display: flex; flex-direction: column; }
.mchat-body {
  height: 380px; overflow-y: auto; background: #F8FAFC;
  border: 1px solid var(--c-border); border-radius: 12px;
  padding: .9rem; display: flex; flex-direction: column; gap: .6rem;
}
.mchat-msg { display: flex; max-width: 85%; }
.mchat-msg.me { margin-left: auto; justify-content: flex-end; }
.mchat-bubble {
  padding: .6rem .9rem; border-radius: 14px; font-size: .93rem; line-height: 1.5;
  background: #fff; border: 1px solid var(--c-border); border-bottom-left-radius: 4px;
}
.mchat-msg.me .mchat-bubble {
  background: var(--c-primary); color: #fff; border: none;
  border-bottom-left-radius: 14px; border-bottom-right-radius: 4px;
}
.mchat-bubble p { margin: 0 0 .45rem; }
.mchat-bubble p:last-child { margin-bottom: 0; }
.mchat-bubble ul { margin: .25rem 0 .5rem; padding-left: 1.15rem; }
.mchat-bubble li { margin-bottom: .2rem; }
.mchat-h { font-weight: 800; margin: .5rem 0 .25rem; color: var(--c-primary-dark, #0C424A); }
.mchat-suggestions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.mchat-chip {
  border: 1px solid var(--c-border); background: #fff; border-radius: 999px;
  padding: .35rem .75rem; font-size: .82rem; cursor: pointer; color: #334155;
  transition: all .15s;
}
.mchat-chip:hover { border-color: var(--c-primary); color: var(--c-primary); background: #F0F9FA; }
.mchat-form { display: flex; gap: .5rem; margin-top: .7rem; }
.mchat-form .input { flex: 1; }
.mchat-note { font-size: .74rem; margin-top: .45rem; }

/* Pilot ölçümü: cevap geri bildirimi + eylem niyeti + mini anket */
.mchat-fb { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.mchat-fb-btn {
  border: 1px solid var(--c-border); background: #fff; border-radius: 999px;
  padding: .22rem .6rem; font-size: .74rem; cursor: pointer; color: #475569;
  transition: all .15s;
}
.mchat-fb-btn:hover:not(:disabled) { border-color: var(--c-primary); color: var(--c-primary); }
.mchat-fb-btn.is-intent { border-color: #FBBF24; background: #FFFBEB; }
.mchat-fb-btn.is-intent:hover:not(:disabled) { border-color: #D97706; color: #92400E; }
.mchat-fb-btn:disabled { opacity: .55; cursor: default; }
.mchat-fb-done { font-size: .76rem; color: #15616D; font-weight: 600; }
.mchat-survey-stars { display: flex; gap: .25rem; margin-top: .45rem; }
.mchat-star {
  border: 1px solid var(--c-border); background: #fff; border-radius: 8px;
  font-size: 1.05rem; padding: .25rem .45rem; cursor: pointer; transition: transform .12s;
}
.mchat-star:hover { transform: scale(1.15); border-color: #F59E0B; }

.mufredat-sources-list {
    margin: 0; padding-left: 1.15rem; font-size: .88rem; line-height: 1.45; color: #334155;
}
.mufredat-sources-list li { margin: .25rem 0; }
.mufredat-filters .field { margin-bottom: 0; }

/* --- Bilgi bankasi --- */
.kb-hero {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
  background: linear-gradient(135deg, #15616D, #0C424A); border-radius: 16px;
  padding: 1.1rem 1.25rem;
}
.kb-hero-alt { background: linear-gradient(135deg, #7A2E2E, #4A1A1A); }
.kb-hero-stat { text-align: center; color: #fff; }
.kb-hero-stat b { display: block; font-size: 1.5rem; }
.kb-hero-stat span { font-size: .8rem; opacity: .85; }
.kb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .6rem; }
.kb-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
  overflow: hidden; transition: border-color .15s;
}
.kb-card:hover { border-color: var(--c-primary); }
.kb-card[open] { grid-column: 1 / -1; }
.kb-card-head {
  display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem;
  cursor: pointer; list-style: none; font-weight: 700;
}
.kb-card-head::-webkit-details-marker { display: none; }
.kb-card-ico { font-size: 1.3rem; }
.kb-card-title { flex: 1; }
.kb-chevron { color: var(--c-text-muted); transition: transform .2s; }
.kb-card[open] .kb-chevron { transform: rotate(180deg); }
.kb-card-body { padding: 0 1rem 1rem; font-size: .93rem; line-height: 1.6; color: #334155; }
.kb-card-body ul { padding-left: 1.2rem; }
.kb-card-body li { margin-bottom: .3rem; }
.kb-source { font-size: .8rem; margin-top: 1rem; text-align: center; }
.kb-source a { color: var(--c-primary); }

/* --- Kesif taramasi (sihirbaz) --- */
.discovery-intro h2 { margin-bottom: .4rem; }
.disc-progress { height: 8px; background: #E2E8F0; border-radius: 999px; overflow: hidden; margin-bottom: .3rem; }
.disc-progress-bar { height: 100%; background: linear-gradient(90deg, #15616D, #2BB673); border-radius: 999px; transition: width .3s; }
.disc-progress-label { font-size: .8rem; margin-bottom: .8rem; }
.disc-step {
  border: 1px solid var(--c-border); border-radius: 16px; background: #fff;
  padding: 1.1rem 1.25rem; margin: 0 0 1rem;
}
.disc-step-head {
  display: flex; gap: .8rem; align-items: center; padding-bottom: .8rem;
  border-bottom: 2px solid var(--area-color, #15616D); margin-bottom: 1rem;
}
.disc-step-head h3 { margin: 0; }
.disc-step-ico { font-size: 2rem; }
.disc-q { margin-bottom: 1.1rem; }
.disc-q-text { font-weight: 600; margin-bottom: .5rem; }
.disc-likert { display: flex; flex-wrap: wrap; gap: .4rem; }
.disc-opt { position: relative; }
.disc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.disc-opt span {
  display: inline-block; padding: .4rem .8rem; border-radius: 999px;
  border: 1px solid var(--c-border); font-size: .84rem; cursor: pointer;
  background: #fff; color: #475569; transition: all .15s; user-select: none;
}
.disc-opt input:checked + span {
  background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700;
}
.disc-opt span:hover { border-color: var(--c-primary); }
.disc-nav { display: flex; gap: .6rem; align-items: center; }
.disc-finish {
  display: flex; gap: .8rem; align-items: flex-start;
  background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
  border: 1px solid #86EFAC; border-radius: 12px;
  padding: .85rem 1rem; margin-top: .5rem;
}
.disc-finish-ico { font-size: 1.8rem; }
.disc-shake { animation: discShake .4s; }
@keyframes discShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* --- Kesif sonucu --- */
.disc-scores { display: flex; flex-direction: column; gap: .7rem; }
.disc-score-row { display: flex; gap: .6rem; align-items: center; }
.disc-score-ico { font-size: 1.35rem; width: 1.8rem; text-align: center; }
.disc-score-main { flex: 1; }
.disc-score-top { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .25rem; }
.disc-score-val { font-weight: 800; font-size: .84rem; }
.disc-score-bar { height: 9px; background: #EDF2F7; border-radius: 999px; overflow: hidden; }
.disc-score-bar div { height: 100%; border-radius: 999px; transition: width .6s; }
/* Metodoloji kutusu — "bu bir test değildir" şeffaflık bloğu */
.disc-method {
  border: 1px dashed #C9D4DE; border-radius: 10px;
  padding: .55rem .8rem; margin-top: .6rem; background: #F8FAFC;
}
.disc-method summary { cursor: pointer; font-size: .88rem; }
.disc-method summary::marker { color: #15616D; }
.disc-method-body { padding-top: .5rem; font-size: .86rem; }
.disc-method-body p { margin: 0 0 .4rem; }
.disc-rec {
  border: 1px solid var(--c-border); border-left: 4px solid var(--area-color, #15616D);
  border-radius: 10px; padding: .7rem .9rem; margin-bottom: .7rem; background: #fff;
}
.disc-rec-head { display: flex; align-items: center; gap: .45rem; margin-bottom: .35rem; }
.disc-rec-score { margin-left: auto; font-weight: 800; color: var(--area-color, #15616D); font-size: .88rem; }
.disc-rec ul { margin: 0; padding-left: 1.2rem; font-size: .89rem; color: #475569; }
.disc-rec li { margin-bottom: .18rem; }
.disc-growth-block {
  margin: 1rem 0 .35rem; padding-top: .85rem;
  border-top: 1px dashed #D1D9E0;
}
.disc-growth-title {
  margin: 0 0 .35rem; font-size: 1.02rem; color: #0F3D35;
}
.disc-growth-lead { margin: 0 0 .75rem; font-size: .88rem; line-height: 1.5; }
.disc-rec.is-growth {
  background: #F8FAFC;
  border-style: dashed;
}
.disc-rec-badge {
  font-size: .72rem; font-weight: 700; letter-spacing: .01em;
  color: #475569; background: #EEF2F6; border: 1px solid #E2E8F0;
  border-radius: 999px; padding: .12rem .5rem;
}
.disc-rec-nudge {
  margin: 0 0 .4rem; font-size: .86rem; color: #334155; line-height: 1.45;
}
.disc-growth-mini { margin: 0 0 .2rem; padding-left: 1.15rem; font-size: .88rem; color: #334155; }
.disc-growth-mini li { margin-bottom: .25rem; }
.disc-age-badge {
  display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  padding: .35rem .65rem; margin-bottom: .55rem;
  background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 999px; font-size: .88rem;
}
.disc-age-tips { margin: 0 0 .75rem; }
.disc-age-tip {
  margin: 0 0 .45rem; padding: .55rem .7rem; font-size: .86rem; color: #475569;
  background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; line-height: 1.45;
}
.disc-age-tip span { margin-right: .25rem; }
.disc-report { background: linear-gradient(180deg, #FDFBFF, #fff); }
.disc-report-body { line-height: 1.65; }
.disc-report-body h3 { color: #15616D; margin: 1rem 0 .4rem; }
.disc-report-body h4 { color: #7C3AED; margin: .8rem 0 .3rem; }

/* --- Panel: 3 modul kartlari --- */
.module-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.module-card {
  border-radius: 18px; padding: 1.4rem 1.3rem; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; min-height: 200px; position: relative; overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.module-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15, 23, 42, .18); }
.module-card .mc-num {
  position: absolute; right: .9rem; top: .5rem; font-size: 3.6rem; font-weight: 900; opacity: .14;
}
.module-card h2 { color: #fff; margin: 0 0 .45rem; font-size: 1.2rem; }
.module-card p { color: rgba(255, 255, 255, .88); font-size: .9rem; flex: 1; margin: 0 0 .9rem; }
.module-card .mc-cta {
  align-self: flex-start; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
  color: #fff; border-radius: 999px; padding: .4rem .95rem; font-size: .85rem; font-weight: 700;
}
.mc-1 { background: linear-gradient(135deg, #7C3AED, #4C1D95); }
.mc-2 { background: linear-gradient(135deg, #15616D, #0C424A); }
.mc-3 { background: linear-gradient(135deg, #B4532A, #7A2E2E); }

@media (max-width: 980px) {
  .module-trio { grid-template-columns: 1fr; }
  .kb-grid { grid-template-columns: 1fr; }
  .kb-hero { grid-template-columns: repeat(2, 1fr); }
  .disc-likert { flex-direction: column; }
}
