/* ==========================================================================
   LeGras — Çekirdek tasarım sistemi (Faz 0 arayüz, 2026-11-03)
   Hikâye: Le Gras, 1826'da çekilen ilk fotoğrafın adı. Arayüz bir karanlık oda:
     zemin saf siyah (karanlık oda), tek canlı renk #FF8A1F (karanlık oda lambası),
     renk çoğunlukla ince çizgi, yazı ve ikon; dolu turuncu yalnızca ana eylemde ve seçili üst sekmede,
     geniş tanıtım bantlarında ipek doku (.silk, assets/img/silk-*.svg),
     üretimler banyodaki fotoğraf gibi belirir ("banyo" yüklemesi),
     köşeler keskin ama sivri değil (4–12 px).
   Sarı / amber / altın tonu yok; gradyan yalnızca marka tonlarından.
   Pazarlama sitesi ve uygulama bu dosyayı paylaşır.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Karanlık oda: zemin ve kartlar saf siyah; ayrımı ince çizgiler yapar (yüzey tonları yalnızca alan ve üzerine gelme için) */
  --bg: #000000;
  --bg-1: #000000;
  --bg-2: #0a0a0b;
  --bg-3: #111113;
  --bg-4: #17171a;
  --bg-5: #1f1f23;
  --pill: #17171a;   /* pasif sekme ve haplar: çok koyu gri dolgu */
  --pill-2: #1f1f23; /* üzerine gelince */
  --ink-rgb: 244, 243, 240;
  --line: rgba(var(--ink-rgb), .1);
  --line-2: rgba(var(--ink-rgb), .16);
  --line-3: rgba(var(--ink-rgb), .26);

  --text: #f4f3f0;
  --text-2: rgba(var(--ink-rgb), .72);
  --text-3: rgba(var(--ink-rgb), .5);
  --text-4: rgba(var(--ink-rgb), .3);

  /* Karanlık oda lambası: #FF8A1F (2026-11-03, kurucu: daha sıcak ve açık ton) */
  --brand: #ff8a1f;
  --brand-rgb: 255, 138, 31;
  --brand-hi: #ffa24a;   /* aynı tonun açık ucu */
  --brand-deep: #d8650c; /* aynı tonun koyu ucu */
  --on-brand: #1d0d02;   /* dolu turuncu üstündeki yazı */
  --brand-grad: linear-gradient(135deg, var(--brand-hi) 0%, var(--brand) 42%, var(--brand-deep) 100%);
  /* Dolu ana eylem: ipek dokunun orta tonu, üstte hafif parlaklık */
  --brand-fill: linear-gradient(180deg, #ff9a3e 0%, #ff8a1f 55%, #fb7d16 100%);
  --brand-grad-soft: none; /* eski turuncu tül; artık dolgu yok */
  --brand-grad-bar: linear-gradient(90deg, rgba(var(--brand-rgb), .45) 0%, var(--brand) 100%);
  /* Lamba ışığı sızıntısı kaldırıldı (ince hat düzeni): zemin saf siyah kalır */
  --leak: none;
  --leak-top: none;
  /* Işıklı kenar: üstte ince turuncu çizgi */
  --lit-edge: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), .85) 30%, rgba(var(--brand-rgb), .85) 70%, transparent);

  --sun: var(--brand);
  --sun-2: var(--brand);
  --ember: var(--brand);
  --patina: #6fe0be;
  --cyano: #7aa7ff;
  --rose: #ff7fa8;
  --ok: #7ee2a0;
  --warn: var(--brand);
  --err: #ff6b6b;

  --light: var(--brand-grad);
  --light-soft: var(--brand-grad-soft);
  --spectrum: conic-gradient(from 180deg, var(--brand-hi), var(--brand), var(--brand-deep), var(--brand), var(--brand-hi));

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: var(--font-display);
  --font-mono: var(--font-sans);

  /* Keskin ama sivri değil */
  --r-xs: 4px;
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-full: 999px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .14s;
  --t: .22s;

  --edge: inset 0 1px 0 rgba(255, 255, 255, .055);
  --shadow-1: var(--edge), 0 10px 30px -12px rgba(0, 0, 0, .8);
  --shadow-2: var(--edge), 0 30px 80px -20px rgba(0, 0, 0, .95);
  --glow-sun: 0 0 0 1px rgba(var(--brand-rgb), .4), 0 10px 36px -8px rgba(var(--brand-rgb), .45);

  /* Cam (OpenArt iç panellerinden ölçüldü, tonu ısıtıldı) */
  --glass-bg: rgba(9, 8, 7, .7);
  --glass-blur: blur(24px) saturate(140%);
  --glass-line: rgba(255, 240, 228, .08);
  --glass-line-2: rgba(255, 240, 228, .13);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .06);
  --glass-chip: linear-gradient(-45deg, rgba(255, 240, 228, .045) 0%, rgba(255, 240, 228, .12) 100%);
  --glass-chip-hi: linear-gradient(-45deg, rgba(255, 240, 228, .08) 0%, rgba(255, 240, 228, .19) 100%);
  --glass-chip-edge: inset 0 1px 0 rgba(255, 255, 255, .13);
  /* Gönder düğmesi: açık turuncudan markaya çapraz */
  --brand-send: linear-gradient(to bottom right, #ffc48a 0%, var(--brand) 100%);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* Sayfa geçişi: menü yerinde kalır, içerik banyodan çıkar gibi belirir */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-old(lg-main) { animation: lg-vt-out .14s var(--ease-io) both; }
::view-transition-new(lg-main) { animation: lg-vt-in .32s var(--ease) both; }
@keyframes lg-vt-out { to { opacity: 0; } }
@keyframes lg-vt-in { from { opacity: 0; transform: translateY(8px); filter: brightness(.4) blur(2px); } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: rgba(var(--brand-rgb), .35); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
html.no-scroll, html.no-scroll body { overflow: hidden; }

/* Scrollbars */
* { scrollbar-width: thin; scrollbar-color: rgba(var(--ink-rgb), .16) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: rgba(var(--ink-rgb), .14); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background-color: rgba(var(--ink-rgb), .26); }
*::-webkit-scrollbar-track { background: transparent; }

/* ---------- Tipografi ---------- */
h1, h2, h3, h4, h5, h6, .display, .h1, .h2, .h3, .h4 { font-family: var(--font-display); }
.display {
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .95;
  font-size: clamp(48px, 8.4vw, 136px);
}
.h1 { font-weight: 600; letter-spacing: -.04em; line-height: 1; font-size: clamp(40px, 5.6vw, 84px); }
.h2 { font-weight: 600; letter-spacing: -.035em; line-height: 1.04; font-size: clamp(32px, 4vw, 60px); }
.h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.12; font-size: clamp(22px, 2.2vw, 30px); }
.h4 { font-weight: 600; letter-spacing: -.015em; line-height: 1.25; font-size: 18px; }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--text-2); line-height: 1.6; max-width: 62ch; }
.serif { font-family: var(--font-display); font-style: normal; letter-spacing: -.02em; }
.mono { font-family: var(--font-mono); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--brand); box-shadow: 0 0 8px rgba(var(--brand-rgb), .8); }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.grad-text {
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.nowrap { white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Yerleşim ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1 1 auto; min-width: 0; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- İkonlar ---------- */
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 15px; height: 15px; }
.i-lg { width: 22px; height: 22px; }
.i-xl { width: 28px; height: 28px; }
.i.fill { fill: currentColor; stroke: none; }

/* ---------- Logo ---------- */
lg-logo { display: inline-block; line-height: 0; color: var(--text); }
lg-logo svg { height: 100%; width: auto; fill: currentColor; overflow: visible; }
lg-logo[draw] path {
  fill: transparent; stroke: currentColor; stroke-width: .7;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: lg-draw 1.5s var(--ease-io) forwards, lg-fill .7s ease forwards;
  animation-delay: calc(var(--i) * .11s), calc(1.05s + var(--i) * .08s);
}
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-fill { to { fill: currentColor; stroke-width: 0; } }

/* ---------- Butonlar ----------
   His: üzerine gelince ışık yükselir, basınca 1 px çöker ve ışık kısılır (fiziksel düğme). */
.btn {
  --h: 40px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 16px; border-radius: var(--r);
  font-weight: 550; font-size: 14px; letter-spacing: -.005em; white-space: nowrap;
  color: var(--text); background: transparent;
  border: 1px solid var(--line-2);
  box-shadow: none;
  transition: transform var(--t-fast) var(--ease), background var(--t), border-color var(--t), color var(--t), box-shadow var(--t) var(--ease), filter var(--t);
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: rgba(var(--ink-rgb), .04); border-color: var(--line-3); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .06s; }
.btn .i { width: 16px; height: 16px; }
.btn-sm { --h: 32px; padding: 0 12px; font-size: 13px; gap: 7px; }
.btn-lg { --h: 48px; padding: 0 22px; font-size: 15px; }
.btn-xl { --h: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-icon { width: var(--h); padding: 0; }
.btn-block { width: 100%; }

.btn-primary {
  color: var(--on-brand); border-color: transparent; font-weight: 650;
  background: var(--brand-fill);
  /* Basılı düğme hissi: tepede ışık, altta koyu iç kenar (basınca kalkar) */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .2);
  overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .26) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { background: var(--brand-fill); border-color: transparent; color: var(--on-brand); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), inset 0 -2px 0 rgba(0, 0, 0, .2), 0 8px 26px -10px rgba(var(--brand-rgb), .7); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { filter: brightness(.94); box-shadow: inset 0 2px 5px rgba(90, 35, 0, .4); }

.btn-light { background: transparent; color: var(--text); border-color: rgba(var(--ink-rgb), .55); }
.btn-light:hover { background: transparent; border-color: var(--text); }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--text-2); }
.btn-ghost:hover { background: rgba(var(--ink-rgb), .06); color: var(--text); border-color: transparent; }
.btn-glass {
  background: rgba(var(--ink-rgb), .05); border-color: rgba(var(--ink-rgb), .12);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.btn-glass:hover { background: rgba(var(--ink-rgb), .09); }
/* Işıklı çerçeve: ikincil ama vurgulu eylem */
.btn-lit { background: transparent; border-color: rgba(var(--brand-rgb), .38); color: var(--text); }
.btn-lit:hover { border-color: rgba(var(--brand-rgb), .7); background: transparent; box-shadow: 0 0 22px -8px rgba(var(--brand-rgb), .6); }
.btn-lit .i { color: var(--brand); }
.btn-danger { color: #ffb4b4; border-color: rgba(255, 107, 107, .3); background: rgba(255, 107, 107, .08); }
.btn-danger:hover { background: rgba(255, 107, 107, .16); border-color: rgba(255, 107, 107, .5); }
.btn[disabled], .btn.is-disabled { opacity: .42; pointer-events: none; filter: saturate(.6); }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::before {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(var(--brand-rgb), .25); border-top-color: var(--brand); animation: spin .8s linear infinite;
}
.btn-primary.is-loading::before { border-color: rgba(0, 0, 0, .2); border-top-color: var(--on-brand);
}
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
/* "Yakında · Faz X": arka ucu sonraki fazda gelen eylem (sahte başarı yok) */
.btn.is-soon { opacity: 1; pointer-events: none; color: var(--text-3); background: repeating-linear-gradient(135deg, rgba(var(--ink-rgb), .035) 0 6px, transparent 6px 12px), var(--bg-2); border-style: dashed; box-shadow: none; filter: none; }
.btn.is-soon::after { display: none; }
.soon { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 7px; border-radius: var(--r-xs); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: rgba(var(--brand-rgb), .035); border: 1px dashed rgba(var(--brand-rgb), .4); white-space: nowrap; }

.link { color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link:hover { background-size: 100% 1px; }

/* ---------- Form öğeleri ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-size: 12.5px; font-weight: 500; color: var(--text-2); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.label .val { font-family: var(--font-mono); color: var(--text); font-size: 12px; }
.input, .textarea, .select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 11px 13px; font-size: 14px; color: var(--text); outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--line-3); }
.input:focus, .textarea:focus, .select:focus { border-color: rgba(var(--brand-rgb), .55); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); background: var(--bg-1); }
.textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4efe6' stroke-opacity='.6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 15px;
}
.select option { background: var(--bg-2); }
.input-group { position: relative; display: flex; align-items: center; }
.input-group > .i { position: absolute; left: 12px; color: var(--text-3); pointer-events: none; }
.input-group > .input { padding-left: 38px; }
.input-group > .btn { position: absolute; right: 5px; }

/* Aralık kaydırıcı */
.range { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(var(--brand-rgb), .45) 0, var(--brand) var(--p), rgba(var(--ink-rgb), .12) var(--p) 100%); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(var(--ink-rgb), .12); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--brand-grad-bar); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .2), 0 2px 6px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), box-shadow .3s; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .2); }
.range:hover::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(var(--brand-rgb), .24), 0 2px 6px rgba(0, 0, 0, .5); }
.range[data-accent="ember"] { --acc: var(--brand); }
[data-mod="video"] .range::-webkit-slider-runnable-track { background: linear-gradient(90deg, rgba(var(--brand-rgb), .45) 0, var(--brand) var(--p), rgba(var(--ink-rgb), .12) var(--p) 100%); }
[data-mod="audio"] .range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--patina) 0 var(--p), rgba(var(--ink-rgb), .12) var(--p) 100%); }
[data-mod="ad"] .range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--cyano) 0 var(--p), rgba(var(--ink-rgb), .12) var(--p) 100%); }

/* Anahtar (switch) */
.switch { position: relative; display: inline-flex; width: 38px; height: 22px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 22px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-3); transition: box-shadow .3s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-3); transition: transform .45s var(--ease-back), background .3s; }
.switch input:checked + span { background: transparent; box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), .85); }
.switch input:checked + span::after { transform: translateX(16px); background: var(--brand); box-shadow: 0 0 8px rgba(var(--brand-rgb), .7); }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--text-2); }

/* Onay kutusu */
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13.5px; color: var(--text-2); }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 1px 0 0; flex: none; border-radius: var(--r-xs); border: 1px solid var(--line-3); background: var(--bg-2); display: grid; place-content: center; cursor: pointer; transition: .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--brand); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform .3s var(--ease-back); margin-top: -2px; }
.check input:checked { background: transparent; border-color: var(--brand); border-color: var(--brand); color: var(--brand); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
/* Dokunmatikte tek satırlık onay kutusu da ~33 px dokunma alanı alır; görünmez katman yerleşimi değiştirmez */
@media (pointer: coarse), (max-width: 700px) { .check { position: relative; } .check::before { content: ""; position: absolute; inset: -6px 0; } }

/* Segment kontrolü */
.seg { display: inline-flex; position: relative; padding: 3px; gap: 2px; border-radius: var(--r); background: transparent; border: 1px solid var(--line-2); }
.seg button { position: relative; z-index: 1; height: 32px; padding: 0 14px; border-radius: var(--r-sm); font-size: 13px; font-weight: 500; color: var(--text-3); transition: color .3s; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.seg button:hover { color: var(--text-2); }
.seg button.is-active { color: var(--text); }
.seg .seg-pill { position: absolute; top: 3px; bottom: 3px; left: 0; border-radius: var(--r-sm); background: transparent; box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), .6); transition: transform .5s var(--ease), width .5s var(--ease); }
.seg.seg-sm button { height: 27px; padding: 0 11px; font-size: 12.5px; }
@media (pointer: coarse), (max-width: 700px) { .seg.seg-sm button { height: 32px; } }
.seg.seg-block { display: flex; }
.seg.seg-block button { flex: 1; justify-content: center; }

/* Çipler */
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px;
  border-radius: var(--r-sm); border: 1px solid var(--line-2); background: transparent;
  font-size: 13px; color: var(--text-2); white-space: nowrap; transition: .25s var(--ease);
}
.chip:hover { border-color: var(--line-3); color: var(--text); background: transparent; }
.chip.is-active { border-color: rgba(var(--brand-rgb), .5); color: var(--brand); background: transparent; }
.chip .i { width: 14px; height: 14px; }
.chip-sm { height: 26px; padding: 0 10px; font-size: 12px; }
@media (pointer: coarse), (max-width: 700px) { .chip-sm { height: 32px; padding: 0 12px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Rozetler */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--r-xs); font-size: 11.5px; font-weight: 500; background: transparent; color: var(--text-2); border: 1px solid var(--line-2); white-space: nowrap; }
.badge-sun { background: transparent; color: var(--brand); border-color: rgba(var(--brand-rgb), .28); }
.badge-ember { background: transparent; color: var(--brand); border-color: rgba(var(--brand-rgb), .28); }
.badge-patina { background: rgba(111, 224, 190, .1); color: #a6f0da; border-color: rgba(111, 224, 190, .25); }
.badge-cyano { background: rgba(122, 167, 255, .12); color: #b8cfff; border-color: rgba(122, 167, 255, .25); }
.badge-ok { background: rgba(126, 226, 160, .1); color: var(--ok); border-color: rgba(126, 226, 160, .22); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dot.live { box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
kbd, .kbd { font-family: var(--font-mono); font-size: 11px; padding: 2px 6px; border-radius: var(--r-xs); background: transparent; border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--text-2); }

/* Avatar */
.avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--brand); background: transparent; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), .85); }
.avatar-lg { width: 44px; height: 44px; font-size: 15px; }

/* Modalite renkleri */
/* --mod-fill: büyük dolgular için (marka modlarında gradyan, diğerlerinde düz renk) */
[data-mod="image"] { --mod: var(--brand); --mod-rgb: var(--brand-rgb); --mod-fill: var(--brand-grad); }
[data-mod="video"] { --mod: var(--brand); --mod-rgb: var(--brand-rgb); --mod-fill: var(--brand-grad); }
[data-mod="audio"] { --mod: var(--patina); --mod-rgb: 111, 224, 190; --mod-fill: var(--patina); }
[data-mod="ad"] { --mod: var(--cyano); --mod-rgb: 122, 167, 255; --mod-fill: var(--cyano); }

/* ---------- Kartlar ---------- */
.card { position: relative; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: 22px; }
.glass {
  background: rgba(0, 0, 0, .74);
  border: 1px solid rgba(var(--ink-rgb), .1);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--shadow-2);
}
/* Fareyi takip eden ışık (spotlight) — core.js --mx/--my değişkenlerini yazar */
.spot { --mx: 50%; --my: 50%; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(var(--brand-rgb), .02), transparent 42%);
  opacity: 0; transition: opacity .5s;
}
.spot::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 0; padding: 1px;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(var(--brand-rgb), .45), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .5s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ---------- Sekmeler ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); position: relative; }
.tabs button { position: relative; padding: 12px 14px; font-size: 13.5px; font-weight: 500; color: var(--text-3); transition: color .25s; display: inline-flex; align-items: center; gap: 8px; }
.tabs button:hover { color: var(--text-2); }
.tabs button.is-active { color: var(--text); }
.tabs button.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--brand-grad); }

/* ---------- İpucu (tooltip) ---------- */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px);
  padding: 6px 9px; border-radius: var(--r-sm); background: #000; color: var(--text); border: 1px solid var(--line-3); font-size: 12px; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: .25s var(--ease); z-index: 50; box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); transition-delay: .25s; }
[data-tip-pos="right"]::after { left: calc(100% + 10px); bottom: auto; top: 50%; transform: translate(-4px, -50%); }
[data-tip-pos="right"]:hover::after { transform: translate(0, -50%); }
[data-tip-pos="bottom"]::after { bottom: auto; top: calc(100% + 8px); transform: translate(-50%, -4px); }
[data-tip-pos="bottom"]:hover::after { transform: translate(-50%, 0); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s var(--ease); }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  /* Cam pencere: arkası zaten bulanık ve karartılmış; panel koyu cam, ince sıcak kenar, tepede ışık */
  background: rgba(10, 9, 8, .88); border: 1px solid var(--glass-line-2); border-radius: 16px; box-shadow: var(--glass-edge), 0 40px 120px -20px rgba(0, 0, 0, .9);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  transform: translateY(24px) scale(.97); opacity: 0; transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.modal.is-open .modal-panel { transform: none; opacity: 1; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px 0; }
.modal-body { padding: 18px 22px 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); }
.modal-wide .modal-panel { width: min(980px, 100%); }
.modal-close { width: 34px; height: 34px; border-radius: var(--r); display: grid; place-items: center; color: var(--text-3); transition: .25s; }
.modal-close:hover { background: rgba(var(--ink-rgb), .08); color: var(--text); transform: rotate(90deg); }

/* ---------- Bildirim (toast) ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 380px;
  padding: 13px 14px 13px 13px; border-radius: var(--r-lg); font-size: 13.5px;
  background: rgba(0, 0, 0, .92); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: toast-in .6s var(--ease) both; position: relative; overflow: hidden;
}
.toast.is-out { animation: toast-out .4s var(--ease) both; }
.toast .t-ico { width: 30px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(var(--brand-rgb), .035); color: var(--brand); flex: none; box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), .38); }
.toast.ok .t-ico { background: rgba(126, 226, 160, .12); color: var(--ok); }
.toast.err .t-ico { background: rgba(255, 107, 107, .12); color: var(--err); }
.toast .t-title { font-weight: 600; font-size: 13.5px; }
.toast .t-msg { color: var(--text-3); font-size: 12.5px; }
.toast::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--brand-grad-bar); transform-origin: left; animation: toast-bar var(--d, 4s) linear forwards; opacity: .7; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }
@keyframes toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- Açılır menü ---------- */
.menu {
  position: absolute; z-index: 300; min-width: 210px; padding: 5px; border-radius: var(--r-lg);
  /* Cam kutunun içindeki menüde bulanıklık dışarıya ulaşmaz (backdrop kökü); bu yüzden zemin koyu kalır */
  background: rgba(12, 11, 10, .95); border: 1px solid var(--glass-line-2); box-shadow: var(--glass-edge), 0 24px 60px -12px rgba(0, 0, 0, .85);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; transition: .3s var(--ease);
}
.menu.is-open { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Cam (2026-11-03, OpenArt içeriden ölçüldü; kurucu: "siyah glass yapısı ve gradyanlı detaylar") ----------
   Yalnızca menü şeridi, üretim kutusu, açılır menü, duyuru şeridi ve şablon kartlarında; uzun metin, tablo ve
   ayarlarda düz zemin. Bulanıklığı desteklemeyen tarayıcıda ve "saydamlığı azalt" ayarında düz koyu zemine döner. */
.glass { background: var(--glass-bg); border: 1px solid var(--glass-line); box-shadow: var(--glass-edge), 0 8px 28px rgba(0, 0, 0, .45); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
/* Degrade halka: sağ kenardan marka ışığı + griden koyuya dikey çizgi (her köşe yarıçapıyla çalışır) */
.glass-ring { position: relative; }
.glass-ring::before {
  content: ""; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(100% 44% at 100% 45%, rgba(var(--brand-rgb), .95) 0%, rgba(var(--brand-rgb), .5) 25%, rgba(var(--brand-rgb), 0) 72%), linear-gradient(rgba(var(--ink-rgb), .3), rgba(var(--ink-rgb), .07));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .8; transition: opacity var(--t);
}
.glass-ring:hover::before, .glass-ring:focus-within::before { opacity: 1; }
/* Cam hap: sıcak beyazdan -45° degrade + tepede 1 px ışık */
.glass-chip { background: var(--glass-chip); box-shadow: var(--glass-chip-edge); }
.glass-chip:hover { background: var(--glass-chip-hi); }
/* Duyuru şeridi: koyu cam, alttan sıcak ışıma, içte tepe ve dip ışık çizgisi */
.glass-note {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px 11px 18px; border-radius: 20px;
  font-size: 13.5px; color: var(--text-2); border: 1px solid var(--glass-line);
  background-color: rgba(0, 0, 0, .76);
  background-image: radial-gradient(55% 100% at 50% 100%, rgba(255, 196, 138, .34) 0%, rgba(255, 196, 138, .12) 35%, rgba(255, 196, 138, .03) 65%, rgba(255, 196, 138, 0) 100%), linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-note, .menu, .modal-panel { background-color: var(--bg-4); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-note, .menu, .modal-panel { background-color: var(--bg-4); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.menu a, .menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--text-2); text-align: left; transition: background var(--t-fast), color var(--t-fast); }
.menu a:hover, .menu button:hover { background: rgba(var(--ink-rgb), .07); color: var(--text); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.menu .menu-label { padding: 8px 10px 4px; font-size: 11px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-4); }

/* ---------- İlerleme, iskelet, döndürücü ---------- */
.progress { height: 6px; border-radius: 6px; background: rgba(var(--ink-rgb), .08); overflow: hidden; }
.progress > span { display: block; height: 100%; width: var(--v, 0%); border-radius: inherit; background: var(--brand-grad-bar); transition: width .6s var(--ease); }
.skeleton { position: relative; overflow: hidden; background: rgba(var(--ink-rgb), .05); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), .07), transparent); animation: shimmer 1.6s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(var(--ink-rgb), .15); border-top-color: var(--brand); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Grenli film dokusu ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 998; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-6%, 4%); } 33% { transform: translate(3%, -7%); }
  50% { transform: translate(-9%, 2%); } 67% { transform: translate(7%, 6%); } 83% { transform: translate(-2%, -5%); } 100% { transform: translate(0, 0); }
}

canvas.drawable { cursor: crosshair; }

/* ---------- Sayfa geçişi (diyafram) ---------- */
.iris {
  position: fixed; inset: 0; z-index: 1100; pointer-events: none;
  background: #000;
  clip-path: circle(0% at var(--ix, 50%) var(--iy, 50%));
  display: grid; place-items: center;
}
.iris lg-logo { height: 34px; color: var(--text); opacity: 0; transition: opacity .3s; }
.iris.is-closing { pointer-events: auto; animation: iris-close .75s var(--ease-io) forwards; }
.iris.is-closing lg-logo { opacity: .9; transition-delay: .35s; }
.iris.is-opening { clip-path: circle(150% at 50% 50%); animation: iris-open .9s var(--ease-io) .05s forwards; }
@keyframes iris-close { from { clip-path: circle(0% at var(--ix, 50%) var(--iy, 50%)); } to { clip-path: circle(150% at var(--ix, 50%) var(--iy, 50%)); } }
@keyframes iris-open { from { clip-path: circle(150% at 50% 50%); } to { clip-path: circle(0% at 50% 50%); } }

/* ---------- Görünme animasyonları ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.reveal-scale.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--wi) * 55ms); }
.split.is-in .w > span { transform: none; }
.split-chars .c { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.35em); transition: opacity .9s var(--ease), filter 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--ci) * 28ms); }
.split-chars.is-in .c { opacity: 1; filter: blur(0); transform: none; }
.line-draw { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.line-draw.is-in { transform: scaleX(1); }

/* ---------- Genel animasyonlar ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes shine { to { background-position: 200% 0; } }
@keyframes rot { to { transform: rotate(360deg); } }
.shine-text {
  background: linear-gradient(100deg, var(--text-3) 30%, var(--text) 50%, var(--text-3) 70%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 3s linear infinite;
}

/* Kaydırma çubuğu ilerleme göstergesi */

/* Eksik tuval için geri dönüş */
.art { position: relative; overflow: hidden; background: var(--bg-2); }
.art canvas { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale, .split .w > span, .split-chars .c { opacity: 1 !important; transform: none !important; filter: none !important; }
  .grain { display: none; }
}

/* ---------- Karanlık oda imzası (Faz 0 arayüz) ---------- */
/* Işıklı kenar: üstte ince lamba çizgisi */
.lit { position: relative; }
.lit::before { content: ""; position: absolute; left: 12px; right: 12px; top: -1px; height: 1px; background: var(--lit-edge); opacity: .8; pointer-events: none; z-index: 1; }
/* Lamba ışığı sızıntısı */
.leak { background-image: transparent; box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), .38); }
/* Tıklanabilir kart: üzerine gelince kenar ısınır, 2 px yükselir */
.card-link { transition: border-color var(--t), transform var(--t) var(--ease), box-shadow var(--t), background var(--t); }
.card-link:hover { border-color: rgba(var(--brand-rgb), .38); transform: translateY(-2px); box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(var(--brand-rgb), .08); }
.card-link:active { transform: translateY(0); transition-duration: .06s; }
/* Banyo: üretim siyahtan belirir (karanlık odada fotoğrafın banyoda çıkması) */
@keyframes lg-develop { 0% { filter: brightness(0) contrast(1.6); } 45% { filter: brightness(.5) contrast(1.4) saturate(.5); } 100% { filter: none; } }
.develop { animation: lg-develop 1.4s var(--ease) both; }
/* Banyoda bekleyen iş: lamba ışığı nefes alır */
.developing { position: relative; overflow: hidden; background: #050505; }
.developing::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 55%, rgba(var(--brand-rgb), .2), transparent 70%); animation: lg-safelight 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes lg-safelight { 50% { opacity: .35; } }
/* Sayaç ve ölçer */
.stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 650; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.meter { height: 4px; border-radius: 2px; background: rgba(var(--ink-rgb), .08); overflow: hidden; }
.meter > i { display: block; height: 100%; width: var(--v, 0%); border-radius: inherit; background: var(--brand-grad-bar); box-shadow: 0 0 10px rgba(var(--brand-rgb), .6); transition: width .6s var(--ease); }
/* Film kenarı: dikey delik şeridi (dekor) */
.perf { background-image: repeating-linear-gradient(180deg, rgba(var(--ink-rgb), .09) 0 5px, transparent 5px 13px); background-size: 2px 100%; background-repeat: no-repeat; }
@media (prefers-reduced-motion: reduce) { .develop, .developing::after { animation: none !important; } }
/* Dokunmatik ekranda üzerine gelme yok: ipucu balonları gizliyken bile sayfayı yana taşırmasın */
@media (hover: none) { [data-tip]::after { display: none; } }

/* ---------- Paket sınırı çipleri ve "Hangi paket?" sihirbazı (uygulama + tanıtım sitesi; assets/js/plan-wizard.js) ---------- */
.pkg-lim { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.pkg-lim span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-full); font-size: 12px; color: var(--text-2); background: var(--glass-chip); box-shadow: var(--glass-chip-edge); }
.pkg-lim .i { width: 13px; height: 13px; color: var(--text-3); }
.pkg-lim b { color: var(--text); font-variant-numeric: tabular-nums; }
.pw { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; padding: 20px; border-radius: var(--r-xl); border: 1px solid var(--glass-line); background: var(--glass-bg); box-shadow: var(--glass-edge); }
.pw-rows { display: flex; flex-direction: column; gap: 8px; }
.pw-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px; border-radius: var(--r-lg); background: var(--glass-chip); box-shadow: var(--glass-chip-edge); font-size: 14px; }
.pw-row small { margin-left: 8px; font-size: 12px; color: var(--text-4); }
.pw-step { display: inline-flex; align-items: center; gap: 2px; }
.pw-step button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); transition: background var(--t-fast), color var(--t-fast); }
.pw-step button:hover { background: rgba(var(--ink-rgb), .08); color: var(--text); }
.pw-step input { width: 52px; height: 32px; text-align: center; border: 0; border-radius: var(--r); background: rgba(0, 0, 0, .4); color: var(--text); font: 600 14px/1 var(--font-sans); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.pw-step input::-webkit-outer-spin-button, .pw-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pw-out { display: flex; flex-direction: column; gap: 8px; justify-content: center; padding: 6px 4px; }
.pw-k { font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.pw-name { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.pw-meter { position: relative; height: 10px; border-radius: var(--r-full); background: rgba(var(--ink-rgb), .08); overflow: hidden; }
.pw-meter span { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--brand-send); transition: width .3s var(--ease); }
.pw-use { font-size: 13.5px; color: var(--text-2); }
.pw-use b { color: var(--text); }
@media (max-width: 760px) { .pw { grid-template-columns: 1fr; padding: 14px; } .pw-row { padding-left: 12px; font-size: 13.5px; } .pw-row small { display: block; margin: 2px 0 0; } }

/* ---------- İpek doku (2026-11-03, kurucu örneği) ----------
   Kumaş kıvrımı gibi akan turuncu; geniş tanıtım bantlarında, ekran başına en çok bir-iki yerde.
   Doku SVG süzgeciyle çizilir (assets/img/silk-*.svg, resim dosyası yok); sağ üstte hafif gölge. */
.silk {
  --silk: url("../img/silk-a.svg");
  --silk-bg: radial-gradient(70% 120% at 100% 0%, rgba(0, 0, 0, .4), transparent 60%), var(--silk) center / cover no-repeat, var(--brand);
  position: relative; isolation: isolate; color: #fff; border: 0;
  background: var(--silk-bg);
}
.silk-b { --silk: url("../img/silk-b.svg"); }
.silk-c { --silk: url("../img/silk-c.svg"); }
.silk .dim, .silk .muted, .silk p { color: rgba(255, 255, 255, .88); }

/* ---------- Kazanç şeması (assets/js/earn-graphic.js; Kazanç sayfası + tanıtım sitesi) ---------- */
.eg { display: grid; gap: 10px; padding: 14px; text-align: left; }
.eg-row { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: var(--r-lg); background: #000; border: 1px solid var(--line-2); }
.eg-h { display: flex; flex-direction: column; gap: 2px; }
.eg-h b { font-size: 14px; font-weight: 650; color: var(--text); }
.eg-h span { font-size: 12px; color: var(--text-3); line-height: 1.4; }
.eg-people { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.eg-p { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.eg-p .i { width: 26px; height: 26px; padding: 5px; box-sizing: border-box; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-4); stroke-width: 2; transition: color .25s, border-color .25s, box-shadow .25s; }
.eg-p i { font-style: normal; font-size: 10px; font-weight: 650; color: var(--text-4); font-variant-numeric: tabular-nums; transition: color .25s; }
.eg-p.is-on .i { color: var(--brand); border-color: rgba(var(--brand-rgb), .7); box-shadow: 0 0 10px -2px rgba(var(--brand-rgb), .7); }
.eg-p.is-on i { color: var(--brand); }
.eg-meter { --w: 0%; position: relative; height: 40px; border-radius: var(--r); border: 1px solid var(--line-2); overflow: hidden; background: #050505; }
.eg-fill { position: absolute; inset: 0 auto 0 0; width: var(--w); background: url("../img/silk-b.svg") center / cover no-repeat, var(--brand); transition: width .3s var(--ease); }
.eg-mt { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 100%; padding: 0 12px; }
.eg-mt b { font-size: 14px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }
.eg-mt small { font-size: 12px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eg-meter.is-full { border-color: rgba(var(--brand-rgb), .8); box-shadow: 0 0 18px -6px rgba(var(--brand-rgb), .8); }
.eg-track { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.eg-seg { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: var(--r); border: 1px solid var(--line-2); }
.eg-seg b { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.eg-seg small { font-size: 11px; color: var(--text-3); }
.eg-seg.is-up { border-color: rgba(var(--brand-rgb), .65); }
.eg-seg.is-up b { color: var(--brand); }
.eg-mark { padding: 3px 8px; border-radius: var(--r-xs); font-size: 11.5px; font-weight: 700; color: var(--on-brand); background: var(--brand-fill); font-variant-numeric: tabular-nums; }
.eg-chain { display: flex; align-items: stretch; gap: 6px; }
.eg-n { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: var(--r); border: 1px solid var(--line-2); }
.eg-n b { font-size: 13px; font-weight: 650; }
.eg-n small { font-size: 11px; color: var(--text-3); }
.eg-n em { font-style: normal; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--brand); margin-top: 2px; }
.eg-n.is-you { border-color: rgba(var(--brand-rgb), .65); }
.eg-ar { flex: none; align-self: center; position: relative; width: 16px; height: 1px; background: rgba(var(--brand-rgb), .8); }
.eg-ar::after { content: ""; position: absolute; right: -1px; top: -3px; width: 6px; height: 6px; border-top: 1px solid rgba(var(--brand-rgb), .9); border-right: 1px solid rgba(var(--brand-rgb), .9); transform: rotate(45deg); }
@media (max-width: 520px) {
  .eg-people { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 8px; }
  .eg-chain { flex-direction: column; }
  .eg-ar { width: 1px; height: 12px; align-self: center; }
  .eg-ar::after { right: -3px; top: auto; bottom: -1px; transform: rotate(135deg); }
}
