/* Keep the current topic above the rider, with consistent contrast in every world. */
.game-scene{--topic-ink:#183e33;--topic-shadow:-1px -1px 0 #f1f4dfb3,1px -1px 0 #f1f4dfb3,-1px 1px 0 #f1f4dfb3,1px 1px 0 #f1f4dfb3,0 2px 5px #ffffff80}
.game-scene[data-environment=mist],.game-scene[data-environment=night]{--topic-ink:#f1f4df;--topic-shadow:-1px -1px 0 #102c26cc,1px -1px 0 #102c26cc,-1px 1px 0 #102c26cc,1px 1px 0 #102c26cc,0 2px 5px #102c26cc}
body .game-scene .world-label,body .game-scene .destination-beacon{background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;clip-path:none;padding:0;color:var(--topic-ink);text-shadow:var(--topic-shadow)}
body .game-scene .world-label::before,body .game-scene .world-label::after,body .game-scene .destination-beacon::before,body .game-scene .destination-beacon::after{display:none}
body .game-scene .world-label{left:50%;top:calc(var(--planet-size) * .03 + 45px);transform:translateX(-50%);width:max-content;min-width:0;max-width:min(480px,calc(100vw - 88px));align-items:center;text-align:center;gap:0}
body .game-scene .world-label b{font-family:var(--mono);font-size:clamp(28px,2.8vw,40px);font-weight:400;line-height:1.08;color:var(--topic-ink);text-shadow:var(--topic-shadow);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;max-width:100%}
body .game-scene .destination-beacon{left:50%;right:auto;top:calc(clamp(92px,12vh,126px) + env(safe-area-inset-top));transform:translateX(-50%);width:max-content;max-width:min(520px,72vw);text-align:center;gap:0}
body .game-scene .destination-beacon>div{display:flex;flex-direction:column;align-items:center;gap:4px;max-width:100%}
body .game-scene .destination-beacon>div>span{display:block;font-family:var(--mono);font-size:clamp(14px,1.2vw,18px);line-height:1.1;letter-spacing:.18em;color:var(--topic-ink);opacity:.72}
body .game-scene .destination-beacon b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-family:var(--mono);font-size:clamp(24px,2.2vw,32px);font-weight:400;line-height:1.1;color:var(--topic-ink);text-shadow:var(--topic-shadow);max-width:100%}
@media(max-width:767px){body .game-scene .destination-beacon{top:calc(82px + env(safe-area-inset-top));max-width:calc(100vw - 64px)}body .game-scene .world-label{max-width:calc(100vw - 88px)}body .game-scene .world-label b{font-size:28px}body .game-scene .destination-beacon b{font-size:24px}}
body[data-keyboard-open=true] .game-scene .destination-beacon,body[data-compact-viewport=true] .game-scene .destination-beacon{left:50%;right:auto;top:calc(70px + env(safe-area-inset-top));transform:translateX(-50%);max-width:calc(100vw - 64px)}
body[data-keyboard-open=true] .game-scene .destination-beacon b,body[data-compact-viewport=true] .game-scene .destination-beacon b{font-size:20px}
body[data-keyboard-open=true] .game-scene .destination-beacon>div>span,body[data-compact-viewport=true] .game-scene .destination-beacon>div>span{font-size:12px}

body .game-scene{--rider-height:calc(var(--platform-width) * .425)}
body[data-keyboard-open=true] .game-scene,body[data-tight-scene=true] .game-scene{--rider-height:35px}
body .game-scene .world-current .world-label{top:calc(var(--planet-size) * .03 + 4px - var(--rider-height) - 14px);transform:translate(-50%,-100%);background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;box-sizing:border-box;opacity:1}
body .game-scene .world-current .world-label b{color:var(--topic-ink);text-shadow:var(--topic-shadow);opacity:1}
