/* Reserve space above the unmodified multiplayer table, without covering controls. */
.guided-demo .game-shell{height:calc(100dvh - var(--demo-guide-height,160px));min-height:0;margin-top:var(--demo-guide-height,160px)}
.demo-guide{position:fixed;z-index:150;top:0;left:0;right:0;padding:10px 20px;background:linear-gradient(110deg,#23291f,#17201b);border-bottom:2px solid #bd9759;color:#eee1c8;font:13px/1.4 system-ui,sans-serif;box-shadow:0 3px 15px #0008}
.demo-guide-heading{display:flex;align-items:center;gap:14px;color:#dfbc7a;font-size:11px;letter-spacing:.08em}.demo-guide-heading button{margin-left:auto;padding:2px 10px}.demo-guide h2{font-size:17px;margin:3px 0}.demo-guide p{margin:4px 0 8px;max-width:1400px}.demo-guide-actions{display:flex;gap:8px}.demo-guide button{font:inherit;cursor:pointer;padding:5px 12px;border:1px solid #9c8457;border-radius:4px;background:#31392b;color:#f5e3bd}.demo-guide button.primary{background:#c5a267;color:#152018;font-weight:700}.demo-guide button:focus-visible{outline:2px solid #95d2ff;outline-offset:3px}.demo-guide button[hidden]{display:none}.demo-guide.collapsed #demo-guide-content{display:none}.demo-guide button:disabled{opacity:.6}
@media(max-width:700px){.demo-guide{padding:8px 10px;font-size:12px}.demo-guide h2{font-size:15px}.demo-guide p{max-height:110px;overflow:auto}.demo-guide-actions{flex-wrap:wrap}}
.demo-highlight-layer{position:fixed;inset:0;z-index:151;pointer-events:none;overflow:hidden}.demo-target-border{position:absolute;border:3px solid #ffe29b;border-radius:6px;box-shadow:0 0 0 2px #50370b,0 0 15px #ffd46c;animation:demo-blink 1.1s step-end infinite;pointer-events:none}@keyframes demo-blink{0%,55%{opacity:1}56%,100%{opacity:.22}}@media(prefers-reduced-motion:reduce){.demo-target-border{animation:none;outline:2px solid #ffe29b;outline-offset:3px}}
@media(max-width:980px){.guided-demo .game-shell{height:auto;min-height:calc(100dvh - var(--demo-guide-height,160px));overflow:auto}.guided-demo .command-panel{min-height:300px}}
.demo-guide button{text-transform:none;letter-spacing:normal}.demo-guide button.primary{background:#c5a267;border-color:#e2c487;color:#152018}
