/* ==========================================================================
   ASCENDO — "HEXTECH ASCENDANCY"  (yalnızca index.html için)
   Obsidyen + LoL altını + hextech turkuaz. Sinematik, efektli, özgün.
   Eski styles.css'e dokunulmaz; bu dosya bağımsızdır.
   ========================================================================== */

:root {
  --obsidian: #08090F;
  --abyss: #0A0E1A;
  --panel: #0E1525;
  --panel-2: #131C30;
  --gold: #C8AA6E;
  --gold-light: #F0E6D2;
  --gold-deep: #785A28;
  --teal: #0AC8B9;
  --teal-deep: #0596AA;
  --teal-dark: #005A82;
  --grey: #A09B8C;
  --grey-muted: #5B5A56;
  --hairline: rgba(200, 170, 110, .22);
  --shadow-deep: 0 30px 80px -20px rgba(0, 0, 0, .8);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--grey);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

::selection { background: rgba(200, 170, 110, .3); color: var(--gold-light); }

h1, h2, h3, h4, .font-display { font-family: 'Marcellus', serif; }
.font-hud { font-family: 'Chakra Petch', ui-monospace, monospace; }
.tabular { font-variant-numeric: tabular-nums; }

/* --- Özel kaydırma çubuğu (premium dokunuş) ------------------------------ */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #06070C; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-deep), #3a2d14);
  border: 2px solid #06070C; border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--gold), var(--gold-deep)); }

/* --- Film grain (jenerik düz görünümü kıran doku) ------------------------ */
.grain::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Erişilebilirlik: görünür focus ----------------------------------- */
:focus { outline: none; }
.focus-hex:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--obsidian), 0 0 0 4px var(--gold), 0 0 18px rgba(200,170,110,.5);
  border-radius: 4px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

[id] { scroll-margin-top: 90px; }

/* ==========================================================================
   ARKA PLAN KATMANLARI (hero & seksiyonlar)
   ========================================================================== */
/* Hextech ince ızgara */
.hexgrid {
  background-image:
    linear-gradient(rgba(200,170,110,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,170,110,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
}

/* Sürüklenen ışık blobları (gold + teal aurora) */
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: 0; pointer-events: none; filter: blur(10px); }
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .5;
}
.aurora::before {
  width: 52vw; height: 52vw; left: -8vw; top: -6vw;
  background: radial-gradient(circle, rgba(200,170,110,.34), transparent 62%);
  animation: drift1 18s ease-in-out infinite alternate;
}
.aurora::after {
  width: 46vw; height: 46vw; right: -6vw; top: 4vw;
  background: radial-gradient(circle, rgba(10,200,185,.26), transparent 62%);
  animation: drift2 22s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(6vw,4vh,0) scale(1.12); } }
@keyframes drift2 { from { transform: translate3d(0,0,0) scale(1.05); } to { transform: translate3d(-5vw,-3vh,0) scale(1); } }

/* Yükselen korlar (embers) */
.ember {
  position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px 1px rgba(200,170,110,.8);
  opacity: 0; animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .7; }
  100% { transform: translateY(-90vh) scale(1.1); opacity: 0; }
}

/* Üstte ince tarama parıltısı */
.scanline {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 80%);
}
.scanline::after {
  content: ""; position: absolute; left: 0; right: 0; height: 36%;
  background: linear-gradient(180deg, transparent, rgba(10,200,185,.05), transparent);
  animation: scan 7s linear infinite;
}
@keyframes scan { from { top: -40%; } to { top: 110%; } }

/* ==========================================================================
   BUTONLAR
   ========================================================================== */
.btn-gold {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Chakra Petch', sans-serif; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; font-size: .8rem;
  color: #1a1206; padding: .95rem 1.7rem; border-radius: 3px;
  background: linear-gradient(180deg, #E4C98C, var(--gold) 55%, var(--gold-deep));
  border: 1px solid rgba(240,230,210,.5);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 10px 30px -8px rgba(200,170,110,.55);
  transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 16px 40px -8px rgba(200,170,110,.8); filter: brightness(1.06); }
.btn-gold:active { transform: translateY(0); }
.btn-gold::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-18deg); animation: shimmer 4.5s ease-in-out infinite;
}
@keyframes shimmer { 0%, 60% { left: -60%; } 100% { left: 140%; } }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Chakra Petch', sans-serif; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; font-size: .8rem;
  color: var(--gold-light); padding: .95rem 1.6rem; border-radius: 3px;
  background: rgba(240,230,210,.03);
  border: 1px solid var(--hairline);
  transition: all .2s ease;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(200,170,110,.08); box-shadow: 0 0 24px -6px rgba(200,170,110,.4); }

/* ==========================================================================
   KARTLAR — gradient-border "hextech cam"
   ========================================================================== */
.hex-card {
  position: relative; border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(19,28,48,.85), rgba(10,14,26,.92)) padding-box,
    linear-gradient(140deg, rgba(200,170,110,.55), rgba(10,200,185,.18) 45%, rgba(200,170,110,.06)) border-box;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .3s ease;
}
.hex-card:hover { box-shadow: var(--shadow-deep), 0 0 40px -16px rgba(10,200,185,.4); }
/* köşe aksanları */
.hex-card::before, .hex-card::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--gold); opacity: .65;
}
.hex-card::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; border-top-left-radius: 6px; }
.hex-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; border-bottom-right-radius: 6px; }

/* tilt için 3D bağlam */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .15s ease; }
.tilt-inner { transform: translateZ(40px); }

/* ==========================================================================
   RÜTBE AMBLEMLERİ + GLOW
   ========================================================================== */
.emblem { display: inline-block; line-height: 0; }
.emblem svg { display: block; width: 100%; height: 100%; }
.emblem .glyph { filter: drop-shadow(0 0 6px rgba(200,170,110,.55)); }
.emblem .hx-frame2 { opacity: .32; }
.emblem .glyph-teal { stroke: var(--teal); }
.emblem-hero {
  filter: drop-shadow(0 0 30px rgba(200,170,110,.5)) drop-shadow(0 0 60px rgba(10,200,185,.25));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* hero amblem arkası dönen hex halka */
.hexring { animation: spin 36s linear infinite; transform-origin: 50% 50%; }
.hexring-rev { animation: spin 28s linear infinite reverse; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.pulse-dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }

/* ==========================================================================
   THE ASCENSION — imza interaktif şerit
   ========================================================================== */
.asc { position: relative; }
@media (max-width: 720px) { .asc { overflow-x: auto; padding-bottom: 8px; } .asc__inner { min-width: 680px; } }
.asc__inner { position: relative; }

.asc__track { position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: rgba(200,170,110,.14); z-index: 0; }
.asc__fill {
  position: absolute; top: 33px; height: 4px; z-index: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  box-shadow: 0 0 16px rgba(10,200,185,.6);
  transition: left .35s cubic-bezier(.4,0,.2,1), width .35s cubic-bezier(.4,0,.2,1);
}
.asc__nodes { position: relative; z-index: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }

.asc-node {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  background: transparent; border: 0; cursor: pointer; padding: 8px 0 0;
  color: var(--grey-muted); transition: color .2s ease;
}
.asc-node:hover { color: var(--gold-light); }
.asc-node__ring {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #14203a, #0a0e1a);
  border: 1px solid rgba(200,170,110,.22);
  transition: all .25s ease;
}
.asc-node__ring .emblem { width: 30px; height: 30px; opacity: .65; transition: opacity .2s ease; }
.asc-node:hover .asc-node__ring { transform: translateY(-3px); border-color: var(--gold); }
.asc-node:hover .asc-node__ring .emblem { opacity: 1; }
.asc-node__label { font-family: 'Chakra Petch', sans-serif; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }

.asc-node.is-between .asc-node__ring { border-color: rgba(200,170,110,.5); }
.asc-node.is-between { color: var(--gold-light); }
.asc-node.is-between .asc-node__ring .emblem { opacity: .9; }
.asc-node.is-from .asc-node__ring,
.asc-node.is-to .asc-node__ring {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 0 0 3px rgba(200,170,110,.12), 0 0 26px -2px rgba(200,170,110,.6);
}
.asc-node.is-from, .asc-node.is-to { color: var(--gold-light); }
.asc-node.is-from .asc-node__ring .emblem,
.asc-node.is-to .asc-node__ring .emblem { opacity: 1; }
.asc-node.is-to .asc-node__ring {
  background: radial-gradient(circle at 50% 35%, #0d3b3a, #05201f);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,200,185,.14), 0 0 28px -2px rgba(10,200,185,.7);
}

/* Bağımsız rütbe ızgarası (mevcut/hedef doğrudan seçim) — çizgisiz, sarmalı */
.rank-grid {
  display: grid; gap: 10px 6px;
  grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
}
.rank-grid .asc-node { padding: 8px 2px; }
@media (max-width: 420px) { .rank-grid { grid-template-columns: repeat(auto-fit, minmax(54px, 1fr)); } }

/* division pip'leri */
.pip {
  font-family: 'Chakra Petch', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .05em;
  padding: 5px 11px; border-radius: 3px; cursor: pointer;
  color: var(--grey); background: rgba(240,230,210,.03);
  border: 1px solid var(--hairline); transition: all .15s ease;
}
.pip:hover { border-color: var(--gold); color: var(--gold-light); }
.pip.is-active { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #14100a; border-color: var(--gold); box-shadow: 0 0 18px -4px rgba(200,170,110,.6); }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar { transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease; border-bottom: 1px solid transparent; }
.topbar.is-scrolled { background: rgba(8,9,15,.82); backdrop-filter: blur(12px); border-bottom-color: var(--hairline); box-shadow: 0 10px 30px -18px rgba(0,0,0,.9); }
.navlink { position: relative; }
.navlink::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--teal)); transition: right .25s ease; }
.navlink:hover::after, .navlink.is-active::after { right: 0; }

/* ==========================================================================
   AYRAÇ / ORNAMENT
   ========================================================================== */
.hex-divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); }
.hex-divider span { height: 1px; width: 90px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hex-divider span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

.eyebrow { font-family: 'Chakra Petch', sans-serif; text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; color: var(--teal); }

/* Altın degrade metin + ışıltı */
.text-gold-grad {
  background: linear-gradient(180deg, #F6EFDC 0%, var(--gold) 58%, #9b7b3f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glow-text { filter: drop-shadow(0 0 26px rgba(200, 170, 110, .35)); }
.glow-teal-box { box-shadow: 0 0 40px -10px rgba(10, 200, 185, .45); }

/* ==========================================================================
   MARQUEE (yorumlar / rütbe şeridi)
   ========================================================================== */
.marquee { display: flex; gap: 1.25rem; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ==========================================================================
   SCROLL REVEAL + PARALLAX
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: .09s; }
[data-reveal-d="2"] { transition-delay: .18s; }
[data-reveal-d="3"] { transition-delay: .27s; }
[data-reveal-d="4"] { transition-delay: .36s; }

/* ==========================================================================
   KONFİGÜRATÖR BİLEŞENLERİ (elo-boost.html)
   ========================================================================== */
/* Sticky ilerleme çubuğu */
.progressbar { position: sticky; top: 64px; z-index: 40; background: rgba(8,9,15,.92); border-bottom: 1px solid var(--hairline); backdrop-filter: blur(8px); }
.pstep { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Chakra Petch', sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; color: var(--grey-muted); background: transparent; border: 0; cursor: pointer; transition: color .2s ease; white-space: nowrap; }
.pstep:hover { color: var(--grey); }
.pstep .num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--hairline); font-size: .7rem; transition: all .2s ease; }
.pstep.is-active { color: var(--gold-light); }
.pstep.is-active .num { border-color: var(--gold); background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #14100a; box-shadow: 0 0 14px -3px rgba(200,170,110,.6); }
.pstep__sep { width: 26px; height: 1px; background: var(--hairline); flex: 0 0 auto; }

/* Boost türü sekmeleri */
.type-tab { display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; text-align: left; width: 100%; padding: 1.05rem 1.25rem; border-radius: 5px; border: 1px solid var(--hairline); background: rgba(240,230,210,.02); cursor: pointer; transition: all .18s ease; }
.type-tab:hover { border-color: var(--gold); transform: translateY(-2px); }
.type-tab.is-active { border-color: var(--gold); background: linear-gradient(180deg, rgba(200,170,110,.12), rgba(10,14,26,.35)); box-shadow: 0 0 32px -12px rgba(200,170,110,.6); }
.type-tab__t { display: flex; align-items: center; gap: .5rem; font-family: 'Marcellus', serif; font-size: 1.08rem; color: var(--gold-light); }
.type-tab__d { font-size: .8rem; color: var(--grey); line-height: 1.4; }
.type-tab.is-active .type-tab__t { color: var(--gold); }

/* Segment kontrol (sunucu / kuyruk / LP / maç) */
.seg { font-family: 'Chakra Petch', sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 600; padding: .6rem 1.05rem; border-radius: 3px; border: 1px solid var(--hairline); background: rgba(240,230,210,.03); color: var(--grey); cursor: pointer; transition: all .15s ease; }
.seg:hover { border-color: var(--gold); color: var(--gold-light); }
.seg.is-active { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #14100a; border-color: var(--gold); box-shadow: 0 0 18px -5px rgba(200,170,110,.6); }
.seg.is-active-teal { background: rgba(10,200,185,.1); color: var(--teal); border-color: var(--teal); box-shadow: 0 0 18px -6px rgba(10,200,185,.55); }

/* Rol seçici */
.role-opt { display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .75rem .3rem; border-radius: 4px; border: 1px solid var(--hairline); background: transparent; color: var(--grey); cursor: pointer; transition: all .15s ease; }
.role-opt:hover { border-color: var(--teal); color: var(--teal); }
.role-opt.is-active { border-color: var(--teal); color: var(--teal); background: rgba(10,200,185,.08); box-shadow: 0 0 18px -7px rgba(10,200,185,.6); }
.role-opt span { font-family: 'Chakra Petch', sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }

/* Adet (qty) stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hairline); border-radius: 4px; overflow: hidden; }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(240,230,210,.03); color: var(--gold-light); cursor: pointer; transition: background .15s ease; }
.qty button:hover { background: rgba(200,170,110,.14); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty__val { min-width: 60px; text-align: center; font-family: 'Chakra Petch', sans-serif; font-size: 1.15rem; color: var(--gold-light); }

/* Toggle switch (ek hizmetler) */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; border-radius: 999px; background: rgba(240,230,210,.07); border: 1px solid var(--hairline); transition: all .2s ease; }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--grey); transition: all .2s ease; }
.switch input:checked + .track { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); border-color: var(--gold); box-shadow: 0 0 18px -4px rgba(200,170,110,.6); }
.switch input:checked + .track::after { transform: translateX(20px); background: #14100a; }
.switch input:focus-visible + .track { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Özet chip'leri */
.chip { display: inline-flex; align-items: center; gap: .4rem; font-family: 'Chakra Petch', sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .66rem; padding: .32rem .6rem; border-radius: 3px; border: 1px solid var(--hairline); color: var(--grey); }

/* ==========================================================================
   PUBLIC — CONTENT PAGES + COOKIE CONSENT
   ========================================================================== */
.legal-body h2 { margin-top: 2rem; font-family: 'Marcellus', serif; font-size: 1.55rem; line-height: 1.15; color: var(--gold-light); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin-top: 1.35rem; font-family: 'Marcellus', serif; font-size: 1.2rem; color: var(--gold-light); }
.legal-body p, .legal-body li { font-size: .92rem; line-height: 1.75; color: var(--grey); }
.legal-body p { margin-top: .7rem; }
.legal-body ul, .legal-body ol { margin-top: .8rem; padding-left: 1.2rem; }
.legal-body li + li { margin-top: .45rem; }
.legal-body a { color: var(--gold-light); text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 4px; transition: color .15s ease; }
.legal-body a:hover { color: var(--gold); }
.legal-meta-row { display: grid; gap: .35rem; padding: .85rem 0; border-bottom: 1px solid var(--hairline); }
.legal-meta-row dt { font-family: 'Chakra Petch', sans-serif; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-muted); }
.legal-meta-row dd { color: var(--gold-light); font-size: .92rem; }
@media (min-width: 640px) { .legal-meta-row { grid-template-columns: 180px 1fr; } }

.cookie-consent { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; max-width: 1040px; margin: 0 auto; border: 1px solid var(--hairline); border-radius: 8px; background: linear-gradient(180deg, rgba(19,28,48,.97), rgba(8,9,15,.98)); box-shadow: 0 26px 70px -24px rgba(0,0,0,.9); }
.cookie-consent__inner { display: grid; gap: 1rem; padding: 1rem; }
.cookie-consent__title { font-family: 'Marcellus', serif; font-size: 1.25rem; color: var(--gold-light); }
.cookie-consent__text { margin-top: .25rem; max-width: 680px; font-size: .82rem; line-height: 1.55; color: var(--grey); }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.cookie-manage { border-top: 1px solid var(--hairline); padding: 0 1rem 1rem; }
.cookie-choice { display: flex; gap: .75rem; align-items: flex-start; border: 1px solid var(--hairline); border-radius: 6px; background: rgba(240,230,210,.025); padding: .85rem; }
.cookie-choice input { margin-top: .2rem; accent-color: var(--gold); }
.cookie-mini { position: fixed; z-index: 90; left: 18px; bottom: 18px; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--hairline); background: rgba(10,14,26,.92); color: var(--gold); box-shadow: 0 12px 28px -14px rgba(0,0,0,.85); }
@media (min-width: 768px) { .cookie-consent__inner { grid-template-columns: 1fr auto; align-items: center; padding: 1.15rem 1.25rem; } }
@media (max-width: 480px) { .cookie-consent { left: 10px; right: 10px; bottom: 10px; } .cookie-consent__actions .btn-gold, .cookie-consent__actions .btn-ghost { width: 100%; justify-content: center; } }

/* ==========================================================================
   PUBLIC — FAQ
   ========================================================================== */
.faq-trigger { min-height: 78px; }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.faq-panel > div { overflow: hidden; }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-icon { transition: border-color .2s ease, color .2s ease, background .2s ease; }
.faq-icon-v { transform-origin: center; transition: transform .2s ease, opacity .2s ease; }
.faq-item.is-open .faq-icon { color: var(--teal); border-color: var(--teal); background: rgba(10,200,185,.08); }
.faq-item.is-open .faq-icon-v { opacity: 0; transform: scaleY(.2); }

/* Modül numara rozeti */
.mod-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; border: 1px solid var(--hairline); background: rgba(200,170,110,.08); font-family: 'Chakra Petch', sans-serif; font-weight: 600; color: var(--gold); flex: 0 0 auto; }

/* Şampiyon chip + Data Dragon dropdown seçici */
.champ-chip { display: inline-flex; align-items: center; gap: .4rem; font-family: 'Chakra Petch', sans-serif; font-size: .72rem; padding: .25rem .5rem .25rem .3rem; border-radius: 3px; border: 1px solid var(--teal); color: var(--teal); background: rgba(10,200,185,.07); }
.champ-chip img { width: 18px; height: 18px; border-radius: 3px; }
.champ-chip button { line-height: 0; opacity: .7; }
.champ-chip button:hover { opacity: 1; }

.champ-dropdown { position: absolute; z-index: 30; left: 0; right: 0; margin-top: 6px; background: #0b1018; border: 1px solid var(--hairline); border-radius: 6px; box-shadow: var(--shadow-deep); overflow: hidden; }
.champ-grid { max-height: 288px; overflow-y: auto; padding: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* Admin — açık/kapalı anahtar */
.toggle { position: relative; width: 42px; height: 24px; border-radius: 999px; border: 1px solid var(--hairline); background: rgba(255,255,255,.05); flex: 0 0 auto; transition: background .2s, border-color .2s; }
.toggle .toggle-knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--grey-muted); transition: transform .2s, background .2s; }
.toggle.is-on { background: rgba(10,200,185,.18); border-color: var(--teal); }
.toggle.is-on .toggle-knob { transform: translateX(18px); background: var(--teal); }

/* Admin — şampiyon havuzu kartı (engellenebilir) */
.admin-champ-chip { display: inline-flex; align-items: center; gap: .4rem; font-family: 'Chakra Petch', sans-serif; font-size: .72rem; padding: .35rem .55rem; border-radius: 4px; border: 1px solid var(--hairline); color: var(--grey); background: rgba(255,255,255,.02); text-align: left; width: 100%; }
.admin-champ-chip img { width: 22px; height: 22px; border-radius: 3px; }
.admin-champ-chip:hover { border-color: var(--teal); color: var(--teal); }
.admin-champ-chip.is-blocked { border-color: #c0362c; color: #ef6a6a; background: rgba(192,54,44,.08); opacity: .75; }
.admin-champ-chip.is-blocked img { filter: grayscale(1); opacity: .6; }
@media (min-width: 640px) { .champ-grid { grid-template-columns: repeat(4, 1fr); } }
.champ-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 4px; border-radius: 5px; border: 1px solid transparent; background: rgba(240,230,210,.03); cursor: pointer; transition: all .12s ease; }
.champ-tile:hover { border-color: var(--hairline); background: rgba(240,230,210,.06); }
.champ-tile img { width: 46px; height: 46px; border-radius: 4px; border: 1px solid var(--hairline); background: #0a0e1a; }
.champ-tile span:not(.check) { font-size: 10px; line-height: 1.15; color: var(--grey); text-align: center; }
.champ-tile.is-sel { border-color: var(--gold); background: rgba(200,170,110,.12); box-shadow: 0 0 18px -6px rgba(200,170,110,.5); }
.champ-tile.is-sel img { border-color: var(--gold); }
.champ-tile.is-sel span:not(.check) { color: var(--gold-light); }
.champ-tile .check { position: absolute; top: 4px; right: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); color: #14100a; display: none; place-items: center; }
.champ-tile.is-sel .check { display: grid; }
.champ-tile.is-blocked { cursor: not-allowed; }
.champ-tile.is-blocked:hover { border-color: rgba(192,54,44,.5); background: rgba(240,230,210,.03); }
.champ-tile.is-blocked img { filter: grayscale(1) brightness(.55); }
.champ-tile.is-blocked::before { content: ''; position: absolute; inset: 0; border-radius: 5px; background: rgba(192,54,44,.32); pointer-events: none; }
.champ-tile.is-blocked span:not(.check) { color: rgba(239,106,106,.8); }

/* Genel hover ipucu (data-tip) */
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--obsidian); color: var(--gold-light); border: 1px solid var(--hairline); border-radius: 4px; padding: .45rem .65rem; font: 400 12px/1.4 Inter, sans-serif; text-transform: none; letter-spacing: 0; z-index: 130; box-shadow: 0 8px 20px -8px rgba(0,0,0,.85); pointer-events: none; }

/* ==========================================================================
   DASHBOARD / OPERASYON KONSOLU (dashboard.html)
   ========================================================================== */
/* Sidebar nav */
.dash-nav-item { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .62rem .75rem; border-radius: 5px; font-family: 'Chakra Petch', sans-serif; font-size: .82rem; letter-spacing: .03em; color: var(--grey); background: transparent; border: 1px solid transparent; cursor: pointer; transition: all .15s ease; }
.dash-nav-item svg { width: 18px; height: 18px; flex: 0 0 auto; opacity: .85; }
.dash-nav-item:hover { color: var(--gold-light); background: rgba(240,230,210,.04); }
.dash-nav-item.is-active { color: var(--gold-light); background: linear-gradient(90deg, rgba(200,170,110,.16), rgba(200,170,110,.02)); border-color: rgba(200,170,110,.30); box-shadow: inset 2px 0 0 var(--gold); }

/* Avatar */
.avatar { border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #14203a, #0a0e1a); border: 1px solid var(--hairline); display: grid; place-items: center; flex: 0 0 auto; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: 'Chakra Petch', sans-serif; font-weight: 600; color: #14100a; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.avatar-uploader { position: relative; display: inline-block; }
.avatar-edit { position: absolute; bottom: -2px; right: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #14100a; border: 2px solid var(--obsidian); cursor: pointer; transition: filter .15s ease; }
.avatar-edit:hover { filter: brightness(1.08); }
.avatar-drop { border: 1px dashed var(--hairline); border-radius: 8px; transition: all .15s ease; }
.avatar-drop.drag { border-color: var(--gold); background: rgba(200,170,110,.06); }

/* Data table */
.dtable { width: 100%; border-collapse: collapse; font-size: .875rem; }
.dtable thead th { text-align: left; font-family: 'Chakra Petch', sans-serif; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-muted); padding: .7rem 1rem; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.dtable tbody td { padding: .82rem 1rem; border-bottom: 1px solid rgba(200,170,110,.08); color: var(--grey); white-space: nowrap; }
.dtable tbody tr { transition: background .12s ease; }
.dtable tbody tr:hover { background: rgba(240,230,210,.03); }
.dtable tbody tr.clickable { cursor: pointer; }

/* Badge'ler */
.badge { display: inline-flex; align-items: center; gap: .4rem; font-family: 'Chakra Petch', sans-serif; font-size: .66rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; }
.badge-success { background: rgba(31,200,140,.12); color: #38d39a; } .badge-success .dot { background: #38d39a; }
.badge-progress { background: rgba(200,170,110,.14); color: var(--gold); } .badge-progress .dot { background: var(--gold); }
.badge-danger { background: rgba(224,80,80,.12); color: #ef6a6a; } .badge-danger .dot { background: #ef6a6a; }
.badge-info { background: rgba(10,200,185,.12); color: var(--teal); } .badge-info .dot { background: var(--teal); }
.badge-muted { background: rgba(160,155,140,.12); color: var(--grey); } .badge-muted .dot { background: var(--grey); }
.badge-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #14100a; font-family: 'Chakra Petch', sans-serif; font-size: 10px; font-weight: 700; margin-left: auto; }

/* Pager */
.pager { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.pager button { min-width: 34px; height: 34px; padding: 0 .5rem; border-radius: 4px; border: 1px solid var(--hairline); background: rgba(240,230,210,.03); color: var(--grey); font-family: 'Chakra Petch', sans-serif; font-size: .8rem; cursor: pointer; transition: all .12s ease; }
.pager button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-light); }
.pager button.is-active { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #14100a; border-color: var(--gold); }
.pager button:disabled { opacity: .35; cursor: not-allowed; }

/* Drawer (slide-over) */
.drawer-overlay { position: fixed; inset: 0; background: rgba(4,5,9,.62); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 60; }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(460px, 94vw); background: #0b1018; border-left: 1px solid var(--hairline); box-shadow: var(--shadow-deep); transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); z-index: 61; overflow-y: auto; }
.drawer.open { transform: none; }

/* Skeleton */
.skeleton { position: relative; overflow: hidden; background: rgba(240,230,210,.05); border-radius: 4px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(240,230,210,.08), transparent); animation: sk 1.3s infinite; }
@keyframes sk { to { transform: translateX(100%); } }

/* Dashboard progress + mini bar */
.dprogress { height: 8px; border-radius: 999px; background: rgba(200,170,110,.12); overflow: hidden; }
.dprogress > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--teal)); box-shadow: 0 0 14px rgba(10,200,185,.5); }
.bar { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); border-radius: 3px 3px 0 0; }

/* ==========================================================================
   ADMIN — KANBAN
   ========================================================================== */
.kanban { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x proximity; }
.kanban-col { flex: 0 0 300px; scroll-snap-align: start; border: 1px solid var(--hairline); border-radius: 6px; background: rgba(240,230,210,.025); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.kanban-col__head { display: flex; align-items: center; gap: .55rem; min-height: 48px; padding: .85rem .9rem; border-bottom: 1px solid var(--hairline); font-family: 'Chakra Petch', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-light); }
.kanban-col__body { max-height: 560px; overflow-y: auto; padding: .75rem; display: flex; flex-direction: column; gap: .75rem; }
.kanban-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(200,170,110,.45); flex: 0 0 auto; }
.kanban-dot[data-status="paid"],
.kanban-dot[data-status="active"] { background: var(--teal); box-shadow: 0 0 12px rgba(10,200,185,.45); }
.kanban-dot[data-status="completed"] { background: var(--teal); }
.kanban-dot[data-status="assigned"] { background: var(--gold-light); }
.kanban-col.drop-target { border-color: var(--gold); background: rgba(200,170,110,.055); box-shadow: inset 0 0 0 1px rgba(200,170,110,.35), 0 0 28px -16px rgba(200,170,110,.75); }

.kboard-card { position: relative; border-radius: 5px; padding: .9rem; border: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(19,28,48,.68), rgba(10,14,26,.84)); cursor: grab; transition: transform .15s ease, border-color .15s ease, box-shadow .2s ease, opacity .15s ease; }
.kboard-card:hover { transform: translateY(-2px); border-color: rgba(200,170,110,.44); box-shadow: 0 18px 36px -26px rgba(0,0,0,.85), 0 0 28px -18px rgba(10,200,185,.65); }
.kboard-card:active { cursor: grabbing; }
.kboard-card.dragging { opacity: .5; }
.kboard-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 10px; height: 10px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); border-top-left-radius: 5px; opacity: .58; pointer-events: none; }
.kpill { display: inline-flex; align-items: center; gap: .35rem; font-family: 'Chakra Petch', sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .66rem; padding: .32rem .55rem; border-radius: 3px; border: 1px solid rgba(10,200,185,.32); color: var(--teal); background: rgba(10,200,185,.055); }

@media (max-width: 640px) {
  .kanban-col { flex-basis: min(84vw, 300px); }
  .kanban-col__body { max-height: 480px; }
}

/* ==========================================================================
   ADMIN — REVENUE
   ========================================================================== */
.revenue-chart { width: 100%; aspect-ratio: 640 / 250; min-height: 210px; }
.revenue-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rev-grid line { stroke: var(--hairline); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rev-area { fill: url(#revArea); }
.rev-line { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px var(--teal)); }
.rev-point { fill: var(--gold); stroke: var(--teal); stroke-width: 2; vector-effect: non-scaling-stroke; }
.rev-bar { height: 8px; overflow: hidden; border-radius: 999px; background: var(--hairline); }
.rev-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--teal)); box-shadow: 0 0 12px var(--teal); }
.rev-timeline-row { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .7rem .75rem; border: 1px solid var(--hairline); border-radius: 5px; background: transparent; }
.rev-timeline-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }

@media (max-width: 640px) {
  .revenue-chart { aspect-ratio: 1.45; min-height: 190px; }
  .rev-timeline-row { align-items: flex-start; }
}

/* ==========================================================================
   CHAT — canlı sohbet (iki panel, baloncuk, presence)
   ========================================================================== */
.chat-wrap { display: flex; height: 100%; min-height: 0; }
.chat-side { width: 340px; flex: 0 0 340px; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--hairline); background: rgba(10,14,26,.5); }
.chat-side-tools { display: flex; gap: .5rem; padding: .85rem; border-bottom: 1px solid var(--hairline); }
.chat-side-head { padding: .85rem 1rem .35rem; }
.chat-list { flex: 1; min-height: 0; overflow-y: auto; }

.chat-litem { display: flex; gap: .7rem; align-items: center; width: 100%; text-align: left; padding: .7rem 1rem; border-bottom: 1px solid rgba(200,170,110,.1); transition: background .15s ease; }
.chat-litem:hover { background: rgba(240,230,210,.03); }
.chat-litem.is-active { background: rgba(200,170,110,.08); box-shadow: inset 3px 0 0 var(--gold); }

.chat-thread { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.chat-th-head { display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border-bottom: 1px solid var(--hairline); background: rgba(10,14,26,.55); }
.chat-th-foot { border-top: 1px solid var(--hairline); padding: .65rem .85rem .85rem; background: rgba(10,14,26,.55); }
.chat-scam-warn { font-size: .72rem; line-height: 1.4; color: #d9c389; background: rgba(200,170,110,.08); border-bottom: 1px solid var(--hairline); padding: .5rem 1rem; }
.campaign-banner { background: linear-gradient(90deg, rgba(0,210,180,.12), rgba(200,170,110,.15), rgba(0,210,180,.12)); border-bottom: 1px solid var(--hairline); color: var(--gold-light); text-align: center; animation: campaign-pulse 3s ease-in-out infinite; }
.campaign-banner strong { color: var(--teal); }
.campaign-banner svg { color: var(--gold); }
@keyframes campaign-pulse { 0%,100% { opacity: .85; } 50% { opacity: 1; } }
.chat-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 1.1rem 1rem; display: flex; flex-direction: column; gap: .5rem; }
.chat-older { align-self: center; margin-bottom: .25rem; padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--hairline); background: rgba(10,14,26,.55); color: var(--grey-muted); font-size: .72rem; transition: color .15s ease, border-color .15s ease; }
.chat-older:hover { color: var(--gold-light); border-color: rgba(200,170,110,.4); }

/* Ticket kontrol paneli (destek sohbetinin en üstünde sabit sistem mesajı) */
.tkt-panel { align-self: stretch; border: 1px solid rgba(200,170,110,.28); border-radius: 8px; background: linear-gradient(180deg, rgba(200,170,110,.08), rgba(10,14,26,.55)); padding: .7rem .85rem; margin-bottom: .35rem; }
.tkt-panel--info { background: rgba(10,14,26,.55); border-color: var(--hairline); }
.tkt-panel__title { font-family: 'Chakra Petch', sans-serif; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); }
.tkt-panel__status { margin-top: .25rem; font-size: .82rem; color: var(--grey); line-height: 1.4; }
.tkt-panel__actions { margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tkt-btn { font-family: 'Chakra Petch', sans-serif; font-size: .76rem; padding: .42rem .72rem; border-radius: 6px; border: 1px solid rgba(200,170,110,.4); background: rgba(200,170,110,.1); color: var(--gold-light); cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.tkt-btn:hover { background: rgba(200,170,110,.2); border-color: var(--gold); }
.tkt-btn--ghost { border-color: var(--hairline); background: transparent; color: var(--grey-muted); }
.tkt-btn--ghost:hover { color: var(--gold-light); }
.tkt-order { display: block; width: 100%; text-align: left; padding: .6rem .75rem; border-radius: 6px; border: 1px solid var(--hairline); background: rgba(10,14,26,.5); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.tkt-order:hover { border-color: var(--gold); background: rgba(200,170,110,.08); }
.tkt-queue-badge { display: inline-block; margin-left: .35rem; padding: .05rem .4rem; border-radius: 999px; font-size: .6rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #14100a; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.tkt-order-chip { display: inline-block; margin-left: .35rem; padding: .05rem .4rem; border-radius: 4px; font-size: .6rem; font-family: 'Chakra Petch', sans-serif; letter-spacing: .03em; color: var(--teal); border: 1px solid rgba(10,200,185,.35); }

/* Sohbet görsel mesajı + tam ekran (lightbox) */
.chat-img-bubble { max-width: 100%; border-radius: 12px; padding: 5px; border: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(19,28,48,.7), rgba(10,14,26,.85)); }
.chat-img-bubble--me { border-color: rgba(200,170,110,.4); background: linear-gradient(180deg, rgba(200,170,110,.16), rgba(200,170,110,.07)); }
.chat-img { display: block; width: auto; max-width: 240px; max-height: 320px; border-radius: 8px; cursor: zoom-in; }
.chat-img-bubble .chat-bubble-meta { margin-top: .25rem; padding: 0 .15rem; }
.chat-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.86); display: grid; place-items: center; padding: 24px; cursor: zoom-out; animation: lbFade .15s ease; }
.chat-lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 24px 70px -12px rgba(0,0,0,.85); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.chat-row { display: flex; align-items: flex-end; gap: .5rem; max-width: 100%; }
.chat-row--me { flex-direction: row-reverse; }
.chat-bubble { max-width: 75%; border-radius: 12px; padding: .55rem .8rem; border: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(19,28,48,.7), rgba(10,14,26,.85)); }
.chat-bubble--me { border-color: rgba(200,170,110,.4); background: linear-gradient(180deg, rgba(200,170,110,.16), rgba(200,170,110,.07)); }
.chat-bubble--fail { border-color: rgba(239,106,106,.55); }
.chat-bubble-body { color: var(--gold-light); font-size: .9rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.chat-bubble-meta { margin-top: .2rem; display: flex; align-items: center; justify-content: flex-end; gap: .28rem; font-family: 'Chakra Petch', sans-serif; font-size: .62rem; letter-spacing: .04em; color: #5B5A56; }
.chat-tick { display: inline-flex; align-items: center; color: #8893a6; }
.chat-tick svg { width: 16px; height: 11px; }
.chat-tick--seen { color: var(--teal); }

/* Credential kartları */
.cred-card { max-width: 340px; border-radius: 10px; border: 1px solid rgba(10,200,185,.3); background: linear-gradient(135deg, rgba(10,200,185,.08), rgba(14,21,37,.95)); padding: 1rem 1.1rem; font-size: .82rem; }
.cred-card-head { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--teal); font-size: .85rem; margin-bottom: .6rem; }
.cred-card-head svg { flex-shrink: 0; color: var(--teal); }
.cred-card-foot { display: flex; align-items: center; gap: .35rem; margin-top: .75rem; font-size: .7rem; color: var(--grey-muted); }
.cred-card-foot svg { flex-shrink: 0; }
.cred-card-sub { font-size: .78rem; color: var(--grey-muted); }
.cred-card--done { border-color: rgba(10,200,185,.25); background: rgba(10,200,185,.06); }
.cred-card--done .cred-card-head { color: var(--teal); }
.cred-card--waiting { border-color: rgba(200,170,110,.25); background: rgba(200,170,110,.06); }
.cred-card--waiting .cred-card-head { color: var(--gold-light); }
.cred-card--waiting .cred-card-head svg { color: var(--gold); }
.cred-card--revoked { border-color: rgba(160,155,140,.2); background: rgba(160,155,140,.05); }
.cred-card--revoked .cred-card-head { color: var(--grey-muted); }
.cred-card--revoked .cred-card-head svg { color: var(--grey-muted); }
.cred-card--view .cred-card-head { color: var(--gold-light); }
.cred-card--view .cred-card-head svg { color: var(--gold); }
.cred-form { display: flex; flex-direction: column; gap: .6rem; }
.cred-form label { display: flex; flex-direction: column; gap: .25rem; font-size: .75rem; color: var(--grey); }
.cred-form label span { font-family: 'Chakra Petch', sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; color: var(--grey-muted); }
.cred-form input { border-radius: 4px; border: 1px solid var(--hairline); background: rgba(10,14,26,.6); padding: .5rem .65rem; color: var(--gold-light); font-size: .82rem; }
.cred-form input:focus { outline: none; border-color: rgba(10,200,185,.5); box-shadow: 0 0 0 2px rgba(10,200,185,.15); }
.cred-data { display: flex; flex-direction: column; gap: .5rem; }
.cred-field { display: flex; align-items: center; gap: .5rem; }
.cred-label { font-family: 'Chakra Petch', sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; color: var(--grey-muted); min-width: 72px; }
.cred-value { color: var(--gold-light); font-size: .82rem; font-family: monospace; }
.cred-masked { letter-spacing: .1em; }
.cred-copy-btn { background: none; border: 1px solid var(--hairline); border-radius: 3px; color: var(--grey); padding: .15rem .35rem; font-size: .72rem; cursor: pointer; transition: color .15s, border-color .15s; }
.cred-copy-btn:hover { color: var(--teal); border-color: var(--teal); }
.cred-view-btn { margin-top: .6rem; }

.chat-status { min-height: 1.1rem; font-family: 'Chakra Petch', sans-serif; font-size: .7rem; letter-spacing: .05em; color: #5B5A56; padding: 0 .25rem .35rem; }
.chat-status--seen { color: var(--teal); }

.chat-input { flex: 1; resize: none; max-height: 120px; border-radius: 6px; border: 1px solid var(--hairline); background: rgba(8,9,15,.6); color: var(--gold-light); padding: .6rem .8rem; font-size: .9rem; line-height: 1.4; }
.chat-input::placeholder { color: #5B5A56; }
.chat-select { width: 100%; margin-top: .35rem; border-radius: 6px; border: 1px solid var(--hairline); background: rgba(8,9,15,.6); color: var(--gold-light); padding: .55rem .7rem; font-size: .88rem; }

.chat-av { display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; border: 1px solid var(--hairline); background: var(--panel); flex: none; }
.chat-av img { width: 100%; height: 100%; object-fit: cover; }
.chat-av--init { color: var(--gold-light); font-family: 'Chakra Petch', sans-serif; font-weight: 600; background: linear-gradient(180deg, rgba(200,170,110,.22), rgba(10,14,26,.7)); }

.chat-dot-online { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #38d39a; border: 2px solid var(--obsidian); box-shadow: 0 0 8px rgba(56,211,154,.7); }
.chat-dot-inline { position: static; display: inline-block; width: 8px; height: 8px; margin-right: .35rem; border-width: 0; vertical-align: middle; }

.chat-modal-ov { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 1rem; background: rgba(4,6,12,.72); backdrop-filter: blur(2px); }
.chat-modal { width: 100%; max-width: 460px; padding: 1.5rem; max-height: 88vh; overflow-y: auto; }

/* mobil: tek panel; thread açıkken liste gizli */
@media (max-width: 767px) {
  .chat-side { width: 100%; flex-basis: 100%; border-right: 0; }
  .chat-thread { display: none; }
  body.chat-show-thread .chat-side { display: none; }
  body.chat-show-thread .chat-thread { display: flex; }
  .chat-bubble { max-width: 85%; }
}

/* ince kaydırma çubuğu */
.chat-list::-webkit-scrollbar, .chat-scroll::-webkit-scrollbar { width: 8px; }
.chat-list::-webkit-scrollbar-thumb, .chat-scroll::-webkit-scrollbar-thumb { background: rgba(200,170,110,.22); border-radius: 4px; }

/* ==========================================================================
   CHAT WIDGET — sol-alt yüzen launcher + açılır panel + doğrulanmış rozetler
   ========================================================================== */
.chat-fab { position: fixed; left: 22px; bottom: 22px; z-index: 100; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: var(--obsidian); border: 1px solid rgba(200,170,110,.5); box-shadow: 0 12px 30px -8px rgba(0,0,0,.7), 0 0 24px -6px rgba(200,170,110,.55); cursor: pointer; transition: transform .18s ease, box-shadow .2s ease; }
.chat-fab:hover { transform: translateY(-2px) scale(1.04); }
.chat-fab-ic { width: 26px; height: 26px; }
.chat-fab-ic--close { display: none; }
.chat-fab.is-open .chat-fab-ic--chat { display: none; }
.chat-fab.is-open .chat-fab-ic--close { display: block; }
.chat-fab-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #ef4444; color: #fff; font: 600 11px/20px 'Chakra Petch', sans-serif; text-align: center; border: 2px solid var(--obsidian); }

.chat-widget-panel { position: fixed; left: 22px; bottom: 94px; z-index: 100; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 130px); display: none; flex-direction: column; overflow: hidden; border-radius: 12px; border: 1px solid var(--hairline); background: linear-gradient(180deg, var(--panel), var(--abyss)); box-shadow: 0 30px 70px -20px rgba(0,0,0,.85); }
.chat-widget-panel.open { display: flex; animation: chatpop .18s ease; }
@keyframes chatpop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-widget-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: .7rem 1rem; border-bottom: 1px solid var(--hairline); background: rgba(10,14,26,.6); }
.chat-widget-body { flex: 1; min-height: 0; }

/* widget içinde her zaman tek panel (dar): liste ↔ thread geçişi */
.chat-widget-panel .chat-side { width: 100%; flex-basis: 100%; border-right: 0; }
.chat-widget-panel .chat-thread { display: none; }
body.chat-show-thread .chat-widget-panel .chat-side { display: none; }
body.chat-show-thread .chat-widget-panel .chat-thread { display: flex; }

/* geri butonu: yalnız widget panelinde + mobilde görünür (admin tam sayfada gizli) */
.chat-back { display: none; }
.chat-widget-panel .chat-back { display: inline-grid; }
@media (max-width: 767px) { .chat-back { display: inline-grid; } }

@media (max-width: 480px) {
  .chat-widget-panel { left: 0; right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
  .chat-fab { left: 16px; bottom: 16px; }
}

/* Doğrulanmış rozet — yalnızca ikon (scam önleme) + hover ipucu */
.role-badge { display: inline-grid; place-items: center; flex: none; position: relative; width: 20px; height: 20px; border-radius: 6px; border: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.role-badge svg { width: 12.5px; height: 12.5px; }
.role-badge--booster { color: var(--teal); background: rgba(10,200,185,.14); border-color: rgba(10,200,185,.45); box-shadow: 0 0 10px -2px rgba(10,200,185,.55), inset 0 1px 0 rgba(255,255,255,.07); }
.role-badge--admin { color: var(--gold); background: rgba(200,170,110,.16); border-color: rgba(200,170,110,.55); box-shadow: 0 0 10px -2px rgba(200,170,110,.55), inset 0 1px 0 rgba(255,255,255,.07); }
.role-badge--customer { color: var(--grey); background: rgba(160,155,140,.1); border-color: rgba(160,155,140,.3); }
.role-badge--ticket { color: var(--gold-light); background: rgba(200,170,110,.16); border-color: rgba(200,170,110,.5); box-shadow: 0 0 10px -2px rgba(200,170,110,.5), inset 0 1px 0 rgba(255,255,255,.07); }
/* ipucu balonu rozetin ALTINDA açılır (üstte overflow:hidden başlık tarafından kırpılmasın) */
.role-badge[data-tip]:hover::after, .role-badge[data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--obsidian); color: var(--gold-light); border: 1px solid var(--hairline); border-radius: 5px; padding: .45rem .75rem; font: 400 12px/1 Inter, sans-serif; display: flex; align-items: center; text-transform: none; letter-spacing: 0; z-index: 140; box-shadow: 0 8px 20px -8px rgba(0,0,0,.85); pointer-events: none; }

/* mesaj satırı: gönderen adı + rozet + kolon */
.chat-col { display: flex; flex-direction: column; gap: .15rem; min-width: 0; max-width: 80%; }
.chat-row--me .chat-col { align-items: flex-end; }
.chat-sender { display: flex; align-items: center; gap: .35rem; font-size: 11px; color: var(--grey); padding-left: .15rem; }
.chat-row-av { width: 28px; flex: none; align-self: flex-end; }
.chat-bubble { max-width: 100%; }

/* ==========================================================================
   REDUCED MOTION — her şeyi sakinleştir
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .aurora { display: none; }
  #config-skeleton .animate-spin { animation: spin 1s linear infinite !important; }
}
