/* ═══════════════════════════════════════════════════════════════
   Lokal Zeka — tasarım sistemi
   Tokens → temel → kabuk (üst çubuk, sekmeler) → bileşenler → görünümler
   ═══════════════════════════════════════════════════════════════ */

:root {
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  --bg: #0b0d10;
  --bg-2: #101317;
  --bg-3: #171b21;
  --fg: #f2f1ec;
  --fg-2: #b9bec7;
  --fg-3: #7f8794;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --accent: #d2ff5c;
  --accent-text: #d2ff5c;
  --accent-ink: #0b0d10;
  --accent-soft: rgba(210, 255, 92, 0.12);
  --live: #ff6b4a;
  --info: #7dd3fc;
  --warn: #fbbf24;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --radius-sm: 12px;
  --topbar-h: 60px;
  --tabbar-h: 66px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --wrap: 1120px;
  --ambient-a: rgba(210, 255, 92, 0.16);
  --ambient-b: rgba(125, 211, 252, 0.1);
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #f6f5f0;
  --bg-2: #ffffff;
  --bg-3: #efede6;
  --fg: #14161a;
  --fg-2: #4b515b;
  --fg-3: #767d88;
  --line: rgba(20, 22, 26, 0.09);
  --line-2: rgba(20, 22, 26, 0.18);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-2: rgba(255, 255, 255, 0.8);
  --accent: #c9f542;
  --accent-text: #4a7300;
  --accent-ink: #14161a;
  --accent-soft: rgba(120, 180, 0, 0.12);
  --live: #e2542f;
  --info: #0369a1;
  --warn: #b45309;
  --shadow: 0 18px 50px rgba(20, 22, 26, 0.12);
  --ambient-a: rgba(201, 245, 66, 0.35);
  --ambient-b: rgba(3, 105, 161, 0.08);
  color-scheme: light;
}

/* ───────── temel ───────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  min-height: 100svh;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}
.mono {
  font-family: var(--mono);
}
.serif,
.brand-word em,
h1 em,
h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.08em;
}
.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 32px);
  }
}
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}
.kicker::before {
  content: '';
  align-self: flex-start;
  margin-top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.muted {
  color: var(--fg-2);
}
.faint {
  color: var(--fg-3);
}
.small {
  font-size: 13px;
}
.ico {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ───────── arka plan katmanları ───────── */
#lz-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
#lz-canvas.on {
  opacity: 1;
}
body:not(.route-home) #lz-canvas {
  display: none;
}
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 18%, var(--ambient-a), transparent 60%),
    radial-gradient(45% 40% at 10% 85%, var(--ambient-b), transparent 60%);
  opacity: 0.9;
}
body:not(.route-home) .ambient {
  opacity: 0.45;
}
.view {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--topbar-h) + var(--sat));
  padding-bottom: 40px;
  min-height: 100svh;
}
.view.enter > * {
  animation: viewIn 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.view-loading {
  padding: 120px 20px;
  text-align: center;
  color: var(--fg-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ───────── üst çubuk ───────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding-top: var(--sat);
  height: calc(var(--topbar-h) + var(--sat));
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.topbar-in {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 19px;
  margin-right: auto;
}
.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--fg);
}
.brand-word em {
  font-size: 1.14em;
}
.topnav {
  display: none;
  gap: 4px;
}
.topnav-link {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--fg-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.topnav-link:hover {
  color: var(--fg);
  background: var(--glass-2);
}
.topnav-link.active {
  color: var(--fg);
  background: var(--glass-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 38px;
  min-width: 38px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--fg-2);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}
.iconbtn:hover {
  background: var(--glass-2);
  color: var(--fg);
  border-color: var(--line);
}
.iconbtn .ico {
  width: 18px;
  height: 18px;
}
.iconbtn-label {
  letter-spacing: 0.04em;
}
@media (min-width: 900px) {
  .topnav {
    display: flex;
    margin-right: 8px;
  }
}
@media (max-width: 480px) {
  .subscribe span {
    display: none;
  }
}
.brand-word {
  white-space: nowrap;
}
@media (max-width: 360px) {
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .brand-mark {
    width: 26px;
    height: 26px;
  }
  .topbar-in {
    gap: 8px;
  }
}

/* ───────── alt sekmeler (mobil uygulama hissi) ───────── */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + var(--sab));
  padding: 6px 6px calc(6px + var(--sab));
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--line);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 14px;
  color: var(--fg-3);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  -webkit-user-select: none;
  user-select: none;
}
.tab:active {
  transform: scale(0.94);
}
.tab .ico {
  width: 22px;
  height: 22px;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tab.active {
  color: var(--accent-text);
}
.tab.active .ico {
  transform: translateY(-1px);
}
.tab.active .tab-label {
  color: var(--fg);
}
@media (min-width: 900px) {
  .tabbar {
    display: none;
  }
}
@media (max-width: 899px) {
  .view {
    padding-bottom: calc(var(--tabbar-h) + var(--sab) + 24px);
  }
}

/* ───────── düğmeler, girdiler, çipler ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  color: var(--fg);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn:hover {
  background: var(--glass-2);
  border-color: var(--fg-3);
}
.btn:active {
  transform: scale(0.97);
}
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
  box-shadow: 0 6px 24px -8px var(--accent);
}
.btn-accent:hover {
  background: var(--accent);
  border-color: transparent;
  filter: brightness(1.05);
}
.btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
}
.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
}
.btn .ico {
  width: 18px;
  height: 18px;
}
.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}
.input,
.select,
.textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-3) 50%), linear-gradient(135deg, var(--fg-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label,
.label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-2);
  letter-spacing: 0.01em;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.chip:hover {
  color: var(--fg);
  border-color: var(--fg-3);
}
.chip.on,
.chip[aria-pressed='true'] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  background: var(--glass-2);
  color: var(--fg-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.pill.accent {
  background: var(--accent-soft);
  color: var(--accent-text);
  border-color: transparent;
}
.pill.live {
  color: var(--live);
}
.pill.live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 10px var(--live);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--fg-2);
}
.switch input {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  position: relative;
  transition: background 0.2s;
  flex: none;
  margin: 0;
}
.switch input::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--fg-2);
  transition: transform 0.2s, background 0.2s;
}
.switch input:checked {
  background: var(--accent);
  border-color: transparent;
}
.switch input:checked::after {
  transform: translateX(16px);
  background: var(--accent-ink);
}
.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
}
.range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--pct, 0%), var(--bg-3) var(--pct, 0%));
}
.range::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: var(--bg-3);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--fg);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line-2);
}
.range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--fg);
  border: 3px solid var(--bg);
}

/* ───────── kartlar ───────── */
.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s, background 0.25s;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 40%, transparent 60%, var(--accent-soft));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
}
@media (hover: hover) and (pointer: fine) {
  .card.hover:hover {
    transform: translateY(-3px);
    border-color: var(--line-2);
    background: var(--glass-2);
  }
}
.card-sm {
  padding: 16px;
  border-radius: 16px;
}
.card h3 {
  font-size: 17px;
  letter-spacing: -0.015em;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
}

/* ───────── bölümler ───────── */
.section {
  padding: 56px 0 8px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin-top: 10px;
}
.section-head p {
  color: var(--fg-2);
  max-width: 620px;
  margin-top: 10px;
  font-size: 15.5px;
}
.section-link {
  color: var(--fg-2);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding-bottom: 4px;
}
.section-link:hover {
  color: var(--fg);
}
.section-link .ico {
  width: 16px;
  height: 16px;
}
@media (max-width: 640px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .section {
    padding-top: 44px;
  }
}
.page-head {
  padding: 36px 0 8px;
}
.page-head h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-top: 12px;
  max-width: 820px;
}
.page-head p {
  color: var(--fg-2);
  max-width: 640px;
  margin-top: 14px;
  font-size: 16.5px;
}
.grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.grid-3 {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ───────── hero ───────── */
.hero {
  padding: 24px 0 40px;
  position: relative;
  overflow-x: clip;
}
.hero .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--topbar-h) - 64px);
}
.hero-in {
  max-width: 720px;
}
.hero h1 {
  font-size: clamp(2.7rem, 7.6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-top: 18px;
}
.hero h1 .line {
  display: block;
}
.hero h1 em {
  color: var(--accent-text);
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--fg-2);
  max-width: 560px;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat b {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero-hint {
  position: absolute;
  bottom: 18px;
  left: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-hint::after {
  content: '';
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--fg-3), transparent);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
@media (max-width: 899px) {
  .hero .wrap {
    min-height: calc(100svh - var(--topbar-h) - var(--tabbar-h) - 64px);
    justify-content: flex-end;
    padding-bottom: 24px;
  }
  .hero-hint {
    display: none;
  }
}
body.no-webgl .hero::before {
  content: '';
  position: absolute;
  right: -10%;
  top: 10%;
  width: 60vw;
  height: 60vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  pointer-events: none;
}

/* ───────── radar (akış) ───────── */
.radar-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.feed-block {
  margin-top: 26px;
}
.feed-block h3 {
  font-size: 13px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feed-block h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  margin-inline: -20px;
  padding-inline: 20px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
@media (max-width: 600px) {
  .rail {
    margin-inline: -16px;
    padding-inline: 16px;
  }
}
.rail > * {
  scroll-snap-align: start;
}
@media (min-width: 900px) {
  .rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}
.item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 118px;
  color: inherit;
}
.item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}
.item-meta .src {
  color: var(--accent-text);
}
.item-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-foot {
  margin-top: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.model-id {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  word-break: break-all;
  line-height: 1.35;
}
.model-id .org {
  color: var(--fg-3);
}
.skel {
  height: 118px;
  border-radius: 16px;
  background: linear-gradient(100deg, var(--glass) 30%, var(--glass-2) 50%, var(--glass) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.video-card {
  padding: 0;
  overflow: hidden;
}
.video-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video-card .item {
  padding: 14px 16px;
}

/* ───────── kanal bloğu ───────── */
.pillars {
  margin-top: 8px;
}
.pillar .ico {
  width: 26px;
  height: 26px;
  color: var(--accent-text);
  margin-bottom: 14px;
}
.pillar p {
  color: var(--fg-2);
  font-size: 14.5px;
  margin-top: 8px;
}
.promise {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.promise h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-top: 10px;
}
.promise p {
  margin-top: 12px;
  color: var(--fg-2);
}
.weeks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px;
}
.week {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-3);
}
.week.done {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.week.now {
  border-color: var(--accent-text);
  color: var(--accent-text);
}
@media (max-width: 760px) {
  .promise {
    grid-template-columns: 1fr;
  }
}

/* ───────── footer ───────── */
.footer {
  margin-top: 64px;
  padding: 28px 0 16px;
  border-top: 1px solid var(--line);
  color: var(--fg-3);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.footer-links a:hover {
  color: var(--fg);
}

/* ───────── Sığar mı? ───────── */
.fit-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .fit-layout {
    grid-template-columns: 1fr;
  }
}
.fit-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fit-result {
  position: sticky;
  top: calc(var(--topbar-h) + var(--sat) + 12px);
}
@media (max-width: 900px) {
  .fit-result {
    position: static;
  }
}
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.verdict[data-v='rahat'] {
  background: var(--accent);
  color: var(--accent-ink);
}
.verdict[data-v='sigar'] {
  background: color-mix(in srgb, var(--info) 22%, transparent);
  color: var(--info);
}
.verdict[data-v='zorlar'] {
  background: color-mix(in srgb, var(--warn) 22%, transparent);
  color: var(--warn);
}
.verdict[data-v='sigmaz'] {
  background: color-mix(in srgb, var(--live) 22%, transparent);
  color: var(--live);
}
.fit-big {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
}
.fit-big b {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fit-big span {
  color: var(--fg-3);
  font-family: var(--mono);
  font-size: 13px;
}
.fit-verdict-text {
  margin-top: 10px;
  color: var(--fg-2);
}
.membar {
  margin-top: 20px;
}
.membar-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: var(--bg-3);
  overflow: hidden;
  display: flex;
}
.membar-seg {
  height: 100%;
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.membar-seg.w {
  background: var(--accent);
}
.membar-seg.k {
  background: var(--info);
}
.membar-seg.o {
  background: var(--fg-3);
}
.membar-seg.over {
  background: repeating-linear-gradient(135deg, var(--live) 0 6px, transparent 6px 12px);
}
.membar-cap {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--fg);
}
.membar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}
.membar-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: 0;
}
.fit-lines {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-2);
}
.fit-lines li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.fit-lines li::before {
  content: '→';
  color: var(--accent-text);
  font-family: var(--mono);
}
.demo {
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.demo-label {
  font-size: 12.5px;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.demo-text {
  font-family: var(--mono);
  font-size: 14px;
  min-height: 3.2em;
  color: var(--fg);
}
.demo-text .cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: pulse 0.9s steps(2) infinite;
}
.fit-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
details.disclosure {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
details.disclosure summary {
  cursor: pointer;
  color: var(--fg-2);
  font-size: 13.5px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
details.disclosure summary::-webkit-details-marker {
  display: none;
}
details.disclosure summary::before {
  content: '+';
  font-family: var(--mono);
  color: var(--accent-text);
}
details.disclosure[open] summary::before {
  content: '−';
}
details.disclosure .body {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.6;
}
details.disclosure code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--bg-3);
  padding: 1px 6px;
  border-radius: 6px;
}
.alt-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.alt:hover {
  border-color: var(--line-2);
  background: var(--glass-2);
}
.alt b {
  font-weight: 500;
}
.alt .mono {
  color: var(--fg-3);
  font-size: 12px;
}

/* ───────── tablolar ───────── */
.tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
th,
td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
  background: var(--bg-2);
  position: sticky;
  top: 0;
}
tr:last-child td {
  border-bottom: 0;
}
td.num {
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
  font-weight: 500;
}
th {
  white-space: nowrap;
}
.bench-table td {
  white-space: nowrap;
}
.bench-table td.wrapcell {
  white-space: normal;
  min-width: 220px;
  max-width: 320px;
}

/* ───────── İstasyon ───────── */
.machines {
  margin-top: 24px;
}
.machine .ico {
  width: 24px;
  height: 24px;
  color: var(--accent-text);
}
.machine-role {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--fg-2);
}
.machine-specs {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.spec {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 6px;
}
.spec span:first-child {
  color: var(--fg-3);
}
.spec span:last-child {
  font-family: var(--mono);
  font-size: 12.5px;
  text-align: right;
}
.diagram {
  margin-top: 16px;
  padding: 8px;
}
.diagram svg {
  width: 100%;
  height: auto;
  font-family: var(--mono);
}
.timeline {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.tl {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: start;
}
.tl-week {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-3);
  padding-top: 2px;
}
.tl-body h4 {
  font-size: 15px;
  font-weight: 600;
}
.tl-body p {
  font-size: 13.5px;
  color: var(--fg-2);
  margin-top: 4px;
}
.tl .pill {
  justify-self: end;
}
.log {
  display: grid;
  gap: 0;
  margin-top: 16px;
}
.log-entry {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.log-entry time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-3);
  padding-top: 2px;
}
@media (max-width: 520px) {
  .tl {
    grid-template-columns: 1fr;
  }
  .tl .pill {
    justify-self: start;
  }
  .log-entry {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ───────── Topluluk ───────── */
.community-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .community-grid {
    grid-template-columns: 1fr;
  }
}
.poll-q {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 6px 0 16px;
}
.poll-opts {
  display: grid;
  gap: 8px;
}
.opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  color: var(--fg);
  font-size: 14.5px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
}
.opt:hover {
  border-color: var(--fg-3);
}
.opt:active {
  transform: scale(0.99);
}
.opt .bar {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--accent-soft);
  transition: width 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 0;
}
.opt > span {
  position: relative;
  z-index: 1;
}
.opt .pct {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.opt.mine {
  border-color: var(--accent-text);
}
.opt.mine .pct {
  color: var(--accent-text);
}
.poll-foot {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--fg-3);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.qlist {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.q {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  font-size: 14.5px;
}
.q-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
}
.form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.form .row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.social-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-top: 14px;
}
.social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s;
}
.social:hover {
  border-color: var(--line-2);
  background: var(--glass-2);
}
.social .ico {
  width: 22px;
  height: 22px;
  color: var(--accent-text);
}
.social b {
  font-weight: 500;
  font-size: 14.5px;
  display: block;
}
.social span {
  font-size: 12.5px;
  color: var(--fg-3);
}
.bench-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 14px 0;
}
.bench-tools .chips {
  flex: 1;
}

/* ───────── Rehber ───────── */
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
}
.guide-card h3 {
  font-size: 18px;
}
.guide-card p {
  color: var(--fg-2);
  font-size: 14.5px;
}
.guide-card .item-foot {
  margin-top: auto;
  padding-top: 8px;
}
.prose {
  max-width: 760px;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.7;
}
.prose h2 {
  font-size: 1.55rem;
  margin: 40px 0 12px;
}
.prose h3 {
  font-size: 1.2rem;
  margin: 30px 0 10px;
}
.prose h4 {
  font-size: 1.02rem;
  margin: 22px 0 8px;
}
.prose p {
  margin: 0 0 16px;
  color: var(--fg-2);
}
.prose p strong,
.prose li strong {
  color: var(--fg);
  font-weight: 600;
}
.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--fg-2);
}
.prose li {
  margin-bottom: 6px;
}
.prose a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg-3);
  padding: 2px 6px;
  border-radius: 6px;
}
.prose blockquote {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--glass);
  border-radius: 0 12px 12px 0;
  color: var(--fg-2);
}
.prose .tablewrap {
  margin: 0 0 20px;
}
.prose table {
  font-size: 13.5px;
}
.codeblock {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
}
.codebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
}
.copybtn {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent-text);
  padding: 4px 8px;
  border-radius: 6px;
}
.copybtn:hover {
  background: var(--accent-soft);
}
.codeblock pre {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
}
.article-head {
  padding: 32px 0 8px;
  max-width: 760px;
}
.article-head h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin-top: 14px;
}
.article-head p {
  color: var(--fg-2);
  margin-top: 12px;
  font-size: 16.5px;
}
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-2);
  font-size: 14px;
}
.backlink:hover {
  color: var(--fg);
}
.glossary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.term {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  padding: 0 16px;
}
.term summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.term summary::-webkit-details-marker {
  display: none;
}
.term summary .mono {
  color: var(--fg-3);
  font-size: 12px;
}
.term[open] summary {
  border-bottom: 1px solid var(--line);
}
.term .body {
  padding: 12px 0 16px;
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ───────── toast / install ───────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + var(--sab) + 14px);
  transform: translate(-50%, 16px);
  z-index: 30;
  background: var(--fg);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: var(--shadow);
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 900px) {
  .toast {
    bottom: 24px;
  }
}
.install {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--tabbar-h) + var(--sab) + 10px);
  z-index: 25;
}
.install-in {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
.install-mark {
  width: 34px;
  height: 34px;
  color: var(--fg);
  flex: none;
}
.install-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.install-text strong {
  font-size: 14px;
}
.install-text span {
  font-size: 12.5px;
  color: var(--fg-3);
}
.errorbox {
  padding: 80px 0;
  text-align: center;
  color: var(--fg-2);
  display: grid;
  gap: 14px;
  justify-items: center;
}

/* ───────── görselli kartlar, yakında listesi, istasyon afişi, okuma çubuğu ───────── */
.pillar {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pillar-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}
.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
  .pillar:hover .pillar-media img {
    transform: scale(1.04);
  }
}
.pillar-body {
  padding: 18px 20px 20px;
}
.pillar-body .ico {
  margin-bottom: 12px;
}
.promise-side {
  display: flex;
  flex-direction: column;
}
.promise-thumb {
  display: block;
  margin-bottom: 14px;
}
.promise-thumb-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  aspect-ratio: 16 / 9;
}
.promise-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
  .promise-thumb:hover img {
    transform: scale(1.03);
  }
}
.promise > * {
  min-width: 0;
}
.promise-thumb-cap {
  padding: 10px 2px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--fg-2);
  min-width: 0;
}
.promise-thumb-cap .pill {
  flex: none;
}
.promise-thumb-cap span:last-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.episodes {
  margin-bottom: 14px;
}
.episodes .card-head {
  align-items: flex-start;
}
.episode-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.episode {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.episode-num {
  font-size: 12px;
  color: var(--fg-3);
}
.episode .pill {
  justify-self: end;
}
@media (max-width: 560px) {
  .episode {
    grid-template-columns: 28px 1fr;
  }
  .episode .pill {
    grid-column: 2;
    justify-self: start;
  }
}
.station-banner {
  margin: 20px 0 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1600 / 893;
  background: var(--bg-3);
}
.station-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.station-banner figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
}
.station-banner figcaption .pill {
  background: rgba(0, 0, 0, 0.5);
  color: #f2f1ec;
  border-color: rgba(255, 255, 255, 0.2);
}
.readbar {
  position: fixed;
  top: calc(var(--topbar-h) + var(--sat) - 2px);
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 21;
  pointer-events: none;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.filter-row {
  margin-top: 22px;
}
.pill-xs {
  height: 20px;
  padding: 0 7px;
  font-size: 10px;
}

/* ───────── hareket tercihi ───────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
