* {
  box-sizing: border-box;
}

html {
  margin: 0;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

button {
  font: inherit;
  color: inherit;
}

input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid #B0782C;
  outline-offset: 3px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

h3 {
  font-family: var(--font-kid);
  font-weight: 400;
  color: var(--color-pine-dark);
  margin: 0;
  line-height: 1.3;
  word-break: keep-all;
}

h2 {
  font-family: var(--font-kid);
  font-weight: 400;
  color: var(--color-pine-dark);
  margin: 0;
  line-height: 1.3;
  word-break: keep-all;
  font-size: clamp(1.45rem,1.4vw + 1rem,2rem);
}

p {
  word-break: keep-all;
}

li {
  word-break: keep-all;
}

.sub {
  margin: 4px 0 0;
  color: var(--color-muted);
}

.jelly {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 var(--space-lg);
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-kid);
  font-size: 1.05rem;
  background: var(--color-white);
  color: var(--color-pine-dark);
  box-shadow: 0 5px 0 var(--kid-shadow);
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--ease),box-shadow 160ms var(--ease);
}

.jelly:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--kid-shadow);
}

.jelly:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--kid-shadow);
}

.jelly.coral {
  background: var(--kid-coral);
  color: var(--color-white);
  box-shadow: 0 5px 0 var(--kid-coral-dark);
}

.jelly.ghost {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--color-rule);
}



.guide {
  display: grid;
  grid-template-columns: minmax(0,220px) 78px;
  gap: var(--space-xs);
  align-items: center;
}

.guide .eum {
  width: 78px;
  height: auto;
}

.eum .eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 4.5s infinite;
}

@keyframes blink {
0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}
}

.bubble {
  position: relative;
  background: var(--color-white);
  border: 2px solid var(--o-yellow-line);
  border-radius: 16px;
  padding: var(--space-xs) var(--space-sm);
  font-size: .9rem;
  line-height: 1.5;
  box-shadow: 0 4px 0 var(--o-yellow-line);
}

.bubble::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--color-white);
  border-right: 2px solid var(--o-yellow-line);
  border-top: 2px solid var(--o-yellow-line);
  transform: translateY(-50%) rotate(45deg);
}

.search {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto 48px;
  gap: 8px;
  align-items: center;
  margin-top: var(--space-md);
}

.search input {
  min-height: 54px;
  padding: 0 var(--space-md);
  border: 2px solid var(--o-sky-line);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: 1.05rem;
}

.hint {
  margin: 6px 0 0 var(--space-md);
  font-size: .82rem;
  color: var(--color-muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 var(--space-md);
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  box-shadow: 0 4px 0 var(--kid-shadow);
  font-family: var(--font-kid);
  font-size: 1rem;
  cursor: pointer;
}

.chip svg {
  width: 20px;
  height: 20px;
}

.chip.dice {
  background: var(--o-yellow);
  box-shadow: 0 4px 0 var(--o-yellow-line);
}

.map-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.tools {
  display: flex;
  gap: 6px;
}

.tools button {
  min-width: 44px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 3px 0 var(--kid-shadow);
  font-family: var(--font-kid);
  cursor: pointer;
}

.map {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #9DB7A5;
  aspect-ratio: 16/10;
  cursor: grab;
}

.pin.saved {
  box-shadow: 0 0 0 3px var(--kid-sun),0 3px 0 rgba(0,0,0,.25);
}

.map-note {
  margin: var(--space-xs) 0 0;
  font-size: .8rem;
  color: var(--color-muted);
}

.pick-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: var(--space-sm);
}

.no {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--kid-sun);
  color: var(--kid-ink);
  font-family: var(--font-kid);
  font-size: 1rem;
}

.pick-head h3 {
  font-size: 1.6rem;
}

.hanja {
  margin: 2px 0 0;
  font-family: var(--font-display);
  letter-spacing: .12em;
  color: var(--color-print);
}

#v-pick .story {
  display: block;
  overflow: visible;
}

.pick-acts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.sort {
  display: flex;
  gap: 6px;
}

.sort button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--color-white);
  box-shadow: 0 3px 0 var(--kid-shadow);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}

.sort button[aria-pressed=true] {
  background: var(--color-pine-dark);
  color: var(--color-white);
  box-shadow: none;
}

.cho {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--space-sm);
}

.cho button[aria-pressed=true] {
  background: var(--kid-coral);
  color: var(--color-white);
}

.cho button:disabled {
  opacity: .35;
  cursor: default;
}

.list button {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 10px;
  border: 0;
  border-radius: 12px;
  background: var(--color-white);
  text-align: left;
  font-family: var(--font-kid);
  font-size: 1.02rem;
  cursor: pointer;
}

.list button[aria-current=true] {
  background: var(--o-yellow);
  box-shadow: inset 0 0 0 2px var(--o-yellow-line);
}

.list .n {
  color: var(--color-muted);
  font-size: .85rem;
}

.dirs button[aria-pressed=true] {
  background: var(--color-pine-dark);
  color: var(--color-white);
}

.small {
  margin: var(--space-xs) 0 0;
  font-size: .8rem;
  color: var(--color-muted);
}

.ms-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.slots {
  list-style: none;
  margin: var(--space-md) 0 var(--space-xs);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: var(--space-md);
}

.slots .who {
  font-family: var(--font-kid);
  font-size: 1.15rem;
  color: var(--color-pine-dark);
}

.slots .got {
  font-size: .92rem;
  color: var(--color-muted);
}

.slots li.done .got {
  color: var(--kid-leaf);
  font-weight: 700;
}

.extra {
  list-style: none;
  margin: var(--space-xs) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.praise.show {
  animation: praise 700ms var(--spring) forwards;
}

@keyframes praise {
0%{transform:rotate(12deg) scale(2.2);opacity:0}100%{transform:rotate(12deg) scale(1);opacity:1}
}

#slotDlg {
  border: 0;
  border-radius: var(--radius-kid);
  padding: var(--space-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  max-width: min(92vw,420px);
}

#slotDlg::backdrop {
  background: rgba(36,72,59,.35);
}

.dlg-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

@media (max-width:900px) {




.guide {
  grid-row: 1;
  grid-template-columns: minmax(0,1fr) 64px;
}

.guide .eum {
  width: 64px;
}

.slots {
  grid-template-columns: minmax(0,1fr);
}

.praise {
  width: 84px;
  height: 84px;
  font-size: 1rem;
  bottom: -20px;
  right: var(--space-sm);
}
}

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

*::before {
  animation: none !important;
  transition: none !important;
}

*::after {
  animation: none !important;
  transition: none !important;
}

.praise.show {
  transform: rotate(12deg);
  opacity: 1;
}
}

@media print {
body * {
  visibility: hidden;
}

.mission * {
  visibility: visible;
}

.mission {
  visibility: visible;
  position: absolute;
  inset: 0;
  background: #fff;
  border: 0;
}

.mission .jelly {
  display: none;
}

.praise {
  display: none;
}
}

:root {
  --color-paper: #F8F6F1;
  --color-white: #FFFDF8;
  --color-ink: #2B2A27;
  --color-ink-2: #45433D;
  --color-muted: #5F5B52;
  --color-rule: #E2DACB;
  --color-pine: #244F40;
  --color-pine-dark: #1A3B30;
  --color-on-pine: #FBF8F1;
  --color-hanji: #F4EBD7;
  --color-hanji-line: #C2AE84;
  --color-print: #2A2622;
  --color-seal: #B23A33;
  --o-celadon: #E6EFE8;
  --o-celadon-line: #C5D8CA;
  --o-yellow: #F7EED6;
  --o-yellow-line: #E3D3A8;
  --o-apricot: #F7E7E0;
  --o-apricot-line: #E4C7BA;
  --o-sky: #E5EEF5;
  --o-sky-line: #C4D6E5;
  --kid-coral: #B84A33;
  --kid-coral-dark: #8F3726;
  --kid-blue: #2F6DB5;
  --kid-leaf: #3B7F55;
  --kid-sun: #F6C445;
  --kid-sun-dark: #D9A623;
  --kid-shadow: #D9CDB4;
  --kid-cheek: #F4A39A;
  --kid-ink: #2B2A27;
  --eum-skin: #FFE2CC;
  --eum-hair: #2E2A28;
  --eum-jeogori: #9FCDAE;
  --eum-skirt: #F2A7B5;
  --eum-ribbon: #C8423B;
  --eum-s1: #E86A5E;
  --eum-s2: #F6C445;
  --eum-s3: #6FA8DC;
  --eum-wood: #8A5A3B;
  --eum-lens: #DDEFFB;
  --font-kid: "Jua","Noto Sans KR",sans-serif;
  --font-display: "Noto Serif KR","Noto Serif CJK KR",serif;
  --font-body: "Noto Sans KR","Noto Sans CJK KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --radius: 18px;
  --radius-kid: 24px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --park-focus: #b0782c;
  --park-shadow: rgba(0,0,0,.2);
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  background: var(--color-white);
  z-index: 1000;
  padding: 12px;
}

.skip:focus {
  top: 4px;
}

.wrap .kids-activity-title p {
  margin: 0;
}



#scale {
  display: block;
  text-align: right;
  font-size: .75rem;
  margin-top: 5px;
}

.map-inner {
  position: absolute;
  transform-origin: 0 0;
  inset: auto;
  top: 0;
  left: 0;
  transition: none;
  will-change: transform;
}

.map-inner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

#map.dragging {
  cursor: grabbing;
}

#pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

#pins button {
  pointer-events: auto;
}

.pin {
  position: absolute;
  height: 30px;
  border-radius: 999px;
  border: 2px solid var(--color-white);
  background: var(--color-pine);
  color: var(--color-white);
  font-family: var(--font-kid);
  font-size: .9rem;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0,0,0,.25);
  width: 30px;
  min-width: 30px;
  line-height: 26px;
  padding: 0;
  transition: background-color .15s,opacity .15s;
  transform: translate(-50%,-50%);
}

.pin:hover {
  transform: translate(-50%,-50%);
  background: var(--kid-leaf);
  z-index: 3;
}

.pin.on {
  background: var(--kid-coral);
  width: 36px;
  height: 36px;
  line-height: 32px;
  transform: translate(-50%,-50%);
  z-index: 4;
}

.pin.dim {
  width: 7px;
  min-width: 7px;
  height: 7px;
  font-size: 0;
  opacity: .2;
  border: 0;
  pointer-events: none;
  box-shadow: none;
}

.pin.on::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-pine-dark);
  box-shadow: 0 3px 0 var(--kid-shadow);
  font-family: var(--font-body);
  font-size: .8rem;
}

.cluster small {
  display: block;
  font-size: .72rem;
}

.tools button:disabled {
  opacity: .4;
  cursor: default;
}

.photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  border-radius: 14px;
  background: var(--color-hanji);
  border: 2px solid var(--color-hanji-line);
  color: var(--color-muted);
  font-size: .85rem;
  text-align: center;
  position: relative;
  padding: 0;
  overflow: hidden;
}

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

.photo>span {
  padding: 20px;
  font-size: .8rem;
}

.side .pick-acts {
  gap: 12px;
}

.side .jelly {
  min-height: 44px;
  padding: 8px 15px;
  font-size: .95rem;
}

.side-tabs button:focus-visible {
  outline-offset: -3px;
}

.list {
  list-style: none;
  margin: var(--space-sm) 0 0;
  overflow: auto;
  display: grid;
  gap: 6px;
  max-height: 440px;
  padding: 4px 4px 10px;
}

.list button:focus-visible {
  outline-offset: -3px;
}

.cho button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.7);
  font-family: var(--font-kid);
  cursor: pointer;
  min-height: 36px;
  min-width: 36px;
}

.list .grp {
  margin: 6px 0 0;
  font-family: var(--font-kid);
  color: var(--kid-coral);
  font-size: 1rem;
  padding: 7px 4px 0;
}

.dirs {
  display: flex;
  margin-top: var(--space-sm);
  flex-wrap: wrap;
  gap: 8px;
}

.dirs button {
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--o-celadon);
  font-family: var(--font-kid);
  cursor: pointer;
  min-height: 44px;
  box-shadow: 0 3px 0 var(--o-celadon-line);
}

.story-note {
  font-size: .8rem;
  color: var(--color-muted);
}

.slots .slot-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.slot-actions button {
  font: inherit;
  font-size: .8rem;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 32px;
  color: var(--color-pine);
}

.extra button {
  font: inherit;
  font-size: .8rem;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 32px;
  color: var(--color-pine);
}

.extra li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-white);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.praise {
  position: absolute;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 4px double var(--eum-ribbon);
  color: var(--eum-ribbon);
  background: var(--color-white);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-kid);
  font-size: 1.2rem;
  line-height: 1.1;
  transform: rotate(12deg) scale(0);
  opacity: 0;
  pointer-events: none;
  bottom: 12px;
  right: 16px;
}

.mission .sub {
  font-size: .9rem;
}

.praise:not(.show) {
  visibility: hidden;
}

.dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  min-height: 40px;
  min-width: 40px;
  border: 0;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
  color: var(--color-pine);
}

#slotDlg h3 {
  padding-right: 24px;
}

.dlg-btns .jelly {
  min-height: 52px;
  padding: 8px;
  font-size: 1rem;
}

a {
  color: var(--color-pine);
  text-underline-offset: 3px;
}

.sn-header h2 {
  font-family: var(--font-body);
}

.sn-dialog h2 {
  font-family: var(--font-body);
}

footer {
  max-width: 1240px;
  padding: 0 20px 36px;
  margin: auto;
}

#print-sheet {
  display: none;
}

.empty-list {
  padding: 20px 4px;
  color: var(--color-muted);
}

.view .hanja {
  letter-spacing: .04em;
}

.board a:focus-visible {
  outline-color: var(--park-focus);
}

.board button:focus-visible {
  outline-color: var(--park-focus);
}

@media (max-width:900px) {
.guide {
  grid-row: auto;
}



.view .photo {
  max-height: none;
}

.wrap {
  padding-bottom: 100px;
}

.side .pick-head h3 {
  font-size: 1.6rem;
}

.map-note {
  line-height: 1.7;
}

.guide .bubble {
  font-size: .85rem;
}

.slots {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
}

@media (max-width:600px) {
.board {
  padding: 16px;
}



.guide {
  grid-template-columns: minmax(0,1fr) 60px;
}

.guide .eum {
  width: 60px;
}

.search input {
  min-width: 0;
  font-size: 16px;
}

.search {
  grid-template-columns: minmax(0,1fr) auto 48px;
}

.search .jelly {
  padding: 0 19px;
}

.map-head {
  align-items: flex-start;
  gap: 8px;
}

.map-head h2 {
  font-size: 1.3rem;
}

.tools button {
  min-width: 40px;
}

.slots {
  grid-template-columns: minmax(0,1fr);
}

.cho button {
  width: 40px;
  min-height: 40px;
}

.praise {
  right: 16px;
  bottom: 12px;
}

.jelly {
  white-space: normal;
}

.map-note {
  font-size: .75rem;
}

.map {
  min-height: 300px;
  aspect-ratio: auto;
}
}

@media (prefers-reduced-motion:reduce) {
.pin {
  transition: none;
}

.jelly {
  transition: none;
}

.chip {
  transition: none;
}

.praise.show {
  transform: rotate(12deg);
  opacity: 1;
}
}

@page  {
size:A4 portrait;margin:12mm
}

@media print {
body * {
  visibility: hidden !important;
}

header {
  display: none !important;
}

footer {
  display: none !important;
}

.kids-route {
  display: none !important;
}





#slotDlg {
  display: none !important;
}

.sn-dialog {
  display: none !important;
}

.kids-activity-title {
  display: none !important;
}

.wrap {
  max-width: none;
  padding: 0;
  margin: 0;
}

.mission {
  display: block;
  position: static;
  inset: auto;
  padding: 0 !important;
  margin: 0;
  border: 0;
  background: white;
}

.mission>* {
  display: none !important;
}

#print-sheet * {
  visibility: visible !important;
}

#print-sheet {
  visibility: visible !important;
  display: block !important;
  color: #222;
  font-family: var(--font-body);
  font-size: 10px;
}

#print-sheet h1 {
  font: 22px var(--font-kid);
  margin: 0 0 7px;
}

#print-sheet .print-intro {
  font-size: 11px;
  margin-bottom: 10px;
}

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

.print-card {
  border: 1px solid #bbb;
  padding: 8px;
  break-inside: avoid;
}

.print-card h2 {
  font: 13px var(--font-body);
  margin: 0 0 5px;
  color: #222;
}

.print-map {
  position: relative;
  aspect-ratio: 2736/1539;
}

.print-map img {
  width: 100%;
  display: block;
}

.print-dot {
  position: absolute;
  transform: translate(-50%,-50%);
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #b84a33;
  box-shadow: 0 0 0 1px #222;
}

.print-check {
  font-size: 12px;
  margin: 6px 0 0;
}

.print-extra {
  font-size: 9px;
  line-height: 1.5;
  margin-top: 10px;
}

body {
  background: white !important;
}
}

.cluster {
  position: absolute;
  transform: translate(-50%,-50%);
  border-radius: 999px;
  border: 2px dashed var(--color-white);
  background: rgba(36,72,59,.72);
  color: var(--color-white);
  font-family: var(--font-kid);
  cursor: pointer;
  width: 68px;
  padding: 3px 4px;
  font-size: .76rem;
  line-height: 1.4;
  min-height: 40px;
}

@media print {
.mission {
  display: none !important;
}

#print-sheet {
  position: static;
  margin: 0;
  padding: 0;
}
}

.walk-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.jelly.walk-save {
  background: var(--color-pine);
  color: #fff;
  box-shadow: 0 4px 0 #173e34;
}

.walk-actions .ghost {
  background: rgba(255,255,255,.78);
  color: var(--color-pine);
}

#walk-card-dialog {
  box-sizing: border-box;
  width: min(1040px,calc(100vw - 28px));
  max-width: none;
  max-height: 92dvh;
  padding: 24px;
  border: 1px solid var(--color-rule);
  border-radius: 24px;
  background: var(--color-paper);
  color: var(--color-ink-2);
  overflow: auto;
}

#walk-card-dialog::backdrop {
  background: rgba(22,48,40,.55);
}

.card-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.card-eyebrow {
  font-size: .8rem;
  color: var(--color-muted);
  margin: 0 0 5px;
}

.card-dialog-head h2 {
  font-size: 1.65rem;
}

.card-close {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--color-pine);
  font-size: 26px;
  cursor: pointer;
}

.card-maker {
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  gap: 28px;
  align-items: start;
}

.card-settings {
  padding: 20px;
  background: #f1ead5;
  border-radius: 18px;
}

.card-settings label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-pine);
  margin: 0 0 7px;
}

.card-settings label span {
  font-size: .8rem;
  font-weight: 400;
}

.card-settings legend span {
  font-size: .8rem;
  font-weight: 400;
}

.card-settings input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0 0 16px;
  padding: 9px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--color-pine);
  background: #fffdf8;
  border: 1px solid #d6d7c5;
  border-radius: 10px;
}

.card-settings fieldset {
  border: 0;
  margin: 18px 0 0;
  padding: 0;
  min-width: 0;
}

.card-settings legend {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-pine);
  margin: 0 0 7px;
  margin-bottom: 12px;
}

.card-privacy {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0;
}

.card-result {
  min-width: 0;
  text-align: center;
}

.card-result>p {
  font-size: .85rem;
  margin: 0 0 12px;
  color: var(--color-muted);
}

#card-preview {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: auto;
  border-radius: 16px;
  box-shadow: 0 5px 22px rgba(33,60,43,.12);
}

.card-dialog-bottom {
  position: sticky;
  bottom: -24px;
  background: var(--color-paper);
  border-top: 1px solid var(--color-rule);
  margin: 22px -24px -24px;
  padding: 16px 24px;
  z-index: 1;
}

.card-dialog-bottom>p {
  font-size: .8rem;
  color: var(--color-muted);
  margin: 0 0 10px;
}

.card-dialog-bottom>p:last-child:empty {
  display: none;
}

.card-dialog-bottom .walk-actions {
  justify-content: flex-end;
}

.card-dialog-bottom #card-save-status {
  margin: 12px 0 0;
}

.card-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 14px;
}

.card-pages button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--color-rule);
  border-radius: 12px;
  background: white;
  font: inherit;
  color: var(--color-pine);
  cursor: pointer;
}

.card-pages button:disabled {
  opacity: .35;
  cursor: default;
}

#walk-card-dialog button:disabled {
  opacity: .5;
  cursor: wait;
}

#walk-card-dialog input:focus-visible {
  outline: 3px solid var(--park-focus);
  outline-offset: 3px;
}

#walk-card-dialog button:focus-visible {
  outline: 3px solid var(--park-focus);
  outline-offset: 3px;
}

@media (max-width:650px) {
#walk-card-dialog {
  padding: 18px;
  max-height: 94dvh;
}

.card-maker {
  grid-template-columns: minmax(0,1fr);
  gap: 20px;
}

.card-settings {
  padding: 16px;
}

.card-dialog-head h2 {
  font-size: 1.4rem;
}

.card-dialog-bottom {
  margin: 20px -18px -18px;
  padding: 14px 18px;
  bottom: -18px;
}

.card-dialog-bottom .walk-actions {
  justify-content: stretch;
}

.card-dialog-bottom .walk-actions .jelly {
  flex: 1;
  min-width: 135px;
}

.mission .walk-actions {
  width: 100%;
}

.mission .walk-actions .jelly {
  flex: 1;
}

.card-close {
  min-width: 44px;
}
}

@media print {
#walk-card-dialog {
  display: none !important;
}
}

#v-pick>.photo {
  aspect-ratio: 4/3;
  max-height: none;
}

.photo-credit {
  margin: 10px 0 18px;
  font-size: .75rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.photo-credit a {
  white-space: nowrap;
}

#pStory p {
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}

.view .story-note {
  margin: 12px 0 0;
  line-height: 1.6;
}

.pick-acts .official-clan-link {
  font-size: .85rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.pick-acts a.jelly {
  text-decoration: none;
  background: #fffaf1;
  color: var(--color-pine);
}

.family-strip {
  margin: 20px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--o-yellow);
  color: var(--color-pine);
  font-size: .85rem;
  line-height: 1.6;
}

.nearby {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--o-apricot-line);
}

.nearby h4 {
  font: 1.08rem var(--font-kid);
  margin: 0 0 12px;
  color: var(--color-pine);
}

.nearby-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nearby>p {
  font-size: .75rem;
  color: var(--color-muted);
  margin: 12px 0 0;
}

@media (min-width:900px) {





}

@media (max-width:899.98px) {



}

.side {
  background: var(--o-apricot);
  border: 2px solid var(--o-apricot-line);
  padding: var(--space-md);
  min-width: 0;
  scroll-margin-top: var(--park-sticky-top,110px);
}

.guide #park-guide {
  gap: 4px;
  min-width: 72px;
  min-height: 92px;
  max-width: 90px;
}

.guide #park-guide svg.eum {
  width: 60px;
  height: 60px;
}

.guide .eum-name {
  font-size: .9rem;
}

.guide .eum-name small {
  font-size: .7rem;
}

@media (prefers-reduced-motion:no-preference) {
.guide #park-guide .eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: eum-guide-blink 5s infinite;
}

.guide #park-guide svg.eum {
  animation: eum-guide-float 3.2s ease-in-out infinite;
}
}

@keyframes eum-guide-blink {
0%,92%,96%,100%{transform:scaleY(1)}94%{transform:scaleY(.08)}
}

@keyframes eum-guide-float {
0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}
}

.visit-intro {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 20px 0 24px;
  padding: 20px 24px;
  background: #fffcf4;
  border: 1px solid var(--color-rule);
  border-radius: 18px;
}

.visit-intro h2 {
  font-size: 1.3rem;
  line-height: 1.5;
}

.visit-intro p {
  margin: 6px 0 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.visit-prep p {
  margin: 6px 0 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.visit-intro .visit-flow {
  margin: 0 0 7px;
  color: var(--color-pine);
  font: 400 .85rem var(--font-kid);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.visit-action {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.visit-action a.jelly {
  min-height: 46px;
  padding: 10px 18px;
  font-size: .95rem;
  text-decoration: none;
  color: var(--color-pine);
  background: var(--color-white);
  box-shadow: 0 3px 0 var(--o-celadon-line);
  text-align: center;
}

.visit-action small {
  font-size: .7rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.visit-prep {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding: 18px 20px;
  background: rgba(255,253,247,.78);
  border: 1px solid var(--o-yellow-line);
  border-radius: 16px;
}

.visit-prep h3 {
  font-size: 1.2rem;
}

.activity-origin {
  margin: 24px 0 0;
  padding: 0 4px;
  font-size: .8rem;
  line-height: 1.8;
  color: var(--color-muted);
}

.source-list {
  margin: 12px 0 0;
}

.source-list>div {
  padding: 12px 0;
  border-top: 1px solid var(--color-rule);
}

.source-list dt {
  font-weight: 700;
  color: var(--color-pine);
}

.source-list dd {
  margin: 5px 0 0;
  line-height: 1.8;
}

.visit-intro a:focus-visible {
  outline: 3px solid var(--park-focus);
  outline-offset: 4px;
}

.visit-prep a:focus-visible {
  outline: 3px solid var(--park-focus);
  outline-offset: 4px;
}

.activity-origin a:focus-visible {
  outline: 3px solid var(--park-focus);
  outline-offset: 4px;
}

@media (max-width:700px) {
.visit-intro {
  grid-template-columns: minmax(0,1fr);
  gap: 16px;
  padding: 18px;
}

.visit-prep {
  grid-template-columns: minmax(0,1fr);
  gap: 16px;
  padding: 18px;
}

.visit-intro h2 {
  font-size: 1.22rem;
}

.visit-action {
  justify-items: stretch;
}

.visit-action a.jelly {
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
}

.visit-action small {
  text-align: center;
}

.visit-prep p {
  overflow-wrap: anywhere;
}

.visit-intro p {
  overflow-wrap: anywhere;
}

.activity-origin {
  padding: 0 2px;
  overflow-wrap: anywhere;
}
}

@media print {
.visit-intro {
  display: none !important;
}

.visit-prep {
  display: none !important;
}

.activity-origin {
  display: none !important;
}
}

.journey-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--font-kid);
  word-break: keep-all;
}

.guide .bubble {
  word-break: keep-all;
  overflow-wrap: normal;
}



#mapInner {
  position: absolute;
  inset: auto;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  overflow: hidden;
}

#mapInner img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

#scale.sr {
  position: absolute;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  padding: 0;
  margin: -1px;
}

.park-finder .side .pick-acts {
  display: grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap: 10px;
}

.park-finder .side .pick-acts .jelly {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.official-clan-link {
  font: inherit;
  font-size: .8rem;
  line-height: 1.7;
}

#people-link[hidden] {
  display: none;
}

.mission .ms-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
}

.mission .praise {
  position: static;
  width: 84px;
  height: 84px;
  font-size: 1rem;
}

.mission .praise:not(.show) {
  display: none;
}

.walk-output {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--o-apricot-line);
}

.walk-output h3 {
  margin: 0;
  font-size: 1.15rem;
}

.walk-output p {
  font-size: .85rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 6px 0 0;
}

.walk-output .walk-actions {
  justify-content: flex-end;
}

.walk-output .jelly {
  min-height: 48px;
}

.walk-visit h2 {
  margin: 0 0 10px;
}

.walk-visit p {
  font-size: .95rem;
  line-height: 1.7;
  margin: 8px 0;
}

.walk-visit .walk-visit-note {
  font-size: .8rem;
  color: var(--color-muted);
}

.walk-visit-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 8px;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--color-pine);
  border-radius: 16px;
  background: var(--color-white);
  text-decoration: none;
}

.walk-visit-link span {
  font-weight: 700;
}

.walk-visit-link small {
  grid-column: 1/-1;
  font-size: .75rem;
  color: var(--color-muted);
}

.walk-visit-link:focus-visible {
  outline: 3px solid var(--park-focus);
  outline-offset: 4px;
}

@media (min-width:900px) {


.park-finder .side {
  height: auto;
  overflow: visible;
}
}

@media (max-width:899px) {


.park-finder .side {
  height: auto;
}
}

@media (max-width:600px) {
.slots {
  grid-template-columns: minmax(0,1fr);
}

.walk-output {
  grid-template-columns: minmax(0,1fr);
  gap: 16px;
}

.walk-output .walk-actions {
  justify-content: stretch;
}

.walk-output .walk-actions .jelly {
  flex: 1;
  min-width: 0;
  padding: 10px;
}

.walk-visit {
  grid-template-columns: minmax(0,1fr);
  gap: 16px;
  padding: 16px;
}

.walk-visit-link {
  width: 100%;
}
}

@media print {
.walk-visit {
  display: none !important;
}

.walk-output {
  display: none !important;
}

.park-finder {
  display: none !important;
}

.kids-ending {
  display: none !important;
}

.kids-guide {
  display: none !important;
}
}

.park-finder .side .list {
  max-height: 480px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.wrap {
  max-width: 1072px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.board {
  position: relative;
  border: 1.5px solid #e4dcc8;
  border-radius: 24px;
  background: #fffcf4;
  padding: 24px;
  margin-top: 28px;
  box-shadow: none;
}

.board::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: var(--board-accent);
}

.walk-visit::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: var(--board-accent);
}



.park-finder {
  --board-accent: #c5d8ca;
}

.mission {
  position: relative;
  --board-accent: #e4c7ba;
}

.walk-visit {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  position: relative;
  border: 1.5px solid #e4dcc8;
  border-radius: 24px;
  background: #fffcf4;
  padding: 24px;
  margin-top: 28px;
  box-shadow: none;
  --board-accent: #e3d3a8;
}

.journey-number {
  display: inline-grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font: 700 16px/1 var(--font-body);
  background: var(--board-accent);
  color: #24483b;
}





#map {
  touch-action: none;
  position: relative;
  background: #dbe6dd;
  
  
  
  
  isolation: isolate;
  overflow: hidden;
  contain: paint;
}

#map .tools {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
}

#map .tools button {
  box-shadow: 0 2px 5px #0002;
  border: 1px solid #d9cfb8;
}

.park-finder .side {
  min-width: 0;
  scroll-margin-top: var(--park-sticky-top,110px);
  border: 1.5px solid #d9cfb8;
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 4px 0 #e9e1cc;
  height: auto;
  overflow: visible;
  padding: 16px;
}

.side-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  margin-bottom: 14px;
}

.side-tabs button {
  border: 0;
  font-family: var(--font-kid);
  font-size: 1rem;
  cursor: pointer;
  min-height: 46px;
  border-radius: 12px;
  background: #eef2e6;
  color: #24483b;
  font: 700 1rem/1.4 var(--font-body);
  box-shadow: none;
}

.side-tabs button[aria-selected=true] {
  background: #24483b;
  color: #fff;
  box-shadow: none;
}

.park-finder .side .photo {
  position: relative;
  aspect-ratio: 4/3;
  max-height: none;
  padding: 0;
  background: #fffdf8;
  overflow: hidden;
}

.park-finder .side .photo img {
  object-position: center;
  object-fit: cover;
}

.photo .dirs {
  position: absolute;
  z-index: 2;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}

.photo .dirs button {
  padding: 5px 10px;
  min-height: 38px;
  background: #fffdf8ed;
  font: 700 .8rem/1.4 var(--font-body);
  box-shadow: none;
}

.photo .dirs button[aria-pressed=true] {
  background: #24483b;
  color: #fff;
}

.side .pick-head h3 {
  font-size: 1.5rem;
  font: 700 1.35rem/1.4 var(--font-body);
  color: #24483b;
}

.story {
  margin: var(--space-xs) 0 0;
  font-size: .95rem;
  color: #2f3b33;
  line-height: 1.75;
}

.nearby-chip {
  max-width: 100%;
  height: auto;
  min-height: 44px;
  white-space: normal;
  text-align: left;
  padding: 8px 12px;
  font-size: .9rem;
  border: 1px solid #d9cfb8;
  background: #fffdf8;
}

.slots li {
  display: grid;
  gap: 4px;
  padding: var(--space-md);
  border: 1.5px solid #d9cfb8;
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 4px 0 #e9e1cc;
  min-height: 110px;
  border-style: dashed;
}

.slots li.done {
  box-shadow: 0 4px 0 var(--o-celadon-line);
  border-style: solid;
  border-color: #24483b;
}

.mission:has(.praise.show) {
  padding-bottom: 24px;
}



.kids-guide-copy ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width:960px) {




#map {
  
  
}

.slots {
  grid-template-columns: minmax(0,1fr);
}


}

@media (max-width:600px) {
.board {
  padding: 18px;
}

.walk-visit {
  padding: 18px;
}

.wrap {
  padding: 18px 16px 48px;
}
}

@media print {
.park-finder {
  display: none !important;
}

.mission {
  background: #fff;
  border: 0;
}
}

/* Slot search flow */
.fill-strip {display:flex;gap:16px;align-items:center;justify-content:space-between;background:#f4e2d8;border:1px solid #d6b7a7;border-radius:12px;padding:12px 16px;margin:16px 0;color:#24483b;scroll-margin-top:calc(var(--park-sticky-top,110px) + 12px)}
.fill-strip[hidden], .walk-complete[hidden] {display:none}
.fill-strip button, .reset-walk {background:transparent;color:#24483b;text-decoration:underline;border:0;box-shadow:none;min-height:44px;padding:8px}
#slots li {scroll-margin-top:var(--park-sticky-top,110px)}
#slots li:not(.done) {cursor:pointer}
#slots li:focus {outline:3px solid #547e68;outline-offset:4px}
.slot-hint {font-size:.875rem;line-height:1.6;margin:4px 0 12px;color:#536553}
#slots .slot-fill {color:#24483b;background:#fffefa;min-height:44px;padding:10px 14px;text-decoration:none}
.walk-complete {background:#e8efdf;color:#24483b;border:1px solid #b2c8a8;padding:12px 16px;border-radius:12px}
.ready-to-save {outline:3px solid #afc699;outline-offset:4px}
.slot-filled {animation:slot-glow 1.2s ease-out}
@keyframes slot-glow {0%,40%{background:#e5efd9;box-shadow:0 0 0 5px #c2d6aa}100%{box-shadow:0 0 0 0 transparent}}
@media(prefers-reduced-motion:reduce){.slot-filled {animation:none}}

/* Search, results and map share one activity board. */
.park-finder {--board-accent:#c5d8ca}
.finder-head {display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:center;margin-bottom:20px}
.finder-head h2 {font-size:clamp(1.35rem,2vw,1.65rem);line-height:1.45;word-break:keep-all}
.finder-head .guide {grid-row:auto;grid-template-columns:minmax(0,1fr) 72px}
.finder-grid {display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr);grid-template-areas:"search map" "card map";grid-template-rows:auto 1fr;gap:16px 20px;align-items:start}
.finder-search {grid-area:search;min-width:0}
.finder-search .search {margin-top:0}
.finder-search .hint {margin:8px 0;font-size:.8rem}
.park-finder .side {grid-area:card;margin:0}
.finder-map {grid-area:map;min-width:0;position:sticky;top:var(--park-sticky-top,110px);align-self:start}
#map {height:min(640px,calc(100dvh - var(--park-sticky-top,110px) - 32px));min-height:260px;max-height:none;aspect-ratio:auto}
@media(max-width:960px){
 .finder-head {grid-template-columns:minmax(0,1fr)}
 .finder-grid {grid-template-columns:minmax(0,1fr);grid-template-areas:"search" "map" "card";grid-template-rows:auto;gap:16px}
 .finder-map {position:static}
 #map {height:auto;min-height:0;aspect-ratio:16/10}
}
@media print {.park-finder{display:none!important}}

.search .random-icon {display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;min-height:48px;padding:0;border:1px solid #d9cfb8;border-radius:50%;background:#f7efd9;color:#24483b;box-shadow:0 3px 0 #dfd2ae}
.random-icon svg {width:23px;height:23px;flex:none}
@media(max-width:600px){.finder-search .search{gap:6px;grid-template-columns:minmax(0,1fr) auto 44px}.search .random-icon{width:44px;height:44px;min-height:44px}.search .coral{padding:0 14px}.search input{padding:0 12px}}

.pick-head .hanja {margin:0;font-size:.95rem;line-height:1.5;word-break:keep-all}
.pick-head .hanja:empty {display:none}

/* Keep the primary task first, then two related activities. */
.pick-acts #add {grid-column:1/-1}
.park-finder .side .pick-acts .jelly {display:flex;align-items:center;justify-content:center;min-height:48px;font-size:.9rem;line-height:1.5;padding:12px 10px;text-decoration:none;white-space:normal;word-break:keep-all}
.pick-acts #people-link[hidden],.pick-acts #map-link[hidden] {display:none}
.pick-acts #map-link:has(+ #people-link[hidden]) {grid-column:1/-1}

/* Reference information follows the activity and next-activity navigation. */
main details#sources {
  max-width: 1040px;
  margin: 28px auto 0;
  padding-top: 14px;
  border-top: 1px solid #ded8ca;
}
main details#sources > summary { padding: 10px 0; }
main #sources .kids-guide-copy { max-width: 78ch; }


.grandmother-choice {
  display:grid;
  gap:4px;
  margin-block:4px 8px;
  min-width:0;
  color:#536553;
  font-size:.875rem;
}
.grandmother-choice select {
  width:100%;
  min-height:44px;
  padding:6px 10px;
  border:1px solid #a7b69d;
  border-radius:8px;
  background:#fffefa;
  color:#24483b;
  font:inherit;
}
.grandmother-choice select:focus-visible {
  outline:2px solid #547e68;
  outline-offset:2px;
}
.grandmother-choice[hidden], #slotDlg button[hidden] {display:none}
