/* HiBG — herkese açık site */
:root {
    --bg: #fffaf3;
    --surface: #ffffff;
    --ink: #1d2540;
    --muted: #5a6280;
    --line: #ece4d6;
    --brand: #0081FC;
    --pop: #FD6C5B;
    --accent: #0081FC;
    --hb-mascot: #0081FC;
    --radius: 20px;
    --shadow: 0 6px 24px rgba(29, 37, 64, .08);
    --font: ui-rounded, "Nunito", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.hb-wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.hb-muted { color: var(--muted); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: .3rem 0 .8rem; font-weight: 800; }
.hb-h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 1.2rem; }
.hb-eyebrow { display: inline-block; margin: 0; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.hb-lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }

/* Üst menü */
.hb-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hb-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.hb-logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); font-size: 1.5rem; font-weight: 800; }
.hb-logo strong { color: var(--pop); }
.hb-logo__mark svg { display: block; }
.hb-nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.hb-nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; padding: .45rem .8rem; border-radius: 999px; border: 2px solid transparent; }
.hb-nav a:hover { background: color-mix(in srgb, var(--c) 14%, #fff); }
.hb-nav a.is-active { background: color-mix(in srgb, var(--c) 18%, #fff); border-color: var(--c); }

/* Butonlar */
.hb-btn { display: inline-block; background: var(--pop); color: #fff; font: inherit; font-weight: 800; padding: .8rem 1.4rem; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; box-shadow: 0 4px 0 #d94e3c; transition: transform .1s; }
.hb-btn:hover { transform: translateY(-1px); }
.hb-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #d94e3c; }
.hb-btn--ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.hb-btn--ghost:active { box-shadow: 0 1px 0 var(--ink); }
.hb-link { font-weight: 800; }

/* Ana sayfa */
.hb-hero { padding: clamp(2rem, 6vw, 4.5rem) 0 1rem; background: radial-gradient(circle at 85% 20%, #dfe6ff 0, transparent 45%), radial-gradient(circle at 5% 90%, #ffe3dc 0, transparent 40%); }
.hb-hero__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.hb-hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hb-hero__art { display: grid; place-items: center; }
.hb-doors { padding: 3rem 0 1rem; }
.hb-doors__grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
.hb-door { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.6rem; background: var(--surface); border: 3px solid var(--c); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: 0 6px 0 var(--c); transition: transform .12s; }
.hb-door:hover { transform: translateY(-3px); }
.hb-door__emoji { font-size: 2.6rem; line-height: 1; }
.hb-door__age { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: .4rem; }
.hb-door__name { font-size: 1.7rem; font-weight: 800; }
.hb-door__tag { color: var(--muted); }
.hb-door__go { margin-top: .8rem; font-weight: 800; color: var(--c); filter: brightness(.7); }
.hb-today { padding: 2rem 0; }
.hb-today__box { display: flex; align-items: center; gap: 1.5rem; background: #fff; border: 2px dashed var(--brand); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.hb-today__rule { font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 800; margin: .3rem 0 .6rem; }
.hb-adults { padding: 1rem 0 3rem; }
.hb-adults__grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.hb-adult { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; background: color-mix(in srgb, var(--c) 9%, #fff); border-radius: var(--radius); border: 2px solid color-mix(in srgb, var(--c) 40%, #fff); text-decoration: none; color: var(--ink); }
.hb-adult:hover { border-color: var(--c); }
.hb-adult__emoji { font-size: 2rem; }

/* Kademe sayfası */
.hb-level { background: color-mix(in srgb, var(--c) 14%, var(--bg)); border-bottom: 3px solid var(--c); padding: clamp(1.5rem, 4vw, 3rem) 0; --accent: var(--c); }
.hb-level__in { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.hb-level .hb-eyebrow { color: var(--ink); }
.hb-list { padding: 2rem 0 3.5rem; }
.hb-steps { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: .8rem 1.1rem; display: inline-block; }
.hb-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); margin-top: 1rem; }
.hb-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--surface); border: 2px solid var(--line); border-left: 8px solid var(--c); border-radius: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.hb-card:hover { transform: translateY(-2px); border-color: var(--c); }
.hb-card__emoji { font-size: 2rem; line-height: 1.2; }
.hb-card__body { display: flex; flex-direction: column; gap: .25rem; }
.hb-card__title { font-weight: 800; font-size: 1.1rem; line-height: 1.3; }
.hb-card__sum { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.hb-card__meta { font-size: .8rem; font-weight: 800; color: var(--c); filter: brightness(.7); }

/* Konu sayfası */
.hb-topic { --accent: var(--c); padding: 1.2rem 0 3rem; }
.hb-topic__wrap { max-width: 800px; }
.hb-crumb { font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.hb-crumb a { color: var(--muted); }
.hb-topic__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 3px solid var(--c); }
.hb-topic .hb-eyebrow { color: var(--ink); }
.hb-rule { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin: 0; padding: .6rem 1rem; background: color-mix(in srgb, var(--c) 18%, #fff); border-radius: 14px; }
.hb-block { margin-top: 2rem; }
.hb-block__title { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; margin: 0 0 .8rem; }
.hb-step { display: inline-grid; place-items: center; width: 2rem; height: 2rem; background: var(--c); color: #fff; border-radius: 50%; font-size: 1rem; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.hb-prose { font-size: 1.08rem; }
.hb-prose h3 { font-size: 1.2rem; margin: 1.4rem 0 .4rem; }
.hb-prose ul, .hb-prose ol { padding-left: 1.3rem; }
.hb-prose li { margin: .35rem 0; }
.hb-prose blockquote { margin: 1rem 0; padding: .9rem 1.2rem; background: #fff; border-left: 6px solid var(--c); border-radius: 0 14px 14px 0; font-weight: 700; font-size: 1.15rem; }
.hb-prose code { background: #eef0fa; padding: .1rem .4rem; border-radius: 6px; font-size: .95em; word-break: break-all; }
.hb-prose a { font-weight: 700; }
.hb-quiz { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.hb-quiz__scn { margin: 0 0 .4rem; color: var(--muted); font-style: italic; }
.hb-quiz__q { margin: 0 0 .8rem; font-weight: 800; font-size: 1.15rem; }
.hb-quiz__opts { display: grid; gap: .6rem; }
.hb-opt { text-align: left; font: inherit; font-weight: 700; padding: .8rem 1rem; background: #f6f7fd; color: var(--ink); border: 2px solid #d5daf4; border-radius: 14px; cursor: pointer; }
.hb-opt:hover:not(:disabled) { border-color: var(--brand); background: #eef1ff; }
.hb-opt.is-right { background: #dcfce7; border-color: #16a34a; }
.hb-opt.is-wrong { background: #fee2e2; border-color: #dc2626; }
.hb-opt:disabled { cursor: default; }
.hb-quiz__fb { display: flex; align-items: center; gap: .8rem; margin-top: .9rem; padding: .8rem 1rem; border-radius: 14px; background: #f0fdf4; font-weight: 700; }
.hb-quiz__fb.is-wrong { background: #fff7ed; }
.hb-quiz__fb p { margin: 0; }
.hb-quiz__exp { margin: .6rem 0 0; color: var(--muted); }
.hb-do { background: color-mix(in srgb, var(--c) 14%, #fff); border: 3px dashed var(--c); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.hb-do .hb-block__title { margin-top: 0; }
.hb-do__text { font-size: 1.15rem; font-weight: 700; margin: 0; }
.hb-share { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 2rem; }
.hb-pn { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 2px solid var(--line); font-weight: 800; }
.hb-pn a { text-decoration: none; }

/* Sabit sayfalar, 404 */
.hb-page { max-width: 760px; padding: 2.5rem 0 4rem; }
.hb-404 { text-align: center; }
.hb-404 .hb-lead { margin-inline: auto; }

/* Alt bilgi */
.hb-footer { border-top: 1px solid var(--line); background: #fff; padding: 1.6rem 0; }
.hb-footer__in { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.hb-footer__brand { margin: 0; font-weight: 800; }
.hb-footer__brand strong { color: var(--pop); }
.hb-footer p { margin: .2rem 0; }
.hb-footer__links { display: flex; gap: 1.2rem; flex-wrap: wrap; font-weight: 700; }

/* Maskot animasyonu */
.hb-wave { transform-origin: 178px 132px; animation: hb-wave 2.2s ease-in-out infinite; }
.hb-float { animation: hb-float 3s ease-in-out infinite; }
@keyframes hb-wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-16deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-14deg); } 80% { transform: rotate(6deg); } }
@keyframes hb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .hb-wave, .hb-float { animation: none; } html { scroll-behavior: auto; } .hb-btn, .hb-door, .hb-card { transition: none; } }

@media (max-width: 800px) {
    .hb-hero__in, .hb-level__in { grid-template-columns: 1fr; }
    .hb-hero__art { order: -1; }
    .hb-hero__art svg { width: 170px; height: auto; }
    .hb-level__art { display: none; }
    .hb-doors__grid, .hb-adults__grid { grid-template-columns: 1fr; }
    .hb-today__box { flex-direction: column; text-align: center; }
    .hb-topic__art { display: none; }
    .hb-nav a { padding: .35rem .6rem; font-size: .88rem; }
}
@media print {
    .hb-header, .hb-footer, .no-print, .hb-topic__art { display: none !important; }
    body { background: #fff; font-size: 12pt; }
    .hb-quiz__exp, [data-exp] { display: block !important; }
    .hb-opt { border: 1px solid #999; }
}

/* =====================================================================
   Tasarım sistemi v2 — bg.gen.tr'nin sade dili + bölüme özel ciddiyet
   ===================================================================== */
@font-face { font-family: "Roboto"; src: url("../font/Roboto-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; src: url("../font/Roboto-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Slab"; src: url("../font/RobotoSlab-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto Slab"; src: url("../font/RobotoSlab-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
    --bg: #f5faff; --ink: #12275a; --muted: #4f5f86; --line: #dbe7f5; --brand: #0081FC; --pop: #FD6C5B;
    --hb-body: #0081FC; --hb-dark: #0042A7; --hb-cyan: #01C5CD; --hb-yellow: #FEC530;
    --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-head: "Roboto Slab", Georgia, serif;
    --font-kid: ui-rounded, "Arial Rounded MT Bold", "Nunito", "Trebuchet MS", "Roboto", sans-serif;
}
body { font-family: var(--font); background: var(--bg); }
h1, h2 { font-family: var(--font-head); }
.hb-logo { font-family: var(--font-head); letter-spacing: -.02em; }
.hb-logo .l-h { color: #0042A7; } .hb-logo .l-b { color: #0081FC; } .hb-logo .l-g { color: #01C5CD; } .hb-logo .l-i { color: #0042A7; }
.hb-logo strong { color: inherit; }
.hb-btn { background: var(--pop); box-shadow: 0 4px 0 #dc5242; }
.hb-btn:active { box-shadow: 0 1px 0 #dc5242; }
.hb-hero { background: radial-gradient(circle at 88% 12%, #CBF3FD 0, transparent 46%), radial-gradient(circle at 4% 96%, #fff1c9 0, transparent 40%), var(--bg); }
.hb-door, .hb-card { font-family: var(--font); }

/* --- Ortak kademe/konu iskeleti her temada c ve accent'i kullanır --- */

/* İLKOKUL — oyuncu: iri yazı, kalın çerçeve, etiket gibi kartlar */
.theme-ilkokul { --bg: #fff8e4; --line: #f3dfa2; font-size: 19px; }
.theme-ilkokul h1, .theme-ilkokul h2, .theme-ilkokul .hb-card__title, .theme-ilkokul .hb-rule, .theme-ilkokul .hb-door__name { font-family: var(--font-kid); }
.theme-ilkokul .hb-level { background: radial-gradient(circle at 90% 20%, #ffe79a 0, transparent 45%), #fff2c2; border-bottom: 6px dashed var(--c); }
.theme-ilkokul .hb-card { border: 4px solid var(--c); border-left-width: 4px; border-radius: 28px; padding: 1.3rem; background: #fff; box-shadow: 0 7px 0 var(--c); }
.theme-ilkokul .hb-card:nth-child(odd) { transform: rotate(-.6deg); } .theme-ilkokul .hb-card:nth-child(even) { transform: rotate(.6deg); }
.theme-ilkokul .hb-card:hover { transform: translateY(-3px) rotate(0); }
.theme-ilkokul .hb-card__emoji { font-size: 2.6rem; }
.theme-ilkokul .hb-card__title { font-size: 1.3rem; }
.theme-ilkokul .hb-rule { background: #fff; border: 4px solid var(--c); border-radius: 22px; font-size: 1.45rem; text-align: center; }
.theme-ilkokul .hb-topic__head { border-bottom: 6px dashed var(--c); }
.theme-ilkokul .hb-prose { font-size: 1.22rem; line-height: 1.75; }
.theme-ilkokul .hb-prose blockquote { border: 4px solid var(--c); border-radius: 22px; background: #fff; text-align: center; font-size: 1.35rem; }
.theme-ilkokul .hb-step { width: 2.6rem; height: 2.6rem; font-size: 1.3rem; color: #12275a; text-shadow: none; box-shadow: 0 3px 0 rgba(0,0,0,.18); }
.theme-ilkokul .hb-quiz { border: 4px solid var(--c); border-radius: 26px; }
.theme-ilkokul .hb-opt { font-size: 1.15rem; padding: 1rem 1.2rem; border-radius: 20px; border-width: 3px; }
.theme-ilkokul .hb-do { background: #fff; border-style: dashed; border-width: 4px; border-radius: 26px; }
.theme-ilkokul .hb-nav a.is-active { background: #ffe79a; }

/* ORTAOKUL — enerjik: mavi, sohbet balonlu senaryolar */
.theme-ortaokul { --bg: #f0f7ff; --line: #cfe2fb; }
.theme-ortaokul .hb-level { background: linear-gradient(135deg, #e3f0ff, #d6f5f2); border-bottom: 4px solid var(--c); }
.theme-ortaokul .hb-card { border-left: 8px solid var(--c); border-radius: 18px; }
.theme-ortaokul .hb-card:hover { box-shadow: 0 10px 26px rgba(47,128,237,.18); }
.theme-ortaokul .hb-rule { background: var(--c); color: #fff; border-radius: 18px 18px 18px 4px; }
.theme-ortaokul .hb-quiz__scn { position: relative; background: #e8f1ff; color: var(--ink); font-style: normal; padding: .8rem 1rem; border-radius: 18px 18px 18px 4px; margin-bottom: 1rem; }
.theme-ortaokul .hb-quiz__scn::before { content: "💬 "; }
.theme-ortaokul .hb-step { background: linear-gradient(135deg, #0081FC, #01C5CD); }
.theme-ortaokul .hb-do { border-radius: 18px; border-style: solid; border-width: 2px; background: #eaf3ff; }

/* LİSE — ciddi: koyu yüzey, keskin köşe, "vaka dosyası" düzeni */
.theme-lise { --bg: #0d1b2a; --ink: #e8f1f8; --muted: #9db3c6; --line: #24384d; color: var(--ink); }
.theme-lise .hb-header { background: rgba(13,27,42,.92); border-color: #24384d; }
.theme-lise .hb-logo, .theme-lise .hb-nav a { color: #e8f1f8; } .theme-lise .hb-logo .l-h, .theme-lise .hb-logo .l-i { color: #8ec5ff; }
.theme-lise .hb-nav a:hover { background: rgba(255,255,255,.08); } .theme-lise .hb-nav a.is-active { background: rgba(23,179,163,.18); border-color: var(--c); }
.theme-lise .hb-level { background: linear-gradient(180deg, #102338, #0d1b2a); border-bottom: 2px solid var(--c); }
.theme-lise .hb-level h1, .theme-lise .hb-topic h1 { font-family: "Roboto Slab", Georgia, serif; letter-spacing: -.02em; }
.theme-lise .hb-eyebrow { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--c); letter-spacing: .12em; }
.theme-lise .hb-lead { color: var(--muted); }
.theme-lise .hb-steps { display: none; }
.theme-lise .hb-cards { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); counter-reset: vaka; }
.theme-lise .hb-card { background: #132a40; border: 1px solid #24384d; border-left: 4px solid var(--c); border-radius: 4px; color: var(--ink); box-shadow: none; counter-increment: vaka; position: relative; }
.theme-lise .hb-card::after { content: "VAKA " counter(vaka, decimal-leading-zero); position: absolute; right: .8rem; top: .6rem; font: 700 .68rem ui-monospace, Menlo, monospace; letter-spacing: .12em; color: #5f7a93; }
.theme-lise .hb-card:hover { border-color: var(--c); background: #16324c; transform: none; }
.theme-lise .hb-card__sum { color: var(--muted); } .theme-lise .hb-card__meta { color: var(--c); filter: none; }
.theme-lise .hb-crumb, .theme-lise .hb-crumb a { color: var(--muted); }
.theme-lise .hb-topic__head { border-color: #24384d; }
.theme-lise .hb-topic .hb-eyebrow { color: var(--c); }
.theme-lise .hb-rule { background: transparent; border: 1px solid var(--c); border-left-width: 5px; border-radius: 3px; color: #d8fff9; font-weight: 700; font-size: 1.1rem; }
.theme-lise .hb-block__title { font-family: ui-monospace, Menlo, monospace; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c); border-bottom: 1px solid #24384d; padding-bottom: .5rem; }
.theme-lise .hb-prose blockquote, .theme-lise .hb-quiz { background: #132a40; border-color: #24384d; color: var(--ink); border-radius: 4px; box-shadow: none; }
.theme-lise .hb-prose code { background: #0a1522; color: #7ee7dc; }
.theme-lise .hb-prose a, .theme-lise .hb-crumb a:hover, .theme-lise .hb-link { color: #7ec8ff; }
.theme-lise .hb-quiz__scn { color: var(--muted); }
.theme-lise .hb-opt { background: #0f2236; color: var(--ink); border-color: #2d4660; border-radius: 3px; }
.theme-lise .hb-opt:hover:not(:disabled) { border-color: var(--c); background: #16324c; }
.theme-lise .hb-opt.is-right { background: #0f3d34; border-color: #01C5CD; } .theme-lise .hb-opt.is-wrong { background: #4a1f24; border-color: #e0525e; }
.theme-lise .hb-quiz__fb { background: #0f3d34; } .theme-lise .hb-quiz__fb.is-wrong { background: #3d2a15; }
.theme-lise .hb-do { background: #0f2236; border: 1px solid var(--c); border-radius: 4px; }
.theme-lise .hb-btn--ghost { background: transparent; color: var(--ink); border-color: #4c6a86; box-shadow: none; }
.theme-lise .hb-pn { border-color: #24384d; } .theme-lise .hb-pn a { color: #7ec8ff; }
.theme-lise .hb-footer { background: #0a1522; border-color: #24384d; color: var(--ink); } .theme-lise .hb-footer a { color: #7ec8ff; }
.theme-lise .hb-step { border-radius: 3px; }

/* ÖĞRETMENLER — kurumsal: belge düzeni, sakin mavi, yazdırma dostu */
.theme-ogretmenler { --bg: #f7f9fc; --line: #d9e2ee; }
.theme-ogretmenler .hb-level { background: #fff; border-bottom: 1px solid var(--line); border-top: 4px solid var(--c); }
.theme-ogretmenler .hb-card { border-radius: 8px; border: 1px solid var(--line); border-left: 4px solid var(--c); box-shadow: 0 1px 2px rgba(18,39,90,.06); }
.theme-ogretmenler .hb-cards { grid-template-columns: 1fr; }
.theme-ogretmenler .hb-topic__wrap { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2rem; margin-top: 1rem; box-shadow: 0 1px 3px rgba(18,39,90,.06); }
.theme-ogretmenler .hb-topic__head { border-bottom: 1px solid var(--line); }
.theme-ogretmenler .hb-topic__art { display: none; }
.theme-ogretmenler .hb-rule { background: #eef4fb; border-left: 4px solid var(--c); border-radius: 4px; font-size: 1.05rem; }
.theme-ogretmenler .hb-prose h3 { font-family: var(--font-head); color: var(--c); border-bottom: 1px solid var(--line); padding-bottom: .25rem; }
.theme-ogretmenler .hb-prose ol > li::marker { font-weight: 800; color: var(--c); }
.theme-ogretmenler .hb-do { background: #f0f6fd; border: 1px solid var(--c); border-style: solid; border-radius: 6px; }
.theme-ogretmenler .hb-do .hb-block__title::before { content: "Öneri"; font: 700 .7rem var(--font); text-transform: uppercase; letter-spacing: .08em; background: var(--c); color: #fff; padding: .15rem .5rem; border-radius: 3px; margin-right: .3rem; }
.theme-ogretmenler .hb-btn { border-radius: 6px; box-shadow: none; background: var(--c); } .theme-ogretmenler .hb-btn--ghost { background: #fff; color: var(--ink); }

/* VELİLER — sakin ve sıcak: yumuşak kremler, geniş boşluk */
.theme-veliler { --bg: #fff8f4; --line: #f3dfd5; }
.theme-veliler .hb-level { background: #ffece4; border-bottom: 0; }
.theme-veliler .hb-card { border-radius: 22px; border: 1px solid var(--line); border-left: 1px solid var(--line); box-shadow: 0 8px 24px rgba(255,122,89,.10); padding: 1.4rem; }
.theme-veliler .hb-cards { grid-template-columns: 1fr; gap: 1.2rem; }
.theme-veliler .hb-rule { background: #fff; border: 1px solid var(--line); border-radius: 22px; color: #a3452b; font-family: var(--font-head); font-weight: 500; font-style: italic; }
.theme-veliler .hb-prose { font-size: 1.12rem; line-height: 1.8; }
.theme-veliler .hb-prose h3 { color: #a3452b; font-family: var(--font-head); }
.theme-veliler .hb-do { background: #fff; border: 1px solid var(--c); border-style: solid; border-radius: 22px; }
.theme-veliler .hb-step { background: var(--c); }
.theme-veliler .hb-btn { background: #FD6C5B; }

/* Yazdırma: koyu tema baskıda sıfırlanır */
@media print { .theme-lise { --bg: #fff; --ink: #12275a; --muted: #333; color: #12275a; } .theme-ogretmenler .hb-topic__wrap { border: 0; box-shadow: none; padding: 0; } }
.hb-btn.hb-btn--ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.hb-btn.hb-btn--ghost:active { box-shadow: 0 1px 0 var(--ink); }
.theme-lise .hb-btn.hb-btn--ghost { background: transparent; box-shadow: none; border-color: #4c6a86; }
.theme-ogretmenler .hb-btn.hb-btn--ghost { box-shadow: none; border-color: var(--line); }
.hb-wordmark { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }
.hb-wordmark .l-h, .hb-wordmark .l-i { color: #0042A7; } .hb-wordmark .l-b { color: #0081FC; } .hb-wordmark .l-g { color: #01C5CD; }
.theme-lise .hb-wordmark .l-h, .theme-lise .hb-wordmark .l-i { color: #8ec5ff; }

/* =====================================================================
   v3 — daha zengin ana sayfa, karakterli kapılar, koyu alt bilgi
   ===================================================================== */
.hb-center { text-align: center; }
.hb-header { box-shadow: 0 1px 0 rgba(18,39,90,.04), 0 8px 24px -16px rgba(18,39,90,.25); }
.hb-header__in { padding: .6rem 0; }
.hb-logo__mark svg { transition: transform .3s; } .hb-logo:hover .hb-logo__mark svg { transform: rotate(-8deg) scale(1.08); }

/* HERO */
.hb-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem); background: linear-gradient(180deg, #e6f4ff 0%, #f5faff 100%); }
.hb-blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0; }
.hb-blob--a { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle at 30% 30%, #CBF3FD, #d9f3ff 70%); opacity: .8; }
.hb-blob--b { width: 380px; height: 380px; left: -140px; bottom: -120px; background: radial-gradient(circle at 60% 40%, #ffe9a8, #fff4d3 70%); opacity: .85; }
.hb-hero__in { position: relative; z-index: 1; }
.hb-pill { display: inline-block; margin: 0 0 1rem; padding: .35rem .9rem; background: #fff; border: 2px solid #d3e4fb; border-radius: 999px; font-weight: 700; font-size: .9rem; color: #0042A7; box-shadow: 0 3px 0 #d3e4fb; }
.hb-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; margin: 0 0 1rem; }
.hb-mark { background: linear-gradient(transparent 62%, #FEC530 62%, #FEC530 92%, transparent 92%); padding: 0 .1em; }
.hb-mark--teal { background: linear-gradient(transparent 62%, #a8efe8 62%, #a8efe8 92%, transparent 92%); }
.hb-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.6rem 0 0; }
.hb-chips li { background: rgba(255,255,255,.85); border: 1px solid #cfe0f6; border-radius: 999px; padding: .3rem .8rem; font-size: .88rem; font-weight: 700; color: #35507f; }
.hb-stage { position: relative; display: grid; place-items: center; width: min(360px, 78vw); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #fff 0, #fff 42%, #CBF3FD 43%, #CBF3FD 60%, rgba(216,236,255,0) 61%); }
.hb-stage::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 3px dashed #a9cdf5; animation: hb-spin 40s linear infinite; }
.hb-stage svg { position: relative; z-index: 1; filter: drop-shadow(0 14px 18px rgba(18,61,148,.22)); }
.hb-float-badge { position: absolute; z-index: 2; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; background: #fff; border-radius: 16px; font-size: 1.5rem; box-shadow: 0 8px 20px rgba(18,39,90,.18); animation: hb-float 4s ease-in-out infinite; }
.hb-fb1 { left: 2%; top: 22%; } .hb-fb2 { right: 0; top: 46%; animation-delay: -1.2s; } .hb-fb3 { left: 12%; bottom: 8%; animation-delay: -2.4s; background: #fff6d6; }
@keyframes hb-spin { to { transform: rotate(360deg); } }
.hb-wave-sep { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; z-index: 1; display: block; }

/* NASIL ÇALIŞIR */
.hb-how { padding: 1rem 0 2.5rem; }
.hb-how__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: none; }
.hb-how__grid li { position: relative; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2.4rem 1.4rem 1.6rem; box-shadow: 0 8px 24px -14px rgba(18,39,90,.25); }
.hb-how__grid li + li::before { content: "→"; position: absolute; left: -1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: #9db8dd; }
.hb-how__n { position: absolute; top: -1.3rem; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--c); color: #fff; font: 800 1.3rem var(--font-head); box-shadow: 0 4px 0 rgba(0,0,0,.15); border: 3px solid #fff; }
.hb-how__grid h3 { margin: 0 0 .3rem; font-family: var(--font-head); font-size: 1.3rem; }
.hb-how__grid p { margin: 0; color: var(--muted); }

/* KAPILAR — karakter sayfasındaki renkli paneller */
.hb-doors { padding: 1.5rem 0 2.5rem; }
.hb-doors__grid { gap: 1.4rem; }
.hb-door { padding: 0 0 1.4rem; border: 0; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 14px 34px -18px rgba(18,39,90,.4), 0 0 0 2px color-mix(in srgb, var(--c) 45%, #fff); text-align: center; align-items: center; gap: .35rem; transition: transform .2s, box-shadow .2s; }
.hb-door:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -18px rgba(18,39,90,.45), 0 0 0 3px var(--c); }
.hb-door__panel { display: grid; place-items: end center; width: 100%; height: 190px; padding-top: 1rem; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, #fff), color-mix(in srgb, var(--c) 8%, #fff)); overflow: hidden; }
.hb-door__panel svg { transition: transform .3s; margin-bottom: -.6rem; } .hb-door:hover .hb-door__panel svg { transform: translateY(-6px) scale(1.05); }
.hb-door__tab { margin-top: -1.1rem; position: relative; z-index: 1; background: var(--c); color: #fff; font: 800 1.35rem var(--font-head); padding: .3rem 1.4rem; border-radius: 14px; box-shadow: 0 4px 0 rgba(0,0,0,.16); text-shadow: 0 1px 0 rgba(0,0,0,.2); }
.hb-door--ilkokul .hb-door__tab { color: #12275a; text-shadow: none; }
.hb-door__age { margin-top: .6rem; font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hb-door__tag { padding: 0 1rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.hb-door__list { display: flex; flex-direction: column; gap: .1rem; margin: .4rem 0; font-size: .92rem; color: var(--muted); }
.hb-door__go { margin-top: .4rem; padding: .5rem 1.3rem; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--ink); font-weight: 800; filter: none; }
.hb-door:hover .hb-door__go { background: var(--c); color: #fff; }
.hb-door--ilkokul:hover .hb-door__go { color: #12275a; }

/* GÜNÜN KURALI */
.hb-today__box { border: 0; background: linear-gradient(135deg, #fff, #eef7ff); box-shadow: 0 14px 34px -20px rgba(18,39,90,.4), inset 0 0 0 2px #cfe2fb; }
.hb-today__rule { font-family: var(--font-head); font-weight: 700; }

/* YETİŞKİNLER */
.hb-adults__grid { gap: 1.4rem; }
.hb-adult { align-items: flex-start; padding: 1.6rem; border-radius: 24px; background: #fff; border: 0; box-shadow: 0 12px 30px -18px rgba(18,39,90,.35), inset 0 0 0 2px color-mix(in srgb, var(--c) 35%, #fff); transition: transform .2s, box-shadow .2s; }
.hb-adult:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(18,39,90,.4), inset 0 0 0 3px var(--c); }
.hb-adult__emoji { display: grid; place-items: center; flex: none; width: 3.6rem; height: 3.6rem; border-radius: 18px; background: color-mix(in srgb, var(--c) 16%, #fff); font-size: 1.9rem; }
.hb-adult__body { display: flex; flex-direction: column; gap: .15rem; }
.hb-adult__body strong { font: 800 1.35rem var(--font-head); }
.hb-adult__tag { font-weight: 700; color: var(--ink); }
.hb-adult__go { margin-top: .5rem; font-weight: 800; color: var(--c); filter: brightness(.75); }

/* RAKAM BANDI */
.hb-band { background: linear-gradient(135deg, #0042A7, #0081FC 60%, #01C5CD); color: #fff; margin-top: 1.5rem; }
.hb-band__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2rem 0; text-align: center; }
.hb-band p { margin: 0; display: flex; flex-direction: column; }
.hb-band strong { font: 800 clamp(2rem, 4vw, 2.8rem)/1.1 var(--font-head); }
.hb-band span { opacity: .9; font-weight: 500; }

/* ALT BİLGİ — koyu */
.hb-footer { background: #0c2350; color: #cfdcf5; border: 0; padding: 2.6rem 0 2rem; margin-top: 0; }
.hb-footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; align-items: start; }
.hb-footer p { margin: .3rem 0; }
.hb-footer .hb-wordmark { font-size: 1.8rem; } .hb-footer .hb-wordmark .l-h, .hb-footer .hb-wordmark .l-i { color: #fff; } .hb-footer .hb-wordmark .l-b { color: #6fb1ff; } .hb-footer .hb-wordmark .l-g { color: #4fe3e9; }
.hb-footer__note { font-size: .88rem; color: #9fb4dc; }
.hb-footer__h { font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.hb-footer__col { display: flex; flex-direction: column; gap: .3rem; }
.hb-footer a { color: #cfe3ff; text-decoration: none; font-weight: 500; } .hb-footer a:hover { color: #fff; text-decoration: underline; }
.theme-lise .hb-footer { background: #08111d; color: #cfdcf5; }

/* KADEME SAYFASI — bölüm başlığı ve kartlar */
.hb-level { position: relative; overflow: hidden; }
.hb-level::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: color-mix(in srgb, var(--c) 18%, transparent); z-index: 0; }
.hb-level__in { position: relative; z-index: 1; }
.hb-level__art svg { filter: drop-shadow(0 12px 16px rgba(18,61,148,.2)); }
.hb-card { padding: 1.25rem 1.3rem; position: relative; }
.hb-card__emoji { display: grid; place-items: center; flex: none; width: 3.2rem; height: 3.2rem; border-radius: 16px; background: color-mix(in srgb, var(--c) 16%, #fff); font-size: 1.7rem; }
.hb-card::after { content: "→"; position: absolute; right: 1rem; bottom: .8rem; color: var(--c); font-weight: 800; opacity: 0; transform: translateX(-6px); transition: .2s; filter: brightness(.8); }
.hb-card:hover::after { opacity: 1; transform: none; }
.theme-lise .hb-card__emoji { background: rgba(255,255,255,.06); border-radius: 4px; }
.theme-lise .hb-card::after { content: none; }
.hb-card__meta { display: inline-flex; align-self: flex-start; background: color-mix(in srgb, var(--c) 14%, #fff); padding: .1rem .55rem; border-radius: 999px; }
.theme-lise .hb-card__meta { background: rgba(23,179,163,.15); }

/* KONU SAYFASI */
.hb-topic__head { position: relative; }
.hb-block { scroll-margin-top: 5rem; }
.hb-quiz { transition: box-shadow .2s; } .hb-quiz:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 40%, transparent), var(--shadow); }
.hb-opt { transition: transform .1s, border-color .15s, background .15s; } .hb-opt:hover:not(:disabled) { transform: translateX(3px); }
.hb-quiz__fb { animation: hb-pop .35s ease-out; }
@keyframes hb-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.hb-do { position: relative; }
.hb-do::before { content: "⭐"; position: absolute; right: 1rem; top: .8rem; font-size: 1.4rem; opacity: .9; }
.theme-lise .hb-do::before, .theme-ogretmenler .hb-do::before { content: none; }
.hb-pn a { padding: .6rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.theme-lise .hb-pn a { background: #132a40; border-color: #24384d; border-radius: 4px; }

@media (max-width: 800px) {
    .hb-how__grid, .hb-band__in, .hb-footer__in { grid-template-columns: 1fr; }
    .hb-how__grid li + li::before { content: "↓"; left: 50%; top: -1.6rem; transform: translateX(-50%); }
    .hb-how__grid { gap: 2rem; }
    .hb-band__in { grid-template-columns: repeat(2, 1fr); }
    .hb-stage { width: min(280px, 70vw); }
    .hb-stage svg { width: 210px; height: auto; }
    .hb-door__panel { height: 170px; }
}
@media (prefers-reduced-motion: reduce) { .hb-stage::before, .hb-float-badge, .hb-quiz__fb { animation: none; } }
.hb-door__panel { height: 232px; place-items: center; padding: 1rem 0 1.6rem; }
.hb-door__panel svg { margin-bottom: 0; width: 150px; height: auto; }
.hb-door__tab { margin-top: -1.3rem; }
@media (max-width: 800px) { .hb-door__panel { height: 220px; } }
.theme-ilkokul .hb-card__meta, .theme-veliler .hb-card__meta { color: var(--ink); filter: none; font-weight: 800; }
.theme-ilkokul .hb-card__meta { background: color-mix(in srgb, var(--c) 30%, #fff); }
.hb-preview-bar { background: #fff3bf; color: #5f4b00; border-bottom: 2px solid #f5c542; text-align: center; padding: .55rem 1rem; font-weight: 700; font-size: .92rem; position: relative; z-index: 30; }
.hb-preview-bar a { color: #5f4b00; }

/* =====================================================================
   Marka paleti (resmî): koyu mavi, canlı mavi, turkuaz, sarı, mercan, buz mavisi
   ===================================================================== */
:root {
    --c-navy: #0042A7;   /* Güven / İstikrar */
    --c-blue: #0081FC;   /* Dijital Dünya */
    --c-teal: #01C5CD;   /* Merak / Öğrenme */
    --c-yellow: #FEC530; /* Enerji / Pozitiflik */
    --c-coral: #FD6C5B;  /* Sıcaklık / Samimiyet */
    --c-ice: #CBF3FD;    /* Sadelik / Denge */
    --brand: var(--c-blue); --pop: var(--c-coral);
    --hb-body: var(--c-blue); --hb-dark: var(--c-navy); --hb-cyan: var(--c-teal); --hb-yellow: var(--c-yellow);
    --bg: #f3fbfe; --line: #cfe7f1;
}
.theme-ilkokul { --bg: #fff8e1; --line: #f8e0a0; }
.theme-ortaokul { --bg: #eef7ff; --line: #cfe4fb; }
.hb-hero { background: linear-gradient(180deg, var(--c-ice) 0%, #f3fbfe 100%); }
.hb-blob--a { background: radial-gradient(circle at 30% 30%, #ffffff, var(--c-ice) 70%); opacity: .9; }
.hb-blob--b { background: radial-gradient(circle at 60% 40%, #ffe9a8, #fff4d3 70%); }
.hb-stage { background: radial-gradient(circle at 50% 42%, #fff 0, #fff 42%, var(--c-ice) 43%, var(--c-ice) 60%, rgba(203,243,253,0) 61%); }
.hb-stage::before { border-color: #8fdcec; }
.hb-pill { color: var(--c-navy); border-color: var(--c-ice); box-shadow: 0 3px 0 var(--c-ice); }
.hb-mark--teal { background: linear-gradient(transparent 62%, #a6ecf0 62%, #a6ecf0 92%, transparent 92%); }
.hb-band { background: linear-gradient(135deg, var(--c-navy), var(--c-blue) 62%, var(--c-teal)); }
.hb-footer { background: #002e75; }
.hb-btn { background: var(--c-coral); box-shadow: 0 4px 0 #dc5242; }
.hb-btn:active { box-shadow: 0 1px 0 #dc5242; }
.hb-ink, h1, h2 { color: #0a2a63; }
.hb-eyebrow { color: var(--c-navy); }
.hb-link, a { color: #0069cf; }
.hb-logo .l-h, .hb-logo .l-i, .hb-wordmark .l-h, .hb-wordmark .l-i { color: var(--c-navy); }
.hb-logo .l-b, .hb-wordmark .l-b { color: var(--c-blue); }
.hb-logo .l-g, .hb-wordmark .l-g { color: var(--c-teal); }
.hb-footer .hb-wordmark .l-h, .hb-footer .hb-wordmark .l-i { color: #fff; } .hb-footer .hb-wordmark .l-b { color: #6cc0ff; } .hb-footer .hb-wordmark .l-g { color: #5fe6ec; }
.theme-lise .hb-logo .l-h, .theme-lise .hb-logo .l-i, .theme-lise .hb-wordmark .l-h, .theme-lise .hb-wordmark .l-i { color: #9fd2ff; }
.theme-lise h1, .theme-lise h2, .theme-lise .hb-h2 { color: #e8f1f8; }
.theme-lise a, .theme-lise .hb-link { color: #6fd8de; }
.theme-lise .hb-nav a { color: #e8f1f8; }
.hb-nav a, .hb-door a, .hb-card, .hb-door, .hb-adult, .hb-btn, .hb-pn a, .hb-crumb a { color: inherit; }
.hb-btn { color: #fff; } .hb-btn--ghost { color: var(--ink); }
.hb-door, .hb-card { color: var(--ink); }
.theme-lise .hb-card, .theme-lise .hb-door { color: #e8f1f8; }
.hb-card__title, .hb-door__tag, .hb-door__name { color: #0a2a63; }
.theme-lise .hb-card__title { color: #e8f1f8; }
.hb-how__grid li, .hb-adult { color: var(--ink); }
.hb-crumb a { color: var(--muted); }
.hb-nav a { color: #0a2a63; } .theme-lise .hb-nav a { color: #e8f1f8; }

/* =====================================================================
   v4 — mock tasarım: ikonlu menü, arama, el yazısı başlık, gerçek karakter
   ===================================================================== */
@font-face { font-family: "Fredoka"; src: url("../font/Fredoka-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fredoka"; src: url("../font/Fredoka-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat Brush"; src: url("../font/CaveatBrush-latin-ext.woff2") format("woff2"); font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat Brush"; src: url("../font/CaveatBrush-latin.woff2") format("woff2"); font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --font-ui: "Fredoka", "Roboto", system-ui, sans-serif; --font-hand: "Caveat Brush", "Fredoka", cursive; --font-kid: "Fredoka", ui-rounded, "Roboto", sans-serif; --wave: linear-gradient(180deg, #e9f8ff, #f6fcff); }
h1, h2, h3, .hb-h2 { font-family: var(--font-ui); font-weight: 600; }
.theme-lise h1, .theme-lise h2, .theme-ogretmenler h1, .theme-ogretmenler h2 { font-family: var(--font-head); font-weight: 700; }
body { background: linear-gradient(180deg, #eef9ff 0, #f7fcff 420px, #fbfeff 100%) fixed; }
.theme-ilkokul, .theme-ortaokul, .theme-lise, .theme-ogretmenler, .theme-veliler { background-attachment: scroll; }
.theme-ilkokul { background: #fff8e1; } .theme-ortaokul { background: #eef7ff; } .theme-veliler { background: #fff8f4; } .theme-ogretmenler { background: #f7f9fc; } .theme-lise { background: #0d1b2a; }

/* ---- Üst menü ---- */
.hb-header { background: rgba(255,255,255,.86); border-bottom: 0; box-shadow: 0 6px 24px -16px rgba(0,66,167,.35); }
.hb-header__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2rem; padding: .35rem 0; flex-wrap: nowrap; }
.hb-logo { display: inline-flex; align-items: center; gap: .55rem; }
.hb-logo img { display: block; height: 42px; width: auto; }
.hb-logo__tag { font-family: var(--font-hand); font-size: .95rem; line-height: 1; color: var(--c-navy); }
.hb-nav { justify-content: center; gap: .15rem; flex-wrap: nowrap; }
.hb-nav a { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .35rem .85rem .5rem; border: 0; border-radius: 14px; font: 500 .82rem var(--font-ui); color: #35507f; position: relative; background: none; }
.hb-nav a svg { color: #5b7aa6; transition: transform .2s; }
.hb-nav a:hover { background: rgba(0,129,252,.08); color: var(--c-navy); } .hb-nav a:hover svg { transform: translateY(-2px); }
.hb-nav a.is-active { background: none; color: var(--c-blue); font-weight: 600; border: 0; }
.hb-nav a.is-active svg { color: var(--c-blue); }
.hb-nav a.is-active::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 3px; border-radius: 3px; background: var(--c-blue); }
.hb-search { display: flex; align-items: center; gap: .4rem; padding: 0 1rem; height: 46px; width: min(280px, 26vw); background: #eaf5ff; border-radius: 999px; color: #5b7aa6; }
.hb-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 .95rem var(--font-ui); color: var(--ink); outline: none; }
.hb-search:focus-within { box-shadow: 0 0 0 3px rgba(0,129,252,.28); background: #fff; }
.theme-lise .hb-header { background: rgba(13,27,42,.9); }
.theme-lise .hb-nav a, .theme-lise .hb-logo__tag { color: #cfe3ff; } .theme-lise .hb-nav a svg { color: #8ab3e6; }
.theme-lise .hb-nav a.is-active { color: #6fd8de; } .theme-lise .hb-nav a.is-active::after { background: #01C5CD; } .theme-lise .hb-nav a.is-active svg { color: #6fd8de; }
.theme-lise .hb-search { background: #16324c; color: #9db3c6; } .theme-lise .hb-search input { color: #e8f1f8; }
.theme-lise .hb-logo img { filter: brightness(1.15); }

/* ---- Ana sayfa hero ---- */
.hb-hero2 { position: relative; overflow: hidden; padding: clamp(1.2rem, 3vw, 2.2rem) 0 clamp(1.2rem, 3vw, 2.4rem); background:
    radial-gradient(120% 60% at 15% 100%, #d9f4ff 0, transparent 60%), radial-gradient(90% 55% at 95% 0, #cbf3fd 0, transparent 60%), linear-gradient(180deg, #f2fbff, #f7fcff); }
.hb-hero2::before, .hb-hero2::after { content: ""; position: absolute; left: -10%; right: -10%; height: 200px; border-radius: 50%; background: #ffffff; opacity: .7; z-index: 0; }
.hb-hero2::before { bottom: -130px; } .hb-hero2::after { top: -160px; opacity: .5; }
.hb-hero2__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(250px, 1fr) minmax(300px, 1.05fr) minmax(330px, 1.25fr); align-items: center; gap: .5rem 1rem; }
.hb-script { font-family: var(--font-hand); font-weight: 400; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.02; color: var(--c-navy); margin: 0 0 1rem; transform: rotate(-3deg); transform-origin: left; letter-spacing: 0; }
.hb-script__a { display: block; position: relative; width: fit-content; }
.hb-script__a::after { content: ""; position: absolute; left: 0; right: -8%; bottom: -.08em; height: .2em; border-radius: 999px; background: var(--c-yellow); transform: rotate(-1.5deg); z-index: -1; }
.hb-hero2 .hb-lead { font: 400 1.05rem/1.55 var(--font-ui); max-width: 30ch; color: #2e4470; }
.hb-cta { display: inline-flex; align-items: center; gap: .9rem; margin-top: .9rem; padding: .55rem .6rem .55rem 1.6rem; background: var(--c-navy); color: #fff; border-radius: 999px; font: 600 1.25rem var(--font-ui); text-decoration: none; box-shadow: 0 10px 22px -8px rgba(0,66,167,.6); transition: transform .15s, box-shadow .15s; }
.hb-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -8px rgba(0,66,167,.7); }
.hb-cta__ic { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; color: var(--c-navy); }
.hb-hero2__art { position: relative; display: grid; place-items: end center; min-height: 380px; }
.hb-hero2__art .hb-pose { position: relative; z-index: 2; height: auto; width: clamp(240px, 27vw, 340px); filter: drop-shadow(0 22px 20px rgba(0,66,167,.22)); animation: hb-bob 5s ease-in-out infinite; }
.hb-hero2__art::before { content: ""; position: absolute; left: 50%; bottom: 3%; width: 82%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, #fff 0, #ffffffcc 35%, rgba(203,243,253,0) 70%); z-index: 1; }
.hb-bubble { position: absolute; left: 6%; top: 2%; z-index: 3; display: flex; gap: .3rem; align-items: center; justify-content: center; width: 4.4rem; height: 3.2rem; background: var(--c-yellow); border-radius: 55% 45% 50% 50% / 60% 55% 45% 40%; transform: rotate(-6deg); box-shadow: 0 8px 16px -8px rgba(254,197,48,.9); animation: hb-float 4s ease-in-out infinite; }
.hb-bubble::after { content: ""; position: absolute; left: 22%; bottom: -.55rem; border: .6rem solid transparent; border-top-color: var(--c-yellow); border-bottom: 0; transform: rotate(18deg); }
.hb-bubble i { width: .55rem; height: .55rem; border-radius: 50%; background: #fff; }
.hb-spark { position: absolute; z-index: 3; background: var(--c-yellow); border-radius: 999px; }
.hb-spark--1 { right: 4%; top: 12%; width: .5rem; height: 2.4rem; transform: rotate(28deg); } .hb-spark--2 { right: 10%; top: 8%; width: .5rem; height: 1.5rem; transform: rotate(-12deg); }
@keyframes hb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hb-hero2__levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }

/* kademe kartları (ana sayfa + Öğren) */
.hb-lv { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; border-radius: 26px; text-decoration: none; color: var(--ink); overflow: hidden; box-shadow: 0 16px 30px -18px rgba(0,66,167,.5), inset 0 0 0 2px rgba(255,255,255,.7); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 26%, #fff), color-mix(in srgb, var(--c) 8%, #fff)); transition: transform .2s, box-shadow .2s; }
.hb-lv:hover { transform: translateY(-6px); box-shadow: 0 24px 36px -18px rgba(0,66,167,.55), inset 0 0 0 2px var(--c); }
.hb-lv__art { display: grid; place-items: end center; flex: 1; padding: 1rem .3rem 0; }
.hb-lv__art .hb-pose { height: auto; width: 100%; max-width: 150px; max-height: 250px; object-fit: contain; filter: drop-shadow(0 10px 8px rgba(0,66,167,.18)); transition: transform .3s; }
.hb-lv:hover .hb-pose { transform: translateY(-5px) scale(1.04) rotate(-1deg); }
.hb-lv__foot { display: flex; align-items: center; justify-content: space-between; gap: .3rem; padding: .3rem .5rem .8rem .6rem; }
.hb-lv__name { font: 400 1.5rem/1 var(--font-hand); padding: .25rem .6rem; border-radius: 10px 14px 12px 16px; background: var(--c); color: #0a2a63; transform: rotate(-2deg); }
.hb-lv--ortaokul .hb-lv__name { color: #fff; } .hb-lv--lise .hb-lv__name { color: #06343a; }
.hb-lv__go { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--c); color: #0a2a63; box-shadow: 0 6px 12px -6px rgba(0,0,0,.4); flex: none; }
.hb-lv--ortaokul .hb-lv__go { color: #fff; }

/* ilke şeridi */
.hb-strip { list-style: none; margin: 1.2rem 0 0; padding: .9rem 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: 22px; box-shadow: 0 12px 30px -20px rgba(0,66,167,.5); border: 1px solid #dcecf7; }
.hb-strip li { display: flex; align-items: center; gap: .9rem; padding: .3rem 1rem; }
.hb-strip li + li { border-left: 1px solid #e3eef6; }
.hb-strip__ic { display: grid; place-items: center; flex: none; width: 3.4rem; height: 3.4rem; color: var(--t); background: color-mix(in srgb, var(--t) 13%, #fff); border-radius: 18px; }
.hb-strip strong { display: block; font: 600 1.1rem var(--font-ui); color: #0a2a63; } .hb-strip small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.3; }

/* ana sayfa alt bölümleri */
.hb-home2 { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(260px, 1fr); gap: 2rem; padding: 2rem 0 2.4rem; align-items: start; }
.hb-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.hb-sec-head .hb-h2 { margin: 0; font-size: 1.35rem; display: flex; align-items: center; gap: .55rem; color: #0a2a63; }
.hb-dash { width: 1.1rem; height: .38rem; border-radius: 4px; background: var(--c-yellow); display: inline-block; }
.hb-more { display: inline-flex; align-items: center; gap: .25rem; font: 500 .9rem var(--font-ui); color: #35507f; text-decoration: none; padding: .2rem .3rem .2rem .7rem; background: #eaf5ff; border-radius: 999px; }
.hb-more:hover { background: var(--c-blue); color: #fff; }
.hb-pop { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; }
.hb-pcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 24px -16px rgba(0,66,167,.5); border: 1px solid #e0edf6; transition: transform .2s, box-shadow .2s; }
.hb-pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -16px rgba(0,66,167,.6); }
.hb-pcard__art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 32%, #fff), color-mix(in srgb, var(--c) 10%, #fff)); }
.hb-pcard__art span { font-size: 3rem; filter: drop-shadow(0 6px 6px rgba(0,0,0,.12)); transition: transform .25s; } .hb-pcard:hover .hb-pcard__art span { transform: scale(1.12) rotate(-4deg); }
.hb-pcard__art em { position: absolute; left: .6rem; top: .6rem; font: 600 .72rem var(--font-ui); font-style: normal; padding: .1rem .55rem; background: rgba(255,255,255,.9); border-radius: 999px; color: #0a2a63; }
.hb-pcard__title { padding: .7rem .85rem .1rem; font: 600 1rem/1.25 var(--font-ui); color: #0a2a63; }
.hb-pcard__meta { padding: 0 .85rem .85rem; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.hb-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; }
.hb-tool { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; text-decoration: none; color: var(--ink); background: #fff; border-radius: 20px; border: 1px solid #e0edf6; box-shadow: 0 8px 20px -16px rgba(0,66,167,.5); transition: transform .2s; }
.hb-tool:hover { transform: translateY(-3px); border-color: var(--t); }
.hb-tool__ic { display: grid; place-items: center; flex: none; width: 3.1rem; height: 3.1rem; border-radius: 16px; background: color-mix(in srgb, var(--t) 16%, #fff); color: var(--t); }
.hb-tool strong { display: block; font: 600 .98rem/1.2 var(--font-ui); color: #0a2a63; } .hb-tool small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.25; margin-top: .1rem; }
.hb-acts { display: flex; flex-direction: column; gap: .7rem; }
.hb-act { display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; background: #fff; border-radius: 18px; border: 1px solid #e0edf6; text-decoration: none; color: var(--ink); box-shadow: 0 8px 20px -16px rgba(0,66,167,.5); transition: transform .2s; }
.hb-act:hover { transform: translateX(3px); border-color: var(--c-blue); }
.hb-act__ic { display: grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem; border-radius: 14px; background: #e6f1ff; color: var(--c-blue); }
.hb-act strong { display: block; font: 600 .95rem/1.25 var(--font-ui); color: #0a2a63; } .hb-act small { display: block; color: var(--muted); font-size: .8rem; margin-top: .1rem; }
.hb-act > svg:last-child { margin-left: auto; color: #8aa3c4; flex: none; }
.hb-side-cta { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; padding: .7rem 1rem; text-decoration: none; color: var(--ink); background: linear-gradient(135deg, #ffe7e3, #fff3f1); border-radius: 20px; border: 1px solid #ffd5cf; }
.hb-side-cta strong { display: block; font: 600 1rem var(--font-ui); color: #a33a2a; } .hb-side-cta small { color: #7a4a43; font-size: .85rem; }
.hb-band { margin-top: 0; }

/* ---- Altbilgi (açık) ---- */
.hb-footer { background: #fff; color: var(--ink); border-top: 1px solid #dcecf7; padding: 1.4rem 0; }
.hb-footer__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; grid-template-columns: none; }
.hb-footer__logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 400 1.1rem var(--font-hand); color: var(--c-navy); }
.hb-footer__logo img { height: 34px; width: auto; }
.hb-footer__note { margin: .3rem 0 0; font-size: .84rem; color: var(--muted); }
.hb-footer__links { display: flex; gap: 1.2rem; flex-wrap: wrap; font: 500 .92rem var(--font-ui); }
.hb-footer a { color: #35507f; text-decoration: none; } .hb-footer a:hover { color: var(--c-blue); text-decoration: underline; }
.theme-lise .hb-footer { background: #08111d; border-color: #24384d; } .theme-lise .hb-footer a, .theme-lise .hb-footer__logo { color: #cfe3ff; } .theme-lise .hb-footer__note { color: #9db3c6; }

/* ---- Bölüm sayfası başlıkları ve maskot görselleri ---- */
.hb-level__art .hb-pose { width: auto; height: 240px; filter: drop-shadow(0 12px 10px rgba(0,66,167,.2)); }
.hb-topic__art .hb-mascot { filter: drop-shadow(0 8px 8px rgba(0,66,167,.2)); }
.hb-404 .hb-pose { margin-bottom: .5rem; }
.hb-quiz__fb img { flex: none; }
.hb-h2 { color: #0a2a63; } .theme-lise .hb-h2 { color: #e8f1f8; }

/* ---- Yeni sayfalar: başlık bandı, Keşfet, Öğren, Oyunlar ---- */
.hb-pagehead { padding: 1.6rem 0 1rem; }
.hb-pagehead h1 { margin: .2rem 0 .3rem; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #0a2a63; }
.hb-pagehead p { margin: 0; color: var(--muted); max-width: 60ch; }
.hb-filter { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: 1rem 0 1.4rem; }
.hb-filter form { display: flex; gap: .5rem; flex: 1 1 320px; max-width: 460px; }
.hb-filter input[type=search] { flex: 1; min-width: 0; height: 46px; padding: 0 1.1rem; border-radius: 999px; border: 2px solid #cfe4fb; font: 400 1rem var(--font-ui); background: #fff; color: var(--ink); }
.hb-filter input[type=search]:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(0,129,252,.2); }
.hb-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .95rem; border-radius: 999px; background: #fff; border: 2px solid #d9e8f5; font: 500 .9rem var(--font-ui); color: #35507f; text-decoration: none; cursor: pointer; }
.hb-chip:hover { border-color: var(--c-blue); } .hb-chip.is-on { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.hb-sitecards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; padding-bottom: 3rem; }
.hb-empty { padding: 2rem; text-align: center; background: #fff; border-radius: 20px; border: 2px dashed #cfe4fb; color: var(--muted); }
.hb-empty img { display: block; margin: 0 auto .6rem; }
.hb-ogren { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 1rem 0 2rem; }
.hb-ogren .hb-lv { min-height: 420px; } .hb-ogren .hb-lv__art .hb-pose { max-width: 190px; max-height: 320px; }
.hb-lvtext { padding: .2rem 1rem 0; text-align: center; } .hb-lvtext b { display: block; font: 600 1.05rem var(--font-ui); color: #0a2a63; } .hb-lvtext span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.hb-ogren__item { display: flex; flex-direction: column; gap: .7rem; }

/* Oyunlar */
.hb-games { display: grid; gap: 1.6rem; padding-bottom: 3rem; }
.hb-game { background: #fff; border-radius: 26px; border: 1px solid #dcecf7; box-shadow: 0 14px 34px -22px rgba(0,66,167,.55); padding: 1.4rem clamp(1rem, 3vw, 2rem) 1.6rem; scroll-margin-top: 5.5rem; }
.hb-game__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.hb-game__ic { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 18px; background: color-mix(in srgb, var(--t) 15%, #fff); color: var(--t); flex: none; }
.hb-game h2 { margin: 0; font-size: 1.5rem; color: #0a2a63; } .hb-game__head p { margin: 0; color: var(--muted); font-size: .95rem; }
.hb-gbtns { display: flex; gap: .6rem; flex-wrap: wrap; }
.hb-gbtn { font: 600 1rem var(--font-ui); padding: .7rem 1.3rem; border-radius: 999px; border: 0; cursor: pointer; background: var(--c-blue); color: #fff; box-shadow: 0 5px 0 #0067c9; transition: transform .1s; }
.hb-gbtn:hover { transform: translateY(-1px); } .hb-gbtn:active { transform: translateY(3px); box-shadow: 0 2px 0 #0067c9; }
.hb-gbtn--y { background: var(--c-yellow); color: #4a3400; box-shadow: 0 5px 0 #d29f10; } .hb-gbtn--r { background: var(--c-coral); box-shadow: 0 5px 0 #dc5242; } .hb-gbtn--t { background: var(--c-teal); color: #043c40; box-shadow: 0 5px 0 #01a1a8; }
.hb-gbtn--g { background: #eaf5ff; color: #0a2a63; box-shadow: 0 5px 0 #c6dcf3; }
.hb-gstage { margin-top: 1.1rem; }
.hb-qprog { height: 10px; border-radius: 99px; background: #e4f0fa; overflow: hidden; margin-bottom: .9rem; } .hb-qprog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c-teal), var(--c-blue)); transition: width .3s; }
.hb-qcard { background: #f4faff; border: 2px solid #d9ebfa; border-radius: 22px; padding: 1.2rem 1.3rem; }
.hb-qcard .hb-quiz__scn { font-style: italic; color: var(--muted); margin: 0 0 .3rem; } .hb-qcard .hb-quiz__q { font: 600 1.2rem/1.3 var(--font-ui); margin: 0 0 .8rem; color: #0a2a63; }
.hb-qres { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; } .hb-qres img { flex: none; }
.hb-qres h3 { margin: 0 0 .2rem; font-size: 1.6rem; color: #0a2a63; }
.hb-msg { max-width: 460px; margin: 0 auto; background: #fff; border: 2px solid #cfe4fb; border-radius: 26px 26px 26px 6px; padding: 1rem 1.2rem; box-shadow: 0 10px 22px -16px rgba(0,66,167,.6); }
.hb-msg__top { display: flex; justify-content: space-between; font: 600 .78rem var(--font-ui); text-transform: uppercase; letter-spacing: .05em; color: var(--c-blue); margin-bottom: .4rem; }
.hb-msg__who { font: 600 1rem var(--font-ui); color: #0a2a63; } .hb-msg__text { margin: .4rem 0 0; font-size: 1.05rem; line-height: 1.5; word-break: break-word; }
.hb-tzbtns { display: flex; justify-content: center; gap: 1rem; margin-top: 1.1rem; }
.hb-tzfb { max-width: 520px; margin: 1rem auto 0; display: flex; gap: .9rem; align-items: center; padding: .8rem 1rem; border-radius: 18px; font-weight: 500; }
.hb-tzfb.is-ok { background: #e5f8ee; color: #0b5a34; } .hb-tzfb.is-bad { background: #fff0e6; color: #7a3410; } .hb-tzfb strong { display: block; }
.hb-gen { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hb-genout { flex: 1 1 320px; min-width: 0; padding: 1rem 1.2rem; background: #f4faff; border: 2px dashed #a9d4f5; border-radius: 18px; font: 600 clamp(1.15rem, 3vw, 1.6rem) var(--font-ui); color: #0a2a63; word-break: break-word; text-align: center; }
.hb-gnote { font-size: .88rem; color: var(--muted); margin: .8rem 0 0; }
.hb-visually { position: absolute; left: -999px; }

/* ---- Duyarlı ---- */
@media (max-width: 1100px) {
    .hb-hero2__in { grid-template-columns: 1fr 1fr; } .hb-hero2__levels { grid-column: 1 / -1; }
    .hb-search { width: min(220px, 22vw); }
    .hb-nav a { padding: .35rem .55rem .5rem; }
    .hb-home2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .hb-header__in { grid-template-columns: 1fr; gap: .2rem; justify-items: center; padding: .4rem 0 .2rem; }
    .hb-search { display: none; }
    .hb-nav { width: 100%; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding-bottom: .1rem; } .hb-nav::-webkit-scrollbar { display: none; }
    .hb-nav a { flex: none; }
    .hb-hero2__in { grid-template-columns: 1fr; text-align: center; }
    .hb-script { transform: rotate(-2deg); transform-origin: center; } .hb-script__a { margin-inline: auto; }
    .hb-hero2 .hb-lead { margin-inline: auto; }
    .hb-hero2__art { min-height: 300px; order: -1; } .hb-hero2__art .hb-pose { width: 220px; }
    .hb-strip { grid-template-columns: 1fr 1fr; gap: .4rem; } .hb-strip li + li { border-left: 0; }
    .hb-ogren { grid-template-columns: 1fr; }
    .hb-footer__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
    .hb-strip { grid-template-columns: 1fr; }
    .hb-lv { min-height: 280px; } .hb-lv__name { font-size: 1.15rem; }
    .hb-hero2__levels { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { .hb-hero2__art .hb-pose, .hb-bubble { animation: none; } }

/* ---- Geniş yerleşim: 1500px ---- */
.hb-wrap { width: min(1500px, 100% - 3rem); }
.hb-hero2__in { grid-template-columns: minmax(300px, 1fr) minmax(360px, 1.05fr) minmax(460px, 1.45fr); gap: .5rem 2rem; }
.hb-script { font-size: clamp(2.2rem, 3.6vw, 4rem); }
.hb-hero2 .hb-lead { font-size: 1.15rem; max-width: 32ch; }
.hb-hero2__art { min-height: 460px; }
.hb-hero2__art .hb-pose { width: clamp(260px, 26vw, 430px); }
.hb-lv { min-height: 420px; } .hb-lv__art .hb-pose { max-width: 190px; max-height: 320px; }
.hb-lv__name { font-size: 1.7rem; }
.hb-home2 { grid-template-columns: minmax(0, 3fr) minmax(320px, 1fr); gap: 2.5rem; }
.hb-pop { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.hb-tools { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.hb-sitecards { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.hb-cards { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.theme-ogretmenler .hb-cards, .theme-veliler .hb-cards { grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); }
.hb-ogren { gap: 2rem; } .hb-ogren .hb-lv { min-height: 520px; } .hb-ogren .hb-lv__art .hb-pose { max-width: 240px; max-height: 400px; }
.hb-level__art .hb-pose { height: 290px; }
.hb-games { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.hb-games .hb-game:first-child, .hb-games .hb-game:nth-child(2) { grid-column: span 1; }
.hb-strip li { padding: .3rem 1.6rem; }
/* okunacak metin sayfaları dar kalır */
.hb-topic__wrap { max-width: 860px; } .hb-page { max-width: 820px; }

/* Konu sayfası: sol içerik + sağ sidebar, site genişliğiyle (.hb-wrap) sınırlı */
.hb-topicgrid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(240px, .85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.hb-topic__main.hb-topic__wrap { max-width: none; }
.hb-topic__side { position: sticky; top: 5.5rem; display: flex; flex-direction: column; gap: 1rem; }
.hb-tsidecard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.hb-tside-h { margin: 0 0 .7rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hb-tside-lvl { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.hb-tside-lvl__emoji { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: color-mix(in srgb, var(--c) 18%, #fff); font-size: 1.3rem; }
.hb-tside-lvl strong { display: block; font-size: 1rem; } .hb-tside-lvl small { display: block; color: var(--muted); font-size: .82rem; }
.hb-tside-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .1rem; }
.hb-tside-list li { border-top: 1px solid var(--line); } .hb-tside-list li:first-child { border-top: 0; }
.hb-tside-list a { display: block; padding: .55rem .1rem; font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.hb-tside-list a:hover { color: var(--c); }
.hb-tside-cta { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.hb-tside-cta span[aria-hidden] { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: color-mix(in srgb, var(--c) 18%, #fff); color: var(--c); }
.hb-tside-cta strong { display: block; } .hb-tside-cta small { display: block; color: var(--muted); font-size: .82rem; }
.theme-lise .hb-tsidecard { background: #132a40; border-color: #24384d; color: #e8f1f8; box-shadow: none; }
.theme-lise .hb-tside-list li { border-color: #24384d; } .theme-lise .hb-tside-list a, .theme-lise .hb-tside-lvl, .theme-lise .hb-tside-cta { color: #e8f1f8; }
@media (max-width: 1000px) { .hb-topicgrid { grid-template-columns: minmax(0, 1fr); } .hb-topic__side { position: static; flex-direction: row; flex-wrap: wrap; min-width: 0; } .hb-tsidecard { flex: 1 1 220px; min-width: 0; } }
@media (max-width: 600px) { .hb-topic__side { flex-direction: column; } }
@media print { .hb-topic__side { display: none; } .hb-topicgrid { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .hb-hero2__in { grid-template-columns: 1fr 1fr; } .hb-home2 { grid-template-columns: 1fr; } .hb-games { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .hb-hero2__in { grid-template-columns: 1fr; } .hb-hero2__art { min-height: 300px; } .hb-hero2__art .hb-pose { width: 230px; } .hb-lv { min-height: 300px; } .hb-ogren .hb-lv { min-height: 420px; } .hb-wrap { width: min(1500px, 100% - 2rem); } }
.hb-card__meta { color: #0a2a63; filter: none; font-weight: 700; }
.theme-lise .hb-card__meta { color: #7ee7dc; }

/* =====================================================================
   v5 — kademe iç sayfası (ilkokul / ortaokul / lise)
   ===================================================================== */
.theme-ilkokul { background: #fffdf6; } .theme-ortaokul { background: #f4f9ff; } .theme-lise { background: #0d1b2a; }
.hb-lvhero { position: relative; overflow: hidden; padding: 1.3rem 0 2rem; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, #fff) 0, #fff 100%); }
.hb-lvhero__bg { position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 90% at 8% 40%, color-mix(in srgb, var(--c) 45%, transparent) 0, transparent 60%), radial-gradient(50% 80% at 100% 10%, #cbf3fd 0, transparent 60%); opacity: .8; }
.hb-lvhero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(320px, 1.1fr) minmax(280px, .9fr) minmax(0, 1.8fr); grid-template-areas: "crumb crumb crumb" "text mascot scene"; align-items: center; gap: .4rem 1.5rem; min-height: 440px; }
.hb-crumb2 { grid-area: crumb; display: flex; gap: .6rem; align-items: center; font: 400 .95rem var(--font-ui); color: #35507f; }
.hb-crumb2 a { color: inherit; text-decoration: none; } .hb-crumb2 a:hover { text-decoration: underline; } .hb-crumb2 b { color: #0a2a63; font-weight: 600; }
.hb-lvhero__text { grid-area: text; position: relative; z-index: 2; }
.hb-brush { margin: .5rem 0 .6rem -1rem; font: 700 clamp(2.8rem, 6vw, 5.4rem)/1 var(--font-ui); color: #0a2a63; letter-spacing: -.02em; }
.hb-brush span { display: inline-block; padding: .05em .55em .12em .5em; background: color-mix(in srgb, var(--c) 78%, #fff); border-radius: 46% 54% 42% 58% / 62% 48% 52% 38%; transform: rotate(-2.2deg); box-shadow: 0 10px 0 -2px color-mix(in srgb, var(--c) 55%, transparent); }
.hb-script2 { margin: 0 0 .8rem; font: 400 clamp(1.6rem, 2.6vw, 2.5rem)/1.08 var(--font-hand); color: var(--c-navy); transform: rotate(-3deg); transform-origin: left; max-width: 12ch; }
.hb-lvhero__p { margin: 0 0 1rem; font: 400 1.05rem/1.55 var(--font-ui); color: #26406c; max-width: 34ch; }
.hb-lvhero__mascot { grid-area: mascot; align-self: end; display: grid; place-items: end center; z-index: 2; }
.hb-lvhero__mascot .hb-pose { width: clamp(240px, 24vw, 360px); height: auto; filter: drop-shadow(0 20px 16px rgba(0,66,167,.22)); animation: hb-bob 5s ease-in-out infinite; }
.hb-lvhero__scene { grid-area: scene; position: relative; align-self: stretch; display: grid; place-items: center; min-height: 340px; }
.hb-scene--ilkokul img { width: 100%; height: auto; display: block; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 84%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 84%, transparent 100%); mask-composite: intersect; }
.hb-scene--ortaokul, .hb-scene--lise { border-radius: 40px; margin: .6rem 0; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 30%, #fff), color-mix(in srgb, var(--c) 8%, #fff)); overflow: hidden; }
.hb-scene--lise { background: linear-gradient(140deg, #14314a, #0d2033); box-shadow: inset 0 0 0 2px #24384d; }
.hb-chipfloat { position: absolute; display: grid; place-items: center; width: 5.4rem; height: 5.4rem; border-radius: 26px; background: #fff; color: var(--c); box-shadow: 0 14px 26px -12px rgba(0,66,167,.5); animation: hb-float 5s ease-in-out infinite; }
.hb-scene--lise .hb-chipfloat { background: #16324c; color: #6fd8de; box-shadow: 0 14px 26px -12px rgba(0,0,0,.6); }
.cf1 { left: 12%; top: 16%; } .cf2 { right: 14%; top: 30%; animation-delay: -1.5s; } .cf3 { left: 30%; bottom: 14%; animation-delay: -3s; }
.hb-scenetxt { position: absolute; right: 8%; bottom: 8%; max-width: 12em; text-align: right; font: 400 1.7rem/1.1 var(--font-hand); color: var(--c-navy); transform: rotate(-3deg); }
.hb-scene--lise .hb-scenetxt { color: #cfe3ff; }
.theme-lise .hb-lvhero { background: linear-gradient(180deg, #102338, #0d1b2a); } .theme-lise .hb-lvhero::after { background: #0d1b2a; } .theme-lise .hb-lvhero__bg { opacity: .35; }
.theme-lise .hb-brush { color: #06343a; } .theme-lise .hb-script2, .theme-lise .hb-crumb2, .theme-lise .hb-crumb2 b, .theme-lise .hb-lvhero__p { color: #cfe3ff; }
/* sekmeler */
.hb-tabs2 { position: relative; z-index: 3; margin-top: -1.2rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; padding: .5rem; background: #fff; border-radius: 22px; box-shadow: 0 14px 30px -20px rgba(0,66,167,.55); border: 1px solid #dcecf7; }
.hb-tabs2 a { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem .6rem; border-radius: 16px; text-decoration: none; font: 500 1rem var(--font-ui); color: #35507f; transition: background .15s; }
.hb-tabs2 a:hover { background: #eaf5ff; } .hb-tabs2 a.is-on { background: color-mix(in srgb, var(--c) 30%, #fff); color: #0a2a63; font-weight: 600; }
.hb-tabs2 svg { color: var(--c-blue); flex: none; } .hb-tabs2 a.is-on svg { color: #0a2a63; }
.theme-lise .hb-tabs2 { background: #132a40; border-color: #24384d; } .theme-lise .hb-tabs2 a { color: #cfe3ff; } .theme-lise .hb-tabs2 a:hover { background: #1a3a58; } .theme-lise .hb-tabs2 a.is-on { color: #06343a; }
/* içerik ızgarası */
.hb-lvgrid { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 3fr) minmax(250px, .8fr); gap: 1.2rem; padding: 1.4rem 0 3rem; align-items: start; }
.hb-lvcard { background: #fff; border-radius: 24px; border: 1px solid #e0edf6; box-shadow: 0 12px 28px -20px rgba(0,66,167,.5); padding: 1.3rem 1.4rem; }
.theme-lise .hb-lvcard { background: #132a40; border-color: #24384d; color: #e8f1f8; box-shadow: none; }
.hb-lvmain { display: grid; gap: 1.2rem; min-width: 0; }
.hb-hand { margin: 0 0 .5rem; font: 400 1.7rem/1.1 var(--font-hand); color: var(--c-navy); transform: rotate(-2deg); transform-origin: left; }
.theme-lise .hb-hand { color: #9fd2ff; }
.hb-lvwelcome p, .hb-lvfamily p { margin: 0 0 .8rem; line-height: 1.55; font-size: .98rem; }
.hb-lvwelcome__img { display: block; width: 100%; max-width: 250px; height: auto; margin: .4rem auto 0; }

/* Sol sidebar kaldırıldı: sadece sağda "Ailemle Birlikte" kartı kalıyor. */
.hb-lvgrid--nosidebar-left { grid-template-columns: minmax(0, 3fr) minmax(250px, .8fr); }
.hb-lvwelcome2 { background: linear-gradient(120deg, color-mix(in srgb, var(--c) 16%, #fff), #fff); }
.hb-lvwelcome2 p { margin: 0; line-height: 1.6; }
.theme-lise .hb-lvwelcome2 { background: linear-gradient(120deg, color-mix(in srgb, var(--c) 14%, #132a40), #132a40); }
@media (max-width: 1200px) { .hb-lvgrid--nosidebar-left { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .hb-lvgrid--nosidebar-left { grid-template-columns: 1fr; } }
.hb-lvfamily { text-align: center; } .hb-lvfamily .hb-hand { text-align: left; } .hb-lvfamily img { display: block; margin: .3rem auto 1rem; width: 150px; height: auto; }
.hb-lvfamily .hb-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.4rem; font-size: 1rem; }
.hb-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .8rem; }
.hb-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1rem .8rem 2.7rem; min-height: 190px; text-align: center; text-decoration: none; color: #0a2a63; background: var(--p); border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.hb-tile:hover { transform: translateY(-5px); box-shadow: 0 16px 24px -16px rgba(0,66,167,.55); }
.hb-tile__emoji { font-size: 3.1rem; line-height: 1.1; filter: drop-shadow(0 6px 5px rgba(0,0,0,.14)); margin-top: .3rem; transition: transform .25s; } .hb-tile:hover .hb-tile__emoji { transform: scale(1.12) rotate(-5deg); }
.hb-tile__title { font: 600 1rem/1.25 var(--font-ui); }
.hb-tile__go { position: absolute; left: 50%; bottom: .7rem; transform: translateX(-50%); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; color: var(--c-blue); box-shadow: 0 5px 10px -5px rgba(0,66,167,.5); }
.theme-lise .hb-tile { background: #16324c; color: #e8f1f8; } .theme-lise .hb-tile__go { background: #0d1b2a; color: #6fd8de; }
.hb-acts3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .8rem; }
.hb-act3 { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 20px; text-decoration: none; color: var(--ink); background: linear-gradient(120deg, color-mix(in srgb, var(--t) 14%, #fff), #fff); border: 1px solid color-mix(in srgb, var(--t) 22%, #fff); transition: transform .2s; }
.hb-act3:hover { transform: translateY(-3px); border-color: var(--t); }
.hb-act3__ic { display: grid; place-items: center; flex: none; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: color-mix(in srgb, var(--t) 18%, #fff); color: var(--t); }
.hb-act3 strong { display: block; font: 600 1.05rem/1.2 var(--font-ui); color: #0a2a63; } .hb-act3 small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.3; margin-top: .15rem; }
.theme-lise .hb-act3 { background: #16324c; border-color: #24384d; } .theme-lise .hb-act3 strong { color: #e8f1f8; } .theme-lise .hb-act3 small { color: #9db3c6; }
@media (max-width: 1200px) { .hb-lvgrid { grid-template-columns: 1fr 1fr; } .hb-lvmain { grid-column: 1 / -1; grid-row: 1; } .hb-lvhero__in { grid-template-columns: 1fr 1fr; grid-template-areas: "crumb crumb" "text mascot" "scene scene"; } .hb-lvhero__scene { min-height: 260px; } }
@media (max-width: 860px) {
    .hb-tabs2 { grid-template-columns: repeat(2, 1fr); margin-top: 0; } .hb-tabs2 a { justify-content: flex-start; }
    .hb-lvgrid { grid-template-columns: 1fr; } .hb-lvhero__in { grid-template-columns: 1fr; grid-template-areas: "crumb" "text" "mascot" "scene"; text-align: left; }
    .hb-lvhero__mascot .hb-pose { width: 230px; } .hb-brush { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .hb-lvhero__mascot .hb-pose, .hb-chipfloat { animation: none; } }
.hb-hand, .theme-ilkokul .hb-hand, .theme-ortaokul .hb-hand, .theme-lise .hb-hand { font-family: var(--font-hand); font-weight: 400; }
.hb-tabs2 { --c: var(--accent, #FEC530); }
.hb-tabs2 a.is-on { background: color-mix(in srgb, var(--c) 34%, #fff); }
.hb-script2 { max-width: 17ch; }
.hb-rulecard { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-1.5deg); width: min(78%, 420px); display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.4rem; text-decoration: none; background: #fff; color: #0a2a63; border-radius: 26px 26px 26px 6px; box-shadow: 0 18px 30px -16px rgba(0,66,167,.55); border: 2px solid color-mix(in srgb, var(--c) 45%, #fff); }
.hb-rulecard__h { font: 600 .85rem var(--font-ui); text-transform: uppercase; letter-spacing: .06em; color: var(--c-blue); }
.hb-rulecard__t { font: 600 1.35rem/1.3 var(--font-ui); } .hb-rulecard__l { font: 500 .92rem var(--font-ui); color: var(--c-blue); }
.theme-lise .hb-rulecard { background: #16324c; color: #e8f1f8; border-color: #2d4660; } .theme-lise .hb-rulecard__h, .theme-lise .hb-rulecard__l { color: #6fd8de; }
.cf1 { left: 8%; top: 10%; } .cf2 { right: 8%; top: 12%; } .cf3 { left: 10%; bottom: 12%; }
.hb-lvhero__in:has(.hb-scene--ortaokul) { grid-template-columns: minmax(300px, 1fr) minmax(260px, .85fr) minmax(420px, 1.7fr); }
.hb-scene--ortaokul { margin-left: -2.5rem; }
@media (max-width: 1200px) { .hb-lvhero__in:has(.hb-scene--ortaokul) { grid-template-columns: 1fr 1fr; } .hb-scene--ortaokul { margin-left: 0; } }

/* =====================================================================
   Lise: artık koyu değil — ilkokul/ortaokul ile aynı aydınlık aile, mavi-sarı vurgu
   (Bu blok yukarıdaki .theme-lise koyu tema kurallarını geçersiz kılar.)
   ===================================================================== */
.theme-lise { --bg: #f2f7ff; --ink: #0a2a63; --muted: #52658f; --line: #d7e6f7; color: var(--ink); background: #f2f7ff; }
.theme-lise .hb-header { background: rgba(255,255,255,.88); border-color: transparent; }
.theme-lise .hb-logo, .theme-lise .hb-nav a, .theme-lise .hb-logo__tag, .theme-lise .hb-wordmark .l-h, .theme-lise .hb-wordmark .l-i, .theme-lise .hb-logo .l-h, .theme-lise .hb-logo .l-i { color: var(--c-navy); }
.theme-lise .hb-nav a svg { color: #5b7aa6; } .theme-lise .hb-nav a:hover { background: rgba(0,129,252,.08); }
.theme-lise .hb-nav a.is-active { color: var(--c-blue); } .theme-lise .hb-nav a.is-active::after { background: var(--c-blue); } .theme-lise .hb-nav a.is-active svg { color: var(--c-blue); }
.theme-lise .hb-search { background: #eaf5ff; color: #5b7aa6; } .theme-lise .hb-search input { color: var(--ink); } .theme-lise .hb-logo img { filter: none; }
.theme-lise h1, .theme-lise h2, .theme-lise .hb-h2 { color: #0a2a63; font-family: var(--font-ui); font-weight: 600; }
.theme-lise a, .theme-lise .hb-link { color: #0069cf; }
.theme-lise .hb-eyebrow { font-family: var(--font-ui); letter-spacing: normal; color: var(--c-navy); }
.theme-lise .hb-lead, .theme-lise .hb-crumb, .theme-lise .hb-crumb a { color: var(--muted); }
.theme-lise .hb-steps { display: inline-block; }
.theme-lise .hb-card { background: #fff; border: 2px solid var(--line); border-left: 8px solid var(--c); border-radius: 18px; color: var(--ink); box-shadow: var(--shadow); }
.theme-lise .hb-card::after { content: "→"; } .theme-lise .hb-card:hover { box-shadow: 0 10px 26px rgba(1,197,205,.2); border-color: var(--line); background: #fff; }
.theme-lise .hb-card__emoji { background: color-mix(in srgb, var(--c) 16%, #fff); border-radius: 16px; }
.theme-lise .hb-card__sum { color: var(--muted); } .theme-lise .hb-card__meta { color: #0a2a63; background: color-mix(in srgb, var(--c) 20%, #fff); }
.theme-lise .hb-card__title { color: #0a2a63; } .theme-lise .hb-card, .theme-lise .hb-door { color: var(--ink); }
.theme-lise .hb-topic__head { border-color: var(--line); }
.theme-lise .hb-topic .hb-eyebrow { color: var(--c); }
.theme-lise .hb-rule { background: color-mix(in srgb, var(--c) 18%, #fff); border: 0; border-radius: 14px; color: var(--ink); }
.theme-lise .hb-block__title { font-family: var(--font-ui); text-transform: none; letter-spacing: normal; color: inherit; border-bottom: 0; }
.theme-lise .hb-prose blockquote, .theme-lise .hb-quiz { background: #fff; border: 2px solid var(--line); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow); }
.theme-lise .hb-prose code { background: #eef0fa; color: inherit; }
.theme-lise .hb-prose a, .theme-lise .hb-crumb a:hover { color: #0069cf; }
.theme-lise .hb-quiz__scn { color: var(--muted); }
.theme-lise .hb-opt { background: #f6f7fd; color: var(--ink); border-color: #d5daf4; border-radius: 14px; }
.theme-lise .hb-opt:hover:not(:disabled) { border-color: var(--c); background: #eef1ff; }
.theme-lise .hb-opt.is-right { background: #dcfce7; border-color: #16a34a; } .theme-lise .hb-opt.is-wrong { background: #fee2e2; border-color: #dc2626; }
.theme-lise .hb-quiz__fb { background: #f0fdf4; } .theme-lise .hb-quiz__fb.is-wrong { background: #fff7ed; }
.theme-lise .hb-do { background: color-mix(in srgb, var(--c) 12%, #fff); border: 3px dashed var(--c); border-radius: var(--radius); }
.theme-lise .hb-do::before { content: "⭐"; }
.theme-lise .hb-btn--ghost, .theme-lise .hb-btn.hb-btn--ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.theme-lise .hb-pn { border-color: var(--line); } .theme-lise .hb-pn a { background: #fff; border: 1px solid var(--line); border-radius: 14px; color: #0069cf; }
.theme-lise .hb-footer, .theme-lise .hb-footer:is(*) { background: #fff; border-top: 1px solid #dcecf7; color: var(--ink); }
.theme-lise .hb-footer a, .theme-lise .hb-footer__logo { color: #35507f; } .theme-lise .hb-footer__note { color: var(--muted); }
.theme-lise .hb-step { border-radius: 50%; }
.theme-lise .hb-lvhero { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 20%, #fff) 0, #fff 100%); }
.theme-lise .hb-lvhero::after { background: #fff; } .theme-lise .hb-lvhero__bg { opacity: .8; }
.theme-lise .hb-brush { color: #0a2a63; }
.theme-lise .hb-script2, .theme-lise .hb-crumb2, .theme-lise .hb-crumb2 b, .theme-lise .hb-lvhero__p { color: #26406c; }
.theme-lise .hb-tabs2 { background: #fff; border-color: #dcecf7; } .theme-lise .hb-tabs2 a { color: #35507f; } .theme-lise .hb-tabs2 a:hover { background: #eaf5ff; } .theme-lise .hb-tabs2 a.is-on { color: #0a2a63; }
.theme-lise .hb-lvcard { background: #fff; border-color: #e0edf6; color: var(--ink); box-shadow: 0 12px 28px -20px rgba(0,66,167,.5); }
.theme-lise .hb-hand { color: var(--c-navy); }
.theme-lise .hb-tile { color: #0a2a63; } .theme-lise .hb-tile__go { background: #fff; color: var(--c-blue); }
.theme-lise .hb-act3 { background: linear-gradient(120deg, color-mix(in srgb, var(--t) 14%, #fff), #fff); border-color: color-mix(in srgb, var(--t) 22%, #fff); } .theme-lise .hb-act3 strong { color: #0a2a63; } .theme-lise .hb-act3 small { color: var(--muted); }
.theme-lise .hb-rulecard { background: #fff; color: #0a2a63; border-color: color-mix(in srgb, var(--c) 45%, #fff); } .theme-lise .hb-rulecard__h, .theme-lise .hb-rulecard__l { color: var(--c-blue); }
.theme-lise .hb-scene--lise { background: linear-gradient(140deg, color-mix(in srgb, var(--c) 30%, #fff), color-mix(in srgb, var(--c) 8%, #fff)); box-shadow: none; }
.theme-lise .hb-scenetxt { color: var(--c-navy); }
.theme-lise .hb-tile { background: var(--p); }

/* =====================================================================
   İlkokul hero: gerçek okul manzarası fotoğrafı + üst/alt dalga kesimi
   ===================================================================== */
.hb-lvhero--ilkokul { padding-top: 0; min-height: 480px; }
.hb-lvhero__photo { position: absolute; inset: 0; background-size: cover; background-position: center 62%; z-index: 0; }
.hb-wave-top, .hb-wave-bot { position: absolute; left: 0; width: 100%; height: 46px; z-index: 1; display: block; }
.hb-wave-top { top: 0; } .hb-wave-bot { bottom: 0; }
.hb-lvhero--ilkokul .hb-lvhero__in { position: relative; z-index: 2; padding-top: 2.8rem; }
.hb-lvhero--ilkokul .hb-crumb2 { color: #0a2a63; font-weight: 500; background: rgba(255,255,255,.75); display: inline-flex; padding: .3rem .8rem; border-radius: 999px; backdrop-filter: blur(2px); }
.hb-lvhero--ilkokul .hb-lvhero__p { color: #1c3660; }
.hb-lvhero--ilkokul .hb-brush span { box-shadow: 0 10px 0 -2px color-mix(in srgb, var(--c) 55%, transparent), 0 0 0 6px rgba(255,255,255,.6); }
@media (max-width: 860px) { .hb-lvhero--ilkokul { min-height: 380px; } .hb-lvhero__photo { background-position: center 68%; } }

/* İlkokul hero: sahne görseli ve breadcrumb kaldırıldı → iki sütunlu, ortalanmış */
.hb-lvhero--ilkokul .hb-lvhero__in { grid-template-columns: minmax(320px, 1fr) minmax(340px, 1fr); grid-template-areas: "text mascot"; justify-items: start; }
.hb-lvhero--ilkokul .hb-lvhero__mascot { justify-self: center; }
@media (max-width: 860px) { .hb-lvhero--ilkokul .hb-lvhero__in { grid-template-columns: 1fr; grid-template-areas: "text" "mascot"; } }

/* Header: logo yanında karakter */
.hb-logo__char { height: 52px; width: auto; margin-bottom: -6px; filter: drop-shadow(0 3px 4px rgba(0,66,167,.25)); transition: transform .25s; }
.hb-logo:hover .hb-logo__char { transform: translateY(-2px) rotate(-3deg); }
.hb-logo__word { display: inline-flex; }
.hb-logo__word img { height: 42px; width: auto; }
@media (max-width: 860px) { .hb-logo__char { height: 42px; } }

/* =====================================================================
   İlkokul hero — yeniden tasarım: karakter küçük, sahnenin patikasında
   ===================================================================== */
.hb-lvhero--ilkokul { min-height: 420px; }
.hb-lvhero--ilkokul .hb-lvhero__in { grid-template-columns: 1fr; grid-template-areas: "text"; justify-items: start; min-height: auto; padding-bottom: 2.4rem; }
.hb-lvhero--ilkokul .hb-lvhero__text { max-width: 34rem; position: static; background: rgba(255,255,255,.6); backdrop-filter: blur(3px); border-radius: 28px; padding: 1.2rem 1.4rem 1.5rem; }

/* Figure .hb-lvhero__text içinde: text'in position:static olması sayesinde
   section'a göre konumlanır (masaüstü); mobilde normal akışta, ortalanmış. */
.hb-lvhero__figure { position: absolute; right: 6%; bottom: 34px; z-index: 3; width: clamp(110px, 11vw, 190px); height: auto; pointer-events: none; filter: drop-shadow(0 14px 12px rgba(0,66,167,.28)); animation: hb-bob 5s ease-in-out infinite; }
@media (max-width: 1200px) { .hb-lvhero__figure { right: 4%; width: clamp(100px, 14vw, 160px); } }
@media (max-width: 860px) {
    .hb-lvhero--ilkokul { min-height: 340px; }
    .hb-lvhero__figure { position: static; display: block; margin: 1.4rem auto 0; width: 130px; filter: drop-shadow(0 10px 10px rgba(0,66,167,.25)); }
}
@media (prefers-reduced-motion: reduce) { .hb-lvhero__figure { animation: none; } }

/* Mobilde okunabilirlik: arka plandaki sahne öğeleriyle metin çakışmasın */
@media (max-width: 860px) {
    .hb-lvhero--ilkokul .hb-lvhero__text { background: rgba(255,255,255,.82); backdrop-filter: blur(2px); border-radius: 24px; padding: 1rem 1.1rem 1.3rem; margin-top: .5rem; }
}

/* =====================================================================
   Ortaokul hero — sağ+orta bölge gerçek okul sahnesi fotoğrafı
   ===================================================================== */
.hb-lvhero__rightbg { position: absolute; left: 26%; right: 0; top: 0; bottom: 0; z-index: 0; background-size: cover; background-position: right center; background-repeat: no-repeat; }
.hb-lvhero--ortaokul .hb-lvhero__in { position: relative; z-index: 1; }
.hb-lvhero--ortaokul .hb-lvhero__mascot .hb-pose { width: clamp(240px, 22vw, 345px); }
@media (max-width: 1200px) { .hb-lvhero__rightbg { left: 0; opacity: .55; } }
@media (max-width: 860px) { .hb-lvhero__rightbg { left: 0; opacity: .45; } .hb-lvhero--ortaokul .hb-lvhero__mascot .hb-pose { width: 225px; } }

/* Üst menü: arka plan kaldırıldı (şeffaf) */
.hb-header { background: transparent; box-shadow: none; backdrop-filter: none; border-bottom: 0; }
.theme-lise .hb-header { background: transparent; }

/* =====================================================================
   Ortaokul hero — sade: tam sayfa genişliğinde tek görsel
   ===================================================================== */
.hb-lvhero--simple { height: clamp(220px, 34vw, 500px); min-height: 0; padding: 0; overflow: hidden; }
.hb-lvhero--simple .hb-lvhero__photo { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Üst menü: kademe grubu (İlkokul · Ortaokul · Lise) dikey çizgilerle ayrılır */
.hb-nav__sep { flex: none; align-self: center; width: 2px; height: 2.4rem; margin: 0 .55rem; border-radius: 2px; background: color-mix(in srgb, var(--c-navy, #0042A7) 22%, transparent); }
@media (max-width: 1100px) { .hb-nav__sep { margin: 0 .25rem; } }

/* Üst menü: sayfa başında şeffaf, kaydırınca sabit kalır ve okunabilir zemin alır */
.hb-header { position: sticky; top: 0; z-index: 50; transition: background .2s, box-shadow .2s; }
.hb-header.is-scrolled, .theme-lise .hb-header.is-scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(8px); box-shadow: 0 6px 24px -16px rgba(0,66,167,.4); }

/* Öğretmen sayfası kademe şablonunu kullanıyor: başlık fontları diğer kademelerle aynı olsun */
.theme-ogretmenler .hb-lvcard h2.hb-hand { font-family: var(--font-hand); font-weight: 400; }
.theme-ogretmenler .hb-lvcard h2.hb-h2 { font-family: var(--font-ui); font-weight: 600; }
.theme-veliler .hb-lvcard h2.hb-hand { font-family: var(--font-hand); font-weight: 400; font-style: normal; color: var(--c-navy); }
.theme-veliler .hb-lvcard h2.hb-h2 { font-family: var(--font-ui); font-weight: 600; }
.theme-veliler .hb-lvcard, .theme-veliler .hb-tile { font-style: normal; }

/* Üst menü: her koşulda ekranın en üstüne sabitlenir (fixed); içerik menü yüksekliği kadar aşağıdan başlar */
.hb-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
body { padding-top: var(--hb-h, 66px); }
html { scroll-padding-top: calc(var(--hb-h, 66px) + 8px); }

/* Ana sayfa hero: yumuşak dalga/bulut arka plan görseli */
.hb-hero2 { background: #dff3fd url('../img/ana-arka.webp') center bottom / cover no-repeat; }
.hb-hero2::before, .hb-hero2::after { content: none; }

/* Ana sayfa hero: arka plan soldan başlar; kademe kartları arka plandaki yumuşak cam kartlara benzer */
.hb-hero2 { background-position: left bottom; }
.hb-hero2__levels .hb-lv { --t1: #fff1b8; --t2: #fbdf86; position: relative; isolation: isolate; border-radius: 34px 34px 28px 28px / 46px 46px 28px 28px; background: linear-gradient(155deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 42%), linear-gradient(180deg, var(--t1) 0%, var(--t2) 100%); box-shadow: 0 20px 34px -20px rgba(0,110,190,.5), inset 0 0 0 2px rgba(255,255,255,.8), inset 0 -34px 44px -24px rgba(255,255,255,.6); overflow: visible; }
.hb-hero2__levels .hb-lv--ortaokul { --t1: #d6eaff; --t2: #93c8ff; }
.hb-hero2__levels .hb-lv--lise { --t1: #d5f7ea; --t2: #97e2c8; }
.hb-hero2__levels .hb-lv:hover { box-shadow: 0 26px 40px -20px rgba(0,110,190,.6), inset 0 0 0 3px #fff, inset 0 -34px 44px -24px rgba(255,255,255,.6); }
/* alttan bulut */
.hb-hero2__levels .hb-lv::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -16px; height: 74px; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse 34% 62% at 22% 100%, #fff 0 60%, transparent 62%), radial-gradient(ellipse 40% 76% at 55% 100%, #fff 0 60%, transparent 62%), radial-gradient(ellipse 30% 56% at 86% 100%, #fff 0 60%, transparent 62%); filter: drop-shadow(0 -4px 8px rgba(120,190,240,.25)); }
/* yan yapraklar */
.hb-hero2__levels .hb-lv::before { content: ""; position: absolute; left: -12px; bottom: 8px; width: 46px; height: 62px; z-index: 0; pointer-events: none; border-radius: 80% 0 80% 0; transform: rotate(-18deg); background: linear-gradient(135deg, #45d4c0, #0ea5b4); box-shadow: 22px 6px 0 -6px #22b8c9; opacity: .95; }
.hb-hero2__levels .hb-lv--ortaokul::before { background: linear-gradient(135deg, #38b6ff, #0a7fe0); box-shadow: 22px 6px 0 -6px #22a0f0; left: auto; right: -12px; transform: rotate(18deg) scaleX(-1); }
.hb-hero2__levels .hb-lv--lise::before { background: linear-gradient(135deg, #5be0b8, #16b48c); box-shadow: 22px 6px 0 -6px #2cc9a0; }
.hb-hero2__levels .hb-lv__art { position: relative; z-index: 1; }
.hb-hero2__levels .hb-lv__foot { position: relative; z-index: 2; }
.hb-hero2__levels .hb-lv__name { background: rgba(255,255,255,.9); color: #0a2a63; transform: none; border-radius: 999px; padding: .3rem .9rem; font-size: 1.35rem; box-shadow: 0 6px 14px -8px rgba(0,66,167,.5); text-shadow: none; }
.hb-hero2__levels .hb-lv--ortaokul .hb-lv__name, .hb-hero2__levels .hb-lv--lise .hb-lv__name { color: #0a2a63; }
.hb-hero2__levels .hb-lv__go { background: rgba(255,255,255,.92); color: var(--c-navy); box-shadow: 0 6px 14px -8px rgba(0,66,167,.5); }
.hb-hero2__levels .hb-lv:hover .hb-lv__go { background: var(--c-navy); color: #fff; }
.hb-hero2__levels .hb-lv::after { left: 0; right: 0; bottom: 0; height: 58px; border-radius: 0 0 28px 28px; filter: none;
    background: radial-gradient(circle at 16% 100%, #fff 0 30px, transparent 31px), radial-gradient(circle at 42% 100%, #fff 0 42px, transparent 43px), radial-gradient(circle at 70% 100%, #fff 0 34px, transparent 35px), radial-gradient(circle at 92% 100%, #fff 0 28px, transparent 29px); opacity: .95; }

/* Ana sayfa kademe kartları: bulut/yaprak kaldırıldı, alt kısım şeffafa geçer */
.hb-hero2__levels .hb-lv::after, .hb-hero2__levels .hb-lv::before { content: none; }
.hb-hero2__levels .hb-lv { box-shadow: none; overflow: visible;
    background: linear-gradient(155deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 40%), linear-gradient(180deg, var(--t1) 0%, color-mix(in srgb, var(--t2) 78%, transparent) 55%, transparent 100%); }
.hb-hero2__levels .hb-lv:hover { box-shadow: none; transform: translateY(-6px); }

/* Ana sayfa hero: daha alçak; kademe etiketleri renkli ve büyük */
.hb-hero2 { padding: clamp(.8rem, 2vw, 1.4rem) 0 clamp(.8rem, 2vw, 1.4rem); }
.hb-hero2__art { min-height: 340px; }
.hb-hero2__art .hb-pose { width: clamp(220px, 21vw, 330px); }
.hb-hero2__levels .hb-lv { min-height: 300px; }
.hb-hero2__levels .hb-lv__art .hb-pose { max-width: 135px; max-height: 190px; }
.hb-hero2__levels .hb-lv__foot { gap: .4rem; padding: .3rem .6rem .8rem .7rem; }
.hb-hero2__levels .hb-lv__name { background: var(--c); color: #0a2a63; font-size: 1.75rem; padding: .35rem 1.1rem; box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--c) 80%, #000); }
.hb-hero2__levels .hb-lv--ortaokul .hb-lv__name { color: #fff; }
.hb-hero2__levels .hb-lv--lise .hb-lv__name { color: #053b40; }
.hb-hero2__levels .hb-lv__go { width: 3rem; height: 3rem; background: var(--c); color: #0a2a63; box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--c) 80%, #000); }
.hb-hero2__levels .hb-lv--ortaokul .hb-lv__go { color: #fff; }
.hb-hero2__levels .hb-lv--lise .hb-lv__go { color: #053b40; }
.hb-hero2__levels .hb-lv:hover .hb-lv__go { background: var(--c-navy); color: #fff; }
.hb-hero2__levels .hb-lv__go svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .hb-hero2__levels .hb-lv__name { font-size: 1.15rem; padding: .25rem .7rem; } .hb-hero2__levels .hb-lv__go { width: 2.3rem; height: 2.3rem; } }

/* Ana sayfa kademe kartları: karakter boyları (ilkokul 190px, ortaokul +20, lise +40) */
.hb-hero2__levels .hb-lv__art .hb-pose-ortaokul { max-height: 210px; }
.hb-hero2__levels .hb-lv__art .hb-pose-lise { max-height: 230px; }

/* Ana sayfa kademe kartları: köşe ve kenarlar dalgalı (zemin katmanı maskelenir; içerik kesilmez) */
.hb-hero2__levels .hb-lv { background: none; }
.hb-hero2__levels .hb-lv::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; left: 0; bottom: 0; width: auto; height: auto; border-radius: 0; transform: none; box-shadow: none;
    background: linear-gradient(155deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 40%), linear-gradient(180deg, var(--t1) 0%, color-mix(in srgb, var(--t2) 78%, transparent) 55%, transparent 100%);
    -webkit-mask: url('../img/dalga-kart.svg') center / 100% 100% no-repeat; mask: url('../img/dalga-kart.svg') center / 100% 100% no-repeat; }
.hb-hero2__levels .hb-lv--ortaokul::before, .hb-hero2__levels .hb-lv--lise::before { left: 0; right: 0; }

/* Dalgalı kenar kaldırıldı: düz yuvarlak kartlar, alt kısım şeffafa geçer. İlkokul kartı 10° sola döner. */
.hb-hero2__levels .hb-lv::before { content: none; -webkit-mask: none; mask: none; }
.hb-hero2__levels .hb-lv { background: linear-gradient(155deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 40%), linear-gradient(180deg, var(--t1) 0%, color-mix(in srgb, var(--t2) 78%, transparent) 55%, transparent 100%); }
.hb-hero2__levels .hb-lv--ilkokul { transform: rotate(-10deg); }
.hb-hero2__levels .hb-lv--ilkokul:hover { transform: rotate(-10deg) translateY(-6px); }
.hb-hero2__levels .hb-lv--lise { transform: rotate(5deg); }
.hb-hero2__levels .hb-lv--lise:hover { transform: rotate(5deg) translateY(-6px); }

/* Ana sayfa kademe kartları biraz daha büyük */
.hb-hero2__in { grid-template-columns: minmax(240px, .95fr) minmax(280px, .95fr) minmax(400px, 1.6fr); }
.hb-hero2__levels { gap: 1rem; }
.hb-hero2__levels .hb-lv { min-height: 360px; }
.hb-hero2__levels .hb-lv__art .hb-pose { max-width: 165px; max-height: 225px; }
.hb-hero2__levels .hb-lv__art .hb-pose-ortaokul { max-height: 245px; }
.hb-hero2__levels .hb-lv__art .hb-pose-lise { max-height: 265px; }
.hb-hero2__levels .hb-lv__name { font-size: 1.95rem; }
.hb-hero2__levels .hb-lv__go { width: 3.3rem; height: 3.3rem; }
@media (max-width: 1100px) { .hb-hero2__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .hb-hero2__in { grid-template-columns: 1fr; } .hb-hero2__levels .hb-lv { min-height: 300px; } .hb-hero2__levels .hb-lv__art .hb-pose { max-height: 190px; } .hb-hero2__levels .hb-lv__art .hb-pose-ortaokul { max-height: 205px; } .hb-hero2__levels .hb-lv__art .hb-pose-lise { max-height: 220px; } .hb-hero2__levels .hb-lv__name { font-size: 1.2rem; } .hb-hero2__levels .hb-lv__go { width: 2.3rem; height: 2.3rem; } }
.hb-hero2__levels .hb-lv--ilkokul { transform: rotate(-5deg); }
.hb-hero2__levels .hb-lv--ilkokul:hover { transform: rotate(-5deg) translateY(-6px); }

/* Ana sayfa kademe kartları: hafif iç içe geçer; ilkokul karakteri 10px küçük */
.hb-hero2__levels { gap: 0; }
.hb-hero2__levels .hb-lv + .hb-lv { margin-left: -.45rem; }
.hb-hero2__levels .hb-lv--ilkokul { z-index: 1; } .hb-hero2__levels .hb-lv--ortaokul { z-index: 2; } .hb-hero2__levels .hb-lv--lise { z-index: 3; }
.hb-hero2__levels .hb-lv__art .hb-pose-ilkokul { max-height: 215px; }
@media (max-width: 860px) { .hb-hero2__levels .hb-lv__art .hb-pose-ilkokul { max-height: 180px; } .hb-hero2__levels .hb-lv + .hb-lv { margin-left: -.3rem; } }

/* Ana sayfa kademe kartları: sağ ok butonları kaldırıldı; etiket ortalanır */
.hb-hero2__levels .hb-lv__go { display: none; }
.hb-hero2__levels .hb-lv__foot { justify-content: center; }

/* Ana sayfa kademe kartları: 3px beyaz kenarlık, aşağı doğru şeffaflaşır */
.hb-hero2__levels .hb-lv::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 3px;
    left: 0; right: 0; bottom: 0; width: auto; height: auto; transform: none; box-shadow: none;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.75) 35%, rgba(255,255,255,0) 90%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude; }
.hb-hero2__levels .hb-lv--ortaokul { top: -10px; }

/* Keşfet sayfası: hero + arama/süzgeç çubuğu */
.hb-kbar { position: relative; z-index: 3; margin-top: -1.2rem; display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: #fff; border-radius: 22px; border: 1px solid #dcecf7; box-shadow: 0 14px 30px -20px rgba(0,66,167,.55); }
.hb-kbar__form { display: flex; align-items: center; gap: .6rem; flex: 1 1 340px; max-width: 520px; padding: .25rem .3rem .25rem 1rem; background: #eaf5ff; border-radius: 999px; color: #5b7aa6; }
.hb-kbar__form:focus-within { box-shadow: 0 0 0 3px rgba(0,129,252,.28); background: #fff; }
.hb-kbar__form input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 1rem var(--font-ui); color: var(--ink); outline: none; padding: .55rem 0; }
.hb-kbar__form .hb-btn { padding: .55rem 1.3rem; box-shadow: none; }
.hb-kbar__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hb-kcount { margin: 1.2rem 0 .8rem; color: var(--muted); }
.hb-kcount strong { color: #0a2a63; }
.hb-lvhero--kesfet { --c: #0081FC; }
@media (max-width: 860px) { .hb-kbar { margin-top: 0; } }

/* Üst menü: tamamen beyaz, düz zemin; gölge/blur/şeffaflık yok; ekrana sabit */
.hb-header, .hb-header.is-scrolled, .theme-lise .hb-header, .theme-lise .hb-header.is-scrolled { position: fixed !important; top: 0 !important; left: 0; right: 0; z-index: 1000; background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; border: 0 !important; transition: none; }
.hb-header .hb-logo, .hb-header .hb-logo img, .hb-header .hb-nav, .hb-header .hb-nav a, .hb-header .hb-nav a:hover, .hb-header .hb-nav a.is-active, .theme-lise .hb-header .hb-nav a.is-active { background: transparent !important; box-shadow: none !important; }
.hb-header .hb-search, .theme-lise .hb-header .hb-search { background: #fff !important; border: 1px solid #d9e8f5; }
.hb-header .hb-search:focus-within { border-color: var(--c-blue); }
.hb-logo img, .theme-lise .hb-logo img { filter: none; }

/* Üst menü sabit değil: sayfanın en üstünde durur, içerikle birlikte kayar */
.hb-header, .hb-header.is-scrolled, .theme-lise .hb-header, .theme-lise .hb-header.is-scrolled { position: relative !important; top: auto !important; left: auto; right: auto; z-index: 10; }
body { padding-top: 0 !important; }
html { scroll-padding-top: 0; }

/* Karşılama kartı: başlık yerine kesilmiş banner görseli */
.hb-lvwelcome { padding: 1rem 1.1rem 1.3rem; }
.hb-lvwelcome__banner { display: block; width: 100%; height: auto; margin: 0 0 .9rem; filter: drop-shadow(0 8px 14px rgba(0,66,167,.16)); }

/* Karşılama banner'ı çerçeveye sıfır: kartın üst/yan kenarlarına yaslanır */
.hb-lvwelcome { padding: 0 0 1.2rem; overflow: hidden; }
.hb-lvwelcome__banner { width: 100%; margin: 0 0 1rem; filter: none; border-radius: 24px 24px 0 0; }
.hb-lvwelcome > p { padding: 0 1.3rem; }
.hb-lvwelcome > h2.hb-hand { padding: 1.1rem 1.3rem 0; }

/* Sağ kart: banner görseli çerçeveye sıfır, altında metin ve buton */
.hb-lvfamily--banner { padding: 0 0 1.3rem; overflow: hidden; text-align: left; }
.hb-lvfamily__banner, .hb-lvfamily--banner img.hb-lvfamily__banner { display: block; width: 100%; height: auto; margin: 0 0 1rem; border-radius: 24px 24px 0 0; }
.hb-lvfamily--banner > p { padding: 0 1.3rem; }
.hb-lvfamily--banner > .hb-btn { margin: .2rem 1.3rem 0; }

/* Ana sayfa kademe kartları: yumuşak kristal/cam teması (bulanık arka plan + prizma yüzeyleri) */
.hb-hero2__levels .hb-lv { background: none; }
.hb-hero2__levels .hb-lv::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; left: 0; right: 0; bottom: 0; height: auto; filter: none; opacity: 1;
    background:
        linear-gradient(118deg, rgba(255,255,255,.62) 0 9%, rgba(255,255,255,0) 9.2%),
        linear-gradient(118deg, rgba(255,255,255,0) 0 22%, rgba(255,255,255,.26) 22.2% 34%, rgba(255,255,255,0) 34.2%),
        linear-gradient(62deg, rgba(255,255,255,0) 0 58%, rgba(255,255,255,.22) 58.2% 72%, rgba(255,255,255,0) 72.2%),
        linear-gradient(205deg, rgba(255,255,255,.4) 0 14%, rgba(255,255,255,0) 14.2%),
        radial-gradient(120% 60% at 20% 0%, rgba(255,255,255,.7), rgba(255,255,255,0) 60%),
        linear-gradient(180deg, color-mix(in srgb, var(--t1) 88%, #fff) 0%, color-mix(in srgb, var(--t2) 70%, transparent) 55%, transparent 100%);
    -webkit-backdrop-filter: blur(12px) saturate(1.35); backdrop-filter: blur(12px) saturate(1.35);
    -webkit-mask: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.55) 82%, transparent 100%); mask: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.55) 82%, transparent 100%);
    transition: filter .3s; }
.hb-hero2__levels .hb-lv:hover::after { filter: brightness(1.06) saturate(1.1); }
.hb-hero2__levels .hb-lv--ortaokul::after { background:
        linear-gradient(118deg, rgba(255,255,255,.62) 0 9%, rgba(255,255,255,0) 9.2%),
        linear-gradient(118deg, rgba(255,255,255,0) 0 22%, rgba(255,255,255,.26) 22.2% 34%, rgba(255,255,255,0) 34.2%),
        linear-gradient(62deg, rgba(255,255,255,0) 0 58%, rgba(255,255,255,.22) 58.2% 72%, rgba(255,255,255,0) 72.2%),
        linear-gradient(205deg, rgba(255,255,255,.4) 0 14%, rgba(255,255,255,0) 14.2%),
        radial-gradient(120% 60% at 20% 0%, rgba(255,255,255,.7), rgba(255,255,255,0) 60%),
        linear-gradient(180deg, color-mix(in srgb, var(--t1) 88%, #fff) 0%, color-mix(in srgb, var(--t2) 70%, transparent) 55%, transparent 100%); }

/* Ana sayfa hero butonları: gradyan + yumuşak kristal/cam yüzey */
.hb-hero2__levels .hb-lv__name { position: relative; overflow: hidden; isolation: isolate; border: 1.5px solid rgba(255,255,255,.75);
    background:
        linear-gradient(118deg, rgba(255,255,255,.55) 0 14%, rgba(255,255,255,0) 14.5%),
        linear-gradient(62deg, rgba(255,255,255,0) 0 60%, rgba(255,255,255,.22) 60.5% 76%, rgba(255,255,255,0) 76.5%),
        linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 55%),
        linear-gradient(135deg, color-mix(in srgb, var(--c) 62%, #fff) 0%, var(--c) 55%, color-mix(in srgb, var(--c) 82%, #000) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -3px 6px -2px color-mix(in srgb, var(--c) 60%, #000), 0 10px 18px -10px color-mix(in srgb, var(--c) 85%, #000);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.hb-hero2__levels .hb-lv--ortaokul .hb-lv__name { text-shadow: 0 1px 1px rgba(0,50,120,.35); }
.hb-hero2__levels .hb-lv:hover .hb-lv__name { filter: brightness(1.06) saturate(1.08); }
.hb-hero2 .hb-cta { position: relative; overflow: hidden; isolation: isolate; border: 1.5px solid rgba(255,255,255,.45); color: #fff;
    background:
        linear-gradient(118deg, rgba(255,255,255,.4) 0 12%, rgba(255,255,255,0) 12.5%),
        linear-gradient(62deg, rgba(255,255,255,0) 0 62%, rgba(255,255,255,.16) 62.5% 78%, rgba(255,255,255,0) 78.5%),
        linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,0) 55%),
        linear-gradient(135deg, #2f6fe0 0%, var(--c-navy) 60%, #002f78 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -3px 8px -3px rgba(0,20,80,.6), 0 12px 22px -10px rgba(0,66,167,.65); }
.hb-hero2 .hb-cta:hover { filter: brightness(1.08); }
.hb-hero2 .hb-cta__ic { background: linear-gradient(160deg, #fff, #d9ecff); box-shadow: inset 0 -2px 4px rgba(0,66,167,.18), 0 2px 6px rgba(0,30,90,.25); }

/* Kademe kartları: beyaz kenarlık 4px */
.hb-hero2__levels .hb-lv::before { padding: 4px; }

/* Ana sayfa hero: yükseklik %10 azaltıldı */
@media (min-width: 861px) {
    .hb-hero2 { padding: clamp(.6rem, 1.6vw, 1.1rem) 0; }
    .hb-hero2__art { min-height: 306px; }
    .hb-hero2__art .hb-pose { width: clamp(200px, 19vw, 297px); }
    .hb-hero2__levels .hb-lv { min-height: 324px; }
    .hb-hero2__levels .hb-lv__art .hb-pose-ilkokul { max-height: 194px; }
    .hb-hero2__levels .hb-lv__art .hb-pose-ortaokul { max-height: 220px; }
    .hb-hero2__levels .hb-lv__art .hb-pose-lise { max-height: 239px; }
    .hb-hero2__levels .hb-lv__art .hb-pose { max-width: 150px; }
}

/* Oyunlar sayfası: hero sonrası kart alanı */
.hb-oyunlar-wrap .hb-kcount { margin: 1.4rem 0 1rem; }
.hb-lvhero--oyunlar { --c: #8b5cf6; }

/* Alt bilgi (footer): içerik kısa olsa bile sayfanın en altında durur */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > main { flex: 1 0 auto; }
body > .hb-footer { flex: none; margin-top: auto; }

/* =====================================================================
   İç sayfa (konu) tasarımı v2: hero kartı, ikonlu bölüm kartları, yan kartlar
   ===================================================================== */
.hb-ikon { display: inline-block; vertical-align: middle; height: auto; flex: none; filter: drop-shadow(0 4px 5px rgba(0,66,167,.18)); }
.hb-topic { padding-top: 1.4rem; }
.hb-topic__main.hb-topic__wrap, .theme-ogretmenler .hb-topic__main.hb-topic__wrap { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
.hb-topic .hb-crumb { margin-bottom: .9rem; }

.hb-thero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 30px; border: 3px solid #fff;
    background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--c) 30%, #fff), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, #fff), #fff 70%);
    box-shadow: 0 18px 36px -24px rgba(0,66,167,.55); }
.hb-thero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,0) 70%); pointer-events: none; }
.hb-thero__text { position: relative; z-index: 1; min-width: 0; }
.hb-thero h1 { margin: .6rem 0 .8rem; font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: #0a2a63; font-family: var(--font-ui); font-weight: 700; }
.hb-thero__art { position: relative; z-index: 1; }
.hb-thero__art .hb-mascot { display: block; width: clamp(110px, 16vw, 200px); height: auto; filter: drop-shadow(0 14px 14px rgba(0,66,167,.25)); animation: hb-bob 5s ease-in-out infinite; }
.hb-tchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hb-tchip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.95); font: 600 .85rem var(--font-ui); color: #0a2a63; text-decoration: none; box-shadow: 0 6px 12px -8px rgba(0,66,167,.5); }
.hb-tchip .hb-ikon { height: 1.4em; width: auto; }
a.hb-tchip--lvl { background: color-mix(in srgb, var(--c) 35%, #fff); }
a.hb-tchip--lvl:hover { filter: brightness(1.05); }
.hb-trule { display: flex; align-items: center; gap: .8rem; margin: 0; padding: .7rem 1rem; border-radius: 20px 20px 20px 6px; background: rgba(255,255,255,.9); box-shadow: 0 10px 20px -14px rgba(0,66,167,.6); font: 700 clamp(1.05rem, 2vw, 1.35rem)/1.35 var(--font-ui); color: #0a2a63; max-width: 46rem; }

.hb-tcard { background: #fff; border: 1px solid #dcecf7; border-radius: 26px; padding: 1.3rem clamp(1rem, 3vw, 1.8rem) 1.5rem; box-shadow: 0 14px 30px -22px rgba(0,66,167,.5); margin-top: 1.3rem; }
.hb-tcard .hb-block__title { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; font: 700 1.5rem var(--font-ui); color: #0a2a63; }
.hb-tcard .hb-block__title small { margin-left: auto; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: color-mix(in srgb, var(--c) 30%, #fff); font: 700 .95rem var(--font-ui); color: #0a2a63; }
.hb-tico { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 20px; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 32%, #fff), #fff); box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), 0 8px 14px -10px rgba(0,66,167,.5); }
.hb-tico .hb-ikon { height: 2.3rem; width: auto; max-width: 2.6rem; object-fit: contain; }
.hb-tcard .hb-quiz { background: #f5faff; box-shadow: none; }
.hb-tcard.hb-do { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, #fff), #fff 65%); border: 3px solid color-mix(in srgb, var(--c) 55%, #fff); border-style: dashed; }
.hb-tcard.hb-do::before { content: none; }
.hb-tcard .hb-do__text { font-size: 1.2rem; }
.hb-quiz__fb img { flex: none; width: 64px; height: auto; }

.hb-tshare { display: flex; align-items: center; gap: 1rem; margin-top: 1.3rem; padding: 1rem 1.4rem; border-radius: 26px; background: linear-gradient(120deg, #eaf5ff, #fff); border: 1px solid #d3e6f8; flex-wrap: wrap; }
.hb-tshare__txt { flex: 1 1 200px; } .hb-tshare__txt strong { display: block; font: 700 1.1rem var(--font-ui); color: #0a2a63; } .hb-tshare__txt small { color: var(--muted); }

.hb-tside-safe { display: flex; gap: .9rem; align-items: center; background: linear-gradient(135deg, #e8f4ff, #fff); }
.hb-tside-safe strong { display: block; font: 700 1rem var(--font-ui); color: #0a2a63; } .hb-tside-safe small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: .15rem; }
.hb-tside-lvl__emoji { background: none; width: auto; height: auto; }
.hb-tside-cta span[aria-hidden] { background: none; width: auto; height: auto; }
.theme-lise .hb-tcard { background: #fff; }

@media (max-width: 700px) { .hb-thero { grid-template-columns: 1fr; text-align: left; } .hb-thero__art { display: none; } .hb-tcard { border-radius: 22px; } }
@media print { .hb-thero__art, .hb-tshare { display: none; } .hb-thero { box-shadow: none; } }
[hidden] { display: none !important; }
.hb-tside-more { display: inline-block; margin-top: .7rem; font: 700 .88rem var(--font-ui); color: var(--c-blue); text-decoration: none; }
.hb-tside-more:hover { text-decoration: underline; }
.hb-tcard .hb-quiz, .theme-ilkokul .hb-tcard .hb-quiz { border: 2px solid #dcecf7; border-radius: 22px; }
.hb-game__ic { background: none; width: auto; height: auto; }
.hb-game__ic .hb-ikon { filter: drop-shadow(0 5px 6px rgba(0,66,167,.2)); }
.hb-404 .hb-mascot { width: 200px; height: auto; margin-bottom: .6rem; animation: hb-bob 5s ease-in-out infinite; }

/* =====================================================================
   DynaPuff (OFL) — Türkçe karakterleri (ğ ş ı İ ç ö ü) tam destekler; başlık ve vurgu yazıları
   ===================================================================== */
@font-face { font-family: "DynaPuff"; src: url("../font/DynaPuff-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DynaPuff"; src: url("../font/DynaPuff-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --font-hand: "DynaPuff", "Fredoka", cursive; --font-kid: "DynaPuff", "Fredoka", sans-serif; --font-dyna: "DynaPuff", "Fredoka", system-ui, sans-serif; }
.hb-script, .hb-script2, .hb-hand, .hb-lv__name, .hb-logo__tag, .hb-footer__logo { font-family: var(--font-dyna); font-weight: 600; letter-spacing: 0; }
.hb-script { font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.1; }
.hb-hero2__levels .hb-lv__name { font-size: 1.5rem; }
.hb-thero h1, .hb-tcard .hb-block__title, .hb-trule, .hb-tshare__txt strong, .hb-tside-safe strong, .hb-tside-h { font-family: var(--font-dyna); }
.hb-thero h1 { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; }
.hb-tcard .hb-block__title { font-weight: 600; font-size: 1.4rem; }
.hb-trule { font-weight: 500; font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.45; }
.hb-card__title, .hb-tile__title, .hb-pcard__title, .hb-act strong, .hb-act3 strong, .hb-tool strong, .hb-strip strong, .hb-game h2, .hb-sec-head .hb-h2, .hb-pagehead h1, .hb-h2 { font-family: var(--font-dyna); font-weight: 500; }
.hb-tile__title { font-size: .95rem; }
.hb-brush, .hb-topic h1 { font-family: var(--font-dyna); }
.hb-opt, .hb-quiz__q { font-family: var(--font-ui); }

/* Özgüllük düzeltmeleri: tema başlık fontları DynaPuff'ı ezmesin; lise yan kartları açık temada */
.hb-topic .hb-thero h1, .theme-lise .hb-topic .hb-thero h1, .theme-ogretmenler .hb-topic .hb-thero h1, .theme-veliler .hb-topic .hb-thero h1,
.theme-lise .hb-tcard h2, .theme-ogretmenler .hb-tcard h2, .theme-veliler .hb-tcard h2 { font-family: var(--font-dyna); }
.theme-lise .hb-tsidecard, .theme-lise .hb-tside-safe { background: #fff; color: var(--ink); border-color: #dcecf7; box-shadow: var(--shadow); }
.theme-lise .hb-tside-safe { background: linear-gradient(135deg, #e8f4ff, #fff); }
.theme-lise .hb-tside-list li { border-color: #e3eef6; }
.theme-lise .hb-tside-list a, .theme-lise .hb-tside-lvl, .theme-lise .hb-tside-cta { color: #0a2a63; }
.theme-lise .hb-tside-h { color: var(--muted); } .theme-lise .hb-tside-safe strong { color: #0a2a63; }
.theme-lise .hb-tside-lvl small, .theme-lise .hb-tside-cta small, .theme-lise .hb-tside-safe small { color: var(--muted); }

/* Sour Gummy (OFL) — soru/quiz alanları için daha ince, okunaklı yazı */
@font-face { font-family: "Sour Gummy"; src: url("../font/SourGummy-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sour Gummy"; src: url("../font/SourGummy-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --font-soru: "Sour Gummy", "Fredoka", system-ui, sans-serif; }
.hb-quiz__scn, .hb-quiz__q, .hb-opt, .hb-quiz__fb, .hb-quiz__fb p, .hb-quiz__exp,
.hb-qcard, .hb-qcard .hb-quiz__q, .hb-qcard .hb-opt, .hb-msg__text, .hb-tzfb, .hb-qres,
.theme-ilkokul .hb-opt, .theme-ortaokul .hb-quiz__scn, .theme-lise .hb-opt, .theme-lise .hb-quiz__scn { font-family: var(--font-soru); }
.hb-quiz__q, .hb-qcard .hb-quiz__q { font-weight: 600; font-size: 1.25rem; }
.hb-opt, .hb-qcard .hb-opt { font-weight: 500; font-size: 1.1rem; }
.hb-quiz__fb, .hb-tzfb, .hb-msg__text { font-weight: 500; }

/* Emoji yerine site ikonları */
.hb-emo { display: inline-block; vertical-align: middle; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,42,99,.18)); }
.hb-card__emoji .hb-emo { width: 2.3rem; height: 2.3rem; }
.hb-tile__emoji .hb-emo { width: 3.6rem; height: 3.6rem; filter: drop-shadow(0 6px 5px rgba(0,0,0,.14)); }
.hb-pcard__art .hb-emo { width: 4.5rem; height: 4.5rem; }
.hb-gbtn .hb-emo, .hb-tchip .hb-emo { width: 1.5em; height: 1.5em; margin-right: .2em; margin-top: -.15em; }
.hb-chip .hb-ikon { vertical-align: middle; margin-right: .15em; }
.hb-gbtn .hb-emo { background: rgba(255,255,255,.92); border-radius: 50%; padding: 3px; width: 1.7em; height: 1.7em; box-sizing: border-box; filter: none; }
.hb-script, .hb-script .hb-script__a { font-family: var(--font-dyna); font-weight: 600; }

/* Ana sayfa hero: yazı büyük, karakter yazıya doğru yakın */
.hb-script { font-size: clamp(2.2rem, 3.9vw, 3.6rem); }
@media (min-width: 1101px) {
    .hb-hero2__in { grid-template-columns: minmax(300px, 1.15fr) minmax(280px, .85fr) minmax(400px, 1.6fr); }
    .hb-hero2__art { transform: translateX(-3.5rem); }
}

/* Kırmızı bayrak avı + adımları sırala */
.hb-flagtext { line-height: 2.1; }
.hb-chunk { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 2px dashed rgba(0,66,167,.25); border-radius: 6px; padding: 0 .1em; cursor: pointer; text-align: left; }
.hb-chunk:hover:not(:disabled) { background: #fff3c4; }
.hb-chunk.is-on { background: #ffe07a; border-bottom-color: #c98a00; }
.hb-chunk.is-right { background: #c9f3d8; border-bottom: 2px solid #16a34a; }
.hb-chunk.is-missed { background: #ffe1c7; border-bottom: 2px solid #f97316; }
.hb-chunk.is-wrong { background: #fee2e2; border-bottom: 2px solid #dc2626; text-decoration: line-through; }
.hb-chunk:disabled { cursor: default; }
.hb-ordered { margin: .4rem 0 1rem; padding-left: 1.4rem; font-family: var(--font-soru); font-weight: 600; color: #0a7f4a; }
.hb-ordered:empty { display: none; }
.hb-opt.is-wrong { animation: hbshake .35s; }
@keyframes hbshake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Soru üstündeki senaryo/açıklama: büyük ve vurgulu */
.hb-quiz__scn, .theme-ilkokul .hb-quiz__scn, .theme-ortaokul .hb-quiz__scn, .theme-lise .hb-quiz__scn, .theme-ogretmenler .hb-quiz__scn, .theme-veliler .hb-quiz__scn {
    display: block; position: relative; margin: 0 0 1rem; padding: .9rem 1.1rem .9rem 1.3rem;
    font-family: var(--font-soru); font-style: normal; font-weight: 600; font-size: 1.35rem; line-height: 1.4; color: var(--c-navy, #0042A7);
    background: linear-gradient(135deg, #fff6d6, #ffeeb0); border: 0; border-left: 6px solid var(--c-yellow, #FEC530); border-radius: 16px;
    box-shadow: 0 4px 12px rgba(254,197,48,.28);
}
.hb-quiz__scn::before, .theme-ortaokul .hb-quiz__scn::before { content: none; }
.hb-qcard .hb-quiz__scn { font-size: 1.3rem; }
@media (max-width: 600px) { .hb-quiz__scn, .theme-ilkokul .hb-quiz__scn, .theme-ortaokul .hb-quiz__scn, .theme-lise .hb-quiz__scn, .theme-ogretmenler .hb-quiz__scn, .theme-veliler .hb-quiz__scn { font-size: 1.15rem; } }

/* Doğru / yanlış cevap vurgusu */
.hb-quiz__fb, .hb-tzfb.is-ok { background: linear-gradient(135deg, #e3fbec, #c4f3d6); border: 2px solid #16a34a; border-left-width: 8px; color: #0b5d2c; border-radius: 16px; font-size: 1.15rem; font-weight: 700; box-shadow: 0 6px 16px rgba(22,163,74,.2); }
.hb-quiz__fb.is-wrong, .hb-tzfb.is-bad { background: linear-gradient(135deg, #fff1e6, #ffd9b8); border: 2px solid #f97316; border-left-width: 8px; color: #7c2d06; border-radius: 16px; font-size: 1.15rem; font-weight: 700; box-shadow: 0 6px 16px rgba(249,115,22,.2); }
.hb-quiz__fb p, .hb-tzfb strong { font-family: var(--font-soru); }
.hb-tzfb strong { font-size: 1.25rem; }
.hb-quiz__exp { font-family: var(--font-soru); font-size: 1.1rem; color: var(--c-navy, #0042A7); background: #eef6ff; border-left: 5px solid var(--c-blue, #0081FC); border-radius: 12px; padding: .7rem 1rem; }
/* Geri bildirim yazısı ("Harika! Doğru cevap." / "Sorun değil!") daha belirgin */
.hb-quiz__fb p { font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
.hb-quiz__fb:not(.is-wrong) p { color: #0b5d2c; }
.hb-quiz__fb.is-wrong p { color: #9a3412; }

/* Tanış bölümü yazıları biraz büyük */
.hb-tcard .hb-prose, .theme-ilkokul .hb-tcard .hb-prose, .theme-ortaokul .hb-tcard .hb-prose, .theme-lise .hb-tcard .hb-prose, .theme-ogretmenler .hb-tcard .hb-prose, .theme-veliler .hb-tcard .hb-prose { font-size: 1.22rem; line-height: 1.75; }
.hb-tcard .hb-prose h3 { font-size: 1.35rem; }
@media (max-width: 600px) { .hb-tcard .hb-prose, .theme-ilkokul .hb-tcard .hb-prose, .theme-ortaokul .hb-tcard .hb-prose, .theme-lise .hb-tcard .hb-prose, .theme-ogretmenler .hb-tcard .hb-prose, .theme-veliler .hb-tcard .hb-prose { font-size: 1.1rem; } }
.hb-script { font-size: clamp(2.1rem, 3.6vw, 3.3rem); }

/* Yan menüdeki konu listesi: konu ikonu */
.hb-tside-list a { display: flex; align-items: center; gap: .65rem; }
.hb-tside-ico { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 12px; background: color-mix(in srgb, var(--c, #0081FC) 14%, #fff); font-size: 1.2rem; }
.hb-tside-ico .hb-emo { width: 1.6rem; height: 1.6rem; }

/* Mobil: ana sayfa kademe kartları ekrana sığsın */
@media (max-width: 600px) {
    .hb-hero2__in { width: min(1500px, 100% - 2rem); overflow: hidden; }
    .hb-hero2__levels { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; width: 100%; max-width: 100%; margin: 0; padding: 0 .3rem; box-sizing: border-box; }
    .hb-hero2__levels .hb-lv { min-width: 0; min-height: 240px; }
    .hb-hero2__levels .hb-lv + .hb-lv { margin-left: -.35rem; }
    .hb-hero2__levels .hb-lv__art .hb-pose { max-width: 92%; }
    .hb-hero2__levels .hb-lv__art .hb-pose-ilkokul { max-height: 150px; }
    .hb-hero2__levels .hb-lv__art .hb-pose-ortaokul { max-height: 165px; }
    .hb-hero2__levels .hb-lv__art .hb-pose-lise { max-height: 175px; }
    .hb-hero2__levels .hb-lv__name { font-size: 1rem; padding: .3rem .7rem; }
    .hb-hero2__art { min-height: 250px; }
    .hb-hero2__art .hb-pose { width: 190px; }
    .hb-script { font-size: clamp(1.9rem, 8.2vw, 2.4rem); }
}

/* Mobil: konu kutucukları iki sütun */
@media (max-width: 600px) {
    .hb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .hb-tile { min-height: 150px; padding: .8rem .5rem 2.4rem; }
    .hb-tile__title { font-size: .95rem; line-height: 1.25; }
    .hb-tile__emoji .hb-emo { width: 2.9rem; height: 2.9rem; }
}

/* Mobil menü: tüm bağlantılar tek satırda sığsın, sığmazsa kaydırılsın */
@media (max-width: 600px) {
    .hb-header .hb-nav { justify-content: space-between; gap: 0; padding: 0 .2rem .1rem; -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); }
    .hb-nav a { flex: 1 0 auto; padding: .3rem .28rem .45rem; font-size: .64rem; }
    .hb-nav a svg { width: 20px; height: 20px; }
    .hb-nav__sep { margin: 0 .12rem; height: 1.8rem; }
}
@media (max-width: 600px) {
    .hb-header .hb-nav { width: calc(100% + 1.6rem); margin: 0 -.8rem; padding: 0 .1rem .1rem; }
    .hb-nav a { padding: .3rem .2rem .45rem; font-size: .6rem; }
    .hb-nav__sep { margin: 0 .05rem; }
}
@media (max-width: 600px) { .hb-header .hb-nav { -webkit-mask-image: none; mask-image: none; } }

/* Mobil: çok dar ekranlarda taşmayı önle */
@media (max-width: 600px) {
    .hb-cards, .theme-lise .hb-cards, .theme-ogretmenler .hb-cards, .theme-veliler .hb-cards { grid-template-columns: minmax(0, 1fr) !important; }
    .hb-tabs2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hb-tabs2 a { min-width: 0; font-size: .85rem; padding-inline: .5rem; }
    .hb-tabs2 a span { overflow-wrap: anywhere; }
}
@media (max-width: 600px) { .hb-sitecards { grid-template-columns: minmax(0, 1fr) !important; } .hb-sitecards .hb-card { min-width: 0; } }

/* Yeni logo (yazısı içinde) */
.hb-logo img, .theme-lise .hb-logo img { height: 52px; width: auto; max-width: 100%; filter: none; }
.hb-footer__logo img { height: 46px; width: auto; }
@media (max-width: 600px) { .hb-logo img, .theme-lise .hb-logo img { height: 44px; } }
.hb-logo img, .theme-lise .hb-logo img { height: 60px; } @media (max-width: 600px) { .hb-logo img, .theme-lise .hb-logo img { height: 46px; } }
.hb-logo img, .theme-lise .hb-logo img { width: 300px; height: auto; max-width: none; }
@media (max-width: 1100px) { .hb-logo img, .theme-lise .hb-logo img { width: 230px; } }
@media (max-width: 600px) { .hb-logo img, .theme-lise .hb-logo img { width: 200px; max-width: 100%; } }
.hb-nav a span { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1450px) { .hb-search { width: min(200px, 15vw); } .hb-nav a { padding-inline: .6rem; } }
.hb-search { width: min(200px, 16vw); }
@media (min-width: 1101px) and (max-width: 1450px) { .hb-search { width: min(160px, 12vw); } }
@media (min-width: 1101px) { .hb-header .hb-nav { justify-content: flex-start; margin-left: 50px; } }

/* İlkokul Hibi pozları */
.hb-tshare__pose { flex: none; height: auto; filter: drop-shadow(0 8px 8px rgba(0,66,167,.22)); margin: -.6rem 0; }
.hb-tcta__pose { height: auto; filter: drop-shadow(0 4px 5px rgba(0,66,167,.2)); }
.hb-respose { flex: none; width: auto; filter: drop-shadow(0 6px 6px rgba(0,66,167,.2)); }
.hb-empty__pose { height: auto; filter: drop-shadow(0 8px 8px rgba(0,66,167,.2)); }

/* Tanış bölümünün sağında Hibi pozu */
.hb-tanisbody { display: flow-root; }
.hb-tanispose { float: right; width: clamp(150px, 20%, 210px); height: auto; margin: -.2rem 0 .6rem 1.4rem; filter: drop-shadow(0 12px 12px rgba(0,66,167,.22)); shape-outside: margin-box; }
@media (max-width: 820px) { .hb-tanispose { display: none; } }
@media print { .hb-tanispose { display: none; } }

/* Paylaşım düğmeleri (lise: sosyal ağlar) */
.hb-sharenets { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.hb-sharenet { text-decoration: none; font-weight: 700; }
.hb-sharenet--whatsapp { border-color: #25D366; color: #128C7E; } .hb-sharenet--x { border-color: #111; color: #111; } .hb-sharenet--facebook { border-color: #1877F2; color: #1877F2; }
.hb-sharenet--linkedin { border-color: #0A66C2; color: #0A66C2; } .hb-sharenet--telegram { border-color: #229ED9; color: #1b86b8; } .hb-sharenet--eposta { border-color: #7a8aa6; color: #4a5a78; }
.hb-sharenets [hidden] { display: none !important; }

/* Paylaşım: bölümün sağında yuvarlak ikon düğmeleri */
.hb-tshare { justify-content: flex-start; }
.hb-ibtns { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; align-items: center; }
.hb-ibtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; text-decoration: none; color: #fff; background: #0081FC; box-shadow: 0 6px 12px -6px rgba(0,66,167,.55), inset 0 -3px 5px rgba(0,0,0,.14); transition: transform .15s, filter .15s; }
.hb-ibtn:hover { transform: translateY(-2px); filter: brightness(1.08); } .hb-ibtn:active { transform: scale(.94); }
.hb-ibtn:focus-visible { outline: 3px solid #FEC530; outline-offset: 2px; }
.hb-ibtn[hidden] { display: none !important; }
.hb-ibtn--whatsapp { background: #25D366; } .hb-ibtn--x { background: #111827; } .hb-ibtn--facebook { background: #1877F2; } .hb-ibtn--linkedin { background: #0A66C2; }
.hb-ibtn--telegram { background: #229ED9; } .hb-ibtn--mail { background: #7a8aa6; } .hb-ibtn--link { background: #01C5CD; } .hb-ibtn--share { background: #8b5cf6; } .hb-ibtn--print { background: #FD6C5B; }
.hb-ibtn.is-done { background: #16a34a; }
.hb-tshare__msg { flex-basis: 100%; min-height: 1.2em; font-size: .9rem; }
@media (max-width: 600px) { .hb-ibtns { margin-left: 0; } }
.hb-tshare .hb-ibtns .hb-ibtn, .hb-tshare .hb-ibtns a.hb-ibtn:hover, .hb-tshare .hb-ibtns a.hb-ibtn:visited { color: #fff !important; }
.hb-tshare .hb-ibtns .hb-ibtn svg { stroke: currentColor; }

/* İlkokul / ortaokul: ikon + yazı */
.hb-ibtns--lbl .hb-ibtn { width: auto; height: 48px; border-radius: 999px; padding: 0 1.1rem 0 .9rem; gap: .5rem; grid-auto-flow: column; display: inline-flex; align-items: center; font: 700 1rem var(--font-soru, var(--font-ui)); }
.hb-ibtns--lbl .hb-ibtn__lbl { white-space: nowrap; }
.theme-ilkokul .hb-ibtns--lbl .hb-ibtn { height: 54px; font-size: 1.1rem; padding: 0 1.3rem 0 1.1rem; }

/* Oyunlar: kart listesi ve tek oyun sayfası */
.hb-gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 1rem; padding-bottom: 3rem; }
.hb-gcard { position: relative; display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.3rem; border-radius: 26px; text-decoration: none; color: var(--ink); background: linear-gradient(120deg, color-mix(in srgb, var(--t) 12%, #fff), #fff); border: 1px solid color-mix(in srgb, var(--t) 22%, #fff); box-shadow: 0 14px 30px -22px rgba(0,66,167,.5); transition: transform .2s, box-shadow .2s; }
.hb-gcard:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -20px color-mix(in srgb, var(--t) 60%, #000); }
.hb-gcard__ic { flex: none; display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 22px; background: color-mix(in srgb, var(--t) 16%, #fff); }
.hb-gcard__body { display: grid; gap: .25rem; min-width: 0; }
.hb-gcard__body strong { font: 600 1.3rem var(--font-dyna); color: #0a2a63; }
.hb-gcard__body > span { color: var(--muted); font-size: .95rem; }
.hb-gcard__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.hb-gcard__meta span { font-size: .78rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--t) 14%, #fff); color: #0a2a63; }
.hb-gcard__go { margin-left: auto; flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--t); color: #fff; }
.hb-oyun .hb-games--single { display: block; }
.hb-oyun .hb-playcard .hb-kcount { margin: 0 0 .8rem; }
.hb-oyun .hb-gstage { margin-top: 1rem; }

/* Yeni oyunlar: hafıza kartları, harf avı */
.hb-mem { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; max-width: 460px; }
.hb-memcard { position: relative; aspect-ratio: 1; border: 0; border-radius: 18px; cursor: pointer; background: linear-gradient(145deg, #14b8a6, #0081FC); box-shadow: 0 6px 0 rgba(0,66,167,.35); padding: 0; transition: transform .15s; }
.hb-memcard:hover:not(:disabled) { transform: translateY(-2px); }
.hb-memcard__back { display: grid; place-items: center; height: 100%; color: #fff; font: 700 1.8rem var(--font-dyna); }
.hb-memcard__front { display: none; position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.hb-memcard.is-open, .hb-memcard.is-found { background: #fff; box-shadow: inset 0 0 0 3px #bfe4f7, 0 4px 0 rgba(0,66,167,.15); }
.hb-memcard.is-open .hb-memcard__back, .hb-memcard.is-found .hb-memcard__back { display: none; }
.hb-memcard.is-open .hb-memcard__front, .hb-memcard.is-found .hb-memcard__front { display: block; }
.hb-memcard.is-found { box-shadow: inset 0 0 0 3px #16a34a; opacity: .9; }
.hb-memnote { margin: .3rem 0 .6rem; font-weight: 700; color: #0a2a63; }
.hb-slots { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.hb-slot { display: grid; place-items: center; width: 2.6rem; height: 3.1rem; border-radius: 12px; border-bottom: 4px solid #0081FC; background: #eef6ff; font: 700 1.6rem var(--font-soru); color: #0a2a63; }
.hb-slot.is-on { background: #dcfce7; border-bottom-color: #16a34a; }
.hb-keys { display: flex; flex-wrap: wrap; gap: .35rem; margin: .8rem 0; }
.hb-key { min-width: 2.4rem; height: 2.6rem; border-radius: 10px; border: 2px solid #d5daf4; background: #f6f7fd; font: 700 1rem var(--font-soru); color: #0a2a63; cursor: pointer; }
.hb-key:hover:not(:disabled) { border-color: #0081FC; background: #eef1ff; }
.hb-key.is-right { background: #dcfce7; border-color: #16a34a; } .hb-key.is-wrong { background: #fee2e2; border-color: #dc2626; opacity: .7; } .hb-key:disabled { cursor: default; }
@media (max-width: 480px) { .hb-mem { gap: .4rem; } .hb-slot { width: 2.1rem; height: 2.6rem; font-size: 1.3rem; } }

/* Yeni alt bilgi (footer) */
.hb-footer.hb-footer--v2 { background: linear-gradient(180deg, #eef7ff 0%, #d9ecfb 100%); color: #0a2a63; border: 0; border-top: 1px solid #cfe3f4; border-radius: 34px 34px 0 0; padding: 2.4rem 0 1.2rem; margin-top: 2rem; }
.hb-footer--v2 .hb-foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; align-items: start; }
.hb-footer--v2 .hb-footer__logo img { height: auto; width: min(220px, 100%); }
.hb-footer--v2 .hb-footer__note { margin: .6rem 0 .8rem; font-size: .92rem; color: #35507f; max-width: 38ch; }
.hb-foot__badges { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.hb-foot__badges li { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem .25rem .4rem; border-radius: 999px; background: #fff; border: 1px solid #cfe3f4; font: 700 .8rem var(--font-ui); color: #0a2a63; }
.hb-foot__col { display: flex; flex-direction: column; gap: .45rem; }
.hb-foot__h { margin: 0 0 .3rem; font: 600 1rem var(--font-dyna); color: #0042A7; }
.hb-footer--v2 .hb-foot__col a, .hb-footer--v2 .hb-foot__legal a { color: #35507f; text-decoration: none; font: 500 .95rem var(--font-ui); }
.hb-footer--v2 .hb-foot__col a:hover, .hb-footer--v2 .hb-foot__legal a:hover { color: #0081FC; text-decoration: underline; }
.hb-foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid #c3dcf0; font-size: .85rem; color: #4a6690; }
.hb-foot__legal { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.hb-footer--v2 .hb-foot__top { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .8rem; border-radius: 999px; background: #0081FC; color: #fff; text-decoration: none; font: 700 .82rem var(--font-ui); }
.hb-footer--v2 .hb-foot__top:hover { background: #0042A7; color: #fff; text-decoration: none; }
.hb-foot__top svg { transform: rotate(-90deg); }
.theme-lise .hb-footer.hb-footer--v2 { background: linear-gradient(180deg, #eef7ff 0%, #d9ecfb 100%); color: #0a2a63; }
@media (max-width: 900px) { .hb-footer--v2 .hb-foot { grid-template-columns: 1fr 1fr; } .hb-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .hb-footer--v2 .hb-foot { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; } .hb-foot__bar { flex-direction: column; align-items: flex-start; } }
@media print { .hb-footer--v2 { display: none !important; } }

/* Etkimiz sayfası */
.hb-etki { padding: 1.4rem 0 3rem; display: grid; gap: 1.2rem; max-width: 1100px; }
.hb-etki__sec { background: #fff; border: 1px solid #dcecf7; border-radius: 28px; padding: 1.4rem clamp(1rem, 3vw, 2rem) 1.6rem; box-shadow: 0 14px 34px -24px rgba(0,66,167,.5); }
.hb-etki__h { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; font: 600 1.5rem var(--font-dyna); color: #0a2a63; }
.hb-etki__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; }
.hb-etki__kpi { display: grid; gap: .1rem; padding: 1rem 1.1rem; border-radius: 20px; background: linear-gradient(135deg, #eef7ff, #fff); border: 1px solid #d3e6f8; }
.hb-etki__kpi b { font: 600 clamp(1.8rem, 3.4vw, 2.5rem) var(--font-dyna); color: #0042A7; line-height: 1.1; }
.hb-etki__kpi span { color: var(--muted); font-size: .92rem; }
.hb-etki__bars { display: grid; gap: .55rem; margin-top: 1.2rem; }
.hb-etki__bar { display: grid; grid-template-columns: 6.5rem 1fr 2.2rem; align-items: center; gap: .7rem; font-weight: 600; }
.hb-etki__track { height: 14px; border-radius: 999px; background: #eaf5ff; overflow: hidden; }
.hb-etki__track i { display: block; height: 100%; border-radius: 999px; background: var(--c, #0081FC); }
.hb-etki__barn { text-align: right; color: #0a2a63; }
.hb-etki__note { margin: .8rem 0 0; color: var(--muted); font-size: .92rem; }
.hb-etki__chart { width: 100%; height: 140px; margin-top: 1rem; }
.hb-etki__two { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; margin-top: 1rem; }
.hb-etki__two h3 { margin: 0 0 .5rem; font: 600 1.1rem var(--font-dyna); color: #0042A7; }
.hb-etki__list { margin: 0; padding: 0; list-style: none; counter-reset: etki; }
.hb-etki__list li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .5rem 0; border-bottom: 1px solid #e3eefa; }
.hb-etki__list a { display: flex; align-items: center; gap: .6rem; color: #0a2a63; text-decoration: none; font-weight: 600; } .hb-etki__list a:hover { color: #0081FC; }
.hb-etki__list b { color: #0042A7; }
.hb-etki__ticks { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .5rem; }
.hb-etki__ticks li { position: relative; padding-left: 1.9rem; line-height: 1.5; }
.hb-etki__ticks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.3rem; height: 1.3rem; background: url("../img/emoji/onay.webp") center / contain no-repeat; }
.hb-etki__promise { background: linear-gradient(135deg, #f3fbf6, #fff); border-color: #cdebd9; }
.hb-etki__hero { margin-top: 0; }
@media (max-width: 560px) { .hb-etki__bar { grid-template-columns: 5.2rem 1fr 2rem; } }
@media print { .hb-etki__chart { display: none; } }

/* Footer rozetleri: daha büyük ve belirgin */
.hb-foot__badges { gap: .6rem; }
.hb-foot__badges li { gap: .55rem; padding: .4rem 1.1rem .4rem .55rem; font: 600 1.05rem var(--font-dyna); color: #0a2a63; border-width: 2px; box-shadow: 0 8px 16px -12px rgba(0,66,167,.55); }
.hb-foot__badges .hb-emo { width: 38px; height: 38px; }
@media (max-width: 520px) { .hb-foot__badges li { font-size: .95rem; padding: .3rem .9rem .3rem .45rem; } .hb-foot__badges .hb-emo { width: 32px; height: 32px; } }
@media (min-width: 901px) { .hb-footer--v2 .hb-foot { grid-template-columns: 2.6fr .9fr .9fr 1.1fr; } .hb-foot__badges { flex-wrap: nowrap; } .hb-foot__badges li { white-space: nowrap; } }

/* Hakkında: adın iki anlamı */
.hb-nameblock { margin: 1rem 0 1.6rem; padding: 1.4rem; border-radius: 28px; background: linear-gradient(135deg, #eaf5ff, #fff7dc); border: 1px solid #d3e6f8; text-align: center; }
.hb-nameblock__logo img { width: min(320px, 80%); height: auto; }
.hb-nameblock__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; margin-top: 1rem; }
.hb-nameblock__card { display: grid; gap: .25rem; padding: 1rem 1.1rem; border-radius: 22px; background: #fff; border: 3px solid var(--c); box-shadow: 0 10px 20px -14px rgba(0,66,167,.5); }
.hb-nameblock__card small { font: 700 .85rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #35507f; }
.hb-nameblock__card strong { font: 600 1.5rem/1.2 var(--font-dyna); color: #0a2a63; }
.hb-nameblock__card span { color: var(--muted); font-size: .92rem; }

/* Footer: 5 sütun; sözler logonun yanında alt alta */
.hb-footer--v2 .hb-foot { grid-template-columns: 1.5fr 1.15fr .8fr 1fr 1.1fr; align-items: start; }
.hb-foot__promise { align-self: center; }
.hb-foot__badges { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: .5rem; }
.hb-foot__badges li { padding: .25rem .9rem .25rem .4rem; font: 600 1rem var(--font-dyna); border-width: 1px; gap: .45rem; box-shadow: none; white-space: nowrap; }
.hb-foot__badges .hb-emo { width: 26px; height: 26px; }
@media (max-width: 1100px) and (min-width: 901px) { .hb-footer--v2 .hb-foot { grid-template-columns: 1.3fr 1.1fr .8fr 1fr 1fr; gap: 1.2rem; } .hb-foot__badges li { font-size: .92rem; } }
@media (max-width: 900px) { .hb-footer--v2 .hb-foot { grid-template-columns: 1fr 1fr; } .hb-foot__brand { grid-column: 1 / -1; } .hb-foot__promise { grid-column: 1 / -1; } .hb-foot__badges { flex-direction: row; flex-wrap: wrap; } }

/* Hakkında */
.hb-etki .hb-nameblock { margin: 0 0 1.2rem; }
.hb-hk__cards .hb-etki__kpi span { color: #35507f; line-height: 1.45; }
.hb-hk__hibirow { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; }
.hb-hk__quote { margin: .8rem 0 0; padding: .9rem 1.2rem; border-left: 6px solid #FEC530; border-radius: 0 16px 16px 0; background: #fff8dc; font: 600 1.15rem var(--font-dyna); color: #0a2a63; }
.hb-hk__poses { display: flex; align-items: flex-end; gap: .2rem; }
.hb-hk__pose { height: auto; filter: drop-shadow(0 10px 10px rgba(0,66,167,.2)); }
@media (max-width: 760px) { .hb-hk__hibirow { grid-template-columns: 1fr; } .hb-hk__poses { justify-content: center; } .hb-hk__pose { width: 28%; } }

/* Hakkında: hazırlayan */
.hb-hk__person { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: 22px; background: linear-gradient(135deg, #eef7ff, #fff8dc); border: 1px solid #d3e6f8; }
.hb-hk__avatar { flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: linear-gradient(145deg, #0081FC, #0042A7); color: #fff; font: 600 1.3rem var(--font-dyna); box-shadow: 0 8px 14px -8px rgba(0,66,167,.6); }
.hb-hk__person strong { display: block; font: 600 1.25rem var(--font-dyna); color: #0a2a63; }
.hb-hk__person span:not(.hb-hk__avatar) { color: var(--muted); }

/* Footer: sözler en sağda */
@media (min-width: 1101px) { .hb-footer--v2 .hb-foot { grid-template-columns: 1.5fr .8fr 1fr 1.1fr 1.2fr; } }
@media (max-width: 1100px) and (min-width: 901px) { .hb-footer--v2 .hb-foot { grid-template-columns: 1.3fr .8fr 1fr 1fr 1.1fr; } }
.hb-foot__promise { justify-self: end; }
@media (max-width: 900px) { .hb-foot__promise { justify-self: start; } }

/* Katılım sertifikası (Hızlı Test, 5/5) */
.hb-certhint { display: flex; align-items: center; gap: .4rem; margin: .8rem 0 0; padding: .7rem 1rem; border-radius: 16px; background: #fff8dc; border: 2px dashed #FEC530; font: 600 1rem var(--font-soru); color: #7a5600; }
.hb-certform { margin-top: 1rem; padding: 1.1rem 1.2rem; border-radius: 22px; background: linear-gradient(135deg, #fff8dc, #eaf5ff); border: 2px solid #FEC530; }
.hb-certform h3 { margin: 0 0 .3rem; font: 600 1.3rem var(--font-dyna); color: #0a2a63; }
.hb-certform p { margin: 0 0 .7rem; color: #35507f; }
.hb-certform__row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.hb-certform__in { flex: 1 1 220px; min-width: 0; padding: .75rem 1rem; border-radius: 14px; border: 2px solid #bcd6ee; font: 600 1.1rem var(--font-soru); color: #0a2a63; background: #fff; }
.hb-certform__in:focus { outline: 3px solid #FEC530; border-color: #FEC530; }
.hb-certwrap { margin-top: 1rem; }
.hb-certbox { position: relative; width: 100%; aspect-ratio: 1123 / 794; overflow: hidden; border-radius: 18px; box-shadow: 0 16px 34px -20px rgba(0,66,167,.6); background: #fff; }
.hb-cert { position: absolute; left: 0; top: 0; width: 1123px; height: 794px; transform-origin: 0 0; box-sizing: border-box; padding: 26px; background: var(--bg); --a: #FEC530; --b: #FD6C5B; --bg: #fff9e3; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.hb-cert--ortaokul { --a: #0081FC; --b: #6a4cff; --bg: #eef6ff; }
.hb-cert--lise { --a: #01C5CD; --b: #0042A7; --bg: #e8fbfc; }
.hb-cert__in { position: relative; width: 100%; height: 100%; box-sizing: border-box; border: 14px solid var(--a); border-radius: 34px; background: radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--a) 30%, transparent) 0 6px, transparent 7px), radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--b) 30%, transparent) 0 8px, transparent 9px), radial-gradient(circle at 20% 88%, color-mix(in srgb, var(--b) 25%, transparent) 0 7px, transparent 8px), radial-gradient(circle at 70% 90%, color-mix(in srgb, var(--a) 30%, transparent) 0 6px, transparent 7px), #fff; text-align: center; font-family: var(--font-dyna); color: #0a2a63; }
.hb-cert__in::before { content: ""; position: absolute; inset: 12px; border: 4px dashed var(--b); border-radius: 24px; opacity: .55; pointer-events: none; }
.hb-cert__logo { position: absolute; left: 50%; top: 44px; transform: translateX(-50%); width: 300px; height: auto; }
.hb-cert__title { position: absolute; left: 0; right: 0; top: 160px; font-size: 54px; font-weight: 600; letter-spacing: .02em; color: var(--b); }
.hb-cert__lead { position: absolute; left: 0; right: 0; top: 236px; font: 500 22px var(--font-ui); color: #35507f; }
.hb-cert__name { position: absolute; left: 150px; right: 150px; top: 272px; font-size: 62px; font-weight: 600; color: #0a2a63; border-bottom: 4px dotted var(--a); padding-bottom: 6px; min-height: 76px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-cert__text { position: absolute; left: 190px; right: 190px; top: 376px; font: 500 24px/1.4 var(--font-ui); color: #35507f; }
.hb-cert__badge { position: absolute; left: 50%; top: 470px; transform: translateX(-50%); padding: 10px 40px; border-radius: 999px; background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; font-size: 30px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 0 color-mix(in srgb, var(--b) 60%, #000); }
.hb-cert__stars { position: absolute; left: 0; right: 0; top: 540px; display: flex; justify-content: center; gap: 10px; }
.hb-cert__stars img { width: 52px; height: 52px; opacity: .22; filter: grayscale(1); } .hb-cert__stars img.is-on { opacity: 1; filter: none; }
.hb-cert__motto { position: absolute; left: 0; right: 0; top: 612px; font-size: 26px; font-weight: 500; color: var(--b); }
.hb-cert__foot { position: absolute; left: 70px; right: 70px; bottom: 52px; display: flex; justify-content: space-between; align-items: flex-end; font: 600 22px var(--font-ui); color: #35507f; }
.hb-cert__sign { font: 600 40px var(--font-dyna); color: var(--b); border-top: 3px solid var(--b); padding: 6px 30px 0; }
.hb-cert__hibi { position: absolute; right: 40px; bottom: 60px; height: 330px; width: auto; filter: drop-shadow(0 12px 12px rgba(0,66,167,.25)); }
.hb-cert__ic { position: absolute; width: 74px; height: 74px; filter: drop-shadow(0 6px 6px rgba(0,66,167,.2)); }
.hb-cert__ic--0 { left: 70px; top: 120px; transform: rotate(-12deg); } .hb-cert__ic--1 { right: 70px; top: 120px; transform: rotate(10deg); }
.hb-cert__ic--2 { left: 60px; bottom: 150px; transform: rotate(8deg); } .hb-cert__ic--3 { right: 330px; top: 60px; transform: rotate(14deg); width: 60px; height: 60px; }
/* yazdırma: yalnızca sertifika, A4 yatay */
.hb-printroot { display: none; }
@page sertifika { size: A4 landscape; margin: 0; }
@media print {
    body.hb-printing > *:not(.hb-printroot) { display: none !important; }
    body.hb-printing { background: #fff !important; margin: 0; }
    body.hb-printing .hb-printroot { page: sertifika; display: block !important; position: fixed; left: 0; top: 0; width: 1123px; height: 794px; }
    body.hb-printing .hb-printroot .hb-cert { transform: none !important; }
}
@media (max-width: 600px) { .hb-certform__row .hb-gbtn { width: 100%; } }
/* Sertifika: düzen düzeltmesi (karakter sağda, metinler solda sütunda) */
.hb-cert__lead { left: 90px; right: 330px; top: 232px; }
.hb-cert__name { left: 110px; right: 350px; top: 268px; font-size: 56px; }
.hb-cert__text { left: 100px; right: 340px; top: 366px; font-size: 23px; }
.hb-cert__badge { left: 365px; top: 462px; font-size: 28px; padding: 9px 34px; }
.hb-cert__stars { left: 90px; right: 330px; top: 530px; }
.hb-cert__motto { left: 90px; right: 330px; top: 600px; font-size: 24px; }
.hb-cert__foot { left: 70px; right: 330px; bottom: 44px; }
.hb-cert__sign { font-size: 32px; padding: 4px 24px 0; }
.hb-cert__hibi { right: 36px; bottom: 56px; height: 340px; }
.hb-cert__title { left: 90px; right: 330px; top: 158px; font-size: 50px; }
.hb-cert__ic--1 { right: 330px; top: 120px; } .hb-cert__ic--0 { left: 70px; top: 130px; }
.hb-cert__ic--3 { right: 80px; top: 70px; } .hb-cert__ic--2 { left: 56px; bottom: 120px; }
.hb-cert__motto { top: 582px; font-size: 23px; }
.hb-cert__stars { top: 512px; }
.hb-cert__foot { bottom: 38px; }
.hb-cert__sign { font-size: 28px; padding: 2px 22px 0; }
.hb-cert__ic--0 { left: 64px; top: 56px; } .hb-cert__ic--1 { right: 360px; top: 52px; }
.hb-cert__ic--2 { left: 50px; bottom: 150px; }
.hb-cert__ic--1 { display: none; }
.hb-cert__badge { top: 452px; }
.hb-cert__stars { top: 528px; }
.hb-cert__motto { top: 596px; }

/* Mobil/tablet: hedef kitle hero görselinde yazı bloğunu (Genel Bakış / Neler Öğreneceğiz üstü) ortalayarak daralt */
.hb-lvhero--simple { --hh: clamp(220px, 34vw, 500px); height: var(--hh); }
@media (max-width: 860px) {
    .hb-lvhero--ilkokul.hb-lvhero--simple .hb-lvhero__photo,
    .hb-lvhero--ortaokul.hb-lvhero--simple .hb-lvhero__photo,
    .hb-lvhero--lise.hb-lvhero--simple .hb-lvhero__photo {
        background-size: auto 100%;
        background-position-y: center;
        background-position-x: clamp(100vw - 5 * var(--hh), 50vw - 1.35 * var(--hh) - 150px, 0px);   /* görünen alan 150px sağa */
    }
}

/* Ana sayfa (mobil): ortadaki karakteri gizle */
@media (max-width: 700px) {
    .hb-hero2__art { display: none !important; }
    .hb-hero2__in { padding-top: .6rem; }
}

/* Mobil menü: logo solda, menü düğmesi sağda; menü sağdan açılan çekmece */
.hb-menubtn, .hb-nav__head, .hb-nav__search, .hb-navover { display: none; }
@media (max-width: 900px) {
    .hb-header .hb-header__in { display: flex !important; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
    .hb-header .hb-search { display: none !important; }
    .hb-menubtn { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 48px; height: 48px; margin-left: auto; border: 0; border-radius: 16px; background: #eaf5ff; cursor: pointer; flex: none; box-shadow: inset 0 -3px 0 rgba(0,66,167,.12); }
    .hb-menubtn span { display: block; width: 22px; height: 3px; border-radius: 3px; background: #0042A7; transition: transform .2s, opacity .2s; }
    .hb-menubtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hb-menubtn[aria-expanded="true"] span:nth-child(2) { opacity: 0; } .hb-menubtn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hb-menubtn:focus-visible { outline: 3px solid #FEC530; outline-offset: 2px; }
    .hb-header .hb-nav { position: fixed !important; top: 0; right: 0; bottom: 0; left: auto; width: min(86vw, 340px) !important; max-width: none; margin: 0 !important; padding: 0 0 1.5rem !important; display: flex !important; flex-direction: column; align-items: stretch !important; justify-content: flex-start !important; gap: 0 !important; overflow-y: auto; background: #fff !important; border-radius: 28px 0 0 28px; box-shadow: -18px 0 40px -18px rgba(0,42,99,.5); transform: translateX(105%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; z-index: 1001; -webkit-mask-image: none !important; mask-image: none !important; }
    .hb-header .hb-nav.is-open { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
    .hb-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem .6rem; font: 600 1.2rem var(--font-dyna); color: #0042A7; }
    .hb-nav__close { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #eaf5ff; color: #0042A7; cursor: pointer; }
    .hb-nav__close svg { transform: rotate(0deg); } .hb-nav__close { font-size: 0; }
    .hb-nav__search { display: flex; align-items: center; gap: .5rem; margin: .2rem 1rem .8rem; padding: 0 1rem; height: 46px; border-radius: 999px; background: #eaf5ff; color: #5b7aa6; }
    .hb-nav__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 1rem var(--font-ui); color: var(--ink); outline: none; }
    .hb-header .hb-nav a { flex-direction: row !important; justify-content: flex-start !important; gap: .9rem !important; margin: 0 .7rem; padding: .75rem 1rem !important; border-radius: 16px !important; font: 600 1.05rem var(--font-ui) !important; color: #0a2a63 !important; flex: none !important; }
    .hb-header .hb-nav a svg { width: 26px; height: 26px; }
    .hb-header .hb-nav a.is-active { background: #eaf5ff !important; color: #0081FC !important; } .hb-header .hb-nav a.is-active::after { display: none; }
    .hb-header .hb-nav a span { white-space: normal; }
    .hb-header .hb-nav .hb-nav__sep { display: block; width: auto; height: 1px; margin: .4rem 1.2rem; background: #d8e8f5; }
    .hb-navover { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(10,42,99,.45); backdrop-filter: blur(2px); }
    .hb-navover[hidden] { display: none; }
    body.hb-nav-lock { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .hb-header .hb-nav, .hb-menubtn span { transition: none !important; } }
@media (max-width: 860px) {
    .hb-lvhero--lise.hb-lvhero--simple .hb-lvhero__photo { background-position-x: clamp(100vw - 5 * var(--hh), 50vw - 1.35 * var(--hh) - 100px, 0px); }   /* lise: görünen alan 100px sola */
}

/* Mobil: "Merhaba" karşılama kartı Neler Öğreneceğiz'in üstünde */
@media (max-width: 860px) {
    .hb-lvgrid > .hb-lvwelcome { grid-column: 1 / -1; grid-row: 1; }
    .hb-lvgrid > .hb-lvmain { grid-column: 1 / -1; grid-row: 2; }
    .hb-lvgrid > .hb-lvfamily { grid-column: 1 / -1; grid-row: 3; }
}

/* Mobil: yan kartlar (kademe kartı vb.) sütunda kendi yüksekliğinde kalsın, alt boşluk oluşmasın */
@media (max-width: 600px) { .hb-topic__side { gap: .8rem; } .hb-topic__side > .hb-tsidecard { flex: 0 0 auto; } }

/* =====================================================================
   YAZDIRMA (A4 dikey): sade, siyah-beyaz dostu, sayfaya sığan çıktı
   ===================================================================== */
.hb-printhead, .hb-printfoot { display: none; }
@page { size: A4 portrait; margin: 14mm 14mm 16mm; }
@media print {
    html, body { background: #fff !important; color: #000 !important; font-size: 11pt !important; line-height: 1.5 !important; }
    *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }
    .hb-header, .hb-footer, .hb-navover, .hb-menubtn, .skip, .no-print, .hb-crumb, .hb-pn, .hb-topic__side, .hb-tshare, .hb-tanispose, .hb-thero__art,
    .hb-lvhero, .hb-tabs2, .hb-share, .hb-ibtns, .hb-gbtns, .hb-gstage, .hb-certwrap, .hb-kcount { display: none !important; }
    main, .hb-wrap, .hb-topic__wrap, .hb-topic__main, .hb-page, .hb-etki { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
    .hb-topicgrid { display: block !important; }
    .hb-printhead { display: flex !important; align-items: center; justify-content: space-between; gap: 6mm; margin: 0 0 5mm; padding-bottom: 3mm; border-bottom: 1.5pt solid #000; font-size: 9.5pt; color: #333; }
    .hb-printhead img { height: 12mm; width: auto; }
    .hb-printfoot { display: block !important; margin-top: 8mm; padding-top: 3mm; border-top: .75pt solid #888; font-size: 8.5pt; color: #444; word-break: break-all; }
    .hb-thero { display: block !important; background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 0 3mm !important; margin: 0 0 4mm !important; }
    .hb-thero h1 { font-size: 20pt !important; line-height: 1.2; color: #000 !important; margin: 2mm 0 !important; }
    .hb-tchips { margin: 0 0 2mm !important; } .hb-tchip { background: #fff !important; border: .75pt solid #777 !important; color: #000 !important; font-size: 9pt !important; padding: .5mm 2.5mm !important; }
    .hb-tchip img { height: 4.5mm; width: auto; }
    .hb-trule { background: #fff !important; border: .75pt solid #777 !important; border-radius: 2mm !important; padding: 2mm 3mm !important; color: #000 !important; font-size: 11pt !important; }
    .hb-trule img { height: 7mm; width: auto; }
    .hb-tcard, .hb-block, .hb-do { background: #fff !important; border: .75pt solid #aaa !important; border-radius: 2.5mm !important; padding: 3.5mm 4.5mm !important; margin: 0 0 4.5mm !important; }
    .hb-block__title { font-size: 13.5pt !important; color: #000 !important; margin: 0 0 2mm !important; break-after: avoid; }
    .hb-block__title small { display: none; } .hb-tico { background: none !important; width: auto !important; height: auto !important; padding: 0 !important; } .hb-tico img, .hb-block__title img { height: 8mm !important; width: auto !important; }
    h1, h2, h3, h4 { break-after: avoid; page-break-after: avoid; color: #000 !important; }
    .hb-prose, .hb-prose p, .hb-prose li { font-size: 11pt !important; line-height: 1.5 !important; color: #000 !important; }
    .hb-prose h3 { font-size: 12.5pt !important; margin: 4mm 0 1.5mm !important; border: 0 !important; }
    .hb-prose p, .hb-prose li { orphans: 3; widows: 3; }
    .hb-prose ul, .hb-prose ol { padding-left: 6mm; } .hb-prose li { break-inside: avoid; }
    .hb-prose blockquote { border: 0 !important; border-left: 2pt solid #000 !important; background: #f3f3f3 !important; border-radius: 0 !important; padding: 2mm 4mm !important; text-align: left !important; }
    .hb-prose a { color: #000 !important; text-decoration: underline; }
    .hb-prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #333; word-break: break-all; }
    /* mini sorular: çalışma kâğıdı gibi, doğru cevap işaretli */
    .hb-quiz { break-inside: avoid; background: #fff !important; border: .75pt solid #999 !important; border-radius: 2mm !important; padding: 3mm !important; margin: 0 0 3mm !important; }
    .hb-quiz__scn { background: #f3f3f3 !important; border: 0 !important; border-left: 2.5pt solid #000 !important; border-radius: 0 !important; color: #000 !important; font-size: 11pt !important; padding: 1.5mm 3mm !important; margin: 0 0 2mm !important; }
    .hb-quiz__q { font-size: 11.5pt !important; color: #000 !important; margin: 0 0 2mm !important; }
    .hb-quiz__opts { display: grid; gap: 1.5mm; }
    .hb-opt { background: #fff !important; border: .75pt solid #666 !important; border-radius: 1.5mm !important; color: #000 !important; font-size: 10.5pt !important; padding: 1.5mm 3mm !important; }
    .hb-opt[data-ok="1"] { border: 1.75pt solid #000 !important; font-weight: 700; } .hb-opt[data-ok="1"]::after { content: "  ✔ doğru cevap"; font-weight: 600; font-size: 9pt; }
    .hb-quiz__fb { display: none !important; }
    .hb-quiz__exp, [data-exp] { display: block !important; background: #f3f3f3 !important; border: 0 !important; border-left: 2pt solid #666 !important; border-radius: 0 !important; color: #000 !important; font-size: 10pt !important; padding: 1.5mm 3mm !important; margin: 2mm 0 0 !important; }
    .hb-do__text { font-size: 12pt !important; font-weight: 700; color: #000 !important; }
    /* diğer sayfalar */
    .hb-tiles, .hb-gcards { display: block !important; } .hb-tile, .hb-gcard { display: block; break-inside: avoid; background: #fff !important; border: .75pt solid #aaa !important; margin: 0 0 2mm; padding: 2mm 3mm !important; min-height: 0 !important; }
    .hb-lvgrid { display: block !important; } .hb-lvcard { background: #fff !important; border: .75pt solid #aaa !important; margin: 0 0 4mm !important; break-inside: avoid; }
    .hb-etki__sec { background: #fff !important; border: .75pt solid #aaa !important; break-inside: avoid; margin: 0 0 4mm !important; }
    img { max-width: 100% !important; }
}
@media print { .hb-topic, article.hb-topic, .hb-oyunlar-wrap, .hb-lvgrid { padding: 0 !important; margin: 0 !important; } .hb-topic__wrap { padding-top: 0 !important; } }
@media print { .hb-block__title small, .hb-tcard .hb-block__title small { display: none !important; } }

/* 404 sayfası */
.hb-nf { padding: 1.4rem 0 3rem; display: grid; gap: 1.4rem; max-width: 1100px; }
.hb-nf__hero { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: clamp(1.2rem, 3vw, 2.2rem); border-radius: 30px; background: linear-gradient(135deg, #eaf5ff, #fff7dc); border: 1px solid #d3e6f8; box-shadow: 0 16px 34px -24px rgba(0,66,167,.5); }
.hb-nf__code { margin: 0; font: 700 clamp(3rem, 9vw, 5.5rem)/1 var(--font-dyna); color: #0081FC; letter-spacing: .04em; text-shadow: 0 4px 0 #FEC530; }
.hb-nf h1 { margin: .2rem 0 .4rem; font: 600 clamp(1.6rem, 3.6vw, 2.3rem)/1.2 var(--font-dyna); color: #0a2a63; }
.hb-nf__lead { margin: 0 0 1rem; color: #35507f; font-size: 1.05rem; max-width: 52ch; }
.hb-nf__search { display: flex; align-items: center; gap: .5rem; padding: .4rem .4rem .4rem 1rem; max-width: 520px; background: #fff; border: 2px solid #bcd6ee; border-radius: 999px; color: #5b7aa6; }
.hb-nf__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 1.05rem var(--font-ui); color: var(--ink); outline: none; }
.hb-nf__search:focus-within { border-color: #0081FC; box-shadow: 0 0 0 3px rgba(0,129,252,.2); }
.hb-nf__links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; }
.hb-nf__pose { height: auto; filter: drop-shadow(0 12px 12px rgba(0,66,167,.22)); animation: hb-bob 5s ease-in-out infinite; }
.hb-nf__lv { display: flex; flex-wrap: wrap; gap: .6rem; }
.hb-nf__chip { padding: .5rem 1.2rem; border-radius: 999px; background: color-mix(in srgb, var(--c) 18%, #fff); border: 2px solid var(--c); color: #0a2a63; font: 600 1rem var(--font-dyna); text-decoration: none; }
.hb-nf__chip:hover { background: var(--c); color: #fff; }
.hb-nf__h { margin: 0 0 .8rem; font: 600 1.35rem var(--font-dyna); color: #0a2a63; }
@media (max-width: 760px) { .hb-nf__hero { grid-template-columns: 1fr; } .hb-nf__art { display: none; } }
@media (prefers-reduced-motion: reduce) { .hb-nf__pose { animation: none; } }
/* Footer: sütunlar dengeli dağılsın (Keşfet ile rozetler arası boşluk kapanır) */
@media (min-width: 901px) {
    .hb-footer--v2 .hb-foot { grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(120px, 1fr)) max-content; gap: 2rem clamp(1.2rem, 3vw, 3rem); }
    .hb-foot__promise { justify-self: start; align-self: start; }
    .hb-foot__badges { align-items: flex-start; }
}

/* Footer: Instagram bağlantısı (en solda) */
.hb-foot__ig { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; padding: .45rem 1.1rem .45rem .5rem; border-radius: 999px; background: linear-gradient(135deg, #feda75, #fa7e1e 35%, #d62976 65%, #962fbf); color: #fff !important; text-decoration: none !important; font: 600 .92rem var(--font-ui); box-shadow: 0 8px 16px -10px rgba(214,41,118,.8); transition: transform .15s, filter .15s; }
.hb-foot__ig svg { flex: none; width: 32px; height: 32px; padding: 4px; border-radius: 50%; background: rgba(255,255,255,.22); }
.hb-foot__ig b { font-weight: 700; }
.hb-foot__ig:hover { transform: translateY(-2px); filter: brightness(1.06); }
.hb-foot__ig:focus-visible { outline: 3px solid #0081FC; outline-offset: 3px; }
@media (max-width: 520px) { .hb-foot__ig span { font-size: .85rem; } }
/* Footer: logo sütun genişliğinde; Instagram bağlantısı normal metin gibi, logoyla sol hizalı */
.hb-footer--v2 .hb-footer__logo { display: block; }
.hb-footer--v2 .hb-footer__logo img { width: 100%; max-width: 340px; height: auto; }
.hb-footer--v2 .hb-foot__ig { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .9rem; padding: 0; border-radius: 0; background: none; box-shadow: none; transform: none; filter: none; color: #35507f !important; font: 400 .92rem/1.5 var(--font-ui); text-decoration: none; }
.hb-footer--v2 .hb-foot__ig svg { width: 20px; height: 20px; padding: 0; border-radius: 0; background: none; color: #d62976; }
.hb-footer--v2 .hb-foot__ig b { font-weight: 700; color: #0a2a63; }
.hb-footer--v2 .hb-foot__ig:hover { background: none; transform: none; filter: none; text-decoration: underline !important; }
.hb-footer--v2 .hb-footer__note { margin-top: .8rem; }

/* Footer alt şerit: 3 sütun, ortadaki bağlantılar sayfaya göre ortalı; aralarında yuvarlak nokta */
.hb-foot__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem 1.5rem; }
.hb-foot__bar > span { justify-self: start; }
.hb-foot__bar .hb-foot__top { justify-self: end; }
.hb-foot__legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem 0; }
.hb-foot__legal a { display: inline-flex; align-items: center; }
.hb-foot__legal a + a::before { content: ""; width: 5px; height: 5px; margin: 0 .85rem; border-radius: 50%; background: #7ea6cf; flex: none; }
.hb-footer--v2 .hb-foot__legal .hb-foot__ig { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: 0; background: none; box-shadow: none; transform: none; filter: none; color: #35507f !important; font: 500 .95rem var(--font-ui); text-decoration: none; }
.hb-footer--v2 .hb-foot__legal .hb-foot__ig svg { width: 18px; height: 18px; padding: 0; border-radius: 0; background: none; color: #d62976; }
.hb-footer--v2 .hb-foot__legal .hb-foot__ig:hover { color: #0081FC !important; text-decoration: underline; }
@media (max-width: 900px) { .hb-foot__bar { grid-template-columns: 1fr; justify-items: center; text-align: center; } .hb-foot__bar > span, .hb-foot__bar .hb-foot__top { justify-self: center; } }
/* Footer rozetleri: sağa yaslı, ikon yazının sağında */
.hb-foot__promise { justify-self: end !important; }
.hb-foot__badges { align-items: flex-end !important; }
.hb-foot__badges li { flex-direction: row-reverse; text-align: right; padding: .25rem .5rem .25rem .9rem; }
@media (max-width: 900px) { .hb-foot__promise { justify-self: end !important; width: 100%; } .hb-foot__badges { flex-direction: column !important; align-items: flex-end !important; } }

/* İletişim */
.hb-ic__mail { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: 1rem 0 0; }
.hb-ic__mail .hb-btn { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.hb-ic__quick { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; }

/* Ana sayfa: Instagram gömme */
.hb-igembed { margin: 0 0 1.4rem; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid #dcecf7; box-shadow: 0 14px 30px -22px rgba(0,66,167,.5); }
.hb-igembed iframe { display: block; width: 100%; height: 480px; border: 0; }
.hb-sec-head--sp { margin-top: .4rem; }
/* Instagram kutusu: profil başlığı (takipçi/gönderi sayıları) kırpılır, yalnızca gönderi ızgarası (3 sıra) görünür; alt boşluk yok */
.hb-igembed { position: relative; aspect-ratio: 1 / 1; height: auto; }
.hb-igembed iframe { position: absolute; left: 0; top: -112px; width: 100%; height: calc(100% + 140px); }

/* Instagram ızgarası (3 sütun, kendi görsellerimiz; Instagram'a bağlanmaz) */
.hb-iggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 .8rem; }
.hb-iggrid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #eaf5ff; }
.hb-iggrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hb-iggrid a:hover img { transform: scale(1.08); }
.hb-iggrid__r { position: absolute; right: 6px; top: 6px; padding: 0 6px; border-radius: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: .7rem; }
.hb-iggrid__more { display: block; text-align: center; margin: 0 0 1.4rem; }
.hb-igelf { margin: 0 0 1.4rem; min-height: 120px; }
/* Popüler başlıklar: 4 sütun (8 kart = 2 sıra) */
.hb-pop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .hb-pop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .hb-pop { grid-template-columns: 1fr; } }
/* Instagram alanı: 360x245 görünür pencere */
.hb-igembed, .hb-iggrid { width: 360px; max-width: 100%; height: 245px; overflow: hidden; }
.hb-igembed { aspect-ratio: auto; }
.hb-iggrid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 4px; }
.hb-iggrid a { aspect-ratio: auto; border-radius: 8px; }
@media (max-width: 400px) { .hb-igembed, .hb-iggrid { height: auto; aspect-ratio: 360 / 245; } }
.hb-igembed iframe { top: -132px; height: calc(100% + 160px); }
.hb-igembed iframe { top: -142px; height: calc(100% + 170px); }
.hb-igembed, .hb-iggrid { height: 240px; }
.hb-igembed iframe { top: -145px; height: calc(100% + 175px); }
@media (max-width: 400px) { .hb-igembed, .hb-iggrid { height: auto; aspect-ratio: 360 / 240; } }

/* ---- Oyunlar: büyük soru kartı (Hızlı Test, Hangisi Daha Güvenli?) ---- */
.hb-qcard.hb-qcard--big { padding: 0; overflow: hidden; }
.hb-qcard--big .hb-qhead { background: color-mix(in srgb, var(--c, #0081FC) 14%, transparent); padding: 1.1rem 1.3rem 1.2rem; }
.hb-qcard--big .hb-qnum { margin: 0 0 .55rem; font: 800 .82rem/1 var(--font-ui); letter-spacing: .08em; color: color-mix(in srgb, var(--c, #0081FC) 72%, #000); }
.hb-qcard--big .hb-quiz__scn { margin: 0 0 .5rem; padding: 0; background: none; border-radius: 0; font-size: 1.15rem; line-height: 1.5; font-style: italic; color: var(--ink); }
.hb-qcard--big .hb-quiz__scn::before { content: none; }
.hb-qcard--big .hb-quiz__q { margin: 0; font: 800 clamp(1.35rem, 1.05rem + 1.1vw, 1.75rem)/1.3 var(--font-ui); color: var(--ink); }
.hb-qcard--big .hb-quiz__opts { display: grid; gap: .7rem; padding: 1.1rem 1.2rem 1.2rem; }
.hb-qcard--big .hb-opt { display: flex; align-items: center; gap: .8rem; font-size: 1.15rem; line-height: 1.4; }
.hb-opt__l { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
    background: color-mix(in srgb, var(--c, #0081FC) 16%, transparent); color: color-mix(in srgb, var(--c, #0081FC) 80%, #000); font-weight: 800; }
.hb-opt.is-right .hb-opt__l { background: #16a34a; color: #fff; }
.hb-opt.is-wrong .hb-opt__l { background: #dc2626; color: #fff; }
.hb-qcard--big > .hb-tzfb { margin: 0 1.2rem 1.2rem; max-width: none; font-size: 1.08rem; line-height: 1.5; }
.hb-qcard--big > .hb-tzfb strong { font-size: 1.2rem; margin-bottom: .2rem; }
.hb-qcard--big > .hb-gbtn { margin: 0 1.2rem 1.2rem !important; }
.hb-qcard--big .hb-quiz__scn { border: 0; box-shadow: none; }

/* ---- Bağlantı Dedektifi ---- */
.hb-linkbody { padding: 0 1.2rem; }
.hb-url { margin: .2rem 0 1rem; padding: .9rem 1rem; background: #f6f8fc; border: 2px dashed color-mix(in srgb, var(--c, #0891b2) 45%, transparent); border-radius: 14px;
    font: 600 clamp(1rem, .9rem + .5vw, 1.25rem)/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); word-break: break-all; }
.hb-url__alan { background: #fde68a; color: #111; border-radius: 6px; padding: 0 .2em; box-shadow: 0 0 0 2px #f59e0b inset; }
.hb-url__not { margin: -.4rem 0 1rem; font-weight: 700; font-size: .95rem; color: var(--ink); }
.hb-qcard--big > .hb-tzbtns { padding: 0 1.2rem 1.2rem; }
