/* DO NOT EDIT – CORE
   Minimal yardımcı sınıflar ve a11y iyileştirmeleri. Tokenlar theme.json'dadır. */

:root {
  /* theme.json tokenları kullanılacak; burada tanım yok. */
}

* { box-sizing: border-box; }
html { 
  scroll-behavior: smooth;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body { 
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (max-width: 767px) {
  .container { padding: 0 16px; }
}
@media (min-width: 1280px) {
  .container { max-width: 1280px; padding: 0 24px; }
}
@media (min-width: 1440px) {
  .container { max-width: 1440px; padding: 0 24px; }
}

.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 8px; top: 8px; background: #000; color: #fff; padding: 8px 12px; z-index: 1000; }

:focus { outline: 2px solid #66ccff; outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.menu a { text-decoration: none; }

main { 
  display: block; 
  flex: 1;
  flex-grow: 1;
}
header, footer, nav { display: block; }

/* Header (public) yer tutucu sınıflar */
.site-header--public { position: relative; }
.site-nav--public .menu { align-items: center; }

/* TNC Header – cyber dark layout (token referanslı) */
.tnc-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  width: 100%;
  background: color-mix(in oklab, var(--wp--preset--color--bg) 92%, black);
  transition: background-color .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid color-mix(in oklab, var(--wp--preset--color--muted) 20%, transparent);
}
.tnc-header.is-scrolled {
  background: color-mix(in oklab, var(--wp--preset--color--bg) 75%, black);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.tnc-header__inner { display: grid; grid-template-columns: 200px 1fr 200px; align-items: center; gap: 16px; min-height: 64px; }
.tnc-logo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 48px; gap: 4px; }
.tnc-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; min-height: 48px; }
.tnc-iconbtn { width: 40px; height: 40px; border-radius: var(--wp--custom--radius--md, 8px); border: 1px solid color-mix(in oklab, var(--wp--preset--color--muted) 35%, transparent); background: transparent; color: var(--wp--preset--color--fg); cursor: pointer; }
.tnc-iconbtn:hover { background: color-mix(in oklab, var(--wp--preset--color--accent) 12%, transparent); border-color: color-mix(in oklab, var(--wp--preset--color--accent) 40%, transparent); }

/* Admin özel pill */
.tnc-actions .tnc-pill--admin { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 999px; color: var(--wp--preset--color--bg); background: var(--wp--preset--color--accent-green); border: 1px solid color-mix(in oklab, var(--wp--preset--color--accent-green) 60%, transparent); text-decoration: none; }
.tnc-actions .tnc-pill--admin:hover { filter: brightness(1.05); }

/* Menü orta hiza ve boşluklar */
.tnc-nav .menu { justify-content: center; gap: 24px; flex-wrap: wrap; }
.tnc-nav .menu a { color: var(--wp--preset--color--fg); padding: 8px 14px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--wp--preset--color--muted) 25%, transparent); transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.tnc-nav .menu a:hover { border-color: color-mix(in oklab, var(--wp--preset--color--accent) 60%, white 0%); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--wp--preset--color--accent) 45%, transparent); }
.tnc-nav .menu .is-active > a { background: color-mix(in oklab, var(--wp--preset--color--accent) 20%, transparent); border-color: color-mix(in oklab, var(--wp--preset--color--accent) 50%, transparent); }
.tnc-nav .menu .is-ai-mode > a,
.tnc-nav .menu a.tnc-pill--ai { background: color-mix(in oklab, var(--wp--preset--color--accent-2) 26%, transparent); border-color: color-mix(in oklab, var(--wp--preset--color--accent-2) 55%, transparent); }

/* Responsive – geniş ekranlarda hizalama sabit kalsın */
@media (min-width: 1280px) {
  .tnc-header__inner { grid-template-columns: 220px 1fr 220px; }
}
@media (min-width: 1440px) {
  .tnc-header__inner { grid-template-columns: 240px 1fr 240px; }
}
@media (min-width: 1920px) {
  .tnc-header__inner { grid-template-columns: 260px 1fr 260px; }
}

/* Paneller */
.tnc-panel { position: fixed; top: 80px; right: 16px; min-width: 260px; max-width: 90vw; padding: 12px; border-radius: var(--wp--custom--radius--md, 8px); background: color-mix(in oklab, var(--wp--preset--color--bg) 85%, black); border: 1px solid color-mix(in oklab, var(--wp--preset--color--muted) 28%, transparent); box-shadow: 0 16px 48px rgba(0,0,0,.35); color: var(--wp--preset--color--fg); }
.tnc-panel[hidden] { display: none !important; }
.tnc-panel__section { padding: 8px 4px; }
.tnc-panel .tnc-pill { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 999px; background: transparent; color: var(--wp--preset--color--fg); border: 1px solid color-mix(in oklab, var(--wp--preset--color--muted) 25%, transparent); cursor: pointer; margin-right: 8px; margin-bottom: 6px; }
.tnc-panel .tnc-pill:hover { border-color: color-mix(in oklab, var(--wp--preset--color--accent) 55%, transparent); }
.muted { color: var(--wp--preset--color--muted); }

/* Blur davranışı (opsiyonel) */
body.tnc-blur-active { filter: blur(3px); }

/* Preset grid basit düzen */
.tnc-preset-grid { display: flex; flex-wrap: wrap; gap: 6px; }

/* Müzik paneli */
.tnc-music-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-bottom: 8px; }
.tnc-music-item { display: flex; gap: 8px; align-items: center; border: 1px solid color-mix(in oklab, var(--wp--preset--color--muted) 20%, transparent); border-radius: var(--wp--custom--radius--sm, 4px); padding: 6px; cursor: pointer; }
.tnc-music-item:hover { border-color: color-mix(in oklab, var(--wp--preset--color--accent) 45%, transparent); }
.tnc-music-item img { width: 72px; height: 40px; object-fit: cover; border-radius: 4px; }
.tnc-music-title { font-size: .9rem; line-height: 1.3; }
.tnc-music-controls { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tnc-music-timer { display: flex; align-items: center; gap: 6px; }
.tnc-input { background: transparent; color: var(--wp--preset--color--fg); border: 1px solid color-mix(in oklab, var(--wp--preset--color--muted) 25%, transparent); border-radius: 6px; padding: 6px 8px; width: 100px; }

/* Footer – cyber dark */
.tnc-footer { 
  background: color-mix(in oklab, var(--wp--preset--color--bg) 92%, black); 
  color: var(--wp--preset--color--fg); 
  border-top: 1px solid color-mix(in oklab, var(--wp--preset--color--muted) 20%, transparent);
  margin-top: auto; /* Footer'ı sayfanın altına yapıştır */
  flex-shrink: 0; /* Footer'ın küçülmesini engelle */
}
.tnc-footer__inner { display: grid; gap: 12px; padding: 24px 0; }
.tnc-footer__brand { font-weight: 600; letter-spacing: 1px; }
.tnc-footer__menu .menu { flex-wrap: wrap; gap: 12px; }
.tnc-footer__menu .menu a { position: relative; padding-bottom: 4px; color: var(--wp--preset--color--fg); }
.tnc-footer__menu .menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: color-mix(in oklab, var(--wp--preset--color--accent) 80%, transparent); transition: width .2s ease; }
.tnc-footer__menu .menu a:hover::after { width: 100%; }
.tnc-footer__social { display: flex; gap: 8px; }
.tnc-social { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; color: var(--wp--preset--color--fg); border: 1px solid color-mix(in oklab, var(--wp--preset--color--muted) 25%, transparent); transition: box-shadow .2s ease, border-color .2s ease; text-decoration: none; }
.tnc-social:hover { border-color: color-mix(in oklab, var(--wp--preset--color--accent) 45%, transparent); box-shadow: 0 0 8px color-mix(in oklab, var(--wp--preset--color--accent) 22%, transparent); }

@media (min-width: 768px) {
  .tnc-footer__inner { grid-template-columns: 1fr auto auto auto; align-items: center; }
}

