/* Vernalingua · Dil Baharı — çocuk modu teması (MARKA.md §7: krem zemin, Filiz yeşili, Bahar pembesi; Semsera siyah/cyan→lime
   kimliği çocuk yüzeyinde KULLANILMAZ). html.kids sınıfıyla brand.css/player.css tokenları ezilir; ayrıca çocuk kabuğu (kb-*),
   çocuk kartları (kc-*) ve oyun şablonlarının (kg-*) stilleri. Yazı tipi dış bağlantısız: yuvarlak hatlı sistem/yerel yazı tipleri. */
html.kids {
  color-scheme: light;
  --black: #FFF8EE; --ink: #FFFFFF; --panel: #FFFDF8; --panel-2: #FFF1DC;
  --fg: #2B2B2B;
  --fg-80: rgba(43,43,43,.82); --fg-60: rgba(43,43,43,.64); --fg-45: rgba(43,43,43,.5); --fg-30: rgba(43,43,43,.34);
  --line: rgba(31,110,67,.14); --line-15: rgba(31,110,67,.22); --line-30: rgba(31,110,67,.38);
  --fill-3: rgba(91,191,106,.06); --fill-4: rgba(91,191,106,.08); --fill-6: rgba(91,191,106,.12); --fill-10: rgba(91,191,106,.18);
  --accent: #5FB3E6; --accent-5: #3F97CC; --lift: #5BBF6A; --lift-5: #1F6E43;
  --grad: linear-gradient(90deg, #5BBF6A, #8FD98A);
  --danger: #D9534F; --ok: #1F6E43;
  --k-green: #5BBF6A; --k-green-dark: #1F6E43; --k-pink: #F28BB5; --k-sky: #5FB3E6; --k-sun: #FFD460; --k-earth: #8B5E3C; --k-cream: #FFF8EE; --k-ink: #2B2B2B;
  --font: 'Nunito', 'Baloo 2', 'Fredoka', 'Segoe UI Rounded', 'Arial Rounded MT Bold', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --header-h: 68px;
}
html.kids body { background: var(--black) radial-gradient(70% 40% at 50% -10%, rgba(242,139,181,.16), transparent 70%); color: var(--fg); }
html.kids :focus-visible { outline: 3px solid var(--k-sky); outline-offset: 3px; }
html.kids a { color: var(--k-green-dark); }
html.kids .sl-grad { background: none; color: var(--k-green-dark); }
/* Düğmeler: ≥ 48 px dokunma hedefi, yuvarlak, net kontrast (KAVRAM §8.4) */
html.kids .sl-btn { min-height: 48px; padding: 12px 24px; font-size: 16px; border-radius: 999px; }
html.kids .sl-btn-primary { background: var(--k-green-dark); color: #fff; box-shadow: 0 4px 0 rgba(31,110,67,.35); }
html.kids .sl-btn-primary:hover { opacity: 1; background: #25824f; }
html.kids .sl-btn-primary:active { box-shadow: none; transform: translateY(2px); }
html.kids .sl-btn-ghost { background: #fff; color: var(--k-green-dark); border-color: var(--line-30); }
html.kids .sl-btn-ghost:hover { background: var(--panel-2); }
html.kids .sl-btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
html.kids .sl-avatar { background: var(--k-pink); color: #fff; }
html.kids .sl-input { background: #fff; border-color: var(--line-30); }
html.kids .sl-input:focus { border-color: var(--k-sky); background: #fff; }
html.kids .sl-check input { accent-color: var(--k-green-dark); }
html.kids .sl-form-kicker { color: var(--k-pink); }
/* Yetişkin kabuğu çocuk modunda kapalı: header, hamburger menü, kayıt penceresi, ortak footer */
html.kids #sl-header, html.kids #sl-menu, html.kids #sl-register-dialog, html.kids footer.foot { display: none !important; }
@media (prefers-reduced-motion: reduce) { html.kids *, html.kids *::before, html.kids *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ── Çocuk kabuğu: üst bar + logotip (iki ad birlikte; sıra arayüz diline göre) ── */
.kb-top { position: sticky; top: 0; z-index: 40; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; background: rgba(255,248,238,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.kb-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--k-ink); min-width: 0; }
.kb-mark { width: 40px; height: 40px; flex: none; }
.kb-names { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.kb-big { font-size: 20px; font-weight: 900; letter-spacing: -.01em; color: var(--k-green-dark); white-space: nowrap; }
.kb-small { font-size: 11.5px; font-weight: 700; color: var(--fg-60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-top-right { display: flex; align-items: center; gap: 8px; }
.kb-parent-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-30); background: #fff; color: var(--k-green-dark); font-weight: 800; font-size: 14px; cursor: pointer; font-family: inherit; }
.kb-parent-btn:hover { background: var(--panel-2); }
.kb-parent-panel { position: fixed; top: calc(var(--header-h) + 8px); right: 12px; z-index: 50; width: min(360px, calc(100vw - 24px)); background: #fff; border: 1px solid var(--line-15); border-radius: 20px; box-shadow: 0 16px 40px rgba(31,110,67,.16); padding: 16px; }
.kb-parent-panel[hidden] { display: none; }
.kb-parent-panel h3 { font-size: 15px; font-weight: 900; margin-bottom: 4px; }
.kb-parent-panel p { font-size: 13px; color: var(--fg-60); line-height: 1.5; }
.kb-parent-panel .sl-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.kb-gate-q { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.kb-gate-q input { width: 84px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line-30); padding: 8px 12px; font-size: 18px; font-family: inherit; text-align: center; }
.kb-coline { font-size: 12px; font-weight: 700; color: var(--fg-60); text-align: center; padding: 10px 16px; }

/* ── Çocuk ana sayfası (raf) ── */
.kb-main { max-width: 980px; margin: 0 auto; padding: 24px 16px 56px; }
.kb-hero { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; align-items: center; padding: 20px 0 10px; }
.kb-hero h1 { font-size: clamp(30px, 5.5vw, 46px); font-weight: 900; letter-spacing: -.02em; line-height: 1.08; color: var(--k-green-dark); }
.kb-hero p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--fg-80); max-width: 560px; }
.kb-hero-art { justify-self: center; width: 180px; height: 180px; }
.kb-hero-art svg { width: 100%; height: 100%; }
@media (max-width: 640px) { .kb-hero { grid-template-columns: 1fr; text-align: center; } .kb-hero p { margin-inline: auto; } .kb-hero-art { width: 140px; height: 140px; order: -1; } }
.kb-section-title { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--k-pink); margin: 26px 0 12px; }
.kb-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.kb-course { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 2px solid var(--line-15); border-radius: 26px; padding: 22px; text-decoration: none; color: inherit; transition: transform .15s, border-color .15s, box-shadow .15s; }
a.kb-course:hover { transform: translateY(-2px); border-color: var(--k-green); box-shadow: 0 12px 32px rgba(31,110,67,.12); }
.kb-course-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kb-course-flag { font-size: 40px; line-height: 1; }
.kb-course-for { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--k-pink); background: rgba(242,139,181,.14); padding: 6px 10px; border-radius: 999px; }
.kb-course h3 { font-size: 24px; font-weight: 900; letter-spacing: -.01em; color: var(--k-green-dark); }
.kb-course p { font-size: 15px; line-height: 1.55; color: var(--fg-80); }
.kb-course-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 800; color: var(--fg-60); }
.kb-course-go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--k-green-dark); color: #fff; font-weight: 900; }
.kb-course.is-soon { border-style: dashed; }
.kb-course.is-soon .kb-course-go { background: var(--panel-2); color: var(--fg-60); }
.kb-leaf-row { display: inline-flex; gap: 2px; font-size: 16px; }
.kb-parents { margin-top: 30px; background: #fff; border: 1px solid var(--line-15); border-radius: 22px; padding: 20px 22px; display: grid; gap: 8px; }
.kb-parents h2 { font-size: 18px; font-weight: 900; color: var(--k-earth); }
.kb-parents p { font-size: 14.5px; line-height: 1.6; color: var(--fg-80); }
.kb-parents ul { margin: 4px 0 0 18px; font-size: 14px; line-height: 1.7; color: var(--fg-80); }
.kb-credit { margin-top: 26px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--fg-60); }
.kb-foot { border-top: 1px solid var(--line); padding: 18px 16px 28px; text-align: center; font-size: 12.5px; color: var(--fg-60); line-height: 1.6; }

/* ── Kurs sayfası: kapı, bölüm listesi, oynatıcı (player.css üstüne) ── */
html.kids .gate-glow { background: radial-gradient(60% 45% at 50% 0%, rgba(242,139,181,.2), transparent 70%); }
html.kids .gate-kicker { color: var(--k-pink); }
html.kids .gate-intro h1 { color: var(--k-green-dark); }
html.kids .gate-card { background: #fff; box-shadow: 0 16px 48px rgba(31,110,67,.12); border-color: var(--line-15); }
html.kids .gate-lessons li { background: #fff; }
html.kids .gate-lessons li b { background: var(--k-green); color: #fff; }
html.kids .menu-kicker { color: var(--k-pink); }
html.kids .menu-main h2 { color: var(--k-green-dark); }
html.kids .menu-progress-fill { background: var(--k-green); }
html.kids .lesson-item { background: #fff; border: 2px solid var(--line-15); border-radius: 22px; padding: 16px 18px; min-height: 76px; }
html.kids .lesson-item:hover { border-color: var(--k-green); background: #fff; }
html.kids .lesson-num { background: var(--k-sun); border-color: transparent; color: var(--k-ink); width: 48px; height: 48px; font-size: 18px; }
html.kids .lesson-item.done .lesson-num { background: var(--k-green); color: #fff; }
html.kids .lesson-item.started .lesson-num { border: 3px solid var(--k-sky); color: var(--k-ink); }
html.kids .lesson-info .t { font-size: 17px; color: var(--k-ink); }
html.kids .lesson-state { color: var(--k-green-dark); }
html.kids .lesson-group { color: var(--k-earth); }
.lesson-leaves { display: block; margin-top: 4px; font-size: 14px; letter-spacing: 1px; }
html.kids .lesson-item.is-draft .lesson-state { color: var(--k-earth); }
.kb-empty { text-align: center; padding: 36px 20px; background: #fff; border: 2px dashed var(--line-30); border-radius: 24px; font-size: 16px; line-height: 1.6; color: var(--fg-80); }
.kb-empty b { display: block; font-size: 20px; color: var(--k-green-dark); margin-bottom: 6px; }
html.kids .player-bar { background: rgba(255,248,238,.94); border-bottom-color: var(--line); top: var(--header-h); }
html.kids .player-title { color: var(--k-green-dark); font-size: 15px; }
html.kids .progress-fill { background: var(--k-green); }
html.kids .card { background: #fff; border: 2px solid var(--line-15); border-radius: 30px; box-shadow: 0 12px 40px rgba(31,110,67,.12); padding: 30px 26px; }
html.kids .card .kicker { color: var(--k-green-dark); border-color: rgba(31,110,67,.25); background: rgba(91,191,106,.1); font-size: 11px; }
html.kids .card.k-intro .kicker, html.kids .card.k-recap .kicker { color: var(--k-pink); border-color: rgba(242,139,181,.4); background: rgba(242,139,181,.12); }
html.kids .card.k-anim .kicker, html.kids .card.k-song .kicker { color: var(--accent-5); border-color: rgba(95,179,230,.45); background: rgba(95,179,230,.12); }
html.kids .card.k-corner .kicker { color: var(--k-earth); border-color: rgba(139,94,60,.35); background: rgba(139,94,60,.1); }
html.kids .card.k-badge .kicker { color: #9a6b00; border-color: rgba(255,212,96,.7); background: rgba(255,212,96,.25); }
html.kids .card h3 { font-size: 24px; color: var(--k-green-dark); }
html.kids .card .body { font-size: 17px; }
html.kids .card .note { border-left-color: var(--k-pink); background: rgba(242,139,181,.08); font-size: 13px; color: var(--fg-60); }
html.kids .player-nav { background: rgba(255,248,238,.92); border-top: 1px solid var(--line); }
@media (max-width: 640px) { html.kids .card { padding: 22px 16px; border-radius: 24px; } }

/* ── Ortak çocuk kartı parçaları ── */
.kc-instr { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 16px; line-height: 1.5; color: var(--fg-80); background: var(--panel-2); border-radius: 16px; padding: 10px 14px; }
.kc-say { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--k-sky); background: #fff; color: var(--accent-5); font-size: 20px; cursor: pointer; font-family: inherit; flex: none; }
.kc-say.is-big { min-width: 72px; min-height: 72px; font-size: 32px; }
.kc-say:hover { background: rgba(95,179,230,.12); }
.kc-say.is-playing { background: var(--k-sky); color: #fff; }
.kc-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.kc-feedback { margin-top: 16px; min-height: 28px; font-size: 17px; font-weight: 800; color: var(--k-green-dark); }
.kc-feedback.is-hint { color: var(--k-earth); }
.kc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.kc-celebrate { text-align: center; padding: 10px 0; }
.kc-celebrate .big { font-size: 56px; line-height: 1; animation: kc-pop .5s ease; }
.kc-celebrate h3 { margin-top: 10px; }
.kc-stars { font-size: 28px; letter-spacing: 4px; margin-top: 6px; }
@keyframes kc-pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.15); } to { transform: none; opacity: 1; } }
.kc-leaves { display: inline-flex; gap: 3px; font-size: 22px; }
.kc-leaves .leaf { display: inline-block; animation: kc-leaf .6s ease both; }
.kc-leaves .leaf:nth-child(2) { animation-delay: .15s; } .kc-leaves .leaf:nth-child(3) { animation-delay: .3s; } .kc-leaves .leaf:nth-child(4) { animation-delay: .45s; } .kc-leaves .leaf:nth-child(5) { animation-delay: .6s; }
@keyframes kc-leaf { from { transform: scale(0) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
.kc-shake { animation: kc-shake .4s ease; }
@keyframes kc-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.kc-draft { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--k-earth); background: rgba(139,94,60,.12); padding: 3px 8px; border-radius: 999px; }

/* ── anim: storyboard oynatıcı ── */
.ka-stage { position: relative; border-radius: 22px; background: linear-gradient(180deg, #E8F6FF 0%, #FFF8EE 100%); border: 1px solid var(--line-15); min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px 18px; overflow: hidden; }
.ka-stage video { width: 100%; max-height: 360px; border-radius: 16px; background: #000; }
.ka-stage img { max-width: 100%; max-height: 240px; border-radius: 16px; }
.ka-emoji { font-size: 84px; line-height: 1; transition: transform .3s; }
.ka-speaker { margin-top: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--k-pink); }
.ka-caption { margin-top: 6px; font-size: clamp(19px, 3.4vw, 24px); font-weight: 800; line-height: 1.35; color: var(--k-ink); max-width: 560px; }
.ka-caption .w { transition: color .15s, background .15s; border-radius: 6px; padding: 0 2px; }
.ka-caption .w.on { color: #fff; background: var(--k-green-dark); }
.ka-controls { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.ka-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.ka-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--fill-10); }
.ka-dots i.on { background: var(--k-green-dark); }
.ka-dots i.seen { background: var(--k-green); }
.ka-words { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.ka-words span { font-size: 13px; font-weight: 800; color: var(--k-green-dark); background: rgba(91,191,106,.14); border-radius: 999px; padding: 4px 10px; }

/* ── song: karaoke ── */
.ks-lines { display: grid; gap: 6px; margin-top: 6px; }
.ks-line { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 14px; border-radius: 14px; border: 2px solid transparent; background: var(--panel-2); font: inherit; font-size: 17px; font-weight: 700; color: var(--fg-80); cursor: pointer; }
.ks-line .g { flex: none; width: 34px; text-align: center; font-size: 22px; }
.ks-line.on { background: #fff; border-color: var(--k-green); color: var(--k-ink); transform: scale(1.01); }
.ks-line.sung { color: var(--fg-45); }
.ks-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.ks-repeat { font-size: 13px; font-weight: 800; color: var(--fg-60); }

/* ── game: listen-pick ── */
.kg-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 14px; }
.kg-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 110px; padding: 14px 10px; border-radius: 22px; border: 3px solid var(--line-15); background: #fff; font: inherit; font-size: 17px; font-weight: 900; color: var(--k-ink); cursor: pointer; transition: transform .12s, border-color .15s, background .15s; position: relative; }
.kg-choice:hover { transform: translateY(-2px); border-color: var(--k-sky); }
.kg-choice .ico { font-size: 44px; line-height: 1; }
.kg-choice .key { position: absolute; top: 8px; left: 10px; font-size: 11px; font-weight: 800; color: var(--fg-45); }
.kg-choice.is-correct { border-color: var(--k-green); background: rgba(91,191,106,.16); }
.kg-choice.is-wrong { border-color: var(--k-pink); background: rgba(242,139,181,.12); }
.kg-choice.is-reveal { border-color: var(--k-sun); background: rgba(255,212,96,.3); animation: kg-glow 1s ease infinite alternate; }
@keyframes kg-glow { from { box-shadow: 0 0 0 0 rgba(255,212,96,.6); } to { box-shadow: 0 0 0 10px rgba(255,212,96,0); } }
.kg-choice:disabled { cursor: default; opacity: .9; }
.kg-rounds { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.kg-rounds i { width: 12px; height: 12px; border-radius: 50%; background: var(--fill-10); }
.kg-rounds i.ok { background: var(--k-green); } .kg-rounds i.no { background: var(--k-pink); } .kg-rounds i.cur { outline: 3px solid var(--k-sky); outline-offset: 2px; }

/* ── game: match ── */
.kg-match { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 14px; }
.kg-col { display: grid; gap: 10px; align-content: start; }
.kg-card { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px; border-radius: 18px; border: 3px solid var(--line-15); background: #fff; font: inherit; font-size: 16px; font-weight: 800; color: var(--k-ink); text-align: left; cursor: pointer; transition: border-color .15s, background .15s, opacity .3s; }
.kg-card .t { flex: 1; min-width: 0; }
.kg-card .kc-say { min-width: 40px; min-height: 40px; font-size: 16px; }
.kg-card.is-sel { border-color: var(--k-sky); background: rgba(95,179,230,.12); }
.kg-card.is-done { border-color: var(--k-green); background: rgba(91,191,106,.14); color: var(--k-green-dark); cursor: default; }
.kg-card.is-done::after { content: "🌱"; font-size: 18px; }
@media (max-width: 480px) { .kg-card { font-size: 15px; padding: 8px 10px; } }

/* ── game: drag-drop ── */
.kg-dd { margin-top: 10px; }
.kg-part-title { font-size: 15px; font-weight: 800; color: var(--k-earth); margin: 10px 0 8px; }
.kg-word { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 10px 0 16px; }
.kg-letter { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 60px; padding: 0 10px; border-radius: 14px; background: var(--panel-2); font-size: 30px; font-weight: 900; color: var(--k-ink); }
.kg-gap { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 60px; border-radius: 14px; border: 3px dashed var(--k-sky); background: #fff; font-size: 30px; font-weight: 900; color: var(--k-ink); cursor: pointer; font-family: inherit; }
.kg-gap.is-over, .kg-gap.is-target { border-style: solid; background: rgba(95,179,230,.14); }
.kg-gap.is-ok { border-color: var(--k-green); background: rgba(91,191,106,.16); border-style: solid; }
.kg-gap.is-no { border-color: var(--k-pink); }
.kg-space-gap { min-width: 22px; width: 22px; padding: 0; height: 60px; border: 3px dashed var(--k-sky); border-radius: 10px; }
.kg-space-gap.is-ok { min-width: 34px; width: 34px; }
.kg-tiles { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.kg-tile { display: inline-flex; align-items: center; justify-content: center; min-width: 60px; min-height: 60px; padding: 0 14px; border-radius: 999px 999px 999px 10px; background: var(--k-green); color: #fff; font-size: 26px; font-weight: 900; cursor: grab; border: 3px solid transparent; font-family: inherit; touch-action: none; user-select: none; }
.kg-tile.is-sel { border-color: var(--k-sun); transform: scale(1.06); }
.kg-tile.is-used { opacity: .25; pointer-events: none; }
.kg-tile.is-space { font-size: 16px; letter-spacing: .04em; }
.kg-targets { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 12px 0; }
.kg-target { min-height: 96px; border-radius: 20px; border: 3px dashed var(--line-30); background: #fff; padding: 10px; display: flex; flex-direction: column; gap: 6px; align-items: center; cursor: pointer; font-family: inherit; }
.kg-target.is-over, .kg-target.is-target { border-color: var(--k-sky); border-style: solid; background: rgba(95,179,230,.1); }
.kg-target .lbl { font-size: 14px; font-weight: 800; color: var(--k-earth); }
.kg-target .items { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.kg-target .items span { background: var(--k-green); color: #fff; border-radius: 999px; padding: 4px 12px; font-weight: 800; }
.kg-hint { font-size: 13px; color: var(--fg-60); margin-top: 8px; }
@media (max-width: 480px) {
  .kg-word { gap: 4px; }
  .kg-letter { min-width: 38px; height: 50px; padding: 0 6px; font-size: 24px; border-radius: 11px; }
  .kg-gap { min-width: 46px; height: 50px; font-size: 24px; }
  .kg-space-gap { min-width: 16px; width: 16px; height: 50px; }
  .kg-space-gap.is-ok { min-width: 26px; width: 26px; }
  .kg-tile { min-width: 52px; min-height: 52px; font-size: 22px; }
}

/* ── speak ── */
.kv-model { display: flex; align-items: center; gap: 12px; background: var(--panel-2); border-radius: 18px; padding: 14px 16px; margin-top: 8px; }
.kv-model .t { flex: 1; font-size: 20px; font-weight: 800; color: var(--k-ink); }
.kv-prompt { margin-top: 14px; font-size: clamp(22px, 4vw, 28px); font-weight: 900; color: var(--k-green-dark); text-align: center; line-height: 1.3; }
.kv-count { text-align: center; font-size: 56px; font-weight: 900; color: var(--k-pink); min-height: 70px; line-height: 70px; }
.kv-check { margin-top: 16px; text-align: center; }
.kv-check p { font-size: 15px; font-weight: 800; color: var(--fg-80); margin-bottom: 10px; }
.kv-privacy { margin-top: 14px; font-size: 12px; color: var(--fg-45); text-align: center; }

/* ── corner (Dede Çınar) ── */
.kr-wrap { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; margin-top: 6px; }
.kr-face { font-size: 60px; line-height: 1; }
.kr-body { font-size: 19px; line-height: 1.6; color: var(--k-ink); }
.kr-examples { display: grid; gap: 8px; margin-top: 14px; }
.kr-ex { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 18px; font-weight: 900; }
.kr-ex .ok { color: var(--k-green-dark); background: rgba(91,191,106,.16); border-radius: 12px; padding: 6px 14px; }
.kr-ex .not { color: var(--fg-45); text-decoration: line-through; font-weight: 700; }
.kr-ex small { font-size: 12px; font-weight: 800; color: var(--k-earth); }
.kr-source { margin-top: 14px; font-size: 12px; color: var(--fg-45); }

/* ── parent ── */
.kp-box { background: var(--panel-2); border-radius: 20px; padding: 16px 18px; margin-top: 8px; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.6; color: var(--fg-80); }
.kp-box b { color: var(--k-earth); }
.kp-task { background: #fff; border: 2px solid var(--line-15); border-radius: 18px; padding: 14px 16px; margin-top: 12px; }
.kp-task h4 { font-size: 14px; font-weight: 900; color: var(--k-green-dark); margin-bottom: 6px; }
.kp-task p { font-size: 15px; line-height: 1.55; }
.kp-task .kc-actions { margin-top: 12px; }
.kp-next { margin-top: 12px; font-size: 13.5px; color: var(--fg-60); }

/* ── badge ── */
.kbd-wrap { text-align: center; padding: 8px 0 4px; }
.kbd-medal { display: inline-flex; align-items: center; justify-content: center; width: 128px; height: 128px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE79A, #FFD460 60%, #E8B93A); box-shadow: 0 10px 30px rgba(255,212,96,.5); font-size: 60px; animation: kc-pop .6s ease; }
.kbd-wrap h3 { margin-top: 14px; font-size: 26px; }
.kbd-wrap p { font-size: 16px; color: var(--fg-80); margin-top: 6px; }
.kbd-rules { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.kbd-rules span { font-size: 12px; font-weight: 800; color: var(--k-earth); background: rgba(139,94,60,.1); border-radius: 999px; padding: 4px 10px; }

/* ── kapanış kartı ── */
html.kids .card.k-end { text-align: center; }
.ke-leaves { font-size: 15px; font-weight: 800; color: var(--k-green-dark); margin-top: 10px; }

/* ── çocuk profili: seçici, çubuk, form; günlük süre ── */
.kp-picker { background: #fff; border: 2px solid var(--line-15); border-radius: 26px; padding: 22px; }
.kp-picker h3 { font-size: 22px; font-weight: 900; color: var(--k-green-dark); margin-bottom: 14px; text-align: center; }
.kp-chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.kp-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line-15); background: #fff; font: inherit; font-weight: 800; color: var(--k-ink); cursor: pointer; }
.kp-chip.is-big { flex-direction: column; min-width: 120px; padding: 16px 14px; border-radius: 22px; gap: 4px; }
.kp-chip.is-big .kp-ava { font-size: 44px; line-height: 1; }
.kp-chip small { font-size: 11px; font-weight: 800; color: var(--fg-45); }
.kp-chip:hover { border-color: var(--k-green); transform: translateY(-2px); }
.kp-chip.is-new { border-style: dashed; color: var(--k-green-dark); }
.kp-form { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.kp-form h4 { font-size: 16px; font-weight: 900; color: var(--k-earth); margin-bottom: 10px; }
.kp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kp-avatars { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 12px; }
.kp-avatar input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kp-avatar span { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 3px solid transparent; background: var(--panel-2); font-size: 26px; cursor: pointer; }
.kp-avatar input:checked + span { border-color: var(--k-green-dark); background: rgba(91,191,106,.18); }
.kp-avatar input:focus-visible + span { outline: 3px solid var(--k-sky); outline-offset: 2px; }
.kp-bar { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--fg-80); }
.kp-bar .kp-ava { font-size: 18px; }
html.kids .pf-link-btn, .kp-change { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--k-green-dark); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.kb-timeup { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(43,43,43,.55); backdrop-filter: blur(6px); }
.kb-timeup-card { background: #FFF8EE; border-radius: 28px; padding: 30px 26px; max-width: 440px; width: 100%; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.kb-timeup-card .big-emoji { font-size: 64px; line-height: 1; }
.kb-timeup-card h2 { margin-top: 12px; font-size: 26px; font-weight: 900; color: var(--k-green-dark); }
.kb-timeup-card p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--fg-80); }

/* ── Profilim çocuk modu (ebeveyn panosu): yetişkin bölümler gizli, çocuk kartları ── */
html.kids .pf-adult { display: none !important; }
html.kids .pf-glow { display: none; }
html.kids .pf-card { background: #fff; border-color: var(--line-15); }
html.kids .pf-title, html.kids .pf-h2 { color: var(--k-green-dark); }
.pf-children { display: grid; gap: 14px; }
.pf-child { display: grid; grid-template-columns: 64px 1fr; gap: 14px; background: #fff; border: 2px solid var(--line-15); border-radius: 22px; padding: 16px 18px; }
.pf-child-ava { font-size: 44px; line-height: 1; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--panel-2); }
.pf-child h3 { font-size: 20px; font-weight: 900; color: var(--k-ink); }
.pf-child .meta { font-size: 13px; color: var(--fg-60); margin-top: 2px; }
.pf-child-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-top: 12px; }
.pf-child-stats div { background: var(--panel-2); border-radius: 14px; padding: 10px 12px; }
.pf-child-stats b { display: block; font-size: 20px; color: var(--k-green-dark); }
.pf-child-stats span { font-size: 12px; color: var(--fg-60); }
.pf-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pf-badge-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,212,96,.3); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 800; color: #7a5200; }
.pf-days { display: flex; gap: 4px; align-items: flex-end; height: 44px; margin-top: 10px; }
.pf-days i { flex: 1; background: var(--k-green); border-radius: 4px 4px 0 0; min-height: 3px; opacity: .85; }
.pf-child-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; font-size: 13px; }
.pf-child-actions select { min-height: 40px; border-radius: 10px; border: 1px solid var(--line-30); padding: 6px 10px; font: inherit; }
.pf-child-del { color: var(--danger); }
.pf-new-child { margin-top: 6px; }
@media (max-width: 480px) { .pf-child { grid-template-columns: 1fr; } .kp-row { grid-template-columns: 1fr; } }
