:root {
  color-scheme: dark;
  --bg: #101018;
  --surface: #1a1a26;
  --surface-2: #242434;
  --border: #2e2e42;
  --text: #f2f2f7;
  --muted: #9a9ab0;
  --accent: #fe2c55;
  --accent-2: #25f4ee;
  --ok: #34c77b;
  --warn: #ffb020;
  --bad: #ff4d5e;
  --radius: 14px;
  --tabbar-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px; /* iOS 16px altındaki inputlarda otomatik zoom yapar */
  line-height: 1.4;
}

h1, h2 { margin: 0; }
h2 { font-size: 17px; }
[hidden] { display: none !important; }

/* ---- Giriş ---- */
.login { max-width: 420px; margin: 0 auto; padding: 15vh 16px 16px; }
.login h1 { font-size: 28px; margin-bottom: 8px; }
.login p { color: var(--muted); }
.login form { display: grid; gap: 12px; margin-top: 20px; }

/* ---- Üst durum çubuğu ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
  background: rgba(16, 16, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar__text small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--muted); }
.dot[data-state="connected"] { background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 199, 123, .2); }
.dot[data-state="connecting"], .dot[data-state="waiting"] { background: var(--warn); animation: pulse 1s infinite; }
.dot[data-state="error"] { background: var(--bad); }

.viewers {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 16px calc(var(--tabbar-h) + var(--safe-bottom) + 24px);
}

.tab { display: grid; gap: 14px; }

/* ---- Kartlar ---- */
.card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hint { margin: -6px 0 0; color: var(--muted); font-size: 14px; }
.empty { margin: 0; color: var(--muted); font-size: 14px; text-align: center; padding: 8px 0; }
.error { color: var(--bad); }

/* ---- Form ---- */
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 14px; color: var(--muted); }

input[type="text"], input[type="number"], input[type="password"], input:not([type]), textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, textarea:focus { outline: 2px solid var(--accent-2); outline-offset: 1px; border-color: transparent; }

input[type="range"] { width: 100%; height: 32px; accent-color: var(--accent); }

.input-prefix { display: flex; align-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.input-prefix span { padding-left: 14px; color: var(--muted); }
.input-prefix input { border: 0; background: transparent; padding-left: 4px; }
.input-prefix:focus-within { outline: 2px solid var(--accent-2); outline-offset: 1px; }
.input-prefix input:focus { outline: none; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.switch { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.switch input {
  appearance: none;
  flex: none;
  width: 48px;
  height: 28px;
  margin: 0;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
  transition: background .2s;
}
.switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.switch input:checked { background: var(--accent); border-color: var(--accent); }
.switch input:checked::after { transform: translateX(20px); }

/* ---- Butonlar ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--muted); }

.segmented { display: flex; padding: 4px; gap: 4px; background: var(--surface-2); border-radius: 10px; }
.segmented button {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.segmented button.is-active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.segmented--small button { min-height: 34px; font-size: 13px; }

.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---- İstatistik ---- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  display: grid;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat small { color: var(--muted); }
.stat strong { font-size: 26px; font-variant-numeric: tabular-nums; }

/* ---- Etkileşimler ---- */
.mini-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.mini-stats div { display: grid; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.mini-stats small { color: var(--muted); font-size: 12px; }
.mini-stats strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.activity { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 260px; overflow-y: auto; }
.activity li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 8px; background: var(--surface-2); font-size: 14px; animation: fade-in .25s ease-out; }
.activity__name { min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.activity__what { flex: none; color: var(--muted); }
.event-toggles { display: grid; gap: 4px; }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sources li {
  display: flex; justify-content: space-between; gap: 10px; padding: 5px 8px; border-radius: 8px; font-size: 13px;
  background: linear-gradient(90deg, rgba(254, 44, 85, .25) var(--pct, 0%), var(--surface-2) var(--pct, 0%));
}
.sources__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, Consolas, monospace; }
.row--wrap { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- Bağış listesi ---- */
.log, .top { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.log li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  background: var(--surface-2);
  animation: fade-in .25s ease-out;
}
.log li.is-rejected { opacity: .6; }
.log img, .log .ph { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--border); }
.log .meta { min-width: 0; }
.log .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log .desc { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log .coins { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.log .badge { display: block; font-size: 11px; font-weight: 600; color: var(--ok); }
.log .is-rejected .badge, .log li.is-rejected .badge { color: var(--bad); }

.top { counter-reset: rank; }
.top li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--border);
  counter-increment: rank;
}
.top li::before { content: counter(rank); width: 22px; color: var(--muted); font-weight: 700; }
.top li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top li b { font-variant-numeric: tabular-nums; }

/* ---- Alt sekme çubuğu ---- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(16, 16, 24, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.tabbar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}
.tabbar__icon { font-size: 20px; line-height: 1; }
.tabbar button.is-active { color: var(--accent); }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 16px);
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  z-index: 20;
  animation: fade-in .2s ease-out;
}

@keyframes pulse { 50% { opacity: .4; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } }

/* Geniş ekranda (tablet / PC) biraz daha ferah */
@media (min-width: 700px) {
  main { padding-top: 24px; }
  .tabbar { left: 50%; right: auto; width: 640px; transform: translateX(-50%); border-radius: 16px 16px 0 0; border: 1px solid var(--border); }
}

/* ---- Takım sekmesi ---- */
.stack { display: grid; gap: 14px; }
.tabbar { grid-template-columns: repeat(5, 1fr); }

.team-live { display: grid; gap: 10px; padding-top: 4px; border-top: 1px solid var(--border); }

.team-card { --c1: #fff; --c2: #000; }
.team-card__head { display: flex; align-items: center; gap: 10px; }
.team-card__stripe { width: 8px; align-self: stretch; min-height: 28px; border-radius: 4px; background: linear-gradient(var(--c1) 50%, var(--c2) 50%); }
.team-card__name { flex: 1; }
/* Takım adı: kartın başlığında düzenlenebilir */
.team-card__name-input {
  flex: 1; min-width: 0; min-height: 40px; padding: 0 10px; border-radius: 10px;
  border: 1px solid transparent; background: transparent; color: var(--text); font: inherit; font-size: 20px; font-weight: 800;
}
.team-card__name-input:hover, .team-card__name-input:focus { border-color: var(--border); background: var(--surface-2); outline: none; }
.team-card__colors { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.team-card__colors input, .team-add__row input[type="color"] { width: 44px; height: 36px; padding: 2px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); }
.team-card__delete { justify-self: start; }
.btn--danger { color: var(--bad); border-color: rgba(255, 77, 94, .45); }
.btn--danger:hover:not(:disabled) { background: rgba(255, 77, 94, .12); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
/* Takım ekle */
.team-add { display: grid; gap: 10px; }
.team-add__row { display: flex; gap: 8px; align-items: center; }
.team-add__row input[name="name"] { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font: inherit; }
.team-add__presets { display: flex; flex-wrap: wrap; gap: 6px; }
.team-add__presets:empty { display: none; }
.team-card__score { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
/* Takım hediyeleri: görsel + ad + coin */
.team-gifts { display: grid; gap: 6px; }
.team-gifts__label { font-size: 13px; color: var(--muted); }
.team-gifts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.team-gifts__add { justify-self: start; }
.team-gift { display: flex; gap: 6px; align-items: stretch; }
.team-gift__remove { flex: none; }
.gift-pick {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  font: inherit; text-align: left; cursor: pointer;
}
.gift-pick:hover:not(:disabled) { border-color: var(--accent); }
.gift-pick:disabled { opacity: .45; cursor: not-allowed; }
.gift-pick__img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.gift-pick__img.is-missing { visibility: hidden; }
.gift-pick__name { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gift-pick__coins { flex: none; color: var(--gold, #ffc83d); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }
.gift-pick__owner { flex: none; font-size: 12px; color: var(--muted); padding: 2px 8px; border-radius: 999px; background: var(--surface); }
/* Seçici: telefonda alttan açılan pencere */
.gift-picker { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .55); }
.gift-picker__sheet {
  width: 100%; max-width: 560px; max-height: 80vh; display: flex; flex-direction: column; gap: 10px;
  padding: 14px 14px calc(14px + var(--safe-bottom, 0px)); border-radius: 16px 16px 0 0; background: var(--surface);
}
.gift-picker__head { display: flex; gap: 8px; }
.gift-picker__head input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font: inherit; }
.gift-picker__list .gift-pick { width: 100%; }
.gift-picker__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; overflow-y: auto; }
.team-card__fields { display: grid; grid-template-columns: 72px 1fr; gap: 10px; }
.team-card__fields input { text-align: center; font-size: 20px; }
.team-card__fields textarea { min-height: 48px; }
.team-card__song { display: grid; gap: 8px; padding: 10px; border-radius: 10px; background: var(--surface-2); }
.team-card__song-status { font-size: 14px; color: var(--muted); }
.team-card__song-status b { color: var(--text); }
.team-card__song-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.team-card__song-actions .btn { background: var(--surface); }
.team-card.is-playing { border-color: var(--c1); box-shadow: 0 0 0 1px var(--c1); }

.log .badge.is-team { color: var(--team-color, var(--accent-2)); }
.team-card__logo { width: 34px; height: 34px; object-fit: contain; flex: none; }
.log .badge.is-team { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.badge__logo { width: 16px; height: 16px; object-fit: contain; }
.row--3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.row--4 { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.team-card__tests { display: grid; gap: 6px; }
.team-card__tests > span { font-size: 13px; color: var(--muted); }

/* ---- Oyun sekmesi ---- */
.tabbar { grid-template-columns: repeat(7, 1fr); }
.tabbar button { font-size: 11px; }

/* ---- Kim ne yaptı? ---- */
.people-tabs button { flex: 1 0 30%; font-size: 12px; }
.people__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 420px; overflow-y: auto; }
.people__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 9px; border-radius: 8px; background: var(--surface-2); font-size: 14px; }
.people__row--comment { justify-content: flex-start; align-items: baseline; }
.people__who { display: flex; flex-direction: column; min-width: 0; }
.people__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.people__user { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.people__value { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.people__time { flex: none; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.people__row--comment .people__name { flex: none; max-width: 40%; }
.people__text { min-width: 0; overflow-wrap: anywhere; }

/* ---- Yayınlar ---- */
.streams { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.streams__item { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); cursor: pointer; }
.streams__item:hover { outline: 1px solid var(--border); }
.streams__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.streams__meta { color: var(--muted); font-size: 13px; }
.streams__nums { font-size: 13px; font-variant-numeric: tabular-nums; }
.stream-back { margin-bottom: 12px; }
.chart svg { width: 100%; height: 180px; display: block; }
.chart .c-axis { stroke: var(--border); }
.chart .c-joins { fill: rgba(37, 244, 238, .55); }
.chart .c-viewers { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.chart .c-chats { fill: none; stroke: #ffc83d; stroke-width: 2; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.chart .c-tick { fill: var(--muted); font-size: 11px; }
.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.lg { display: inline-block; width: 12px; height: 4px; margin-right: 5px; vertical-align: middle; border-radius: 2px; }
.lg--viewers { background: var(--accent); }
.lg--joins { background: rgba(37, 244, 238, .7); height: 10px; }
.lg--chats { background: #ffc83d; }
.sd-extra { display: grid; gap: 12px; }
.sd-extra__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.sd-extra__list li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 8px; border-radius: 8px; background: var(--surface-2); font-size: 13px; }
.sd-extra__list li span { min-width: 0; overflow-wrap: anywhere; }
.sd-extra__list li b { flex: none; font-variant-numeric: tabular-nums; }
.segmented--wrap { flex-wrap: wrap; }
.segmented--wrap button { flex: 1 0 18%; }
.game-live { margin: 0; font-size: 14px; color: var(--muted); }
.game-live b { color: var(--text); }
select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
}
select:focus { outline: 2px solid var(--accent-2); outline-offset: 1px; }
.inline-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.slice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.slice-list li { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border-radius: 10px; background: var(--surface-2); }
.slice-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slice-list li i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.slice-list .btn { min-height: 36px; width: 36px; padding: 0; }
.switch--compact { align-self: end; min-height: 48px; }

/* ---- Overlay sekmesi ---- */
.social-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.social-list li { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; padding: 8px; border-radius: 10px; background: var(--surface-2); }
.social-list li input { grid-column: 1 / -1; }
.social-list .btn { min-height: 48px; width: 48px; padding: 0; }
.social-list select { background: var(--surface); }

/* ---- PK ---- */
.pk-side { margin: 0; padding: 12px; border: 1px solid var(--border); border-radius: 10px; display: grid; gap: 10px; }
.pk-side legend { padding: 0 6px; color: var(--muted); font-size: 14px; }
.pk-side input[type="color"] { width: 100%; min-height: 48px; padding: 4px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.pk-side.is-team .pk-custom { display: none; }
.segmented--wrap button { flex: 1 0 15%; }

/* ---- Takımlar sekmesi: alt sekmeler ve bölüm başlıkları ---- */
.subnav {
  position: sticky;
  top: calc(var(--topbar-h, 64px) + 4px);
  z-index: 5;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.subnav button { min-height: 46px; font-size: 15px; font-weight: 700; }
.subtab { display: grid; gap: 14px; }
.section-head { border-color: rgba(254, 44, 85, .35); background: linear-gradient(160deg, rgba(254, 44, 85, .10), transparent 60%), var(--surface); }
.section-head__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.section-head__title h2 { margin: 0; font-size: 20px; }
.badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.badge.is-on { background: rgba(52, 199, 123, .18); color: #4be08f; }
.card__sub { margin: 0; font-size: 15px; letter-spacing: .02em; color: var(--muted); text-transform: uppercase; }
.group-title { margin: 8px 2px -4px; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }

/* Stadyum canlı skor: 5 takım yan yana */
.score-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.score-chip {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 10px;
  background: var(--surface-2);
  border-top: 3px solid var(--c1);
  min-width: 0;
}
.score-chip.is-leader { box-shadow: inset 0 0 0 2px #ffc83d; }
.score-chip__name { font-size: 12px; font-weight: 800; color: var(--muted); }
.score-chip__goals { font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.score-chip__bar { width: 100%; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.score-chip__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.score-chip small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.stadium-tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* ---- Bando ---- */
.bando-live { display: grid; gap: 0.5rem; margin-bottom: 0.6rem; }
.bando-live__row { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.5rem; align-items: start; }
.bando-live__title { font-weight: 700; padding-top: 0.15rem; }
.bando-live__chips { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.bando-chip { padding: 0.15rem 0.55rem; border-radius: 1rem; background: rgba(255, 255, 255, .08); font-size: 0.85rem; max-width: 11rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bando-chip--f { box-shadow: inset 0 0 0 1px #ff7eb6; }
.bando-chip--m { box-shadow: inset 0 0 0 1px #6fb8ff; }
.bando-chip.is-empty { opacity: 0.45; }
.bando-gifts { display: grid; gap: 0.6rem; }
.bando-gift { display: grid; grid-template-columns: 1fr; gap: 0.35rem; padding: 0.55rem; border-radius: 0.7rem; background: rgba(255, 255, 255, .04); }
.bando-gift__title { font-weight: 700; }
.bando-gift__labelwrap { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.bando-gift__labelwrap input { flex: 1; min-width: 0; }
