/* g-chrome.css (v4, 2026-11-17): sitenin kabuğu, HER sayfada en son yüklenir (ana sayfa: v3.css üstüne; diğerleri: .v3c
   kapsamlı v3-chrome.css üstüne; bu yüzden üst menü kuralları #hdr ile, altbilgi :is(.v3c, body) ile başlar).
   1 odak halkası · 2 üst menü · 3 araçlar paneli (masaüstü: süzülen cam panel + sağda gerçek sahne) · 4 telefon: alttan
   açılan sayfa · 5 dil menüsü · 6 komut paleti (g-chrome.js kurar) · 7 altbilgi + kapanış sözcük markası · 8 bildirim.
   Hareket: yalnız transform / opacity / clip-path; html.motion yoksa (azaltılmış hareket, durdur) her şey son hâlinde. */

@property --gc-s { syntax: "<number>"; inherits: true; initial-value: 1; }

/* gövdeye eklenen parçalar (.v3c dışında kalır): kendi değişkenleri */
#gc-pal, #dn-toast {
  --bg: #FFFFFF; --bg-2: #F7F8FA; --bg-3: #EFF1F5; --bg-4: #E7EAF0; --line: #E3E6EC; --line-2: #CED3DC;
  --ink: #121418; --ink-2: #474E5B; --ink-3: #6B7280; --brand: #E3262B; --ok: #1E8A4F; --ok-soft: #E6F4EC; --info: #2E6BE6;
  --f-display: "Plus Jakarta Sans", "DN Sans", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Inter", "DN Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
:root { --gc-out: var(--mc-out, cubic-bezier(.16, 1, .3, 1)); --gc-spring: var(--mc-spring, cubic-bezier(.34, 1.36, .64, 1));
  --gc-scan: linear-gradient(90deg, #E3262B, #8440AA 50%, #2E6BE6); }

/* ======================= 1 · odak halkası (tek biçim) ======================= */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid #2E6BE6; outline-offset: 2px; }
#hdr :is(a, button, summary):focus-visible, #gc-pal :is(a, button):focus-visible, footer.gc-ft a:focus-visible {
  outline: 2px solid #2E6BE6; outline-offset: 2px; border-radius: 8px; }

/* ======================= 2 · üst menü ======================= */
/* #hdr'nin kendisinde süzgeç olmamalı: içindeki sabit (fixed) panel ekrana göre konumlansın */
#hdr { -webkit-backdrop-filter: none; backdrop-filter: none; filter: none; transform: none; }
#hdr header.top { background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); transition: box-shadow .35s, border-color .35s, background-color .35s; }
#hdr.scrolled header.top, #hdr.gc-open header.top { background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -14px rgba(18, 20, 24, .16); }
#hdr header.top .wrap { height: 62px; gap: 14px; }
#hdr .logo { transition: opacity .2s; border-radius: 8px; }
#hdr .logo svg { transition: transform .5s var(--gc-spring); }
.pointer-fine #hdr .logo:hover svg { transform: rotate(-8deg) scale(1.06); }
#hdr nav.main { gap: 2px; margin-inline-start: 6px; }
#hdr nav.main a, #hdr .mtrig { height: 38px; padding: 0 12px; border-radius: 10px; font: 500 14px/1 var(--f-body); color: var(--ink-2); position: relative;
  transition: background-color .18s, color .18s, transform .18s var(--gc-out); }
#hdr nav.main a:hover, #hdr .mtrig:hover, #hdr .mtrig[aria-expanded="true"] { background: var(--bg-3); color: var(--ink); }
#hdr nav.main a:active, #hdr .mtrig:active { transform: scale(.97); }
#hdr .mtrig { font-weight: 600; color: var(--ink); }
#hdr .mtrig .n { font: 500 10.5px/1 var(--f-mono); color: var(--ink-3); padding: 3px 5px; border-radius: 5px; background: var(--bg-3); transition: background-color .18s, color .18s; }
#hdr .mtrig:hover .n, #hdr .mtrig[aria-expanded="true"] .n { background: var(--bg); color: var(--ink); }
#hdr .mtrig .gc-bars { display: none; }
#hdr .mtrig .gc-chev { transition: transform .35s var(--gc-out); }
#hdr .mtrig[aria-expanded="true"] .gc-chev { transform: rotate(180deg); }

/* arama alanı = paleti açan düğme görünümü */
#hdr .search.top-s { height: 38px; min-width: 248px; padding: 0 8px 0 12px; border-radius: 10px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 80%, transparent); cursor: text;
  transition: border-color .2s, box-shadow .25s, background-color .2s; }
#hdr .search.top-s:hover { border-color: var(--line-2); background: var(--bg); }
#hdr .search.top-s:focus-within { border-color: #2E6BE6; box-shadow: 0 0 0 3px color-mix(in srgb, #2E6BE6 16%, transparent); background: var(--bg); }
#hdr .search.top-s input { font-size: 13.5px; text-overflow: ellipsis; }
#hdr .search.top-s input:focus-visible { outline: 0; }
#hdr .search.top-s .kbd { font: 500 10.5px/1 var(--f-mono); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-3); white-space: nowrap; }

/* "Dosya seç": ana sayfada ilk ekran görünümden çıkınca belirir */
#hdr .gc-cta { height: 38px; padding: 0 14px; gap: 8px; border-radius: 10px; font-size: 13.5px; flex: none; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.96);
  transition: opacity .2s, transform .4s var(--gc-out), visibility 0s .4s; }
#hdr .gc-cta[hidden] { display: none; }
#hdr .gc-cta.on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .5s var(--gc-spring), visibility 0s; }
#hdr .btn.login { height: 38px; border-radius: 10px; padding: 0 14px; font-size: 13.5px; }
#hdr .msearch { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); transition: transform .18s var(--gc-out), background-color .18s; }
#hdr .msearch:active { transform: scale(.94); background: var(--bg-3); }

/* ======================= 5 · dil menüsü ======================= */
#hdr .lang summary { height: 38px; gap: 6px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); font: 600 12.5px/1 var(--f-body); letter-spacing: .02em; color: var(--ink);
  transition: background-color .18s, border-color .18s; }
#hdr .lang summary:hover, #hdr .lang[open] summary { background: var(--bg-3); border-color: var(--line-2); }
#hdr .lang .gc-globe { color: var(--ink-3); }
#hdr .lang .gc-chev { transition: transform .35s var(--gc-out); }
#hdr .lang[open] .gc-chev { transform: rotate(180deg); }
#hdr .lang-m { right: auto; inset-inline-end: 0; top: 46px; min-width: 232px; padding: 6px; gap: 1px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 24px 48px -16px rgba(18, 20, 24, .24), 0 4px 12px rgba(18, 20, 24, .05); transform-origin: 100% 0; }
[dir="rtl"] #hdr .lang-m { transform-origin: 0 0; }
#hdr .lang-m a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding: 0 12px; border-radius: 9px; font: 500 14px/1.2 var(--f-body); color: var(--ink-2); text-decoration: none;
  transition: background-color .15s, color .15s; }
#hdr .lang-m a small { font: 500 10.5px/1 var(--f-mono); color: var(--ink-3); }
#hdr .lang-m a:hover { background: var(--bg-3); color: var(--ink); }
#hdr .lang-m a[aria-current] { color: var(--ink); font-weight: 600; background: var(--bg-2); }
#hdr .lang-m a[aria-current] small { color: var(--brand); }
@keyframes gc-pop { from { opacity: 0; transform: translateY(-6px) scale(.96); } }
@keyframes gc-item { from { opacity: 0; transform: translateY(-4px); } }
.motion #hdr .lang[open] .lang-m { animation: gc-pop .32s var(--gc-out); }
.motion #hdr .lang[open] .lang-m a { animation: gc-item .34s var(--gc-out) backwards; }
.motion #hdr .lang[open] .lang-m a:nth-child(2) { animation-delay: 18ms; } .motion #hdr .lang[open] .lang-m a:nth-child(3) { animation-delay: 36ms; }
.motion #hdr .lang[open] .lang-m a:nth-child(4) { animation-delay: 54ms; } .motion #hdr .lang[open] .lang-m a:nth-child(5) { animation-delay: 72ms; }
.motion #hdr .lang[open] .lang-m a:nth-child(6) { animation-delay: 90ms; } .motion #hdr .lang[open] .lang-m a:nth-child(n+7) { animation-delay: 108ms; }

/* ======================= 3 · araçlar paneli ======================= */
#hdr .gc-grab, #hdr .gc-mtop, #hdr .gc-mlang { display: none; }
#scrim { background: rgba(18, 20, 24, .22); transition: opacity .35s; }
#hdr .mcats { position: relative; }
#hdr .mcat { min-height: 40px; border-radius: 10px; font: 500 13.5px/1.2 var(--f-body); text-align: start; transition: color .18s; z-index: 1; }
#hdr .mcat .sw { width: 8px; height: 8px; border-radius: 3px; transition: transform .4s var(--gc-spring); }
#hdr .mcat[aria-selected="true"] .sw { transform: scale(1.35); }
#hdr .mcat .n { margin-left: 0; margin-inline-start: auto; }
#hdr .mitem { min-height: 46px; padding: 6px 10px; border-radius: 10px; transition: background-color .15s; }
#hdr .mitem .mi img { display: block; height: 28px; width: auto; max-width: 48px; }
#hdr .mitem .loc { margin-left: 0; margin-inline-start: auto; width: 7px; height: 7px; background: #1E8A4F; box-shadow: 0 0 0 3px var(--ok-soft, #E6F4EC); }
#hdr .mitem:hover, #hdr .mitem.act { background: var(--bg-3); }
#hdr .mfoot a { border-radius: 6px; }

@media (min-width: 901px) {
  #hdr .mega { left: 50%; right: auto; top: calc(100% + 8px); width: min(1192px, calc(100vw - 32px)); translate: -50% 0; border: 1px solid var(--line); border-radius: 20px;
    background: color-mix(in srgb, var(--bg) 93%, transparent); -webkit-backdrop-filter: blur(28px) saturate(1.6); backdrop-filter: blur(28px) saturate(1.6);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 40px 80px -28px rgba(18, 20, 24, .32), 0 10px 24px -8px rgba(18, 20, 24, .08);
    transform-origin: 50% 0; transform: translateY(-12px) scale(.975); opacity: 0;
    transition: opacity .18s, transform .22s cubic-bezier(.4, 0, 1, 1), visibility 0s .22s; }
  #hdr .mega.open { transform: none; opacity: 1; transition: opacity .22s, transform .5s var(--gc-out), visibility 0s; }
  #hdr .mega::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }   /* imleç köprüsü */
  #hdr .mega .wrap { max-width: none; padding-inline: 14px; }
  #hdr .mega-in { grid-template-columns: 236px minmax(0, 1fr) 344px; padding-block: 14px 0; }
  #hdr .mcats { padding: 0; padding-inline-end: 14px; border: 0; border-inline-end: 1px solid var(--line); gap: 2px; }
  /* seçili kategori: tek bir kapsül, kategoriler arasında kayar (--gy / --gh'yi v3.js yazar) */
  #hdr .mcats::before { content: ""; position: absolute; inset-inline: 0 14px; top: 0; height: var(--gh, 40px); border-radius: 10px; background: var(--bg-3);
    transform: translateY(var(--gy, 0px)); transition: transform .42s var(--gc-out), height .2s; }
  #hdr .mcat[aria-selected="true"] { background: none; }
  #hdr .mcat[aria-selected="true"]::before { left: auto; inset-inline-start: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 3px; background: var(--brand); }
  #hdr .mlist { padding: 2px 16px 0; }
  #hdr .mlist h4 { margin: 8px 10px 10px; font: 600 11px/1 var(--f-body); letter-spacing: .08em; }
  #hdr .mgrid { gap: 2px 8px; align-content: start; }
  #hdr .mprev { border: 0; padding: 0; gap: 0; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); overflow: hidden; margin-bottom: 2px; }
  #hdr .mfoot { margin-top: 14px; padding: 12px 10px; }
}
/* önizleme kartı: üstte gerçek sahne, altta ad + açıklama + biçimler */
#hdr .gc-pv-stage { position: relative; height: 208px; border-bottom: 1px solid var(--line); }
#hdr .h3.gc-pv { height: 208px; border-radius: 0; perspective: 1000px; }
#hdr .gc-pv .h3-page { left: 35%; top: 50%; scale: .54; }
#hdr .gc-pv .h3-floor { left: 35%; top: 89%; width: 150px; margin-left: -75px; height: 16px; }
#hdr .gc-pv .h3-name { display: none; }
#hdr .gc-pv .h3-chip { height: 30px; font-size: 11px; gap: 7px; padding: 0 11px 0 6px; }
#hdr .gc-pv .h3-chip.h3-notext { padding-right: 6px; }
#hdr .gc-pv .h3-cloud { right: 4%; top: 9%; }
#hdr .gc-pv .h3-tray { right: 5%; bottom: 10%; padding-left: 7px; }
#hdr .gc-pv .h3-ring { width: 20px; height: 20px; }
#hdr .gc-pv .h3-mini { left: 12px; top: 10px; width: 8px; height: 10px; border-width: 1.2px; }
#hdr .gc-pv .h3-tray svg { width: 18px; height: 18px; padding: 3px; }
#hdr .gc-pv .h3-dust { right: calc(4% + 74px); top: calc(9% + 15px); scale: .6; }
#hdr .gc-pv.gc-pv--loc :is(.h3-cloud, .h3-dust) { display: none; }
#hdr .gc-pv-loc { position: absolute; inset-inline-end: 4%; top: 9%; display: none; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 8px; border-radius: 999px; font: 600 11px/1 var(--f-body);
  color: #1E8A4F; background: rgba(240, 249, 244, .95); border: 1px solid color-mix(in srgb, #1E8A4F 34%, #E3E6EC); box-shadow: 0 8px 20px rgba(18, 20, 24, .08); }
#hdr .gc-pv-stage.is-loc .gc-pv-loc { display: inline-flex; }
.motion #hdr .gc-pv-stage.is-loc .gc-pv-loc { animation: gc-pop .5s var(--gc-spring) .25s backwards; }
/* sahne yüklenemediyse (hero3d yok): aracın simgesi, büyük */
#hdr .gc-pv-stage.gc-pv-flat { display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #FFFFFF 0%, #F4F6F9 55%, #EBEEF3 100%); }
#hdr .gc-pv-flat .h3 { display: none; }
#hdr .gc-pv-ico :is(img, svg) { display: block; height: 84px; width: auto; filter: drop-shadow(0 14px 18px rgba(18, 20, 24, .14)); }
.motion #hdr .gc-pv-ico { animation: gc-pop .45s var(--gc-spring); }
#hdr .gc-pv-flat .gc-pv-loc { top: auto; bottom: 9%; }
#hdr .gc-pv-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
#hdr .gc-pv-body h3 { margin: 0; font: 700 17px/1.25 var(--f-display); letter-spacing: -.015em; color: var(--ink); }
#hdr .gc-pv-body p { margin: 0; font: 400 13.5px/1.5 var(--f-body); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3lh; }
#hdr .gc-pv-row { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
#hdr .gc-pv-row .spacer { flex: 1; }
#hdr .gc-fmt { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--f-mono); color: var(--ink-2); direction: ltr; }
#hdr .gc-fmt b { font-weight: 600; padding: 4px 6px; border-radius: 5px; background: var(--bg-3); }
#hdr .gc-fmt b + svg + b { background: color-mix(in srgb, #2E6BE6 10%, var(--bg)); color: #2457C5; }
#hdr .gc-pv-row .btn { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; }
#hdr .gc-pv-mode { font: 500 12px/1.3 var(--f-body); color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
#hdr .gc-pv-mode.is-loc { color: #1E8A4F; font-weight: 600; }
#hdr .gc-pv-mode i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.motion #hdr .gc-pv-body.gc-swap > * { animation: gc-item .3s var(--gc-out) backwards; }
.motion #hdr .gc-pv-body.gc-swap > :nth-child(2) { animation-delay: 30ms; } .motion #hdr .gc-pv-body.gc-swap > :nth-child(n+3) { animation-delay: 60ms; }
/* liste öğeleri: kategori değişince kısa, sıralı giriş (v3.js gecikmeyi yazar) */
@keyframes gc-min { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
[dir="rtl"] #hdr .mitem { animation-name: gc-min-r; }
@keyframes gc-min-r { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
#hdr .mitem { animation: gc-min .34s var(--gc-out) forwards; }
html:not(.motion) #hdr .mitem { animation: none; opacity: 1; transform: none; }

/* ======================= 4 · telefon: üst menü + alttan açılan sayfa ======================= */
@media (max-width: 900px) {
  #hdr header.top .wrap { height: 58px; gap: 8px; }
  #hdr nav.main { order: 3; margin: 0; }
  #hdr nav.main a { display: none; }
  #hdr .spacer { order: 1; }
  #hdr .msearch { order: 2; display: inline-flex; }
  #hdr .lang, #hdr .login, #hdr .search.top-s, #hdr .gc-cta { display: none; }
  #hdr .mtrig { height: 42px; padding: 0 14px 0 12px; gap: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 14.5px; }
  #hdr .mtrig .n, #hdr .mtrig .gc-chev { display: none; }
  #hdr .mtrig .gc-bars { display: block; }
  #hdr .mtrig .gc-bars path { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .4s var(--gc-out); }
  #hdr .mtrig[aria-expanded="true"] .gc-bars .b1 { transform: translateY(4px) rotate(45deg); }
  #hdr .mtrig[aria-expanded="true"] .gc-bars .b2 { transform: translateY(-4px) rotate(-45deg); }
  #hdr .logo { font-size: 18px; }

  /* perde: üst menüyü de karartır (panel #hdr içinde olduğu için kendi katmanı) */
  #hdr::after { content: ""; position: fixed; inset: 0; z-index: 1; background: rgba(18, 20, 24, .46); opacity: 0; pointer-events: none; transition: opacity .35s; }
  #hdr.gc-open::after { opacity: 1; pointer-events: auto; }
  #scrim.on { opacity: 0; pointer-events: none; }
  html.gc-lock { overflow: hidden; }

  #hdr .mega { position: fixed; inset: auto 0 0 0; top: auto; z-index: 2; max-height: min(88dvh, 760px); overflow: hidden auto; overscroll-behavior: contain; border: 0; border-radius: 22px 22px 0 0;
    background: var(--bg); box-shadow: 0 -24px 60px rgba(18, 20, 24, .24); padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); opacity: 1;
    transform: translateY(105%); transition: transform .32s cubic-bezier(.4, 0, 1, 1), visibility 0s .32s; }
  #hdr .mega.open { transform: translateY(var(--gc-dy, 0px)); transition: transform .52s var(--gc-out), visibility 0s; }
  #hdr .mega.gc-drag { transition: none; }
  #hdr .mega .wrap { padding-inline: 16px; }
  #hdr .gc-grab { display: flex; justify-content: center; align-items: center; height: 26px; position: sticky; top: 0; z-index: 3; background: var(--bg); border-radius: 22px 22px 0 0; touch-action: none; cursor: grab; }
  #hdr .gc-grab i { width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); }
  #hdr .gc-mtop { display: flex; gap: 8px; position: sticky; top: 26px; z-index: 3; background: var(--bg); padding-bottom: 12px; }
  #hdr .gc-mq { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink-3);
    font: 400 15px/1 var(--f-body); text-align: start; cursor: pointer; }
  #hdr .gc-mq span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #hdr .gc-mq svg { flex: none; color: var(--ink-2); }
  #hdr .gc-mx { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
  #hdr :is(.gc-mq, .gc-mx, .v3-mnav a, .gc-mlang a, .mitem):active { background: var(--bg-3); }

  #hdr .v3-mnav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 0; padding-bottom: 14px; }
  #hdr .v3-mnav a { height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font: 600 15px/1.2 var(--f-body); color: var(--ink); justify-content: space-between; }
  #hdr .v3-mnav a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--line-2); border-inline-end: 2px solid var(--line-2); transform: rotate(45deg); flex: none; }
  [dir="rtl"] #hdr .v3-mnav a::after { transform: rotate(-45deg); }
  #hdr .mega { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
  #hdr .mega > * { min-width: 0; }
  #hdr .mega > .wrap { max-width: none; width: auto; margin-inline: 0; }
  #hdr .mega > .v3-mnav { order: 1; } #hdr .mega > .mega-in { order: 2; } #hdr .mega > .gc-mlang { order: 3; } #hdr .mega > .wrap:last-child { order: 4; }
  #hdr .mega-in { display: block; padding-block: 0; }
  #hdr .mcats { flex-direction: row; gap: 8px; padding: 2px 16px 12px; margin-inline: -16px; border: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 16px; }
  #hdr .mcats::-webkit-scrollbar { display: none; }
  #hdr .mcat { flex: none; min-height: 42px; padding: 0 14px; gap: 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; scroll-snap-align: start; white-space: nowrap;
    transition: background-color .2s, border-color .2s, color .2s; }
  #hdr .mcat[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  #hdr .mcat[aria-selected="true"] .n { color: rgba(255, 255, 255, .7); }
  #hdr .mcat .n { margin-inline-start: 2px; }
  #hdr .mlist { padding: 0; }
  #hdr .mlist h4 { display: none; }
  #hdr .mgrid { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
  #hdr .mitem { min-height: 56px; padding: 8px 14px; border-radius: 0; font-size: 15.5px; font-weight: 500; gap: 12px; }
  #hdr .mitem + .mitem { border-top: 1px solid var(--line); }
  #hdr .mitem .nm { white-space: normal; }
  #hdr .mprev { display: none; }
  #hdr .gc-mlang { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 18px; }
  #hdr .gc-mlang-k { flex: 0 0 100%; display: flex; align-items: center; gap: 6px; font: 600 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
  #hdr .gc-mlang a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font: 500 14px/1 var(--f-body); color: var(--ink-2); text-decoration: none; }
  #hdr .gc-mlang a[aria-current] { border-color: var(--ink); color: var(--ink); font-weight: 600; }
  #hdr .mfoot { margin-top: 16px; padding-block: 0; border: 0; justify-content: stretch; }
  #hdr .mfoot > span { display: none; }
  #hdr .mfoot a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 14px; background: var(--bg-3); font: 600 15px/1 var(--f-body); color: var(--ink); }
}
@media (max-width: 359px) { #hdr .mtrig .gc-mt { display: none; } #hdr .mtrig { padding: 0 12px; } }
html:not(.motion) #hdr .mega, html:not(.motion) #hdr::after, html:not(.motion) #gc-pal, html:not(.motion) #gc-pal * { transition: none !important; animation: none !important; }

/* ======================= 6 · komut paleti ======================= */
#gc-pal { position: fixed; inset: 0; z-index: 140; display: flex; justify-content: center; align-items: flex-start; padding: min(13vh, 120px) 16px 16px; visibility: hidden; pointer-events: none;
  font: 400 14px/1.4 var(--f-body); color: var(--ink); transition: visibility 0s .26s; text-align: start; }
#gc-pal.on { visibility: visible; pointer-events: auto; transition: visibility 0s; }
#gc-pal *, #gc-pal *::before, #gc-pal *::after { box-sizing: border-box; }
#gc-pal .gp-bg { position: absolute; inset: 0; background: rgba(18, 20, 24, .34); -webkit-backdrop-filter: blur(6px) saturate(1.1); backdrop-filter: blur(6px) saturate(1.1); opacity: 0; transition: opacity .26s; }
#gc-pal.on .gp-bg { opacity: 1; }
#gc-pal .gp-box { position: relative; width: min(660px, 100%); max-height: min(72vh, 640px); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(32px) saturate(1.8); backdrop-filter: blur(32px) saturate(1.8); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 1px rgba(18, 20, 24, .08), 0 48px 96px -24px rgba(18, 20, 24, .45), 0 16px 32px -12px rgba(18, 20, 24, .18);
  opacity: 0; transform: translateY(-14px) scale(.965); transform-origin: 50% 0; transition: opacity .16s, transform .2s cubic-bezier(.4, 0, 1, 1); }
#gc-pal.on .gp-box { opacity: 1; transform: none; transition: opacity .2s, transform .5s var(--gc-spring); }
#gc-pal .gp-top { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 18px; height: 60px; flex: none; color: var(--ink-3); }
/* giriş çizgisi: tarama ışığının rengi; açılırken bir kez çizilir */
#gc-pal .gp-top::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--line); }
#gc-pal .gp-top::before { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; z-index: 1; background: var(--gc-scan); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
[dir="rtl"] #gc-pal .gp-top::before { transform-origin: 100% 50%; }
@keyframes gc-line { 0% { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.motion #gc-pal.on .gp-top::before { animation: gc-line .9s var(--mc-io, ease) .08s both; }
#gc-pal .gp-top > svg { flex: none; color: var(--ink-2); }
#gc-pal .gp-q { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none; font: 500 17px/1.2 var(--f-body); color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none; }
#gc-pal .gp-q::placeholder { color: var(--ink-3); font-weight: 400; opacity: 1; }
#gc-pal .gp-q::-webkit-search-cancel-button { display: none; }
#gc-pal .gp-x { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; margin: 0; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  font: 500 11px/1 var(--f-mono); color: var(--ink-3); cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; }
#gc-pal .gp-x:hover { color: var(--ink); border-color: var(--line-2); }
#gc-pal .gp-x svg { display: none; }
#gc-pal .gp-list { position: relative; flex: 1; min-height: 0; overflow: hidden auto; overscroll-behavior: contain; padding: 6px 8px 8px; scroll-padding-block: 36px 8px; }
#gc-pal .gp-h { margin: 0; padding: 12px 10px 6px; font: 600 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
/* seçim kapsülü: tek öğe, satırlar arasında kayar */
#gc-pal .gp-hl { position: absolute; inset-inline: 8px; top: 0; height: 54px; border-radius: 12px; background: rgba(18, 20, 24, .055); pointer-events: none; opacity: 0; transform: translateY(var(--y, 0px));
  transition: transform .28s var(--gc-out), opacity .15s; }
#gc-pal .gp-hl.on { opacity: 1; }
#gc-pal .gp-hl.jump { transition: opacity .15s; }
#gc-pal .gp-r { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
#gc-pal .gp-r:focus-visible { outline: 0; }
#gc-pal .gp-i { flex: none; width: 52px; display: flex; justify-content: center; transition: transform .4s var(--gc-spring); }
#gc-pal .gp-i img, #gc-pal .gp-i svg { display: block; height: 30px; width: auto; max-width: 52px; }
#gc-pal .gp-r.act .gp-i { transform: scale(1.1); }
#gc-pal .gp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#gc-pal .gp-n { font: 600 14.5px/1.25 var(--f-body); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#gc-pal .gp-n mark { background: none; color: inherit; box-shadow: inset 0 -7px 0 color-mix(in srgb, #2E6BE6 22%, transparent); border-radius: 2px; }
#gc-pal .gp-d { font: 400 12.5px/1.3 var(--f-body); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#gc-pal .gp-loc { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 7px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font: 600 11px/1 var(--f-body); white-space: nowrap; }
#gc-pal .gp-loc i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
#gc-pal .gp-go { flex: none; width: 26px; height: 24px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg); font: 500 12px/1 var(--f-mono); color: var(--ink-2); opacity: 0; transform: translateX(-4px);
  transition: opacity .15s, transform .3s var(--gc-out); }
#gc-pal .gp-r.act .gp-go { opacity: 1; transform: none; }
#gc-pal .gp-none { padding: 34px 20px 38px; text-align: center; color: var(--ink-2); font-size: 14.5px; }
#gc-pal .gp-none small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
#gc-pal .gp-foot { flex: none; display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; border-top: 1px solid var(--line); background: rgba(247, 248, 250, .7); font: 400 12px/1 var(--f-body); color: var(--ink-3); }
#gc-pal .gp-foot span { display: inline-flex; align-items: center; gap: 5px; }
#gc-pal .gp-foot kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--bg); font: 500 10.5px/1 var(--f-mono); color: var(--ink-2); box-shadow: 0 1px 0 var(--line-2); }
#gc-pal .gp-cnt { margin-inline-start: auto; font-family: var(--f-mono); font-size: 11px; }
@keyframes gc-row { from { opacity: 0; transform: translateY(6px); } }
.motion #gc-pal.gp-first .gp-r { animation: gc-row .4s var(--gc-out) backwards; animation-delay: calc(60ms + var(--i, 0) * 22ms); }
html.gc-plock { overflow: hidden; }

@media (max-width: 700px) {
  #gc-pal { padding: 0; align-items: flex-end; }
  #gc-pal .gp-bg { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(18, 20, 24, .5); }
  #gc-pal .gp-box { width: 100%; height: calc(100dvh - 14px - env(safe-area-inset-top, 0px)); max-height: none; border-radius: 22px 22px 0 0; border: 0; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
    opacity: 1; transform: translateY(104%); transition: transform .3s cubic-bezier(.4, 0, 1, 1); box-shadow: 0 -24px 60px rgba(18, 20, 24, .3); }
  #gc-pal.on .gp-box { transform: none; transition: transform .52s var(--gc-out); }
  #gc-pal .gp-top { height: 64px; padding-inline: 16px 10px; margin-top: 4px; }
  #gc-pal .gp-q { font-size: 17px; }
  #gc-pal .gp-x { width: 44px; height: 44px; border-radius: 12px; color: var(--ink); }
  #gc-pal .gp-x span { display: none; } #gc-pal .gp-x svg { display: block; }
  #gc-pal .gp-r { min-height: 60px; }
  #gc-pal .gp-hl { height: 60px; }
  #gc-pal .gp-n { font-size: 15.5px; white-space: normal; }
  #gc-pal .gp-go, #gc-pal .gp-foot span { display: none; }
  #gc-pal .gp-foot { padding-bottom: env(safe-area-inset-bottom, 0px); height: calc(38px + env(safe-area-inset-bottom, 0px)); }
  #gc-pal .gp-loc { font-size: 0; padding: 0; width: 22px; height: 22px; justify-content: center; }
}
/* eski palet (site.js / palette.js) aynı anda görünemez */
.pl { display: none !important; }

/* ======================= 7 · altbilgi ======================= */
:is(.v3c, body) footer.gc-ft { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg) 140%); font: 400 14px/1.5 var(--f-body); color: var(--ink-2); overflow: hidden; }
:is(.v3c, body) footer.gc-ft .gc-ft-top { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px 64px; padding-block: 56px 36px; }
:is(.v3c, body) footer.gc-ft .v3-brand p { margin: 14px 0 0; max-width: 34ch; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
:is(.v3c, body) footer.gc-ft .gc-ft-all { display: inline-flex; align-items: center; gap: 8px; height: 42px; margin-top: 18px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg);
  font: 600 14px/1 var(--f-body); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .3s, transform .2s var(--gc-out); }
:is(.v3c, body) footer.gc-ft .gc-ft-all svg { transition: transform .4s var(--gc-out); }
[dir="rtl"] footer.gc-ft .gc-ft-all svg { scale: -1 1; }
:is(.v3c, body) footer.gc-ft .gc-ft-all:hover { border-color: var(--ink); box-shadow: 0 6px 16px -6px rgba(18, 20, 24, .18); }
:is(.v3c, body) footer.gc-ft .gc-ft-all:hover svg { transform: translateX(4px); }
:is(.v3c, body) footer.gc-ft .gc-ft-all:active { transform: scale(.97); }
:is(.v3c, body) footer.gc-ft .v3-brand .gc-ft-facts { display: flex; flex-direction: column; gap: 7px; margin: 22px 0 0; font-size: 13px; color: var(--ink-3); max-width: none; }
:is(.v3c, body) footer.gc-ft .gc-ft-facts span { display: flex; align-items: center; gap: 9px; }
:is(.v3c, body) footer.gc-ft .gc-ft-facts span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); flex: none; }
:is(.v3c, body) footer.gc-ft .gc-ft-facts .gc-ok { color: var(--ok); }
:is(.v3c, body) footer.gc-ft .gc-ft-facts .gc-ok::before { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
:is(.v3c, body) footer.gc-ft .gc-ft-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 20px; align-content: start; }
:is(.v3c, body) footer.gc-ft h4 { margin: 0 0 14px; font: 600 11.5px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
:is(.v3c, body) footer.gc-ft ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
:is(.v3c, body) footer.gc-ft li { margin: 0; padding: 0; }
:is(.v3c, body) footer.gc-ft li a { display: inline-block; padding: 5px 0; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 3px) / 0 1px; transition: color .18s, background-size .35s var(--gc-out); }
[dir="rtl"] footer.gc-ft li a { background-position: 100% calc(100% - 3px); }
:is(.v3c, body) footer.gc-ft li a:hover { color: var(--ink); background-size: 100% 1px; }
:is(.v3c, body) footer.gc-ft .gc-ft-lang { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding-block: 20px; border-top: 1px solid var(--line); }
:is(.v3c, body) footer.gc-ft .gc-ft-lang h4 { margin: 0; }
:is(.v3c, body) footer.gc-ft .langs-f { display: flex; flex-wrap: wrap; gap: 6px; }
:is(.v3c, body) footer.gc-ft .langs-f a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 12.5px; color: var(--ink-2); text-decoration: none;
  transition: border-color .18s, color .18s; }
:is(.v3c, body) footer.gc-ft .langs-f a:hover { border-color: var(--line-2); color: var(--ink); }
:is(.v3c, body) footer.gc-ft .langs-f a[aria-current] { border-color: var(--ink); color: var(--ink); font-weight: 600; }
:is(.v3c, body) footer.gc-ft .bot { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding-block: 18px 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
:is(.v3c, body) footer.gc-ft .bot a { color: var(--ink-2); text-decoration: none; padding-block: 6px; }
:is(.v3c, body) footer.gc-ft .bot a:hover { color: var(--ink); }

/* kapanış: dev sözcük markası. Tarama ışığı soldan sağa bir kez geçer; geçtiği yerde çizgi harfler dolu mürekkep olur. */
footer.gc-ft .gc-word { position: relative; container-type: inline-size; height: clamp(54px, 13.4vw, 190px); margin-top: 4px; direction: ltr; user-select: none; pointer-events: none; overflow: hidden; }
footer.gc-ft .gc-w { position: absolute; inset: 0; display: block; text-align: center; white-space: nowrap; font: 800 clamp(44px, 11vw, 158px)/1 var(--f-display); letter-spacing: -.05em; }
@supports (font-size: 1cqw) { footer.gc-ft .gc-word { height: 15.6cqw; } footer.gc-ft .gc-w { font-size: 14cqw; } }
footer.gc-ft .gc-w small { font: inherit; }
footer.gc-ft .gc-w0 { color: transparent; -webkit-text-stroke: 1px var(--line-2); }
footer.gc-ft .gc-w1 { color: color-mix(in srgb, var(--brand) 13%, var(--bg-2)); clip-path: inset(0 calc((1 - var(--gc-s)) * 100%) 0 0); }
footer.gc-ft .gc-w1 small { color: color-mix(in srgb, var(--ink) 9%, var(--bg-2)); }
footer.gc-ft .gc-wl { position: absolute; left: -2px; top: 4%; bottom: 0; width: 3px; border-radius: 2px; background: linear-gradient(180deg, #E3262B, #8440AA 50%, #2E6BE6);
  box-shadow: 0 0 14px 3px rgba(132, 64, 170, .4), 0 0 34px 8px rgba(46, 107, 230, .24); translate: calc(var(--gc-s) * 100cqw) 0; opacity: calc(min(var(--gc-s), 1 - var(--gc-s)) * 12); }
.motion footer.gc-ft .gc-word { transition: --gc-s 2.4s cubic-bezier(.65, 0, .35, 1) .15s; }
.motion footer.gc-ft .gc-word.gc-pre { --gc-s: 0; transition: none; }

@media (max-width: 1180px) {
  :is(.v3c, body) footer.gc-ft .gc-ft-top { grid-template-columns: 1fr; gap: 36px; }
  :is(.v3c, body) footer.gc-ft .v3-brand p { max-width: 52ch; }
  :is(.v3c, body) footer.gc-ft .v3-brand .gc-ft-facts { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
}
@media (max-width: 760px) {
  :is(.v3c, body) footer.gc-ft .gc-ft-top { padding-block: 40px 28px; }
  :is(.v3c, body) footer.gc-ft .gc-ft-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  :is(.v3c, body) footer.gc-ft li a { padding: 9px 0; font-size: 14.5px; }
  :is(.v3c, body) footer.gc-ft .langs-f a { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
  :is(.v3c, body) footer.gc-ft .gc-ft-all { height: 48px; width: 100%; justify-content: space-between; }
  :is(.v3c, body) footer.gc-ft .bot a { padding-block: 11px; }
}

/* ======================= 8 · bildirim ======================= */
#dn-toast.toast { position: fixed; left: 50%; right: auto; top: auto; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 150; margin: 0; width: max-content; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(22, 24, 29, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); color: #fff; font: 500 13.5px/1.4 var(--f-body);
  box-shadow: 0 20px 44px -12px rgba(18, 20, 24, .5), 0 4px 10px rgba(18, 20, 24, .16); translate: -50% 0; transform: translateY(18px) scale(.94); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .25s cubic-bezier(.4, 0, 1, 1); }
#dn-toast.toast:is(.is-on, .show) { opacity: 1; transform: none; transition: opacity .2s, transform .5s var(--gc-spring); }
#dn-toast.toast:empty { visibility: hidden; }
#dn-toast.toast a { color: #fff; text-decoration: underline; pointer-events: auto; }
html:not(.motion) #dn-toast.toast { transition: opacity .01s; }

/* denetci: altbilgi durum noktası. Yeşil yalnız "silindi / cihazında kalır" içindir; çalışıyor = mavi, bilinmiyor = gri */
footer .status.v3-st::before,.v3c footer .status.v3-st::before{background:var(--ink-3,#8A93A3)}
footer .status.v3-st[data-st="ok"]::before,.v3c footer .status.v3-st[data-st="ok"]::before{background:var(--info,#2E6BE6)}
footer .status.v3-st[data-st="kisitli"]::before,.v3c footer .status.v3-st[data-st="kisitli"]::before{background:#C98A10}
footer .status.v3-st[data-st="kesinti"]::before,.v3c footer .status.v3-st[data-st="kesinti"]::before{background:var(--brand,#E3262B)}
