.icon-move-horizontal{--icon: url(../img/icons/move-horizontal.svg)}.tour-button.tour-teleport-toggle,.tour-button.tour-speed-toggle,.tour-setting.tour-phone-row,.tour-coach p.tour-coach-phone,.phone-state,.phone-more,.phone-reader,.phone-swipe{display:none}@media (max-width: 600px),(orientation: landscape) and (max-height: 500px) and (pointer: coarse){.tour-app[data-phone]{--tour-strip: 62px;--tour-marker-floor: 72px}.tour-app[data-phone] .tour-dock{display:grid;grid-template-columns:none;grid-template-areas:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;align-items:center;gap:2px;padding:4px 6px}.tour-app[data-phone] .tour-dock-now,.tour-app[data-phone] .tour-dock-controls{display:contents}.tour-app[data-phone] .tour-where,.tour-app[data-phone] .tour-dock-controls:before,.tour-app[data-phone] .tour-dock .tour-field-teleport,.tour-app[data-phone] .tour-dock .tour-field-speed,.tour-app[data-phone] .tour-dock .tour-button.tour-clean,.tour-app[data-phone] .tour-dock .tour-button.tour-fullscreen,.tour-app[data-phone] .tour-dock .tour-button.tour-help,.tour-app[data-phone] .tour-settings-label,.tour-app[data-phone] .tour-settings .icon-chevron-up{display:none}.tour-app[data-phone] .tour-dock .tour-play,.tour-app[data-phone] .tour-dock .tour-narrator,.tour-app[data-phone] .tour-dock .tour-music,.tour-app[data-phone] .tour-dock .tour-teleport-toggle,.tour-app[data-phone] .tour-dock .tour-speed-toggle,.tour-app[data-phone] .tour-dock .tour-settings{display:inline-flex;grid-area:auto;flex-direction:column;justify-content:center;gap:3px;width:auto;min-width:0;height:54px;padding:0 2px;border-radius:var(--radius-lg);font-size:var(--text-xs);white-space:nowrap}.tour-app[data-phone] .tour-dock .tour-button[hidden]{display:none}.tour-app[data-phone] .tour-dock .tour-play-label,.tour-app[data-phone] .tour-dock .tour-narrator-label,.tour-app[data-phone] .tour-dock .tour-music-label{position:static;width:auto;height:auto;overflow:visible;clip-path:none}.tour-app[data-phone] .tour-settings-short{display:inline}.tour-app[data-phone] .tour-settings-choice{display:flex;grid-area:auto;min-width:0;position:static}.tour-app[data-phone] .tour-settings-choice .tour-settings{flex:1}.tour-app[data-phone] .tour-button.tour-teleport-toggle[aria-pressed=true],.tour-app[data-phone] .tour-button.tour-speed-toggle[aria-pressed=true]{background:var(--color-primary-soft);color:var(--color-primary)}.tour-app[data-phone] .tour-dock .tour-menu{right:8px;bottom:calc(100% + 8px);left:8px;width:auto;transform:none}.tour-app[data-phone] .tour-setting.tour-phone-row:not([hidden]){display:flex}.tour-app[data-phone] .tour-settings-keys,.tour-app[data-phone] .tour-coach p.tour-coach-bar{display:none}.tour-app[data-phone] .tour-coach-page[data-page="1"] p.tour-coach-phone{display:block}.tour-app[data-phone] .tour-marker-pill{max-width:calc(100cqw - 24px)}.tour-app[data-phone] .tour-marker-name{min-width:0;overflow:hidden;text-overflow:ellipsis}.tour-app[data-phone] .tour-marker-dist{flex-shrink:0}.tour-app[data-phone] .tour-lower{bottom:calc(14px + var(--tour-strip));left:16px;max-width:calc(100% - 32px)}.tour-app[data-phone] .tour-lower-place{font-size:22px}.tour-app[data-phone] .tour-lower-description{display:none}@media (hover: none){.tour-app[data-phone] .tour-button:not(.is-primary,[aria-pressed=true],[aria-expanded=true]):hover,.tour-app[data-phone] .tour-menu-item:not([aria-pressed=true],:focus-visible):hover{background:none;color:var(--color-ink)}.tour-app[data-phone] .tour-menu-item[aria-pressed=true]:not(:focus-visible):hover,.tour-app[data-phone] button.tour-setting:not(:focus-visible):hover{background:none}.tour-app[data-phone] .tour-place:not([aria-current=true]):hover{background:none;color:inherit}.tour-app[data-phone] .tour-marker:not(:focus-visible):hover .tour-marker-pill{background:var(--tour-marker-glass)}.tour-app[data-phone] .tour-marker:not(:focus-visible):hover .tour-marker-dist{color:var(--tour-stem)}}}@media (max-width: 600px){body:has(>.tour-app[data-phone]:not(.is-catalog)){min-height:0}.tour-app[data-phone]:not(.is-catalog){position:relative;height:100vh;height:100dvh;min-height:0;overflow:hidden}.tour-app[data-phone]:not(.is-catalog) .watch-workspace{position:relative;flex:1;min-height:0}.tour-app[data-phone] .tour-stage{flex:1;min-height:0}.tour-app[data-phone] .tour-panel{flex:none;padding:6px 0 12px;overflow:hidden;border-top:0}.tour-app[data-phone] #town-view:not([hidden]){display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 10px}.tour-app[data-phone] .town-back{margin:0 0 0 8px}.tour-app[data-phone] .town-head{display:contents}.tour-app[data-phone] #town-name{justify-self:end;max-width:100%;margin-right:18px;overflow:hidden;font-size:16px;white-space:nowrap;text-overflow:ellipsis}.tour-app[data-phone] .town-line,.tour-app[data-phone] .town-description,.tour-app[data-phone] .tour-panel .panel-legal{display:none}.tour-app[data-phone] #places{position:relative;display:flex;flex-direction:row;grid-row:2;grid-column:1 / -1;gap:10px;margin:0;padding:2px 16px 6px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:16px;scrollbar-width:none}.tour-app[data-phone] #places::-webkit-scrollbar{display:none}.tour-app[data-phone] #places>li{display:flex;flex:none;flex-direction:column;width:min(80vw,310px);padding:6px 12px 8px;border:1px solid var(--color-line);border-radius:var(--radius-xl);background:var(--color-surface);box-shadow:var(--shadow-sm);scroll-snap-align:center}.tour-app[data-phone] #places>li:has(.tour-place[aria-current=true]){border-color:var(--color-primary-line);background:var(--color-primary-faint)}.tour-app[data-phone] #places>li:has(.tour-place.is-target){border-color:var(--color-accent);box-shadow:0 0 0 1px var(--color-accent),var(--shadow-sm)}.tour-app[data-phone] .tour-place{flex:none;width:calc(100% + 12px);min-height:42px;margin:0 -6px;padding:0 6px}.tour-app[data-phone] .tour-place[aria-current=true]{background:none}.tour-app[data-phone] .tour-place-name{display:-webkit-box;font-weight:var(--weight-semibold);line-height:1.25;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.tour-app[data-phone] .phone-state:not(:empty){display:inline;color:var(--color-primary);font-size:var(--text-sm);font-weight:var(--weight-semibold);white-space:nowrap}.tour-app[data-phone] .tour-place:has(.phone-state:not(:empty)) .tour-place-dist{display:none}.tour-app[data-phone] .tour-place-description{display:-webkit-box;margin:0;padding:0;overflow:hidden;color:var(--color-muted);font-size:var(--text-md);line-height:1.45;white-space:normal;cursor:pointer;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.tour-app[data-phone] .phone-more{display:inline-flex;align-self:flex-start;align-items:center;min-height:32px;margin-top:auto;padding:0;border:0;background:none;color:var(--color-primary);font-size:var(--text-sm);font-weight:var(--weight-semibold);cursor:pointer}.tour-app[data-phone] .phone-swipe{display:flex;grid-row:2;grid-column:1 / -1;place-self:center;z-index:1;align-items:center;gap:8px;margin:0;padding:9px 16px 9px 13px;border-radius:999px;background:var(--color-ink);box-shadow:var(--tour-shadow);color:var(--color-surface);font-size:var(--text-base);font-weight:var(--weight-semibold);white-space:nowrap;pointer-events:none;animation:phone-swipe-label 5.4s var(--easing) forwards}.tour-app[data-phone] .phone-swipe[hidden]{display:none}@media (prefers-reduced-motion: no-preference){.tour-app[data-phone] #places.is-nudged>li{animation:phone-nudge 1.5s var(--easing) .4s 2}}.tour-app[data-phone] .tour-coach p.tour-coach-wide,.tour-app[data-phone] .tour-coach p.tour-coach-narrow{display:none}.tour-app[data-phone] .tour-coach-page[data-page="2"] p.tour-coach-phone{display:block}.tour-app[data-phone] .phone-reader{position:fixed;right:0;bottom:0;left:0;z-index:40;display:flex;flex-direction:column;max-height:min(72vh,560px);max-height:min(72dvh,560px);padding:4px 20px 20px;border-radius:22px 22px 0 0;background:var(--color-surface);box-shadow:var(--tour-shadow)}.tour-app[data-phone] .phone-reader[hidden]{display:none}.phone-reader-head{display:flex;flex:none;align-items:center;gap:8px;min-height:56px}.phone-reader-title{flex:1;margin:0;font-size:18px;font-weight:var(--weight-semibold);line-height:1.3}.phone-reader-close{display:grid;flex:none;place-items:center;width:var(--control-height);height:var(--control-height);margin-right:-8px;padding:0;border:0;border-radius:var(--radius-full);background:var(--color-segment);color:var(--color-ink);cursor:pointer}.phone-reader-text{margin:0;overflow-y:auto;font-size:16px;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}.tour-app[data-phone] .tour-panel:has(#towns-view:not([hidden])){position:absolute;inset:0;z-index:25;padding:22px 20px;overflow-y:auto}}@keyframes phone-swipe-label{0%{opacity:0}6%,90%{opacity:1}to{opacity:0}}@keyframes phone-nudge{0%,to{transform:none}40%,55%{transform:translate(var(--phone-nudge, -68px))}}@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse){.tour-app[data-phone]:not(.is-catalog){--panel-width: 264px;position:relative;height:100vh;height:100dvh;min-height:0;overflow:hidden}body:has(>.tour-app[data-phone]:not(.is-catalog)){min-height:0}.tour-app[data-phone]:not(.is-catalog) .topbar{display:none}.tour-app[data-phone]:not(.is-catalog) .watch-workspace{display:block;position:absolute;inset:0}.tour-app[data-phone] .tour-stage{position:absolute;inset:0;min-height:0}.tour-app[data-phone] .tour-panel{position:absolute;top:10px;left:10px;z-index:20;width:var(--panel-width);max-height:calc(100% - var(--tour-strip) - 20px);padding:14px 14px 12px;overflow-y:auto;border:0;border-radius:var(--radius-xl);background:var(--tour-overlay);box-shadow:var(--tour-shadow);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);transition:opacity .6s var(--easing),transform .6s var(--easing)}.tour-app[data-phone]:has(.tour.is-idle) .tour-panel{opacity:0;pointer-events:none;transform:translate(-8px)}.tour-app[data-phone] .town-description{max-height:7.5em;overflow-y:auto}.tour-app[data-phone] .tour-minimap,.tour-app[data-phone] .tour-coach p.tour-coach-wide{display:none}.tour-app[data-phone] .tour-coach p.tour-coach-narrow{display:block}.tour-app[data-phone] .tour-dock{grid-auto-columns:minmax(0,112px);justify-content:center}.tour-app[data-phone] .tour-dock .tour-menu{left:auto;width:min(360px,calc(100% - 16px));max-height:calc(100cqh - var(--tour-strip) - 16px)}}
