@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;800&display=swap');
:root {
  font-family: 'DM Sans', sans-serif;
  color: #f2f7f3;
  background: #08120c;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% -15%, #2e6848 0, transparent 38%),
    linear-gradient(145deg, #08120c, #101d15 68%, #09140e);
  background-attachment: fixed;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.app-shell {
  max-width: 1120px;
  margin: auto;
  padding: 0 28px 80px;
}
.app-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff12;
  color: #829389;
}
.app-header > span {
  font-size: 12px;
}
.public-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #829389;
  font-size: 12px;
}
.public-theme-toggle {
  padding: 8px 11px;
  border: 1px solid #ffffff12;
  border-radius: 10px;
  background: #ffffff06;
  color: #a7b6ad;
  font-size: 10px;
  font-weight: 700;
}
.brand {
  border: 0;
  background: none;
  color: #eef5ef;
  font-size: 20px;
}
.brand:first-letter {
  color: #d8a741;
}
.setup-page,
.game-page {
  padding-top: 36px;
}
.text-button {
  border: 0;
  background: none;
  color: #9bad9f;
  padding: 0;
}
.kicker {
  color: #d4a33f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 24px 0 8px;
}
.setup-page > h1,
.game-heading h1 {
  font-size: 40px;
  line-height: 1;
  margin: 0;
  letter-spacing: -1.7px;
}
.intro,
.game-heading p:not(.kicker) {
  color: #8fa096;
  font-size: 13px;
}
.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 20px;
  margin-top: 26px;
}
.glass {
  background: #132019e8;
  border: 1px solid #ffffff14;
  border-radius: 19px;
  padding: 21px;
  box-shadow: 0 24px 70px #0005;
  backdrop-filter: blur(18px);
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.section-title h3 {
  font-size: 14px;
  margin: 0;
}
.section-title span {
  color: #7f9187;
  font-size: 10px;
}
.variant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 25px;
}
.variant {
  position: relative;
  text-align: left;
  padding: 14px;
  border: 1px solid #ffffff15;
  border-radius: 13px;
  background: #0d1711;
  color: #eef4ef;
}
.variant.selected {
  border-color: #d7a33f;
  background: linear-gradient(135deg, #332c16, #172219);
  box-shadow: 0 0 25px #d7a33f17;
}
.variant b,
.variant small {
  display: block;
}
.variant small {
  color: #809087;
  margin-top: 4px;
}
.checkmark {
  display: none;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #d7a33f;
  color: #231907;
  text-align: center;
  line-height: 19px;
  font-weight: 900;
}
.variant.selected .checkmark {
  display: block;
}
.player-list {
  display: grid;
  gap: 8px;
}
.player-row {
  display: grid;
  grid-template-columns: 32px 38px minmax(90px, 1fr) minmax(110px, 1fr) 52px;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid #ffffff0d;
  border-radius: 13px;
  background: #ffffff05;
}
.reorder {
  display: grid;
}
.reorder button {
  height: 15px;
  border: 0;
  background: transparent;
  color: #788a7f;
  line-height: 10px;
}
.reorder button:disabled {
  opacity: 0.2;
}
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #355641, #1e3427);
  font-size: 10px;
  font-weight: 800;
}
.profile-name b,
.profile-name small {
  display: block;
}
.profile-name b {
  font-size: 12px;
}
.profile-name small {
  font-size: 9px;
  color: #708177;
}
.player-row > input {
  width: 100%;
  border: 1px solid #ffffff15;
  border-radius: 9px;
  background: #0c1610;
  color: #edf4ef;
  padding: 9px 10px;
  font-weight: 700;
  outline: none;
}
.player-row > input:focus {
  border-color: #c99a3f;
}
.lead-choice {
  display: grid;
  place-items: center;
  color: #73847a;
}
.lead-choice input {
  accent-color: #d8a741;
  width: 17px;
  height: 17px;
}
.lead-choice small {
  font-size: 8px;
  font-weight: 800;
}
.add-player {
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  border: 1px dashed #ffffff20;
  border-radius: 11px;
  background: transparent;
  color: #cfa446;
  font-weight: 700;
}
.summary {
  align-self: start;
  position: sticky;
  top: 20px;
}
.game-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #deb24f, #b97f22);
  color: #231807;
  font-size: 23px;
  box-shadow: 0 12px 32px #d0952d30;
}
.summary h2 {
  margin: 18px 0 5px;
}
.summary > p {
  color: #829389;
  font-size: 12px;
  margin: 0 0 20px;
}
.facts {
  border-block: 1px solid #ffffff0d;
  margin-bottom: 20px;
}
.fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #ffffff0b;
  font-size: 11px;
}
.fact:last-child {
  border: 0;
}
.fact span {
  color: #7f9086;
}
.fact b {
  text-align: right;
}
.primary {
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  background: linear-gradient(135deg, #edc35e, #c98c27);
  color: #211706;
  font-weight: 800;
  box-shadow: 0 12px 30px #d39a3030;
}
.primary:disabled {
  opacity: 0.4;
}
.summary .primary,
.full {
  width: 100%;
}
.summary-note {
  display: block;
  text-align: center;
  color: #66776d;
  font-size: 9px;
  margin-top: 9px;
}
.game-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.live {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #34503d;
  background: #173524;
  color: #72d795;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.live:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4bc276;
}
.score-table-wrap {
  max-height: calc(100vh - 150px);
  overflow: auto;
  scroll-padding-top: 274px;
  scrollbar-width: thin;
  scrollbar-color: #547060 transparent;
  border: 1px solid #ffffff18;
  border-radius: 18px;
  background: #101c15cc;
  box-shadow: 0 26px 70px #0007;
}
.score-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
}
.score-table th {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 14px 12px;
  background: #1a2b20;
  color: #9db0a3;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid #ffffff14;
}
.score-table-wrap.with-round-dock .score-table th {
  top: 60px;
}
.score-table-wrap.with-round-dock .pinned-previous-row td,
.score-table-wrap.with-round-dock .pinned-current-row td {
  position: sticky;
  z-index: 2;
  box-shadow: 0 1px 0 #ffffff14;
}
.score-table-wrap.with-round-dock .pinned-previous-row td {
  top: 117px;
  background: #15231b;
}
.score-table-wrap.with-round-dock.with-previous-round .pinned-current-row td {
  top: 189px;
}
.score-table-wrap.with-round-dock:not(.with-previous-round) .pinned-current-row td {
  top: 117px;
}
.score-table-wrap.with-round-dock .pinned-current-row td {
  background: #172219;
}
.score-table-wrap.with-round-dock .pinned-current-row td:first-child {
  background: #332c16;
}
.score-table-wrap.with-round-dock .pinned-previous-row td:first-child,
.score-table-wrap.with-round-dock .pinned-current-row td:first-child {
  z-index: 4;
}
.score-table td {
  height: 72px;
  padding: 8px 10px;
  text-align: center;
  border-bottom: 1px solid #ffffff0c;
  border-right: 1px solid #ffffff0c;
}
.score-table th:first-child,
.score-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 78px;
  background: #142219;
}
.score-table th:first-child {
  z-index: 5;
  background: #1a2b20;
}
.player-table-heading {
  display: flex;
  min-width: 112px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.avatar-image.player-table-avatar,
.avatar-fallback.player-table-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 9px;
  font-size: 8px;
}
.round-dock {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 7;
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 10px 12px 10px 16px;
  border: 0;
  border-bottom: 1px solid #ffffff18;
  border-radius: 0;
  background: #14231bf2;
  box-shadow: 0 14px 40px #0006;
  backdrop-filter: blur(18px);
}
.score-table-wrap::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
.score-table-wrap::-webkit-scrollbar-track,
.score-table-wrap::-webkit-scrollbar-corner {
  background: transparent;
}
.score-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #6f8b7a;
  background-clip: padding-box;
}
.score-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #8ca897;
  background-clip: padding-box;
}
.round-dock > div:first-child {
  display: grid;
  gap: 2px;
}
.round-dock strong {
  font-size: 12px;
}
.round-dock span {
  color: #8fa096;
  font-size: 10px;
}
.active-row td {
  background: #dcae3d0c;
}
.active-row td:first-child {
  background: #332c16;
  color: #e2b54c;
}
.score-cell {
  position: relative;
  display: flex;
  min-width: 104px;
  min-height: 54px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
}
.score-cell strong {
  font-size: 23px;
}
.score-cell > span:not(.lead-badge):not(.historical-lead-badge) {
  font-size: 10px;
  font-weight: 800;
}
.lead-cell {
  border-color: #dcb04f;
  box-shadow: 0 0 22px #dcb04f18;
}
.lead-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 999px;
  background: #d8a83f;
  color: #241b09;
  font-size: 7px;
  font-weight: 900;
  white-space: nowrap;
}
.historical-lead-cell {
  background: linear-gradient(135deg, #d8a7410c, transparent);
  box-shadow: inset 0 0 0 1px #d8a74118;
}
.historical-lead-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  color: #a88945;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.success {
  color: #65d791;
}
.failure {
  color: #f07878;
}
.muted {
  color: #526158;
}
.trump {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}
.trump.red {
  background: #dc4f4f;
}
.trump.yellow {
  background: #e5b73c;
}
.trump.green {
  background: #41a66a;
}
.trump.blue {
  background: #4385dc;
}
.trump.none {
  width: auto;
  background: transparent;
  color: #b5c0b8;
}
.table-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
  color: #8fa096;
  font-size: 12px;
}
.score-chart-section {
  margin-top: 42px;
  padding: 24px 0 8px;
}
.score-chart-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.score-chart-heading .kicker {
  margin-top: 0;
}
.score-chart-heading h2 {
  margin: 0;
  font-size: 24px;
}
.score-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}
.score-chart-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a4b3aa;
  font-size: 10px;
  font-weight: 700;
}
.score-chart-legend i {
  width: 12px;
  height: 3px;
  border-radius: 999px;
  background: var(--chart-color);
}
.avatar-image.chart-avatar,
.avatar-fallback.chart-avatar {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 8px;
  font-size: 7px;
}
.score-chart-scroll {
  overflow-x: auto;
  border: 1px solid #ffffff14;
  border-radius: 18px;
  background: #101c15b8;
  scrollbar-width: thin;
  scrollbar-color: #547060 transparent;
}
.score-chart-scroll::-webkit-scrollbar {
  height: 7px;
}
.score-chart-scroll::-webkit-scrollbar-track,
.score-chart-scroll::-webkit-scrollbar-corner {
  background: transparent;
}
.score-chart-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #6f8b7a;
  background-clip: padding-box;
}
.score-chart {
  display: block;
  width: 100%;
  height: 310px;
}
.chart-grid-line {
  stroke: #ffffff12;
  stroke-width: 1;
}
.chart-axis-label,
.chart-axis-title {
  fill: #7f9187;
  font-size: 10px;
  font-weight: 600;
}
.chart-axis-title {
  fill: #a4b3aa;
}
.chart-series polyline {
  fill: none;
  stroke: var(--chart-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}
.chart-series circle {
  fill: var(--chart-color);
  stroke: #101c15;
  stroke-width: 2;
}
.chart-last-value {
  fill: var(--chart-color);
  font-size: 11px;
  font-weight: 800;
}
.trump-and-action {
  display: flex;
  gap: 9px;
}
.trump-and-action select {
  border: 1px solid #ffffff16;
  border-radius: 10px;
  background: #101b15;
  color: #dbe5de;
  padding: 9px;
}
.compact {
  padding: 10px 15px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #020805bb;
  backdrop-filter: blur(7px);
}
.entry-dialog {
  width: min(450px, 100%);
  background: linear-gradient(155deg, #1b2d22, #101b15);
  border: 1px solid #ffffff1c;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 100px #000b;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.dialog-heading h2 {
  font-size: 20px;
  margin: 0;
}
.dialog-heading p {
  color: #8fa197;
  font-size: 11px;
  margin: 5px 0;
}
.dialog-heading button {
  border: 0;
  background: #ffffff0b;
  color: #aab8af;
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.dialog-player {
  display: grid;
  grid-template-columns: 1fr 90px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid #ffffff0d;
}
.dialog-player b,
.dialog-player small {
  display: block;
}
.dialog-player b {
  font-size: 13px;
}
.dialog-player small {
  min-height: 12px;
  color: #c79b3f;
  font-size: 8px;
  font-weight: 800;
}
.stepper {
  display: grid;
  grid-template-columns: 28px 30px 28px;
  align-items: center;
  text-align: center;
  background: #0b140f;
  border: 1px solid #ffffff15;
  border-radius: 10px;
  padding: 3px;
}
.stepper button {
  border: 0;
  background: transparent;
  color: #d9b151;
  font-size: 18px;
}
.validation {
  color: #f07878;
  font-size: 11px;
  text-align: center;
}
.full {
  margin-top: 16px;
}
@media (max-width: 720px) {
  .app-shell {
    padding: 0 16px 60px;
  }
  .app-header > span {
    display: none;
  }
  .setup-grid {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .player-row {
    grid-template-columns: 28px 34px 1fr 48px;
  }
  .profile-name {
    display: none;
  }
  .setup-page > h1,
  .game-heading h1 {
    font-size: 31px;
  }
  .game-heading {
    gap: 10px;
  }
  .round-dock {
    top: 0;
    align-items: stretch;
  }
  .round-dock > div:first-child {
    display: none;
  }
  .round-dock .round-quick-actions {
    width: 100%;
    flex-direction: row;
  }
  .round-dock .round-quick-actions > * {
    flex: 1;
  }
  .score-table-wrap {
    max-height: calc(100vh - 100px);
  }
  .table-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .score-chart-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .score-chart-legend {
    justify-content: flex-start;
  }
  .trump-and-action > * {
    flex: 1;
  }
  .setup-page,
  .game-page {
    padding-top: 24px;
  }
}

.player-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}
.user-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 26px 15px 20px;
  border-right: 1px solid #ffffff10;
  background: #0a1510e8;
  backdrop-filter: blur(18px);
  z-index: 10;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #f2f7f3;
  font-size: 20px;
  text-align: left;
  padding: 2px 12px 29px;
}
.nav-brand > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: linear-gradient(145deg, #deb24f, #b97f22);
  color: #241807;
}
.user-nav nav {
  display: grid;
  gap: 5px;
}
.user-nav nav > button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #829389;
  text-align: left;
  font-weight: 700;
}
.user-nav nav > button:hover {
  background: #ffffff06;
  color: #dbe6de;
}
.user-nav nav > button.active {
  border-color: #d8a74122;
  background: linear-gradient(110deg, #d8a7411f, #ffffff04);
  color: #f2f7f3;
}
.mobile-theme-toggle {
  display: none !important;
}
.nav-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: #d8a741;
  font-size: 17px;
}
.nav-account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 8px;
  border-top: 1px solid #ffffff0d;
}
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: auto 8px 0;
  padding: 9px 10px;
  border: 1px solid #ffffff10;
  border-radius: 10px;
  background: #ffffff05;
  color: #829389;
  font-size: 10px;
  font-weight: 700;
}
.theme-toggle + .nav-account {
  margin-top: 8px;
}
.nav-account > span:last-child {
  display: grid;
  min-width: 0;
}
.nav-account b {
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}
.nav-account button {
  width: max-content;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #728279;
  font-size: 9px;
}
.user-content {
  width: 100%;
  max-width: 1220px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 34px 80px;
}
.content-page {
  padding-top: 54px;
  max-width: 980px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading .kicker {
  margin-top: 0;
}
.page-heading h1 {
  margin: 0;
  font-size: 42px;
  letter-spacing: -1.8px;
}
.page-heading p:not(.kicker) {
  margin: 8px 0 0;
  color: #879990;
  font-size: 13px;
}
.avatar-image,
.avatar-fallback {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  object-fit: cover;
  background: linear-gradient(145deg, #355641, #1e3427);
}
.avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.segmented {
  display: flex;
  padding: 3px;
  border: 1px solid #ffffff10;
  border-radius: 11px;
  background: #0c1711;
}
.segmented button {
  border: 0;
  border-radius: 8px;
  padding: 8px 11px;
  background: transparent;
  color: #7f9187;
  font-size: 10px;
  font-weight: 700;
}
.segmented button.active {
  background: #26372d;
  color: #eef4ef;
}
.players-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.player-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 11px;
  padding: 15px;
}
.player-card h3 {
  margin: 0 0 3px;
  font-size: 14px;
}
.player-card small {
  color: #7c8e84;
  font-size: 10px;
}
.icon-button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: #ffffff07;
  color: #7f9187;
}
.player-form label,
.profile-form label {
  display: grid;
  gap: 6px;
  color: #8fa197;
  font-size: 10px;
  font-weight: 800;
}
.player-form input,
.profile-form input {
  width: 100%;
  border: 1px solid #ffffff15;
  border-radius: 10px;
  background: #0b140f;
  color: #ecf3ee;
  padding: 11px;
  outline: none;
}
.player-form input:focus,
.profile-form input:focus {
  border-color: #c99a3f;
}
.field-label {
  display: block;
  margin: 17px 0 9px;
  color: #8fa197;
  font-size: 10px;
  font-weight: 800;
}
.avatar-picker {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
}
.avatar-picker button {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid #ffffff12;
  border-radius: 14px;
  padding: 5px;
  background: #0b150f;
}
.avatar-picker button.selected {
  border-color: #d8a741;
  box-shadow: 0 0 22px #d8a74120;
}
.avatar-picker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}
.avatar-picker button > span {
  display: none;
  position: absolute;
  right: -4px;
  top: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d8a741;
  color: #201706;
  font-size: 11px;
  font-weight: 900;
}
.avatar-picker button.selected > span {
  display: grid;
  place-items: center;
}
.profile-page {
  max-width: 860px;
}
.profile-form {
  padding: 25px;
}
.password-form {
  margin-top: 18px;
}
.password-form-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.password-form-heading .kicker {
  margin: 0 0 5px;
}
.password-form-heading h2 {
  margin: 0;
  font-size: 20px;
}
.password-form-heading > small {
  color: #788a80;
  font-size: 9px;
}
.password-grid {
  grid-template-columns: repeat(3, 1fr);
}
.compact-player-label {
  display: none;
}
.profile-preview {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 25px;
}
.profile-preview .avatar-image,
.profile-preview .avatar-fallback {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border-radius: 17px;
}
.profile-preview > div {
  display: grid;
  gap: 3px;
}
.profile-preview b {
  font-size: 17px;
}
.profile-preview small {
  color: #788a80;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 23px;
}
.save-success {
  color: #65d791;
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 800px) {
  .player-layout {
    grid-template-columns: 188px minmax(0, 1fr);
  }
  .user-content {
    padding-inline: 22px;
  }
  .players-grid {
    grid-template-columns: 1fr;
  }
  .profile-stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .player-layout {
    display: block;
  }
  .user-nav {
    position: fixed;
    inset: auto 0 0;
    height: auto;
    display: block;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid #ffffff16;
    background: #0a1510f5;
  }
  .nav-brand,
  .nav-account,
  .theme-toggle {
    display: none;
  }
  .user-nav nav {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
  }
  .mobile-theme-toggle {
    display: grid !important;
  }
  .user-nav nav > button {
    display: grid;
    place-items: center;
    gap: 1px;
    padding: 5px 1px;
    border-radius: 9px;
    font-size: 7px;
    text-align: center;
  }
  .nav-icon {
    height: 22px;
    font-size: 18px;
  }
  .user-content {
    padding: 0 15px calc(88px + env(safe-area-inset-bottom));
  }
  .content-page {
    padding-top: 28px;
  }
  .page-heading {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 21px;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .page-heading > .primary {
    width: 100%;
  }
  .segmented {
    width: 100%;
  }
  .segmented button {
    flex: 1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .password-form-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .avatar-picker {
    grid-template-columns: repeat(3, 1fr);
  }
  .profile-form {
    padding: 18px;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .form-actions .primary {
    width: 100%;
  }
  .save-success {
    text-align: center;
  }
  .game-page,
  .setup-page {
    padding-top: 22px;
  }
  .game-page .score-table,
  .public-view .score-table {
    min-width: 100%;
  }
  .game-page .score-table:not(.player-count-5):not(.player-count-6),
  .public-view .score-table:not(.player-count-5):not(.player-count-6) {
    table-layout: fixed;
  }
  .game-page .score-table.player-count-5,
  .game-page .score-table.player-count-6,
  .public-view .score-table.player-count-5,
  .public-view .score-table.player-count-6 {
    min-width: 500px;
  }
  .score-table th {
    padding: 9px 3px;
    font-size: 8px;
  }
  .score-table th:first-child,
  .score-table td:first-child {
    width: 42px;
  }
  .score-table th:nth-child(2),
  .score-table td:nth-child(2) {
    width: 50px;
  }
  .score-table td {
    height: 60px;
    padding: 4px 2px;
  }
  .player-table-heading {
    min-width: 0;
    gap: 0;
  }
  .player-table-avatar,
  .full-player-label {
    display: none !important;
  }
  .compact-player-label {
    display: inline;
    font-size: 10px;
  }
  .score-cell {
    min-width: 0;
    min-height: 48px;
    border-radius: 9px;
  }
  .score-cell strong {
    font-size: 18px;
  }
  .lead-badge {
    padding: 2px 4px;
    font-size: 6px;
  }
  .historical-lead-badge {
    right: 3px;
    font-size: 6px;
  }
}
.secondary {
  border: 1px solid #ffffff12;
  border-radius: 12px;
  padding: 13px 18px;
  background: #223329;
  color: #d7e2da;
  font-weight: 800;
}

.actionable-row {
  cursor: pointer;
}
.actionable-row:hover td {
  background: #ffffff05;
}

.trump-choice {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
}

.trump-picker {
  display: grid;
  gap: 9px;
  padding-bottom: 13px;
}

.trump-field {
  display: grid;
  gap: 5px;
}

.trump-field > span {
  color: #8fa197;
  font-size: 9px;
  font-weight: 800;
}

.trump-color-options {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}

.trump-color-option,
.trump-letter-option {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 11px;
  background: #0b140f;
  color: #dbe5de;
  font-weight: 900;
}

.trump-color-option > span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px #ffffff35,
    0 4px 12px #0005;
}
.trump-color-option.red > span {
  background: #d95252;
}
.trump-color-option.yellow > span {
  background: #e1b53f;
}
.trump-color-option.green > span {
  background: #42ad6d;
}
.trump-color-option.blue > span {
  background: #4b88dc;
}
.trump-color-option.selected,
.trump-letter-option.selected {
  border-color: #efc458;
  background: #dcae3d13;
  box-shadow: 0 0 0 2px #dcae3d20;
}
.trump-color-option:disabled,
.trump-letter-option:disabled {
  opacity: 0.35;
}
.lead-trump-options {
  grid-template-columns: repeat(4, 1fr);
}
.dialog-primary-actions {
  display: grid;
  gap: 8px;
}

@media (max-width: 520px) {
  .trump-color-options {
    gap: 5px;
  }
}

.center-state,
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: #9bad9f;
}
.login-card {
  width: min(390px, calc(100vw - 32px));
  display: grid;
  gap: 16px;
}
.login-card h1 {
  margin: 0 0 8px;
}
.login-card label {
  display: grid;
  gap: 6px;
  color: #9bad9f;
  font-size: 11px;
  font-weight: 700;
}
.login-card input,
.title-input {
  border: 1px solid #ffffff15;
  border-radius: 10px;
  background: #0c1610;
  color: #edf4ef;
  padding: 11px;
  outline: none;
}
.login-card input:focus,
.title-input:focus {
  border-color: #c99a3f;
}
.home-page {
  padding-top: 34px;
}
.home-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.home-hero h1 {
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -2.5px;
  margin: 10px 0 18px;
}
.home-hero em {
  color: #d8a741;
}
.home-hero p:not(.kicker) {
  color: #8fa096;
}
.session-list {
  display: grid;
  gap: 9px;
}
.session-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  border: 1px solid #ffffff12;
  border-radius: 14px;
  background: #132019;
  color: #eef4ef;
  text-align: left;
}
.session-card > span:nth-child(2) {
  display: grid;
  gap: 3px;
  flex: 1;
}
.session-card small {
  color: #7f9187;
}
.session-card > strong {
  font-size: 22px;
  color: #d8a741;
}
.session-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #77837b;
}
.session-dot.active,
.session-dot.awaiting_finish {
  background: #4bc276;
  box-shadow: 0 0 12px #4bc276;
}
.empty-state {
  text-align: center;
  color: #7f9187;
}
.error-banner {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 11px 17px;
  border-radius: 10px;
  background: #9d3d3d;
  color: white;
  box-shadow: 0 10px 30px #0007;
}
.title-input {
  width: 100%;
  margin-bottom: 16px;
}
.auth-note {
  margin: 0;
  color: #829389;
  font-size: 11px;
  line-height: 1.5;
}
.auth-success {
  padding: 12px;
  border: 1px solid #65d79135;
  border-radius: 11px;
  background: #65d79110;
  color: #75dda0;
  font-size: 11px;
  line-height: 1.45;
}
.auth-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 15px;
  border-top: 1px solid #ffffff0d;
  padding-top: 14px;
}
.auth-links button {
  border: 0;
  background: transparent;
  color: #cda345;
  font-size: 10px;
  font-weight: 700;
}
.auth-result {
  text-align: center;
  justify-items: center;
}
.auth-result .game-icon {
  margin-bottom: 5px;
}
.auth-result h1 {
  font-size: 28px;
}

@media (max-width: 620px) {
  .home-hero {
    min-height: 290px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
  .home-hero h1 {
    font-size: 43px;
  }
  .home-hero .primary {
    width: 100%;
  }
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}
.profile-stats .admin-metric {
  padding: 15px;
}
.profile-stats .admin-metric strong {
  font-size: 23px;
}
.notice-strip {
  margin-bottom: 18px;
  padding: 11px 14px;
  border: 1px solid #d4a33f33;
  border-radius: 11px;
  background: #d4a33f12;
  color: #d9b45f;
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 620px) {
  .profile-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.result-page {
  max-width: 620px;
  margin: 0 auto;
  padding-top: 36px;
}
.result-card {
  margin-top: 28px;
}
.result-card h1 {
  font-size: 34px;
  margin: 16px 0 5px;
}
.ranking {
  display: grid;
  gap: 8px;
  margin: 24px 0;
}
.ranking-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  padding: 14px;
  border: 1px solid #ffffff0d;
  border-radius: 12px;
  background: #ffffff05;
}
.ranking-row > span {
  color: #d8a741;
  font-weight: 800;
}
.ranking-row > strong {
  font-size: 22px;
}
.result-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 16px;
  border-right: 1px solid #ffffff10;
  background: #0b1510;
}
.admin-nav .brand {
  padding: 0 10px 24px;
}
.admin-nav .brand small {
  display: block;
  color: #d5a33f;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 3px;
}
.admin-nav > button {
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  background: transparent;
  color: #8fa096;
  text-align: left;
  font-weight: 700;
}
.admin-nav > button.active {
  background: #ffffff0c;
  color: #f2f7f3;
}
.admin-nav .admin-logout {
  margin-top: auto;
}
.admin-logout small {
  display: block;
  color: #6f7f75;
  margin-top: 3px;
}
.admin-content {
  padding: 45px;
  max-width: 1100px;
}
.admin-content h1 {
  font-size: 36px;
  margin: 6px 0 28px;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.admin-metric {
  display: grid;
  gap: 12px;
}
.admin-metric span {
  color: #83948a;
  font-size: 11px;
}
.admin-metric strong {
  font-size: 28px;
}
.admin-table {
  display: grid;
  border: 1px solid #ffffff10;
  border-radius: 14px;
  overflow: hidden;
}
.admin-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 140px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #ffffff0c;
  background: #111e17;
}
.admin-row:last-child {
  border: 0;
}
.admin-row span,
.admin-row small {
  color: #829389;
}
.admin-row select {
  border: 1px solid #ffffff15;
  border-radius: 8px;
  background: #0b1510;
  color: #eaf1ec;
  padding: 8px;
}
@media (max-width: 760px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid #ffffff10;
    overflow: auto;
  }
  .admin-nav .brand {
    padding: 0 10px;
  }
  .admin-nav .brand small {
    display: none;
  }
  .admin-nav .admin-logout {
    margin: 0 0 0 auto;
  }
  .admin-content {
    padding: 24px 16px;
  }
  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .admin-row {
    grid-template-columns: 1fr;
  }
  .admin-row select {
    width: 100%;
  }
}
.admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.admin-heading h1 {
  margin-bottom: 5px;
}
.admin-heading p {
  margin: 0;
  color: #7f9187;
  font-size: 11px;
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-user b {
  display: grid;
  gap: 2px;
}
.admin-user small {
  color: #718278;
  font-weight: 400;
}
.game-version-row .text-button {
  width: max-content;
  color: #d2a443;
}
.audit-list {
  border: 1px solid #ffffff10;
  border-radius: 14px;
  overflow: hidden;
}
.audit-row {
  display: grid;
  grid-template-columns: 10px minmax(180px, 1fr) minmax(180px, 0.7fr);
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid #ffffff0b;
  background: #111e17;
}
.audit-row:last-child {
  border: 0;
}
.audit-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d5a33f;
}
.audit-row > span {
  display: grid;
  gap: 3px;
}
.audit-row b {
  font-size: 11px;
}
.audit-row small {
  color: #718278;
  font-size: 9px;
}
.audit-row > span:last-child {
  text-align: right;
  color: #91a198;
  font-size: 10px;
}
@media (max-width: 760px) {
  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .audit-row {
    grid-template-columns: 10px 1fr;
  }
  .audit-row > span:last-child {
    grid-column: 2;
    text-align: left;
  }
}
.admin-testers-launch {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 12;
  padding: 11px 15px;
  border: 1px solid #d5a33f45;
  border-radius: 999px;
  background: #2a2819;
  color: #edc45f;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 14px 40px #0008;
}
.tester-dialog {
  width: min(560px, 100%);
}
.tester-version {
  display: grid;
  gap: 6px;
  color: #8fa197;
  font-size: 9px;
  font-weight: 800;
}
.tester-version select {
  width: 100%;
  border: 1px solid #ffffff15;
  border-radius: 10px;
  background: #0b140f;
  color: #edf4ef;
  padding: 10px;
}
.tester-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  max-height: 46vh;
  margin: 16px 0;
  overflow: auto;
}
.tester-list > button {
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #ffffff0d;
  border-radius: 12px;
  background: #ffffff04;
  color: #e9f1eb;
  text-align: left;
}
.tester-list > button.selected {
  border-color: #d5a33f55;
  background: #d5a33f10;
}
.tester-list > button > span {
  display: grid;
  gap: 2px;
}
.tester-list b {
  font-size: 10px;
}
.tester-list small {
  color: #708177;
  font-size: 8px;
}
.tester-list i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d5a33f;
  color: #261b08;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
}
.tester-list i:empty {
  background: #ffffff08;
}
.tester-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
@media (max-width: 620px) {
  .admin-testers-launch {
    right: 12px;
    bottom: 12px;
  }
  .tester-list {
    grid-template-columns: 1fr;
  }
}

.game-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.game-tools .secondary {
  min-width: 43px;
}
.round-quick-actions {
  display: flex;
  gap: 8px;
}
.menu-list {
  display: grid;
  gap: 7px;
}
.menu-list > button {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 10px;
  padding: 12px;
  border: 1px solid #ffffff0d;
  border-radius: 12px;
  background: #ffffff04;
  color: #e8f0ea;
  text-align: left;
}
.menu-list > button > span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #d5a33f17;
  color: #d8a741;
  font-size: 17px;
}
.menu-list b {
  font-size: 12px;
}
.menu-list small {
  color: #7c8e84;
  font-size: 9px;
  margin-top: 3px;
}
.menu-list .danger-action {
  color: #ef9a9a;
}
.menu-list .danger-action > span {
  background: #d9505015;
  color: #ed7777;
}
.menu-form {
  display: grid;
  gap: 13px;
}
.menu-form label {
  display: grid;
  gap: 6px;
  color: #8fa197;
  font-size: 10px;
  font-weight: 800;
}
.menu-form input,
.menu-form select,
.share-url input {
  width: 100%;
  border: 1px solid #ffffff15;
  border-radius: 10px;
  background: #0b140f;
  color: #edf4ef;
  padding: 11px;
  outline: none;
}
.modal-note,
.share-panel > p,
.finish-options > p {
  color: #83958a;
  font-size: 11px;
  line-height: 1.5;
}
.share-panel {
  text-align: center;
}
.share-url {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}
.share-url input {
  font-size: 10px;
}
.share-url button {
  border: 0;
  border-radius: 9px;
  background: #d6a442;
  color: #241a08;
  font-size: 10px;
  font-weight: 800;
}
.success-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 10px auto;
  border-radius: 50%;
  background: #65d791;
  color: #122218;
  font-size: 23px;
  font-weight: 900;
}
.finish-options {
  display: grid;
  gap: 9px;
  text-align: center;
}
.finish-options .full {
  margin-top: 0;
}
.finish-options > .text-button {
  padding: 8px;
}
.delete-round {
  display: block;
  margin: 11px auto 0;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: #e77d7d;
  font-size: 10px;
  font-weight: 700;
}
.inspect-button {
  margin-right: auto;
  padding: 10px;
}
.label-form {
  max-height: 65vh;
  overflow: auto;
  padding-right: 3px;
}
@media (max-width: 620px) {
  .game-tools {
    align-items: flex-end;
    flex-direction: column;
  }
  .round-quick-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .session-menu {
    max-height: calc(100vh - 30px);
    overflow: auto;
  }
}

.notice-button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  text-align: left;
}
.notice-button b {
  color: #f0c96c;
}
.notification-list {
  display: grid;
  gap: 8px;
}
.notification-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ffffff0d;
  border-radius: 14px;
  background: #111e17;
  color: #eaf2ec;
  text-align: left;
}
.notification-card.unread {
  border-color: #d4a33f35;
  background: linear-gradient(110deg, #d4a33f12, #111e17);
}

/* Svetlý variant zachováva zeleno-zlatú identitu bez čiernych plôch. */
[data-theme='light'] {
  color: #173326;
  background: #eef5ef;
}
[data-theme='light'] body {
  color: #173326;
  background:
    radial-gradient(circle at 82% -12%, #82c99a 0, transparent 42%),
    linear-gradient(145deg, #f1f8f2, #d8ebdc 68%, #edf6ef);
}
[data-theme='light'] .user-nav,
[data-theme='light'] .admin-nav {
  border-color: #1f50311a;
  background: #e5f2e8f2;
  box-shadow: 8px 0 30px #28583a0a;
}
[data-theme='light'] .nav-brand,
[data-theme='light'] .brand,
[data-theme='light'] h1,
[data-theme='light'] h2,
[data-theme='light'] h3,
[data-theme='light'] b,
[data-theme='light'] strong {
  color: #173326;
}
[data-theme='light'] .user-nav nav > button,
[data-theme='light'] .admin-nav > button,
[data-theme='light'] .text-button,
[data-theme='light'] .intro,
[data-theme='light'] .game-heading p:not(.kicker),
[data-theme='light'] .page-heading p,
[data-theme='light'] small,
[data-theme='light'] .section-title span,
[data-theme='light'] .field-label,
[data-theme='light'] .fact span,
[data-theme='light'] .auth-note {
  color: #61766a;
}
[data-theme='light'] .user-nav nav > button:hover,
[data-theme='light'] .user-nav nav > button.active,
[data-theme='light'] .admin-nav > button.active {
  color: #173326;
  background: #27834b18;
}
[data-theme='light'] .glass,
[data-theme='light'] .session-card,
[data-theme='light'] .notification-card,
[data-theme='light'] .admin-row,
[data-theme='light'] .result-card {
  border-color: #245c3520;
  background: #ffffffd9;
  box-shadow: 0 18px 55px #28583a14;
}
[data-theme='light'] .variant,
[data-theme='light'] .player-row,
[data-theme='light'] .opponent-card,
[data-theme='light'] .recent-result,
[data-theme='light'] .menu-list > button {
  border-color: #245c351c;
  background: #f6faf6;
  color: #173326;
}
[data-theme='light'] .variant.selected {
  border-color: #c89428;
  background: linear-gradient(135deg, #fff5d9, #f4f8ef);
}
[data-theme='light'] input,
[data-theme='light'] select,
[data-theme='light'] textarea,
[data-theme='light'] .title-input,
[data-theme='light'] .player-row > input,
[data-theme='light'] .trump-color-option,
[data-theme='light'] .trump-letter-option {
  border-color: #245c3525;
  background: #fff;
  color: #173326;
}
[data-theme='light'] .secondary,
[data-theme='light'] .theme-toggle,
[data-theme='light'] .public-theme-toggle {
  border-color: #245c3525;
  background: #e5f0e8;
  color: #274f3a;
}
[data-theme='light'] .nav-account {
  border-color: #245c351c;
}
[data-theme='light'] .score-table-wrap,
[data-theme='light'] .admin-table {
  border-color: #245c3520;
  box-shadow: 0 20px 60px #28583a12;
}
[data-theme='light'] .score-table-wrap {
  scrollbar-color: #9ab5a3 transparent;
}
[data-theme='light'] .score-table-wrap::-webkit-scrollbar-thumb {
  background: #a7bead;
  background-clip: padding-box;
}
[data-theme='light'] .score-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #829f8b;
  background-clip: padding-box;
}
[data-theme='light'] .round-dock {
  border-color: #245c3520;
  background: #dceee0f5;
  box-shadow: 0 14px 40px #28583a1c;
}
[data-theme='light'] .round-dock span {
  color: #61766a;
}
[data-theme='light'] .score-table th,
[data-theme='light'] .score-table th:first-child {
  border-color: #245c3518;
  background: #cfe5d4;
  color: #355c43;
}
[data-theme='light'] .score-table td {
  border-color: #245c3515;
  background: #f4faf5;
  color: #173326;
}
[data-theme='light'] .active-row td {
  background: #fff9e8;
}
[data-theme='light'] .score-table-wrap.with-round-dock .pinned-previous-row td {
  background: #e8f3ea;
  box-shadow: 0 1px 0 #245c3520;
}
[data-theme='light'] .score-table-wrap.with-round-dock .pinned-previous-row td:first-child {
  background: #d8eadc;
}
[data-theme='light'] .score-table-wrap.with-round-dock .pinned-current-row td {
  background: #fff9e8;
}
[data-theme='light'] .score-table-wrap.with-round-dock .pinned-current-row td:first-child {
  background: #f4e8bd;
}
[data-theme='light'] .historical-lead-cell {
  background: linear-gradient(135deg, #e9c76221, transparent);
  box-shadow: inset 0 0 0 1px #b9862820;
}
[data-theme='light'] .historical-lead-badge {
  color: #8e6b22;
}
[data-theme='light'] .active-row td:first-child {
  background: #f4e8bd;
  color: #8b6516;
}
[data-theme='light'] .actionable-row:hover td {
  background: #eef6ef;
}
[data-theme='light'] .modal-backdrop {
  background: #17332655;
}
[data-theme='light'] .entry-dialog {
  border-color: #245c3525;
  background: linear-gradient(155deg, #fff, #edf5ef);
  box-shadow: 0 30px 100px #244f3330;
}
[data-theme='light'] .dialog-heading button {
  background: #28583a10;
  color: #526b5d;
}
[data-theme='light'] .dialog-player {
  border-color: #245c3518;
}
[data-theme='light'] .stepper {
  border-color: #245c3520;
  background: #fff;
}
[data-theme='light'] .stepper button {
  color: #315840;
}
[data-theme='light'] .live {
  border-color: #2476452b;
  background: #daf1e1;
  color: #247645;
}
[data-theme='light'] .muted,
[data-theme='light'] .empty-state {
  color: #829489;
}
[data-theme='light'] .score-chart-scroll {
  border-color: #245c3520;
  background: #f5faf6d9;
  scrollbar-color: #9ab5a3 transparent;
}
[data-theme='light'] .score-chart-legend > span,
[data-theme='light'] .chart-axis-label,
[data-theme='light'] .chart-axis-title {
  color: #526b5d;
  fill: #526b5d;
}
[data-theme='light'] .password-form-heading > small {
  color: #61766a;
}
[data-theme='light'] .chart-grid-line {
  stroke: #245c3518;
}
[data-theme='light'] .chart-series circle {
  stroke: #f5faf6;
}
.notification-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffffff08;
  color: #d8a741;
  font-size: 17px;
}
.notification-card > span:nth-child(2) {
  display: grid;
  gap: 3px;
}
.notification-card small,
.notification-card time {
  color: #788a80;
  font-size: 9px;
}
.notification-card i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8a741;
}
.stats-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.recent-results,
.opponent-list {
  display: grid;
  gap: 8px;
}
.recent-result {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
}
.recent-result > span {
  color: #8b9c91;
  font-size: 9px;
  font-weight: 800;
}
.recent-result > span.win-place {
  color: #d8a741;
}
.recent-result > div,
.opponent-card > span {
  display: grid;
  gap: 3px;
}
.recent-result b,
.opponent-card b {
  font-size: 11px;
}
.recent-result small,
.opponent-card small {
  color: #74867b;
  font-size: 8px;
}
.recent-result > strong {
  font-size: 20px;
}
.opponent-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  color: #edf4ef;
  text-align: left;
}
.opponent-card > strong {
  color: #d8a741;
}
.comparison-score {
  display: grid;
  grid-template-columns: 1fr 25px 1fr;
  align-items: center;
  gap: 8px;
  margin: 22px 0;
  text-align: center;
}
.comparison-score > div {
  display: grid;
  gap: 6px;
}
.comparison-score b {
  font-size: 11px;
}
.comparison-score strong {
  font-size: 38px;
  color: #d8a741;
}
.comparison-score small {
  color: #7d8e84;
  font-size: 8px;
}
@media (max-width: 720px) {
  .stats-columns {
    grid-template-columns: 1fr;
  }
  .notifications-page .page-heading > .secondary {
    width: 100%;
  }
}

.lineup-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 0 4px;
  overflow: auto;
}
.lineup-strip > span {
  flex: 0 0 auto;
  color: #73857a;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.lineup-strip > button {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 8px 8px 11px;
  border: 1px solid #ffffff12;
  border-radius: 999px;
  background: #132019;
  color: #dce7df;
  font-size: 10px;
  font-weight: 700;
}
.lineup-strip i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ffffff08;
  color: #7d8e84;
  font-style: normal;
}
.setup-avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 11px;
}
.reorder .remove-player {
  color: #c86969;
}
.add-player-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 11px;
}
.add-player-row select {
  min-width: 0;
  border: 1px solid #ffffff15;
  border-radius: 10px;
  background: #0c1610;
  color: #edf4ef;
  padding: 10px;
}
.add-player-row .secondary {
  padding: 10px 14px;
}
.save-lineup {
  display: block;
  margin: 13px auto 0;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: #cfa446;
  font-size: 10px;
  font-weight: 700;
}
.organizer-list {
  display: grid;
  gap: 7px;
}
.organizer-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #ffffff0d;
  border-radius: 12px;
  background: #ffffff04;
}
.organizer-row > span {
  display: grid;
  gap: 3px;
}
.organizer-row b {
  font-size: 11px;
}
.organizer-row small {
  color: #788a80;
  font-size: 8px;
}
.danger-text {
  color: #e77d7d;
}
