@import url('https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a1420;
  --bg-alt: #0f2138;
  --panel-bg: #132a40;
  --panel-bg-2: #16314c;
  --accent: #d81e2c;
  --accent-bright: #ff3b4e;
  --gold: #d9a441;
  --cream: #f3e9d8;
  --text: #eef2f5;
  --text-dim: #93a6b8;
  --border: #24405c;
  --radius: 12px;
  --font-display: 'Anton', 'Oswald', sans-serif;
  --font-ui: 'Oswald', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse at top, var(--bg-alt) 0%, var(--bg) 65%);
  color: var(--text);
  font-family: var(--font-ui);
  min-height: 100vh;
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: 1px; font-weight: 400; }

.logo-mark { height: 34px; width: 34px; object-fit: contain; display: block; }

/* dashed double-frame motif, echoing the brand banners */
.dw-frame {
  position: relative;
  border: 2px dashed var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px rgba(216,30,44,0.35);
}

/* ---------- Login ---------- */
.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.login-bg {
  position: absolute;
  inset: 0;
  background: url('/img/banner-events.jpg') center 30% / cover no-repeat;
  filter: saturate(0.9) brightness(0.4);
}
.login-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,32,0.55) 0%, rgba(10,20,32,0.92) 75%, var(--bg) 100%);
}

.login-card {
  position: relative;
  z-index: 1;
  background: rgba(19, 42, 64, 0.92);
  backdrop-filter: blur(4px);
  padding: 40px 36px;
  width: 340px;
  text-align: center;
}

.brand img.logo-mark { height: 64px; width: 64px; margin: 0 auto; }

.brand h1 {
  margin: 12px 0 0;
  font-size: 1.9rem;
  letter-spacing: 3px;
  color: var(--cream);
}

.brand .tagline {
  margin: 2px 0 24px;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: var(--font-ui);
  font-weight: 600;
}

.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #5865F2;
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-ui);
  transition: filter 0.15s;
}
.discord-btn:hover { filter: brightness(1.1); }

.hint {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.error-box {
  background: rgba(216,30,44,0.18);
  border: 1px solid var(--accent);
  color: #ffb4ab;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

/* ---------- Board tabs (sezioni/giochi) ---------- */
.board-tabs {
  display: flex;
  gap: 4px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  background: rgba(10,20,32,0.5);
}
.board-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  padding: 12px 16px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
}
.board-tab:hover { color: var(--text); }
.board-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 6px;
}
.board-row-name { font-size: 0.9rem; }

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(10,20,32,0.35);
  border-bottom: 1px solid var(--border);
}
.jump-btn {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--font-ui);
}
.jump-btn:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Topbar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(10,20,32,0.85);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(6px);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 2px;
  font-size: 1.1rem;
  color: var(--cream);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.user-chip img { width: 26px; height: 26px; border-radius: 50%; }

.btn {
  border: 1px solid var(--border);
  background: var(--panel-bg);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { border-color: var(--accent); }
.btn-ghost { background: transparent; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  border: none;
  color: white;
  font-weight: 600;
}
.btn-gold {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-gold.active, .btn-gold:hover { background: var(--gold); color: #1a1206; }

/* ---------- Hero / site title ---------- */
.hero {
  position: relative;
  padding: 56px 24px;
  text-align: center;
  overflow: hidden;
  background: url('/img/hero-banner.jpg') center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,32,0.55) 0%, rgba(10,20,32,0.88) 90%);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero-edit-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.hero-edit-btn {
  font-size: 0.75rem;
}

/* ---------- Preview-mode banner ---------- */
.preview-banner {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gold);
  color: #1a1206;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 40;
}
.preview-banner.active { display: flex; }
.preview-banner button {
  background: #1a1206;
  color: var(--gold);
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 0.75rem;
}

/* ---------- Grid / Panels ---------- */
main { padding: 24px; max-width: 1400px; margin: 0 auto; }

.empty-state {
  text-align: center;
  color: var(--text-dim);
  margin-top: 80px;
  font-size: 0.95rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 8px;
  grid-auto-flow: row dense;
  gap: 16px;
  align-items: start;
}

.panel-card.is-divider {
  background: none;
  border: none;
  border-top: none;
  box-shadow: none;
}
.panel-card.is-divider .panel-head {
  border-bottom: none;
  padding: 4px 4px 0;
}
.panel-card.is-divider .panel-controls { opacity: 0.5; }
.panel-card.is-divider .panel-controls:hover { opacity: 1; }
.panel-card.is-divider .panel-body { padding: 0; }

.section-divider-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0 18px;
}
.section-divider-inner h2 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}
.section-divider-line { flex: 1; height: 1px; background: var(--border); }
.archive-divider .section-divider-line { border-top: 1px dashed var(--border); background: none; height: 0; }
.load-more-btn {
  display: block;
  margin: 4px auto 12px;
  background: var(--panel-bg);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.8rem;
  cursor: pointer;
}
.load-more-btn:hover { background: rgba(217,164,65,0.12); }

.admin-note {
  font-size: 0.75rem;
  color: var(--gold);
  background: rgba(217,164,65,0.1);
  border: 1px dashed var(--gold);
  border-radius: 6px;
  padding: 6px 10px;
  margin: 0 0 8px;
}

.panel-card {
  position: relative;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.panel-card.is-draggable .panel-head { cursor: grab; }
.panel-card.is-dragging { opacity: 0.4; }
.panel-card.drag-over { outline: 2px dashed var(--gold); outline-offset: 2px; }
.panel-card.is-resizing { transition: none; }

.resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  cursor: ew-resize;
  z-index: 5;
}
.resize-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 3px;
  height: 36px;
  transform: translateY(-50%);
  background: var(--border);
  border-radius: 2px;
}
.resize-handle:hover::after { background: var(--gold); }

.resize-handle-height {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  cursor: ns-resize;
  z-index: 5;
}
.resize-handle-height::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 36px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--border);
  border-radius: 2px;
}
.resize-handle-height:hover::after { background: var(--gold); }
.resize-handle-height.preview-only::after { background: rgba(217,164,65,0.35); }
.resize-handle-height.preview-only:hover::after { background: var(--gold); }

/* responsive breakpoints: tablet collapses wide panels to full row, mobile = always 1 column */
@media (max-width: 1000px) {
  .panel-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-card[data-colspan="3"], .panel-card[data-colspan="4"] { grid-column: 1 / -1 !important; }
}
@media (max-width: 720px) {
  .panel-grid { grid-template-columns: 1fr; }
  .panel-card { grid-column: 1 / -1 !important; }
  main { padding: 14px; }
  .hero { padding: 36px 16px; }
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  gap: 8px;
}

.panel-head .panel-tag {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.panel-type-hint {
  font-size: 0.6rem;
  opacity: 0.4;
  letter-spacing: 0.5px;
  font-weight: 400;
  text-transform: none;
}

.panel-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.personal-badge {
  font-size: 0.65rem;
  background: rgba(217,164,65,0.15);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 1px 6px;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
}

.panel-controls { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.panel-controls button, .panel-controls select {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px 4px;
}
.panel-controls button:hover { color: var(--accent-bright); }
.panel-controls select {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.7rem;
}

.panel-body {
  flex: 1;
  overflow: auto;
  padding: 14px;
  font-size: 0.9rem;
}
.panel-body iframe, .panel-body img { width: 100%; border: none; border-radius: 8px; }
.panel-body h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--cream); }

.panel-body.no-pad { padding: 0; }

/* Leaderboard / tournament styling */
.rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.rank-row:last-child { border-bottom: none; }
.rank-num {
  width: 26px;
  text-align: center;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}
.rank-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rank-row.gold .rank-num { color: #ffd700; }
.rank-row.silver .rank-num { color: #d6d9dc; }
.rank-row.bronze .rank-num { color: #cd7f32; }
.rank-name { flex: 1; min-width: 0; }
.rank-score { color: var(--text-dim); font-size: 0.85rem; white-space: nowrap; }

/* online members */
.member-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.member-row img { width: 22px; height: 22px; border-radius: 50%; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #43b581; }
.sort-controls { display: flex; gap: 4px; margin-bottom: 8px; }
.sort-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.7rem;
  cursor: pointer;
}
.sort-btn:hover { color: var(--text); border-color: var(--gold); }
.sort-btn.active { color: var(--gold); border-color: var(--gold); background: rgba(217,164,65,0.1); }

/* youtube carousel */
.yt-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}
.yt-carousel::-webkit-scrollbar { display: none; } /* Chrome/Safari/Edge */

.yt-controls { display: flex; gap: 4px; margin-bottom: 8px; }

.yt-carousel-wrap { position: relative; }
.yt-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(10,20,32,0.85);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-arrow:hover { border-color: var(--gold); color: var(--gold); }
.yt-arrow-left { left: -4px; }
.yt-arrow-right { right: -4px; }
.yt-item { flex: 0 0 auto; width: 160px; cursor: pointer; text-decoration: none; color: var(--text); }
.yt-item img { width: 100%; border-radius: 8px; }
.yt-item p { font-size: 0.75rem; margin: 4px 0 0; color: var(--text-dim); }

.sync-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.sync-time { font-size: 0.7rem; color: var(--text-dim); }
.sync-btn {
  background: var(--bg-alt);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  cursor: pointer;
}
.sync-btn:hover { background: rgba(217,164,65,0.15); }
.sync-btn:disabled { opacity: 0.6; cursor: default; }

/* fourthwall product grid */
.fw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.fw-item { text-decoration: none; color: var(--text); display: block; }
.fw-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--bg-alt); }
.fw-name { font-size: 0.8rem; margin: 6px 0 0; }
.fw-price { font-size: 0.8rem; color: var(--gold); font-weight: 600; margin: 2px 0 0; }
.fw-conversion-note {
  font-size: 0.68rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  margin: 0 0 10px;
}

/* social media links */
.social-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 64px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.7rem;
  text-align: center;
}
.social-item img, .social-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.social-placeholder { display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--gold); }
.social-item:hover img, .social-item:hover .social-placeholder { border-color: var(--gold); }
.social-item:hover span { color: var(--gold); }

/* honor board */
.hb-wrap {
  position: relative;
  padding: 32px 20px;
  text-align: center;
  overflow: hidden;
}
.hb-wrap.hb-bg-diagonal {
  background:
    repeating-linear-gradient(115deg, rgba(216,30,44,0.12) 0 14px, transparent 14px 90px),
    radial-gradient(ellipse at top, #1c2c3d 0%, #0a1420 70%);
}
.hb-wrap.hb-bg-plain {
  background: radial-gradient(ellipse at top, #1c2c3d 0%, #0a1420 70%);
}
.hb-wrap.hb-bg-vertical {
  background:
    repeating-linear-gradient(90deg, rgba(216,30,44,0.12) 0 3px, transparent 3px 26px),
    radial-gradient(ellipse at top, #1c2c3d 0%, #0a1420 70%);
}
.hb-wrap.hb-bg-horizontal {
  background:
    repeating-linear-gradient(0deg, rgba(216,30,44,0.12) 0 3px, transparent 3px 26px),
    radial-gradient(ellipse at top, #1c2c3d 0%, #0a1420 70%);
}
.hb-wrap.hb-bg-grid {
  background:
    repeating-linear-gradient(90deg, rgba(217,164,65,0.08) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(217,164,65,0.08) 0 1px, transparent 1px 32px),
    radial-gradient(ellipse at top, #1c2c3d 0%, #0a1420 70%);
}
.hb-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--cream);
  font-size: 1.8rem;
  margin: 0;
  text-transform: uppercase;
}
.hb-subtitle { color: var(--text-dim); font-size: 0.85rem; margin: 4px 0 0; }
.hb-rule { border: none; border-top: 1px solid var(--border); width: 60%; margin: 18px auto; }
.hb-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; position: relative; }
.hb-grid-secondary { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--border); }
.hb-card {
  position: relative;
  width: 150px;
  background: rgba(10,20,32,0.7);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
}
.hb-card img, .hb-photo-placeholder { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #1a2735; display: block; }
.hb-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(217,164,65,0.85);
  color: #1a1206;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.hb-info { padding: 10px 6px; }
.hb-name { font-size: 0.85rem; color: var(--text); }
.hb-honor { font-family: var(--font-display); color: var(--gold); font-size: 1rem; margin-top: 2px; }

/* honor board - stile podio: centro (1°) piu' alto, sinistra (2°) piu' basso, destra (3°) il piu' basso */
.hb-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  position: relative;
}
.hb-podium-card {
  position: relative;
  width: 150px;
  background: rgba(10,20,32,0.7);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
}
.hb-podium-card img, .hb-podium-card .hb-photo-placeholder { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #1a2735; display: block; }
.hb-podium-card .hb-info { padding: 10px 6px; }
.hb-podium-1 { width: 170px; margin-bottom: 28px; border-color: var(--gold); box-shadow: 0 0 24px rgba(217,164,65,0.25); }
.hb-podium-2 { margin-bottom: 8px; }
.hb-podium-3 { margin-bottom: 0; }
.hb-podium-1 .hb-name { color: var(--gold); font-weight: 600; }
.hb-podium-2 .hb-name { color: #d6d9dc; }
.hb-podium-3 .hb-name { color: #cd7f32; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5,10,16,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}
.modal {
  background: var(--panel-bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  width: 460px;
  max-width: 100%;
  max-height: 88vh;
  overflow-y: auto;
}
.modal h2 { margin-top: 0; font-size: 1.3rem; color: var(--cream); }
.modal label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 12px 0 4px;
  font-weight: 500;
}
.modal input[type=text], .modal input[type=number], .modal input[type=url], .modal textarea, .modal select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-family: var(--font-ui);
}
.modal textarea { min-height: 70px; resize: vertical; }
.modal textarea.code-field { font-family: 'Courier New', monospace; min-height: 160px; font-size: 0.8rem; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; margin-top: 16px; }
.checkbox-row input { width: auto; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.repeatable-row { display: flex; gap: 6px; margin-bottom: 6px; align-items: center; }
.repeatable-row input { flex: 1; }
.image-field { display: flex; align-items: center; gap: 4px; flex: 1; }
.image-field input[type=text] { flex: 1; }
.row-thumb { width: 26px; height: 26px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.add-row-btn { font-size: 0.75rem; margin-top: 4px; }
