:root {
  --bg: #07110d;
  --side: #03211a;
  --panel: #0b1d17;
  --panel-alt: #0e241d;
  --hover: #143629;
  --field: #0a3a2c;
  --line: #153a2e;
  --text: #f2f6f4;
  --muted: #86a096;
  --accent: #c8e03a;
  --live: #c8e03a;
  --loss: #ff4d5e;
  --win: #ffffff;
  --name: #c3d0ca;
  --dim: #5d766c;
  --well: #030906;
  --well-hover: #07140f;
  --well-selected: #0e281e;
  --link: #1f5443;
  color-scheme: dark;
}

* { box-sizing: border-box; }

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("fonts/InterVariable.woff2") format("woff2");
}

body {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.4 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.nav-open { grid-template-columns: 250px minmax(0, 1fr); }

.sidebar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
  padding: 14px 0 18px;
}

body.nav-open .sidebar { overflow-y: auto; }

body:not(.nav-open) .sidebar > :not(.brand) { display: none; }

@media (min-width: 901px) {
  body:not(.nav-open) { display: block; --sticky-top: 64px; }
  body:not(.nav-open) .sidebar {
    position: fixed;
    left: 0;
    right: 0;
    height: auto;
    padding-bottom: 14px;
    background: var(--bg);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  white-space: nowrap;
}

.nav-toggle { display: flex; padding: 8px; border-radius: 50%; color: var(--text); }
.nav-toggle:hover { background: var(--panel-alt); }

h1 {
  margin: 0;
  padding: 0 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 a { display: flex; color: var(--text); text-decoration: none; }
h1 a:hover { color: var(--accent); }
h1 svg g { stroke: var(--bg); }

.tabs { display: grid; gap: 4px; padding: 0 4px; }
body.nav-open .tabs { padding: 0 12px; }

button {
  font: inherit;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 10px;
  padding: 5px 10px;
  cursor: pointer;
}

button:hover { color: var(--text); }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 0;
  font-size: 10px;
  font-weight: 500;
  color: var(--text);
}

body.nav-open .tabs button {
  flex-direction: row;
  gap: 16px;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 600;
}

.tabs button:hover { background: var(--panel-alt); }
.tabs button[aria-selected="true"] { background: var(--field); }

.controls { display: grid; gap: 8px; padding: 0 14px; }

.controls h2 {
  margin: 0 0 2px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.settings { display: grid; gap: 12px; margin-top: auto; padding: 0 14px; }

.updated {
  margin: 0;
  padding: 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.updated.warn { color: #ffb347; }

.zone {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.stars-filter,
.zone select {
  width: 100%;
  padding: 9px 10px;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--field);
  border: 0;
  border-radius: 10px;
}

.stars-filter:focus-visible,
.zone select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.collapse-all {
  padding: 9px 10px;
  text-align: left;
  color: var(--text);
}

.collapse-all:hover { background: var(--panel-alt); }

.page {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 48px;
}

.tournament { margin-top: 18px; }
.tournament[open] + .tournament { margin-top: 34px; }

.tournament summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  position: sticky;
  top: var(--sticky-top, 0px);
  z-index: 1;
  padding: 10px 0 8px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}

.tournament summary::-webkit-details-marker { display: none; }

.tournament summary::before {
  content: "";
  align-self: center;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform 0.15s;
}

.tournament[open] summary::before { transform: rotate(45deg); }
.tournament summary:hover h2 { color: var(--win); }
.tournament summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tournament:not([open]) h2 { color: var(--muted); }

.tournament .hint {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.tournament h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  font-size: 19px;
}

.tournament h2 .tour { order: 1; align-self: center; margin: 3px 0 0 4px; }
.tournament h2 .tour-tabs { order: 2; }

.live-count { color: var(--live); font-weight: 600; }
.tournament h2 small { margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 400; }

.sub {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.sub small { font-weight: 400; text-transform: none; letter-spacing: 0; }
.sub.live { color: var(--live); }

.match {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto minmax(0, 220px) 62px;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-radius: 10px;
}

a.match { color: inherit; text-decoration: none; scroll-margin: 130px 0 16px; }
#list a.match:hover { background: var(--panel); }
a.match:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

#list a.match.selected { background: var(--hover); }

.pane {
  position: fixed;
  z-index: 2;
  top: 68px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  bottom: 16px;
  width: 460px;
}

.pane[hidden] { display: none; }

.card {
  position: relative;
  flex: 1;
  min-height: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-y: auto;
}

.pane-nav { display: flex; justify-content: center; gap: 8px; }

.pane-nav a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
}

.pane-nav a[href]:hover { background: var(--panel-alt); }
.pane-nav a:not([href]) { color: var(--line); }
.pane-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.pane .detail { background: none; border-left: 0; }
.pane .detail header { padding-right: 56px; }
.pane .empty { margin: 56px 16px 16px; background: none; }

.pane .back {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 50%;
  font-size: 15px;
}

.pane .back:hover { background: var(--panel-alt); }

body.pane-open .page {
  max-width: min(740px, 100% - 492px);
  margin-right: max(492px, (100% - 740px) / 2);
}

.show-all {
  display: block;
  border-radius: 10px;
  width: 100%;
  margin-top: 4px;
  padding: 6px;
  font-size: 12px;
  text-align: center;
}

.show-all[data-key], .show-all[data-past] { background: var(--panel); color: var(--text); }
.show-all[data-past] { margin: 0 0 4px; }
.show-all[data-key]:hover, .show-all[data-past]:hover { background: var(--panel-alt); }

.back {
  display: inline-block;
  margin: 16px 0 12px;
  color: var(--muted);
  text-decoration: none;
}

.back:hover { color: var(--text); }

.detail { background: var(--panel); border-left: 3px solid transparent; }
.detail.is-live { border-left-color: var(--live); }

.detail header {
  display: grid;
  gap: 4px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--line);
}

.detail header strong { font-size: 17px; }
.detail .where { color: var(--muted); font-size: 13px; }
.detail .status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.live-tag { color: var(--live); letter-spacing: 0.08em; font-size: 12px; }

.score {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.score th, .score td { padding: 10px 8px; text-align: center; }
.score thead th { color: var(--muted); font-size: 11px; font-weight: 400; padding-bottom: 2px; }
.score tbody th { text-align: left; font-size: 17px; font-weight: 500; width: 99%; }
.score tbody th .cc { display: inline-block; width: auto; min-width: 30px; margin-right: 8px; }
.score td.serving { min-width: 0; padding: 0; }
.sets .serve, .score .serve { display: inline-block; vertical-align: calc(0.36em - 3px); }
.serve.off { visibility: hidden; }
.score td { color: var(--muted); font-size: 17px; min-width: 30px; }
.score td.won, .score tr.won th { color: var(--win); font-weight: 600; }
.score tr.lost th { color: var(--muted); }
.score td.total { color: var(--accent); font-weight: 600; }
.score tbody tr + tr { border-top: 1px solid var(--line); }

.sides { border-top: 1px solid var(--line); }

.side { padding: 16px; min-width: 0; }
.side + .side { border-top: 1px solid var(--line); }

.profile h3 { margin: 0 0 6px; font-size: 14px; display: flex; gap: 6px; align-items: baseline; }
.profile + .profile { margin-top: 14px; }

.profile dl {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 2px 8px;
  margin: 0;
  font-size: 13px;
}

.profile dt { color: var(--muted); }
.profile dd { margin: 0; }

.side h4 {
  margin: 18px 0 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.none { margin: 0; color: var(--muted); font-size: 13px; }

.road { list-style: none; margin: 0; padding: 0; font-size: 13px; }

.road a {
  display: grid;
  grid-template-columns: 16px 92px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 4px 0;
  color: inherit;
  text-decoration: none;
}

.road a:hover .opp { text-decoration: underline; }
.road .result { font-weight: 700; }
.road .result.W { color: var(--accent); }
.road .result.L { color: var(--loss); }
.road .round { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.road .opp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.road .line { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.match.dim { opacity: 0.62; }

.when { font-variant-numeric: tabular-nums; }
.when strong { display: block; font-size: 15px; font-weight: 600; }
.when small { color: var(--muted); font-size: 11px; }
.is-live .when strong { color: var(--live); font-size: 12px; letter-spacing: 0.08em; }

.players { min-width: 0; }

.player {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--name);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 22.4px;
}

.player.won { color: var(--win); font-weight: 600; }
.player.lost { color: var(--muted); }

.cc {
  flex: none;
  width: 30px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.rank {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rank.top-ten { color: var(--accent); }

.serve {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.sets {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: 1fr 1fr;
  grid-auto-columns: minmax(28px, auto);
  gap: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  text-align: center;
}


.sets span { color: var(--dim); min-width: 0; padding: 2px 0; }
.sets > span:nth-child(4n + 1),
.sets > span:nth-child(4n + 2) { background: var(--well); }
#list a.match:hover .sets > span:is(:nth-child(4n + 1), :nth-child(4n + 2)) { background: var(--well-hover); }
#list a.match.selected .sets > span:is(:nth-child(4n + 1), :nth-child(4n + 2)) { background: var(--well-selected); }
.sets > span:nth-child(4n + 1) { border-radius: 6px 6px 0 0; }
.sets > span:nth-child(4n + 2) { border-radius: 0 0 6px 6px; }
.sets span.won { color: var(--win); font-weight: 600; }
.is-live .sets span.current { color: var(--win); font-weight: 600; }
.sets sup { font-size: 9px; margin-left: 1px; }

.meta {
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}

.meta div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta .event { color: var(--text); }

.tour {
  display: inline-block;
  margin-right: 6px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 10px;
  color: var(--muted);
}

.stars {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 1px;
  text-align: right;
  white-space: nowrap;
}

.stars i { color: var(--line); font-style: normal; }

.empty {
  padding: 28px 12px;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
}

.page::before, .page::after { content: ""; }
.page::before { flex: 2; transition: flex-grow 0.9s ease; }
body.court-active .page::before { flex-grow: 0; }
.page::after { flex: 3; order: 1; }

.court {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

footer {
  order: 2;
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  body, body.nav-open { display: block; }
  .sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    height: auto;
    padding: 14px 16px;
  }
  .brand { padding: 0; }
  h1 { font-size: 19px; }
  body .tabs { display: flex; padding: 0; }
  body .tabs button { flex-direction: row; gap: 8px; padding: 7px 12px; font-size: 14px; font-weight: 600; }
  .tabs svg { width: 18px; height: 18px; }
  .controls, .settings { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
  .controls h2 { display: none; }
  .zone { display: flex; align-items: center; }
  .stars-filter, .zone select { width: auto; max-width: 170px; padding: 7px 8px; }
  .updated { padding: 0; }
  .page { padding: 0 16px 40px; }
}

@media (max-width: 900px) {
  body.pane-open .page { max-width: 860px; margin-right: auto; }
  .pane { inset: 0; gap: 0; width: 100%; background: var(--bg); }
  .card { border: 0; border-radius: 0; }
  .pane-nav { padding: 10px; border-top: 1px solid var(--line); }
}

@container (max-width: 720px) {
  .match { grid-template-columns: 70px minmax(0, 1fr) auto minmax(0, 150px) 62px; gap: 10px; }
}

@container (max-width: 640px) {
  .match {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 4px 10px;
  }
  .meta { grid-column: 2 / -1; text-align: left; }
  .stars { grid-column: 1; grid-row: 2; text-align: left; }
}

.tour-tabs { display: none; flex-basis: 100%; gap: 14px; margin-top: 2px; }
.tour-tabs button {
  padding: 2px 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}
.tour-tabs button:hover { color: var(--text); }
.tour-tabs button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--accent); }

.entrant {
  display: grid;
  grid-template-columns: 36px 1fr 44px minmax(0, 220px);
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}
.entrant:hover { background: var(--panel); }
.entrant.out { color: var(--muted); }
.entrant .record { color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; }
.entrant .state { overflow: hidden; color: var(--muted); font-size: 12px; text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.entrant .state.live { color: var(--live); }

.draw-tree { padding: 0 0 22px; }
.draw-tree h4 {
  justify-self: center;
  width: fit-content;
  margin: 12px auto 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.level + .level { margin-top: 10px; }
.ties { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.ties .tie { flex: 0 1 calc((100% - 8px) / 2); }

.bracket { position: relative; margin-top: 18px; padding-top: 4px; border-top: 1px solid var(--line); }
.bracket h5 { margin: 12px 0 0; font-size: 13px; }
.bracket h4 { position: relative; z-index: 1; padding: 0 8px; background: var(--bg); }
.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.links path { fill: none; stroke: var(--link); stroke-width: 1.5; }
.links path.maybe { stroke-dasharray: 3 4; }
.links path.on { stroke: var(--accent); }
.tree-row { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 8px; }
.tree-row .tie { justify-self: center; width: 100%; max-width: 190px; }

.tie {
  position: relative;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  text-decoration: none;
}
.tie:hover { background: var(--panel); }
.tie.is-live, .tie.on { border-color: var(--live); }
.tie small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 10px; }
.tie.is-live small { color: var(--live); }
.tie-player { display: flex; justify-content: space-between; gap: 6px; line-height: 1.5; }
.tie-player span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tie-player.won { font-weight: 700; }
.tie-player.lost { color: var(--muted); }
.tie-score { flex: none; font-variant-numeric: tabular-nums; }
.tournament[open] summary::before { align-self: flex-start; margin-top: 7px; }
.match.recent { opacity: 0.55; }
#list a.match.recent:hover, #list a.match.recent.selected { opacity: 1; }
.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--live);
  vertical-align: 1px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { opacity: 0.25; }
}
.sets .serve:not(.off) { animation: pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .pulse, .sets .serve:not(.off) { animation: none; }
}
.racket {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transform-origin: 60px 60px;
  transition: opacity 0.3s;
}
body.court-active.on-court .racket { opacity: 0.9; }
body.court-active.on-court, body.court-active.on-court * { cursor: none !important; }
.racket g { transform-origin: 60px 60px; }
.racket g g { transform-origin: 60px 185px; }
.match .cc { display: none; }
@container (min-width: 641px) {
  .rows { display: grid; grid-template-columns: 88px fit-content(300px) minmax(0, 1fr) auto 74px; column-gap: 14px; }
  .rows > * { grid-column: 1 / -1; }
  .rows > .match { grid-template-columns: subgrid; }
  .match .sets { justify-self: start; }
}
@container (min-width: 641px) and (max-width: 720px) {
  .rows { grid-template-columns: 82px fit-content(300px) minmax(0, 1fr) auto 74px; column-gap: 10px; }
}
.match .sets { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }
.sets span.unplayed { font-size: 8px; line-height: 20.8px; }
.sets span.points { color: var(--win); }
.sets span.rolling { position: relative; overflow: hidden; }
.roll-old { position: absolute; left: 0; right: 0; animation: roll-out 1.2s ease-in forwards; }
.roll-new { display: block; animation: roll-in 1.2s ease-out 1.2s backwards; }
.sets span.rolling span { min-width: 0; padding: 0; color: inherit; }
@keyframes roll-out { to { opacity: 0; } }
@keyframes roll-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .roll-old { display: none; }
  .roll-new { animation: none; }
}
.match .sets span:is(.won, .current, .points) { font-weight: 400; }
.sets .serve { background: var(--accent); }
.match .sets span.points { font-size: 11px; line-height: 20.8px; }
.sets span:has(> .serve) { min-width: 0; }
.sets span.point-cell { display: flex; align-items: center; gap: 5px; padding: 2px 7px; }
.sets .point-cell .serve { flex: none; }
.sets .point-cell .points { width: 2ch; padding: 0; }
.sets .game-time {
  grid-row: span 2;
  align-self: center;
  min-width: 7ch;
  padding-left: 6px;
  color: var(--dim);
  font-size: 10px;
  font-style: normal;
  text-align: left;
}

.admin-toggle {
  position: fixed;
  z-index: 5;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--muted);
  background: var(--panel);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.admin-toggle:hover { color: var(--text); background: var(--panel-alt); }
.admin-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.admin {
  inset: auto 16px 60px auto;
  min-width: 200px;
  margin: 0;
  padding: 14px 16px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin h2 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.admin label + label { margin-top: 8px; }
.admin input { accent-color: var(--accent); margin: 0; }
.admin .theme { display: grid; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 600; cursor: default; }
.admin h2 + .theme { margin-top: 0; }
.admin .theme select { padding: 7px 8px; font: inherit; font-weight: 400; color: var(--text); background: var(--field); border: 0; border-radius: 8px; }
