/* src/styles.css */
:root {
  --bg: #0d1b3e;
  --surface-from: #111f45;
  --surface-to: #1a3068;
  --divider: #2b3d70;
  --text: #ffffff;
  --text-muted: #8d9cc4;
  --text-faint: #5f70a3;
  --accent: #f5c518;
  --danger: #ff8a8a;
  --sheet-bg: #0a1430;
  --control-bg: #0a1430;
  --radius-card: 14px;
  --radius-input: 10px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-text-size-adjust: 100%;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
  background: rgba(245, 197, 24, 0.25);
}
.loading-bar span {
  display: block;
  height: 100%;
  width: 35%;
  background: var(--accent);
  animation: loading-slide 0.9s ease-in-out infinite;
}
@keyframes loading-slide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}
.screen {
  min-height: 100vh;
  padding-bottom: 32px;
}
.screen-inner {
  max-width: 640px;
  margin: 0 auto;
}
.topbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: 24px 12px 8px;
}
.topbar-title {
  margin: 0;
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.topbar-wide {
  grid-template-columns: 44px 1fr auto;
}
.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.add-button {
  border: 0;
  background: var(--accent);
  color: var(--bg);
  font-weight: 800;
  font-size: 14px;
  border-radius: 999px;
  padding: 11px 18px;
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
  display: inline-grid;
  place-items: center;
}
.section-label {
  margin: 8px 16px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.section-label-center {
  margin-top: 0;
  text-align: center;
}
.format-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 10px;
  margin: 0 16px 10px;
}
.format-line .section-label {
  margin: 0;
  text-align: center;
}
.format-side {
  justify-self: start;
  min-width: 0;
}
.format-admin {
  display: inline-block;
  border: 1px solid var(--divider);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.league-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 16px 12px;
}
.season-picker {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  margin-left: auto;
}
.season-picker select {
  appearance: none;
  max-width: 100%;
  border: 1px solid var(--divider);
  border-radius: 999px;
  background-color: var(--surface-from);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238d9cc4' stroke-width='1.6' stroke-linecap='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 34px 8px 14px;
  cursor: pointer;
}
.page-note {
  margin: 14px 16px;
  color: var(--text-faint);
  font-size: 14px;
  line-height: 1.45;
}
.link-note {
  overflow-wrap: anywhere;
}
.error {
  margin: 14px 16px;
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
}
.card {
  margin: 0 16px 16px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(
      135deg,
      var(--surface-from),
      var(--surface-to));
  overflow: hidden;
}
.row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 18px 16px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
.row + .row::before,
.lb-item + .lb-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--divider);
}
.row-static {
  cursor: default;
}
.row .field {
  margin-bottom: 8px;
}
.row .field input {
  min-height: 44px;
}
.row-body {
  flex: 1;
  min-width: 0;
}
a.row-body {
  color: inherit;
  text-decoration: none;
}
.row-title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.row-meta {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.chevron {
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
}
.row-highlight {
  background: rgba(245, 197, 24, 0.08);
}
.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 800;
  background: var(--accent);
  color: var(--bg);
  white-space: nowrap;
}
.pill-muted {
  background: rgba(141, 156, 196, 0.18);
  color: var(--text-muted);
}
button.pill {
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.pay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.hero {
  margin: 0 16px 8px;
  padding: 18px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(
      135deg,
      #16295c,
      #21407f);
}
.hero-title {
  margin: 12px 0 0;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-meta {
  margin-top: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.hero-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}
.btn-primary {
  display: block;
  width: calc(100% - 32px);
  margin: 20px 16px;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--bg);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  padding: 15px;
}
.btn-primary:disabled {
  opacity: 0.45;
}
.btn-secondary {
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  min-height: 44px;
  padding: 11px 16px;
  cursor: pointer;
}
.btn-secondary.chip-on,
.btn-secondary.chip-on:disabled,
.btn-secondary.chip-on:active {
  -webkit-appearance: none;
  appearance: none;
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--bg);
  opacity: 1;
  cursor: default;
}
.btn-quiet {
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 0;
}
.btn-danger {
  color: var(--danger);
}
.btn-wide {
  display: block;
  width: 100%;
  margin-top: 4px;
}
.btn-inline {
  width: auto;
  margin: 0;
}
.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.check {
  width: 26px;
  height: 26px;
  border: 1px solid var(--divider);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 15px;
  font-weight: 800;
}
.check-on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.link-text {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  color: var(--accent);
  word-break: break-all;
}
.form {
  padding: 8px 16px 32px;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px;
  border: 1px solid var(--divider);
  border-radius: var(--radius-input);
  background: #0f1e46;
  color: var(--text);
  font-size: 16px;
}
.field textarea {
  min-height: 88px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}
.field select {
  appearance: none;
  background-image: none;
}
.field-error {
  margin-top: 7px;
  font-size: 13px;
  color: var(--danger);
}
.field-hint {
  margin-top: 7px;
  font-size: 13px;
  color: var(--text-faint);
}
.field-check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 14px;
  font-size: 15px;
}
.field-check input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}
.form .btn-primary {
  width: 100%;
  margin: 24px 0 0;
}
.form .section-label {
  margin-left: 0;
  margin-right: 0;
}
.form .card {
  margin-left: 0;
  margin-right: 0;
}
.form .page-note {
  margin-left: 0;
  margin-right: 0;
}
.form .error {
  margin-left: 0;
  margin-right: 0;
}
.field-inline {
  margin: 0 16px 18px;
}
.tabs {
  display: flex;
  gap: 24px;
  margin: 6px 16px 16px;
  border-bottom: 1px solid var(--divider);
}
.tab {
  border: 0;
  background: none;
  padding: 10px 0 12px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
}
.tab-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  border-top: 1px solid var(--divider);
  background: var(--bg);
}
.tabbar-inner {
  display: flex;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.tabbar a {
  flex: 1;
  padding: 18px 8px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}
.tabbar a.active {
  color: var(--accent);
}
.has-tabbar {
  padding-bottom: 88px;
}
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 25, 0.62);
  border: 0;
  padding: 0;
  z-index: 20;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(74vw, 320px);
  background: #0c1937;
  border-left: 1px solid var(--divider);
  padding: 24px 24px 0;
  z-index: 21;
  overflow-y: auto;
}
.drawer-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 18px;
}
.photo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 16px 18px;
}
.form .photo-row {
  margin: 0 0 18px;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #0f1e46;
  flex: none;
}
.avatar-logo {
  border-radius: 14px;
}
.avatar-row {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.face {
  display: flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: #0f1e46;
}
.face-sm {
  width: 24px;
  height: 24px;
}
.face img {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}
.face img + img {
  box-shadow: -1px 0 0 #06101f;
}
.face-slot {
  display: flex;
  width: 36px;
  height: 36px;
  flex: none;
}
.face-slot-sm {
  width: 24px;
  height: 24px;
}
.file-button {
  position: relative;
  cursor: pointer;
}
.file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.drawer-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 16px;
}
.drawer a,
.drawer button {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  padding: 14px 0 16px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid var(--divider);
}
.drawer .drawer-logout {
  color: var(--danger);
  margin-top: 22px;
}
.drawer-split {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--divider);
}
.drawer .drawer-split > a {
  width: auto;
  border-bottom: 0;
}
.drawer .drawer-split > a:first-child {
  flex: 1;
}
.drawer .drawer-pop {
  display: grid;
  place-items: center;
  width: 44px;
  flex: none;
  padding: 0;
  color: var(--accent);
}
.dev-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 92px;
  height: 92px;
  overflow: hidden;
  pointer-events: none;
}
.dev-ribbon span {
  position: absolute;
  top: 16px;
  left: -30px;
  width: 120px;
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 20px;
  text-transform: uppercase;
  transform: rotate(-45deg);
}
.lb-item {
  position: relative;
}
button.lb-row {
  width: 100%;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}
button.lb-row.lb-expandable {
  cursor: pointer;
}
.lb-row {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr auto minmax(40px, max-content);
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
}
.lb-detail {
  padding: 0 16px 14px;
}
.lb-detail-name {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}
.lb-tie-link {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}
.modal-back {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 12, 32, 0.72);
}
.modal {
  width: min(420px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  padding: 20px 18px 16px;
  border-radius: 16px;
  background: var(--surface-to);
  color: var(--text);
}
.modal h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.modal p {
  margin: 0 0 8px;
}
.modal-label {
  margin-top: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.modal-score {
  font-size: 16px;
  font-weight: 700;
}
.modal-summary {
  color: var(--text-muted);
  font-weight: 700;
}
.modal-winner {
  color: var(--text);
}
.modal .btn-secondary {
  width: 100%;
  margin-top: 12px;
}
.lb-keeps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.lb-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lb-card-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}
.lb-card-team {
  gap: 8px;
}
.lb-card-team.players-2 {
  grid-template-columns: 2.4em 46px minmax(0, 1fr) minmax(0, 1fr) 3.2em;
}
.lb-card-team.players-3 {
  grid-template-columns: 2.4em 46px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 3.2em;
}
.lb-card-team.players-4 {
  grid-template-columns: 2.4em 46px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 3.2em;
}
.lb-card-head {
  background: transparent;
  padding: 0 10px 2px;
}
.lb-player-cell {
  display: grid;
  grid-template-columns: 14px 2.5em 2.2em;
  align-items: center;
  justify-content: end;
  column-gap: 4px;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.lb-player-gross {
  text-align: right;
}
.lb-player-cell .lb-card-marks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}
.lb-player-cell .lb-card-net {
  margin-left: 4px;
  text-align: left;
}
.lb-team-score,
.lb-team-label {
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.lb-team-score {
  font-size: 18px;
  font-weight: 800;
}
.lb-card-player {
  overflow: visible;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}
.lb-card-hole {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}
.lb-card-meta {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.lb-card-score {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 18px;
  font-weight: 800;
}
.lb-card-marks {
  display: inline-flex;
  gap: 3px;
}
.lb-card-give {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 0.04em;
}
.lb-card-net {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.lb-card-total {
  background: transparent;
  padding-top: 4px;
}
.lb-card-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}
.medal {
  display: flex;
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--text);
}
.medal svg {
  width: 100%;
  height: 100%;
}
.medal-gold {
  color: #f5c518;
}
.medal-silver {
  color: #d5dbe8;
}
.medal-bronze {
  color: #d08a4a;
}
.medal-pin {
  color: var(--text);
}
.lb-rank {
  color: var(--text-faint);
  font-size: 15px;
  font-weight: 700;
}
.lb-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.lb-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-tee {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.lb-topar {
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}
.lb-topar.lb-ns {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.lb-hole {
  font-size: 19px;
  font-weight: 800;
  color: var(--accent);
  text-align: right;
}
.lb-hole.lb-time {
  font-size: 13px;
  letter-spacing: 0;
  white-space: nowrap;
}
.lb-hole.lb-warn {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--danger);
  white-space: nowrap;
}
.btn-block {
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px 8px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.sc {
  display: grid;
  margin-bottom: 8px;
  overflow-x: auto;
}
.sc-head,
.sc-cell {
  padding: 12px 6px;
  text-align: center;
  border-top: 1px solid var(--divider);
  font-size: 15px;
  font-weight: 800;
}
.sc-head {
  border-top: 0;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.sc-cell {
  position: relative;
  color: inherit;
  text-decoration: none;
}
.sc-dots {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  gap: 2px;
}
.sc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.sc-give {
  position: absolute;
  top: 2px;
  right: 5px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.sc-muted {
  color: var(--text-muted);
  font-weight: 700;
}
.sc-empty {
  color: var(--text-faint);
}
.sc-total {
  color: var(--accent);
}
a.sc-cell.sc-out {
  color: var(--text-faint);
}
a.sc-cell.sc-out .sc-gross {
  text-decoration: line-through;
}
.sc-under,
.sc-over {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 26px;
  height: 26px;
  padding: 0 4px;
  border: 1.5px solid currentColor;
  line-height: 1;
}
.sc-under {
  border-radius: 50%;
}
.sc-over {
  border-radius: 3px;
}
.sc-out-label {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.sc-net {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}
.score-screen {
  height: 100dvh;
  min-height: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  overflow: hidden;
}
.score-screen .screen-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.score-screen.picking {
  height: auto;
  overflow: auto;
}
.score-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 16px 12px 6px;
}
.score-head h1 {
  margin: 0;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.score-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}
.tee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex: none;
}
.other-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 16px 0;
  padding: 4px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 800;
}
.other-banner button {
  border: 0;
  background: none;
  color: var(--bg);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  min-height: 44px;
  cursor: pointer;
}
.score-main {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-top: 28px;
  scrollbar-width: none;
}
.score-main::-webkit-scrollbar {
  display: none;
}
.score-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 12px;
}
.score-card {
  border-radius: 16px;
  padding: 12px 14px 10px;
  background:
    linear-gradient(
      135deg,
      var(--surface-from),
      var(--surface-to));
}
.score-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
}
.score-card-name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.score-card-head .score-card-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.score-card-head + .score-card-name {
  margin-top: 18px;
}
.score-tee {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 0 auto;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  flex: none;
  white-space: nowrap;
}
.score-tee .tee-dot {
  width: 12px;
  height: 12px;
}
.clear-link {
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  min-height: 44px;
  padding: 0 0 0 12px;
  cursor: pointer;
}
.score-step {
  display: grid;
  grid-template-columns: 84px 1fr 84px;
  gap: 8px;
  align-items: center;
}
.score-step button {
  width: 84px;
  height: 84px;
  border: 1px solid var(--divider);
  border-radius: 18px;
  background: var(--control-bg);
  color: var(--text);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}
.score-figure {
  position: relative;
  text-align: center;
  font-size: 72px;
  font-weight: 800;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.score-figure.empty {
  color: var(--text-faint);
}
.score-hint {
  margin: 2px 0 0;
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 700;
}
.score-bar {
  flex: none;
  min-width: 0;
  max-width: 100%;
  padding: 4px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow: hidden;
}
.peek {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}
.peek-top {
  border-bottom: 1px solid var(--divider);
  padding: env(safe-area-inset-top) 12px 0;
}
.score-screen.has-ticker .score-menu {
  top: 108px;
}
.peek-label {
  flex: none;
}
.peek-pos {
  color: var(--accent);
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticker {
  container-type: inline-size;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
}
.ticker-set {
  display: flex;
  align-items: center;
  gap: 28px;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}
.ticker-name {
  color: var(--text);
}
.ticker-score {
  color: var(--accent);
  margin-left: 10px;
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(100cqi);
  }
  86% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}
.score-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.score-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 48px;
  min-height: 0;
  min-width: 0;
  flex: 0 1 auto;
  padding: 0 10px;
  border: 1px solid var(--divider);
  border-radius: 14px;
  background: none;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.score-prev span {
  font-size: 22px;
  line-height: 1;
}
.score-next {
  flex: 1;
  height: 60px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--bg);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.score-prev:disabled,
.score-next:disabled {
  opacity: 0.45;
}
.score-warn {
  margin: 0 0 6px;
  color: var(--text-faint);
  font-size: 13px;
}
.score-scrim {
  z-index: 41;
}
.score-menu {
  position: fixed;
  top: 68px;
  right: 12px;
  z-index: 42;
  width: min(280px, calc(100vw - 24px));
  background: var(--sheet-bg);
  border: 1px solid var(--divider);
  border-radius: 14px;
  overflow: hidden;
}
.score-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--divider);
  background: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.score-menu button:last-child {
  border-bottom: 0;
}
.admin-badge {
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 3px 7px;
}
.peek-sheet-wrap {
  position: fixed;
  inset: 0;
  z-index: 43;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.peek-sheet {
  pointer-events: auto;
  width: min(640px, 100%);
  max-width: 100%;
  min-width: 0;
  height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--sheet-bg);
  border-radius: 18px 18px 0 0;
  animation: sheet-up 0.22s ease-out;
}
@keyframes sheet-up {
  from {
    transform: translateY(100%);
  }
}
.sheet-grip {
  width: 48px;
  height: 22px;
  margin: 8px auto 4px;
  border: 0;
  background: none;
  cursor: pointer;
}
.sheet-grip span {
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--divider);
}
.segment {
  display: flex;
  gap: 4px;
  margin: 4px 16px 12px;
  padding: 4px;
  border-radius: 12px;
  background: #071028;
}
.segment button {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.segment button.on {
  background: var(--accent);
  color: var(--bg);
}
.sheet-body {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding-bottom: 24px;
}
.peek-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 0 12px;
  padding: 8px 12px;
  border-radius: 10px;
}
.peek-row.mine {
  background: rgba(245, 197, 24, 0.12);
}
.peek-rank {
  width: 28px;
  color: var(--text-muted);
  font-weight: 800;
}
.peek-name {
  flex: 1;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}
.peek-score {
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}
.nine-scroll {
  margin: 0 12px 14px;
  border-radius: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.nine {
  display: grid;
  gap: 1px;
  width: max-content;
  min-width: 100%;
  padding: 1px;
  background: rgba(141, 156, 196, 0.35);
}
.nine button,
.nine span {
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 0;
  cursor: pointer;
}
.nine > button,
.nine > .nine-label {
  background: var(--sheet-bg);
}
.nine button.nine-score {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}
.nine-score .nine-gross {
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.nine-score .sc-under,
.nine-score .sc-over {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 24px;
  height: 24px;
  padding: 0 2px;
  border: 1.5px solid currentColor;
}
.nine-score .sc-under {
  color: var(--danger);
  border-radius: 50%;
}
.nine-score .sc-over {
  color: var(--accent);
  border-radius: 3px;
}
.nine-score .sc-dots,
.nine-score .sc-dot,
.nine-score .sc-give {
  min-height: 0;
  padding: 0;
  cursor: default;
}
.nine-score .sc-dots {
  top: 2px;
  right: 1px;
  gap: 1px;
}
.nine-score .sc-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
}
.nine-score .sc-give {
  top: 0;
  right: 1px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
}
.nine > .nine-label,
.nine > button.nine-head {
  background: #06101f;
}
.nine > .nine-label {
  position: sticky;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 8px 0 10px;
  color: var(--text-muted);
  font-size: 11px;
  text-align: left;
  cursor: default;
}
.nine > .nine-label > span {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}
.group-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 32px);
  margin: 0 16px 10px;
  padding: 14px;
  border: 0;
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      var(--surface-from),
      var(--surface-to));
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.group-pick-body {
  flex: 1;
  min-width: 0;
}
.group-pick-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
}
.group-pick-names {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 13px;
}
.group-pick-status {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.keep-tally {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.keep-stat {
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}
.keep-par {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.keep-count {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
}
.keep-discard {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-faint);
}
.keep-done .keep-count {
  color: var(--accent);
}
.inline-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.sheet-open {
  padding-bottom: 148px;
}
.sheet-block {
  padding: 12px 14px 8px;
}
.sheet-block > .btn-secondary,
.sheet-guest .btn-primary,
.sheet-guest .btn-secondary {
  width: 100%;
  margin: 10px 0 0;
}
.sheet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.sheet-team {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.sheet-chip,
.sheet-slot {
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: #0f1e46;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  min-height: 48px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
}
.sheet-slot {
  display: block;
  width: 100%;
  font-size: 18px;
}
.sheet-chip-sub {
  font-size: 16px;
  font-weight: 700;
}
.sheet-chip-open {
  border-style: dashed;
  color: var(--text-muted);
  font-weight: 700;
}
.sheet-chip-on,
.sheet-slot.sheet-chip-on {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}
.sheet-chip:disabled,
.sheet-slot:disabled {
  opacity: 0.45;
}
.sheet-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.sheet-times .field {
  margin: 0;
}
.sheet-guest {
  margin-top: 8px;
}
.sheet-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(640px, 100%);
  z-index: 20;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #0d1b3e;
  border-top: 1px solid var(--divider);
  box-sizing: border-box;
}
.sheet-bar p {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.sheet-bar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sheet-bar-actions .btn-secondary,
.sheet-bar-actions .btn-danger {
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: none;
  min-height: 44px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.sheet-bar-actions .btn-danger {
  border-color: var(--danger);
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles-LMNL326B.css.map */
