@font-face{font-family:"Geist";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-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:"Geist";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Geist Mono";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-mono-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:"Geist Mono";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/geist-mono-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root {
  --bg: #0a0a0b;
  --surface: #101012;
  --surface-2: #16161a;
  --line: #222227;
  --line-strong: #32323a;
  --text: #ececee;
  --muted: #9b9ba4;
  --faint: #66666f;
  --accent: #c8f24b;
  --accent-ink: #0b0c06;
  --warn: #f2b84b;
  --danger: #f2634b;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --radius: 6px;
  --wrap: 1120px;
  --surface-3: #1c1c21;
  --accent-soft: rgba(200,242,75,.12);
  --info: #6cb6ff;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px;
  --r-sm: 6px;
  --r-md: 10px;
  --shadow-pop: 0 16px 40px rgba(0,0,0,.55);
  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 14px; --fs-base: 15px; --fs-lg: 18px; --fs-xl: 24px; --fs-2xl: 32px; --fs-3xl: 44px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
code, pre, .mono { font-family: var(--mono); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Üst çubuk */
.top { position: sticky; top: 0; z-index: 50; background: rgba(10,10,11,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 56px; }
.brand { display: flex; align-items: baseline; gap: 8px; font-weight: 600; letter-spacing: -.01em; font-size: 16px; }
.brand i { width: 8px; height: 8px; background: var(--accent); display: inline-block; transform: translateY(-1px); }
.brand small { font: 400 11px var(--mono); color: var(--faint); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; scrollbar-width: none; }
.nav .tag { margin-left: 6px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 600 10px/16px var(--mono); display: inline-block; vertical-align: 1px; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: var(--radius); color: var(--muted); font-size: 14px; white-space: nowrap; user-select: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover, .menu[open] > summary { color: var(--text); background: var(--surface-2); }
.menu > summary.on { color: var(--text); }
.menu-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 200px; padding: 6px; display: grid; gap: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.menu-pop.right { left: auto; right: 0; }
.menu-pop a { padding: 9px 10px; border-radius: var(--radius); color: var(--muted); font-size: 14px; white-space: nowrap; }
.menu-pop a:hover, .menu-pop a.on { color: var(--text); background: var(--surface-2); }
.menu-pop hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.menu-pop .tag { margin-left: 6px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 600 10px/16px var(--mono); display: inline-block; }
.acct > summary, .burger > summary { padding: 0; }
.acct > summary i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font: 600 13px var(--mono); font-style: normal; color: var(--text); text-transform: uppercase; }
.bal { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 4px 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 14px; }
.bal .num { color: var(--text); font-weight: 700; }
.bal b { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: calc(var(--radius) - 2px); background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.bal:hover { border-color: var(--muted); }
.bal.low { border-color: var(--warn); }
.bal.low .num { color: var(--warn); }
.burger { display: none; }
.burger > summary { width: 36px; height: 36px; justify-content: center; border: 1px solid var(--line-strong); }
.burger > summary i, .burger > summary i::before, .burger > summary i::after { content: ""; display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; }
.burger > summary i::before { position: absolute; top: -5px; }
.burger > summary i::after { position: absolute; top: 5px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 6px 10px; border-radius: var(--radius); color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.on { color: var(--text); }
.top-act { display: flex; align-items: center; gap: 8px; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 500 14px var(--sans); cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, color .12s; }
.btn:hover { background: var(--surface-2); border-color: #44444d; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.primary:hover { background: #d6fb62; border-color: #d6fb62; }
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); }
.btn.lg { height: 44px; padding: 0 20px; font-size: 15px; }

/* Duyuru şeridi (html.ts renderAnnouncementBanner çıktısı) */
.announce-bar { display: flex; gap: 8px; align-items: baseline; justify-content: center; padding: 8px 24px; font-size: 13px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.announce-bar .announce-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text); }
.announce-bar.warning .announce-label { color: var(--warn); }
.announce-bar.critical .announce-label { color: var(--danger); }

/* Ortak parçalar */
.eyebrow { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.status { display: inline-flex; align-items: center; gap: 8px; font: 400 12px var(--mono); color: var(--muted); }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.status.warn i { background: var(--warn); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-h { display: grid; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.section-h h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.025em; font-weight: 600; }
.section-h p { color: var(--muted); }

.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl.models { table-layout: fixed; min-width: 760px; }
.tbl.models td { vertical-align: middle; }
.guide { max-width: 820px; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; }
.module-card { display: grid; gap: 8px; padding: 20px; color: inherit; text-decoration: none; align-content: start; }
.module-card:hover { border-color: var(--line-strong); }
.module-card b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.module-card > span { color: var(--muted); font-size: 14px; line-height: 1.55; }
.module-card em { font-style: normal; color: var(--accent); font-size: 13px; margin-top: 6px; }
.module-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.module-ask { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 20px; margin-top: 32px; }
.module-ask div { display: grid; gap: 4px; max-width: 560px; }
.module-ask span { color: var(--muted); font-size: 14px; }
.plugin-hero { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding: 28px; margin-top: 24px; box-shadow: inset 2px 0 0 var(--accent); }
.plugin-cta { display: grid; gap: 10px; justify-items: start; }
.plugin-cta small { font: 400 12px var(--mono); color: var(--faint); }
.plugin-steps { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.plugin-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.plugin-steps .num { color: var(--accent); font-size: 15px; }
.plugin-steps b { font-weight: 600; }
.plugin-steps p { color: var(--muted); line-height: 1.6; margin-top: 4px; }
.guide-list a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.guide-short { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: var(--radius); background: var(--surface); color: var(--muted); line-height: 1.6; }
.guide-short b { color: var(--text); }
.faq { max-width: 820px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq p { color: var(--muted); line-height: 1.65; margin-top: 8px; }
.faq a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.guide h2 { margin: 32px 0 10px; }
.guide-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.8; }
.guide-list b { color: var(--text); font-weight: 500; }
.guide .codeblock { margin-top: 14px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 24px; }
.guide-card { display: grid; gap: 4px; padding: 18px; color: inherit; text-decoration: none; }
.guide-card:hover { border-color: var(--line-strong); }
.guide-card b { font-size: 17px; font-weight: 600; }
.guide-card small { font: 400 12px var(--mono); color: var(--faint); }
.guide-card span { color: var(--muted); font-size: 14px; margin-top: 6px; }
.note { margin: 12px 0 10px; padding: 12px 16px; border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: var(--radius); background: var(--surface); font-size: 14px; line-height: 1.5; color: var(--muted); }
.note.warn { border-left-color: var(--warn); }
.note-head { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.note-tag { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.note.warn .note-tag { color: var(--warn); }
.note b { color: var(--text); font-weight: 500; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tier { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.tier.on { border-color: var(--accent); }
.tier small { display: block; font-size: 12px; color: var(--faint); }
.tier .num { color: var(--text); font-size: 15px; white-space: nowrap; }
.tier:not(.on) .num { color: var(--muted); }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }
.tbl-scroll { overflow-x: auto; }

/* Ana sayfa */
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-note { font: 400 12px var(--mono); color: var(--faint); }

.ledger { margin-top: -8px; }
.ledger-foot { padding: 10px 16px 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.ledger-head { flex-wrap: wrap; gap: 4px 16px; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--faint); }
.ledger td { font-size: 13px; }

.tabs { display: grid; grid-template-columns: minmax(0, 1fr); }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tab-bar { display: flex; gap: 0; border-bottom: 1px solid var(--line); padding: 0 8px; }
.tab-bar label { padding: 12px 12px 11px; font: 400 13px var(--mono); color: var(--faint); cursor: pointer; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tab-bar label:hover { color: var(--text); }
.tab-pane { display: none; }
.tabs > input:nth-of-type(1):checked ~ .tab-bar label:nth-of-type(1),
.tabs > input:nth-of-type(2):checked ~ .tab-bar label:nth-of-type(2),
.tabs > input:nth-of-type(3):checked ~ .tab-bar label:nth-of-type(3) { color: var(--text); border-bottom-color: var(--accent); }
.tabs > input:nth-of-type(1):checked ~ .tab-pane:nth-of-type(2),
.tabs > input:nth-of-type(2):checked ~ .tab-pane:nth-of-type(3),
.tabs > input:nth-of-type(3):checked ~ .tab-pane:nth-of-type(4) { display: block; }
.tabs > input:focus-visible ~ .tab-bar { outline: 2px solid var(--accent); outline-offset: -2px; }
pre.code { margin: 0; padding: 20px; overflow-x: auto; font-size: 13px; line-height: 1.75; color: #cfcfd6; }
pre.code .c { color: var(--faint); }
pre.code .k { color: var(--accent); }
pre.code .s { color: #e8c98a; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }

.topup { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.topup > div { padding: 28px; display: grid; gap: 14px; align-content: start; }
.topup-trial { border-right: 1px solid var(--line); box-shadow: inset 2px 0 0 var(--accent); }
.topup-trial b { font-size: 44px; line-height: 1; letter-spacing: -.04em; font-weight: 500; color: var(--accent); }
.topup-trial p, .calc-note { color: var(--muted); font-size: 14px; }
.topup-trial .btn { justify-self: start; }
.calc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.calc-input { display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font: 500 22px var(--mono); }
.calc-input:focus-within { border-color: var(--accent); }
.calc-input span { color: var(--faint); }
.calc-input input { width: 5ch; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; -moz-appearance: textfield; }
.calc-input input::-webkit-outer-spin-button, .calc-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-model { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); }
.calc-model:focus-within { border-color: var(--accent); }
.calc-model span { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.calc-model select { border: 0; outline: 0; background: var(--bg); color: var(--text); font: 400 14px var(--mono); cursor: pointer; max-width: 22ch; }
.calc-chips { display: flex; gap: 6px; }
.calc-chips button { height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--muted); font: 400 13px var(--mono); cursor: pointer; }
.calc-chips button:hover { color: var(--text); border-color: var(--line-strong); }
.calc-chips button.on { color: var(--accent); border-color: var(--accent); }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-out > div { padding: 16px 16px 16px 0; }
.calc-out > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.calc-out dt { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.calc-out dd { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.examples > div { padding: 20px; border-right: 1px solid var(--line); background: var(--surface); display: grid; gap: 6px; align-content: start; }
.examples > div:last-child { border-right: 0; }
.examples b { font: 500 22px var(--mono); letter-spacing: -.02em; }
.examples span { color: var(--muted); font-size: 13px; }
.examples small { color: var(--faint); font: 400 11px var(--mono); }
.stack { display: grid; gap: 24px; }
table.stack { display: table; gap: 0; }

/* Panel sayfaları */
.cost { color: var(--accent); }
.dim { color: var(--faint); }
.accent { color: var(--accent); }
.page { padding-top: 40px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }
.page-h { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: end; margin-bottom: 4px; }
.page-h h1 { font-size: 28px; letter-spacing: -.03em; font-weight: 600; line-height: 1.15; }
.page-h p { color: var(--muted); font-size: 14px; }
.page h2 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin-top: 16px; display: flex; gap: 10px; align-items: baseline; }
.page h2 small, .page h2 .more { font: 400 12px var(--mono); color: var(--faint); }
.page h2 .more { margin-left: auto; }
.page h2 .more:hover, .foot-note a:hover, .msg a:hover, .kpi a:hover { color: var(--text); }
.page section { display: grid; gap: 20px; align-content: start; min-width: 0; }
.page section h2 { margin-top: 0; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.kpi { padding: 20px; display: grid; gap: 6px; border-right: 1px solid var(--line); margin-right: -1px; align-content: start; }
.kpi span { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.kpi b { font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.kpi.main b { color: var(--accent); }
.kpi a, .foot-note a, .msg a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.kv { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; min-width: 0; }
.kv > span { width: 84px; flex: none; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.kv code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy { flex: none; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--muted); font: 400 12px var(--mono); cursor: pointer; }
.copy:hover { color: var(--text); border-color: var(--line-strong); }
.chart { padding: 16px; }
.chart-bars { display: flex; align-items: flex-end; gap: 3px; height: 132px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; height: 100%; display: flex; align-items: flex-end; min-width: 0; }
.bar i { display: block; width: 100%; background: var(--accent); opacity: .85; border-radius: 1px 1px 0 0; }
.bar:hover i { opacity: 1; }
.chart-x { display: flex; justify-content: space-between; padding-top: 8px; font: 400 11px var(--mono); color: var(--faint); }
.msg { padding: 12px 16px; border: 1px solid var(--line-strong); border-left-width: 2px; border-radius: var(--radius); background: var(--surface); font-size: 14px; color: var(--muted); }
.msg strong { color: var(--text); font-weight: 600; }
.msg.ok { border-left-color: var(--accent); }
.msg.warn { border-left-color: var(--warn); }
.msg.err { border-left-color: var(--danger); }
.badge { display: inline-block; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 99px; font: 400 11px var(--mono); color: var(--muted); white-space: nowrap; }
.badge.ok { color: var(--accent); border-color: rgba(200,242,75,.35); }
.badge.warn { color: var(--warn); border-color: rgba(242,184,75,.35); }
.badge.app { color: #8fd3ff; border-color: rgba(143,211,255,.35); }
.badge.err { color: var(--danger); border-color: rgba(242,99,75,.35); }
.empty { padding: 32px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); font-size: 14px; text-align: center; }
.foot-note { color: var(--faint); font-size: 13px; }
.poll { display: grid; gap: 10px; padding: 18px 20px; margin-bottom: 20px; border-left: 2px solid var(--accent); }
.poll-head { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.poll p { color: var(--muted); font-size: 14px; }
.poll-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.poll-opt { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font-size: 14px; cursor: pointer; }
.poll-opt input { accent-color: var(--accent); }
.poll-opt:has(input:checked) { border-color: var(--accent); }
.poll input[type=text] { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--text); font: 400 14px var(--sans); }
.poll input[type=text]:focus { border-color: var(--accent); outline: 0; }
.poll .btn { justify-self: start; }
.thread { display: grid; gap: 12px; margin: 20px 0; }
.bubble { max-width: 78%; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; }
.bubble.mine { justify-self: end; border-color: var(--line-strong); background: var(--surface-2); }
.bubble small { display: block; margin-bottom: 4px; font: 400 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.bubble.staff small { color: var(--accent); }
.legal { max-width: 780px; }
.legal h2 { margin: 36px 0 10px; font-size: 18px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a, .consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal-links { margin-top: 40px; }
.auth-card .consent { margin-top: 12px; text-transform: none; letter-spacing: 0; font: 400 13px/1.5 var(--sans); color: var(--muted); }
.auth-card .consent input { width: 16px; height: 16px; padding: 0; flex: none; margin-top: 2px; }
.check.consent span { display: block; }
.check.consent { align-items: center; }
.was { display: block; font-size: 11px; line-height: 1.2; color: var(--faint); text-decoration: line-through; }
.corner-wrap { position: relative; }
.corner-tag { position: absolute; top: -11px; left: 16px; z-index: 2; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.field { display: grid; gap: 6px; flex: 1; min-width: 180px; }
.field > span { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
input:not([type=radio]):not([type=hidden]), select { font: inherit; }
.field input, .auth-card input { height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--text); width: 100%; }
.field input:focus, .auth-card input:focus, .mini:focus-within { border-color: var(--accent); outline: 0; }
.row-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; padding: 16px; }
.row-form .grow { flex: 1; min-width: 200px; }
.row-form .grow p { color: var(--muted); font-size: 13px; }
.inline { display: inline-flex; gap: 6px; align-items: center; }
.actions { white-space: nowrap; }
.actions .inline + .inline { margin-left: 6px; }
.mini { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font: 400 13px var(--mono); }
.mini span { color: var(--faint); }
.mini input { width: 9ch; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn.danger { color: var(--danger); }
.btn.danger:hover { border-color: var(--danger); }
.secret { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-color: var(--accent); }
.secret code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.pay-note { padding: 12px 16px 0; color: var(--muted); font-size: 13px; }
.topup-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 20px; }
.topup-form p { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.auth { max-width: 400px; margin: 0 auto; padding: 72px 24px 96px; display: grid; gap: 14px; }
.auth h1 { font-size: 28px; letter-spacing: -.03em; font-weight: 600; }
.auth-lead, .auth-alt, .auth-hint { color: var(--muted); font-size: 14px; }
.auth-alt a, .auth-lead a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.auth-card { padding: 20px; }
.auth-card form { display: grid; gap: 8px; }
.auth-card label { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
.auth-card .btn { margin-top: 12px; height: 42px; }
.auth-card .auth-code { font: 500 24px var(--mono); letter-spacing: .4em; text-align: center; height: 56px; }
.auth-hint { font-size: 12px; color: var(--faint); }
.auth-resend { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Doküman ve modeller */
.doc { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 96px; align-items: start; }
.toc { position: sticky; top: 80px; display: grid; gap: 2px; }
.toc a { padding: 6px 10px; border-left: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
.doc-body { display: grid; gap: 48px; min-width: 0; }
.doc-body section { display: grid; gap: 16px; scroll-margin-top: 80px; min-width: 0; }
.doc-body h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.doc-note { color: var(--muted); font-size: 14px; }
.doc-note a, .doc-list a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.doc-list { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--line); }
.doc-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.doc-list b { color: var(--text); font-weight: 600; }
.doc-pick { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13px; }
.doc-pick label { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.doc-pick select { height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--text); font: 400 14px var(--mono); }
.codeblock-h { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--faint); }
.jtabs { display: grid; gap: 12px; }
.jtabs .tab-bar { padding: 0; overflow-x: auto; scrollbar-width: none; }
.jtabs .tab-bar button { padding: 10px 12px; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; background: transparent; color: var(--faint); font: 400 13px var(--mono); cursor: pointer; white-space: nowrap; }
.jtabs .tab-bar button:hover { color: var(--text); }
.jtabs .tab-bar button.on { color: var(--text); border-bottom-color: var(--accent); }
.jtab { display: grid; gap: 12px; }
.jtab[hidden] { display: none; }
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dl a { padding: 16px; display: grid; gap: 4px; grid-template-columns: 1fr auto; align-items: center; }
.dl a:hover { border-color: var(--line-strong); }
.dl b { font-weight: 600; }
.dl span { grid-column: 1; color: var(--muted); font-size: 13px; }
.dl em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Yönetim paneli */
.page.wide { max-width: 1360px; }
.kpi small { color: var(--faint); font-size: 12px; }
.kpi b.warn { color: var(--warn); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.toolbar .field { max-width: 320px; }
.field.narrow { flex: 0 1 150px; min-width: 110px; }
.field select, .field textarea { height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--text); width: 100%; }
.tbl select { height: 30px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--text); font-size: 13px; }
.field small, .check small { color: var(--faint); font-size: 12px; line-height: 1.4; }
.btn.on { border-color: var(--accent); color: var(--accent); }
.btn[aria-disabled=true] { opacity: .35; pointer-events: none; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.pager .foot-note { margin-right: auto; }
.pop { position: relative; display: inline-block; }
.pop > summary { list-style: none; }
.pop > summary::-webkit-details-marker { display: none; }
.pop-body { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 260px; padding: 12px; display: grid; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-2); text-align: left; box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.pop-body .inline, .pop-body .inline .btn { display: flex; width: 100%; }
.pop-form { display: grid; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
a.kpi { color: inherit; text-decoration: none; }
a.kpi:hover { background: var(--surface-2); }
a.kpi.on { box-shadow: inset 0 -2px 0 var(--accent); }
.tbl th.sort a { color: inherit; text-decoration: none; }
.tbl th.sort.on a, .tbl th.sort a:hover { color: var(--text); }
.utbl th, .utbl td { padding-left: 12px; padding-right: 12px; }
.utbl td { white-space: nowrap; vertical-align: middle; }
.utbl td:first-child { white-space: normal; min-width: 220px; }
.utbl .ulink { white-space: nowrap; }
.utbl .ip { display: inline-block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.ulink { color: var(--text); text-decoration: none; }
.ulink:hover { color: var(--accent); }
.user-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 20px; padding: 16px; align-items: start; }
.user-actions .pop-form { border: 0; padding: 0; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; padding: 20px; align-items: start; }
.grid-form .span { grid-column: 1 / -1; }
.grid-form h2 { margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.check span { display: grid; gap: 2px; }
.check b { font-weight: 500; }
.checks { display: grid; gap: 14px; }
.settings { display: grid; gap: 20px; min-width: 0; }
.settings-layout { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 40px; align-items: start; }
.sect-h { display: grid; gap: 4px; }
.sect-h.pad { padding: 20px 20px 12px; }
.sect-h h2 { margin: 0; font-size: 16px; }
.sect-h p { color: var(--muted); font-size: 13px; }
.preview { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.preview .eyebrow { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.preview .kv:last-child { border-bottom: 0; }
.preview .msg { margin: 12px; }
.savebar { position: sticky; bottom: 12px; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(22,22,26,.96); backdrop-filter: blur(8px); font-size: 13px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.row-form.nopad { padding: 0; }
.acc { display: block; }
.acc + .acc { margin-top: -12px; }
.acc > summary { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 12px 16px; cursor: pointer; list-style: none; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::before { content: "+"; width: 14px; font: 400 14px var(--mono); color: var(--faint); }
.acc[open] > summary::before { content: "−"; }
.acc[open] > summary { border-bottom: 1px solid var(--line); }
.acc > summary:hover { background: var(--surface-2); }
.acc-name { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; flex: 1; min-width: 0; }
.acc-name b { font-weight: 600; }
.acc-name code { color: var(--muted); font-size: 13px; }
.acc-meta { color: var(--muted); font-size: 13px; }
.acc-actions { display: flex; gap: 6px; padding: 0 16px 16px; }

.closing { padding: 96px 0; border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(28px, 4.6vw, 48px); letter-spacing: -.035em; line-height: 1.05; font-weight: 600; max-width: 18ch; margin-bottom: 24px; }

.foot { border-top: 1px solid var(--line); padding: 56px 0 0; color: var(--muted); font-size: var(--fs-sm); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--s8); }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h3 { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.foot-col p { line-height: 1.65; }
.foot-col a { color: var(--muted); width: fit-content; }
.foot-col a:hover { color: var(--text); }
.foot-col .badge { width: fit-content; }
.foot-col .brand { margin-bottom: 4px; }
.foot-bottom { margin-top: 48px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--faint); font-size: var(--fs-xs); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-col.brand-col { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .top:not(.admin) .nav, .top-act .acct, .top-act .ghost { display: none; }
  .top:not(.admin) .top-act { margin-left: auto; }
  .burger { display: block; }
  .top-in { gap: 10px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cols { grid-template-columns: 1fr; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .settings-layout { grid-template-columns: 1fr; gap: 16px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .toc a { border-left: 0; padding: 4px 0; }
  .dl { grid-template-columns: 1fr; }
  .topup { grid-template-columns: 1fr; }
  .topup-trial { border-right: 0; border-bottom: 1px solid var(--line); }
  .calc-out dd { font-size: 17px; }
  .examples { grid-template-columns: 1fr; }
  .examples > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .examples > div:last-child { border-bottom: 0; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-in { gap: 12px; }
  .top .brand small, .top-act .ghost { display: none; }
  .btn { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Tasarım sistemi v2 (ui-kit.ts) */
.ico { flex: none; display: inline-block; vertical-align: -3px; }
.page-act { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.card { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); min-width: 0; }
.card-h { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; align-items: center; padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); }
.card-h h2 { margin: 0; font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; }
.card-h p { color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
.card-b { padding: var(--s5); display: grid; gap: var(--s4); min-width: 0; }
.card.flush .card-b { padding: 0; }
.page section.card:not(.grid-form) { gap: 0; }
.badge.danger { color: var(--danger); border-color: rgba(242,99,75,.35); }
.badge.info { color: var(--info); border-color: rgba(108,182,255,.35); }
.badge.muted { color: var(--muted); }
.badge.ok { background: var(--accent-soft); }
.msg.info { border-left-color: var(--info); }
.msg.danger { border-left-color: var(--danger); }
.empty b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.empty p { margin-bottom: var(--s3); }
@media (max-width: 640px) {
  .tbl.stack thead { display: none; }
  .tbl.stack, .tbl.stack tbody, .tbl.stack tr, .tbl.stack td { display: block; width: 100%; }
  .tbl.stack tr { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
  .tbl.stack td { display: flex; justify-content: space-between; gap: var(--s3); padding: 4px 0; border: 0; text-align: right; }
  .tbl.stack td { flex-wrap: wrap; overflow-wrap: anywhere; }
  .tbl.stack td > * { min-width: 0; overflow-wrap: anywhere; }
  .tbl.stack td .inline { flex-wrap: wrap; justify-content: flex-end; }
  .tbl.stack td::before { content: attr(data-label); font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-align: left; }
}
/* Panel iskeleti (appShell) */
body.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.nav-t { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; clip-path: inset(50%); }
.nav-t:focus-visible ~ .app-main .nav-btn { outline: 2px solid var(--accent); outline-offset: 2px; }
.side { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: var(--s4); padding: var(--s4) var(--s3); border-right: 1px solid var(--line); background: #0c0c0e; overflow-y: auto; }
.side .brand { padding: 0 var(--s2); }
.side-nav { display: grid; gap: var(--s4); flex: 1; align-content: start; }
.side-g { display: grid; gap: 2px; }
.side-gt { padding: 0 var(--s2) var(--s1); font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.side-a { display: flex; align-items: center; gap: 10px; padding: 8px var(--s2); border-radius: var(--r-sm); color: var(--muted); font-size: var(--fs-md); border-left: 2px solid transparent; }
.side-a:hover { color: var(--text); background: var(--surface-2); }
.side-a.on { color: var(--text); background: var(--accent-soft); border-left-color: var(--accent); }
.side-a.on .ico { color: var(--accent); }
.side-a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-a em { font-style: normal; }
.side-a .tag { padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 600 10px/16px var(--mono); }
.side-a .count { min-width: 18px; padding: 0 5px; border-radius: 99px; background: var(--warn); color: #1a1203; font: 500 11px/18px var(--mono); text-align: center; }
.side-foot { display: grid; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); }
.side-foot .bal { justify-content: space-between; width: 100%; }
.acct.up > summary { gap: 10px; padding: 6px var(--s2); }
.acct-mail { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-sm); color: var(--muted); }
.acct.up .menu-pop { top: auto; bottom: calc(100% + 8px); left: 0; right: 0; min-width: 0; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; gap: var(--s3); height: 56px; padding: 0 var(--s6); }
.app-title { font-weight: 600; letter-spacing: -.01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-btn { display: none; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer; color: var(--text); }
.app-body { flex: 1; }
.app-body > .wrap { max-width: 1180px; margin: 0 auto; }
.app-body > .wrap.wide { max-width: 1360px; }
.side-scrim { display: none; }
.app-top .app-title { display: none; }
.app-top-brand { display: none; }
.app-body > .wrap.page { padding-top: var(--s8); padding-bottom: var(--s10); }
.side-foot .bal { height: auto; padding: 10px; background: var(--surface); }
.bal-t { display: grid; flex: 1; min-width: 0; text-align: left; }
.bal-t small { color: var(--faint); font-size: 11px; }
.side-foot .bal > .ico { flex: none; color: var(--muted); }
.side-foot .bal .num { font-size: 15px; }
.ft { border-top: 1px solid var(--line); padding: 56px 0 0; color: var(--muted); font-size: 13px; background: var(--surface); }
.ft-in { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft-brand p { margin-top: 12px; line-height: 1.65; max-width: 52ch; color: var(--muted); }
.ft-col { display: grid; gap: 10px; align-content: start; }
.ft-col h3 { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.ft-col a { color: var(--muted); width: fit-content; }
.ft-col a:hover { color: var(--text); }
.ft-bottom { max-width: 1180px; margin: 48px auto 0; padding: 20px 24px 32px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
@media (max-width: 640px) { .ft-bottom > span { flex-basis: 100%; } }
.top-act.push { margin-left: auto; }
@media (max-width: 900px) {
  body.app { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; z-index: 70; left: 0; top: 0; width: 264px; transform: translateX(-100%); visibility: hidden; transition: transform .18s ease, visibility .18s; box-shadow: var(--shadow-pop); }
  .nav-t:checked ~ .side { transform: none; visibility: visible; }
  .nav-t:checked ~ .side-scrim { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(0,0,0,.55); }
  .nav-btn { display: grid; }
  .app-top { padding: 0 var(--s4); }
  .app-top-brand { display: flex; }
  .app-body > .wrap.page { padding: var(--s6) var(--s4) var(--s8); }
  .ft-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .ft-in { grid-template-columns: 1fr; } }
/* Panel sayfaları v2 */
.app-body .page { gap: var(--s5); }
.page-h > div { min-width: 0; overflow-wrap: anywhere; }
.page .card-h h2 { margin: 0; display: block; font-size: var(--fs-base); }
.page .card-h .more { font: 400 12px var(--mono); color: var(--faint); }
.page .card-h .more:hover { color: var(--text); }
.card .empty { border: 0; border-radius: 0; }
.card .chart { padding: var(--s5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); align-items: start; }
.card .kv:last-child { border-bottom: 0; }
.card pre.code { border-top: 1px solid var(--line); }
.card-actions { display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s4) var(--s5); border-top: 1px solid var(--line); }
.secret { display: flex; align-items: center; gap: var(--s3); padding: var(--s4); border: 1px solid var(--accent); border-radius: var(--r-md); background: var(--surface); }
.linkbox { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.linkbox code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: var(--fs-md); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s4); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); color: var(--muted); line-height: 1.6; counter-increment: step; }
.steps li::before { content: counter(step); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 500 13px var(--mono); }
.steps b { color: var(--text); font-weight: 500; }
.info-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s4) var(--s6); margin: 0; }
.info-list dt { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.info-list dd { margin: 0; overflow-wrap: anywhere; }
.info-list a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: var(--fs-sm); }
.stack-form { display: grid; gap: var(--s3); }
.stack-form label:not(.check) { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.stack-form input[type=password], .stack-form input[type=text], .stack-form input[type=email], .stack-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: 400 14px/1.5 var(--sans); }
.stack-form input[type=password], .stack-form input[type=text], .stack-form input[type=email] { height: 40px; }
.stack-form textarea { min-height: 120px; resize: vertical; }
.stack-form :is(input, textarea):focus { border-color: var(--accent); outline: 0; }
.stack-form .btn { justify-self: start; }
.info-list + .stack-form { margin-top: var(--s6); padding-top: var(--s6); border-top: 1px solid var(--line); }
.thread-meta { display: flex; gap: var(--s2); align-items: center; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .wrap.page { padding-top: var(--s6); padding-bottom: var(--s12); } }
.card .topup-form { padding: 0; }
.pay-card .kv code { white-space: normal; overflow-wrap: anywhere; }
/* Anasayfa v2 (Forge tanıtım diliyle) */
.top:not(.app-top) .nav { justify-content: center; }
.section.no-line { border-top: 0; }
.section-h.tight { margin-bottom: 0; }
.lp-hero { position: relative; padding: 80px 0 56px; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 56px; background-position: 0 -1px; opacity: .6; mask-image: linear-gradient(#000 30%, transparent 92%); -webkit-mask-image: linear-gradient(#000 30%, transparent 92%); }
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.lp-hero-text { display: grid; gap: 22px; justify-items: start; }
.lp-hero .eyebrow { color: var(--accent); }
.lp-hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; }
.lp-hero h1 em { font-style: normal; color: var(--accent); }
.lp-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.lp-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.45); min-width: 0; }
.lp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-kpis > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); display: grid; gap: 4px; min-width: 0; }
.lp-kpis span { font: 400 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.lp-kpis b { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.lp-code { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); font-size: 12px; }
.lp-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lp-rows-h { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.lp-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); font-size: 13px; }
.lp-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.lp-what { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.lp-tools span { display: inline-flex; align-items: center; gap: 8px; }
.lp-tools .ico { color: var(--accent); }
.lp-steps, .lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-step, .lp-feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); display: grid; gap: 8px; align-content: start; }
.lp-feature { border-top: 2px solid var(--accent); }
.lp-num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 500 13px var(--mono); margin-bottom: 4px; }
.lp-step h3, .lp-feature h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.lp-step p, .lp-feature p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.lp-feature a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.lp-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.lp-model { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); display: grid; gap: 14px; }
.lp-model-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lp-model-h code { font-size: 14px; overflow-wrap: anywhere; }
.lp-model dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.lp-model dt { font: 400 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.lp-model dd { margin: 0; font-size: 15px; }
.card.ledger, .card.tabs { overflow: hidden; }
.lp-closing { display: grid; justify-items: center; text-align: center; }
.lp-closing h2 { margin-left: auto; margin-right: auto; }
.lp-closing .hero-cta { justify-content: center; }
@media (max-width: 900px) {
  .lp-hero-in, .lp-steps, .lp-features { grid-template-columns: minmax(0, 1fr); }
  .lp-hero { padding: 56px 0 32px; }
}
@media (max-width: 560px) {
  .lp-kpis { grid-template-columns: 1fr 1fr; }
  .lp-kpis > div:last-child { grid-column: 1 / -1; }
}
/* Yönetim sayfaları v2 */
.attn { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-left: 2px solid var(--warn); border-radius: var(--r-sm); color: var(--muted); }
.attn:hover { color: var(--text); background: var(--surface-2); }
.attn .ico { color: var(--warn); }
.attn b { color: var(--text); font-weight: 600; }
.subnav { display: flex; flex-wrap: wrap; gap: var(--s2); }
.subnav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: var(--fs-sm); }
.subnav a:hover { color: var(--text); border-color: var(--line-strong); }
.page-meta { color: var(--muted); font-size: var(--fs-sm); margin-top: -12px; }
.app-body section[id] { scroll-margin-top: 72px; }
.thread-actions { display: flex; gap: var(--s2); }
.pay-note.pad-b { padding-bottom: var(--s4); }
/* Public alt sayfalar v2 */
.guide-para { margin-top: 10px; font-size: var(--fs-base); line-height: 1.7; }
.guide-step { margin: 24px 0 4px; font-size: var(--fs-base); font-weight: 600; }
.guide-fig { margin: 14px 0 0; }
.guide-fig img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.guide-table { margin-top: 12px; }
.foot-note.page-end { margin-top: 28px; }
.foot-note.lead-note { margin-top: 14px; }
.plugin-title { margin: 6px 0 8px; font-size: 28px; letter-spacing: -.03em; font-weight: 600; }
.plugin-lead { font-size: 16px; line-height: 1.6; max-width: 560px; }
.guide-grid.tight { margin-top: 12px; }
.cta-row { margin-top: 18px; }
.btn .ver { opacity: .7; }
.codeblock pre.code { border-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* wiozen.com anasayfası (home-page.ts) */
.home-hero h1 .dim-line { display: block; color: var(--muted); }
.home-panel .lp-row { justify-content: space-between; }
.home-panel .lp-row .ico { color: var(--accent); }
.home-panel-note { color: var(--muted); font-size: var(--fs-sm); }
.home-panel .lp-rows-h, .home-off { color: var(--muted); }
.home-off { font-size: var(--fs-xs); }
.lp-tools.home-trust { border: 0; padding: 0; margin-top: 48px; }
.home-hero::before { display: none; }
.home-bal { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s3); padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
.home-bal span { font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.home-bal b { flex: 1; font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.02em; }
.home-bal b.warn { color: var(--warn); }
.home-bal a { color: var(--accent); font-size: var(--fs-md); font-weight: 500; }
.home-bal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s4); }
.app-card { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .2s, background .2s; }
.app-card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.app-card:focus-within { border-color: var(--accent); }
.app-card-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); }
.brand.app-logo { font-size: var(--fs-lg); }
.brand.app-logo i { width: 9px; height: 9px; }
.app-card p { color: var(--muted); font-size: var(--fs-md); line-height: 1.6; }
.app-card-f { margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.app-host { min-width: 0; overflow-wrap: anywhere; font: 400 var(--fs-xs) var(--mono); color: var(--muted); }
/* Kartın tamamı "Aç" bağlantısıdır; odak çerçevesi düğmede kalır. */
.app-open::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.home-values, .home-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-values .ico, .home-link .ico { width: 20px; height: 20px; color: var(--accent); margin-bottom: 4px; }
.home-steps { list-style: none; margin: 0; padding: 0; }
.home-link { display: grid; gap: 6px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .2s, background .2s; }
.home-link:hover { border-color: var(--line-strong); background: var(--surface-2); }
.home-link b { font-weight: 600; }
.home-link span { color: var(--muted); font-size: var(--fs-md); line-height: 1.55; }
@media (max-width: 900px) { .home-values, .home-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-grid.cols-4 { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .foot-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-grid.cols-4 { grid-template-columns: 1fr; } }
.top .acct > summary { display: flex; align-items: center; gap: 10px; }
/* Hesap üst çubuğunda hamburger yok; dar ekranı gizleyen genel kural burada geçersiz. */
.top-act.acct-top .acct { display: block; }
.top-act.acct-top .ghost { display: inline-flex; }
@media (max-width: 560px) { .app-grid, .home-values, .home-links { grid-template-columns: minmax(0, 1fr); } .top .acct-mail { display: none; } }
/* Geldiği uygulamaya dönüş çubuğu (app-return.ts doldurur) */
.ret-bar { border-bottom: 1px solid var(--line); background: var(--accent-soft); }
.ret-bar a { display: flex; align-items: center; gap: var(--s2); min-height: 44px; color: var(--accent); font-size: var(--fs-md); font-weight: 500; }
.ret-bar a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.app-main .ret-bar .wrap { max-width: none; margin: 0; }


/* Alt bilgi dil menüsü: aile kuralı, sağda, yukarı açılır. */
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--muted); font-size: var(--fs-xs); user-select: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover, .lang-menu[open] > summary { color: var(--text); border-color: var(--line-strong); }
.lang-chev { transition: transform .15s ease; }
.lang-menu[open] .lang-chev { transform: rotate(180deg); }
.lang-menu ul { position: absolute; bottom: calc(100% + 6px); right: 0; z-index: 60; min-width: 160px; margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); box-shadow: var(--shadow-pop); }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 8px 12px; border-radius: calc(var(--r-sm) - 2px); color: var(--muted); font-size: var(--fs-sm); }
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a[aria-current="true"] { color: var(--text); pointer-events: none; }
.lang-menu a[aria-current="true"] .ico { color: var(--accent); }
.foot-attr { margin-top: 16px; color: var(--faint); font-size: var(--fs-xs); line-height: 1.6; }
.foot-attr a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .foot-bottom { flex-direction: column; align-items: flex-start; } .lang-menu ul { right: auto; left: 0; } }

/* Üst çubuk: yedi dikey ve arama sığsın diye boşluklar daraltıldı. */
.top-in { gap: 20px; }
.nav a { padding: 6px 8px; }
.q-search { position: relative; flex: 0 1 220px; min-width: 0; }
.q-search input { width: 100%; height: 36px; padding: 0 12px 0 34px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--text); font: 400 14px var(--sans); }
.q-search input::placeholder { color: var(--faint); }
.q-search input:focus { border-color: var(--accent); outline: 0; }
.q-search > .ico { position: absolute; left: 11px; top: 10px; color: var(--muted); pointer-events: none; }
.q-search.lg { flex: none; width: 100%; max-width: 620px; }
.q-search.lg input { height: 48px; padding-left: 44px; font-size: 16px; border-radius: var(--r-md); background: var(--surface); }
.q-search.lg > .ico { left: 16px; top: 16px; }
.q-panel { display: grid; gap: var(--s3); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.q-panel-l { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.q-panel .q-search.lg { max-width: none; }
.q-panel .q-search.lg input { background: var(--bg); }
.q-quick { display: flex; align-items: center; gap: var(--s2) var(--s3); min-width: 0; }
.q-quick > span { flex: none; }
.q-quick .chips { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.q-quick .chips::-webkit-scrollbar { display: none; }
.q-quick .chips a { white-space: nowrap; }
.q-quick > span { color: var(--muted); font-size: var(--fs-sm); }
.my-places { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: -4px; max-width: 620px; }
.my-places[hidden] { display: none; }
.my-places .mp-l { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--fs-sm); }
.my-places .mp-l .ico { color: var(--accent); }
.my-places .chips a { gap: 8px; padding: 6px 12px 6px 10px; border-color: var(--line-strong); background: var(--surface); color: var(--text); }
.my-places .chips a:hover { border-color: var(--accent); color: var(--text); }
.my-places .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.my-places .dot.ok { background: var(--accent); }
.my-places .dot.planned { background: var(--warn); }
.my-places .dot.fault { background: var(--danger); }
.my-places .chips b { font: 500 12px var(--mono); color: var(--muted); }
.my-places .mp-edit { margin-left: auto; color: var(--faint); font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; }
.my-places .mp-edit:hover { color: var(--text); }
.q-hero.svc-hero { padding: 0 0 4px; }
.place-hero > p:first-of-type { color: var(--text); }
.place-hero .hero-src { margin-top: -12px; color: var(--faint); font-size: 13px; }
@media (max-width: 640px) {
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .kpi { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 16px; border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); }
  .kpi:last-child { border-bottom: 0; }
  .kpi b { font-size: 20px; }
  .q-panel { padding: var(--s4); }
  .q-quick { display: grid; gap: var(--s2); }
  .q-quick .chips { margin: 0 calc(-1 * var(--s4)); padding: 0 var(--s4); }
  .tbl.stack tr:has(.c-place) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
  .tbl.stack tr:has(.c-place) > td { grid-column: 1 / -1; }
  .tbl.stack tr:has(.c-place) > td.c-status { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .tbl.stack td.c-place { grid-column: 1 !important; grid-row: 1; justify-content: flex-start; text-align: left; font-weight: 600; padding-bottom: 8px; }
  .tbl.stack td.c-status::before, .tbl.stack td.c-place::before { content: none; }
  .tbl.stack td.c-loc { display: block; text-align: left; }
  .tbl.stack td.c-loc::before { display: block; margin-bottom: 2px; }
  .tbl.stack td:empty { display: none; }
}
.q-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; margin: 0; padding: 4px; list-style: none; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-pop); max-height: 320px; overflow-y: auto; }
.q-suggest[hidden] { display: none; }
.q-suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 4px; font-size: 14px; color: var(--text); }
.q-suggest a small { color: var(--faint); font-size: 12px; }
.q-suggest a:hover, .q-suggest a.on { background: var(--surface-2); }
.q-note { margin-top: 8px; font-size: 13px; color: var(--warn); }
.q-note[hidden] { display: none; }
@media (pointer: coarse) { .q-search input { font-size: 16px; } }
@media (max-width: 1040px) { .top .q-search { display: none; } }

/* Sayfa iskeleti */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--faint); font-size: 13px; }
.crumbs li + li::before { content: "\203A"; margin-right: 6px; }
.crumbs a:hover { color: var(--text); }
.page-h h1 { text-wrap: balance; }
.answer { margin-top: 0; font-size: 16px; color: var(--text); }
.answer.off { border-left-color: var(--faint); border-style: dashed; border-left-style: solid; }
.answer .src { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.with-aside > .main-col { display: grid; gap: 20px; min-width: 0; }
.with-aside > aside { display: grid; gap: 20px; }
@media (max-width: 1000px) { .with-aside { grid-template-columns: minmax(0, 1fr); } .with-aside > aside { display: none; } }
.page h2.sec { font-size: 18px; margin-top: 12px; }
.muted { color: var(--muted); }
.stack-s { display: grid; gap: 12px; }

/* Anasayfa */
.q-hero { padding: 56px 0 8px; display: grid; gap: 20px; }
.q-hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; max-width: 20ch; text-wrap: balance; }
.q-hero p { color: var(--muted); font-size: 17px; max-width: 60ch; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.svc-grid .home-link { grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; }
.svc-grid .home-link .ico { grid-row: span 2; margin-top: 3px; color: var(--muted); }
.svc-grid .home-link .svc-live { grid-column: 2; margin-top: 4px; font: 400 12px var(--mono); font-style: normal; color: var(--accent); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.trust b { display: block; font-weight: 600; margin-bottom: 4px; }
.trust p { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* İl haritası: tek SVG, il başına bir path. Renkler durum belirteçlerinden. */
.tr-map { display: block; width: 100%; height: auto; }
.tr-map path { fill: var(--surface-2); stroke: var(--bg); stroke-width: 1; transition: fill .15s; }
.tr-map a:hover path, .tr-map a:focus-visible path { fill: var(--surface-3); stroke: var(--line-strong); }
.tr-map a:focus-visible { outline: none; }
.tr-map .m-ok path { fill: color-mix(in srgb, var(--accent) 16%, var(--surface-2)); }
.tr-map .m-planned path { fill: color-mix(in srgb, var(--warn) 42%, var(--surface-2)); }
.tr-map .m-fault path { fill: color-mix(in srgb, var(--danger) 55%, var(--surface-2)); }
.tr-map .m-ok:hover path { fill: color-mix(in srgb, var(--accent) 28%, var(--surface-2)); }
.tr-map .m-planned:hover path { fill: color-mix(in srgb, var(--warn) 58%, var(--surface-2)); }
.tr-map .m-fault:hover path { fill: color-mix(in srgb, var(--danger) 70%, var(--surface-2)); }
.legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--s4) 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.legend li { display: grid; gap: 6px; align-content: start; padding: 14px 16px; border-right: 1px solid var(--line); }
.legend li:last-child { border-right: 0; }
.legend b { font-size: 22px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.legend span { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend li:nth-child(2) { border-right: 0; }
  .legend li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}
.map-hint { margin-top: var(--s2); color: var(--faint); font-size: 13px; }
.legend i { width: 24px; height: 4px; border-radius: 2px; background: var(--line-strong); }
.legend .l-ok i { background: color-mix(in srgb, var(--accent) 16%, var(--surface-2)); }
.legend .l-planned i { background: color-mix(in srgb, var(--warn) 42%, var(--surface-2)); }
.legend .l-fault i { background: color-mix(in srgb, var(--danger) 55%, var(--surface-2)); }

/* Yer listeleri */
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.place-grid a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); }
.place-grid a:hover { color: var(--accent); }
.place-grid a.off { color: var(--faint); }
.place-grid .badge { flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: var(--fs-sm); }
.chips a:hover { color: var(--text); border-color: var(--line-strong); }
.chips a[aria-current="page"] { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }

/* Kesinti tablosu ve kaynak kutusu */
[hidden] { display: none !important; }
.tbl td.wide { min-width: 180px; }
.tbl td, .tbl th { padding-left: 14px; padding-right: 14px; }
.streets { margin-top: 4px; }
.streets > summary { cursor: pointer; width: fit-content; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.streets > summary:hover { color: var(--text); }
.streets p { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.55; }
@media (max-width: 640px) { .tbl.stack td .streets { width: 100%; text-align: left; } }
.tbl td .sub { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.tbl td a { text-decoration: underline; text-underline-offset: 3px; }
.tbl .num { font-size: 13px; }
.src-box .info-list a { font-size: var(--fs-base); color: var(--text); }
.src-box .card-b { gap: var(--s5); }
.src-times { display: flex; flex-wrap: wrap; gap: 6px 24px; font: 400 12px var(--mono); color: var(--muted); }
.src-times b { font-weight: 400; color: var(--faint); margin-right: 6px; }
.svc-status { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s3); }
.svc-status .home-link b { display: flex; align-items: center; gap: 8px; }
.svc-status .home-link .badge { margin-left: auto; }
.svc-status.svc-compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s2); }
.svc-status.svc-compact .home-link { padding: 12px 14px; gap: 4px; }
.svc-status.svc-compact .home-link span { font-size: 13px; }
.saved-list { display: grid; gap: var(--s4); }
.saved-place .sp-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: var(--s3); }
.saved-place .sp-h a { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.saved-place .sp-h a:hover { color: var(--accent); }
.q-panel .row-form { display: flex; gap: var(--s2); }
.q-panel .row-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--bg); color: var(--text); font: 400 15px var(--sans); }
.q-panel .row-form input:focus { border-color: var(--accent); outline: 0; }
.q-panel .row-form .btn { height: 44px; }
.add-chips form { margin: 0; }
.add-chips button { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); font: 400 var(--fs-sm) var(--sans); white-space: nowrap; cursor: pointer; }
.add-chips button:hover { color: var(--text); border-color: var(--accent); }
.top-act .btn.acct-btn { gap: 8px; border-color: var(--line-strong); background: var(--surface); color: var(--text); font-weight: 500; }
.top-act .btn.acct-btn .ico { color: var(--accent); }
.top-act .btn.acct-btn:hover { border-color: var(--accent); }
.empty .btn { margin-top: 4px; }
.empty .row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (max-width: 640px) { .tbl.stack td.wide { min-width: 0; } .tbl.stack td .sub { text-align: right; } }

/* Reklam yuvası: kimlik boşken basılmaz. Yer sabit yükseklikle ayrılır, sayfa kaymaz. */
.ad { display: grid; place-items: center; margin: 0 auto; width: 100%; }
.ad-728x90 { max-width: 728px; min-height: 90px; }
.ad-300x250 { max-width: 300px; min-height: 250px; }
.ad-300x600 { max-width: 300px; min-height: 600px; }
.ad.preview { border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--faint); font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) { .ad.d-only { display: none; } }
@media (min-width: 861px) { .ad.m-only { display: none; } }

/* Hata ve boş sayfa */
.notfound { padding: 96px 0; display: grid; gap: 16px; justify-items: start; }
.notfound h1 { font-size: 32px; letter-spacing: -.03em; font-weight: 600; }
.notfound p { color: var(--muted); max-width: 52ch; }

/* B8 deprem: tekil olay haritasındaki nokta, süzgeçte seçili düğme. */
.tr-map .q-dot { fill: var(--danger); stroke: var(--bg); stroke-width: 2; pointer-events: none; }
.chips a strong { color: var(--text); font-weight: 600; }

/* B10 giriş: ayarlar sayfasındaki düğme satırı ve giriş hatası sayfası. */
.auth-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--s3); }
.auth-row form { display: inline-flex; width: auto; }

/* B9 hava ve eczane: eczane kartları, düğme satırı, hava tablosu ve atıf. */
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.ph-card .card-b { gap: var(--s3); }
.ph-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.ph-addr { color: var(--muted); font-size: 14px; line-height: 1.5; }
.ph-map { color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ph-map:hover { color: var(--text); }
.ph-card .info-list a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.ph-call { display: flex; align-items: center; gap: 6px; color: var(--warn); font-size: 13px; }
.ph-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wx-tbl td.num { white-space: nowrap; }
.wx-note, .wx-attr { color: var(--muted); font-size: 13px; line-height: 1.55; }
.wx-attr { margin-top: var(--s3); }
.wx-attr a { text-decoration: underline; text-underline-offset: 3px; }
