@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap");
:root {
  --ink: #253a30;
  --green: #244c3b;
  --cream: #f8f5ed;
  --line: #dcded1;
  --orange: #d86a3e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
  border: 1px solid #c8d0c4;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  padding: 12px 17px;
  font-weight: 600;
}
button:hover {
  background: #e5eadf;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
header {
  max-width: 1240px;
  padding: 25px 32px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.7px;
}
.brand-name {
  display: block;
  font-size: 18px;
  letter-spacing: -0.7px;
}
.brand > span:not(.brand-name) {
  display: block;
  font-size: 9px;
  letter-spacing: 2.1px;
  margin-top: 4px;
}
.language-picker {
  flex: 0 0 auto;
}
.language-picker select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 9px 12px;
}
.language-picker select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.edition {
  font-size: 10px;
  letter-spacing: 2px;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 0 32px;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 30px 48px 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 700;
  color: #69795f;
  margin: 0 0 12px;
}
h1 {
  font-size: 48px;
  line-height: 1.25;
  letter-spacing: -2.4px;
  margin: 0;
  font-weight: 900;
}
h1 em {
  font-style: normal;
  color: var(--orange);
}
h1 span {
  display: block;
  font-weight: 500;
  font-size: 32px;
  margin-top: 8px;
}
.intro {
  color: #697365;
  line-height: 1.9;
  margin-top: 23px;
  font-size: 14px;
}
.ticket {
  width: 210px;
  background: #e4e8d8;
  transform: rotate(7deg);
  border: 1px solid #bdc8b0;
  padding: 24px;
  box-shadow: 8px 9px 0 #ebe7dc;
}
.ticket > span {
  font-size: 10px;
  letter-spacing: 1px;
  display: block;
}
.ticket b {
  display: block;
  font-size: 36px;
  line-height: 1.15;
  margin: 20px 0;
  letter-spacing: -2px;
}
.ticket-line {
  border-top: 1px dashed #9ba88b;
  margin: 18px -24px;
}
.ticket small {
  font-size: 10px;
}
.explore {
  border-top: 2px solid var(--green);
  padding-top: 25px;
}
.explore-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
h2 {
  font-size: 23px;
  margin: 0;
  letter-spacing: -0.8px;
}
.muted {
  font-size: 12px;
  color: #78816f;
  margin: 8px 0;
}
.center-actions {
  display: flex;
  gap: 8px;
}
.status {
  font-size: 12px;
  padding: 12px 0;
  color: #63735c;
  min-height: 42px;
}
.workspace {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 24px;
}
.map-wrap {
  position: relative;
  min-width: 0;
}
#map {
  height: 470px;
  border-radius: 12px;
  background: #e4e8da;
  border: 1px solid var(--line);
  z-index: 0;
}
.map-key {
  position: absolute;
  bottom: 25px;
  left: 12px;
  z-index: 400;
  background: #fffef7;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 10px;
  box-shadow: 0 2px 10px #0001;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 4px 0 10px;
}
.dot:first-child {
  margin-left: 0;
}
.food {
  background: #d0754b;
}
.cafe {
  background: #bc9c4d;
}
.spot {
  background: #4d8068;
}
#map-warning {
  position: absolute;
  top: 8px;
  left: 45px;
  right: 8px;
  background: #fff7db;
  padding: 10px;
  font-size: 12px;
  z-index: 500;
}
.list-panel {
  min-width: 0;
}
.list-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--line);
}
.list-top h3 {
  font-size: 15px;
  margin: 0;
}
.list-top h3 span {
  color: var(--orange);
  margin-left: 6px;
}
.list-top > span {
  font-size: 10px;
  color: #7b8374;
}
#cards {
  height: 430px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.card {
  display: flex;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  width: 100%;
  padding: 20px 4px;
  gap: 14px;
  align-items: flex-start;
}
.card:hover {
  background: #eeeee3;
}
.card-no {
  min-width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e2e8d8;
  font-size: 12px;
}
.card-copy {
  flex: 1;
}
.card-copy small {
  display: block;
  color: #7e826e;
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 6px;
}
.card-copy b {
  display: block;
  font-size: 17px;
  margin-bottom: 7px;
}
.card-copy p {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
  color: #66705f;
}
.card-distance {
  font-size: 11px;
  white-space: nowrap;
  margin-top: 9px;
}
.actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: #35664e;
}
.primary span {
  margin-left: 26px;
  font-size: 12px;
  font-weight: 400;
}
#empty {
  text-align: center;
  padding: 80px 15px;
  color: #6d795f;
}
#empty p {
  font-size: 12px;
}
.empty-symbol {
  font-size: 46px;
}
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 48px 0 42px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.how > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.how span {
  font-size: 11px;
  color: #a07953;
}
.how p {
  font-size: 12px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 26px 32px;
  max-width: 1240px;
  margin: auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #6a7561;
}
footer small {
  flex-basis: 100%;
  font-size: 10px;
}
dialog {
  border: 0;
  border-radius: 16px;
  background: var(--cream);
  color: var(--ink);
  width: min(600px, calc(100% - 28px));
  max-height: 88vh;
  padding: 36px;
  box-shadow: 0 20px 90px #152f3340;
}
dialog::backdrop {
  background: #18291f88;
  backdrop-filter: blur(3px);
}
.close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  font-size: 25px;
  padding: 3px 10px;
}
.detail-visual {
  background: #e2e8d8;
  border-radius: 10px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #7b8b65;
  margin: 20px 0;
}
.detail-visual span {
  font-size: 12px;
  margin-left: 18px;
  max-width: 160px;
  line-height: 1.8;
}
.story {
  font-size: 15px;
  line-height: 1.95;
  white-space: pre-line;
}
.facts {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  font-size: 12px;
  margin: 24px 0;
}
.facts dt {
  color: #818874;
}
.facts dd {
  margin: 0;
  line-height: 1.7;
}
.map-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.map-links a {
  padding: 12px 16px;
  background: var(--green);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
}
.map-note {
  font-size: 11px;
  color: #75806b;
  line-height: 1.7;
}
.choice-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 25px;
}
.pin {
  background: var(--green);
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 5px #0003;
  font-size: 11px;
}
.pin.food {
  background: #d0754b;
}
.pin.cafe {
  background: #a38336;
}
.pin.spot {
  background: #4d8068;
}
.leaflet-tooltip {
  font-family: inherit;
  max-width: 230px;
  white-space: normal;
  font-size: 11px;
}
.leaflet-tooltip b {
  display: block;
  margin-bottom: 4px;
}
.source {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  header {
    padding: 20px;
  }
  .edition {
    display: none;
  }
  main {
    padding: 0 20px;
  }
  .hero {
    padding: 33px 0 30px;
    gap: 15px;
  }
  h1 {
    font-size: 33px;
    letter-spacing: -1.6px;
  }
  h1 span {
    font-size: 24px;
  }
  .intro {
    font-size: 12px;
  }
  .ticket {
    width: 113px;
    padding: 14px;
    flex-shrink: 0;
    transform: rotate(5deg);
  }
  .ticket b {
    font-size: 25px;
    margin: 14px 0;
  }
  .ticket > span {
    font-size: 7px;
  }
  .ticket small {
    font-size: 8px;
  }
  .ticket-line {
    margin: 12px -14px;
  }
  .explore-head {
    align-items: flex-start;
    flex-direction: column;
  }
  h2 {
    font-size: 21px;
  }
  .center-actions {
    width: 100%;
  }
  .center-actions button {
    flex: 1;
    font-size: 12px;
    padding: 10px;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #map {
    height: 290px;
  }
  #cards {
    height: auto;
    max-height: 470px;
  }
  .actions {
    justify-content: stretch;
    gap: 7px;
  }
  .actions button {
    font-size: 11px;
    padding: 12px 10px;
    flex: 1;
  }
  .primary span {
    margin-left: 5px;
    font-size: 10px;
  }
  .how {
    margin: 30px 0;
    gap: 12px;
  }
  .how > div {
    display: block;
  }
  .how p {
    font-size: 10px;
    line-height: 1.6;
  }
  footer {
    padding: 23px 20px;
    gap: 12px;
  }
  dialog {
    padding: 30px 23px;
  }
  .card-copy b {
    font-size: 16px;
  }
  .facts {
    grid-template-columns: 92px 1fr;
  }
}
