/* ───────── Nugget TR ───────── */
:root {
  --bg: #0f0f11;
  --surface: #17171a;
  --surface-2: #1e1e22;
  --line: #26262b;
  --line-2: #34343a;
  --fg: #e9e9ec;
  --muted: #9b9ba3;
  --dim: #6b6b73;
  --accent: #e9e9ec;
  --accent-fg: #111113;

  --r: 10px;
  --r-lg: 14px;
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --w: 2000px;
  --gutter: clamp(16px, 3vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; outline: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--muted); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.muted { color: var(--dim); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: var(--r); z-index: 99; }
.skip:focus { left: 8px; }

/* ───────── tipografi ───────── */
.eyebrow { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.display {
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
  max-width: 18ch;
}
.display.sm { font-size: clamp(28px, 4vw, 38px); max-width: none; }
.lead { color: var(--muted); font-size: 17px; max-width: 52ch; margin: 16px 0 0; }

/* ───────── butonlar ───────── */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:disabled { opacity: .5; cursor: progress; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-solid { background: var(--accent); color: var(--accent-fg); }
.btn-solid:hover { background: #fff; }
.btn-line { border-color: var(--line-2); background: var(--surface); }
.btn-line:hover { border-color: var(--dim); background: var(--surface-2); }
.btn-text { background: transparent; color: var(--muted); padding: 0 10px; }
.btn-text:hover { color: var(--fg); }
.icon-btn {
  width: 36px; height: 36px; flex: none; border-radius: var(--r);
  border: 1px solid var(--line-2); background: transparent; color: var(--dim);
  cursor: pointer; font-size: 12px;
}
.icon-btn:hover { color: var(--fg); border-color: var(--dim); }

/* ───────── üst bar ───────── */
.demo-bar {
  background: var(--surface); color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 13px; padding: 8px var(--gutter); text-align: center;
}
.demo-bar b { color: var(--fg); margin-right: 6px; }

.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 15, 17, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; height: 64px; gap: 28px; }
.sections { display: flex; gap: 4px; flex: 1; }
.nav-link {
  height: 36px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--fg); }
.nav-link.on { color: var(--fg); background: var(--surface-2); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* Logo: geçişli işaret; üzerine gelince renk kayar, parlama geçer, N harfi yeniden çizilir */
/* Sitenin tek renkli (açık gri / koyu) temasında: gümüş geçişli işaret, koyu N */
.logo-mark {
  position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; overflow: hidden; flex: none;
  background: linear-gradient(145deg, #ffffff 0%, #d9d9de 45%, #8e8e96 100%); background-size: 180% 180%; background-position: 0% 0%;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -2px 0 rgba(0, 0, 0, .18);
  transition: background-position .7s cubic-bezier(.2, .7, .2, 1), transform .45s cubic-bezier(.2, .7, .2, 1.4), box-shadow .3s;
}
.logo-mark svg { position: relative; z-index: 1; width: 19px; height: 19px; fill: none; stroke: #111113; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.logo-mark svg path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.logo-mark::after {
  content: ""; position: absolute; inset: -50%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%);
  transform: translate3d(-60%, 0, 0);
}
.logo:hover .logo-mark { background-position: 100% 100%; transform: rotate(-8deg) scale(1.06); box-shadow: 0 10px 22px -8px rgba(255, 255, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -2px 0 rgba(0, 0, 0, .18); }
.logo:hover .logo-mark::after { transform: translate3d(60%, 0, 0); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.logo:hover .logo-mark svg path { animation: logo-draw .8s cubic-bezier(.6, 0, .2, 1); }
@keyframes logo-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.logo-word {
  font-weight: 800; font-size: 18px; letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--fg) 0%, var(--fg) 40%, #ffffff 50%, var(--muted) 60%, var(--fg) 75%); background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position .9s cubic-bezier(.2, .7, .2, 1);
}
.logo:hover .logo-word { background-position: 0% 0; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-user { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 10px 4px 4px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.nav-user:hover { background: var(--surface-2); }
.avatar {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 700; text-transform: uppercase;
}

/* ───────── hero ───────── */
.hero { padding-top: clamp(40px, 7vw, 80px); padding-bottom: 8px; }
.hero-cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

/* ───────── oyun logoları ───────── */
.gicon {
  display: inline-block; flex: none;
  width: var(--gs, 18px); height: var(--gs, 18px);
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.tab .gicon { --gs: 15px; margin-right: 7px; }
.pick .gicon { --gs: 26px; margin-bottom: 8px; }
.fact-game { display: inline-flex; align-items: center; gap: 8px; }

/* ───────── lobi ───────── */
.page-head { padding: clamp(32px, 6vw, 64px) 0 28px; }

.tabs, .seg {
  display: flex; gap: 2px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.tab, .seg button {
  height: 34px; padding: 0 14px; display: inline-flex; align-items: center;
  border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s;
}
.tab:hover, .seg button:hover { color: var(--fg); }
.tab.on, .seg button.on { background: var(--surface-2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }

/* lobi düzeni: solda filtreler, sağda ekranı dolduran kart ızgarası */
.page { padding-top: clamp(28px, 4vw, 48px); padding-bottom: 80px; }
.page-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.page-top .lead { margin-top: 10px; font-size: 16px; }
.lobby-grid { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 24px; align-items: start; }

.filters {
  position: sticky; top: 84px;
  display: grid; gap: 22px;
  padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.f-head { display: flex; justify-content: space-between; align-items: center; }
.f-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.btn-link { border: 0; background: none; padding: 0; cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover { color: var(--fg); }
.f-group { display: grid; gap: 8px; }
.f-label { font-size: 13px; font-weight: 600; color: var(--fg); }
.f-help { margin: 0; font-size: 12px; color: var(--dim); line-height: 1.45; }
.filters input, .filters .xsel-btn { padding: 10px 12px; font-size: 14px; background: var(--bg); }
.filters .xsel-btn { padding-right: 30px; }
.lobby-grid.no-filters { grid-template-columns: minmax(0, 1fr); }
.hint { margin: 0; font-size: 13px; color: var(--dim); }
.range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: center; }
.range-sep { color: var(--dim); }
.seg-full { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.seg-full button { justify-content: center; padding: 0 6px; }
.seg-wrap { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
.filters-toggle { display: none; }

.results-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-height: 36px; }
.count { margin: 0; flex: 1; font-size: 14px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.sort select { width: auto; padding: 8px 32px 8px 12px; font-size: 13px; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .15s;
}
.card:hover { border-color: var(--line-2); }
.card.stale { opacity: .6; }
.card.stale:hover { opacity: 1; }
.c-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--dim); }
.c-game { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; --gs: 16px; }
.c-title { margin: 0; font-size: 17px; font-weight: 650; line-height: 1.35; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 500; color: var(--muted); padding: 4px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.chip.strong { color: var(--fg); border-color: var(--line-2); }
.chip.on { color: var(--fg); }
.chip.on::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); margin-right: 6px; vertical-align: 1px; }
.c-note { margin: 0; color: var(--muted); font-size: 14px; }
.c-left { font-variant-numeric: tabular-nums; }
.c-left.soon { color: var(--fg); }
.c-foot { display: flex; gap: 8px; align-items: flex-end; margin-top: auto; padding-top: 4px; }
.c-code { flex: 1; display: grid; gap: 6px; min-width: 0; }
.c-code small { font-size: 12px; color: var(--dim); }
.c-code .code-btn { width: 100%; }
.c-user { font-size: 13px; color: var(--dim); text-decoration: none; align-self: flex-start; margin-top: -4px; }
.c-user:hover { color: var(--fg); }
.c-kind { font-size: 12px; font-weight: 600; color: var(--muted); padding: 2px 8px; border-radius: 999px; background: var(--surface-2); }
.c-kind.strong { color: var(--fg); background: #2b2b31; }
.c-meta { margin: 0; font-size: 14px; color: var(--fg); display: flex; gap: 8px; }
.c-meta span { color: var(--dim); }
.c-sub { margin: 0; font-size: 13px; color: var(--dim); }
.c-sub .c-user { margin: 0; }

/* ───────── klipler ───────── */
.cards.clips { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.cards.single { grid-template-columns: 1fr; margin-bottom: 4px; }
.card.clip { padding: 0; overflow: hidden; gap: 0; }
.media {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9;
  background: #0a0a0c; border: 0; padding: 0; margin: 0; cursor: pointer;
  color: var(--muted); text-decoration: none; overflow: hidden;
}
iframe.media { display: block; cursor: auto; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.media:hover img { opacity: 1; }
.media-name { font-size: 15px; font-weight: 600; color: var(--fg); }
.media-out { position: absolute; bottom: 12px; font-size: 13px; color: var(--muted); }
.media-empty { cursor: default; }
.play {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(15, 15, 17, .75); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(4px); transition: transform .15s;
}
.play::after { content: ""; position: absolute; left: 24px; top: 19px; border-left: 18px solid var(--fg); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.media:hover .play { transform: scale(1.06); }
.clip-body { display: grid; gap: 8px; padding: 16px 18px 18px; }
.clip-foot { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.clip-foot .icon-btn { margin-left: auto; }
.like {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: color .15s, border-color .15s, background .15s;
}
.like svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.like:hover { color: var(--fg); border-color: var(--dim); }
.like.on { color: var(--accent-fg); background: var(--fg); border-color: var(--fg); }
.like.on svg { fill: currentColor; }

/* ───────── ana sayfa ───────── */
.hero .eyebrow { display: flex; align-items: center; gap: 8px; --gs: 16px; }
.hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.hub-col { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.hub-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hub-head h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.hub-head h2 a { text-decoration: none; }
.hub-head p { margin: 2px 0 0; font-size: 13px; color: var(--dim); }
.hub-body .loading { padding: 32px 0; }
.hub-empty { margin: 0; padding: 28px 0; text-align: center; font-size: 14px; color: var(--dim); }
.hub-cta { margin-top: auto; }
.hub .card.clip { background: var(--bg); }

.minis { list-style: none; margin: 0; padding: 0; }
.mini { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.mini:first-child { border-top: 0; padding-top: 2px; }
.mini-main { display: grid; gap: 2px; min-width: 0; text-decoration: none; }
.mini-main b { font-size: 14px; font-weight: 600; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mini-main span { font-size: 12px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.mini-main:hover b { text-decoration: underline; text-underline-offset: 3px; }
.mini-side { display: flex; align-items: center; gap: 10px; flex: none; font-size: 12px; color: var(--dim); }
.mini-code {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); cursor: pointer;
  font-size: 12px; text-decoration: none; white-space: nowrap;
}
.mini-code:hover { border-color: var(--dim); }
.mini-code.locked { color: var(--muted); font-family: var(--sans); }
.mini-likes { color: var(--muted); font-weight: 600; }

/* rol seçimi (çoklu) */
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .15s, border-color .15s, background .15s;
}
.toggle span:hover { color: var(--fg); }
.toggle input:checked + span { color: var(--accent-fg); background: var(--fg); border-color: var(--fg); }
.toggle input:focus-visible + span { outline: 2px solid var(--muted); outline-offset: 2px; }
.pick-2 { grid-template-columns: repeat(2, 1fr); }
.help.ok { color: var(--fg); }

.code-btn { justify-content: space-between; }
.code-btn .mono { font-size: 13px; }
.code-cta { font-size: 12px; opacity: .55; }
.code-btn:hover .code-cta { opacity: 1; }
.locked { justify-content: space-between; color: var(--muted); }
.locked:hover { color: var(--fg); }
.lock { width: 10px; height: 8px; position: relative; border: 1.5px solid currentColor; border-radius: 2px; margin-top: 5px; }
.lock::before { content: ""; position: absolute; left: 1px; right: 1px; top: -6px; height: 6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }

.loading, .empty { padding: 56px 16px; text-align: center; color: var(--dim); font-size: 14px; }
.loading::after { content: "…"; }
.empty { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-lg); display: grid; justify-items: center; gap: 16px; }
.empty p { margin: 0; }

/* ───────── formlar ───────── */
.form-page { padding-bottom: 80px; }
.form { max-width: 720px; display: grid; gap: 22px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .field > label { display: block; padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.opt { color: var(--dim); font-weight: 400; margin-left: 4px; }
input:not([type=radio]):not([type=checkbox]), select, textarea, .xsel-btn {
  width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 12px 14px; font-size: 15px; outline: none;
  transition: border-color .15s;
}
textarea { resize: vertical; min-height: 88px; }
input:focus, select:focus, textarea:focus { border-color: var(--muted); }
input::placeholder, textarea::placeholder { color: var(--dim); }
select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.help { margin: 6px 0 0; font-size: 13px; color: var(--dim); }

/* temaya uygun açılır liste (js/select.js) */
.xsel { position: relative; min-width: 0; }
.xsel > select { display: none; }
.xsel-btn {
  display: flex; align-items: center; text-align: left; cursor: pointer;
  padding-right: 36px; position: relative;
}
.xsel-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xsel-btn::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 7px; height: 7px; margin-top: -5px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .15s, margin .15s;
}
.xsel.open .xsel-btn { border-color: var(--muted); }
.xsel.open .xsel-btn::after { transform: rotate(-135deg); margin-top: -1px; }
.xsel-list {
  position: absolute; z-index: 40; left: 0; top: calc(100% + 6px);
  min-width: 100%; max-height: 280px; overflow-y: auto;
  margin: 0; padding: 5px; list-style: none;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
.xsel.up .xsel-list { top: auto; bottom: calc(100% + 6px); }
.xsel-list li {
  padding: 9px 12px 9px 30px; border-radius: 8px; cursor: pointer;
  font-size: 14px; color: var(--muted); white-space: nowrap; position: relative;
}
.xsel-list li.active { background: #2c2c33; color: var(--fg); }
.xsel-list li.sel { color: var(--fg); font-weight: 600; }
.xsel-list li.sel::before {
  content: ""; position: absolute; left: 12px; top: 50%;
  width: 8px; height: 4px; margin-top: -4px;
  border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

/* süre seçici */
.dur label { display: contents; }
.dur input { position: absolute; opacity: 0; pointer-events: none; }
.dur span {
  height: 38px; display: grid; place-items: center; border-radius: 8px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: background .15s, color .15s;
}
.dur span:hover { color: var(--fg); }
.dur input:checked + span { background: var(--surface-2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.dur input:focus-visible + span { outline: 2px solid var(--muted); outline-offset: 2px; }
.grid-2, .grid-3 { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }

.pick { display: grid; gap: 8px; }
.pick-4 { grid-template-columns: repeat(4, 1fr); }
.pick-3 { grid-template-columns: repeat(3, 1fr); }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span {
  display: grid; gap: 4px; height: 100%;
  padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface);
  transition: border-color .15s, background .15s;
}
.pick b { font-size: 15px; font-weight: 700; }
.pick small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.pick label:hover span { border-color: var(--dim); }
.pick input:checked + span { border-color: var(--fg); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--fg); }
.pick input:focus-visible + span { outline: 2px solid var(--muted); outline-offset: 2px; }

.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--fg); border-color: var(--fg); }
.check input:checked::after { content: ""; width: 8px; height: 4px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px, -1px); }

.form-err { margin: 0; min-height: 1em; font-size: 14px; color: #ff8a80; }
.form-foot { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); padding-top: 20px; }

/* ───────── giriş / kayıt ───────── */
.auth {
  display: grid; grid-template-columns: 1fr minmax(0, 420px);
  gap: clamp(32px, 7vw, 96px); align-items: start;
  padding-top: clamp(40px, 7vw, 88px); padding-bottom: 80px;
}
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; max-width: 400px; }
.perks li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.perks b { font-size: 12px; color: var(--dim); font-weight: 600; }
.auth-form { gap: 18px; border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--surface); }
.auth-form input:not([type=checkbox]) { background: var(--bg); }
.switch { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
.switch a { color: var(--fg); text-underline-offset: 3px; }
.notice h2 { margin: 0 0 8px; font-size: 22px; }
.notice p { color: var(--muted); margin: 0 0 20px; }
.notice b { color: var(--fg); }

/* ───────── profil ───────── */
.profile { padding-top: clamp(32px, 6vw, 64px); padding-bottom: 80px; }
.profile-head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.big-avatar {
  width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-2);
  font-weight: 700; font-size: 36px; text-transform: uppercase;
}
.profile-id .eyebrow { display: none; }
.bio { margin: 8px 0 0; color: var(--muted); max-width: 56ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 32px 0 0; }
.facts div { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.facts dt { font-size: 13px; color: var(--dim); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; font-size: 16px; }
.section-title { font-size: 18px; font-weight: 700; margin: 48px 0 14px; }

.nf { padding-top: 96px; padding-bottom: 96px; }
.nf .btn { margin-top: 24px; }

/* ───────── alt bilgi & bildirim ───────── */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.foot .logo-word { font-size: 15px; }
.foot p { margin: 0; font-size: 13px; color: var(--dim); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--surface-2); color: var(--fg); border: 1px solid var(--line-2); border-radius: 12px;
  font-size: 14px; padding: 12px 16px; max-width: calc(100vw - 32px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ───────── mobil ───────── */
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .lobby-grid { grid-template-columns: 1fr; gap: 0; }
  .filters { position: static; display: none; margin-bottom: 16px; }
  .filters.open { display: grid; }
  .filters-toggle { display: flex; width: 100%; margin-bottom: 12px; }
  .results-bar { flex-wrap: wrap; }
  /* bölüm linkleri üst barın ikinci satırına iner */
  .top-in { flex-wrap: wrap; height: auto; padding-top: 12px; gap: 8px 16px; justify-content: space-between; }
  .sections { order: 3; flex-basis: 100%; overflow-x: auto; padding-bottom: 8px; margin: 0 -4px; }
  .nav-link { flex: 1 0 auto; justify-content: center; }
}
@media (max-width: 640px) {
  .pick-4 { grid-template-columns: repeat(2, 1fr); }
  .pick-3, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .auth-form { padding: 20px; }
  .profile-head { grid-template-columns: auto 1fr; gap: 16px; }
  .profile-head > .btn { grid-column: 1 / -1; }
  .big-avatar { width: 64px; height: 64px; font-size: 26px; }
  .facts { grid-template-columns: 1fr; }
  .cards, .cards.clips { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 1fr; }
  .pick-2 { grid-template-columns: 1fr; }
  .page-top .btn { width: 100%; }
}

/* ───────── güvenlik arayüzü ───────── */
.captcha:empty { display: none; }
.captcha { min-height: 65px; }
.btn-danger { background: transparent; color: #ff8a80; border-color: rgba(255, 138, 128, .45); }
.btn-danger:hover { background: rgba(255, 138, 128, .1); border-color: #ff8a80; }
.settings-block { max-width: 720px; margin-top: 8px; }
.settings-block .section-title { margin-top: 48px; }
.settings-block.danger .section-title { color: #ff8a80; }
.settings-block .form { margin-top: 16px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.row-between .help { margin-top: 2px; }
.icon-btn.flag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; vertical-align: middle; }
.clip-tools { margin-left: auto; display: flex; gap: 8px; }
.clip-foot .clip-tools .icon-btn { margin-left: 0; }
.profile-head > .flag { justify-self: end; }
.foot p a { color: var(--muted); }
.foot p a:hover { color: var(--fg); }

.modal {
  width: min(460px, calc(100vw - 32px)); padding: 24px; border-radius: 16px;
  background: var(--surface); color: var(--fg); border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
.modal::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.modal h2 { margin: 0; font-size: 20px; }
.modal .form { gap: 16px; }
.modal[open] { animation: page-in .2s cubic-bezier(.2, .7, .2, 1); }
.report-reasons { display: grid; gap: 10px; }
.report-reasons .check input { border-radius: 50%; }
.report-reasons .check input:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--bg); transform: none; }

.prose h2 { font-size: 18px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--muted); max-width: 70ch; }
.prose b { color: var(--fg); }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 6px; }

/* ───────── kullanıcı menüsü ───────── */
.user-menu { position: relative; }
.nav-user { border: 0; background: transparent; color: var(--fg); cursor: pointer; }
.caret { width: 7px; height: 7px; margin: -3px 2px 0 2px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.nav-user[aria-expanded="true"] .caret { transform: rotate(-135deg); margin-top: 3px; }
.menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px;
  display: grid; padding: 6px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55); transform-origin: top right;
}
.menu:not([hidden]) { animation: drop .16s cubic-bezier(.2, .7, .2, 1); }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 10px; font-size: 14px; }
.menu a, .menu button {
  display: block; width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  font-size: 14px; color: var(--muted); text-decoration: none; transition: background .12s, color .12s, padding .15s;
}
.menu a:hover, .menu button:hover { background: #2c2c33; color: var(--fg); padding-left: 14px; }
.menu hr { border: 0; border-top: 1px solid var(--line-2); margin: 6px 4px; }
.menu a:has(.menu-ico), .menu button:has(.menu-ico) { display: flex; align-items: center; gap: 10px; }
.menu-ico { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .75; transition: transform .25s cubic-bezier(.2, .7, .2, 1.4), opacity .15s; }
.menu a:hover .menu-ico, .menu button:hover .menu-ico { opacity: 1; transform: scale(1.12); }
.menu [data-logout]:hover .menu-ico { transform: translate3d(2px, 0, 0); }
.menu [data-logout]:hover { color: #ff8a80; }

/* ───────── profil ───────── */
.pf-avatar {
  flex: none; display: grid; place-items: center; border-radius: 50%;
  width: 40px; height: 40px; font-weight: 700; font-size: 17px; text-transform: uppercase;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--fg);
}
.pf-avatar.lg { width: 64px; height: 64px; font-size: 26px; }
.pf-avatar.xl {
  width: 112px; height: 112px; font-size: 46px;
  background: radial-gradient(circle at 30% 25%, #3a3a42, #1e1e22 70%); box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line-2);
}
.pf-head { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.pf-id .chips { margin-top: 12px; }
.pf-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 28px; }
.pf-side { display: grid; gap: 14px; position: sticky; top: 84px; }
.pf-card { padding: 18px 20px; background: rgba(23, 23, 26, .82); border: 1px solid var(--line); border-radius: 14px; }
.pf-card h2 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.pf-bio { margin: 0; color: var(--fg); white-space: pre-line; line-height: 1.6; }
.pf-muted { margin: 0; color: var(--dim); font-size: 14px; }
.pf-muted a, .pf-link-empty a { color: var(--fg); text-underline-offset: 3px; }
.pf-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; }
.pf-link + .pf-link { border-top: 1px solid var(--line); }
.pf-link-label { font-size: 13px; color: var(--muted); }
.pf-link-empty { font-size: 13px; color: var(--dim); }
.pf-link-value {
  display: inline-flex; align-items: center; gap: 10px; max-width: 70%; padding: 6px 10px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pf-link-value .code-cta { font-family: var(--sans); font-size: 11px; }
.pf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.pf-stats div { padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.pf-stats dt { font-size: 12px; color: var(--dim); }
.pf-stats dd { margin: 2px 0 0; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pf-tabs { display: inline-flex; margin-bottom: 16px; }
.tab-count { margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--bg); font-size: 11px; color: var(--muted); }

/* ───────── ayarlar paneli ───────── */
.panel { padding-top: clamp(28px, 4vw, 48px); padding-bottom: 80px; }
.panel-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.panel-head .pf-muted { margin-top: 4px; }
.panel-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.panel-nav { display: grid; gap: 4px; position: sticky; top: 84px; }
.panel-tab {
  display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .2s cubic-bezier(.2, .7, .2, 1);
}
.panel-tab b { font-size: 15px; font-weight: 600; }
.panel-tab small { font-size: 12px; color: var(--dim); }
.panel-tab:hover { background: rgba(23, 23, 26, .82); transform: translate3d(3px, 0, 0); }
.panel-tab.on { background: var(--surface); border-color: var(--line-2); }
/* Ayar kartları yan yana: geniş ekranda 2 (çok genişte 3) sütun, dar ekranda tek sütun */
.panel-body { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); align-items: stretch; }
.panel-body > .loading, .panel-body > .empty { grid-column: 1 / -1; }
.panel-part { display: contents; }
.panel-sep { grid-column: 1 / -1; margin: 16px 0 -4px; font-size: 13px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.panel-card { display: flex; flex-direction: column; padding: 24px; background: rgba(23, 23, 26, .82); border: 1px solid var(--line); border-radius: 16px; }
.panel-card.wide { grid-column: 1 / -1; }
/* Form kartlarında "Kaydet" düğmesi kartın altına yaslanır; yan yana kartlar hizalı görünür */
.panel-card > .form { flex: 1; display: flex; flex-direction: column; }
.panel-card > .form .form-foot { margin-top: auto; }
.panel-card > header { margin-bottom: 18px; }
.panel-card > header h2 { margin: 0; font-size: 18px; display: flex; align-items: center; }
.panel-card > header p { margin: 6px 0 0; font-size: 14px; color: var(--muted); max-width: 64ch; }
.panel-card .form { max-width: none; gap: 18px; }
.panel-card .form-foot { border-top: 0; padding-top: 0; }
.panel-card.danger { border-color: rgba(255, 138, 128, .25); }
.panel-card.danger h2 { color: #ff8a80; }
.panel-card .cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.input-prefix { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color .15s; }
.input-prefix:focus-within { border-color: var(--muted); }
.input-prefix span { padding-left: 14px; color: var(--dim); }
.input-prefix input { border: 0 !important; background: transparent !important; padding-left: 4px !important; }
.input-prefix input:disabled { color: var(--dim); cursor: not-allowed; }
.pw-meter { height: 4px; margin-top: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--dim); transition: width .25s, background .25s; }
.pw-meter[data-s="1"] i { width: 20%; background: #ff8a80; }
.pw-meter[data-s="2"] i { width: 45%; background: #c9c9cf; }
.pw-meter[data-s="3"] i { width: 65%; background: #dcdce0; }
.pw-meter[data-s="4"] i { width: 85%; background: var(--fg); }
.pw-meter[data-s="5"] i { width: 100%; background: #fff; }

@media (max-width: 860px) {
  .pf-head { grid-template-columns: auto 1fr; gap: 18px; }
  .pf-actions { grid-column: 1 / -1; }
  .pf-avatar.xl { width: 80px; height: 80px; font-size: 32px; }
  .pf-grid, .panel-grid { grid-template-columns: 1fr; }
  .pf-side, .panel-nav { position: static; }
  .panel-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .panel-tab small { display: none; }
  .pf-tabs { display: flex; overflow-x: auto; }
}
@media (max-width: 640px) {
  .nav-user-name { display: none; }
  .panel-card { padding: 18px; }
}

/* ───────── geçişli renkli etiketler (rank, rol, seviye) ───────── */
.chip.grad {
  position: relative; border-color: color-mix(in srgb, var(--g1) 40%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--g1) 16%, transparent), color-mix(in srgb, var(--g2) 12%, transparent));
  font-weight: 600; overflow: hidden;
}
.chip.grad span, .gtext {
  background: linear-gradient(100deg, var(--g1), var(--g2) 55%, var(--g1));
  background-size: 200% 100%; background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position .8s cubic-bezier(.2, .7, .2, 1);
}
.chip.grad:hover { border-color: color-mix(in srgb, var(--g1) 75%, transparent); transform: translate3d(0, -1px, 0); }
.chip.grad:hover span, a:hover .gtext { background-position: 100% 50%; }
/* üzerine gelince etiketin üstünden ışık geçer */
.chip.grad::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%);
  transform: translate3d(-120%, 0, 0);
}
.chip.grad:hover::after { transform: translate3d(120%, 0, 0); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.gtext { font-weight: 600; }
.chip.early { box-shadow: 0 0 14px color-mix(in srgb, var(--g2) 25%, transparent); }
/* Üyelik seviyesi (Yeni üye, Üye, Müdavim…): özel değil, sadece rengi var; animasyon/parlama yok */
.chip.grad.tier { overflow: visible; background: color-mix(in srgb, var(--g1) 10%, transparent); border-color: color-mix(in srgb, var(--g1) 35%, transparent); }
.chip.grad.tier span { background: none; color: var(--g1); transition: none; }
.chip.grad.tier::after { content: none; }
.chip.grad.tier:hover { transform: none; border-color: color-mix(in srgb, var(--g1) 35%, transparent); }

/* ───────── profil fotoğrafı ───────── */
.pf-avatar.has-img { overflow: hidden; padding: 0; background: var(--surface-2); }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-avatar.nav { width: 28px; height: 28px; font-size: 13px; transition: transform .25s cubic-bezier(.2, .7, .2, 1.4); }
.nav-user:hover .pf-avatar.nav { transform: scale(1.1); }
.pp-now { display: inline-flex; align-items: center; gap: 12px; }
.pp-now b { font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────── üyelik seviyesi ───────── */
.pf-since { display: grid; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.pf-since b { color: var(--muted); font-weight: 600; }
.tier-progress { height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.tier-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8e8e96, var(--fg)); }

/* ───────── menü ikonları ───────── */
.nav-link { gap: 8px; }
.nav-ico { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; transition: transform .25s cubic-bezier(.2, .7, .2, 1.4), opacity .15s; }
.nav-link:hover .nav-ico { transform: translate3d(0, -1px, 0) rotate(-8deg) scale(1.1); opacity: 1; }
.nav-link.on .nav-ico { opacity: 1; }

/* ───────── kart okunurluğu + paylaşan satırı ───────── */
.card { padding: 20px; gap: 12px; }
.c-title { font-size: 18px; font-weight: 650; line-height: 1.35; color: var(--fg); letter-spacing: -.005em; }
.c-note { color: #c2c2c9; font-size: 14.5px; line-height: 1.55; }
.c-meta { color: #d6d6db; }
.chip { font-size: 12.5px; color: #b6b6bd; }
.chip.strong { color: var(--fg); }
.c-kind { align-self: flex-start; }
.c-author { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.c-author > time { font-size: 12.5px; color: var(--dim); white-space: nowrap; }
.c-author > time.soon { color: var(--fg); }
.c-author-link { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.c-author-text { display: grid; line-height: 1.25; min-width: 0; }
.c-author-text b { font-size: 14px; font-weight: 600; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-author-text small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-author-link:hover b { text-decoration: underline; text-underline-offset: 3px; }
.c-author-link .pf-avatar { transition: transform .25s cubic-bezier(.2, .7, .2, 1.4), border-color .2s; }
.c-author-link:hover .pf-avatar { transform: scale(1.08); border-color: var(--dim); }
.pf-avatar.sm { width: 32px; height: 32px; font-size: 13px; }
.card.clip .c-author { margin-bottom: 2px; }

/* ───────── profil: takip, rozet, itibar ───────── */
.pf-follow { display: flex; gap: 16px; margin-top: 12px; }
.link-btn { border: 0; background: none; padding: 0; cursor: pointer; font-size: 14px; color: var(--muted); }
.link-btn b { color: var(--fg); font-weight: 700; }
.link-btn:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.pf-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
/* Etiketler (Yeni üye, rank, main ajan…) tıklanmaz: üzerine gelince imleç değişmesin, yazı seçilmesin */
.chip, .chip *, .c-ranks, .c-role, .c-mic, .riot-badge, .staff-shield { cursor: default; user-select: none; -webkit-user-select: none; }
/* ───────── sesli arama ───────── */
.call-btn { display: inline-flex; align-items: center; gap: 7px; }
.call-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.call-btn.icon-only { width: 36px; padding: 0; justify-content: center; }
.call-btn:hover { color: #4ade80; border-color: rgba(74, 222, 128, .45); }
.call-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 200; width: min(340px, calc(100vw - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px;
  background: rgba(23, 23, 26, .96); border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55); backdrop-filter: blur(12px);
  animation: call-in .35s cubic-bezier(.2, .7, .2, 1.3);
}
@keyframes call-in { from { opacity: 0; transform: translate3d(0, 16px, 0) scale(.96); } }
.call-dock.in { border-color: rgba(74, 222, 128, .5); box-shadow: 0 0 0 4px rgba(74, 222, 128, .08), 0 20px 50px rgba(0, 0, 0, .55); }
.call-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.call-av { position: relative; flex: none; }
.call-av .pf-avatar { width: 48px; height: 48px; font-size: 18px; }
.call-dock.in .call-av::after, .call-dock.out .call-av::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #4ade80; opacity: 0;
  animation: call-pulse 1.6s ease-out infinite;
}
@keyframes call-pulse { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.call-txt { display: grid; min-width: 0; line-height: 1.3; }
.call-txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-txt small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.call-dock.active .call-txt small { color: #4ade80; }
.call-btns { display: flex; gap: 8px; flex: none; }
.call-b { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; transition: transform .2s cubic-bezier(.2, .7, .2, 1.6), filter .15s; }
.call-b svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.call-b:hover { transform: scale(1.08); filter: brightness(1.1); }
.call-b.yes { background: #22c55e; animation: call-shake 1.2s ease-in-out infinite; }
.call-b.no { background: #ef4444; }
.call-b.no svg { fill: #fff; stroke: none; }
.call-b.mute { background: var(--surface-2); border: 1px solid var(--line-2); }
.call-b.mute.on { background: #fff; }
.call-b.mute.on svg { stroke: #111113; }
@keyframes call-shake { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-12deg); } 20%, 40% { transform: rotate(12deg); } }

/* ───────── şikayet paneli ───────── */
.mod-summary { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.mod-summary b { color: var(--fg); font-size: 18px; margin-right: 4px; }
.mod-filter { margin-bottom: 16px; flex-wrap: wrap; height: auto; }
.mod-reports { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mod-report { display: grid; gap: 12px; padding: 16px 18px; border-left: 3px solid var(--line-2); }
.mod-report.mid { border-left-color: #ffc23d; }
.mod-report.high { border-left-color: #ff4655; }
.mod-r-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mod-type { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mod-count { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); }
.mod-report.mid .mod-count { color: #ffc23d; }
.mod-report.high .mod-count { color: #ff4655; background: rgba(255, 70, 85, .12); }
.mod-r-head .mod-meta { margin: 0 0 0 auto; }
.mod-reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mod-reasons li { font-size: 12px; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.mod-reasons b { color: var(--fg); }
.mod-target { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.mod-owner { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.mod-target blockquote { margin: 0; padding-left: 10px; border-left: 2px solid var(--line-2); color: #d6d6db; font-size: 14px; overflow-wrap: anywhere; white-space: pre-wrap; }
.mod-target .mod-meta, .mod-target p { margin: 0; }
.mod-hist { justify-self: start; font-size: 12px; color: var(--muted); text-decoration: none; padding: 2px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.mod-hist b { color: var(--fg); }
.mod-hist.high { color: #ffb4b4; border-color: rgba(255, 70, 85, .4); }
.mod-hist:hover { border-color: var(--line-2); }

/* Yönetim: en çok şikayet alanlar (sade liste, tıklayınca detay) */
.mu-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.mu-tools .mod-filter { margin: 0; }
.mu-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--dim); }
.mu-legend span { display: inline-flex; align-items: center; gap: 5px; }
.mu-legend i, .mu-kv i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.mu-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.mu + .mu { border-top: 1px solid var(--line); }
.mu-row { display: grid; grid-template-columns: 28px minmax(0, 1.4fr) minmax(60px, 1fr) 64px 56px; align-items: center; gap: 14px; padding: 12px 16px; cursor: pointer; list-style: none; transition: background .15s; }
.mu-row::-webkit-details-marker { display: none; }
.mu-row:hover, .mu details[open] .mu-row { background: var(--surface-2); }
.mu-no { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; text-align: center; }
.mu.high .mu-no { color: #ff6b6b; font-weight: 700; }
.mu-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mu-who > span:last-child { display: grid; min-width: 0; line-height: 1.25; }
.mu-who b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mu-who small { font-size: 11px; color: var(--dim); }
.mu-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px; background: var(--line); }
.mu-bar i { display: block; min-width: 4px; }
.mu-num { display: grid; justify-items: end; line-height: 1.1; }
.mu-num b { font-size: 18px; font-variant-numeric: tabular-nums; }
.mu-num small { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.mu.mid .mu-num:not(.warn) b { color: #fbbf24; }
.mu.high .mu-num:not(.warn) b { color: #ff6b6b; }
.mu-num.warn b { color: var(--dim); }
.mu-num.warn.on b { color: #ff8a8a; }
.mu-detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 6px 16px 16px 58px; background: var(--surface-2); }
.mu-detail h4 { margin: 0 0 8px; font-size: 11px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
.mu-kv { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.mu-kv li { display: flex; align-items: center; gap: 6px; }
.mu-kv b { margin-left: auto; color: var(--fg); font-variant-numeric: tabular-nums; }
.mu-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.mu-foot .mod-meta { margin-right: auto; }
@media (max-width: 640px) {
  .mu-row { grid-template-columns: 22px minmax(0, 1fr) 52px 44px; gap: 10px; padding: 12px; }
  .mu-bar { grid-column: 2 / -1; grid-row: 2; }
  .mu-detail { grid-template-columns: 1fr; padding: 6px 12px 14px; }
}
.mod-gone { margin: 0; font-size: 13px; color: var(--dim); font-style: italic; }
.mod-who summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.mod-who ol { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.mod-who ol p { margin: 2px 0 0; color: var(--fg); }
.mod-report .mod-actions { margin-top: 0; padding-top: 12px; }
/* ───────── Sosyal: sekmeler, arkadaş / arama satırları ───────── */
.soc-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.soc-tabs a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 9px;
  font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; transition: background .15s, color .15s;
}
.soc-tabs a:hover { color: var(--fg); background: var(--surface-2); }
.soc-tabs a.on { color: var(--fg); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.soc-tabs .dot-count { min-width: 17px; height: 17px; font-size: 10px; background: #ff4655; color: #fff; }
.soc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; transition: background .15s; }
.soc-row:hover { background: var(--surface-2); }
.soc-who { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--fg); }
.soc-who > span { display: grid; min-width: 0; line-height: 1.3; }
.soc-who b { font-size: 14px; display: inline-flex; align-items: center; white-space: nowrap; }
.soc-who small { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-acts { display: flex; gap: 6px; flex: none; }
.soc-acts .icon-only { width: 34px; height: 34px; padding: 0; display: inline-grid; place-items: center; }
.soc-acts .icon-only svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.soc-panel { padding: 24px; display: grid; align-content: start; gap: 28px; overflow-y: auto; flex: 1; min-height: 0; }
.soc-panel h2 { margin: 0 0 4px; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.soc-panel .help { margin: 0 0 12px; }
.soc-search { margin-bottom: 8px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface-2); }
.soc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.call-row.missed .soc-who b { color: #ff6b6b; }
.call-dir { font-style: normal; margin-right: 5px; }
.call-dir.out { color: #4ade80; }
.call-dir.in { color: #8cc4ff; }
.call-row.missed .call-dir { color: #ff6b6b; }

/* ───────── yeni mesaj kutucuğu: sağ altta, sağdan sola kayarak açılır ───────── */
.msg-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 190; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.call-dock ~ .msg-toasts, body:has(.call-dock) .msg-toasts { bottom: 120px; }
.msg-toast {
  pointer-events: auto; position: relative; overflow: hidden; width: min(340px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 8px; padding: 12px 10px 12px 14px;
  background: rgba(23, 23, 26, .97); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  backdrop-filter: blur(12px); transform-origin: right center;
  animation: mt-in .45s cubic-bezier(.2, .8, .2, 1.15) both;
}
@keyframes mt-in { from { opacity: 0; transform: translate3d(110%, 0, 0) scaleX(.6); } to { opacity: 1; transform: none; } }
.msg-toast.out { animation: mt-out .3s cubic-bezier(.4, 0, 1, 1) forwards; }
@keyframes mt-out { to { opacity: 0; transform: translate3d(60%, 0, 0); } }
.mt-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.mt-text { display: grid; min-width: 0; line-height: 1.35; }
.mt-text b { font-size: 14px; }
.mt-text small { font-size: 13px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mt-acts { display: flex; flex-direction: column; gap: 4px; flex: none; }
.mt-b { width: 28px; height: 28px; border-radius: 8px; border: 0; background: transparent; color: var(--dim); cursor: pointer; display: grid; place-items: center; font-size: 12px; transition: background .15s, color .15s; }
.mt-b:hover { background: var(--surface-2); color: var(--fg); }
.mt-b svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mt-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, #4ade80, #8cc4ff); transform-origin: left; animation: mt-bar 7s linear forwards; }
.msg-toast.hold .mt-bar { animation-play-state: paused; }
@keyframes mt-bar { to { transform: scaleX(0); } }
/* Sağ üst: okunmamış mesaj noktası (profil fotoğrafının sol üstünde) */
.nav-av { position: relative; display: inline-flex; }
.nav-dot { position: absolute; left: -2px; top: -2px; width: 10px; height: 10px; border-radius: 50%; background: #ff4655; box-shadow: 0 0 0 2px var(--bg); animation: pop .35s cubic-bezier(.2, .7, .2, 1.4); }
/* Karşılıklı takip: "Arkadaş" butonu */
.friend-btn { color: #4ade80; border-color: rgba(74, 222, 128, .45); }
.friend-btn::before { content: "✓"; margin-right: 6px; font-weight: 800; }
/* Destek ekibi: profil fotoğrafının sağ altında kırmızı kalkan (Instagram tiki gibi) */
.av-wrap { position: relative; display: inline-flex; flex: none; }
.staff-shield {
  position: absolute; right: -2px; bottom: -2px; width: 34%; min-width: 14px; max-width: 34px; aspect-ratio: 1;
  display: grid; place-items: center; pointer-events: auto;
}
.staff-shield svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.staff-shield .sh { fill: #ff4655; stroke: var(--bg); stroke-width: 2.2; stroke-linejoin: round; paint-order: stroke; }
.staff-shield .tk { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pf-head .staff-shield { right: 2px; bottom: 2px; }

/* Riot doğrulama işareti (mavi tik gibi, kırmızı Riot simgesi) */
.riot-badge {
  display: inline-block; width: .78em; height: .78em; min-width: 13px; min-height: 13px; margin-left: .35em; vertical-align: -.06em; flex: none;
  background: #ff4655; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(255, 70, 85, .35));
}
h1 .riot-badge { width: .55em; height: .55em; vertical-align: .08em; }
.c-author-text b { display: inline-flex; align-items: center; }
.c-author-text .riot-badge { width: 13px; height: 13px; margin-left: 5px; }
.chip.rank-chip { display: inline-flex; align-items: center; gap: 6px; padding-left: 5px; }
.chip.rank-chip img { position: relative; z-index: 1; width: 20px; height: 20px; object-fit: contain; }

/* Rank aralığı: başlığın sağında, kutusuz, sadece Valorant'ın gerçek rank simgeleri */
.c-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.c-title-row .c-title { min-width: 0; }
.c-ranks { display: inline-flex; align-items: center; gap: 4px; flex: none; margin-top: 1px; cursor: default; }
.rank-ico { width: 26px; height: 26px; object-fit: contain; flex: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .55)); transition: transform .25s cubic-bezier(.2, .7, .2, 1.6); }
.c-ranks:hover .rank-ico { transform: scale(1.15); }
.rr-sep { font-style: normal; color: var(--dim); font-size: 13px; }

/* Kart üst satırı: solda mod (kutusuz, öne çıkan yazı), sağda mikrofon ve "+2" */
.c-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: -4px; }
.c-mode { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.c-mode.soft { color: var(--muted); }
.c-mode i { font-style: normal; color: var(--dim); margin: 0 6px; }
.c-kicker-side { display: inline-flex; align-items: center; gap: 10px; }
.c-mic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; transition: transform .2s cubic-bezier(.2, .7, .2, 1.6); }
.c-mic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.c-mic.on { color: #4ade80; background: rgba(74, 222, 128, .1); }
.c-mic.off { color: var(--dim); background: var(--surface-2); }
.c-mic:hover { transform: scale(1.1); }
/* Parti kartı: not solda; sağ sütunda üstte +N (üst satırda), altında rank simgeleri, onun altında mikrofon */
/* Sol: mod + not; sağ sütun: +N, rank, mikrofon alt alta, aralıklı. Sol tarafta boşluk kalmaz. */
.c-body { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; flex: 1; }
.c-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.c-main .party-note { margin: 0; }
.c-main .c-code { flex: none; margin-top: auto; padding-top: 4px; }
/* Sağ sütundaki +N, rank ve mikrofon aynı dikey eksende (ortalı) dursun; butonlar sağa yaslı */
.c-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex: none; }
.c-side .c-actions { align-self: flex-end; }
.c-side .c-mic { width: auto; height: auto; background: none; border-radius: 0; }
.c-side .c-mic svg { width: 20px; height: 20px; display: block; }
.c-side .c-slots { color: #4ade80; }
/* Parti kartı ızgarası: satır satır hizalı (takım ilanıyla aynı mantık)
   1. satır: mod +N  |  rank      2. satır: not  |  (boş)      3. satır: parti kodu  |  mikrofon üstte, butonlar altta */
.p-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "mode ranks" "note ." "code side"; column-gap: 16px; row-gap: 12px; flex: 1; }
.p-mode { grid-area: mode; }
.p-ranks { grid-area: ranks; display: flex; justify-content: flex-end; align-items: center; }
.p-note { grid-area: note; margin: 0; min-height: 1.5em; }
.p-code { grid-area: code; flex: none; align-self: end; }
.p-side { grid-area: side; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.p-side .c-mic { width: auto; height: auto; background: none; border-radius: 0; }
.p-side .c-mic svg { width: 20px; height: 20px; display: block; }
.p-side .c-mic { margin-top: -10px; } /* bir tık yukarı */
/* Parti: "+N" modun hemen yanında, aynı hizada */
.c-mode-row { display: flex; align-items: center; gap: 10px; min-height: 24px; }
.c-mode-row .c-slots { color: #4ade80; font-size: 17px; }
.c-actions { display: flex; gap: 8px; margin-top: auto; }
.c-side .c-ranks { margin-top: 0; }
/* Takım ilanı alt satırı: Discord yerine site içi mesaj */
.c-foot .c-msg { flex: 1; justify-content: center; }
.c-own { flex: 1; align-self: center; font-size: 13px; color: var(--dim); }
/* Takım ilanı: başlık sade boyutta; roller solda, mikrofon aynı hizada en sağda (kutusuz) */
.c-title.team-title { font-size: 14px; font-weight: 500; line-height: 1.5; color: #c9c9cf; overflow-wrap: anywhere; }
.c-roles-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.c-roles-row .c-mic { width: auto; height: auto; background: none; border-radius: 0; flex: none; }
.c-roles-row .c-mic svg { width: 20px; height: 20px; display: block; }
/* Takım ilanı rolleri: kutusuz, Valorant rol simgesi + İngilizce ad */
.c-roles { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.c-role { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--fg); }
.role-ico { width: 18px; height: 18px; object-fit: contain; flex: none; opacity: .9; transition: transform .25s cubic-bezier(.2, .7, .2, 1.6); }
svg.role-ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-role:hover .role-ico { transform: scale(1.15); opacity: 1; }
.role-toggle span { display: inline-flex; align-items: center; gap: 7px; }
.role-toggle .role-ico { width: 16px; height: 16px; }
/* Seçili (açık zemin) iken beyaz simgeler kaybolmasın */
.role-toggle input:checked + span img.role-ico { filter: invert(1); }
/* Partide başlık yok: not ana metin */
.c-note.party-note { color: var(--fg); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.c-slots { font-size: 20px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--fg); font-variant-numeric: tabular-nums; }

/* Main ajan etiketi ve seçici */
.chip.agent-chip { display: inline-flex; align-items: center; gap: 6px; padding-left: 4px; color: #fff; font-weight: 600; }
.chip.agent-chip img { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: rgba(0, 0, 0, .3); }
/* Küçük, sade simge ızgarası (isimler fareyle üzerine gelince) */
.agent-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 6px; }
.agent-opt {
  aspect-ratio: 1; padding: 0; border-radius: 9px; cursor: pointer; overflow: hidden;
  border: 1px solid var(--line); background: #121215; opacity: .62; filter: grayscale(.5);
  transition: opacity .15s, filter .15s, border-color .15s, transform .2s cubic-bezier(.2, .7, .2, 1.4);
}
.agent-opt img { display: block; width: 100%; height: 100%; object-fit: cover; }
.agent-opt:hover { opacity: 1; filter: none; transform: translate3d(0, -2px, 0); border-color: var(--line-2); }
.agent-opt.on { opacity: 1; filter: none; border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.agent-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; min-height: 40px; }
.agent-now { display: flex; align-items: center; gap: 10px; }
.agent-now img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #121215; border: 1px solid var(--line-2); }
.agent-now > span { display: grid; line-height: 1.25; }
.agent-now small { font-size: 12px; color: var(--dim); }
.agent-empty { color: var(--muted); font-weight: 600; }

/* Profil: takipçi/takip yanındaki beğeni sayısı */
.pf-likes { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--muted); }
.pf-likes b { color: var(--fg); font-weight: 700; }
.pf-likes svg { width: 15px; height: 15px; fill: #ff4655; stroke: none; }
.code-input { text-transform: uppercase; letter-spacing: .18em; font-size: 18px; }
.more { position: relative; }
.more .menu { right: 0; min-width: 190px; }
.menu .danger:hover { color: #ff8a80; }
.badges { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(23, 23, 26, .82); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; cursor: default;
  animation: rise .5s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 60ms);
  transition: border-color .2s, transform .2s cubic-bezier(.2, .7, .2, 1);
}
.badge svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--fg); fill: none; stroke: var(--bg); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.badge:hover { border-color: var(--dim); transform: translate3d(0, -2px, 0); }
.chip.neg { color: #ffb3ab; border-color: rgba(255, 138, 128, .3); }
.pf-card .btn-block { margin-top: 4px; }

.user-list { list-style: none; margin: 0; padding: 0; display: grid; max-height: 50vh; overflow: auto; }
.user-list li { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px solid var(--line); }
.user-list li:first-child { border-top: 0; }
.user-list a { color: var(--fg); font-weight: 600; text-decoration: none; }
.user-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.user-list small { color: var(--dim); font-size: 12px; margin-left: auto; }
.user-list .btn { margin-left: auto; }

/* ───────── değerlendirme penceresi ───────── */
.rate-form { width: min(560px, 100%); }
.rate-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rate-btn {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; cursor: pointer; text-align: left;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--muted);
  transition: border-color .15s, background .15s, color .15s, transform .2s cubic-bezier(.2, .7, .2, 1.4);
}
.rate-btn svg { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; transition: transform .25s cubic-bezier(.2, .7, .2, 1.6); }
.rate-btn span { display: grid; line-height: 1.3; }
.rate-btn b { font-size: 14px; }
.rate-btn small { font-size: 12px; color: var(--dim); }
.rate-btn:hover { color: var(--fg); transform: translate3d(0, -2px, 0); }
.rate-btn:hover svg { transform: scale(1.12) rotate(-6deg); }
.rate-btn.up.on { border-color: #2f7a4f; color: #4ade80; background: #0f1f16; }
.rate-btn.down.on { border-color: #7a2f2f; color: #ff6b6b; background: #1f0f0f; }
.rt-cats { display: grid; gap: 4px; padding: 6px 0; }
.rt-cat { display: grid; grid-template-columns: minmax(0, 1fr) auto 70px; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; transition: background .15s; }
.rt-cat:hover { background: var(--surface-2); }
.rt-cat-label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rt-cat-label svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.rt-cat-label > span { display: grid; line-height: 1.25; min-width: 0; }
.rt-cat-label b { font-size: 14px; }
.rt-cat-label small { font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-stars { display: flex; gap: 2px; }
.rt-star { width: 28px; height: 28px; padding: 3px; border: 0; background: none; cursor: pointer; border-radius: 6px; }
.rt-star svg { width: 100%; height: 100%; fill: transparent; stroke: var(--dim); stroke-width: 1.6; stroke-linejoin: round; transition: fill .12s, stroke .12s, transform .2s cubic-bezier(.2, .7, .2, 1.6); }
.rt-star:hover svg { transform: scale(1.18); }
.rt-star.on svg { fill: #ffc23d; stroke: #ffc23d; }
.rt-word { font-size: 12px; color: var(--muted); text-align: right; }
.rt-tag span { display: inline-flex; align-items: center; gap: 6px; }
.rt-tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.rt-tag.neg input:checked + span { background: #ff6b6b; border-color: #ff6b6b; color: #1a0b0b; }

/* ───────── profildeki değerlendirme özeti ───────── */
.rv { display: grid; gap: 16px; margin-bottom: 14px; }
.rv svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.rv-empty { display: flex; align-items: center; gap: 10px; color: var(--dim); }
.rv-empty svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rv-empty p { margin: 0; }
.rv-top { display: flex; align-items: center; gap: 16px; }
.rv-ring {
  --c: #4ade80; width: 84px; height: 84px; flex: none; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1.1;
  background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), #3a1d1d 0);
}
.rv-ring.bad { --c: #ff6b6b; }
.rv-ring b { font-size: 19px; font-variant-numeric: tabular-nums; }
.rv-ring small { font-size: 11px; color: var(--dim); }
.rv-top-text { display: grid; gap: 4px; min-width: 0; }
.rv-top-text > small { font-size: 12px; color: var(--dim); }
.rv-split { display: flex; gap: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rv-split span { display: inline-flex; align-items: center; gap: 6px; }
.rv-split svg { width: 17px; height: 17px; }
.rv-split .up { color: #4ade80; }
.rv-split .down { color: #ff6b6b; }
.rv-overall { display: inline-flex; align-items: baseline; gap: 5px; }
.rv-overall svg { width: 15px; height: 15px; fill: #ffc23d; stroke: #ffc23d; align-self: center; }
.rv-overall b { font-size: 18px; }
.rv-overall small { font-size: 12px; color: var(--dim); }
.rv-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rv-cats li { display: grid; grid-template-columns: 18px 104px 1fr 30px; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.rv-cats svg { width: 17px; height: 17px; }
.rv-cats b { color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.rv-meter { display: block; height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.rv-meter i { display: block; height: 100%; border-radius: inherit; transition: width .7s cubic-bezier(.2, .7, .2, 1); }
.rv-meter .hi { background: linear-gradient(90deg, #22c55e, #4ade80); }
.rv-meter .mid { background: linear-gradient(90deg, #e2a227, #ffc23d); }
.rv-meter .lo { background: linear-gradient(90deg, #dc2626, #ff6b6b); }
.rv-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rv-tags li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 99px; font-size: 12px; border: 1px solid; transition: transform .18s; }
.rv-tags li:hover { transform: translate3d(0, -1px, 0); }
.rv-tags svg { width: 14px; height: 14px; }
.rv-tags b { font-variant-numeric: tabular-nums; opacity: .8; }
.rv-tags .pos { color: #86efac; border-color: #1f4d33; background: #0f1f16; }
.rv-tags .neg { color: #fca5a5; border-color: #4d1f1f; background: #1f0f0f; }
@media (max-width: 520px) {
  .rate-pick { grid-template-columns: 1fr; }
  .rt-cat { grid-template-columns: 1fr auto; }
  .rt-word { display: none; }
}

/* ───────── üst menü: mesaj simgesi ───────── */
.nav-icon { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); transition: background .15s, color .15s; }
.nav-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; transition: transform .2s cubic-bezier(.2, .7, .2, 1.4); }
.nav-icon:hover, .nav-icon.on { color: var(--fg); background: var(--surface-2); }
.nav-icon:hover svg { transform: translate3d(0, -1px, 0) rotate(-6deg); }
.dot-count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--fg); color: var(--accent-fg); font-size: 11px; font-weight: 700; line-height: 1;
}
.nav-icon .dot-count { position: absolute; top: 2px; right: 0; box-shadow: 0 0 0 2px var(--bg); animation: pop .35s cubic-bezier(.2, .7, .2, 1.4); }

/* ───────── arama ve bildirim panelleri ───────── */
button.nav-icon { border: 0; background: transparent; cursor: pointer; padding: 0; }
.nav-icon[aria-expanded="true"] { color: var(--fg); background: var(--surface-2); }
.search-wrap, .notif-wrap, .msg-wrap { position: relative; }
.msg-pop .dm-item { padding: 9px 10px; }
.msg-pop .dm-item:hover { background: #2c2c33; }
.pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 360px; max-width: calc(100vw - 24px);
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .6); overflow: hidden; transform-origin: top right;
}
.pop:not([hidden]) { animation: drop .16s cubic-bezier(.2, .7, .2, 1); }
.search-field { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.search-field svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search-field input { border: 0 !important; background: transparent !important; padding: 4px 0 !important; font-size: 15px; }
.search-field input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.sr-list, .notif-list { list-style: none; margin: 0; padding: 6px; max-height: 60vh; overflow-y: auto; }
.sr-hint { padding: 14px 10px; font-size: 13px; color: var(--dim); }
.sr-hint b { color: var(--muted); }
.sr-item, .notif { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; transition: background .12s, padding .15s; }
.sr-item:hover, .sr-item.active { background: #2c2c33; }
.sr-item.active { padding-left: 14px; }
.sr-text { display: grid; line-height: 1.3; min-width: 0; }
.sr-text b { font-size: 14px; font-weight: 600; }
.sr-text small { font-size: 12px; color: var(--muted); }
.pop-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.pop-foot { display: block; padding: 11px 14px; border-top: 1px solid var(--line-2); text-align: center; font-size: 13px; color: var(--muted); text-decoration: none; transition: color .15s, background .15s; }
.pop-foot:hover { color: var(--fg); background: #26262c; }
.notif:hover { background: #2c2c33; }
.notif-text { flex: 1; display: grid; gap: 2px; font-size: 13.5px; line-height: 1.4; color: var(--muted); min-width: 0; }
.notif-text b { color: var(--fg); font-weight: 600; }
.notif-text time { font-size: 11.5px; color: var(--dim); }
.notif.unread .notif-text { color: #d9d9de; }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg); flex: none; box-shadow: 0 0 10px rgba(233, 233, 236, .6); }
.notif-ico svg { width: 15px; height: 15px; fill: none; stroke: var(--fg); stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.notif-ico.star svg { stroke: #ffc23d; }
.notif-ico.heart svg { stroke: #ff6b81; }
.notif-list.big { max-height: none; padding: 6px; background: rgba(23, 23, 26, .82); border: 1px solid var(--line); border-radius: 16px; }
.notif-list.big .notif { padding: 12px; }
.notif-list.big .notif-text { font-size: 14.5px; }
.notif-list.big .empty { border: 0; background: none; }
@media (max-width: 640px) {
  .pop { position: fixed; left: 12px; right: 12px; top: 112px; width: auto; }
}

/* ───────── mesajlar ───────── */
.dm { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; padding-top: 24px; padding-bottom: 40px; height: calc(100vh - 64px - 40px); min-height: 520px; }
.dm-side, .dm-main { background: rgba(23, 23, 26, .82); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.dm-side-head { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dm-side-head h1 { margin: 0; font-size: 18px; }
.dm-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.dm-none { padding: 18px; }
.dm-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; text-decoration: none; transition: background .15s; }
.dm-item:hover { background: var(--surface-2); }
.dm-item.on { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.dm-item-text { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.dm-item-text b { font-size: 14px; font-weight: 600; }
.dm-item-text small { font-size: 13px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-item.unread .dm-item-text small { color: var(--fg); }
.dm-item-side { display: grid; justify-items: end; gap: 4px; font-size: 11px; color: var(--dim); }
.dm-empty { margin: auto; text-align: center; padding: 24px; color: var(--muted); }
.dm-empty h2 { margin: 0 0 6px; font-size: 18px; color: var(--fg); }
.dm-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dm-back { display: none; font-size: 26px; line-height: 1; padding: 0 6px; text-decoration: none; color: var(--muted); }
.dm-who { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 1; min-width: 0; }
.dm-who span { display: grid; line-height: 1.25; }
.dm-who small { font-size: 12px; color: var(--dim); }
.dm-scroll { flex: 1; overflow-y: auto; padding: 16px; }
.msg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.msg { max-width: min(560px, 80%); display: grid; gap: 2px; }
.msg.mine { align-self: flex-end; justify-items: end; }
.msg.theirs { align-self: flex-start; }
.msg-body { padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.msg.mine .msg-body { background: var(--fg); color: var(--accent-fg); border-bottom-right-radius: 6px; }
.msg.theirs .msg-body { background: var(--surface-2); border: 1px solid var(--line-2); border-bottom-left-radius: 6px; }
.msg-meta { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--dim); padding: 0 4px; }
.seen { letter-spacing: -2px; color: var(--fg); }
.seen.off { color: var(--dim); }
.msg-flag { border: 0; background: none; padding: 0; font-size: 11px; color: var(--dim); cursor: pointer; opacity: 0; transition: opacity .15s, color .15s; }
.msg:hover .msg-flag, .msg-flag:focus-visible { opacity: 1; }
.msg-flag:hover { color: #ff8a80; }
.msg.fresh { animation: msg-in .3s cubic-bezier(.2, .7, .2, 1); }
@keyframes msg-in { from { opacity: 0; transform: translate3d(0, 8px, 0) scale(.97); } }
.msg-day { align-self: center; margin: 10px 0 4px; font-size: 11px; color: var(--dim); }
.msg-day span { padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.msg-empty { align-self: center; margin: auto; padding: 24px; text-align: center; color: var(--dim); font-size: 14px; max-width: 40ch; }
.dm-compose { border-top: 1px solid var(--line); padding: 12px; display: grid; gap: 6px; }
.dm-input { display: flex; gap: 8px; align-items: flex-end; }
.dm-input textarea { resize: none; min-height: 44px; max-height: 160px; line-height: 1.45; padding: 11px 14px; }
.dm-note { margin: 0; font-size: 12px; color: var(--muted); }
.dm-compose .form-err { min-height: 0; font-size: 12px; }

/* Mesajda fotoğraf: sohbet içinde sınırlı boyut (en fazla 260×320), tıklayınca büyük görünüm */
.msg-img { display: block; padding: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; max-width: min(260px, 100%); }
.msg-img img { display: block; max-width: 100%; max-height: 320px; width: auto; height: auto; min-width: 120px; min-height: 90px; object-fit: cover; }
.msg-img img:not([src]) { width: 200px; height: 150px; animation: shimmer 1.2s linear infinite; background: linear-gradient(90deg, var(--surface-2), #26262c, var(--surface-2)); background-size: 200% 100%; }
.msg-img.broken { cursor: default; }
.msg-img.broken img { visibility: hidden; }
.msg-img.broken::after { content: "Fotoğraf açılamadı"; display: block; padding: 12px 14px; font-size: 12px; color: var(--dim); }
.msg.mine .msg-img { border-bottom-right-radius: 6px; }
.msg.theirs .msg-img { border-bottom-left-radius: 6px; }
.msg.has-img .msg-body { margin-top: 2px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.dm-pic { flex: none; width: 44px; height: 44px; display: inline-grid; place-items: center; cursor: pointer; }
.dm-pic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dm-attach { display: flex; align-items: center; gap: 10px; }
.dm-attach small, .dm-attach-busy { font-size: 12px; color: var(--muted); }
.dm-attach-item { position: relative; display: inline-block; }
.dm-attach-item img { display: block; height: 64px; max-width: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); }
.dm-attach-x { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); font-size: 11px; cursor: pointer; display: grid; place-items: center; }
.img-view { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .86); cursor: zoom-out; animation: fade-in .15s ease-out; }
.img-view img { max-width: min(92vw, 1280px); max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.img-view-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .5); color: #fff; font-size: 15px; cursor: pointer; }
@keyframes fade-in { from { opacity: 0; } }

@media (max-width: 860px) {
  .dm { grid-template-columns: 1fr; height: calc(100vh - 110px); padding-top: 12px; }
  .dm.has-thread .dm-side { display: none; }
  .dm:not(.has-thread) .dm-main { display: none; }
  /* Arkadaşlar sekmesinde telefonda liste ve "arkadaş ekle" alt alta */
  .dm.tab-arkadaslar { height: auto; }
  .dm.tab-arkadaslar .dm-side { max-height: 50vh; }
  .dm.tab-arkadaslar:not(.has-thread) .dm-main { display: flex; }
  .dm-back { display: block; }
  .pf-actions { justify-content: flex-start; }
}

/* ───────── üzerine gelince (hover) animasyonları ─────────
   Sadece transform / opacity: akıcı ve GPU'da. */
.btn { position: relative; overflow: hidden; transition: background .15s, color .15s, border-color .15s, transform .18s cubic-bezier(.2, .7, .2, 1), box-shadow .18s; }
.btn:hover:not(:disabled) { transform: translate3d(0, -2px, 0); }
.btn-solid:hover:not(:disabled) { box-shadow: 0 8px 22px rgba(233, 233, 236, .14); }
/* butonun üstünden geçen ışık */
.btn-solid::after {
  content: ""; position: absolute; top: 0; left: 0; width: 60%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
  transform: translate3d(-160%, 0, 0) skewX(-12deg);
}
.btn-solid:hover:not(:disabled)::after { transform: translate3d(260%, 0, 0) skewX(-12deg); transition: transform .65s cubic-bezier(.2, .7, .2, 1); }
.btn-line:hover:not(:disabled) { box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }

/* menü linklerinin altında ortadan açılan çizgi */
.nav-link { position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1.5px; border-radius: 2px;
  background: var(--fg); transform: scaleX(0); transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.on::after { transform: scaleX(0); }

.avatar { transition: transform .25s cubic-bezier(.2, .7, .2, 1.4); }
.nav-user:hover .avatar { transform: scale(1.1); }

/* kartlarda fareyi takip eden ışık (js: --mx, --my) */
.card, .hub-col, .pf-card, .panel-card { position: relative; }
.card::after, .hub-col::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .07), transparent 45%);
  transition: opacity .3s;
}
.card:hover::after, .hub-col:hover::after { opacity: 1; }

.icon-btn { transition: color .15s, border-color .15s, transform .25s cubic-bezier(.2, .7, .2, 1.4); }
.icon-btn:hover { transform: scale(1.08); }
.icon-btn[data-del-party]:hover, .icon-btn[data-del-team]:hover, .icon-btn[data-del-clip]:hover { transform: rotate(90deg) scale(1.08); color: #ff8a80; border-color: rgba(255, 138, 128, .5); }
.icon-btn.flag:hover svg { animation: wave .5s ease-in-out; }
@keyframes wave { 30% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } }

.chip { transition: border-color .15s, color .15s, transform .2s; }
.chip:hover { border-color: var(--line-2); color: var(--fg); }
.like:hover svg { transform: scale(1.18); }
.like svg { transition: transform .2s cubic-bezier(.2, .7, .2, 1.4); }
.btn-link { display: inline-block; transition: color .15s, transform .2s cubic-bezier(.2, .7, .2, 1); }
.btn-link:hover { transform: translate3d(3px, 0, 0); }
.mini { transition: background .15s; border-radius: 8px; }
.mini-code { transition: border-color .15s, transform .18s; }
.mini-code:hover { transform: translate3d(0, -1px, 0); }
.tab, .seg button { transition: background .15s, color .15s, transform .15s; }
.tab:active, .seg button:active { transform: scale(.96); }
.pick span, .toggle span { transition: border-color .15s, background .15s, color .15s, transform .2s cubic-bezier(.2, .7, .2, 1); }
.pick label:hover span, .toggle:hover span { transform: translate3d(0, -2px, 0); }
.media .play { transition: transform .25s cubic-bezier(.2, .7, .2, 1.4), background .2s; }
.media:hover .play { transform: scale(1.12); background: rgba(15, 15, 17, .9); }
.pf-link-value { transition: border-color .15s, transform .18s; }
.pf-link-value:hover { border-color: var(--dim); transform: translate3d(0, -1px, 0); }

/* ───────── animasyonlar ─────────
   Hepsi sadece transform/opacity kullanır: GPU'da çizilir, sayfayı yeniden düzenlemez. */

/* arka plan: yavaş süzülen, yumuşak ışık lekeleri */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; }
.bg span {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025) 55%, transparent);
  will-change: transform;
  animation: drift-a 38s ease-in-out infinite alternate;
}
.bg span:nth-child(1) { left: -25vmax; top: -30vmax; }
.bg span:nth-child(2) { right: -30vmax; top: 10vh; width: 60vmax; height: 60vmax; animation-name: drift-b; animation-duration: 46s; opacity: .8; }
.bg span:nth-child(3) { left: 20vw; bottom: -40vmax; width: 55vmax; height: 55vmax; animation-name: drift-c; animation-duration: 52s; opacity: .7; }
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(18vw, 14vh, 0) scale(1.15); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-22vw, 18vh, 0) scale(.9); } }
@keyframes drift-c { from { transform: translate3d(0, 0, 0) scale(.95); } to { transform: translate3d(-10vw, -20vh, 0) scale(1.12); } }

/* kartlar hafif şeffaf: arkadaki ışık çok az seçilsin */
.card, .hub-col, .filters, .tabs, .seg, .auth-form, .facts div, .empty { background-color: rgba(23, 23, 26, .82); }

/* sayfa geçişi */
#app > * { animation: page-in .4s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes page-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } }

/* kartlar sırayla belirir (--i: sıra numarası) */
.card, .mini, .hub-col { animation: rise .5s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
.hub-col:nth-child(2) { --i: 2; }
.hub-col:nth-child(3) { --i: 4; }
.quiet .card, .quiet .mini { animation: none; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.985); } }

/* üzerine gelince hafif yükselme */
.card { transition: border-color .2s, transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.card:hover { transform: translate3d(0, -3px, 0); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.btn, .like, .icon-btn, .mini-code, .toggle span { transition: background .15s, color .15s, border-color .15s, transform .12s; }
.btn:active, .like:active, .icon-btn:active, .mini-code:active { transform: scale(.97); }
.like.on svg { animation: pop .35s cubic-bezier(.2, .7, .2, 1.4); }
@keyframes pop { 40% { transform: scale(1.35); } }

/* açılır listeler yumuşak açılır */
.xsel-list:not([hidden]) { animation: drop .16s cubic-bezier(.2, .7, .2, 1); transform-origin: top; }
.xsel.up .xsel-list { transform-origin: bottom; }
@keyframes drop { from { opacity: 0; transform: translate3d(0, -4px, 0) scale(.98); } }

/* ───────── doğrulama işareti (rank ✓, bağlı hesap) ───────── */
.vcheck { width: 15px; height: 15px; flex: none; vertical-align: -3px; }
.vcheck path:first-child { fill: #4fa3ff; }
.vcheck .tick { fill: none; stroke: #0b1a2b; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chip.verified { display: inline-flex; align-items: center; gap: 5px; padding-right: 7px; }
.chip.verified .vcheck { position: relative; z-index: 1; }
.vtag { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; font-size: 11px; color: #8cc4ff; }
.vtag .vcheck { width: 13px; height: 13px; }
.link-btn.inline { font-size: inherit; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* ───────── klip onay durumu ───────── */
.clip-status { margin: 0 0 10px; padding: 8px 11px; border-radius: 9px; font-size: 13px; line-height: 1.45; color: var(--muted); border: 1px solid var(--line-2); background: var(--surface-2); }
.clip-status b { display: block; color: var(--fg); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.clip-status.wait { border-color: #5a4a1f; background: #221d10; }
.clip-status.wait b { color: #ffc23d; }
.clip-status.no { border-color: #5a2626; background: #221212; }
.clip-status.no b { color: #ff6b6b; }
.card.clip.is-pending .media, .card.clip.is-rejected .media { opacity: .72; }



/* ───────── Valorant istatistik kartı (açılır-kapanır) ───────── */
.pf-card.vs { margin-bottom: 18px; position: relative; overflow: hidden; }
.vs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vs-head h2 { margin: 0; }
details.vs { padding: 0; border-color: color-mix(in srgb, var(--rc1) 22%, var(--line)); }
details.vs::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--rc1), var(--rc2), transparent 85%); opacity: .9;
}
details.vs::after {
  content: ""; position: absolute; top: -60px; left: -40px; width: 220px; height: 160px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--rc2) 22%, transparent), transparent); opacity: .7;
}
.vs-sum { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; user-select: none; }
.vs-sum::-webkit-details-marker { display: none; }
.vs-sum:hover .vs-chev { color: var(--fg); background: var(--surface-2); }
.vs-badge { flex: none; display: grid; place-items: center; }
.vs-tier { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 4px 14px color-mix(in srgb, var(--rc2) 45%, transparent)); transition: transform .3s cubic-bezier(.2, .7, .2, 1.5); }
.vs-sum:hover .vs-tier { transform: scale(1.08) rotate(-4deg); }
.vs-tier.empty { display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--dim); font-weight: 800; }
.vs-id { display: grid; gap: 1px; min-width: 0; }
.vs-id small { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-id b { font-size: 18px; font-weight: 800; display: flex; align-items: baseline; gap: 8px; }
.vs-id em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.vs-form { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-left: auto; }
.vs-form i { width: 5px; height: 100%; border-radius: 3px; background: var(--line-2); }
.vs-form i.win { background: #4ade80; }
.vs-form i.loss { background: #ff6b6b; height: 60%; }
.vs-form i.draw { background: var(--muted); height: 80%; }
.vs-key { display: flex; gap: 16px; flex: none; }
.vs-key > span { display: grid; justify-items: end; line-height: 1.1; }
.vs-key small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.vs-key b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vs-key .up b { color: #4ade80; }
.vs-key .down b { color: #ff6b6b; }
.vs-chev { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--muted); transition: transform .3s cubic-bezier(.2, .7, .2, 1), background .15s, color .15s; }
.vs-chev svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
details.vs[open] .vs-chev { transform: rotate(180deg); }
.vs-body { position: relative; z-index: 1; padding: 4px 18px 18px; border-top: 1px solid var(--line); animation: vs-open .3s cubic-bezier(.2, .7, .2, 1); }
@keyframes vs-open { from { opacity: 0; transform: translate3d(0, -6px, 0); } }
.vs-tiles { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; }
.vs-tiles li { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); transition: transform .18s, border-color .18s; }
.vs-tiles li:hover { transform: translate3d(0, -2px, 0); border-color: var(--line-2); }
.vs-tiles small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.vs-tiles b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vs-tiles .up b { color: #4ade80; }
.vs-tiles .down b { color: #ff6b6b; }
.vs-sub { margin: 20px 0 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.vs-sub small { margin-left: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.vs-sub-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 10px; }
.vs-sub-row .vs-sub { margin: 0; }
.vs-sub-row .xsel { width: auto; }
.vs-sub-row .xsel-btn { padding: 6px 30px 6px 12px; font-size: 13px; min-width: 150px; }
.vs-sub-row .xsel-list { right: 0; left: auto; min-width: 100%; }
.vs-agent { width: 32px; height: 32px; border-radius: 8px; background: #1a1a1f; object-fit: cover; display: grid; place-items: center; font-weight: 700; color: var(--muted); flex: none; }
.vs-matches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.vs-matches li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--line-2); transition: transform .18s, background .15s; }
.vs-matches li:hover { transform: translate3d(0, -2px, 0); background: #232328; }
.vs-matches li.win { border-left-color: #4ade80; }
.vs-matches li.loss { border-left-color: #ff6b6b; }
.vs-m-main { display: grid; line-height: 1.2; min-width: 0; flex: 1; }
.vs-m-main b { font-size: 14px; font-variant-numeric: tabular-nums; }
.vs-matches li.win .vs-m-main b { color: #4ade80; }
.vs-matches li.loss .vs-m-main b { color: #ff6b6b; }
.vs-m-main small { font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-m-mode { color: #c9c9cf; font-weight: 600; }
.vs-matches li.ffa { border-left-color: #a78bfa; }
.vs-m-kda { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.vs-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 16px 0 0; font-size: 12px; color: var(--dim); }
@media (max-width: 620px) { .vs-form { display: none; } .vs-key { margin-left: auto; } .vs-sum { gap: 12px; padding: 14px; } }

/* ───────── yönetim paneli ───────── */
.menu-count { margin-left: auto; }
.seg a { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 34px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; transition: background .15s, color .15s; }
.seg a:hover { color: var(--fg); }
.seg a.on { background: var(--surface-2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.mod-tabs { margin-bottom: 20px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.mod-tabs a { white-space: nowrap; flex: none; }
.mod-meta { margin: 8px 0 0; font-size: 12px; color: var(--dim); }
.mod-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.mod-reason { flex: 1; min-width: 150px; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 13px; }
.btn.danger { color: #ff8080; }
.card.mod-done { opacity: 0; transform: scale(.97); transition: opacity .3s, transform .3s; }

/* "Hareketi azalt" açık olanlar (ör. Windows'ta Animasyon efektleri kapalı):
   kayma/yükselme yok, sadece yumuşak belirme; arka plan çok daha yavaş. */
@media (prefers-reduced-motion: reduce) {
  .bg span { animation-duration: 75s !important; }
  @keyframes rise { from { opacity: 0; } }
  @keyframes page-in { from { opacity: 0; } }
  @keyframes drop { from { opacity: 0; } }
  @keyframes pop { 40% { opacity: .6; } }
  .live i { animation: none; }
  .btn:active, .like:active, .icon-btn:active, .mini-code:active { transform: none; }
  /* küçük kalkmalar, ışık geçişi ve alt çizgi kalır; büyük dönme/sallanma kapanır */
  .icon-btn[data-del-party]:hover, .icon-btn[data-del-team]:hover, .icon-btn[data-del-clip]:hover { transform: none; }
  .icon-btn.flag:hover svg { animation: none; }
  .logo:hover .logo-mark { transform: none; }
  .logo:hover .logo-mark svg path { animation: none; }
}
