/* ----- Header / Budget (2col maquette style) ----- */
.table-page__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.table-page__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}
.table-page__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.budget-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.budget-bar__text { font-size: 13px; color: #64748b; white-space: nowrap; }
.budget-bar__value { font-weight: 700; font-size: 15px; color: #d4562a; white-space: nowrap; }
.budget-bar__track {
  flex: 0 1 120px; min-width: 60px;
  height: 6px; background: #e2e8f0;
  border-radius: 3px; overflow: hidden;
}
.budget-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #d4562a, #e2724a);
  border-radius: 3px; transition: width 0.3s;
}
.budget-bar__count {
  font-size: 13px; color: #94a3b8;
  margin-left: auto;
  white-space: nowrap;
}
.table-page__status {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: rgba(34, 197, 94, 0.15); color: #4ade80; font-weight: 500;
}

/* ----- Minicards ----- */
.table-page__minicards {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.table-page__minicard {
  background: rgba(22, 33, 62, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.table-page__minicard-value { font-size: 20px; font-weight: 700; }
.table-page__minicard-label { font-size: 11px; color: #94a3b8; }

/* ----- Athlete Grid ----- */
.athlete-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  overflow: hidden;
}

/* ----- Athlete Card ----- */
.athlete-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: relative;
  min-height: 92px;
  min-width: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.athlete-card:not(.athlete-card--empty) { }
.athlete-card--empty {
  display: flex; align-items: center; justify-content: center;
  border-style: dashed;
}
.athlete-card--empty:hover {
  border-color: #d4562a;
  box-shadow: 0 0 0 3px rgba(212, 86, 42, 0.1);
}
.athlete-card--empty:not(.athlete-card--clickable):hover {
  border-color: #e2e8f0;
  box-shadow: none;
}

/* Triangle flag top-right */
.athlete-card__flag {
  position: absolute; top: 0; right: 0;
  width: 36px; height: 36px; overflow: hidden; z-index: 2;
}
.athlete-card__flag {
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  -webkit-clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.athlete-card__flag-img {
  width: 100%; height: 100%; object-fit: cover;
}

.athlete-card__body {
  padding: 10px 12px 14px;
  display: flex; flex-direction: column; gap: 4px; height: 100%;
}
.athlete-card__body > .athlete-stat { margin-top: auto; }
.athlete-card__info { flex: 1; min-width: 0; padding-right: 8px; }
.athlete-card__header {
  display: flex; align-items: center; gap: 8px;
  padding-right: 36px;
}
.athlete-card__avatar {
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.athlete-card__name {
  font-weight: 600; font-size: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.athlete-card__event { font-size: 11px; color: #64748b; }

/* Stats row (SB/PB) */
.stats-market {
  display: flex; justify-content: space-around;
  border-top: 1px solid #e2e8f0; padding-top: 6px; font-size: 12px;
}
.stats-market .stat { text-align: center; display: flex; flex-direction: column; gap: 1px; }
.stats-market .stat-label { color: #94a3b8; font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.stats-market .stat-value { font-weight: 600; }

/* Price pill - always orange, right-aligned */
.price-pill {
  font-size: 11px; padding: 2px 8px; border-radius: 999px;
  font-weight: 600; display: inline-block; white-space: nowrap;
  margin-left: auto; flex-shrink: 0;
  background: rgba(249, 115, 22, 0.2); color: #fb923c;
}

/* Athlete stat (price/points) replaces stats-market */
.athlete-stat {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; padding: 4px 0; margin-top: 4px;
  border-radius: 6px;
  font-size: 13px; font-weight: 700;
}
.athlete-stat--price {
  background: rgba(249,115,22,0.30);
  color: #ea580c;
}
.athlete-stat--points {
  background: rgba(16,185,129,0.30);
  color: #059669;
}
.athlete-stat--empty {
  background: #f1f5f9;
  color: #94a3b8;
}
.athlete-stat__label {
  font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  opacity: 0.7;
}

/* Delete button - bottom center */
.athlete-card__delete {
  position: absolute; bottom: 0; left: 50%;
  transform: translate(-50%, 50%);
  width: 26px; height: 26px; border-radius: 50%; border: none;
  background: #f1f5f9; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #64748b; transition: background 0.15s, color 0.15s;
  z-index: 3; padding: 0;
}
.athlete-card__delete:hover { background: rgba(212, 86, 42, 0.1); color: #d4562a; cursor: pointer; }

/* Empty card add */
.athlete-card__add {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: #94a3b8;
}
.athlete-card__add-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: #f1f5f9; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 300; color: #64748b;
  transition: background 0.15s, color 0.15s;
}
.athlete-card--empty:hover .athlete-card__add-icon {
  background: rgba(212, 86, 42, 0.1); color: #d4562a;
}
.athlete-card--empty:not(.athlete-card--clickable):hover .athlete-card__add-icon {
  background: #f1f5f9; color: #64748b;
}
.athlete-card--empty:not(.athlete-card--clickable) { cursor: default; }
.athlete-card__add-label { font-size: 11px; font-weight: 500; }
.athlete-card__add--disabled { cursor: default; }

/* Avatar colors */
.avatar--red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.avatar--blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.avatar--green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.avatar--purple { background: linear-gradient(135deg, #a855f7, #9333ea); }
.avatar--yellow { background: linear-gradient(135deg, #eab308, #ca8a04); }
.avatar--pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.avatar--orange { background: linear-gradient(135deg, #fb923c, #f97316); }
.avatar--teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }

/* ----- Actions ----- */
.table-page__actions {
  display: flex; flex-direction: column; gap: 10px; margin-top: 20px;
}
.table-page__warning { font-size: 12px; color: #fb923c; display: flex; align-items: center; gap: 6px; }
.table-page__btn-group { display: flex; gap: 10px; }
.table-page__btn {
  padding: 10px 20px; border-radius: 12px;
  font-size: 13px; font-weight: 600; transition: opacity 0.15s;
}
.table-page__btn:hover { opacity: 0.85; }
.table-page__btn--secondary { background: #1e293b; color: #e2e8f0; }
.table-page__btn--primary { background: linear-gradient(135deg, #2563eb, #9333ea); color: #fff; }

/* Team page budget bar override */
.team__wrapper .budget-bar__text { font-size: 10px; }
.team__wrapper .budget-bar__value { font-size: 12px; }
.team__wrapper .budget-bar__count { font-size: 11px; }

/* ----- Mobile (cols based on data-cols attribute) ----- */
@media (max-width: 767px) {
  .table-page__minicards { grid-template-columns: repeat(2, 1fr); }
  .budget-bar { gap: 6px; }
  .budget-bar__text { font-size: 12px; }
  .budget-bar__value { font-size: 14px; }
  .budget-bar__count { font-size: 12px; }
  .table-page__actions { flex-direction: column; }
  .table-page__btn-group { flex-direction: column; }
  .table-page__btn { text-align: center; }

  .athlete-grid { gap: 16px 10px; }
  .athlete-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
  .athlete-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
  .athlete-grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }

  .athlete-card__body { padding: 10px 10px 18px; gap: 6px; }
  .athlete-grid[data-cols="4"] .athlete-card__body { padding: 8px 8px 16px; gap: 4px; }
  .athlete-card__header { gap: 8px; padding-right: 34px; }
  .athlete-grid[data-cols="4"] .athlete-card__header { gap: 6px; padding-right: 32px; }
  .athlete-card__avatar { width: 28px; height: 28px; font-size: 10px; }
  .athlete-grid[data-cols="4"] .athlete-card__avatar { width: 22px; height: 22px; font-size: 8px; }
  .athlete-card__info { padding-right: 0; }
  .athlete-card__name { font-size: 14px; }
  .athlete-grid[data-cols="4"] .athlete-card__name { font-size: 11px; }
  .athlete-card__event { font-size: 11px; }
  .athlete-grid[data-cols="4"] .athlete-card__event { font-size: 9px; }
  .athlete-stat { font-size: 12px; }
  .athlete-grid[data-cols="3"] .athlete-stat { font-size: 11px; }
  .athlete-grid[data-cols="4"] .athlete-stat { font-size: 10px; }
  .athlete-card__stats { gap: 6px; font-size: 11px; }
  .athlete-grid[data-cols="4"] .athlete-card__stats { gap: 6px; font-size: 9px; }
  .athlete-card__stat-label { font-size: 9px; }
  .athlete-grid[data-cols="4"] .athlete-card__stat-label { font-size: 7px; }
  .athlete-card__delete { width: 26px; height: 26px; }
  .athlete-grid[data-cols="4"] .athlete-card__delete { width: 22px; height: 22px; }
  .athlete-card__flag { width: 34px; height: 34px; }
  .athlete-grid[data-cols="4"] .athlete-card__flag { width: 32px; height: 32px; }
  .athlete-card__add-icon { width: 26px; height: 26px; font-size: 14px; }
  .athlete-grid[data-cols="4"] .athlete-card__add-icon { width: 22px; height: 22px; font-size: 13px; }
  .athlete-grid[data-cols="4"] .athlete-card__add-label { font-size: 10px; }
  .price-pill { font-size: 10px; }
  .athlete-grid[data-cols="4"] .price-pill { font-size: 9px; }
}

/* Center last card when 3 columns have a trailing single card */
@media (max-width: 767px) {
  .athlete-grid[data-cols="3"] > .athlete-card:last-child:nth-child(3n+1) {
    grid-column: 2;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .athlete-grid { gap: 12px 7px; }
  .athlete-grid[data-cols="4"] { gap: 12px 6px; }
  .athlete-card__body { padding: 8px 8px 16px; gap: 5px; }
  .athlete-grid[data-cols="4"] .athlete-card__body { padding: 6px 6px 14px; gap: 3px; }
  .athlete-card__header { gap: 6px; padding-right: 28px; }
  .athlete-grid[data-cols="4"] .athlete-card__header { gap: 4px; padding-right: 24px; }
  .athlete-card__avatar { width: 24px; height: 24px; font-size: 9px; }
  .athlete-grid[data-cols="4"] .athlete-card__avatar { width: 16px; height: 16px; font-size: 6px; }
  .athlete-card__name { font-size: 13px; }
  .athlete-grid[data-cols="4"] .athlete-card__name { font-size: 9px; }
  .athlete-card__event { font-size: 10px; }
  .athlete-grid[data-cols="4"] .athlete-card__event { font-size: 8px; }
  .athlete-stat { font-size: 11px; }
  .athlete-grid[data-cols="3"] .athlete-stat { font-size: 10px; }
  .athlete-grid[data-cols="4"] .athlete-stat { font-size: 9px; }
  .athlete-card__stats { gap: 5px; font-size: 10px; }
  .athlete-grid[data-cols="4"] .athlete-card__stats { gap: 4px; font-size: 7px; }
  .athlete-card__stat-label { font-size: 8px; }
  .athlete-grid[data-cols="4"] .athlete-card__stat-label { font-size: 6px; }
  .athlete-card__delete { width: 22px; height: 22px; }
  .athlete-grid[data-cols="4"] .athlete-card__delete { width: 18px; height: 18px; }
  .athlete-card__flag { width: 28px; height: 28px; }
  .athlete-grid[data-cols="4"] .athlete-card__flag { width: 24px; height: 24px; }
  .athlete-card__header { padding-right: 36px; }
  .athlete-card__add-icon { width: 22px; height: 22px; font-size: 12px; }
  .athlete-grid[data-cols="4"] .athlete-card__add-icon { width: 16px; height: 16px; font-size: 10px; }
  .athlete-grid[data-cols="4"] .athlete-card__add-label { font-size: 8px; }
  .price-pill { font-size: 9px; }
  .athlete-grid[data-cols="4"] .price-pill { font-size: 8px; }
  .athlete-grid[data-cols="4"] .athlete-stat { font-size: 10px; }
  .athlete-grid[data-cols="3"] .athlete-stat { font-size: 11px; }
  .budget-bar__text { font-size: 11px; }
  .budget-bar__value { font-size: 12px; }
  .budget-bar__count { font-size: 11px; }
  .budget-bar__track { flex: 0 1 60px; min-width: 40px; }
}

/* Tiny mobile */
@media (max-width: 380px) {
  .athlete-grid { gap: 10px 5px; }
  .athlete-grid[data-cols="4"] { gap: 10px 4px; }
  .athlete-card__body { padding: 6px 6px 14px; gap: 4px; }
  .athlete-grid[data-cols="4"] .athlete-card__body { padding: 4px 4px 12px; gap: 2px; }
  .athlete-card__header { gap: 5px; padding-right: 24px; }
  .athlete-grid[data-cols="4"] .athlete-card__header { padding-right: 20px; }
  .athlete-card__avatar { width: 20px; height: 20px; font-size: 8px; }
  .athlete-grid[data-cols="4"] .athlete-card__avatar { width: 14px; height: 14px; font-size: 5px; }
  .athlete-card__name { font-size: 11px; }
  .athlete-grid[data-cols="4"] .athlete-card__name { font-size: 8px; }
  .athlete-card__event { font-size: 9px; }
  .athlete-grid[data-cols="4"] .athlete-card__event { font-size: 7px; }
  .athlete-stat { font-size: 10px; }
  .athlete-grid[data-cols="3"] .athlete-stat { font-size: 9px; }
  .athlete-grid[data-cols="4"] .athlete-stat { font-size: 8px; }
  .athlete-card__stats { gap: 4px; font-size: 9px; }
  .athlete-grid[data-cols="4"] .athlete-card__stats { gap: 3px; font-size: 6px; }
  .athlete-card__stat-label { font-size: 7px; }
  .athlete-grid[data-cols="4"] .athlete-card__stat-label { font-size: 5px; }
  .athlete-card__delete { width: 18px; height: 18px; }
  .athlete-grid[data-cols="4"] .athlete-card__delete { width: 16px; height: 16px; }
  .athlete-card__flag { width: 24px; height: 24px; }
  .athlete-grid[data-cols="4"] .athlete-card__flag { width: 20px; height: 20px; }
  .athlete-card__add-icon { width: 18px; height: 18px; font-size: 10px; }
  .athlete-grid[data-cols="4"] .athlete-card__add-icon { width: 14px; height: 14px; font-size: 8px; }
  .athlete-grid[data-cols="4"] .athlete-card__add-label { font-size: 7px; }
  .price-pill { font-size: 8px; }
  .athlete-grid[data-cols="4"] .price-pill { font-size: 7px; }
  .athlete-grid[data-cols="4"] .athlete-stat { font-size: 9px; }
  .athlete-grid[data-cols="3"] .athlete-stat { font-size: 10px; }
  .budget-bar__text { font-size: 10px; }
  .budget-bar__value { font-size: 11px; }
  .budget-bar__count { font-size: 10px; }
  .budget-bar__track { flex: 0 1 40px; min-width: 30px; }
}

/* ----- Tablet ----- */
@media (min-width: 768px) and (max-width: 1079px) {
  .table-page__minicards { grid-template-columns: repeat(4, 1fr); }

  .athlete-grid { grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
  .athlete-card__flag { width: 34px; height: 34px; }
  .athlete-card__header { padding-right: 34px; }
  .athlete-grid[data-cols="4"] .athlete-stat { font-size: 11px; }
  .athlete-grid[data-cols="3"] .athlete-stat { font-size: 12px; }
  .price-pill { font-size: 10px; }
  .table-page__actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .table-page__btn-group { flex-direction: row; }
}

/* ----- Desktop ----- */
@media (min-width: 1080px) {
  .table-page__minicards { grid-template-columns: repeat(4, 1fr); }
  .table-page__actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .table-page__btn-group { flex-direction: row; }
}

/* ===== My Team V2 (BEM) ===== */
.team__wrapper {
  padding: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.team__variant {
  margin-bottom: 24px;
}
.team__variant--bordered {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
}
.team__label {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.team__row1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.team__row2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.team__name {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.02em;
  cursor: text;
  padding: 2px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.team__name--dimmed {
  color: #94a3b8;
}
.team__name--static {
  cursor: default;
}
.team__toggles {
  display: flex;
  gap: 3px;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 2px;
}
.team__toggles--dimmed {
  opacity: 0.4;
}
.team__togglebtn {
  padding: 3px 10px;
  font-size: 11px;
}
.team__togglelabel {
  padding: 3px 10px;
  font-size: 11px;
  color: #94a3b8;
}
.team__budget {
  flex: 1;
  min-width: 80px;
}
.team__budget--dimmed {
  opacity: 0.5;
}
.team__error {
  margin-bottom: 14px;
  padding: 8px 12px;
  font-size: 11px;
  color: #ef4444;
  background: rgba(239,68,68,0.08);
  border-radius: 6px;
  align-items: center;
  gap: 6px;
}
.team__error-icon {
  font-size: 13px;
}
.team__banner {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}
.team__banner--deadline {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.12);
}
.team__banner-icon {
  font-size: 16px;
}
.team__signin {
  padding: 12px 16px;
  margin-bottom: 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.team__signin--orange {
  background: linear-gradient(135deg,rgba(212,86,42,0.08),rgba(212,86,42,0.03));
  border: 1px solid rgba(212,86,42,0.15);
}
.team__signin--red {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
}
.team__signin-icon {
  font-size: 24px;
}
.team__signin-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}
.team__signin-desc {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
.team__signin-btn {
  margin-left: auto;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg,#d4562a,#e2724a);
  color: #fff;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.team__footnote {
  margin-top: 8px;
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
}
.team__leagues {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}
.team__leagues-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.team__leagues-title {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}
.team__leagues-link {
  font-size: 11px;
  color: #d4562a;
  cursor: pointer;
  font-weight: 600;
}
.team__leagues-link--dimmed {
  color: #94a3b8;
  cursor: default;
  opacity: 0.5;
}
.team__leagues-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.team__league-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.team__league-card--dashed {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #94a3b8;
  cursor: pointer;
}
.team__league-card--dashed-disabled {
  cursor: default;
}
.team__league-icon {
  font-size: 16px;
}
.team__league-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}
.team__league-meta {
  font-size: 10px;
  color: #64748b;
}
.team__league-addtext {
  font-size: 12px;
}

/* Status badges */
.v2b-status {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.v2b-status--saved { color: #22c55e; }
.v2b-status--unsaved { color: #eab308; }
.v2b-status--closed { color: #94a3b8; }

/* Actions row */
.v2b-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Buttons */
.v2b-btn {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
}
.v2b-btn--save {
  font-weight: 700;
  background: linear-gradient(135deg,#d4562a,#e2724a);
  color: #fff;
  gap: 4px;
}
.v2b-btn--create {
  background: #f1f5f9;
  color: #64748b;
}
.v2b-btn--join {
  background: #d4562a;
  color: #fff;
}
.v2b-btn--disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.6;
}
.v2b-btn--signin {
  margin-left: auto;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg,#d4562a,#e2724a);
  color: #fff;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

/* Column toggle active state */
.v2b-col-btn--active { background: #d4562a; color: #fff; }

/* Short labels */
.v2b-label-short { display: none; }

@media (max-width: 449px) {
  .v2b-actions, .team__actions { width: 100%; justify-content: flex-end; }
}
@media (min-width: 450px) {
  .v2b-actions, .team__actions { width: auto; }
}

/* Sign-in prompt inline box */
.team__signin-prompt {
  padding: 14px 18px;
  margin-bottom: 14px;
  background: linear-gradient(135deg,rgba(212,86,42,0.08),rgba(212,86,42,0.03));
  border: 1px solid rgba(212,86,42,0.15);
  border-radius: 10px;
}
.team__signin-prompt--deadline {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
}
.team__signin-flex {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.team__signin-bigicon {
  font-size: 28px;
}
.team__signin-content {
  flex: 1;
}

/* Hidden utility */
.team__hidden {
  display: none;
}

/* Athlete card clickable helper */
.athlete-card.athlete-card--clickable,
.athlete-card--empty.athlete-card--clickable { cursor: pointer; }
.athlete-card--disabled { cursor: default; }

/* Card empty animation */
@keyframes card-empty {
  to { opacity: 0; transform: scale(0.92); }
}
.team__card-anim {
  animation: card-empty 0.2s ease forwards;
}

/* Athlete picker overlay — bottom sheet */
.picker-overlay {
  position: fixed; bottom: 0; left: 0; right: 0; top: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.picker-overlay--open { display: flex; }
.picker-sheet {
  background: #fff;
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 600px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  animation: pickerSlideUp 0.35s ease-out;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
}
@keyframes pickerSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.picker-handle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 8px;
  flex-shrink: 0;
}
.picker-handle__bar {
  width: 36px; height: 4px; border-radius: 2px;
  background: #cbd5e1; margin: 0 auto;
}
.picker-handle__close {
  width: 28px; height: 28px; border-radius: 50%;
  background: #f1f5f9; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #64748b; font-size: 16px;
}
.picker-filters {
  padding: 0 16px 12px;
  flex-shrink: 0;
}
.picker-filters__row {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.picker-filters__row + .picker-filters__row { margin-top: 8px; }
.picker-search {
  flex: 1; min-width: 120px;
  padding: 7px 10px; border: 1px solid #e2e8f0;
  border-radius: 8px; font-size: 12px; outline: none;
}
.picker-search:focus { border-color: #d4562a; }
.picker-select {
  padding: 7px 12px; border: 1px solid #e2e8f0;
  border-radius: 8px; font-size: 12px; background: #f1f5f9;
  outline: none; min-width: 100px;
  cursor: pointer; color: #1e293b;
  appearance: auto; -webkit-appearance: auto;
}
.picker-search {
  background: #f1f5f9; border-color: transparent;
}
.picker-search:focus {
  background: #fff; border-color: #d4562a;
}
.picker-price {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 95px;
}
.picker-price__label { font-size: 11px; color: #64748b; white-space: nowrap; }
.picker-price__min,
.picker-price__max { font-size: 11px; color: #94a3b8; font-weight: 600; }
.picker-price__track {
  flex: 1; height: 4px; background: #e2e8f0;
  border-radius: 2px; position: relative;
}
.picker-price__fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: linear-gradient(90deg, #d4562a, #e2724a);
  border-radius: 2px; width: 60%;
}
.picker-price__thumb {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid #d4562a;
  cursor: pointer; left: 60%;
}
.picker-price__value { font-size: 12px; font-weight: 700; color: #1e293b; min-width: 30px; text-align: right; }
.picker-price__range {
  flex: 1; height: 4px; accent-color: #d4562a; cursor: pointer; min-width: 0;
}

/* Picker table */
.picker-table-wrap {
  flex: 1; overflow-y: auto;
  padding: 0 16px 16px;
}
.picker-table {
  width: 100%; border-collapse: collapse;
  font-size: 12px;
}
.picker-table thead { position: sticky; top: 0; background: #fff; z-index: 1; }
.picker-table th {
  font-size: 11px; font-weight: 600; color: #64748b;
  padding: 8px 6px; text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.picker-table__flag-cell { width: 28px; padding: 0 !important; }
.picker-table td:nth-child(2) { padding-left: 4px; }
.picker-table td:nth-child(3) { width: 85px; }
.picker-table td:nth-child(4) { width: 55px; }
.picker-table td:nth-child(5) { width: 55px; }
.picker-table td:nth-child(6) { width: 19px; text-align: center; }
.picker-table td:nth-child(7) { width: 55px; }
.picker-table tbody tr { cursor: pointer; }
.picker-table tbody tr:hover { background: #f8fafc; }
.picker-table__tr--selected { cursor: default; pointer-events: none; background: rgba(212,86,42,0.06); }
.picker-table__tr--selected td { opacity: 0.7; }
.evd-min19 { min-width: 19px; display: inline-block; }
.evd-badge-wrap { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; }
.evd-badge { background: rgba(212,86,42,0.1); color: #d4562a; padding: 1px 4px; border-radius: 3px; font-size: 8px; font-weight: 600; white-space: nowrap; }
.evd-badge-empty { color: transparent; }

/* Sortable columns */
.mq-sortable { cursor: pointer; user-select: none; }
.mq-sortable:hover { color: #1e293b; }
.mq-sort-arrows { display: inline-flex; flex-direction: column; vertical-align: middle; margin-left: 3px; font-size: 7px; line-height: 1; }
.mq-sort-up, .mq-sort-down { color: #cbd5e1; }
.mq-sort-up.mq-active, .mq-sort-down.mq-active { color: #d4562a; }

/* Team stats bar (finished competition) */
.team-stats {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 8px 16px; margin-bottom: 10px;
  background: rgba(212,86,42,0.04); border: 1px solid rgba(212,86,42,0.12);
  border-radius: 8px; font-size: 12px;
}
.team-stats--muted { background: #f8fafc; border-color: #e2e8f0; }
.team-stats--muted .team-stats__value { color: #64748b; }
.team-stats--muted .team-stats__item { cursor: default; }
.team-stats__item { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.team-stats__value { font-weight: 700; font-size: 14px; color: #d4562a; }
.team-stats__label { font-size: 10px; color: #64748b; }
.team-stats__sep { width: 1px; height: 20px; background: rgba(212,86,42,0.12); flex-shrink: 0; }
.team-stats--muted .team-stats__sep { background: #e2e8f0; }

/* Team Detail badge */
.td-meta__badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #d4562a; color: #fff; font-size: 9px; font-weight: 700; white-space: nowrap; }
.picker-table td {
  padding: 10px 6px; vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}
.picker-table td:last-child { text-align: right; }
.picker-table tr:last-child td { border-bottom: none; }
.picker-table__tr--disabled td {
  opacity: 0.5;
}
.picker-table__flag { width: 16px; height: 11px; border-radius: 1px; object-fit: cover; display: block; }
.picker-table__name {
  display: flex; align-items: center; gap: 8px;
}
.picker-table__avatar {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.picker-table__name-text { font-weight: 600; color: #1e293b; font-size: 12px; }
.picker-table__event { font-size: 10px; color: #64748b; }
.picker-table__sb,
.picker-table__pb {
  font-size: 12px; color: #475569;
  font-variant-numeric: tabular-nums;
}
.picker-table__price { font-weight: 700; font-size: 13px; color: #1e293b; }
.picker-footer {
  padding: 10px 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 11px; color: #94a3b8; text-align: center;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .picker-sheet { height: 92vh; border-radius: 12px 12px 0 0; }
  .picker-table { font-size: 11px; }
  .picker-table td { padding: 8px 4px; }
  .picker-table__name-text { font-size: 11px; }
}

@media (max-width: 549px) {
  .picker-table thead th:nth-child(2),
  .picker-table tbody td:nth-child(3) { display: none; }
  .picker-table__event-mobile { display: block; }
  .picker-table__name-text { font-size: 11px; }
  .picker-table td { padding: 6px 3px; }
  .picker-table__price { font-size: 11px; }
  .picker-table__sb,
  .picker-table__pb { font-size: 10px; }
}

@media (min-width: 550px) {
  .picker-table__event-mobile { display: none; }
}

@media (max-width: 699px) {
  .v2b-label-long { display: none; }
  .v2b-label-short { display: inline; }
}

/* Budget bar track inline override */
.team__track--tight {
  flex: 0 1 80px;
  min-width: 40px;
}
.budget-bar__fill--0 { width: 0%; }
.budget-bar__fill--92 { width: 92%; }

/* ===== Standings cards (opt2) ===== */
.opt2-list { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.opt2-card { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; cursor: pointer; }
.opt2-card--me { background: rgba(212,86,42,0.04); border-color: rgba(212,86,42,0.12); }
.opt2-medal { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0; }
.opt2-medal--1 { background: linear-gradient(135deg,#fbbf24,#f59e0b); }
.opt2-medal--2 { background: linear-gradient(135deg,#94a3b8,#64748b); }
.opt2-medal--3 { background: linear-gradient(135deg,#fb923c,#f97316); }
.opt2-medal--n, .opt2-medal--10, .opt2-medal--11, .opt2-medal--12 { background: #f1f5f9; color: #64748b; }
.opt2-info { flex: 1; min-width: 0; }
.opt2-name { font-weight: 600; font-size: 13px; color: #1e293b; }
.opt2-user { font-size: 11px; color: #64748b; }
.opt2-pts { text-align: right; flex-shrink: 0; }
.opt2-pts-value { font-weight: 700; font-size: 15px; color: #1e293b; }
.opt2-pts-label { font-size: 9px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em; }
.opt2-arrow { margin-left: 8px; color: #94a3b8; font-size: 14px; flex-shrink: 0; width: 8px; height: 8px; display: inline-flex; align-items: center; justify-content: center; }

/* ===== Standings utility classes ===== */
.st-variant { border-top: 1px solid #e2e8f0; padding-top: 16px; margin-bottom: 20px; }
.st-container { max-width: 600px; margin: 0 auto 10px; }
.st-header { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 10px; }
.st-info-row { display: flex; align-items: center; gap: 8px; }
.st-icon { font-size: 16px; }
.st-league-name { font-size: 13px; font-weight: 700; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.st-pos-row { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.st-pos-label { font-size: 10px; color: #64748b; }
.st-rank { padding: 0 6px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.st-rank--orange { background: rgba(212,86,42,0.12); color: #d4562a; }
.st-rank--gold { background: rgba(234,179,8,0.15); color: #eab308; }
.st-rank--red { background: rgba(239,68,68,0.12); color: #ef4444; }
.st-of { font-size: 10px; color: #94a3b8; }
.st-subtitle { font-size: 10px; color: #94a3b8; margin-top: 2px; }
.st-dd-wrap { display: inline-flex; }
.st-dd-menu { min-width: 220px; right: 0; }
.st-dd-trigger { padding: 2px 6px; gap: 0; min-width: auto; border-radius: 4px; background: #f1f5f9; font-size: 7px; color: #94a3b8; flex-direction: column; line-height: 1.2; }
.st-dd-item { display: flex; justify-content: space-between; }
.st-dd-item span { color: #64748b; }
.st-progress-text { display: flex; justify-content: space-between; font-size: 9px; color: #94a3b8; margin-bottom: 2px; }
.st-progress-you { font-weight: 700; color: #1e293b; }
.st-bar { height: 4px; background: #f1f5f9; border-radius: 2px; overflow: hidden; }
.st-bar-fill { height: 100%; border-radius: 2px; }
.st-bar-fill--orange { background: linear-gradient(90deg,#d4562a,#fb923c); }
.st-bar-fill--gold { background: linear-gradient(90deg,#eab308,#fbbf24); }
.st-bar-fill--red { background: linear-gradient(90deg,#ef4444,#f87171); }
.st-w-10 { width: 10%; }
.st-w-40 { width: 40%; }
.st-w-45 { width: 45%; }
.st-w-50 { width: 50%; }
.st-w-55 { width: 55%; }
.st-w-65 { width: 65%; }
.st-w-80 { width: 80%; }
.st-w-85 { width: 85%; }
.st-w-90 { width: 90%; }
.st-w-95 { width: 95%; }
.st-w-100 { width: 100%; }
.st-gap { text-align: center; font-size: 10px; color: #ef4444; margin-top: 2px; }
.st-gap--red { color: #ef4444; }
.st-gap--green { color: #059669; }
.st-message-box { padding: 14px; text-align: center; border-radius: 10px; }
.st-message-box--dashed { background: #f8fafc; border: 1px dashed #cbd5e1; }
.st-message-box--dashed-mb { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; margin-bottom: 10px; }
.st-message-box--gold { background: rgba(234,179,8,0.06); border: 1px dashed #eab308; }
.st-message-box--red { background: rgba(239,68,68,0.06); border: 1px dashed #ef4444; }
.st-message-box--red-mb { background:rgba(239,68,68,0.06); border:1px dashed #ef4444; border-radius:10px; padding:16px; margin-bottom:10px; }
.st-message-title { font-size: 13px; font-weight: 600; color: #1e293b; }
.st-message-desc { font-size: 11px; color: #64748b; margin-top: 2px; }
.st-cta-btn { margin-top: 10px; padding: 7px 18px; border: none; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; background: #d4562a; color: #fff; }
.st-text-muted { color: #64748b; }
.st-text-lighter { color: #94a3b8; }
.st-text-accent { color: #d4562a; }
.st-text-gold { color: #eab308; }
.st-text-red { color: #ef4444; }
.st-text-green { color: #059669; }
.st-fw-700 { font-weight: 700; }
.st-inline-flex-center { display: flex; align-items: center; justify-content: center; gap: 6px; }

#stCards { transition: opacity 0.2s ease; }

/* Component-style expand card */
.st-card-wrap { overflow: hidden; border-radius: 10px; }
.st-card-wrap .opt2-card { border-radius: 10px; transition: border-radius 0.3s; }
.st-card-wrap.st-open .opt2-card { border-radius: 10px 10px 0 0; }
.st-comp-msg { overflow: hidden; max-height: 0; transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1); }
.st-card-wrap.st-open .st-comp-msg { max-height: 80px; }
.st-comp-msg-inner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 12px; color: #64748b; background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.12); border-top: none; border-radius: 0 0 8px 8px; }
.st-toast-icon { font-size: 16px; flex-shrink: 0; }
.st-toast-body { flex: 1; }
.st-toast-title { font-weight: 600; color: #ef4444; }
.st-toast-desc { font-size: 11px; color: #94a3b8; }

/* Expandable card */
.st-expandable { cursor: pointer; }
.st-expandable .opt2-arrow { transform: rotate(45deg); transition: transform 0.3s ease; }
.st-expandable.st-open .opt2-arrow { transform: rotate(-135deg); }

/* Non-me card chevron arrow */
.opt2-card:not(.opt2-card--me) .opt2-arrow { font-size: 0; border-right: 2px solid #94a3b8; border-bottom: 2px solid #94a3b8; }
/* Me card text arrow override */
.opt2-card--me .opt2-arrow { width: auto; height: auto; display: inline; border: none; font-size: 14px; margin-left: 8px; }

/* Utilities */
.st-mw-600 { max-width: 600px; margin: 0 auto 10px; }
.st-cta-btn--sm { padding: 5px 14px; border: none; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; background: #d4562a; color: #fff; }

@media (max-width: 449px) {
  .opt2-card { padding: 10px 12px; gap: 8px; }
  .opt2-medal { width: 24px; height: 24px; font-size: 10px; }
  .opt2-name { font-size: 12px; }
  .opt2-user { font-size: 10px; }
  .opt2-pts-value { font-size: 13px; }
  .opt2-pts-label { font-size: 8px; }
  .opt2-arrow { font-size: 12px; margin-left: 4px; }
  .opt2-card--me .opt2-arrow { font-size: 12px; margin-left: 4px; }
}
@media (max-width: 385px) {
  .opt2-card { padding: 8px 10px; gap: 6px; }
  .opt2-medal { width: 20px; height: 20px; font-size: 9px; }
  .opt2-name { font-size: 11px; }
}
    .vc-wrap { max-width: 1200px; margin: 0 auto 16px; }
    .vc-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; }
    .vc-stats-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
    .vc-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

    /* League section options */
    .lg-wrap { max-width: 1200px; margin: 0 auto; }
    .lg-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .lg-title { font-size: 12px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 6px; }
    .lg-view { font-size: 11px; color: #d4562a; cursor: pointer; font-weight: 600; white-space: nowrap; }
    .lg-card { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; cursor: pointer; }
    .lg-card:hover { border-color: #cbd5e1; background: #f8fafc; }
    .lg-card__icon { font-size: 16px; flex-shrink: 0; }
    .lg-card__name { font-size: 13px; font-weight: 600; color: #1e293b; }
    .lg-card__meta { font-size: 10px; color: #64748b; }
    .lg-add { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px dashed #cbd5e1; border-radius: 8px; color: #94a3b8; cursor: pointer; font-size: 12px; }
    .lg-add:hover { border-color: #d4562a; color: #d4562a; }
    .lg-add--disabled { opacity: 0.5; cursor: not-allowed; }
    .lg-add--disabled:hover { border-color: #cbd5e1; color: #94a3b8; }

    .lg-ghost { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; color: #d4562a; border: 1px solid #d4562a; background: #fff; }
    .lg-ghost:hover { background: rgba(212,86,42,0.06); }
    .lg-ghost--disabled { cursor: not-allowed; color: #cbd5e1; border-color: #e2e8f0; background: #f8fafc; }
    .lg-ghost--disabled:hover { background: #f8fafc; }

/* Sticky bar — 7 refined options */
.sbr { max-width: 1200px; margin: 0 auto 16px; }
.sbr__label { font-size: 10px; font-weight: 600; color: #64748b; margin-bottom: 6px; }
.sbr__demo { position: relative; background: linear-gradient(180deg, #f8fafc 0%, #fff 40%); border-radius: 8px; border: 1px solid #e2e8f0; margin-bottom: 16px; padding: 12px; }

/* Base floating bar */
.sbr-bar { display: flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: 10px; }

/* 1. Warm white */
.sbr-warm { background: #fff; border-top: 1px solid #e2e8f0; color: #64748b; }
.sbr-warm__icon { color: #eab308; flex-shrink: 0; }
.sbr-warm__text { flex: 1; }
.sbr-warm__btn { padding: 4px 12px; border-radius: 6px; font-size: 10px; font-weight: 600; border: none; cursor: pointer; background: linear-gradient(135deg,#d4562a,#e2724a); color: #fff; white-space: nowrap; flex-shrink: 0; }

/* 2. Subtle shadow */
.sbr-shadow { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); padding: 8px 14px; }
.sbr-shadow__icon { color: #ef4444; font-size: 12px; flex-shrink: 0; }
.sbr-shadow__text { flex: 1; color: #64748b; }
.sbr-shadow__btn { padding: 4px 12px; border-radius: 8px; font-size: 10px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }

/* 3. Inline alert */
.sbr-alert { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.12); border-radius: 8px; padding: 8px 14px; }
.sbr-alert__row { display: flex; align-items: center; gap: 6px; }
.sbr-alert__icon { color: #ef4444; font-size: 11px; flex-shrink: 0; }
.sbr-alert__text { color: #ef4444; font-size: 10px; font-weight: 500; flex: 1; }
.sbr-alert__btn { padding: 3px 10px; border-radius: 6px; font-size: 9px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }
.sbr-alert__sub { font-size: 9px; color: #64748b; margin-top: 4px; display: flex; align-items: center; gap: 6px; }

/* 4. Dual row */
.sbr-dual { background: #fff; border-top: 1px solid #e2e8f0; padding: 6px 14px; }
.sbr-dual__row { display: flex; align-items: center; gap: 8px; }
.sbr-dual__icon { color: #eab308; font-size: 10px; flex-shrink: 0; }
.sbr-dual__text { font-size: 10px; color: #64748b; flex: 1; }
.sbr-dual__err { font-size: 9px; color: #ef4444; flex-shrink: 0; }
.sbr-dual__btn { padding: 3px 10px; border-radius: 6px; font-size: 9px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }

/* 5. Minimal dot */
.sbr-dot { background: #fff; border-top: 1px solid #e2e8f0; padding: 6px 14px; }
.sbr-dot__row { display: flex; align-items: center; gap: 8px; }
.sbr-dot__light { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: #eab308; }
.sbr-dot__text { font-size: 10px; color: #64748b; flex: 1; }
.sbr-dot__count { font-size: 10px; color: #64748b; font-weight: 600; flex-shrink: 0; }
.sbr-dot__btn { padding: 3px 10px; border-radius: 6px; font-size: 9px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }

/* 6. Ghost minimal */
.sbr-ghost { display: flex; align-items: center; gap: 8px; padding: 5px 14px; border-top: 1px solid #f1f5f9; font-size: 10px; }
.sbr-ghost__icon { color: #eab308; font-size: 10px; flex-shrink: 0; }
.sbr-ghost__text { color: #94a3b8; flex: 1; }
.sbr-ghost__btn { padding: 3px 10px; border-radius: 6px; font-size: 9px; font-weight: 600; border: none; cursor: pointer; color: #d4562a; border: 1px solid #d4562a; background: transparent; white-space: nowrap; flex-shrink: 0; }

/* 7. Accent left */
.sbr-accent { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-left: 3px solid #ef4444; background: #fff; border-top: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; border-radius: 0 6px 6px 0; font-size: 10px; }
.sbr-accent__icon { color: #ef4444; flex-shrink: 0; }
.sbr-accent__text { flex: 1; color: #64748b; }
.sbr-accent__btn { padding: 3px 10px; border-radius: 6px; font-size: 9px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }

/* Sticky bar — 7 fresh options */
.stb { max-width: 1200px; margin: 0 auto 16px; }
.stb__label { font-size: 10px; font-weight: 600; color: #64748b; margin-bottom: 6px; }
.stb__demo { background: linear-gradient(180deg, #f8fafc 0%, #fff 40%); border-radius: 8px; border: 1px solid #e2e8f0; margin-bottom: 16px; padding: 12px; }

.stb-clean { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border-top: 1px solid #e2e8f0; }
.stb-clean__icon { color: #eab308; font-size: 11px; flex-shrink: 0; }
.stb-clean__text { font-size: 11px; color: #1e293b; font-weight: 500; flex: 1; }
.stb-clean__count { font-size: 10px; color: #64748b; font-weight: 600; flex-shrink: 0; margin-right: 8px; }
.stb-clean__btn { padding: 5px 14px; border-radius: 6px; font-size: 10px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }

.stb-soft { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(239,68,68,0.04); border-top: 1px solid rgba(239,68,68,0.1); }
.stb-soft__icon { color: #ef4444; font-size: 11px; flex-shrink: 0; }
.stb-soft__text { font-size: 10px; color: #64748b; flex: 1; }
.stb-soft__btn { padding: 4px 12px; border-radius: 6px; font-size: 10px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }

.stb-dark { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: #1e293b; border-radius: 8px; }
.stb-dark__icon { color: #eab308; font-size: 11px; flex-shrink: 0; }
.stb-dark__text { font-size: 10px; color: #cbd5e1; flex: 1; }
.stb-dark__btn { padding: 4px 12px; border-radius: 6px; font-size: 10px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }

.stb-split { display: flex; align-items: stretch; background: #fff; border-top: 1px solid #e2e8f0; }
.stb-split__left { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(239,68,68,0.04); flex: 1; }
.stb-split__icon { color: #ef4444; font-size: 11px; flex-shrink: 0; }
.stb-split__text { font-size: 10px; color: #64748b; }
.stb-split__right { display: flex; align-items: center; padding: 8px 14px; }
.stb-split__btn { padding: 4px 12px; border-radius: 6px; font-size: 10px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }

.stb-minimal { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-top: 1px solid #e2e8f0; font-size: 10px; }
.stb-minimal__icon { color: #94a3b8; flex-shrink: 0; }
.stb-minimal__text { color: #94a3b8; flex: 1; }
.stb-minimal__btn { padding: 3px 10px; border-radius: 6px; font-size: 9px; font-weight: 600; border: none; cursor: pointer; color: #d4562a; border: 1px solid #e2e8f0; background: #fff; white-space: nowrap; flex-shrink: 0; }

.stb-round { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid #e2e8f0; border-top: none; border-radius: 0 0 10px 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.stb-round__icon { color: #eab308; font-size: 11px; flex-shrink: 0; }
.stb-round__text { font-size: 10px; color: #64748b; flex: 1; }
.stb-round__btn { padding: 4px 12px; border-radius: 6px; font-size: 10px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }

.stb-pill { display: flex; align-items: center; gap: 8px; padding: 6px 14px; background: #fff; border-top: 1px solid #e2e8f0; }
.stb-pill__icon { color: #eab308; font-size: 10px; flex-shrink: 0; }
.stb-pill__text { font-size: 10px; color: #64748b; flex: 1; }
.stb-pill__btn { padding: 3px 12px; border-radius: 999px; font-size: 9px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }



    /* Sticky Bottom Bar */
    .sbb-wrap { position: relative; height: 60px; margin-top: 16px; }
    .sbb { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: #fff; border-top: 1px solid #e2e8f0; box-shadow: 0 -4px 12px rgba(0,0,0,0.06); border-radius: 10px; max-width: 1200px; margin: 0 auto; }
    .sbb--fixed { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; border-radius: 0; max-width: none; }
    .sbb__text { font-size: 10px; color: #eab308; display: flex; align-items: center; gap: 4px; }
    .sbb__save { padding: 6px 18px; border-radius: 8px; font-size: 12px; font-weight: 700; border: none; cursor: pointer; background: linear-gradient(135deg,#d4562a,#e2724a); color: #fff; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
    .sbb__info { font-size: 10px; color: #64748b; display: flex; align-items: center; gap: 4px; }
    .sbb__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }


    .lg-maxw { max-width: 300px; }
    .lg-text { font-size: 12px; color: #64748b; }
    .lg-text strong { color: #1e293b; font-weight: 700; }

    .lg-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; font-size: 9px; font-weight: 600; background: rgba(212,86,42,0.1); color: #d4562a; white-space: nowrap; }
    .lg-badge--grey { background: #f1f5f9; color: #64748b; }
    .lg-sep { width: 1px; height: 16px; background: #e2e8f0; flex-shrink: 0; }
    .lg-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: 11px; font-weight: 500; cursor: pointer; }
    .lg-pill:hover { background: #e2e8f0; }
    .lg-pill--active { background: rgba(212,86,42,0.1); color: #d4562a; font-weight: 600; }
    .lg-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .lg-stat { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #64748b; }
    .lg-stat__value { font-weight: 700; color: #1e293b; }
    .lg-mt-8 { margin-top: 8px; }
    .lg-mt-10 { margin-top: 10px; }

    .vc-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
    .vc-name { font-size: 15px; font-weight: 800; color: #1e293b; letter-spacing: -0.02em; cursor: text; padding: 2px 8px; border: 1px dashed #cbd5e1; border-radius: 6px; flex: 1; min-width: 100px; }
    .vc-name--static { border-color: transparent; cursor: default; padding-left: 0; }
    .vc-save { padding: 5px 14px; border-radius: 6px; font-size: 11px; font-weight: 700; border: none; cursor: pointer; background: linear-gradient(135deg,#d4562a,#e2724a); color: #fff; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
     .vc-save--saved { font-size:12px; color:#22c55e; font-weight:600; cursor:default; white-space:nowrap; display:inline-flex; align-items:center; gap:4px; flex-shrink:0; background:none; border:none; padding:0; }
     .vc-save--new { font-size:12px; color:#64748b; font-weight:600; cursor:default; white-space:nowrap; display:inline-flex; align-items:center; gap:4px; flex-shrink:0; background:none; border:none; padding:0; }
     .vc-save--cant { font-size:12px; color:#dc2626; font-weight:600; cursor:default; white-space:nowrap; display:inline-flex; align-items:center; gap:4px; flex-shrink:0; background:none; border:none; padding:0; }
    .vc-lock { font-size: 12px; color: #94a3b8; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
    .vc-lock__text { font-size: 10px; font-weight: 600; }
    @media (max-width: 450px) { .vc-lock__text { display: none; } }
    .vc-stats { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
    .vc-stat { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #d4562a; white-space: nowrap; }
    .vc-stat__icon { font-size: 14px; }
    .vc-stat__value { color: #d4562a; }
    .vc-stat__label { font-size: 9px; color: #64748b; text-transform: uppercase; letter-spacing: 0.03em; }
    .vc-sep { width: 1px; height: 18px; background: rgba(212,86,42,0.12); flex-shrink: 0; }
    .vc-bar { display: flex; align-items: center; gap: 6px; width: 100%; }
    .vc-bar__track { flex: 1; height: 4px; background: #f1f5f9; border-radius: 2px; overflow: hidden; }
    .vc-bar__fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg,#d4562a,#fb923c); }
    .vc-bar__text { font-size: 10px; color: #64748b; white-space: nowrap; }
    .vc-bar__value { font-size: 11px; font-weight: 700; color: #1e293b; white-space: nowrap; }
    .vc-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 10px; }
    .vc-meta__warn { color: #ef4444; display: inline-flex; align-items: center; gap: 3px; }
    .vc-meta__ok { color: #22c55e; display: inline-flex; align-items: center; gap: 3px; }
    .vc-saved-badge { background: rgba(34,197,94,0.12); padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; color: #22c55e; white-space: nowrap; }
    .vc-meta__info { color: #64748b; }
    .vc-count { font-size: 10px; color: #94a3b8; display: inline-flex; align-items: center; gap: 3px; }
    .vc-mt-8 { margin-top: 8px; }
    .vc-mt-10 { margin-top: 10px; }

    /* Edit indicator options */
    .ei-wrap { max-width: 300px; margin: 0 auto 16px; }
    .ei-row { display: flex; align-items: center; gap: 8px; }
    .ei-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
    .ei-name { font-size: 15px; font-weight: 800; color: #1e293b; cursor: text; flex: 1; min-width: 0; }
    .ei-name--border { border: 1px solid #e2e8f0; border-radius: 6px; padding: 2px 8px; }
    .ei-name--dashed { border: 1px dashed #cbd5e1; border-radius: 6px; padding: 2px 8px; }
    .ei-name--bottom { border: none; border-bottom: 2px solid #e2e8f0; border-radius: 0; padding: 2px 4px; }
    .ei-name--tint { background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.15); border-radius: 6px; padding: 2px 8px; }
    .ei-name--ghost { border: none; background: transparent; padding: 2px 4px; }
    .ei-icon { font-size: 13px; color: #94a3b8; cursor: pointer; flex-shrink: 0; }
    .ei-icon--accent { color: #d4562a; }
    .ei-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; font-size: 9px; font-weight: 600; background: rgba(212,86,42,0.1); color: #d4562a; cursor: pointer; flex-shrink: 0; }
    .ei-hint { font-size: 10px; color: #94a3b8; font-weight: 400; }

    /* My Team header — mobile-first shared classes */
    .mth-wrap { max-width: 1200px; margin: 0 auto 14px; }
    .mth-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .mth-row--between { justify-content: space-between; }
    .mth-row--end { justify-content: flex-end; }
    .mth-gap-4 { gap: 4px; }
    .mth-gap-8 { gap: 8px; }
    .mth-mb-6 { margin-bottom: 6px; }
    .mth-mb-8 { margin-bottom: 8px; }
    .mth-fill { flex: 1; min-width: 0; }
    .mth-stat { flex: 1; min-width: 70px; background: #f8fafc; border-radius: 8px; padding: 5px 8px; text-align: center; }
    @media (min-width: 600px) { .mth-stat { max-width: 110px; } }
    .mth-stat--compact { min-width: 50px; padding: 3px 6px; }
    .mth-stat__value { display: block; font-size: 14px; font-weight: 700; color: #1e293b; }
    .mth-stat__value--lg { font-size: 18px; }
    .mth-stat__value--xl { font-size: 22px; }
    .mth-stat__value--accent { color: #d4562a; }
    .mth-stat__value--pts { color: #059669; }
    .mth-stat__value--muted { color: #64748b; }
    .mth-stat__label { display: block; font-size: 8px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.03em; margin-top: 1px; }
    .mth-stat--naked { background: none; padding: 5px 0; text-align: left; flex: none; min-width: auto; }
    @media (min-width: 600px) { .mth-stat--naked { max-width: none; } }
    .mth-rank { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 999px; font-size: 10px; font-weight: 800; background: rgba(212,86,42,0.12); color: #d4562a; white-space: nowrap; }
    .mth-rank--muted { background: #f1f5f9; color: #64748b; }
    .mth-rank--gold { background: rgba(234,179,8,0.15); color: #eab308; }
    .mth-badge { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 999px; font-size: 9px; font-weight: 600; white-space: nowrap; }
    .mth-badge--orange { background: rgba(212,86,42,0.12); color: #d4562a; }
    .mth-badge--grey { background: #f1f5f9; color: #64748b; }
    .mth-badge--green { background: rgba(5,150,101,0.12); color: #059669; }
    .mth-name { font-size: 15px; font-weight: 800; color: #1e293b; letter-spacing: -0.02em; cursor: text; padding: 2px 8px; border: 1px solid #e2e8f0; border-radius: 6px; }
    .mth-name--subtle { border-color: transparent; background: transparent; padding-left: 0; }
    .mth-avatar { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0; }
    .mth-avatar--sm { width: 22px; height: 22px; font-size: 8px; }
    .mth-avatar--lg { width: 32px; height: 32px; font-size: 13px; }
    .mth-toggles { display: flex; gap: 3px; background: #f1f5f9; border-radius: 6px; padding: 2px; flex-shrink: 0; }
    .mth-toggles button { padding: 3px 8px; font-size: 10px; border: none; background: none; cursor: pointer; border-radius: 4px; color: #64748b; font-weight: 500; }
    .mth-toggles .mv__subtab--active { background: #fff; color: #1e293b; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
    .mth-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; }
    .mth-card--tight { padding: 6px 8px; }
    .mth-save { padding: 4px 12px; border-radius: 6px; font-size: 10px; font-weight: 700; border: none; cursor: pointer; background: linear-gradient(135deg,#d4562a,#e2724a); color: #fff; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
    .mth-save--sm { padding: 3px 8px; font-size: 9px; }
    .mth-status { font-size: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; color: #22c55e; }
    .mth-status--warn { color: #eab308; }
    .mth-bar { display: flex; align-items: center; gap: 6px; }
    .mth-bar__track { flex: 1; height: 4px; background: #f1f5f9; border-radius: 2px; overflow: hidden; min-width: 40px; }
    .mth-bar__fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg,#d4562a,#fb923c); }
    .mth-bar__text { font-size: 10px; color: #64748b; white-space: nowrap; }
    .mth-bar__value { font-size: 11px; font-weight: 700; color: #1e293b; white-space: nowrap; }
    .mth-grid-header { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
    .mth-grid-header__label { font-size: 10px; color: #94a3b8; }
    .mth-side-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(212,86,42,0.06); border-radius: 8px; padding: 6px; flex-shrink: 0; width: 55px; }
    .mth-sep { width: 1px; height: 20px; background: #e2e8f0; flex-shrink: 0; }


    /* Team Detail — 8 UX options for read-only My Team */
    .td2 { max-width: 300px; margin: 0 auto 16px; }
    .td2-grid { display: flex; align-items: center; gap: 10px; }
    .td2-btn { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #94a3b8; flex-shrink: 0; }
    .td2-btn:hover { background: #f1f5f9; }
    .td2-back { font-size: 10px; color: #d4562a; cursor: pointer; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
    .td2-back:hover { text-decoration: underline; }
    .td2-pos { font-size: 10px; font-weight: 700; color: #64748b; white-space: nowrap; }
    .td2-pts { font-size: 10px; color: #64748b; }
    .td2-pts strong { color: #1e293b; font-weight: 700; }
    .td2-pts--green { color: #059669; }
    .td2-gap { font-size: 9px; color: #ef4444; }
    .td2-gap--green { color: #059669; }
    .td2-name { font-size: 13px; font-weight: 700; color: #1e293b; }
    .td2-user { font-size: 10px; color: #64748b; }
    .td2-stat { background: #f8fafc; border-radius: 6px; padding: 6px 10px; text-align: center; }
    .td2-stat__value { font-size: 13px; font-weight: 700; color: #1e293b; }
    .td2-stat__label { font-size: 8px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.03em; }
    .td2-stat--pts .td2-stat__value { color: #059669; }
    .td2-sep { width: 1px; height: 24px; background: #e2e8f0; flex-shrink: 0; }
    .td2-breadcrumb { font-size: 11px; color: #94a3b8; }
    .td2-breadcrumb strong { color: #1e293b; font-weight: 600; }
    .td2-bar { height: 4px; background: #f1f5f9; border-radius: 2px; overflow: hidden; }
    .td2-bar-fill { height: 100%; background: linear-gradient(90deg,#d4562a,#fb923c); border-radius: 2px; width: 92%; }
    .td2-meta-label { font-size: 9px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.03em; }
    .td2-meta-value { font-size: 14px; font-weight: 700; color: #1e293b; }
    .td2-sample-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-top: 8px; }
    .td2-sample-card { height: 44px; background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 6px; display: flex; align-items: center; gap: 5px; padding: 4px 6px; }
    .td2-sample-avatar { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 6px; font-weight: 700; flex-shrink: 0; }
    .td2-sample-name { font-size: 8px; color: #1e293b; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .td2-sample-pts { font-size: 7px; font-weight: 600; color: #059669; flex-shrink: 0; }
    .td2-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; }
    .td2-badge--orange { background: rgba(212,86,42,0.12); color: #d4562a; }
    .td2-badge--green { background: rgba(5,150,101,0.12); color: #059669; }
    .td2-badge--grey { background: #f1f5f9; color: #64748b; }

    /* My Team - inline style cleanup */
    .mv-section-label { font-size: 10px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
    .team__name-editor { font-size: 18px; font-weight: 800; color: #1e293b; letter-spacing: -0.02em; cursor: text; padding: 2px 8px; border: 1px solid #e2e8f0; border-radius: 6px; }
    .team__toggles-group { display: flex; gap: 3px; background: #f1f5f9; border-radius: 6px; padding: 2px; }
    .team__subtab { padding: 3px 10px; font-size: 11px; }
    .team__status-badge { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 3px; white-space: nowrap; }
    .team__status-badge--saved { color: #22c55e; }
    .team__status-badge--unsaved { color: #eab308; }
    .team__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .team__action-btn { padding: 5px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; border: none; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
    .team__action-btn--save { background: linear-gradient(135deg,#d4562a,#e2724a); color: #fff; }
    .team__action-btn--secondary { padding: 5px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; border: none; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 3px; background: #f1f5f9; color: #64748b; }
    .team__action-btn--join { padding: 5px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; border: none; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 3px; background: #d4562a; color: #fff; }
    .team__warning { margin-bottom: 14px; padding: 8px 12px; font-size: 11px; color: #ef4444; background: rgba(239,68,68,0.08); border-radius: 6px; display: flex; align-items: center; gap: 6px; }
    .team__warning-icon { font-size: 13px; }
    .team__section { border-top: 1px solid #e2e8f0; padding-top: 24px; }
    .team__section--lg { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
    .team__stats-wrap { text-align: center; }
    .team__leagues-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .team__leagues-title { font-size: 12px; font-weight: 700; color: #1e293b; }
    .team__leagues-view { font-size: 11px; color: #d4562a; cursor: pointer; font-weight: 600; }
    .team__leagues-list { display: flex; gap: 10px; flex-wrap: wrap; }
    .team__league-card { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; }
    .team__league-icon { font-size: 16px; }
    .team__league-name { font-size: 13px; font-weight: 600; color: #1e293b; }
    .team__league-add { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px dashed #cbd5e1; border-radius: 8px; color: #94a3b8; cursor: pointer; }
    .team__league-add-icon { font-size: 16px; }
    .team__league-add-text { font-size: 12px; }
.team__container { padding: 0; max-width: none; margin: 0; }

    .st-mt-12 { margin-top: 12px; }
    .st-expandable { cursor: pointer; }
    .st-expandable .opt2-arrow { transform: rotate(45deg); transition: transform 0.3s ease; }
    .st-expandable.st-open .opt2-arrow { transform: rotate(-135deg); }
    .st-team-athletes { overflow: hidden; max-height: 0; transition: max-height 0.5s ease, opacity 0.4s ease; opacity: 0; }
    .st-team-athletes.st-open { max-height: 600px; opacity: 1; }
    .st-msg-expand { overflow: hidden; max-height: 0; margin-top: -18px; transition: max-height 0.6s cubic-bezier(0.4,0,0.2,1), margin 0.4s ease; }
    .st-msg-expand.st-open { max-height: 200px; margin-top: 0; }
    .st-msg-preview { padding: 6px 16px 6px 56px; font-size: 11px; background: #f8fafc; border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; cursor: pointer; font-weight: 600; color: #64748b; }
    .st-msg-body { padding: 0 16px 12px 56px; background: #f8fafc; border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; border-radius: 0 0 10px 10px; }
    .st-msg-body-inner { padding: 8px 12px; background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.12); border-radius: 8px; }
    .st-athlete-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #f8fafc; border-bottom: 1px solid #f1f5f9; font-size: 12px; }
    .st-athlete-row:last-child, .st-athlete-row--last { border-bottom: none; border-radius: 0 0 10px 10px; }

    .st-athlete-event { color: #64748b; min-width: 80px; }
    .st-athlete-name { flex: 1; color: #1e293b; font-weight: 500; }
    .st-athlete-pts { color: #059669; font-weight: 700; }
    .st-cta-btn--sec { padding: 5px 14px; border: none; border-radius: 8px; font-size: 11px; font-weight: 600; cursor: pointer; background: #f1f5f9; color: #64748b; }
    .st-code-badge { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; font-family: monospace; }
    .st-copy-btn { cursor: pointer; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 6px; border: 1px solid #e2e8f0; background: #fff; display: inline-flex; align-items: center; gap: 4px; }
    .st-inline-flex-center { display: flex; align-items: center; justify-content: center; gap: 6px; }
    .st-text-accent { color: #d4562a; }
    .st-text-gold { color: #eab308; }
    .st-text-red { color: #ef4444; }
    .st-text-green { color: #059669; }
    .st-text-dark { color: #1e293b; }
    .st-fw-700 { font-weight: 700; }

    /* Responsive: narrower screens */
    @media (max-width: 449px) {
      .opt2-card { padding: 10px 12px; gap: 8px; }
      .opt2-medal { width: 24px; height: 24px; font-size: 10px; }
      .opt2-name { font-size: 12px; }
      .opt2-user { font-size: 10px; }
      .opt2-pts-value { font-size: 13px; }
      .opt2-pts-label { font-size: 8px; }
      .opt2-arrow { width: 7px; height: 7px; }
      .opt2-card--me .opt2-arrow { font-size: 12px; }
    }
    @media (max-width: 385px) {
      .opt2-card { padding: 8px 10px; gap: 6px; }
      .opt2-medal { width: 20px; height: 20px; font-size: 9px; }
      .opt2-name { font-size: 11px; }
    }

    /* Team stats bar */
    .team-stats { display: inline-flex; align-items: center; gap: 16px; padding: 8px 16px; margin-bottom: 10px; background: rgba(212,86,42,0.04); border: 1px solid rgba(212,86,42,0.12); border-radius: 8px; font-size: 12px; }
    .team-stats__item { display: flex; align-items: center; gap: 6px; cursor: pointer; }
    .team-stats__value { font-weight: 700; font-size: 14px; color: #d4562a; }
    .team-stats__label { font-size: 10px; color: #64748b; }
    .team-stats__sep { width: 1px; height: 20px; background: rgba(212,86,42,0.12); }

    .mq-sortable { cursor: pointer; user-select: none; white-space:nowrap; }
    .mq-sortable:hover { color: #1e293b; }
    .mq-sort-arrows { display: inline-flex; flex-direction: column; vertical-align: middle; margin-left: 3px; font-size: 7px; line-height: 1; }
    .mq-sort-up, .mq-sort-down { color: #cbd5e1; }
    .mq-sort-up.mq-active, .mq-sort-down.mq-active { color: #d4562a; }
    .sbb-orig { display: flex; align-items: center; gap: 8px; padding: 6px 14px; background: #fff; border-top: 1px solid #e2e8f0; }
    .sbb-orig__info { font-size: 9px; color: #94a3b8; }
    .sbb-orig__btn { padding: 4px 12px; border-radius: 6px; font-size: 10px; font-weight: 600; border: none; cursor: pointer; background: linear-gradient(135deg,#d4562a,#e2724a); color: #fff; white-space: nowrap; }

    .sbb-orange { display: flex; align-items: center; gap: 8px; padding: 7px 14px; background: rgba(212,86,42,0.08); border-top: 1px solid rgba(212,86,42,0.15); backdrop-filter: blur(4px); }
    .sbb-orange__icon { color: #d4562a; font-size: 11px; flex-shrink: 0; }
    .sbb-orange__text { font-size: 10px; color: #1e293b; font-weight: 500; flex: 1; }
    .sbb-orange__info { font-size: 9px; color: #64748b; flex-shrink: 0; }
    .sbb-orange__btn { padding: 4px 12px; border-radius: 6px; font-size: 10px; font-weight: 600; border: none; cursor: pointer; background: #d4562a; color: #fff; white-space: nowrap; flex-shrink: 0; }

/* Sticky bar — size variants */
.sz { max-width: 1200px; margin: 0 auto 16px; }
.sz__wrap { position: relative; background: linear-gradient(180deg, #f8fafc 0%, #fff 40%); border-radius: 8px; border: 1px solid #e2e8f0; padding: 12px; }

.sz-bar { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; }
.sz-bar--orange { background: rgba(212,86,42,0.06); border-color: rgba(212,86,42,0.12); }
.sz-bar--grey { background: #f8fafc; border-color: #e2e8f0; }
.sz-bar--md { padding: 5px 10px; }
.sz-bar--sm { padding: 4px 8px; }
.sz-bar--xs { padding: 3px 6px; }

.sz-icon { flex-shrink: 0; }
.sz-icon--md { font-size: 10px; }
.sz-icon--sm { font-size: 9px; }
.sz-icon--xs { font-size: 8px; }

.sz-text { font-weight: 500; flex: 1; }
.sz-text--md { font-size: 10px; }
.sz-text--sm { font-size: 9px; }
.sz-text--xs { font-size: 8px; }

.sz-info { color: #94a3b8; flex-shrink: 0; }
.sz-info--md { font-size: 9px; }
.sz-info--sm { font-size: 8px; }
.sz-info--xs { font-size: 7px; }

.sz-btn { border: none; cursor: pointer; color: #fff; border-radius: 6px; font-weight: 600; white-space: nowrap; flex-shrink: 0; background: linear-gradient(135deg,#d4562a,#e2724a); }
.sz-btn--md { padding: 3px 10px; font-size: 9px; }
.sz-btn--sm { padding: 2px 8px; font-size: 8px; }
.sz-btn--xs { padding: 2px 6px; font-size: 7px; }


</style>

        <div class="evt-list-grid" id="evList">
.mt-league-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px; cursor: pointer; border-radius: 4px; justify-content: space-between; }
.mt-league-name { font-size: 13px; color: #1e293b; display: flex; align-items: center; gap: 6px; }
.mt-league-pos { font-size: 12px; color: #d4562a; font-weight: 600; }
.mt-avatar-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.mt-bar-fill--92 { width: 92%; }
.mt-m0 { margin: 0; }
.mt-mb0 { margin-bottom: 0; }
.mt-mb8 { margin-bottom: 8px; }
.mt-maxw500 { max-width: 300px; }
.lg-wrap.mt-maxw500 { max-width: 300px; }
.mt-maxw1200 { max-width: 1200px; margin: 0 auto 20px; padding: 0 4px; }
.mt-stack { display: flex; flex-direction: column; gap: 2px; }
.mt-flex-center { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; }
.mt-section-sub { font-size: 11px; font-weight: 600; color: #64748b; margin-bottom: 8px; }

.mv__subtab { padding: 4px 10px; border-radius: 4px; border: 1px solid #e2e8f0; background: #fff; font-size: 11px; font-weight: 500; cursor: pointer; transition: all 0.1s; }
.mv__subtab--active { background: #1e293b; color: #fff; border-color: #1e293b; }
.mt-league-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px; cursor: pointer; border-radius: 4px; justify-content: space-between; }
.mt-league-name { font-size: 13px; color: #1e293b; display: flex; align-items: center; gap: 6px; }
.mt-league-pos { font-size: 12px; color: #d4562a; font-weight: 600; }
.mt-maxw500 { max-width: 300px; }
.lg-wrap.mt-maxw500 { max-width: 300px; }
.mt-stack { display: flex; flex-direction: column; gap: 2px; }
.mt-flex-center { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; }

/* ----- V14 Card Styles (shared with maquette) ----- */
.athlete-grid--v14 { display:grid; grid-template-columns:repeat(4,1fr); column-gap:12px; row-gap:24px; padding-bottom:32px; }
@media (max-width:767px) {
  .athlete-grid--v14 { column-gap:10px; row-gap:20px; }
  .athlete-grid--v14[data-cols="3"] { display:flex; flex-wrap:wrap; justify-content:center; column-gap:10px; row-gap:20px; padding-bottom:32px; }
  .athlete-grid--v14[data-cols="3"] .athlete-card-v14,
  .athlete-grid--v14[data-cols="3"] .athlete-card--empty { flex:0 0 calc(33.333% - 7px); min-width:0; }
  .athlete-grid--v14[data-cols="2"] { grid-template-columns:repeat(2,1fr); }
  .athlete-grid--v14[data-cols="4"] { grid-template-columns:repeat(4,1fr); column-gap:8px; row-gap:18px; padding-bottom:28px; }
  .athlete-grid--v14[data-cols="4"] .athlete-card__flag { width:28px; height:28px; }
  .athlete-grid--v14[data-cols="4"] .ac14-avatar { width:32px; height:32px; font-size:12px; }
  .athlete-grid--v14[data-cols="4"] .ac14-name { font-size:12px; }
  .athlete-grid--v14[data-cols="4"] .ac14-value { font-size:17px; }
  .athlete-grid--v14[data-cols="4"] .ac14-body { padding:11px 11px 13px; }
  .athlete-grid--v14[data-cols="4"] .ac14-delete { width:22px; height:22px; font-size:12px; bottom:-11px; }
}
@media (max-width:450px) {
  .athlete-grid--v14[data-cols="3"] { display:flex; flex-wrap:wrap; justify-content:center; column-gap:10px; row-gap:19px; padding-bottom:28px; }
  .athlete-grid--v14[data-cols="3"] .athlete-card-v14,
  .athlete-grid--v14[data-cols="3"] .athlete-card--empty { flex:0 0 calc(33.333% - 7px); min-width:0; }
  .athlete-grid--v14[data-cols="3"] .athlete-card__flag { width:28px; height:28px; }
  .athlete-grid--v14[data-cols="3"] .ac14-avatar { width:32px; height:32px; font-size:12px; }
  .athlete-grid--v14[data-cols="3"] .ac14-name { font-size:12px; }
  .athlete-grid--v14[data-cols="3"] .ac14-value { font-size:17px; }
  .athlete-grid--v14[data-cols="3"] .ac14-body { padding:11px 11px 13px; }
  .athlete-grid--v14[data-cols="3"] .ac14-delete { width:22px; height:22px; font-size:12px; }
  .athlete-grid--v14[data-cols="2"] { grid-template-columns:repeat(2,1fr); }
  .athlete-grid--v14[data-cols="4"] { grid-template-columns:repeat(4,1fr); column-gap:8px; row-gap:15px; padding-bottom:24px; }
  .athlete-grid--v14[data-cols="4"] .athlete-card__flag { width:24px; height:24px; }
  .athlete-grid--v14[data-cols="4"] .ac14-avatar { width:28px; height:28px; font-size:11px; }
  .athlete-grid--v14[data-cols="4"] .ac14-name { font-size:11px; }
  .athlete-grid--v14[data-cols="4"] .ac14-value { font-size:16px; }
  .athlete-grid--v14[data-cols="4"] .ac14-body { padding:10px 10px 12px; }
  .athlete-grid--v14[data-cols="4"] .ac14-delete { width:20px; height:20px; font-size:11px; bottom:-10px; }
}
@media (max-width:420px) {
  .athlete-grid--v14[data-cols="3"] { padding-bottom:24px; }
  .athlete-grid--v14[data-cols="4"] { padding-bottom:18px; }
  .athlete-grid--v14[data-cols="3"] .athlete-card__flag { width:24px; height:24px; }
  .athlete-grid--v14[data-cols="3"] .ac14-avatar { width:28px; height:28px; font-size:11px; }
  .athlete-grid--v14[data-cols="3"] .ac14-name { font-size:11px; }
  .athlete-grid--v14[data-cols="3"] .ac14-value { font-size:16px; }
  .athlete-grid--v14[data-cols="3"] .ac14-body { padding:10px 10px 12px; }
  .athlete-grid--v14[data-cols="3"] .ac14-delete { width:20px; height:20px; font-size:11px; bottom:-10px; }
  .athlete-grid--v14[data-cols="4"] .athlete-card__flag { width:18px; height:18px; }
  .athlete-grid--v14[data-cols="4"] .ac14-avatar { width:22px; height:22px; font-size:10px; }
  .athlete-grid--v14[data-cols="4"] .ac14-name { font-size:10px; }
  .athlete-grid--v14[data-cols="4"] .ac14-value { font-size:15px; }
  .athlete-grid--v14[data-cols="4"] .ac14-body { padding:9px 9px 11px; }
  .athlete-grid--v14[data-cols="4"] .ac14-delete { width:18px; height:18px; font-size:11px; bottom:-9px; }
}
@media (max-width:385px) {
  .athlete-grid--v14[data-cols="3"] { display:flex; flex-wrap:wrap; justify-content:center; column-gap:8px; row-gap:14px; padding-bottom:16px; }
  .athlete-grid--v14[data-cols="3"] .athlete-card-v14,
  .athlete-grid--v14[data-cols="3"] .athlete-card--empty { flex:0 0 calc(33.333% - 6px); min-width:0; }
  .athlete-grid--v14[data-cols="2"] { grid-template-columns:repeat(2,1fr); }
  .athlete-grid--v14[data-cols="4"] { grid-template-columns:repeat(4,1fr); column-gap:4px; row-gap:14px; padding-bottom:18px; }
  .athlete-grid--v14[data-cols="4"] .athlete-card-v14 { min-width:0; min-height:80px; }
  .athlete-grid--v14[data-cols="3"] .athlete-card__flag { width:16px; height:16px; }
  .athlete-grid--v14[data-cols="3"] .ac14-avatar { width:20px; height:20px; font-size:9px; }
  .athlete-grid--v14[data-cols="3"] .ac14-name { font-size:9px; }
  .athlete-grid--v14[data-cols="3"] .ac14-value { font-size:14px; }
  .athlete-grid--v14[data-cols="3"] .ac14-body { padding:8px 8px 10px; }
  .athlete-grid--v14[data-cols="3"] .ac14-delete { width:16px; height:16px; font-size:10px; bottom:-8px; }
  .picker-table td:nth-child(1) { width: 18px; }
  .picker-table__name-text { font-size: 9px; }
  .picker-table__event-cell, .picker-table__event-mobile { font-size: 9px; }
  .picker-table__avatar { width: 18px; height: 18px; font-size: 8px; }
  .picker-table__sb, .picker-table__pb { font-size: 9px; }
  .picker-table td:nth-child(6) { width: 23px; }
}

.athlete-card-v14 { position:relative; background:#fff; border:1px solid #e2e8f0; border-radius:10px; transition:border-color 0.15s, box-shadow 0.15s; cursor:pointer; min-height:100px; display:flex; flex-direction:column; }
.athlete-card-v14:hover { border-color:#d4562a; box-shadow:0 2px 8px rgba(212,86,42,0.12); }
.ac--started.athlete-card-v14 { cursor:default; }
.ac--started.athlete-card-v14:hover { border-color:#e2e8f0; box-shadow:none; }

.ac14-body { flex:1; display:flex; flex-direction:column; align-items:center; text-align:center; padding:12px 12px 14px; position:relative; z-index:1; gap:3px; }
.ac14-body--empty { align-items:center; justify-content:center; gap:6px; }
.ac14-name { font-weight:600; font-size:13px; color:#1e293b; line-height:1.2; word-break:break-word; }
.ac14-event { font-size:10px; color:#94a3b8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.ac14-value { font-weight:700; font-size:18px; margin-top:auto; }
.athlete-grid--v14 .athlete-card__flag { clip-path:none; -webkit-clip-path:none; width:32px; height:32px; border-radius:4px; background:#f1f5f9; display:flex; align-items:center; justify-content:center; }
.athlete-grid--v14 .athlete-card__flag-img { width:100%; height:100%; object-fit:cover; border-radius:3px; }
.ac14-value--price { color:#d4562a; }
.ac14-value--points { color:#16a34a; }
.ac14-value--none { color:#16a34a; }
.ac14-avatar { display:flex; align-items:center; justify-content:center; border-radius:50%; font-weight:700; color:#fff; width:36px; height:36px; font-size:13px; flex-shrink:0; }
.ac14-delete { position:absolute; bottom:-12px; left:50%; transform:translateX(-50%); width:24px; height:24px; border-radius:50%; background:rgba(239,68,68,0.95); color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; cursor:pointer; z-index:20; border:2px solid #fff; box-shadow:0 1px 3px rgba(0,0,0,0.2); line-height:1; font-weight:700; }
.ac14-delete:hover { background:#b91c1c; transform:translateX(-50%) scale(1.15); box-shadow:0 2px 8px rgba(0,0,0,0.3); }
.athlete-card-v14 .athlete-card__add-icon { font-size:20px; font-weight:300; color:#94a3b8; line-height:1; }
.athlete-card-v14 .athlete-card__add-label { font-size:10px; color:#94a3b8; }
.athlete-card-v14--empty { border:2px dashed #cbd5e1; background:#f8fafc; }
.athlete-card-v14--empty:hover { border-color:#d4562a; background:#fff; }

/* ----- Team status badge (next to team name) ----- */
.vc-team-status { display:none; font-size:12px; font-weight:600; white-space:nowrap; align-items:center; gap:4px; }
.vc-team-status--visible { display:inline-flex; }
.vc-team-status--incomplete { color:#d4562a; }
.vc-team-status--invalid { color:#dc2626; }
.vc-team-status--valid { color:#16a34a; }
.vc-team-status--unsaved { color:#eab308; }
.vc-team-status--editing { color:#3b82f6; }

/* ----- Toast notifications (slide from bottom) ----- */
.team-toast { 
  display:flex; align-items:center; gap:10px; padding:12px 16px; border-radius:10px; font-size:13px; color:#1e293b;
  position:fixed; bottom:32px; left:50%; transform:translateX(-50%) translateY(calc(100% + 40px)); z-index:1100;
  max-width:480px; width:calc(100% - 40px); box-shadow:0 12px 40px rgba(0,0,0,0.15);
  transition:transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.team-toast--visible { transform:translateX(-50%) translateY(0); }
.team-toast__icon { font-size:18px; flex-shrink:0; }
.team-toast__text { flex:1; }
.team-toast--err { background:#fef2f2; border:1px solid #fecaca; color:#dc2626; }
.team-toast--warn { background:#fffbeb; border:1px solid #fde68a; color:#92400e; border-left:3px solid #f59e0b; }
.team-toast--ok { background:#f0fdf4; border:1px solid #bbf7d0; color:#16a34a; }
.team-toast--ok button { margin-left:auto; }
.team-toast--gris { background:#f8fafc; border:1px solid #e2e8f0; color:#475569; }
.team-toast--lock { background:#f8fafc; border:1px solid #e2e8f0; color:#64748b; }
.team-toast--bar { background:#fff; border:1px solid #e2e8f0; border-left:3px solid #d4562a; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,0.06); }

/* Picker handle visibility */
@media (min-width:768px) { .picker-handle__bar { display:none; } .picker-handle { justify-content:flex-end; } .picker-handle__close { display:inline-flex; } }
@media (max-width:767px) { .picker-handle__close { display:none; } }

/* Dropdown - maquette compat */
.mq-pos-r { position:relative; }
.mq-dib { display:inline-block; }
.mq-minw-160 { min-width:160px; }

/* Picker bottom row - maquette compat */
.picker-filters__row--bottom { flex-wrap:nowrap; }
.picker-filters .dropdown__menu { right:0; left:auto; }
.picker-filters .dropdown__trigger { color:#1e293b; font-size:12px; padding:7px 12px; }
.picker-filters .dropdown__arrow { font-size:8px; }
.picker-filters .dropdown--open .dropdown__arrow { transform:none; }
