
.desktop-game .game-menu-card,.desktop-card{font-size:calc(1rem * var(--desktop-scale));border:1px solid #6d899180;background:#14272df5;box-shadow:0 24px 80px #0006;border-radius:18px;padding:28px;color:#e7f1f3;max-height:85dvh;overflow:auto}
.desktop-game .game-menu-card{width:min(640px,90vw)}
.desktop-game .game-menu-heading h2{font-size:1.5em}
.desktop-game .topactions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.desktop-game .topactions button,.desktop-game .topactions select{font-size:1em;padding:13px;text-align:left}
.desktop-game .game-menu-help{font-size:.9em;line-height:1.6}
.desktop-game #desktopHelp,.desktop-game #prompt,.desktop-game .mission,.desktop-game #location{display:none!important}
.desktop-game .topbar .brand{max-width:210px;opacity:.85}
.desktop-game #gameMenuButton{font-size:16px;padding:12px 18px}
.desktop-game .start-card{width:min(510px,85vw);padding:32px;max-height:85dvh;overflow:auto;border-radius:18px;background:#14272ded}
.desktop-game .start-card>p{font-size:16px;line-height:1.6}
.desktop-game .start-meta,.desktop-game .start-card>small:last-child{display:none}
.desktop-game .start-card button{font-size:16px;padding:14px;margin-top:10px}
.desktop-game .start-card .primary{font-size:20px}
.desktop-action{position:fixed;bottom:65px;left:50%;transform:translateX(-50%);z-index:9;background:#12272eea;border:1px solid #b9ee7180;border-radius:12px;padding:14px 22px;color:#f4f8f9;font-size:calc(16px * var(--desktop-scale));max-width:70vw}
.desktop-tip{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);color:#e9f3f5;background:#14272de0;padding:9px 16px;border-radius:8px;pointer-events:none;font-size:14px;z-index:8}
.desktop-dialog{z-index:90}.desktop-card{width:min(700px,90vw)}.desktop-card header{display:flex;justify-content:space-between;align-items:center}.desktop-card header h2{font-size:1.6em}.desktop-card button{font-size:1em}.desktop-card>button{width:100%;margin-top:20px}.desktop-card p{line-height:1.6}.desktop-card label{display:grid;gap:12px;margin:20px 0}.desktop-bindings{display:grid;grid-template-columns:1fr 1fr;gap:8px}.desktop-card dl{display:grid;grid-template-columns:1fr 1fr;gap:12px}.desktop-card dd{text-align:right;margin:0}.desktop-players{list-style:none;padding:0}.desktop-players li{padding:14px;border-bottom:1px solid #6d899155}
.desktop-dialog #minimap{position:static!important;display:block;width:min(100%,450px);margin:auto;background:transparent;border:0;box-shadow:none}.desktop-dialog #map{width:100%;height:auto;max-height:55dvh;object-fit:contain}.desktop-dialog #closeMap{display:none}
.desktop-game:not(.paused) #crosshair{width:5px;height:5px;opacity:.6}
@media(max-height:650px){.desktop-game .start-card{padding:18px}.desktop-game .start-card>p{display:none}}

.desktop-extra{margin:18px 0}.desktop-extra summary{padding:12px;cursor:pointer}.desktop-extra>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.desktop-extra button,.desktop-extra select{font-size:1em;padding:12px}
@media(min-width:1100px){.desktop-game #editorPanel{left:auto;right:18px;width:300px;bottom:90px}.desktop-game .desktop-inventory{position:fixed;left:18px;top:100px;bottom:90px;width:280px;background:#14272df5;border:1px solid #6d899180;border-radius:14px;padding:18px;overflow:auto}.desktop-game #editorPanel .editor-tools{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:8px;background:#14272df5;padding:12px;border-radius:12px}.desktop-game #editorPanel .editor-tools button{min-width:85px}}
