/* Yazı tipleri kendi sunucumuzdan (15.10.2026): Google Fonts'a istek gitmez, ziyaretçinin IP'si üçüncü
   tarafa aktarılmaz. Sora ve DM Sans, SIL Open Font License (fonts/OFL-*.txt). */
@font-face { font-family: 'Sora'; src: url("fonts/Sora.67f16b0da16d.ttf") format('truetype'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url("fonts/DMSans.09d1eaa1672d.ttf") format('truetype'); font-weight: 100 1000; font-display: swap; }
/* Kullanıcı paneli: "banka uygulaması" tasarımı (design/ornek-uygulama.html, 2026-10-10 seçildi).
   Koyu zemin, tek parlak vurgu (fosforlu yeşil), büyük rakamlı yuvarlak köşeli kartlar;
   telefonda altta sabit menü. Sınıf adları panel.js'in ürettikleriyle aynıdır. */
/* Koyu palet. Açık temada not/yüzdelik kartı da bu paleti kullanır (sitenin güçlü yüzü koyu kalır). */
:root, :root[data-theme="light"] .grade-card {
  --bg: #0A0D12;
  --surface: #121821;
  --surface-2: #18202B;
  --line: #222C39;
  --line-2: #2C3846;
  --bw: 2.5px; /* çerçeve kalınlığı: koyu temada kalın (16.10), açıkta 1px */
  --ink: #EAF0F6;
  --muted: #8C99AA;
  --body-muted: #A7B3C2;
  --accent: #C6F432;
  --accent-ink: #11160A;
  --accent-fill: #C6F432;
  --accent-soft: rgba(198, 244, 50, 0.14);
  --red: #FF6B6B;
  --red-soft: rgba(255, 107, 107, 0.14);
  --amber: #FFB547;
  --display: 'Sora', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  /* Vurgu tonları (koyu tema) */
  --glow: #1B2A12;
  --tint-1: #1A2410;
  --tint-2: #1F2A0C;
  --tint-3: #2A3420;
  --tint-line: #2E3B16;
  --accent-line: #3F5418;
  --placeholder: #3A4656;
  --amber-soft: #2A2210;
  --amber-line: #3A2F12;
  --red-line: #5A2626;
  --glass: rgba(18, 24, 33, .94);
  --danger-ink: #2A0A0A;
  --veil-1: rgba(10, 13, 18, .18);
  --veil-2: rgba(10, 13, 18, .60);
  color-scheme: dark;
}
/* Gündüz (açık) tema: sistem açık temadaysa ya da kullanıcı üstteki düğmeyle seçtiyse (theme.js, data-theme).
   Fosforlu yeşil beyaz zeminde okunmadığı için vurgu koyu yeşile döner. */
:root[data-theme="light"] {
  --bg: #E3E8ED;
  --surface: #FFFFFF;
  --surface-2: #EDF1F5;
  --line: #CBD4DE;
  --line-2: #B4C0CD;
  --bw: 1px;
  --ink: #0A1018;
  --muted: #4C5969;
  --body-muted: #364352;
  --accent: #2E5C00;
  --accent-fill: #C6F432;
  --accent-ink: #11160A;
  --accent-soft: rgba(150, 200, 20, 0.22);
  --red: #C62828;
  --red-soft: rgba(198, 40, 40, 0.10);
  --amber: #A15C00;
  --glow: #D2E9A0;
  --tint-1: #EFF7DF;
  --tint-2: #EAF5D3;
  --tint-3: #E2F0C8;
  --tint-line: #BCD88A;
  --accent-line: #9FC45E;
  --placeholder: #9AA6B3;
  --amber-soft: #FFEFD0;
  --amber-line: #EBC780;
  --red-line: #EBA3A3;
  --glass: rgba(255, 255, 255, .94);
  --danger-ink: #FFFFFF;
  --veil-1: rgba(227, 232, 237, .20);
  --veil-2: rgba(227, 232, 237, .68);
  color-scheme: light;
}
/* Koyu kart açık zeminde: yazı rengi de koyu paletten, kartın kendi gölgesiyle öne çıkar. */
:root[data-theme="light"] .grade-card { color: var(--ink); color-scheme: dark; box-shadow: 0 18px 40px rgba(10, 16, 24, .22); }
:root[data-theme="light"] .card, :root[data-theme="light"] .hero-left { box-shadow: 0 1px 2px rgba(10, 16, 24, .06), 0 8px 24px rgba(10, 16, 24, .06); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; color: var(--ink); font-family: var(--body); line-height: 1.5; min-height: 100vh;
  background: radial-gradient(1200px 600px at 85% -10%, var(--glow) 0%, transparent 60%), var(--bg); background-color: var(--bg); }
button { font-family: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; }
p { margin: 0; }
a { color: var(--accent); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.body-muted { font-size: 14px; color: var(--body-muted); }
.stack-4 { display: flex; flex-direction: column; gap: 4px; }
.stack-6 { display: flex; flex-direction: column; gap: 6px; }
.stack-10 { display: flex; flex-direction: column; gap: 10px; }
.card { background: var(--surface); border: var(--bw) solid var(--line); border-radius: 24px; padding: 24px; }
.card-title { font-size: 14px; font-weight: 500; color: var(--muted); }

/* Üst çubuk */
.top { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.top-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.demo-notice { background: var(--amber-soft); color: var(--amber); font-size: 13px; font-weight: 600; text-align: center; padding: 8px 16px; border-bottom: 1px solid var(--amber-line); }

/* Düğmeler */
.pill-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; border: 0; }
.pill-btn.dark { background: var(--accent-fill); color: var(--accent-ink); }
.pill-btn.light { background: var(--ink); color: var(--bg); }
.pill-btn.ghost { border: var(--bw) solid var(--line-2); color: var(--ink); background: transparent; }
.pill-btn.outline { background: var(--surface-2); color: var(--ink); border: var(--bw) solid var(--line); }
.login-btn { min-height: 38px; padding: 0 16px; }

/* Giriş: maaş kutusu ve not kartı */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; margin-top: 12px; align-items: stretch; }
.hero-left { min-width: 0; display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 24px; padding: 28px; }
.hero-text { display: flex; flex-direction: column; gap: 12px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
/* Ana başlık iki satır (16.10): "Kazancın gerçekte / ne kadar?"; ikinci parça bölünmez. */
.hero-text h1 { font-size: clamp(30px, 3.9vw, 46px); text-wrap: balance; }
.nobr { white-space: nowrap; }
.lead { font-size: 16px; color: var(--body-muted); max-width: 560px; }
.input-card { display: flex; flex-direction: column; gap: 14px; background: transparent; border: 0; padding: 0; }
.field { display: flex; flex-direction: column; gap: 4px; background: var(--bg); border: var(--bw) solid var(--line); border-radius: 18px; padding: 12px 18px; }
.field:focus-within { border-color: var(--accent); }
.field label { font-size: 12px; font-weight: 500; color: var(--muted); }
.salary-box { display: flex; align-items: baseline; gap: 12px; }
.salary-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--display); font-weight: 700; font-size: 40px; padding: 2px 0; color: var(--ink); }
.salary-box input::placeholder { color: var(--placeholder); }
.salary-unit { font-weight: 700; color: var(--muted); font-size: 15px; }
/* Kazanç alanındaki sil düğmesi: yalnızca alan doluyken görünür; tıklayınca alan boşalır, imleç alanda kalır. */
.salary-clear { align-self: center; flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border-radius: 50%; border: 0; background: var(--surface-2); color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.salary-clear:hover, .salary-clear:focus-visible { background: var(--red-soft); color: var(--red); }
.salary-clear[hidden] { display: none; }
.privacy { font-size: 12.5px; color: var(--muted); }
.privacy::before { content: "🔒 "; }

.grade-card { min-width: 0; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 20px;
  background: linear-gradient(160deg, var(--tint-1) 0%, var(--surface) 55%); border: var(--bw) solid var(--line); }
.grade-row { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
/* Not ve Türkiye geneli yüzdelik: eşit büyüklükte iki halka (14.10.2026 kararı). */
.grade-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; justify-items: center; }
.ring-unit { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.ring-unit[hidden] { display: none; }
.rank-region { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--amber); }
/* Sonucun iyiliğine göre renk (household.js:gradeTone/rankTone): yeşil iyi, turuncu orta, kırmızı düşük. */
.ring-fill.tone-good { stroke: var(--accent); }
.ring-fill.tone-mid { stroke: var(--amber); }
.ring-fill.tone-low { stroke: var(--red); }
.rank-region.tone-good { color: var(--accent); }
.rank-region.tone-mid { color: var(--amber); }
.rank-region.tone-low { color: var(--red); }
.shared-grade.tone-good { background: var(--accent-fill); color: var(--accent-ink); }
.shared-grade.tone-mid { background: var(--amber); color: #1A1305; }
.shared-grade.tone-low { background: var(--red); color: var(--danger-ink); }
.rank-region[hidden] { display: none; }
.household { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.household legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.household legend .muted { font-weight: 500; margin-left: 4px; }
.household-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.household .field { padding: 8px 14px; gap: 2px; min-width: 0; }
.household .field > span:first-child { font-size: 12px; font-weight: 500; color: var(--muted); }
.household select.input { min-height: 36px; font-weight: 700; }
.salary-box.small-box input { font-size: 20px; }
/* Ana maaş kutusu çerçeveyle öne çıkar (ilk bakışta "buraya yaz"); odaklanınca vurgu kalınlaşır. */
.salary-box:not(.small-box) { border: 2px solid var(--accent); border-radius: 18px; padding: 6px 18px; background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); transition: box-shadow .15s ease; }
.salary-box:not(.small-box):focus-within { box-shadow: 0 0 0 6px var(--accent-soft); }
.pill-btn.is-idle { color: var(--muted); border-color: var(--line); }
.pill-btn.is-idle:hover { color: var(--body-muted); }
.household p { margin: 0; }
.household, .grade-pair { position: relative; }
.legend-row, .rank-name-row { display: inline-flex; align-items: center; gap: 8px; }
/* Baloncuklar kartın içine doğru açılır: hane soldan sağa, yüzdelik sağdan sola (sayfa yana taşmasın). */
.legend-row .info-pop > .tip { z-index: 30; left: 0; transform: none; }
.rank-name-row .info-pop > .tip { z-index: 30; left: auto; right: 0; transform: none; }
@media (max-width: 640px) {
  .legend-row .info-pop > .tip, .rank-name-row .info-pop > .tip { left: 0; right: auto; width: 100%; }
}
#rank-name { font-size: 16px; font-weight: 600; color: var(--body-muted); }
#rank-name:empty::before { content: "Türkiye'deki yerin"; color: var(--muted); }
.household select:invalid { color: var(--muted); }
.choices-note { margin: 0; }
.share-card { margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.share-card[hidden] { display: none; }
.share-card img { width: 100%; height: auto; border-radius: 14px; border: var(--bw) solid var(--line); background: var(--bg); }
.share-card figcaption { margin: 0; }
/* Eksik zorunlu alan: "Analiz et"e basınca işaretlenir (panel.js markMissing). */
.field.is-invalid { border-color: var(--red); background: var(--red-soft); }
.field.is-invalid > span:first-child::after, .field.is-invalid > label::after { content: " · Zorunlu alan"; color: var(--red); font-weight: 700; }
#salary-fmt:not(:empty), #household-fmt:not(:empty) { color: var(--red); font-weight: 600; }
.choices-note .link-like { font-size: inherit; }
@media (max-width: 420px) { .profile .household-row { grid-template-columns: 1fr; } }
.ring { position: relative; width: 168px; height: 168px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--line); stroke-width: 14; }
.ring-fill { fill: none; stroke: var(--accent); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 452.4; stroke-dashoffset: 452.4; transition: stroke-dashoffset .8s ease; }
.ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-in small { font-size: 12px; color: var(--muted); }
.grade-title { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.grade-side { min-width: 0; flex: 1; }
.grade-name { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.25; }
.grade-name:empty::before { content: "Notun burada görünür"; color: var(--muted); }
.bar-labels { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.bar-labels span:last-child { text-align: right; }
.grade-msg { font-size: 15px; font-weight: 500; line-height: 1.45; background: var(--bg); border-radius: 14px; padding: 12px 14px; color: var(--body-muted); }
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rung { min-width: 0; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 1px; background: var(--bg); border: var(--bw) solid var(--line); }
.rung.passed { border-color: var(--accent-line); }
.rung.active { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); }
.rung-name { font-size: 11.5px; font-weight: 500; opacity: 0.8; line-height: 1.25; }
.rung-letter { font-family: var(--display); font-weight: 800; font-size: 22px; }
.rung-cost { font-size: 12px; font-weight: 600; }
.grade-foot { border-top: 1px solid var(--line); padding-top: 14px; font-size: 12.5px; color: var(--muted); }
.share-links { display: flex; flex-wrap: wrap; gap: 10px; }
.on-dark-muted { color: var(--muted); }
.label { font-size: 14px; font-weight: 600; }

/* Analiz et */
.analyze-btn { width: 100%; min-height: 54px; font-family: var(--display); font-size: 17px; border-radius: 16px; }
.analyze-btn:disabled { opacity: .4; cursor: default; }
.analysis { display: grid; gap: 12px; padding: 2px; }
.analysis-title { font-size: 13px; font-weight: 700; color: var(--accent); }
.analysis-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.analysis-bar i { display: block; height: 100%; width: 0; background: var(--accent-fill); transition: width .6s ease; }
.analysis-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.analysis-steps li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.analysis-steps li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; box-sizing: border-box; }
.analysis-steps li.active { color: var(--ink); font-weight: 600; }
.analysis-steps li.active::before { border-color: var(--accent); border-right-color: transparent; animation: spin .7s linear infinite; }
.analysis-steps li.done { color: var(--ink); }
.analysis-steps li.done::before { content: "✓"; border: 0; background: var(--accent-fill); color: var(--accent-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.analysis[hidden], .results[hidden] { display: none; }
.results.stale, .grade-card.stale { opacity: .4; transition: opacity .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .analysis-bar i, .ring-fill { transition: none; }
  .analysis-steps li.active::before { animation: none; }
}

/* Bölümler ve kartlar */
.block { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.block-head { display: flex; flex-direction: column; gap: 6px; }
h2 { font-size: 28px; letter-spacing: -0.02em; }
.block-head p { color: var(--body-muted); font-size: 15px; max-width: 760px; }
.block-head p.wide { max-width: none; }
.coming-soon-content { position: relative; isolation: isolate; border-radius: 24px; }
.coming-soon-content::before { content: ""; position: absolute; z-index: 1; inset: 0; border: var(--bw) solid var(--accent-line); border-radius: inherit; background: linear-gradient(135deg, var(--veil-1), var(--veil-2)); pointer-events: none; }
.coming-soon-content { max-height: 190px; overflow: hidden; }
.coming-soon-content > :not(.coming-soon-badge) { opacity: .5; filter: blur(4px) saturate(.72); user-select: none; }
.coming-soon-badge { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; gap: 9px; width: max-content; height: max-content; margin: auto; padding: 11px 18px; border: var(--bw) solid var(--accent-line); border-radius: 999px; background: var(--glass); box-shadow: 0 10px 35px rgba(0, 0, 0, .3), 0 0 28px rgba(198, 244, 50, .08); color: var(--accent); font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: .01em; pointer-events: none; }
.coming-soon-badge span { font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; align-items: stretch; }
.stat-card { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.stat-compared { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat-value { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; }
.stat-value.up { color: var(--accent); }
.stat-value.down { color: var(--red); }
.stat-phrase { font-size: 15px; font-weight: 500; color: var(--body-muted); }
.stat-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: auto; padding-top: 10px; }
.pill { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: var(--accent-soft); color: var(--accent); }
.pill.down { background: var(--red-soft); color: var(--red); }
.pill.flat { background: var(--surface-2); color: var(--body-muted); }
.stat-threshold { font-size: 15px; font-weight: 600; color: var(--ink); }
/* Başlık yanındaki "i" açıklaması: üzerine gelince ya da dokununca (odak) açılır. */
.head-row { display: flex; align-items: center; gap: 10px; }
.info-tip { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; border: var(--bw) solid var(--line-2); background: var(--surface-2); color: var(--body-muted); font: 700 13px/1 var(--display); cursor: help; }
.info-tip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.info-tip .tip, .info-pop > .tip { position: absolute; z-index: 20; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(360px, calc(100vw - 32px)); padding: 12px 14px; border: var(--bw) solid var(--line-2); border-radius: 14px; background: var(--surface); box-shadow: 0 10px 30px rgba(0,0,0,.3); color: var(--body-muted); font: 400 13.5px/1.5 var(--body); text-align: left; visibility: hidden; opacity: 0; transition: opacity .15s; pointer-events: none; }
.info-tip:hover .tip, .info-tip:focus .tip { visibility: visible; opacity: 1; }
/* İçinde bağlantı olan baloncuk (14.10.2026): baloncuk düğmenin kardeşidir; fareyle üzerine gelinip
   bağlantıya tıklanabilir, dokunmatik ekranda düğmeye dokununca açık kalır (panel.js infoPops). */
.info-pop { position: relative; display: inline-flex; }
.info-pop:hover > .tip, .info-pop:focus-within > .tip, .info-pop.open > .tip { visibility: visible; opacity: 1; pointer-events: auto; }
.info-pop > .tip::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.info-pop > .tip a { color: var(--accent); font-weight: 600; }
/* Dar ekranda balon başlık satırının tam genişliğine yayılır, ekrandan taşmaz. */
.head-row { position: relative; }
@media (max-width: 640px) { .info-tip, .info-pop { position: static; } .info-tip .tip, .info-pop > .tip { left: 0; width: 100%; transform: none; box-sizing: border-box; } }
.stat-note { font-size: 12.5px; color: var(--muted); }
.est { font-size: 12px; font-weight: 700; color: var(--amber); }
.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.input { width: 100%; min-height: 44px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; }
.input option { background: var(--surface); color: var(--ink); }
.money-input { font-family: var(--display); font-weight: 700; }
.personalize-card { display: grid; gap: 18px; }
.personalize-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.personalize-grid .field { min-width: 0; }
.change-input-card { display: grid; gap: 12px; max-width: 780px; }
.change-period { justify-content: center; }
.change-period b { font-family: var(--display); font-size: 20px; }
.raise-card { display: grid; gap: 14px; }
.raise-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.raise-head output { color: var(--accent); font-family: var(--display); font-size: 28px; font-weight: 800; }
#raise-slider { width: 100%; accent-color: var(--accent); min-height: 34px; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.raise-result-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.personal-basket-card { display: grid; gap: 18px; }
.personal-weight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.personal-weight-field { min-width: 0; }
.personal-weight-field input { font-family: var(--display); font-weight: 700; }
.personal-basket-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; padding-top: 4px; border-top: 1px solid var(--line); }
.personal-weight-status { font-size: 13px; color: var(--muted); }
.personal-weight-status.valid { color: var(--accent); }
.personal-weight-status.invalid { color: var(--amber); }
.personal-basket-actions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.personal-basket-actions .pill-btn { min-height: 40px; }
.personal-basket-actions .pill-btn:disabled { opacity: .4; cursor: default; }
.burden-low { color: var(--accent); }
.burden-medium { color: var(--amber); }
.burden-high { color: var(--red); }
.burden-none { color: var(--body-muted); }
.sub-head { margin: 10px 0 0; font-family: var(--display); font-size: 18px; font-weight: 600; }
.grade-move { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.grade-small { font-family: var(--display); font-weight: 800; font-size: 32px; }
.arrow { font-size: 20px; font-weight: 700; color: var(--muted); }

/* Sekmeler ve sepet tablosu */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
#basket-tabs { margin: 8px 0 4px; }
.tab { min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; border: var(--bw) solid var(--line-2); background: var(--surface); color: var(--ink); }
.tab:hover { border-color: var(--accent); }
.tab[aria-pressed="true"] { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); }
.table-card { padding: 8px 24px 20px; overflow-x: auto; }
.basket-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.basket-table th { padding: 14px 0 10px; border-bottom: 1px solid var(--line-2); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: right; }
.basket-table td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: right; }
.basket-table th:first-child, .basket-table td:first-child { text-align: left; font-weight: 600; }
.basket-table td:last-child { font-family: var(--display); font-weight: 700; }
.anchor-count { margin: 4px 0 0; }
.anchor-table tr.anchor-cat { cursor: pointer; }
.anchor-table tr.anchor-cat td { font-weight: 700; }
.anchor-table tr.anchor-cat td:first-child::before { content: "▸"; display: inline-block; width: 18px; color: var(--accent); transition: transform .15s; }
.anchor-table tr.anchor-cat[aria-expanded="true"] td:first-child::before { transform: rotate(90deg); }
.anchor-table tr.anchor-cat:hover td, .anchor-table tr.anchor-cat:focus-visible td { background: var(--surface-2); }
.anchor-table tr.anchor-item td { font-size: 14px; color: var(--body-muted); }
.anchor-table tr.anchor-item td:first-child { padding-left: 18px; font-weight: 500; }
.anchor-table .pct.up { color: var(--accent); }
.anchor-table .pct.down { color: var(--red); }
.basket-table tr.waiting td { color: var(--muted); font-weight: 500; }
.basket-table tr.cat-row td { text-align: left; font-weight: 700; color: var(--muted); font-size: 13px; padding-top: 22px; }
.unit { font-weight: 400; color: var(--muted); }
.table-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 16px; }
.table-head-info { padding: 16px 0 6px; }
.totals { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.totals b { font-family: var(--display); color: var(--accent); font-size: 18px; }
.more-btn { display: block; width: 100%; margin-top: 14px; min-height: 46px; border-radius: 14px; border: var(--bw) solid var(--line-2);
  background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: 15px; }
.more-btn:hover { border-color: var(--accent); color: var(--accent); }
.more-btn[hidden] { display: none; }

/* Üyelik */
.member-hook { font-size: 14px; color: var(--muted); }
.member-hook a { color: var(--accent); font-weight: 700; }
.member-tag { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--accent-soft); color: var(--accent); }
.member-card .member-tag { align-self: flex-start; font-size: 14px; }
.waitlist-card { display: grid; gap: 12px; max-width: 640px; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist-row input { flex: 1 1 240px; min-height: 46px; border: var(--bw) solid var(--line-2); border-radius: 999px; padding: 0 18px; font: inherit; background: var(--bg); color: var(--ink); }
.waitlist-row input:focus { outline: 0; border-color: var(--accent); }
.check { display: flex; gap: 8px; align-items: flex-start; color: var(--body-muted); }
.check input { accent-color: var(--accent); margin-top: 3px; }

/* Öne çıkan sepet (ör. Fast Food Sepeti) */
.promo { margin: 48px 0 0; border-radius: 28px; padding: 26px; display: grid; grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2fr); gap: 22px;
  background: linear-gradient(135deg, var(--tint-2) 0%, var(--surface) 62%); border: var(--bw) solid var(--tint-line); }
.promo-head { display: flex; flex-direction: column; gap: 10px; }
.promo-tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; background: var(--accent-fill); color: var(--accent-ink); border-radius: 999px; padding: 4px 11px; }
.promo h2 { font-size: 32px; line-height: 1.1; }
.promo-lead { font-size: 15px; color: var(--body-muted); }
.promo-total { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.promo-total-label { font-size: 13px; color: var(--muted); }
.promo-total-value { font-family: var(--display); font-weight: 800; font-size: 42px; line-height: 1.05; letter-spacing: -0.02em; }
.promo-fit-total { font-size: 15px; font-weight: 700; color: var(--accent); }
.promo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.promo-card { background: var(--surface-2); border: var(--bw) solid var(--line); border-radius: 20px; overflow: visible; display: flex; flex-direction: column; }
.promo-img { height: 170px; display: flex; align-items: center; justify-content: center; padding: 12px; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, var(--tint-3) 0%, var(--surface-2) 70%); }
.promo-img img { width: 100%; height: 100%; object-fit: contain; }
/* 17.10: kart artık taşmaya açık (fiyat kırılımı balonu kesilmesin); görsel köşesi ayrıca yuvarlanır. */
.promo-img { border-radius: 19px 19px 0 0; }
.promo-img-empty { font-size: 56px; line-height: 1; opacity: .85; }
.promo-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.promo-card .info-pop > .tip { left: auto; right: -6px; transform: none; }
@media (max-width: 600px) {  /* telefonda kart dar: kırılım alt menünün üstünde tam genişlik açılır */
  .promo-card .info-pop > .tip { position: fixed; left: 16px; right: 16px; top: auto; bottom: 96px; width: auto; z-index: 70; }
}
.promo-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.promo-brand { font-size: 13px; color: var(--muted); }
.promo-title { margin: 0; font-family: var(--body); font-weight: 700; font-size: 17px; line-height: 1.3; }
.promo-price { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; }
.promo-price span { font-size: 15px; color: var(--muted); font-weight: 600; }
.promo-fit { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--muted); }
.promo-fit.on { color: var(--accent); font-weight: 700; }
.promo-fit b { font-family: var(--display); font-size: 17px; }
.promo-foot { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }

/* Paylaşım */
.share-empty { margin: 0; padding: 18px 20px; border: var(--bw) dashed var(--line-2); border-radius: 20px; color: var(--muted); font-weight: 600; }
.share-empty a { color: var(--accent); }
.share-panel { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.share-panel[hidden], .share-box[hidden], .share-empty[hidden], #share-opts[hidden] { display: none; }
/* Aç/kapa anahtarı: yazı kutusuna benzemesin diye çerçevesiz satır + sağda anahtar. */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 4px 0;
  border: 0; background: none; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.switch-track { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--line-2); transition: background .2s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .2s; }
.switch[aria-checked="true"] .switch-track { background: var(--accent-fill); }
.switch[aria-checked="true"] .switch-track::after { transform: translateX(20px); background: var(--bg); }
.switch:focus { outline: none; }
.switch:focus-visible .switch-track { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .switch-track, .switch-track::after { transition: none; } }
.share-box { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: var(--bw) solid var(--line-2); border-radius: 18px; background: var(--bg); }
.share-link-row { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.share-link { flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-btn.small { padding: 8px 14px; font-size: 13px; min-height: 0; flex: none; }
.share-warn { font-size: 13px; font-weight: 600; color: var(--muted); }
.share-warn.alert { color: var(--amber); }
.shared-banner { margin-top: 12px; display: flex; align-items: center; gap: 18px; background: var(--surface); border: var(--bw) solid var(--tint-line); border-radius: 20px; padding: 16px 20px; }
.shared-own { margin-left: auto; flex: none; }
.shared-own[hidden] { display: none; }
.shared-banner > .stack-4 { flex: 1 1 0; min-width: 0; }
@media (max-width: 640px) { .shared-banner { flex-wrap: wrap; } .shared-own { margin-left: 0; width: 100%; } }
.shared-grade.rank { font-size: 20px; line-height: 1; flex-direction: column; display: flex; align-items: center; justify-content: center; }
.shared-grade.rank small { font-size: 11px; font-weight: 700; }
.shared-grade { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-fill); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 28px; }

/* Yöntem sayfası */
.method { max-width: 860px; margin-top: 12px; }
.method .block p, .steps-list { font-size: 16px; color: var(--body-muted); }
.method .block { background: var(--surface); border: var(--bw) solid var(--line); border-radius: 24px; padding: 24px; margin-top: 16px; gap: 12px; }
.method > .hero-text { padding: 12px 0 4px; }
.steps-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps-list b { color: var(--ink); }
.method .pill-btn { margin-top: 20px; }

/* Alt bilgi */
.foot { margin-top: 56px; margin-bottom: 40px; border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }

/* Telefonda alt menü */
.tabbar { display: none; }
@media (max-width: 820px) {
  .hero, .promo { grid-template-columns: minmax(0, 1fr); }
  .ring { width: 136px; height: 136px; }
  .grade-pair { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grade-pair .grade-title { font-size: 44px; }
  .grade-pair .grade-name { font-size: 16px; }
  .grade-pair #rank-name { font-size: 13px; }
  .ladder { gap: 6px; }
  .rung { padding: 8px; }
  .rung-name { font-size: 10.5px; }
  .tabbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10; justify-content: space-around;
    background: var(--surface); border: var(--bw) solid var(--line); border-radius: 20px; padding: 8px 6px; }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; min-width: 64px; padding: 4px; }
  .tabbar a span { font-size: 16px; }
  .tabbar a:active { color: var(--accent); }
  .foot { margin-bottom: 104px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero-left, .grade-card, .card { padding: 20px; border-radius: 20px; }
  .salary-box input { font-size: 34px; }
  h2 { font-size: 24px; }
  .stat-value { font-size: 30px; }
  .promo { padding: 18px; border-radius: 22px; }
  .promo h2 { font-size: 28px; }
  .promo-cards { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
  .promo-img { height: 120px; }
  .promo-price { font-size: 22px; }
  .table-card { padding: 4px 16px 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .personalize-head { align-items: flex-start; flex-direction: column; }
  .raise-result-cards { grid-template-columns: 1fr; }
  .personal-weight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-basket-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
  .personal-weight-grid { grid-template-columns: 1fr; }
}

/* Bildirimler */
.flash-list { display: grid; gap: 8px; margin: 4px 0 12px; }
.flash { border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: 14px; background: var(--accent-soft); color: var(--accent); border: var(--bw) solid var(--accent-line); }
.flash.error { background: var(--red-soft); color: var(--red); border-color: var(--red-line); }
.flash.info { background: var(--surface-2); color: var(--ink); border-color: var(--line); }

/* Üyelik sayfaları */
.member-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.member-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.anchor-card { display: flex; flex-direction: column; gap: 16px; }
.anchor-city-select { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.anchor-city-select label { font-weight: 700; }
.anchor-city-select select { width: auto; min-width: 200px; }
.anchor-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.anchor-summary { padding: 12px 14px; border-radius: 14px; background: var(--bg); color: var(--body-muted); }
.feedback-card { max-width: 780px; margin-inline: auto; }
#oneri .block-head { text-align: center; }
#oneri .head-row { justify-content: center; }
#oneri .block-head p { margin-inline: auto; }
.feedback-actions { justify-content: center; }
.feedback-form { display: grid; gap: 14px; }
.feedback-form .field { background: var(--bg); }
.feedback-form textarea { resize: vertical; min-height: 110px; }
.feedback-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.auth { max-width: 520px; margin: 24px auto 0; display: grid; gap: 16px; }
.auth-card { background: var(--surface); border: var(--bw) solid var(--line); border-radius: 24px; padding: 28px; }
.auth-card.danger { border-color: var(--red-line); }
.auth-title { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 8px; }
.auth-sub { font-size: 20px; margin-bottom: 8px; }
.auth-lead { color: var(--body-muted); font-size: 15px; margin: 0 0 18px; }
.auth-form { display: grid; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.form-field input { min-height: 50px; border-radius: 14px; border: var(--bw) solid var(--line-2); background: var(--bg); color: var(--ink); padding: 0 16px; font: inherit; font-size: 16px; }
.form-field input:focus { outline: 0; border-color: var(--accent); }
.form-field.has-error input { border-color: var(--red); }
.form-error { color: var(--red); font-size: 13px; font-weight: 600; }
.form-alert { background: var(--red-soft); color: var(--red); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.form-check { font-size: 14px; }
.form-check a { color: var(--accent); }
.auth-btn { width: 100%; min-height: 52px; font-size: 16px; border-radius: 16px; }
.auth-alt { margin-top: 16px; font-size: 14px; color: var(--muted); }
/* Kod oluştur (16.10): kişiye özel kod büyük ve kopyalanabilir; unutma uyarısı sarı. */
.member-code-box { display: flex; flex-direction: column; gap: 6px; }
.member-code-box label { font-size: 13px; font-weight: 700; color: var(--muted); }
.member-code-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.member-code { flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 14px; border: var(--bw) solid var(--line-2);
  background: var(--bg); color: var(--accent); font: 800 22px/1 var(--display); letter-spacing: .08em; }
.form-alert.member-code-warn { background: var(--amber-soft); color: var(--ink); font-weight: 500; }
.auth-alt a { color: var(--accent); font-weight: 600; }
.link-like { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; font-size: 14px; }
.account-rows { display: grid; gap: 10px; margin: 6px 0 18px; }
.account-rows div { display: flex; justify-content: space-between; gap: 12px; background: var(--bg); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.account-rows .ok { color: var(--accent); }
.account-history { margin: 22px 0 4px; border-top: 1px solid var(--line); padding-top: 20px; }
.account-history-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.account-history-head .auth-sub { margin: 0; }
.account-history-table-wrap { overflow-x: auto; }
.account-history-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.account-history-table th { padding: 8px 0; border-bottom: 1px solid var(--line-2); text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.account-history-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.account-history-table td:nth-child(2) { font-family: var(--display); font-weight: 700; }
.account-history-table td:nth-child(3) { color: var(--accent); }
.account-history-empty { margin: 0; }
.account-who { margin: 0 0 4px; font-size: 14px; }
.account-who .ok { color: var(--accent); font-weight: 600; }
.grade-strip { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; padding: 0; }
.grade-strip li { display: grid; gap: 2px; justify-items: center; min-width: 74px; padding: 8px 10px; background: var(--bg); border: var(--bw) solid var(--line); border-radius: 14px; }
.grade-strip li b { font-family: var(--display); font-size: 22px; color: var(--accent); }
.grade-strip li.now { border-color: var(--accent); }
.grade-strip-note { margin: 0 0 14px; }
.account-dash { margin: 24px 0 0; display: grid; gap: 16px; }
.account-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.account-top .auth-title { margin-bottom: 4px; }
.account-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.account-kpi { display: grid; gap: 4px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 20px; padding: 18px 20px; }
.account-kpi b { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.account-kpi b.accent { color: var(--accent); }
.account-kpi b.down { color: var(--red); }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.account-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.account-grid .account-history-table-wrap { max-height: 360px; overflow: auto; }
.my-anchors { display: grid; gap: 10px; }
@media (max-width: 900px) {
  .account-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-grid, .account-grid.three { grid-template-columns: 1fr; }
}
.my-anchor { background: var(--bg); border: var(--bw) solid var(--line); border-radius: 16px; padding: 14px 16px; }
.my-anchor-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; }
.my-anchor-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.my-anchor-nums div { display: grid; gap: 2px; }
.my-anchor-nums b { font-family: var(--display); font-size: 17px; font-variant-numeric: tabular-nums; }
.my-anchor-nums b.down { color: var(--red); }
.my-anchor-nums b.up { color: var(--accent); }
.my-anchor-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.my-anchor-actions form { margin: 0; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.danger-btn { background: var(--red); color: var(--danger-ink); }
/* Market fiyatlarından üretilen büyük kategori sepetleri */
.market-basket-card { color: inherit; text-decoration: none; }
.market-basket-card:hover { transform: translateY(-2px); }
.market-basket-card .stat-value { font-variant-numeric: tabular-nums; }
/* Kategori adı kartın başlığıdır: soluk etiket yerine belirgin yazılır. */
.market-basket-card .card-title { font-family: var(--display); font-size: 21px; line-height: 1.25; font-weight: 700; color: var(--ink); }
/* Şehir seçimi: seçili şehir vurgulu bir hap içinde görünür. */
.city-filter { display: flex; flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
.block-head .city-filter { margin-top: 4px; }
.city-filter label { font-weight: 700; }
.city-filter select { width: auto; min-width: 190px; min-height: 40px; padding: 0 40px 0 16px; border: var(--bw) solid var(--accent); border-radius: 999px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C6F432' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--ink); font-weight: 700; appearance: none; -webkit-appearance: none; cursor: pointer; }
.city-filter select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.product-search { display: flex; align-items: center; gap: 8px; margin-top: 1.5rem; padding: 6px 6px 6px 16px; border: var(--bw) solid var(--line-2); border-radius: 999px; background: var(--surface); }
.product-search:focus-within { border-color: var(--accent); }
.product-search .input { flex: 1; min-width: 0; min-height: 36px; }
.product-search + p { margin: 8px 0 0; }
.market-basket-table .pct { font-weight: 700; font-variant-numeric: tabular-nums; }
.market-basket-table .pct.up { color: var(--accent); }
.market-basket-table .pct.down { color: var(--red); }
.market-basket-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--accent); font-size: 13px; font-weight: 700; }
.market-basket-detail { padding: 1.5rem 0 4rem; }
.market-basket-detail .block-head { margin-top: 1.5rem; }
.market-basket-table-wrap { overflow-x: auto; margin-top: 1.5rem; border: var(--bw) solid var(--line); border-radius: 14px; }
.market-basket-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.market-basket-table th, .market-basket-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.market-basket-table th:last-child, .market-basket-table td:last-child { text-align: right; white-space: nowrap; }
.market-basket-pagination { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; }
.market-basket-pagination a { padding: .55rem .85rem; border-radius: 999px; background: var(--surface); }
@media (max-width: 480px) { .market-basket-detail .cards { grid-template-columns: 1fr; } }
.consent-form { margin: 4px 0 16px; }
.tip-more { margin-left: 2px; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.tip-more:hover { text-decoration: underline; }
.info-tip .tip-p, .info-pop .tip-p { display: block; }
.info-tip .tip-p + .tip-p, .info-pop .tip-p + .tip-p { margin-top: 8px; }
/* Açılan balon, sonraki bölümlerin (ör. soluk "Çok yakında" alanı) üstünde kalsın. */
.block-head:has(.info-tip) { position: relative; z-index: 5; }
/* Açık baloncuk, sonra gelen bölümün başlığının (aynı z-index) altında kalmasın (15.10.2026). */
.block-head:has(.info-tip:hover), .block-head:has(.info-tip:focus-within), .block-head:has(.info-tip:focus),
.block-head:has(.info-pop:hover), .block-head:has(.info-pop:focus-within), .block-head:has(.info-pop.open) { z-index: 40; }
#anchor-reset[hidden] { display: none; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 10px; }
.foot-links a { color: var(--body-muted); text-decoration: none; }
.foot-copy { text-align: center; margin-top: 4px; }
.form-reset { align-self: center; margin-top: 2px; font-size: 14px; }
.form-reset[hidden] { display: none; }
/* Gelir girilmeden: gelir isteyen bölümde başlık + "Gelirinizi girin" kutusu, içerik gizli. */
.income-gate { display: none; }
.results.no-income [data-needs-income] > :not(.block-head):not(.income-gate) { display: none; }
.results.no-income .income-gate { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
  background: var(--surface); border: var(--bw) dashed var(--line-2); border-radius: 20px; padding: 18px 22px; }
.income-gate p { color: var(--body-muted); font-size: 15px; font-weight: 600; }
/* 50 ürünlük fiyat tablosu (Maaşınızın Geçen Aya Göre Alım Gücü) */
.items-table-card { padding: 8px 0; }
/* Alım gücü: iki özet ve ürün listesi tek çerçevede (16.10) */
.alim-card { padding: 0; overflow: hidden; }
.alim-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.alim-split > .stat-card { padding: 24px; }
.alim-split > .stat-card + .stat-card { border-left: 1px solid var(--line); }
.grade-change-card { margin-top: 14px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.grade-change-card .card-title { flex-basis: 100%; }
@media (max-width: 560px) { .alim-split > .stat-card + .stat-card { border-left: 0; border-top: 1px solid var(--line); } }
.alim-card > .items-table-card { border-top: 1px solid var(--line); }
.items-table-wrap { overflow-x: auto; }
.items-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.items-table th, .items-table td { padding: 9px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.items-table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.items-table .num { text-align: right; }
.items-table .items-cat th { padding-top: 16px; font-family: var(--display); font-size: 13px; color: var(--accent); border-bottom: 1px solid var(--line-2); }
.items-table .item-name { white-space: normal; }
.items-table .item-name small { display: block; font-size: 12px; }
.items-table .up-price { color: var(--red); font-weight: 700; }
.items-table .down-price { color: var(--accent); font-weight: 700; }
/* Kalite sepetleri */
.block[hidden] { display: none; }
.quality-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .quality-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .quality-cards { grid-template-columns: 1fr; } }
.quality-card { border-top: 4px solid var(--line-2); }
.quality-card.tier-1 { border-top-color: #8C99AA; }
.quality-card.tier-2 { border-top-color: var(--amber); }
.quality-card.tier-3 { border-top-color: var(--accent-fill); }
.quality-card.tier-4 { border-top-color: #A78BFA; }
.quality-card .up-price { color: var(--red); font-weight: 700; }
.quality-card .down-price { color: var(--accent); font-weight: 700; }
.quality-details { padding: 6px 0; }
.quality-details summary { cursor: pointer; padding: 10px 18px; font-weight: 700; }
.quality-table td small, .quality-table td span { display: block; }
.quality-table { table-layout: fixed; min-width: 640px; }
.quality-table th:first-child { width: 28%; }
.quality-table td, .quality-table th { white-space: normal; }
.quality-table th.item-name { font-weight: 600; text-align: left; }
/* Ne kadar zam almalıyım: beklenti seçimi */
.expect-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-bottom: 14px; }
.expect-choice { display: flex; gap: 10px; flex-wrap: wrap; }
.expect-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 130px; padding: 10px 16px; border-radius: 16px;
  border: var(--bw) solid var(--line-2); background: var(--surface-2); color: var(--ink); text-align: left; }
.expect-btn b { font-family: var(--display); font-size: 22px; }
.expect-btn span { font-size: 13px; color: var(--muted); }
.expect-btn[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.living-income { margin: 0 0 14px; font-size: 15px; color: var(--body-muted); }
.living-income b { color: var(--ink); }
/* Uyarı cümlesi geniş ekranda tek satıra sığsın diye biraz küçük; telefonda doğal olarak kayar. */
.foot-note { font-size: 12px; letter-spacing: -.005em; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.legal .muted { margin-top: 4px; }
.member-head { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0; }
.member-head .member-tag { white-space: nowrap; font-size: 13px; padding: 3px 9px; }
.soon-tag { font-size: 10.5px; font-weight: 700; color: var(--muted); border: var(--bw) solid var(--line-2); border-radius: 999px; padding: 1px 6px; white-space: nowrap; flex: none; }
/* Site adı ve altında slogan (logo yerine yazı). */
.brand-name { display: block; font-family: var(--display); font-size: clamp(18px, 3vw, 26px); font-weight: 800; letter-spacing: -.045em; line-height: 1.3; color: var(--accent); }
.brand-text { display: flex; flex-direction: column; }
.theme-toggle { min-height: 44px; padding: 0 16px; border-radius: 999px; border: var(--bw) solid var(--line); background: var(--surface-2); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; display: inline-grid; place-items: center; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { border-color: var(--line-2); }
.brand-tagline { font-size: clamp(11px, 1.6vw, 13px); font-weight: 600; color: var(--muted); letter-spacing: .01em; line-height: 1.2; }
.account-grid .consent-form { text-align: left; }

/* Maaşım gerçekten arttı mı? (iki ay karşılaştırması) */
.cmp-input { display: flex; flex-direction: column; gap: 16px; }
.cmp-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.cmp-side { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cmp-side legend { font-family: var(--display); font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.cmp-arrow { font-size: 26px; color: var(--muted); }
.cmp-input .analyze-btn { align-self: flex-start; min-width: 200px; }
.cmp-error { color: var(--red); font-weight: 600; font-size: 14px; }
.cmp-error[hidden], .cmp-result[hidden] { display: none; }
.cmp-result { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.cmp-main { grid-column: 1 / -1; }
#cmp-fx-card[hidden] { display: none; }
.cmp-main .stat-value { font-size: 44px; }
.cmp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cmp-share .share-card[hidden] { display: none; }
@media (max-width: 720px) {
  .cmp-grid { grid-template-columns: 1fr; }
  .cmp-arrow { transform: rotate(90deg); justify-self: center; }
}
.account-comparisons { margin-top: 18px; }
.account-comparisons td.up { color: var(--accent); font-weight: 700; }
.account-comparisons td.down { color: var(--red); font-weight: 700; }

/* Analiz formu daha kompakt (15.10.2026 kullanıcı isteği: ~%10–15 kısa). Yalnızca ana formdaki kart. */
.input-card { gap: 10px; }
.input-card .field { padding: 8px 16px; border-radius: 16px; gap: 2px; }
.input-card .input { min-height: 36px; }
.input-card .household { gap: 6px; }
.input-card .household legend { margin-bottom: 4px; }
.input-card .household select.input { min-height: 32px; }
.input-card .salary-box:not(.small-box) { padding: 2px 16px; }
.input-card .salary-box:not(.small-box) input { font-size: 36px; padding: 0; }
.input-card .salary-box.small-box input { font-size: 18px; }
/* Telefonda × düğmesiyle birlikte 7 haneli tutar da sığsın (16.10). */
@media (max-width: 460px) {
  .input-card .salary-box:not(.small-box) { gap: 4px; padding: 2px 8px 2px 14px; }
  .input-card .salary-box:not(.small-box) input { font-size: 25px; }
  .input-card .salary-box:not(.small-box) .unit-ay { display: none; }
  .input-card .salary-box:not(.small-box) .salary-unit { font-size: 13px; }
  .input-card .salary-box:not(.small-box) .salary-clear { width: 28px; height: 28px; }
}
.input-card .muted.small, .input-card .choices-note { font-size: 12.5px; line-height: 1.4; }
.input-card .analyze-btn { min-height: 50px; }
/* Günün Alım Gücü Özeti bülten kartı (18.10.2026): her sayfanın altında, altbilginin üstünde. */
.bulten-card { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 32px; align-items: center; }
.bulten-card h2 { margin: 6px 0 8px; }
.bulten-card p { margin: 0; }
.bulten-tag { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.bulten-latest { margin-top: 10px !important; font-size: 14px; }
.bulten-form { display: flex; flex-direction: column; gap: 10px; }
.bulten-row { display: flex; gap: 8px; }
.bulten-row .input { flex: 1; min-width: 0; padding: 0 18px; border: var(--bw) solid var(--line-2); border-radius: 999px; background: var(--surface-2); }
.bulten-row .input:focus { border-color: var(--accent); }
.bulten-row .pill-btn { flex: none; }
.bulten-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bulten-form .check { font-size: 13px; }
.bulten-card + .foot { margin-top: 32px; }
@media (max-width: 760px) { .bulten-card { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .bulten-row { flex-direction: column; } }
.bulten-page { max-width: 640px; margin: 40px auto; text-align: center; }
.bulten-page form { margin-top: 18px; }
