/* Yazı tipleri uygulamanın içinde (internetsiz çalışma için). Lisans: SIL Open Font License, bkz. fonts/ klasörü. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/bricolage-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/bricolage-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/bricolage-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/bricolage-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/plexmono-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/plexmono-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/plexmono-latin-ext-500.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/plexmono-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/plexsans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/plexsans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/plexsans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/plexsans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/plexsans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/plexsans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: tek sütun mobil uygulama. Alt çubukta 5 sekme, ortada yükseltilmiş turuncu OdyoBOT yuvarlağı. Ana sayfa: karşılama + saat + ilanlar + haberler. Görsel depo: yolaklar ve cihazlar. */
:root {
  --rk-aday: #F6B356; --rk-aday-cizgi: #A65A00; --mk-gerek: #D9661A; --mk-yok: #2E8A55; --mk-belirsiz: #8A949B;
  --bg: #F2F5F6;
  --surface: #FFFFFF;
  --ink: #10242B;
  --muted: #566B72;
  --line: #D3DDE0;
  --accent: #1560B0;
  --accent-ink: #FFFFFF;
  --bot: #17B6C8;
  --bot-ink: #04303A;
  --kart3d: #0F4C97;
  --kart3d-ink: #FFFFFF;
  --danger: #B3261E;
  --right: #C23A2F;
  --left: #2A5BC4;
  --cross: #8A9BA1;
  /* Odyogram çıktısı (JPEG/PDF): tema ve koyu moddan bağımsız, her zaman beyaz kâğıt üzerinde (cikti.js okur). */
  --cikti-zemin: #FFFFFF;
  --cikti-yazi: #10242B;
  --cikti-soluk: #566B72;
  --cikti-cizgi: #C9D4D7;
  --cikti-bant: #0B6E78;
  --cikti-sag: #C23A2F;
  --cikti-sol: #2A5BC4;
  --font-display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* Cihaz rozetleri: renk + yazı (renk tek başına anlam taşımaz) */
  --rozet-ameliyatsiz-zemin: #E2F2E6; --rozet-ameliyatsiz-yazi: #1C5A2B;
  --rozet-ameliyatli-zemin: #FCE6E1; --rozet-ameliyatli-yazi: #8A2717;
  --rozet-arastirma-zemin: #FFF0CF; --rozet-arastirma-yazi: #6E4400;
  /* Tam ekran görüntüleyici ve 3D kartının parıltısı */
  --gor-zemin: #0B1418; --gor-yazi: #F2F5F6; --gor-dugme: #1E2E34;
  --parilti: rgba(255, 255, 255, 0.32); --kart3d-golge: rgba(0, 0, 0, 0.16);
  /* Yenidoğan taraması akış şeması: geçti / kaldı / risk nedeniyle sevk */
  --akis-gecti: #2E7D4F; --akis-kaldi: #C25E14; --akis-sevk: #66727C; --hf-bellek: #E07526; --hf-bellek-yazi: #1A1206; --hf-bozulma-yazi: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --rk-aday: #8A5410; --rk-aday-cizgi: #FFC873; --mk-gerek: #F49A55; --mk-yok: #6FCF97; --mk-belirsiz: #8E9BA4;
    --bg: #0C1A1F; --surface: #13262D; --ink: #E6EEF0; --muted: #93A8AF; --line: #2A3F47;
    --accent: #6DB7F2; --accent-ink: #06223F; --bot: #3DCADA; --bot-ink: #04303A; --kart3d: #123E7A; --danger: #F2958E;
    --right: #F0776C; --left: #7BA3F5; --cross: #6B8189;
    --rozet-ameliyatsiz-zemin: #173A22; --rozet-ameliyatsiz-yazi: #A8E2B6; --rozet-ameliyatli-zemin: #45201A; --rozet-ameliyatli-yazi: #F7B5A8; --rozet-arastirma-zemin: #3E2F0C; --rozet-arastirma-yazi: #F6D18A; --parilti: rgba(255, 255, 255, 0.22); --kart3d-golge: rgba(0, 0, 0, 0.4); --akis-gecti: #6FCF97; --akis-kaldi: #F2A15A; --akis-sevk: #A3B1BC; --hf-bellek: #F5A25D; --hf-bellek-yazi: #1A1206; --hf-bozulma-yazi: #14191D;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --rk-aday: #8A5410; --rk-aday-cizgi: #FFC873; --mk-gerek: #F49A55; --mk-yok: #6FCF97; --mk-belirsiz: #8E9BA4;
  --bg: #0C1A1F; --surface: #13262D; --ink: #E6EEF0; --muted: #93A8AF; --line: #2A3F47;
  --accent: #6DB7F2; --accent-ink: #06223F; --bot: #3DCADA; --bot-ink: #04303A; --kart3d: #123E7A; --danger: #F2958E;
  --right: #F0776C; --left: #7BA3F5; --cross: #6B8189;
  --rozet-ameliyatsiz-zemin: #173A22; --rozet-ameliyatsiz-yazi: #A8E2B6; --rozet-ameliyatli-zemin: #45201A; --rozet-ameliyatli-yazi: #F7B5A8; --rozet-arastirma-zemin: #3E2F0C; --rozet-arastirma-yazi: #F6D18A; --parilti: rgba(255, 255, 255, 0.22); --kart3d-golge: rgba(0, 0, 0, 0.4); --akis-gecti: #6FCF97; --akis-kaldi: #F2A15A; --akis-sevk: #A3B1BC; --hf-bellek: #F5A25D; --hf-bellek-yazi: #1A1206; --hf-bozulma-yazi: #14191D;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 20px 120px;
}
.wrap { max-width: 560px; margin: 0 auto; }
/* Arka plan deseni (2026-12-03; seçim gorunum.js, yalnızca bu cihazda): <html data-desen="dalga|izgara|nokta">.
   Desen SVG maske; rengi temanın ana rengi (--accent), çok silik (--desen-saydam). Yalnızca sayfa zemininde: kartlar ve alttan açılan sayfalar düz kalır. */
:root {
  --desen-dalga: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='56'%3E%3Cpath d='M0 14Q20 4 40 14T80 14T120 14T160 14M-40 42Q-20 32 0 42T40 42T80 42T120 42T160 42T200 42' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
  --desen-izgara: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M0 .5H96M0 24.5H96M0 48.5H96M0 72.5H96M.5 0V96M24.5 0V96M48.5 0V96M72.5 0V96' fill='none' stroke='%23000' stroke-opacity='.45'/%3E%3Ccircle cx='24.5' cy='24.5' r='4.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M68 68l9 9M77 68l-9 9' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
  --desen-nokta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='9' cy='9' r='1.4' fill='%23000'/%3E%3C/svg%3E");
  --desen-saydam: 0.09;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --desen-saydam: 0.11; } }
:root[data-theme="dark"] { --desen-saydam: 0.11; }
[data-desen="dalga"] { --desen: var(--desen-dalga); }
[data-desen="izgara"] { --desen: var(--desen-izgara); }
[data-desen="nokta"] { --desen: var(--desen-nokta); }
[data-desen] body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--accent); opacity: var(--desen-saydam);
  -webkit-mask-image: var(--desen); mask-image: var(--desen);
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
}
/* Ayarlar'daki desen seçimi: her düğmede küçük önizleme */
.desen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.desen-sec { font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-height: 48px; padding: 8px 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; text-align: left; }
.desen-sec[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.desen-sec:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.desen-onizleme { flex: none; width: 44px; height: 30px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); position: relative; overflow: hidden; }
.desen-onizleme::after { content: ""; position: absolute; inset: 0; background: var(--accent); opacity: .5; -webkit-mask-repeat: repeat; mask-repeat: repeat; }
.desen-onizleme.d-yok::after { display: none; }
.desen-onizleme.d-dalga::after { -webkit-mask-image: var(--desen-dalga); mask-image: var(--desen-dalga); }
.desen-onizleme.d-izgara::after { -webkit-mask-image: var(--desen-izgara); mask-image: var(--desen-izgara); -webkit-mask-size: 48px; mask-size: 48px; }
.desen-onizleme.d-nokta::after { -webkit-mask-image: var(--desen-nokta); mask-image: var(--desen-nokta); -webkit-mask-size: 9px; mask-size: 9px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.kicker { font-size: 13px; color: var(--muted); }
h1 { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.2; margin: 0; text-wrap: balance; }
h3 { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.25; margin: 0; }
p { margin: 0; max-width: 65ch; }
.lead { color: var(--muted); }
section[hidden] { display: none !important; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Hero */
.brand { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: .02em; color: var(--accent); }
.hero { display: flex; flex-direction: column; gap: 6px; padding-bottom: 4px; }
.clock { font-family: var(--font-mono); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--accent); }
.date { color: var(--muted); }

/* Announcement lists */
.board { display: flex; flex-direction: column; gap: 10px; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
/* Süresi geçen ilan: kart soluk değil (yazı okunur kalsın, 2026-11-17 kontrast ölçümü); yalnızca görsel soluk, başlık ikincil renkte, "Geçti" etiketi var */
.item.past { border-style: dashed; }
.item.past .item-title { color: var(--muted); }
.item.past .a-gorsel { opacity: .5; }
.item-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.item-title { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.meta { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.tag { font-size: 12px; font-weight: 500; border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; color: var(--muted); white-space: nowrap; }
.tag.soon { color: var(--accent); border-color: var(--accent); }
.item a.go { align-self: flex-start; color: var(--accent); font-weight: 500; font-size: 14px; text-underline-offset: 3px; }
.empty { border: 1px dashed var(--line); border-radius: 10px; padding: 14px; color: var(--muted); font-size: 14px; }
.admin-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.linkbtn { font: inherit; font-size: 13px; background: none; border: none; color: var(--muted); padding: 6px 4px; min-height: 44px; min-width: 44px; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn.danger { color: var(--danger); }
.linkbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Forms */
details.compose { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
details.compose > summary { cursor: pointer; padding: 12px 14px; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
details.compose > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 10px; }
form.f { display: flex; flex-direction: column; gap: 12px; padding: 0 14px 14px; }
.fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fld label { font-size: 13px; font-weight: 500; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-height: 44px; width: 100%; min-width: 0; }
.fld textarea { min-height: 88px; resize: vertical; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .fieldrow { grid-template-columns: 1fr; } }
button.btn { font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; min-height: 44px; cursor: pointer; }
button.btn:hover { border-color: var(--accent); }
button.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
button.btn[disabled] { opacity: .4; cursor: default; }
button.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.msg { font-size: 13px; color: var(--muted); min-height: 1.2em; }
.msg.err { color: var(--danger); }

/* Segmented control */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { font: inherit; font-weight: 500; font-size: 13px; min-width: 0; padding: 0 4px; background: none; border: none; border-radius: 7px; min-height: 44px; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.seg button:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }

/* Pathway figure */
.figure { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px 6px; }
.figure svg { display: block; width: 100%; height: auto; max-width: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); padding: 6px 8px 8px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.r { background: var(--right); } .dot.l { background: var(--left); }
.dash { width: 18px; height: 0; border-top: 2px dashed var(--cross); display: inline-block; }
.side-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; fill: var(--muted); }
.lnk { fill: none; stroke-width: 2.5; }
.lnk.r { stroke: var(--right); } .lnk.l { stroke: var(--left); }
.lnk.x { stroke: var(--cross); stroke-width: 2; stroke-dasharray: 5 4; }
.lnk.ip { stroke-dasharray: 0.5 5.5; stroke-linecap: round; stroke-width: 3; }
.ah.r { fill: var(--right); } .ah.l { fill: var(--left); }
.node text.reg { font-family: var(--font-mono); font-size: 9.5px; font-weight: 400; fill: var(--muted); letter-spacing: .02em; }
.node.sel text.reg { fill: var(--accent-ink); }
.ln { width: 22px; height: 0; border-top: 3px solid var(--muted); display: inline-block; }
.ln.r { border-top-color: var(--right); } .ln.l { border-top-color: var(--left); }
.ln.ip { border-top-style: dotted; }
.node { cursor: pointer; outline: none; }
.node .c { fill: var(--surface); stroke-width: 2.5; }
.node .c.r { stroke: var(--right); } .node .c.l { stroke: var(--left); }
.node .pill { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.node text { font-family: var(--font-body); font-size: 12px; font-weight: 500; fill: var(--ink); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.node.sel .pill { fill: var(--accent); stroke: var(--accent); }
.node.sel text { fill: var(--accent-ink); }
.node.sel .c.r { fill: var(--right); } .node.sel .c.l { fill: var(--left); }
.node:focus-visible .pill { stroke: var(--accent); stroke-width: 3; }
.node:hover .pill { stroke: var(--accent); }

/* Detail card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card-head { display: flex; flex-direction: column; gap: 2px; }
.latin { font-style: italic; color: var(--muted); font-size: 13px; }
.badge { align-self: flex-start; font-family: var(--font-mono); font-size: 12px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 4px; }
dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
dt { font-size: 13px; font-weight: 500; color: var(--muted); }
dd { margin: 2px 0 0; min-width: 0; }
.stepper { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.stepper .pos { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.note { font-size: 12.5px; color: var(--muted); }

/* Placeholders */
.soonlist { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.soonlist li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.status { font-size: 13px; font-weight: 500; color: var(--accent); }

.pill.r { stroke: var(--right); stroke-width: 2; }
.pill.l { stroke: var(--left); stroke-width: 2; }
.node.sel .pill.r { fill: var(--right); stroke: var(--right); }
.node.sel .pill.l { fill: var(--left); stroke: var(--left); }

.iconbtn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: var(--surface); }
.ust-dugmeler { display: inline-flex; gap: 8px; align-items: center; }
button.iconbtn { font: inherit; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.iconbtn:focus-visible, .back:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.back { color: var(--accent); text-decoration: none; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
.footlink { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--muted); text-underline-offset: 3px; }
.footlink:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.palgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pal { font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-height: 48px; padding: 8px 12px; display: flex; align-items: center; gap: 8px; cursor: pointer; text-align: left; }
.pal[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.pal:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sw { width: 18px; height: 18px; border-radius: 50%; flex: none; }

/* Notes */
details.ns { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
details.ns > summary { cursor: pointer; padding: 12px 14px; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
details.ns > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 10px; }
details.ns ul { margin: 0; padding: 0 14px 14px 32px; display: flex; flex-direction: column; gap: 6px; }
details.ns li { overflow-wrap: anywhere; }

/* Yönetici düzenleme kutuları */
.editbox { display: flex; flex-direction: column; gap: 10px; border: 1px dashed var(--accent); border-radius: 10px; padding: 12px; background: var(--bg); }
.editbox textarea { min-height: 160px; }
.ns-admin { padding: 0 14px 12px; }
.k-admin { margin-top: -6px; }

/* Cihaz kartları */
.item.dev { padding: 0 0 10px; overflow: hidden; gap: 6px; }
.item.dev > :not(.dev-img):not(.dev-img-btn) { margin-left: 14px; margin-right: 14px; }
.item.dev h4 { margin-top: 4px; margin-bottom: 0; }
.dev-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--line); }
.dev-ph { display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--muted); font-size: 13px; }
.dev-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.dev-list li { overflow-wrap: anywhere; }
.item.dev textarea { min-height: 140px; }

/* Tab bar */
nav.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--surface); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
nav.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 2px calc(8px + env(safe-area-inset-bottom, 0px)); min-height: 62px; color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 500; border-radius: 0; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease; }
nav.tabs a:active { background: color-mix(in srgb, var(--accent) 16%, transparent); }
nav.tabs a svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
nav.tabs a[aria-current="page"] { color: var(--accent); }
nav.tabs a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
/* Ortadaki OdyoBOT: logo (56 px) çubuğun üstüne biraz taşar; daire, halka, gölge ve arkada yarım daire yok
   (2026-11-17: proje sahibi arkadaki yarım daireyi "çıkıntı" olarak görüp beğenmedi, logoyu büyük buldu; 66 px → 56 px). */
nav.tabs a.bot { color: var(--ink); justify-content: flex-end; padding-top: 0; position: relative; overflow: visible; }
nav.tabs a.bot:active { background: none; }
nav.tabs a.bot .bot-logo { position: absolute; left: 50%; top: -22px; width: 56px; height: 56px; margin-left: -28px; transition: transform .15s ease; }
nav.tabs a.bot .bot-logo img { display: block; width: 56px; height: 56px; }
nav.tabs a.bot:active .bot-logo { transform: scale(.94); }
nav.tabs a.bot .bot-ad { position: relative; }
/* Seçiliyken sade işaret: yazı ana renge döner, altında kısa çizgi */
nav.tabs a.bot[aria-current="page"] { color: var(--accent); }
nav.tabs a.bot[aria-current="page"] .bot-ad::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 18px; height: 3px; margin-left: -9px; border-radius: 2px; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .node .pill, .node .c { transition: fill .15s ease, stroke .15s ease; }
}

/* Vakalarım */
.btncol { display: flex; flex-direction: column; gap: 8px; }
button.btn.tehlike { color: var(--danger); border-color: var(--danger); }
button.back.geribtn { background: none; border: none; font: inherit; padding: 0; cursor: pointer; }
.hatirlatma { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--surface); border: 1px solid var(--accent); border-radius: 10px; padding: 6px 6px 6px 14px; font-size: 14px; }
.vkart { gap: 10px; }
.vkart-ac { cursor: pointer; display: flex; flex-direction: column; gap: 4px; min-width: 0; border-radius: 6px; }
.vkart:hover { border-color: var(--accent); }
.vkart-ac:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button.btn.kart-gonder { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.kart-gonder-logo { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); flex: none; }
.vozet { color: var(--ink); }
.vnot { white-space: pre-wrap; overflow-wrap: anywhere; }
.geri-sor { display: flex; flex-direction: column; gap: 8px; border: 1px dashed var(--accent); border-radius: 10px; padding: 12px; background: var(--bg); font-size: 14px; }
.seg.seg2 { grid-template-columns: 1fr 1fr; }
.seg button.kulak-sag[aria-pressed="true"] { background: var(--right); color: var(--surface); }
.seg button.kulak-sol[aria-pressed="true"] { background: var(--left); color: var(--surface); }
.anahtar { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
.anahtar input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); margin: 0; }
.esik-blok { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 4px; }
#vakalarim .esik-blok h4 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.esik-blok.sag h4 { color: var(--right); }
.esik-blok.sol h4 { color: var(--left); }
.esik-satir { border-top: 1px solid var(--line); padding: 6px 0; }
.esik-satir:first-child { border-top: none; }
.esik-satir[hidden] { display: none; }
.esik-ust { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px 44px; gap: 6px; align-items: center; }
.esik-ust .hz { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
input.db { font: inherit; font-size: 16px; font-family: var(--font-mono); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-height: 44px; width: 100%; min-width: 0; -moz-appearance: textfield; appearance: textfield; }
input.db::-webkit-outer-spin-button, input.db::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input.db:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
input.db.hatali { border-color: var(--danger); border-width: 2px; background: color-mix(in srgb, var(--danger) 10%, var(--bg)); }
.tg { font-family: var(--font-mono); font-size: 13px; font-weight: 500; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--muted); cursor: pointer; padding: 0; }
.tg[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tg:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.mask-satir { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 8px; align-items: center; margin-top: 6px; padding-left: 70px; }
.mask-satir[hidden] { display: none; }
.mask-satir label { font-size: 12.5px; color: var(--muted); }
.alan-uyari { color: var(--danger); font-size: 12.5px; padding-left: 70px; }
.alan-uyari:empty { display: none; }
.tablo-kap { display: flex; flex-direction: column; gap: 6px; }
.esik-tablo { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 12.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.esik-tablo th, .esik-tablo td { padding: 6px 3px; text-align: center; border-bottom: 1px solid var(--line); font-weight: 400; }
.esik-tablo thead th { font-size: 11px; color: var(--muted); line-height: 1.2; }
.esik-tablo thead th.sag { color: var(--right); }
.esik-tablo thead th.sol { color: var(--left); }
.esik-tablo tbody th { color: var(--muted); }
.esik-tablo tr:last-child th, .esik-tablo tr:last-child td { border-bottom: none; }
#vakalarim h4 { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin: 0; }
.yedek-ic { display: flex; flex-direction: column; gap: 12px; padding: 0 14px 14px; }

/* Odyogram */
.odyo-panel { display: flex; flex-direction: column; gap: 8px; padding: 8px; }
.odyogram { display: block; width: 100%; height: auto; }
.og-bant { fill: var(--accent); fill-opacity: .10; }
.og-bant-lj { stroke: var(--accent); stroke-opacity: .35; stroke-width: 1; }
.og-cizgi { stroke: var(--line); stroke-width: 1; }
.og-cizgi.og-ara { stroke-dasharray: 2 3; }
.og-cizgi.og-sifir { stroke: var(--muted); stroke-opacity: .6; }
.og-cerceve { fill: none; stroke: var(--muted); stroke-opacity: .7; stroke-width: 1; }
.og-yazi { font-family: var(--font-mono); font-size: 9px; fill: var(--muted); }
.os { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.os.sag { stroke: var(--right); } .os.sol { stroke: var(--left); }
.notr .os { stroke: var(--muted); }
.og-hat { fill: none; stroke-width: 1.6; stroke-linejoin: round; }
.og-hat.sag { stroke: var(--right); }
.og-hat.sol { stroke: var(--left); }
.og-hat.kemik { stroke-dasharray: 5 4; }
.og-hat.notr { stroke: var(--muted); }
.odyogram.kucuk .os { stroke-width: 1.6; }
.odyogram.kucuk .og-hat { stroke-width: 1.4; }
.og-tek { display: flex; flex-direction: column; gap: 2px; }
.og-baslik { font-size: 13px; font-weight: 600; padding-left: 4px; }
.og-baslik.sag { color: var(--right); } .og-baslik.sol { color: var(--left); }
.odyo-lejant { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 2px 4px 4px; gap: 4px 10px; }
.odyo-lejant .lj { display: flex; align-items: center; gap: 4px; min-width: 0; }
.odyo-lejant .lj > span { display: inline; min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.odyo-lejant .lj-svg { width: 28px; height: 22px; max-width: none; flex: none; }
.vkart-govde { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; align-items: center; }
.vmini { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg); }

/* Sonuç kartı */
.sonuc-panel { gap: 10px; padding: 14px; }
.sonuc-kulaklar { display: flex; flex-direction: column; gap: 12px; }
.sonuc-kulak { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.sonuc-kulak.sag { border-left: 3px solid var(--right); padding-left: 10px; }
.sonuc-kulak.sol { border-left: 3px solid var(--left); padding-left: 10px; }
.sonuc-dl { gap: 6px; }
.sonuc-dl dd { font-weight: 500; overflow-wrap: anywhere; }
.sonuc-uyari { font-size: 13px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 8px; }

/* Ek ölçümler */
.ek-kulak { display: flex; flex-direction: column; gap: 8px; border-left: 3px solid var(--line); padding-left: 10px; }
.ek-kulak.sag { border-left-color: var(--right); }
.ek-kulak.sol { border-left-color: var(--left); }
.ek-kulak.sag h4 { color: var(--right); }
.ek-kulak.sol h4 { color: var(--left); }
.ek-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; }
.fld .etiket { font-size: 13px; font-weight: 500; color: var(--muted); }
.seg.seg3 { grid-template-columns: repeat(3, 1fr); }
.seg.seg4 { grid-template-columns: repeat(4, 1fr); }
.ek-tablo td, .ek-tablo th { text-align: left; padding-left: 8px; }
.vek { font-size: 12.5px; }
.ek-grid .alan-uyari { padding-left: 0; }
/* Timpanogram (vaka-testler.js): eğri girilen değerlerden üretilir; tepe yok yazısı kulak renginde. */
.timpan-panel { margin-top: 4px; }
.timpan-kap { display: flex; flex-direction: column; gap: 4px; }
.timpan-kap .og-baslik { padding-left: 0; }
.t-duz.sag { fill: var(--right); } .t-duz.sol { fill: var(--left); }
.t-tip { font-weight: 600; font-size: 15px; }
/* Akustik refleks tablosu: her hücre açılır liste; 360 px'te 4 frekans sığar. */
.r-tablo { width: 100%; border-collapse: collapse; table-layout: fixed; }
.r-tablo th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--muted); text-align: center; padding: 2px; }
.r-tablo tbody th { text-align: left; font-family: inherit; font-size: 14px; width: 60px; }
.r-tablo td { padding: 2px; }
.r-sec { width: 100%; min-height: 44px; padding: 0 2px; font-family: var(--font-mono); font-size: 16px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.r-sec.dolu { border-color: var(--accent); font-weight: 600; }
.r-sonuc th.sag { color: var(--right); } .r-sonuc th.sol { color: var(--left); }
.r-sonuc td { text-align: center; }
/* OAE (vaka-testler.js): kulak başına DPOAE/TEOAE tabloları; fark ≥ 6 dB yeşil onaylı. */
.o-alt { font-weight: 600; margin-top: 6px; }
.o-tablo { width: 100%; border-collapse: collapse; table-layout: fixed; }
.o-tablo th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--muted); text-align: center; padding: 2px; }
.o-tablo tbody th { width: 44px; text-align: left; }
.o-tablo td { padding: 2px; }
.o-deger { width: 100%; min-width: 0; min-height: 44px; padding: 0 4px; font: inherit; font-family: var(--font-mono); font-size: 16px; text-align: center; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; -moz-appearance: textfield; appearance: textfield; }
.o-deger::-webkit-outer-spin-button, .o-deger::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.o-deger:focus-visible, .r-sec:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.o-deger.hatali { border-color: var(--danger); border-width: 2px; background: color-mix(in srgb, var(--danger) 10%, var(--bg)); }
.fld input.hatali { border-color: var(--danger); border-width: 2px; background: color-mix(in srgb, var(--danger) 10%, var(--bg)); }
.o-fark { font-family: var(--font-mono); font-size: 14px; text-align: center; color: var(--muted); }
.o-fark.var { color: var(--ink); font-weight: 600; }
.o-fark.var::after { content: " ✓"; }
.o-sonuc { font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.oae-cubuk.sag { fill: var(--right); fill-opacity: .8; } .oae-cubuk.sol { fill: var(--left); fill-opacity: .8; }
.oae-gurultu { fill: var(--muted); fill-opacity: .45; }
/* ABR: kulak başına 6 satır (şiddet, I, III, V); dalgalar arası tablo; ayrıntı tablosu dar ekranda yana kayar. */
.a-tablo th { font-size: 11.5px; }
.a-ara { margin-top: 6px; }
.a-sonuc th, .a-sonuc td { text-align: center; white-space: nowrap; }
.a-sonuc th.sag { color: var(--right); } .a-sonuc th.sol { color: var(--left); }
.a-kaydir { overflow-x: auto; max-width: 100%; }
/* Timpanogramda Tip A alanı */
.t-a-alan { fill: var(--accent); fill-opacity: .10; stroke: var(--accent); stroke-opacity: .5; stroke-dasharray: 3 3; }
.t-a-yazi { fill: var(--muted); }
/* ABR kayıt fotoğrafı */
.a-foto { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.a-foto-uyari { font-weight: 600; color: var(--ink); }
.a-foto-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.a-foto-kart { display: flex; flex-direction: column; gap: 4px; }
.a-foto-ac { display: block; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); overflow: hidden; cursor: zoom-in; min-height: 44px; }
.a-foto-ac img { display: block; width: 100%; height: 120px; object-fit: cover; }
.a-foto-ac:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.a-foto-sil { min-height: 44px; }
.a-foto-baslik { padding-left: 0; margin-top: 8px; }
.t-deger:disabled { opacity: .55; }

/* Vakalarım: seçim modu (OdyoBOT'a gönderme) */
.liste-bas { align-items: center; }
.liste-bas h3 { margin-right: auto; }
button.btn.kucuk-btn { padding: 6px 14px; }
button.btn.kucuk-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.secim-bar { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--accent); border-radius: 10px; padding: 10px 12px; position: sticky; top: 8px; z-index: 5; }
button.btn:disabled { opacity: .5; cursor: default; }
.vsec-kutu { flex: none; width: 22px; height: 22px; border: 2px solid var(--muted); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.vkart.secimde .item-top { justify-content: flex-start; }
.vkart.secimde .item-title { margin-right: auto; }
.vkart.secili { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.vkart.secili .vsec-kutu { background: var(--accent); border-color: var(--accent); }
button.btn.bot-gonder { border-color: var(--bot); color: var(--ink); }

/* OdyoBOT sohbeti: bot balonları solda, kullanıcının seçimleri sağda */
.sohbet { display: flex; flex-direction: column; gap: 10px; }
.balon { max-width: 88%; border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.balon p { margin: 0; overflow-wrap: anywhere; }
.balon.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--bot); border-top-left-radius: 4px; }
.balon.ben { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-top-right-radius: 4px; }
.balon .vmini { width: 180px; max-width: 100%; }
.b-vaka-baslik { font-weight: 600; }
.b-secenek { display: flex; flex-direction: column; gap: 8px; }
.b-secenek:empty { display: none; }
button.btn.b-vaka { display: flex; align-items: center; gap: 10px; text-align: left; background: var(--surface); }
.b-vaka-ad { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.b-vaka-kutu { flex: none; width: 20px; height: 20px; border: 2px solid var(--muted); border-radius: 6px; }
button.btn.b-vaka[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
button.btn.b-vaka[aria-pressed="true"] .b-vaka-kutu { background: var(--accent); border-color: var(--accent); }
/* 4. adım: hesap (uye.js) */
.hs-engel-satir { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.uye-anahtar { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.uye-anahtar input { width: 22px; height: 22px; }
.g-google { width: 100%; min-height: 48px; }
.g-ayrac { text-align: center; margin: 0; }
.hs-sil summary { cursor: pointer; color: var(--danger); min-height: 44px; display: flex; align-items: center; }
.btn.uye-sil { color: var(--danger); border-color: var(--danger); }
/* 4. adım: Kütüphane kartları ve Topluluk tanıtımı */
/* 4. adım: Topluluk (forum.js) */
.fr-ust { display: flex; flex-direction: column; gap: 10px; }
.fr-tanitim { margin: 0; }
.fr-yeni { align-self: flex-start; }
.fr-uyari { font-size: 14px; color: var(--muted); padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; }
.fr-cipler { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.fr-cip { flex: none; min-height: 36px; padding: 6px 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; }
.fr-cip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.fr-kart, .fr-gonderi, .fr-cevap { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.fr-cevap { padding: 12px 14px; }
.fr-kat { align-self: flex-start; font-size: 11.5px; font-weight: 600; color: var(--accent); }
.fr-kart-baslik { font-size: 15.5px; line-height: 1.3; }
.fr-gonderi-baslik { margin: 0; font-size: 18px; line-height: 1.3; }
.fr-ozet { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.fr-yazar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.fr-ad { font-weight: 600; color: var(--ink); }
.fr-rozet { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 9px; background: var(--line); color: var(--ink); }
.fr-gizli-et { font-size: 11px; font-weight: 700; color: var(--danger); }
.fr-cevap-say { margin-left: auto; }
.fr-metin { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; }
.fr-islem { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.fr-islem .linkbtn { min-height: 36px; font-size: 13px; }
.fr-cevaplar-baslik { margin: 8px 0 0; font-size: 15px; }
.fr-hasta-uyari { margin: 0; }
.fr-sikayet { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fr-kural { font-size: 12.5px; }
/* 4. adım: uygulama içi bildirim (zil.js) */
.ana-ust { position: relative; }
#anasayfa .ana-ust { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.iconbtn.zil { position: relative; }
.zil-sayi { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--danger); color: #fff; font: 700 11px/20px var(--font-body); text-align: center; }
.zil-panel { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; width: min(340px, calc(100vw - 24px)); max-height: 60vh; overflow-y: auto; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.zil-baslik { margin: 2px 4px 8px; font-weight: 700; }
.zil-bos { margin: 4px; }
.zil-oge { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.zil-oge + .zil-oge { border-top: 1px solid var(--line); }
.zil-oge:active { background: var(--line); }
.zil-tur { font-size: 12px; color: var(--muted); }
.zil-metin { font-size: 14.5px; font-weight: 600; }
/* 4. adım: yasal metinler (yasal.js) ve kayıt onayı */
.yasal-baglantilar { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.yasal-baglantilar .linkbtn { min-height: 40px; display: inline-flex; align-items: center; }
.yasal-sayfa { display: flex; flex-direction: column; gap: 10px; line-height: 1.55; }
.yasal-sayfa[hidden] { display: none; }
.yasal-baslik { margin: 0; font-size: 20px; }
.yasal-sayfa h3 { margin: 8px 0 0; font-size: 16px; }
.yasal-sayfa p { margin: 0; }
.yasal-liste { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.g-onay { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.g-onay a, .yasal-sayfa a { color: var(--accent); }
.g-onay input { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.g-google-not { margin: 0; font-size: 12.5px; }
.kp-kartlar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kp-kart { display: flex; flex-direction: column; gap: 10px; min-height: 120px; padding: 16px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
.kp-kartlar .k-admin { grid-column: span 2; }
.kp-kart:active { transform: scale(.98); }
.kp-kart svg { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kp-yazi { display: flex; flex-direction: column; gap: 4px; }
.kp-yazi b { font-size: 15px; line-height: 1.25; }
.kp-yazi small { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.kp-kart.kp-genis { grid-column: span 2; flex-direction: row; align-items: center; min-height: 76px; gap: 14px; }
.kp-yakinda { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 36px 16px; background: var(--surface); border: 1px dashed var(--line); border-radius: 16px; }
.kp-yakinda svg { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kp-yakinda-bas { font-weight: 700; font-size: 17px; margin: 0; }
.b-metinler { display: none; }
/* 2026-12-01: .b-metinler yöneticiye de sayfada gösterilmez; hepsi Yönetim paneli → İçerik listesinde */
.b-metinler p { margin: 0; font-size: 14px; }
.b-liste { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.b-liste li { overflow-wrap: anywhere; }
.b-uyari { color: var(--danger); font-size: 13.5px; margin-top: 2px; }
.balon .og-baslik { padding-left: 0; }
/* OdyoBOT: akustik refleks örüntüsü şeması (odybot.js rkSema). */
.rk-sema { display: block; width: 100%; max-width: 360px; height: auto; }
.rk-yol { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.rk-yol.sag { stroke: var(--right); } .rk-yol.sol { stroke: var(--left); }
.rk-yol.ip { stroke-dasharray: 1 4; stroke-width: 2.6; }
.rk-yol.yok, .rk-yol.bos { stroke: var(--muted); stroke-dasharray: 6 5; stroke-width: 1.6; opacity: .55; }
.rk-vurgu { fill: none; stroke: var(--rk-aday-cizgi); stroke-width: 6; stroke-linecap: round; opacity: .55; }
.rk-dugum rect { fill: var(--surface); stroke: var(--line); stroke-width: 1.2; }
.rk-dugum text { font-size: 10.5px; fill: var(--ink); font-family: var(--font-body, inherit); }
.rk-dugum.aday rect { fill: var(--rk-aday); stroke: var(--rk-aday-cizgi); stroke-width: 2.4; }
.rk-dugum.aday text { font-weight: 700; }
.rk-taraf { font-size: 11px; font-weight: 600; }
.rk-taraf.sag { fill: var(--right); } .rk-taraf.sol { fill: var(--left); }

/* Görünüm değişince altta 1,5 sn görünen kısa yazı (gorunum.js) */
.gorunum-yazi { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom, 0px)); z-index: 30; transform: translate(-50%, 8px); max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.gorunum-yazi.acik { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .gorunum-yazi { transition: none; } }

/* ---------- Ana sayfa akışı (akis.js) ---------- */
.hero.kompakt { gap: 2px; padding-bottom: 0; }
.hero-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.hero.kompakt h1 { font-size: 24px; }
.hero-zaman { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hero.kompakt .clock { font-size: 28px; }
.hero-zaman .kicker { font-size: 13.5px; }

.a-cipler { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.a-cipler::-webkit-scrollbar { display: none; }
.a-cip { flex: 0 0 auto; font: inherit; font-size: 14px; font-weight: 500; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.a-cip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.a-cip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.a-bolum { gap: 10px; }
.a-bolum > .row { align-items: center; }
.a-bolum > .row .linkbtn { padding: 0 4px; }

/* Görsel kutuları: görsel gelene kadar yer tutar, sayfa zıplamaz */
.a-gorsel { position: relative; overflow: hidden; border-radius: 10px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid var(--line); }
.a-gorsel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.a-gorsel-afis { aspect-ratio: 3 / 4; }
.a-gorsel-haber { aspect-ratio: 16 / 9; border-radius: 14px; margin-top: 8px; }
.a-gorsel-kucuk { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 8px; }
.a-gorsel-tam { border-radius: 12px; background: var(--surface); min-height: 120px; }
.a-gorsel-tam.yuklu { min-height: 0; }
.a-gorsel-tam img { height: auto; max-height: 75vh; object-fit: contain; }
.a-gorsel-tam.yok, .a-gorsel-haber.yok, .a-gorsel-kucuk.yok { display: none; }
.a-afis-yer { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--accent); text-align: center; padding: 8px; }
.a-gorsel.yuklu .a-afis-yer { display: none; }
.a-afis-gun { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; }
.a-afis-ay { font-size: 13px; font-weight: 500; }

/* Etkinlik afiş kartları */
.a-afis { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; border-radius: 10px; }
.a-afis:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.a-afis .a-gorsel { margin-bottom: 5px; }
.a-afis-baslik { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.a-afis-tarih { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.a-afis .meta { display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
/* Geçmiş etkinlik: yalnızca afiş görseli soluk; yazılar ikincil renkte ama okunur */
.a-afis.gecmis .a-gorsel img { opacity: .45; }
.a-afis.gecmis .a-afis-yer { color: var(--muted); }
.a-afis.gecmis .a-afis-baslik { color: var(--muted); }
.a-afis.gecmis .a-afis-tarih { color: var(--muted); }
.a-gecti { position: absolute; top: 8px; left: 8px; z-index: 1; background: var(--surface); color: var(--ink); }
/* Tümü: yatay şerit. Kaydırma yalnızca şeridin içinde; sayfa yatay kaymaz. */
.a-serit { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.a-serit::-webkit-scrollbar { display: none; }
.a-serit .a-afis { flex: 0 0 min(58%, 220px); scroll-snap-align: start; }
.a-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }

/* İş ilanı kartları */
a.item.a-ilan { flex-direction: row; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-height: 44px; -webkit-tap-highlight-color: transparent; }
a.item.a-ilan:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.a-ilan-metin { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; align-items: flex-start; }
.a-ilan-metin .kicker { overflow-wrap: anywhere; }

/* Haber akışı */
.a-haberler { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.a-haber { display: block; padding: 12px 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.a-haber + .a-haber { border-top: 1px solid var(--line); }
.a-haber:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.a-haber-ust { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.a-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cikti-zemin); border: 1px solid var(--line); flex: 0 0 40px; }
.a-haber-ad { font-weight: 600; }
.a-haber-zaman { font-size: 13px; color: var(--muted); }
.a-haber-zaman::before { content: "· "; }
.a-haber-metin { white-space: pre-line; overflow-wrap: anywhere; }
.a-haber-metin.buyuk { font-size: 17px; line-height: 1.5; }
.a-haber-metin a, .a-aciklama a { color: var(--accent); text-underline-offset: 3px; }
button.btn.a-daha { align-self: center; min-width: 200px; }

/* Ayrıntı sayfası: alttan açılan tam ekran */
.a-sayfa { position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; transform: translateY(100%); transition: transform .25s ease; padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.a-sayfa.acik { transform: none; }
@media (prefers-reduced-motion: reduce) { .a-sayfa { transition: none; } }
html.kilit, html.kilit body { overflow: hidden; }
.a-sayfa-ust { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; margin: 0 auto; max-width: 560px; background: var(--bg); }
.a-sayfa-ic { display: flex; flex-direction: column; gap: 12px; max-width: 560px; margin: 0 auto; }
.a-sayfa-ic h2 { font-size: 24px; overflow-wrap: anywhere; }
.a-sayfa-yok { color: var(--muted); font-size: 18px; }
.a-bilgi { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.a-bilgi dt { font-size: 13px; font-weight: 500; color: var(--muted); padding-top: 1px; }
.a-bilgi dd { margin: 0; overflow-wrap: anywhere; }
.a-gecti-satir { align-self: flex-start; }
.a-aciklama { white-space: pre-line; overflow-wrap: anywhere; }
a.btn.a-git { display: inline-flex; align-items: center; justify-content: center; align-self: stretch; text-decoration: none; font-size: 15px; font-weight: 500; min-height: 48px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); }
a.btn.a-git:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.a-yonetici { border-top: 1px solid var(--line); padding-top: 12px; }

/* Yönetici formu */
.fld-ad { font-size: 13px; font-weight: 500; color: var(--muted); }
.a-sayac { font-size: 12.5px; color: var(--muted); text-align: right; min-height: 1.2em; }
.a-sayac.az { color: var(--danger); }
.a-foto-on { display: flex; align-items: center; gap: 12px; }
.a-foto-on img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); }

/* ---------- Görsel depo: 3 ana düğme (dar ekranda yazı iki satıra iner, kısaltılmaz) ---------- */
.depo-seg button, #p-tarama .seg button { line-height: 1.15; padding: 4px 4px; overflow-wrap: break-word; }
/* Şemalar içindeki alt seçim: sekme görünümü (ana düğmelerden ayrışsın) */
.alt-seg { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.alt-seg button { font: inherit; font-size: 14px; font-weight: 500; line-height: 1.15; min-height: 44px; padding: 6px 4px; background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--muted); cursor: pointer; }
.alt-seg button[aria-pressed="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.alt-seg button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

/* ---------- Yenidoğan taraması akış şemaları ---------- */
.lnk.akis { stroke: var(--muted); stroke-width: 1.6; }
.ah.akis { fill: var(--muted); }
.pill.t-baslik { stroke: var(--ink); stroke-width: 1.5; }
.pill.t-grup { stroke: var(--accent); stroke-width: 1.8; }
.pill.t-gecti, .pill.t-saglam { stroke: var(--akis-gecti); stroke-width: 2; fill: color-mix(in srgb, var(--akis-gecti) 14%, var(--surface)); }
.pill.t-kaldi, .pill.t-ref { stroke: var(--akis-kaldi); stroke-width: 2; fill: color-mix(in srgb, var(--akis-kaldi) 14%, var(--surface)); }
.pill.t-sevk { stroke: var(--akis-sevk); stroke-width: 2; fill: color-mix(in srgb, var(--akis-sevk) 16%, var(--surface)); }
/* İşitsel hafıza: bellek depoları turuncu kenarlı (slayttaki gibi), süreçler yuvarlak ikinci renk, bozulma gri (t-bozulma = sevk rengi) */
.pill.t-bellek { stroke: var(--hf-bellek); stroke-width: 2.4; }
.pill.t-surec { stroke: var(--bot); stroke-width: 2; }
.pill.t-etiket { stroke: var(--line); stroke-dasharray: 3 3; }
.pill.t-bozulma { stroke: var(--akis-sevk); stroke-width: 2; fill: color-mix(in srgb, var(--akis-sevk) 16%, var(--surface)); }
/* Seçili kutu kendi rengiyle dolar (genel seçim rengi mavi yerine) */
.node.sel .pill.t-bellek { fill: var(--hf-bellek); stroke: var(--hf-bellek); }
.node.sel .pill.t-bellek + text { fill: var(--hf-bellek-yazi); }
.node.sel .pill.t-surec { fill: var(--bot); stroke: var(--bot); }
.node.sel .pill.t-surec + text { fill: var(--bot-ink); }
.node.sel .pill.t-bozulma { fill: var(--akis-sevk); stroke: var(--akis-sevk); }
.node.sel .pill.t-bozulma + text { fill: var(--hf-bozulma-yazi); }
.akis-renk.bellek { border-color: var(--hf-bellek); background: var(--surface); }
.akis-renk.surec { border-color: var(--bot); border-radius: 6px; background: var(--surface); }
.akis-renk { display: inline-block; width: 14px; height: 10px; border-radius: 3px; border: 2px solid; }
.akis-renk.gecti { border-color: var(--akis-gecti); background: color-mix(in srgb, var(--akis-gecti) 14%, var(--surface)); }
.akis-renk.kaldi { border-color: var(--akis-kaldi); background: color-mix(in srgb, var(--akis-kaldi) 14%, var(--surface)); }
.akis-renk.sevk { border-color: var(--akis-sevk); background: color-mix(in srgb, var(--akis-sevk) 16%, var(--surface)); }

/* ---------- Cihaz kartları ---------- */
.dev-kume { gap: 10px; }
.dev-kume + .dev-kume { margin-top: 6px; }
.dev-img-btn { display: block; position: relative; width: 100%; padding: 0; margin: 0; border: none; background: none; cursor: zoom-in; border-bottom: 1px solid var(--line); }
.dev-img-btn .dev-img { border-bottom: none; }
.dev-img-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.dev-buyut { margin-left: auto; width: 28px; height: 24px; color: var(--muted); display: flex; align-items: center; justify-content: flex-end; }
.dev-buyut svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rozetler { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.rozet { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; line-height: 1; padding: 5px 8px; border-radius: 999px; border: 1px solid currentColor; }
.rozet::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.rozet-ameliyatsiz { background: var(--rozet-ameliyatsiz-zemin); color: var(--rozet-ameliyatsiz-yazi); }
.rozet-ameliyatli { background: var(--rozet-ameliyatli-zemin); color: var(--rozet-ameliyatli-yazi); }
.rozet-arastirma { background: var(--rozet-arastirma-zemin); color: var(--rozet-arastirma-yazi); border-style: dashed; }
/* Listenin başındaki ayrışan tam genişlikte kart (kulak içi karşılaştırma) */
.item.dev.genis { border: 2px solid var(--accent); }
.item.dev.genis h4 { font-family: var(--font-display); font-size: 17px; }

.gizli-yazi { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 3D sayfası ---------- */
#uc-boyut h2 { margin-top: -6px; }

/* ---------- Tam ekran görüntüleyici (goruntuleyici.js) ---------- */
html.gor-acik, html.gor-acik body { overflow: hidden; }
.gor { position: fixed; inset: 0; z-index: 100; background: var(--gor-zemin); color: var(--gor-yazi); display: flex; flex-direction: column; }
.gor[hidden] { display: none; }
.gor-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: max(8px, env(safe-area-inset-top)) 8px 8px 16px; }
.gor-baslik { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--gor-yazi); }
.gor-kapat { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--gor-dugme); color: var(--gor-yazi); border: none; }
.gor-kapat:focus-visible { outline: 3px solid var(--gor-yazi); outline-offset: 2px; }
.gor-alan { flex: 1; min-height: 0; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; touch-action: none; cursor: zoom-in; }
.gor.buyuk .gor-alan { cursor: grab; }
.gor-resim { max-width: 100%; max-height: 100%; width: auto; height: auto; transform-origin: 50% 50%; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.gor-ipucu { margin: 0; padding: 8px 16px max(12px, env(safe-area-inset-bottom)); font-size: 13px; text-align: center; opacity: .8; }
.gor.buyuk .gor-ipucu { visibility: hidden; }

/* ---------- Ayarlar ---------- */
.ayar-grup { gap: 10px; }
.seg.seg1 { grid-template-columns: 1fr; }
a.btn.ayar-giris-btn { align-self: flex-start; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; min-height: 44px; text-decoration: none; }
a.btn.ayar-giris-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* =====================================================================
   Tasarım yenilemesi (2026-11-17, YOL-HARITASI.md 1. adım)
   ===================================================================== */
:root {
  /* Duyuru tür etiketleri ve "yeni" rozeti (renk + yazı birlikte; renk tek başına anlam taşımaz) */
  --tur-etkinlik-zemin: #E3EEFB; --tur-etkinlik-yazi: #134E8F;
  --tur-ilan-zemin: #E2F2E6; --tur-ilan-yazi: #1C5A2B;
  --tur-haber-zemin: #FCEADB; --tur-haber-yazi: #8A3F0A;
  --yeni-zemin: #17B6C8; --yeni-yazi: #04303A;
  --kart3d-dugme: #FFFFFF; --kart3d-resim: #FFFFFF;
  --vurgu: rgba(23, 182, 200, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tur-etkinlik-zemin: #17304D; --tur-etkinlik-yazi: #A9CDF5; --tur-ilan-zemin: #173A22; --tur-ilan-yazi: #A8E2B6; --tur-haber-zemin: #3D2A18; --tur-haber-yazi: #F5C08E; --yeni-zemin: #3DCADA; --yeni-yazi: #04303A; --vurgu: rgba(61, 202, 218, 0.35);
  }
}
:root[data-theme="dark"] {
  --tur-etkinlik-zemin: #17304D; --tur-etkinlik-yazi: #A9CDF5; --tur-ilan-zemin: #173A22; --tur-ilan-yazi: #A8E2B6; --tur-haber-zemin: #3D2A18; --tur-haber-yazi: #F5C08E; --yeni-zemin: #3DCADA; --yeni-yazi: #04303A; --vurgu: rgba(61, 202, 218, 0.35);
}
.yonetici-yalniz { display: none !important; }
.yonetici .yonetici-yalniz { display: inline-flex !important; }
a.btn { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; min-height: 44px; text-decoration: none; }
a.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Alt sayfa başlığı: yalnızca geri oku ve sayfa adı */
.alt-bas { display: flex; align-items: center; gap: 4px; min-height: 44px; margin-left: -10px; }
.alt-bas h2 { flex: 1; min-width: 0; font-size: 21px; overflow-wrap: anywhere; }
.geri-ok { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: none; border-radius: 10px; background: none; color: var(--accent); padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.geri-ok svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.geri-ok:active { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.geri-ok:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }

/* Ana sayfa */
.ana-stack { gap: 18px; }
.ana-ust { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ana-logo { width: 44px; height: 44px; display: block; }
.ana-ust-yazi { display: flex; flex-direction: column; min-width: 0; }
.ana-ust h1 { font-size: 23px; line-height: 1.15; }
.ana-tarih { font-size: 14px; color: var(--muted); }
#ana-selam { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }   /* uzun adlar en çok iki satır */
.ana-giris { align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.ara-kutu { position: relative; }
.ara-kutu input { font: inherit; font-size: 16px; width: 100%; min-height: 50px; padding: 10px 14px 10px 46px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ara-kutu input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.ara-simge { position: absolute; left: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.ara-sonuc { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: -8px; }
.ara-satir { display: flex; flex-direction: column; gap: 1px; padding: 10px 14px; min-height: 44px; color: var(--ink); text-decoration: none; }
.ara-satir + .ara-satir { border-top: 1px solid var(--line); }
.ara-satir:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.ara-tur { font-size: 12.5px; color: var(--muted); }
.ara-ad { font-weight: 600; overflow-wrap: anywhere; }
.ara-yok { padding: 12px 14px; }

.ana-bolum { gap: 10px; }
.ana-bolum h2 { font-size: 19px; }
.bolum-bas { align-items: center; }
.bolum-link { text-decoration: none; color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; padding: 0 2px; }
.devam-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.devam-kart { display: block; position: relative; padding: 12px 12px 12px 14px; min-height: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.devam-kart:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.devam-ik { position: absolute; right: 12px; top: 12px; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.devam-yazi { display: flex; flex-direction: column; min-width: 0; }
.devam-ust, .devam-alt { font-size: 13px; color: var(--muted); }
.devam-ust { padding-right: 28px; }
.devam-ad { font-weight: 600; font-size: 16px; overflow-wrap: break-word; }
.favori-cipler { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
.favori-cipler::-webkit-scrollbar { display: none; }
.favori-cip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.favori-cip span:first-child { color: var(--accent); }
.favori-cip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Ana sayfa duyuru listesi (akis.js anaListeCiz) */
.ds-liste { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ds-satir { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; color: var(--ink); text-decoration: none; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.ds-satir + .ds-satir { border-top: 1px solid var(--line); }
.ds-satir:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.ds-gorsel.a-gorsel-kucuk { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 10px; border: none; }
.ds-gorsel.yok { display: block; }
.ds-etkinlik { background: var(--tur-etkinlik-zemin); color: var(--tur-etkinlik-yazi); }
.ds-ilan { background: var(--tur-ilan-zemin); color: var(--tur-ilan-yazi); }
.ds-haber { background: var(--tur-haber-zemin); color: var(--tur-haber-yazi); }
.ds-yer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ds-yer svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.a-gorsel.yuklu .ds-yer { display: none; }
.ds-yazi { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.ds-ust { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tur-etiket, .yeni-rozet { font-size: 12px; font-weight: 600; line-height: 1; padding: 4px 8px; border-radius: 6px; }
.tur-etkinlik { background: var(--tur-etkinlik-zemin); color: var(--tur-etkinlik-yazi); }
.tur-ilan { background: var(--tur-ilan-zemin); color: var(--tur-ilan-yazi); }
.tur-haber { background: var(--tur-haber-zemin); color: var(--tur-haber-yazi); }
.yeni-rozet { background: var(--yeni-zemin); color: var(--yeni-yazi); border-radius: 999px; }
.ds-baslik { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ds-alt { font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }

/* Ders notları: gruplar ve satır listesi */
.not-gruplar { gap: 18px; }
.not-grup { gap: 8px; }
.not-grup-bas { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); }
.satir-liste { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.satir { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 600; -webkit-tap-highlight-color: transparent; }
.satir + .satir { border-top: 1px solid var(--line); }
.satir:active { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.satir:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.satir-ad { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.satir-ok { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.not-maddeler { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.not-maddeler li { overflow-wrap: anywhere; }
.yildiz { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: none; background: none; border-radius: 10px; color: var(--muted); cursor: pointer; padding: 0; }
.yildiz svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.yildiz[aria-pressed="true"] { color: var(--accent); }
.yildiz[aria-pressed="true"] svg { fill: currentColor; }
.yildiz:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }

/* Cihazlar: iki sütun; karşılaştırma kartı ve düzenlenen kart tam genişlik */
#p-isitme .board, #p-implant .board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.item.dev.genis, .item.dev.duzenleniyor { grid-column: 1 / -1; }
.item.dev { border-radius: 12px; }
.item.dev > :not(.dev-img):not(.dev-img-btn) { margin-left: 10px; margin-right: 10px; }
.item.dev h4 { font-size: 14.5px; line-height: 1.3; }
.item.dev.genis > :not(.dev-img):not(.dev-img-btn) { margin-left: 14px; margin-right: 14px; }
.item.dev.genis h4 { font-size: 17px; }
.rozetler { min-height: 24px; }
.vurgu { animation: vurgu 1.6s ease-out; }
@keyframes vurgu { 0%, 40% { box-shadow: 0 0 0 4px var(--vurgu); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .vurgu { animation: none; outline: 3px solid var(--accent); } }

/* Vaka formu: eşik tablosu */
.esik-blok { background: none; border: none; padding: 0; }
.esik-kaydir { overflow-x: auto; overscroll-behavior-x: contain; margin: 0 -16px; padding: 0 2px; scrollbar-width: thin; }
.esik-giris { border-collapse: separate; border-spacing: 0; margin: 0 auto; }
.esik-giris th { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; padding: 2px 0 4px; }
.esik-giris thead th { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; }
.esik-giris tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg); text-align: left; padding: 0 2px 0 4px; width: 44px; min-width: 44px; font-size: 13px; }
.esik-giris.sag tbody th { color: var(--right); }
.esik-giris.sol tbody th { color: var(--left); }
.esik-giris th.kose { position: sticky; left: 0; z-index: 1; background: var(--bg); text-align: left; padding-left: 6px; font-family: var(--font-body); }
.hucre { position: relative; padding: 1px 0; width: 44px; min-width: 44px; }
input.db.hucre-giris { width: 44px; min-width: 44px; height: 48px; padding: 0 2px; text-align: center; border-radius: 6px; background: var(--surface); font-size: 16px; }
.hucre.secili input.db.hucre-giris { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.hucre.m input.db.hucre-giris { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.hucre-isaret { position: absolute; right: 4px; bottom: 3px; font-size: 9.5px; font-weight: 700; line-height: 1; color: var(--accent); pointer-events: none; }
.hucre.nr .hucre-isaret { color: var(--danger); }
.hucre.m.nr .hucre-isaret { color: var(--ink); }
.esik-araclar { display: flex; flex-direction: column; gap: 8px; }
.esik-dugmeler { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.esik-dugmeler .btn { padding: 8px 4px; }
button.btn.esik-tg[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.esik-mask { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px; align-items: center; }
.esik-mask label { font-size: 13px; color: var(--muted); }
.alan-uyari { padding-left: 0; }
.lejant-ac > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 6px; font-size: 14px; font-weight: 500; color: var(--accent); }
.lejant-ac > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 8px; }

/* Ders notları: yalnızca yöneticiye görünen panel (konu başlıkları, not ekleme) */
.yonetici-panel { display: none; }
.yonetici .yonetici-panel { display: block; }
.yonetici-panel h3 { margin-top: 4px; }
.grup-yonet { gap: 10px; }
.grup-satir { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: end; }
.grup-ekle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
@media (max-width: 380px) { .grup-satir { grid-template-columns: 1fr 1fr; } .grup-satir .fld { grid-column: 1 / -1; } }
.not-grup-sec { border-top: 1px solid var(--line); padding-top: 12px; }

/* Yer tutucu (örnek) yazılar: tarayıcının silik varsayılanı yerine ikincil yazı rengi (kontrast 4.5 üstü) */
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }

/* Bildirim: ekranın üstünde kısa süre görünen ileti (app.js OdyoUI.bildirim). Başarı yeşil, hata kırmızı; simge ve yazı birlikte. */
:root { --bildirim-tamam: #2FBF68; --bildirim-tamam-yazi: #052E16; --bildirim-hata: #B3261E; --bildirim-yazi: #FFFFFF; }   /* iki temada aynı: açık yeşil + koyu yazı (kontrast ~6,3), kırmızı + beyaz yazı (6 üstü) */
.bildirim { position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 60; width: max-content; max-width: min(520px, calc(100% - 24px)); transform: translate(-50%, -16px); opacity: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; color: var(--bildirim-yazi); font-size: 15px; font-weight: 600; line-height: 1.35; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); cursor: pointer; transition: opacity .2s ease, transform .2s ease; }
.bildirim.acik { opacity: 1; transform: translate(-50%, 0); }
.bildirim-tamam { background: var(--bildirim-tamam); color: var(--bildirim-tamam-yazi); }
.bildirim-tamam .bildirim-ik { background: rgba(5, 46, 22, .14); }
.bildirim-hata { background: var(--bildirim-hata); }
.bildirim-ik { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: 14px; font-weight: 700; }
.bildirim-yazi { min-width: 0; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .bildirim { transition: none; } }

/* ---------- Terimler sözlüğü (#sozluk, sozluk.js): öğrenme kartları ve liste ---------- */
#sozluk { --sz-tekrar: var(--right); --sz-biliyorum: var(--left); --sz-golge: rgba(0, 0, 0, .08); }
.sz-sayac { text-align: center; margin: 0; }
/* Kart destesi: üstteki kart çevrilir ve yana atılır; arkasında bir sonraki kart görünür */
.sz-yigin { position: relative; height: 290px; margin: 8px 4px 0; perspective: 1200px; }
.sz-kart { position: absolute; inset: 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; border-radius: 18px; outline: none; }
.sz-kart:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.sz-kart-alt { transform: translateY(10px) scale(.95); opacity: .6; pointer-events: none; cursor: default; }
.sz-kart-ic { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .45s ease; }
.sz-kart-ic.cevrik { transform: rotateY(180deg); }
.sz-yuz { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 6px 18px var(--sz-golge);
  backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: center; overflow: hidden; }
.sz-arka { transform: rotateY(180deg); justify-content: flex-start; overflow-y: auto; }
.sz-tr { margin: 0; font: 700 26px/1.2 var(--font-display); color: var(--ink); overflow-wrap: anywhere; }
.sz-en { margin: 0; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.sz-kisa { display: inline-block; font: 500 13px/1 var(--font-mono); color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 4px 8px; }
.sz-cevir-ipucu { position: absolute; bottom: 12px; left: 0; right: 0; font-size: 12px; color: var(--muted); }
.sz-aciklama { margin: auto 0; font-size: 16px; line-height: 1.55; color: var(--ink); text-align: left; white-space: pre-line; }
/* Kaydırırken çıkan damgalar (2026-11-21): sola atınca mavi X = BİLİYORUM, sağa atınca kırmızı yuvarlak = TEKRAR.
   Odyogramdaki sol (X, mavi) ve sağ (O, kırmızı) kulak sembolleri; renkler --left / --right. */
.sz-damga { position: absolute; top: 16px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font: 700 12px/1 var(--font-body); letter-spacing: .04em; opacity: 0; pointer-events: none; transition: opacity .1s; z-index: 3; transform: translateZ(2px); }
.sz-damga-ik { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; }
.sz-damga-sol { right: 16px; color: var(--sz-biliyorum); }
.sz-damga-sag { left: 16px; color: var(--sz-tekrar); }
.sz-ipucu { text-align: center; margin: 14px 0 0; }
.sz-dugmeler { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; margin-top: 8px; }
.sz-dugmeler .btn { min-height: 48px; padding: 10px 8px; }
.sz-btn-tekrar { color: var(--sz-tekrar) !important; border-color: var(--sz-tekrar) !important; }
.sz-btn-biliyorum { color: var(--sz-biliyorum) !important; border-color: var(--sz-biliyorum) !important; }
.sz-bitti { margin-top: 8px; }
.sz-bitti p { margin: 0 0 8px; }
/* Liste */
.sz-liste { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sz-harf { margin: 10px 0 0; font-size: 14px; color: var(--accent); }
.sz-oge { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.sz-oge.acik { border-color: var(--accent); }
.sz-oge > p, .sz-oge > .admin-bar { margin: 0 12px 10px; }
.sz-satir { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; width: 100%; min-height: 48px; padding: 10px 12px; text-align: left;
  font: inherit; color: var(--ink); background: none; border: 0; border-radius: 10px; cursor: pointer; }
.sz-satir:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.sz-satir-tr { font-weight: 700; font-size: 16px; }
.sz-satir-en { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.sz-satir-aciklama { font-size: 15px; line-height: 1.5; white-space: pre-line; }
@media (prefers-reduced-motion: reduce) { .sz-kart-ic { transition: none; } }
.sz-yigin[hidden], .sz-dugmeler[hidden], .sz-bitti[hidden], #sozluk .btn[hidden] { display: none; }

/* VOR yolağı (2026-11-26). Renk uyarılan kanalın tarafı (sağ kırmızı, sol mavi), kesik çizgi baskılayıcı yol, gri etkinliği azalan yol. */
.vor-yol { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.vor-yol.l { stroke: var(--left); } .vor-yol.r { stroke: var(--right); }
.vor-yol.inh { stroke-dasharray: 6 4; }
.vor-yol.azal { stroke: var(--muted); stroke-width: 1.3; stroke-dasharray: 2 4; opacity: .7; }
.vor-ok.l { fill: var(--left); } .vor-ok.r { fill: var(--right); } .vor-ok.g { fill: var(--muted); }
.vor-dur { stroke-width: 2.4; } .vor-dur.l { stroke: var(--left); } .vor-dur.r { stroke: var(--right); } .vor-dur.g { stroke: var(--muted); }
.vor-orta { stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 4 4; }
.vor-yan { font: 500 11px var(--font-body); fill: var(--muted); text-anchor: middle; }
.vor-cek { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.vor-kanal { fill: none; stroke-width: 8; } .vor-kanal.l { stroke: var(--left); } .vor-kanal.r { stroke: var(--right); }
.vor-dokun { fill: transparent; stroke: none; }
.vor-goz { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.vor-bebek { fill: var(--ink); transition: transform .4s ease; }
.vor-kas { stroke-width: 1.5; }
.vor-kas.kasil.l { fill: var(--left); stroke: var(--left); } .vor-kas.kasil.r { fill: var(--right); stroke: var(--right); }
.vor-kas.gevse { fill: var(--surface); stroke: var(--muted); stroke-dasharray: 3 2; }
.vor-basok { fill: none; stroke-width: 2.4; } .vor-basok.l { stroke: var(--left); } .vor-basok.r { stroke: var(--right); }
.vor-gozok { fill: none; stroke: var(--muted); stroke-width: 2; }
.vor-d.sel .vor-cek, .vor-d.sel .vor-goz { fill: var(--accent); stroke: var(--accent); }
.vor-d.sel .vor-kanal { stroke-width: 11; }
.vor-d.sel .vor-kas { stroke: var(--accent); stroke-width: 3; }
.vor-d:focus-visible .vor-cek, .vor-d:focus-visible .vor-goz { stroke: var(--accent); stroke-width: 3; }
.vor-durum { margin: 0; line-height: 1.5; }
.legend .ln.inh { border-top-style: dashed; }
.legend .ln.azal { border-top: 2px dotted var(--muted); }
.vor-tablo-kap { overflow-x: auto; }
.vor-tablo { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.4; }
.vor-tablo th, .vor-tablo td { text-align: left; vertical-align: top; padding: 6px 6px; border-bottom: 1px solid var(--line); }
.vor-tablo thead th { font-weight: 600; color: var(--muted); }
.vor-tablo tbody th { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .vor-bebek { transition: none; } }

/* ===== Yönetim paneli ve düzenleme modu (2026-12-01; app.js, yonetim.js) ===== */
:root {
  --yp-iyi: #1E7A45; --yp-iyi-zemin: #E3F4EA; --yp-uyari: #8A5300; --yp-uyari-zemin: #FFF1D6;
  --yp-kotu: #A4271E; --yp-kotu-zemin: #FCE6E3; --yp-bilgi-zemin: color-mix(in srgb, var(--accent) 12%, var(--surface));
  --yp-golge: rgba(8, 24, 32, .10); --duz-ortu: rgba(6, 16, 22, .48); --duz-golge: rgba(0, 0, 0, .28);
  --duz-cerceve: var(--accent); --duz-degisti: #B36A00;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --yp-iyi: #7FDBA2; --yp-iyi-zemin: #163625; --yp-uyari: #F6C46F; --yp-uyari-zemin: #3A2B0E;
    --yp-kotu: #F59C92; --yp-kotu-zemin: #47201C; --yp-golge: rgba(0, 0, 0, .35); --duz-ortu: rgba(0, 0, 0, .6); --duz-degisti: #F2B24C;
  }
}
:root[data-theme="dark"] {
  --yp-iyi: #7FDBA2; --yp-iyi-zemin: #163625; --yp-uyari: #F6C46F; --yp-uyari-zemin: #3A2B0E;
  --yp-kotu: #F59C92; --yp-kotu-zemin: #47201C; --yp-golge: rgba(0, 0, 0, .35); --duz-ortu: rgba(0, 0, 0, .6); --duz-degisti: #F2B24C;
}

/* Düzenleme modu: çerçeve outline ile çizilir (yer kaplamaz, sayfa kaymaz) */
.duzen-modu .k-duz { outline: 1.5px dashed var(--duz-cerceve); outline-offset: 2px; border-radius: 3px; cursor: pointer; }
.duzen-modu .k-duz:hover { background: color-mix(in srgb, var(--duz-cerceve) 10%, transparent); }
.duzen-modu .k-duz.k-degisti { outline-color: var(--duz-degisti); outline-style: solid; }
.duzen-modu body { padding-top: calc(64px + env(safe-area-inset-top, 0px)); }
.duz-serit { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 8px); left: 50%; transform: translateX(-50%); z-index: 50; width: min(540px, calc(100% - 16px));
  display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 14px; border-radius: 999px; background: var(--ink); color: var(--bg);
  box-shadow: 0 6px 18px var(--duz-golge); font-size: 13px; }
.duz-serit-yazi { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duz-serit a, .duz-serit button { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font: inherit; font-weight: 600; color: var(--bg); background: none; border: 1px solid color-mix(in srgb, var(--bg) 35%, transparent); text-decoration: none; cursor: pointer; }
.duz-serit .duz-serit-kapat { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.duz-serit a:focus-visible, .duz-serit button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 380px) { .duz-serit .duz-serit-bag { display: none; } }
.duz-bar { margin-top: 2px; }
.duz-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 10px; font: inherit; font-size: 13px; font-weight: 600; color: var(--duz-cerceve);
  background: color-mix(in srgb, var(--duz-cerceve) 8%, var(--surface)); border: 1.5px dashed var(--duz-cerceve); border-radius: 999px; cursor: pointer; position: relative; }
.duz-btn::after { content: ""; position: absolute; inset: -4px 0; }   /* dokunma alanı 44 px */
.duz-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.duz-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Düzenleme penceresi: telefonda alttan açılan sayfa, geniş ekranda ortada */
.duz-kilit body { overflow: hidden; }
.duz-ortu { position: fixed; inset: 0; z-index: 70; background: var(--duz-ortu); display: flex; align-items: flex-end; justify-content: center; animation: duzSol .15s ease; }
.duz-panel { width: min(560px, 100%); max-height: calc(100% - 24px - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); color: var(--ink);
  border-radius: 18px 18px 0 0; padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -8px 30px var(--duz-golge); animation: duzKay .2s ease; }
@media (min-width: 620px) { .duz-ortu { align-items: center; } .duz-panel { border-radius: 18px; max-height: 86vh; } }
.duz-ust { display: flex; align-items: center; gap: 8px; }
.duz-baslik { flex: 1; min-width: 0; font-size: 17px; overflow-wrap: anywhere; }
.duz-kapat svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.duz-bilgi { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.duz-bilgi code { font-family: var(--font-mono); font-size: 11.5px; overflow-wrap: anywhere; }
.duz-etiket { font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.duz-etiket.degisti { color: var(--duz-degisti); border-color: var(--duz-degisti); }
.duz-panel .editbox { border: none; padding: 0; background: none; }
.duz-panel .editbox textarea { min-height: 120px; }
.duz-varsayilan { margin: 2px 0 0; padding: 8px 10px; border-left: 3px solid var(--line); background: var(--bg); border-radius: 0 6px 6px 0; overflow-wrap: anywhere; white-space: pre-line; }
@keyframes duzSol { from { opacity: 0; } to { opacity: 1; } }
@keyframes duzKay { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .duz-ortu, .duz-panel { animation: none; } }

/* Ayarlar: panele giriş kartı */
.yp-giris-kart { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--accent); color: var(--ink); text-decoration: none; }
.yp-giris-kart svg { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.yp-giris-kart span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yp-giris-kart small { color: var(--muted); font-size: 12.5px; }
.yp-giris-kart:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Panel */
.yp-yetkisiz { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.yp-sekmeler { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 6px); z-index: 6; box-shadow: 0 2px 10px var(--yp-golge); }
.duzen-modu .yp-sekmeler { top: calc(env(safe-area-inset-top, 0px) + 64px); }
.yp-sekmeler a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 4px 2px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 600; min-width: 0; }
.yp-sekmeler a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yp-sekmeler svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.yp-sekmeler a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.yp-sekmeler a:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.yp-rozet { position: absolute; top: 3px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: var(--surface); font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }
.yp-bolum { gap: 12px; }
.yp-kart { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; gap: 10px; min-width: 0; }
.yp-kart h4 { margin: 6px 0 0; font-size: 14px; font-weight: 600; }
.yp-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.yp-uyari { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--yp-uyari-zemin); color: var(--yp-uyari); border: 1px solid color-mix(in srgb, var(--yp-uyari) 40%, transparent); font-size: 13.5px; }
.yp-sayilar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yp-sayi { display: flex; flex-direction: column; gap: 1px; padding: 12px 14px; min-height: 84px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; }
.yp-sayi b { font-family: var(--font-mono); font-size: 26px; font-weight: 500; line-height: 1.1; color: var(--accent); }
.yp-sayi span { font-weight: 600; font-size: 14px; }
.yp-sayi small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.yp-sayi.yp-dikkat { border-color: var(--yp-kotu); background: var(--yp-kotu-zemin); }
.yp-sayi.yp-dikkat b { color: var(--yp-kotu); }
.yp-sayi:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.yp-durum { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; font-size: 14px; }
.yp-mini { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; min-height: 44px; border-radius: 10px; background: var(--bg); color: var(--ink); text-decoration: none; min-width: 0; }
.yp-mini span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yp-mini small { font-size: 12px; color: var(--muted); }
.yp-mini:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.yp-et { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.yp-et-iyi { background: var(--yp-iyi-zemin); color: var(--yp-iyi); border-color: transparent; }
.yp-et-uyari { background: var(--yp-uyari-zemin); color: var(--yp-uyari); border-color: transparent; }
.yp-et-kotu { background: var(--yp-kotu-zemin); color: var(--yp-kotu); border-color: transparent; }
.yp-et-bilgi { background: var(--yp-bilgi-zemin); color: var(--accent); border-color: transparent; }
.yp-etler { display: flex; flex-wrap: wrap; gap: 6px; }
.yp-arac { display: flex; gap: 8px; }
.yp-ara, .yp-sira { font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; min-width: 0; }
.yp-ara { flex: 1; }
.yp-sira { flex: none; max-width: 44%; }
.yp-ara:focus-visible, .yp-sira:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.yp-cipler { display: flex; flex-wrap: wrap; gap: 6px; }
.yp-cip { font: inherit; font-size: 13px; font-weight: 600; min-height: 40px; padding: 0 12px; border-radius: 999px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); cursor: pointer; position: relative; }
.yp-cip::after { content: ""; position: absolute; inset: -2px 0; }
.yp-cip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.yp-cip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.yp-adet { margin: -4px 0 0; }
.yp-uye { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.yp-uye.askida { border-color: var(--yp-kotu); }
.yp-uye-bas { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 6px 0; font: inherit; color: var(--ink); background: none; border: none; text-align: left; cursor: pointer; }
.yp-uye-bas:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
.yp-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; background: var(--yp-bilgi-zemin); color: var(--accent); }
.yp-avatar.kotu { background: var(--yp-kotu-zemin); color: var(--yp-kotu); }
.yp-uye-ad { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.yp-uye-ad b { overflow-wrap: anywhere; }
.yp-eposta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; user-select: text; }
.yp-ok { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: 0 6px 4px; transition: transform .15s ease; }
.yp-uye-bas[aria-expanded="true"] .yp-ok { transform: rotate(-135deg); margin-bottom: -4px; }
.yp-bilgi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.yp-bilgi span { display: flex; flex-direction: column; min-width: 0; padding: 6px 8px; border-radius: 8px; background: var(--bg); }
.yp-bilgi small { font-size: 11px; color: var(--muted); }
.yp-bilgi b { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .yp-bilgi { grid-template-columns: 1fr 1fr; } }
.yp-uye-ic { gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.yp-uye-ic h4 { margin: 0; font-size: 13.5px; }
.yp-ask-not { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--yp-kotu-zemin); color: var(--yp-kotu); font-size: 13px; }
button.btn.yp-tehlike { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 55%, var(--line)); }
.yp-daha { align-self: center; }
.yp-sikayet { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.yp-sikayet small { color: var(--muted); font-size: 12.5px; }
.yp-ozet { margin: 0; font-size: 14px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yp-nedenler { margin: 0; padding-left: 18px; font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.yp-nedenler li { overflow-wrap: anywhere; }
.yp-kart textarea, .yp-kart input[type="text"], .yp-satir input { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-height: 44px; width: 100%; min-width: 0; }
.yp-kart textarea { font-family: var(--font-mono); font-size: 14px; resize: vertical; }
.yp-kart textarea:focus-visible, .yp-kart input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.yp-satir { display: grid; grid-template-columns: 1fr 88px auto; gap: 8px; align-items: center; }
.yp-satir label { font-size: 14px; }
.yp-deneme-sonuc { margin: 2px 0 0; font-weight: 600; }
.yp-deneme-sonuc.kotu { color: var(--yp-kotu); }
.yp-deneme-sonuc.iyi { color: var(--yp-iyi); }
.yp-kurallar { margin: 0; padding-left: 18px; font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.yp-anahtar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-size: 15px; font-weight: 500; cursor: pointer; }
.yp-anahtar input { order: 2; appearance: none; -webkit-appearance: none; flex: none; width: 50px; height: 30px; margin: 0; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .15s ease; }
.yp-anahtar input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px var(--yp-golge); transition: transform .15s ease; }
.yp-anahtar input:checked { background: var(--accent); }
.yp-anahtar input:checked::after { transform: translateX(20px); }
.yp-anahtar input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.yp-anahtar-kucuk { font-size: 14px; }
.yp-baglantilar { display: flex; flex-wrap: wrap; gap: 8px; }
.yp-baglantilar a.btn { align-self: auto; }
.yp-grup { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.yp-grup > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 8px 14px; cursor: pointer; font-weight: 600; list-style: none; }
.yp-grup > summary::-webkit-details-marker { display: none; }
.yp-grup > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-left: 4px; }
.yp-grup[open] > summary::after { transform: rotate(-135deg); }
.yp-grup > summary small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.yp-grup > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 12px; }
.yp-grup[open] { padding-bottom: 6px; }
.yp-metin { display: flex; flex-direction: column; gap: 4px; width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: none; border: none; border-top: 1px solid var(--line); text-align: left; cursor: pointer; }
.yp-bolum > .yp-metin { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.yp-metin:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.yp-metin:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.yp-metin-yazi { font-size: 14px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yp-metin-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.yp-metin-alt small, .yp-metin-grup { color: var(--muted); font-size: 12px; }
.fr-panel-bag { text-decoration: none; color: var(--yp-kotu); font-weight: 600; }
.fr-rozet.fr-alan { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }   /* çalışma alanı rozeti (2026-12-01) */
.yp-meslek-sec { max-width: none; width: 100%; }

/* Yönetim paneli → Mesajlar (tanıtım sayfasının geri bildirim formu, 2026-12-03) */
.yp-islemler { display: flex; flex-wrap: wrap; gap: 8px; }
.yp-islemler a.btn { align-self: auto; }
.yp-gb-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.yp-gb-ust small { margin-left: auto; }
.yp-gb-metin { white-space: pre-line; overflow-wrap: anywhere; }
.yp-gb-soluk { opacity: .72; }


/* =====================================================================
   Ana sayfa yeniden tasarım (2026-12-03): üst bölge, kartlar, Günün terimi, Mola (XOX), duyuru şeridi,
   hızlı işlemler paneli (OdyoBOT logosuna uzun basma). Renkler temadan türer (--kart3d, --accent, --bot).
   ===================================================================== */
:root {
  --hero-a: var(--kart3d); --hero-b: color-mix(in srgb, var(--kart3d) 72%, var(--bot)); --hero-yazi: #FFFFFF;
  --hero-soluk: rgba(255, 255, 255, .78); --hero-dugme: rgba(255, 255, 255, .13); --hero-cizgi: rgba(255, 255, 255, .22); --hero-desen: rgba(255, 255, 255, .5);
  --kart-golge: 0 1px 2px rgba(14, 34, 48, .05), 0 8px 24px -10px rgba(14, 34, 48, .14);
  --ara-golge: 0 10px 28px -12px rgba(14, 34, 48, .35);
  --hp-perde: rgba(6, 16, 22, .45); --hp-golge: 0 -10px 40px rgba(6, 16, 22, .22);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --hero-b: color-mix(in srgb, var(--kart3d) 80%, var(--bot)); --hero-desen: rgba(255, 255, 255, .35); --kart-golge: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -10px rgba(0, 0, 0, .5); --ara-golge: 0 10px 28px -12px rgba(0, 0, 0, .7); --hp-perde: rgba(0, 0, 0, .6); --hp-golge: 0 -10px 40px rgba(0, 0, 0, .5); }
}
:root[data-theme="dark"] { --hero-b: color-mix(in srgb, var(--kart3d) 80%, var(--bot)); --hero-desen: rgba(255, 255, 255, .35); --kart-golge: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -10px rgba(0, 0, 0, .5); --ara-golge: 0 10px 28px -12px rgba(0, 0, 0, .7); --hp-perde: rgba(0, 0, 0, .6); --hp-golge: 0 -10px 40px rgba(0, 0, 0, .5); }

.ana-stack { gap: 26px; }
.ana-bolum { gap: 12px; }
.ana-bolum h2, .ana-bolum .bolum-bas h2 { font-size: 20px; letter-spacing: -.01em; }

/* Üst bölge */
.ana-hero { position: relative; margin: -20px -16px 27px; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 0; color: var(--hero-yazi); border-radius: 0 0 30px 30px; isolation: isolate;
  background: radial-gradient(24rem 16rem at 105% -10%, color-mix(in srgb, var(--bot) 55%, transparent), transparent 70%), linear-gradient(160deg, var(--hero-a) 20%, var(--hero-b)); }
.ana-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--hero-desen); opacity: .22;
  -webkit-mask: var(--desen-izgara) 0 0 / 96px 96px, linear-gradient(180deg, #000, transparent 85%); -webkit-mask-composite: source-in;
  mask: var(--desen-izgara) 0 0 / 96px 96px, linear-gradient(180deg, #000, transparent 85%); mask-composite: intersect; }
.ana-hero .ana-ust { display: flex; align-items: center; gap: 8px; }
.ana-marka { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.ana-hero .ana-logo { width: 40px; height: 40px; }
.ana-hero .iconbtn { background: var(--hero-dugme); border-color: var(--hero-cizgi); color: var(--hero-yazi); border-radius: 14px; }
.ana-hero .zil-panel { color: var(--ink); }
.ana-karsila { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 2px 24px; }
.ana-hero .ana-tarih { font-size: 14px; color: var(--hero-soluk); }
.ana-hero h1 { font-size: 30px; line-height: 1.12; margin-top: 2px; letter-spacing: -.015em; }
.ana-alt-baslik { margin: 6px 0 0; font-size: 15.5px; color: var(--hero-soluk); }
.ana-hero .ana-giris { margin-top: 14px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--hero-yazi); color: var(--hero-a); font-size: 14px; }
.ana-hero .ara-kutu { margin-bottom: -27px; }
.ana-hero .ara-kutu input { min-height: 54px; border-radius: 16px; box-shadow: var(--ara-golge); padding-left: 48px; }
.ana-hero .ara-simge { left: 16px; }
.ana-hero + .ara-sonuc { margin-top: -14px; box-shadow: var(--kart-golge); }

/* Kaldığın yerden */
.devam-izgara { grid-template-columns: 1fr; gap: 10px; }
.devam-kart { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; box-shadow: var(--kart-golge); -webkit-tap-highlight-color: transparent; }
.devam-kart:active { transform: scale(.99); }
.devam-ik-kutu { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.devam-kart .devam-ik { position: static; width: 22px; height: 22px; }
.devam-kart .devam-yazi { flex: 1; }
.devam-kart .devam-ust { padding-right: 0; }
.devam-ok { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Duyuru kartları: yana kaydırılan şerit */
.dk-serit { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px;
  margin: -4px -16px -12px; padding: 4px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dk-serit::-webkit-scrollbar { display: none; }
.dk-serit.tek { grid-auto-columns: 100%; }
@media (min-width: 560px) { .dk-serit { grid-auto-columns: 46%; } }
.dk { scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--kart-golge); -webkit-tap-highlight-color: transparent; }
.dk:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.dk:active { transform: scale(.985); }
.dk-gorsel.a-gorsel { aspect-ratio: 16 / 9; border: none; border-radius: 0; }
.dk-gorsel.yok { display: block; }
.dk-serit.tek .dk-gorsel.a-gorsel { aspect-ratio: 2 / 1; }
.dk-gorsel .ds-yer svg { width: 40px; height: 40px; }
.dk-etkinlik { background: var(--tur-etkinlik-zemin); color: var(--tur-etkinlik-yazi); }
.dk-ilan { background: var(--tur-ilan-zemin); color: var(--tur-ilan-yazi); }
.dk-haber { background: var(--tur-haber-zemin); color: var(--tur-haber-yazi); }
.dk-etkinlik .a-afis-yer { color: var(--tur-etkinlik-yazi); }
.dk-cipler { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; gap: 6px; }
.dk-cipler .tur-etiket, .dk-cipler .yeni-rozet { padding: 6px 10px; border-radius: 999px; }
.dk-yazi { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; min-width: 0; }
.dk-baslik { font-weight: 600; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dk-alt { font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* Günün terimi */
.gt { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--kart-golge); }
.gt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--bot)); }
.gt-ust { display: flex; align-items: center; gap: 10px; }
.gt-rozet { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); }
.gt-rozet svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gt-etiket { flex: 1; min-width: 0; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.gt-git { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; }
.gt-govde { display: flex; flex-direction: column; gap: 4px; }
.gt-tr { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; letter-spacing: -.01em; }
.gt-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gt-en { font-size: 15px; color: var(--muted); font-style: italic; }
.gt-kis { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent); }
.gt-ac { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -6px 0 -6px -4px; padding: 0 4px; border: none; background: none; font: inherit; font-weight: 600; font-size: 14.5px; color: var(--accent); cursor: pointer; }
.gt-ac svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.gt-ac[aria-expanded="true"] svg { transform: rotate(180deg); }
.gt-ac:focus-visible, .gt-git:focus-visible, .gt-d:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gt-aciklama { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.gt-dugmeler { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gt-d { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.gt-d:active { transform: scale(.98); }
.gt-x { position: relative; width: 12px; height: 12px; }
.gt-x::before, .gt-x::after { content: ""; position: absolute; left: 5px; top: -1px; width: 2.4px; height: 14px; border-radius: 2px; background: var(--left); transform: rotate(45deg); }
.gt-x::after { transform: rotate(-45deg); }
.gt-o { width: 13px; height: 13px; border-radius: 50%; border: 2.4px solid var(--right); }
.gt-sonuc { margin: 0; font-size: 14.5px; font-weight: 500; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }

/* Mola: XOX kartı */
.mola { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--kart-golge); color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.mola:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.mola:active { transform: scale(.99); }
.mola-tahta { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; width: 64px; height: 64px; padding: 2px; border-radius: 12px; background: var(--line); overflow: hidden; }
.mola-tahta i { position: relative; background: var(--surface); }
.mola-tahta i:nth-child(1) { border-top-left-radius: 10px; } .mola-tahta i:nth-child(3) { border-top-right-radius: 10px; }
.mola-tahta i:nth-child(7) { border-bottom-left-radius: 10px; } .mola-tahta i:nth-child(9) { border-bottom-right-radius: 10px; }
.mola-tahta .mx::before, .mola-tahta .mx::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2.2px; height: 12px; margin: -6px 0 0 -1.1px; border-radius: 2px; background: var(--left); transform: rotate(45deg); }
.mola-tahta .mx::after { transform: rotate(-45deg); }
.mola-tahta .mo::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; border: 2.2px solid var(--right); box-sizing: border-box; }
.mola-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mola-ust { font-size: 13px; font-weight: 600; color: var(--accent); }
.mola-yazi b { font-size: 17px; }
.mola-yazi small { font-size: 13.5px; color: var(--muted); }
.mola-ok { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Hızlı işlemler paneli (OdyoBOT logosuna uzun basma) */
nav.tabs a.bot { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
nav.tabs a.bot img { -webkit-user-drag: none; pointer-events: none; }
.hp-perde { position: fixed; inset: 0; z-index: 60; background: var(--hp-perde); opacity: 0; transition: opacity .2s ease; }
.hp-perde.acik { opacity: 1; }
.hp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: var(--hp-golge);
  transform: translateY(105%); transition: transform .22s ease; }
.hp.acik { transform: none; }
.hp::before { content: ""; align-self: center; width: 40px; height: 4px; border-radius: 99px; background: var(--line); margin-bottom: 4px; }
.hp-bas { display: flex; align-items: center; justify-content: space-between; }
.hp-bas h2 { font-size: 18px; }
.hp-kapat { width: 44px; height: 44px; margin-right: -8px; display: inline-grid; place-items: center; border: none; background: none; color: var(--muted); border-radius: 12px; cursor: pointer; }
.hp-kapat svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hp-is { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; font: inherit; text-align: left; cursor: pointer; }
.hp-is:focus-visible, .hp-kapat:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp-is:active { transform: scale(.99); }
.hp-ik { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); }
.hp-ik svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hp-ik img { width: 30px; height: 30px; }
.hp-yazi { display: flex; flex-direction: column; min-width: 0; }
.hp-yazi b { font-size: 16px; }
.hp-yazi small { font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.hp-ana { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hp-ana .hp-ik { background: color-mix(in srgb, var(--accent-ink) 16%, transparent); color: var(--accent-ink); }
.hp-ana small { color: var(--accent-ink); opacity: .85; }
@media (prefers-reduced-motion: reduce) { .hp, .hp-perde { transition: none; } }
.hp-ipucu { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 41; transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
  padding: 9px 14px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; white-space: nowrap; transition: opacity .25s ease, transform .25s ease; }
.hp-ipucu::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: none; border-top-color: var(--ink); }
.hp-ipucu.acik { opacity: 1; transform: translate(-50%, 0); }
@keyframes hp-nefes { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
nav.tabs a.bot.nefes .bot-logo { animation: hp-nefes 1.4s ease-in-out 3; }
@media (prefers-reduced-motion: reduce) { nav.tabs a.bot.nefes .bot-logo { animation: none; } }

/* XOX sayfası (#xox, xox.js) */
.xox-zor { grid-template-columns: repeat(3, 1fr); }
.xox-mod { grid-template-columns: 1fr 1fr; }
.xox-skor { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }
.xox-oyuncu { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); min-width: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.xox-oyuncu.sirada { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.xox-ber { background: none; border-color: transparent; justify-content: center; }
.xox-ad { font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; text-align: center; }
.xox-oyuncu b { font-family: var(--font-mono); font-size: 22px; line-height: 1.1; }
.xox-sem { position: relative; width: 18px; height: 18px; }
.xox-sem-x::before, .xox-sem-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 20px; margin: -10px 0 0 -1.5px; border-radius: 2px; background: var(--left); transform: rotate(45deg); }
.xox-sem-x::after { transform: rotate(-45deg); }
.xox-sem-o::before { content: ""; position: absolute; inset: 1px; border-radius: 50%; border: 3px solid var(--right); }
.xox-durum { margin: 0; text-align: center; font-weight: 600; font-size: 16px; min-height: 26px; }
.xox-durum.xox-k-x { color: var(--left); }
.xox-durum.xox-k-o { color: var(--right); }
.xox-tahta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; max-width: 340px; margin: 0 auto; padding: 6px; border-radius: 22px; background: var(--line); }
.xox-h { position: relative; aspect-ratio: 1; min-height: 44px; border: none; border-radius: 16px; background: var(--surface); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.xox-h:disabled { cursor: default; }
.xox-h:not(:disabled):active { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.xox-h:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.xox-h.xox-x::before, .xox-h.xox-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9%; height: 52%; margin: -26% 0 0 -4.5%; border-radius: 99px; background: var(--left); transform: rotate(45deg); animation: xox-gel .18s ease-out; }
.xox-h.xox-x::after { transform: rotate(-45deg); }
.xox-h.xox-o::before { content: ""; position: absolute; inset: 24%; border-radius: 50%; border: 9px solid var(--right); animation: xox-gel .18s ease-out; }
.xox-h.kazanan { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
@keyframes xox-gel { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: reduce) { .xox-h::before, .xox-h::after { animation: none !important; } }
.xox-alt { justify-content: center; gap: 8px; }

/* OdyoBOT maskeleme paneli (2026-12-04): özet tablosu, canlı grafik, seçilen frekansın açıklaması (odybot.js → mkPanel) */
.balon.bot.genis { max-width: 100%; align-self: stretch; }
.mk { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-ara { margin-top: 6px; }
.mk-tablo { display: grid; grid-template-columns: minmax(64px, auto) repeat(var(--mk-sutun), minmax(0, 1fr)); gap: 4px; align-items: center; }
.mk-hz { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-align: center; }
.mk-satir-ad { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.mk-satir-ad.sag { color: var(--right); } .mk-satir-ad.sol { color: var(--left); }
.mk-hucre { display: grid; place-items: center; min-height: 36px; padding: 0; border-radius: 9px; border: 1.5px solid transparent; font: inherit; font-family: var(--font-mono); font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.mk-hucre.bos { background: var(--bg); cursor: default; min-height: 36px; }
.mk-hucre.gerek { background: color-mix(in srgb, var(--mk-gerek) 20%, var(--surface)); color: var(--mk-gerek); }
.mk-hucre.yok { background: color-mix(in srgb, var(--mk-yok) 14%, var(--surface)); color: var(--mk-yok); }
.mk-hucre.belirsiz { background: var(--bg); color: var(--mk-belirsiz); }
.mk-hucre.secili { border-color: var(--ink); transform: scale(1.06); box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--ink) 40%, transparent); }
.mk-hucre:focus-visible, .mk-seg-d:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.mk-lejant { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.mk-lejant > span { display: inline-flex; align-items: center; gap: 6px; }
.mk-nokta { width: 11px; height: 11px; border-radius: 3px; }
.mk-nokta.gerek { background: var(--mk-gerek); } .mk-nokta.yok { background: var(--mk-yok); } .mk-nokta.belirsiz { background: var(--mk-belirsiz); }
.mk-segler { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-seg { display: inline-flex; padding: 3px; gap: 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.mk-seg-d { min-height: 44px; padding: 0 14px; border: none; border-radius: 999px; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.mk-seg-d[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.mk-seg-d.sag[aria-pressed="true"] { color: var(--right); } .mk-seg-d.sol[aria-pressed="true"] { color: var(--left); }
.mk-grafik { border-radius: 12px; background: var(--bg); padding: 6px 4px 2px; }
.mk-svg { display: block; width: 100%; height: auto; }
.mk-izgara { stroke: var(--line); stroke-width: 1; }
.mk-eksen { font-family: var(--font-mono); font-size: 10px; fill: var(--muted); }
.mk-sec-sutun { fill: color-mix(in srgb, var(--accent) 12%, transparent); transition: x .25s ease; }
.mk-bolge { fill: color-mix(in srgb, var(--mk-gerek) 16%, transparent); animation: mk-gir .5s ease both; }
.mk-sinir { fill: none; stroke: var(--mk-gerek); stroke-width: 2; stroke-dasharray: 6 4; animation: mk-gir .5s ease both; }
.mk-sinir-yazi { font-size: 11px; font-weight: 600; fill: var(--mk-gerek); }
.mk-cizgi { fill: none; stroke-width: 1.8; } .mk-cizgi.sag { stroke: var(--right); } .mk-cizgi.sol { stroke: var(--left); }
.mk-sembol { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; cursor: pointer; animation: mk-nokta .45s cubic-bezier(.3, 1.5, .6, 1) both; }
.mk-sembol.sag { stroke: var(--right); } .mk-sembol.sol { stroke: var(--left); }
.mk-sembol.sag circle:not(.mk-hale) { fill: var(--bg); }
.mk-sembol.soluk { opacity: .45; cursor: default; }
.mk-hale { fill: color-mix(in srgb, var(--mk-gerek) 22%, transparent); stroke: var(--mk-gerek); stroke-width: 1.5; }
.mk-sembol.secili .mk-hale { animation: mk-nabiz 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.mk-dokun { fill: transparent; stroke: none; }
.mk-abg { stroke-width: 6; stroke-linecap: round; animation: mk-gir .5s ease both; }
.mk-abg.gerek { stroke: color-mix(in srgb, var(--mk-gerek) 70%, transparent); } .mk-abg.yok { stroke: color-mix(in srgb, var(--mk-yok) 45%, transparent); } .mk-abg.belirsiz { stroke: var(--line); }
.mk-grafik-not { margin: 2px 8px 6px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.mk-ayrinti { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); animation: mk-gir .3s ease both; }
.mk-a-bas { display: flex; align-items: center; gap: 12px; }
.mk-a-bas > span:last-child { display: flex; flex-direction: column; gap: 1px; font-size: 13px; color: var(--muted); }
.mk-a-bas b { font-size: 15px; color: var(--ink); }
.mk-a-ik { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--font-mono); font-weight: 700; font-size: 18px; }
.mk-a-bas.gerek .mk-a-ik { background: var(--mk-gerek); color: var(--surface); }
.mk-a-bas.yok .mk-a-ik { background: color-mix(in srgb, var(--mk-yok) 18%, var(--surface)); color: var(--mk-yok); }
.mk-a-bas.belirsiz .mk-a-ik { background: var(--bg); color: var(--mk-belirsiz); }
.mk-a-bas.gerek > span:last-child > span { color: var(--mk-gerek); font-weight: 600; }
.mk-a-hesap { margin: 0; font-family: var(--font-mono); font-size: 13px; padding: 8px 10px; border-radius: 8px; background: var(--bg); overflow-wrap: anywhere; }
.mk-duzeyler { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-duzey { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--mk-gerek) 10%, var(--surface)); }
.mk-duzey span { font-size: 12.5px; color: var(--muted); }
.mk-duzey b { font-family: var(--font-mono); font-size: 24px; line-height: 1.15; }
.mk-duzey small { font-size: 12px; color: var(--muted); }
.mk-a-ek { margin: 0; font-size: 13.5px; }
@keyframes mk-gir { from { opacity: 0; } to { opacity: 1; } }
@keyframes mk-nokta { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes mk-nabiz { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .mk-bolge, .mk-sinir, .mk-sembol, .mk-abg, .mk-ayrinti, .mk-sembol.secili .mk-hale { animation: none; } .mk-hucre { transition: none; } }

/* Topluluk: forum görünümü (2026-12-04). Konu satırı: ad simgesi + kategori + başlık + özet + yazar; sağda cevap sayısı.
   Kategori renkleri (kulak renkleri kırmızı/mavi kullanılmaz): vaka turuncu, cihaz ana renk, ders yeşil, kariyer ikinci renk. */
.fr-k-vaka { --fr-kat: var(--akis-kaldi); } .fr-k-cihaz { --fr-kat: var(--accent); } .fr-k-ders { --fr-kat: var(--akis-gecti); } .fr-k-kariyer { --fr-kat: var(--bot); } .fr-k-diger { --fr-kat: var(--muted); }
.fr-liste, .fr-detay { gap: 14px; }
.fr-bas-kart { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--kart-golge); }
.fr-bas-kart::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--bot)); }
.fr-tanitim { margin: 0; font-size: 15px; line-height: 1.5; }
.fr-sayilar { display: flex; gap: 8px; flex-wrap: wrap; }
.fr-sayi { padding: 4px 12px; border-radius: 999px; font-size: 13.5px; color: var(--muted); background: var(--bg); }
.fr-sayi b { font-family: var(--font-mono); color: var(--ink); }
.fr-bas-kart .fr-yeni { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); text-decoration: none; font-weight: 600; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; }
.fr-yeni svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; transition: transform .25s ease; }
.fr-yeni:hover svg, .fr-yeni:focus-visible svg { transform: rotate(90deg); }
.fr-cipler { margin: 0 -16px; padding: 2px 16px 4px; }
.fr-cip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease, transform .15s ease; }
.fr-cip:active { transform: scale(.96); }
.fr-cip-nokta { width: 8px; height: 8px; border-radius: 50%; background: var(--fr-kat); }
.fr-cip[aria-pressed="true"] .fr-cip-nokta { background: currentColor; }
.fr-sira { display: flex; border-bottom: 1px solid var(--line); }
.fr-sira-d { position: relative; flex: 1; min-height: 44px; border: none; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.fr-sira-d::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); transform: scaleX(0); transition: transform .25s ease; }
.fr-sira-d[aria-selected="true"] { color: var(--ink); }
.fr-sira-d[aria-selected="true"]::after { transform: scaleX(1); }
.fr-sira-d:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.fr-konular { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; box-shadow: var(--kart-golge); }
.fr-konular > .fr-bos { margin: 0; padding: 20px 16px; text-align: center; }
.fr-konu { display: flex; align-items: flex-start; gap: 12px; padding: 14px; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background .15s ease; }
.fr-konu + .fr-konu { border-top: 1px solid var(--line); }
.fr-konu:active { background: var(--bg); }
.fr-konu:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.fr-konu-ic { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fr-konu-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fr-kat { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--fr-kat); background: color-mix(in srgb, var(--fr-kat) 13%, var(--surface)); }
.fr-kat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fr-bekliyor { font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 1px 8px; border-radius: 999px; border: 1px dashed var(--line); }
.fr-kart-baslik { font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.fr-ozet { font-size: 13.5px; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fr-konu-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.fr-konu-alt .fr-ad { font-weight: 600; color: var(--ink); }
.fr-cevap-kutu { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 40px; padding: 6px 4px; border-radius: 12px; color: var(--muted); background: var(--bg); }
.fr-cevap-kutu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.fr-cevap-kutu b { font-family: var(--font-mono); font-size: 13px; }
.fr-cevap-kutu.var { color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, var(--surface)); }
/* Ad simgesi (avatar): 6 renk, üye kimliğinden */
.fr-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; letter-spacing: .02em; color: var(--fr-av); background: color-mix(in srgb, var(--fr-av) 16%, var(--surface)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fr-av) 30%, transparent); }
.fr-av.buyuk { width: 46px; height: 46px; font-size: 16px; }
.fr-av0 { --fr-av: var(--accent); } .fr-av1 { --fr-av: var(--bot); } .fr-av2 { --fr-av: var(--akis-gecti); } .fr-av3 { --fr-av: var(--akis-kaldi); } .fr-av4 { --fr-av: color-mix(in srgb, var(--accent) 50%, var(--akis-gecti)); } .fr-av5 { --fr-av: var(--hf-bellek); }
/* İskelet (yüklenirken parıldayan satırlar) */
.fr-iskelet .fr-av { --fr-av: var(--line); box-shadow: none; }
.fr-iskelet-ic { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.fr-iskelet-ic i { height: 12px; border-radius: 6px; background: var(--line); }
.fr-iskelet-ic i:last-child { width: 60%; }
.fr-iskelet .fr-av, .fr-iskelet-ic i { animation: fr-parilti 1.3s ease-in-out infinite; }
/* Gönderi ayrıntısı */
.fr-gonderi { gap: 10px; padding: 16px; border-radius: 20px; box-shadow: var(--kart-golge); }
.fr-g-bas { display: flex; align-items: center; gap: 12px; }
.fr-g-bas .fr-yazar { flex: 1; min-width: 0; }
.fr-gonderi-baslik { font-family: var(--font-display); font-size: 21px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.fr-gonderi .fr-metin { font-size: 15.5px; line-height: 1.6; }
.fr-gonderi .fr-islem { padding-top: 6px; border-top: 1px solid var(--line); }
.fr-cevaplar-baslik { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 16px; }
.fr-cb-sayi { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; font-family: var(--font-mono); font-size: 14px; color: var(--accent-ink); background: var(--accent); }
.fr-akis { position: relative; display: flex; flex-direction: column; gap: 12px; }
.fr-akis::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; border-radius: 2px; background: var(--line); }
.fr-ilk-cevap { margin: 0; padding: 14px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; background: var(--surface); position: relative; }
.fr-cevap { position: relative; flex-direction: row; align-items: flex-start; gap: 10px; padding: 0; background: none; border: none; }
.fr-cevap .fr-av { position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--bg), inset 0 0 0 1.5px color-mix(in srgb, var(--fr-av) 30%, transparent); }
.fr-cevap-ic { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: var(--surface); border: 1px solid var(--line); }
.fr-op { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.fr-no { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.fr-yeni-cevap .fr-cevap-ic { animation: fr-vurgu 2.2s ease both; }
.fr-yazici { padding: 14px !important; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--kart-golge); }
.fr-yazici textarea { transition: min-height .2s ease; }
.fr-yazici textarea:focus { min-height: 120px; }
/* Animasyonlar */
.fr-gir { animation: fr-gir .42s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes fr-gir { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fr-parilti { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes fr-vurgu { 0% { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); border-color: var(--accent); } 100% { background: var(--surface); border-color: var(--line); } }
@media (prefers-reduced-motion: reduce) { .fr-gir, .fr-yeni-cevap .fr-cevap-ic, .fr-iskelet .fr-av, .fr-iskelet-ic i { animation: none; } .fr-sira-d::after, .fr-yeni svg, .fr-cip { transition: none; } }

/* OdyoBOT sayfası (2026-12-04 yeniden tasarım): kimlik şeridi, adım göstergesi, kayan balonlar, altta sabit seçenek paneli */
.bt-stack { gap: 14px; }
.bt-bas { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--kart-golge); }
.bt-av { position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), color-mix(in srgb, var(--bot) 18%, var(--surface))); }
.bt-av img { width: 44px; height: 44px; }
.bt-cevrim { position: absolute; right: -2px; bottom: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--akis-gecti); border: 3px solid var(--surface); }
.bt-cevrim::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--akis-gecti); animation: bt-nabiz 2.4s ease-out infinite; }
.bt-kim { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bt-kim h2 { font-size: 20px; letter-spacing: -.01em; }
.bt-kim small { font-size: 13px; color: var(--muted); }
.bt-adimlar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: none; }
.bt-adimlar li { position: relative; display: flex; align-items: center; gap: 7px; padding: 8px 8px 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bt-adimlar li::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px; background: var(--line); }
.bt-adimlar li::before { content: ""; position: absolute; left: 8px; bottom: 0; height: 3px; border-radius: 3px; width: 0; background: var(--accent); z-index: 1; transition: width .45s ease; }
.bt-adimlar li.simdi::before, .bt-adimlar li.tamam::before { width: calc(100% - 16px); }
.bt-adimlar li.simdi { color: var(--ink); }
.bt-adim-no { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-family: var(--font-mono); font-size: 12px; background: var(--bg); border: 1.5px solid var(--line); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.bt-adimlar li.simdi .bt-adim-no { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bt-adimlar li.tamam .bt-adim-no { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border-color: transparent; color: var(--accent); font-size: 0; }
.bt-adimlar li.tamam .bt-adim-no::after { content: "✓"; font-size: 12px; }
.bt-tanitim .lead { margin: 0; font-size: 14.5px; line-height: 1.55; }
/* Balonlar: bot solda (logo rengi kenar), kullanıcı sağda; yeni balon kayarak gelir */
#odybot .sohbet { gap: 12px; }
#odybot .balon { border-radius: 18px; box-shadow: var(--kart-golge); animation: bt-balon .32s cubic-bezier(.2, .8, .3, 1) both; }
#odybot .balon.bot { border-left: 1px solid var(--line); border-top-left-radius: 6px; position: relative; padding-left: 16px; }
#odybot .balon.bot::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(var(--accent), var(--bot)); }
#odybot .balon.ben { border-top-right-radius: 6px; animation-name: bt-balon-sag; }
/* Seçenekler: ekranın altında, alt çubuğun hemen üstünde sabit panel */
#odybot .b-secenek { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 6; margin: 4px -6px 0; padding: 10px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--ara-golge); max-height: 52vh; overflow-y: auto; animation: bt-panel .3s ease both; }
#odybot .b-secenek .btn { min-height: 46px; border-radius: 14px; }
.b-vaka-liste { display: flex; flex-direction: column; gap: 8px; }
#odybot .b-vaka { display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-align: left; border-radius: 14px; }
#odybot .b-vaka .vmini { flex: none; width: 74px; }
.b-vaka-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#odybot .b-vaka-ad { font-weight: 600; }
.b-vaka-tarih { font-size: 12.5px; color: var(--muted); }
.b-vaka-ozet { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#odybot .b-vaka[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
#odybot .b-vaka[aria-pressed="true"] .b-vaka-kutu { background: var(--accent); border-color: var(--accent); }
#odybot .b-vaka[aria-pressed="true"] .b-vaka-kutu::after { content: "✓"; display: block; color: var(--accent-ink); font-size: 13px; line-height: 16px; text-align: center; font-weight: 700; }
/* Görev kartları */
.b-secenek.kartli { gap: 10px; }
#odybot .b-gorev { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; border-radius: 16px; }
.b-gorev-ik { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.b-gorev-yazi { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b-gorev-yazi b { font-size: 15.5px; }
.b-gorev-yazi small { font-size: 12.5px; color: var(--muted); font-weight: 400; line-height: 1.35; }
@keyframes bt-balon { from { opacity: 0; transform: translate(-8px, 6px); } to { opacity: 1; transform: none; } }
@keyframes bt-balon-sag { from { opacity: 0; transform: translate(8px, 6px); } to { opacity: 1; transform: none; } }
@keyframes bt-panel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bt-nabiz { 0% { opacity: .7; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.8); } }
@media (prefers-reduced-motion: reduce) { #odybot .balon, #odybot .b-secenek, .bt-cevrim::after { animation: none; } .bt-adimlar li::before, .bt-adim-no { transition: none; } }

/* Reklamlar (2026-12-04, reklam.js). Alanlar yalnızca reklam yüklenince görünür; doldurulamayan alan gizlenir.
   Onay penceresi alt çubuğun üstünde; Kabul ve Ret eşit görünür (KVKK). */
.reklam-alan { display: flex; flex-direction: column; gap: 4px; min-height: 100px; padding: 8px; border-radius: 14px; border: 1px dashed var(--line); background: var(--surface); }
.reklam-alan[hidden] { display: none; }
.reklam-alan:has(ins[data-ad-status="unfilled"]) { display: none; }
.reklam-etiket { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.reklam-yalniz { display: none; }
html.reklam-var .reklam-yalniz { display: revert; }
html.reklam-var .reklam-yok { display: none; }
.cerez-onay { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--ara-golge); animation: bt-panel .3s ease both; }
.cerez-onay[hidden] { display: none; }
.cerez-onay p { margin: 0; font-size: 14px; line-height: 1.5; }
.cerez-onay .cerez-onay-bas { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.cerez-onay .linkbtn { align-self: flex-start; min-height: 44px; }
.cerez-onay-d { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cerez-onay-d .btn { min-height: 46px; border-radius: 14px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .cerez-onay { animation: none; } }
