#tourOpen,#tourWay,#tourView {font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
#tourOpen,#tourWay {
  position:fixed;z-index:28;left:max(15px,env(safe-area-inset-left));bottom:92px;
  border:1px solid #b5a17f;background:#25362ce8;color:#fff3e1;padding:8px 11px;font-size:13px;cursor:pointer
}
#tourOpen {display:none}
#tourOpen kbd {font-family:inherit;font-size:11px;font-weight:600;line-height:1.5;background:#e7d1a3;color:#233026;padding:1px 4px;border-radius:2px;margin-left:5px}
#tourIntro:not([hidden]) {display:block;max-width:220px;margin-top:5px;font-size:11px;color:#f0d6a2;line-height:1.52;text-align:left}
#tourWay {bottom:137px}
body.tour-ready:not(.incity):not(.inpanel):not(.paused):not(.cine):not(.traveling) #tourOpen {display:block}
#tourWay[hidden],#tourView[hidden],#tourView [hidden] {display:none!important}
body.incity #app {opacity:1}
body.incity :is(#hud,#journeyHud,#objcard,#quickBar,#childTip,#prompt,#relockTip,#crosshair,#mobTouch,#mobBtns,#mobCraft,#guideHint,#tourWay,#toast,#subtitle,#waveHint,#sealPress,#liveHud,#lessonHUD,#waitTip,#unlockBanner,#journeyToast,#uiHint) {
  visibility:hidden!important;pointer-events:none!important
}
#tourView {position:fixed;inset:0;z-index:230;pointer-events:auto;color:#f3e9da}
#tourView::before {
  content:"";position:absolute;inset:0;transition:opacity .25s;pointer-events:none;
  background:linear-gradient(0deg,#18241b9e,transparent 26%,transparent 72%,#1220178d);
}
#tourView[data-phase=transit]::before {background:#17231dfa}
#tourSurface {position:absolute;inset:0;touch-action:none;outline:none;cursor:grab}
#tourSurface.grabbing,.city-ware-view:active {cursor:grabbing}
#tourTop {
  position:absolute;top:max(15px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));
  right:max(16px,env(safe-area-inset-right));z-index:2;display:flex;align-items:flex-start;
  justify-content:space-between;gap:8px;pointer-events:none
}
#tourTop header {
  display:grid;gap:3px;min-width:130px;padding:7px 16px 9px;border-left:2px solid #deb984;
  background:#19251dd4;text-shadow:0 1px 6px #101912
}
#tourState {font-size:11px;color:#e1bc85}
#tourLocation {font:700 clamp(21px,3.2vw,32px)/1.2 "Songti SC",SimSun,serif;letter-spacing:.05em}
#tourStats {color:#e0d5c5;font-size:12px;line-height:1.45;font-variant-numeric:tabular-nums}
#tourView button {
  pointer-events:auto;font-family:inherit;font-size:13px;font-weight:600;line-height:1.35;cursor:pointer;
  border:1px solid #a996745d;background:#213129ee;color:#f2ead9;min-height:42px;padding:7px 12px;border-radius:4px
}
#tourView button:hover {background:#3a5343}
#tourView button:disabled {opacity:.5;cursor:default}
#tourBottom {
  position:absolute;bottom:max(14px,env(safe-area-inset-bottom));z-index:2;
  right:max(16px,env(safe-area-inset-right));display:grid;gap:8px;text-align:right;max-width:calc(100vw - 32px)
}
#tourBottom .tour-buttons {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:5px}
#tourBottom #tourHint {
  justify-self:end;max-width:min(570px,80vw);color:#f5e9d7;text-shadow:0 2px 7px #050a06;
  padding:3px 8px;background:#15251c94;font-size:clamp(11px,1.7vw,14px);border-radius:4px
}
#tourBottom #tourRead {background:#e3c998;color:#202b22;border-color:#e3c998}
#tourBottom #tourRead:hover {background:#eedab3}
#tourLoading,#tourBoarding {
  position:absolute;inset:0;margin:0;display:grid;place-items:center;pointer-events:none;
  background:#18251d;letter-spacing:.08em;
}
#tourBoarding {background:#17241ce8;z-index:1;font-size:17px}
#tourMenu,#tourReader {
  position:absolute;left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));
  display:grid;align-content:start;width:min(484px,calc(100% - 32px));max-height:min(76dvh,640px);overflow:auto;box-sizing:border-box;
  padding:18px;color:#2e3a31;background:#f3eee2;border:1px solid #b4a382;border-radius:6px;
  box-shadow:0 14px 36px #1021177d;z-index:4;overscroll-behavior:contain
}
#tourMenu header,#tourReader header {display:flex;align-items:flex-start;justify-content:space-between;gap:9px}
#tourMenu h2,#tourReader h2 {font:700 clamp(21px,3vw,29px)/1.13 "Songti SC",SimSun,serif;margin:0;letter-spacing:.04em}
#tourMenu p,#tourReader header span {font-size:12px;color:#647160;margin:6px 0 0;line-height:1.5}
#tourMenu #tourCancel,#tourReader #tourArticleClose {background:#e8e1d2;color:#354643;border-color:#c6b99e}
.city-tabs,.city-actions {display:flex;gap:6px;flex-wrap:wrap}
.city-tabs {margin:15px 0 8px}
#tourMenu .city-tabs button {color:#35483d;background:#e9e3d4;border-color:#c3baa5}
#tourMenu .city-tabs [aria-pressed=true] {background:#42604e;color:#fff8e8;border-color:#42604e}
.city-stops {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#tourMenu .city-stops button {
  display:flex;align-items:center;gap:9px;text-align:left;background:#f9f6ec;
  border-color:#d5cdbd;padding:9px;color:#293d31
}
.city-stops button b {display:block;font-size:14px;font-weight:700;line-height:1.25}
.city-stops small {display:block;font-size:11px;font-weight:400;line-height:1.2;color:#616d5c;margin-top:4px}
.city-stops em {margin-left:auto;font-size:10px;font-style:normal;color:#56705a;white-space:nowrap}
#tourMenu .city-stops button:not(:disabled):is(:hover,:focus-visible) {background:#e5e8da;border-color:#83967d}
.station-dot {width:7px;height:7px;border:1.5px solid #6f856a;border-radius:50%;flex:none}
.city-strip {display:flex;gap:7px;flex-wrap:wrap;line-height:1.6;align-items:center;color:#3c5949;margin:16px 0}
.city-strip span {padding:4px 9px;background:#e3e9d9;border:1px solid #d2d7c6;border-radius:3px}
#tourMarker {
  position:absolute;z-index:1;transform:translate(-50%,-50%);min-width:46px;letter-spacing:.04em;white-space:nowrap;
  box-shadow:0 4px 12px #131f16a6
}
#tourMarker::before {content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border:1px solid #f3d097;transform:rotate(45deg)}
#tourReader header {border-bottom:1px solid #cec3ab;padding-bottom:12px}
#tourReader h2 {margin-top:4px}
#tourReader article {display:grid;gap:13px;padding:14px 0;line-height:1.68;font-size:14px}
#tourReader h3 {margin:0 0 4px;font-size:15px}
#tourReader p {margin:0;color:#495044}
#tourArticleSource {color:#3e624e;font-size:12px;text-underline-offset:3px}
#tourPedals {position:absolute;bottom:max(76px,calc(55px + env(safe-area-inset-bottom)));left:3%;right:3%;display:none;justify-content:space-between;pointer-events:none}
#tourPedals div {display:flex;gap:5px}
#tourPedals button {touch-action:none;user-select:none;min-height:50px;min-width:48px;background:#243930f2}
#tourPedals .held {background:#af8f5c;color:#17211a}
#tourStick {position:absolute;border:2px solid #f0d4a694;width:64px;height:64px;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.city-ware-view {width:100%;height:auto;touch-action:none;cursor:grab;display:block}
#wpHost.city-studio,#citySampleHost {background:radial-gradient(ellipse at 47% 64%,#fbf6ea,#ddd7c5 90%);border-radius:4px;overflow:hidden}
#wpHost.city-studio {width:145px;flex:none}
.city-folio {display:grid;grid-template-columns:minmax(143px,1fr) 1fr;gap:13px;align-items:center}
.city-folio p {font-size:13px;line-height:1.65}
.city-samples {display:flex;gap:5px;flex-wrap:wrap}
.city-samples button {border:1px solid #b5ac94;border-radius:3px;padding:5px 8px;background:#f5efde;font-family:inherit;font-size:12px;line-height:1.4;cursor:pointer}
.city-samples button[aria-pressed=true] {background:#42604e;color:#fff3d9}
@media(pointer:coarse){#tourPedals:not([hidden]){display:flex}}
body.touchui #tourPedals:not([hidden]) {display:flex}
@media(max-width:520px){
  #tourTop {left:9px;right:9px}
  #tourMenu,#tourReader {left:8px;bottom:max(9px,env(safe-area-inset-bottom));width:calc(100% - 16px);padding:13px}
  #tourBottom {right:8px;max-width:calc(100vw - 16px)}
  #tourBottom .tour-buttons {gap:4px}
  #tourBottom .tour-buttons button {font-size:12px;padding:6px 8px;min-height:43px}
  #tourBottom #tourHint {max-width:93vw}
  .city-folio {grid-template-columns:1fr 1fr;gap:7px}
}
@media(max-height:520px) and (orientation:landscape){
  #tourTop {top:7px}
  #tourTop header {padding:5px 10px}
  #tourMenu,#tourReader {top:72px;bottom:8px;width:min(490px,72vw);max-height:none;padding:10px 12px}
  #tourBottom {bottom:7px;gap:3px}
  #tourView button {min-height:37px}
  #tourPedals {bottom:56px}
}

#tourPerf {color:#e5cda9;font:500 11px/1.4 system-ui,sans-serif;font-variant-numeric:tabular-nums}
