:root {
  color-scheme: light;
  --ink: #192f2c;
  --teal: #164a42;
  --muted: #5d6b64;
  --paper: #f7f6ef;
  --white: #fffefa;
  --line: #dcded3;
  --orange: #f4a269;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "STZhongsong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent
}

button,
a {
  font: inherit;
  color: inherit
}

a {
  text-decoration: none
}

button {
  border: 0;
  cursor: pointer;
  background: none
}

button:disabled {
  cursor: default;
  opacity: .55
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #d77639;
  outline-offset: 4px
}

[hidden] {
  display: none !important
}

i[data-icon] {
  display: inline-flex;
  flex-shrink: 0;
  font-style: normal
}

svg.ico {
  width: 1.16em;
  height: 1.16em;
  display: block;
  flex: none
}

h1,
h2,
h3,
p {
  margin: 0
}

.wrap {
  width: min(1220px, calc(100% - 100px));
  margin-inline: auto
}

.mast {
  border-bottom: 1px solid var(--line);
  background: var(--white)
}

.mast-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 58px
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--teal);
  flex: none
}

.brand span {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .045em
}

.mast nav {
  display: flex;
  align-self: stretch;
  gap: 30px
}

.mast nav a {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 15px;
  font-weight: 570;
  color: var(--muted)
}

.mast nav a[aria-current=page] {
  color: var(--teal);
  font-weight: 750
}

.mast nav a[aria-current=page]:after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--teal)
}

.help-btn {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600
}

.help-btn:hover,
.secondary:hover,
.quiet-btn:hover,
.filters button:hover {
  background: #e9ede4
}

.hero {
  display: grid;
  grid-template-columns: 43% 57%;
  overflow: hidden;
  isolation: isolate;
  position: relative;
  margin: 30px 0 36px;
  min-height: 327px;
  border-radius: 14px;
  background: #123e38;
  color: #fffaf0
}

.hero-copy {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding: 34px clamp(28px, 3.5vw, 54px);
  overflow: hidden
}

.hero-copy:before,
.hero-copy:after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  opacity: .33;
  inset: auto -185px -270px auto;
  width: 390px;
  height: 380px;
  transform: rotate(-25deg);
  border-radius: 43%;
  border: 1px solid #71a28b;
  box-shadow: 0 0 0 10px #123e38, 0 0 0 11px #63987f, 0 0 0 22px #123e38, 0 0 0 23px #558874, 0 0 0 35px #123e38, 0 0 0 36px #528572, 0 0 0 49px #123e38, 0 0 0 50px #467b69, 0 0 0 65px #123e38, 0 0 0 66px #467b69, 0 0 0 83px #123e38, 0 0 0 84px #467b69
}

.hero-copy:after {
  inset: -316px auto auto -234px;
  opacity: .16
}

.hero-location {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e0dec0;
  letter-spacing: .07em;
  font-weight: 600
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 5.2vw, 79px);
  line-height: 1.18;
  letter-spacing: -.055em;
  font-weight: 900;
  margin: 12px 0 14px
}

.hero h1 span {
  color: #f4b481
}

.hero-copy p {
  color: #e2e8d8;
  font-size: 16px;
  line-height: 1.9;
  max-width: 26em;
  letter-spacing: .025em
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 24px
}

.primary,
.secondary,
.quiet-btn,
.hero-link,
.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650
}

.primary,
.secondary {
  border-radius: 8px;
  padding: 11px 19px;
  font-size: 15px;
  min-height: 44px
}

.primary {
  background: var(--teal);
  color: #fff
}

.primary:hover {
  background: #215e52
}

.hero .primary {
  background: #f5a46e;
  color: #2b2c21;
  padding: 12px 22px
}

.hero .primary:hover {
  background: #ffc092
}

.hero-link {
  font-size: 14px;
  color: #ecefdf
}

.hero-picture {
  position: relative;
  min-width: 0;
  min-height: 100%;
  isolation: isolate
}

.hero-picture>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  position: absolute;
  inset: 0
}

.hero-picture:after {
  content: "";
  position: absolute;
  inset: 58% 0 0;
  background: linear-gradient(transparent, #101d1c66);
  pointer-events: none;
  z-index: 0
}

.picture-label {
  position: absolute;
  z-index: 1;
  bottom: 23px;
  left: 31px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: white;
  text-shadow: 0 1px 6px #000;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .06em
}

.viewfinder {
  position: absolute;
  inset: 15px;
  z-index: 1;
  pointer-events: none
}

.viewfinder b {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #fff8e5c4;
  border-style: solid;
  border-width: 0
}

.viewfinder b:nth-child(1) {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px
}

.viewfinder b:nth-child(2) {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0
}

.viewfinder b:nth-child(3) {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px
}

.viewfinder b:nth-child(4) {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0
}

.catalog {
  scroll-margin-top: 25px
}

.section-head,
.section-titles,
.filters {
  display: flex;
  align-items: center
}

.section-head {
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 17px
}

.section-titles {
  gap: 12px
}

.section-titles h2,
.journey h1 {
  font: 800 30px/1.3 var(--serif);
  letter-spacing: .02em
}

.section-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #e9eee1;
  color: var(--teal);
  border: 1px solid #d5decd;
  border-radius: 9px;
  font-size: 20px
}

.filters {
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  background: #eceee6;
  border-radius: 24px
}

.filters button {
  border-radius: 20px;
  padding: 6px 15px;
  font-size: 13px;
  font-weight: 650;
  color: #667169
}

.filters button[aria-pressed=true] {
  background: var(--teal);
  color: #fff
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

.stop-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d9dcd1;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 5px #24382b06;
  transition: transform .15s, box-shadow .15s;
  text-align: left;
  min-width: 0
}

.stop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 18px #1b342c16
}

.card-photo {
  aspect-ratio: 1.95;
  position: relative;
  overflow: hidden;
  background: #d9e0d5
}

.card-photo>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s
}

.stop-card:hover .card-photo>img {
  transform: scale(1.025)
}

.region {
  position: absolute;
  top: 12px;
  left: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #fffdf1f2;
  color: #263e33;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 1px 4px #23372a22
}

.card-body {
  padding: 15px 17px 16px;
  position: relative
}

.card-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  padding-right: 24px;
  margin: 4px 0 8px
}

.station,
.place-number {
  color: #976337;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 12px
}

.station {
  display: flex;
  gap: 8px;
  align-items: center
}

.station:after {
  content: "";
  width: 20px;
  height: 1px;
  background: #c7b094
}

.card-meta {
  color: var(--muted);
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.card-enter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #d3dbce;
  border-radius: 50%;
  color: var(--teal)
}

.card-enter .ico {
  width: 16px
}

.done-chip {
  color: #316044
}

.journey {
  min-height: 65vh;
  padding-top: 40px
}

.journey-count {
  color: var(--muted);
  font-variant-numeric: tabular-nums
}

.empty,
.load-error {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--muted)
}

.empty p,
.load-error p {
  margin: 6px 0 15px
}

.empty h2 {
  font-family: var(--serif);
  color: var(--ink)
}

#catalog-status:not(:empty) {
  margin-bottom: 20px
}

footer {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding: 20px 0 26px;
  font-size: 13px
}

footer>span,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px
}

.text-button {
  color: var(--teal);
  padding: 4px 0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px
}

.play {
  padding: 22px 0 16px;
  min-height: 70vh
}

.play-top,
.game-title,
.game-hud,
.game-actions,
.progress,
.right-actions {
  display: flex;
  align-items: center
}

.play-top,
.game-title,
.game-hud,
.game-actions {
  justify-content: space-between;
  gap: 12px
}

.back,
.quiet-btn {
  color: var(--muted);
  font-size: 14px;
  padding: 6px 0
}

.quiet-btn {
  padding: 7px 10px;
  border-radius: 7px
}

.game-title {
  margin: 15px 0
}

.place-number {
  font-size: 13px
}

.game-title h1 {
  font: 800 clamp(24px, 3vw, 39px)/1.4 var(--serif);
  margin-top: 3px
}

.clock {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 650 19px/1.2 ui-monospace, monospace;
  color: var(--teal);
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white)
}

.game-hud {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  flex-wrap: wrap
}

.progress {
  gap: 9px;
  font-size: 14px;
  white-space: nowrap
}

.progress strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums
}

.progress #dots {
  margin-left: 6px;
  display: flex;
  gap: 5px
}

.progress #dots b {
  width: 9px;
  height: 9px;
  background: #d6dbcf;
  border-radius: 50%
}

.progress #dots b.seen {
  background: #39856f
}

.progress #dots b.hinted {
  background: #c27638
}

#game-msg {
  color: var(--muted);
  font-size: 14px
}

.boards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start
}

.board {
  min-width: 0
}

.board-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 5px;
  font-weight: 650;
  font-size: 13px;
  color: var(--muted)
}

.board-label b {
  display: grid;
  place-items: center;
  color: var(--teal);
  font: 750 12px/1 ui-monospace, monospace;
  border: 1px solid #b7c9bc;
  border-radius: 3px;
  width: 19px;
  height: 19px
}

.photo {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background: #e4e7de;
  border-radius: 8px;
  cursor: crosshair;
  touch-action: manipulation;
  user-select: none;
  line-height: 0
}

.photo>img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none
}

.spot,
.wrong,
.aim {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  aspect-ratio: 1
}

.spot {
  border: 3px solid #fff;
  box-shadow: 0 0 0 2.5px #16856b, inset 0 0 0 2px #16856b;
  background: #30a47b1a
}

.spot.hinted {
  box-shadow: 0 0 0 2.5px #a95e24, inset 0 0 0 2px #a95e24;
  background: #feac3e24
}

.wrong {
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  background: #9d322cdd;
  color: white;
  display: grid;
  place-items: center;
  font: 750 18px/1 sans-serif
}

.aim {
  width: 24px;
  height: 24px;
  border: 2px dashed white;
  box-shadow: 0 0 0 2px var(--teal)
}

.game-actions {
  margin-top: 19px;
  padding-top: 14px;
  border-top: 1px solid var(--line)
}

.right-actions {
  gap: 9px
}

.secondary {
  border: 1px solid #b9c8b9;
  background: var(--white);
  color: var(--teal)
}

#hints-left {
  background: #ffffff26;
  border-radius: 4px;
  padding: 0 5px
}

.zoomed .photo {
  border-radius: 5px
}

.zoomed .game-actions {
  position: sticky;
  z-index: 3;
  bottom: 0;
  background: var(--paper);
  padding-bottom: 10px
}

.play #play-error {
  margin-top: 12px;
  color: #8b3b22
}

.play #play-error button {
  margin-left: 10px;
  text-decoration: underline;
  font-weight: 700
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(calc(100vw - 24px), 480px);
  width: 480px;
  overflow: visible;
  color: var(--ink)
}

dialog::backdrop {
  background: #1228219c;
  backdrop-filter: blur(3px)
}

.dialog-card {
  position: relative;
  background: var(--white);
  padding: 32px;
  border-radius: 15px;
  border: 1px solid var(--line);
  max-height: 85dvh;
  overflow: auto;
  box-shadow: 0 22px 65px #0e241e40
}

.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted)
}

.dialog-close:hover {
  background: #e7ece1
}

.dialog-card h2 {
  font: 800 28px/1.4 var(--serif);
  padding-right: 22px;
  margin: 4px 0 13px
}

.dialog-card h3 {
  font: 750 18px/1.5 var(--serif);
  margin-top: 12px
}

.dialog-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
  margin: 7px 0
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px
}

.credit-item {
  border-top: 1px solid var(--line);
  padding-bottom: 9px
}

.source-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 7px
}

.source-links a {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--teal)
}

.result-stats {
  display: flex;
  gap: clamp(8px, 3vw, 18px);
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  padding: 12px 0;
  margin: 14px 0
}

.result-stats span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 13px
}

.result-stats strong {
  font-size: 19px;
  color: var(--teal)
}

.dialog-card ul,
.dialog-card ol {
  padding-left: 1.4em;
  color: var(--muted);
  line-height: 1.9
}

.dialog-card summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--teal);
  font-weight: 650
}

.dialog-card details {
  margin-top: 12px
}

@media(min-width:1550px) {
  .hero {
    min-height: 365px
  }
}

@media(max-width:960px) {
  .wrap {
    width: calc(100% - 48px)
  }

  .mast-inner {
    gap: 36px
  }

  .hero {
    min-height: 300px
  }

  .hero-copy {
    padding: 27px
  }

  .hero h1 {
    font-size: clamp(44px, 5.65vw, 58px)
  }

  .hero-actions {
    gap: 13px
  }

  .cards {
    gap: 14px
  }

  .card-body {
    padding: 13px
  }

  .card-body h3 {
    font-size: 19px
  }

  .card-enter {
    right: 12px;
    bottom: 12px
  }
}

@media(max-width:720px) {
  .wrap {
    width: calc(100% - 32px)
  }

  .mast-inner {
    height: 60px;
    gap: 22px
  }

  .brand {
    gap: 7px
  }

  .brand img {
    width: 32px;
    height: 32px
  }

  .brand span {
    font-size: 21px
  }

  .mast nav {
    gap: 14px
  }

  .mast nav a {
    font-size: 13px
  }

  .help-btn {
    padding: 7px;
    min-width: 34px;
    min-height: 34px;
    justify-content: center
  }

  .help-btn span {
    display: none
  }

  .hero {
    margin: 17px 0 24px;
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 11px
  }

  .hero-copy {
    padding: 23px 24px 22px
  }

  .hero-location {
    font-size: 12px
  }

  .hero h1 {
    font-size: clamp(40px, 9.6vw, 62px);
    margin: 7px 0 8px
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.65;
    max-width: 33em
  }

  .hero-actions {
    margin-top: 14px;
    gap: 20px
  }

  .hero .primary {
    font-size: 14px;
    min-height: 40px;
    padding: 8px 16px
  }

  .hero-link {
    font-size: 13px
  }

  .hero-picture {
    min-height: 0;
    aspect-ratio: 2.8
  }

  .hero-picture>img {
    object-position: 50% 55%
  }

  .viewfinder {
    inset: 9px
  }

  .viewfinder b {
    width: 12px;
    height: 12px
  }

  .picture-label {
    bottom: 12px;
    left: 17px;
    font-size: 11px
  }

  .section-head {
    gap: 10px;
    flex-wrap: wrap
  }

  .section-titles {
    gap: 8px
  }

  .section-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
    border-radius: 7px
  }

  .section-titles h2,
  .journey h1 {
    font-size: 24px
  }

  .filters button {
    padding: 5px 9px;
    font-size: 12px
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px
  }

  .card-photo {
    aspect-ratio: 1.58
  }

  .card-body {
    padding: 10px 11px 12px
  }

  .card-body h3 {
    font-size: 17px;
    padding-right: 0;
    line-height: 1.45
  }

  .card-meta {
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px
  }

  .card-enter {
    display: none
  }

  .region {
    font-size: 11px;
    top: 7px;
    left: 7px;
    padding: 3px 6px
  }

  .station {
    font-size: 11px
  }

  .journey {
    padding-top: 24px
  }

  .play {
    padding-top: 10px
  }

  .game-title {
    margin: 7px 0
  }

  .game-title h1 {
    font-size: 24px
  }

  .game-hud {
    padding: 8px 0
  }

  .boards {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .board-label {
    font-size: 12px;
    margin-bottom: 3px
  }

  .game-actions {
    margin-top: 12px
  }

  .game-hud #game-msg {
    font-size: 12px
  }

  .progress {
    font-size: 13px
  }

  .progress #dots {
    margin: 0;
    gap: 4px
  }

  .progress #dots b {
    width: 7px;
    height: 7px
  }

  .clock {
    font-size: 16px
  }

  .dialog-card {
    padding: 24px
  }

  .primary,
  .secondary {
    padding: 9px 12px
  }

  .quiet-btn {
    padding: 7px 3px
  }

  .game-actions .quiet-btn {
    font-size: 13px
  }

  .right-actions {
    gap: 6px
  }

  .play-top .quiet-btn {
    font-size: 13px
  }

  footer {
    margin-top: 23px;
    line-height: 1.6
  }
}

@media(max-width:380px) {
  .mast-inner {
    gap: 12px
  }

  .brand span {
    font-size: 19px
  }

  .mast nav {
    gap: 11px
  }

  .section-head {
    gap: 8px
  }

  .filters button {
    padding: 5px 7px
  }

  .section-titles h2 {
    font-size: 22px
  }

  .card-body h3 {
    font-size: 16px
  }

  .game-hud #game-msg {
    width: 100%
  }

  .progress #dots {
    gap: 5px
  }
}

@media(max-height:540px) and (orientation:landscape) {
  .play .boards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .mast-inner {
    height: 46px
  }

  .play-top {
    margin: 0
  }

  .play {
    padding-top: 4px
  }

  .game-title {
    margin: 2px 0
  }

  .game-title h1 {
    font-size: 21px
  }

  .game-hud {
    padding: 5px 0
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }
}

.pan {
  width: 100%;
  overflow: hidden;
  overscroll-behavior: contain
}

.zoomed .boards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none
}

.zoomed .pan {
  overflow: auto;
  max-height: 54svh;
  border-radius: 7px
}

.zoomed .photo {
  width: 190%;
  max-width: none;
  touch-action: pan-x pan-y
}

.journey-group {
  font: 750 21px/1.5 var(--serif);
  margin: 22px 0 12px
}

@media(max-width:720px) and (orientation:portrait) {
  .zoomed .boards {
    grid-template-columns: 1fr
  }

  .zoomed .pan {
    max-height: 33svh
  }
}

.place-address { display: flex; align-items: center; gap: 5px; }
.card-meta { flex-wrap: wrap; padding-right: 24px; }
@media (max-width: 720px) { .card-meta { padding-right: 0; } }

.challenge-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin: -12px 0 28px;
}
.mode-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fffaf2;
  border: 1px solid #e3d1b9;
  border-radius: 10px;
  text-align: left;
}
.mode-card:nth-child(2) { background: #eff4ec; border-color: #cedbcc; }
.mode-card:hover { box-shadow: 0 2px 8px #294a3118; }
.mode-icon { color: #8d5025; padding: 9px; border-radius: 8px; background: #f6e7d2; display: grid; place-items:center; }
.mode-card:nth-child(2) .mode-icon { color: var(--teal); background: #dfeadd; }
.mode-card strong, .mode-card small { display:block; }
.mode-card small { font-size: 13px; color: var(--muted); }
.mode-card>i { margin-left:auto; color:var(--muted); }
.station-count { font-size: 13px; color: var(--muted); white-space:nowrap; }
.clock.urgent { background: #fff1e3; color: #893913; border-color: #d49e7d; }
footer { flex-wrap:wrap; }
@media(max-width:720px) {
  .challenge-modes { gap: 8px; margin: -7px 0 22px; }
  .mode-card { padding: 11px 9px; gap: 7px; align-items: flex-start; }
  .mode-card>i { display:none; }
  .mode-icon { padding: 5px; font-size: 13px; }
  .mode-card strong { font-size: 14px; }
  .mode-card small { font-size: 12px; margin-top:3px; }
  .station-count { font-size:12px; }
  footer a { order:1; width:100%; }
}
