#tourPanel[hidden],#tourMarkers[hidden]{display:none}
#tourPanel{position:absolute;z-index:55;bottom:max(9px,env(safe-area-inset-bottom));right:max(9px,env(safe-area-inset-right));width:min(404px,calc(100% - 18px));padding:10px;border:1px solid #668b6d;border-radius:9px;background:#132820f6;color:#ebf7eb;box-shadow:0 10px 35px #000a}
#tourPanel header{display:block;padding:0;margin:0 0 5px;min-height:0;border:0}
#tourPanel h2,#tourPanel h3,#tourPanel p{margin:0}
#tourPanel h2{font-size:.94rem;color:#c7ffc7}
#tourPanel header span,#tourPanel p{font-size:.73rem;line-height:1.32;color:#d5ebde}
#tourPanel h3{font-size:.83rem;color:#ecffd9;margin-bottom:2px}
#tourPanel .tour-note{padding:7px;border:1px solid #395a49;border-radius:6px;background:#0e1c17;min-height:59px}
#tourTopics{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0}
#tourTopics button,#tourPanel nav button{display:block;min-height:28px;font-size:.65rem;line-height:1.2;margin:0;padding:3px 5px}
#tourTopics button[aria-pressed=true],#tourStart{border-color:#bbf2bf;background:#31513b;color:#e8ffe1}
#tourPanel nav{display:flex;justify-content:space-between;gap:8px}
#tourPanel nav button{min-height:33px}
.tour-active .tour-target{outline:2px solid #beffc4;outline-offset:1px}
#tourMarkers{position:fixed;z-index:54;inset:0;pointer-events:none}
#tourMarkers button{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;display:grid;place-items:center;width:25px;height:25px;padding:0;margin:0;border:1px solid #e7ffe2;border-radius:50%;background:#10261c;color:#effeee;font-size:.7rem;font-weight:850}
#tourMarkers button[aria-pressed=true]{background:#baf6ba;color:#18341c}
@media(max-width:600px){#tourPanel{left:9px;width:auto;right:9px;padding:8px}#tourPanel .tour-note{min-height:49px}#tourPanel header span{font-size:.67rem}}
@media(pointer:coarse){#tourTopics button,#tourPanel nav button{min-height:34px}#tourMarkers button{width:32px;height:32px}}
#tourTopics button{display:inline-flex;align-items:center;gap:4px}
#tourTopics .tour-chip-icon{width:13px;height:13px;flex:none;color:#b2dab8}
#tourPanel.tour-at-top{bottom:auto;top:max(9px,env(safe-area-inset-top))}
#tourPanel{max-height:42dvh;overflow:auto;overscroll-behavior:contain}
@media(max-width:600px){#tourPanel{max-height:40dvh}}

/* Visual only: transparent holes keep selected controls at their original contrast. */
#tourScrim{position:fixed;inset:0;width:100%;height:100%;z-index:53;pointer-events:none;display:none;fill:#020a08;opacity:.57}
.tour-active #tourScrim{display:block}
