/* DamlaMix tasarım değerleri: "Ofset" (.interface-design/system.md).
   Renk, yazı, ölçü SADECE burada tanımlanır. Diğer dosyalar bu değişkenleri kullanır. */

@font-face {
  font-family: "Commissioner";
  src: url("/yazitipi/commissioner-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Commissioner";
  src: url("/yazitipi/commissioner-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  /* Zemin ve yüzeyler: ofset merdanesinin koyu mavisi */
  --zemin: #15202d;
  --ray: #0f1822;
  --yuzey: #1b2938;
  --yuzey2: #233346;
  --girdi: #101923;
  --cizgi: rgba(178, 204, 230, .11);
  --cizgi2: rgba(178, 204, 230, .22);

  /* Yazı */
  --ink: #e8edf2;
  --ink2: #b4c0cc;
  --ink3: #8696a7;

  /* Anlamlı renkler. Sarı sadece "şu an / ana eylem" demektir. */
  --sari: #f2c12e;
  --sari-acik: #ffd04a;
  --sari-ustu: #1e1805;
  --kirmizi: #ff7e6f;
  --yesil: #63d09a;

  /* Yazı tipi ve ölçek */
  --yazi: "Commissioner", system-ui, sans-serif;
  --y12: 12px; --y13: 13px; --y14: 14px; --y15: 15px; --y17: 17px; --y18: 18px; --y22: 22px; --y30: 30px; --y34: 34px;

  /* Ölçü (4px tabanlı) */
  --b4: 4px; --b6: 6px; --b8: 8px; --b10: 10px; --b12: 12px; --b14: 14px; --b16: 16px; --b18: 18px; --b22: 22px; --b28: 28px;
  --kose-kucuk: 6px;
  --kose: 8px;
  --kose-buyuk: 12px;
  --kontrol: 38px;

  /* Yerleşim */
  --menu-gen: 236px;
  --yan-gen: 296px;
  --cekmece-gen: 440px;

  --gecis: 160ms cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body, #kok { min-height: 100%; height: 100%; }
body {
  margin: 0;
  background: var(--zemin);
  color: var(--ink);
  font: 400 var(--y14)/1.45 var(--yazi);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--sari); color: var(--sari-ustu); }
:focus-visible { outline: 2px solid var(--sari); outline-offset: 2px; }
::placeholder { color: var(--ink3); opacity: 1; }
* { scrollbar-color: var(--cizgi2) transparent; }
.sayi { font-variant-numeric: tabular-nums; }
.gizli-metin { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
