  :root {
    --bg: #0d0f12;
    --bg2: #14171c;
    --line: #262a31;
    --text: #e9e6df;
    --muted: #8f8b82;
    --red: #e30a17;
    --red-soft: #f0606b;
    --gold: #c9a45c;
    --blue: #7aa7d9;
    --green: #8cc49a;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; background: var(--bg); color: var(--text); }
  body { font-family: Inter, system-ui, sans-serif; font-size: 15px; }
  a { color: inherit; text-decoration: none; }
  .serif { font-family: "Cormorant Garamond", Georgia, serif; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

  /* anma bandı (navbarın üstünde, tam genişlik) */
  .bant { width: 100%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 16px; }
  .bant-yazi { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 18px; font-weight: 600; letter-spacing: .5px; text-align: center; line-height: 1.3; }
  .ay-yildiz { flex: none; width: 34px; height: 24px; color: var(--red); }
  .ay-yildiz.ters { transform: scaleX(-1); }

  /* header */
  header { border-bottom: 1px solid var(--line); }
  header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
  .logo { font-family: "Cormorant Garamond", serif; font-size: 26px; letter-spacing: 3px; font-weight: 600; }
  .logo b { color: var(--red); font-weight: 600; }
  header nav { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
  header nav a:hover { color: var(--text); }

  /* stats */
  .hero { padding: 44px 0 28px; text-align: center; }
  .hero .flagline { width: 64px; height: 3px; background: var(--red); margin: 0 auto 22px; }
  .stats { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; }
  .stat .num { font-family: "Cormorant Garamond", serif; font-size: 76px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
  .stat .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-top: 8px; }
  .hero .quote { margin-top: 26px; color: var(--muted); font-style: italic; font-family: "Cormorant Garamond", serif; font-size: 19px; }

  /* year selector */
  .years { display: flex; gap: 4px; overflow-x: auto; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scrollbar-width: thin; }
  .years a { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; padding: 6px 10px; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; }
  .years a:hover { color: var(--text); }
  .years a.on { color: var(--text); border-bottom-color: var(--red); }

  .countline { font-size: 13px; color: var(--muted); padding: 6px 0 14px; }
  .countline b { color: var(--text); font-weight: 500; }

  /* table */
  .tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 0; flex-wrap: wrap; }
  .search { background: var(--bg2); border: 1px solid var(--line); color: var(--text); padding: 9px 12px; border-radius: 4px; font: inherit; font-size: 14px; width: 280px; max-width: 100%; }
  .search:focus { outline: none; border-color: #444b55; }
  .ara-kutu { position: relative; width: 280px; max-width: 100%; }
  .ara-kutu .search { width: 100%; padding-right: 34px; }
  .search::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
  .ara-temizle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
  .ara-temizle:hover, .ara-temizle:focus-visible { color: var(--text); background: var(--line); outline: none; }
  .ara-temizle[hidden] { display: none; }
  #sonuclar { transition: opacity .15s ease; }
  .tools.yukleniyor ~ #sonuclar { opacity: .55; }
  table { width: 100%; border-collapse: collapse; font-size: 14px; }
  th { text-align: left; font-weight: 500; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; padding: 10px 10px; border-bottom: 1px solid var(--line); }
  td { padding: 11px 10px; border-bottom: 1px solid #1c1f25; }
  tbody tr { cursor: pointer; }
  tbody tr:hover { background: var(--bg2); }
  td.name { font-family: "Cormorant Garamond", serif; font-size: 18px; font-weight: 600; }
  .tag { font-size: 11px; padding: 2px 8px; border-radius: 10px; border: 1px solid currentColor; opacity: .9; }
  .pager { display: flex; gap: 6px; justify-content: center; padding: 22px 0 40px; }
  .pager a, .pager .gap { background: var(--bg2); border: 1px solid var(--line); color: var(--muted); padding: 6px 12px; border-radius: 4px; font-size: 13px; }
  .pager a.on { color: var(--text); border-color: var(--red); }

  /* today */
  .today { margin: 32px 0 0; border: 1px solid #3a2328; background: linear-gradient(180deg, #1a1114, #13100f); border-radius: 6px; padding: 26px 28px; }
  .today .head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
  .today h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 30px; }
  .today .sub { color: var(--muted); font-size: 13px; }
  .today-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
  .tcard { background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; cursor: pointer; }
  .tcard:hover { border-color: #4a3036; }
  .tcard .n { font-family: "Cormorant Garamond", serif; font-size: 21px; font-weight: 600; }
  .tcard .m { color: var(--muted); font-size: 12.5px; margin-top: 4px; line-height: 1.5; }
  .tcard .y { float: right; color: var(--red-soft); font-size: 12px; font-weight: 600; }

  /* footer */
  footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 30px 0 40px; margin-top: 56px; }
  footer .cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
  footer code { background: var(--bg2); border: 1px solid var(--line); padding: 2px 6px; border-radius: 3px; font-size: 12px; color: var(--text); }
  footer p { line-height: 1.7; margin: 0 0 8px; }

  /* modal */
  .modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: none; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
  .modal-bg.show { display: flex; }
  .modal { background: var(--bg2); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 6px; max-width: 460px; width: 100%; padding: 28px 30px; position: relative; }
  .modal h3 { font-family: "Cormorant Garamond", serif; font-size: 32px; margin: 0 0 4px; font-weight: 600; }
  .modal .role { color: var(--muted); margin-bottom: 18px; }
  .modal dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; margin: 0; font-size: 14px; }
  .modal dt { color: var(--muted); }
  .modal dd { margin: 0; }
  .modal .src { margin-top: 18px; font-size: 12px; color: var(--muted); }
  .modal .x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; }
  .modal .rip { margin-top: 18px; text-align: center; font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--muted); font-size: 17px; }


  .r-asker { color: #d8d4cb; }
  .r-polis { color: var(--blue); }
  .r-ogretmen { color: var(--gold); }
  .r-jandarma { color: var(--green); }
  .r-diger { color: var(--red-soft); }

  /* eklemeler */
  .logo { display: inline-block; }
  .strong { color: var(--text); }
  footer a.ul { color: var(--text); text-decoration: underline; }
  td.bos { color: var(--muted); padding: 30px 10px; }
  .tools { margin: 0; }
  .modal .kayit-link { margin-top: 14px; text-align: center; font-size: 13px; }
  .modal .kayit-link a { color: var(--red-soft); text-decoration: underline; }
  .modal .src a { text-decoration: underline; }
  .modal { max-height: calc(100vh - 40px); overflow-y: auto; }
  .modal .foto, .page .foto { display: block; width: 132px; height: 164px; object-fit: cover; object-position: center top; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); }
  .modal .foto { margin: 0 auto 16px; }
  .page .foto { margin-bottom: 18px; }
  .modal .foto[hidden], .page .foto[hidden] { display: none; }
  .olay { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
  .olay[hidden] { display: none; }
  .olay h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
  .olay p { margin: 0; font-size: 14px; line-height: 1.65; }

  /* kaydırma çubuğu */
  * { scrollbar-color: #3a3f48 var(--bg); scrollbar-width: thin; }
  ::-webkit-scrollbar { width: 10px; height: 8px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: #3a3f48; border-radius: 8px; border: 2px solid var(--bg); }
  ::-webkit-scrollbar-thumb:hover { background: var(--red); }

  /* bannerlar sayfası */
  .page.bannerlar { max-width: 980px; }
  .banner-kart { margin: 34px 0; padding-top: 24px; border-top: 1px solid var(--line); }
  .banner-kart h2 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 26px; margin: 0 0 6px; }
  .banner-kart h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin: 22px 0 10px; }
  .banner-aciklama { color: var(--muted); margin: 0 0 14px; }
  .banner-onizleme { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
  .banner-onizleme.onizleme-kose { position: relative; height: 140px; background: var(--bg2); }
  .varyant-secici { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
  .varyant-sec { background: var(--bg2); border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 16px; cursor: pointer; }
  .varyant-sec.on { color: var(--text); border-color: var(--red); }
  .banner-onizleme.onizleme-kart, .banner-onizleme.onizleme-rozet { display: flex; justify-content: center; padding: 20px; background: var(--bg2); }
  .kod-sekmeleri { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
  .kod-sekme { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: inherit; font-size: 13px; padding: 8px 12px; cursor: pointer; }
  .kod-sekme:hover { color: var(--text); }
  .kod-sekme.on { color: var(--text); border-bottom-color: var(--red); }
  .kod-alani { position: relative; }
  .kod-alani pre { margin: 0; background: var(--bg2); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; padding: 16px; overflow-x: auto; font-size: 12.5px; line-height: 1.55; color: var(--text); white-space: pre; }
  .kopyala { position: absolute; top: 10px; right: 10px; background: var(--bg); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 12px; padding: 5px 10px; border-radius: 4px; cursor: pointer; }
  .kopyala:hover { border-color: var(--red); }

  /* müzik çalar (sol alt, minimal hap) */
  .muzik { position: fixed; left: 14px; bottom: 14px; z-index: 1000; display: flex; align-items: center; gap: 6px;
           height: 36px; padding: 0 6px 0 4px; max-width: calc(100vw - 28px); background: rgba(20,23,28,.92);
           border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 14px rgba(0,0,0,.4);
           font-family: Inter, system-ui, sans-serif; backdrop-filter: blur(6px); }
  .muzik svg { width: 15px; height: 15px; display: block; }
  .muzik-dugme { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
                 background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; }
  .muzik-dugme:hover { color: var(--text); }
  .muzik-oynat { background: var(--red); color: #fff; }
  .muzik-oynat:hover { background: var(--red-soft); color: #fff; }
  .muzik-baslik { min-width: 0; max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
                  font-size: 12px; color: var(--muted); }
  .muzik.caliyor .muzik-baslik { color: var(--text); }
  .muzik-ses-alani { display: flex; align-items: center; }
  .muzik-ses { width: 0; overflow: hidden; display: flex; align-items: center; transition: width .2s ease; }
  .muzik-ses-alani:hover .muzik-ses, .muzik-ses-alani:focus-within .muzik-ses { width: 72px; margin-right: 4px; }
  .muzik-ses input { width: 68px; accent-color: var(--red); cursor: pointer; margin: 0 2px; }
  .gizli-etiket { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .muzik .ikon-duraklat, .muzik .ikon-sessiz { display: none; }
  .muzik.caliyor .ikon-oynat, .muzik.sessizde .ikon-ses { display: none; }
  .muzik.caliyor .ikon-duraklat, .muzik.sessizde .ikon-sessiz { display: block; }
  .muzik-dalga { display: flex; align-items: flex-end; gap: 2px; width: 11px; height: 11px; flex: none; }
  .muzik-dalga i { flex: 1; height: 30%; background: var(--red); border-radius: 1px; }
  .muzik.caliyor .muzik-dalga i { animation: muzik-dalga 0.9s ease-in-out infinite; }
  .muzik.caliyor .muzik-dalga i:nth-child(2) { animation-delay: .2s; }
  .muzik.caliyor .muzik-dalga i:nth-child(3) { animation-delay: .4s; }
  @keyframes muzik-dalga { 0%, 100% { height: 25%; } 50% { height: 100%; } }
  @media (prefers-reduced-motion: reduce) { .muzik.caliyor .muzik-dalga i { animation: none; height: 70%; } .muzik-ses { transition: none; } }

  @media (max-width: 700px) {
    .muzik-baslik { display: none; }
    .bant { gap: 10px; padding: 7px 12px; }
    .bant-yazi { font-size: 15px; }
    .bant-ek { display: none; }
    .ay-yildiz { width: 28px; height: 20px; }
    header nav { display: none; }
    .stats { gap: 36px; }
    .stat .num { font-size: 56px; }
    footer .cols { grid-template-columns: 1fr; }
    th.h-m, td.h-m { display: none; }
  }

  /* iç sayfalar */
  .page { padding-top: 36px; padding-bottom: 36px; max-width: 760px; }
  .page a.ul { color: var(--text); text-decoration: underline; }
  .ptitle, .pname { font-family: "Cormorant Garamond", serif; font-weight: 600; margin: 0 0 14px; }
  .ptitle { font-size: 34px; }
  .pname { font-size: 46px; }
  .page .role { color: var(--muted); margin-bottom: 22px; }
  .info { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; margin: 0; font-size: 14px; }
  .info dt { color: var(--muted); }
  .info dd { margin: 0; }
  .page .src { margin-top: 20px; font-size: 13px; color: var(--muted); }
  .page .src a { text-decoration: underline; }
  .page .rip { margin-top: 24px; font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--muted); font-size: 19px; }
  .pnote { color: var(--muted); font-size: 14px; }
  .prose h2 { font-family: "Cormorant Garamond", serif; font-size: 24px; margin: 26px 0 8px; }
  .prose p, .prose li { line-height: 1.6; }
  .datepick { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
  .datepick select, .datepick > button, .bform input, .bform textarea {
    background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; font: inherit;
  }
  .datepick > button, .bform button { cursor: pointer; border-color: var(--red); }

  /* özel açılır menü (secim.js) */
  .secim { position: relative; display: inline-block; }
  .secim .secim-yerel { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
  .secim-dugme { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; font: inherit; cursor: pointer; text-align: left; }
  .secim-dugme:hover, .secim.acik .secim-dugme { border-color: #444b55; }
  .secim-dugme:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 2px; }
  .secim-ok { width: 10px; height: 6px; flex: none; color: var(--muted); transition: transform .15s ease; }
  .secim.acik .secim-ok { transform: rotate(180deg); }
  .secim-liste { position: absolute; top: calc(100% + 4px); left: 0; z-index: 40; min-width: 100%; max-height: 264px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 12px 32px rgba(0,0,0,.55); scrollbar-width: thin; }
  .secim-liste:focus { outline: none; }
  .secim-liste[hidden] { display: none; }
  .secim-liste li { padding: 7px 10px 7px 12px; border-radius: 3px; font-size: 14px; white-space: nowrap; cursor: pointer; color: var(--muted); }
  .secim-liste li.etkin { background: #1f232a; color: var(--text); }
  .secim-liste li[aria-selected="true"] { color: var(--text); font-weight: 500; box-shadow: inset 2px 0 0 var(--red); }
  @media (prefers-reduced-motion: reduce) { .secim-ok, #sonuclar { transition: none; } }
  .bform { display: grid; gap: 16px; }
  .bform label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
  .bform button { justify-self: start; background: var(--red); color: #fff; border: 0; border-radius: 4px; padding: 9px 22px; font: inherit; }
  .err { color: var(--red-soft); }
  .tamam { color: var(--green); }

  /* webhooks sayfası */
  .prose code { background: var(--bg2); border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; font-size: 13px; }
  .prose pre { background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; overflow-x: auto; font-size: 12.5px; line-height: 1.5; max-height: 420px; }
  .prose pre code { background: none; border: 0; padding: 0; font-size: inherit; }
  .prose pre.anahtar { max-height: none; font-size: 15px; user-select: all; }
  .prose details { margin: 10px 0; }
  .prose summary { cursor: pointer; color: var(--muted); font-size: 14px; }
  .prose summary:hover { color: var(--text); }
  .dc { display: flex; gap: 14px; background: #313338; color: #dbdee1; border-radius: 8px; padding: 16px; font-family: "gg sans", Inter, system-ui, sans-serif; font-size: 15px; max-width: 640px; }
  .dc-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; }
  .dc-govde { min-width: 0; flex: 1; }
  .dc-bas { display: flex; align-items: center; gap: 6px; }
  .dc-bas b { color: #f2f3f5; font-weight: 500; }
  .dc-bot { background: #5865f2; color: #fff; font-size: 10px; font-weight: 600; border-radius: 3px; padding: 1px 4px; }
  .dc-saat { color: #949ba4; font-size: 12px; }
  .dc-icerik { margin: 2px 0 6px; line-height: 1.4; }
  .dc-embed { background: #2b2d31; border-left: 4px solid var(--red); border-radius: 4px; padding: 12px 16px 14px 12px; max-width: 520px; }
  .dc-ust { display: flex; gap: 16px; justify-content: space-between; }
  .dc-yazar { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #f2f3f5; }
  .dc-yazar img { width: 24px; height: 24px; border-radius: 50%; }
  .dc-baslik { color: #00a8fc; font-weight: 600; margin-top: 8px; }
  .dc-aciklama { margin: 6px 0 0; font-size: 14px; line-height: 1.4; }
  .dc-alanlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px 12px; margin-top: 8px; font-size: 14px; }
  .dc-alanlar b { display: block; color: #f2f3f5; font-weight: 600; margin-bottom: 2px; }
  .dc-kucuk { flex: none; width: 80px; height: 80px; border-radius: 4px; background: #1e1f22; color: #949ba4; font-size: 11px; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.3; }
  .dc-buyuk { display: block; width: 100%; height: auto; border-radius: 4px; margin-top: 14px; }
  .dc-alt { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #949ba4; font-size: 12px; }
  .dc-alt img { width: 20px; height: 20px; border-radius: 50%; }
  @media (max-width: 700px) { .dc { padding: 12px; gap: 10px; } .dc-kucuk { width: 64px; height: 64px; } }
