/* Original paper keepsakes, held beside the town name rather than a menu bar. */
#town-header .tagline{display:none}
#town-header .brand{font-size:10px;letter-spacing:.18em;margin-bottom:3px}
#town-header h1{font-size:clamp(24px,2.8vw,34px);line-height:1.05;margin:0}
#town-header #town-notebooks{align-items:center;flex-wrap:nowrap;gap:6px;margin-top:6px;inline-size:max-content;max-inline-size:100%}
#town-header[data-story] #town-notebooks,#town-header[data-welcome] #town-notebooks,#town-header[data-meeting] #town-notebooks{display:flex}
#town-header #town-notebooks[hidden]{display:none}
#town-notebooks #notebook-entry,#town-header #story-entry{display:grid;place-items:center;inline-size:48px;block-size:48px;min-inline-size:48px;min-block-size:48px;margin:0;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;box-shadow:none;color:#496444;touch-action:manipulation;text-shadow:none}
#town-header #story-entry{display:flex;inline-size:auto;block-size:auto;gap:4px;padding-inline-end:6px;flex:0 1 auto}
#story-entry .story-entry-copy{font:600 13px/1.25 Georgia,serif}
#story-entry .continuation-art{inline-size:38px;block-size:38px;flex:none}
#town-header #story-entry[hidden]{display:none}
#notebook-entry svg{inline-size:46px;block-size:46px}
#notebook-entry svg,#story-entry .continuation-art{overflow:visible;pointer-events:none;filter:drop-shadow(1px 2px 0 #8f795238)}
#notebook-entry svg{transform:rotate(-5deg)}
#town-notebooks :is(#notebook-entry,#story-entry):hover{background:#fff3d39c;border-color:#c7b58d}
#story-entry .continuation-art-walk{display:none}
#story-entry[data-action=walk] .continuation-art-story{display:none}
#story-entry[data-action=walk] .continuation-art-walk{display:block}
#notebook-compat[hidden]{display:none}

/* One open travel scrapbook: original ink drawings, short captions and a quiet gutter. */
#notebook-panel{inline-size:min(610px,calc(100vw - 28px));max-inline-size:610px;max-block-size:calc(100dvh - 28px);margin:auto;padding:18px 24px 16px;border:1px solid #a78c63;border-inline:4px solid #8a9870;border-block-end:3px solid #b6a078;border-radius:15px 11px 12px 15px;background-image:var(--storybook-grain),linear-gradient(90deg,#e3d0a9 0%,#fcf2d9 3%,#faf0d7 47%,#eadbbc 49%,#d8c49d 50%,#f4e7c9 51%,#fcf2db 54%,#f8ebcc 97%,#ddc7a1 100%);color:#4e4d36;box-shadow:2px 3px 0 #d8c39c,4px 6px 0 #bbac89,4px 11px 28px #383e2f40;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
#notebook-panel::backdrop{background:#344b3c35;overflow:hidden;overscroll-behavior:contain}
.notebook-close-row{position:sticky;top:-18px;z-index:4;display:flex;justify-content:flex-end;block-size:44px;margin:0 0 -44px;pointer-events:none}
#notebook-panel .notebook-close{display:grid;place-items:center;inline-size:44px;block-size:44px;min-block-size:44px;padding:0;border:1px solid #b7a784;border-radius:50%;background:#faf0d7;box-shadow:0 2px 0 #c4b18b60;color:#756446;pointer-events:auto}
.notebook-close svg{inline-size:22px;block-size:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.notebook-kicker{max-inline-size:calc(100% - 54px);font:12px/1.3 Georgia,serif;font-style:italic;color:#716b50;margin:0 0 3px;overflow-wrap:anywhere}
#notebook-title{max-inline-size:calc(100% - 46px);font:600 clamp(26px,5vw,32px)/1.15 Georgia,serif;letter-spacing:-.025em;margin:0 0 12px;color:#465c43}
.notebook-section{margin:0;padding:0;border:0}
.notebook-pages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 12px}
#notebook-panel .notebook-pages :is(button,a){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;position:relative;min-inline-size:0;min-block-size:94px;margin:0;padding:6px 4px;border:1px solid transparent;border-radius:9px 7px 10px 6px;background:#fff8e32b;box-shadow:none;color:#3d5d45;text-align:center;text-decoration:none;font:14px/1.2 Georgia,serif;overflow-wrap:anywhere;touch-action:manipulation}
#notebook-panel .notebook-pages :is(button,a):hover{background:#e8e6c885;border-color:#c2b28b;border-style:dashed}
#notebook-panel .notebook-pages svg{flex:none;inline-size:49px;block-size:49px;overflow:visible;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;filter:drop-shadow(1px 2px 0 #b29b6d26)}
.notebook-pages>:nth-child(3n + 1) svg{transform:rotate(-4deg)}
.notebook-pages>:nth-child(3n + 2) svg{transform:rotate(3deg)}
.notebook-caption{max-inline-size:100%;font:inherit}
#notebook-panel .notebook-pages [hidden]{display:none}
#notebook-panel #story-neighbours-map{border:0;border-block-start:1px dashed #bdac8775;margin:10px 0 0;padding:3px 0 0}
#notebook-panel #story-neighbours-map>summary{font:13px/1.3 Georgia,serif;min-block-size:44px;align-content:center;color:#6e644a;cursor:pointer}
#notebook-panel #story-neighbour-list{max-block-size:220px;overflow-y:auto;overscroll-behavior:contain;padding:2px}
#notebook-panel .story-neighbour-list-button{font-size:14px;box-shadow:none;background:#f5ebd3}
.notebook-bottom{margin-top:10px;padding-top:8px;border-top:1px dashed #bdac8780}
#notebook-guide{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:1px 9px;min-block-size:52px;inline-size:100%;padding:4px 10px;border:1px solid transparent;border-radius:8px;background:#dce3c65c;box-shadow:none;color:#405d43;text-align:start;font:14px/1.2 Georgia,serif;touch-action:manipulation}
#notebook-guide:hover{background:#dce3c6a6;border-color:#b4bc96}
#notebook-guide svg{grid-row:1 / 3;inline-size:36px;block-size:36px;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
#notebook-guide .notebook-map-note{font:11px/1.2 Georgia,serif;color:#716b50}
#notebook-panel :is(button,a,summary):focus-visible,#town-notebooks :is(#notebook-entry,#story-entry):focus-visible{outline:3px solid #956b32;outline-offset:2px}
#guide-places #places{max-height:min(38dvh,330px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 4px 4px!important}
#guide-places h3{margin:15px 0 8px}
.notebook-disclosure{margin:8px 0;border-top:1px solid #c7b99a;padding-top:3px}
.notebook-disclosure>summary{min-height:44px;align-content:center;cursor:pointer;color:#3c5947}
.notebook-disclosure>summary:focus-visible{outline:3px solid #956b32;outline-offset:2px}
#panel #walking-help,#panel #credits-and-sources{margin:8px 0;padding:0;border:0;border-top:1px solid #c7b99a;border-radius:0;background:none}
#panel #pocket-sound{font-size:14px;margin:12px 0;padding:8px 0}
#panel .pocket-volume-row{max-width:330px;gap:8px}
#panel #pocket-mute{width:44px;height:44px;flex-basis:44px;padding:11px}
#panel #pocket-volume{min-width:0;height:36px;margin:0}
#panel #pocket-volume-value{font-size:13px;width:36px}
#panel #pocket-sound-status{font-size:12px}
@media(max-width:680px){
  #town-header h1{font-size:clamp(20px,5.4vw,28px)}
  #town-header #town-notebooks{margin-top:4px;gap:4px}
  #notebook-panel{inline-size:calc(100vw - 20px);max-inline-size:470px;max-block-size:calc(100dvh - 24px);padding:13px 12px 12px;background-image:var(--storybook-grain),linear-gradient(90deg,#d9c49e 0%,#f7eacb 3%,#fcf2d9 7%,#faf0d7 93%,#e4d1aa 100%)}
  .notebook-close-row{top:-13px}
  .notebook-kicker{font-size:11px}
  #notebook-title{font-size:26px;margin-bottom:10px}
  .notebook-pages{gap:5px 6px}
  #notebook-panel .notebook-pages :is(button,a){min-block-size:80px;padding:4px 2px;font-size:13px}
  #notebook-panel .notebook-pages svg{inline-size:40px;block-size:40px}
  .notebook-bottom{margin-top:7px;padding-top:6px}
  #guide-places #places{max-height:29dvh}
}
@media(max-width:299px){.notebook-pages{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* A folded paper field guide, with illustrated destination tickets. */
#panel{inline-size:min(650px,calc(100vw - 28px));max-inline-size:650px;max-block-size:calc(100dvh - 28px);padding:18px 24px 20px;border:1px solid #aa936c;border-inline-start:4px solid #899b75;border-block-end:3px solid #b9a47c;border-radius:8px 15px 10px 6px;background-image:var(--storybook-grain),linear-gradient(90deg,#e5d2ab 0%,#fcf1d5 3%,#faf0d6 34%,#ecdfbf 35%,#fcf2da 36%,#fbf0d5 68%,#eee0bf 69%,#fff3d8 70%,#e9d8b5 100%);box-shadow:3px 4px 0 #d6c099,4px 9px 24px #383e2f40;color:#45573f;overflow-y:auto;scroll-padding-block:52px 12px;scrollbar-width:thin}
#panel::backdrop{background:#344b3c45}
#panel>form.guide-close-row[method=dialog]:first-child{position:sticky;top:-18px;z-index:4;display:flex;justify-content:flex-end;block-size:44px;margin:0 0 -44px;padding:0;background:none;pointer-events:none}
#panel .guide-close-row .close{display:grid;place-items:center;float:none;inline-size:44px;block-size:44px;min-block-size:44px;padding:0;border:1px solid #b7a784;border-radius:50%;background:#faf0d7;box-shadow:0 2px 0 #c4b18b60;color:#756446;pointer-events:auto}
#panel .guide-close-row svg{inline-size:22px;block-size:22px;pointer-events:none}
.guide-heading{position:relative;min-block-size:78px;padding-block-start:3px;padding-inline-end:140px}
.guide-cover-art{position:absolute;inset-inline-end:21px;inset-block-end:-4px;inline-size:128px;block-size:80px;pointer-events:none}
.guide-kicker{margin:0 0 3px;font:italic 12px/1.3 Georgia,serif;color:#7b6d4e}
#guide-title{font:600 clamp(27px,5vw,33px)/1.13 Georgia,serif;letter-spacing:-.025em;margin:0 0 5px;color:#465e43}
#panel #summary{margin:0 0 11px;font:13px/1.4 Georgia,serif;color:#75694f}
#panel #guide-intro{font-size:12px;margin:5px 0}
.guide-search{position:relative;margin-block:7px}
.guide-search>svg{position:absolute;inset-inline-start:11px;inset-block-start:50%;transform:translateY(-50%);inline-size:21px;block-size:21px;color:#7c8b65;pointer-events:none}
#panel #search{inline-size:100%;min-block-size:44px;margin:0;padding:9px 10px 9px 39px;border:1px solid #b4af8b;border-radius:9px 7px 10px 7px;background:#fff9e7c9;color:#3e5b42;font:14px/1.3 Georgia,serif}
#panel #guide-results{margin:7px 0 4px;font:12px/1.4 Georgia,serif;color:#786e51}
#panel #places{max-block-size:min(44dvh,370px);max-height:min(44dvh,370px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;margin:4px 0 5px;padding:2px 4px 4px!important;list-style:none}
#panel #places .guide-place{padding:3px 0;border:0}
#panel .guide-visit-button{min-inline-size:0;min-block-size:66px;gap:10px;padding:7px 10px;border:1px solid #bead83;border-inline-start:3px solid #a7b78b;border-radius:5px 11px 8px 5px;background-image:var(--storybook-grain),linear-gradient(100deg,#eee1c2,#fff6df 22%,#faf0d5);box-shadow:0 1px 0 #bcac8559;color:#465a3f;text-align:start}
#panel .guide-visit-button:hover:not(:disabled){background:#fff2cf;border-color:#8c9e70}
#panel .guide-place-icon{inline-size:50px;block-size:50px;width:50px;height:50px;flex:0 0 50px;box-sizing:border-box;padding:2px;border:1px dashed #b6ac83;border-radius:5px;background:#e4e6c34d;transform:rotate(-3deg);pointer-events:none}
#panel .guide-place-copy strong{font:600 15px/1.25 Georgia,serif;color:#405c40}
#panel .guide-place-copy small{display:block;font:12px/1.3 Georgia,serif;color:#776849;margin-block-start:3px}
#panel .guide-place-action{display:inline-flex;align-items:center;justify-content:center;max-inline-size:60px;color:#788a5f}
#panel .guide-walk-icon{inline-size:24px;block-size:24px;pointer-events:none}
#panel .guide-visit-button:not(:disabled) .guide-place-action{font:24px/1 Georgia,serif}
#panel .guide-visit-button:disabled .guide-place-action{font:11px/1.2 Georgia,serif;color:#847861}
#panel #guide-more{display:flex;align-items:center;justify-content:center;gap:8px;min-block-size:44px;inline-size:100%;margin:5px 0 11px;padding:7px 10px;border:1px dashed #b4aa81;border-radius:7px 9px 7px 5px;background:#e8e9ce72;box-shadow:none;color:#506947;font:14px/1.3 Georgia,serif;touch-action:manipulation}
#panel #guide-more[hidden]{display:none}
#panel #guide-more svg{inline-size:24px;block-size:24px;pointer-events:none}
#panel .guide-fold-title{min-block-size:48px;padding:4px 0;align-content:center;font:15px/1.3 Georgia,serif;color:#4c6547;cursor:pointer}
#panel .guide-fold-art{display:inline-block;inline-size:30px;block-size:30px;margin-inline-end:7px;vertical-align:middle;pointer-events:none}
#panel :is(#guide-travel,#guide-settings,#walking-help,#credits-and-sources){margin:8px 0;padding:3px 0 0;border:0;border-block-start:1px dashed #beae89;border-radius:0;background:none}
#panel .guide-actions button{min-block-size:44px;padding:7px 10px;font:13px/1.3 Georgia,serif;border-color:#b8ad88;box-shadow:none}
#panel .guide-actions button[hidden]{display:none}
#panel #guide-travel .guide-actions :is(#overview,#follow,#park-visit,#telephone-action,#car-travel){display:inline-flex;align-items:center;gap:6px;max-inline-size:100%;white-space:normal;text-align:start}
#panel #guide-travel .guide-actions :is(#overview,#follow,#park-visit,#telephone-action,#car-travel)[hidden]{display:none}
#panel #guide-travel :is(#overview,#follow,#park-visit,#telephone-action,#car-travel)::before{content:'';flex:none;inline-size:24px;block-size:24px;background-image:var(--guide-travel-art);background-size:contain;background-repeat:no-repeat}
#panel #guide-settings h3,#panel #guide-travel h3{font:600 14px/1.3 Georgia,serif;color:#73674b;margin:12px 0 7px}
#panel #credits-and-sources p,#panel #walking-help p,#panel #walking-help li{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#panel :is(button,input,select,a,summary):focus-visible{outline:3px solid #956b32;outline-offset:2px}
#overview{--guide-travel-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2375835f%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m2%206%206-3%208%203%206-3v15l-6%203-8-3-6%203Zm6-3v15m8-12v15%22%20fill%3D%22%23e6deb7%22%2F%3E%3Cpath%20d%3D%22M4%2014c2-7%209%203%2012-4%22%20stroke-dasharray%3D%222%202%22%2F%3E%3C%2Fsvg%3E")}
#follow{--guide-travel-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2375835f%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2019c-4-10%2014-3%209-14%22%20stroke-dasharray%3D%222%203%22%2F%3E%3Cpath%20d%3D%22m14%209%205-1%201%208%203%202-1%204H11l-1-5%205-2Z%22%20fill%3D%22%23bf9269%22%2F%3E%3Cpath%20d%3D%22m14%2012%205-1m-4%204%205-1%22%2F%3E%3C%2Fsvg%3E")}
#park-visit{--guide-travel-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2375835f%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022V9m0%207-5-4m5%200%204-5%22%2F%3E%3Cpath%20d%3D%22M12%203c-7-5-16%2010-5%2011-1%208%2015%207%2013%200%2010-7%200-17-8-11Z%22%20fill%3D%22%23b4c29a%22%2F%3E%3Cpath%20d%3D%22M12%2022V10m-7%2012h14%22%2F%3E%3C%2Fsvg%3E")}
#telephone-action{--guide-travel-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2375835f%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h16v16H4Zm0%200%208-5%208%205%22%20fill%3D%22%23b88868%22%2F%3E%3Cpath%20d%3D%22M7%209h10v13H7Zm5%200v13M7%2015h10%22%20fill%3D%22%23e8d9ad%22%2F%3E%3Cpath%20d%3D%22M9%203h6%22%2F%3E%3C%2Fsvg%3E")}
#car-travel{--guide-travel-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2375835f%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%203-6h12l3%206v9H3Z%22%20fill%3D%22%23d2b174%22%2F%3E%3Cpath%20d%3D%22M6%205h12l2%206H4Z%22%20fill%3D%22%23dfdfbe%22%2F%3E%3Cpath%20d%3D%22M8%201h8v3H8ZM3%2014h3m12%200h3M6%2019v3m12-3v3%22%2F%3E%3C%2Fsvg%3E")}
@media(max-width:540px){
 #panel{inline-size:calc(100vw - 20px);max-block-size:calc(100dvh - 24px);padding:13px 12px 14px}
 #panel>form.guide-close-row[method=dialog]:first-child{top:-13px}
 .guide-heading{min-block-size:76px;padding-inline-end:110px}
 .guide-cover-art{inline-size:100px;block-size:66px;inset-inline-end:8px;inset-block-end:-2px}
 .guide-kicker{font-size:11px;max-inline-size:150px}
 #guide-title{font-size:26px}
 #panel #summary{font-size:12px;margin-block-end:8px}
 #panel #search{font-size:13px}
 #panel #places{max-block-size:42dvh;max-height:42dvh}
 #panel .guide-visit-button{gap:7px;padding:6px 7px;min-block-size:64px}
 #panel .guide-place-icon{inline-size:48px;block-size:48px;width:48px;height:48px;flex-basis:48px}
 #panel .guide-place-copy strong{font-size:14px}
 #panel .guide-place-copy small{font-size:11px}
 #panel .guide-place-action{max-inline-size:42px}
 #panel .guide-walk-icon{inline-size:22px;block-size:22px}
}

/* Original story letters: one current clue, with earlier pages folded away. */
#adventure-panel{inline-size:min(650px,calc(100vw - 28px));max-inline-size:650px;max-block-size:calc(100dvh - 28px);padding:18px 24px 20px;border:1px solid #aa936c;border-inline-start:5px solid #869470;border-block-end:3px solid #b8a27c;border-radius:10px 16px 12px 7px;background-image:var(--storybook-grain),linear-gradient(105deg,#e6d5b4,#fff3d9 7%,#faf0d6 94%,#ead8b6);color:#4b4e38;box-shadow:3px 4px 0 #d6c099,4px 9px 24px #383e2f40;overflow-y:auto;scroll-padding-block:52px 12px;scrollbar-width:thin}
#adventure-panel::backdrop{background:#344b3c45}
#adventure-panel>form.adventure-close-row[method=dialog]:first-child{position:sticky;top:-18px;z-index:4;display:flex;justify-content:flex-end;block-size:44px;margin:0 0 -44px;padding:0;background:none;pointer-events:none}
#adventure-panel .close{display:grid;place-items:center;float:none;inline-size:44px;block-size:44px;min-block-size:44px;padding:0;border:1px solid #b7a784;border-radius:50%;background:#faf0d7;box-shadow:0 2px 0 #c4b18b60;color:#756446;pointer-events:auto}
#adventure-panel .close svg{inline-size:22px;block-size:22px;pointer-events:none}
#adventure-panel>.character-kicker{max-inline-size:calc(100% - 52px);margin:0 0 3px;font:italic 12px/1.3 Georgia,serif;color:#75684d}
#adventure-title{max-inline-size:calc(100% - 46px);font:600 clamp(27px,5vw,33px)/1.12 Georgia,serif;letter-spacing:-.025em;margin:3px 0 5px;color:#465c43}
#adventure-count{margin:0 0 12px;font:12px/1.3 Georgia,serif;color:#7d6f52}
#adventure-panel .adventure-story{margin:9px 0;border:1px dashed #bba67d;border-radius:8px 11px 7px 10px;background:#fff9e94f}
#adventure-panel .adventure-story[open]{border-style:solid;border-color:#a8ad83;background:#fff9e75e}
#adventure-panel .adventure-story>summary{display:flex;align-items:center;gap:10px;min-block-size:60px;padding:7px 10px;list-style:none;cursor:pointer;color:#496444}
#adventure-panel .adventure-story>summary::-webkit-details-marker{display:none}
#adventure-panel .adventure-postmark{flex:none;inline-size:42px;block-size:42px;pointer-events:none;transform:rotate(-5deg)}
#adventure-panel .adventure-choice-copy{display:grid;gap:3px;min-inline-size:0;max-inline-size:none}
#adventure-panel .adventure-choice-copy strong{font:600 16px/1.25 Georgia,serif;overflow-wrap:anywhere}
#adventure-panel .adventure-choice-copy small{font:12px/1.3 Georgia,serif;color:#75664c}
#adventure-panel .adventure-story[open]>summary .adventure-choice-copy strong{position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#adventure-panel .adventure-story .adventure-entry{display:flow-root;border-block-start:1px solid #c8b48b88;padding:8px 17px 16px}
#adventure-panel .adventure-illustration{display:block;inline-size:160px;block-size:95px;max-inline-size:100%;margin:0 auto 6px;pointer-events:none}
#adventure-panel .adventure-entry>.adventure-byline{font:italic 13px/1.35 Georgia,serif;color:#766448;margin:5px 0}
#adventure-panel .adventure-entry h2{font:600 clamp(23px,4.4vw,29px)/1.2 Georgia,serif;letter-spacing:-.015em;margin:4px 0 12px;color:#435e43;overflow-wrap:anywhere}
#adventure-panel .adventure-entry h3{font:600 17px/1.3 Georgia,serif;margin:14px 0 6px;color:#5e684a}
#adventure-panel .adventure-entry p{font-size:15px;line-height:1.5;margin:8px 0 12px;overflow-wrap:anywhere}
#adventure-panel .adventure-intro-letter{padding:0 0 4px}
#adventure-panel .adventure-entry progress{block-size:5px;margin:10px 0 12px;accent-color:#819568}
#adventure-panel .adventure-clue{border-inline-start:2px solid #bb925c;margin:6px 0 12px;padding:9px 11px;background:#f7e4b451;border-radius:0 7px 9px 0;font-style:italic}
#adventure-panel .adventure-entry button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-block-size:44px;max-inline-size:100%;margin:5px 0;padding:7px 11px;border:1px solid #b6aa87;border-radius:8px 11px 9px 7px;background:#f5ebd1;color:#486044;box-shadow:none;font:14px/1.3 Georgia,serif;text-align:start;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation}
#adventure-panel .adventure-entry .adventure-primary{background:#dfe7c9;border-color:#8b9d74;color:#35533e;box-shadow:1px 2px 0 #bac39870}
#adventure-panel .adventure-action-art{flex:none;inline-size:24px;block-size:24px;pointer-events:none}
#adventure-panel .adventure-action-copy{min-inline-size:0}
#adventure-panel .adventure-entry button:disabled{opacity:.6;cursor:default}
#adventure-panel .adventure-hint,#adventure-panel .adventure-origin,#adventure-panel .adventure-memory{margin:8px 0;padding:0 7px;border:0;border-block-start:1px dashed #c1af8a;border-radius:0;background:none}
#adventure-panel .adventure-entry summary{min-block-size:44px;align-content:center;cursor:pointer;font:13px/1.4 Georgia,serif;color:#63724e;overflow-wrap:anywhere}
#adventure-panel .adventure-notes{margin:0 0 8px;padding-inline-start:20px}
#adventure-panel .adventure-notes li{padding:7px 0;font:14px/1.5 Georgia,serif}
#adventure-panel .adventure-keepsake{margin:12px 0 2px;padding:12px;border:1px dashed #9eab7e;border-radius:9px;background:#e1e7ca80}
#adventure-panel :is(button,summary):focus-visible{outline:3px solid #956b32;outline-offset:2px}
@media(max-width:540px){
 #adventure-panel{inline-size:calc(100vw - 20px);max-block-size:calc(100dvh - 24px);padding:13px 12px 14px}
 #adventure-panel>form.adventure-close-row[method=dialog]:first-child{top:-13px}
 #adventure-title{font-size:26px}
 #adventure-panel .adventure-story>summary{gap:7px;padding:6px 8px;min-block-size:54px}
 #adventure-panel .adventure-postmark{inline-size:34px;block-size:34px}
 #adventure-panel .adventure-choice-copy strong{font-size:15px}
 #adventure-panel .adventure-story .adventure-entry{padding:7px 10px 12px}
 #adventure-panel .adventure-illustration{inline-size:128px;block-size:77px;margin-block-end:4px}
 #adventure-panel .adventure-entry p{font-size:14px;line-height:1.5}
 #adventure-panel .adventure-entry button{inline-size:auto}
 #adventure-panel .adventure-primary{inline-size:100%}
}

/* Street nameplates stay brief; optional live details unfold on the same paper. */
#nearby-place{max-width:235px;padding:10px 13px;pointer-events:auto;color:#354e3d}
#nearby-place-detail,#nearby-place-provenance{display:none}
#nearby-place .nearby-place-links{margin-top:5px}
#nearby-place-more,#nearby-place-map:not([hidden]){display:inline-flex;align-items:center;min-height:36px;font-size:13px}
#nearby-place :is(a,button){touch-action:manipulation}
#nearby-place :is(a,button):focus-visible{outline:3px solid #956b32;outline-offset:2px}
#nearby-place:has(#nearby-google[open]:not([hidden])){width:min(370px,calc(100vw - 44px));max-width:min(370px,calc(100vw - 44px));max-height:min(580px,calc(100dvh - 266px));padding:12px 14px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9ba586 #f6ebd2;scroll-padding-block:44px 8px}
#nearby-place:has(#nearby-google[open]:not([hidden])) #nearby-place-title{color:#35543f;overflow-wrap:anywhere}
#nearby-place[hidden]{display:none}
@media(max-width:680px){#nearby-place{max-width:180px;padding:8px 11px}#nearby-place-title{font-size:15px}#nearby-place-more{min-height:36px}}
@media(max-width:680px),(max-height:520px) and (pointer:coarse){
  #nearby-place #nearby-google:not([hidden]){display:block}
  #nearby-google-toggle,#nearby-place .nearby-place-links a{min-height:44px}
  #nearby-place:has(#nearby-google:not([hidden]):not([open])){max-height:124px;padding:7px 10px 4px}
  #nearby-place:has(#nearby-google:not([hidden]):not([open])) #nearby-place-category{display:none}
  #nearby-place:has(#nearby-google:not([hidden]):not([open])) #nearby-place-title{-webkit-line-clamp:1}
  #nearby-place:has(#nearby-google:not([hidden]):not([open])) #nearby-google{margin:0;border:0}
  #nearby-place:has(#nearby-google:not([hidden]):not([open])) .nearby-place-links{margin-top:0;gap:3px 10px}
  #nearby-place:has(#nearby-google[open]:not([hidden])){left:auto;right:var(--phone-right,9px);bottom:calc(var(--phone-bottom,31px) + 114px);width:min(380px,calc(100% - var(--phone-left,9px) - var(--phone-right,9px)));max-width:min(380px,calc(100% - var(--phone-left,9px) - var(--phone-right,9px)));max-height:min(560px,calc(100dvh - var(--phone-bottom,31px) - var(--phone-top,9px) - 250px - var(--location-share-extra,0px)));padding:10px 12px;z-index:7;overflow-y:auto}
  #nearby-place:has(#nearby-google[open]:not([hidden])) #nearby-place-title{display:block;font-size:19px;-webkit-line-clamp:unset;overflow:visible}
  main.phone-controls-idle #nearby-place:has(#nearby-google[open]:not([hidden])),main.phone-controls-idle #nearby-place:focus-within{opacity:1;pointer-events:auto}
  main.phone-controls-idle #nearby-place:has(#nearby-google[open]:not([hidden])) *,main.phone-controls-idle #nearby-place:focus-within *{pointer-events:auto}
}
@media(max-height:520px) and (min-aspect-ratio:1/1) and (pointer:coarse){
  #nearby-place:has(#nearby-google[open]:not([hidden])){left:max(200px,calc(50% - 170px));right:auto;top:calc(var(--phone-top,9px) + 112px);bottom:calc(var(--phone-bottom,31px) + 8px);width:min(340px,calc(100vw - 394px));max-width:min(340px,calc(100vw - 394px));max-height:none}
}
