.adventure-place-page {
  min-height: 100dvh;
  overflow-x: hidden;
  background: #e6ecee;
}

.adventure-place-inline[hidden] { display: none; }

.history-adventure-inline.is-place-active {
  overflow: visible;
}

.history-adventure-inline.is-place-active #historyAdventureInlineSwitch,
.history-adventure-inline.is-place-active #historyAdventureMain {
  display: none;
}

.adventure-place-inline .adventure-place-app {
  width: 100%;
  min-height: 0;
  box-shadow: none;
}

.adventure-place-inline .adventure-place-topbar {
  top: 0;
}

.adventure-place-inline .adventure-place-hero {
  min-height: 260px;
}

.adventure-place-inline .adventure-place-hero-copy {
  padding: 26px 18px;
}

.adventure-place-inline .adventure-place-hero-copy h1 {
  font-size: 30px;
}

.adventure-place-inline .adventure-place-intro {
  padding-bottom: max(34px, env(safe-area-inset-bottom));
}

.adventure-place-app {
  width: min(100%, 920px);
  min-height: 100dvh;
  margin: 0 auto;
  color: var(--adv-ink);
  background: #f7f6f2;
  box-shadow: 0 0 46px rgba(18, 40, 48, .12);
}

.adventure-place-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  min-height: 62px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--adv-line);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
}

.adventure-place-back {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--adv-line);
  border-radius: 50%;
  color: var(--adv-navy);
  background: #fff;
  text-decoration: none;
}

.adventure-place-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--adv-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.adventure-place-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.adventure-place-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adventure-place-member {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #17604c;
  background: #e3f4ee;
  font-size: 10px;
  font-weight: 900;
}

.adventure-place-member .ms { font-size: 15px; }

.adventure-place-gate {
  min-height: calc(100dvh - 150px);
}

.adventure-place-gate-box {
  display: grid;
  min-height: calc(100dvh - 150px);
  place-items: center;
  padding: 34px 16px;
  background: linear-gradient(145deg, #e7f2ef, #f9f7f1 58%, #f8e9df);
}

.adventure-place-gate-content {
  width: min(100%, 500px);
  padding: 26px;
  border: 1px solid var(--adv-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(20, 45, 54, .12);
  text-align: center;
}

.adventure-place-gate-content > .ms {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--adv-navy);
}

.adventure-place-gate-content h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.adventure-place-gate-content p {
  margin: 9px 0 18px;
  color: var(--adv-muted);
  font-size: 13px;
  line-height: 1.65;
}

.adventure-place-gate-content .adventure-button { text-decoration: none; }

.adventure-place-intro {
  padding-bottom: 38px;
}

.adventure-place-hero {
  position: relative;
  display: grid;
  min-height: 440px;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--adv-navy-2);
}

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

.adventure-place-hero::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, rgba(6, 26, 32, .06), rgba(6, 26, 32, .9));
}

.adventure-place-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: clamp(28px, 6vw, 56px);
}

.adventure-place-hero-copy .adventure-city-kicker { color: var(--adv-gold); }

.adventure-place-hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.17;
  letter-spacing: 0;
}

.adventure-place-hero-copy > p:not(.adventure-city-kicker) {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  line-height: 1.7;
}

.adventure-place-photo-credit {
  display: inline-block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
}

.adventure-journey-banner {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px clamp(16px, 5vw, 44px);
  border-bottom: 1px solid #c7d5d8;
  color: #fff;
  background: var(--adv-navy);
}

.adventure-journey-banner > .ms {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--adv-navy);
  background: var(--adv-gold);
  font-size: 23px;
}

.adventure-journey-banner > div:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.adventure-journey-banner strong { font-size: 14px; }
.adventure-journey-banner span { color: #dbe8ea; font-size: 10px; line-height: 1.5; }

.adventure-journey-steps {
  display: flex;
  align-items: center;
  gap: 5px;
}

.adventure-journey-step {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid #8aa5ad;
  border-radius: 50%;
  color: #dbe8ea !important;
  font-size: 10px !important;
  font-weight: 900;
}

.adventure-journey-step.is-current { color: var(--adv-navy) !important; border-color: var(--adv-gold); background: var(--adv-gold); }
.adventure-journey-step.is-done { color: #fff !important; border-color: #4f9d85; background: #397b67; }

.adventure-program-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 17px clamp(16px, 5vw, 44px);
  border-bottom: 1px solid #d7e1df;
  background: #f3f7f5;
}

.adventure-program-heading {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.adventure-program-heading > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #173f49;
}

.adventure-program-heading .ms { color: #ad6d14; font-size: 21px; }
.adventure-program-heading strong { font-size: 14px; }
.adventure-program-heading small { color: #63767d; font-size: 10px; line-height: 1.5; }

.adventure-program-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #cad8d5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.adventure-program-steps > span {
  display: grid;
  min-width: 0;
  min-height: 54px;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 7px 4px;
  text-align: center;
}

.adventure-program-steps > span + span { border-left: 1px solid #dce5e3; }
.adventure-program-steps b { color: #173f49; font-size: 12px; }
.adventure-program-steps small { color: #6b7b81; font-size: 9px; line-height: 1.3; }

.adventure-place-start-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 24px clamp(16px, 5vw, 44px) 0;
  padding: 18px;
  border: 1px solid var(--adv-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(20, 45, 54, .07);
}

.adventure-place-start-panel strong {
  display: block;
  font-size: 16px;
}

.adventure-place-start-panel p {
  margin: 5px 0 0;
  color: var(--adv-muted);
  font-size: 12px;
  line-height: 1.55;
}

.adventure-place-start-panel .adventure-button {
  width: auto;
  min-width: 156px;
}

.adventure-onsite-overview {
  padding: 28px clamp(16px, 5vw, 44px) 34px;
  border-top: 1px solid var(--adv-line);
  border-bottom: 1px solid var(--adv-line);
  background: #fff;
}

.adventure-onsite-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.adventure-onsite-heading p {
  margin: 0 0 5px;
  color: var(--adv-coral);
  font-size: 11px;
  font-weight: 900;
}

.adventure-onsite-heading h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
}

.adventure-onsite-heading > div > span {
  display: block;
  margin-top: 6px;
  color: var(--adv-muted);
  font-size: 12px;
  line-height: 1.5;
}

.adventure-map-link {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid #b8c9ce;
  border-radius: 8px;
  color: var(--adv-navy);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.adventure-map-link .ms { font-size: 17px; }

.adventure-onsite-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border: 1px solid var(--adv-line);
  border-radius: 8px;
  background: #f5f8f8;
}

.adventure-onsite-facts > span {
  display: grid;
  min-width: 0;
  min-height: 84px;
  place-items: center;
  align-content: center;
  padding: 10px 6px;
  text-align: center;
}

.adventure-onsite-facts > span + span { border-left: 1px solid var(--adv-line); }
.adventure-onsite-facts .ms { color: var(--adv-coral); font-size: 20px; }
.adventure-onsite-facts b { margin-top: 3px; font-size: 14px; }
.adventure-onsite-facts small { margin-top: 2px; color: var(--adv-muted); font-size: 9px; }

.adventure-onsite-path {
  margin: 16px 0 9px;
  color: #35505b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.55;
}

.adventure-onsite-route-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--adv-line);
  list-style: none;
}

.adventure-onsite-route-list li {
  display: grid;
  min-height: 47px;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid var(--adv-line);
  font-size: 12px;
}

.adventure-onsite-route-list li > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--adv-navy);
  font-size: 10px;
  font-weight: 900;
}

.adventure-onsite-safety,
.adventure-onsite-privacy {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 14px 0 0;
  color: #53656e;
  font-size: 11px;
  line-height: 1.6;
}

.adventure-onsite-safety .ms { color: #a94b36; }
.adventure-onsite-privacy .ms { color: #397264; }
.adventure-onsite-safety .ms,
.adventure-onsite-privacy .ms { flex: 0 0 auto; font-size: 17px; }

.adventure-onsite-source {
  display: inline-block;
  margin-top: 10px;
  color: #32695b;
  font-size: 10px;
  font-weight: 900;
}

.adventure-route-details {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--adv-line);
  border-radius: 8px;
  background: #f7f9f9;
}

.adventure-route-details > summary {
  display: grid;
  min-height: 48px;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  gap: 7px;
  align-items: center;
  padding: 10px 12px;
  color: #38515b;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.adventure-route-details > summary::-webkit-details-marker { display: none; }
.adventure-route-details > summary .ms { font-size: 18px; }
.adventure-route-details > summary .ms:last-child { transition: transform .2s ease; }
.adventure-route-details[open] > summary .ms:last-child { transform: rotate(180deg); }

.adventure-route-details-body {
  padding: 0 12px 15px;
  border-top: 1px solid var(--adv-line);
}

.adventure-route-details .adventure-onsite-facts { margin-top: 14px; }

.adventure-mode-heading {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 2px solid var(--adv-navy);
}

.adventure-mode-heading strong { font-size: 17px; }
.adventure-mode-heading span { color: var(--adv-muted); font-size: 11px; line-height: 1.55; }

.adventure-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.adventure-mode-option {
  display: grid;
  min-width: 0;
  min-height: 92px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 12px;
  border: 1px solid #bccbd0;
  border-radius: 8px;
  color: var(--adv-ink);
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.adventure-mode-option > .ms {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--adv-navy);
  background: var(--adv-mint);
  font-size: 19px;
}

.adventure-mode-option > span { display: grid; min-width: 0; gap: 3px; }
.adventure-mode-option strong { font-size: 13px; line-height: 1.35; }
.adventure-mode-option small { color: var(--adv-muted); font-size: 10px; line-height: 1.45; }
.adventure-mode-option.is-active { color: #fff; border-color: var(--adv-navy); background: var(--adv-navy); }
.adventure-mode-option.is-active > .ms { color: var(--adv-navy); background: var(--adv-gold); }
.adventure-mode-option.is-active small { color: #dce8ea; }
.adventure-mode-option[disabled] { cursor: wait; opacity: .7; }

.adventure-onsite-status {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 11px;
  border: 1px solid #c2d4d8;
  border-radius: 8px;
  color: #35505b;
  background: #f3f8f9;
}

.adventure-onsite-status:empty { display: none; }
.adventure-onsite-status p { display: flex; gap: 6px; margin: 0; font-size: 11px; font-weight: 800; line-height: 1.55; }
.adventure-onsite-status .ms { flex: 0 0 auto; font-size: 17px; }
.adventure-onsite-status.is-success { color: #17604c; border-color: #9dd0be; background: #edf9f4; }
.adventure-onsite-status.is-error { color: #963a2d; border-color: #e8beb7; background: #fff3f0; }
.adventure-onsite-status .adventure-text-button { width: 100%; }

.adventure-place-play {
  padding: 28px clamp(14px, 4vw, 38px) 48px;
}

.adventure-place-progress-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.adventure-place-progress-head p {
  margin: 0 0 4px;
  color: var(--adv-coral);
  font-size: 11px;
  font-weight: 900;
}

.adventure-place-progress-head h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.adventure-place-progress-head > strong {
  flex: 0 0 auto;
  color: var(--adv-navy);
  font-size: 15px;
}

.adventure-place-progress {
  height: 8px;
  margin: 13px 0 22px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5e7;
}

.adventure-place-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--adv-coral), var(--adv-gold));
  transition: width .25s ease;
}

.adventure-place-stage {
  overflow: hidden;
  border: 1px solid var(--adv-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 45, 54, .09);
}

.adventure-onsite-checkpoint {
  padding: clamp(18px, 4vw, 28px);
  border-bottom: 1px solid #c8dadd;
  background: #edf5f6;
}

.adventure-onsite-checkpoint-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.adventure-checkpoint-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.adventure-onsite-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--adv-navy);
  font-size: 10px;
  font-weight: 900;
}

.adventure-onsite-checkpoint h2 {
  margin: 14px 0 0;
  font-size: 24px;
  line-height: 1.35;
}

.adventure-onsite-move {
  margin: 7px 0 0;
  color: #405760;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.adventure-walk-safety {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 12px 0 0;
  padding: 10px 11px;
  border: 1px solid #e5c7a3;
  border-radius: 8px;
  color: #75451d;
  background: #fff8ed;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}

.adventure-walk-safety .ms { flex: 0 0 auto; color: #a85d19; font-size: 18px; }

.adventure-onsite-observe {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  border-left: 4px solid var(--adv-gold);
  color: #2c4852;
  background: #fff;
}

.adventure-onsite-observe > .ms {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #9c6300;
  background: #fff1c9;
}

.adventure-onsite-observe > span { display: grid; gap: 3px; }
.adventure-onsite-observe strong { font-size: 11px; }
.adventure-onsite-observe small { color: #52666f; font-size: 11px; line-height: 1.55; }

.adventure-onsite-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 15px;
}

.adventure-onsite-step {
  display: grid;
  min-width: 0;
  height: 27px;
  place-items: center;
  border: 1px solid #b7c8cd;
  border-radius: 999px;
  color: #64767e;
  background: #fff;
  font-size: 9px;
  font-weight: 900;
}

.adventure-onsite-step.is-current { border-color: var(--adv-coral); color: #9a321f; box-shadow: inset 0 0 0 1px var(--adv-coral); }
.adventure-onsite-step.is-done { color: #fff; border-color: #397b67; background: #397b67; box-shadow: none; }

.adventure-onsite-arrival {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--adv-coral);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.adventure-onsite-arrival.is-done { color: #155d48; background: #dcefe8; cursor: default; }

.adventure-onsite-photo-help {
  border-bottom: 1px solid var(--adv-line);
  background: #fff;
}

.adventure-onsite-photo-help summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #53656e;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.adventure-onsite-photo-help summary::-webkit-details-marker { display: none; }
.adventure-onsite-photo-help summary .ms { font-size: 17px; }
.adventure-onsite-photo-help[open] summary { border-bottom: 1px solid var(--adv-line); }
.adventure-onsite-photo-help .adventure-stage-photo { margin: 0; }

.adventure-stage-photo {
  position: relative;
  width: 100%;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  background: #dfe7e8;
}

.adventure-stage-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adventure-stage-photo.is-contain img,
.adventure-stage-photo.is-portrait img {
  object-fit: contain;
  background: #17272d;
}

.adventure-stage-photo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: '';
  background: linear-gradient(180deg, transparent 48%, rgba(8, 28, 34, .76));
  pointer-events: none;
}

.adventure-stage-photo figcaption {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 12px;
  left: 14px;
  font-size: 10px;
  text-align: right;
}

.adventure-stage-photo figcaption a { color: rgba(255, 255, 255, .88); }

.adventure-photo-marker {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  border-radius: 50%;
  color: var(--adv-navy);
  background: var(--adv-gold);
  box-shadow: 0 5px 18px rgba(6, 24, 30, .35);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.adventure-photo-marker.is-active {
  color: #fff;
  background: var(--adv-coral);
  transform: translate(-50%, -50%) scale(1.1);
}

.adventure-photo-observation {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 34px;
  left: 12px;
  display: grid;
  min-height: 42px;
  gap: 2px;
  align-content: center;
  padding: 8px 10px;
  border-left: 3px solid var(--adv-gold);
  border-radius: 6px;
  color: #eef6f7;
  background: rgba(8, 28, 34, .88);
  font-size: 10px;
  line-height: 1.45;
}

.adventure-photo-observation strong { color: var(--adv-gold); font-size: 11px; }

.adventure-stage-body { padding: clamp(18px, 4vw, 30px); }

.adventure-stage-eyebrow {
  margin: 0 0 5px;
  color: var(--adv-coral);
  font-size: 11px;
  font-weight: 900;
}

.adventure-stage-body h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
}

.adventure-stage-prompt {
  margin: 11px 0 17px;
  color: #344954;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.65;
}

.adventure-clue-flow {
  display: grid;
  margin: 0 calc(clamp(18px, 4vw, 30px) * -1) 14px;
  padding: 0 clamp(18px, 4vw, 30px);
  border-block: 1px solid #d6e1df;
  background: #f3f7f5;
  list-style: none;
}

.adventure-clue-flow li {
  display: grid;
  grid-template-columns: 24px 25px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 11px 0;
}

.adventure-clue-flow li + li { border-top: 1px solid #dce6e4; }

.adventure-clue-step {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--adv-navy);
  font-size: 10px;
  font-weight: 900;
}

.adventure-clue-flow > li > .ms {
  color: #ad6d14;
  font-size: 20px;
}

.adventure-clue-flow li > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.adventure-clue-flow b {
  color: #24454e;
  font-size: 11px;
}

.adventure-clue-flow small {
  color: #5f7077;
  font-size: 11px;
  line-height: 1.5;
}

.adventure-evidence-notebook {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid #c9d9d5;
  border-radius: 8px;
  background: #f7faf9;
}

.adventure-evidence-notebook legend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 5px;
  color: #173f49;
  font-size: 12px;
  font-weight: 900;
}

.adventure-evidence-notebook legend .ms { color: #ad6d14; font-size: 18px; }

.adventure-evidence-notebook > p {
  margin: 0;
  color: #5f7077;
  font-size: 10px;
  line-height: 1.5;
}

.adventure-evidence-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.adventure-evidence-fields label {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.adventure-evidence-fields b { color: #344f57; font-size: 10px; }

.adventure-evidence-fields input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid #bdcdca;
  border-radius: 7px;
  color: #172c34;
  background: #fff;
  font: inherit;
  font-size: 12px;
}

.adventure-evidence-fields input:focus {
  border-color: var(--adv-navy);
  outline: 3px solid rgba(20, 61, 74, .12);
}

.adventure-stage-instruction {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px;
  color: var(--adv-muted);
  font-size: 11px;
  font-weight: 800;
}

.adventure-stage-instruction .ms { font-size: 16px; }

.adventure-mission-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.adventure-mission-metrics > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border: 1px solid #d5e0e3;
  border-radius: 999px;
  color: #52666f;
  background: #f4f7f8;
  font-size: 10px;
}

.adventure-mission-metrics > span.is-ready {
  color: #155d48;
  border-color: #acd1c3;
  background: #edf9f4;
}

.adventure-mission-metrics .ms { font-size: 14px; }

.adventure-stage-options {
  display: grid;
  gap: 9px;
}

.adventure-stage-option {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #cbd6da;
  border-radius: 8px;
  color: var(--adv-ink);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.adventure-stage-option::before {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #b9c8cd;
  border-radius: 50%;
  color: #fff;
  content: '';
  font-size: 14px;
}

.adventure-stage-option.is-selected {
  border-color: var(--adv-navy);
  background: #edf5f6;
}

.adventure-stage-option.is-selected::before {
  border-color: var(--adv-navy);
  background: var(--adv-navy);
  content: '✓';
}

.adventure-stage-option.is-correct {
  border-color: #57a98c;
  color: #155d48;
  background: #edf9f4;
}

.adventure-stage-options.has-error .adventure-stage-option.is-selected {
  border-color: #dc8c7e;
  background: #fff4f1;
}

.adventure-order-result {
  display: grid;
  min-height: 58px;
  gap: 6px;
  margin-bottom: 10px;
  padding: 9px;
  border: 1px dashed #b8c8cd;
  border-radius: 8px;
  background: #f6f9f9;
}

.adventure-order-result:empty::before {
  align-self: center;
  color: #7b8a91;
  content: '선택한 순서가 여기에 표시됩니다.';
  font-size: 11px;
  text-align: center;
}

.adventure-order-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 6px;
  color: #284651;
  background: #e7f2f2;
  font-size: 12px;
  font-weight: 800;
}

.adventure-order-item b {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--adv-navy);
  font-size: 10px;
}

.adventure-hints {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.adventure-hint-button {
  display: inline-flex;
  width: max-content;
  min-height: 40px;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  border: 1px solid #d9b662;
  border-radius: 8px;
  color: #6b4c00;
  background: #fff9e8;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.adventure-hint-button .ms { font-size: 17px; }
.adventure-hint-button[disabled] { color: #758187; border-color: #cbd5d8; background: #f1f4f5; cursor: default; }

.adventure-hint-list {
  display: grid;
  gap: 6px;
}

.adventure-hint-list p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  margin: 0;
  padding: 9px 10px;
  border-left: 3px solid #d9b662;
  color: #5d522e;
  background: #fffaf0;
  font-size: 11px;
  line-height: 1.55;
}

.adventure-hint-list b { color: #8a6000; }

.adventure-stage-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.adventure-stage-actions .adventure-button { flex: 1; }

.adventure-stage-reset {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 12px;
  border: 1px solid var(--adv-line);
  border-radius: 8px;
  color: #53656e;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.adventure-stage-feedback {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-top: 15px;
  padding: 13px;
  border: 1px solid #eabeb5;
  border-radius: 8px;
  color: #963a2d;
  background: #fff3f0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.adventure-stage-feedback > .ms { margin-top: 1px; font-size: 20px; }
.adventure-stage-feedback > span { display: grid; gap: 2px; }
.adventure-stage-feedback strong { font-size: 12px; }
.adventure-stage-feedback small { color: #a05043; font-size: 11px; font-weight: 700; line-height: 1.55; }

.adventure-stage-reveal {
  margin-top: 17px;
  padding: 16px;
  border: 1px solid #a7d4c4;
  border-radius: 8px;
  color: #174f40;
  background: #eef9f5;
}

.adventure-stage-reveal strong {
  display: block;
  font-size: 14px;
}

.adventure-stage-reveal p {
  margin: 6px 0 10px;
  font-size: 13px;
  line-height: 1.7;
}

.adventure-stage-reveal a {
  color: #17604c;
  font-size: 11px;
  font-weight: 900;
}

.adventure-evidence-score {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid #a9d2c4;
  border-radius: 8px;
  color: #174f40;
  background: #fff;
}

.adventure-evidence-score > .ms {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1d7159;
  font-size: 21px;
}

.adventure-evidence-score > span { display: grid; gap: 2px; }
.adventure-evidence-score b { font-size: 12px; }
.adventure-evidence-score small { color: #587269; font-size: 10px; }

.adventure-collectible {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid #d7b45b;
  border-radius: 8px;
  color: #583f00;
  background: #fff8dc;
}

.adventure-collectible > .ms {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--adv-navy);
  background: var(--adv-gold);
  font-size: 21px;
}

.adventure-collectible > span { display: grid; gap: 2px; }
.adventure-collectible b { font-size: 12px; }
.adventure-collectible small { color: #705f2f; font-size: 10px; line-height: 1.45; }

.adventure-complete-series {
  width: max-content;
  margin: 14px auto 0 !important;
  padding: 7px 10px;
  border: 1px solid #d7b45b;
  border-radius: 999px;
  color: #684b00 !important;
  background: #fff8dc;
  font-size: 11px !important;
  font-weight: 900;
}

.adventure-final-reflection {
  display: grid;
  width: min(100%, 620px);
  gap: 10px;
  margin: 22px auto;
  padding: 16px;
  border: 1px solid #c9d9d5;
  border-radius: 8px;
  background: #f7faf9;
  text-align: left;
}

.adventure-final-reflection > div:first-child {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.adventure-final-reflection > div:first-child > .ms {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1d7159;
  font-size: 18px;
}

.adventure-final-reflection > div:first-child span { display: grid; gap: 3px; }
.adventure-final-reflection strong { color: #173f49; font-size: 13px; }
.adventure-final-reflection small { color: #63767d; font-size: 10px; line-height: 1.5; }

.adventure-final-reflection textarea {
  width: 100%;
  min-height: 104px;
  padding: 11px 12px;
  border: 1px solid #bdcdca;
  border-radius: 7px;
  color: #172c34;
  background: #fff;
  font: inherit;
  font-size: 12px;
  line-height: 1.6;
  resize: vertical;
}

.adventure-final-reflection textarea:focus {
  border-color: var(--adv-navy);
  outline: 3px solid rgba(20, 61, 74, .12);
}

.adventure-reflection-status { min-height: 15px; }
.adventure-final-reflection .adventure-button { width: auto; min-width: 160px; justify-self: end; }

.adventure-complete-stats {
  display: grid;
  width: min(100%, 560px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px auto 0;
}

.adventure-complete-stats > span {
  display: grid;
  min-width: 0;
  min-height: 100px;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 12px 8px;
  border: 1px solid #cbdcda;
  border-radius: 8px;
  color: #173f49;
  background: rgba(255, 255, 255, .82);
}

.adventure-complete-stats .ms { color: #b16f13; font-size: 22px; }
.adventure-complete-stats b { font-size: 18px; }
.adventure-complete-stats small { color: #687980; font-size: 10px; line-height: 1.35; }

.adventure-place-complete {
  min-height: calc(100dvh - 150px);
  padding: 46px clamp(16px, 5vw, 48px);
  text-align: center;
  background: linear-gradient(145deg, #e7f2ef, #f9f7f1 58%, #f8e9df);
}

.adventure-complete-mark {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 50%;
  color: var(--adv-navy);
  background: var(--adv-gold);
  box-shadow: 0 12px 30px rgba(241, 189, 75, .28);
}

.adventure-complete-mark .ms { font-size: 34px; }

.adventure-place-complete h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.3;
}

.adventure-place-complete > p {
  max-width: 600px;
  margin: 12px auto 0;
  color: var(--adv-muted);
  font-size: 14px;
  line-height: 1.7;
}

.adventure-complete-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 26px auto;
}

.adventure-complete-list span {
  display: grid;
  min-height: 70px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--adv-line);
  border-radius: 8px;
  color: #35505b;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.adventure-complete-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  max-width: 520px;
  margin: 0 auto;
}

.adventure-complete-actions[hidden] { display: none; }

.adventure-complete-actions .adventure-button { text-decoration: none; }
.adventure-complete-actions .adventure-button.is-secondary { color: var(--adv-navy); border: 1px solid #aebfc4; background: #fff; }

.adventure-place-footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  color: #74828a;
  border-top: 1px solid var(--adv-line);
  background: #fff;
  font-size: 11px;
}

@media (max-width: 620px) {
  .adventure-place-app { box-shadow: none; }
  .adventure-place-topbar {
    min-height: 58px;
    grid-template-columns: 40px minmax(0, 1fr) 36px;
    gap: 8px;
    padding: max(7px, env(safe-area-inset-top)) 10px 7px;
  }
  .adventure-place-back { width: 38px; height: 38px; }
  .adventure-place-brand { font-size: 12px; }
  .adventure-place-member { width: 34px; height: 34px; justify-content: center; padding: 0; }
  .adventure-place-member span:last-child { display: none; }
  .adventure-place-hero { min-height: 350px; }
  .adventure-place-hero-copy { padding: 26px 16px; }
  .adventure-place-hero-copy h1 { font-size: 30px; }
  .adventure-place-hero-copy > p:not(.adventure-city-kicker) { margin-top: 9px; font-size: 13px; line-height: 1.55; }
  .adventure-journey-banner { padding: 13px 14px; }
  .adventure-journey-banner > .ms { width: 38px; height: 38px; }
  .adventure-program-summary { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .adventure-evidence-fields { grid-template-columns: 1fr; }
  .adventure-place-start-panel { grid-template-columns: 1fr; gap: 13px; margin: 14px 12px 0; padding: 15px; }
  .adventure-place-start-panel .adventure-button { width: 100%; min-height: 50px; }
  .adventure-onsite-overview { padding: 21px 14px 26px; }
  .adventure-onsite-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .adventure-onsite-heading h2 { font-size: 21px; }
  .adventure-onsite-facts { margin-top: 16px; }
  .adventure-onsite-facts > span { min-height: 76px; }
  .adventure-mode-heading { margin-top: 22px; padding-top: 18px; }
  .adventure-mode-option { min-height: 84px; padding: 10px; }
  .adventure-place-play { padding: 21px 12px 42px; }
  .adventure-place-progress-head h1 { font-size: 19px; }
  .adventure-place-progress { margin: 11px 0 16px; }
  .adventure-onsite-checkpoint { padding: 18px 15px; }
  .adventure-onsite-checkpoint-head { flex-direction: column; align-items: stretch; }
  .adventure-checkpoint-tools { width: 100%; justify-content: stretch; }
  .adventure-checkpoint-tools .adventure-map-link { min-height: 44px; flex: 1 1 130px; }
  .adventure-onsite-checkpoint h2 { font-size: 21px; }
  .adventure-stage-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .adventure-photo-marker { width: 32px; height: 32px; }
  .adventure-photo-observation { right: 9px; bottom: 31px; left: 9px; min-height: 39px; padding: 7px 9px; }
  .adventure-stage-body { padding: 19px 15px; }
  .adventure-stage-body h2 { font-size: 22px; }
  .adventure-stage-prompt { margin: 9px 0 14px; font-size: 14px; line-height: 1.55; }
  .adventure-clue-flow { margin-inline: -15px; padding-inline: 15px; }
  .adventure-stage-option { min-height: 52px; padding: 12px; }
  .adventure-place-complete { padding: 36px 12px max(42px, env(safe-area-inset-bottom)); }
  .adventure-place-inline .adventure-place-play,
  .adventure-place-inline .adventure-place-complete { padding-bottom: max(96px, calc(74px + env(safe-area-inset-bottom))); }
  .adventure-complete-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adventure-complete-list span:last-child { grid-column: 1 / -1; }
  .adventure-final-reflection { margin: 18px auto; padding: 14px; }
  .adventure-final-reflection .adventure-button { width: 100%; min-height: 48px; justify-self: stretch; }
  .adventure-place-footer {
    min-height: 78px;
    flex-direction: column;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    text-align: center;
  }
}

@media (max-width: 460px) {
  .adventure-place-brand img { display: none; }
  .adventure-journey-banner { grid-template-columns: 38px minmax(0, 1fr); }
  .adventure-journey-steps { grid-column: 2; }
  .adventure-mode-switch { grid-template-columns: 1fr; }
  .adventure-mode-option { min-height: 72px; }
  .adventure-place-inline .adventure-place-hero { min-height: 220px; }
  .adventure-place-inline .adventure-place-hero-copy h1 { font-size: 27px; }
}

@media (max-width: 380px) {
  .adventure-place-brand { font-size: 12px; }
  .adventure-place-hero { min-height: 310px; }
  .adventure-place-hero-copy { padding: 22px 14px; }
  .adventure-place-hero-copy h1 { font-size: 27px; }
  .adventure-onsite-heading { grid-template-columns: 1fr; }
  .adventure-onsite-heading .adventure-map-link { width: 100%; }
  .adventure-onsite-facts > span { min-height: 76px; padding-inline: 3px; }
  .adventure-onsite-facts b { font-size: 12px; }
  .adventure-onsite-checkpoint-head { align-items: stretch; }
  .adventure-onsite-checkpoint-head .adventure-map-link { min-height: 34px; }
  .adventure-stage-body { padding: 17px 14px; }
  .adventure-stage-body h2 { font-size: 22px; }
  .adventure-stage-actions { flex-direction: column; }
  .adventure-complete-actions { grid-template-columns: 1fr; }
}
