@charset "UTF-8";
:root {
  color-scheme: dark;
  --cream: #f7f0df;
  --muted: #e1dfd0;
  --ink: #1b302b;
  --orange: #e6a56c;
  --panel: #20362ff2;
  --panel-solid: #20362f;
  --line: #e7e6d529;
  --radius: 20px;
  --hud-surface: #182e28ed;
  --hud-aux-surface: #182e2838;
  --hud-aux-active: #182e2866;
  --hud-aux-line: #f7f0df66;
  --hud-text-shadow: -1px -1px 1px #10251d, 1px -1px 1px #10251d, -1px 1px 1px #10251d, 1px 1px 1px #10251d, 0 2px 5px #000;
  --hud-gap: 8px;
  --control-height: 44px;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #293b36; color: var(--cream); }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .65; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, canvas:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
[hidden] { display: none !important; }
#camp {
  --edge-x: clamp(16px, 2.2vw, 32px);
  --edge-y: clamp(14px, 2.5vh, 24px);
  --safe-left: max(var(--edge-x), env(safe-area-inset-left));
  --safe-right: max(var(--edge-x), env(safe-area-inset-right));
  --safe-top: max(var(--edge-y), env(safe-area-inset-top));
  --safe-bottom: max(14px, env(safe-area-inset-bottom));
  position: relative; height: 100%; height: 100dvh; isolation: isolate;
}
#camp:fullscreen { width: 100%; height: 100%; background: #293b36; }
#scene { display: block; width: 100%; height: 100%; touch-action: none; outline: none; cursor: grab; }
#scene.dragging { cursor: grabbing; }
.shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #10251d47, transparent 23%, transparent 65%, #0b201c80); z-index: 1; }
.header { position: absolute; top: var(--safe-top); left: var(--safe-left); right: var(--safe-right); display: flex; align-items: center; justify-content: space-between; gap: 16px; z-index: 3; pointer-events: none; }
.header > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--cream); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand > span { font-family: Georgia, "Batang", serif; font-size: 24px; letter-spacing: 2px; font-weight: 500; white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: var(--hud-gap); }
.playing .brand > span { font-size: 21px; }
.pill, .icon-button, .close, .sit-button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--control-height); padding: 10px 15px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--hud-surface); color: var(--cream);
  font-size: 13px; line-height: 1.35; white-space: nowrap;
}
.pill svg { width: 18px; height: 18px; flex-shrink: 0; color: #ebddbf; }
.pill:hover, .icon-button:hover, .close:hover { background: #314a40; }
.icon-button, .close { width: var(--control-height); padding: 0; flex-shrink: 0; font-size: 20px; }
.close { font-size: 26px; }
/* Keep secondary controls discoverable without the opaque HUD surface. */
:is(.header-right > button, .hud-view .pill, .restore-controls, :where(#sites-open, #actions-open)) { background: var(--hud-aux-surface); border-color: var(--hud-aux-line); text-shadow: var(--hud-text-shadow); }
:is(.header-right > button, .hud-view .pill, .restore-controls, :where(#sites-open, #actions-open)):is(:focus-visible, :active) { background: var(--hud-aux-active); }
:is(.header-right > button, .hud-view .pill, .restore-controls, :where(#sites-open, #actions-open)):is([aria-pressed="true"], [aria-expanded="true"]) { background: var(--hud-aux-active); border-color: var(--orange); box-shadow: inset 0 -2px var(--orange); }
@media (hover: hover) {
  :is(.header-right > button, .hud-view .pill, .restore-controls, :where(#sites-open, #actions-open)):enabled:hover { background: var(--hud-aux-active); }
}
.hud-status { position: absolute; top: calc(var(--safe-top) + 58px); left: var(--safe-left); z-index: 2; width: max-content; max-width: calc(100% - var(--safe-left) - var(--safe-right)); pointer-events: none; }
.hud-status .location, #visitor-count { text-shadow: var(--hud-text-shadow); }
.location { font-size: 14px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.companions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.connection-status { min-height: 36px; padding: 6px 10px; border: 1px solid var(--orange); border-radius: 8px; background: var(--ink); color: var(--cream); font-size: 12px; pointer-events: auto; }
.hud-bottom { position: absolute; left: var(--safe-left); right: var(--safe-right); bottom: var(--safe-bottom); z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px 18px; pointer-events: none; }
.hud-group { display: flex; align-items: center; gap: var(--hud-gap); }
.hud-group > *, .sound-wrap > * { pointer-events: auto; }
.hud-navigation { grid-column: 1; justify-self: start; }
.hud-context { grid-column: 2; justify-self: center; }
.hud-view { grid-column: 3; justify-self: end; }
.sit-button { border-color: #f5dfb5; background: #f2e4c9; color: var(--ink); font-weight: 600; }
.sit-button:hover { background: #fff2d8; }
kbd { font: 11px system-ui; border: 1px solid #d4d5c44d; border-radius: 4px; padding: 2px 5px; }
.sit-button kbd { border-color: #20342c40; }
.sound-wrap { position: relative; }
.sound-wrap > .pill { width: 100%; }
.volume {
  position: fixed; z-index: 4; width: min(240px, calc(100vw - 24px));
  display: flex; flex-direction: column; gap: var(--hud-gap); padding: 14px;
  background: var(--panel-solid); border: 1px solid var(--hud-aux-line); border-radius: 12px;
  box-shadow: 0 8px 24px #0005;
}
.volume-heading, .volume-playback { display: flex; align-items: center; justify-content: space-between; gap: var(--hud-gap); font-size: 13px; }
.volume-heading output { font-variant-numeric: tabular-nums; }
.volume-playback > span { color: var(--muted); }
input[type=range] { width: 108px; accent-color: var(--orange); min-height: 24px; cursor: pointer; }
.volume input { width: 100%; margin: 0; min-height: var(--control-height); }
.action-pending { font-size: 13px; line-height: 1.4; padding: 11px 14px; border-radius: 12px; background: var(--hud-surface); }
.desktop-guide, .touch-guide { grid-column: 1 / -1; justify-self: center; margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); text-shadow: 0 1px 4px #000; pointer-events: none; }
.desktop-guide span { padding: 0 8px; }
.touch-guide, .joystick, .mobile-help { display: none; }
#crosshair { position: absolute; left: 50%; top: 50%; height: 3px; width: 3px; background: #ffedc49c; box-shadow: 0 0 8px #27372a80; border-radius: 50%; pointer-events: none; z-index: 2; }
.seated .desktop-guide, .seated .touch-guide, .seated #crosshair { display: none; }
.restore-controls { position: absolute; right: var(--safe-right); top: var(--safe-top); z-index: 7; }
.quiet-view .header, .quiet-view #hud { visibility: hidden; pointer-events: none; }
.quiet-view .shade { opacity: .35; }
/* Welcome keeps the existing copy, typography and single entrance. */
.welcome { position: absolute; left: 7.1%; bottom: 15%; z-index: 3; max-width: 500px; text-shadow: 0 2px 35px #10251d80; }
.eyebrow { font-size: 11px; letter-spacing: 3px; color: var(--orange); margin: 0 0 23px; }
.eyebrow > span { display: inline-block; width: 25px; height: 1px; background: var(--orange); vertical-align: middle; margin-right: 10px; }
.welcome h1 { font-family: Georgia, "Batang", "Noto Serif KR", serif; font-size: clamp(36px, 4.1vw, 64px); font-weight: 400; line-height: 1.4; letter-spacing: -1.7px; margin: 0 0 23px; }
.intro { font-size: 14px; line-height: 1.9; color: #f0ebd9dc; letter-spacing: .2px; margin: 0 0 31px; }
.primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 48px; border: 1px solid #f5e6c78c; background: #f2e4c9; color: var(--ink); padding: 14px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.primary:hover { background: #fff1d8; }
.primary svg { height: 20px; width: 20px; }
#enter { width: 18em; max-width: 100%; }
#enter > svg, #enter > .startup-spinner { flex: 0 0 20px; }
#enter:disabled > svg, #enter:not(:disabled) > .startup-spinner { display: none; }
.welcome-footer { position: absolute; top: 100%; left: 0; width: 100%; }
.startup-status { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.startup-spinner { width: 20px; height: 20px; border: 2px solid #1b302b40; border-top-color: var(--ink); border-radius: 50%; animation: startup-spin .9s linear infinite; }
@keyframes startup-spin { to { transform: rotate(360deg); } }
#startup-retry { margin-top: 10px; }
.welcome-note { font-size: 11px; color: #e0dfd2b3; margin: 13px 0 0; }
/* Existing dialogs stay at their original entrances; small text and dense maps grow. */
.backdrop { position: absolute; inset: 0; background: #0c211b80; backdrop-filter: blur(5px); z-index: 5; }
.panel { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(510px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 100px #0004; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.panel .eyebrow { font-size: 12px; letter-spacing: 1px; margin-bottom: 8px; }
.panel h2 { font-family: Georgia, "Batang", serif; font-size: 24px; font-weight: 400; margin: 0; letter-spacing: -.5px; }
.panel-note { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 18px 0 0; }
.map { position: relative; isolation: isolate; overflow: hidden; border-radius: 12px; background: #415349; height: 228px; border: 1px solid var(--line); }
.map-lake { position: absolute; left: 0; right: 0; top: 0; text-align: center; padding-top: 26px; height: 95px; background: repeating-linear-gradient(174deg, #819b9630 0 1px, transparent 1px 15px), #617e7b; color: var(--cream); font-size: 13px; letter-spacing: 5px; }
.map-shore { position: absolute; top: 83px; width: 120%; height: 22px; background: #9a9676; transform: rotate(-2deg); left: -10%; border-radius: 45%; }
.site-options { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; position: absolute; top: 110px; left: 12px; right: 12px; }
.site-option { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; min-height: 70px; border: 1px solid var(--line); background: #26392d; border-radius: 8px; padding: 8px 3px; color: var(--cream); font-size: 13px; }
.site-option svg { width: 24px; height: 20px; color: var(--site-color); }
.site-option small { font-size: 12px; color: var(--muted); }
.site-option:hover, .site-option.active { border-color: var(--orange); background: #5e6651; }
.map-trail { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
.help dl { margin: 0; }
.help dl > div { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.help dt { color: #d3bb91; width: 84px; flex-shrink: 0; }
.help dd { margin: 0; color: var(--cream); }
.look-keys { display: block; margin-top: 6px; font-size: 13px; color: #d3bb91; }
.place-options, .fuel-options { display: grid; gap: 10px; }
.place-option, .fuel-option { text-align: left; min-height: 56px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #314a40; color: var(--cream); }
.place-option:hover, .fuel-option:hover { border-color: var(--orange); }
.place-option:disabled { cursor: default; opacity: .65; }
.place-option strong, .fuel-option strong { display: block; font-size: 15px; font-weight: 500; }
.place-option small, .fuel-option small { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 5px; }
.recovery-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.toast { position: absolute; bottom: calc(var(--safe-bottom) + var(--hud-bottom-height, 160px) + 12px + var(--hud-stick-clearance, 0px)); left: 50%; transform: translateX(-50%); z-index: 7; max-width: calc(100% - 32px); width: max-content; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-size: 14px; text-align: center; line-height: 1.6; pointer-events: none; }
.error p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.error .primary { margin-top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.noscript { position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; padding: 30px; background: #263731; line-height: 1.8; }
@media (max-width: 1099px) {
  .hud-bottom { grid-template-columns: 1fr 1fr; }
  .hud-context { grid-column: 1 / -1; grid-row: 1; }
  .hud-navigation, .hud-view { grid-row: 2; align-self: start; }
  .hud-view { grid-column: 2; }
  .desktop-guide { display: none; }
}
@media (max-width: 600px) {
  #camp { --edge-x: 12px; --edge-y: 12px; }
  .header { gap: 8px; }
  .brand { gap: 6px; }
  .brand img { width: 30px; height: 30px; }
  .brand > span { font-size: 20px; letter-spacing: 1px; }
  .playing .brand > span { display: none; }
  .header-right { gap: 6px; }
  .header-right .pill { padding: 10px 12px; font-size: 13px; }
  .hud-status { top: calc(var(--safe-top) + 54px); }
  .hud-bottom { gap: 10px 8px; }
  .hud-navigation, .hud-view { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
  .hud-context { width: 100%; }
  .hud-context > button { flex: 1; min-width: 0; }
  .hud-context kbd { display: none; }
  .hud-bottom .pill, .sit-button { padding: 10px 8px; font-size: 13px; }
  .welcome { left: 8%; right: 8%; bottom: 18%; }
  .welcome h1 { font-size: clamp(28px, 8.2vw, 38px); line-height: 1.45; letter-spacing: -1px; }
  .intro { font-size: 13px; }
  .welcome .eyebrow { margin-bottom: 20px; }
  .panel { padding: 20px; }
  .panel h2 { font-size: 22px; }
  .map { height: 280px; }
  .site-options { grid-template-columns: repeat(3, 1fr); top: 100px; }
  .site-option { min-height: 68px; }
  .site-option svg { display: none; }
  .help dl > div { gap: 10px; }
  .help dt { width: 72px; }
}
@media (pointer: coarse) {
  .desktop-guide, .pc-help, .look-keys { display: none; }
  .mobile-help { display: inline; }
  .touch-guide { display: block; }
  .sit-button kbd { display: none; }
  .joystick { display: block; position: absolute; left: var(--safe-left); bottom: var(--safe-bottom); width: var(--touch-stick-size); height: var(--touch-stick-size); border: 1px solid #e7e7d44d; border-radius: 50%; background: #20352c6b; z-index: 3; touch-action: none; }
  .joystick span { position: absolute; left: 25px; top: 25px; width: 34px; height: 34px; border-radius: 50%; background: #f1e3c84d; border: 1px solid #f1e3c870; pointer-events: none; }
}
@media (max-height: 500px) {
  .companions { margin-top: 2px; }
  .welcome { bottom: max(9%, 110px); max-width: 450px; }
  .welcome h1 { font-size: 32px; line-height: 1.25; margin-bottom: 13px; }
  .welcome .eyebrow { margin-bottom: 12px; }
  .welcome .intro { display: none; }
  .desktop-guide, .touch-guide { display: none; }
  .hud-bottom { gap: 8px 12px; }
  .joystick span { left: 19px; top: 19px; }
}
/* A short landscape screen needs a single row of navigation/view controls. */
@media (max-height: 500px) and (min-width: 501px) {
  .hud-navigation, .hud-view { flex-direction: row; width: auto; }
  .hud-context { width: auto; }
  .hud-group { gap: 6px; }
  .hud-bottom { column-gap: 10px; }
  .hud-bottom .pill, .sit-button { font-size: 12px; padding: 10px 8px; }
}
/* Reserve the lower-left for movement; footer growth stays to its right. */
@media (pointer: coarse) {
  #camp { --touch-stick-size: 86px; --touch-controls-gap: 16px; }
  .hud-bottom {
    left: calc(var(--safe-left) + var(--touch-stick-size) + var(--touch-controls-gap));
    max-width: 400px; margin-left: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  }
  .hud-navigation, .hud-view {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%; gap: 8px;
  }
  .hud-view { align-items: start; }
  .hud-context { display: flex; flex-wrap: wrap; width: 100%; gap: 8px; }
  .hud-context > button { flex: 1 1 100px; min-width: 0; }
  .hud-bottom .pill, .hud-bottom .sit-button { min-width: 0; padding: 10px 6px; font-size: 12px; }
  .hud-navigation .pill { gap: 4px; }
  .touch-guide { align-self: center; text-align: center; }
}
@media (pointer: coarse) and (max-height: 500px) {
  #camp { --touch-stick-size: 74px; }
  .hud-bottom { max-width: min(300px, calc(100% - 200px)); }
  .hud-context > button { flex: 1 1 86px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* A single optional activity; ordinary navigation remains available above it. */
.roast-quiet-start { position:absolute;z-index:7;left:var(--safe-left);top:var(--safe-top); }
.roast-controls { position:absolute;z-index:6;left:50%;transform:translateX(-50%);bottom:calc(var(--hud-bottom-height, 120px) + 24px);max-width:calc(100% - 28px);width:max-content;padding:12px 16px;border-radius:18px;background:rgba(24,39,32,.9);text-align:center; }
.roast-controls > span { display:block;font-size:13px;margin-bottom:10px; }
.roast-controls > div { display:flex;gap:8px;justify-content:center;flex-wrap:wrap; }
.roast-controls[hidden],.roast-quiet-start[hidden] { display:none; }
.quiet-view .roast-controls { bottom:calc(env(safe-area-inset-bottom, 0px) + 22px); }
@media(max-height:500px) { .roast-controls { bottom:auto;top:calc(var(--safe-top) + 48px);padding:8px 12px; } .roast-controls > span { margin-bottom:5px; } }

/* Short touch screens keep temporary notices left of the button stack. */
@media (pointer: coarse) and (max-height: 500px) {
  .roast-controls { left: auto; right: var(--safe-right); transform: none; max-width: min(400px, calc(100% - 200px)); }
  .toast {
    left: var(--safe-left); transform: none;
    bottom: calc(var(--safe-bottom) + var(--touch-stick-size) + 12px);
    max-width: calc(200px - var(--safe-left) - 24px);
    max-height: calc(100% - var(--safe-bottom) - var(--touch-stick-size) - var(--safe-top) - 128px);
    overflow: auto; pointer-events: auto;
  }
}

/* One discovery surface, independent of how many actions are registered. */
.action-panel { display:flex; flex-direction:column; gap:var(--hud-gap); max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom)); }
.action-panel .panel-heading { flex-shrink:0; margin-bottom:0; }
.action-form { flex-shrink:0; }
.action-form input { width:100%; min-height:var(--control-height); border:1px solid var(--line); border-radius:12px; background:var(--hud-surface); color:var(--cream); padding:10px 15px; }
.action-form input::placeholder { color:var(--muted); }
.action-options { overflow-y:auto; min-height:0; display:flex; flex-direction:column; gap:var(--hud-gap); overscroll-behavior:contain; }
.action-option { width:100%; text-align:left; min-height:var(--control-height); padding:10px 15px; border:1px solid var(--line); border-radius:12px; background:var(--hud-surface); }
.action-panel .action-option { border-color:transparent; border-radius:0; background:transparent; }
.action-panel .action-option:enabled:hover, .action-panel .action-option:focus-visible { background:var(--hud-surface); }
.action-panel .action-option:focus-visible { outline-offset:-2px; }
.action-option:disabled { cursor:default; opacity:.7; }
.action-option-line { display:flex; justify-content:space-between; align-items:center; gap:var(--hud-gap); flex-wrap:wrap; }
.action-option strong { font-weight:500; }
.action-option small,.action-reason { color:var(--muted); font-size:12px; }
.action-reason { display:block; margin-top:4px; line-height:1.5; }
.action-message { margin:0; font-size:12px; line-height:1.5; }
.action-message:empty { display:none; }
.action-help div { grid-template-columns:1fr 1fr; }

#scene.object-hover { cursor:pointer; }
.object-hint { position:absolute; z-index:4; left:50%; bottom:calc(var(--safe-bottom) + var(--hud-bottom-height, 160px) + 12px + var(--hud-stick-clearance, 0px)); transform:translateX(-50%); padding:8px 12px; border:1px solid var(--line); border-radius:12px; background:var(--panel); color:var(--cream); font-size:13px; pointer-events:none; }

/* The brochure is an opaque paper surface; other camp dialogs keep their theme. */
.table-links-panel { --paper:#f5ead0; --paper-card:#fff8e8; --paper-ink:#493329; --paper-accent:#943b2e; --paper-line:#bda47f; color-scheme:light; display:flex; flex-direction:column; overflow:hidden; padding:0; width:min(560px,calc(100% - 32px)); border:1px solid var(--paper-line); border-radius:4px; color:var(--paper-ink); background:var(--paper); box-shadow:0 22px 70px #0006,4px 5px 0 -1px var(--paper-line),7px 9px 0 -2px var(--paper); }
.table-links-panel[data-kind="coffee"] { --paper-accent:#4c6148; }
.table-links-panel .panel-heading { flex-shrink:0; margin:0; padding:20px 24px 16px; border-top:6px solid var(--paper-accent); }
.table-links-panel .eyebrow { margin:0 0 5px; color:var(--paper-accent); font-size:11px; letter-spacing:3px; }
.table-links-panel h2 { color:var(--paper-accent); font-size:32px; font-weight:700; letter-spacing:-1px; }
.table-links-panel .close { flex-shrink:0; color:var(--paper-accent); background:transparent; border-color:var(--paper-line); border-radius:50%; }
.table-links-panel :is(button,a):focus-visible { outline:3px solid var(--paper-accent); outline-offset:-4px; }
.table-links-list { display:flex; flex-direction:column; min-height:0; flex:0 1 auto; }
.table-links-page { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; min-height:0; overflow-y:auto; padding:4px 24px 20px; overscroll-behavior:contain; scrollbar-color:var(--paper-line) var(--paper); }
.table-link { position:relative; display:flex; flex-direction:column; justify-content:center; gap:8px; min-height:104px; padding:18px 15px; border:1px dashed var(--paper-accent); border-radius:2px; background:var(--paper-card); color:var(--paper-ink); text-decoration:none; }
.table-link::after { content:''; position:absolute; width:10px; height:10px; right:-6px; top:calc(50% - 5px); border:1px solid var(--paper-line); border-radius:50%; background:var(--paper); }
.table-link:hover { border-style:solid; background:var(--paper); }
.table-link strong { color:var(--paper-accent); font-size:21px; font-weight:700; }
.table-link span { font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.table-links-panel .panel-note { flex-shrink:0; margin:0; padding:12px 24px 16px; border-top:1px dashed var(--paper-line); color:var(--paper-ink); font-size:12px; line-height:1.6; }
@media(max-width:440px) { .table-links-page { grid-template-columns:1fr; gap:10px; padding-left:20px; padding-right:20px; } .table-link { min-height:86px; padding:14px 16px; } .table-links-panel .panel-heading { padding:16px 20px 14px; } .table-links-panel h2 { font-size:28px; } .table-links-panel .panel-note { padding:12px 20px 14px; } }
@media(max-height:400px) { .table-links-panel .panel-heading { padding:10px 20px; border-top-width:4px; } .table-links-panel .eyebrow { display:none; } .table-links-panel h2 { font-size:25px; } .table-links-page { padding:4px 20px 12px; } .table-link { min-height:82px; padding:12px; } .table-links-panel .panel-note { padding:8px 20px; } }

/* Coffee reads as a cafe menu, while the delivery brochure keeps coupon cards. */
.table-links-panel[data-kind="coffee"] { --paper:#f7efdf; --paper-accent:#593e2c; --paper-line:#c7b18c; border:6px solid var(--paper-accent); border-radius:10px; box-shadow:0 22px 70px #0006; }
.table-links-panel[data-kind="coffee"] .panel-heading { border-top:0; border-bottom:3px double var(--paper-line); margin:0 24px; padding:20px 0 16px; }
.table-links-panel[data-kind="coffee"] h2 { font-weight:400; letter-spacing:1px; }
.table-links-panel[data-kind="coffee"] .table-links-page { display:flex; flex-direction:column; gap:0; padding-top:0; padding-bottom:0; }
.table-links-panel[data-kind="coffee"] .table-link { flex-shrink:0; flex-direction:row; align-items:center; justify-content:initial; gap:14px; min-height:94px; padding:20px 0; border:0; border-bottom:1px solid var(--paper-line); border-radius:0; background:transparent; }
.table-links-panel[data-kind="coffee"] .table-link::before { content:''; order:1; flex:1; border-bottom:1px dotted var(--paper-line); min-width:12px; }
.table-links-panel[data-kind="coffee"] .table-link::after { display:none; }
.table-links-panel[data-kind="coffee"] .table-link strong { order:0; font-size:20px; font-weight:500; min-width:0; overflow-wrap:anywhere; }
.table-links-panel[data-kind="coffee"] .table-link span { order:2; flex-shrink:0; width:126px; text-align:right; }
.table-links-panel[data-kind="coffee"] .table-link:hover strong { text-decoration:underline; text-underline-offset:5px; }
@media(max-width:440px) { .table-links-panel[data-kind="coffee"] .panel-heading { margin:0 20px; padding:16px 0 14px; } .table-links-panel[data-kind="coffee"] .table-link::before { display:none; } .table-links-panel[data-kind="coffee"] .table-link strong { flex:1; font-size:18px; } .table-links-panel[data-kind="coffee"] .table-link span { width:104px; } }
@media(max-height:400px) { .table-links-panel[data-kind="coffee"] .panel-heading { margin:0 20px; padding:10px 0; } .table-links-panel[data-kind="coffee"] .table-link { min-height:82px; padding:12px 0; } }


.table-link-external { font:inherit; white-space:nowrap; }

.stone-game-panel{position:absolute;inset:12px;width:auto;max-width:none;max-height:none;transform:none;padding:12px;display:flex;flex-direction:column;z-index:30;background:#f3eee5;color:#273e36;border-radius:15px}.stone-game-panel[hidden]{display:none}.stone-game-panel .panel-heading{flex-shrink:0;gap:12px;margin:0 0 8px}.stone-game-panel h2{font-size:18px}.stone-game-panel p{font-size:11px;margin:3px 0;color:#52665a}.stone-game-panel .pill{background:#344d43;color:#fff}.stone-game-panel iframe{display:block;flex:1;min-height:0;width:100%;border:0;border-radius:8px;background:#f3eee5}@media(max-width:600px){.stone-game-panel{inset:4px;padding:8px}.stone-game-panel .panel-heading{align-items:flex-start}.stone-game-panel .panel-heading .pill{font-size:12px;min-height:44px;padding:8px 10px}.stone-game-panel p{max-width:170px;font-size:10px}}
/* The journey map uses the existing modal and controls. Pins are HTML buttons. */
#worlds-panel{width:min(880px,94vw);padding:24px;max-height:92dvh}
#worlds-panel .panel-heading{position:sticky;top:0;z-index:3;background:var(--panel);box-shadow:0 -24px 0 var(--panel);margin-bottom:16px}
#worlds-panel>.panel-note{font-size:11px;margin-top:12px}
.travel-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(225px,1fr);gap:24px;align-items:stretch}
.travel-drawing{position:relative;isolation:isolate;min-height:355px;overflow:hidden;border-radius:12px;background:#d8d9b9;color:#253c30}
.travel-drawing>svg{position:absolute;inset:0;width:100%;height:100%}
.travel-pins{position:absolute;inset:0}
.travel-pin{position:absolute;display:flex;align-items:center;flex-direction:column;gap:3px;min-height:58px;min-width:115px;padding:7px 10px;border:1px solid #f4edce;background:#f4efddeF;box-shadow:0 3px 12px #273c2420;border-radius:10px;color:#293d30;transform:translate(-50%,-50%);font-size:12px;line-height:1.3}
.travel-pin-home{left:76%;top:79%}.travel-pin-lake-01,.travel-pin-hakampo-01{left:71%;top:27%}.travel-pin-dalgung-01{left:27%;top:47%}
.travel-pin-icon{font-size:23px;line-height:1;color:#6c7e50}.travel-pin strong{font-weight:600}.travel-pin small{font-size:10px;color:#53694d}
.travel-pin[aria-pressed=true]{border:2px solid #b77542;background:#fff8e6;box-shadow:0 0 0 3px #b7754220}.travel-pin.current small{color:#8a4b23;font-weight:600}
.travel-pin:disabled{opacity:.75}.travel-pin:focus-visible,#travel-go:focus-visible{outline:3px solid var(--cream);outline-offset:4px}
.travel-map-caption{position:absolute;left:12px;bottom:10px;pointer-events:none;color:#526449;font-size:10px}
.travel-detail{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}.travel-detail .eyebrow{font-size:11px;color:var(--muted);letter-spacing:0;margin:0 0 9px}
.travel-detail h3{font-family:Georgia,'Batang',serif;font-size:24px;line-height:1.35;font-weight:400;margin:0 0 8px}.travel-detail>p:not(.eyebrow){font-size:13px;line-height:1.7;margin:0;color:var(--muted)}
.travel-features{border-top:1px solid var(--line);border-bottom:1px solid var(--line);width:100%;margin:20px 0 14px;padding:13px 0}.travel-features p{font-size:13px;line-height:1.7;margin:0}.travel-features p+p{margin-top:4px;color:#d3bb91}
.travel-detail .travel-people{font-size:11px}.travel-detail .primary{min-height:46px;width:100%;margin-top:16px;font-size:14px}.travel-detail .travel-current{padding-top:18px;color:#e4cfab!important}
#travel-error{color:#ffcaad;line-height:1.6;font-size:12px;margin:10px 0 0}
@media(max-width:650px){#worlds-panel{padding:16px;width:calc(100vw - 20px)}.travel-layout{grid-template-columns:1fr;gap:16px}.travel-drawing{min-height:220px}.travel-pin{min-width:108px;min-height:52px;font-size:11px;padding:5px 8px}.travel-pin-icon{font-size:19px}.travel-detail h3{font-size:21px}.travel-detail .eyebrow{margin-bottom:5px}.travel-features{margin:10px 0 8px;padding:8px 0}.travel-detail .primary{margin-top:10px}.travel-detail .travel-current{padding-top:10px}#worlds-panel .panel-heading{margin-bottom:12px}#worlds-panel>.panel-note{margin-top:8px}.travel-map-caption{font-size:9px}.travel-pin-dalgung-01{left:24%;top:45%}.travel-pin-home{left:74%;top:78%}}
@media(max-height:650px) and (max-width:500px){.travel-drawing{min-height:160px}.travel-map-caption{display:none}}
@media(max-height:500px) and (min-width:501px){
 #worlds-panel{padding:12px 16px}#worlds-panel .panel-heading{margin-bottom:6px}#worlds-panel .panel-heading .eyebrow{display:none}#worlds-panel .panel-heading h2{font-size:20px}
 .travel-layout{grid-template-columns:minmax(0,1.15fr) minmax(190px,1fr);gap:14px}.travel-drawing{min-height:190px}.travel-pin{min-width:108px;min-height:52px;font-size:11px;padding:5px 8px}.travel-pin-icon{font-size:19px}.travel-pin-dalgung-01{left:24%;top:45%}.travel-pin-home{left:74%;top:78%}.travel-map-caption{display:none}
 .travel-detail{justify-content:flex-start}.travel-detail .eyebrow{font-size:10px;line-height:1.3;margin-bottom:4px}.travel-detail h3{font-size:18px;line-height:1.25;margin-bottom:4px}.travel-detail>p:not(.eyebrow){font-size:12px;line-height:1.35}.travel-features{margin:6px 0;padding:4px 0}.travel-features p{font-size:11px;line-height:1.3}.travel-features p+p{margin-top:2px}.travel-detail .travel-people{font-size:11px;line-height:1.3}.travel-detail .primary{min-height:44px;margin-top:8px}.travel-detail .travel-current{padding-top:8px}#worlds-panel>.panel-note{margin-top:6px}
}
