  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.share-link-revoked {
  opacity: 0.68;
}

.share-link-revoked td:first-child,
.share-link-revoked td:nth-child(7) {
  text-decoration: line-through;
}

.score-app-shell {
  max-width: 46rem;
  margin: 0 auto 2rem;
}

.score-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  margin: -0.5rem -0.25rem 1rem;
  color: #fff;
  background: #f56416;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(245, 100, 22, 0.22);
}

.score-icon-link,
.score-topbar-action {
  border: 0;
  color: #fff;
  background: transparent;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.score-icon-link {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
}

.score-topbar-title {
  font-size: 1.35rem;
  font-weight: 900;
}

.score-topbar-subtitle {
  opacity: 0.82;
  font-size: 0.82rem;
  font-weight: 700;
}

.score-board {
  display: grid;
  gap: 1rem;
}

.score-athlete-card,
.score-line,
.personal-round-form .site-panel {
  background: #fff;
  border: 1px solid rgba(39, 31, 24, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(36, 28, 20, 0.08);
}

.personal-round-basic-header {
  align-items: flex-start;
  padding-bottom: 0;
}

.personal-round-optional {
  border-top: 1px solid rgba(39, 31, 24, 0.08);
  padding-top: 0.85rem;
}

.personal-round-optional summary {
  width: fit-content;
  cursor: pointer;
  color: #cf5318;
  font-weight: 900;
}

.personal-round-optional summary:focus-visible {
  outline: 3px solid rgba(245, 100, 22, 0.28);
  outline-offset: 4px;
  border-radius: 6px;
}

.score-entry-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.24rem;
  border: 1px solid rgba(39, 31, 24, 0.1);
  border-radius: 999px;
  background: #fff8ef;
}

.score-entry-mode-button {
  min-height: 2.65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #58473d;
  font-weight: 900;
}

.score-entry-mode-button:hover,
.score-entry-mode-button:focus-visible,
.score-entry-mode-button.is-active {
  background: #f56416;
  color: #fff;
  box-shadow: 0 8px 18px rgba(245, 100, 22, 0.22);
}

.score-athlete-card {
  padding: 1.1rem;
  text-align: center;
}

.score-athlete-card h1 {
  margin: 0;
  color: #111;
  font-size: clamp(1.65rem, 6vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0;
}

.score-athlete-card p {
  margin: 0.25rem 0 0;
  color: #111;
  font-weight: 850;
  font-size: 1.2rem;
}

.score-line {
  padding: 1rem;
}

.score-line-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #111;
  font-size: 1rem;
}

.shot-strip {
  display: grid;
  grid-template-columns: repeat(25, minmax(0, 1fr));
  gap: 0.18rem;
  margin-top: 0.45rem;
}

.shot-cell {
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(35, 31, 27, 0.1);
  border-radius: 4px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.shot-cell--open {
  background: #e6e8ee;
  color: transparent;
}

.shot-cell--hit {
  background: #f56416;
}

.shot-cell--miss {
  background: #232323;
  box-shadow: inset 0 0 0 2px #fff;
}

.shot-direction-arrow {
  display: inline-block;
  transform-origin: 50% 58%;
}

.shot-direction-arrow--hard-left {
  transform: rotate(-62deg);
}

.shot-direction-arrow--soft-left {
  transform: rotate(-24deg);
}

.shot-direction-arrow--center {
  transform: rotate(0deg);
}

.shot-direction-arrow--soft-right {
  transform: rotate(24deg);
}

.shot-direction-arrow--hard-right {
  transform: rotate(62deg);
}

.shot-direction-menu {
  position: fixed;
  z-index: 1100;
  width: min(30rem, calc(100vw - 1.5rem));
  padding: 0.75rem;
  border: 1px solid rgba(35, 31, 27, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(35, 31, 27, 0.22);
}

.shot-direction-menu-title {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.shot-direction-option-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}

.shot-direction-option {
  display: grid;
  grid-template-rows: 2rem auto;
  align-items: center;
  justify-items: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 4.65rem;
  padding: 0.55rem 0.25rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.shot-direction-arrow--menu {
  width: 2rem;
  color: #f56416;
  font-size: 1.75rem;
  line-height: 1;
  text-align: center;
}

.shot-direction-option-label {
  font-size: 0.72rem;
  line-height: 1.05;
}

.shot-direction-option:hover,
.shot-direction-option:focus {
  background: rgba(245, 100, 22, 0.12);
  outline: none;
}

.shot-swipe-preview {
  position: fixed;
  z-index: 1110;
  display: grid;
  justify-items: center;
  min-width: 8rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: #111;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(35, 31, 27, 0.22);
  pointer-events: none;
}

.shot-swipe-preview-arrow {
  color: #f56416;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

.shot-swipe-preview-label {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.score-progress-copy {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.station-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.station-pill {
  display: grid;
  place-items: center;
  min-height: 4.5rem;
  padding: 0.55rem;
  color: #111;
  background: #dedfe5;
  border-radius: 10px;
  font-weight: 900;
}

.station-pill strong {
  font-size: 1.15rem;
}

.station-pill span {
  font-size: 0.85rem;
}

.score-pad {
  display: grid;
  grid-template-areas:
    "miss hit"
    "undo undo";
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.8rem 0 0.35rem;
  background: linear-gradient(180deg, rgba(247, 240, 230, 0), rgba(247, 240, 230, 0.95) 25%, rgba(247, 240, 230, 1));
}

.score-pad-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid rgba(35, 31, 27, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.score-pad-mode--compact {
  margin-top: 0.7rem;
}

.score-pad-mode-button {
  min-height: 2.4rem;
  border: 0;
  border-radius: 999px;
  color: #5a524a;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 900;
}

.score-pad-mode-button.is-active {
  color: #fff;
  background: #f56416;
  box-shadow: 0 8px 18px rgba(245, 100, 22, 0.24);
}

.score-pad-button {
  position: relative;
  min-height: 6.25rem;
  overflow: hidden;
  border: 1px solid rgba(35, 31, 27, 0.08);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.12);
  touch-action: manipulation;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.score-pad-button > span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.7rem;
  line-height: 1;
}

.score-pad-button__flight {
  position: relative;
  z-index: 1;
  display: flex !important;
  justify-content: space-between;
  width: min(9.5rem, 88%);
  margin: 0 auto 0.22rem !important;
  font-size: 0.82rem !important;
  font-weight: 900;
}

.score-pad-button__flight .shot-direction-arrow {
  width: 1rem;
  text-align: center;
  line-height: 1;
}

.score-pad-button__flight--hit {
  color: rgba(255, 255, 255, 0.76);
}

.score-pad-button__flight--miss {
  color: rgba(64, 31, 14, 0.72);
}

.no-swipe-input .score-pad-button__flight,
.no-swipe-input .unified-score-button__flight {
  display: none !important;
}

.no-swipe-input .score-pad-button--swipe {
  padding-top: 1rem;
}

.no-swipe-input .unified-score-button__zone {
  justify-content: center;
}

.score-pad-button strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1.05rem;
  line-height: 1;
}

.score-pad-button--muted {
  grid-area: undo;
  justify-self: center;
  min-width: min(17rem, 76%);
  min-height: 3.05rem;
  color: #4b4b4b;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(35, 31, 27, 0.12);
  box-shadow: 0 6px 16px rgba(20, 20, 20, 0.08);
}

.score-pad-button--muted span,
.score-pad-button--muted strong {
  display: inline;
  margin: 0 0.3rem 0 0;
  font-size: 0.9rem;
}

.score-pad-clay {
  position: relative;
  z-index: 1;
  display: block;
  width: min(9.8rem, 86%);
  height: 4.35rem;
  margin: 0 auto 0.25rem;
}

.score-pad-clay img,
.score-pad-clay svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: visible;
  filter: drop-shadow(0 0.28rem 0.32rem rgba(35, 31, 27, 0.26));
}

.score-pad-clay--burst img,
.score-pad-clay--burst svg {
  filter: drop-shadow(0 0.24rem 0.3rem rgba(35, 31, 27, 0.2));
}

.score-pad-button--miss {
  grid-area: miss;
  color: #24130d;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 115, 21, 0.18), transparent 43%),
    linear-gradient(145deg, #fff3e4, #f5d6b9 58%, #e8a26d);
  border-color: rgba(92, 55, 33, 0.18);
}

.score-pad-button--hit {
  grid-area: hit;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 131, 39, 0.36), transparent 42%),
    linear-gradient(145deg, #3b2820, #211410);
  border-color: rgba(92, 55, 33, 0.22);
}

.score-pad-button--miss strong {
  color: #24130d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.score-pad-button--hit strong {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.score-pad-button--swipe {
  min-height: 9.2rem;
  padding: 0.75rem 0.75rem 0.95rem;
}

.score-pad-button--swipe::before {
  display: none;
}

.score-pad-button--swipe::after {
  display: none;
}

.score-pad-button:active {
  transform: translateY(1px);
}

.score-pad--unified {
  grid-template-areas:
    "score score"
    "undo undo";
  max-width: min(25.5rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.unified-score-button {
  grid-area: score;
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1 / 1.02;
  min-height: 22rem;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(92, 55, 33, 0.22);
  border-radius: 8px;
  color: #fff;
  background: #261913;
  box-shadow: 0 16px 36px rgba(68, 38, 18, 0.22);
  touch-action: manipulation;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.unified-score-button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-width: 1px 0 0;
}

.unified-score-button__zone {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding: 0.75rem 0.9rem 0.9rem;
  overflow: hidden;
}

.unified-score-button__zone--hit {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 131, 39, 0.36), transparent 42%),
    linear-gradient(145deg, #3b2820, #211410);
}

.unified-score-button__zone--miss {
  color: #27170f;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 115, 21, 0.18), transparent 43%),
    linear-gradient(145deg, #fff3e4, #f5d6b9 58%, #e8a26d);
}

.unified-score-button__flight {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  width: min(15rem, 84%);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  font-weight: 900;
}

.unified-score-button__flight .shot-direction-arrow {
  width: 1.4rem;
  text-align: center;
  line-height: 1;
}

.unified-score-button__flight--miss {
  color: rgba(64, 31, 14, 0.72);
}

.unified-score-button .score-pad-clay {
  width: min(17rem, 86%);
  height: 6.55rem;
  margin: 0.05rem auto 0.25rem;
}

.unified-score-button__photo {
  border-radius: 7px;
}

.unified-score-button__photo img {
  transform: scale(1.08);
}

.unified-score-button__photo--hit {
  width: min(17.5rem, 88%);
  height: 6.4rem;
}

.unified-score-button__photo--hit img {
  transform: scale(1.12);
}

.unified-score-button__photo--miss {
  width: min(14.5rem, 78%);
  height: 7.8rem;
}

.unified-score-button__photo--miss img {
  transform: scale(0.9);
}

.unified-score-button strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.unified-score-button__zone--miss strong {
  color: #24130d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.score-pad--compact {
  position: static;
  grid-template-areas:
    "miss hit"
    "undo undo";
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0.55rem;
  background: transparent;
}

.score-pad--compact .score-pad-button {
  min-height: 3.75rem;
  font-size: 0.78rem;
}

.score-pad--compact .score-pad-button--swipe {
  min-height: 7.2rem;
  padding: 0.55rem 0.55rem 0.7rem;
}

.score-pad--compact .score-pad-clay {
  width: min(7.5rem, 86%);
  height: 3.35rem;
  margin-bottom: 0.12rem;
}

.score-pad--compact .score-pad-button__flight {
  width: min(7rem, 88%);
  margin-bottom: 0.14rem !important;
  font-size: 0.7rem !important;
}

.score-pad--compact .score-pad-button--swipe::before,
.score-pad--compact .score-pad-button--swipe::after {
  display: none;
}

.score-pad--extra-unified {
  position: static;
  max-width: min(22rem, 100%);
  padding-top: 0.55rem;
  background: transparent;
}

.score-pad--extra-unified .unified-score-button {
  min-height: 18rem;
}

.score-pad--extra-unified .unified-score-button .score-pad-clay {
  width: min(14.5rem, 82%);
  height: 5.4rem;
}

.score-pad--extra-unified .unified-score-button__photo--miss {
  width: min(12rem, 76%);
  height: 6.4rem;
}

.score-pad--extra-unified .score-pad-button--muted {
  min-height: 3.75rem;
}

.site-account-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-left: 0.75rem;
}

.site-nav .dropdown-menu,
.site-account-nav .dropdown-menu {
  z-index: 1200;
  min-width: 13rem;
  border: 1px solid rgba(255, 208, 160, 0.22);
  border-radius: 8px;
  padding: 0.35rem;
  background: rgba(17, 25, 32, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.site-nav .dropdown-item,
.site-nav .dropdown-item-text,
.site-account-nav .dropdown-item {
  border-radius: 6px;
  color: rgba(255, 247, 238, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus,
.site-account-nav .dropdown-item:hover,
.site-account-nav .dropdown-item:focus {
  color: #fffdf9;
  background: rgba(244, 138, 42, 0.2);
}

.site-user-menu {
  display: inline-flex;
  align-items: center;
  max-width: 13rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255, 208, 160, 0.24);
  border-radius: 8px;
  background: rgba(255, 251, 245, 0.08);
  color: rgba(255, 244, 232, 0.96);
  font-size: 0.88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-user-menu:hover,
.site-user-menu:focus {
  border-color: rgba(255, 236, 216, 0.62);
  background: rgba(255, 251, 245, 0.14);
  color: #fffdf9;
}

.site-signin-link {
  min-height: 2.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
}

.notification-dropdown {
  position: relative;
}

.notification-bell-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.notification-bell-button::after {
  display: none;
}

.notification-bell-button:hover,
.notification-bell-button:focus {
  color: #fff;
  border-color: rgba(247, 129, 27, 0.75);
  background: rgba(247, 129, 27, 0.16);
}

.notification-bell-button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.25rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  color: #111;
  background: #f7811b;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15rem;
  text-align: center;
  box-shadow: 0 0 0 2px #101820;
}

.notification-menu {
  width: min(24rem, calc(100vw - 1.5rem));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 30, 22, 0.16);
  background: #fffaf2;
  box-shadow: 0 1.2rem 2.5rem rgba(15, 20, 24, 0.22);
}

.notification-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(36, 30, 22, 0.1);
  background: #fffaf2;
}

.notification-menu-header button,
.notification-menu-item form button {
  border: 0;
  color: #8a4a12;
  background: transparent;
  font-weight: 800;
}

.notification-empty {
  padding: 1rem;
  color: #6b6258;
}

.notification-menu-list {
  max-height: 21rem;
  overflow-y: auto;
  background: #fffdf8;
}

.notification-menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(36, 30, 22, 0.08);
  background: #fffdf8;
}

.notification-menu-item.is-unread {
  background: linear-gradient(90deg, rgba(247, 129, 27, 0.16), #fffdf8 55%);
}

.notification-menu-item a {
  display: grid;
  gap: 0.22rem;
  color: inherit;
  text-decoration: none;
}

.notification-menu-title {
  color: #1e1a16;
  font-weight: 900;
}

.notification-menu-message {
  color: #5b5146;
  font-size: 0.88rem;
  line-height: 1.35;
}

.notification-view-all {
  display: block;
  padding: 0.8rem 1rem;
  color: #8a4a12;
  background: #fffaf2;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.passkey-nudge {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1060;
  display: flex;
  align-items: flex-start;
  max-width: 27rem;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(244, 138, 42, 0.32);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: 0 1rem 2.5rem rgba(20, 20, 20, 0.18);
}

.passkey-nudge-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.passkey-nudge-copy strong {
  color: #18120b;
  line-height: 1.1;
}

.passkey-nudge-copy span {
  color: #5d554c;
  font-size: 0.9rem;
  line-height: 1.35;
}

.passkey-nudge-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.5rem;
}

.additional-round-list {
  display: grid;
  gap: 0.85rem;
}

.additional-round-card {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdfa;
}

.extra-shot-detail {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.personal-outing-list,
.personal-round-list {
  display: grid;
  gap: 0.75rem;
}

.personal-outing-list {
  gap: 0.85rem;
}

.personal-trend-panel {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.personal-import-panel {
  max-width: 760px;
  margin: 2rem auto;
}

.personal-import-form {
  display: grid;
  gap: 1rem;
}

.personal-import-errors {
  border-top: 1px solid rgba(30, 26, 22, 0.12);
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.personal-import-errors h2 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.personal-insights-panel {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.personal-insights-summary {
  display: grid;
  justify-items: end;
  gap: 0.1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.personal-insights-summary strong {
  color: #111;
  font-size: 1.65rem;
  font-weight: 950;
  line-height: 1;
}

.personal-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.personal-insight-card {
  padding: 0.9rem;
  border: 1px solid rgba(39, 31, 24, 0.1);
  border-radius: 12px;
  background: #fffaf5;
}

.personal-insight-card h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 900;
}

.personal-breakdown-list {
  display: grid;
  gap: 0.58rem;
}

.personal-breakdown-row {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(7rem, 1.35fr) 3rem;
  align-items: center;
  gap: 0.65rem;
}

.personal-breakdown-label {
  min-width: 0;
}

.personal-breakdown-label strong,
.personal-breakdown-label span {
  display: block;
}

.personal-breakdown-label strong {
  color: #1c1712;
  font-size: 0.84rem;
  font-weight: 900;
}

.personal-breakdown-label span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.personal-breakdown-meter {
  height: 0.62rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(39, 31, 24, 0.12);
}

.personal-breakdown-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f26a16, #ff9f43);
}

.personal-breakdown-row b {
  color: #111;
  font-size: 0.82rem;
  font-weight: 950;
  text-align: right;
}

.personal-trend-controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.personal-trend-limit-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  padding: 0.25rem;
  border: 1px solid rgba(39, 31, 24, 0.1);
  border-radius: 999px;
  background: #fffaf4;
}

.personal-trend-limit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  color: #5f5147;
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.personal-trend-limit:hover,
.personal-trend-limit:focus-visible,
.personal-trend-limit.is-active {
  color: #fff;
  background: #f26a16;
}

.personal-trend-filter-form {
  display: grid;
  grid-template-columns: auto minmax(10rem, 1fr) auto minmax(8rem, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
}

.personal-trend-filter-form .form-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.personal-trend-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.personal-trend-stats div {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(39, 31, 24, 0.08);
  border-radius: 10px;
  background: #fff;
}

.personal-trend-stats span {
  display: block;
  color: #111;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
}

.personal-trend-stats small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.personal-trend-chart-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(39, 31, 24, 0.1);
  border-radius: 12px;
  background: #fff;
}

.personal-trend-chart {
  display: block;
  min-width: 720px;
  width: auto;
  max-width: none;
  height: 300px;
}

.personal-trend-plot-bg {
  fill: #fffaf5;
}

.personal-trend-axis {
  stroke: rgba(39, 31, 24, 0.34);
  stroke-width: 1;
}

.personal-trend-grid {
  stroke: rgba(39, 31, 24, 0.1);
  stroke-width: 1;
}

.personal-trend-point-guide {
  stroke: rgba(39, 31, 24, 0.06);
  stroke-width: 1;
}

.personal-trend-axis-label,
.personal-trend-x-label {
  fill: #75685f;
  font-size: 12px;
  font-weight: 750;
}

.personal-trend-line {
  fill: none;
  stroke: #f26a16;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.personal-trend-rolling-line {
  fill: none;
  stroke: #198754;
  stroke-dasharray: 7 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.personal-trend-point {
  cursor: pointer;
  stroke: #fff;
  stroke-width: 2;
}

.personal-trend-chart a:hover .personal-trend-point,
.personal-trend-chart a:focus .personal-trend-point {
  stroke: #111;
  stroke-width: 3;
}

.personal-trend-score-label {
  fill: #111;
  font-size: 12px;
  font-weight: 950;
  paint-order: stroke;
  stroke: #fff;
  stroke-linejoin: round;
  stroke-width: 4px;
}

.personal-trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.personal-trend-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.personal-trend-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
}

.personal-trend-dot--detail {
  background: #f26a16;
}

.personal-trend-dot--final {
  background: #6f7b86;
}

.personal-trend-line-key {
  width: 1.3rem;
  height: 0;
  border-top: 2px dashed #198754;
}

.personal-distribution-panel .site-panel-header {
  align-items: flex-start;
}

.personal-distribution-summary {
  min-width: 8rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(242, 106, 22, 0.24);
  border-radius: 12px;
  background: #fff8ef;
  text-align: right;
}

.personal-distribution-summary strong {
  display: block;
  color: #111;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.personal-distribution-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.personal-distribution-list {
  display: grid;
  gap: 0.4rem;
}

.personal-distribution-row {
  display: grid;
  grid-template-columns: 2.25rem minmax(6rem, 1fr) 2.4rem 3rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0.3rem 0.45rem;
  border-radius: 10px;
  background: #fffdfa;
}

.personal-distribution-row strong {
  color: #111;
  font-size: 1rem;
  font-weight: 950;
}

.personal-distribution-row > span,
.personal-distribution-row small {
  color: #4a4038;
  font-weight: 900;
  text-align: right;
}

.personal-distribution-row small {
  color: var(--muted);
  font-size: 0.76rem;
}

.personal-distribution-row.is-empty {
  opacity: 0.48;
}

.personal-distribution-meter {
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(39, 31, 24, 0.1);
}

.personal-distribution-meter span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f26a16, #f59a23);
}

.personal-outing-card {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(39, 31, 24, 0.13);
  border-radius: 12px;
  background: #fffdfa;
  box-shadow: 0 10px 22px rgba(38, 28, 16, 0.06);
}

.personal-outing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.personal-outing-header h3 {
  margin: 0.1rem 0 0.2rem;
  color: #111;
  font-size: 1.22rem;
  font-weight: 900;
}

.personal-outing-header p {
  margin: 0;
  color: var(--muted);
  font-weight: 780;
}

.personal-outing-total {
  min-width: 7rem;
  text-align: right;
}

.personal-outing-total strong {
  display: block;
  color: #111;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.personal-outing-total span,
.personal-outing-total small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.personal-outing-total small {
  font-size: 0.78rem;
}

.personal-outing-club-link {
  color: #5d3720;
  font-weight: 900;
  text-decoration-color: rgba(242, 106, 22, 0.45);
  text-underline-offset: 0.16rem;
}

.personal-outing-club-link:hover,
.personal-outing-club-link:focus-visible {
  color: #d65f1a;
}

.personal-outing-score-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr));
  gap: 0.38rem;
  margin-top: 0.62rem;
}

.personal-score-tile {
  display: grid;
  min-height: 4.1rem;
  padding: 0.42rem 0.5rem;
  border: 1px solid rgba(39, 31, 24, 0.1);
  border-radius: 10px;
  color: #20150f;
  background: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(39, 31, 24, 0.04);
}

.personal-score-tile:hover,
.personal-score-tile:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(242, 106, 22, 0.45);
  box-shadow: 0 8px 18px rgba(38, 28, 16, 0.08);
}

.personal-score-tile span,
.personal-score-tile small {
  color: rgba(32, 21, 15, 0.68);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.personal-score-tile strong {
  color: #111;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1;
}

.personal-score-tile--strong {
  border-color: rgba(242, 106, 22, 0.34);
  background: linear-gradient(180deg, #fff5ec, #ffe2c8);
}

.personal-score-tile--steady {
  background: linear-gradient(180deg, #fffdfa, #f5eee5);
}

.personal-score-tile--low {
  border-color: rgba(118, 105, 94, 0.24);
  background: linear-gradient(180deg, #fbfaf8, #ece5dc);
}

.club-typeahead {
  position: relative;
}

.club-typeahead-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.25rem);
  right: 0;
  left: 0;
  overflow: hidden;
  max-height: 16rem;
  overflow-y: auto;
  border: 1px solid rgba(39, 31, 24, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(36, 28, 20, 0.18);
}

.club-typeahead-option {
  display: block;
  width: 100%;
  padding: 0.82rem 1rem;
  border: 0;
  border-bottom: 1px solid rgba(39, 31, 24, 0.08);
  color: #111;
  background: #fff;
  font-weight: 800;
  text-align: left;
}

.club-typeahead-option:hover,
.club-typeahead-option:focus-visible {
  background: #fff4ec;
}

.round-date,
.round-score span,
.round-score small {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.round-date {
  color: #cf5318;
  font-size: 0.9rem;
}

.round-score {
  min-width: 5rem;
  text-align: right;
}

.round-score strong {
  display: block;
  color: #111;
  font-size: 2rem;
  font-weight: 900;
}

.round-score small {
  display: block;
  font-size: 0.75rem;
}

.trend-legend-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  margin-right: 0.25rem;
  vertical-align: -0.05rem;
}

@media (max-width: 991.98px) {
  .showcase-grid,
  .dashboard-panels,
  .directory-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-grid,
  .directory-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-header {
    flex-direction: column;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .site-account-nav {
    justify-content: flex-start;
    margin: 0.75rem 0 0;
  }

  .site-header-tag {
    display: none !important;
  }

  .site-brand-logo {
    width: clamp(210px, 42vw, 320px);
  }
}

@media (max-width: 767.98px) {
  body {
    background: linear-gradient(180deg, #f7f0e6 0%, #efe6da 100%);
  }

  .site-main {
    min-height: auto;
  }

  .hero-banner,
  .dashboard-stat,
  .site-panel,
  .showcase-tile {
    border-radius: 18px;
  }

  .hero-banner,
  .hero-banner-content {
    min-height: 30rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .directory-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .directory-stats div {
    padding: 0.8rem;
  }

  .directory-results-heading {
    align-items: start;
    flex-direction: column;
  }

  .directory-search-grid,
  .directory-refinement-grid {
    grid-template-columns: 1fr;
  }

  .directory-location-action {
    padding-bottom: 0;
  }

  .directory-location-action .btn,
  .directory-filter-actions .btn-primary {
    width: 100%;
  }

  .directory-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .club-list-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .club-list-meta {
    justify-items: start;
    min-width: 0;
  }

  .club-list-actions {
    justify-content: flex-start;
  }

  .club-list-details-grid,
  .club-list-details-facts {
    grid-template-columns: 1fr;
  }

  .club-list-details-facts div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .club-list-details-facts div:last-child {
    border-bottom: 0;
  }

  .club-list-details-map iframe {
    height: 17rem;
  }

  .club-list-details-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .club-list-details-confidence {
    text-align: left;
  }

  .club-list-address::before {
    content: "";
  }

  .club-list-address {
    display: block;
  }

  .club-detail-hero,
  .club-detail-section-heading-inline {
    align-items: flex-start;
    flex-direction: column;
  }

  .club-detail-title h1 {
    font-size: 1.8rem;
  }

  .club-detail-info-grid,
  .club-detail-facts div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .club-detail-map iframe {
    height: 22rem;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .passkey-nudge {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: none;
    flex-direction: column;
  }

  .passkey-nudge-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .score-app-shell {
    max-width: none;
  }

  .score-topbar {
    margin: -1rem -0.75rem 1rem;
    border-radius: 0 0 14px 14px;
  }

  .shot-strip {
    gap: 0.12rem;
  }

  .score-pad-button--swipe {
    min-height: 6.75rem;
  }

  .score-pad-button--muted {
    min-height: 3rem;
  }

  .personal-trend-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .personal-trend-limit-group {
    border-radius: 14px;
  }

  .personal-trend-filter-form {
    grid-template-columns: 1fr;
  }

  .personal-trend-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .personal-trend-chart {
    min-width: 720px;
  }

  .personal-distribution-panel .site-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .personal-distribution-summary {
    text-align: left;
  }

  .personal-distribution-row {
    grid-template-columns: 2rem minmax(4rem, 1fr) 2rem 2.65rem;
    gap: 0.45rem;
  }

  .personal-insights-summary {
    justify-items: start;
    text-align: left;
  }

.score-topbar-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.score-topbar-action--danger {
  color: #fff !important;
  background: #9b261d !important;
}

.personal-score-tile-wrap {
  display: grid;
  gap: .35rem;
}

.personal-score-tile-wrap form {
  margin: 0;
}

.personal-score-tile-wrap button {
  width: 100%;
  border: 1px solid rgba(155, 38, 29, .22);
  border-radius: 12px;
  padding: .35rem .5rem;
  color: #8d241d;
  background: rgba(255, 255, 255, .76);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.companion-action {
  min-height: 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
