/* TobeTube tema belirteçleri: DESIGN.md (Koyu teknik). Renk ve yazı tipi burada tanımlıdır. */

/* Yazı tipleri static/fonts/ altından sunulur; dosya yoksa sistem yedeği kullanılır. */
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "IBM Plex Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "IBM Plex Sans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "JetBrains Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "JetBrains Mono";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  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;
}

/* Logo yazi tipi (eski projedeki logo): Outfit 800, SIL OFL 1.1, yalniz Latin harfleri. */
@font-face {
  font-family: "Outfit";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/outfit-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}

:root {
  --zemin: #0E1116;
  --yuzey: #161B22;
  --metin: #E6EDF3;
  --metin-ikincil: #8B949E;
  --vurgu: #3FB950;
  --vurgu-metin: #0E1116;
  --ikincil: #58A6FF;
  --sinir: #2A313C;
  --basari: #3FB950;
  --uyari: #D29922;
  --hata: #F85149;
  --font-baslik: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-govde: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-sayi: "JetBrains Mono", Consolas, monospace;
  --radius-buton: 6px;
  --radius-kart: 6px;
  --radius-alan: 6px;
  --golge-kart: none;

  /* Alt menü: sayfadan farklı zemin ve düğme başına ayrı renk (iki temada da aynı). */
  --dock-zemin: #1E2A3C;
  --dock-sinir: #3A4B63;
  --dock-metin: #FFFFFF;
  --dock-home: #2563EB;
  --dock-youtube: #DC2626;
  --dock-tv: #7C3AED;
  --dock-iptv: #D97706;
  --dock-settings: #DB2777;

  /* Türetilmiş: --zemin renginin yarı saydam hali (video üstü katmanlar). */
  --zemin-saydam: rgba(14, 17, 22, 0.78);
  --metin-video: #E6EDF3;
}

:root[data-theme="light"] {
  --zemin: #F6F8FA;
  --yuzey: #FFFFFF;
  --metin: #1F2328;
  --metin-ikincil: #59636E;
  --vurgu: #1A7F37;
  --vurgu-metin: #FFFFFF;
  --ikincil: #0969DA;
  --sinir: #D0D7DE;
}
