/* =============================================================================
   Muhasebe Arşivi — Ortak tasarım dili (tüm cihazlar)
   Klasik 2010'lar portal estetiği + modern CSS (custom properties, grid, color-mix,
   aspect-ratio, :focus-visible, prefers-*). Cihaza özel yerleşimler layout-*.css dosyalarındadır.
   ========================================================================== */

/* ---------- 1. Tasarım belirteçleri ---------- */
:root {
    --bg: #e5e9ef;
    --sheet: #f4f6f9;
    --surface: #ffffff;
    --surface-2: #f6f8fb;
    --surface-3: #eaeff5;
    --hover: #fffbe8;
    --line: #cfd7e2;
    --line-2: #e2e8ef;
    --text: #1d2836;
    --text-2: #45556a;
    --muted: #6c7b8e;
    --link: #1b4f8a;
    --link-hover: #c0261f;
    --navy: #1d3a5f;
    --navy-2: #2c5687;
    --navy-3: #13253c;

    --red: #c0261f;     --red-soft: #fdeceb;
    --green: #1d7348;   --green-soft: #e8f5ee;
    --amber: #b36a0b;   --amber-soft: #fdf3e2;
    --blue: #1f5ea8;    --blue-soft: #e8f0fa;
    --teal: #0f7676;    --teal-soft: #e3f4f4;
    --purple: #66479c;  --purple-soft: #f0ebf8;
    --slate: #56677c;   --slate-soft: #edf0f4;
    --brown: #86552a;   --brown-soft: #f6eee6;
    --tone: var(--navy); --tone-soft: var(--blue-soft);

    --radius: 4px;
    --shadow: 0 1px 2px rgba(19, 37, 60, .07), 0 0 0 1px rgba(19, 37, 60, .015);
    --shadow-lg: 0 10px 30px rgba(19, 37, 60, .18);
    --font: "Segoe UI", Tahoma, "Helvetica Neue", Arial, sans-serif;
    --font-head: "Trebuchet MS", "Segoe UI", Tahoma, Arial, sans-serif;
    --font-mono: Consolas, "Cascadia Mono", "Courier New", monospace;
    --gap: 14px;
    --head-grad: linear-gradient(#ffffff, #edf1f6);
    --btn-grad: linear-gradient(#ffffff, #e8edf3);
    --btn-grad-hover: linear-gradient(#ffffff, #dde5ee);
    color-scheme: light;
}

/* Koyu tema — hem sistem tercihi (auto) hem açık seçim */
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="dark"],
:root[data-theme="auto"] {
    --dark-bg: #0e1622;
}
@media (prefers-color-scheme: dark) {
    :root[data-theme="auto"] {
        --bg: #0e1622; --sheet: #121c2a; --surface: #172333; --surface-2: #1b293b; --surface-3: #20304a;
        --hover: #22324a; --line: #2c3d55; --line-2: #24344a; --text: #dde6f0; --text-2: #b4c2d3; --muted: #8d9db1;
        --link: #8ab8f0; --link-hover: #ff8a80; --navy: #2b4f7c; --navy-3: #0a121c;
        --red-soft: #3a1f22; --green-soft: #17322a; --amber-soft: #382a14; --blue-soft: #18304e;
        --teal-soft: #123232; --purple-soft: #2a2140; --slate-soft: #222e3d; --brown-soft: #33261a;
        --head-grad: linear-gradient(#1d2b3e, #18253a); --btn-grad: linear-gradient(#26364d, #1d2b3f); --btn-grad-hover: linear-gradient(#2c3f59, #223249);
        --shadow: 0 1px 2px rgba(0, 0, 0, .35);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --bg: #0e1622; --sheet: #121c2a; --surface: #172333; --surface-2: #1b293b; --surface-3: #20304a;
    --hover: #22324a; --line: #2c3d55; --line-2: #24344a; --text: #dde6f0; --text-2: #b4c2d3; --muted: #8d9db1;
    --link: #8ab8f0; --link-hover: #ff8a80; --navy: #2b4f7c; --navy-3: #0a121c;
    --red-soft: #3a1f22; --green-soft: #17322a; --amber-soft: #382a14; --blue-soft: #18304e;
    --teal-soft: #123232; --purple-soft: #2a2140; --slate-soft: #222e3d; --brown-soft: #33261a;
    --head-grad: linear-gradient(#1d2b3e, #18253a); --btn-grad: linear-gradient(#26364d, #1d2b3f); --btn-grad-hover: linear-gradient(#2c3f59, #223249);
    --shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

/* Ton sınıfları (bölüm renkleri) */
.t-red, .box--red, .cover--red, .kicker--red, .badge--red, .prefix--red, .section-head--red, .mnav__item--red, .cal__ev--odeme-x { --tone: var(--red); --tone-soft: var(--red-soft); }
.t-green, .box--green, .cover--green, .kicker--green, .badge--green, .prefix--green, .section-head--green, .mnav__item--green { --tone: var(--green); --tone-soft: var(--green-soft); }
.t-amber, .box--amber, .cover--amber, .kicker--amber, .badge--amber, .prefix--amber, .section-head--amber, .mnav__item--amber { --tone: var(--amber); --tone-soft: var(--amber-soft); }
.t-blue, .box--blue, .cover--blue, .kicker--blue, .badge--blue, .prefix--blue, .section-head--blue, .mnav__item--blue { --tone: var(--blue); --tone-soft: var(--blue-soft); }
.t-teal, .box--teal, .cover--teal, .kicker--teal, .badge--teal, .prefix--teal, .section-head--teal { --tone: var(--teal); --tone-soft: var(--teal-soft); }
.t-purple, .box--purple, .cover--purple, .kicker--purple, .badge--purple, .prefix--purple, .section-head--purple { --tone: var(--purple); --tone-soft: var(--purple-soft); }
.t-slate, .box--slate, .cover--slate, .kicker--slate, .badge--slate, .prefix--slate, .section-head--slate { --tone: var(--slate); --tone-soft: var(--slate-soft); }
.t-brown, .box--brown, .cover--brown, .kicker--brown, .badge--brown, .prefix--brown { --tone: var(--brown); --tone-soft: var(--brown-soft); }
.t-navy, .box--navy, .cover--navy, .kicker--navy, .badge--navy, .prefix--navy, .section-head--navy { --tone: var(--navy-2); --tone-soft: var(--blue-soft); }

/* ---------- 2. Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 87.5%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 70px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@view-transition { navigation: auto; }
body {
    margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.5; color: var(--text);
    background-color: var(--bg);
    background-image: linear-gradient(180deg, color-mix(in srgb, var(--navy) 10%, transparent) 0, transparent 360px),
        repeating-linear-gradient(45deg, transparent 0 6px, color-mix(in srgb, var(--line) 22%, transparent) 6px 7px);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; color: var(--text); }
p { margin: 0 0 .8em; }
small, .small { font-size: .82rem; }
.muted { color: var(--muted); }
.block { display: block; }
.nowrap { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.mt { margin-top: 12px; }
.empty { padding: 24px; text-align: center; color: var(--muted); margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 0 0 4px 4px; }
.skip-link:focus { top: 0; color: #fff; }
.inline-form { display: inline; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.only-mobile { display: none !important; }
.i { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; }
.i--caret { width: 12px; height: 12px; opacity: .75; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
code, kbd, pre { font-family: var(--font-mono); font-size: .9em; }
:not(pre) > code { background: var(--surface-3); padding: 1px 4px; border-radius: 3px; }
details > summary { cursor: pointer; }
::selection { background: color-mix(in srgb, var(--blue) 25%, transparent); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 12px; }
.site-main { padding-top: 12px; padding-bottom: 24px; min-height: 50vh; }
.site-main:focus { outline: none; }

/* ---------- 3. Üst bilgi çubuğu ---------- */
.topbar { background: var(--navy-3); color: #b9c8da; font-size: .8rem; border-bottom: 1px solid #0b1626; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 32px; gap: 12px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar a, .topbar__btn { color: #d5e0ec; }
.topbar a:hover, .topbar__btn:hover { color: #fff; text-decoration: none; }
.topbar__date { display: inline-flex; align-items: center; gap: 6px; }
.topbar__btn { background: none; border: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; }
.topbar__user { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar__cta { background: var(--red); color: #fff !important; padding: 3px 10px; border-radius: 3px; font-weight: 700; }
.topbar__cta:hover { background: #a51f19; }

/* ---------- 4. Başlık (masthead) ---------- */
.masthead { background: linear-gradient(#ffffff, #f2f5f9); border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .masthead { background: linear-gradient(#18263a, #142033); }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .masthead { background: linear-gradient(#18263a, #142033); } }
.masthead__in { display: flex; align-items: center; gap: 22px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none !important; flex: none; }
.brand__mark { width: 46px; height: 46px; filter: drop-shadow(0 2px 2px rgba(19, 37, 60, .25)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font: 400 1.95rem/1 var(--font-head); color: var(--navy); letter-spacing: -.5px; }
.brand__name strong { color: var(--red); font-weight: 700; }
:root[data-theme="dark"] .brand__name { color: #e3ecf7; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .brand__name { color: #e3ecf7; } }
.brand__tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 5px; }
.masthead__search { flex: 1; max-width: 470px; display: flex; margin-left: auto; }
.masthead__search input {
    flex: 1; min-width: 0; height: 38px; padding: 0 12px; font: inherit; color: var(--text);
    border: 2px solid var(--navy-2); border-right: 0; border-radius: 4px 0 0 4px; background: var(--surface);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .08);
}
.masthead__search input:focus { outline: none; border-color: var(--red); }
.masthead__search button {
    width: 46px; border: 2px solid var(--navy-2); border-radius: 0 4px 4px 0; cursor: pointer; color: #fff;
    background: linear-gradient(var(--navy-2), var(--navy));
}
.masthead__search button:hover { background: linear-gradient(#c93a33, var(--red)); border-color: var(--red); }
.masthead__search .i { width: 18px; height: 18px; }
.masthead__quick { display: flex; gap: 6px; flex: none; }
.qchip { display: grid; grid-template-columns: auto auto; gap: 0 6px; align-items: baseline; padding: 4px 9px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--text); font-size: .78rem; line-height: 1.3; box-shadow: var(--shadow); }
.qchip:hover { text-decoration: none; border-color: var(--navy-2); color: var(--text); }
.qchip__code { font-weight: 700; color: var(--navy-2); }
.qchip__val { font-weight: 700; font-variant-numeric: tabular-nums; }
.qchip__chg { grid-column: 1 / -1; font-size: .72rem; color: var(--muted); }
.qchip--up .qchip__chg { color: var(--green); }
.qchip--down .qchip__chg { color: var(--red); }
.mhead__btn { background: none; border: 1px solid var(--line); border-radius: 4px; width: 42px; height: 40px; display: grid; place-items: center; color: var(--navy); cursor: pointer; }
.mhead__btn .i { width: 22px; height: 22px; }

/* ---------- 5. Ana menü ---------- */
.mnav { background: linear-gradient(#305d90, #1f416a 55%, #1b3a5f); border-bottom: 3px solid var(--red); box-shadow: 0 2px 4px rgba(0, 0, 0, .15); position: relative; z-index: 40; }
.mnav__list { display: flex; margin: 0; padding: 0; list-style: none; }
.mnav__item { position: relative; border-right: 1px solid rgba(0, 0, 0, .18); box-shadow: 1px 0 0 rgba(255, 255, 255, .08); }
.mnav__item:first-child { border-left: 1px solid rgba(0, 0, 0, .18); }
.mnav__link {
    display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 13px; color: #fff; white-space: nowrap;
    font: 700 .93rem var(--font-head); text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}
.mnav__link:hover, .mnav__item:hover > .mnav__link, .mnav__item.is-open > .mnav__link { background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.mnav__item.is-active > .mnav__link { background: linear-gradient(color-mix(in srgb, var(--tone) 80%, #fff), var(--tone)); }
.mnav__item:not([class*="mnav__item--"]).is-active > .mnav__link { background: linear-gradient(#d23c34, var(--red)); }
.mnav__link .i { opacity: .9; }
.mega {
    position: absolute; top: 100%; left: 0; min-width: 540px; display: none; gap: 18px; padding: 14px 16px;
    background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--tone, var(--red));
    box-shadow: var(--shadow-lg); border-radius: 0 0 4px 4px; z-index: 50;
}
.mega--narrow { min-width: 230px; }
.mega__col { min-width: 170px; }
.mega__col--wide { flex: 1; }
.mega__title { font: 700 .75rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid var(--line-2); }
.mega__links, .mega__latest { list-style: none; margin: 0; padding: 0; }
.mega__links a { display: block; padding: 5px 6px; color: var(--text); border-radius: 3px; font-weight: 600; }
.mega__links a:hover { background: var(--surface-3); color: var(--link-hover); text-decoration: none; }
.mega__latest li { padding: 5px 0; border-bottom: 1px dotted var(--line); font-size: .88rem; }
.mega__latest time { display: block; font-size: .75rem; color: var(--muted); }
.mega__all { display: inline-block; margin-top: 8px; font-weight: 700; font-size: .85rem; }

.subbar { background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .82rem; }
.subbar__in { display: flex; align-items: center; gap: 10px; min-height: 30px; overflow: hidden; }
.subbar__label { font-weight: 700; color: var(--red); flex: none; }
.subbar__links { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.subbar__links::-webkit-scrollbar { display: none; }
.subbar__links li + li::before { content: "•"; color: var(--line); margin: 0 8px; }
.subbar__links a { color: var(--text-2); }

/* ---------- 6. Son dakika bandı ---------- */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.ticker__in { display: flex; align-items: stretch; height: 34px; }
.ticker__label {
    flex: none; display: flex; align-items: center; gap: 6px; padding: 0 18px 0 12px; color: #fff; font: 700 .8rem var(--font-head); letter-spacing: .04em;
    background: linear-gradient(#d63a32, #b1201a); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}
.ticker__viewport { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: ticker 55s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 6px; padding: 0 22px; white-space: nowrap; font-size: .88rem; line-height: 34px; }
.ticker__item + .ticker__item { border-left: 1px solid var(--line-2); }
.ticker__item time { color: var(--red); font-weight: 700; font-size: .8rem; }
.ticker__item a { color: var(--text); font-weight: 600; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .ticker__track { animation: none; }
    .ticker__viewport { overflow-x: auto; }
}

/* ---------- 7. Duyuru, yol, uyarılar ---------- */
.announce { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 12px; background: #fff8dc; border: 1px solid #ecd68f; border-radius: var(--radius); color: #6b5310; font-weight: 600; }
:root[data-theme="dark"] .announce { background: #3a3218; border-color: #5c4d1f; color: #f1dc9a; }
.crumbs { font-size: .8rem; margin-bottom: 10px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin: 0 7px; color: var(--muted); }
.crumbs a { color: var(--text-2); }
.crumbs [aria-current] { color: var(--muted); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--line); border-left: 4px solid var(--tone); background: var(--tone-soft); border-radius: var(--radius); margin-bottom: 12px; }
.alert ul { margin: 4px 0 0; padding-left: 18px; }
.alert .i { margin-top: 2px; color: var(--tone); }
.alert--success { --tone: var(--green); --tone-soft: var(--green-soft); }
.alert--error { --tone: var(--red); --tone-soft: var(--red-soft); }
.alert--info { --tone: var(--blue); --tone-soft: var(--blue-soft); }
.alert--welcome { --tone: var(--amber); --tone-soft: var(--amber-soft); }

/* ---------- 8. Kutular (portal blokları) ---------- */
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: var(--gap); }
.box__head {
    display: flex; align-items: center; gap: 8px; padding: 0 12px; min-height: 38px;
    background: var(--head-grad); border-bottom: 1px solid var(--line); border-top: 3px solid var(--tone);
    border-radius: var(--radius) var(--radius) 0 0;
}
.box__title { display: flex; align-items: center; gap: 7px; margin: 0; font: 700 .9rem var(--font-head); text-transform: uppercase; letter-spacing: .03em; color: var(--text); }
.box__title .i { color: var(--tone); width: 16px; height: 16px; }
.box__more { margin-left: auto; font-size: .78rem; font-weight: 700; white-space: nowrap; color: var(--tone); }
.box__chips { margin-left: auto; display: flex; gap: 4px; }
.box__chips + .box__more { margin-left: 8px; }
.box__body { padding: 12px; }
.box__body--flush { padding: 0; }
.box__body--list { padding: 0 14px; }
.box__foot { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 7px 12px; border-top: 1px solid var(--line-2); background: var(--surface-2); font-size: .8rem; border-radius: 0 0 var(--radius) var(--radius); }
.box__foot a { display: inline-flex; align-items: center; gap: 4px; }

.section-head { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--tone); border-radius: var(--radius); padding: 14px 16px; margin-bottom: var(--gap); box-shadow: var(--shadow); }
.section-head h1 { display: flex; align-items: center; gap: 8px; font-size: 1.6rem; margin: 0 0 4px; color: var(--tone); }
.section-head h1 .i { width: 24px; height: 24px; }
.section-head p { color: var(--text-2); margin: 0 0 8px; }
.section-head__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 11px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: var(--text-2); font-size: .82rem; font-weight: 600; }
.chip:hover { border-color: var(--tone, var(--navy)); color: var(--tone, var(--navy)); text-decoration: none; }
.chip.is-active { background: var(--tone, var(--navy)); border-color: var(--tone, var(--navy)); color: #fff; }
.chip--alt { background: var(--amber-soft); }

/* ---------- 9. Etiketler, rozetler ---------- */
.kicker { display: inline-block; padding: 1px 7px; border-radius: 2px; background: var(--tone); color: #fff; font: 700 .72rem var(--font-head); text-transform: uppercase; letter-spacing: .04em; }
.kicker:hover { color: #fff; text-decoration: none; filter: brightness(1.1); }
.kicker--outline { background: transparent; color: var(--tone, var(--navy)); border: 1px solid currentColor; }
.kicker--outline:hover { color: var(--link-hover); }
.badge { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 3px; font-size: .72rem; font-weight: 700; line-height: 1.5; background: var(--tone-soft); color: var(--tone); border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); white-space: nowrap; vertical-align: 1px; }
.badge .i { width: 11px; height: 11px; }
.badge--job { --tone: var(--teal); --tone-soft: var(--teal-soft); }
.badge--op { --tone: var(--amber); --tone-soft: var(--amber-soft); }
.badge--role-moderator { --tone: var(--green); --tone-soft: var(--green-soft); }
.badge--role-super_moderator { --tone: var(--red); --tone-soft: var(--red-soft); }
.badge--role-editor { --tone: var(--purple); --tone-soft: var(--purple-soft); }
.prefix { display: inline-block; padding: 0 6px; margin-right: 3px; border-radius: 3px; font: 700 .72rem/1.6 var(--font-head); background: var(--tone, var(--slate)); color: #fff; vertical-align: 1px; }
.prefix--sticky { background: linear-gradient(#f2b233, #d38b09); color: #3b2500; }
.tag-chip { display: inline-block; padding: 2px 9px; margin: 2px; border-radius: 3px; background: var(--surface-3); border: 1px solid var(--line); color: var(--text-2); font-size: .8rem; }
.tag-chip:hover { background: var(--navy-2); color: #fff; text-decoration: none; border-color: var(--navy-2); }

/* Üye adı rengi (rol) */
.u { font-weight: 700; color: var(--link); }
.u--moderator { color: var(--green); }
.u--super_moderator { color: var(--red); }
.u--editor { color: var(--purple); }
.u--deleted { color: var(--muted); font-style: italic; }
.dot-online, .dot-offline { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fb34a; box-shadow: 0 0 0 2px color-mix(in srgb, #2fb34a 25%, transparent); vertical-align: 1px; }
.dot-offline { background: #b0bac6; box-shadow: none; }

/* ---------- 10. Avatar ---------- */
.avatar { display: inline-grid; place-items: center; overflow: hidden; flex: none; border-radius: 4px; background: var(--tone); color: #fff; font-family: var(--font-head); font-weight: 700; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); text-decoration: none !important; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar--xs { width: 22px; height: 22px; font-size: .62rem; border-radius: 3px; }
.avatar--sm { width: 32px; height: 32px; font-size: .8rem; }
.avatar--md { width: 48px; height: 48px; font-size: 1.05rem; }
.avatar--lg { width: 96px; height: 96px; font-size: 2rem; border-radius: 6px; }
.avatar--xl { width: 128px; height: 128px; font-size: 2.6rem; border-radius: 8px; }
.avatar--t0 { --tone: #1f5ea8; } .avatar--t1 { --tone: #1d7348; } .avatar--t2 { --tone: #b36a0b; } .avatar--t3 { --tone: #66479c; }
.avatar--t4 { --tone: #0f7676; } .avatar--t5 { --tone: #c0261f; } .avatar--t6 { --tone: #56677c; } .avatar--t7 { --tone: #86552a; }
.avatar:not(:has(img)) { background: linear-gradient(145deg, color-mix(in srgb, var(--tone) 70%, #fff), var(--tone)); }

/* ---------- 11. Kapak ve kartlar ---------- */
.cover { position: relative; display: block; overflow: hidden; background: var(--tone, var(--navy)); border-radius: 3px; isolation: isolate; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
a:hover .cover img { transform: scale(1.04); }
.cover__pattern {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .28), transparent 45%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 14px),
        linear-gradient(160deg, color-mix(in srgb, var(--tone, var(--navy)) 75%, #fff), var(--tone, var(--navy)) 60%, color-mix(in srgb, var(--tone, var(--navy)) 70%, #000));
}
.cover__icon { position: absolute; right: 10%; bottom: 14%; width: 34%; height: auto; aspect-ratio: 1; color: rgba(255, 255, 255, .55); stroke-width: 1.4; }
.cover__label { position: absolute; left: 8px; bottom: 8px; padding: 1px 7px; background: rgba(0, 0, 0, .55); color: #fff; font: 700 .7rem var(--font-head); text-transform: uppercase; border-radius: 2px; }

.grid-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px 14px; }
.grid-cards--4 { --cols: 4; }
.card__media { display: block; margin-bottom: 7px; }
.card__title { font-size: .98rem; margin: 0 0 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--link-hover); }
.card--compact .card__title { font-size: .9rem; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 12px; font-size: .78rem; color: var(--muted); }
.meta > * { display: inline-flex; align-items: center; gap: 4px; }
.meta .i { width: 13px; height: 13px; }

.arow { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.arow:last-child { border-bottom: 0; }
.arow:not(:has(.arow__media)) { grid-template-columns: minmax(0, 1fr); }
.arow__kicker { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 4px; }
.arow__title { font-size: 1.12rem; margin: 0 0 5px; }
.arow__title a { color: var(--text); }
.arow__title a:hover { color: var(--link-hover); }
.arow__summary { color: var(--text-2); font-size: .92rem; margin: 0 0 6px; }

/* ---------- 12. Manşet (numaralı sayfalayıcı) ---------- */
.headline { position: relative; background: #0d1b2b; border-radius: var(--radius); overflow: hidden; margin-bottom: var(--gap); box-shadow: var(--shadow); border: 1px solid #0b1726; }
.headline__slides { display: grid; }
.headline__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.headline__slide.is-active, .headline__slide:target { opacity: 1; visibility: visible; z-index: 1; }
.headline__link { display: block; position: relative; color: #fff; text-decoration: none !important; }
.headline__link .cover { border-radius: 0; }
.headline__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 14px; background: linear-gradient(transparent, rgba(5, 12, 22, .82) 45%, rgba(5, 12, 22, .95)); display: flex; flex-direction: column; gap: 6px; }
.headline__caption .kicker { align-self: flex-start; }
.headline__title { font: 700 1.65rem/1.2 var(--font-head); text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.headline__summary { font-size: .95rem; color: #d3dde9; }
.headline__link:hover .headline__title { text-decoration: underline; text-decoration-thickness: 2px; }
.headline__pager { display: flex; background: linear-gradient(#24364c, #17263a); border-top: 1px solid #0b1726; }
.headline__num { flex: 1; display: grid; place-items: center; height: 30px; color: #c3d0df; font: 700 .9rem var(--font-head); border-right: 1px solid rgba(0, 0, 0, .35); box-shadow: inset 1px 0 0 rgba(255, 255, 255, .05); }
.headline__num:hover { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.headline__num.is-active { background: linear-gradient(#d63a32, #b1201a); color: #fff; }
.headline__all { padding: 0 14px; display: grid; place-items: center; color: #fff; font: 700 .8rem var(--font-head); background: rgba(0, 0, 0, .25); }

/* ---------- 13. Listeler ve widget'lar ---------- */
.wlist { list-style: none; margin: 0; padding: 0; }
.wlist > li { padding: 8px 12px; border-bottom: 1px dotted var(--line); font-size: .9rem; line-height: 1.4; }
.wlist > li:last-child { border-bottom: 0; }
.wlist > li > a { color: var(--text); font-weight: 600; }
.wlist > li > a:hover { color: var(--link-hover); }
.wlist small { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }
.wlist small .i { width: 12px; height: 12px; }
.wlist--numbered { counter-reset: n; }
.wlist--numbered > li { counter-increment: n; display: grid; grid-template-columns: 24px 1fr; column-gap: 8px; }
.wlist--numbered > li::before { content: counter(n); grid-row: span 2; width: 22px; height: 22px; display: grid; place-items: center; background: var(--tone, var(--navy)); color: #fff; font: 700 .78rem var(--font-head); border-radius: 3px; }
.wlist--numbered > li:nth-child(n+4)::before { background: var(--surface-3); color: var(--text-2); }
.wlist--numbered > li small { display: inline; }
.wlist--bullets > li { padding: 6px 0 6px 14px; position: relative; border-bottom-style: dotted; }
.wlist--bullets > li::before { content: "›"; position: absolute; left: 2px; color: var(--tone, var(--red)); font-weight: 700; }
.wlist--legis > li, .w-cal__item { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; }
.wlist__date, .w-cal__day { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 42px; border-radius: 3px; background: var(--tone-soft); border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); color: var(--tone); font-size: .68rem; text-transform: uppercase; font-weight: 700; line-height: 1; }
.wlist__date b, .w-cal__day b { font: 700 1.2rem var(--font-head); margin-bottom: 2px; }
.wlist__text a { font-weight: 600; color: var(--text); }
.wlist__text a:hover { color: var(--link-hover); }
.wlist--forum .prefix { font-size: .66rem; }
.wlist--people > li, .wlist--comments > li { display: flex; gap: 10px; align-items: center; }
.wlist--comments > li { align-items: flex-start; font-size: .84rem; }
.wlist--people small { display: block; }
.wlist--typed > li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }

.w-term { border-left: 3px solid var(--teal); padding: 2px 0 2px 10px; margin-bottom: 10px; }
.w-term__label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.w-term__name { display: block; font: 700 1.25rem var(--font-head); color: var(--teal); margin: 2px 0 4px; }
.w-term p { font-size: .88rem; color: var(--text-2); margin-bottom: 4px; }
.w-term__more { font-size: .8rem; font-weight: 700; }
.w-term__search { display: flex; gap: 6px; margin-bottom: 8px; }
.w-term__search input { flex: 1; min-width: 0; height: 30px; border: 1px solid var(--line); border-radius: 3px; padding: 0 8px; font: inherit; font-size: .85rem; background: var(--surface); color: var(--text); }
.alphabet { display: flex; flex-wrap: wrap; gap: 3px; }
.alphabet a { min-width: 28px; height: 28px; padding: 0 6px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; background: var(--btn-grad); color: var(--text); font: 700 .85rem var(--font-head); }
.alphabet a:hover, .alphabet a.is-active { background: var(--teal); border-color: var(--teal); color: #fff; text-decoration: none; }
.alphabet--mini a { min-width: 22px; height: 22px; font-size: .72rem; padding: 0 3px; }

.w-cal { list-style: none; margin: 0; padding: 0; }
.w-cal__item { padding: 8px 12px; border-bottom: 1px dotted var(--line); font-size: .86rem; line-height: 1.35; --tone: var(--slate); --tone-soft: var(--slate-soft); }
.w-cal__item.is-urgent { --tone: var(--red); --tone-soft: var(--red-soft); background: color-mix(in srgb, var(--red-soft) 50%, transparent); }
.w-cal__text small { display: block; margin-top: 3px; color: var(--muted); }
.w-cal__empty { padding: 14px; }

.w-rates { width: 100%; border-collapse: collapse; font-size: .85rem; font-variant-numeric: tabular-nums; }
.w-rates th, .w-rates td { padding: 6px 10px; border-bottom: 1px solid var(--line-2); text-align: right; }
.w-rates thead th { background: var(--surface-2); font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.w-rates th:first-child { text-align: left; }
.rate__code { font-weight: 700; color: var(--navy-2); }
.rate--up .rate__chg { color: var(--green); }
.rate--up .rate__chg::before { content: "▲ "; font-size: .7em; }
.rate--down .rate__chg { color: var(--red); }
.rate--down .rate__chg::before { content: "▼ "; font-size: .7em; }

.w-ind { margin: 0; }
.w-ind__row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; border-bottom: 1px dotted var(--line); font-size: .86rem; }
.w-ind dt { color: var(--text-2); }
.w-ind dd { margin: 0; font-weight: 700; white-space: nowrap; text-align: right; }

.w-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; list-style: none; margin: 0 0 10px; padding: 0; }
.w-stats li { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 3px; padding: 6px 8px; display: flex; flex-direction: column; }
.w-stats span { font-size: .72rem; color: var(--muted); text-transform: uppercase; }
.w-stats b { font: 700 1.15rem var(--font-head); color: var(--navy-2); }
.w-online { border-top: 1px dashed var(--line); padding-top: 8px; font-size: .85rem; }
.w-online__h { font-size: .85rem; margin: 0 0 4px; display: flex; align-items: center; gap: 6px; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.tagcloud__t { color: var(--text-2); font-weight: 600; }
.tagcloud__t--1 { font-size: .8rem; } .tagcloud__t--2 { font-size: .92rem; } .tagcloud__t--3 { font-size: 1.05rem; color: var(--link); } .tagcloud__t--4 { font-size: 1.22rem; color: var(--navy-2); font-weight: 700; }

.qvat__row { margin-bottom: 8px; }
.qvat__row label { font-size: .8rem; font-weight: 600; color: var(--text-2); display: block; }
.qvat__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qvat__out { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.qvat__out div { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 3px; padding: 5px 6px; text-align: center; }
.qvat__out div:last-child { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.qvat__out dt { font-size: .68rem; text-transform: uppercase; color: var(--muted); }
.qvat__out dd { margin: 0; font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Sekmeler */
.tabs__nav { display: flex; gap: 2px; padding: 6px 8px 0; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__btn { padding: 6px 12px; border: 1px solid var(--line); border-bottom: 0; border-radius: 3px 3px 0 0; background: var(--surface-3); color: var(--text-2); font: 700 .8rem var(--font-head); cursor: pointer; margin-bottom: -1px; white-space: nowrap; }
.tabs__btn:hover { color: var(--text); text-decoration: none; }
.tabs__btn.is-active { background: var(--surface); color: var(--tone, var(--navy)); border-top: 2px solid var(--tone, var(--red)); }

/* ---------- 14. Tablolar ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 8px 10px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.table thead th { background: var(--surface-2); font: 700 .72rem var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 1px solid var(--line); }
.table th.num, .table td.num { text-align: right; }
.table--striped tbody tr:nth-child(even) { background: var(--surface-2); }
.table tbody tr:hover { background: var(--hover); }
.table tr.is-past { opacity: .55; }
.table a { font-weight: 600; }
.table--legis td:first-child { color: var(--green); font-weight: 700; font-size: .82rem; }
.table--forum .prefix { font-size: .66rem; }
.member-cell { display: flex; align-items: center; gap: 8px; }
.kv { margin: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; border-bottom: 1px dotted var(--line); font-size: .86rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* ---------- 15. Düğmeler ve formlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 13px; min-height: 32px;
    border: 1px solid #b4c0cf; border-radius: 3px; background: var(--btn-grad); color: var(--text);
    font: 700 .85rem var(--font); cursor: pointer; white-space: nowrap; text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 1px 1px rgba(0, 0, 0, .05);
}
:root[data-theme="dark"] .btn { border-color: #34475f; box-shadow: none; }
.btn:hover { background: var(--btn-grad-hover); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(#3d70a8, #214f84); border-color: #1a426f; color: #fff; text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn--primary:hover { background: linear-gradient(#4679b2, #1d4675); color: #fff; }
.btn--danger { background: linear-gradient(#d84a42, #b3231c); border-color: #951c16; color: #fff; }
.btn--danger:hover { background: linear-gradient(#e0554d, #a51f19); color: #fff; }
.btn--mod { background: linear-gradient(#f6d27a, #e6ad2b); border-color: #c48f17; color: #3a2700; }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--small { padding: 3px 9px; min-height: 26px; font-size: .78rem; }
.btn--lg { padding: 9px 18px; font-size: .95rem; min-height: 40px; }
.btn--block { width: 100%; }
.btn.is-disabled, .btn:disabled { opacity: .55; cursor: not-allowed; }
.form__row { display: block; margin-bottom: 12px; }
.form__row--inline { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.form__label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 4px; color: var(--text-2); }
.form__help { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.form__error { display: block; color: var(--red); font-size: .8rem; font-weight: 600; margin-top: 3px; }
.form__actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.form-grid--title { grid-template-columns: 170px minmax(0, 1fr); }
.input, .select, .textarea {
    width: 100%; padding: 7px 9px; font: inherit; font-size: .95rem; color: var(--text); background: var(--surface);
    border: 1px solid #b4c0cf; border-radius: 3px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06);
}
:root[data-theme="dark"] .input, :root[data-theme="dark"] .select, :root[data-theme="dark"] .textarea { border-color: #34475f; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.input--lg { font-size: 1.05rem; padding: 10px 12px; }
.input--sm, .select--sm { padding: 3px 6px; font-size: .82rem; width: auto; }
.textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.select { appearance: none; padding-right: 26px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 13px) 55%, calc(100% - 8px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.check { display: inline-flex; align-items: flex-start; gap: 7px; font-size: .9rem; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--navy-2); }
.radio-group { border: 0; padding: 0; margin: 0 0 12px; display: flex; gap: 14px; flex-wrap: wrap; }
.radio-group legend { padding: 0; }
.radio-group--cards { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); }
.radio-card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 2px solid var(--line); border-radius: 4px; cursor: pointer; font-size: .85rem; }
.radio-card:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.radio-card input { position: absolute; opacity: 0; }
.radio-card__img { display: grid; gap: 4px; height: 56px; padding: 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 3px; }
.radio-card__img i, .radio-card__img b { background: var(--surface-3); border: 1px solid var(--line); border-radius: 2px; }
.radio-card__img--v { grid-template-columns: 30% 1fr; }
.radio-card__img--h { grid-template-rows: 30% 1fr; }
.filters { padding: 10px 12px; }
.filters__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.filters label { font-size: .78rem; font-weight: 700; color: var(--text-2); display: flex; flex-direction: column; gap: 3px; }
.filters__actions { display: flex; gap: 6px; }

/* Ayrık düğme grubu (segment) */
.seg { display: inline-flex; border: 1px solid #b4c0cf; border-radius: 3px; overflow: hidden; }
.seg__btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 0; background: var(--btn-grad); color: var(--text-2); font: 700 .8rem var(--font); cursor: pointer; }
.seg .inline-form + .inline-form .seg__btn { border-left: 1px solid #b4c0cf; }
.seg__btn.is-active { background: linear-gradient(#3d70a8, #214f84); color: #fff; }

/* Açılır menü (details) */
.dropdown { position: relative; display: inline-block; }
.dropdown > summary { list-style: none; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown__menu { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; min-width: 240px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow-lg); }
.dropdown__menu button { display: block; width: 100%; text-align: left; padding: 6px 8px; border: 0; background: none; color: var(--text); font: inherit; font-size: .88rem; cursor: pointer; border-radius: 3px; }
.dropdown__menu button:hover { background: var(--surface-3); }
.dropdown__menu .is-danger { color: var(--red); }
.mod-tools__move { display: flex; gap: 4px; padding: 4px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin: 4px 0; }
.mod-tools__move select { flex: 1; }
.mod-tools__move button { width: auto; background: var(--surface-3); }

/* ---------- 16. Sayfalama ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin: 10px 0 var(--gap); }
.pager__info { padding: 0 10px; height: 28px; display: grid; place-items: center; background: var(--navy-2); color: #fff; border-radius: 3px; font-size: .78rem; font-weight: 700; margin-right: 4px; }
.pager__item { min-width: 28px; height: 28px; padding: 0 8px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; background: var(--btn-grad); color: var(--text); font-size: .82rem; font-weight: 700; }
.pager__item:hover { border-color: var(--navy-2); text-decoration: none; }
.pager__item.is-current { background: linear-gradient(#d63a32, #b1201a); border-color: #9a1b15; color: #fff; }
.pager__item.is-disabled { opacity: .45; }
.pager__item.is-gap { border: 0; background: none; }

/* ---------- 17. İçerik (makale) ---------- */
.article { padding: 20px 24px; }
.article__kicker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.article__title { font-size: 2rem; line-height: 1.22; margin: 0 0 12px; color: var(--text); letter-spacing: -.2px; }
.article__summary { font-size: 1.12rem; font-weight: 600; color: var(--text-2); border-left: 4px solid var(--tone, var(--red)); padding: 2px 0 2px 14px; margin-bottom: 14px; line-height: 1.5; }
.section-red .article__summary { --tone: var(--red); }
.section-green .article__summary { --tone: var(--green); }
.section-amber .article__summary { --tone: var(--amber); }
.article__meta { padding: 8px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin-bottom: 16px; font-size: .82rem; }
.article__author { font-weight: 700; color: var(--text-2); }
.article__cover { margin: 0 0 16px; }
.article__cover figcaption { font-size: .8rem; color: var(--muted); padding-top: 5px; }
.article__source { margin-top: 14px; color: var(--muted); }
.article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-top: 12px; margin-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); }
.article__share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: .82rem; color: var(--muted); }
.share { padding: 4px 10px; border-radius: 3px; color: #fff; font-weight: 700; font-size: .78rem; border: 0; cursor: pointer; font-family: inherit; }
.share:hover { color: #fff; text-decoration: none; filter: brightness(1.12); }
.share--x { background: #1d1f23; } .share--in { background: #0a66c2; } .share--wa { background: #1f9d55; } .share--mail { background: var(--slate); } .share--print { background: var(--navy-2); }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.article__nav a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: var(--text); font-weight: 600; font-size: .9rem; }
.article__nav a:hover { border-color: var(--navy-2); text-decoration: none; }
.article__nav small { display: block; color: var(--muted); font-weight: 400; }
.article__next { text-align: right; }
.legis-card { margin: 0 0 18px; border: 1px solid color-mix(in srgb, var(--green) 35%, transparent); background: var(--green-soft); border-radius: 4px; padding: 12px 14px; }
.legis-card__h { display: flex; gap: 6px; align-items: center; font-size: .95rem; color: var(--green); margin: 0 0 8px; text-transform: uppercase; }
.legis-card dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.legis-card dl > div { display: flex; gap: 8px; padding: 4px 0; border-bottom: 1px dotted color-mix(in srgb, var(--green) 30%, transparent); font-size: .88rem; }
.legis-card dt { color: var(--muted); min-width: 92px; }
.legis-card dd { margin: 0; font-weight: 700; }

/* Okuma tipografisi */
.prose { font-size: 1.06rem; line-height: 1.75; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.32rem; margin: 1.4em 0 .5em; padding-bottom: 5px; border-bottom: 2px solid var(--line-2); }
.prose h3 { font-size: 1.12rem; margin: 1.2em 0 .4em; color: var(--navy-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose blockquote { margin: 1em 0; padding: 10px 16px; border-left: 4px solid var(--navy-2); background: var(--surface-2); color: var(--text-2); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 6px 9px; text-align: left; }
.prose th { background: var(--surface-3); }
.prose img { border-radius: 4px; }
.prose pre { background: var(--surface-2); border: 1px solid var(--line); padding: 10px 12px; border-radius: 4px; overflow-x: auto; }
.prose details { border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; margin-bottom: 8px; background: var(--surface-2); }
.prose--post { font-size: 1rem; line-height: 1.68; }

/* Yorumlar */
.comment { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dotted var(--line); }
.comment:first-child { padding-top: 0; }
.comment__body { flex: 1; min-width: 0; }
.comment__head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 4px; }
.comment__body p { margin: 0; }
.comment__report { margin-top: 4px; }
.inline-report { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.inline-report .input { flex: 1; min-width: 180px; }
.comment-form { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.comment-form__foot, .reply-box__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.login-hint { padding: 12px; margin: 10px 0 0; text-align: center; background: var(--surface-2); border: 1px dashed var(--line); border-radius: 4px; }

/* ---------- 18. Ana sayfa blokları ---------- */
.cat-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); }
.cat-block .box__body { padding: 10px; }
.cat-block__lead { display: block; color: var(--text); margin-bottom: 6px; }
.cat-block__lead strong { display: block; font: 700 .95rem/1.3 var(--font-head); margin-top: 6px; }
.cat-block .wlist--bullets > li { font-size: .86rem; }
.grid-authors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.author-card { padding: 10px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface-2); display: flex; flex-direction: column; }
.author-card__who { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.author-card__name { font: 700 .85rem var(--font-head); color: var(--amber); }
.author-card__title { font-size: .95rem; margin: 0 0 6px; }
.author-card__title a { color: var(--text); }
.author-card p { font-size: .84rem; color: var(--text-2); flex: 1; }
.authors-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.author-box { padding: 14px; }
.author-box__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.author-box__head h2 { margin: 0 0 2px; font-size: 1.15rem; }
.author-box__head p { margin: 0; }

/* ---------- 19. Sözlük ---------- */
.glossary-search { display: flex; gap: 8px; margin-top: 10px; }
.term-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.term-list__item { break-inside: avoid; padding: 6px 0; border-bottom: 1px dotted var(--line); font-size: .9rem; }
.term-list__item > a { font-weight: 700; }
.term-list__def { display: block; color: var(--muted); font-size: .8rem; }
.term-card { padding: 10px 0; border-bottom: 1px dotted var(--line); }
.term-card__title { font-size: 1.1rem; margin: 0 0 4px; }
.term-detail { padding: 20px 22px; }
.term-detail__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.term-detail__letter { flex: none; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(145deg, #1b9494, var(--teal)); color: #fff; font: 700 2.4rem var(--font-head); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); }
.term-detail h1 { font-size: 1.9rem; margin: 4px 0 6px; color: var(--teal); }
.term-detail__short { font-weight: 600; color: var(--text-2); font-size: 1.05rem; margin: 0; }
.term-detail__example { margin: 16px 0; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--teal) 30%, transparent); background: var(--teal-soft); border-radius: 4px; }
.term-detail__example h2 { display: flex; gap: 6px; align-items: center; font-size: .95rem; color: var(--teal); margin: 0 0 6px; }
.term-detail__example pre { margin: 0; white-space: pre-wrap; font-size: .88rem; }
.term-detail__related { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 12px 0; }

/* ---------- 20. Vergi takvimi ---------- */
.cal { padding: 12px; }
.cal__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-family: var(--font-head); font-size: 1.1rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal__dow { padding: 6px; background: linear-gradient(var(--navy-2), var(--navy)); color: #fff; font: 700 .78rem var(--font-head); text-align: center; border-right: 1px solid rgba(0, 0, 0, .2); }
.cal__day { min-height: 96px; padding: 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 3px; }
.cal__day.is-weekend { background: var(--surface-2); }
.cal__day.is-other { opacity: .45; }
.cal__day.is-today { box-shadow: inset 0 0 0 2px var(--red); }
.cal__num { font: 700 .85rem var(--font-head); color: var(--text-2); }
.cal__day.is-today .cal__num { color: var(--red); }
.cal__ev { display: block; padding: 2px 5px; border-radius: 2px; font-size: .7rem; line-height: 1.3; color: #fff; background: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal__ev:hover { color: #fff; text-decoration: none; filter: brightness(1.12); }
.cal__ev--beyanname { background: var(--navy-2); } .cal__ev--odeme { background: var(--amber); } .cal__ev--bildirim { background: var(--teal); } .cal__ev--sgk { background: var(--green); } .cal__ev--diger { background: var(--slate); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cal__legend .cal__ev { display: inline-block; }

/* ---------- 21. Araçlar ---------- */
.tool__head { padding: 16px 18px 6px; border-bottom: 1px solid var(--line-2); }
.tool__head h1 { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 1.5rem; }
.tool__head h1 .i { width: 24px; height: 24px; }
.tool__body { padding: 16px 18px; }
.tool__foot { padding: 8px 18px; border-top: 1px solid var(--line-2); background: var(--surface-2); display: flex; gap: 6px; align-items: center; }
.tool__result { margin-top: 10px; }
.result-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0 0 14px; }
.result-cards > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); }
.result-cards dt { font-size: .74rem; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.result-cards dd { margin: 4px 0 0; font: 700 1.3rem var(--font-head); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result-cards .is-primary { background: linear-gradient(#2a8a5a, var(--green)); border-color: #155c38; color: #fff; }
.result-cards .is-primary dt { color: #d2f0df; }
.result-table caption { text-align: left; font: 700 .9rem var(--font-head); padding: 6px 0; }
.result-table--receipt { max-width: 460px; }
.result-table--receipt .is-total { background: var(--green-soft); font-weight: 700; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.tool-card { display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto 1fr auto; column-gap: 12px; padding: 14px; color: var(--text); }
.tool-card:hover { border-color: var(--green); text-decoration: none; color: var(--text); }
.tool-card__icon { grid-row: span 3; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 6px; background: var(--green-soft); color: var(--green); }
.tool-card__icon .i { width: 28px; height: 28px; }
.tool-card__title { font: 700 1.05rem var(--font-head); }
.tool-card__desc { font-size: .86rem; color: var(--text-2); }
.tool-card__go { font-size: .82rem; font-weight: 700; color: var(--green); margin-top: 4px; }

/* ---------- 22. Kurumsal sayfalar / yan menü ---------- */
.doc { padding: 22px 26px; }
.doc__head { border-bottom: 2px solid var(--line-2); margin-bottom: 14px; }
.doc__head h1 { font-size: 1.8rem; margin: 0 0 4px; }
.lead { font-size: 1.12rem; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: 8px 12px; border-bottom: 1px dotted var(--line); color: var(--text); font-weight: 600; font-size: .9rem; }
.side-nav a::before { content: "›"; margin-right: 6px; color: var(--muted); }
.side-nav a:hover { background: var(--surface-2); text-decoration: none; }
.side-nav a.is-active { background: var(--blue-soft); color: var(--navy-2); border-left: 3px solid var(--navy-2); }

/* ---------- 23. Forum: bölüm listesi ---------- */
.fhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: var(--gap); box-shadow: var(--shadow); border-left: 5px solid var(--blue); }
.fhead__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.5rem; color: var(--navy-2); }
.fhead__title .i { width: 24px; height: 24px; color: var(--blue); }
.fhead__desc { margin: 4px 0 0; color: var(--text-2); font-size: .92rem; }
.fhead__actions { display: flex; gap: 6px; flex-wrap: wrap; }

.ftable { background: var(--surface); border: 1px solid #b9c6d6; border-radius: var(--radius); overflow: hidden; margin-bottom: var(--gap); box-shadow: var(--shadow); }
:root[data-theme="dark"] .ftable { border-color: var(--line); }
.ftable__cat { position: relative; padding: 9px 44px 9px 14px; background: linear-gradient(#3a6697, #24497a 60%, #1f416c); color: #fff; border-bottom: 1px solid #142f50; }
.ftable__cat h2 { margin: 0; font: 700 1.02rem var(--font-head); color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.ftable__cat p { margin: 2px 0 0; font-size: .8rem; color: #cbd9ea; }
.ftable__toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 3px; background: rgba(0, 0, 0, .15); color: #fff; cursor: pointer; }
.ftable.is-collapsed .ftable__body, .ftable.is-collapsed .ftable__colhead { display: none; }
.ftable__colhead, .frow { display: grid; grid-template-columns: 56px minmax(0, 1fr) 128px 236px; }
.ftable__colhead { background: var(--surface-3); border-bottom: 1px solid var(--line); font: 700 .7rem var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ftable__colhead span { padding: 5px 10px; }
.ftable__colhead span:nth-child(3) { text-align: center; }
.frow { border-bottom: 1px solid var(--line-2); align-items: stretch; }
.frow:last-child { border-bottom: 0; }
.frow:nth-child(even) { background: var(--surface-2); }
.frow:hover { background: var(--hover); }
.frow__icon { display: grid; place-items: center; border-right: 1px solid var(--line-2); color: #9aa9ba; }
.frow__icon .i { width: 28px; height: 28px; stroke-width: 1.6; }
.frow__icon--new { color: #d98a00; }
.frow__icon--new .i { fill: #ffe0a3; }
.frow__icon--locked { color: #8a95a3; }
.frow__icon--mini { display: inline-grid; border: 0; width: 18px; }
.frow__icon--mini .i { width: 16px; height: 16px; }
.frow__main { padding: 9px 12px; min-width: 0; }
.frow__title { margin: 0; font-size: 1.02rem; }
.frow__title a { color: var(--link); }
.frow__desc { margin: 2px 0 0; font-size: .84rem; color: var(--text-2); }
.frow__subs { display: flex; flex-wrap: wrap; gap: 2px 14px; list-style: none; margin: 5px 0 0; padding: 0; font-size: .8rem; }
.frow__subs a { font-weight: 600; }
.frow__subs .i { width: 12px; height: 12px; color: var(--muted); }
.frow__mstats { display: none; font-size: .76rem; color: var(--muted); margin-top: 3px; }
.frow__stats { display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: .78rem; color: var(--muted); border-left: 1px solid var(--line-2); }
.frow__stats b { color: var(--text); font-size: .88rem; }
.frow__last { display: flex; flex-direction: column; justify-content: center; padding: 6px 12px; font-size: .78rem; border-left: 1px solid var(--line-2); min-width: 0; }
.frow__last-title { font-weight: 700; font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flegend { display: flex; gap: 16px; flex-wrap: wrap; padding: 4px 2px 12px; }
.flegend > span { display: inline-flex; align-items: center; gap: 4px; }
.forum-rules { padding: 0; }
.forum-rules > summary { padding: 9px 14px; background: var(--red-soft); border-bottom: 1px solid var(--line); color: var(--red); display: flex; gap: 6px; align-items: center; font-size: .9rem; }
.forum-rules:not([open]) > summary { border-bottom: 0; }
.forum-rules__body, .forum-rules > p { padding: 10px 16px; margin: 0; font-size: .92rem; }

/* ---------- 24. Forum: konu listesi ---------- */
.tlist { background: var(--surface); border: 1px solid #b9c6d6; border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; box-shadow: var(--shadow); }
:root[data-theme="dark"] .tlist { border-color: var(--line); }
.tlist__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 7px 12px; background: linear-gradient(#3a6697, #24497a 60%, #1f416c); color: #fff; }
.tlist__h { margin: 0; font-size: 1rem; color: #fff; }
.tlist__h small { color: #cbd9ea; font-weight: 400; }
.tlist__sort { display: flex; gap: 6px; }
.tlist__colhead, .trow { display: grid; grid-template-columns: 46px minmax(0, 1fr) 128px 168px; }
.tlist__colhead { background: var(--surface-3); border-bottom: 1px solid var(--line); font: 700 .7rem var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tlist__colhead span { padding: 5px 10px; }
.trow { border-bottom: 1px solid var(--line-2); }
.trow:nth-child(even) { background: var(--surface-2); }
.trow:hover { background: var(--hover); }
.trow--sticky { background: #fff8e3 !important; }
:root[data-theme="dark"] .trow--sticky { background: #2c2716 !important; }
.trow__icon { display: grid; place-items: center; color: #a3b0bf; border-right: 1px solid var(--line-2); }
.trow__icon .i { width: 20px; height: 20px; }
.trow__icon.is-new { color: #d98a00; }
.trow__icon--pin { color: #c98500; } .trow__icon--fire { color: var(--red); } .trow__icon--lock { color: #8a95a3; }
.trow__main { padding: 8px 12px; min-width: 0; }
.trow__title { margin: 0 0 2px; font-size: .98rem; line-height: 1.35; }
.trow__title a { color: var(--text); }
.trow__title a:hover { color: var(--link-hover); }
.trow__meta { font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.trow__pages { display: inline-flex; gap: 2px; margin-left: 6px; }
.trow__pages a, .trow__pages span { min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; font-size: .7rem; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); }
.trow__pages span { border: 0; background: none; }
.trow__mstats { display: none; font-size: .76rem; color: var(--muted); }
.trow__mstats .i { width: 12px; height: 12px; }
.trow__stats { display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: .76rem; color: var(--muted); border-left: 1px solid var(--line-2); }
.trow__stats b { color: var(--text); font-size: .86rem; }
.trow__last { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 6px 12px; font-size: .78rem; border-left: 1px solid var(--line-2); text-align: right; }
.trow__last a { font-weight: 700; }
.tlist__sep { padding: 4px 12px; background: var(--surface-3); font: 700 .72rem var(--font-head); text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.trow--locked .trow__title a { color: var(--muted); }

/* ---------- 25. Forum: konu ve mesajlar (postbit) ---------- */
.thead { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--shadow); border-left: 5px solid var(--blue); }
.thead__title { font-size: 1.55rem; margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.thead__title .prefix { font-size: .8rem; }
.thead__meta { margin: 0; font-size: .82rem; color: var(--muted); }
.thead__meta .i { width: 13px; height: 13px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.toolbar__left, .toolbar__right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.toolbar__label { color: var(--muted); }

.posts { margin-bottom: 6px; }
.posts__divider { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; color: var(--muted); font: 700 .75rem var(--font-head); text-transform: uppercase; letter-spacing: .1em; }
.posts__divider::before, .posts__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.post { background: var(--surface); border: 1px solid #c3cedb; border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 80px; }
:root[data-theme="dark"] .post { border-color: var(--line); }
.post:target { box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 55%, transparent); }
.post--first { border-top: 3px solid var(--blue); }
.post--hidden { background: repeating-linear-gradient(135deg, var(--surface) 0 12px, var(--surface-2) 12px 24px); }
.post__main { display: flex; flex-direction: column; min-width: 0; }

/* Ortak üye öğeleri */
.pb-name { display: inline-flex; align-items: center; gap: 6px; font: 700 1.02rem var(--font-head); }
.pb-title { display: block; font-size: .78rem; color: var(--muted); font-style: italic; }
.pb-rank { display: inline-flex; gap: 2px; margin-top: 3px; }
.pip { display: block; width: 10px; height: 10px; border-radius: 2px; background: #d3dbe5; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .12); }
:root[data-theme="dark"] .pip { background: #2a3a50; }
.pip.is-on { background: linear-gradient(#f9d36d, #e29a11); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2), 0 0 0 1px rgba(160, 100, 0, .35); }
.pb-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.pb-info { margin: 0; font-size: .78rem; }
.pb-info > div { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.pb-info dt { color: var(--muted); }
.pb-info dd { margin: 0; font-weight: 700; color: var(--text-2); }
.pb-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 0 14px; min-height: 34px; background: var(--head-grad); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.pb-head time { display: inline-flex; align-items: center; gap: 4px; }
.pb-edited { font-style: italic; }
.pb-num { margin-left: auto; font: 700 .9rem var(--font-head); color: var(--muted); padding: 2px 8px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }
.pb-num:hover { color: var(--link-hover); text-decoration: none; }
.pb-hidden-note { margin: 10px 16px 0; padding: 6px 10px; border-radius: 3px; background: var(--amber-soft); color: var(--amber); font-size: .84rem; font-weight: 600; }
.pb-body { flex: 1; padding: 14px 18px 16px; }
.pb-sig { margin: 0 18px; padding: 8px 0 10px; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--muted); max-height: 7.5em; overflow: hidden; }
.pb-thanks { margin: 0 18px 10px; padding: 6px 10px; border-radius: 3px; background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 25%, transparent); font-size: .8rem; color: var(--text-2); }
.pb-thanks .i { color: var(--green); }
.pb-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 10px; border-top: 1px solid var(--line-2); background: var(--surface-2); }
.pb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.pb-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid transparent; border-radius: 3px; background: none; color: var(--text-2); font: 600 .8rem var(--font); cursor: pointer; list-style: none; }
.pb-btn::-webkit-details-marker { display: none; }
.pb-btn:hover { border-color: var(--line); background: var(--surface); color: var(--link-hover); text-decoration: none; }
.pb-btn.is-on { color: var(--green); }
.pb-btn--mod { color: var(--amber); }
.pb-btn--quiet { color: var(--muted); }
.pb-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--green); color: #fff; font-size: .7rem; }
.pb-count-plain { font-size: .8rem; color: var(--green); font-weight: 700; }
.pb-report { position: relative; }
.pb-report[open] .inline-report { position: absolute; z-index: 10; bottom: calc(100% + 4px); left: 0; width: min(420px, 80vw); padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow-lg); }

/* Dikey postbit (vB4) */
.post--v { display: grid; grid-template-columns: 210px minmax(0, 1fr); }
.post--v .post__side { padding: 14px 12px; background: linear-gradient(var(--surface-2), var(--surface-3)); border-right: 1px solid var(--line); text-align: center; }
.post--v .pb-user__id { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.post--v .pb-avatar { box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line), 0 3px 6px rgba(0, 0, 0, .12); }
.post--v .pb-user__names { display: flex; flex-direction: column; align-items: center; }
.post--v .pb-badges { justify-content: center; margin: 10px 0; }
.post--v .pb-info { text-align: left; border-top: 1px dashed var(--line); padding-top: 8px; }

/* Yatay postbit (vB3) */
.post--h .post__bar { padding: 9px 14px; background: linear-gradient(var(--surface-2), var(--surface-3)); border-bottom: 1px solid var(--line); }
.post--h .pb-user { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.post--h .pb-user__id { display: flex; align-items: center; gap: 10px; }
.post--h .pb-user__names { display: flex; flex-direction: column; }
.post--h .pb-info { display: flex; gap: 0; margin-left: auto; }
.post--h .pb-info > div { flex-direction: column; align-items: center; gap: 0; padding: 0 12px; border-left: 1px solid var(--line); }
.post--h .pb-info dt { font-size: .68rem; text-transform: uppercase; }

/* BBCode çıktıları */
.bb-quote { margin: 10px 0; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 3px; background: var(--surface-2); font-size: .95em; }
.bb-quote-head { padding: 4px 10px; font-size: .8rem; color: var(--muted); border-bottom: 1px solid var(--line-2); background: var(--surface-3); }
.bb-quote-body { padding: 8px 12px; }
.bb-quote .bb-quote { border-left-color: var(--amber); }
.bb-code { background: #f4f6f9; border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; overflow-x: auto; font-size: .88rem; line-height: 1.5; }
:root[data-theme="dark"] .bb-code { background: #0f1824; }
.bb-table-wrap { overflow-x: auto; margin: 8px 0; }
.bb-table { border-collapse: collapse; font-size: .9rem; }
.bb-table td, .bb-table th { border: 1px solid var(--line); padding: 4px 10px; }
.bb-table th { background: var(--surface-3); }
.bb-list { margin: 6px 0; padding-left: 22px; }
.bb-img { max-height: 520px; border-radius: 3px; }
.bb-center { text-align: center; } .bb-right { text-align: right; }
.bb-size-1 { font-size: .75em; } .bb-size-2 { font-size: .88em; } .bb-size-3 { font-size: 1em; } .bb-size-4 { font-size: 1.25em; } .bb-size-5 { font-size: 1.5em; }
.bb-red { color: #c0261f; } .bb-blue { color: #1f5ea8; } .bb-green { color: #1d7348; } .bb-orange { color: #d47500; } .bb-purple { color: #66479c; } .bb-gray { color: #6c7b8e; } .bb-navy { color: #1d3a5f; } .bb-maroon { color: #7a1d1d; }
.bb-spoiler { margin: 8px 0; border: 1px dashed var(--line); border-radius: 3px; padding: 4px 10px; }
.bb-spoiler summary { font-size: .85rem; color: var(--muted); }
.bb-mention { font-weight: 700; }
.bb-smile { font-size: 1.15em; }

/* Düzenleyici */
.editor { border: 1px solid #b4c0cf; border-radius: 4px; overflow: hidden; background: var(--surface); }
.editor__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 4px; background: var(--head-grad); border-bottom: 1px solid var(--line); }
.editor__btn { min-width: 30px; height: 28px; padding: 0 7px; border: 1px solid transparent; border-radius: 3px; background: none; color: var(--text); font: 600 .82rem var(--font); cursor: pointer; display: inline-grid; place-items: center; }
.editor__btn:hover { border-color: var(--line); background: var(--surface); }
.editor__sep { width: 1px; height: 18px; background: var(--line); margin: 0 3px; }
.editor__count { margin-left: auto; padding-right: 6px; }
.editor__area { border: 0; border-radius: 0; box-shadow: none; min-height: 150px; }
.editor__area:focus { box-shadow: none; }
.editor__help { padding: 6px 10px; border-top: 1px solid var(--line-2); background: var(--surface-2); }
.editor__help code { margin: 2px; display: inline-block; }
.reply-box { margin-top: 10px; }
.thread-foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); margin-top: 6px; }

/* Kurallar */
.rules { padding: 20px 24px; }
.rules__head h1 { display: flex; align-items: center; gap: 8px; font-size: 1.7rem; color: var(--red); }
.rules__toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; padding: 10px 14px; margin: 10px 0 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; font-weight: 600; font-size: .9rem; }
.rules section { scroll-margin-top: 80px; }
.rules ol > li { margin-bottom: .55em; }
.rules__forum { margin-bottom: 6px !important; }
.rules__forum summary { font-weight: 700; }

/* ---------- 26. Profil ---------- */
.profile__hero { overflow: hidden; }
.profile__cover { height: 120px; background:
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, .25), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 16px),
    linear-gradient(120deg, color-mix(in srgb, var(--tone) 60%, #fff), var(--tone) 55%, color-mix(in srgb, var(--tone) 60%, #000)); }
.profile__cover--t0 { --tone: #1f5ea8; } .profile__cover--t1 { --tone: #1d7348; } .profile__cover--t2 { --tone: #b36a0b; } .profile__cover--t3 { --tone: #66479c; }
.profile__cover--t4 { --tone: #0f7676; } .profile__cover--t5 { --tone: #c0261f; } .profile__cover--t6 { --tone: #56677c; } .profile__cover--t7 { --tone: #86552a; }
.profile__id { display: flex; align-items: flex-end; gap: 18px; padding: 0 20px 12px; margin-top: -54px; }
.profile__avatar { box-shadow: 0 0 0 4px var(--surface), 0 4px 12px rgba(0, 0, 0, .25); }
.profile__names { flex: 1; min-width: 0; padding: 60px 0 2px; }
.profile__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 1.7rem; }
.status { font: 600 .8rem var(--font); color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.status--on { color: var(--green); }
.profile__handle { margin: 2px 0 6px; color: var(--muted); }
.profile__badges { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.profile__stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); background: var(--surface-2); }
.stat { padding: 10px 12px; text-align: center; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat dt { font-size: .7rem; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.stat dd { margin: 2px 0 0; font: 700 1.2rem var(--font-head); color: var(--navy-2); }
.profile__tabs { border-top: 1px solid var(--line); }
.activity { list-style: none; margin: 0; padding: 0; }
.activity__item { padding: 10px 14px; border-bottom: 1px dotted var(--line); }
.activity__head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.activity__text { margin: 4px 0 0; font-size: .88rem; color: var(--text-2); }
.bars { list-style: none; margin: 0; padding: 8px 12px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 70px 28px; gap: 8px; align-items: center; padding: 4px 0; font-size: .84rem; }
.bars a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars__bar { height: 8px; background: var(--surface-3); border-radius: 4px; overflow: hidden; }
.bars__fill { display: block; height: 100%; background: linear-gradient(90deg, #f0b43a, #d98a00); }
.bars__fill--0 { width: 4%; } .bars__fill--1 { width: 10%; } .bars__fill--2 { width: 20%; } .bars__fill--3 { width: 30%; } .bars__fill--4 { width: 40%; } .bars__fill--5 { width: 50%; }
.bars__fill--6 { width: 60%; } .bars__fill--7 { width: 70%; } .bars__fill--8 { width: 80%; } .bars__fill--9 { width: 90%; } .bars__fill--10 { width: 100%; }
.mini-profile { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.avatar-edit { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.member-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.member-filter .input { flex: 1; min-width: 180px; }
.member-filter .select { width: auto; }
.search-big { display: flex; gap: 8px; margin: 8px 0; }

/* ---------- 27. Kimlik doğrulama ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 360px); gap: 24px; justify-content: center; align-items: start; padding: 10px 0 20px; }
.auth__box .box__body { padding: 18px 20px; }
.auth__switch { text-align: center; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2); }
.auth__aside { padding: 18px 20px; background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #dbe6f3; border-radius: var(--radius); box-shadow: var(--shadow); }
.auth__aside h2 { color: #fff; font-size: 1.2rem; }
.checklist { list-style: none; margin: 0 0 12px; padding: 0; }
.checklist li { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.checklist .i { color: #7fe0a3; margin-top: 3px; }
.auth__aside .muted { color: #a9bbd0; }

/* ---------- 28. Alt bilgi ---------- */
.footer { margin-top: 10px; background: #16283f; color: #b4c3d6; font-size: .88rem; }
:root[data-theme="dark"] .footer { background: #0a121c; }
.footer__band { background: linear-gradient(#24476f, #1c3a5d); border-top: 3px solid var(--red); }
.footer__band-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; padding: 10px 12px; color: #d5e1ee; }
.footer__band-in span { display: inline-flex; align-items: center; gap: 6px; }
.footer__band-in strong { color: #fff; font-family: var(--font-head); font-size: 1.05rem; }
.footer__cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 20px; }
.footer__h { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 3px 0; }
.footer a { color: #c8d6e6; }
.footer a:hover { color: #fff; }
.footer .brand__name { color: #fff; font-size: 1.5rem; }
.footer .brand__name strong { color: #ff6a5f; }
.footer__col--brand p { margin-top: 10px; font-size: .84rem; }
.footer .muted { color: #8ea1b8; }
.footer__bottom { background: #0f1d2e; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .78rem; }
.footer__bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px; }
.footer__feeds { display: flex; gap: 14px; }

/* ---------- 29. Mobil bileşenler (yalnızca mobil layout'ta görünür) ---------- */
.drawer[hidden] { display: none; }
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 16, 28, .55); animation: fade .2s ease; }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); background: var(--surface); overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-lg); animation: slide-in .22s ease; display: flex; flex-direction: column; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: linear-gradient(#305d90, #1f416a); }
.drawer__head .brand__name { color: #fff; font-size: 1.4rem; }
.drawer__head .brand__name strong { color: #ff7b72; }
.drawer__close { background: none; border: 0; color: #fff; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; }
.drawer__close .i { width: 22px; height: 22px; }
.drawer__user { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.drawer__user small { display: block; color: var(--muted); }
.drawer__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.drawer__nav { display: flex; flex-direction: column; flex: 1; }
.drawer__nav > a, .drawer__group > summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); color: var(--text); font-weight: 700; font-size: 1rem; list-style: none; }
.drawer__group > summary::-webkit-details-marker { display: none; }
.drawer__group > summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 1.2rem; }
.drawer__group[open] > summary::after { content: "−"; }
.drawer__group > a { display: block; padding: 9px 16px 9px 44px; border-bottom: 1px solid var(--line-2); color: var(--text-2); background: var(--surface-2); }
.drawer__nav .i { width: 18px; height: 18px; color: var(--navy-2); }
.drawer__foot { padding: 10px 16px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.drawer__foot a, .drawer__foot button { display: flex; align-items: center; gap: 8px; color: var(--text-2); background: none; border: 0; font: inherit; padding: 6px 0; cursor: pointer; }
.bnav { display: none; }
.to-top { position: fixed; right: 16px; bottom: 18px; z-index: 90; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy-2); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center; }
.to-top[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .drawer__panel, .drawer__backdrop { animation: none; } }

/* ---------- 30. Hata sayfası ---------- */
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; }
.error-page__box { max-width: 560px; width: 100%; padding: 26px; text-align: center; border-top: 4px solid var(--red); }
.error-page__code { font: 700 4.5rem/1 var(--font-head); color: var(--red); text-shadow: 0 3px 0 var(--red-soft); }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.error-page__search { flex-basis: 100%; }

/* Erişilebilirlik: yüksek kontrast ve hareket tercihleri */
@media (prefers-contrast: more) {
    :root { --line: #8a99ab; --muted: #48566a; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Geliştirme / Beta uyarı şeridi ---------- */
.dev-banner {
    background: repeating-linear-gradient(
        135deg,
        #b36a0b 0px,
        #b36a0b 10px,
        #fbbf24 10px,
        #fbbf24 20px
    );
    color: #1a0c00;
    font: 600 .78rem/1 var(--font);
    letter-spacing: .01em;
    text-align: center;
    position: relative;
    z-index: 1100;
}
.dev-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 40px 6px 12px;
    background: rgba(253,243,226,.92);
    backdrop-filter: blur(2px);
}
.dev-banner__icon { font-size: .95rem; flex-shrink: 0; }
.dev-banner__text { color: #5a3700; }
.dev-banner__close {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: #7a4e00;
    padding: 2px 5px;
    border-radius: 3px;
    opacity: .7;
    transition: opacity .15s;
}
.dev-banner__close:hover { opacity: 1; }

