/* ============ Tema ============ */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f3eee6;
  --ink: #1f1c18;
  --ink-2: #57514a;
  --muted: #8a8278;
  --line: #e7e0d5;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --accent-soft: #fdeee4;
  --danger: #b42318;
  --success: #15803d;
  --shadow: 0 1px 2px rgb(31 28 24 / .05), 0 8px 24px -12px rgb(31 28 24 / .15);
  --radius: 14px;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-prose: 'Source Serif 4', Georgia, serif;
  --font-mono: ui-monospace, 'Cascadia Code', Consolas, monospace;
  /* Kategori renkleri (zemin / yazı) */
  --cat-finans-bg: #e3f4ea; --cat-finans-ink: #17663d;
  --cat-fitness-bg: #e4eefc; --cat-fitness-ink: #1f56a6;
  --cat-yasam-bg: #fbeadf; --cat-yasam-ink: #9a3d10;
  /* Grafik serileri ve durum renkleri (dataviz doğrulayıcısıyla kontrol edildi) */
  --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a;
  --status-good: #0ca30c; --status-warning: #fab219; --status-serious: #ec835a; --status-critical: #d03b3b;
  --grid: #ece6dc; --axis: #c9c1b4;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151311; --surface: #1d1a17; --surface-2: #262220; --ink: #efe9e1; --ink-2: #c3bbb0;
    --muted: #8f877c; --line: #332e29; --accent: #fb8a4c; --accent-ink: #1a0d05; --accent-soft: #3a2116;
    --danger: #f97066; --success: #4ade80;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -12px rgb(0 0 0 / .6);
    --cat-finans-bg: #173325; --cat-finans-ink: #7fdcaa; --cat-fitness-bg: #1a2a42; --cat-fitness-ink: #93bdf5;
    --cat-yasam-bg: #3a2116; --cat-yasam-ink: #fbb084;
    --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --grid: #2c2824; --axis: #463f38;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #151311; --surface: #1d1a17; --surface-2: #262220; --ink: #efe9e1; --ink-2: #c3bbb0;
  --muted: #8f877c; --line: #332e29; --accent: #fb8a4c; --accent-ink: #1a0d05; --accent-soft: #3a2116;
  --danger: #f97066; --success: #4ade80;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -12px rgb(0 0 0 / .6);
  --cat-finans-bg: #173325; --cat-finans-ink: #7fdcaa; --cat-fitness-bg: #1a2a42; --cat-fitness-ink: #93bdf5;
  --cat-yasam-bg: #3a2116; --cat-yasam-ink: #fbb084;
  --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --grid: #2c2824; --axis: #463f38;
  color-scheme: dark;
}

/* ============ Temel ============ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; outline: none; }
main:focus-visible { outline: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ============ Üst bar / alt bilgi ============ */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 650; font-size: 1.25rem; letter-spacing: -.01em; min-width: 0; }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 15px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.icon-btn) { padding: 6px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav > a:not(.icon-btn):hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 480px) { .nav > a:not(.icon-btn) { display: none; } }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

.site-footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 28px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--accent); }

/* ============ Butonlar / form ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-weight: 500; font-size: .93rem;
  cursor: pointer; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap;
}
.btn:hover { border-color: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { border-color: var(--accent); filter: brightness(1.07); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); border-color: transparent; }
.btn-danger { color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); }
.btn-sm { height: 32px; padding: 0 11px; font-size: .85rem; border-radius: 8px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.field small { color: var(--muted); font-size: .8rem; }
.input, .textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ============ Ana sayfa ============ */
.hero { padding: 64px 0 40px; }
.hero h1 { font-family: var(--font-display); font-weight: 650; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 14px; }
.hero p { font-size: 1.15rem; color: var(--ink-2); margin: 0; max-width: 560px; }
.hero .date-today { display: inline-block; font-size: .85rem; font-weight: 500; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
@media (max-width: 880px) { .layout { grid-template-columns: 1fr; gap: 40px; } }

.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filter-bar h2 { font-size: 1rem; font-weight: 600; margin: 0; }
.filter-bar a { font-size: .9rem; color: var(--accent); }

.post-list { display: flex; flex-direction: column; }
.post-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-card .day { text-align: center; padding-top: 4px; }
.post-card .day b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; font-weight: 650; }
.post-card .day span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.post-card .day em { display: block; font-style: normal; font-size: 1.3rem; margin-top: 8px; }
.post-card h3 { font-family: var(--font-display); font-weight: 650; font-size: 1.5rem; line-height: 1.22; letter-spacing: -.015em; margin: 0 0 8px; }
.post-card h3 a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.post-card h3 a:hover { background-size: 100% 2px; }
.post-card p { margin: 0 0 12px; color: var(--ink-2); }
.post-card .cover { margin: 4px 0 14px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--surface-2); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .cover img { transform: scale(1.02); }
@media (max-width: 560px) {
  .post-card { grid-template-columns: 1fr; gap: 8px; }
  .post-card .day { display: flex; align-items: baseline; gap: 8px; text-align: left; }
  .post-card .day b { font-size: 1rem; display: inline; }
  .post-card .day span, .post-card .day em { display: inline; margin: 0; font-size: .85rem; }
  .post-card h3 { font-size: 1.3rem; }
}

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.meta .dot::before { content: '·'; margin-right: 14px; }
.meta > span { display: inline-flex; align-items: center; gap: 5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: .8rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); transition: background .15s, color .15s; }
.tag:hover, .tag.active { background: var(--accent-soft); color: var(--accent); }
.tag small { opacity: .65; margin-left: 3px; }

.sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 32px; }
@media (max-width: 880px) { .sidebar { position: static; } }
.sidebar h4 { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.about-card { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.about-card .avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-size: 1.3rem; font-weight: 650; margin-bottom: 12px; }
.about-card b { display: block; }
.about-card p { margin: 6px 0 0; color: var(--ink-2); font-size: .93rem; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list a { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-2); font-size: .93rem; border-bottom: 1px dashed var(--line); }
.archive-list a:hover, .archive-list a.active { color: var(--accent); }

.search-box { position: relative; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box .input { padding-left: 38px; }

.load-more { display: flex; justify-content: center; padding: 32px 0 0; }

.empty { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty .big { font-size: 2.6rem; display: block; margin-bottom: 10px; }
.empty h3 { color: var(--ink); font-family: var(--font-display); margin: 0 0 6px; font-size: 1.4rem; }

/* ============ Yazı sayfası ============ */
.article { padding: 48px 0 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: 28px; }
.back-link:hover { color: var(--accent); }
.article-header .tags { margin-bottom: 18px; }
.article-header h1 { font-family: var(--font-display); font-weight: 650; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 18px; }
.article-header .meta { font-size: .9rem; }
.article-cover { margin: 36px 0 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.draft-banner { margin: 0 0 24px; padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: .9rem; font-weight: 500; }

.prose { font-family: var(--font-prose); font-size: 1.2rem; line-height: 1.75; margin-top: 36px; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-display); font-weight: 650; letter-spacing: -.015em; line-height: 1.25; margin: 1.8em 0 .5em; }
.prose h2 { font-size: 1.65rem; }
.prose h3 { font-size: 1.35rem; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 0; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--accent); font-style: italic; color: var(--ink-2); }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--font-mono); font-size: .82em; background: var(--surface-2); padding: .15em .4em; border-radius: 6px; }
.prose pre { background: var(--surface-2); border: 1px solid var(--line); padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: .95rem; line-height: 1.55; }
.prose pre code { background: none; padding: 0; font-size: .82em; }
.prose img { border-radius: 12px; margin: 1.6em auto; }
.prose hr { border: 0; text-align: center; margin: 2.4em 0; }
.prose hr::after { content: '✦ ✦ ✦'; color: var(--muted); letter-spacing: .6em; font-size: .9rem; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { font-weight: 600; }

.article-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 56px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.like-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; transition: border-color .15s, color .15s, background .15s; }
.like-btn:hover { border-color: var(--accent); color: var(--accent); }
.like-btn.liked { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.like-btn.liked svg { fill: currentColor; }
.like-btn.pop svg { animation: pop .4s ease; }
@keyframes pop { 40% { transform: scale(1.35); } }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.post-nav a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .15s; }
.post-nav a:hover { border-color: var(--accent); }
.post-nav small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.post-nav b { font-family: var(--font-display); font-weight: 650; }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: auto; } }

.comments { margin-top: 56px; }
.comments h2 { font-family: var(--font-display); font-weight: 650; font-size: 1.5rem; margin: 0 0 20px; }
.comment { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; }
.comment header { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 2px; }
.comment header b { font-weight: 600; }
.comment header time { font-size: .8rem; color: var(--muted); }
.comment p { margin: 0; white-space: pre-wrap; color: var(--ink-2); overflow-wrap: anywhere; }
.comment.new { animation: flash 1.6s ease; }
@keyframes flash { from { background: var(--accent-soft); } }
.comment-form { display: grid; gap: 12px; margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.comment-form h3 { margin: 0; font-size: 1.05rem; }
.comment-form .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.comment-form .row small { color: var(--muted); }

/* ============ Arama sayfası ============ */
.search-page { padding: 56px 0 0; }
.search-page h1 { font-family: var(--font-display); font-size: 2.2rem; margin: 0 0 20px; letter-spacing: -.02em; }
.search-page .search-box .input { height: 52px; font-size: 1.1rem; border-radius: 14px; }
.search-page .result-count { margin: 20px 0 0; color: var(--muted); font-size: .9rem; }
mark { background: var(--accent-soft); color: var(--accent); border-radius: 3px; padding: 0 2px; }

/* ============ Yönetim paneli ============ */
.admin { padding: 40px 0 0; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.admin-head h1 { font-family: var(--font-display); font-weight: 650; font-size: 2rem; margin: 0; letter-spacing: -.02em; }
.admin-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }

.login-card { max-width: 380px; margin: 80px auto 0; padding: 32px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 16px; }
.login-card h1 { font-family: var(--font-display); margin: 0; font-size: 1.7rem; }
.login-card p { margin: -8px 0 4px; color: var(--muted); font-size: .93rem; }
.form-error { color: var(--danger); font-size: .88rem; min-height: 1.2em; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 32px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 650; line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tabs button { border: 0; background: none; padding: 10px 14px; cursor: pointer; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.active { color: var(--ink); border-color: var(--accent); }

.admin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.admin-row .title { font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-row .title a:hover { color: var(--accent); }
.admin-row .meta { margin-top: 4px; }
.admin-row .row-actions { display: flex; gap: 6px; }
.admin-row blockquote { margin: 6px 0 0; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) { .admin-row { grid-template-columns: 1fr; } }
.badge { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.badge.draft { background: var(--surface-2); color: var(--muted); }
.badge.published { background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); }

/* Editör */
.editor { padding: 28px 0 0; }
.editor-bar { position: sticky; top: 64px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; background: var(--bg); border-bottom: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.editor-bar .status { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.editor-bar .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.title-input { width: 100%; border: 0; background: transparent; font-family: var(--font-display); font-weight: 650; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.15; padding: 0; margin-bottom: 18px; resize: none; overflow: hidden; }
.title-input:focus { outline: none; }
.title-input::placeholder { color: var(--muted); opacity: .6; }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .editor-grid { grid-template-columns: 1fr; } }
.editor-side { display: grid; gap: 18px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mood-picker { display: flex; flex-wrap: wrap; gap: 4px; }
.mood-picker button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid transparent; background: var(--surface-2); cursor: pointer; font-size: 1.15rem; }
.mood-picker button.active { border-color: var(--accent); background: var(--accent-soft); }
.cover-preview { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.inline-row { display: flex; gap: 6px; }

.md-editor { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.md-toolbar { display: flex; align-items: center; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.md-toolbar button { min-width: 34px; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.md-toolbar button:hover { background: var(--surface-2); color: var(--ink); }
.md-toolbar .sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.md-toolbar .spacer { flex: 1; }
.md-toolbar .view-toggle button.active { background: var(--accent-soft); color: var(--accent); }
.md-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.md-body.write .md-preview, .md-body.preview .md-input { display: none; }
.md-body.write, .md-body.preview { grid-template-columns: 1fr; }
.md-input { border: 0; border-radius: 0; resize: none; padding: 20px; font-family: var(--font-mono); font-size: .93rem; line-height: 1.7; background: transparent; min-height: 520px; height: 100%; }
.md-input:focus { outline: none; box-shadow: none; }
.md-preview { border-left: 1px solid var(--line); padding: 20px 24px; overflow: auto; max-height: 75vh; }
.md-preview.prose { margin: 0; font-size: 1.08rem; }
.md-body.preview .md-preview { border-left: 0; max-height: none; }
@media (max-width: 760px) {
  .md-body { grid-template-columns: 1fr; }
  .md-body:not(.write):not(.preview) .md-preview { display: none; }
}
.dropping { outline: 2px dashed var(--accent); outline-offset: -8px; }

/* ============ Diğer ============ */
.loading { display: grid; place-items: center; padding: 120px 0; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 50;
  padding: 11px 18px; border-radius: 12px; background: var(--ink); color: var(--bg);
  font-size: .92rem; font-weight: 500; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); color: #fff; }

.fade-in { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }

.not-found { text-align: center; padding: 100px 0 40px; }
.not-found b { display: block; font-family: var(--font-display); font-size: 5rem; color: var(--accent); line-height: 1; }
.not-found h1 { font-family: var(--font-display); margin: 12px 0 8px; }
.not-found p { color: var(--muted); margin: 0 0 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============ Üst menü: bölüm bağlantıları ============ */
.header-inner { flex-wrap: wrap; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-right: auto; margin-left: 20px; }
.nav-links a { padding: 6px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .93rem; white-space: nowrap; }
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-links a[aria-current] { background: var(--accent-soft); color: var(--accent); }
.nav-links .nav-tools::before { content: '🧮 '; }
@media (max-width: 820px) {
  .header-inner { height: auto; padding-top: 10px; row-gap: 6px; }
  .nav-links {
    order: 3; width: calc(100% + 40px); margin: 0 -20px; padding: 0 20px 10px;
    overflow-x: auto; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .site-header .nav { margin-left: auto; }
}

/* ============ Kategoriler ============ */
.cat-chip { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; padding: 3px 10px 3px 8px; border-radius: 999px; margin-bottom: 8px; }
.cat-finans { --cat-bg: var(--cat-finans-bg); --cat-ink: var(--cat-finans-ink); }
.cat-fitness { --cat-bg: var(--cat-fitness-bg); --cat-ink: var(--cat-fitness-ink); }
.cat-yasam { --cat-bg: var(--cat-yasam-bg); --cat-ink: var(--cat-yasam-ink); }
.cat-chip { background: var(--cat-bg, var(--surface-2)); color: var(--cat-ink, var(--ink-2)); }
.cat-chip:hover { filter: brightness(.97); }
.article-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; }
.article-cats .cat-chip { margin: 0; font-size: .8rem; padding: 4px 12px 4px 10px; }
.article-header .article-cats .tags { margin: 0; }

.cat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: -8px 0 48px; }
@media (max-width: 900px) { .cat-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .cat-cards { grid-template-columns: 1fr; } }
.cat-card {
  display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius);
  background: var(--cat-bg, var(--surface)); border: 1px solid transparent; transition: transform .15s, box-shadow .15s;
}
.cat-card.tools { background: var(--surface); border-color: var(--line); }
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-card .cat-emoji { font-size: 1.6rem; line-height: 1; margin-bottom: 6px; }
.cat-card b { font-family: var(--font-display); font-weight: 650; font-size: 1.2rem; color: var(--cat-ink, var(--ink)); }
.cat-card span:not(.cat-emoji) { color: var(--ink-2); font-size: .88rem; line-height: 1.45; }
.cat-card small { margin-top: auto; padding-top: 8px; color: var(--cat-ink, var(--muted)); font-weight: 600; font-size: .8rem; }

/* ============ Sayfa başlığı ============ */
.page-head { padding: 48px 0 28px; }
.page-head.compact { padding: 8px 0 24px; }
.page-head .eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.page-head h1 { font-family: var(--font-display); font-weight: 650; font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 10px; }
.page-head p { margin: 0; color: var(--ink-2); font-size: 1.08rem; max-width: 620px; }
.cat-head { margin: 32px 0 8px; padding: 32px; border-radius: 20px; background: var(--cat-bg); }
.cat-head .eyebrow { background: var(--surface); color: var(--cat-ink); }
.cat-head h1 { color: var(--cat-ink); }
@media (max-width: 560px) { .cat-head { padding: 24px 20px; } }

/* ============ Araç kartları ============ */
.tool-group { margin: 36px 0 0; }
.tool-group.compact { margin: 28px 0 40px; }
.tool-group h2 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 1.05rem; font-weight: 600; margin: 0 0 14px; }
.tool-group .see-posts { margin-left: auto; font-size: .88rem; font-weight: 500; color: var(--accent); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tool-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.tool-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.tool-card .tool-emoji { font-size: 1.4rem; line-height: 1; margin-bottom: 6px; }
.tool-card b { font-weight: 600; }
.tool-card span:not(.tool-emoji) { color: var(--ink-2); font-size: .88rem; line-height: 1.45; }

/* ============ Hesaplayıcı ============ */
.tool-page { padding: 40px 0 0; }
.calc { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-form > *, .calc-form .field { min-width: 0; }
.field select.input { width: 100%; min-width: 0; text-overflow: ellipsis; }
.calc-form, .calc-result { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.calc-form { display: grid; gap: 18px; position: sticky; top: 84px; }
@media (max-width: 860px) { .calc-form { position: static; } }
.calc-result { min-height: 240px; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 52px; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.input-unit em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-size: .9rem; pointer-events: none; }
.input[aria-invalid] { border-color: var(--danger); }
.input[aria-invalid]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 20%, transparent); }
.field small.err { color: var(--danger); }
.field select.input { appearance: auto; }
.quick { display: flex; flex-wrap: wrap; gap: 4px; }
.quick button { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 2px 10px; font-size: .8rem; cursor: pointer; color: var(--ink-2); }
.quick button:hover { border-color: var(--accent); color: var(--accent); }
.segment { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.segment button { flex: 1 1 auto; border: 0; background: transparent; padding: 8px 10px; border-radius: 9px; font-size: .88rem; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.segment button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
.advanced { border-top: 1px dashed var(--line); padding-top: 12px; }
.advanced summary { cursor: pointer; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.advanced[open] { display: grid; gap: 14px; }
#reset { justify-self: start; }

.hero-num { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.hero-num b { display: block; font-family: var(--font-display); font-weight: 650; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; }
.hero-num > span { color: var(--muted); font-size: .95rem; }
.hero-num > div { margin-top: 10px; color: var(--ink-2); font-size: .93rem; }
.stat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 0 20px; }
.stat-list > div { padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.stat-list dt { font-size: .8rem; color: var(--muted); }
.stat-list dd { margin: 2px 0 0; font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.stat-list small { display: block; margin-top: 2px; color: var(--muted); font-size: .76rem; }
.sub { margin: 24px 0 12px; font-size: .95rem; font-weight: 600; }
.calc-empty { display: grid; place-items: center; min-height: 200px; color: var(--muted); text-align: center; }
.fineprint { margin: 18px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.lead { margin: 0 0 16px; color: var(--ink-2); }
.warn-note, .good-note { padding: 10px 14px; border-radius: 10px; font-size: .9rem; margin: 0 0 16px; }
.warn-note { background: color-mix(in srgb, var(--status-warning) 15%, transparent); }
.good-note { background: color-mix(in srgb, var(--status-good) 12%, transparent); }
.disclaimer { margin: 20px 0 0; padding: 12px 16px; border-radius: 12px; border: 1px dashed var(--line); color: var(--muted); font-size: .85rem; }

/* Durum rozetleri: renk + simge + yazı birlikte */
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.status.good { box-shadow: inset 3px 0 0 var(--status-good); }
.status.warning { box-shadow: inset 3px 0 0 var(--status-warning); }
.status.serious { box-shadow: inset 3px 0 0 var(--status-serious); }
.status.critical { box-shadow: inset 3px 0 0 var(--status-critical); }

/* VKİ göstergesi */
.gauge { position: relative; margin: 4px 0 26px; }
.gauge-track { display: flex; gap: 2px; height: 10px; }
.gauge-track .z:first-child { border-radius: 5px 0 0 5px; }
.gauge-track .z:last-child { border-radius: 0 5px 5px 0; }
.z.good { background: var(--status-good); } .z.warning { background: var(--status-warning); }
.z.serious { background: var(--status-serious); } .z.critical { background: var(--status-critical); }
.gauge-marker { position: absolute; top: -5px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); transition: left .3s; }
.gauge-scale { position: relative; height: 16px; margin-top: 6px; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.gauge-scale span { position: absolute; transform: translateX(-50%); }
.gauge-scale span:nth-child(1) { left: 0; transform: none; } .gauge-scale span:nth-child(2) { left: 14%; }
.gauge-scale span:nth-child(3) { left: 40%; } .gauge-scale span:nth-child(4) { left: 60%; }
.gauge-scale span:nth-child(5) { right: 0; transform: none; }

.mini-table, .schedule table { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.mini-table th, .mini-table td, .schedule th, .schedule td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.mini-table th, .schedule th { font-size: .76rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.mini-table tr.current td { background: var(--accent-soft); font-weight: 600; }
.schedule { margin-top: 18px; }
.schedule summary { cursor: pointer; font-weight: 500; font-size: .9rem; color: var(--accent); }
.table-scroll { max-height: 380px; overflow: auto; margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; }
.schedule th { position: sticky; top: 0; background: var(--surface); }
.schedule td:not(:first-child), .schedule th:not(:first-child) { text-align: right; }

/* Makro dağılımı */
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw.s1, .macro-bar .s1, .bar.s1 { background: var(--series-1); fill: var(--series-1); }
.sw.s2, .macro-bar .s2, .bar.s2 { background: var(--series-2); fill: var(--series-2); }
.sw.s3, .macro-bar .s3, .bar.s3 { background: var(--series-3); fill: var(--series-3); }
.macro-bar { display: flex; gap: 2px; height: 14px; }
.macro-bar span:first-child { border-radius: 4px 0 0 4px; }
.macro-bar span:last-child { border-radius: 0 4px 4px 0; }
.macro-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.macro-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.macro-list b { font-weight: 500; }
.macro-list span { font-weight: 600; font-variant-numeric: tabular-nums; }
.macro-list small { grid-column: 2 / -1; color: var(--muted); font-size: .8rem; }

/* Uyku saatleri */
.time-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.time-list li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; background: var(--bg); }
.time-list b { font-family: var(--font-display); font-size: 1.8rem; font-weight: 650; font-variant-numeric: tabular-nums; min-width: 92px; }
.time-list span { color: var(--ink-2); font-size: .9rem; }
.time-list em { margin-left: auto; font-style: normal; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.time-list li.best { box-shadow: inset 0 0 0 1px var(--accent); }

/* ============ Grafik ============ */
.chart { position: relative; }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--ink-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-plot .grid { stroke: var(--grid); stroke-width: 1; }
.chart-plot .axis { stroke: var(--axis); stroke-width: 1; }
.chart-plot .tick { fill: var(--muted); font-size: 11px; font-family: var(--font-ui); font-variant-numeric: tabular-nums; }
.chart-plot .hit { fill: transparent; cursor: pointer; }
.chart-plot .hit.on { fill: color-mix(in srgb, var(--ink) 5%, transparent); }
.chart-tip {
  position: absolute; top: 34px; transform: translateX(-50%); z-index: 5; pointer-events: none;
  min-width: 170px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: .82rem; display: grid; gap: 4px;
}
.chart-tip b { font-weight: 600; margin-bottom: 2px; }
.chart-tip span { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.chart-tip em { margin-left: auto; padding-left: 12px; font-style: normal; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.chart-tip .total { border-top: 1px solid var(--line); padding-top: 4px; margin-top: 2px; }
.chart-table { max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.chart-table table { width: 100%; border-collapse: collapse; font-size: .85rem; font-variant-numeric: tabular-nums; }
.chart-table th, .chart-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.chart-table th:first-child, .chart-table td:first-child { text-align: left; }
.chart-table th { position: sticky; top: 0; background: var(--surface); font-size: .76rem; color: var(--muted); }
@media (forced-colors: active) {
  /* Yüksek karşıtlık modunda renkler kaybolur; segmentleri kenar çizgisiyle ayır */
  .bar { stroke: CanvasText; stroke-width: 1; }
}

/* ============ Dil seçici ve çeviri notu ============ */
.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; }
.lang-select { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 8px 0 10px; border-radius: 999px; color: var(--ink-2); cursor: pointer; }
.lang-select:hover, .lang-select:focus-within { background: var(--surface-2); color: var(--ink); }
.lang-select select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: inherit;
  font-size: .85rem; font-weight: 600; cursor: pointer; padding: 0 14px 0 0; outline: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 4px center, right 0 center; background-size: 4px 4px; background-repeat: no-repeat;
  max-width: 7.5em;
}
.lang-select select option { color: var(--ink); background: var(--surface); }
.translation-note { margin: 0 0 24px; padding: 10px 14px; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); font-size: .88rem; }
.translation-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 480px) {
  .lang-select select { max-width: 2.6em; } /* dar ekranda yalnızca "TR" görünsün */
}

/* ============ Yönetim: çeviriler ============ */
.translations { margin-top: 32px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tr-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tr-head h2 { margin: 0; font-size: 1.15rem; }
.tr-head .muted { font-size: .85rem; }
.tr-head .btn { margin-left: auto; }
.tr-help { font-size: .85rem; margin: 8px 0 4px; }
.tr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.tr-row:first-of-type { border-top: 0; }
.tr-info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.tr-info small { flex-basis: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-edit { grid-column: 1 / -1; display: grid; gap: 12px; padding: 14px; border-radius: 12px; background: var(--bg); }
.md-mono { font-family: var(--font-mono); font-size: .88rem; }
.badge.auto { background: color-mix(in srgb, var(--series-1) 15%, transparent); color: var(--series-1); }
.badge.stale { background: color-mix(in srgb, var(--status-warning) 22%, transparent); color: var(--ink); }
@media (max-width: 600px) { .tr-row { grid-template-columns: 1fr; } }

.lang-badge { display: inline-flex; align-items: center; margin: 0 0 8px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--muted); border: 1px dashed var(--line); vertical-align: top; }
.post-card .cat-chip + .lang-badge { margin-left: 6px; }

/* ============ Sesli dinleme ============ */
.listen { margin: 40px 0 0; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.listen.is-playing { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.listen-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink-2); }
.listen-head b { color: var(--ink); font-weight: 600; }
.listen-controls { display: flex; align-items: center; gap: 8px; }
.listen-play {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); transition: transform .1s, filter .15s;
}
.listen-play:hover { filter: brightness(1.07); }
.listen-play:active { transform: scale(.96); }
.listen-play:disabled { opacity: .45; cursor: not-allowed; }
.listen-btn { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.listen-btn:hover { color: var(--ink); border-color: var(--muted); }
.listen-progress { flex: 1; min-width: 60px; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-left: 6px; }
.listen-progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .3s; }
.listen-count { font-size: .8rem; font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }
.listen-options { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--muted); }
.listen-options label { display: inline-flex; align-items: center; gap: 6px; }
.listen-options select { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 8px; padding: 3px 6px; font-size: .85rem; max-width: 220px; }
.listen-note { margin: 0; font-size: .85rem; color: var(--ink-2); }
.listen.listen-off { grid-template-columns: auto 1fr; align-items: center; color: var(--muted); font-size: .9rem; }
.listen.listen-off .listen-controls, .listen.listen-off .listen-options { display: none; }
.listen.listen-off .listen-head { grid-column: 1 / -1; }
.listen-jump { border: 0; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .8rem; padding: 3px 10px; border-radius: 999px; cursor: pointer; }
.listen-jump:hover { filter: brightness(.97); }
.prose .speaking { background: var(--accent-soft); border-radius: 6px; box-shadow: 0 0 0 6px var(--accent-soft); transition: background .3s, box-shadow .3s; }

.listen-offer { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); display: grid; gap: 10px; }
.listen-offer p { margin: 0; font-size: .88rem; color: var(--ink); }
.listen-play .spinner { animation: spin .7s linear infinite; }
