/*
 * Social Golf product polish layer.
 *
 * This file intentionally loads after the legacy stylesheet. It refines the
 * presentation without changing the scoring, handicap, persistence or round
 * workflow contracts in app.js.
 */

:root {
  --sg-canvas: #f3f4f1;
  --sg-canvas-deep: #e9ebe7;
  --sg-paper: #fff;
  --sg-paper-soft: #fafbf8;
  --sg-ink: #111512;
  --sg-ink-soft: #68706b;
  --sg-ink-faint: #929993;
  --sg-night: #111714;
  --sg-night-raised: #1b211e;
  --sg-green: #168449;
  --sg-green-bright: #2dbf6b;
  --sg-green-soft: #eaf5ed;
  --sg-amber: #b9780a;
  --sg-amber-soft: #fff4da;
  --sg-red: #b8423c;
  --sg-red-soft: #fbecea;
  --sg-line: rgba(17, 21, 18, 0.09);
  --sg-line-strong: rgba(17, 21, 18, 0.16);
  --sg-shadow-soft: 0 0.5rem 1.6rem rgba(17, 21, 18, 0.055);
  --sg-shadow-float: 0 1rem 3rem rgba(17, 21, 18, 0.12);
  --sg-r-sm: 0.72rem;
  --sg-r-md: 1rem;
  --sg-r-lg: 1.35rem;
  --sg-page-pad: clamp(0.9rem, 3.6vw, 1.5rem);
  --sg-tabbar-height: 4.2rem;
  color-scheme: light;
}

html {
  min-width: 20rem;
  background: var(--sg-canvas);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 132, 73, 0.035), transparent 28rem),
    var(--sg-canvas);
  color: var(--sg-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
label,
select,
input[type="radio"],
input[type="checkbox"] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 0.18rem solid rgba(22, 132, 73, 0.3);
  outline-offset: 0.14rem;
}

.sg-polish,
.sg-polish *,
.sg-polish *::before,
.sg-polish *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.sg-polish {
  width: 100%;
  min-height: 100dvh;
  background: transparent;
  color: var(--sg-ink);
}

.sg-polish h1,
.sg-polish h2,
.sg-polish h3,
.sg-polish h4,
.sg-polish p {
  margin-block: 0;
}

.sg-polish h1,
.sg-polish h2,
.sg-polish h3,
.sg-polish h4,
.sg-polish strong {
  color: var(--sg-ink);
}

.sg-polish .eyebrow,
.sg-polish .sidebar-kicker {
  color: var(--sg-ink-soft);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sg-polish button {
  min-height: 2.75rem;
  border-radius: var(--sg-r-sm);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.sg-polish button:active {
  transform: scale(0.985);
}

.sg-polish .primary-action,
.sg-polish .add-action,
.sg-polish .hero-action {
  border: 0;
  background: var(--sg-night);
  color: #fff;
  box-shadow: 0 0.65rem 1.5rem rgba(17, 23, 20, 0.14);
  font-weight: 690;
}

.sg-polish .primary-action:hover,
.sg-polish .add-action:hover,
.sg-polish .hero-action:hover {
  background: #202724;
}

.sg-polish .ghost-button,
.sg-polish .secondary-action,
.sg-polish .icon-button {
  border: 1px solid var(--sg-line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--sg-ink);
  box-shadow: none;
}

.sg-polish input,
.sg-polish select,
.sg-polish textarea {
  min-height: 2.9rem;
  border: 1px solid var(--sg-line-strong);
  border-radius: var(--sg-r-sm);
  background: var(--sg-paper);
  color: var(--sg-ink);
  box-shadow: inset 0 1px 0 rgba(17, 21, 18, 0.02);
}

.sg-polish input::placeholder,
.sg-polish textarea::placeholder {
  color: var(--sg-ink-faint);
}

.sg-polish .workspace {
  min-width: 0;
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(17, 21, 18, 0.06);
  box-shadow: 0 1.5rem 4rem rgba(17, 21, 18, 0.055);
}

.sg-polish .topbar {
  border-bottom: 1px solid var(--sg-line);
  background: rgba(251, 252, 249, 0.86);
  backdrop-filter: saturate(140%) blur(1.2rem);
  -webkit-backdrop-filter: saturate(140%) blur(1.2rem);
}

.sg-polish .topbar h2 {
  color: var(--sg-ink);
  font-size: clamp(1.05rem, 1.8vw, 1.42rem);
  font-weight: 710;
  letter-spacing: -0.02em;
}

.sg-polish .avatar-pill {
  border: 0;
  border-radius: 999px;
  background: var(--sg-night);
  color: #fff;
  box-shadow: none;
}

.sg-polish .sidebar {
  border-color: var(--sg-line);
  background: rgba(248, 249, 246, 0.92);
  box-shadow: none;
}

.sg-polish .brand-wordmark {
  color: var(--sg-ink);
  font-weight: 690;
}

.sg-polish .brand-wordmark strong {
  color: var(--sg-green);
}

.sg-polish .nav-item {
  border-radius: var(--sg-r-sm);
  color: var(--sg-ink-soft);
  font-weight: 620;
}

.sg-polish .nav-item.is-active {
  border-color: transparent;
  background: var(--sg-night);
  color: #fff;
  box-shadow: none;
}

.sg-polish .panel {
  background: transparent;
}

.sg-polish .view-hero {
  overflow: hidden;
  border: 0;
  border-radius: var(--sg-r-lg);
  background:
    radial-gradient(circle at 92% 4%, rgba(71, 143, 101, 0.26), transparent 20rem),
    linear-gradient(145deg, #111714, #1b241f);
  color: #fff;
  box-shadow: var(--sg-shadow-soft);
}

.sg-polish .view-hero h2,
.sg-polish .view-hero strong {
  color: #fff;
}

.sg-polish .view-hero p:not(.eyebrow),
.sg-polish .view-hero span {
  color: rgba(255, 255, 255, 0.66);
}

.sg-polish .view-hero .eyebrow {
  color: #83dca5;
}

.sg-polish .status-pill,
.sg-polish .pill,
.sg-polish .row-badges span,
.sg-polish .key-status,
.sg-polish .invite-code {
  border: 1px solid var(--sg-line);
  border-radius: 999px;
  background: var(--sg-paper-soft);
  color: var(--sg-ink-soft);
  box-shadow: none;
}

.sg-polish .section-head {
  align-items: end;
  border-bottom: 1px solid var(--sg-line);
  padding-bottom: 0.8rem;
}

.sg-polish .section-head h3 {
  font-size: clamp(1.06rem, 2vw, 1.34rem);
  font-weight: 710;
  letter-spacing: -0.018em;
}

.sg-polish .section-head p:not(.eyebrow) {
  color: var(--sg-ink-soft);
  line-height: 1.45;
}

.sg-polish .metric-card,
.sg-polish .course-row-card,
.sg-polish .round-row,
.sg-polish .player-row,
.sg-polish .result-row,
.sg-polish .settings-card,
.sg-polish .admin-card,
.sg-polish .capture-route-card,
.sg-polish .content-card,
.sg-polish .empty-state {
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.sg-polish .metric-card:hover,
.sg-polish .course-row-card:hover,
.sg-polish .round-row:hover,
.sg-polish .player-row:hover {
  border-color: var(--sg-line-strong);
  background: var(--sg-paper);
}

.sg-polish .toast {
  right: 50%;
  bottom: calc(var(--sg-tabbar-height) + 1.1rem + env(safe-area-inset-bottom));
  width: max-content;
  max-width: calc(100vw - 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(17, 23, 20, 0.94);
  color: #fff;
  box-shadow: var(--sg-shadow-float);
  font-size: 0.78rem;
  transform: translateX(50%);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
}

/* Start-round workflow */
.sg-polish .v10-round-launcher {
  width: min(100%, 46rem);
  margin-inline: auto;
  gap: 1.05rem;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--sg-ink);
  padding: 0;
}

.sg-polish .v10-round-launcher .live-launch-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sg-ink);
  padding: 0.2rem 0;
}

.sg-polish .v10-round-launcher .live-launch-head h3 {
  color: var(--sg-ink);
  font-size: clamp(1.65rem, 6.6vw, 2.1rem);
  font-weight: 730;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-top: 0.2rem;
}

.sg-polish .v10-round-launcher .live-launch-head p:not(.eyebrow) {
  max-width: 32rem;
  color: var(--sg-ink-soft);
  font-size: 0.86rem;
  line-height: 1.4;
  margin-top: 0.4rem;
}

.sg-polish .v10-round-launcher .live-launch-head .status-pill {
  border-color: var(--sg-line);
  background: var(--sg-paper);
  color: var(--sg-ink-soft);
  font-size: 0.7rem;
  padding: 0.44rem 0.58rem;
}

.sg-polish .v10-round-launcher .launcher-assurance {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.55rem;
  align-items: center;
  border: 0;
  border-radius: var(--sg-r-sm);
  background: var(--sg-green-soft);
  padding: 0.72rem 0.78rem;
}

.sg-polish .v10-round-launcher .launcher-assurance::before {
  content: "\2713";
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--sg-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.sg-polish .v10-round-launcher .launcher-assurance strong {
  color: #125e37;
  font-size: 0.8rem;
}

.sg-polish .v10-round-launcher .launcher-assurance span {
  color: #52705f;
  font-size: 0.72rem;
}

.sg-polish .v10-round-launcher .game-setup-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  border-top: 1px solid var(--sg-line);
  padding-top: 1rem;
}

.sg-polish .v10-round-launcher .game-step-marker {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--sg-night);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 720;
}

.sg-polish .v10-round-launcher .game-setup-step h4 {
  color: var(--sg-ink);
  font-size: 1rem;
  font-weight: 700;
}

.sg-polish .v10-round-launcher .game-setup-step p {
  color: var(--sg-ink-soft);
  font-size: 0.74rem;
  line-height: 1.35;
}

.sg-polish .v10-round-launcher fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
}

.sg-polish .v10-round-launcher fieldset > legend {
  color: var(--sg-ink-soft);
  font-size: 0.67rem;
  font-weight: 710;
  text-transform: uppercase;
}

.sg-polish .v10-round-launcher .course-choice-card,
.sg-polish .v10-round-launcher .round-player-card,
.sg-polish .v10-round-launcher .score-track-card,
.sg-polish .v10-round-launcher .play-scope-card,
.sg-polish .v10-round-launcher .game-choice-card,
.sg-polish .v10-round-launcher .team-player-assignment label {
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-sm);
  background: rgba(255, 255, 255, 0.84);
  color: var(--sg-ink);
  box-shadow: none;
}

.sg-polish .v10-round-launcher .course-choice-card:has(input:checked),
.sg-polish .v10-round-launcher .round-player-card:has(input:checked),
.sg-polish .v10-round-launcher .score-track-card:has(input:checked),
.sg-polish .v10-round-launcher .play-scope-card:has(input:checked),
.sg-polish .v10-round-launcher .game-choice-card:has(input:checked) {
  border-color: rgba(22, 132, 73, 0.48);
  background: var(--sg-green-soft);
  box-shadow: inset 0 0 0 1px rgba(22, 132, 73, 0.05);
}

.sg-polish .v10-round-launcher .skins-choice-card:has(input:checked) {
  border-color: rgba(185, 120, 10, 0.42);
  background: var(--sg-amber-soft);
}

.sg-polish .v10-round-launcher .round-player-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.sg-polish .v10-round-launcher .round-player-card {
  min-height: 3.35rem;
  padding: 0.58rem 0.64rem;
}

.sg-polish .v10-round-launcher .round-player-copy strong {
  color: var(--sg-ink);
  font-size: 0.84rem;
}

.sg-polish .v10-round-launcher .round-player-copy small {
  color: var(--sg-ink-soft);
  font-size: 0.65rem;
}

.sg-polish .v10-round-launcher .round-scorekeeper-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  border-block: 1px solid var(--sg-line);
  padding: 0.76rem 0;
}

.sg-polish .v10-round-launcher .round-scorekeeper-row span {
  display: grid;
  gap: 0.1rem;
}

.sg-polish .v10-round-launcher .round-scorekeeper-row small,
.sg-polish .v10-round-launcher .round-scorekeeper-row em {
  color: var(--sg-ink-soft);
  font-size: 0.68rem;
  font-style: normal;
}

.sg-polish .v10-round-launcher .play-scope-grid,
.sg-polish .v10-round-launcher .score-track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.sg-polish .v10-round-launcher .play-scope-grid legend,
.sg-polish .v10-round-launcher .score-track-grid legend {
  grid-column: 1 / -1;
}

.sg-polish .v10-round-launcher .play-scope-card,
.sg-polish .v10-round-launcher .score-track-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 3.75rem;
  padding: 0.58rem;
}

.sg-polish .v10-round-launcher .play-scope-card input,
.sg-polish .v10-round-launcher .score-track-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
}

.sg-polish .v10-round-launcher .play-scope-card strong,
.sg-polish .v10-round-launcher .score-track-card strong {
  color: var(--sg-ink);
  font-size: 0.76rem;
}

.sg-polish .v10-round-launcher .play-scope-card small,
.sg-polish .v10-round-launcher .score-track-card small {
  display: block;
  color: var(--sg-ink-soft);
  font-size: 0.62rem;
  line-height: 1.25;
  margin-top: 0.14rem;
}

.sg-polish .v10-round-launcher .game-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
}

.sg-polish .v10-round-launcher .game-choice-grid legend {
  grid-column: 1 / -1;
}

.sg-polish .v10-round-launcher .game-choice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem;
  align-items: center;
  min-height: 3.7rem;
  padding: 0.6rem 0.64rem;
}

.sg-polish .v10-round-launcher .game-choice-card > span:last-child {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.sg-polish .v10-round-launcher .game-choice-radio {
  position: static;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  width: 1.08rem;
  height: 1.08rem;
  border: 1px solid var(--sg-line-strong);
  border-radius: 999px;
}

.sg-polish .v10-round-launcher .game-choice-radio input {
  width: 0.68rem;
  height: 0.68rem;
  min-height: 0.68rem;
  accent-color: var(--sg-green);
}

.sg-polish .v10-round-launcher .game-choice-card strong {
  color: var(--sg-ink);
  font-size: 0.84rem;
}

.sg-polish .v10-round-launcher .game-choice-card small {
  display: none;
}

.sg-polish .v10-round-launcher .game-card-meta {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.28rem;
}

.sg-polish .v10-round-launcher .game-card-meta em {
  border: 0;
  background: transparent;
  color: var(--sg-ink-soft);
  font-size: 0.6rem;
  font-style: normal;
  padding: 0;
}

.sg-polish .v10-round-launcher .game-card-meta em + em::before {
  content: "\00b7";
  margin-right: 0.25rem;
}

.sg-polish .v10-round-launcher .skins-setup-panel,
.sg-polish .v10-round-launcher .team-setup-panel {
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-md);
  background: var(--sg-paper);
  box-shadow: none;
  padding: 0.8rem;
}

.sg-polish .v10-round-launcher .skins-setup-panel {
  border-color: rgba(185, 120, 10, 0.22);
  background: var(--sg-amber-soft);
}

.sg-polish .v10-round-launcher .primary-action {
  width: 100%;
  min-height: 3.7rem;
  border: 0;
  border-radius: var(--sg-r-md);
  background: var(--sg-night);
  color: #fff;
  box-shadow: 0 0.75rem 1.8rem rgba(17, 23, 20, 0.14);
  font-size: 0.96rem;
  font-weight: 700;
}

/* Live-round scorekeeper view */
.sg-polish.is-live-play {
  padding: 0;
  background: var(--sg-canvas);
}

.sg-polish.is-live-play .workspace,
.sg-polish.is-live-play .panel {
  background: var(--sg-canvas);
}

.sg-polish.is-live-play .v10-live-round {
  width: min(100%, 54rem);
  margin-inline: auto;
  gap: 0;
  overflow: clip;
  border: 0;
  border-radius: var(--sg-r-lg);
  background: var(--sg-canvas);
  background-image: none;
  color: var(--sg-ink);
  box-shadow: var(--sg-shadow-float);
  padding: 0 0 calc(0.9rem + env(safe-area-inset-bottom));
}

.sg-polish.is-live-play .v10-live-round .live-round-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.62rem;
  align-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 var(--sg-r-lg) var(--sg-r-lg);
  background:
    radial-gradient(circle at 90% -10%, rgba(68, 137, 98, 0.25), transparent 18rem),
    linear-gradient(145deg, #0f1512, #1a221e);
  background-image:
    radial-gradient(circle at 90% -10%, rgba(68, 137, 98, 0.25), transparent 18rem),
    linear-gradient(145deg, #0f1512, #1a221e);
  color: #fff;
  box-shadow: none;
  padding: calc(0.86rem + env(safe-area-inset-top)) max(0.85rem, env(safe-area-inset-right)) 0.9rem max(0.85rem, env(safe-area-inset-left));
}

.sg-polish.is-live-play .v10-live-round .live-back-button {
  display: grid;
  place-items: center;
  width: 2.65rem;
  min-width: 2.65rem;
  height: 2.65rem;
  min-height: 2.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
  font-size: 1.65rem;
  line-height: 1;
  padding: 0 0 0.12rem;
}

.sg-polish.is-live-play .v10-live-round .live-round-title {
  min-width: 0;
}

.sg-polish.is-live-play .v10-live-round .live-round-title .eyebrow {
  display: flex;
  gap: 0.34rem;
  align-items: center;
  color: #84dda6;
  font-size: 0.64rem;
}

.sg-polish.is-live-play .v10-live-round .live-round-title .eyebrow span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--sg-green-bright);
  box-shadow: 0 0 0 0.22rem rgba(45, 191, 107, 0.11);
}

.sg-polish.is-live-play .v10-live-round .live-round-title h3 {
  overflow: hidden;
  color: #fff;
  font-size: 1rem;
  font-weight: 690;
  line-height: 1.16;
  margin-top: 0.18rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sg-polish.is-live-play .v10-live-round .live-round-title p:not(.eyebrow) {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  margin-top: 0.16rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sg-polish.is-live-play .v10-live-round .live-round-players {
  display: flex;
  gap: 0.28rem;
  align-items: center;
  min-height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.32rem 0.52rem;
}

.sg-polish.is-live-play .v10-live-round .live-round-players span,
.sg-polish.is-live-play .v10-live-round .live-round-players strong {
  display: inline;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.67rem;
  padding: 0;
}

.sg-polish.is-live-play .v10-live-round .live-round-meter {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sg-r-sm);
  background: rgba(255, 255, 255, 0.05);
  padding: 0;
}

.sg-polish.is-live-play .v10-live-round .live-round-meter > span {
  display: grid;
  gap: 0.1rem;
  justify-items: center;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.52rem 0.3rem;
}

.sg-polish.is-live-play .v10-live-round .live-round-meter > span:last-child {
  border-right: 0;
}

.sg-polish.is-live-play .v10-live-round .live-round-meter small {
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.sg-polish.is-live-play .v10-live-round .live-round-meter strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sg-polish.is-live-play .v10-live-round .live-round-top > .ghost-button {
  grid-column: 1 / -1;
  min-height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--sg-r-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  font-size: 0.74rem;
}

.sg-polish.is-live-play .v10-live-round .live-round-top > .ghost-button.needs-review {
  border-color: rgba(185, 120, 10, 0.35);
  background: rgba(185, 120, 10, 0.1);
  color: #f2cb80;
}

.sg-polish.is-live-play .v10-live-round .live-hole-bar {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr) 2.65rem;
  gap: 0.34rem;
  align-items: center;
  margin: 0.78rem 0.78rem 0;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-md);
  background: rgba(255, 255, 255, 0.94);
  color: var(--sg-ink);
  padding: 0.28rem;
}

.sg-polish.is-live-play .v10-live-round .live-hole-bar button {
  display: grid;
  place-items: center;
  width: 2.65rem;
  min-width: 2.65rem;
  height: 2.65rem;
  min-height: 2.65rem;
  border: 0;
  border-radius: var(--sg-r-sm);
  background: var(--sg-paper-soft);
  color: var(--sg-ink);
  box-shadow: none;
  font-size: 1.35rem;
  padding: 0;
}

.sg-polish.is-live-play .v10-live-round .live-hole-bar button:disabled {
  color: #b7bcb8;
  opacity: 1;
}

.sg-polish.is-live-play .v10-live-round .live-hole-bar div {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  align-items: baseline;
}

.sg-polish.is-live-play .v10-live-round .live-hole-bar span {
  color: var(--sg-green);
  font-size: 0.64rem;
  font-weight: 740;
  text-transform: uppercase;
}

.sg-polish.is-live-play .v10-live-round .live-hole-bar strong {
  color: var(--sg-ink);
  font-size: 0.96rem;
}

.sg-polish.is-live-play .v10-live-round .live-hole-strip {
  display: grid;
  grid-auto-columns: 2.55rem;
  grid-auto-flow: column;
  gap: 0.3rem;
  overflow-x: auto;
  margin-top: 0.48rem;
  border: 0;
  background: transparent;
  padding: 0 0.78rem 0.16rem;
  scrollbar-width: none;
}

.sg-polish.is-live-play .v10-live-round .live-hole-strip button {
  min-height: 2.55rem;
  border: 1px solid var(--sg-line);
  border-radius: 0.68rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--sg-ink-soft);
  box-shadow: none;
  padding: 0.22rem;
}

.sg-polish.is-live-play .v10-live-round .live-hole-strip button.is-active {
  border-color: var(--sg-night);
  background: var(--sg-night);
  color: #fff;
}

.sg-polish.is-live-play .v10-live-round .live-hole-strip span {
  font-size: 0.76rem;
}

.sg-polish.is-live-play .v10-live-round .live-hole-strip small {
  display: none;
}

.sg-polish.is-live-play .v10-live-round .live-score-board-wrap {
  margin: 0.62rem 0.78rem 0;
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-md);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--sg-shadow-soft);
}

.sg-polish.is-live-play .v10-live-round .live-score-board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.2rem 3.2rem;
  gap: 0.35rem;
  align-items: center;
  min-height: 2rem;
  border-bottom: 1px solid var(--sg-line);
  color: var(--sg-ink-soft);
  font-size: 0.56rem;
  font-weight: 710;
  padding: 0.42rem 0.66rem;
  text-transform: uppercase;
}

.sg-polish.is-live-play .v10-live-round .live-score-board-head span:nth-child(n + 2) {
  text-align: center;
}

.sg-polish.is-live-play .v10-live-round .live-score-board {
  display: grid;
  gap: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sg-polish.is-live-play .v10-live-round .live-player-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.2rem 3.2rem;
  gap: 0.35rem;
  align-items: center;
  width: 100%;
  min-height: 4.1rem;
  border: 0;
  border-bottom: 1px solid var(--sg-line);
  border-radius: 0;
  background: transparent;
  color: var(--sg-ink);
  box-shadow: none;
  padding: 0.58rem 0.66rem;
}

.sg-polish.is-live-play .v10-live-round .live-player-row:last-child {
  border-bottom: 0;
}

.sg-polish.is-live-play .v10-live-round .live-player-row.is-active {
  border-color: var(--sg-line);
  background: linear-gradient(90deg, var(--sg-green-soft), rgba(234, 245, 237, 0.26));
  box-shadow: none;
}

.sg-polish.is-live-play .v10-live-round .live-player-row.is-active::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.2rem;
  background: var(--sg-green);
}

.sg-polish.is-live-play .v10-live-round .live-player-name strong,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-player-name strong {
  color: var(--sg-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.sg-polish.is-live-play .v10-live-round .live-player-name small,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-player-name small {
  color: var(--sg-ink-soft);
  font-size: 0.65rem;
  font-weight: 540;
}

.sg-polish.is-live-play .v10-live-round .live-total,
.sg-polish.is-live-play .v10-live-round .live-current-score,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-total,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-current-score {
  display: grid;
  place-items: center;
  justify-self: center;
  width: auto;
  min-width: 2.55rem;
  height: 2.55rem;
  border: 0;
  border-radius: 0.66rem;
  background: transparent;
  color: var(--sg-ink);
  font-size: 0.98rem;
  font-weight: 730;
  padding: 0 0.28rem;
}

.sg-polish.is-live-play .v10-live-round .live-total.is-under,
.sg-polish.is-live-play .v10-live-round .live-total.is-even,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-total.is-under,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-total.is-even {
  color: var(--sg-green);
}

.sg-polish.is-live-play .v10-live-round .live-current-score,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-current-score {
  border: 1px solid var(--sg-line);
  background: var(--sg-paper-soft);
}

.sg-polish.is-live-play .v10-live-round .live-current-score.is-empty {
  background: var(--sg-green-soft);
  color: var(--sg-green);
}

.sg-polish.is-live-play .v10-live-round .live-current-score.is-scored,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-current-score.is-scored {
  border-color: rgba(22, 132, 73, 0.14);
  background: var(--sg-green-soft);
  color: var(--sg-green);
}

.sg-polish.is-live-play .v10-live-round .live-current-term,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-current-term {
  position: absolute;
  right: 0.7rem;
  bottom: 0.25rem;
  max-width: 3.1rem;
  color: var(--sg-ink-faint);
  font-size: 0.46rem;
  font-weight: 690;
  text-transform: uppercase;
}

.sg-polish.is-live-play .v10-live-round .live-open-score-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  width: auto;
  min-height: 3.7rem;
  margin: 0.68rem 0.78rem 0;
  border: 0;
  border-radius: var(--sg-r-md);
  background: var(--sg-night);
  color: #fff;
  box-shadow: 0 0.75rem 1.8rem rgba(17, 23, 20, 0.15);
  padding: 0.7rem 0.86rem;
}

.sg-polish.is-live-play .v10-live-round .live-open-score-sheet span {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
}

.sg-polish.is-live-play .v10-live-round .live-open-score-sheet strong {
  display: grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--sg-green-soft);
  color: var(--sg-green);
  font-size: 0.68rem;
}

.sg-polish.is-live-play .v10-live-round .live-game-shelf {
  display: grid;
  gap: 0.62rem;
  margin: 0.68rem 0.78rem 0;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-md);
  background: rgba(255, 255, 255, 0.92);
  background-image: none;
  color: var(--sg-ink);
  box-shadow: none;
  padding: 0.78rem;
}

.sg-polish.is-live-play .v10-live-round .live-game-panel-head,
.sg-polish.is-live-play .v10-live-round .skins-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: start;
}

.sg-polish.is-live-play .v10-live-round .live-game-panel-head .eyebrow,
.sg-polish.is-live-play .v10-live-round .skins-panel-head .eyebrow {
  color: var(--sg-green);
  font-size: 0.6rem;
}

.sg-polish.is-live-play .v10-live-round .skins-panel-head .eyebrow {
  color: var(--sg-amber);
}

.sg-polish.is-live-play .v10-live-round .live-game-panel-head h3,
.sg-polish.is-live-play .v10-live-round .skins-panel-head h3 {
  overflow: hidden;
  color: var(--sg-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0.1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sg-polish.is-live-play .v10-live-round .live-game-panel-head p {
  color: var(--sg-ink-soft);
  font-size: 0.7rem;
  line-height: 1.35;
  margin-top: 0.2rem;
}

.sg-polish.is-live-play .v10-live-round .live-game-panel-head > span,
.sg-polish.is-live-play .v10-live-round .skins-panel-head > span {
  border: 1px solid var(--sg-line);
  border-radius: 999px;
  background: var(--sg-paper-soft);
  color: var(--sg-ink-soft);
  font-size: 0.64rem;
  padding: 0.34rem 0.48rem;
}

.sg-polish.is-live-play .v10-live-round .skins-panel-head > span {
  border-color: rgba(185, 120, 10, 0.24);
  background: var(--sg-amber-soft);
  color: #80540a;
}

.sg-polish.is-live-play .v10-live-round .skins-current-hole {
  display: grid;
  gap: 0.12rem;
  border: 1px solid rgba(185, 120, 10, 0.17);
  border-radius: var(--sg-r-sm);
  background: var(--sg-amber-soft);
  color: var(--sg-ink);
  padding: 0.66rem;
}

.sg-polish.is-live-play .v10-live-round .skins-current-hole > span {
  color: #80540a;
  font-size: 0.58rem;
}

.sg-polish.is-live-play .v10-live-round .skins-current-hole strong {
  color: var(--sg-ink);
  font-size: 0.84rem;
}

.sg-polish.is-live-play .v10-live-round .skins-current-hole small {
  color: var(--sg-ink-soft);
  font-size: 0.68rem;
}

.sg-polish.is-live-play .v10-live-round .live-game-rank-list,
.sg-polish.is-live-play .v10-live-round .skins-leaderboard {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-sm);
  background: var(--sg-paper);
}

.sg-polish.is-live-play .v10-live-round .live-game-rank-list div,
.sg-polish.is-live-play .v10-live-round .skins-leaderboard div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.48rem;
  align-items: center;
  min-height: 2.72rem;
  border: 0;
  border-bottom: 1px solid var(--sg-line);
  border-radius: 0;
  background: transparent;
  color: var(--sg-ink);
  padding: 0.43rem 0.52rem;
}

.sg-polish.is-live-play .v10-live-round .live-game-rank-list div:last-child,
.sg-polish.is-live-play .v10-live-round .skins-leaderboard div:last-child {
  border-bottom: 0;
}

.sg-polish.is-live-play .v10-live-round .live-game-rank-list div > span,
.sg-polish.is-live-play .v10-live-round .skins-leaderboard div > span > b {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--sg-night);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 730;
}

.sg-polish.is-live-play .v10-live-round .skins-leaderboard div > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.48rem;
  align-items: center;
}

.sg-polish.is-live-play .v10-live-round .skins-leaderboard div > span > span {
  display: grid;
  min-width: 0;
}

.sg-polish.is-live-play .v10-live-round .live-game-rank-list strong,
.sg-polish.is-live-play .v10-live-round .skins-leaderboard strong {
  overflow: hidden;
  color: var(--sg-ink);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sg-polish.is-live-play .v10-live-round .live-game-rank-list small,
.sg-polish.is-live-play .v10-live-round .skins-leaderboard small {
  color: var(--sg-ink-soft);
  font-size: 0.6rem;
}

.sg-polish.is-live-play .v10-live-round .skins-leaderboard > div > strong {
  color: var(--sg-green);
}

.sg-polish.is-live-play .v10-live-round .skins-hole-ledger {
  display: grid;
  grid-auto-columns: 2.25rem;
  grid-auto-flow: column;
  gap: 0.28rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.sg-polish.is-live-play .v10-live-round .skins-hole-ledger button {
  min-height: 2.25rem;
  border: 1px solid var(--sg-line);
  border-radius: 0.62rem;
  background: var(--sg-paper-soft);
  color: var(--sg-ink-soft);
  box-shadow: none;
  padding: 0.22rem;
}

.sg-polish.is-live-play .v10-live-round .skins-hole-ledger button.is-active {
  border-color: rgba(185, 120, 10, 0.36);
  background: var(--sg-amber-soft);
  color: #80540a;
}

.sg-polish.is-live-play .v10-live-round .live-game-details {
  border-top: 1px solid var(--sg-line);
  color: var(--sg-ink);
  padding-top: 0.52rem;
}

.sg-polish.is-live-play .v10-live-round .live-game-details summary {
  color: var(--sg-ink-soft);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 670;
  list-style-position: inside;
}

.sg-polish.is-live-play .v10-live-round .live-game-details[open] {
  display: grid;
  gap: 0.5rem;
}

.sg-polish.is-live-play .v10-live-round .live-correction-panel,
.sg-polish.is-live-play .v10-live-round .live-finish-note {
  margin: 0.68rem 0.78rem 0;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-md);
  background: rgba(255, 255, 255, 0.72);
  color: var(--sg-ink-soft);
  box-shadow: none;
}

.sg-polish.is-live-play .v10-live-round .live-finish-note {
  font-size: 0.7rem;
  font-weight: 590;
  padding: 0.68rem;
}

/* Score entry: focused sheet, 2x2 player rail and automatic continuation. */
.sg-polish.is-live-play .live-score-sheet-backdrop {
  align-items: end;
  background: rgba(8, 11, 9, 0.55);
  padding: 0.34rem max(0.34rem, env(safe-area-inset-right)) max(0.34rem, env(safe-area-inset-bottom)) max(0.34rem, env(safe-area-inset-left));
  backdrop-filter: blur(0.7rem);
  -webkit-backdrop-filter: blur(0.7rem);
}

.sg-polish.is-live-play .live-score-sheet {
  width: min(100%, 44rem);
}

.sg-polish.is-live-play .live-score-sheet .live-keypad-panel {
  gap: 0;
  max-height: calc(100dvh - 0.68rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.1rem;
  background: var(--sg-paper);
  box-shadow: 0 -1rem 3.5rem rgba(5, 8, 6, 0.28);
  padding: 0;
}

.sg-polish.is-live-play .live-score-sheet-focus {
  display: grid;
  gap: 0.62rem;
  background:
    radial-gradient(circle at 92% 0%, rgba(45, 191, 107, 0.12), transparent 11rem),
    linear-gradient(145deg, #0f1512, #1a211d);
  color: #fff;
  padding: 0.88rem 0.76rem 0.72rem;
}

.sg-polish.is-live-play .live-score-sheet-focus strong,
.sg-polish.is-live-play .live-score-sheet-focus h3 {
  color: #fff;
}

.sg-polish.is-live-play .live-score-sheet-focus .eyebrow,
.sg-polish.is-live-play .live-score-sheet-focus span {
  color: rgba(255, 255, 255, 0.64);
}

.sg-polish.is-live-play .live-score-player-rail,
.sg-polish.is-live-play .live-score-player-rail.player-count-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.38rem;
}

.sg-polish.is-live-play .live-score-player-chip,
.sg-polish.is-live-play .live-score-player-rail.player-count-4 .live-score-player-chip {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.4rem;
  min-width: 0;
  min-height: 3.15rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--sg-r-sm);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: none;
  padding: 0.42rem;
  text-align: left;
}

.sg-polish.is-live-play .live-score-player-chip i {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  align-self: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 700;
}

.sg-polish.is-live-play .live-score-player-chip strong,
.sg-polish.is-live-play .live-score-player-chip span {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sg-polish.is-live-play .live-score-player-chip strong {
  font-size: 0.78rem;
}

.sg-polish.is-live-play .live-score-player-chip span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
}

.sg-polish.is-live-play .live-score-player-chip.is-scored {
  border-color: rgba(45, 191, 107, 0.34);
  background: rgba(45, 191, 107, 0.08);
}

.sg-polish.is-live-play .live-score-player-chip.is-active {
  border-color: rgba(99, 220, 146, 0.72);
  background: rgba(22, 132, 73, 0.52);
  color: #fff;
}

.sg-polish.is-live-play .live-score-player-chip.is-active span {
  color: rgba(255, 255, 255, 0.8);
}

.sg-polish.is-live-play .live-score-sheet-body {
  display: grid;
  gap: 0.62rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--sg-paper);
  padding: 0.74rem 0.74rem max(0.78rem, env(safe-area-inset-bottom));
}

.sg-polish.is-live-play .live-score-sheet .live-selected-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 0;
  padding: 0;
}

.sg-polish.is-live-play .live-score-sheet .live-selected-player span {
  color: var(--sg-ink-soft);
  font-size: 0.65rem;
}

.sg-polish.is-live-play .live-score-sheet .live-selected-player strong {
  color: var(--sg-ink);
  font-size: 0.94rem;
}

.sg-polish.is-live-play .live-score-sheet .live-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.sg-polish.is-live-play .live-score-sheet .live-keypad button {
  min-width: 0;
  min-height: clamp(3.85rem, 9dvh, 5.6rem);
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-sm);
  background: var(--sg-paper);
  color: var(--sg-ink);
  box-shadow: 0 0.3rem 0.9rem rgba(17, 21, 18, 0.045);
}

.sg-polish.is-live-play .live-score-sheet .live-keypad button strong {
  color: var(--sg-ink);
  font-size: clamp(1.55rem, 7vw, 2.15rem);
  font-weight: 690;
}

.sg-polish.is-live-play .live-score-sheet .live-keypad button span {
  color: var(--sg-ink-soft);
  font-size: 0.64rem;
  font-weight: 620;
  text-transform: uppercase;
}

.sg-polish.is-live-play .live-score-sheet .live-keypad button.is-par {
  border-color: rgba(22, 132, 73, 0.52);
  background: linear-gradient(145deg, var(--sg-green-soft), #fff);
}

.sg-polish.is-live-play .live-score-sheet .live-keypad button.is-par strong,
.sg-polish.is-live-play .live-score-sheet .live-keypad button.is-par span {
  color: var(--sg-green);
}

.sg-polish.is-live-play .live-score-sheet .live-keypad button.is-clear {
  border-color: rgba(185, 120, 10, 0.25);
  background: #fff9eb;
}

/* Bottom navigation */
.sg-polish .mobile-tabbar {
  right: 0.55rem;
  bottom: max(0.5rem, env(safe-area-inset-bottom));
  left: 0.55rem;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.12rem;
  overflow: hidden;
  border: 1px solid rgba(17, 21, 18, 0.08);
  border-radius: 1.05rem;
  background: rgba(253, 253, 251, 0.9);
  box-shadow: 0 0.8rem 2.2rem rgba(17, 21, 18, 0.13);
  padding: 0.25rem;
  backdrop-filter: saturate(150%) blur(1.2rem);
  -webkit-backdrop-filter: saturate(150%) blur(1.2rem);
}

.sg-polish .mobile-tab {
  display: grid;
  gap: 0.12rem;
  place-items: center;
  min-width: 0;
  min-height: 3.15rem;
  overflow: hidden;
  border: 0;
  border-radius: 0.8rem;
  background: transparent;
  color: var(--sg-ink-soft);
  box-shadow: none;
  font-size: 0.6rem;
  font-weight: 620;
  padding: 0.3rem 0.08rem;
  text-overflow: ellipsis;
}

.sg-polish .mobile-tab.is-active {
  background: var(--sg-night);
  color: #fff;
}

.sg-polish .mobile-tab .nav-icon {
  width: 1.05rem;
  height: 1.05rem;
}

/* Phone-first composition. */
@media (max-width: 639px) {
  body,
  #app,
  .sg-polish,
  .sg-polish .workspace,
  .sg-polish .panel {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .sg-polish {
    display: block;
    padding: 0 0 calc(var(--sg-tabbar-height) + env(safe-area-inset-bottom));
  }

  .sg-polish .sidebar {
    display: none;
  }

  .sg-polish .workspace {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .sg-polish .topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    padding: calc(0.65rem + env(safe-area-inset-top)) max(0.78rem, env(safe-area-inset-right)) 0.65rem max(0.78rem, env(safe-area-inset-left));
  }

  .sg-polish .topbar h2,
  .sg-polish .topbar .eyebrow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sg-polish .topbar h2 {
    font-size: 1.06rem;
  }

  .sg-polish .topbar-actions {
    gap: 0.35rem;
  }

  .sg-polish .topbar-actions .secondary-action,
  .sg-polish .topbar-actions .notification-pill {
    display: none;
  }

  .sg-polish .topbar-actions .add-action {
    min-height: 2.55rem;
    border-radius: 0.75rem;
    padding: 0.45rem 0.65rem;
  }

  .sg-polish .avatar-pill {
    min-width: 2.55rem;
    min-height: 2.55rem;
  }

  .sg-polish .view-hero {
    margin: 0.78rem 0.78rem 0;
    border-radius: var(--sg-r-md);
  }

  .sg-polish .panel {
    padding: 0.82rem 0.78rem 1.1rem;
  }

  .sg-polish .section-head {
    gap: 0.5rem;
  }

  .sg-polish .metric-grid,
  .sg-polish .dashboard-grid,
  .sg-polish .settings-grid,
  .sg-polish .capture-route-grid,
  .sg-polish .course-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sg-polish .v10-round-launcher .live-launch-head h3 {
    font-size: 1.72rem;
  }

  .sg-polish .v10-round-launcher .play-scope-grid,
  .sg-polish .v10-round-launcher .score-track-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sg-polish .v10-round-launcher .game-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-polish .v10-round-launcher .primary-action {
    position: sticky;
    bottom: calc(var(--sg-tabbar-height) + 0.5rem + env(safe-area-inset-bottom));
    z-index: 10;
  }

  .sg-polish.is-live-play {
    min-height: 100dvh;
    padding-bottom: 0;
  }

  .sg-polish.is-live-play .topbar,
  .sg-polish.is-live-play .view-hero,
  .sg-polish.is-live-play .mobile-tabbar {
    display: none;
  }

  .sg-polish.is-live-play .panel {
    overflow: visible;
    padding: 0;
  }

  .sg-polish.is-live-play .v10-live-round {
    width: 100%;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }

  .sg-polish.is-live-play .v10-live-round .live-round-top {
    border-radius: 0 0 var(--sg-r-lg) var(--sg-r-lg);
  }
}

@media (max-width: 359px) {
  .sg-polish .topbar {
    padding-inline: 0.62rem;
  }

  .sg-polish .topbar-actions .add-action {
    padding-inline: 0.5rem;
  }

  .sg-polish .panel,
  .sg-polish .view-hero {
    margin-inline: 0.58rem;
  }

  .sg-polish .panel {
    padding-inline: 0;
  }

  .sg-polish .v10-round-launcher .play-scope-grid,
  .sg-polish .v10-round-launcher .score-track-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sg-polish.is-live-play .v10-live-round .live-round-players strong {
    display: none;
  }

  .sg-polish.is-live-play .v10-live-round .live-score-board-head,
  .sg-polish.is-live-play .v10-live-round .live-player-row {
    grid-template-columns: minmax(0, 1fr) 2.9rem 2.9rem;
    padding-inline: 0.54rem;
  }

  .sg-polish.is-live-play .v10-live-round .live-hole-bar,
  .sg-polish.is-live-play .v10-live-round .live-score-board-wrap,
  .sg-polish.is-live-play .v10-live-round .live-open-score-sheet,
  .sg-polish.is-live-play .v10-live-round .live-game-shelf,
  .sg-polish.is-live-play .v10-live-round .live-correction-panel,
  .sg-polish.is-live-play .v10-live-round .live-finish-note {
    margin-inline: 0.56rem;
  }

  .sg-polish.is-live-play .v10-live-round .live-hole-strip {
    padding-inline: 0.56rem;
  }

  .sg-polish.is-live-play .live-score-sheet-focus,
  .sg-polish.is-live-play .live-score-sheet-body {
    padding-inline: 0.58rem;
  }

  .sg-polish.is-live-play .live-score-sheet .live-keypad button {
    min-height: 3.55rem;
  }
}

/* Tablet and desktop: preserve information density without stretching phone UI. */
@media (min-width: 640px) {
  .sg-polish .v10-round-launcher {
    padding: 0.5rem;
  }

  .sg-polish .v10-round-launcher .course-choice-grid,
  .sg-polish .v10-round-launcher .round-player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-polish .v10-round-launcher .game-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sg-polish.is-live-play .v10-live-round {
    margin-block: 0.5rem;
  }

  .sg-polish.is-live-play .v10-live-round .live-score-board-head,
  .sg-polish.is-live-play .v10-live-round .live-player-row {
    grid-template-columns: minmax(0, 1fr) 4.8rem 4.8rem;
  }

  .sg-polish.is-live-play .live-score-player-rail.player-count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .sg-polish.is-live-play .v10-live-round {
    display: grid;
    grid-template-columns: minmax(21rem, 1.12fr) minmax(17rem, 0.88fr);
    gap: 0;
  }

  .sg-polish.is-live-play .v10-live-round .live-round-top,
  .sg-polish.is-live-play .v10-live-round .live-hole-bar,
  .sg-polish.is-live-play .v10-live-round .live-hole-strip,
  .sg-polish.is-live-play .v10-live-round .live-open-score-sheet,
  .sg-polish.is-live-play .v10-live-round .live-correction-panel,
  .sg-polish.is-live-play .v10-live-round .live-finish-note,
  .sg-polish.is-live-play .v10-live-round .live-finish-review-backdrop {
    grid-column: 1 / -1;
  }

  .sg-polish.is-live-play .v10-live-round .live-score-board-wrap {
    grid-column: 1;
    margin-right: 0.35rem;
  }

  .sg-polish.is-live-play .v10-live-round .live-game-shelf {
    grid-column: 2;
    grid-row: auto;
    margin-left: 0.35rem;
  }

  .sg-polish.is-live-play .live-score-sheet-backdrop {
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .sg-polish .workspace {
    border-radius: 1.2rem;
  }

  .sg-polish .panel {
    padding: 1.25rem 1.4rem 1.6rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .sg-polish .nav-item:hover,
  .sg-polish .mobile-tab:hover,
  .sg-polish .ghost-button:hover,
  .sg-polish .icon-button:hover {
    border-color: var(--sg-line-strong);
    background: var(--sg-paper);
  }

  .sg-polish.is-live-play .v10-live-round .live-player-row:hover {
    background: var(--sg-paper-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sg-polish *,
  .sg-polish *::before,
  .sg-polish *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Production refinement pass.
 * These rules are intentionally last: they form the stable visual contract
 * for the preserved workflows above and supersede legacy component styling.
 */

:root {
  --sg-canvas: #f5f6f3;
  --sg-canvas-deep: #eceeea;
  --sg-paper-soft: #f9faf7;
  --sg-night: #111613;
  --sg-night-raised: #1a211d;
  --sg-green: #157a45;
  --sg-green-bright: #3bc878;
  --sg-green-soft: #ecf6ef;
  --sg-line: rgba(17, 21, 18, 0.095);
  --sg-line-strong: rgba(17, 21, 18, 0.18);
  --sg-r-sm: 0.5rem;
  --sg-r-md: 0.5rem;
  --sg-r-lg: 1.25rem;
  --sg-shadow-soft: 0 0.55rem 1.8rem rgba(17, 21, 18, 0.045);
  --sg-shadow-float: 0 1rem 3.2rem rgba(12, 16, 13, 0.14);
}

.sg-polish .eyebrow,
.sg-polish .sidebar-kicker {
  letter-spacing: 0;
}

.sg-polish .metric-card,
.sg-polish .course-row-card,
.sg-polish .round-row,
.sg-polish .player-row,
.sg-polish .result-row,
.sg-polish .settings-card,
.sg-polish .admin-card,
.sg-polish .capture-route-card,
.sg-polish .content-card,
.sg-polish .empty-state,
.sg-polish .dashboard-card,
.sg-polish .tally-detail-card,
.sg-polish .post-round-mini-board > div {
  border-radius: 0.5rem;
}

/* Add-player is a focused sheet, not a second page nested inside setup. */
.sg-polish .live-onboarding-drawer {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  width: min(100%, 42rem);
  max-height: min(92dvh, 54rem);
  margin-inline: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 1.35rem 1.35rem 0 0;
  background: rgba(251, 252, 249, 0.98);
  box-shadow: 0 -1.2rem 4rem rgba(12, 16, 13, 0.22);
  padding: 0 max(0.85rem, env(safe-area-inset-right)) max(0.9rem, env(safe-area-inset-bottom)) max(0.85rem, env(safe-area-inset-left));
  backdrop-filter: blur(1.2rem) saturate(130%);
  -webkit-backdrop-filter: blur(1.2rem) saturate(130%);
}

.sg-polish .live-onboarding-drawer::before {
  content: "";
  position: sticky;
  top: 0.45rem;
  z-index: 2;
  display: block;
  width: 2.35rem;
  height: 0.28rem;
  margin: 0.45rem auto 0;
  border-radius: 999px;
  background: rgba(17, 21, 18, 0.2);
}

.sg-polish .live-onboarding-drawer-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border-bottom: 1px solid var(--sg-line);
  background: rgba(251, 252, 249, 0.94);
  padding: 1rem 0 0.78rem;
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
}

.sg-polish .live-onboarding-drawer-head h3 {
  color: var(--sg-ink);
  font-size: 1.2rem;
  line-height: 1.1;
}

.sg-polish .live-onboarding-drawer-head .icon-button {
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--sg-paper);
  font-size: 1.35rem;
}

.sg-polish .live-onboarding-drawer .player-onboarding {
  gap: 0.82rem;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.85rem 0 0;
}

.sg-polish .live-onboarding-drawer .onboarding-head {
  display: none;
}

.sg-polish .player-onboarding .onboarding-name,
.sg-polish .player-onboarding > label,
.sg-polish .player-onboarding .usual-score-grid > label {
  color: var(--sg-ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: none;
}

.sg-polish .player-onboarding input,
.sg-polish .player-onboarding select {
  min-height: 3.1rem;
  margin-top: 0.3rem;
  padding-inline: 0.78rem;
}

.sg-polish .player-onboarding .onboarding-methods,
.sg-polish .player-onboarding .onboarding-options {
  gap: 0.42rem;
}

.sg-polish .player-onboarding .onboarding-methods legend,
.sg-polish .player-onboarding .onboarding-options legend {
  color: var(--sg-ink-soft);
  font-size: 0.72rem;
  font-weight: 680;
}

.sg-polish .player-onboarding .onboarding-methods label,
.sg-polish .player-onboarding .onboarding-options label {
  min-height: 3.25rem;
  gap: 0.68rem;
  border-color: var(--sg-line);
  border-radius: 0.5rem;
  background: var(--sg-paper);
  padding: 0.66rem 0.72rem;
}

.sg-polish .player-onboarding .onboarding-methods label:has(input:checked),
.sg-polish .player-onboarding .onboarding-options label:has(input:checked) {
  border-color: rgba(21, 122, 69, 0.42);
  background: var(--sg-green-soft);
  box-shadow: inset 0 0 0 1px rgba(21, 122, 69, 0.04);
}

.sg-polish .player-onboarding .onboarding-methods strong,
.sg-polish .player-onboarding .onboarding-options strong {
  font-size: 0.86rem;
  font-weight: 690;
  line-height: 1.15;
}

.sg-polish .player-onboarding .onboarding-methods small,
.sg-polish .player-onboarding .onboarding-options small {
  font-size: 0.68rem;
  font-weight: 540;
  line-height: 1.28;
}

.sg-polish .player-onboarding .onboarding-note {
  border: 0;
  border-left: 0.2rem solid rgba(21, 122, 69, 0.42);
  border-radius: 0;
  background: transparent;
  color: var(--sg-ink-soft);
  font-size: 0.73rem;
  font-weight: 540;
  padding: 0.1rem 0 0.1rem 0.68rem;
}

.sg-polish .player-onboarding button[type="submit"] {
  position: static;
  width: 100%;
  min-height: 3.35rem;
  margin-top: 0.1rem;
  border: 0;
  border-radius: 0.72rem;
  background: var(--sg-night);
  color: #fff;
  font-weight: 690;
}

/* Start round: compact, scannable, and comfortably one-handed. */
.sg-polish .v10-round-launcher {
  gap: 0.82rem;
  padding-bottom: 0.4rem;
}

.sg-polish .v10-round-launcher .live-launch-head h3 {
  font-size: 1.78rem;
  line-height: 1.04;
}

.sg-polish .v10-round-launcher .launcher-assurance {
  border: 1px solid rgba(21, 122, 69, 0.12);
  border-radius: 0.5rem;
  background: rgba(236, 246, 239, 0.72);
  padding: 0.65rem 0.7rem;
}

.sg-polish .v10-round-launcher .game-setup-step {
  gap: 0.58rem;
  padding-top: 0.82rem;
}

.sg-polish .v10-round-launcher .game-step-marker {
  width: 1.55rem;
  height: 1.55rem;
  background: var(--sg-green);
  font-size: 0.66rem;
}

.sg-polish .v10-round-launcher .game-setup-step h4 {
  font-size: 0.96rem;
}

.sg-polish .v10-round-launcher .game-setup-step p {
  font-size: 0.68rem;
}

.sg-polish .v10-round-launcher .course-choice-grid {
  display: grid;
  grid-auto-columns: minmax(13.5rem, 82%);
  grid-auto-flow: column;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.sg-polish .v10-round-launcher .course-choice-grid legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.sg-polish .v10-round-launcher .course-choice-card {
  min-height: 3.5rem;
  scroll-snap-align: start;
  padding: 0.62rem;
}

.sg-polish .v10-round-launcher .segmented {
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: 0.5rem;
  background: rgba(17, 21, 18, 0.035);
  padding: 0.18rem;
}

.sg-polish .v10-round-launcher .segmented label {
  min-height: 2.7rem;
  border: 0;
  border-radius: 0.38rem;
  background: transparent;
  color: var(--sg-ink-soft);
  font-size: 0.74rem;
  font-weight: 650;
}

.sg-polish .v10-round-launcher .segmented label:has(input:checked) {
  background: var(--sg-paper);
  color: var(--sg-ink);
  box-shadow: 0 0.16rem 0.6rem rgba(17, 21, 18, 0.08);
}

.sg-polish .v10-round-launcher .round-player-grid {
  gap: 0.4rem;
}

.sg-polish .v10-round-launcher .round-player-card {
  min-height: 3.05rem;
  border-radius: 0.5rem;
  padding: 0.48rem 0.52rem;
}

.sg-polish .v10-round-launcher .round-player-copy strong {
  font-size: 0.82rem;
}

.sg-polish .v10-round-launcher .round-player-copy small {
  font-size: 0.6rem;
}

.sg-polish .v10-round-launcher .round-player-actions .ghost-button {
  width: 100%;
  min-height: 2.9rem;
  border-style: dashed;
  background: transparent;
  color: var(--sg-green);
  font-size: 0.8rem;
  font-weight: 680;
}

.sg-polish .v10-round-launcher .round-scorekeeper-row {
  gap: 0.5rem;
  border-block: 0;
  border-left: 0.2rem solid rgba(21, 122, 69, 0.32);
  background: rgba(255, 255, 255, 0.52);
  padding: 0.6rem 0.7rem;
}

.sg-polish .v10-round-launcher .round-scorekeeper-row em {
  max-width: 12rem;
  text-align: right;
}

.sg-polish .v10-round-launcher .play-scope-grid,
.sg-polish .v10-round-launcher .score-track-grid {
  gap: 0.22rem;
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: 0.5rem;
  background: rgba(17, 21, 18, 0.035);
  padding: 0.2rem;
}

.sg-polish .v10-round-launcher .play-scope-card,
.sg-polish .v10-round-launcher .score-track-card {
  min-height: 3rem;
  border: 0;
  border-radius: 0.38rem;
  background: transparent;
  padding: 0.48rem 0.4rem;
  text-align: center;
}

.sg-polish .v10-round-launcher .play-scope-card:has(input:checked),
.sg-polish .v10-round-launcher .score-track-card:has(input:checked) {
  border: 0;
  background: var(--sg-paper);
  box-shadow: 0 0.16rem 0.58rem rgba(17, 21, 18, 0.08);
}

.sg-polish .v10-round-launcher .play-scope-card small,
.sg-polish .v10-round-launcher .score-track-card small {
  display: none;
}

.sg-polish .v10-round-launcher .game-choice-grid {
  gap: 0.4rem;
}

.sg-polish .v10-round-launcher .game-choice-card {
  min-height: 3.45rem;
  border-radius: 0.5rem;
  padding: 0.58rem 0.62rem;
}

.sg-polish .v10-round-launcher .game-choice-card:has(input:checked) {
  border-color: var(--sg-ink);
  background: var(--sg-night);
  color: #fff;
}

.sg-polish .v10-round-launcher .skins-choice-card:has(input:checked) {
  border-color: rgba(185, 120, 10, 0.52);
  background: #282116;
}

.sg-polish .v10-round-launcher .game-choice-card:has(input:checked) strong,
.sg-polish .v10-round-launcher .game-choice-card:has(input:checked) em {
  color: #fff;
}

.sg-polish .v10-round-launcher .game-choice-card:has(input:checked) .game-choice-radio {
  border-color: rgba(255, 255, 255, 0.38);
}

.sg-polish .v10-round-launcher .skins-setup-panel,
.sg-polish .v10-round-launcher .team-setup-panel {
  border-radius: 0.5rem;
}

.sg-polish .v10-round-launcher .primary-action {
  min-height: 3.55rem;
  border-radius: 0.72rem;
}

/* Live card: preserve the tap-any-player workflow while reducing visual bulk. */
.sg-polish.is-live-play .v10-live-round .live-round-top {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(55, 125, 86, 0.3), transparent 15rem),
    radial-gradient(circle at 12% 120%, rgba(68, 86, 75, 0.28), transparent 13rem),
    linear-gradient(145deg, #101512, #19211d 62%, #101713);
}

.sg-polish.is-live-play .v10-live-round .live-round-top::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.035), transparent 42%);
}

.sg-polish.is-live-play .v10-live-round .live-round-top > * {
  position: relative;
  z-index: 1;
}

.sg-polish.is-live-play .v10-live-round .live-round-meter {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.sg-polish.is-live-play .v10-live-round .live-hole-bar {
  margin-top: 0.65rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--sg-paper);
  box-shadow: var(--sg-shadow-soft);
}

.sg-polish.is-live-play .v10-live-round .live-hole-strip button {
  border-radius: 0.45rem;
}

.sg-polish.is-live-play .v10-live-round .live-score-board-wrap {
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: 0.5rem;
  background: var(--sg-paper);
  box-shadow: none;
}

.sg-polish.is-live-play .v10-live-round .live-score-board-head {
  min-height: 1.8rem;
  padding-block: 0.3rem;
}

.sg-polish.is-live-play .v10-live-round .live-player-row {
  grid-template-columns: minmax(0, 1fr) 2.75rem 2.75rem;
  min-height: 3.5rem;
  padding: 0.45rem 0.62rem;
}

.sg-polish.is-live-play .v10-live-round .live-player-name strong {
  font-size: 0.84rem;
}

.sg-polish.is-live-play .v10-live-round .live-player-name small {
  font-size: 0.59rem;
}

.sg-polish.is-live-play .v10-live-round .live-total,
.sg-polish.is-live-play .v10-live-round .live-current-score,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-total,
.sg-polish.is-live-play .v10-live-round .live-player-row.is-active .live-current-score {
  min-width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.5rem;
  font-size: 0.92rem;
}

.sg-polish.is-live-play .v10-live-round .live-current-term {
  display: none;
}

.sg-polish.is-live-play .v10-live-round .live-open-score-sheet {
  min-height: 3.55rem;
  border-radius: 0.72rem;
  background: linear-gradient(135deg, #171d1a, #101512);
}

.sg-polish.is-live-play .v10-live-round .live-game-shelf,
.sg-polish.is-live-play .v10-live-round .live-correction-panel,
.sg-polish.is-live-play .v10-live-round .live-finish-note {
  border-radius: 0.5rem;
}

.sg-polish.is-live-play .v10-live-round .live-game-shelf {
  gap: 0.52rem;
  padding: 0.7rem;
}

.sg-polish.is-live-play .v10-live-round .live-game-panel-head p,
.sg-polish.is-live-play .v10-live-round .skins-panel-head p {
  max-width: 26rem;
}

.sg-polish.is-live-play .v10-live-round .skins-current-hole,
.sg-polish.is-live-play .v10-live-round .live-game-rank-list,
.sg-polish.is-live-play .v10-live-round .skins-leaderboard {
  border-radius: 0.5rem;
}

/* Score sheet: high-contrast player state, fast keypad, no covered actions. */
.sg-polish.is-live-play .live-score-sheet .live-keypad-panel {
  border-radius: 1.25rem 1.25rem 0.9rem 0.9rem;
}

.sg-polish.is-live-play .live-score-sheet-focus {
  background:
    radial-gradient(circle at 88% 0%, rgba(59, 200, 120, 0.14), transparent 12rem),
    linear-gradient(145deg, #111613, #1c251f);
}

.sg-polish.is-live-play .live-score-player-chip,
.sg-polish.is-live-play .live-score-player-rail.player-count-4 .live-score-player-chip {
  min-height: 3rem;
  border-radius: 0.5rem;
}

.sg-polish.is-live-play .live-score-player-chip.is-active {
  border-color: rgba(103, 220, 147, 0.66);
  background: linear-gradient(135deg, rgba(31, 146, 82, 0.72), rgba(21, 122, 69, 0.46));
}

.sg-polish.is-live-play .live-score-sheet .live-selected-player {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.55rem;
  align-items: baseline;
}

.sg-polish.is-live-play .live-score-sheet .live-selected-player span {
  grid-column: 1;
  grid-row: 1;
}

.sg-polish.is-live-play .live-score-sheet .live-selected-player strong {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-size: 1rem;
}

.sg-polish.is-live-play .live-score-sheet .live-selected-player small {
  grid-column: 1 / -1;
  grid-row: 2;
  color: var(--sg-ink-soft);
  font-size: 0.67rem;
  text-align: right;
}

.sg-polish.is-live-play .live-score-sheet .live-keypad button {
  border-radius: 0.5rem;
  box-shadow: 0 0.22rem 0.65rem rgba(17, 21, 18, 0.04);
}

.sg-polish.is-live-play .live-score-sheet .live-keypad button.is-par {
  background: linear-gradient(145deg, #e8f5ec, #f8fbf8);
}

/* Results and group history: lead with outcome, keep the report immediately below. */
.sg-polish .post-round-result-card {
  gap: 0.72rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.sg-polish .post-round-result-head {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--sg-line);
}

.sg-polish .post-round-winner {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 92% 0%, rgba(73, 164, 109, 0.28), transparent 12rem),
    linear-gradient(145deg, #121814, #1d2821);
  box-shadow: var(--sg-shadow-soft);
  padding: 1rem;
}

.sg-polish .post-round-winner span {
  color: #8bd6a7;
}

.sg-polish .post-round-winner strong,
.sg-polish .post-round-winner small {
  color: #fff;
}

.sg-polish .post-round-report {
  gap: 0.35rem;
}

.sg-polish .post-round-report .whatsapp-box {
  min-height: 10rem;
  max-height: 14rem;
  border-radius: 0.5rem;
  background: var(--sg-paper);
  font-size: 0.7rem;
}

.sg-polish .post-round-actions {
  grid-template-columns: minmax(0, 1fr) auto;
}

.sg-polish .post-round-actions .primary-action {
  background: var(--sg-night);
}

.sg-polish .post-round-mini-board {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: 0.5rem;
  background: var(--sg-paper);
}

.sg-polish .post-round-mini-board > div {
  border: 0;
  border-bottom: 1px solid var(--sg-line);
  background: transparent;
}

.sg-polish .post-round-mini-board > div:last-child {
  border-bottom: 0;
}

.sg-polish .post-round-mini-board span {
  background: var(--sg-night);
}

.sg-polish .tally-board-card {
  gap: 0.72rem;
  border: 0;
  background: transparent;
  padding: 0;
}

.sg-polish .tally-hero {
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: 0.5rem;
  background: var(--sg-paper);
}

.sg-polish .tally-hero > div {
  border: 0;
  border-bottom: 1px solid var(--sg-line);
  border-radius: 0;
  background: transparent;
}

.sg-polish .tally-hero > div:first-child {
  background: linear-gradient(145deg, var(--sg-green-soft), rgba(255, 255, 255, 0.86));
}

.sg-polish .tally-hero > div:last-child {
  border-bottom: 0;
}

.sg-polish .tally-score-grid article,
.sg-polish .tally-detail-card,
.sg-polish .tally-register article,
.sg-polish .tally-engine-list article,
.sg-polish .tally-course-grid article {
  border-radius: 0.5rem;
}

.sg-polish .tally-score-grid article {
  background: rgba(255, 255, 255, 0.78);
}

@media (max-width: 639px) {
  .sg-polish .toast {
    bottom: calc(var(--sg-tabbar-height) + 0.72rem + env(safe-area-inset-bottom));
    max-width: calc(100vw - 1.4rem);
    border-radius: 0.65rem;
    font-size: 0.72rem;
    padding: 0.62rem 0.75rem;
    pointer-events: none;
  }

  .sg-polish .v10-round-launcher .live-launch-head p:not(.eyebrow) {
    display: none;
  }

  .sg-polish .v10-round-launcher .live-launch-head .status-pill {
    align-self: center;
  }

  .sg-polish .v10-round-launcher .primary-action {
    bottom: calc(var(--sg-tabbar-height) + 0.6rem + env(safe-area-inset-bottom));
  }

  .sg-polish.is-live-play .v10-live-round .live-round-top {
    position: sticky;
    top: 0;
    z-index: 24;
  }

  .sg-polish.is-live-play .v10-live-round .live-round-top > .ghost-button {
    min-height: 2.45rem;
  }

  .sg-polish.is-live-play .v10-live-round .live-hole-bar,
  .sg-polish.is-live-play .v10-live-round .live-score-board-wrap,
  .sg-polish.is-live-play .v10-live-round .live-open-score-sheet,
  .sg-polish.is-live-play .v10-live-round .live-game-shelf,
  .sg-polish.is-live-play .v10-live-round .live-correction-panel,
  .sg-polish.is-live-play .v10-live-round .live-finish-note {
    margin-inline: 0.65rem;
  }

  .sg-polish.is-live-play .v10-live-round .live-hole-strip {
    padding-inline: 0.65rem;
  }

  .sg-polish .post-round-result-card,
  .sg-polish .tally-board-card {
    margin-inline: 0;
  }
}

@media (max-width: 359px) {
  .sg-polish .v10-round-launcher .round-scorekeeper-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .sg-polish .v10-round-launcher .round-scorekeeper-row em {
    max-width: none;
    text-align: left;
  }

  .sg-polish .v10-round-launcher .course-choice-grid {
    grid-auto-columns: minmax(12.5rem, 90%);
  }

  .sg-polish .v10-round-launcher .game-choice-card {
    padding-inline: 0.5rem;
  }

  .sg-polish .v10-round-launcher .game-choice-card strong {
    font-size: 0.78rem;
  }

  .sg-polish.is-live-play .v10-live-round .live-round-top {
    padding-inline: 0.62rem;
  }

  .sg-polish.is-live-play .v10-live-round .live-player-row {
    grid-template-columns: minmax(0, 1fr) 2.55rem 2.55rem;
    gap: 0.25rem;
  }

  .sg-polish.is-live-play .live-score-sheet-focus,
  .sg-polish.is-live-play .live-score-sheet-body {
    padding-inline: 0.52rem;
  }

  .sg-polish.is-live-play .live-score-sheet .live-keypad {
    gap: 0.32rem;
  }

  .sg-polish.is-live-play .live-score-sheet .live-keypad button {
    min-height: 3.35rem;
  }

  .sg-polish.is-live-play .live-score-sheet .live-keypad button strong {
    font-size: 1.45rem;
  }
}

@media (min-width: 640px) {
  .sg-polish .live-onboarding-drawer {
    inset: 50% auto auto 50%;
    border-radius: 1.25rem;
    transform: translate(-50%, -50%);
  }

  .sg-polish .tally-hero > div {
    border-right: 1px solid var(--sg-line);
    border-bottom: 0;
  }

  .sg-polish .tally-hero > div:last-child {
    border-right: 0;
  }
}

/* Final cohesion pass: live competition, results, records and administration. */
.sg-polish.is-live-play .v10-live-round .live-open-score-sheet {
  border: 1px solid rgba(21, 122, 69, 0.42);
  background: linear-gradient(135deg, #167744, #0f6136);
  box-shadow: 0 0.55rem 1.2rem rgba(15, 97, 54, 0.16);
  color: #fff;
}

.sg-polish.is-live-play .v10-live-round .live-open-score-sheet:hover,
.sg-polish.is-live-play .v10-live-round .live-open-score-sheet:focus-visible {
  background: linear-gradient(135deg, #1a824b, #116a3b);
}

.sg-polish.is-live-play .v10-live-round .live-game-shelf {
  overflow: hidden;
  gap: 0;
  border: 1px solid var(--sg-line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--sg-shadow-soft);
  color: var(--sg-ink);
  padding: 0;
}

.sg-polish.is-live-play .live-game-shelf .live-game-panel-head,
.sg-polish.is-live-play .live-game-shelf .skins-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  border-bottom: 1px solid var(--sg-line);
  padding: 0.78rem 0.85rem 0.7rem;
}

.sg-polish.is-live-play .live-game-shelf .live-game-panel-head h3,
.sg-polish.is-live-play .live-game-shelf .skins-panel-head h3 {
  color: var(--sg-ink);
  font-size: 1.02rem;
  line-height: 1.15;
}

.sg-polish.is-live-play .live-game-shelf .live-game-panel-head p,
.sg-polish.is-live-play .live-game-shelf .skins-panel-head p {
  margin-top: 0.16rem;
  color: var(--sg-ink-soft);
  font-size: 0.66rem;
  line-height: 1.35;
}

.sg-polish.is-live-play .live-game-shelf .live-game-panel-head > span,
.sg-polish.is-live-play .live-game-shelf .skins-panel-head > span {
  flex: 0 0 auto;
  border: 1px solid rgba(21, 122, 69, 0.2);
  border-radius: 999px;
  background: var(--sg-green-soft);
  color: var(--sg-green);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.36rem 0.58rem;
}

.sg-polish.is-live-play .live-game-shelf .skins-current-hole {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.16rem 0.8rem;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--sg-line);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(236, 247, 240, 0.86), rgba(255, 255, 255, 0.9));
  padding: 0.72rem 0.85rem;
}

.sg-polish.is-live-play .live-game-shelf .skins-current-hole > span {
  color: var(--sg-green);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sg-polish.is-live-play .live-game-shelf .skins-current-hole strong {
  grid-column: 1;
  color: var(--sg-ink);
  font-size: 0.88rem;
}

.sg-polish.is-live-play .live-game-shelf .skins-current-hole small {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 8.75rem;
  color: var(--sg-ink-soft);
  font-size: 0.61rem;
  line-height: 1.35;
  text-align: right;
}

.sg-polish.is-live-play .live-game-shelf .live-game-rank-list,
.sg-polish.is-live-play .live-game-shelf .skins-leaderboard {
  display: grid;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sg-polish.is-live-play .live-game-shelf .live-game-rank-list > div,
.sg-polish.is-live-play .live-game-shelf .skins-leaderboard > div {
  min-height: 2.8rem;
  border: 0;
  border-bottom: 1px solid var(--sg-line);
  border-radius: 0;
  background: transparent;
  padding: 0.48rem 0.85rem;
}

.sg-polish.is-live-play .live-game-shelf .live-game-rank-list > div:last-child,
.sg-polish.is-live-play .live-game-shelf .skins-leaderboard > div:last-child {
  border-bottom: 0;
}

.sg-polish.is-live-play .live-game-shelf .skins-leaderboard > div > span > b,
.sg-polish.is-live-play .live-game-shelf .live-game-rank-list > div > span:first-child {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sg-night);
  color: #fff;
  font-size: 0.62rem;
}

.sg-polish.is-live-play .live-game-shelf .skins-leaderboard small,
.sg-polish.is-live-play .live-game-shelf .live-game-rank-list small {
  color: var(--sg-ink-soft);
  font-size: 0.6rem;
}

.sg-polish.is-live-play .live-game-shelf .skins-hole-ledger {
  display: flex;
  gap: 0.32rem;
  overflow-x: auto;
  border-top: 1px solid var(--sg-line);
  background: var(--sg-canvas);
  padding: 0.55rem 0.7rem;
  scrollbar-width: none;
}

.sg-polish.is-live-play .live-game-shelf .skins-hole-ledger::-webkit-scrollbar {
  display: none;
}

.sg-polish.is-live-play .live-game-shelf .skins-hole-ledger button {
  flex: 0 0 2.2rem;
  min-width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--sg-line);
  border-radius: 0.45rem;
  background: var(--sg-paper);
  color: var(--sg-ink);
}

.sg-polish.is-live-play .live-game-shelf .skins-hole-ledger button.is-active {
  border-color: var(--sg-night);
  background: var(--sg-night);
  color: #fff;
}

.sg-polish.is-live-play .live-game-shelf .live-game-details {
  border-top: 1px solid var(--sg-line);
  background: var(--sg-paper);
}

.sg-polish.is-live-play .live-game-shelf .live-game-details > summary {
  min-height: 2.8rem;
  padding: 0.72rem 0.85rem;
  color: var(--sg-ink-soft);
  font-size: 0.68rem;
  font-weight: 760;
}

.sg-polish.is-live-play .live-game-shelf .live-game-details[open] > summary {
  border-bottom: 1px solid var(--sg-line);
  color: var(--sg-ink);
}

.sg-polish.is-live-play .live-game-shelf .skins-pair-status-list,
.sg-polish.is-live-play .live-game-shelf .skins-stat-row,
.sg-polish.is-live-play .live-game-shelf .live-game-storage-note,
.sg-polish.is-live-play .live-game-shelf .live-game-details > p {
  margin-inline: 0.75rem;
}

/* Post-round: answer who won first, then expose the exact shareable report. */
.sg-polish .post-round-result-head {
  align-items: center;
}

.sg-polish .post-round-result-head h3 {
  font-size: 1.08rem;
}

.sg-polish .post-round-close {
  display: grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  color: var(--sg-ink);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
}

.sg-polish .post-round-winner {
  min-height: 9rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem;
}

.sg-polish .post-round-winner::after {
  content: none;
}

.sg-polish .post-round-winner strong {
  font-size: clamp(1.8rem, 8vw, 3rem);
  letter-spacing: 0;
}

.sg-polish .post-round-report > span {
  color: var(--sg-ink-soft);
  font-size: 0.65rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sg-polish .post-round-report .whatsapp-box {
  border: 1px solid var(--sg-line);
  background: #fbfcfa;
  color: #242a26;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.55;
  padding: 0.85rem;
}

.sg-polish .post-round-actions .primary-action {
  border-color: rgba(21, 122, 69, 0.42);
  background: var(--sg-green);
  color: #fff;
}

.sg-polish .post-round-actions .ghost-button {
  background: var(--sg-paper);
}

/* Tally: one coherent report surface instead of a grid of unrelated cards. */
.sg-polish .tally-board-head {
  align-items: center;
  border-bottom: 1px solid var(--sg-line);
  padding-bottom: 0.75rem;
}

.sg-polish .tally-score-grid {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--sg-line);
  border-radius: 0.5rem;
  background: var(--sg-paper);
}

.sg-polish .tally-score-grid article {
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--sg-line);
  border-bottom: 1px solid var(--sg-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.72rem;
}

.sg-polish .tally-score-grid article:nth-child(2n) {
  border-right: 0;
}

.sg-polish .tally-score-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.sg-polish .tally-score-grid article > span {
  display: block;
  min-height: 1.7rem;
  color: var(--sg-ink-soft);
  font-size: 0.59rem;
  line-height: 1.25;
}

.sg-polish .tally-score-grid article > div {
  min-height: 2rem;
  border-color: rgba(222, 226, 221, 0.8);
  gap: 0.35rem;
  padding-block: 0.38rem;
}

.sg-polish .tally-score-grid strong,
.sg-polish .tally-score-grid em {
  min-width: 0;
  font-size: 0.7rem;
}

.sg-polish .tally-score-grid em {
  text-align: right;
  white-space: nowrap;
}

.sg-polish .tally-detail-card {
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: 0.5rem;
  background: var(--sg-paper);
  box-shadow: none;
}

.sg-polish .tally-detail-card summary {
  min-height: 3rem;
  display: flex;
  align-items: center;
  padding: 0.7rem 0.8rem;
}

.sg-polish .tally-detail-card[open] summary {
  border-bottom: 1px solid var(--sg-line);
}

.sg-polish .tally-register,
.sg-polish .tally-engine-list,
.sg-polish .tally-course-grid,
.sg-polish .tally-table {
  gap: 0;
  padding: 0;
}

.sg-polish .tally-register article,
.sg-polish .tally-engine-list article,
.sg-polish .tally-course-grid article {
  border: 0;
  border-bottom: 1px solid var(--sg-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sg-polish .tally-register article:last-child,
.sg-polish .tally-engine-list article:last-child,
.sg-polish .tally-course-grid article:last-child {
  border-bottom: 0;
}

/* Register and course book: editorial rows, not dashboard tiles. */
.sg-polish .round-list {
  gap: 0.65rem;
}

.sg-polish .round-record {
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: 0.5rem;
  background: var(--sg-paper);
  box-shadow: var(--sg-shadow-soft);
}

.sg-polish .round-record .round-record-head {
  padding: 0.85rem;
}

.sg-polish .round-record .round-game-summary {
  margin: 0;
  border-width: 1px 0 0;
  border-radius: 0;
  box-shadow: none;
}

.sg-polish .round-record .table-wrap {
  margin: 0;
  border-width: 1px 0 0;
  border-radius: 0;
}

.sg-polish .course-admin-grid {
  gap: 0.75rem;
}

.sg-polish .lookup-card,
.sg-polish .course-table-card,
.sg-polish .course-admin-grid > .dashboard-card {
  border-radius: 0.5rem;
}

.sg-polish .lookup-form {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.sg-polish .course-card-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: 0.5rem;
}

.sg-polish .course-row-card {
  border: 0;
  border-bottom: 1px solid var(--sg-line);
  border-radius: 0;
  background: var(--sg-paper);
  box-shadow: none;
}

.sg-polish .course-row-card:last-child {
  border-bottom: 0;
}

/* Settings and desktop admin share the same restrained system. */
.sg-polish .settings-grid,
.sg-polish .admin-workspace {
  gap: 0.75rem;
}

.sg-polish .settings-grid > .dashboard-card,
.sg-polish .admin-workspace > .dashboard-card {
  border-radius: 0.5rem;
  box-shadow: var(--sg-shadow-soft);
}

.sg-polish .settings-form input,
.sg-polish .cloud-auth-form input,
.sg-polish .course-form input,
.sg-polish .lookup-form input {
  border-radius: 0.5rem;
  background: #fbfcfa;
}

.sg-polish .settings-form button,
.sg-polish .cloud-auth-form button,
.sg-polish .course-form button,
.sg-polish .lookup-form button,
.sg-polish .settings-actions button {
  border-radius: 0.5rem;
}

@media (max-width: 639px) {
  .sg-polish.is-live-play .live-game-shelf .skins-current-hole {
    grid-template-columns: minmax(0, 1fr);
  }

  .sg-polish.is-live-play .live-game-shelf .skins-current-hole small {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
    text-align: left;
  }

  .sg-polish .post-round-winner {
    min-height: 7.8rem;
  }

  .sg-polish .post-round-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .sg-polish .post-round-actions .primary-action,
  .sg-polish .post-round-actions .ghost-button {
    width: 100%;
  }

  .sg-polish .tally-score-grid article:nth-child(3) {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .sg-polish .tally-score-grid article:nth-child(4) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--sg-line);
  }

  .sg-polish .tally-score-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .sg-polish .lookup-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sg-polish .lookup-form button:last-child {
    grid-column: 1 / -1;
  }

  .sg-polish .course-row-card dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sg-polish .course-row-card dl div:nth-child(n + 4) {
    grid-column: span 3;
  }
}

@media (min-width: 900px) {
  .sg-polish .admin-workspace {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }

  .sg-polish .admin-workspace > .admin-group-card {
    grid-column: span 4;
  }

  .sg-polish .admin-workspace > .cloud-config-card {
    grid-column: span 8;
  }

  .sg-polish .admin-workspace > .player-admin-card {
    grid-column: span 7;
  }

  .sg-polish .admin-workspace > .historical-import-card {
    grid-column: span 5;
  }

  .sg-polish .admin-workspace > .admin-maintenance-card {
    grid-column: span 12;
  }

  .sg-polish .course-admin-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }

  .sg-polish .course-admin-grid > .lookup-card,
  .sg-polish .course-admin-grid > .course-table-card {
    grid-column: 1 / -1;
  }
}

/* Release polish: explicit states that remain legible in bright outdoor light. */
.sg-polish.is-live-play .v10-live-round .live-open-score-sheet:not(:disabled),
.sg-polish.is-live-play .v10-live-round .live-open-score-sheet:not(:disabled) span,
.sg-polish.is-live-play .v10-live-round .live-open-score-sheet:not(:disabled) strong {
  color: #fff;
  opacity: 1;
}

.sg-polish.is-live-play .v10-live-round .live-open-score-sheet:disabled {
  opacity: 0.52;
  box-shadow: none;
}

.sg-polish.is-live-play .live-score-player-chip.is-active {
  border-color: #7fe0a3 !important;
  background: linear-gradient(135deg, #198148, #115c35) !important;
  box-shadow: inset 0.22rem 0 #9af0b7, 0 0.55rem 1.1rem rgba(2, 18, 10, 0.24) !important;
}

.sg-polish.is-live-play .live-score-player-chip.is-active strong,
.sg-polish.is-live-play .live-score-player-chip.is-active span {
  color: #fff;
}

/* Dark finish sheets must not inherit the light-surface typography contract. */
.sg-polish .live-finish-review,
.sg-polish .live-finish-review-head h3,
.sg-polish .live-finish-review .live-final-hole-list strong,
.sg-polish .live-finish-review .live-finish-summary strong {
  color: #fff;
}

.sg-polish .live-finish-review .eyebrow,
.sg-polish .live-finish-review .live-final-hole-list span,
.sg-polish .live-finish-review .live-finish-summary span {
  color: rgba(255, 255, 255, 0.7);
}

.sg-polish .live-finish-review .live-final-hole-list small,
.sg-polish .live-finish-review .live-finish-summary small,
.sg-polish .live-finish-review .live-missing-callout span,
.sg-polish .live-finish-review .live-missing-queue button span,
.sg-polish .live-finish-review .live-missing-queue button small {
  color: rgba(255, 255, 255, 0.62);
}

.sg-polish .live-finish-review .live-missing-callout strong,
.sg-polish .live-finish-review .live-missing-queue button strong {
  color: #ffd36a;
}

.sg-polish .live-finish-review .live-final-hole-list button > strong {
  color: #0d1511;
}

.sg-polish .round-game-summary,
.sg-polish .pair-skins-summary {
  border: 1px solid var(--sg-line);
  border-left: 0.2rem solid var(--sg-amber);
  border-radius: 0.5rem;
  background: var(--sg-paper);
  box-shadow: none;
}

.sg-polish .round-game-pills span,
.sg-polish .pair-skins-summary .round-game-pills span {
  border: 1px solid var(--sg-line);
  background: #fbfcfa;
}

.sg-polish .pair-skins-summary .round-game-pills span.is-winner {
  border-color: rgba(21, 122, 69, 0.34);
  background: rgba(21, 122, 69, 0.07);
}

.sg-polish .pair-skins-summary .round-game-pills strong {
  color: var(--sg-ink);
}

/* Round launcher: keep every verified course visible after selection. */
.sg-polish .v10-round-launcher .course-choice-grid {
  display: grid;
  grid-auto-columns: initial;
  grid-auto-flow: row;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.42rem;
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

.sg-polish .v10-round-launcher .course-choice-card {
  width: 100%;
  min-height: 3.35rem;
  scroll-snap-align: none;
}

@media (min-width: 640px) {
  .sg-polish .v10-round-launcher .course-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .sg-polish .mobile-tabbar {
    display: none;
  }

  .sg-polish .admin-workspace > .admin-group-card {
    grid-column: span 5;
  }

  .sg-polish .admin-workspace > .cloud-config-card {
    grid-column: span 7;
  }

  .sg-polish .admin-group-card .section-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .sg-polish .admin-group-card .section-head .status-pill {
    justify-self: start;
  }
}
