*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0c0d0f;
  --bg2:          #13151a;
  --bg3:          rgba(255, 255, 255, 0.035);
  --bg4:          #1e2128;
  --bg5:          rgba(255,255,255,0.05);
  --border:       rgba(255, 255, 255, 0.07);
  --border2:      rgba(255, 255, 255, 0.14);
  --text:         #eeecea;
  --muted:        #7e8088;
  --faint:        #42444c;
  --gold:         #c9a84c;
  --gold-soft:    #d4b86a;
  --gold-border:  rgba(201,168,76,0.28);
  --gold-bg:      rgba(201,168,76,0.07);
  --green:        #3ecf8e;
  --neon-green:   #52e0a0;
  --green-bg:     rgba(82,224,160,0.08);
  --green-border: rgba(82,224,160,0.25);
  --red:          #f05252;
  --red-bg:       rgba(240,82,82,0.08);
  --red-border:   rgba(240,82,82,0.28);
  --blue:         #5b8ef0;
  --blue-bg:      rgba(91,142,240,0.1);
  --radius-sm:    6px;
  --radius:       14px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 5rem;
}

/* ─── HERO ─── */
.hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 600px 300px at 80% -20%, rgba(201,168,76,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at -10% 120%, rgba(82,224,160,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 em { font-style: italic; color: var(--gold); }

.logo-wrap {
  margin-bottom: 2px;
}
.site-logo {
  height: clamp(60px, 10vw, 90px);
  width: auto;
  display: block;
}

.tourney-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.tourney-name { font-size: 13px; color: var(--muted); }

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-green);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  padding: 3px 8px;
  border-radius: 20px;
}
.live-dot::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.3; transform:scale(.6); }
}
.status-text { 
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; 
  padding: 3px 8px; border-radius: 20px; border: 1px solid transparent;
}
.status-final { color: var(--muted); background: var(--bg3); border-color: var(--border); }
.status-err   { color: var(--red); background: var(--red-bg); border-color: var(--red-border); }

.hero-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.hero-buttons { display: flex; gap: 6px; align-items: center; }

.rules-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}
.rules-btn:hover {
  background: rgba(201,168,76,0.14);
  border-color: var(--gold-soft);
  box-shadow: 0 0 16px rgba(201,168,76,0.15);
  transform: translateY(-1px);
}

.refresh-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  color: var(--neon-green);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}
.refresh-btn:hover { 
  background: rgba(82, 224, 160, 0.15); 
  border-color: rgba(82, 224, 160, 0.45);
  box-shadow: 0 0 16px rgba(82, 224, 160, 0.15);
  transform: translateY(-1px);
}
.refresh-btn.spinning .refresh-icon { animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.refresh-icon { display: inline-block; font-size: 14px; }

.updated { font-size: 11px; color: var(--faint); font-family: 'DM Mono', monospace; }

/* ─── STICKY TOOLBAR ─── */
.toolbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 13, 15, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  margin-bottom: 1.25rem;
}
.toolbar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.toolbar-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--faint);
  margin-right: 4px;
  font-weight: 600;
}
.pill {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 500;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all .18s;
}
.pill:hover  { border-color: var(--border2); color: var(--text); background: var(--bg3); }
.pill.active { background: var(--text); border-color: var(--text); color: #0c0d0f; font-weight: 700; }

/* ─── NOTE ─── */
.note {
  max-width: 1080px;
  margin: 0 auto 1.25rem;
  padding: 0 1.5rem;
  font-size: 11px;
  color: var(--faint);
  font-family: 'DM Mono', monospace;
}

/* ─── BOARD ─── */
.board {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* ─── CARD ─── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  animation: slideUp .45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: border-color .2s, box-shadow .2s;
}
@keyframes slideUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}
.card:hover { border-color: var(--border2); }

/* Progress bar */
.card-progress {
  height: 2px;
  background: var(--border);
}
.card-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--green));
  transition: width .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card.rank-1 .card-progress-fill { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.card.rank-last .card-progress-fill { background: var(--red); }

/* Winner / Loser */
.card.rank-1 {
  border-color: var(--gold-border);
  background: linear-gradient(135deg, var(--bg2) 55%, rgba(201,168,76,0.05) 100%);
}
.card.rank-last {
  border-color: var(--red-border);
  background: linear-gradient(135deg, var(--bg2) 55%, rgba(240,82,82,0.04) 100%);
}

.card-head {
  display: grid;
  grid-template-columns: 56px 1fr auto 44px;
  align-items: stretch;
}
.card-head.no-bench {
  grid-template-columns: 56px 1fr auto;
}

.rank-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  border-right: 1px solid var(--border);
  gap: 2px;
}
.rank-num {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
}
.card.rank-1 .rank-num { color: var(--gold); }
.card.rank-last .rank-num { color: var(--red); }
.rank-icon { font-size: 13px; user-select: none; }

/* Movement indicator */
.rank-move {
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.rank-move.up   { color: var(--neon-green); }
.rank-move.down { color: var(--red); }
.rank-move.same { color: var(--faint); }

.body-col { padding: 0.85rem 1.05rem; min-width: 0; }
.team-name {
  font-size: 14px; font-weight: 600;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: 0.01em;
}
.card.rank-1 .team-name { color: var(--gold-soft); }
.card.rank-last .team-name { color: var(--red); }

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

/* ─── PLAYER CHIPS ─── */
.chip, .bench-chip {
  display: flex;
  align-items: center;
  flex: 1 1 calc(20% - 4px);
  padding: 6px 7px;
  border-radius: var(--radius-sm);
  background: var(--bg3);
  min-width: 0;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .15s, background .15s;
  gap: 6px;
}
.chip:hover { border-color: var(--border); background: var(--bg5); }
.bench-chip { opacity: 0.65; }
.bench-chip:hover { opacity: 0.9; border-color: var(--border); }

/* Hole indicator avatars */
.avatar-finished {
  background: rgba(240, 82, 82, 0.15);
  color: var(--red);
  text-shadow: 0 0 6px rgba(240, 82, 82, 0.6), 0 0 12px rgba(240, 82, 82, 0.3);
  font-size: 9px;
  font-weight: 700;
  font-family: 'DM Mono', monospace;
}
.avatar-hole {
  background: rgba(240, 197, 90, 0.12);
  color: #f0c55a;
  font-size: 9px;
  font-weight: 700;
  font-family: 'DM Mono', monospace;
}
.avatar-wd {
  background: rgba(240, 82, 82, 0.1);
  color: var(--red);
  font-size: 7px;
  font-weight: 700;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.02em;
}

.chip.penalty, .bench-chip.penalty { 
  background: var(--red-bg); 
  border-color: rgba(240,82,82,0.15);
  opacity: 1; 
}

.chip-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg4);
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.chip-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.chip-name {
  color: var(--text);
  font-size: 10px; 
  font-weight: 600;
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.chip-score { 
  font-family: 'DM Mono', monospace; 
  font-weight: 500; 
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}
.chip-tag { 
  font-size: 8px; font-weight: 700; 
  color: var(--red); 
  letter-spacing:.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ─── THRU BADGE ─── */
.thru-badge {
  font-size: 8px;
  font-weight: 700;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.03em;
  padding: 1px 5px;
  border-radius: 3px;
  line-height: 1.5;
  flex-shrink: 0;
  white-space: nowrap;
}
.thru-badge.finished {
  color: var(--neon-green);
  background: var(--green-bg);
  border: 1px solid rgba(82,224,160,0.2);
}
.thru-badge.in-progress {
  color: #f0c55a;
  background: rgba(240,197,90,0.1);
  border: 1px solid rgba(240,197,90,0.2);
}
.thru-badge.tee-time {
  color: var(--blue);
  background: var(--blue-bg);
  border: 1px solid rgba(91,142,240,0.2);
  font-family: 'Outfit', sans-serif;
  font-size: 8px;
  font-weight: 600;
}

/* ─── SCORE COLORS ─── */
.neg { color: var(--neon-green); }
.pos { color: #ff6b6b; }
.eve { color: var(--faint); }

.score-col {
  padding: 0 1.1rem;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 68px;
}
.score-val {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}
.score-lbl { 
  font-size: 9px; color: var(--faint); 
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.score-gap {
  font-size: 10px;
  color: var(--faint);
  font-family: 'DM Mono', monospace;
}

.toggle-col {
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--neon-green);
  background: var(--green-bg);
  transition: color .2s, background .2s;
  min-width: 44px;
}
.toggle-col:hover { color: #fff; background: rgba(82, 224, 160, 0.15); }
.toggle-icon { display: flex; align-items: center; justify-content: center; transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1); user-select: none; }
.card.open .toggle-icon { transform: rotate(180deg); }

/* ─── BENCH DRAWER ─── */
.bench {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(0,0,0,0.18);
  border-top: 0 solid var(--border);
}
.card.open .bench {
  max-height: 500px;
  border-top-width: 1px;
}
.bench-inner {
  padding: 0.8rem 1.05rem 0.8rem 56px;
}
.bench-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--faint);
  font-weight: 700;
  margin-bottom: 7px;
}
.bench-chips { display: flex; flex-wrap: wrap; gap: 4px; }

/* ─── SKELETON LOADERS ─── */
.skeleton-el {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.6s infinite;
  border-radius: 4px;
}
@keyframes skeletonLoading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.loading-err {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ─── FOOTER ─── */
.footer {
  max-width: 1080px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--faint);
  font-family: 'DM Mono', monospace;
}
.leg { display: flex; align-items: center; gap: 5px; }
.leg-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.footer-right { margin-left: auto; }

/* ─── NO RESULTS ─── */
.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--faint);
  font-size: 13px;
}

/* ─── TIEBREAKER PILL ─── */
.tiebreaker-pill {
  border-color: rgba(91,142,240,0.3) !important;
  color: var(--blue) !important;
  background: var(--blue-bg) !important;
}
.tiebreaker-pill:hover {
  border-color: var(--blue) !important;
  background: rgba(91,142,240,0.18) !important;
}
.tiebreaker-pill.active {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}
.tiebreaker-rank {
  background: var(--blue-bg) !important;
  color: var(--blue) !important;
  font-size: 7px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

/* ─── RULES MODAL ─── */
.rules-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.rules-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.rules-modal {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.rules-overlay.open .rules-modal {
  transform: translateY(0) scale(1);
}
.rules-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.rules-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
}
.rules-close {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.rules-close:hover {
  color: var(--text);
  border-color: var(--border2);
  background: var(--bg4);
}
.rules-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.rules-section {
  margin-bottom: 1.5rem;
}
.rules-section:last-child { margin-bottom: 0; }
.rules-section h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--neon-green);
  margin-bottom: 0.5rem;
}
.rules-section p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.rules-section p strong {
  color: var(--text);
  font-weight: 600;
}
.rules-note {
  font-size: 11px !important;
  color: var(--faint) !important;
  font-style: italic;
}
.rules-tiers {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0.6rem 0;
}
.rules-tier {
  font-size: 12px;
  font-family: 'DM Mono', monospace;
  color: var(--text);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.rules-pay {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0.6rem 0;
}
.pay-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.pay-label {
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  min-width: 52px;
}
.pay-value {
  font-family: 'DM Mono', monospace;
  color: var(--text);
  font-size: 12px;
}

/* ─── MOBILE ─── */
@media (max-width: 640px) {
  .toolbar-wrapper { padding: 0.7rem 0; }
  .board { padding: 0 0.5rem; gap: 5px; }
  .toolbar { padding: 0 0.75rem; gap: 4px; flex-wrap: nowrap; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
  .toolbar::-webkit-scrollbar { display: none; }
  .toolbar-label { font-size: 9px; margin-right: 2px; }
  .pill { font-size: 11px; padding: 4px 10px; flex-shrink: 0; }
  .hero { padding: 1.4rem 1rem 1.2rem; }
  .hero-right { width: 100%; align-items: stretch; }
  .hero-buttons { justify-content: space-between; width: 100%; }
  .hero-buttons .refresh-btn { order: -1; }
  .updated { text-align: center; align-self: center; }
  .rules-btn { font-size: 10px; padding: 6px 10px; }
  .tiebreaker-pill { font-size: 10px !important; padding: 4px 8px !important; }
  .rules-overlay { padding: 0.75rem; }
  .rules-modal { max-height: 90vh; }
  .rules-header { padding: 1rem 1.15rem; }
  .rules-header h2 { font-size: 18px; }
  .rules-body { padding: 1rem 1.15rem 1.25rem; }
  .rules-section p { font-size: 12px; }
  .pay-value { font-size: 11px; }

  /* Restructure card: stack rank/name/score in a top bar, players below */
  .card-head {
    display: grid;
    grid-template-columns: 36px 1fr auto 38px;
    align-items: stretch;
  }
  .card-head.no-bench {
    grid-template-columns: 36px 1fr auto;
  }
  .rank-col { padding: 0.5rem 0; }
  .rank-num { font-size: 16px; }
  .rank-icon { font-size: 11px; }
  .body-col { padding: 0.5rem 0.5rem; }
  .team-name { font-size: 12px; font-weight: 600; }
  .bench-inner { padding-left: 36px; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .score-val { font-size: 20px; }
  .score-col { min-width: 48px; padding: 0 0.5rem; }
  .score-lbl, .score-gap { display: none; }
  .toggle-col { min-width: unset; width: 100%; }
  .toggle-icon svg { width: 16px; height: 16px; }

  /* Players as compact full-width rows */
  .chips-row {
    flex-direction: column;
    gap: 2px;
    margin-top: 5px;
  }
  .chip, .bench-chip {
    flex: none;
    width: 100%;
    padding: 0;
    border-radius: 4px;
    flex-wrap: nowrap;
    background: transparent;
    border-color: transparent;
    gap: 6px;
  }
  .chip:hover, .bench-chip:hover {
    background: transparent;
    border-color: transparent;
  }
  .chip .chip-inner, .bench-chip .chip-inner {
    background: var(--bg3);
    border-radius: 4px;
    padding: 4px 6px;
    flex: none;
    width: calc(100% - 60px);
  }
  .chip.penalty .chip-inner, .bench-chip.penalty .chip-inner {
    background: var(--red-bg);
  }
  .chip .thru-badge, .bench-chip .thru-badge {
    flex-shrink: 0;
  }
  .avatar { width: 20px; height: 20px; font-size: 8px; }
  .avatar-finished { font-size: 9px; }
  .avatar-hole { font-size: 9px; }
  .avatar-wd { font-size: 7px; }
  .chip-name { font-size: 10px; }
  .chip-score { font-size: 11px; }
  .chip-tag { font-size: 7px; }
  .thru-badge { font-size: 7px; padding: 1px 4px; }

  .bench-chips {
    flex-direction: column;
    gap: 2px;
  }

  .footer { padding: 0 0.75rem; gap: 10px; font-size: 10px; }
}

@media (max-width: 380px) {
  .chip, .bench-chip { flex: 1 1 100%; }
}