.rounds-page {
  display: grid;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  min-width: 0;
}
.rounds-page * {
  box-sizing: border-box;
  min-width: 0;
}
.rounds-page > button {
  justify-self: start;
}
.rounds-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.rounds-heading h1,
.rounds-heading p {
  margin: 0;
}
.rounds-heading p:not(.eyebrow) {
  margin-top: 8px;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.6;
}
.rounds-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.rounds-search {
  flex: 1;
  min-width: min(280px, 100%);
}
.rounds-page input,
.rounds-page select {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}
.rounds-page label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.rounds-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 100%;
}
html[data-theme] #app .rounds-tabs .btn {
  min-height: 40px;
  padding: 8px 12px !important;
  font-size: 12px !important;
  white-space: nowrap;
  border-color: transparent !important;
  background: transparent !important;
  color: var(--muted) !important;
}
html[data-theme] #app .rounds-tabs .btn[aria-pressed="true"] {
  color: var(--ink) !important;
  background: var(--prologue-raised) !important;
}
.rounds-count {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.rounds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 16px;
}
.rounds-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow-wrap: anywhere;
}
.rounds-card h2,
.rounds-card h3 {
  margin: 0;
  font-size: 21px !important;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.rounds-card h3 {
  font-size: 17px !important;
}
.rounds-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.rounds-card-top,
.rounds-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.rounds-card-bottom {
  margin-top: auto;
  padding-top: 6px;
}
.rounds-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--prologue-raised);
}
.rounds-symbol svg,
.rounds-empty svg {
  width: 26px;
  height: 26px;
}
.rounds-tag {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 18px;
  background: var(--prologue-raised);
  color: var(--muted);
}
.rounds-region {
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.rounds-route-metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.rounds-route-metrics strong {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.rounds-route-info {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.rounds-route-info h2 {
  margin: 0;
  font-size: 18px !important;
}
.rounds-route-info p {
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.rounds-source {
  font-size: 13px;
  color: var(--ink);
  text-underline-offset: 4px;
}
.rounds-checkpoints summary {
  cursor: pointer;
  min-height: 44px;
  font-size: 14px;
  padding: 10px 0;
}
.rounds-checkpoints ol {
  padding-left: 24px;
  margin: 10px 0;
  columns: 2;
  column-gap: 24px;
}
.rounds-checkpoints li {
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.5;
  break-inside: avoid;
}
.rounds-section {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.rounds-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.rounds-section-heading h2,
.rounds-section-heading p {
  margin: 0;
}
.rounds-section-heading h2 {
  font-size: 21px !important;
}
.rounds-section-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.rounds-explainer {
  color: var(--muted);
  font-size: 12px !important;
  line-height: 1.6;
  margin: 0;
  max-width: 75ch;
}
.rounds-empty {
  grid-column: 1/-1;
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 32px 20px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  color: var(--muted);
}
.rounds-empty h2,
.rounds-empty p {
  margin: 0;
}
.rounds-empty h2 {
  font-size: 18px !important;
  color: var(--ink);
}
.rounds-empty p {
  font-size: 13px;
  max-width: 55ch;
  line-height: 1.6;
}
.rounds-private {
  font-size: 12px;
  color: var(--muted);
}
.rounds-tag.is-matched {
  color: var(--improved);
}
.rounds-tag.is-review {
  color: var(--amber);
}
.rounds-attempt-result {
  display: grid;
  gap: 7px;
}
.rounds-attempt-result strong {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
}
.rounds-attempt-result span {
  font-size: 12px;
  color: var(--muted);
}
.rounds-leaderboard {
  padding: 0;
  margin: 0;
  list-style: none;
}
.rounds-leaderboard li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.rounds-rank {
  width: 32px;
  font-size: 15px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.rounds-person {
  flex: 1;
  display: grid;
  gap: 6px;
}
.rounds-person strong {
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.rounds-person small {
  font-size: 12px;
  color: var(--muted);
}
.rounds-time {
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.rounds-support-filter {
  min-width: 160px;
}
.rounds-editor {
  display: grid;
  gap: 22px;
  max-width: 660px;
  width: 100%;
  margin: 0 auto;
}
.rounds-editor > button {
  justify-self: start;
}
.rounds-editor .rounds-card {
  gap: 20px;
}
.rounds-page .rounds-consent {
  display: flex;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.6;
  gap: 12px;
}
.rounds-consent input {
  width: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 2px 0;
}
.rounds-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rounds-form-error,
.rounds-error {
  color: var(--danger);
  font-size: 13px;
  line-height: 1.5;
}
.rounds-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  flex-wrap: wrap;
}
.rounds-research {
  padding: 16px;
  border-left: 2px solid var(--amber);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.rounds-community-shortcut {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rounds-community-shortcut h2,
.rounds-community-shortcut p {
  margin: 0;
}
.rounds-community-shortcut p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 600px) {
  .rounds-page {
    gap: 20px;
  }
  .rounds-card {
    padding: 18px;
  }
  .rounds-route-info {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 12px;
  }
  .rounds-checkpoints ol {
    columns: 1;
  }
  .rounds-toolbar {
    align-items: stretch;
  }
  .rounds-tabs {
    width: 100%;
  }
  html[data-theme] #app .rounds-tabs .btn {
    flex: 1;
    white-space: normal;
    font-size: 11px !important;
    padding: 8px 6px !important;
  }
  .rounds-time {
    font-size: 15px;
  }
  .rounds-leaderboard li {
    gap: 10px;
  }
  .rounds-route-metrics {
    gap: 14px;
  }
  .rounds-support-filter {
    width: 100%;
  }
}

.rounds-segment-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rounds-personal-best {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 480px) {
  .rounds-segment-times {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .rounds-page input:not([type="checkbox"]),
  .rounds-page select {
    font-size: 16px;
  }
}

.rounds-data-credit {
  font-size: 11px !important;
  color: var(--muted);
  line-height: 1.6 !important;
}
.rounds-data-credit a {
  color: inherit;
  text-underline-offset: 3px;
}
/* Discovery and effort navigation */
.rounds-discovery-heading {
  align-items: flex-end;
}
.rounds-main-tabs {
  width: fit-content;
  background: var(--surface);
}
.rounds-sync-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink);
}
.rounds-sync-status > span:nth-child(2) {
  flex: 1;
}
.rounds-sync-status small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.rounds-sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
}
.rounds-sync-dot.is-checking {
  background: var(--improved);
  animation: rounds-checking 1.6s ease-in-out infinite;
}
@keyframes rounds-checking {
  50% {
    opacity: 0.35;
  }
}
.rounds-filter-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.rounds-filter-chips button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 20px;
  min-height: 40px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.rounds-filter-chips button[aria-pressed="true"] {
  background: var(--prologue-raised);
  color: var(--ink);
  border-color: var(--ink);
}
.rounds-discovery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 14px;
}
.rounds-discovery-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}
.rounds-discovery-card:focus-within,
.rounds-discovery-card:hover {
  border-color: var(--muted);
}
.rounds-discovery-open {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.rounds-discovery-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.rounds-discovery-copy > strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.rounds-discovery-kind {
  font-size: 11px;
  color: var(--muted);
}
.rounds-discovery-copy .rounds-region {
  line-height: 1.4;
  font-size: 9px !important;
  letter-spacing: 0.8px;
}
.rounds-card-chevron {
  color: var(--muted);
  font-size: 22px;
}
.rounds-discovery-card > .rounds-route-metrics {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  gap: 16px;
  font-size: 11px;
}
.rounds-discovery-card .rounds-route-metrics strong {
  font-size: 13px;
}
.rounds-diagram {
  margin: 0;
  width: 128px;
  flex: none;
  color: var(--ink);
  padding: 8px 0;
}
.rounds-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}
.rounds-diagram figcaption {
  font-size: 8px;
  line-height: 1.4;
  text-align: center;
  color: var(--muted);
  margin-top: 3px;
}
.rounds-diagram-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  color: var(--muted);
}
.rounds-diagram-empty small {
  font-size: 9px;
}
.rounds-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rounds-detail-hero > div {
  flex: 1;
}
.rounds-detail-hero h1 {
  font-size: 32px !important;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 7px 0 18px;
}
.rounds-detail-hero .eyebrow {
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}
.rounds-detail-hero .rounds-diagram {
  width: 235px;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
}
.rounds-detail-hero .rounds-diagram figcaption {
  font-size: 9px;
}
.rounds-owner {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}
.rounds-detail-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.rounds-detail-tools > .btn {
  background: transparent !important;
  font-size: 12px !important;
  color: var(--muted) !important;
}
.rounds-efforts-section {
  border: 0;
  padding-top: 0;
}
.rounds-efforts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}
.rounds-effort-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  display: grid;
  gap: 16px;
}
.rounds-effort-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.rounds-effort-heading h3 {
  font-size: 16px !important;
  line-height: 1.4;
  margin: 10px 0 4px;
}
.rounds-effort-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.rounds-effort-numbers {
  display: flex;
  gap: 24px;
}
.rounds-effort-numbers > span {
  display: grid;
  gap: 5px;
}
.rounds-effort-numbers strong {
  font-size: 24px;
  letter-spacing: -0.6px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.rounds-effort-numbers em {
  font-style: normal;
  color: var(--muted);
  font-size: 15px;
}
.rounds-effort-numbers small {
  font-size: 11px;
  color: var(--muted);
}
.rounds-effort-check summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
  min-height: 30px;
  padding: 6px 0;
}
.rounds-effort-check p {
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0;
  color: var(--muted);
}
.rounds-effort-actions {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
html[data-theme] #app .rounds-effort-actions .btn {
  font-size: 12px !important;
  min-height: 36px;
  padding: 7px 12px;
  line-height: 20px;
}
html[data-theme] #app .rounds-effort-actions .btn:last-child {
  margin-left: auto;
  background: transparent !important;
  color: var(--muted) !important;
}
.rounds-best-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.rounds-best-summary > span {
  font-size: 12px;
  color: var(--muted);
}
.rounds-best-summary strong {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.rounds-best-summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.rounds-about {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.rounds-about > summary {
  padding: 18px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}
.rounds-about > summary > span {
  float: right;
  font-size: 11px;
  color: var(--muted);
}
.rounds-about-body {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  padding: 20px;
}
.rounds-about-body h2 {
  font-size: 16px !important;
  margin: 0 0 12px;
}
.rounds-about-body p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.rounds-checkpoint-list {
  padding-left: 23px;
  margin: 0;
}
.rounds-checkpoint-list li {
  padding: 5px 0;
  font-size: 12px;
  line-height: 1.5;
}
.rounds-route-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.rounds-route-actions p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.rounds-route-actions > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.rounds-route-actions .btn {
  font-size: 12px !important;
}
.rounds-recent-efforts {
  display: grid;
  gap: 12px;
}
.rounds-effort-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.rounds-effort-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--prologue-raised);
}
.rounds-effort-symbol svg {
  width: 23px;
  height: 23px;
}
.rounds-effort-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.rounds-effort-copy > strong {
  font-size: 15px;
  font-weight: 500;
}
.rounds-effort-copy > small {
  font-size: 11px;
  color: var(--muted);
}
.rounds-effort-result {
  display: grid;
  gap: 5px;
  text-align: right;
}
.rounds-effort-result strong {
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.rounds-effort-result small {
  font-size: 10px;
  color: var(--muted);
}
.rounds-effort-link > span:last-child {
  color: var(--muted);
}
.rounds-reports {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.rounds-reports > summary {
  cursor: pointer;
  font-size: 13px;
  min-height: 32px;
}
.rounds-report-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.rounds-report-row p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 6px 0;
}
.rounds-page textarea {
  font: inherit;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink);
  resize: vertical;
}
.rounds-community-shortcut {
  margin: 18px auto 0;
  max-width: 1080px;
  padding: 13px 0;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.rounds-community-shortcut .btn {
  font-size: 12px !important;
}
.hills-rounds-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--prologue-raised);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.hills-rounds-link > span:first-child {
  display: grid;
  gap: 4px;
}
.hills-rounds-link strong {
  font-size: 14px;
  font-weight: 500;
}
.hills-rounds-link small {
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 600px) {
  .rounds-discovery-heading h1 {
    font-size: 27px !important;
  }
  .rounds-discovery-heading p:not(.eyebrow) {
    font-size: 13px;
  }
  .rounds-detail-hero {
    gap: 14px;
    align-items: flex-start;
  }
  .rounds-detail-hero h1 {
    font-size: 25px !important;
    margin-bottom: 14px;
  }
  .rounds-detail-hero .rounds-diagram {
    width: 110px;
    padding: 7px;
  }
  .rounds-detail-hero .rounds-diagram figcaption {
    font-size: 7px;
  }
  .rounds-detail-hero .rounds-route-metrics {
    font-size: 10px;
    gap: 10px;
  }
  .rounds-detail-hero .rounds-route-metrics strong {
    font-size: 13px;
  }
  .rounds-discovery-open {
    gap: 12px;
    padding: 14px;
  }
  .rounds-discovery-open .rounds-diagram {
    width: 100px;
  }
  .rounds-discovery-copy > strong {
    font-size: 16px;
  }
  .rounds-discovery-card > .rounds-route-metrics {
    padding: 11px 14px;
    gap: 12px;
  }
  .rounds-main-tabs {
    width: fit-content;
    max-width: 100%;
  }
  .rounds-about-body {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 22px;
  }
  .rounds-best-summary {
    flex-wrap: wrap;
    gap: 10px;
  }
  .rounds-best-summary small {
    width: 100%;
    margin: 0;
  }
  .rounds-effort-link {
    padding: 14px;
    gap: 10px;
  }
  .rounds-effort-symbol {
    display: none;
  }
  .rounds-effort-copy > strong {
    font-size: 14px;
  }
  .rounds-effort-result strong {
    font-size: 17px;
  }
  .rounds-effort-result small {
    font-size: 9px;
  }
  .rounds-sync-status {
    font-size: 12px;
  }
  .rounds-sync-status small {
    font-size: 10px;
  }
  .rounds-page textarea {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rounds-sync-dot.is-checking {
    animation: none;
  }
  .rounds-discovery-card {
    transition: none;
  }
}
.activity-round-efforts {
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.activity-round-efforts-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.activity-round-efforts h2 {
  font-size: 16px !important;
  margin: 0 !important;
}
.activity-round-efforts-heading > span {
  font-size: 10px;
  color: var(--muted);
}
.activity-round-efforts > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  width: 100%;
  padding: 13px 0;
  font: inherit;
  cursor: pointer;
}
.activity-round-efforts > button + button {
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.activity-round-efforts > button > span:first-child {
  display: grid;
  gap: 5px;
}
.activity-round-efforts strong {
  font-size: 14px;
  font-weight: 500;
}
.activity-round-efforts small {
  font-size: 11px;
  color: var(--muted);
}
.activity-round-efforts > button > span:last-child {
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.activity-round-efforts b {
  font-size: 21px;
  font-weight: 400;
  color: var(--muted);
}
.activity-rounds-pending {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0;
}
html[data-theme] #app .rounds-tabs.rounds-main-tabs .btn {
  white-space: nowrap !important;
  flex: none !important;
  min-width: max-content;
}
html[data-theme] #app .rounds-detail-tools > .btn {
  font-size: 12px !important;
  min-height: 40px !important;
  padding: 8px 12px !important;
}
@media (max-width: 600px) {
  html[data-theme] #app .rounds-detail-hero h1 {
    font-size: 25px !important;
    line-height: 1.2 !important;
  }
  html[data-theme] #app .rounds-discovery-heading h1 {
    font-size: 27px !important;
    line-height: 1.2 !important;
  }
}

.rounds-report-link {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  padding: 4px 0;
  min-height: 32px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rounds-report-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.rounds-report-row small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

/* Native Rounds: quiet destination tabs, grouped discovery and full-card targets. */
.rounds-page {
  gap: 22px;
}
.rounds-discovery-heading {
  align-items: center;
}
.rounds-discovery-heading h1 {
  font-size: 28px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.7px;
}
.rounds-create-button {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}
.rounds-create-button:hover {
  background: var(--prologue-raised);
}
.rounds-tabs.rounds-main-tabs {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  gap: 18px;
}
html[data-theme] #app .rounds-tabs.rounds-main-tabs .btn {
  position: relative;
  flex: 1 !important;
  min-width: 0;
  min-height: 46px;
  padding: 11px !important;
  font-size: 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none;
}
html[data-theme] #app .rounds-tabs.rounds-main-tabs .btn[aria-pressed="true"] {
  background: transparent !important;
  color: var(--ink) !important;
}
.rounds-tabs .btn[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.rounds-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.rounds-search {
  min-width: 0;
}
.rounds-search > span {
  font-size: 12px;
  color: var(--muted);
}
.rounds-search input {
  background: var(--surface);
  border-color: var(--line);
}
.rounds-catalogue-section {
  display: grid;
  gap: 12px;
}
.rounds-catalogue-section > h2 {
  font-size: 13px !important;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.rounds-count {
  font-size: 11px;
}
.rounds-discovery-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 14px;
}
.rounds-discovery-card {
  border-radius: 19px;
}
.rounds-discovery-open {
  display: grid;
  gap: 13px;
  padding: 16px;
}
.rounds-tile-main {
  display: flex;
  gap: 14px;
  align-items: center;
}
.rounds-discovery-copy > strong {
  font-size: 18px;
}
.rounds-discovery-copy .rounds-region {
  font-size: 12px !important;
  letter-spacing: 0;
  text-transform: none;
}
.rounds-discovery-kind {
  font-size: 12px;
  line-height: 1.5;
}
.rounds-discovery-open > .rounds-route-metrics {
  padding: 0;
  border: 0;
  gap: 16px;
  font-size: 12px;
}
.rounds-discovery-open > .rounds-route-metrics strong {
  font-size: 14px;
  font-weight: 500;
}
.rounds-segment-symbol {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 19px;
  background: var(--prologue-raised);
}
.rounds-segment-symbol svg {
  width: 29px;
  height: 29px;
}
.rounds-diagram {
  position: relative;
  width: 104px;
  flex: none;
  padding: 0;
  border-radius: 15px;
  background: var(--prologue-raised);
  overflow: hidden;
}
.rounds-diagram svg {
  width: 100%;
  height: 98px;
}
.rounds-diagram figcaption {
  padding: 0 3px 6px;
  font-size: 7px;
  margin: 0;
}
.rounds-diagram-empty {
  min-height: 98px;
  padding: 10px;
}
.rounds-diagram-empty svg {
  width: 36px;
  height: 36px;
}
.rounds-diagram-empty small {
  font-size: 8px;
  text-align: center;
  line-height: 1.4;
}
.rounds-detail-hero {
  align-items: flex-start;
  gap: 22px;
}
.rounds-detail-hero .rounds-diagram {
  width: 240px;
  padding: 0;
  background: var(--prologue-raised);
  border: 0;
}
.rounds-detail-hero .rounds-diagram svg {
  height: 148px;
}
.rounds-detail-hero .rounds-diagram figcaption {
  font-size: 9px;
  padding: 0 5px 8px;
}
.rounds-detail-tools > .rounds-tabs {
  flex: 1;
  min-width: min(250px, 100%);
}
.rounds-recent-efforts {
  gap: 0;
}
.rounds-recent-efforts > h2 {
  font-size: 17px !important;
  margin: 0 0 6px;
}
.rounds-effort-link {
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.rounds-effort-link .rounds-tag {
  padding: 0;
  background: transparent;
  font-size: 12px;
}
.rounds-effort-link .is-matched {
  color: var(--improved);
}
.rounds-effort-link .is-review {
  color: var(--amber);
}
.rounds-effort-copy > strong {
  font-size: 16px;
  font-weight: 600;
}
.rounds-effort-result strong {
  font-size: 18px;
}
.rounds-effort-link:hover {
  background: var(--surface);
}
.rounds-sync-status {
  padding: 16px;
  border: 0;
  border-radius: 17px;
  background: var(--surface);
}
.rounds-sync-status small {
  font-size: 12px;
  line-height: 1.5;
}
.rounds-about {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.rounds-about > summary {
  padding: 18px 0;
  min-height: 48px;
}
.rounds-about-body {
  border: 0;
  padding: 0 0 18px;
}
.rounds-best-summary {
  border: 0;
  border-radius: 17px;
}
.rounds-page button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  html[data-theme] #app .rounds-discovery-heading h1 {
    font-size: 24px !important;
  }
  .rounds-page {
    gap: 18px;
  }
  .rounds-discovery-open .rounds-diagram {
    width: 104px;
  }
  .rounds-discovery-open {
    padding: 16px;
  }
  .rounds-discovery-copy > strong {
    font-size: 18px;
  }
  .rounds-detail-hero {
    flex-direction: column;
  }
  .rounds-detail-hero .rounds-diagram {
    width: 100%;
  }
  .rounds-detail-hero .rounds-diagram svg {
    height: 158px;
  }
  .rounds-detail-hero .rounds-diagram figcaption {
    font-size: 9px;
  }
  .rounds-detail-tools {
    gap: 10px;
  }
  .rounds-detail-tools > .rounds-tabs {
    flex-basis: 100%;
  }
  .rounds-effort-copy > strong {
    font-size: 15px;
  }
  .rounds-effort-result strong {
    font-size: 17px;
  }
}
.rounds-map {
  position: relative;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}
.rounds-map-canvas {
  position: absolute;
  inset: 0;
  min-height: 280px;
}
.rounds-map > p {
  position: relative;
  pointer-events: none;
  padding: 16px;
  margin: 0;
  color: var(--muted);
}
.rounds-map-tools,
.rounds-filter-row,
.rounds-ranking-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rounds-map-tools > p {
  flex: 1;
}
.rounds-ranking-filters {
  margin-bottom: 16px;
}
.rounds-ranking-filters label,
.rounds-overlay-choice {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.rounds-overlay-choice {
  max-width: 420px;
  margin: 12px 0;
}
.rounds-card-foot {
  display: block;
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 12px;
}
.rounds-pass-list {
  padding-left: 20px;
}
.rounds-pass-list li {
  padding: 5px;
}
.rounds-pass-list strong {
  float: right;
  font-variant-numeric: tabular-nums;
}
.rounds-filter-row .rounds-tabs {
  overflow-x: auto;
  max-width: 100%;
}
.rounds-map .mapboxgl-marker {
  cursor: grab;
}
@media (max-width: 600px) {
  .rounds-map,
  .rounds-map-canvas {
    min-height: 250px;
  }
  .rounds-ranking-filters {
    gap: 10px;
  }
  .rounds-filter-row {
    display: block;
  }
  .rounds-map-tools .btn {
    min-height: 44px;
  }
}

.rounds-map-navigation {
  position: absolute;
  top: 76px;
  left: 16px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.rounds-map-navigation .btn {
  min-height: 44px;
  background: var(--surface, #1d1d1d);
  border-radius: 18px;
}
.rounds-profile-effort {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.profile-segments-summary {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.profile-segments-summary h2 {
  font-size: 18px;
}
.round-map-checkpoint {
  width: 30px;
  height: 30px;
  border: 1px solid #ababab;
  border-radius: 50%;
  background: #1d1d1d;
  color: #f5f5f5;
  font: 600 12px Arial;
  cursor: pointer;
}
.rounds-map .mapboxgl-popup-content {
  background: #1d1d1d;
  color: #f5f5f5;
}
