/*
 * dediki sayfa stilleri · "Canlı Pazar" tasarımı.
 *
 * Kartlar, renkli kategori çipleri, olasılık halkaları ve kısa, amaçlı
 * hareketler. Renkler aşağıdaki değişkenlerden gelir; açık ve koyu tema
 * aynı adları kullanır. tokens.css'teki eski değişkenler yalnızca tasarım
 * belirteçleri sayfası için yüklü kalır.
 *
 * Kırılma noktaları: 1180px (dar masaüstü), 980px (tablet, tek sütun),
 * 720px (telefon, alt menü).
 */

:root {
  --bg: #F4F5F8;
  --surface: #FFFFFF;
  --surface-2: #ECEFF5;
  --surface-3: #E1E6EF;
  --line: #DEE3EC;
  --line-2: #C8D0DE;
  --ink: #121722;
  --ink-2: #3A4252;
  --ink-3: #5C6475;
  --brand: #1B2E55;
  --brand-2: #4A6FA5;
  --brand-soft: #E3E9F4;
  --brand-ink: #0F1C38;
  --accent2: #D4A20C;
  --accent2-soft: #FBF0CC;
  --accent2-ink: #6E5200;
  --on-accent2: #1E1600;
  --logo: #1B2E55;
  --logo-accent: #D4A20C;
  --logo-net: #4A6FA5;
  --yes: #39659B;
  --yes-soft: #E4F0FF;
  --no: #815C0A;
  --no-soft: #FEF0D4;
  --void: #58606F;
  --void-soft: #ECEEF2;
  --c-eco: #2F55C8;
  --c-eco-s: #E4EBFC;
  --c-spor: #B3246F;
  --c-spor-s: #FBE4F0;
  --c-sehir: #7C5E00;
  --c-sehir-s: #FBF0C8;
  --c-bilim: #066B8D;
  --c-bilim-s: #DDF1F8;
  --c-tek: #3D5A80;
  --c-tek-s: #E6ECF4;
  --c-dunya: #1F7A4D;
  --c-dunya-s: #DEF2E6;
  --c-siyaset: #4A4E69;
  --c-siyaset-s: #E8E9F0;
  --c-enerji: #A44A07;
  --c-enerji-s: #FCEBD7;
  --c-genel: #5B5670;
  --c-genel-s: #EDEBF3;
  --c-zeytin: #556A0E;
  --c-zeytin-s: #ECF2D5;
  --c-kahve: #87502A;
  --c-kahve-s: #F6EADF;
  --c-mercan: #B42318;
  --c-mercan-s: #FDE7E4;
  --c-erguvan: #9A1FA1;
  --c-erguvan-s: #F7E4F8;
  --tk-bg: #0F1C38;
  --tk-ink: #E3E9F4;
  --tk-yes: #92C1FD;
  --tk-no: #EBBE30;
  --tk-void: #A3ABBA;
  --tk-up: #92C1FD;
  --tk-down: #EBBE30;
  --live: #D4A20C;
  --shadow: 0 1px 2px rgba(18, 23, 34, .05), 0 1px 1px rgba(18, 23, 34, .03);
  --shadow-h: 0 10px 28px -10px rgba(27, 46, 85, .25), 0 2px 6px rgba(18, 23, 34, .06);
  --shadow-brand: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 14px -6px rgba(166, 126, 6, .55);
  --on-brand: #FFFFFF;
  --on-ink: #FFFFFF;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Source Sans 3", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090D16;
    --surface: #111828;
    --surface-2: #172033;
    --surface-3: #202A40;
    --line: #222C42;
    --line-2: #333F59;
    --ink: #F1F3F8;
    --ink-2: #C2C9D8;
    --ink-3: #8F99AE;
    --brand: #8FB0E8;
    --brand-2: #B3CAF0;
    --brand-soft: #18233A;
    --brand-ink: #C3D4F3;
    --accent2: #EBBE30;
    --accent2-soft: #33290A;
    --accent2-ink: #F5D676;
    --on-accent2: #1E1600;
    --live: #EBBE30;
    --logo: #9CBAEC;
    --logo-accent: #EBBE30;
    --logo-net: #6F92CC;
    --yes: #92C1FD;
    --yes-soft: #1A2C44;
    --no: #DBB970;
    --no-soft: #37290A;
    --void: #A3ABBA;
    --void-soft: #242833;
    --c-eco: #8EA9FF;
    --c-eco-s: #1D2645;
    --c-spor: #FF85C0;
    --c-spor-s: #3A1A2C;
    --c-sehir: #E8C653;
    --c-sehir-s: #332B10;
    --c-bilim: #62CDEE;
    --c-bilim-s: #0F2C37;
    --c-tek: #9DB7DA;
    --c-tek-s: #1E2836;
    --c-dunya: #6FD69C;
    --c-dunya-s: #12301F;
    --c-siyaset: #B9BCD6;
    --c-siyaset-s: #23253A;
    --c-enerji: #FFB066;
    --c-enerji-s: #3A2512;
    --c-genel: #B8B2CC;
    --c-genel-s: #25212F;
    --c-zeytin: #BCD66B;
    --c-zeytin-s: #252D11;
    --c-kahve: #E2AB7E;
    --c-kahve-s: #33241A;
    --c-mercan: #FF8B7E;
    --c-mercan-s: #3B1A18;
    --c-erguvan: #EE8EF2;
    --c-erguvan-s: #37183A;
    --tk-bg: #050811;
    --on-brand: #0A1430;
    --on-ink: #090D16;
    --shadow: 0 1px 0 rgba(255, 255, 255, .03);
    --shadow-h: 0 14px 30px -12px rgba(0, 0, 0, .7), 0 0 0 1px #333F59;
    --shadow-brand: 0 6px 16px -8px rgba(235, 190, 48, .45);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #090D16;
  --surface: #111828;
  --surface-2: #172033;
  --surface-3: #202A40;
  --line: #222C42;
  --line-2: #333F59;
  --ink: #F1F3F8;
  --ink-2: #C2C9D8;
  --ink-3: #8F99AE;
  --brand: #8FB0E8;
  --brand-2: #B3CAF0;
  --brand-soft: #18233A;
  --brand-ink: #C3D4F3;
  --accent2: #EBBE30;
  --accent2-soft: #33290A;
  --accent2-ink: #F5D676;
  --on-accent2: #1E1600;
  --live: #EBBE30;
  --logo: #9CBAEC;
  --logo-accent: #EBBE30;
  --logo-net: #6F92CC;
  --yes: #92C1FD;
  --yes-soft: #1A2C44;
  --no: #DBB970;
  --no-soft: #37290A;
  --void: #A3ABBA;
  --void-soft: #242833;
  --c-eco: #8EA9FF;
  --c-eco-s: #1D2645;
  --c-spor: #FF85C0;
  --c-spor-s: #3A1A2C;
  --c-sehir: #E8C653;
  --c-sehir-s: #332B10;
  --c-bilim: #62CDEE;
  --c-bilim-s: #0F2C37;
  --c-tek: #9DB7DA;
  --c-tek-s: #1E2836;
  --c-dunya: #6FD69C;
  --c-dunya-s: #12301F;
  --c-siyaset: #B9BCD6;
  --c-siyaset-s: #23253A;
  --c-enerji: #FFB066;
  --c-enerji-s: #3A2512;
  --c-genel: #B8B2CC;
  --c-genel-s: #25212F;
  --c-zeytin: #BCD66B;
  --c-zeytin-s: #252D11;
  --c-kahve: #E2AB7E;
  --c-kahve-s: #33241A;
  --c-mercan: #FF8B7E;
  --c-mercan-s: #3B1A18;
  --c-erguvan: #EE8EF2;
  --c-erguvan-s: #37183A;
  --tk-bg: #050811;
  --on-brand: #0A1430;
  --on-ink: #090D16;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03);
  --shadow-h: 0 14px 30px -12px rgba(0, 0, 0, .7), 0 0 0 1px #333F59;
  --shadow-brand: 0 6px 16px -8px rgba(235, 190, 48, .45);
  color-scheme: dark;
}

:root[data-theme="light"] {
  color-scheme: light;
}

/* ---------- temel ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  overflow-x: clip;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

b,
dd,
.num {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 2px;
  border-radius: 8px;
}

code {
  font-size: .9em;
  background: var(--surface-2);
  padding: 0 4px;
  border-radius: 4px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s var(--spring);
}

.wrap {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
}

.grow {
  flex: 1;
}

.muted {
  color: var(--ink-3);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.skip {
  position: absolute;
  z-index: 60;
  left: 16px;
  top: -64px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
}

.skip:focus {
  top: 8px;
}

.env-banner {
  margin: 0;
  padding: 6px 16px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}

.env-banner a {
  text-decoration: underline;
  text-underline-offset: .15em;
}

.page-title {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}

.lede {
  color: var(--ink-2);
  font-size: 17px;
  margin-bottom: 16px;
}

.section {
  padding-bottom: 64px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  margin: 8px 0 14px;
}

.section-title .icon {
  color: var(--brand);
}

.section-title__count {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-3);
  background: var(--surface-2);
  padding: 1px 8px;
  border-radius: 999px;
}

/* ---------- canlı bant ---------- */

.ticker {
  display: flex;
  align-items: center;
  height: 38px;
  background: var(--tk-bg);
  color: var(--tk-ink);
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  position: relative;
  z-index: 31;
}

.ticker__live {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 18px;
  height: 100%;
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--tk-bg);
  position: relative;
  z-index: 2;
  box-shadow: 14px 0 14px var(--tk-bg);
}

.ticker__live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  position: relative;
}

.ticker__live i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--live);
  animation: ping 2.4s var(--ease) infinite;
}

.ticker__viewport {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tick 90s linear infinite;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track {
  animation-play-state: paused;
}

.ticker__list {
  display: flex;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 20px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.ticker__item b {
  color: #FFFFFF;
  font-weight: 800;
}

.ticker__move {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.ticker__move .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.ticker__move--up {
  color: var(--tk-up);
}

.ticker__move--down {
  color: var(--tk-down);
}

.ticker__dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: none;
  background: var(--tk-void);
}

.ticker__dot.chip--eco { background: #8EA9FF; }
.ticker__dot.chip--spor { background: #FF85C0; }
.ticker__dot.chip--sehir { background: #E8C653; }
.ticker__dot.chip--bilim { background: #62CDEE; }
.ticker__dot.chip--tek { background: #C29BFF; }
.ticker__dot.chip--dunya { background: #6FD69C; }
.ticker__dot.chip--siyaset { background: #B9BCD6; }
.ticker__dot.chip--enerji { background: #FFB066; }
.ticker__dot.chip--genel { background: #B8B2CC; }
.ticker__dot.chip--zeytin { background: #BCD66B; }
.ticker__dot.chip--kahve { background: #E2AB7E; }
.ticker__dot.chip--mercan { background: #FF8B7E; }
.ticker__dot.chip--erguvan { background: #EE8EF2; }

.ticker__dot--true {
  background: var(--tk-yes);
  border-radius: 50%;
}

.ticker__dot--false {
  background: var(--tk-no);
  transform: rotate(45deg);
}

.ticker__dot--void {
  background: var(--tk-void);
  border-radius: 50%;
}

.ticker__dot--preliminary {
  background: transparent;
  border: 2px dashed currentColor;
}

.ticker__dot--true.ticker__dot--preliminary {
  color: var(--tk-yes);
}

.ticker__dot--false.ticker__dot--preliminary {
  color: var(--tk-no);
}

@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

@keyframes ping {
  0% {
    transform: scale(.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ---------- üst menü ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--logo);
  margin-right: 18px;
  min-height: 44px;
  transition: transform .3s var(--spring);
}

.logo__dot,
.logo__alt {
  fill: var(--logo-accent);
}

.logo__net {
  fill: var(--logo-net);
}

.brand:hover {
  transform: scale(1.03);
}

.logo {
  height: 28px;
  width: auto;
  display: block;
}

.tagline {
  color: var(--ink-3);
  font-weight: 600;
  font-size: 15px;
}

.tabs,
.seg {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
}

.tabs {
  background: var(--surface-2);
}

.tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  transition: color .25s;
}

.tab:hover {
  color: var(--ink);
}

.tab:hover .icon {
  transform: translateY(-1px) scale(1.08);
}

.tab.is-active {
  color: var(--brand-ink);
}

.indicator {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 4px;
  height: calc(100% - 8px);
  width: 0;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(18, 23, 34, .12), 0 0 0 1px var(--line);
  transition: transform .45s var(--spring), width .45s var(--spring);
  opacity: 0;
  pointer-events: none;
}

[data-indicator].is-ready .indicator {
  opacity: 1;
}

/* Betik çalışmadıysa etkin öğe kendi zeminini taşır. */
[data-indicator]:not(.is-ready) .tab.is-active {
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--ink-2);
  transition: background .2s, color .2s, transform .15s;
}

.icon-btn:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.icon-btn:active {
  transform: scale(.92);
}

.theme-toggle .icon {
  position: absolute;
  transition: transform .5s var(--spring), opacity .3s;
}

.theme-toggle .icon--moon {
  transform: rotate(-90deg) scale(.4);
  opacity: 0;
}

:root[data-theme="dark"] .theme-toggle .icon--sun {
  transform: rotate(90deg) scale(.4);
  opacity: 0;
}

:root[data-theme="dark"] .theme-toggle .icon--moon {
  transform: none;
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .icon--sun {
    transform: rotate(90deg) scale(.4);
    opacity: 0;
  }

  :root:not([data-theme]) .theme-toggle .icon--moon {
    transform: none;
    opacity: 1;
  }
}

.btn {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s;
}

.btn:active {
  transform: scale(.96);
}

.btn--primary {
  background: var(--accent2);
  color: var(--on-accent2);
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  background: color-mix(in oklab, var(--accent2) 86%, var(--ink));
}

.btn--ghost {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: var(--surface-3);
}

.btn--ghost:hover .icon {
  transform: translateX(3px);
}

/* ---------- örnek içerik uyarısı ---------- */

.sample-note {
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-bottom: 1px solid color-mix(in oklab, var(--brand) 22%, transparent);
}

.sample-note p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 14px;
}

.sample-note .icon {
  color: var(--brand);
}

/* ---------- sayfa başı ---------- */

main {
  display: block;
  min-height: 50vh;
}

.hero {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  padding: 22px 0 16px;
}

.hero__text {
  flex: 1;
  min-width: 0;
}

.hero__title {
  font-size: 36px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.025em;
}

.hero__lede {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 16.5px;
  max-width: 560px;
}

.stats {
  display: flex;
  gap: 10px;
}

.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  min-width: 170px;
  box-shadow: var(--shadow);
  animation: rise .6s var(--ease) both;
}

.stat:nth-child(2) {
  animation-delay: .05s;
}

.stat:nth-child(3) {
  animation-delay: .1s;
}

.stat__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent2-soft);
  color: var(--accent2-ink);
}

.stat__text b {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.02em;
}

.stat__text span {
  font-size: 13.5px;
  color: var(--ink-3);
  font-weight: 600;
}

.stat__note {
  grid-column: 2;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
}

/* ---------- süzgeçler ---------- */

.filters {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0 18px;
}

.seg {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  flex: none;
}

.seg__item {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color .25s;
}

.seg__item:hover {
  color: var(--ink);
}

.seg__item.is-active {
  color: var(--on-ink);
}

.seg .indicator {
  background: var(--ink);
  box-shadow: none;
}

[data-indicator]:not(.is-ready) .seg__item.is-active {
  background: var(--ink);
}

.seg__item .icon {
  width: 16px;
  height: 16px;
}

.seg__item:hover .icon {
  transform: scale(1.15) rotate(-6deg);
}

.fchips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  padding: 2px;
}

.fchips::-webkit-scrollbar {
  display: none;
}

.fchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: transform .15s, border-color .2s, background .2s, padding .25s var(--spring);
}

.fchip span {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 700;
  background: var(--surface-2);
  padding: 1px 7px;
  border-radius: 999px;
}

.fchip .icon {
  width: 16px;
  height: 16px;
}

.fchip:hover {
  border-color: var(--line-2);
}

.fchip:hover .icon {
  transform: scale(1.15);
}

.fchip:active {
  transform: scale(.95);
}

.fchip.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
  padding-left: 16px;
}

.fchip.is-on .icon {
  color: inherit;
}

.fchip.is-on span {
  background: color-mix(in oklab, var(--on-brand) 18%, transparent);
  color: var(--on-brand);
}

.fchip--eco .icon { color: var(--c-eco); }
.fchip--spor .icon { color: var(--c-spor); }
.fchip--sehir .icon { color: var(--c-sehir); }
.fchip--bilim .icon { color: var(--c-bilim); }
.fchip--tek .icon { color: var(--c-tek); }
.fchip--dunya .icon { color: var(--c-dunya); }
.fchip--siyaset .icon { color: var(--c-siyaset); }
.fchip--enerji .icon { color: var(--c-enerji); }
.fchip--genel .icon { color: var(--c-genel); }
.fchip--zeytin .icon { color: var(--c-zeytin); }
.fchip--kahve .icon { color: var(--c-kahve); }
.fchip--mercan .icon { color: var(--c-mercan); }
.fchip--erguvan .icon { color: var(--c-erguvan); }

/* ---------- yerleşim ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 24px;
  align-items: start;
  padding-bottom: 64px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bento--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  color: var(--ink-2);
}

.empty__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 6px;
}

.empty__icon .icon {
  width: 24px;
  height: 24px;
}

.empty__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.empty a {
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .15em;
}

/* ---------- pazar kartı ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background-color .3s;
  animation: rise .6s var(--ease) both;
}

.card--order-1 { animation-delay: .05s; }
.card--order-2 { animation-delay: .1s; }
.card--order-3 { animation-delay: .15s; }
.card--order-4 { animation-delay: .2s; }
.card--order-5 { animation-delay: .25s; }
.card--order-6 { animation-delay: .28s; }
.card--order-7 { animation-delay: .31s; }
.card--order-8 { animation-delay: .34s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.card:has(> .card__hit):hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-h);
  border-color: var(--line-2);
}

.card:has(> .card__hit):active {
  transform: scale(.985);
  transition-duration: .1s;
}

.card__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px 0 7px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}

.chip .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.chip--eco { background: var(--c-eco-s); color: var(--c-eco); }
.chip--spor { background: var(--c-spor-s); color: var(--c-spor); }
.chip--sehir { background: var(--c-sehir-s); color: var(--c-sehir); }
.chip--bilim { background: var(--c-bilim-s); color: var(--c-bilim); }
.chip--tek { background: var(--c-tek-s); color: var(--c-tek); }
.chip--dunya { background: var(--c-dunya-s); color: var(--c-dunya); }
.chip--siyaset { background: var(--c-siyaset-s); color: var(--c-siyaset); }
.chip--enerji { background: var(--c-enerji-s); color: var(--c-enerji); }
.chip--genel { background: var(--c-genel-s); color: var(--c-genel); }
.chip--zeytin { background: var(--c-zeytin-s); color: var(--c-zeytin); }
.chip--kahve { background: var(--c-kahve-s); color: var(--c-kahve); }
.chip--mercan { background: var(--c-mercan-s); color: var(--c-mercan); }
.chip--erguvan { background: var(--c-erguvan-s); color: var(--c-erguvan); }

.card__kind {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: var(--surface-2);
  color: var(--ink-2);
  border: 1px dashed var(--line-2);
  vertical-align: middle;
}

.badge--author {
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  font-weight: 700;
}

/*
 * Kart başı dar olduğunda (telefon, iki sütunlu akış) ekleyen adı kendi
 * satırına iner; kategori, tür ve kalan gün ilk satırda kalır. Çok uzun ad
 * kısaltılır, tamamı title'da.
 */
.card__top:has(.badge--author) {
  container-type: inline-size;
}

@container (max-width: 460px) {
  .card__top > .grow {
    order: 8;
    flex-basis: 100%;
    height: 0;
    margin-top: -4px;
  }

  .card__top > .pill {
    margin-left: auto;
  }

  .card__top > .badge--author {
    order: 9;
  }
}

/* Ekleyen adı, ekleyenin profil sayfasına bağlanır; kartın tamamını kaplayan bağlantının üstünde durur. */
a.badge--author {
  position: relative;
  z-index: 3;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}

a.badge--author:hover,
a.badge--author:focus-visible {
  color: var(--brand-ink);
  border-color: currentColor;
  border-style: solid;
}

.badge__text {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 22ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge .icon,
.tag .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tag--hot {
  background: var(--accent2-soft);
  color: var(--accent2-ink);
}

.tag--soon {
  margin-left: auto;
  background: var(--surface-2);
  color: var(--ink-3);
  border: 1px dashed var(--line-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 0 9px;
  height: 26px;
  border-radius: 8px;
  background: var(--surface-2);
  white-space: nowrap;
}

.pill .icon {
  width: 14px;
  height: 14px;
}

.card:hover .pill .icon {
  animation: spin-clock 1.1s var(--ease);
}

@keyframes spin-clock {
  to {
    transform: rotate(360deg);
  }
}

.who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.who__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}

.who__name {
  font-weight: 700;
  font-size: 15px;
}

a.who__name,
.who__name a {
  position: relative;
  z-index: 3;
}

a.who__name:hover,
.who__name a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.who__role {
  font-size: 13.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar {
  flex: none;
  display: block;
  border-radius: 11px;
  width: 38px;
  height: 38px;
  transition: transform .4s var(--spring);
}

.avatar--sm { width: 32px; height: 32px; border-radius: 9px; }
.avatar--lg { width: 46px; height: 46px; border-radius: 13px; }
.avatar--xl { width: 64px; height: 64px; border-radius: 18px; }

.card:hover .avatar {
  transform: rotate(-4deg);
}

.quote {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.quote--xl {
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 800;
}

.prop {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prop__key {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 4px;
}

.market {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.market__mid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.market__key {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
}

.market__value {
  font-size: 16px;
  font-weight: 800;
}

.market__note {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market__dist {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.market__dist span {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 700;
  white-space: nowrap;
}

.move {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-3);
}

.move b {
  font-size: 16px;
  font-weight: 800;
}

.move .icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

.move--up { color: var(--yes); }
.move--down { color: var(--no); }

.spark {
  width: 84px;
  height: 28px;
  margin-top: 3px;
  overflow: visible;
  animation: reveal 1.4s var(--ease) both .25s;
}

.spark path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.spark circle {
  fill: var(--surface);
  stroke-width: 2;
}

.spark--up path,
.spark--up circle {
  stroke: var(--yes);
}

.spark--down path,
.spark--down circle {
  stroke: var(--no);
}

.dist {
  width: 50px;
  height: 32px;
}

.dist__bar {
  fill: var(--brand);
  opacity: .28;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: grow .8s var(--spring) both .3s;
}

.dist__bar--1 { opacity: .5; animation-delay: .36s; }
.dist__bar--2 { opacity: .65; animation-delay: .42s; }
.dist__bar--3 { opacity: .82; animation-delay: .48s; }
.dist__bar--4 { opacity: 1; animation-delay: .54s; }

.is-closed .dist__bar {
  fill: var(--ink-3);
}

@keyframes grow {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes growx {
  from {
    transform: scaleX(0);
  }
}

@keyframes reveal {
  from {
    clip-path: inset(-20% 100% -20% 0);
  }

  to {
    clip-path: inset(-20% -10% -20% 0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

/* ---------- olasılık halkası ---------- */

.ring {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  font-size: 19px;
}

.ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ring__track {
  fill: none;
  stroke: var(--surface-3);
  stroke-width: 7;
}

.ring__value {
  fill: none;
  stroke: var(--brand);
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dasharray 1.3s var(--ease);
}

.ring__number {
  position: relative;
  display: flex;
  white-space: nowrap;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
}

.ring__pct {
  font-size: .55em;
  color: var(--ink-3);
  margin-right: 1px;
}

.ring__number small {
  flex-basis: 100%;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: .04em;
  margin-top: 3px;
}

.ring--xs { width: 42px; height: 42px; font-size: 13px; }
.ring--xs .ring__track,
.ring--xs .ring__value { stroke-width: 6; }
.ring--md { width: 96px; height: 96px; font-size: 30px; }
.ring--md .ring__track,
.ring--md .ring__value { stroke-width: 6; }
.ring--lg { width: 132px; height: 132px; font-size: 42px; }
.ring--lg .ring__track,
.ring--lg .ring__value { stroke-width: 5.5; }
.ring--lg small { font-size: 12px; }

.ring--none {
  border-radius: 50%;
  border: 6px solid var(--surface-3);
  color: var(--ink-3);
}

.ring--none .ring__number {
  color: var(--ink-3);
}

.is-closed .ring__value {
  stroke: var(--ink-3);
}

/* ---------- sonuç damgası ---------- */

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 9px;
  border: 2.5px solid currentColor;
  border-radius: 10px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.stamp__icon {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stamp__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stamp__note {
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 800;
  opacity: .85;
}

.stamp--true { color: var(--yes); background: var(--yes-soft); }
.stamp--false { color: var(--no); background: var(--no-soft); }
.stamp--void { color: var(--void); background: var(--void-soft); }

.stamp--preliminary {
  border-style: dashed;
}

.stamp--pressed {
  position: absolute;
  top: 58px;
  right: 16px;
  z-index: 1;
  transform: rotate(-7deg);
  box-shadow: 0 0 0 4px var(--surface);
  animation: stamp .6s var(--spring) both .55s;
}

.stamp--pressed::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  border: 2px solid currentColor;
  opacity: 0;
  animation: ink .7s var(--ease) both .9s;
}

.card--order-1 > .stamp--pressed { animation-delay: .65s; }
.card--order-2 > .stamp--pressed { animation-delay: .75s; }
.card--order-3 > .stamp--pressed { animation-delay: .85s; }
.card--order-4 > .stamp--pressed,
.card--order-5 > .stamp--pressed,
.card--order-6 > .stamp--pressed,
.card--order-7 > .stamp--pressed,
.card--order-8 > .stamp--pressed { animation-delay: .95s; }

@keyframes stamp {
  0% {
    opacity: 0;
    transform: rotate(-16deg) scale(2.3);
  }

  55% {
    opacity: 1;
    transform: rotate(-6deg) scale(.92);
  }

  75% {
    transform: rotate(-7.5deg) scale(1.04);
  }

  100% {
    opacity: 1;
    transform: rotate(-7deg) scale(1);
  }
}

@keyframes ink {
  0% {
    opacity: .6;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.card.is-closed .quote {
  padding-right: 118px;
}

.stamp--mini {
  font-size: 12px;
  padding: 4px 8px 4px 6px;
  border-width: 2px;
  border-radius: 8px;
  gap: 5px;
  flex: none;
  min-width: 96px;
  justify-content: center;
}

.stamp--mini .stamp__icon {
  width: 14px;
  height: 14px;
}

.stamp--mini .stamp__note {
  display: none;
}

/* ---------- öne çıkan kart ---------- */

.card--feature {
  grid-column: 1 / -1;
  flex-direction: row;
  gap: 24px;
  padding: 22px;
}

.feature__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.feature__side {
  width: 290px;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.feature__ring {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature__num {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature__num .move b {
  font-size: 22px;
}

/* ---------- seyir grafiği ---------- */

.trend__plot {
  position: relative;
  height: 110px;
}

.trend--small .trend__plot {
  height: 84px;
}

.trend svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  animation: reveal 1.4s var(--ease) both .25s;
}

.trend__stop-top {
  stop-color: var(--brand);
  stop-opacity: .22;
}

.trend__stop-bottom {
  stop-color: var(--brand);
  stop-opacity: 0;
}

.trend__line {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.trend__mid {
  stroke: var(--line-2);
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}

.trend__area {
  animation: fade 1s var(--ease) both .6s;
}

.trend__dot {
  position: absolute;
  right: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px -5.5px 0 0;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 0 3px var(--surface);
  animation: fade .4s var(--ease) both 1.4s;
}

.trend__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite 1.6s;
}

.trend figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
  margin-top: 6px;
}

/* ---------- yan sütun ---------- */

.rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 84px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 8px 8px;
  box-shadow: var(--shadow);
  animation: rise .6s var(--ease) both .15s;
}

.panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  padding: 0 10px 8px;
}

.panel__title > .icon {
  color: var(--brand);
}

.more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-ink);
  min-height: 32px;
  padding-left: 6px;
}

.more .icon {
  width: 15px;
  height: 15px;
}

.more:hover .icon {
  transform: translateX(3px);
}

.rail-list > li + li {
  border-top: 1px solid var(--line);
}

.rail-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: 12px;
  min-height: 56px;
  transition: background .2s;
}

.rail-item:has(.rail-item__hit):hover {
  background: var(--surface-2);
}

.rail-item__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.rail-item__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.rail-item__text b {
  font-size: 13.5px;
  font-weight: 700;
}

.rail-item__text span {
  font-size: 13.5px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.countdown {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  line-height: 1;
}

.countdown b {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 2px;
}

.rank {
  width: 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-3);
  text-align: center;
  flex: none;
}

.rail-item__text .hitbar {
  display: block;
  height: 6px;
  border-radius: 9px;
  background: var(--surface-3);
  margin-top: 6px;
  overflow: hidden;
}

.hitbar i {
  display: block;
  height: 100%;
  border-radius: 9px;
  background: var(--accent2);
  transform-origin: left;
  animation: growx 1s var(--ease) both .5s;
}

.rail-item__value {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.15;
  min-width: 52px;
}

.rail-item__value small {
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 700;
  white-space: nowrap;
}

.panel__foot {
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 8px 10px 6px;
  border-top: 1px solid var(--line);
  margin-top: 2px;
}

/* ---------- önerme sayfası ---------- */

.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}

.crumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
}

.crumb a:hover {
  color: var(--brand-ink);
}

.crumb a:hover .icon {
  transform: translateX(-3px);
}

.crumb .icon {
  width: 16px;
  height: 16px;
}

.crumb [aria-current] {
  color: var(--ink);
}

.d-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px;
  gap: 24px;
  align-items: start;
  padding-bottom: 72px;
}

.d-main,
.d-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.d-side {
  position: sticky;
  top: 84px;
}

.d-layout .card {
  padding: 22px;
}

.d-layout .card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
}

.d-layout .card h2 > .icon {
  color: var(--brand);
}

.d-layout .card h2 .muted {
  margin-left: auto;
}

.d-hero {
  gap: 16px;
}

.d-layout .d-hero {
  padding: 26px;
}

.quote-hero {
  margin-top: 4px;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.028em;
  text-wrap: balance;
}

.d-hero.is-closed .quote-hero {
  padding-right: 120px;
}

.d-hero > .stamp--pressed {
  top: 70px;
  right: 22px;
}

.src {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 600;
}

.src .icon {
  width: 15px;
  height: 15px;
}

/* Başlık kartının alt satırı: sağ alt köşede takip düğmesi. */
.d-hero__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 16px;
}

.follow {
  margin: 0 0 0 auto;
}

.follow__auto {
  margin-left: auto;
  cursor: help;
}

.src a {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.d-market {
  gap: 16px;
}

.mp-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mp-num {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mp-num .move b {
  font-size: 24px;
}

.mp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
}

.mp-stats div {
  display: flex;
  flex-direction: column;
}

.mp-stats dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}

.mp-stats dd {
  font-size: 18px;
  font-weight: 800;
}

.mp-h {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  margin-top: 4px;
}

.mp-h .muted {
  margin-left: auto;
  font-size: 13px;
}

.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

.info p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}

.info--claim p {
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
}

.verdict--true { border-color: color-mix(in oklab, var(--yes) 40%, var(--line)); }
.verdict--false { border-color: color-mix(in oklab, var(--no) 40%, var(--line)); }

.verdict__body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.verdict__note {
  flex: 1;
  min-width: 220px;
  color: var(--ink-2);
}

.verdict__appeal {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 14.5px;
}

.verdict__appeal .icon {
  color: var(--brand);
  margin-top: 2px;
}

.opts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.opt {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 6px 10px;
  min-height: 44px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  transition: transform .18s var(--spring), border-color .2s, background .2s;
}

.opt:disabled {
  cursor: not-allowed;
}

.opt:disabled:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.opt b {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.opt__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.2;
}

/* Daire alttan dolar: en çok seçilen seçenek tam dolu, diğerleri ona oranla
   (pc-* sınıfı --p değerini verir). Ortada o seçeneği işaretleyenlerin payı
   yazar. Doluluk sunucuda çizilir; betik gerekmez. */
.opt__gauge {
  --p: 0;
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  border: 3px solid var(--surface-3);
  border-radius: 50%;
  background: linear-gradient(to top, color-mix(in oklab, var(--brand) 38%, var(--surface)) calc(var(--p) * 1%), var(--surface-2) 0);
}

.opt.is-chosen .opt__gauge {
  background: linear-gradient(to top, color-mix(in oklab, var(--brand) 45%, var(--surface)) calc(var(--p) * 1%), var(--surface) 0);
}

.opt__share {
  position: relative;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.opt__count {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}


.vote__note {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 600;
}

/* Çizgi, noktaların ortasından geçer: nokta 18 px, çizgi 6 px, üstten 6 px.
   Yanlardan her biri bir sütunun yarısı kadar içeride başlar ve biter. */
.tl-wrap {
  position: relative;
  margin-top: 12px;
}

.tl-track {
  position: absolute;
  top: 6px;
  left: 10%;
  right: 10%;
  height: 6px;
  border-radius: 9px;
  background: var(--surface-3);
}

.tl-wrap--n2 .tl-track { left: 25%; right: 25%; }
.tl-wrap--n3 .tl-track { left: 16.667%; right: 16.667%; }
.tl-wrap--n4 .tl-track { left: 12.5%; right: 12.5%; }
.tl-wrap--n6 .tl-track { left: 8.333%; right: 8.333%; }

.tl-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 9px;
  background: var(--brand);
  transform-origin: left;
  animation: growx 1.3s var(--ease) both .4s;
}

.tl {
  position: relative;
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  margin: 0;
}

.tl__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.tl__step i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--line-2);
  margin-bottom: 6px;
  position: relative;
}

.tl__step.is-done i {
  border-color: var(--brand);
  background: var(--brand);
}

.tl__step.is-now i {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--brand) 20%, transparent);
}

.tl__step.is-now i::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite 1.2s;
}

.tl__step b {
  font-size: 14px;
  font-weight: 800;
}

.tl__step span {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
}

.tl__step.is-now b {
  color: var(--brand-ink);
}

.logs {
  display: flex;
  flex-direction: column;
}

.logs__item {
  display: flex;
  gap: 12px;
  position: relative;
  padding-bottom: 16px;
}

.logs__item:last-child {
  padding-bottom: 0;
}

.logs__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
}

.logs__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--ink-2);
}

.logs__icon--last {
  background: var(--brand-soft);
  color: var(--brand);
}

.logs__icon .icon {
  width: 17px;
  height: 17px;
}

.logs__time {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.logs p {
  font-size: 15px;
  color: var(--ink-2);
}

.person-card p {
  font-size: 14.5px;
  color: var(--ink-2);
}

.person-card .who__name {
  font-size: 17px;
}

.person-card .btn {
  align-self: flex-start;
}

/* ---------- sicil şeridi ---------- */

.sicil {
  display: flex;
  height: 10px;
  border-radius: 9px;
  overflow: hidden;
  gap: 3px;
  background: var(--surface-2);
}

.sicil__part {
  flex: 1;
  transform-origin: left;
  animation: growx .9s var(--ease) both .5s;
}

.sicil__part--true { background: var(--brand); }
.sicil__part--false { background: var(--accent2); }
.sicil__part--void { background: var(--void); }
.sicil__part--open { background: var(--surface-3); }

.sicil-key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  margin-top: -4px;
}

.sicil-key li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sicil-key__dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.sicil-key__dot--true { background: var(--brand); }
.sicil-key__dot--false { background: var(--accent2); }
.sicil-key__dot--void { background: var(--void); }
.sicil-key__dot--open { background: var(--surface-3); border: 1px solid var(--line-2); }

/* ---------- kişi sayfası ---------- */

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 28px;
  padding: 26px;
  margin-bottom: 24px;
}

.profile__main {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  min-width: 0;
}

.profile__name {
  margin-bottom: 2px;
}

.profile__role {
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 10px;
}

.profile__about {
  color: var(--ink-2);
}

.profile__tally {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.profile__rate {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tally {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  flex: 1;
}

.tally__item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-3);
}

.tally__item dd {
  color: var(--ink);
  font-weight: 800;
}

.tally__item--true dd { color: var(--yes); }
.tally__item--false dd { color: var(--no); }

.profile__note {
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- üye profili ---------- */

.member__handle {
  margin-bottom: 8px;
}

.member__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 14px;
  color: var(--ink-3);
}

.member__score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.member__score .icon {
  width: 16px;
  height: 16px;
  color: var(--brand-ink);
}

.member__pager {
  margin-top: 24px;
}

a.comment__name:hover,
.evidence__meta a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.evidence__meta a {
  color: inherit;
}

/* ---------- kişiler ---------- */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  padding-bottom: 64px;
}

.person__count {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
}

/* ---------- nasıl işler ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.step__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}

.step__icon .icon {
  width: 22px;
  height: 22px;
}

.step__icon b {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 0 3px var(--surface);
}

.step:hover .step__icon .icon {
  transform: scale(1.12) rotate(-6deg);
}

.step__title {
  font-size: 18px;
  font-weight: 800;
}

.step p,
.outcomes p {
  color: var(--ink-2);
}

.outcomes {
  margin-bottom: 16px;
}

.outcomes .section-title {
  margin: 0;
}

.outcomes__list {
  display: grid;
  gap: 12px;
}

.outcomes__item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 14px;
  align-items: center;
}

/* ---------- alt bilgi ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-3);
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-footer__about {
  max-width: 640px;
}

.site-footer__meta {
  display: flex;
  gap: 16px;
}

.site-footer__meta a {
  color: var(--brand-ink);
  font-weight: 700;
}

/* ---------- alt menü (telefon) ---------- */

.tabbar {
  display: none;
}

/* ---------- hata, bakım ve yapım aşamasında ---------- */

.notice,
.soon {
  max-width: 66ch;
  margin: 40px 0 64px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.notice p,
.soon p {
  margin-bottom: 14px;
}

.notice__code {
  margin-bottom: 8px;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.soon__alert {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--no-soft);
  color: var(--no);
  font-weight: 700;
}

.soon__outcomes {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.soon__outcome {
  display: grid;
  gap: 6px 16px;
  align-items: center;
  justify-items: start;
}

@media (min-width: 30em) {
  .soon__outcome {
    grid-template-columns: 9rem 1fr;
  }
}

.soon__outcome p {
  margin: 0;
  color: var(--ink-2);
}

/* ---------- tasarım belirteçleri sayfası (yalnızca test) ---------- */

.t-step--1 { font-size: var(--step--1); }
.t-step-0 { font-size: var(--step-0); }
.t-step-1 { font-size: var(--step-1); }
.t-step-2 { font-size: var(--step-2); }
.t-step-3 { font-size: var(--step-3); }
.t-step-4 { font-size: var(--step-4); }

.design-section {
  margin: 40px 0;
}

.design-section h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.design-note {
  max-width: 66ch;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.scale-row {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 40em) {
  .scale-row {
    grid-template-columns: 11rem 1fr;
    gap: 16px;
    align-items: baseline;
  }
}

.scale-row__label,
.font-block__label,
.space-row__label,
.swatch__value {
  color: var(--ink-3);
  font-size: 13px;
}

.scale-row__sample {
  line-height: 1.15;
}

.font-block {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.font-sample {
  font-size: 24px;
  line-height: 1.15;
}

.font-sample--serif {
  font-family: var(--font-serif);
}

.font-sample--caps {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.themes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 16px;
}

.theme-panel {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.theme-panel__title {
  font-size: 16px;
  margin-bottom: 12px;
}

.swatches {
  display: grid;
  gap: 10px;
}

.swatch {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: start;
}

.swatch__chip {
  display: block;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.swatch__name,
.swatch__value {
  display: block;
}

.swatch__name {
  font-weight: 700;
}

.stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.table-scroll {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.data-table th {
  color: var(--ink-3);
}

.result--pass { color: var(--yes); }
.result--fail { color: var(--no); font-weight: 700; }

.space-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 16px;
  align-items: center;
  padding: 4px 0;
}

.space-row__bar {
  display: block;
  height: 12px;
  background: var(--ink);
}

.record--sample {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.record__meta {
  display: flex;
  gap: 10px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
}

.record__text {
  font-size: 18px;
  font-weight: 700;
  margin: 6px 0 12px;
}

.timeline__track {
  display: block;
  overflow: visible;
}

.timeline__rest,
.timeline__tick {
  stroke: var(--line-2);
  stroke-width: 2;
}

.timeline__elapsed {
  stroke: var(--brand);
  stroke-width: 4;
  stroke-linecap: round;
}

.timeline__now {
  fill: var(--brand);
}

.timeline__labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- dar masaüstü ---------- */

@media (max-width: 1180px) {
  .stats .stat:nth-child(3) {
    display: none;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .d-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .bento--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-hero {
    font-size: 32px;
  }

  .profile {
    grid-template-columns: 1fr;
  }

  .profile__tally {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- tablet ---------- */

@media (max-width: 980px) {
  .tabs .tab span {
    display: none;
  }

  .layout,
  .d-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail,
  .d-side {
    position: static;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
  }

  .stats .stat:nth-child(3) {
    display: grid;
  }

  .stat {
    flex: 1;
    min-width: 0;
  }

  .filters {
    flex-direction: column;
    align-items: stretch;
  }

  .seg {
    align-self: flex-start;
  }
}

/* ---------- telefon ---------- */

@media (max-width: 720px) {
  .wrap {
    padding: 0 16px;
  }

  .ticker {
    height: 34px;
    font-size: 13px;
  }

  .ticker__live {
    padding: 0 10px 0 14px;
  }

  .site-header__bar {
    min-height: 58px;
    gap: 2px;
  }

  .brand {
    margin-right: auto;
  }

  .logo {
    height: 24px;
  }

  .tagline {
    display: none;
  }

  .tabs {
    display: none;
  }

  .page-title {
    font-size: 28px;
  }

  .hero {
    padding: 18px 0 14px;
    gap: 14px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__lede {
    font-size: 15.5px;
  }

  .stats {
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px 2px;
  }

  .stats::-webkit-scrollbar {
    display: none;
  }

  .stat {
    flex: none;
    grid-template-columns: auto auto;
    column-gap: 10px;
    padding: 10px 14px 10px 10px;
  }

  .stat__note {
    display: none;
  }

  .stat__icon {
    grid-row: auto;
    width: 36px;
    height: 36px;
  }

  .stat__text {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .stat__text b {
    font-size: 21px;
  }

  .filters {
    gap: 10px;
    padding-bottom: 14px;
  }

  .seg {
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .seg__item {
    justify-content: center;
    padding: 0 4px;
    gap: 5px;
    font-size: 13.5px;
    text-align: center;
    white-space: normal;
    line-height: 1.1;
  }

  .seg__item .icon {
    display: none;
  }

  .fchips {
    margin: 0 -16px;
    padding: 2px 16px;
  }

  .bento,
  .bento--wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .card {
    padding: 16px;
    gap: 11px;
  }

  .card--feature {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .card--feature .card__kind {
    display: none;
  }

  .feature__side {
    width: auto;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .feature__ring {
    flex: none;
  }

  .feature__side .trend {
    flex: 1;
    min-width: 0;
  }

  .feature__side .trend--small .trend__plot {
    height: 64px;
  }

  .feature__side .trend figcaption span:nth-child(2) {
    display: none;
  }

  .feature__num .market__key {
    display: none;
  }

  .ring--md {
    width: 78px;
    height: 78px;
    font-size: 25px;
  }

  .quote--xl {
    font-size: 23px;
  }

  .quote {
    font-size: 18px;
  }

  .card.is-closed .quote {
    padding-right: 0;
  }

  .card.is-closed .who {
    padding-right: 112px;
  }

  .card.is-closed:not(:has(.who)) .quote {
    padding-right: 112px;
  }

  .stamp--pressed {
    top: 54px;
    right: 14px;
  }

  body.has-tabbar {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    height: calc(68px + env(safe-area-inset-bottom));
    padding: 0 6px env(safe-area-inset-bottom);
    background: color-mix(in oklab, var(--surface) 92%, transparent);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }

  .tabbar .indicator {
    top: 8px;
    height: 32px;
    border-radius: 999px;
    background: var(--brand-soft);
    box-shadow: none;
  }

  .tabbar__link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-height: 56px;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-3);
    transition: color .25s;
  }

  .tabbar__link .icon {
    width: 22px;
    height: 22px;
    margin: 5px 0 2px;
  }

  .tabbar__link.is-active {
    color: var(--brand-ink);
  }

  .tabbar__link:active .icon {
    transform: scale(.85);
  }

  [data-indicator]:not(.is-ready) .tabbar__link.is-active .icon {
    color: var(--brand);
  }

  /* detay */
  .crumb {
    padding: 12px 0 8px;
  }

  .d-layout {
    padding: 0 0 40px;
    gap: 12px;
  }

  .d-main,
  .d-side {
    gap: 12px;
  }

  .d-layout .card,
  .d-layout .d-hero {
    padding: 16px;
  }

  .d-hero {
    gap: 13px;
  }

  .quote-hero {
    font-size: 26px;
    line-height: 1.15;
  }

  .d-hero.is-closed .quote-hero {
    padding-right: 0;
  }

  .d-hero.is-closed .who {
    padding-right: 112px;
  }

  .d-hero > .stamp--pressed {
    top: 60px;
    right: 14px;
  }

  .duo {
    gap: 12px;
  }

  .mp-head {
    gap: 14px;
  }

  .ring--lg {
    width: 108px;
    height: 108px;
    font-size: 34px;
  }

  .d-market .trend__plot {
    height: 80px;
  }

  .mp-num .move b {
    font-size: 21px;
  }

  .opts {
    gap: 6px;
  }

  .opt {
    padding: 10px 2px 8px;
    border-radius: 12px;
  }

  .opt b {
    font-size: 17px;
  }

  .opt__label {
    font-size: 11.5px;
  }

  .opt__count {
    font-size: 11px;
  }

  .opt__gauge {
    width: 42px;
    height: 42px;
    border-width: 2.5px;
  }

  .tl-track {
    display: none;
  }

  .tl {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    margin: 4px 0 0;
  }

  .tl__step {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding: 7px 0;
    position: relative;
  }

  .tl__step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 28px;
    height: calc(100% - 22px);
    width: 2px;
    background: var(--line-2);
  }

  .tl__step.is-done::before {
    background: var(--brand);
  }

  .tl__step i {
    margin: 0;
    flex: none;
  }

  .tl__step span {
    margin-left: auto;
  }

  .profile {
    padding: 18px;
    gap: 18px;
  }

  .profile__main {
    flex-direction: column;
    gap: 12px;
  }

  .outcomes__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .notice,
  .soon {
    margin: 20px 0 40px;
    padding: 20px;
  }
}

/* ---------- hareketi azalt ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .ticker__track {
    animation: none !important;
  }

  .ticker__viewport {
    overflow-x: auto;
  }

  .ticker__list[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- yüzde sınıfları (satır içi stil yok; CSP) ---------- */
.trend__dot.pc-0 { top: 0%; }
.trend__dot.pc-5 { top: 5%; }
.trend__dot.pc-10 { top: 10%; }
.trend__dot.pc-15 { top: 15%; }
.trend__dot.pc-20 { top: 20%; }
.trend__dot.pc-25 { top: 25%; }
.trend__dot.pc-30 { top: 30%; }
.trend__dot.pc-35 { top: 35%; }
.trend__dot.pc-40 { top: 40%; }
.trend__dot.pc-45 { top: 45%; }
.trend__dot.pc-50 { top: 50%; }
.trend__dot.pc-55 { top: 55%; }
.trend__dot.pc-60 { top: 60%; }
.trend__dot.pc-65 { top: 65%; }
.trend__dot.pc-70 { top: 70%; }
.trend__dot.pc-75 { top: 75%; }
.trend__dot.pc-80 { top: 80%; }
.trend__dot.pc-85 { top: 85%; }
.trend__dot.pc-90 { top: 90%; }
.trend__dot.pc-95 { top: 95%; }
.trend__dot.pc-100 { top: 100%; }

.opt__gauge.pc-0 { --p: 0; }
.opt__gauge.pc-5 { --p: 5; }
.opt__gauge.pc-10 { --p: 10; }
.opt__gauge.pc-15 { --p: 15; }
.opt__gauge.pc-20 { --p: 20; }
.opt__gauge.pc-25 { --p: 25; }
.opt__gauge.pc-30 { --p: 30; }
.opt__gauge.pc-35 { --p: 35; }
.opt__gauge.pc-40 { --p: 40; }
.opt__gauge.pc-45 { --p: 45; }
.opt__gauge.pc-50 { --p: 50; }
.opt__gauge.pc-55 { --p: 55; }
.opt__gauge.pc-60 { --p: 60; }
.opt__gauge.pc-65 { --p: 65; }
.opt__gauge.pc-70 { --p: 70; }
.opt__gauge.pc-75 { --p: 75; }
.opt__gauge.pc-80 { --p: 80; }
.opt__gauge.pc-85 { --p: 85; }
.opt__gauge.pc-90 { --p: 90; }
.opt__gauge.pc-95 { --p: 95; }
.opt__gauge.pc-100 { --p: 100; }

.hitbar .pc-0 { width: 0%; }
.hitbar .pc-5 { width: 5%; }
.hitbar .pc-10 { width: 10%; }
.hitbar .pc-15 { width: 15%; }
.hitbar .pc-20 { width: 20%; }
.hitbar .pc-25 { width: 25%; }
.hitbar .pc-30 { width: 30%; }
.hitbar .pc-35 { width: 35%; }
.hitbar .pc-40 { width: 40%; }
.hitbar .pc-45 { width: 45%; }
.hitbar .pc-50 { width: 50%; }
.hitbar .pc-55 { width: 55%; }
.hitbar .pc-60 { width: 60%; }
.hitbar .pc-65 { width: 65%; }
.hitbar .pc-70 { width: 70%; }
.hitbar .pc-75 { width: 75%; }
.hitbar .pc-80 { width: 80%; }
.hitbar .pc-85 { width: 85%; }
.hitbar .pc-90 { width: 90%; }
.hitbar .pc-95 { width: 95%; }
.hitbar .pc-100 { width: 100%; }


.tl-fill.pc-0 { width: 0%; }
.tl-fill.pc-5 { width: 5%; }
.tl-fill.pc-10 { width: 10%; }
.tl-fill.pc-15 { width: 15%; }
.tl-fill.pc-20 { width: 20%; }
.tl-fill.pc-25 { width: 25%; }
.tl-fill.pc-30 { width: 30%; }
.tl-fill.pc-35 { width: 35%; }
.tl-fill.pc-40 { width: 40%; }
.tl-fill.pc-45 { width: 45%; }
.tl-fill.pc-50 { width: 50%; }
.tl-fill.pc-55 { width: 55%; }
.tl-fill.pc-60 { width: 60%; }
.tl-fill.pc-65 { width: 65%; }
.tl-fill.pc-70 { width: 70%; }
.tl-fill.pc-75 { width: 75%; }
.tl-fill.pc-80 { width: 80%; }
.tl-fill.pc-85 { width: 85%; }
.tl-fill.pc-90 { width: 90%; }
.tl-fill.pc-95 { width: 95%; }
.tl-fill.pc-100 { width: 100%; }

/* ---------- kaydırılabilir kategori şeridi ---------- */

.fscroll {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.fscroll .fchips {
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scroll-padding: 0 52px;
}

.fscroll .fchip {
  scroll-snap-align: start;
}

/* Betik yoksa ince kaydırma çubuğu görünür; fareyle de kaydırılabilir. */
.fscroll:not(.is-ready) .fchips {
  scrollbar-width: thin;
  padding-bottom: 6px;
}

.fscroll:not(.is-ready) .fchips::-webkit-scrollbar {
  display: block;
  height: 6px;
}

.fscroll.has-next .fchips {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent calc(100% - 8px));
  mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent calc(100% - 8px));
}

.fscroll.has-prev .fchips {
  -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 64px), transparent calc(100% - 8px));
  mask-image: linear-gradient(to left, #000 calc(100% - 64px), transparent calc(100% - 8px));
}

.fscroll.has-prev.has-next .fchips {
  -webkit-mask-image: linear-gradient(to right, transparent 8px, #000 64px, #000 calc(100% - 64px), transparent calc(100% - 8px));
  mask-image: linear-gradient(to right, transparent 8px, #000 64px, #000 calc(100% - 64px), transparent calc(100% - 8px));
}

.fscroll__btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--ink);
  box-shadow: var(--shadow-h);
  transition: opacity .2s, transform .2s var(--spring), background .2s;
}

.fscroll__btn[hidden] {
  display: none;
}

.fscroll__btn--prev {
  left: 0;
}

.fscroll__btn--next {
  right: 0;
}

.fscroll__btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.fscroll__btn:hover {
  background: var(--surface-2);
}

.fscroll__btn:active {
  transform: scale(.9);
}

.fscroll__btn:disabled {
  opacity: 0;
  pointer-events: none;
  transform: scale(.7);
}

/* ---------- başlıktaki hesap bağlantıları ---------- */

.me-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: border-color .2s, background .2s;
}

.me-link .avatar {
  border-radius: 999px;
}

.me-link:hover,
.me-link.is-active {
  border-color: var(--brand);
  color: var(--ink);
}

.me-link__name {
  max-width: 14ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn--sm {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn--danger {
  background: var(--no);
  color: #fff;
}

.btn--danger:hover {
  background: color-mix(in oklab, var(--no) 86%, #000);
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn:disabled,
.btn.is-busy {
  opacity: .6;
  cursor: progress;
}

.btn:focus-visible,
.icon-btn:focus-visible,
.fscroll__btn:focus-visible,
.me-link:focus-visible,
.field__input:focus-visible,
.field__eye:focus-visible,
.link-btn:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.link-btn {
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.icon-btn--sm {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.icon-btn:disabled {
  opacity: .35;
  cursor: default;
}

/* ---------- formlar ---------- */

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form--inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.form--inline .field {
  flex: 1 1 220px;
}

.form--inline > .btn {
  margin-top: 26px;
}

.form--tight .field {
  flex: 0 0 120px;
}

.form--tight .field__label {
  font-size: 12.5px;
}

.form--tight > .btn {
  margin-top: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}

.field__input::placeholder {
  color: var(--ink-3);
  opacity: .7;
}

.field__input:hover {
  border-color: var(--ink-3);
}

.field__input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 18%, transparent);
  outline: none;
}

.field.is-invalid .field__input {
  border-color: var(--no);
}

.field.is-invalid .field__input:focus {
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--no) 18%, transparent);
}

.field__hint {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.4;
}

.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--no);
  line-height: 1.35;
}

.field__error .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.field__reveal {
  position: relative;
  display: block;
}

.field__reveal .field__input {
  padding-right: 52px;
}

.field__eye {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--ink-3);
}

.field__eye[hidden] {
  display: none;
}

.field__eye:hover {
  color: var(--ink);
}

.field__eye .icon--hide,
.field__eye[aria-pressed="true"] .icon--show {
  display: none;
}

.field__eye[aria-pressed="true"] .icon--hide {
  display: block;
}

.field--trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__fine {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

.form__fine a,
.auth__lede a,
.su-panel__foot a {
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

.notice-box .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.notice-box--ok {
  background: var(--yes-soft);
  color: var(--yes);
  border-color: color-mix(in oklab, var(--yes) 25%, transparent);
}

.notice-box--info {
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-color: color-mix(in oklab, var(--brand) 22%, transparent);
}

.notice-box--warn,
.notice-box--error {
  background: var(--no-soft);
  color: var(--no);
  border-color: color-mix(in oklab, var(--no) 25%, transparent);
}

.notice-box p {
  color: var(--ink);
}

.tag-soon {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px dashed var(--line-2);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.pill-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.pill-state .icon {
  width: 14px;
  height: 14px;
}

.pill-state--on {
  background: var(--yes-soft);
  color: var(--yes);
}

.pill-state--warn {
  background: var(--no-soft);
  color: var(--no);
}

.pill-state--brand {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

a.pill-state--brand:hover {
  background: color-mix(in oklab, var(--brand) 22%, var(--surface));
}

/* ---------- kayıt ve giriş ---------- */

.auth {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 360px);
  justify-content: center;
  gap: 24px;
  padding: 32px 0 72px;
  align-items: start;
}

/* Giriş ve kayıt: yan sütun yok, kart tek başına ortada. */
.auth--single {
  grid-template-columns: minmax(0, 520px);
}

.auth__card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  animation: rise .6s var(--ease) both;
}

.auth__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 800;
}

.auth__eyebrow .icon {
  width: 15px;
  height: 15px;
}

.auth__title {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.auth__lede {
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 20px;
}

.auth__side {
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
  animation: rise .6s var(--ease) both .1s;
}

.auth__side > p {
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 12px;
}

.auth__side-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
}

.auth__side-title:not(:first-child) {
  margin-top: 22px;
}

.soon-list,
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.soon-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
}

.soon-list li > span:nth-child(2) {
  flex: 1;
}

.soon-list__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink-3);
}

.soon-list__icon .icon {
  width: 17px;
  height: 17px;
}

.why-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

.why-list .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--brand);
}

/* ---------- Hesabım ---------- */

.account {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0 72px;
}

.account .card {
  animation: rise .6s var(--ease) both;
}

.account__head {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 22px;
}

.account__head .avatar {
  flex: none;
  border-radius: 20px;
}

.account__who {
  flex: 1;
  min-width: 0;
}

.account__name {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.account__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--ink-3);
  font-size: 14.5px;
  font-weight: 600;
}

.account__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.account__meta .icon {
  width: 15px;
  height: 15px;
}

.account__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}

.account__nav::-webkit-scrollbar {
  display: none;
}

.account__nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-2);
  white-space: nowrap;
}

.account__nav a:hover {
  border-color: var(--line-2);
  color: var(--ink);
}

.account__nav .icon {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.stats--account .stat {
  flex: 1;
}

.account__section {
  gap: 14px;
  padding: 22px;
  scroll-margin-top: 80px;
}

.account__section .section-title {
  margin: 0;
}

.account__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.account__sub {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.account__privacy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.account__privacy p {
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 12px;
}

.empty--inline {
  padding: 28px 20px;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.facts > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--ink-3);
  font-weight: 600;
  font-size: 14px;
}

.facts dd {
  margin: 0;
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow-wrap: anywhere;
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.rows__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "icon main action" "icon meta action";
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.rows__item:last-child {
  border-bottom: 0;
}

.rows__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink-2);
}

.rows__icon .icon {
  width: 18px;
  height: 18px;
}

.rows__main {
  grid-area: main;
  font-weight: 700;
  overflow-wrap: anywhere;
}

a.rows__main:hover {
  color: var(--brand-ink);
}

.rows__meta {
  grid-area: meta;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 600;
}

.rows__item > form,
.rows__item > .stamp {
  grid-area: action;
}

/* ---------- yönetim paneli: giriş adımları ---------- */

.su-bare {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.su-bare__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 16px 8px;
}

.su-bare__head .logo {
  height: 26px;
}

.su-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 12.5px;
  font-weight: 800;
}

.su-tag .icon {
  width: 14px;
  height: 14px;
}

.su-bare__main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px 64px;
}

.su-card {
  width: 100%;
  max-width: 440px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-h);
  animation: rise .6s var(--ease) both;
}

.su-card--wide {
  max-width: 620px;
}

.su-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
}

.su-card__icon .icon {
  width: 24px;
  height: 24px;
}

.su-card__icon--warn {
  background: var(--no-soft);
  color: var(--no);
}

.su-card__title {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.su-card__lede {
  color: var(--ink-2);
  margin-bottom: 20px;
}

.su-card__alt {
  margin-top: 16px;
  text-align: center;
  font-size: 14.5px;
}

.su-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.setup-steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.setup-steps > li {
  counter-increment: step;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 44px;
  color: var(--ink-2);
  font-size: 15px;
}

.setup-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 800;
  font-size: 14px;
}

.setup-steps b {
  color: var(--ink);
}

.setup-steps a {
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: underline;
}

.secret {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px dashed var(--line-2);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  word-spacing: .3em;
  overflow-wrap: anywhere;
  user-select: all;
}

/* ---------- yönetim paneli ---------- */

.su {
  background: var(--bg);
}

.su__shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.su__side {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100vh;
  padding: 20px 14px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.su__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
}

.su__brand .logo {
  height: 24px;
}

.su__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.su__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}

.su__link .icon {
  width: 18px;
  height: 18px;
}

.su__link:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.su__link.is-active {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.su__link.is-active .icon {
  color: var(--brand);
}

.su__me {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px 0;
  border-top: 1px solid var(--line);
}

.su__me .avatar {
  border-radius: 10px;
}

.su__me-name {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.su__me-name small {
  color: var(--ink-3);
  font-weight: 600;
  font-size: 12.5px;
}

.su__main {
  padding: 22px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 1120px;
}

.su__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.su__title {
  flex: 1;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.su__site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-2);
}

.su__site .icon {
  width: 16px;
  height: 16px;
}

.su__site:hover {
  color: var(--brand-ink);
}

.su__foot {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
}

.su-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.su-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon label" "icon value" "icon note";
  column-gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  animation: rise .6s var(--ease) both;
}

.su-tile__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.su-tile__icon .icon {
  width: 20px;
  height: 20px;
}

.su-tile__label {
  grid-area: label;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 700;
}

.su-tile__value {
  grid-area: value;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.su-tile__note {
  grid-area: note;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
}

.su-tile__link {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.su-tile:has(.su-tile__link):hover {
  border-color: var(--brand);
}

.su-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.su-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  animation: rise .6s var(--ease) both .05s;
}

.su-panel--soon {
  background: var(--surface-2);
  box-shadow: none;
  color: var(--ink-2);
  font-size: 15px;
}

.su-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
}

.su-panel__title > .icon {
  color: var(--brand);
}

.su-panel__lede {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: -4px;
}

.su-panel__foot {
  font-size: 14px;
}

.su-panel .notice-box {
  margin-bottom: 0;
}

.su-empty {
  color: var(--ink-3);
  font-weight: 600;
  padding: 12px 0;
}

.facts--rows > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.su-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.su-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.su-list__item:first-child {
  border-top: 0;
  padding-top: 4px;
}

.su-list__item.is-off .su-list__main {
  opacity: .62;
}

.su-list__main {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.su-list__main > b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.su-list__main > b .icon {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.su-list__main > .chip {
  align-self: flex-start;
}

.su-list__main--user {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.su-list__main--user .avatar {
  flex: none;
  border-radius: 10px;
}

.su-list__main--user > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.su-list__meta {
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.su-list__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.su-list__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.su-list__actions--wrap {
  flex-wrap: wrap;
  padding-top: 10px;
}

.su-list__more {
  flex-basis: 100%;
}

.su-list__more summary {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  cursor: pointer;
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 14px;
}

.su-list__more[open] summary {
  margin-bottom: 8px;
}

.su-list__more .form {
  max-width: 520px;
}

.su-search {
  display: flex;
  gap: 8px;
}

.su-search .field__input {
  flex: 1;
}

.su-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.su-log li {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.su-log li:first-child {
  border-top: 0;
}

.su-log__who {
  font-weight: 800;
}

.su-log__what {
  color: var(--ink-2);
}

.su-log__detail {
  color: var(--ink-3);
}

.su-log__when {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.su-search {
  flex-wrap: wrap;
}

.su-search .su-search__filter {
  flex: 0 1 180px;
}

.su-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.su-fieldset {
  margin: 0;
  padding: 14px 16px 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.su-fieldset > legend {
  padding: 0 6px;
}

.su-diff {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
}

.su-log .su-diff li {
  display: block;
  padding: 0;
  border: 0;
  font-size: 13.5px;
  overflow-wrap: anywhere;
}

.su-diff del {
  color: var(--ink-3);
}

.su-diff ins {
  text-decoration: none;
  font-weight: 600;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink-3);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .su-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .auth {
    grid-template-columns: minmax(0, 560px);
  }

  .account__grid,
  .account__privacy,
  .su-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .su__shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .su__side {
    position: sticky;
    z-index: 20;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .su__brand {
    padding: 0;
  }

  .su__nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px 2px;
  }

  .su__nav::-webkit-scrollbar {
    display: none;
  }

  .su__link {
    flex: none;
    min-height: 40px;
    font-size: 14px;
  }

  .su__me {
    margin: 0 0 0 auto;
    padding: 0;
    border-top: 0;
  }

  .su__me-name {
    display: none;
  }

  .su__main {
    padding: 18px 16px 40px;
  }
}

@media (max-width: 720px) {
  .fchips {
    margin: 0;
    padding: 2px 0;
  }

  .fscroll {
    margin: 0 -16px;
    padding: 0 16px;
  }

  .fscroll__btn {
    width: 34px;
    height: 34px;
    margin-top: -17px;
  }

  .fscroll__btn--prev {
    left: 8px;
  }

  .fscroll__btn--next {
    right: 8px;
  }

  .login-link span,
  .me-link__name {
    display: none;
  }

  .login-link {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .me-link {
    padding: 3px;
    min-height: 40px;
  }

  .signup-link {
    min-height: 38px;
    padding: 0 12px;
  }

  .auth {
    padding: 18px 0 40px;
    gap: 16px;
  }

  .auth__card,
  .auth__side {
    padding: 20px;
  }

  .auth__title {
    font-size: 26px;
  }

  .account {
    padding: 16px 0 40px;
    gap: 12px;
  }

  .account__head {
    flex-wrap: wrap;
    padding: 18px;
    gap: 14px;
  }

  .account__head .avatar {
    width: 56px;
    height: 56px;
  }

  .account__name {
    font-size: 23px;
  }

  .account__logout {
    flex-basis: 100%;
  }

  .account__logout .btn {
    width: 100%;
  }

  .account__nav {
    margin: 0 -16px;
    padding: 2px 16px;
  }

  .stats--account {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .stats--account .stat {
    min-width: 0;
  }

  .stats--account .stat__note {
    display: block;
  }

  .account__section {
    padding: 18px;
  }

  .rows__item {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "icon main" "icon meta" "icon action";
  }

  .rows__item > form,
  .rows__item > .stamp {
    justify-self: start;
    margin-top: 6px;
  }

  .su-card {
    padding: 22px;
  }

  .su-tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .su-panel {
    padding: 16px;
  }

  .su__title {
    font-size: 23px;
  }

  .su__site span,
  .su__site {
    font-size: 0;
  }

  .su__site .icon {
    width: 20px;
    height: 20px;
  }

  .su-log li {
    grid-template-columns: minmax(0, 1fr);
  }

  .form--inline > .btn {
    margin-top: 0;
  }

  .form--tight {
    flex-wrap: nowrap;
    align-items: flex-end;
  }

  .form--tight > .btn {
    margin-top: 0;
    margin-bottom: 4px;
  }
}

.form > .btn:not(.btn--block) {
  align-self: flex-start;
}

.su-list__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

/* Profil resmi (Hesabım > Profil) */
.photo {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.photo__preview {
  flex: none;
  display: block;
  border-radius: 18px;
  transition: box-shadow .3s var(--ease);
}

.photo__preview.is-new {
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--brand);
}

.photo__body {
  min-width: 0;
  flex: 1;
}

.photo__hint {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.photo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.photo__actions form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.photo__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.photo__pick {
  cursor: pointer;
}

.photo__pick:has(+ .photo__input:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.photo.is-invalid .photo__preview {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--no);
}

.avatar--photo {
  object-fit: cover;
  background: var(--surface-2);
}

.card:hover .avatar--photo {
  transform: none;
}

.me-link .avatar--photo {
  border-radius: 999px;
}

/* Yönetim paneli: kategori rengi ve simgesi seçici */
.cat-style {
  flex-basis: 100%;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.color-picker,
.icon-picker {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.icon-picker__legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

.color-picker__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-picker__item {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.color-picker__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.color-picker__face {
  height: 32px;
  padding: 0 11px 0 9px;
  gap: 7px;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 18%, transparent);
  transition: box-shadow .15s, transform .15s var(--spring);
}

.color-picker__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s var(--spring);
}

.color-picker__item:hover .color-picker__face {
  box-shadow: inset 0 0 0 1px currentColor;
}

.color-picker__input:checked + .color-picker__face {
  box-shadow: inset 0 0 0 2px currentColor;
}

.color-picker__input:checked + .color-picker__face .color-picker__dot {
  transform: scale(1.25);
}

.color-picker__input:focus-visible + .color-picker__face {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.icon-picker__group + .icon-picker__group {
  margin-top: 12px;
}

.icon-picker__group-title {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.icon-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 6px;
}

.icon-picker__item {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.icon-picker__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.icon-picker__face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 68px;
  padding: 8px 4px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink-2);
  transition: border-color .15s, background-color .15s, color .15s;
}

.icon-picker__label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
}

.icon-picker__item {
  display: flex;
  min-width: 0;
}

.icon-picker__item[hidden],
.icon-picker__group[hidden] {
  display: none;
}

/* Simge alanı: düğme + (betikle) aramalı pencere */
.icon-field > summary {
  list-style: none;
}

.icon-field > summary::-webkit-details-marker {
  display: none;
}

.icon-field__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}

.icon-field__trigger:hover {
  border-color: var(--line-2);
}

.icon-field__trigger:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.icon-field__preview {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--pick-s, var(--brand-soft));
  color: var(--pick, var(--brand-ink));
}

.icon-field__preview .icon {
  width: 20px;
  height: 20px;
}

.icon-field__name {
  font-weight: 700;
  color: var(--ink);
}

.icon-field__change {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-ink);
}

.icon-field__backdrop,
.icon-field__head {
  display: none;
}

.icon-field__body {
  margin-top: 12px;
}

.icon-field__empty {
  margin: 8px 0;
  color: var(--ink-3);
}

.js .icon-field[open] .icon-field__layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.js .icon-field__backdrop {
  position: absolute;
  inset: 0;
  display: block;
  background: rgba(9, 13, 22, .55);
  animation: icon-field-fade .18s ease-out;
}

.js .icon-field__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  height: min(680px, calc(100vh - 48px));
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(9, 13, 22, .32);
  overflow: hidden;
  animation: icon-field-rise .22s var(--spring);
}

.js .icon-field__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 14px 14px 20px;
  border-bottom: 1px solid var(--line);
}

.icon-field__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.icon-field__search {
  position: relative;
  grid-column: 1 / -1;
  margin-right: 6px;
}

.icon-field__search > .icon {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}

.icon-field__search .field__input {
  width: 100%;
  padding-left: 40px;
}

.js .icon-field__body {
  margin-top: 0;
  padding: 16px 20px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.js.has-modal {
  overflow: hidden;
}

/* Açılış hareketindeki dönüşüm sabit konumlu pencereyi panelin içine hapsetmesin. */
.js .su-panel:has(.icon-field[open]) {
  animation: none;
  transform: none;
}

@keyframes icon-field-fade {
  from { opacity: 0; }
}

@keyframes icon-field-rise {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
}

@media (max-width: 720px) {
  .js .icon-field[open] .icon-field__layer {
    place-items: end stretch;
    padding: 0;
  }

  .js .icon-field__dialog {
    width: 100%;
    height: 88vh;
    border-radius: 18px 18px 0 0;
  }

  .icon-picker__grid {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .icon-field__backdrop,
  .js .icon-field__dialog {
    animation: none;
  }
}

.icon-picker__face .icon {
  width: 20px;
  height: 20px;
}

.icon-picker__item:hover .icon-picker__face {
  border-color: var(--pick, var(--brand-ink));
  color: var(--pick, var(--brand-ink));
}

.icon-picker__input:checked + .icon-picker__face {
  border-color: var(--pick, var(--brand));
  background: var(--pick-s, var(--brand-soft));
  color: var(--pick, var(--brand-ink));
  box-shadow: inset 0 0 0 1px var(--pick, var(--brand));
}

.icon-picker__input:focus-visible + .icon-picker__face {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Seçilen renk, seçilen simgenin kutusunda önizlenir. */
.cat-style:has(.color-picker__input[value="genel"]:checked) { --pick: var(--c-genel); --pick-s: var(--c-genel-s); }
.cat-style:has(.color-picker__input[value="siyaset"]:checked) { --pick: var(--c-siyaset); --pick-s: var(--c-siyaset-s); }
.cat-style:has(.color-picker__input[value="eco"]:checked) { --pick: var(--c-eco); --pick-s: var(--c-eco-s); }
.cat-style:has(.color-picker__input[value="bilim"]:checked) { --pick: var(--c-bilim); --pick-s: var(--c-bilim-s); }
.cat-style:has(.color-picker__input[value="dunya"]:checked) { --pick: var(--c-dunya); --pick-s: var(--c-dunya-s); }
.cat-style:has(.color-picker__input[value="zeytin"]:checked) { --pick: var(--c-zeytin); --pick-s: var(--c-zeytin-s); }
.cat-style:has(.color-picker__input[value="sehir"]:checked) { --pick: var(--c-sehir); --pick-s: var(--c-sehir-s); }
.cat-style:has(.color-picker__input[value="enerji"]:checked) { --pick: var(--c-enerji); --pick-s: var(--c-enerji-s); }
.cat-style:has(.color-picker__input[value="kahve"]:checked) { --pick: var(--c-kahve); --pick-s: var(--c-kahve-s); }
.cat-style:has(.color-picker__input[value="mercan"]:checked) { --pick: var(--c-mercan); --pick-s: var(--c-mercan-s); }
.cat-style:has(.color-picker__input[value="spor"]:checked) { --pick: var(--c-spor); --pick-s: var(--c-spor-s); }
.cat-style:has(.color-picker__input[value="erguvan"]:checked) { --pick: var(--c-erguvan); --pick-s: var(--c-erguvan-s); }
.cat-style:has(.color-picker__input[value="tek"]:checked) { --pick: var(--c-tek); --pick-s: var(--c-tek-s); }

.su-list__tools {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 20px;
}

.su-list__tools > .su-list__more:not([open]) {
  flex-basis: auto;
}

/* Bot masaları: kota kutusu, Kaydet ve Aç/Kapat aynı alt çizgide */
.su-list__actions--desk {
  align-items: flex-end;
  gap: 8px;
}

.su-list__actions--desk .form--inline {
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 8px;
}

.su-list__actions--desk .form--inline .field {
  flex: 0 0 110px;
  gap: 4px;
}

.su-list__actions--desk .form--inline > .btn {
  margin-top: 0;
  align-self: flex-end;
}

.su-list__actions--desk .field__input {
  min-height: 36px;
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
}

.su-list__actions--desk .btn--sm {
  min-height: 36px;
}

.su-list__item--desk {
  flex-wrap: wrap;
}

.su-list__item--desk .su-list__main {
  flex: 1 1 0;
}

.su-list__actions--desk {
  flex: 1 1 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-top: 4px;
}

.su-list__meta--error {
  color: var(--no);
}

.su-panel--token {
  border-color: var(--brand);
}

.token-box {
  margin: 12px 0 8px;
}

.token-box code {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
  user-select: all;
}

/* Yönetim paneli: kullanıcı sayfası */
.su-list__link {
  color: inherit;
  text-decoration: none;
}

.su-list__link:hover b {
  color: var(--brand-ink);
  text-decoration: underline;
}

.su-back {
  margin: 0 0 12px;
}

.su-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.su-back .icon {
  width: 16px;
  height: 16px;
}

.su-person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px 20px;
}

.su-person__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.su-person__name {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.su-person .su-list__badges {
  margin: 4px 0 0;
}

.su-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 0;
}

.su-facts > div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.su-facts dt {
  font-size: 13px;
  color: var(--ink-3);
}

.su-facts dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.su-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.field__input--sm {
  min-height: 36px;
  height: 36px;
  width: auto;
  padding-top: 0;
  padding-bottom: 0;
}

.su-confirm {
  flex-basis: auto;
}

.su-confirm[open] {
  flex-basis: 100%;
}

.su-confirm .form__fine {
  max-width: 560px;
}

.su-confirm form > .btn {
  align-self: flex-start;
}

.su-confirm form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 520px;
}

.su-confirm .field__input {
  width: 100%;
}

.su-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.su-choices legend {
  margin-bottom: 4px;
  padding: 0;
}

.su-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

/* ---------- kayıt ekleme ---------- */

.submit {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 340px);
  justify-content: center;
  gap: 24px;
  padding: 8px 0 72px;
  align-items: start;
}

.submit__card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  animation: rise .6s var(--ease) both;
}

.submit__side {
  position: sticky;
  top: 88px;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 16px;
}

.only-figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.submit-form:has(#f-speaker-self:checked) .only-figure {
  display: none;
}

.field__optional {
  margin-left: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.field__input--area {
  min-height: 0;
  padding: 12px 14px;
  line-height: 1.45;
  resize: vertical;
}

.field__input--select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.choice-set {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.choice-set .field__label {
  padding: 0;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.choice__body {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.choice__body .icon {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  color: var(--ink-3);
  transition: color .2s, transform .3s var(--spring);
}

.choice__body b {
  font-size: 15px;
}

.choice__body small {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.35;
}

.choice:hover .choice__body {
  border-color: var(--ink-3);
}

.choice input:checked + .choice__body {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 1px var(--brand) inset;
}

.choice input:checked + .choice__body .icon {
  color: var(--brand);
  transform: scale(1.08);
}

.choice input:focus-visible + .choice__body {
  outline: 3px solid color-mix(in oklab, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.choice-set.is-invalid .choice__body {
  border-color: var(--no);
}

.more {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
}

.more > .field {
  margin-top: 16px;
}

.more > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.more > summary::-webkit-details-marker {
  display: none;
}

.more > summary .icon {
  width: 18px;
  height: 18px;
  color: var(--brand);
}


.page-notice {
  margin: 0 0 16px;
}

@media (max-width: 980px) {
  .submit {
    grid-template-columns: minmax(0, 680px);
  }

  .submit__side {
    position: static;
  }
}

@media (max-width: 720px) {
  .submit {
    padding: 4px 0 40px;
    gap: 16px;
  }

  .submit__card {
    padding: 20px 16px;
    border-radius: var(--r-md);
  }

  .field-row,
  .choices {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .submit__card {
    animation: none;
  }

  .choice__body,
  .choice__body .icon {
    transition: none;
  }
}

/* ---------- yönetim: inceleme ---------- */

.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.review__quote {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--brand);
  background: var(--surface-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 17px;
  line-height: 1.45;
}

.review__reject {
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
}

@media (max-width: 720px) {
  .add-link {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .add-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---------- tahmin verme ---------- */

button.opt:not(:disabled),
a.opt {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

button.opt:not(:disabled):hover,
a.opt:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

button.opt:focus-visible,
a.opt:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.opt.is-chosen {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 1px var(--brand) inset;
}

.opt.is-chosen b {
  color: var(--brand-ink);
}

.vote__note a {
  color: var(--brand-ink);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  button.opt:not(:disabled):hover,
  a.opt:hover {
    transform: none;
  }
}

/* ---------- Arama ve mükerrer uyarısı ---------- */

.hero--search {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  padding: 6px 6px 6px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
}

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.search-box__icon {
  display: grid;
  color: var(--ink-3);
}

.search-box__input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  outline: none;
}

.search-box__input::-webkit-search-cancel-button {
  cursor: pointer;
}

.search-link.is-active {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.search-people {
  margin: 8px 0 24px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chip-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color .2s, transform .15s;
}

.chip-person:hover {
  border-color: var(--brand);
}

.chip-person:active {
  transform: scale(.97);
}

.chip-person span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.chip-person small {
  color: var(--ink-3);
  font-size: 13px;
}

.chip-person em {
  margin-left: 4px;
  color: var(--ink-3);
  font-size: 13px;
  font-style: normal;
}

.dupes {
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--void);
  border-radius: var(--r-md);
  background: var(--void-soft);
}

.dupes__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-weight: 700;
}

.dupes__list {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.dupes__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--surface);
}

.dupes__list a {
  flex: 1 1 260px;
  font-weight: 600;
  color: var(--ink);
}

.dupes__list a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
}

.dupes__list .muted {
  font-size: 13.5px;
}

.dupes__hint {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.dupes__merge {
  margin: 0;
}

.dupes--review {
  margin: 4px 0 16px;
}

.dupes--blocked .field {
  margin: 14px 0 0;
}

.dupes-group {
  margin: 0 0 16px;
}

.dupes-group__title {
  margin: 0 0 6px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .search-box {
    padding-left: 12px;
  }

  .chip-person {
    width: 100%;
  }
}

/* ---------- Karar, itiraz ---------- */

.appeal-box {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.appeal-box > p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

.appeal-box__mine {
  color: var(--ink);
  font-weight: 600;
}

.appeal-box__form summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 700;
  color: var(--brand-ink);
  cursor: pointer;
}

.appeal-box__form .form {
  margin-top: 8px;
}

.decision__claim {
  margin: 8px 0 4px;
  font-size: 19px;
  line-height: 1.3;
}

.decision__claim a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
}

.decision__criteria {
  margin: 8px 0 14px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 14.5px;
}

.choices--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice--true input:checked + .choice__body {
  border-color: var(--yes);
  background: var(--yes-soft);
}

.choice--false input:checked + .choice__body {
  border-color: var(--no);
  background: var(--no-soft);
}

.choice--void input:checked + .choice__body {
  border-color: var(--void);
  background: var(--void-soft);
}

.appeal {
  flex-direction: column;
  align-items: stretch;
}

.appeal__claim {
  margin: 0;
  font-weight: 700;
}

.appeal .review__quote footer {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 13px;
  font-style: normal;
}

.appeal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.appeal__actions form {
  margin: 0;
}

@media (max-width: 720px) {
  .choices--three {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Liderler ---------- */

.leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.rail-item__text small {
  display: block;
  font-size: 12.5px;
}

@media (max-width: 720px) {
  .leaders {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Bildirimler ve takip ---------- */

.bell-link .bell-link__count {
  position: absolute;
  top: 5px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  border: 2px solid var(--surface);
  background: var(--live);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

.bell-link.is-active {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.notif-list {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.notif {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.notif:first-child {
  border-top: 0;
}

.notif.is-unread {
  background: var(--brand-soft);
}

.notif__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--brand);
}

.notif.is-unread .notif__icon {
  background: var(--surface);
}

.notif__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.notif__body:hover .notif__text {
  text-decoration: underline;
}

.notif__text {
  overflow-wrap: anywhere;
}

.notif__time {
  color: var(--ink-3);
  font-size: 13px;
}

.notif-email {
  max-width: 760px;
}

.notif-email h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
}

.notif-email h2 > .icon {
  color: var(--brand);
}

.notif-email form {
  align-self: flex-start;
}

.mail-form {
  max-width: 560px;
}

.mail-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Kötüye kullanım alarmları ---------- */

.alerts .alert {
  flex-wrap: wrap;
  align-items: flex-start;
}

.alert--3 {
  padding-left: 14px;
  box-shadow: inset 3px 0 0 var(--no);
}

.alerts .pill-state {
  align-self: flex-start;
}

.alert__users {
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alert__users li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.alert__close {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.alert__close .field__input {
  flex: 1 1 220px;
  max-width: 360px;
}

.linked-accounts {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Çevrimdışı tahmin sırası (ADR 0018) */
.offline-queue {
  margin-bottom: 12px;
}

/* Hesabım: güven seviyesi (ADR 0019) */
.trust-level {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 12px;
}

.trust-level span {
  color: var(--ink-2);
}

.trust-level__next {
  margin: 0 0 6px;
  font-weight: 600;
}

.trust-steps {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.trust-steps__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
}

.trust-steps__item .icon {
  flex: none;
  color: var(--ink-3);
}

.trust-steps__item.is-done {
  color: var(--ink);
}

.trust-steps__item.is-done .icon {
  color: var(--yes);
}

/* Veriyle karar kuralları (/su/kararlar/veri) */
.su-list__item--rule {
  flex-wrap: wrap;
}

.su-list__item--rule .su-list__main {
  flex: 1 1 0;
  min-width: 0;
}

.rule-state--pending {
  color: var(--ink-3);
}

.rule-state--decided {
  color: var(--yes);
}

.rule-state--failed {
  color: var(--no);
}

.info__rule {
  margin-top: 8px;
  color: var(--ink-3);
}

/* Güven ağı kümeleri (/su/alarmlar#kumeler) */
.cluster {
  flex-wrap: wrap;
}

.cluster .su-list__main {
  flex: 1 1 0;
  min-width: 0;
}

.cluster__members {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 4px;
}

.cluster__member.is-excluded {
  color: var(--ink-3);
  text-decoration: line-through;
}

/* Kaynaklar ve kanıtlar (önerme sayfası, ADR 0022) */
.evidence__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence__link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.evidence__link > .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--ink-3);
}

.evidence__text {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.evidence__text a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: .15em;
  overflow-wrap: anywhere;
}

.evidence__text .icon--sm,
.evidence__text a .icon {
  width: 14px;
  height: 14px;
}

.evidence__meta {
  font-size: 13px;
  color: var(--ink-3);
  overflow-wrap: anywhere;
}

.evidence__meta a {
  color: inherit;
  text-decoration: underline;
}

.evidence .is-hidden {
  opacity: .55;
}

/* Ekran görüntüsü varsa iki sütun: görüntüler solda, bağlantılar sağda.
   Dar ekranda alt alta iner. */
.evidence__body {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .evidence__body.has-shots {
    grid-template-columns: minmax(180px, 2fr) 3fr;
    align-items: start;
  }
}

.evidence__shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shot__frame[data-lightbox] {
  cursor: zoom-in;
}

/* Ekran görüntüsü penceresi: yakınlaştırma, uzaklaştırma ve sürükleme. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: #070b14;
  color: #fff;
  animation: lightbox-in .18s var(--ease) both;
}

.lightbox[hidden] {
  display: none;
}

@keyframes lightbox-in {
  from { opacity: 0; }
}

.lightbox__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  padding-top: max(10px, env(safe-area-inset-top));
}

.lightbox__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lightbox__zoom {
  min-width: 52px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
  opacity: .8;
}

.lightbox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: inherit;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .15s;
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, .18);
}

.lightbox__btn:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--brand) 70%, #fff);
  outline-offset: 2px;
}

.lightbox__btn .icon {
  width: 20px;
  height: 20px;
}

.lightbox__stage {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.lightbox__stage.is-dragging {
  cursor: grabbing;
}

.lightbox__img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  transform-origin: 0 0;
  will-change: transform;
  -webkit-user-drag: none;
  user-select: none;
}

.lightbox__hint {
  margin: 0;
  padding: 8px 12px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  font-size: 12.5px;
  text-align: center;
  opacity: .7;
}

.lightbox-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .lightbox__bar {
    gap: 6px;
  }

  .lightbox__title {
    font-size: 13px;
  }

  .lightbox__btn {
    width: 40px;
    height: 40px;
  }
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.shot__frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}

.shot__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .25s var(--ease);
}

.shot__frame:hover img,
.shot__frame:focus-visible img {
  transform: scale(1.03);
}

.shot__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shot__title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
}

.shot__title .icon {
  width: 15px;
  height: 15px;
  color: var(--ink-3);
}

.shot__caption form {
  margin-top: 4px;
}

.evidence__add > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-ink);
}

.evidence__add > summary .icon {
  width: 16px;
  height: 16px;
}

.evidence__add[open] > summary {
  margin-bottom: 12px;
}

.evidence__add form:has(input[name="tur"][value="baglanti"]:checked) .evidence__only-image {
  display: none;
}

.evidence__file {
  padding: 8px;
}

.submit-shot__hint {
  margin-top: 4px;
}

/* Üye yorumları (önerme sayfası ve yönetim paneli, ADR 0030) */
.comments__empty {
  margin: 0;
  color: var(--ink-3);
}

.comments__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.comment:first-child {
  border-top: 0;
  padding-top: 2px;
}

.comment > .avatar {
  flex: none;
  border-radius: 50%;
}

.comment.is-hidden .comment__main {
  opacity: .55;
}

.comment__main {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.comment__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0;
  font-size: 14px;
}

.comment__name {
  color: var(--ink);
}

.comment__handle,
.comment__time {
  color: var(--ink-3);
  font-size: 13px;
}

.comment__body {
  color: var(--ink-2);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.comment__actions {
  margin-top: 2px;
}

.comments__form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.su-comment__body {
  display: block;
  color: var(--ink-2);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Veriyle karar: EVDS'de listede olmayan seri yalnızca "Başka bir seri" seçilince */
form:not(:has(option[value$="|*"]:checked)) .rule-custom {
  display: none;
}

/* Dış servisler (ADR 0023) */
.provider {
  flex-wrap: wrap;
}

.provider.is-off .su-list__main b {
  color: var(--ink-3);
}

.provider__edit,
.provider__new {
  flex-basis: 100%;
}

.provider__edit > summary,
.provider__new > summary {
  cursor: pointer;
  color: var(--brand-ink);
  font-weight: 600;
}

.provider__edit[open] > summary,
.provider__new[open] > summary {
  margin-bottom: 12px;
}

.choices--presets {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.choices--presets .choice__body {
  grid-template-columns: 1fr;
  align-content: start;
}

.provider__new > summary::-webkit-details-marker,
.provider__edit > summary::-webkit-details-marker {
  display: none;
}

.provider__new > summary,
.provider__edit > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Yapay zekâ hakemi */
.referee {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface-2);
}

.referee__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-weight: 700;
}

.referee__title .muted {
  font-weight: 400;
  font-size: 13px;
}

.referee__list {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.referee__item {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  padding: 8px 10px;
  border-left: 3px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.referee__item--ayni,
.referee__item--tuttu {
  border-left-color: var(--brand);
}

.referee__item--karsit,
.referee__item--patladi {
  border-left-color: var(--void);
}

.referee__why {
  flex-basis: 100%;
  color: var(--ink-2);
}

.referee__ask > summary {
  list-style: none;
  cursor: pointer;
}

.referee__ask > summary::-webkit-details-marker {
  display: none;
}

.referee__ask[open] > summary {
  margin-bottom: 12px;
}

/* Yapay zekâ araştırmacısı (ADR 0028) */
.referee__sources {
  flex-basis: 100%;
  margin: 4px 0 2px;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
}

.referee__sources li {
  margin: 2px 0;
}

.referee__sources li.is-cited a {
  font-weight: 700;
}

.referee__sources .muted {
  font-size: 13px;
}

.referee__run {
  margin: 0 0 10px;
}

.decision-fix {
  flex-wrap: wrap;
}

.decision-fix__form {
  flex-basis: 100%;
}

.decision-fix__form > summary {
  list-style: none;
  cursor: pointer;
  width: max-content;
}

.decision-fix__form > summary::-webkit-details-marker {
  display: none;
}

.decision-fix__form[open] > summary {
  margin-bottom: 12px;
}

.verdict__by {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}

.verdict__sources {
  margin: 12px 0 0;
}

.verdict__sources-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

.verdict__sources ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 4px;
  font-size: 14px;
}

.verdict__sources a {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: .15em;
  overflow-wrap: anywhere;
}

.verdict__sources .muted {
  color: var(--ink-3);
}

/* Google ile giriş */
/* Google ile giriş: Google'ın marka kuralı (beyaz yüzey, gri çerçeve, çok renkli G). */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #747775;
  border-radius: var(--r-md);
  font: 500 15px/1.2 var(--font-sans, system-ui, sans-serif);
  text-decoration: none;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.google-btn:hover {
  background: #f8faff;
  box-shadow: 0 1px 3px rgba(60, 64, 67, .3);
  text-decoration: none;
}

.google-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.google-btn__logo {
  flex: none;
  width: 18px;
  height: 18px;
}

:root[data-theme="dark"] .google-btn {
  background: #131314;
  color: #e3e3e3;
  border-color: #8e918f;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .google-btn {
    background: #131314;
    color: #e3e3e3;
    border-color: #8e918f;
  }
}

.auth__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: var(--ink-2);
  font-size: 13px;
}

.auth__or::before,
.auth__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Dış cron adresi gibi uzun, bölünmeyen değerler satıra sığsın. */
.su-code { word-break: break-all; }

/* Dosya seçme: tarayıcının varsayılan düğmesi yerine sitenin ikincil düğmesi. */
.field__input[type="file"] {
  min-height: 52px;
  padding: 7px 12px 7px 7px;
  color: var(--ink-3);
  font-size: 14.5px;
  cursor: pointer;
}

.field__input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 12px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.field__input[type="file"]:hover::file-selector-button {
  background: var(--surface-3);
  border-color: var(--line-2);
}

.field__input[type="file"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Kayıt ekleme: "Ben" seçilince söz alanının etiketi "Tahminin" olur. */
.only-self {
  display: none;
}

.submit-form:has(#f-speaker-self:checked) .only-self {
  display: inline;
}

.submit-form:has(#f-speaker-self:checked) .only-figure-inline {
  display: none;
}

.ai-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: -6px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-3);
}

.ai-note .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--brand);
}

.draft-note {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.draft-note__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink-3);
}

.draft-note__label .icon {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.draft-note__text {
  margin-top: 4px;
  font-weight: 700;
  color: var(--ink);
}

/* Son gün kısayolları */
.quick-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.field[hidden] {
  display: none;
}

.quick-dates[hidden] {
  display: none;
}

.quick-dates__btn {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.quick-dates__btn:hover {
  background: var(--surface-3);
}

.quick-dates__btn.is-active {
  border-color: var(--brand);
  color: var(--brand-ink);
}

/* Kişi adı: öneri listesi */
.combo {
  position: relative;
}

.combo__list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-h);
}

.combo__list[hidden] {
  display: none;
}

.combo__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 7px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.combo__item .avatar {
  flex: none;
  border-radius: 10px;
}

.combo__item.is-active,
.combo__item:hover {
  background: var(--surface-2);
}

.combo__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.combo__name {
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo__role {
  font-size: 13px;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo__item--new {
  color: var(--brand-ink);
}

.combo__item--new .combo__name {
  color: inherit;
  white-space: normal;
}

.combo__plus {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px dashed currentColor;
}

.combo__plus .icon {
  width: 16px;
  height: 16px;
}

/* Kişi sayfası: fotoğrafın kaynağı ve yönetimi */
.profile__credit {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.profile__manage {
  margin-top: 10px;
  font-size: 14px;
}

.profile__manage > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink-2);
}

.profile__manage > summary .icon {
  width: 15px;
  height: 15px;
}

.profile__manage form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.profile__manage .field__input {
  flex: 1 1 220px;
  width: auto;
}

/* Yönetim paneli: içerik botu (/su/bot). */
.bot-prompt {
  min-height: 280px;
  font-size: 13.5px;
  line-height: 1.5;
}

.bot-log {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.bot-log__line {
  display: grid;
  grid-template-columns: max-content max-content 1fr;
  gap: 4px 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.45;
}

.bot-log__line time {
  color: var(--ink-3);
  white-space: nowrap;
}

.bot-log__level {
  min-width: 44px;
  color: var(--ink-3);
  font-weight: 600;
}

.bot-log__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bot-log__line--basari .bot-log__level { color: var(--yes); }
.bot-log__line--uyari .bot-log__level { color: var(--void); }
.bot-log__line--hata .bot-log__level { color: var(--no); }

@media (max-width: 640px) {
  .bot-log__line {
    grid-template-columns: max-content 1fr;
  }

  .bot-log__text {
    grid-column: 1 / -1;
  }
}

/* İçerik botunun canlı durumu (/su/bot) */
.bot-live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 14px;
}

.bot-live[hidden] {
  display: none;
}

.bot-live__spinner {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
}

.bot-live.is-running .bot-live__spinner {
  border-top-color: var(--brand);
  animation: spin-clock .8s linear infinite;
}

.bot-live__status {
  flex: 1 1 200px;
  min-width: 0;
  color: var(--ink-2);
}

.bot-live__jump {
  font-size: 13px;
}

.bot-live__stop {
  margin: 0;
}

.bot-live:not(.is-running) .bot-live__stop {
  display: none;
}

.bot-log:empty {
  border-top: 0;
}

.bot-log__line.is-new {
  animation: fade .4s ease-out;
}

.bot-log__text a {
  color: var(--brand-ink);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  .bot-live.is-running .bot-live__spinner {
    animation: none;
    border-color: var(--brand);
  }

  .bot-log__line.is-new {
    animation: none;
  }
}

/* Önerme sayfasında yöneticinin kaydı kaldırma kutusu */
.record-admin p {
  color: var(--ink-2);
  font-size: 14px;
}

.record-admin form {
  margin-top: 12px;
}

.record-admin__remove > summary {
  list-style: none;
  cursor: pointer;
}

.record-admin__remove > summary::-webkit-details-marker {
  display: none;
}

/* İncelemede silme: düğme tek tıkla çalışır, gerekçe isteğe bağlıdır */
.review__reject {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 16px;
}

.review__reason {
  flex: 1 1 260px;
  min-width: 0;
  font-size: 14px;
}

.review__reason > summary {
  padding: 6px 0;
  color: var(--ink-2);
  cursor: pointer;
}

.review__reason .field {
  margin-top: 8px;
}

.bot-prompt-backup {
  margin-top: 8px;
  font-size: 14px;
}

.bot-prompt-backup > summary {
  color: var(--ink-2);
  cursor: pointer;
}

.bot-prompt-backup__text {
  max-height: 320px;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 12.5px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Kayıt ekleme: "Linkten doldur" (ADR 0031). Betik yoksa bölüm gizli kalır. */
.link-fill {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--brand-soft);
}

.link-fill[hidden],
.link-fill__claims[hidden],
.draft-note[hidden],
.link-shot-note[hidden] {
  display: none;
}

.link-fill__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.link-fill__title .icon {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.link-fill__lede {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}

.link-fill__row {
  display: flex;
  gap: 8px;
}

.link-fill__row .field__input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
}

.link-fill__btn {
  flex: none;
}

.link-fill__btn[aria-busy="true"] {
  opacity: .75;
  cursor: progress;
}

.link-fill__status:empty {
  display: none;
}

.link-fill__status {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}

.link-fill__status.is-error {
  color: var(--no);
  font-weight: 700;
}

.link-fill__status.is-done {
  color: var(--yes);
  font-weight: 700;
}

.link-fill__claims-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.link-fill__list {
  display: grid;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.link-fill__pick {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.link-fill__pick:hover {
  background: var(--surface-2);
}

.link-fill__pick.is-active {
  border-color: var(--brand);
}

.link-fill__pick b {
  font-weight: 700;
}

.link-fill__pick small {
  font-size: 12.5px;
  color: var(--ink-3);
}

.link-fill__or {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.link-fill__or::before,
.link-fill__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}

.field__input.is-filled {
  border-color: var(--brand);
}

@media (max-width: 560px) {
  .link-fill__row {
    flex-direction: column;
  }
}

/* Linkten doldur: haber ya da iddia sitede zaten kayıtlı */
.link-existing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--void);
  border-radius: var(--r-md);
  background: var(--void-soft);
}

.link-existing[hidden],
.submit-form[hidden],
.link-fill .btn[hidden] {
  display: none;
}

.link-existing__body {
  display: grid;
  flex: 1 1 220px;
  gap: 2px;
  min-width: 0;
}

.link-existing__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--void);
}

.link-existing__text {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.link-existing__text:hover {
  text-decoration: underline;
}

.link-existing__figure {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* Linkten doldur: iddia sahibinin kayıtlı kişi olup olmadığı */
.figure-match {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.figure-match[hidden],
.link-shot[hidden],
.link-shot__img[hidden],
.link-shot__wait[hidden] {
  display: none;
}

.figure-match.is-known {
  border-color: var(--yes);
  background: var(--yes-soft);
}

.figure-match__avatar {
  flex: none;
  display: inline-flex;
}

.figure-match__body {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.figure-match__name {
  font-weight: 800;
  color: var(--ink);
}

.figure-match__note {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}

.figure-match__note a {
  color: var(--brand-ink);
  font-weight: 700;
}

/* Linkten doldur: ekran görüntüsü önizlemesi */
.link-shot {
  display: grid;
  gap: 8px;
}

.link-shot__frame {
  max-height: 360px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.link-shot__img {
  display: block;
  width: 100%;
  height: auto;
}

.link-shot__wait {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 28px 16px;
  font-size: 14px;
  color: var(--ink-3);
}

.link-shot__wait .icon {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.link-shot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.link-shot__text {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-2);
}

.link-shot__bar .btn[hidden] {
  display: none;
}

/* Linkten doldur: kayıtlı kişi işareti ve kayıtlı fotoğrafı */
.combo__verified {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 999px;
  background: var(--yes);
  color: var(--surface);
  pointer-events: none;
}

.combo__verified[hidden],
.known-photo[hidden] {
  display: none;
}

.combo__verified .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.combo.is-verified .field__input {
  padding-left: 40px;
  border-color: var(--yes);
}

.known-photo__box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--yes);
  background: var(--yes-soft);
}

.known-photo__img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface-2);
}

.known-photo__text {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}

.known-photo__text .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--yes);
}

/* ---------- hukuki metinler (ADR 0035) ---------- */

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  width: 100%;
}

.site-footer__legal a {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: .2em;
}

.site-footer__legal a:hover {
  color: var(--brand-ink);
  text-decoration-color: var(--accent2);
}

.legal {
  max-width: 760px;
  margin: 8px auto 48px;
}

.legal__head {
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.legal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 8px;
}

.legal__eyebrow .icon {
  width: 16px;
  height: 16px;
}

.legal__meta {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.legal__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal__doc {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.legal__doc:hover {
  border-color: var(--brand-2);
  color: var(--brand-ink);
}

.legal__doc.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.legal__toc {
  margin-bottom: 28px;
}

.legal__toc-title {
  font-size: 15px;
  font-weight: 800;
}

.legal__toc ol {
  display: grid;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal__toc a {
  display: block;
  padding: 3px 0;
  color: var(--ink-2);
  font-size: 15px;
}

.legal__toc a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
  text-decoration-color: var(--accent2);
}

@media (min-width: 40em) {
  .legal__toc ol {
    grid-template-columns: 1fr 1fr;
  }
}

.legal__body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
}

.legal__section {
  scroll-margin-top: 80px;
  padding-bottom: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal__section:last-child {
  border-bottom: 0;
}

.legal__section h2 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 12px;
  color: var(--brand-ink);
}

.legal__section h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 22px 0 8px;
}

.legal__section p,
.legal__section ul,
.legal__section ol {
  margin: 0 0 14px;
}

.legal__section ul,
.legal__section ol {
  padding-left: 22px;
}

.legal__section li {
  margin-bottom: 6px;
}

.legal__section li::marker {
  color: var(--brand-2);
  font-weight: 700;
}

.legal__section a {
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent2);
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}

.legal__section code {
  font-size: .9em;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface-2);
  overflow-wrap: anywhere;
}

.legal__alpha {
  list-style: lower-alpha;
}

.legal__section .legal__summary {
  list-style: none;
  padding: 16px 18px;
  background: var(--brand-soft);
  border-left: 4px solid var(--accent2);
  border-radius: 0 12px 12px 0;
}

.legal__summary li {
  position: relative;
  padding-left: 18px;
}

.legal__summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent2);
}

.legal-box {
  display: grid;
  gap: 0;
  margin: 4px 0 16px;
  padding: 4px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.legal-box > div {
  display: grid;
  gap: 2px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.legal-box > div:last-child {
  border-bottom: 0;
}

.legal-box dt {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-3);
}

.legal-box dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.legal-box__note {
  font-weight: 400;
  color: var(--ink-3);
}

.legal-box__pending {
  font-size: 15px;
  color: var(--ink-2);
}

@media (min-width: 40em) {
  .legal-box > div {
    grid-template-columns: 180px 1fr;
    align-items: baseline;
  }
}

.legal-def {
  display: grid;
  gap: 0;
  margin: 0 0 16px;
}

.legal-def > div {
  padding: 10px 0 10px 14px;
  border-left: 3px solid var(--brand-soft);
  margin-bottom: 8px;
}

.legal-def dt {
  font-weight: 800;
  color: var(--brand-ink);
  margin-bottom: 2px;
}

.legal-def dd {
  margin: 0;
  color: var(--ink-2);
}

.legal-table {
  margin: 0 0 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.legal-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.legal-table th,
.legal-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table thead th {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-3);
  background: var(--surface-2);
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 39.99em) {
  .legal-table {
    border: 0;
    background: none;
    overflow: visible;
  }

  .legal-table thead {
    display: none;
  }

  .legal-table table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
  }

  .legal-table tr {
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
  }

  .legal-table td,
  .legal-table th {
    border-bottom: 0;
    padding: 6px 14px;
  }

  .legal-table tbody th {
    padding-top: 12px;
  }

  .legal-table td:last-child {
    padding-bottom: 12px;
  }

  .legal-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--ink-3);
  }
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  cursor: pointer;
}

.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--brand);
}

.legal-check a,
.legal-consent a {
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.legal-consent {
  margin-top: 8px;
}
