/* The Long Stair (v1.198): a spiral well that descends as you scroll. */
.dwx-the-long-stair .ls-well{position:relative;height:min(68vh,620px);min-height:340px;border-radius:14px;overflow:hidden;background:#06060a;box-shadow:inset 0 0 90px rgba(0,0,0,.9)}
.dwx-the-long-stair .ls-well .dwx-art{position:absolute;inset:0;width:100%;height:100%;display:block}
/* v1.207: the bar down the side has to be findable. A default overlay scrollbar on a dark panel is
   nearly invisible, and it is the main way down. */
.dwx-the-long-stair .ls-scroll{position:absolute;inset:0;overflow-y:scroll;overscroll-behavior:contain;outline:0;-webkit-overflow-scrolling:touch;scrollbar-width:auto;scrollbar-color:#c79a4a rgba(255,255,255,.08)}
.dwx-the-long-stair .ls-scroll:focus-visible{box-shadow:inset 0 0 0 2px rgba(255,214,150,.45)}
.dwx-the-long-stair .ls-scroll::-webkit-scrollbar{width:15px}
.dwx-the-long-stair .ls-scroll::-webkit-scrollbar-track{background:rgba(255,255,255,.07);border-radius:9px;margin:10px 4px}
.dwx-the-long-stair .ls-scroll::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#f0d59c,#a8762f);border-radius:9px;border:3px solid rgba(6,6,10,.92);min-height:52px}
.dwx-the-long-stair .ls-scroll::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#fff0c8,#c6903c)}
.dwx-the-long-stair .ls-runway{width:1px}

/* The cue beside it, for the first few steps only. On a touch screen the scrollbar is an overlay that
   hides itself whatever the stylesheet says, so this is what says "down this way". */
.dwx-the-long-stair .ls-cue{position:absolute;right:0;top:0;bottom:0;width:58px;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;background:linear-gradient(90deg,rgba(0,0,0,0),rgba(226,200,138,.12));transition:opacity 1.6s ease}
.dwx-the-long-stair .ls-cue i{width:13px;height:13px;border-right:2px solid rgba(243,218,166,.95);border-bottom:2px solid rgba(243,218,166,.95);transform:rotate(45deg);animation:ls-fall 1.9s infinite}
.dwx-the-long-stair .ls-cue i:nth-child(2){animation-delay:.25s}
.dwx-the-long-stair .ls-cue i:nth-child(3){animation-delay:.5s}
.dwx-the-long-stair .ls-cue.is-off{opacity:0}
@keyframes ls-fall{0%{opacity:0;transform:translateY(-7px) rotate(45deg)}40%{opacity:1}100%{opacity:0;transform:translateY(9px) rotate(45deg)}}
.dwx-the-long-stair .ls-hud{position:absolute;left:0;right:0;bottom:0;padding:14px 16px;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:baseline;justify-content:space-between;pointer-events:none;background:linear-gradient(0deg,rgba(4,4,8,.86),rgba(4,4,8,0))}
.dwx-the-long-stair .ls-step{font-variant-numeric:tabular-nums;letter-spacing:.12em;text-transform:uppercase;font-size:.76rem;color:#c8b48c}
.dwx-the-long-stair .ls-say{color:#a89a7e;font-size:.9rem;max-width:30em}
.dwx-the-long-stair .ls-hint{position:absolute;left:0;right:0;top:14px;text-align:center;color:#8d8369;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;pointer-events:none;transition:opacity 1.2s ease}
.dwx-the-long-stair .ls-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0 0}
.dwx-the-long-stair .ls-down{min-width:9em}
.dwx-the-long-stair .ls-chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.dwx-the-long-stair .ls-chip{border:1px solid rgba(200,180,140,.3);background:rgba(255,240,210,.05);color:#e4dac2;border-radius:999px;padding:7px 15px;cursor:pointer;font:inherit;font-size:.9rem}
.dwx-the-long-stair .ls-chip[aria-pressed="true"]{background:rgba(226,200,138,.2);border-color:rgba(226,200,138,.6);color:#fff6e2}
.dwx-the-long-stair .ls-note{margin:6px 0 0;color:#9a8f76;font-size:.88rem}
.dwx-the-long-stair .ls-ways{margin:10px 0 0;padding:0;list-style:none;color:#9a8f76;font-size:.9rem;line-height:1.55}
.dwx-the-long-stair .ls-ways li{margin:0 0 6px}
.dwx-the-long-stair .ls-ways b{color:#e0d4b8;font-weight:600;margin-right:4px}
.dwx-the-long-stair .ls-door{position:relative;text-align:center;padding:26px 18px}
.dwx-the-long-stair .ls-door h2{margin:0 0 .3em;color:#f1e4c6}
.dwx-the-long-stair .ls-door p{margin:0 0 1em;color:#b5a888}
.dwx-the-long-stair .ls-room{position:relative;border-radius:14px;overflow:hidden;min-height:300px;display:flex;align-items:center;justify-content:center;text-align:center;padding:40px 24px;background:#07080c}
.dwx-the-long-stair .ls-room .dwx-art{position:absolute;inset:0;width:100%;height:100%}
.dwx-the-long-stair .ls-room .ls-inner{position:relative;max-width:30em}
.dwx-the-long-stair .ls-room h2{margin:0 0 .5em;color:#eee6d2;font-weight:500}
.dwx-the-long-stair .ls-room p{margin:0 0 1.2em;color:#aaa08a}
.dwx-the-long-stair .ls-count{margin:14px 0 0;color:#c8b48c;min-height:1.6em;font-size:1.02rem}
@media (max-height:620px){.dwx-the-long-stair .ls-well{height:min(60vh,420px);min-height:260px}}
@media (prefers-reduced-motion:reduce){.dwx-the-long-stair .ls-hint,.dwx-the-long-stair .ls-cue{transition:none}.dwx-the-long-stair .ls-cue i{animation:none;opacity:.92}}
