/* VersusRED ortak katman: lobi, skinler, profil. Ana sayfanın (ana.css) dilini taşır:
   mürekkep zemin, renk alanı kartlar, gren, cam düğmeler, Inter Tight başlık + Inter metin (26.11, Halit seçti; önce Unbounded + Onest).
   Yarıçap kademeleri: takım kartı 32, panel 24, harita karosu 20, satır 16, düğme 14, hap 999. */
:root {
  --ink: #0a090d;
  --ink-2: #131118;
  --line: rgba(255, 255, 255, 0.08);
  --fg: #f6f4f8;
  --fg-2: rgba(246, 244, 248, 0.68);
  --fg-3: rgba(246, 244, 248, 0.6);
  --red: #e5202d;
  --red-hi: #ff3b3f;
  --red-lo: #7c0a14;
  --me: #3141dc;
  --me-lo: #141a6e;
  --ct: #8db7ff;
  --t: #f2bd4a;
  --ok: #4be08a;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --surface: linear-gradient(170deg, #1a1720, #111016);

  /* eski adlar: skinler.css ve profil.css bunları kullanır, yeni değerlere bağlı */
  --asfalt: var(--ink);
  --beton: #17151c;
  --beton-2: #211e28;
  --cizgi: rgba(255, 255, 255, 0.12);
  --kirec: var(--fg);
  --soluk: var(--fg-2);
  --celik: var(--ct);
  --celik-koyu: #1c2250;
  --hardal: var(--t);
  --hardal-koyu: #3d2a08;
  --kirmizi: var(--red-hi);
  --kirmizi-koyu: #4a0a12;
  --yesil: var(--ok);
  --f-govde: var(--text);
  --f-sablon: var(--display);

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
}

/* Harita renkleri ve fotoğrafları (ana sayfayla aynı tonlar) */
.m-de_dust2 { --c: #e0741c; --img: url('maps/de_dust2.webp'); }
.m-de_inferno { --c: #d29a14; --img: url('maps/de_inferno.webp'); }
.m-de_train { --c: #7c9022; --img: url('maps/de_train.webp'); }
.m-de_ancient { --c: #23935a; --img: url('maps/de_ancient.webp'); }
.m-de_anubis { --c: #0d97a8; --img: url('maps/de_anubis.webp'); }
.m-de_nuke { --c: #2a6fdc; --img: url('maps/de_nuke.webp'); }
.m-de_vertigo { --c: #4b4cd2; --img: url('maps/de_vertigo.webp'); }
.m-de_mirage { --c: #8343d2; --img: url('maps/de_mirage.webp'); }
.m-de_overpass { --c: #bf358c; --img: url('maps/de_overpass.webp'); }
.m-other { --c: #4a4655; }

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--fg);
  font: 400 16px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 50;
  background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
main { position: relative; z-index: 1; outline: none; }

/* Üstten ışık: barın altından başlar. Marka kırmızısı solda, oyuncu mavisi sağda; turuncu ara ton yok. */
.leak {
  position: absolute; inset: 72px 0 auto; height: 520px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 70% at 20% 0%, rgba(229, 32, 45, 0.34), transparent 72%),
    radial-gradient(34% 60% at 86% 0%, rgba(49, 65, 220, 0.24), transparent 72%);
  filter: blur(40px);
}

/* Yüzey katmanları: gren + çapraz ışık */
.grain, .streaks { position: absolute; inset: 0; pointer-events: none; }
.grain { background: url('gren.svg') repeat; background-size: 220px; mix-blend-mode: overlay; opacity: 0.55; }
.streaks {
  background: linear-gradient(112deg,
    transparent 0 46%, rgba(255, 255, 255, 0.16) 46% 51%, transparent 51% 58%,
    rgba(255, 255, 255, 0.09) 58% 60.5%, transparent 60.5%);
  filter: blur(5px);
  mix-blend-mode: soft-light;
}

/* ---------- üst bar ----------
   ana.css ve app.css'te birebir aynı: sayfa geçişinde logo, menü ve "Oyna" kıpırdamasın.
   Düz koyu şerit, altında ince çizgi. Seçili sayfa alttaki kırmızı çizgiyle belli olur.
   Tek iddialı parça "Oyna": köşeleri kesik düz kırmızı (CS arayüzündeki pah köşeler). */
header.bar, header.top {
  position: relative; z-index: 5;
  display: flex; align-items: stretch;
  height: 64px; padding: 0 32px;
  background: #0e0c12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
/* Logo: /assets/logo.svg (VERSUS/RED, harfler şekle çevrilmiş). Yazı ekran okuyucu için aria-label'da. */
.brand {
  align-self: center; margin: 1px 41px 0 0; flex: none; /* 1px: çubuğun alt çizgisi yüzünden yarım piksele düşmesin */
  width: 216px; height: 28px; /* büyük harf 20px, üst/alt kenarı tam piksele denk gelir */
  background: url(logo.svg) 0 0 / 100% 100% no-repeat;
  font-size: 0; color: transparent; text-decoration: none; overflow: hidden;
}
.nav { display: flex; align-items: stretch; gap: 28px; }
.nav a {
  position: relative; display: flex; align-items: center;
  text-decoration: none; color: var(--fg-2); font-weight: 500; font-size: 15px; white-space: nowrap;
}
.nav a:hover { color: #fff; }
.nav a[aria-current='page'] { color: #fff; }
.nav a[aria-current='page']::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--red); border-radius: 3px 3px 0 0;
}
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 20px; min-width: 0; }

/* Sunucu durumu: kutu yok, düz yazı; sağındaki ince çizgi onu düğmelerden ayırır. */
.srv, .server {
  display: inline-flex; align-items: center; gap: 8px; height: 24px; padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px; color: var(--fg-2); white-space: nowrap; text-decoration: none;
}
.srv:hover { color: #fff; }
.server:empty { display: none; }
.srv b, .server b { color: #fff; font-weight: 600; }
/* Ardında düğme ya da kullanıcı yoksa ayırıcı çizgi boşa sallanmasın. */
.server:has(+ .who:empty), .server:last-child { border-right: 0; padding-right: 0; }
.cheat { font-size: 12px; font-weight: 700; height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 4px; }
.cheat.ok { background: rgba(75, 224, 138, 0.14); color: var(--ok); }
.cheat.on { background: var(--red); color: #fff; }

.play {
  --cut: 9px;
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 22px 0 18px;
  background: var(--red); color: #fff; text-decoration: none;
  font: 800 15px/1 var(--display);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.play::before {
  content: ''; width: 0; height: 0;
  border-left: 8px solid currentColor; border-block: 5px solid transparent;
}
.play:hover { background: var(--red-hi); }
/* Kesik köşe odak çizgisini de keser: klavyeyle gelince düz köşeye döner. */
.play:focus-visible { clip-path: none; border-radius: 6px; }

.who { display: flex; align-items: center; gap: 10px; }
.who:empty { display: none; }
.who img, .who .ph { width: 32px; height: 32px; border-radius: 50%; font-size: 14px; }
.who .name { font-weight: 600; font-size: 15px; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-me {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 15px;
}
.who-me:hover { background: rgba(255, 255, 255, 0.06); }
.who .glass-btn.sm { border-radius: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-3); flex: none; display: inline-block; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px rgba(75, 224, 138, 0.2); }
.dot.off { background: #8a8494; }

/* ---------- düğmeler ---------- */
.btn {
  appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 14px; cursor: pointer;
  font: 600 16px/1 var(--text); color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background 0.15s, transform 0.15s, filter 0.15s;
}
.btn:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12)); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn.small { min-height: 34px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.24); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn.red {
  background: linear-gradient(180deg, var(--red-hi), var(--red)); border-color: transparent;
  box-shadow: 0 10px 24px -12px rgba(229, 32, 45, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn.red:hover { filter: brightness(1.08); background: linear-gradient(180deg, var(--red-hi), var(--red)); }
.btn.steam { background: #fff; color: var(--ink); border-color: #fff; font-weight: 700; font-size: 17px; min-height: 52px; padding: 0 26px; }
.btn.steam:hover { background: #fff; filter: brightness(0.94); }
.btn.ready-on { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 10px 24px -12px rgba(255, 255, 255, 0.6); }
.btn.ready-on:hover { background: #fff; filter: brightness(0.94); }
.link { background: none; border: 0; padding: 0; color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.link:hover { color: #fff; }

/* ---------- giriş kapısı (misafir /lobi) ---------- */
.landing { max-width: 1120px; margin: 0 auto; padding: 40px 32px 72px; }
.gate-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 380px; border-radius: 32px; display: flex; align-items: center;
  background:
    radial-gradient(50% 80% at 92% 6%, rgba(255, 110, 80, 0.7), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(80, 0, 12, 0.7), transparent 70%),
    linear-gradient(135deg, #d81d29 0%, #b5101c 48%, #7e0914 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 40px 80px -40px rgba(229, 32, 45, 0.7);
}
.gate-card .grain, .gate-card .streaks { z-index: -1; }
.gc-agent {
  position: absolute; right: 4%; bottom: 0; height: 112%; width: auto; max-width: none; z-index: 0;
  transform: translateY(14%); pointer-events: none;
  filter: drop-shadow(-12px 0 24px rgba(60, 0, 8, 0.55));
}
.gc-body { position: relative; z-index: 1; padding: 48px; max-width: 60%; display: grid; gap: 20px; justify-items: start; }
.gc-title { font: 900 64px/0.95 var(--display); letter-spacing: -0.02em; margin: 0; }
.gc-body p { margin: 0; font-size: 18px; max-width: 38ch; }
.gc-body .fine { font-size: 14px; color: rgba(255, 255, 255, 0.8); max-width: 50ch; }
.how { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: adim; }
.how li { counter-increment: adim; padding: 20px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.how li::before { content: counter(adim); display: block; font: 800 28px/1 var(--display); color: rgba(255, 255, 255, 0.24); margin-bottom: 16px; }
.how li:last-child::before { color: var(--red-hi); }
.how h2 { margin: 0 0 4px; font: 800 16px/1.25 var(--display); }
.how p { margin: 0; color: var(--fg-2); font-size: 14px; }

/* ---------- ortak ---------- */
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.boot { padding: 48px 32px; color: var(--fg-2); }
.empty-note { color: var(--fg-2); font-size: 14px; margin: 0; }
.err { color: #ff8a92; }

/* ---------- lobi ---------- */
.lobby { padding: 12px 32px 72px; max-width: 1360px; margin: 0 auto; }
/* Geniş ekranda üç sütun: sohbet | lobi | oda. Daha darda sohbet ve oda lobinin altına iner. */
.lobby.rails {
  max-width: 1880px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 320px;
  grid-template-areas: 'chat main side';
  gap: 24px;
  align-items: start;
}
.center { grid-area: main; min-width: 0; }
.rail-l { grid-area: chat; position: sticky; top: 16px; min-width: 0; }
.rail-r { grid-area: side; display: grid; gap: 16px; min-width: 0; }
.center > div:empty { display: none; }
.arena {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* takım kartları: ana sayfanın afişleri gibi renk alanı */
.team { position: relative; isolation: isolate; overflow: hidden; padding: 24px; border-radius: 32px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.team::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('gren.svg') repeat; background-size: 220px; mix-blend-mode: overlay; opacity: 0.5;
}
.team.ct {
  background:
    radial-gradient(70% 70% at 0% 0%, rgba(120, 140, 255, 0.6), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(8, 10, 60, 0.75), transparent 70%),
    linear-gradient(150deg, #3b4cf0 0%, var(--me) 45%, var(--me-lo) 100%);
}
.team.t {
  text-align: right;
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(255, 214, 120, 0.55), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(50, 24, 0, 0.75), transparent 70%),
    linear-gradient(210deg, #d99a1a 0%, #a86a08 45%, #4d2c02 100%);
}
.team-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 10px 12px; margin-bottom: 20px; min-height: 48px;
}
.tn { display: flex; align-items: center; gap: 6px; min-width: 0; }
.team-head h2 { font: 900 44px/1 var(--display); letter-spacing: -0.02em; margin: 0; color: #fff; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-head h2.long { font-size: 28px; }
.pen { flex: none; font-size: 15px; color: rgba(255, 255, 255, 0.6); }
.tname { display: flex; gap: 8px; min-width: 0; }
.tname input[type='text'] {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 14px;
  font: 800 22px/1 var(--display); color: #fff;
  background: rgba(0, 0, 0, 0.32); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 14px;
}
.tname .btn { min-height: 46px; }
.team-meta {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  font-size: 14px; color: rgba(255, 255, 255, 0.82); min-height: 34px;
}
.capl { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.capl b { color: #fff; font-weight: 700; }
.capl .link { color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.capl .btn.ghost { border-color: rgba(255, 255, 255, 0.55); }
.team-head .count {
  align-self: center; font: 800 14px/1 var(--display); font-variant-numeric: tabular-nums;
  padding: 8px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.26); border: 1px solid rgba(255, 255, 255, 0.2);
}
.team.t .team-head { grid-template-columns: auto minmax(0, 1fr); }
.team.t .tn, .team.t .tname { order: 2; flex-direction: row-reverse; }
.team.t .team-head .count { order: 1; }
.team.t .team-meta { order: 3; flex-direction: row-reverse; }

.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.slot {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 12px 10px 10px;
  border-radius: 16px;
  background: rgba(10, 9, 13, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.team.t .slot { grid-template-columns: auto minmax(0, 1fr) 40px; padding: 10px 10px 10px 12px; }
.team.t .slot > .av { order: 3; }
.team.t .slot > .meta { order: 2; }
.team.t .slot > .state { order: 1; }
.slot.ready { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.34); }
.slot.me { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.slot.me .nm::after { content: ' (sen)'; color: rgba(255, 255, 255, 0.7); font-weight: 400; }
.slot.away { opacity: 0.55; }
.av { width: 40px; height: 40px; border-radius: 50%; background: #2a2631; object-fit: cover; flex: none; }
.ph { display: grid; place-items: center; font-weight: 700; color: var(--fg-2); background: #2a2631; }
.meta { min-width: 0; }
.nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm a { text-decoration: none; }
.nm a:hover { text-decoration: underline; }
.sub { font-size: 13px; color: var(--fg-2); }
.team .sub { color: rgba(255, 255, 255, 0.75); }
.state { display: flex; align-items: center; gap: 8px; }
.team.t .state { flex-direction: row-reverse; }
.tag { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.3); color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.slot.ready .tag { background: #fff; color: var(--ink); }
.team.ct .slot.ready .tag { color: #1d2690; }
.team.t .slot.ready .tag { color: #6a4004; }
.badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-right: 4px; background: rgba(0, 0, 0, 0.3); color: rgba(255, 255, 255, 0.85); }
.badge.own { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; }
.badge.cap { color: var(--ink); background: #fff; }
.tools { display: inline-flex; gap: 2px; }
.team.t .tools { flex-direction: row-reverse; }
.x { width: 30px; height: 30px; border: 0; background: transparent; color: rgba(255, 255, 255, 0.7); cursor: pointer; border-radius: 10px; font-size: 16px; line-height: 1; }
.x:hover { color: #fff; background: rgba(0, 0, 0, 0.3); }
.x.on { color: var(--ink); background: #fff; }
.x.bad:hover { background: var(--red); color: #fff; }
.slot.empty {
  background: transparent; border: 1px dashed rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7); grid-template-columns: 1fr auto; padding-left: 18px;
}
.team.t .slot.empty { grid-template-columns: auto 1fr; padding: 10px 18px 10px 10px; }
.team.t .slot.empty > span { order: 2; }
.slot.empty .btn.ghost { border-color: rgba(255, 255, 255, 0.5); }

/* orta sütun: iki yarım halka. Sol yarı A'nın, sağ yarı B'nin yuvaları; dilim hazır oldukça yanar. */
.seam {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  text-align: center;
}
.ring { position: relative; width: 224px; aspect-ratio: 1; flex: none; }
.ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ring .seg { fill: none; stroke-width: 13; stroke: rgba(255, 255, 255, 0.07); transition: stroke 0.25s, filter 0.25s; }
.ring .ct .seg.in { stroke: rgba(98, 116, 255, 0.42); }
.ring .t .seg.in { stroke: rgba(242, 189, 74, 0.38); }
.ring .ct .seg.rd { stroke: #7083ff; filter: drop-shadow(0 0 6px rgba(112, 131, 255, 0.75)); }
.ring .t .seg.rd { stroke: #f7c04a; filter: drop-shadow(0 0 6px rgba(247, 192, 74, 0.7)); }
.ring .core { fill: rgba(255, 255, 255, 0.025); stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; transition: fill 0.3s; transform-origin: 100px 100px; }
.ring-c { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; pointer-events: none; }
.ring-c b { font: 900 40px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ring-c b.w { font-size: 28px; letter-spacing: -0.01em; }
.ring-c span { font-size: 13px; color: var(--fg-2); }
.arena.all-ready .ring .core { fill: var(--red); stroke: rgba(255, 255, 255, 0.3); }
.arena.all-ready .ring-c span { color: rgba(255, 255, 255, 0.85); }
.arena.all-ready .ring svg { filter: drop-shadow(0 18px 40px rgba(229, 32, 45, 0.55)); }

.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.sides > div { min-width: 0; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); text-align: left; }
.sides > .t { text-align: right; }
.sides b { display: block; font: 800 14px/1.25 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sides .ct b { color: var(--ct); }
.sides .t b { color: var(--t); }
.sides span { font-size: 12px; color: var(--fg-2); font-variant-numeric: tabular-nums; }

.seam .actions { display: grid; gap: 10px; justify-items: stretch; width: 100%; }
.seam .btn { width: 100%; }
.btn.big { min-height: 58px; font: 800 18px/1 var(--display); letter-spacing: -0.01em; border-radius: 18px; }
.connect { font: 900 24px/1 var(--display); letter-spacing: -0.01em; min-height: 64px; border-radius: 18px; }
.copy-cmd { font-size: 13px; justify-self: center; }
.seam-note { margin: 0; font-size: 13px; line-height: 1.4; color: var(--fg-2); max-width: 30ch; }

/* kaptanların seçim isteği */
.dreq { width: 100%; margin-top: auto; display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.dreq h4 { margin: 0; font: 700 14px/1.2 var(--display); }
.dreq ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dreq li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-3); min-width: 0; }
.dreq li b { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dreq li.ct b { color: var(--ct); }
.dreq li.t b { color: var(--t); }
.dreq li.ok span:last-child { color: var(--ok); font-weight: 600; }
.pip { width: 8px; height: 8px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, 0.18); }
.dreq li.ok .pip { background: var(--ok); box-shadow: 0 0 0 3px rgba(75, 224, 138, 0.18); }
.dreq p { margin: 0; font-size: 12px; line-height: 1.4; color: var(--fg-3); }

@media (prefers-reduced-motion: no-preference) {
  .arena.just-ready .ring .core { animation: pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4) both; }
  .arena.just-ready .connect { animation: gelis 0.45s 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
}
@keyframes pop { from { transform: scale(0.82); } to { transform: none; } }
@keyframes gelis { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
.arena.all-ready .connect { box-shadow: 0 16px 40px -12px rgba(229, 32, 45, 1), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

/* kaptan seçimi: sıra şeridi */
.turns { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.turn { display: flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 14px; min-width: 0; }
.turn b { font-weight: 700; }
.turn.ct b { color: var(--ct); }
.turn.t b { color: var(--t); }
.turn span { color: var(--fg-2); }
.turn.on.ct { background: #3b4cf0; border-color: transparent; }
.turn.on.t { background: #d99a1a; border-color: transparent; }
.turn.on b, .turn.on span { color: #fff; }
.turn.on.t b, .turn.on.t span { color: #2a1700; }

/* yazı tura: kaptanların tercihi */
.chip {
  display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px;
  font: 800 11px/1 var(--display); font-style: normal; letter-spacing: 0.04em;
}
.chip.yazi { background: linear-gradient(180deg, #f6f7fa, #a9afba); color: #23262c; }
.chip.tura { background: linear-gradient(180deg, #7d838e, #3d424b); color: #f1f3f6; }
.calls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn.call { border: 0; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 16px rgba(0, 0, 0, 0.3); }
.btn.call.yazi { background: linear-gradient(180deg, #f6f7fa, #a9afba); color: #23262c; }
.btn.call.tura { background: linear-gradient(180deg, #7d838e, #3d424b); color: #f1f3f6; }
.btn.call:hover:not(:disabled) { filter: brightness(1.08); }
.btn.call:disabled { opacity: 0.3; cursor: not-allowed; box-shadow: none; }

/* yazı tura: herkesin ekranında tam ekran atış */
.coin-ov {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; overflow: hidden;
  background: radial-gradient(55% 60% at 50% 58%, rgba(60, 22, 26, 0.7), rgba(6, 5, 9, 0.94));
  backdrop-filter: blur(8px);
  animation: ov-in 0.35s ease-out both, ov-out 0.5s ease-in calc(9.4s - var(--age, 0s)) forwards;
  cursor: pointer;
}
.coin-stage { display: grid; justify-items: center; gap: 4px; width: min(1040px, 100%); }
.coin-stage h3 { margin: 0; font: 800 15px/1 var(--display); letter-spacing: 0.06em; color: var(--fg-3); }
.coin-row { display: grid; grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr); align-items: end; gap: 24px; width: 100%; }
.coin-pit { position: relative; height: 480px; }
.coin-pit::before {
  content: ''; position: absolute; left: -80px; right: -80px; bottom: 10px; height: 140px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220, 226, 236, 0.1), transparent);
}
.coin3d { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* WebGL yoksa düz gri para */
.coin-pit.flat::after {
  content: ''; position: absolute; left: 50%; bottom: 60px; width: 200px; height: 200px; margin-left: -100px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4f6f8, #a7acb4 55%, #6c717a);
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.25), inset 0 0 0 14px rgba(0, 0, 0, 0.2), 0 18px 40px rgba(0, 0, 0, 0.5);
}

.call-card {
  display: grid; justify-items: start; gap: 8px; min-width: 0; margin-bottom: 72px; padding: 22px 24px; border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.call-card.ct { background: linear-gradient(150deg, #4b5cf5, #2a33b8); }
.call-card.t { justify-items: end; text-align: right; background: linear-gradient(150deg, #f2b532, #a86a08); }
.call-card .who { max-width: 100%; font: 900 30px/1.05 var(--display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-card .cap { font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.call-card.t .who { color: #2a1700; }
.call-card.t .cap { color: rgba(42, 23, 0, 0.72); }
.call-card .chip { font-size: 13px; padding: 7px 14px; }
.call-card.win.ct { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 70px rgba(75, 92, 245, 0.6); }
.call-card.win.t { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 70px rgba(242, 181, 50, 0.55); }
.call-card.lose { opacity: 0.32; filter: grayscale(0.7); }

.coin-res { display: grid; justify-items: center; gap: 10px; min-height: 150px; text-align: center; }
.face-word {
  font: 900 76px/1 var(--display); letter-spacing: -0.02em; color: transparent;
  background: linear-gradient(180deg, #ffffff, #c9ced6 55%, #7b818b); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 6px 26px rgba(210, 218, 230, 0.25));
}
.coin-res p { margin: 0; font-size: 18px; color: var(--fg-2); }
.coin-res p b.ct { color: var(--ct); }
.coin-res p b.t { color: var(--t); }

@keyframes ov-in { from { opacity: 0; } }
@keyframes ov-out { to { opacity: 0; visibility: hidden; } }
/* Geç açan ekranda zamanlar atışın yaşı (--age) kadar öne alınır. */
@media (prefers-reduced-motion: no-preference) {
  .coin-ov .call-card.win { animation: kart-win 0.7s calc(5s - var(--age, 0s)) both; }
  .coin-ov .call-card.lose { animation: kart-lose 0.7s calc(5s - var(--age, 0s)) both; }
  .coin-ov .face-word { animation: damga 0.55s calc(5s - var(--age, 0s)) cubic-bezier(0.2, 1.5, 0.4, 1) both; }
  .coin-ov .coin-res p { animation: belir 0.4s calc(5.25s - var(--age, 0s)) both; }
  .coin-ov .coin-res .btn { animation: belir 0.4s calc(5.45s - var(--age, 0s)) both; }
}
@keyframes kart-win {
  0% { box-shadow: none; transform: none; }
  45% { transform: scale(1.08); }
  100% { transform: none; }
}
@keyframes kart-lose { from { opacity: 1; filter: none; } }
@keyframes damga { from { opacity: 0; transform: scale(1.8); } }
@keyframes belir { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* oda bilgisi (sağ ray) */
.facts { margin: 0; display: grid; }
.facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--fg-3); }
.facts dd { margin: 0; font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.facts .nc-on dd { color: var(--ok); }
.facts .nc-off dd { color: var(--red-hi); }

.notice { margin: 0 0 16px; padding: 14px 18px; border-radius: 16px; background: rgba(229, 32, 45, 0.14); border: 1px solid rgba(255, 59, 63, 0.4); }

/* sohbet (sol ray) */
.chat {
  display: flex; flex-direction: column; height: calc(100vh - 112px); min-height: 440px; max-height: 900px;
  border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden;
}
.chat > h3 { margin: 0; padding: 18px 20px 12px; font: 800 18px/1.2 var(--display); border-bottom: 1px solid var(--line); }
.chat-log {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; margin: 0; padding: 10px 10px 12px;
  display: flex; flex-direction: column; gap: 2px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
.chat-empty { margin-top: auto; padding: 8px 10px; color: var(--fg-3); font-size: 14px; }
.msg { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; padding: 6px 8px; border-radius: 12px; }
.msg:first-child { margin-top: auto; }
.msg:hover { background: rgba(255, 255, 255, 0.03); }
.msg > .av { width: 30px; height: 30px; font-size: 12px; grid-row: span 2; margin-top: 2px; }
.msg-h { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.msg-h b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-h b.ct { color: var(--ct); }
.msg-h b.t { color: var(--t); }
.msg-h time { flex: none; font-size: 12px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.msg p { margin: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.msg.cont { padding-top: 0; }
.msg.cont p { grid-column: 2; }
.msg.sys { display: block; margin: 6px 0; padding: 8px 12px; background: rgba(229, 32, 45, 0.1); border: 1px solid rgba(255, 59, 63, 0.24); }
.msg.sys p { font-size: 13px; color: var(--fg-2); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.18); }
.chat-form input[type='text'] { flex: 1; min-width: 0; min-height: 42px; padding: 0 16px; border-radius: 999px; }
.chat-form input[type='text']:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.chat-form .btn { min-height: 42px; border-radius: 999px; }

.maps-panel { margin-top: 16px; }
.srv-map { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.srv-map p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.srv-map p b { font: 800 16px/1.2 var(--display); color: #fff; }
.srv-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.srv-pick .sub { margin-right: 4px; }
.srv-pick .btn.on { opacity: 1; border-color: var(--ok); color: var(--ok); }
.rail-r .panel { padding: 18px 20px 20px; }
.rail-r .flist li { grid-template-columns: 32px minmax(0, 1fr) auto; }
.rail-r .flist li > .sub { display: none; }

/* yan panel: izleyiciler, arkadaşlar */
.panel { padding: 20px 24px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.panel h3 { font: 800 18px/1.2 var(--display); margin: 0 0 16px; display: flex; align-items: baseline; gap: 10px; }
.panel h3 small { font: 500 14px/1 var(--text); color: var(--fg-3); }
.panel h3 small a { color: var(--fg-2); }
.bench { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bench li { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.06); padding: 4px 6px 4px 4px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.bench li > span:not(.ph) { padding-right: 8px; }
.bench .av { width: 28px; height: 28px; font-size: 12px; }
.bench-act { margin-top: 16px; }

/* harita karoları: renk alanı + gri fotoğraf, ana sayfanın harita kartlarıyla aynı dil */
.maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.map, .vmap {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  text-align: left; color: #fff; border: 0; border-radius: 20px;
  background-color: var(--c, #4a4655);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.map { min-height: 112px; padding: 14px; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.map::before, .vmap::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: var(--img, none) center / cover no-repeat;
  filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; opacity: 0.85;
}
.map::after, .vmap::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.62) 100%); }
.map:not(:disabled):hover { transform: translateY(-2px); }
.map .mn, .vmap .mn { display: block; font: 900 16px/1.1 var(--display); letter-spacing: -0.01em; }
.map .mv, .vmap .mv { font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.map .bar { position: absolute; left: 0; bottom: 0; height: 4px; background: #fff; border-radius: 0 4px 4px 0; }
.map.mine { box-shadow: inset 0 0 0 2px #fff; }
.map.chosen { box-shadow: 0 0 0 2px var(--red-hi), 0 14px 28px -14px rgba(229, 32, 45, 0.9); }
.map.mine.chosen { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--red-hi), 0 14px 28px -14px rgba(229, 32, 45, 0.9); }
.map.chosen .mv { color: #fff; font-weight: 600; }
.map:disabled { cursor: default; }
.mlist { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.ws { margin: 0; }
.ws-back { margin: 12px 0 0; }

.flist, .banlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flist li, .banlist li {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.04); padding: 6px 6px 6px 6px; border-radius: 16px;
}
.flist .av, .banlist .av, .invite .av { width: 32px; height: 32px; font-size: 13px; }
.flist li.away { opacity: 0.6; }
.flist .nm, .banlist .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* seçim ve veto aşamaları */
.phase {
  margin: 0 0 16px; padding: 20px 24px 24px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(80% 120% at 0% 0%, rgba(229, 32, 45, 0.16), transparent 60%), var(--surface);
}
.phase-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 16px; }
.phase-head h3 { margin: 0; font: 800 20px/1.2 var(--display); }
.phase-head p { margin: 0; color: var(--fg-2); }
.phase-head b.ct { color: var(--ct); }
.phase-head b.t { color: var(--t); }
.pool { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.pool li { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.05); padding: 8px; border-radius: 16px; }
.pool li .nm { flex: 1; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.vmap { min-height: 96px; padding: 14px; }
button.vmap { cursor: pointer; font: inherit; transition: transform 0.2s var(--ease); }
button.vmap:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px #fff; }
.vmap.ban { filter: grayscale(1) brightness(0.6); }
.vmap.ban .mn { text-decoration: line-through; }
.vmap.pick { box-shadow: inset 0 0 0 2px #fff, 0 14px 28px -14px rgba(0, 0, 0, 0.8); }

/* lobi sahibi paneli */
select, input[type='text'], input[type='number'], input[type='search'] {
  font: inherit; font-size: 15px; color: var(--fg);
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; padding: 8px 12px; min-height: 40px;
}
select:hover, input[type='text']:hover, input[type='number']:hover, input[type='search']:hover { border-color: rgba(255, 255, 255, 0.28); }
select:disabled, input:disabled { opacity: 0.5; }
option { background: var(--ink-2); }

/* Açılır liste: Chrome/Edge 135+ özelleştirilebilir select. Desteklemeyen tarayıcı yukarıdaki düz görünümde kalır. */
@supports (appearance: base-select) {
  select, ::picker(select) { appearance: base-select; }
  select {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    padding: 8px 14px; transition: border-color 0.15s, background-color 0.15s;
  }
  select::picker-icon {
    content: ''; flex: none; width: 7px; height: 7px; margin: -3px 2px 0 auto;
    border-right: 2px solid var(--fg-2); border-bottom: 2px solid var(--fg-2);
    transform: rotate(45deg); transition: transform 0.2s var(--ease), margin 0.2s var(--ease);
  }
  select:open { border-color: rgba(255, 255, 255, 0.4); background-color: rgba(0, 0, 0, 0.5); }
  select:open::picker-icon { transform: rotate(-135deg); margin-top: 4px; }
  select:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

  ::picker(select) {
    margin: 6px 0; padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px;
    background: var(--ink-2); color: var(--fg);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
    max-block-size: min(340px, 55vh); overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
    opacity: 0; translate: 0 -6px;
    transition: opacity 0.16s, translate 0.16s var(--ease), display 0.16s allow-discrete, overlay 0.16s allow-discrete;
  }
  select:open::picker(select) { opacity: 1; translate: 0 0; }
  @starting-style { select:open::picker(select) { opacity: 0; translate: 0 -6px; } }

  select option {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 10px; min-height: 38px;
    background: transparent; color: var(--fg-2); font-size: 15px; cursor: pointer;
  }
  select option:hover, select option:focus-visible { background: rgba(255, 255, 255, 0.07); color: #fff; outline: none; }
  select option:checked { background: rgba(229, 32, 45, 0.2); color: #fff; font-weight: 600; }
  select option::checkmark { order: 1; margin-left: auto; content: ''; width: 6px; height: 11px; border-right: 2px solid var(--red-hi); border-bottom: 2px solid var(--red-hi); transform: rotate(45deg) translate(-2px, -2px); }
  select option:disabled { opacity: 0.4; cursor: default; }
}
@media (prefers-reduced-motion: reduce) {
  ::picker(select), select::picker-icon { transition: none; }
}
.owner { margin-top: 16px; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.owner > h3 { margin: 0 0 20px; font: 800 20px/1.2 var(--display); }
.owner-grid { display: grid; grid-template-columns: 1fr 1.3fr 1.2fr; gap: 32px; }
.og { display: grid; gap: 10px; align-content: start; margin: 0; min-width: 0; }
.og h4 { margin: 0; font: 700 14px/1.2 var(--display); color: #fff; }
.og h4:not(:first-child) { margin-top: 12px; }
.fld { display: grid; gap: 4px; font-size: 13px; color: var(--fg-2); }
.fld select, .fld input { width: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.og .check { min-height: 32px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.inline { display: flex; gap: 8px; }
.inline input, .inline select { flex: 1; min-width: 0; }
.og .sub { margin: 0; }
.owner-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.owner .empty-note { margin-top: 12px; }
.og [data-act='wsbrowse'] { justify-self: start; }

/* atölye haritası seçici */
.ws-browser { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.ws-browser h5 { margin: 8px 0 0; font: 700 13px/1.2 var(--display); color: var(--fg-2); }
.ws-browser .sub { margin: 0; }
.ws-search { max-width: 520px; }
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.ws-card {
  display: grid; gap: 2px; padding: 0 0 10px; text-align: left; font: inherit; color: var(--fg);
  background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: border-color 160ms ease, transform 160ms var(--ease);
}
.ws-card img, .ws-card .ws-noimg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink-2); margin-bottom: 6px; }
.ws-card .ws-t { padding: 0 10px; font-size: 14px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-card .ws-s { padding: 0 10px; font-size: 12px; color: var(--fg-3); }
.ws-card:hover { border-color: rgba(255, 255, 255, 0.3); }
.ws-card:active { transform: scale(0.98); }
.ws-card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ws-card.on { border-color: var(--red); cursor: default; }
.ws-card.on .ws-s { color: var(--red-hi); font-weight: 600; }
.ws-card:disabled:not(.on) { opacity: 0.5; cursor: wait; }
@media (prefers-reduced-motion: reduce) { .ws-card { transition: none; } .ws-card:active { transform: none; } }

/* site yöneticisi */
.admin { margin-top: 16px; padding: 16px 24px; border-radius: 24px; border: 1px dashed rgba(255, 255, 255, 0.16); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin h3 { margin: 0 12px 0 0; font: 800 16px/1.2 var(--display); }
.admin .banlist { width: 100%; }
.foot { margin-top: 24px; color: var(--fg-3); font-size: 13px; }

/* davet şeridi */
.invite {
  position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 10px 12px; border-radius: 20px;
  background: linear-gradient(135deg, #d81d29, #8e0b16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 20px 40px -24px rgba(229, 32, 45, 0.9);
}
.invite p { margin: 0; flex: 1; }
.invite .btn.red { background: #fff; color: var(--ink); box-shadow: none; }
.invite .btn.ghost { border-color: rgba(255, 255, 255, 0.6); }

.gate { padding: 72px 0; max-width: 60ch; }
.gate h1 { font: 900 48px/1 var(--display); letter-spacing: -0.02em; margin: 0 0 16px; color: var(--red-hi); }
.gate p { margin: 0 0 8px; }

/* bildirim */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 40; transform: translate(-50%, 16px); opacity: 0;
  padding: 12px 20px; border-radius: 14px; font-weight: 600; pointer-events: none; max-width: calc(100vw - 32px);
  background: rgba(30, 27, 38, 0.86); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(16px);
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: rgba(124, 10, 20, 0.92); border-color: rgba(255, 59, 63, 0.6); }


/* Taslak kopyası: genişlik medya sorguları çıkarıldı. Masaüstü kareleri tarayıcı genişliğinden etkilenmez, mobil kurallar site/mobil.css içinde .mob altında durur. */
