/* Phong cách bảng kết quả thể thao: nền xám, thẻ tối bo tròn lớn, Roboto đậm,
   điểm game thắng màu đỏ, chấm xanh đánh dấu, nhãn trận vàng (sân 1) / hồng cam (sân 2) */
:root {
  --bg: #4e4e4e;
  --bg-top: #333333;
  --band: #2b2b2b;
  --surface: #1e1e1e;
  --surface-2: #272727;
  --tile: #303030;
  --tile-2: #3d3d3d;
  --tile-hi: #5a5a5a;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #a8a8a8;
  --dim: #6f6f6f;
  --c1: #f1d97f;
  --c2: #f5a29a;
  --win: #e5262c;
  --dot: #2f8f5b;
  --female-bg: #f6d5e1;
  --female-text: #3a1b28;
  --court-1: #1c4529;
  --court-2: #214f2f;
  --court-line: rgba(255, 255, 255, 0.78);
  --live: #ff453a;
  --ok: #30d158;
  --team-a: #5ac8fa;
  --team-b: #ff9f0a;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-top) 0, var(--bg) 520px) var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100dvh;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px 140px;
}
.wrap.narrow { max-width: 560px; }

/* ---------- Thanh trên ---------- */
.topbar {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
  padding: max(14px, env(safe-area-inset-top)) 0 14px;
}
.topbar-title { text-align: center; min-width: 0; }
.topbar-title h1 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sub { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.icon-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}
.icon-btn:hover { background: var(--tile); }
.icon-btn svg { width: 20px; height: 20px; }

.conn-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.conn-dot.on { background: var(--ok); box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.15); }

/* ---------- Chip / pill ---------- */
.chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 4px 0 20px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.chip .sq { width: 12px; height: 12px; border-radius: 3px; background: var(--tile-2); }
.chip b { color: var(--text); font-weight: 700; }
.chip.active { color: var(--text); background: var(--surface-2); border-color: rgba(255, 255, 255, 0.35); }
.chip.active .sq { background: var(--text); }

.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--tile);
  color: var(--muted);
  white-space: nowrap;
}
.pill.live { background: rgba(255, 69, 58, 0.14); color: #ff6961; }
.pill.live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--live);
  animation: blink 1.4s infinite;
}
.pill.done { background: rgba(48, 209, 88, 0.12); color: #4cd964; }
.pill.paused { background: rgba(255, 214, 10, 0.12); color: #ffd60a; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Thẻ tổng điểm đội ---------- */
.score-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.score-card .mono-label { text-align: center; display: block; }
.score-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 10px 0 16px;
}
.team-col { text-align: center; min-width: 0; }
.team-name {
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}
.team-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.team-total {
  font-size: clamp(48px, 13vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.vs { color: var(--dim); font-family: var(--mono); font-size: 14px; }
.split-bar {
  display: flex;
  height: 6px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--tile);
  gap: 3px;
}
.split-bar i { display: block; min-width: 3px; transition: flex 0.5s ease; }

/* ---------- Lưới sân ---------- */
.courts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}
.court-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 16px;
}
.court-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.match-title { font-weight: 700; font-size: 17px; }
.match-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Khung "khán đài" quanh sân */
.stand {
  margin-top: 14px;
  background: #111113;
  border-radius: 24px;
  padding: 10px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 18px 1fr 18px;
  align-items: center;
  gap: 6px;
}
.side-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  max-height: 100%;
}
.side-label.right { transform: none; }

.court {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 6px #1a1a1d, 0 0 0 7px var(--line-2);
}
.court.h { aspect-ratio: 134 / 61; }
.court svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.court .halves {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.court.v .halves { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.half {
  position: relative;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 0;
}
.pts {
  font-size: clamp(44px, 12vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.court.idle svg { filter: saturate(0.25) brightness(0.55); }
.court-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.serve-mark {
  position: absolute;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.45);
  padding: 3px 7px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.serve-mark::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* Tên VĐV dưới sân */
.lineup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.lineup-item {
  background: var(--tile);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  min-width: 0;
  border-top: 3px solid transparent;
}
.lineup-item .t { font-size: 11px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.lineup-item .p { font-weight: 600; font-size: 14px; margin-top: 2px; word-break: break-word; }

.game-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.game-chip {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 4px 8px;
  color: var(--muted);
}
.game-chip b { color: var(--text); font-weight: 600; }

/* ---------- Danh sách trận ---------- */
.section-title { margin: 28px 4px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.list { display: grid; gap: 10px; }
.row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
}
.row .idx {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--tile);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.row .main { min-width: 0; }
.row .label { font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row .vsline { font-size: 13px; color: var(--muted); margin-top: 3px; }
.row .vsline .w { color: var(--text); font-weight: 600; }
.row .res { text-align: right; font-family: var(--mono); font-size: 13px; }
.row .res .gain { font-size: 12px; margin-top: 3px; }
.row-actions { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; padding-top: 4px; }

/* ---------- Đội hình (ô ghế) ---------- */
.rosters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.roster {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
}
.roster h3 { margin: 0 0 12px; display: flex; align-items: center; gap: 8px; font-size: 17px; }
.seats { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 6px; }
.seat {
  background: var(--tile);
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.seat .n { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.empty { color: var(--muted); font-size: 14px; text-align: center; padding: 24px; }
.seat .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat .dots { display: inline-flex; gap: 3px; align-self: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tile-hi); display: inline-block; }
.dot.on { background: var(--text); }
.seat.full { background: var(--surface-2); outline: 1px solid var(--line-2); }
.seat.full .nm { color: var(--muted); }
.seat.blank .nm { color: var(--dim); font-style: italic; }

/* ---------- Xếp đội hình ---------- */
.slot-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
}
.slot-card.good { border-color: rgba(48, 209, 88, 0.35); }
.slot-card.bad { border-color: rgba(255, 69, 58, 0.55); }
.slot-err { color: #ff6961; font-size: 13px; margin-top: 8px; }
.alert {
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.4);
  color: #ff8a80;
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 12px;
}
.round-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 4px 10px;
}
.round-head h3 { margin: 0; font-size: 17px; }

/* ---------- Thẻ kết quả trận (Lịch & kết quả) ---------- */
.round-block { margin-bottom: 28px; }
.court-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--band);
  border-radius: 20px;
  margin-bottom: 18px;
  text-align: center;
  padding: 14px 8px 12px;
}
.court-band h4 { margin: 0; font-size: 26px; font-weight: 700; }
.court-band p { margin: 4px 0 0; font-size: 14px; color: #e5e5e5; text-transform: uppercase; letter-spacing: 0.02em; }
.rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.rc {
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
}
.rc-head { background: var(--surface-2); padding: 16px; text-align: center; }
.rc-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #1b1b1b;
  background: var(--c1);
  text-transform: uppercase;
}
.rc.s2 .rc-tag { background: var(--c2); }
.rc-body { padding: 10px 24px; flex: 1; }
.rc-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 88px;
}
.flag {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}
.rc-names { font-weight: 700; font-size: 16px; line-height: 1.6; min-width: 0; overflow-wrap: anywhere; }
.rc-row.lose .rc-names, .rc-row.wait .rc-names { color: var(--muted); font-weight: 400; }
.rc-scores { display: flex; align-items: center; }
.rc-scores .g { min-width: 50px; text-align: center; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-scores .g.w { color: var(--win); }
.rc-scores .g.cur { color: #fff; }
.gdot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #5fd18e;
  border: 6px solid var(--dot);
  margin-right: 10px;
  flex: none;
}
.gdot.serve { animation: blink 1.4s infinite; }
.rc-foot {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 24px 18px;
  font-weight: 700;
  font-size: 17px;
}
.rc-foot .right { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.rc-foot .right svg { width: 20px; height: 20px; }
.rc-live { color: var(--win); display: inline-flex; align-items: center; gap: 6px; }
.rc-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--win); animation: blink 1.4s infinite; }
.rc-gain { padding: 3px 8px; border-radius: 6px; font-size: 14px; color: #fff; }

@media (max-width: 760px) {
  .court-band { display: none; }
  .rc-grid { grid-template-columns: 1fr; gap: 16px; }
  .rc-body { padding: 6px 18px; }
  .rc-row { min-height: 74px; gap: 12px; }
  .rc-foot { padding: 14px 18px 16px; font-size: 15px; }
  .rc-scores .g { min-width: 40px; font-size: 18px; }
}

/* ---------- Đội hình: 4 cột theo điểm ---------- */
.pcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pcol-h {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  padding: 6px 0 8px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 8px;
}
.pcol { display: grid; gap: 6px; align-content: start; }
.ptile {
  background: var(--tile);
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.ptile.f, .seat.f, .lineup-item.f { background: var(--female-bg); color: var(--female-text); }
.lineup-item.f .t { color: #8a5468; }
.seat.f .n { color: #8a5468; }
.seat.f .dot { background: rgba(58, 27, 40, 0.2); }
.seat.f .dot.on { background: var(--female-text); }
.seat.f.full { opacity: 0.6; outline: none; }
.ptile.blank { color: var(--dim); font-style: italic; }

/* ---------- Xếp đội hình: mỗi trận 1 hàng, sân 1 trái - sân 2 phải ---------- */
.pair-row { margin-bottom: 18px; }
.pair-h { font-size: 18px; font-weight: 700; margin: 0 4px 10px; }
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair-grid .slot-card { min-width: 0; }
.pair-grid .stack { display: grid; gap: 8px; margin-top: 10px; }
.pair-grid select.input { padding: 0 8px; font-size: 14px; text-overflow: ellipsis; }
.slot-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  color: #1b1b1b;
  background: var(--c1);
  text-transform: uppercase;
}
.slot-tag.s2 { background: var(--c2); }
@media (max-width: 420px) {
  .pair-grid { gap: 8px; }
  .pair-grid .slot-card { padding: 10px; }
}

/* ---------- Bottom sheet ---------- */
.sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  background: var(--surface);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  border-top: 1px solid var(--line-2);
  padding: 18px 20px max(18px, env(safe-area-inset-bottom));
}
.sheet-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sheet .k { color: var(--muted); font-size: 13px; }
.sheet .v { font-size: 20px; font-weight: 700; margin-top: 2px; }

/* ---------- Nút ---------- */
.btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--text);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.btn:disabled { background: var(--tile); color: var(--dim); cursor: not-allowed; }
.btn.ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }
.btn.danger { background: rgba(255, 69, 58, 0.16); color: #ff6961; }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; }

/* ---------- Form ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 16px;
}
.card h2 { margin: 0 0 14px; font-size: 17px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field > span { font-size: 13px; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%;
  height: 46px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 0 14px;
  outline: none;
}
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: rgba(255, 255, 255, 0.45); }
input[type='color'].input { padding: 4px; width: 56px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { color: var(--muted); font-size: 13px; }
.player-row { display: grid; grid-template-columns: 34px 1fr 40px; gap: 6px; align-items: center; margin-bottom: 6px; }
.player-row .n { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Trang trọng tài ---------- */
.court.v {
  aspect-ratio: 61 / 134;
  height: min(58dvh, calc((100vw - 80px) * 2.19));
  margin: 0 auto;
}
.ref-stand { grid-template-columns: 1fr; padding: 12px; }
.court.v .half { cursor: pointer; transition: background 0.12s; }
.court.v .half:active { background: rgba(255, 255, 255, 0.1); }
.court.v .half:disabled { cursor: default; }
.court.v .pts { font-size: clamp(64px, 18vw, 110px); }
.half .who {
  position: absolute;
  bottom: 12px;
  left: 8px; right: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.half.b-side .who { bottom: auto; top: 12px; }
.half.b-side .serve-mark { top: auto; bottom: 10px; }
.half .tag { position: absolute; left: 10px; top: 10px; }
.half.b-side .tag { top: auto; bottom: 10px; }
.ref-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.banner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(3px);
  text-align: center;
  padding: 16px;
}
.banner .big { font-size: 22px; font-weight: 800; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  top: 16px;
  transform: translate(-50%, -150%);
  background: var(--text);
  color: #000;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  z-index: 50;
  transition: transform 0.25s ease;
  max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast.err { background: #ff453a; color: #fff; }

/* ---------- Đăng nhập ---------- */
.login-wrap { max-width: 420px; margin: 0 auto; padding: 0 16px 40px; }
.login-hero {
  aspect-ratio: 134 / 61;
  margin: 8px 0 24px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.login-hero svg { width: 100%; height: 100%; display: block; }

@media (min-width: 760px) {
  .topbar-title h1 { font-size: 22px; }
}
