/* ===================== takımım.lol — "Maç Günü" teması =====================
   Konsept: gece maçı / stadyum reflektörleri. Saha karanlığı, floodlight
   parıltıları, LED skorbord rakamları, VIP loca altını, canlı yayın kırmızısı.
   Yapı ve class isimleri orijinaliyle birebir aynı — sadece görsel dil değişti.
   ============================================================================ */
:root {
  /* ============================================================
     KART SİSTEMİ — stadyum gecesi zemininde metal kartlar.
     Koltuk kademeleri (₺750/₺300/₺100) altın/gümüş/bronz rampalarına,
     il plakası kartın numarasına karşılık gelir.
     ============================================================ */

  /* --- zemin: siyah değil, mavimsi arduvaz --- */
  --bg: #151d22;
  --bg2: #0f161a;
  --panel: #1d272d;
  --panel2: #243037;
  --panel3: #2e3d45;
  --line: rgba(226, 244, 236, .11);
  --line2: rgba(226, 244, 236, .20);
  --text: #f0f5f2;
  --muted: #b6c8bf;
  --muted2: #93a89e;

  /* --- saha yeşili --- */
  --green: #24c97c;
  --green-strong: #16995c;
  --green-dim: #5fe0a2;
  --green-soft: rgba(36, 201, 124, .13);
  --green-glow: 0 0 20px rgba(36, 201, 124, .35);

  /* --- yöneticilik altını --- */
  --gold: #e6bd57;
  --gold-strong: #f6dd94;
  --gold-soft: rgba(230, 189, 87, .14);
  --gold-glow: 0 0 18px rgba(230, 189, 87, .35);

  /* --- canlı yayın kırmızısı --- */
  --live: #ff3b57;
  --live-soft: rgba(255, 59, 87, .14);

  /* --- kart metalleri --- */
  --m-gold-1: #f6dd94;
  --m-gold-2: #d9a83a;
  --m-gold-3: #8c661a;
  --m-silver-1: #eef3f6;
  --m-silver-2: #b8c6ce;
  --m-silver-3: #74848d;
  --m-bronze-1: #f0c49a;
  --m-bronze-2: #c3814c;
  --m-bronze-3: #7a4d28;
  --card-ink: #14191c;

  /* --- HARİTA: ilk sürümdeki değerler, dokunulmaz --- */
  --idle: #1a2b23;
  /* oysuz il */
  --idle-stroke: #0a120e;

  --radius: 14px;
  --shadow: 0 22px 50px rgba(0, 0, 0, .5);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, .32);
}



* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(13, 154, 88, .07), transparent 60%),
    radial-gradient(900px 480px at 88% -8%, rgba(13, 154, 88, .05), transparent 60%),
    radial-gradient(1100px 620px at 50% 108%, rgba(168, 115, 10, .05), transparent 62%),
    repeating-linear-gradient(180deg, rgba(17, 48, 33, .018) 0 42px, transparent 42px 84px),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 14px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--text)
}

.logo,
.leader-name,
.page-title,
.pf-head h2 {
  font-family: 'Bebas Neue', Oswald, sans-serif;
  letter-spacing: .6px
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.stat b {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: .5px;
  font-variant-numeric: tabular-nums
}

button {
  font-family: inherit;
  cursor: pointer
}

input,
select {
  font-family: inherit
}

.hidden {
  display: none !important
}

.muted-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55
}

/* kayıt formundaki uyarı — satır içi "color:red" yerine temadan */
.muted-note.warn-note {
  color: var(--live);
  background: var(--live-soft);
  border: 1px solid rgba(211, 24, 47, .2);
  border-radius: 10px;
  padding: 10px 12px
}

.err {
  color: var(--live);
  display: block;
  min-height: 14px;
  margin-top: 4px
}

/* ---------- ÜST BAR ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .82));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(17, 48, 33, .05), 0 6px 20px rgba(16, 42, 30, .05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none
}

.pin {
  color: var(--green);
  font-size: 16px;
  transform: rotate(45deg);
  display: inline-block;
  text-shadow: var(--green-glow)
}

.logo {
  font-size: 26px;
  color: var(--text)
}

.logo .lol {
  color: var(--green);
  text-shadow: var(--green-glow)
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: 8px
}

.nav-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 10px 10px 0 0;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  transition: .15s;
}

.nav-btn:hover {
  color: var(--text);
  background: var(--panel2)
}

.nav-btn.active {
  color: var(--green-dim);
  background: var(--green-soft);
  border-bottom-color: var(--green);
  text-shadow: 0 0 12px rgba(10, 125, 71, .4)
}

.topbar-right {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center
}

.btn-add {
  background: var(--panel2);
  color: var(--green-dim);
  border: 1px solid var(--green-dim);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  transition: .15s;
}

.btn-add:hover {
  background: var(--green-soft);
  box-shadow: var(--green-glow)
}

.btn-user {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 800;
  transition: .15s;
  box-shadow: 0 2px 14px rgba(10, 125, 71, .4);
}

.btn-user:hover {
  background: var(--green-dim);
  box-shadow: var(--green-glow)
}

.btn-user.logged {
  background: var(--panel2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line2)
}

/* ---------- TICKER (stadyum LED şeridi) ---------- */
.ticker {
  display: flex;
  gap: 0;
  align-items: center;
  overflow-x: auto;
  padding: 8px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  font-size: 12.5px;
  scrollbar-width: thin;
  box-shadow: inset 0 1px 0 rgba(10, 125, 71, .06), inset 0 -1px 0 rgba(0, 0, 0, .4);
}

.ticker::-webkit-scrollbar {
  height: 5px
}

.ticker::-webkit-scrollbar-thumb {
  background: var(--line2);
  border-radius: 3px
}

.tk {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 16px;
  white-space: nowrap;
  border-right: 1px solid var(--line)
}

.tk .rk {
  color: var(--gold);
  font-weight: 800;
  font-family: 'Oswald'
}

.tk .dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex: none;
  object-fit: contain;
  background: var(--panel2);
  box-shadow: 0 0 0 1px var(--line2)
}

.tk .nm {
  font-weight: 700;
  color: var(--text);
  letter-spacing: .4px
}

.tk .pc {
  color: var(--green-dim);
  font-variant-numeric: tabular-nums
}

.tk .vt {
  color: var(--muted2);
  font-variant-numeric: tabular-nums
}

/* ---------- LAYOUT ---------- */
.view {
  padding: 18px 24px 48px
}

.wrap {
  max-width: 1560px;
  margin: 0 auto
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm)
}

.panel-title {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--muted2);
  margin: 0 0 10px;
  font-weight: 800;
  text-transform: uppercase
}

.rail-block+.rail-block {
  margin-top: 14px
}

.scoreboard {
  display: grid;
  grid-template-columns: 1.15fr .78fr .78fr .78fr 1.3fr;
  gap: 12px;
  margin-bottom: 16px;
}

.sb {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm)
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 16px;
  align-items: start;
}

/* ---------- SKORBORD ---------- */
.live-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald';
  font-size: 17px;
  font-weight: 600
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(10, 125, 71, .55), var(--green-glow);
  animation: pulse 2s infinite
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 125, 71, .5)
  }

  70% {
    box-shadow: 0 0 0 9px rgba(10, 125, 71, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(10, 125, 71, 0)
  }
}

.live-tag {
  margin-left: auto;
  font-family: 'Inter';
  font-size: 10px;
  color: var(--live);
  letter-spacing: 1.4px;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(211, 24, 47, .5)
}

.wave {
  opacity: .9
}

.online-line {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 8px
}

.online-line b {
  color: var(--green-dim);
  font-family: 'Oswald'
}

/* LED skorbord kutucukları */
.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background: linear-gradient(180deg, #ffffff, #f3f8f4);
  position: relative;
}

.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(10, 125, 71, .08);
  pointer-events: none;
}

.stat b {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  color: var(--green-dim);
  text-shadow: 0 0 14px rgba(10, 125, 71, .35)
}

.stat span {
  font-size: 9.5px;
  letter-spacing: 1px;
  color: var(--muted2);
  font-weight: 800;
  margin-top: 5px;
  text-transform: uppercase
}

.leader-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(120deg, rgba(168, 115, 10, .14), rgba(168, 115, 10, .02));
  border: 1px solid rgba(168, 115, 10, .3);
}

.leader-crest {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 2px 10px rgba(0, 0, 0, .35);
}

.leader-info {
  flex: 1;
  min-width: 0
}

.leader-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase
}

.leader-name {
  display: block;
  font-size: 23px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text)
}

.leader-pct {
  text-align: right
}

.leader-pct b {
  font-family: 'Oswald';
  font-size: 22px;
  color: var(--gold);
  text-shadow: var(--gold-glow)
}

.leader-pct span {
  display: block;
  font-size: 11px;
  color: var(--muted)
}

/* ---------- RAY LİSTELERİ ---------- */
.race {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: r
}

.race li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  counter-increment: r;
  position: relative
}

.race li::before {
  content: counter(r);
  width: 16px;
  color: var(--muted2);
  font-weight: 800;
  font-size: 11px;
  text-align: center;
  font-family: 'Oswald'
}

.race .rc-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3)
}

.race .rc-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--panel2);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden
}

.race .rc-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block
}

.race .rc-logo.is-empty {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dot, #647a6c);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3)
}

.race .rc-name {
  flex: 1;
  font-weight: 600;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text)
}

.race .rc-vt {
  color: var(--muted2);
  font-size: 11px;
  font-variant-numeric: tabular-nums
}

.race .rc-pc {
  font-family: 'Oswald';
  font-weight: 700;
  width: 44px;
  text-align: right;
  color: var(--green-dim)
}

.race .rc-bar {
  position: absolute;
  left: 25px;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--panel3);
  border-radius: 2px;
  overflow: hidden
}

.race .rc-fill {
  height: 100%;
  border-radius: 2px
}

.close-list {
  list-style: none;
  margin: 0;
  padding: 0
}

.close-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  cursor: pointer
}

.close-list li:hover .cl-name {
  color: var(--green-dim)
}

.cl-name {
  flex: 1;
  font-weight: 600;
  color: var(--text)
}

.cl-dots {
  display: flex;
  gap: 3px
}

.cl-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3)
}

.cl-gap {
  color: var(--muted);
  font-size: 12px;
  width: 52px;
  text-align: right;
  font-variant-numeric: tabular-nums
}

/* ---------- HARİTA (gece sahası) ---------- */
.map-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-height: 560px;
  box-shadow: var(--shadow-sm)
}

.map-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px
}

.search {
  flex: 1;
  background: var(--panel2);
  border: 1px solid var(--line2);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}

.search::placeholder {
  color: var(--muted2)
}

.search:focus {
  border-color: var(--green-dim);
  box-shadow: 0 0 0 3px rgba(10, 125, 71, .16);
  background: var(--panel3)
}

.map-toolbar .hint {
  color: var(--muted2);
  font-size: 11.5px;
  white-space: nowrap
}

.map-stage {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 50% 30%, rgba(13, 154, 88, .07), transparent 70%),
    radial-gradient(500px 300px at 15% 90%, rgba(168, 115, 10, .05), transparent 70%),
    repeating-linear-gradient(90deg, rgba(17, 48, 33, .022) 0 60px, transparent 60px 120px),
    #eaf1ec;
  border: 1px solid var(--line);
  height: min(78vh, 820px);
  cursor: grab;
  touch-action: none;
}

.map-stage:active {
  cursor: grabbing
}

#trMap {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform .05s linear
}

.province {
  stroke: var(--idle-stroke);
  stroke-width: .8;
  transition: filter .12s, opacity .12s;
  cursor: pointer;
}

.province:hover {
  filter: brightness(1.28) saturate(1.2)
}

.province.dim {
  opacity: .28
}

.province.flash {
  animation: flash .7s ease
}

@keyframes flash {
  0% {
    filter: brightness(2.1) saturate(1.4)
  }

  100% {
    filter: brightness(1)
  }
}

.plabel {
  font-family: 'Inter';
  font-size: 8px;
  font-weight: 800;
  fill: rgba(16, 32, 26, .6);
  pointer-events: none;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .9);
  stroke-width: 2px
}

.map-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.map-zoom button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, .94);
  color: var(--text);
  font-size: 16px;
  box-shadow: var(--shadow-sm)
}

.map-zoom button:hover {
  background: var(--panel3);
  border-color: var(--green-dim);
  color: var(--green-dim)
}

.map-tip {
  position: absolute;
  pointer-events: none;
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 12.5px;
  opacity: 0;
  transition: opacity .1s;
  transform: translate(-50%, -115%);
  z-index: 5;
  white-space: nowrap;
  box-shadow: var(--shadow);
  color: var(--text)
}

.map-tip b {
  font-family: 'Oswald'
}

.map-tip .t-lead {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: var(--muted)
}

.map-tip .t-lead i {
  width: 9px;
  height: 9px;
  border-radius: 50%
}

/* ---------- SAĞ RAY: yönetici / VIP loca kartı ---------- */
.crown-card {
  text-align: center;
  padding: 2px 2px 0
}

.crown {
  font-size: 28px;
  color: var(--gold);
  text-shadow: var(--gold-glow)
}

.crown-card h3 {
  font-size: 18px;
  margin: 6px 0 8px
}

.crown-card p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 8px 0
}

.crown-card b {
  color: var(--gold-strong)
}

.feed {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow: auto;
  scrollbar-width: thin
}

.feed::-webkit-scrollbar {
  width: 5px
}

.feed::-webkit-scrollbar-thumb {
  background: var(--line2);
  border-radius: 3px
}

.feed li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px
}

.feed li:last-child {
  border-bottom: none
}

.feed .fd-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3)
}

.feed .fd-txt {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.feed .fd-txt b {
  color: var(--text);
  font-family: 'Inter';
  font-weight: 700
}

.feed .fd-txt span {
  color: var(--muted)
}

.feed .fd-time {
  color: var(--muted2);
  font-size: 11px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums
}

/* ---------- SAYFALAR ---------- */
.page {
  max-width: 900px;
  margin: 0 auto
}

.page-title {
  font-size: 36px;
  margin: 6px 0 4px;
  color: var(--text)
}

.page-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 18px;
  line-height: 1.55
}

.rank-card,
.profile-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 18px;
  box-shadow: var(--shadow-sm)
}

.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rk
}

.rank-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line)
}

.rank-list li:last-child {
  border-bottom: none
}

.rank-pos {
  width: 30px;
  text-align: center;
  font-family: 'Oswald';
  font-weight: 800;
  font-size: 18px;
  color: var(--muted2)
}

.rank-pos.top {
  color: var(--gold);
  text-shadow: var(--gold-glow)
}

.rank-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Oswald';
  font-weight: 700;
  flex: none;
  /* Avatar rengi kullanıcı adından hsl(h,60%,55%) ile üretiliyor. Bu tonlarda
     beyaz baş harf sarı/yeşil hue'larda okunmuyordu; rengin üstüne beyaz bir
     örtü serip baş harfi koyu yazıyoruz — kullanıcının rengi pastel olarak
     kalıyor, yazı her hue'da rahat okunuyor. */
  color: var(--text);
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .76),
              inset 0 0 0 1px rgba(17, 48, 33, .10),
              0 1px 6px rgba(16, 42, 30, .10)
}

.rank-name {
  flex: 1
}

.rank-name b {
  display: block;
  font-family: 'Inter';
  font-weight: 600;
  color: var(--text)
}

.rank-name span {
  color: var(--muted2);
  font-size: 12px
}

.rank-meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 12.5px;
  align-items: center;
  font-variant-numeric: tabular-nums
}

.rank-xp {
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 18px;
  color: var(--green-dim);
  width: 80px;
  text-align: right;
  text-shadow: 0 0 10px rgba(10, 125, 71, .3)
}

.rank-list li.me {
  background: linear-gradient(90deg, rgba(10, 125, 71, .12), transparent);
  border-radius: 10px
}

.profile-card {
  padding: 22px
}

.pf-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px
}

.pf-av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .74),
              inset 0 0 0 1px rgba(17, 48, 33, .10),
              0 3px 14px rgba(16, 42, 30, .12)
}

.pf-head h2 {
  font-size: 30px;
  margin: 0
}

.pf-head .pf-handle {
  color: var(--muted);
  font-size: 13px
}

.pf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px
}

.pf-stat {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center
}

.pf-stat b {
  display: block;
  font-family: 'Oswald';
  font-size: 26px;
  color: var(--green-dim);
  text-shadow: 0 0 10px rgba(10, 125, 71, .3)
}

.pf-stat span {
  color: var(--muted2);
  font-size: 11px;
  letter-spacing: .5px;
  font-weight: 700
}

.pf-empty {
  text-align: center;
  color: var(--muted);
  padding: 30px
}

/* ---------- MODAL (tünelden sahaya çıkış hissi) ---------- */
.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(12, 32, 22, .38);
  backdrop-filter: blur(5px);
  z-index: 60;
  display: grid;
  place-items: start center;
  padding: 40px 16px;
  overflow: auto
}

.modal {
  width: 100%;
  max-width: 580px;
  background: linear-gradient(180deg, #ffffff, #f6faf7);
  border: 1px solid var(--line2);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}

.modal-sm {
  max-width: 430px
}

.modal-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line2);
  background: var(--panel2);
  color: var(--muted);
  font-size: 14px
}

.modal-x:hover {
  background: var(--panel3);
  color: var(--text)
}

.modal-title {
  font-size: 22px;
  margin: 0 0 6px
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px
}

.modal-plate {
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 16px;
  background: var(--panel2);
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 6px 10px;
  color: var(--muted)
}

.modal-region {
  font-size: 12px;
  color: var(--muted2)
}

.modal-head h2 {
  font-size: 28px;
  margin: 0;
  line-height: 1;
  color: var(--text)
}

.modal-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px
}

.chip {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600
}

.chip.lead {
  background: var(--live-soft);
  border-color: rgba(211, 24, 47, .28);
  color: var(--live)
}

.chip.gold {
  background: var(--gold-soft);
  border-color: rgba(168, 115, 10, .38);
  color: var(--gold)
}

.tabs {
  display: flex;
  gap: 6px;
  background: var(--panel2);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 16px
}

.tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 9px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13.5px;
  transition: .15s;
  text-transform: uppercase;
  letter-spacing: .4px
}

.tab:hover {
  color: var(--text)
}

.tab.active {
  background: var(--panel3);
  color: var(--green-dim);
  box-shadow: inset 0 0 0 1px rgba(10, 125, 71, .25)
}

.stackbar {
  display: flex;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--panel3)
}

.stackbar i {
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  min-width: 0;
  overflow: hidden
}

.results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rs
}

.results-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: rs
}

.results-list li:last-child {
  border-bottom: none
}

.results-list li::before {
  content: counter(rs);
  width: 18px;
  color: var(--muted2);
  font-weight: 800;
  text-align: center;
  font-family: 'Oswald'
}

.rl-crest {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  flex: none
}

.rl-name {
  flex: 1;
  font-weight: 600;
  color: var(--text)
}

.rl-vt {
  color: var(--muted2);
  font-size: 12px;
  font-variant-numeric: tabular-nums
}

.rl-pc {
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 16px;
  width: 56px;
  text-align: right;
  color: var(--green-dim)
}

.pres-current {
  background: var(--panel2);
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  text-align: center
}

.pres-current .pc-crown {
  font-size: 22px;
  color: var(--gold);
  text-shadow: var(--gold-glow)
}

.pres-current h3 {
  margin: 6px 0 2px;
  font-size: 18px;
  color: var(--gold)
}

.pres-current .pc-sub {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55
}

.pres-current.empty {
  border-color: var(--line)
}

.pres-current.empty h3 {
  color: var(--muted)
}

.pres-take label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px
}

.pres-take-row {
  display: flex;
  gap: 8px;
  align-items: center
}

.dollar {
  font-family: 'Oswald';
  font-size: 20px;
  color: var(--gold)
}

#bidAmount {
  flex: 1;
  background: var(--panel2);
  border: 1px solid var(--line2);
  color: var(--text);
  padding: 11px 12px;
  border-radius: 10px;
  outline: none;
  font-size: 15px
}

#bidAmount:focus {
  border-color: var(--gold);
  background: var(--panel3);
  box-shadow: 0 0 0 3px rgba(168, 115, 10, .15)
}

.pres-take small {
  display: block;
  color: var(--muted2);
  margin-top: 8px;
  font-size: 12px
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-height: 320px;
  overflow: auto;
  scrollbar-width: thin;
  padding-right: 4px
}

.team-grid::-webkit-scrollbar {
  width: 5px
}

.team-grid::-webkit-scrollbar-thumb {
  background: var(--line2);
  border-radius: 3px
}

.tg {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--panel2);
  border: 1px solid var(--line2);
  border-radius: 11px;
  padding: 9px 10px;
  transition: .12s;
  text-align: left
}

.tg:hover {
  border-color: var(--green-dim);
  background: var(--green-soft);
  box-shadow: 0 0 0 1px rgba(10, 125, 71, .2)
}

.tg .tg-crest {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 10px;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
  flex: none
}

.tg .tg-name {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text)
}

.tg .tg-lig {
  font-size: 9px;
  color: var(--muted2)
}

.vote-search {
  margin-bottom: 12px
}

/* ---------- YÖNETİCİ TANITIMI ----------
   İlin yöneticisinin kendi tanıtımı. Reklam olduğu belli olsun ama
   sayfanın içinden bir kart gibi dursun: köşede altın şerit, üstte
   küçük etiket, altta düğme görünümlü bağlantı. */
.promo-card {
  position: relative;
  margin-top: 16px;
  padding: 15px 16px 14px;
  background: linear-gradient(180deg, #fffdf7, var(--panel));
  border: 1px solid rgba(168, 115, 10, .22);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden
}

/* sol kenardaki altın şerit */
.promo-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(168, 115, 10, .25))
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Oswald', sans-serif;
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--gold-strong);
  background: var(--gold-soft);
  border: 1px solid rgba(168, 115, 10, .25);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 9px
}

.promo-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold)
}

.promo-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px
}

.promo-body b {
  font-size: 16px;
  line-height: 1.25;
  color: var(--text);
  overflow-wrap: anywhere
}

.promo-body span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere
}

/* bağlantı düz metin değil, tıklanası bir düğme gibi dursun */
.promo-link {
  align-self: flex-start;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-strong);
  background: var(--gold-soft);
  border: 1px solid rgba(168, 115, 10, .28);
  border-radius: 9px;
  padding: 7px 12px;
  text-decoration: none;
  transition: .13s;
  overflow-wrap: anywhere
}

.promo-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff
}

/* http/https olmayan adres bağlantıya dönüşmez, düz metin kalır */
.promo-bad {
  font-size: 12.5px;
  color: var(--muted2);
  text-decoration: line-through;
  overflow-wrap: anywhere
}

.promo-form {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line)
}

.promo-hint {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted)
}

.promo-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px
}

.promo-actions .btn-primary,
.promo-actions .btn-ghost {
  flex: 1;
  margin-top: 0
}

/* ---------- YÖNETİCİLER SAYFASI ---------- */
.seats-head {
  margin: 26px 0 10px
}

.seats-head span {
  color: var(--muted2);
  font-weight: 400
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px
}

.seat-card {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: .12s
}

.seat-card:hover {
  border-color: var(--line2);
  background: var(--panel2)
}

.seat-card.mine {
  border-color: rgba(10, 125, 71, .45)
}

.seat-card.free {
  border-style: dashed;
  opacity: .82
}

.seat-card.free:hover {
  opacity: 1
}

.sc-plate {
  flex: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  background: var(--panel2);
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 5px 8px
}

.sc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.sc-body b {
  font-size: 14px;
  color: var(--text)
}

.sc-sub {
  font-size: 11.5px;
  color: var(--muted);
  overflow-wrap: anywhere
}

.sc-sub i {
  font-style: normal;
  font-weight: 700;
  position: relative;
  padding-left: 12px;
  /* Takım rengi (satır içi "color") açık takımlarda metinde okunmuyor.
     Yazıyı okunur renge sabitliyoruz; "color" değeri currentColor olarak
     yalnızca aşağıdaki renk noktasında kullanılıyor. */
  -webkit-text-fill-color: var(--text)
}

.sc-sub i::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 0 0 1px rgba(17, 48, 33, .12)
}

.sc-promo {
  font-size: 11.5px;
  color: var(--muted2);
  overflow-wrap: anywhere
}

.sc-price {
  flex: none;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold)
}

@media (max-width:520px) {
  .seat-grid {
    grid-template-columns: 1fr
  }
}

/* ---------- SEZON ŞERİDİ (yöneticiler sekmesi) ---------- */
.season-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--gold-soft);
  border: 1px solid rgba(168, 115, 10, .3);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px
}

.season-bar:empty {
  display: none
}

.sb-no {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--gold);
  background: rgba(168, 115, 10, .14);
  border: 1px solid rgba(168, 115, 10, .35);
  border-radius: 8px;
  padding: 3px 9px;
  flex: none
}

.sb-txt {
  flex: 1 1 200px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted)
}

.sb-left {
  flex: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--panel2);
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 4px 10px
}

.pres-hist-title {
  margin: 20px 0 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line)
}

.pres-current.mine {
  border-color: rgba(10, 125, 71, .45);
  box-shadow: inset 0 0 0 1px rgba(10, 125, 71, .18)
}

.pres-take .btn-primary.block {
  margin-top: 0
}

.pres-take .btn-primary:disabled {
  background: var(--panel3);
  color: var(--muted2);
  box-shadow: none;
  cursor: not-allowed
}

#bidHint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted2)
}

/* ---------- OY HAKKI BİLGİ SATIRI ---------- */
.vote-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  background: var(--panel2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line2);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px
}

.vote-note:empty {
  display: none
}

.vote-note b {
  color: var(--text)
}

.vote-note.free {
  border-left-color: var(--green);
  background: var(--green-soft)
}

.vote-note.ok {
  border-left-color: var(--green-strong)
}

.vote-note.pay {
  border-left-color: var(--gold);
  background: var(--gold-soft)
}

.vote-note.pay b {
  color: var(--gold)
}

.chip.cost {
  background: var(--gold-soft);
  border-color: rgba(168, 115, 10, .38);
  color: var(--gold)
}

/* ---------- OY ONAYI / SEMBOLİK ÖDEME ---------- */
.vc-swap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 6px
}

.vc-team {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 8px
}

.vc-team b {
  font-size: 13px;
  color: var(--text);
  overflow-wrap: anywhere
}

.vc-lbl {
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted2)
}

.vc-team .vc-crest {
  width: 38px;
  height: 38px;
  border-radius: 10px
}

.vc-arrow {
  font-size: 18px;
  color: var(--green);
  flex: none
}

.vc-pay {
  margin-top: 14px;
  background: var(--gold-soft);
  border: 1px solid rgba(168, 115, 10, .3);
  border-radius: 12px;
  padding: 12px 14px
}

.vc-pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0
}

.vc-pay-row b {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  color: var(--gold)
}

.vc-pay-row b.vc-mock {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted)
}

.vc-note {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(168, 115, 10, .28);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted2)
}

.vc-note b {
  color: var(--muted)
}

#voteConfirmModal .btn-ghost.block {
  margin-top: 8px
}

@media (max-width:460px) {
  .vc-swap {
    flex-direction: column;
    gap: 6px
  }

  .vc-team {
    width: 100%
  }

  .vc-arrow {
    transform: rotate(90deg)
  }
}

.modal-feed {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px
}

.modal-feed .feed {
  max-height: 150px
}

/* ---------- FORM ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.form label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px
}

.form input[type=text],
.form input[type=number],
.form select {
  background: var(--panel2);
  border: 1px solid var(--line2);
  color: var(--text);
  padding: 11px 12px;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
}

.form input:focus,
.form select:focus {
  border-color: var(--green-dim);
  background: var(--panel3);
  box-shadow: 0 0 0 3px rgba(10, 125, 71, .14)
}

.color-row {
  display: flex;
  gap: 12px
}

.color-row>div {
  flex: 1
}

.color-row input[type=color] {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: var(--panel2);
  cursor: pointer
}

.nt-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 11px
}

.nt-preview .crest {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5)
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  transition: .12s;
  box-shadow: 0 2px 14px rgba(10, 125, 71, .35)
}

.btn-primary:hover {
  background: var(--green-dim);
  box-shadow: var(--green-glow)
}

.btn-primary.block,
.btn-ghost.block {
  width: 100%;
  margin-top: 14px
}

.btn-ghost {
  background: var(--panel2);
  border: 1px solid var(--line2);
  color: var(--muted);
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 700
}

.btn-ghost:hover {
  color: var(--live);
  border-color: rgba(211, 24, 47, .35);
  background: var(--live-soft)
}

/* ---------- TOAST ---------- */
.toast-wrap {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center
}

.toast {
  background: var(--panel2);
  border: 1px solid var(--green-dim);
  color: var(--text);
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow), var(--green-glow);
  animation: toastIn .25s ease
}

.toast.warn {
  border-color: rgba(211, 24, 47, .35);
  background: #fdf1f2;
  color: #9c1223
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1320px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 310px
  }

  .scoreboard {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-auto-rows: auto
  }

  .leader-card {
    grid-column: span 2
  }
}

@media (max-width:980px) {
  .layout {
    /* düz "1fr" = minmax(auto,1fr): sütun içeriğin min genişliğinin altına
       inemez ve sayfa yana kayar. minmax(0,1fr) daralmaya izin verir. */
    grid-template-columns: minmax(0, 1fr)
  }

  .side-rail {
    order: 3
  }

  .map-stage {
    height: 62vh
  }
}

@media (max-width:720px) {
  .view {
    padding: 14px 14px 40px
  }

  .scoreboard {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .sb-live,
  .leader-card {
    grid-column: 1/-1
  }

  .map-stage {
    height: 54vh
  }

  .map-toolbar {
    flex-wrap: wrap
  }

  .map-toolbar .hint {
    display: none
  }

  .nav {
    margin-left: 0;
    /* Dördüncü menü düğmesiyle birlikte dar ekranda sığmıyor:
       sayfayı yana kaydırmak yerine çubuğun kendisi kaysın. */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%
  }

  .nav::-webkit-scrollbar {
    display: none
  }

  .nav-btn {
    flex: none;
    padding: 8px 11px;
    font-size: 12.5px;
    letter-spacing: .3px
  }

  .topbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 14px
  }

  .topbar-right {
    width: 100%;
    order: 3
  }

  .btn-add,
  .btn-user {
    flex: 1
  }

  .team-grid {
    grid-template-columns: 1fr
  }
}

/* ============================================================
   HESAP, DOĞRULAMA, YÜKLEME DURUMLARI
   ============================================================ */
.form input[type=email],
.form input[type=password] {
  background: var(--panel2);
  border: 1px solid var(--line2);
  color: var(--text);
  padding: 11px 12px;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
}

.form input[disabled],
button[disabled] {
  opacity: .5;
  cursor: not-allowed
}

.form input::placeholder {
  color: var(--muted2)
}

/* ---------- E-POSTA DOĞRULAMA ŞERİDİ ---------- */
.verify-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 9px 24px;
  font-size: 13px;
  background: var(--gold-soft);
  border-bottom: 1px solid rgba(168, 115, 10, .28);
  color: var(--gold-strong);
}

.verify-bar b {
  color: var(--gold)
}

/* ---------- BAĞLANTI GÖRÜNÜMLÜ BUTON ---------- */
.link-btn {
  background: none;
  border: none;
  color: var(--green-dim);
  font-size: 12.5px;
  font-weight: 700;
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-btn:hover {
  color: var(--green)
}

.link-btn.center {
  align-self: center;
  margin-top: 12px
}

/* ---------- KULLANICI MENÜSÜ ---------- */
.user-wrap {
  position: relative
}

.user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  z-index: 60;
  background: var(--panel2);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.user-menu button {
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
}

.user-menu button:hover {
  background: var(--panel3)
}

.user-menu button.danger {
  color: var(--live)
}

.user-menu button.danger:hover {
  background: var(--live-soft)
}

/* ---------- HESAP MODALI ---------- */
.auth-tabs {
  display: flex;
  gap: 6px;
  background: var(--panel2);
  padding: 4px;
  border-radius: 12px;
  margin: 14px 0 4px
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 13.5px;
  transition: .15s;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.auth-tab:hover {
  color: var(--text)
}

.auth-tab.active {
  background: var(--panel3);
  color: var(--green-dim);
  box-shadow: inset 0 0 0 1px rgba(10, 125, 71, .25)
}

.auth-msg {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  background: var(--green-soft);
  border: 1px solid rgba(10, 125, 71, .3);
  color: var(--green-dim);
}

.auth-msg.warn {
  background: var(--gold-soft);
  border-color: rgba(168, 115, 10, .35);
  color: var(--gold)
}

.auth-msg.ok {
  background: var(--green-soft);
  border-color: rgba(10, 125, 71, .35);
  color: var(--green-dim)
}

.pending-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--green-soft);
  color: var(--green-dim);
  border: 1px solid rgba(10, 125, 71, .3);
  margin: 16px auto 4px;
}

.pending-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  margin: 6px 0 0
}

.pending-text b {
  color: var(--text)
}

/* ---------- YÜKLENİYOR ---------- */
.spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  margin-right: 7px;
  border: 2px solid var(--line2);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@media (prefers-reduced-motion:reduce) {
  .spinner {
    animation-duration: 2s
  }
}

.map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13.5px;
  background: rgba(8, 20, 16, .85);
  z-index: 5;
  text-align: center;
  padding: 20px;
}

.map-loading code {
  background: var(--panel3);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--green-dim);
  font-size: 12px
}

.empty-row {
  color: var(--muted2);
  font-size: 12.5px;
  padding: 12px 2px;
  text-align: center;
  display: block;
  cursor: default;
}

/* ---------- SEÇİLİ / KENDİ OYUN İŞARETLERİ ---------- */
.chip.mine {
  background: var(--green-soft);
  border-color: rgba(10, 125, 71, .4);
  color: var(--green-dim)
}

.results-list li.mine {
  background: var(--green-soft);
  border-radius: 8px
}

.tg.picked {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: 0 0 0 2px rgba(10, 125, 71, .22)
}

.pres-history {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px
}

.pf-logout {
  margin-left: auto;
  padding: 8px 14px;
  font-size: 12.5px
}

/* Yeni gelen akış satırı belirsin */
.fd-new {
  animation: fdIn .4s ease
}

@keyframes fdIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
    background: var(--green-soft)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media (prefers-reduced-motion:reduce) {
  .fd-new {
    animation: none
  }
}

/* Klavye erişilebilirliği */
button:focus-visible,
input:focus-visible,
select:focus-visible,
.province:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

@media (max-width:720px) {
  .verify-bar {
    padding: 9px 14px;
    font-size: 12.5px
  }

  .user-menu {
    right: auto;
    left: 0
  }
}


/* Logo Kapsayıcı */
.crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  flex-none: none;
  background: var(--panel2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35), inset 0 0 0 1px var(--line);
}

.crest img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.crest-fallback {
  font-size: 10px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}

/* Modaldaki Takım Listesi Ayarı */
.tg .crest {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}

.rl-crest {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 6px;
}

/* Lider Kartı Logosu */
.lg-lg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(168, 115, 10, .35), 0 2px 12px rgba(0, 0, 0, .4);
}

/* Harita Logo Stili */
.map-logo {
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6));
  transition: opacity 0.3s ease;
}

.province {
  transition: fill 0.3s ease;
}

/* Harita üzerinde plaka numaralarını logonun altına kaydırdık — gece sahasına göre açık ton */
.plabel {
  font-size: 9px;
  fill: rgba(16, 32, 26, .65);
  font-weight: bold;
  pointer-events: none;
}


/* ============================================================================
   ==  KART SİSTEMİ KATMANI  ==================================================
   Buradan aşağısı yeni görsel kimliği kuruyor. Dosyanın sonunda olduğu için
   aynı özgüllükteki eski kuralları geçersiz kılar.
   Haritanın kendisine (il yolları, plaka etiketleri, logo katmanı) dokunmaz —
   yalnızca haritayı çevreleyen panel, araç çubuğu ve kontroller değişir.
   ============================================================================ */

body {
  background:
    radial-gradient(1100px 620px at 50% -12%, rgba(36, 201, 124, .10), transparent 60%),
    radial-gradient(900px 520px at 88% 110%, rgba(230, 189, 87, .07), transparent 62%),
    repeating-linear-gradient(103deg, rgba(255, 255, 255, .016) 0 2px, transparent 2px 7px),
    var(--bg);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* --- tipografi: rakamlar ve başlıklar forma numarası gibi --- */
h1, h2, h3, h4,
.page-title, .panel-title, .modal-title, .modal-head h2, .stat b,
.leader-label, .nav-btn, .btn-primary, .btn-ghost, .btn-add, .btn-user,
.rank-pos, .rank-xp, .rank-av, .sc-plate, .sc-price, .sb-no, .sb-left,
.modal-plate, .tk .nm, .tk .pc, .chip, .vc-lbl, .c-rate b {
  font-family: 'Saira Condensed', 'Oswald', system-ui, sans-serif;
}

.stat b, .rank-xp, .sc-price, .sb-left, .rl-vt, .rl-pc, .tk .pc, .tk .vt {
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- HUD */
.topbar {
  background: linear-gradient(180deg, rgba(15, 22, 26, .96), rgba(15, 22, 26, .84));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(36, 201, 124, .10), 0 10px 30px rgba(0, 0, 0, .3);
}

.nav-btn {
  font-size: 14px;
  letter-spacing: .09em;
  color: var(--muted2);
  border-bottom: 0;
  border-radius: 8px;
  white-space: nowrap;
}

.btn-add, .btn-user { white-space: nowrap; }

/* Dar ekranda marka + düğmeler üstte, menü alt satırda — üst çubuk
   yana taşmak yerine iki sıraya bölünür. */
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; row-gap: 9px; gap: 12px; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .topbar-right { margin-left: auto; }
}

.nav-btn:hover { color: var(--text); background: var(--panel); }

.nav-btn.active {
  color: var(--text);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line2);
}

.btn-user {
  background: linear-gradient(150deg, var(--m-gold-1), var(--m-gold-2) 55%, var(--m-gold-3));
  color: var(--card-ink);
  letter-spacing: .06em;
  box-shadow: 0 4px 16px rgba(217, 168, 58, .3);
}

.btn-add {
  background: var(--panel);
  border: 1px solid var(--line2);
  color: var(--green-dim);
  letter-spacing: .06em;
}

.btn-add:hover { border-color: var(--green); background: var(--green-soft); }

/* ---------------------------------------------------------------- canlı şerit */
.ticker { background: var(--bg2); border-bottom: 1px solid var(--line); }
.tk .dot { background: var(--panel2); box-shadow: 0 0 0 1px var(--line2); }
.tk .nm { letter-spacing: .05em; }

/* ---------------------------------------------------------------- paneller */
.panel, .rank-card, .profile-card, .feed-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.stat {
  background: linear-gradient(165deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
}

.stat b { font-weight: 800; letter-spacing: -.01em; }

.panel-title { color: var(--muted2); letter-spacing: .16em; }

/* ---------------------------------------------------------------- düğmeler */
.btn-primary {
  background: linear-gradient(150deg, var(--m-gold-1), var(--m-gold-2) 55%, var(--m-gold-3));
  color: var(--card-ink);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(217, 168, 58, .26);
}

.btn-primary:hover {
  background: linear-gradient(150deg, #fff0bd, var(--m-gold-1) 55%, var(--m-gold-2));
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(217, 168, 58, .34);
}

.btn-primary:disabled {
  background: var(--panel2);
  color: var(--muted2);
  box-shadow: none;
  transform: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line2);
  color: var(--muted);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.btn-ghost:hover { color: var(--text); border-color: var(--line2); background: var(--panel2); }

/* ---------------------------------------------------------------- rozetler */
.chip {
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: .05em;
  border-radius: 7px;
}

.chip.gold { background: var(--gold-soft); border-color: rgba(230, 189, 87, .34); color: var(--gold); }
.chip.lead { background: var(--live-soft); border-color: rgba(255, 59, 87, .32); color: #ff8090; }
.chip.mine { background: var(--green-soft); border-color: rgba(36, 201, 124, .34); color: var(--green-dim); }
.chip.cost { background: var(--gold-soft); border-color: rgba(230, 189, 87, .34); color: var(--gold); }

/* ============================================================================
   İL KARTI — Yöneticiler sayfasının kahramanı.
   Plaka kartın numarası, koltuk kademesi kartın metali.
   ============================================================================ */
.seat-grid {
  grid-template-columns: repeat(auto-fill, minmax(206px, 1fr));
  gap: 14px;
}

.seat-card {
  position: relative;
  display: block;
  padding: 2px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(150deg, var(--m-bronze-1), var(--m-bronze-2) 48%, var(--m-bronze-3));
  color: var(--card-ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  transition: transform .22s cubic-bezier(.2, .8, .3, 1), filter .22s;
  overflow: visible;
}

.seat-card.tier-1 { background: linear-gradient(150deg, var(--m-gold-1), var(--m-gold-2) 48%, var(--m-gold-3)); }
.seat-card.tier-2 { background: linear-gradient(150deg, var(--m-silver-1), var(--m-silver-2) 48%, var(--m-silver-3)); }
.seat-card.tier-3 { background: linear-gradient(150deg, var(--m-bronze-1), var(--m-bronze-2) 48%, var(--m-bronze-3)); }

/* Hover'da yalnızca kart yükselir ve hafif parlar — zemine dokunulmaz.
   ("background: inherit" kartın metal geçişini siliyor, kart şeffaf kalıyordu.) */
.seat-card:hover { transform: translateY(-6px); filter: brightness(1.06); }

/* Eski temanın ".seat-card:hover { background: var(--panel2) }" kuralı hover'da
   zemini düz panel rengine çeviriyor. Kademe geçişlerini daha yüksek
   özgüllükle yeniden yazıyoruz ki hover'da da metal kalsın. */
.seat-card.tier-1:hover { background: linear-gradient(150deg, var(--m-gold-1), var(--m-gold-2) 48%, var(--m-gold-3)); }
.seat-card.tier-2:hover { background: linear-gradient(150deg, var(--m-silver-1), var(--m-silver-2) 48%, var(--m-silver-3)); }
.seat-card.tier-3:hover { background: linear-gradient(150deg, var(--m-bronze-1), var(--m-bronze-2) 48%, var(--m-bronze-3)); }
.seat-card.mine { box-shadow: 0 0 0 2px var(--green), 0 12px 30px rgba(36, 201, 124, .22); }

.seat-card.free { opacity: 1; border-style: none; }
.seat-card.free .sc-in { border: 1px dashed rgba(20, 25, 28, .35); }

/* metalin üstünden geçen parlama */
.seat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 47%, transparent 56%);
  transform: translateX(-120%);
  transition: transform .6s ease;
  clip-path: inherit;
}

.seat-card:hover::after { transform: translateX(120%); }

.sc-in {
  background: rgba(20, 25, 28, .06);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 23px), calc(100% - 23px) 100%, 0 100%);
  padding: 12px 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 196px;
}

.sc-tier {
  position: absolute;
  top: 0;
  right: 0;
  font-family: 'Saira Condensed', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  padding: 4px 9px;
  background: rgba(20, 25, 28, .8);
  color: #fff;
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 0 100%);
}

.sc-head { display: flex; align-items: flex-start; gap: 10px; }

.sc-plate {
  flex: none;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  line-height: .84;
  color: inherit;
}

.sc-plate b {
  display: block;
  font-size: 38px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.sc-plate i {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  opacity: .6;
}

.sc-crest {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38), 0 3px 10px rgba(0, 0, 0, .28);
}

.sc-crest img { width: 84%; height: 84%; object-fit: contain; }

.sc-crest b {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.sc-body { display: flex; flex-direction: column; gap: 1px; }

.sc-city {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: inherit;
  overflow-wrap: anywhere;
}

.sc-region {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .58;
}

.sc-rule { height: 1px; background: currentColor; opacity: .2; }

.sc-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.sc-sub {
  font-size: 11.5px;
  color: inherit;
  opacity: .8;
  overflow-wrap: anywhere;
}

.sc-sub i {
  /* satır içi "color" takım rengi; yazıyı kartın mürekkebine sabitliyoruz,
     renk yalnızca ::before noktasında (currentColor) kullanılıyor */
  -webkit-text-fill-color: var(--card-ink);
  padding-left: 11px;
}

.sc-sub i::before { box-shadow: 0 0 0 1px rgba(20, 25, 28, .25); }

.sc-price {
  margin-left: auto;
  font-size: 16px;
  font-weight: 800;
  color: inherit;
}

.sc-promo {
  font-size: 11px;
  opacity: .72;
  color: inherit;
}

.sc-promo a { color: inherit; font-weight: 700; }

/* ---------------------------------------------------------------- sıralama */
.rank-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line2);
  border-radius: 10px;
}

.rank-list li.me { border-left-color: var(--green); background: var(--green-soft); }

.rank-pos { font-size: 20px; font-weight: 800; color: var(--muted2); }

.rank-av {
  color: var(--card-ink);
  border-radius: 9px;
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .74),
              inset 0 0 0 1px rgba(20, 25, 28, .2),
              0 2px 10px rgba(0, 0, 0, .3);
}

.rank-xp { font-size: 18px; font-weight: 800; color: var(--gold); }

/* ---------------------------------------------------------------- harita ÇERÇEVESİ
   (haritanın kendisi değil — il yolları, etiketler ve logo katmanı korunuyor) */
.map-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------------- HARİTA
   Aşağısı haritanın İLK sürümündeki değerlerin birebir kendisi. Sayfanın
   teması ne olursa olsun harita değişmesin diye renkler sabit yazıldı. */
.map-stage {
  background:
    radial-gradient(760px 420px at 50% 30%, rgba(49, 224, 127, .09), transparent 70%),
    radial-gradient(500px 300px at 15% 90%, rgba(244, 185, 63, .05), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 60px, transparent 60px 120px),
    #081410;
  border: 1px solid rgba(180, 255, 210, .10);
}

.plabel {
  fill: rgba(234, 245, 238, .6);
  stroke: rgba(6, 12, 9, .85);
  stroke-width: 2px;
  paint-order: stroke;
}

.map-zoom button {
  background: rgba(16, 28, 22, .92);
  border: 1px solid rgba(180, 255, 210, .18);
  color: #eaf5ee;
}

.map-zoom button:hover { background: #1c332a; }

.map-tip {
  background: rgba(12, 22, 17, .97);
  border: 1px solid rgba(180, 255, 210, .18);
  color: #eaf5ee;
}

.map-tip .t-lead { color: #9fb6a8; }

/* ---------------------------------------------------------------- sezon şeridi */
.season-bar {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
  border: 1px solid rgba(230, 189, 87, .28);
}

.sb-no {
  background: linear-gradient(150deg, var(--m-gold-1), var(--m-gold-2));
  border: 0;
  color: var(--card-ink);
  letter-spacing: .1em;
}

.sb-left { background: var(--panel2); border-color: var(--line2); color: var(--text); }

/* ---------------------------------------------------------------- modal */
.modal {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
}

.modal-back { background: rgba(9, 14, 17, .72); }

.modal-plate {
  background: linear-gradient(150deg, var(--m-gold-1), var(--m-gold-2) 55%, var(--m-gold-3));
  border: 0;
  color: var(--card-ink);
  font-size: 17px;
  font-weight: 800;
}

.modal-head h2 { font-weight: 800; letter-spacing: -.01em; }

.pres-current { background: var(--panel2); border: 1px solid var(--line); }
.pres-current.mine { border-color: rgba(36, 201, 124, .45); }

/* Koltuk alma onayı: paket açılışı gibi arkadan gelen ışık */
#voteConfirmModal .modal { position: relative; overflow: hidden; }

#voteConfirmModal .modal::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translateX(-50%);
  background: conic-gradient(from 0deg, transparent 0 6deg,
      rgba(230, 189, 87, .16) 6deg 9deg, transparent 9deg 22deg);
  animation: packSpin 26s linear infinite;
  pointer-events: none;
}

@keyframes packSpin { to { transform: translateX(-50%) rotate(360deg); } }

#voteConfirmModal .modal > * { position: relative; }

.vc-team { background: var(--panel2); border: 1px solid var(--line); }
.vc-pay { background: var(--gold-soft); border-color: rgba(230, 189, 87, .3); }
.vc-pay-row b { color: var(--gold); }

/* ---------------------------------------------------------------- tanıtım */
.promo-card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid rgba(230, 189, 87, .26);
}

.promo-card::before { background: linear-gradient(180deg, var(--gold), rgba(230, 189, 87, .2)); }
.promo-tag { color: var(--gold); background: var(--gold-soft); border-color: rgba(230, 189, 87, .3); }
.promo-link { color: var(--gold); background: var(--gold-soft); border-color: rgba(230, 189, 87, .3); }
.promo-link:hover { background: var(--gold); border-color: var(--gold); color: var(--card-ink); }

/* ---------------------------------------------------------------- oy notu */
.vote-note { background: var(--panel2); border-color: var(--line); border-left-color: var(--line2); }
.vote-note.free { background: var(--green-soft); border-left-color: var(--green); }
.vote-note.pay { background: var(--gold-soft); border-left-color: var(--gold); }
.vote-note.pay b { color: var(--gold); }

/* ---------------------------------------------------------------- takım seçim ızgarası */
.tg { background: var(--panel2); border: 1px solid var(--line); }
.tg:hover { border-color: var(--line2); background: var(--panel3); }
.tg.picked { border-color: var(--green); background: var(--green-soft); }

/* ---------------------------------------------------------------- diğer */
.toast { background: var(--panel2); border-color: var(--line2); box-shadow: var(--shadow); }
.toast.warn { background: #2a1418; border-color: rgba(255, 59, 87, .45); color: #ffb4bd; }
.err, .user-menu button.danger { color: #ff8090; }
.muted-note.warn-note { color: #ff8090; background: var(--live-soft); border-color: rgba(255, 59, 87, .28); }
.verify-bar { color: var(--gold-strong); border-bottom-color: rgba(230, 189, 87, .3); }
.search, input, select, textarea { color-scheme: dark; }

@media (prefers-reduced-motion: reduce) {
  .seat-card, .seat-card::after, #voteConfirmModal .modal::before { transition: none !important; animation: none !important; }
}

/* ============================================================================
   ÖNE ÇIKAN YÖNETİCİLER (sağ ray)
   Sıralama yöneticilerin koltukları için yatırdığı toplam tutara göre.
   Koltuk bu sıralamadan etkilenmez; satılan şey görünürlük.
   ============================================================================ */
.featured-card { text-align: left; padding: 0; }

.fc-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.fc-head .crown {
  font-size: 17px;
  color: var(--gold);
  line-height: 1;
}

.fc-head h3 {
  margin: 0;
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}

.fc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fc-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 9px;
  background: var(--panel2);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: .13s;
}

.fc-row:hover { border-color: var(--line2); background: var(--panel3); }

/* zirvedeki koltuk altın şeritle ayrışır */
.fc-row.first {
  background: linear-gradient(90deg, var(--gold-soft), var(--panel2));
  border-color: rgba(230, 189, 87, .34);
}

.fc-rank {
  flex: none;
  width: 17px;
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--muted2);
  font-variant-numeric: tabular-nums;
}

.fc-row.first .fc-rank { color: var(--gold); }

.fc-crest {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex: none;
}

.fc-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }

.fc-who b {
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}

.fc-who span { font-size: 11px; color: var(--muted2); overflow-wrap: anywhere; }

.fc-total {
  flex: none;
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.fc-empty, .fc-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

/* --- kullanıcının kendi koltukları --- */
.fc-me { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }

.fc-me:empty { display: none; }

.fc-mine {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.fc-mine-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.fc-mine-head b { color: var(--text); }

.fc-mine-total {
  margin-left: auto;
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.fc-actions { display: flex; flex-direction: column; gap: 6px; }

.fc-btn {
  width: 100%;
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--panel2);
  border: 1px solid var(--line2);
  color: var(--text);
  border-radius: 9px;
  padding: 9px 11px;
  cursor: pointer;
  transition: .13s;
}

.fc-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }

.fc-btn.gold {
  background: linear-gradient(150deg, var(--m-gold-1), var(--m-gold-2) 55%, var(--m-gold-3));
  border-color: transparent;
  color: var(--card-ink);
}

.fc-btn.gold:hover {
  background: linear-gradient(150deg, #fff0bd, var(--m-gold-1) 55%, var(--m-gold-2));
  color: var(--card-ink);
}

.fc-btn:disabled { opacity: .55; cursor: not-allowed; }

.fc-crown {
  display: inline-block;
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(230, 189, 87, .3);
  border-radius: 8px;
  padding: 7px 11px;
}

/* --- vitrin koltuğu seçimi --- */
.fc-mine.on .fc-mine-head b { color: var(--gold); }

.fc-tag {
  flex: none;
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(230, 189, 87, .32);
  border-radius: 5px;
  padding: 2px 6px;
  margin-right: 2px;
}

.fc-btn.ghost {
  background: transparent;
  border-style: dashed;
  color: var(--muted);
}

.fc-btn.ghost:hover {
  border-style: solid;
  color: var(--gold);
  background: var(--gold-soft);
}

.fc-me .fc-note { margin-top: 2px; font-size: 11.5px; color: var(--muted2); }

/* --- öne çıkmada tutar girişi --- */
.vc-amount { margin-bottom: 12px; }

.vc-amount > label {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 6px;
}

.vc-amount-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 4px 12px;
}

.vc-amount-row:focus-within { border-color: var(--gold); }

.vc-cur {
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}

.vc-amount-row input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--text);
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 8px 0;
}

.vc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }

.vc-chip {
  font-family: 'Saira Condensed', 'Oswald', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--panel2);
  border: 1px solid var(--line2);
  color: var(--muted);
  border-radius: 7px;
  padding: 5px 10px;
  cursor: pointer;
  transition: .12s;
}

.vc-chip i { font-style: normal; font-size: 9.5px; letter-spacing: .1em; opacity: .8; }
.vc-chip:hover { color: var(--text); border-color: var(--gold); }
.vc-chip.on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }

#vcPreview {
  display: block;
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

#vcPreview b { color: var(--gold); }

/* --- kalan süreye göre oranlanan koltuk bedeli --- */
.sc-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}

.sc-price i {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  opacity: .55;
  text-decoration: line-through;
}

.seats-note {
  margin: -4px 0 12px;
  font-size: 12px;
  color: var(--muted2);
}

.seats-note:empty { display: none; }

/* ============================================================================
   CANLI ŞERİT — sabit hızda, dikişsiz akış
   Şerit tam bir set boyu kayar; kopyalar birebir aynı olduğu için
   başa döndüğünde göz fark etmez. Süreyi JS piksel/saniyeden hesaplar.
   ============================================================================ */
.ticker {
  display: block;
  overflow: hidden;
  padding: 8px 0;
  position: relative;
}

.tk-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation-name: tickerRun;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.tk-set { display: flex; }

@keyframes tickerRun {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--tk-w, 0px))); }
}

/* Okumak isteyen üstüne gelince durdurabilsin */
.ticker:hover .tk-track,
.ticker:focus-within .tk-track { animation-play-state: paused; }

/* Kenarlarda yumuşak geçiş — içerik ekrandan kesilerek çıkmasın */
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 46px;
  pointer-events: none;
  z-index: 2;
}

.ticker::before { left: 0;  background: linear-gradient(90deg, var(--bg2), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--bg2), transparent); }

@media (prefers-reduced-motion: reduce) {
  .tk-track { animation: none; }
  .ticker { overflow-x: auto; }
  .ticker::before, .ticker::after { display: none; }
}
