html, body { width:100%; height:100%; margin:0; overscroll-behavior:none; }
#modern-ui { font-family:proxima-nova,Arial,sans-serif; color:#eee9ff; }
#modern-ui [hidden] { display:none !important; }
#modern-ui button, #modern-ui select, #modern-ui a { -webkit-tap-highlight-color:transparent; }
#modern-ui button, #modern-toolbar a, #modern-ui select { font:inherit; color:#eee9ff; background:#211839ed; border:1px solid #8070ac; border-radius:8px; padding:10px 12px; cursor:pointer; }
#modern-ui button:hover, #modern-ui button[aria-pressed=true], #modern-ui button.pressed { background:#fcb649; color:#170d28; border-color:#ffd8a0; }
#modern-ui :focus-visible { outline:3px solid #fcb649; outline-offset:3px; }
#modern-toolbar { position:fixed; top:env(safe-area-inset-top,0px); left:env(safe-area-inset-left,0px); right:env(safe-area-inset-right,0px); z-index:10002; display:flex; justify-content:center; gap:6px; padding:5px; pointer-events:none; }
#modern-toolbar > * { pointer-events:auto; text-decoration:none; font-size:13px; min-height:40px; box-sizing:border-box; }
#modern-launcher { position:fixed; inset:0; z-index:10001; overflow:auto; background:radial-gradient(ellipse at 70% 20%,#402257,#100c22 70%); padding:70px 20px 30px; box-sizing:border-box; }
.modern-card { max-width:620px; margin:0 auto; text-align:center; line-height:1.5; }
.modern-card > img { width:220px; max-width:65%; height:auto; }
.modern-card h1 { font-size:clamp(26px,5vw,42px); margin:12px 0; line-height:1.1; }
.modern-kicker { font-size:12px; letter-spacing:2px; color:#fcb649; }
.modern-options { display:flex; gap:12px; text-align:left; margin:20px 0; }
.modern-options label { flex:1; }
#modern-ui select { display:block; width:100%; margin-top:4px; }
#modern-ui .modern-primary { background:#fcb649; color:#170d28; font-weight:bold; }
.modern-card > button { margin:0 3px 8px; min-height:48px; }
.modern-card a { color:#dac6ff; }
.modern-help { font-size:14px; color:#bdb1d0; }
#modern-status { position:fixed; top:52px; left:50%; transform:translateX(-50%); z-index:10003; margin:0; background:#211839ed; color:#fff; font:14px/1.4 Arial; max-width:90%; width:max-content; border-radius:8px; }
#modern-status:not(:empty) { padding:10px; }
.archive-back, #footer, #dpad, #gameButtons, #hudButtons { display:none !important; }
#modern-controls { position:fixed; inset:0; pointer-events:none; z-index:10000; }
#modern-pad, #modern-actions { position:absolute; bottom:calc(22px + env(safe-area-inset-bottom,0px)); pointer-events:auto; touch-action:none; user-select:none; -webkit-user-select:none; }
#modern-pad { left:calc(16px + env(safe-area-inset-left,0px)); width:144px; height:144px; border-radius:50%; background:#211839a8; border:2px solid #bda5dd; display:grid; grid-template:repeat(3,1fr)/repeat(3,1fr); align-items:center; justify-items:center; font-size:25px; color:#f6d9b6; box-shadow:0 0 20px #130a22a0; }
#modern-pad.pressed { background:#49315bc9; border-color:#fcb649; }
.pad-up { grid-area:1/2; } .pad-left { grid-area:2/1; } .pad-center { grid-area:2/2; font-size:14px; } .pad-right { grid-area:2/3; } .pad-down { grid-area:3/2; }
#modern-actions { right:calc(16px + env(safe-area-inset-right,0px)); display:grid; grid-template-columns:repeat(2,74px); gap:8px; }
#modern-actions button { height:62px; padding:6px 3px; background:#211839bd; font-size:14px; touch-action:none; }
#modern-actions small { display:block; opacity:.7; font-size:11px; }
/* The camera fills the viewport; original HUD elements retain their own scale. */
.modern-wide.modern-in-game #gameContainer { position:fixed !important; inset:0 !important; width:100% !important; height:100% !important; margin:0 !important; transform:none !important; background:none !important; }
.modern-wide #gameContainer .gameCanvas { left:0 !important; top:0 !important; }
.modern-wide #gameContainer #frame, .modern-wide #gameContainer #header { display:none !important; }
.modern-wide #gameContainer #hud { inset:0; width:100%; height:100%; pointer-events:none; }
.modern-wide .modern #dash-bottom { left:50%; bottom:0; margin-left:-714px; width:1428px; height:195px; transform:scale(var(--hud-scale, .6)); transform-origin:50% 100%; }
.modern-wide .modern #dash-bottom-bg { display:none; }
.modern-wide .modern #dash-top { top:52px; transform:scale(var(--hud-scale,.6)); transform-origin:50% 0; }
.modern-wide #gameContainer #gameMessageBackground, .modern-wide #gameContainer #cloakOverlay { inset:0; width:100%; height:100%; }
.modern-wide #gameMessageView { left:50% !important; top:50% !important; width:1080px !important; height:575px !important; margin-left:-540px; margin-top:-287.5px; transform:scale(var(--message-scale, .6)); transform-origin:center; }
.modern-wide #gameMessage { position:static !important; }
.modern-wide .retro #hud { width:800px !important; height:600px !important; left:50% !important; top:auto !important; bottom:0 !important; margin-left:-400px; transform:scale(var(--retro-scale,.6)); transform-origin:50% 100%; }
.modern-wide .retro #dash_top, .modern-wide .retro #dash_bottom { background-image:none; }
.modern-wide.modern-touch #modern-pad, .modern-wide.modern-touch #modern-actions { bottom:calc(110px * var(--hud-scale,.6) + 16px + env(safe-area-inset-bottom,0px)); }
@media (max-width:600px) {
  #modern-toolbar { gap:3px; }
  #modern-toolbar > * { font-size:11px; padding:10px 6px; }
  #modern-pad { width:128px; height:128px; left:10px; }
  #modern-actions { right:10px; grid-template-columns:repeat(2,64px); gap:6px; }
  #modern-actions button { height:58px; font-size:12px; }
  .modern-options { gap:8px; }
  .modern-wide.modern-touch .modern #dash-bottom { bottom:160px; }
  .modern-wide.modern-touch #modern-pad, .modern-wide.modern-touch #modern-actions { bottom:calc(16px + env(safe-area-inset-bottom,0px)); }
}
@media (max-height:450px) and (min-width:601px) {
  #modern-pad { width:124px; height:124px; }
  #modern-actions button { height:52px; }
  .modern-wide.modern-touch #modern-pad, .modern-wide.modern-touch #modern-actions { bottom:calc(12px + env(safe-area-inset-bottom,0px)); }
}
/* A readable compact HUD replaces decorative dials only in the large view. */
#modern-ui #modern-toolbar button, #modern-ui #modern-toolbar a { font-size:13px; white-space:nowrap; }
.modern-wide .modern #dash-top { transform:scale(var(--flags-scale,1)); filter:brightness(2); }
.modern-wide .modern #dash-bottom { left:0; bottom:0; margin:0; width:100%; height:100%; transform:none; }
.modern-wide .modern #dash-bottom > :not(#radar) { visibility:hidden; }
.modern-wide .modern #radar { left:50%; top:auto; bottom:42px; width:180px; height:97px; transform:translateX(-50%); background:#150b2890; border-radius:12px; }
#modern-readout { position:fixed; bottom:calc(7px + env(safe-area-inset-bottom,0px)); left:50%; transform:translateX(-50%); z-index:9999; padding:6px 10px; border-radius:7px; background:#1c112bd9; color:#fff1db; font:13px/1.4 proxima-nova,Arial,sans-serif; white-space:nowrap; pointer-events:none; }
@media (max-width:600px) {
  #modern-ui #modern-toolbar button, #modern-ui #modern-toolbar a { font-size:11px; padding:10px 5px; }
  .modern-wide .modern #dash-bottom { bottom:0; }
  .modern-wide .modern #radar { bottom:172px; width:150px; height:81px; }
  #modern-readout { top:100px; bottom:auto; font-size:12px; padding:6px; }
}
/* Retro overlays use viewport coordinates, independent of the old 800x600 cockpit. */
.modern-wide .retro #hud { inset:0 !important; margin:0 !important; width:100% !important; height:100% !important; transform:none !important; }
.modern-wide .retro #dash_top { inset:0; width:100%; height:100%; background:none; }
.modern-wide .retro #dash_top #flag_counts { left:calc(12px + env(safe-area-inset-left,0px)); top:calc(56px + env(safe-area-inset-top,0px)); width:151px; height:51px; background:#000b; }
.modern-wide .retro #dash_bottom, .modern-wide .retro #velocity_overlay { display:none; }
.modern-wide .retro #radar { left:50%; top:auto; bottom:calc(22px + env(safe-area-inset-bottom,0px)); width:130px; height:90px; transform:translateX(-50%); z-index:10000; }
#modern-retro-hud { position:fixed; bottom:calc(8px + env(safe-area-inset-bottom,0px)); left:50%; transform:translateX(-50%); width:min(640px,calc(100% - 24px)); height:116px; box-sizing:border-box; display:grid; grid-template-columns:1fr 140px 1fr; gap:8px; padding:8px 12px; background:#111c; border:1px solid #777; color:#fff; font:12px/1.2 monospace; z-index:9998; pointer-events:none; }
.retro-inventory { display:flex; justify-content:space-around; }
.retro-inventory .retro-meter { position:relative; width:45px; padding-left:18px; box-sizing:border-box; }
.retro-meter-label { position:absolute; bottom:26px; left:3px; writing-mode:vertical-rl; transform:rotate(180deg); white-space:nowrap; font-size:11px; }
.retro-track { position:relative; background:#000; border:1px solid #8b8b8b; overflow:hidden; }
.retro-inventory .retro-track { height:70px; width:12px; }
.retro-track i { display:block; position:absolute; background:#ffe649; }
.retro-inventory .retro-track i { bottom:0; left:0; right:0; height:var(--fill,0%); }
.retro-count { position:absolute; left:0; bottom:0; white-space:nowrap; font-size:11px; }
.retro-count b { color:#5cff73; }
.retro-durations { display:flex; flex-direction:column; justify-content:space-around; }
.retro-durations .retro-track { height:12px; margin-top:3px; }
.retro-durations .retro-track i { left:0; top:0; bottom:0; width:var(--fill,0%); }
.modern-wide.modern-touch #modern-retro-hud { width:min(640px,calc(100% - 340px)); }
.modern-wide .retro #gameMessageView { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; margin:0 !important; transform:none !important; z-index:10; }
.modern-wide .retro #gameMessageView .msgLarge { transform:scale(1.5); transform-origin:center; }
.modern-wide .retro #gameMessageView .msgButton { touch-action:manipulation; cursor:pointer !important; }
.modern-wide .retro #gameMessageView .msgButton:focus-visible { outline:2px solid #111; outline-offset:3px; }
.retro .modern-frozen-scene { position:absolute; left:4px; top:48px; width:800px; height:600px; pointer-events:none; }
.modern-wide .retro .modern-frozen-scene { inset:0; width:100%; height:100%; object-fit:cover; }
@media(max-width:700px) {
  #modern-retro-hud, .modern-wide.modern-touch #modern-retro-hud { width:calc(100% - 24px); grid-template-columns:1fr 110px 1fr; gap:4px; padding:8px; }
  .modern-wide.modern-touch #modern-retro-hud { bottom:calc(164px + env(safe-area-inset-bottom,0px)); }
  .modern-wide .retro #radar { width:100px; }
  .modern-wide.modern-touch .retro #radar { bottom:calc(178px + env(safe-area-inset-bottom,0px)); }
  .retro-inventory .retro-meter { width:34px; padding-left:16px; }
  .retro-meter-label { left:1px; font-size:10px; }
  .retro-durations { font-size:10px; }
  .modern-wide .retro #gameMessageView .msgLarge { transform:scale(1); }
}
/* Leave the radar's column unobscured by the separate UI layer. */
#modern-retro-hud { background:none; border:0; }
.retro-inventory, .retro-durations { background:#111d; border:1px solid #777; padding:4px; }
.modern-wide .retro #radar { background:#000c; border:1px solid #777; }
#modern-ui #modern-toolbar #modern-sound { min-width:32px; font-size:16px; }
@media(max-width:600px) {
  #modern-toolbar { gap:2px; }
  #modern-ui #modern-toolbar button, #modern-ui #modern-toolbar a { font-size:10px; padding:10px 4px; }
}
#mp-panel { text-align:left; margin:22px 0; padding:16px; border:1px solid #8070ac; border-radius:12px; background:#211839; }
#mp-panel summary { cursor:pointer; color:#fcb649; font-size:20px; }
#mp-panel input { display:block; box-sizing:border-box; width:100%; min-width:0; margin:4px 0 12px; padding:10px; border:1px solid #8070ac; border-radius:8px; background:#100c22; color:#eee9ff; font:inherit; }
#mp-panel .modern-options > label { min-width:0; }
#mp-panel .mp-join { display:flex; gap:10px; align-items:center; margin-top:12px; }
#mp-panel .mp-join input { width:120px; margin:0; text-transform:uppercase; }
#mp-panel button:disabled, #modern-ui button:disabled { opacity:.5; cursor:default; }
#mp-status { overflow-wrap:anywhere; color:#fcb649; }
/* Original home artwork and buttons remain the entry point of the extended edition. */
#homeView { position:absolute; inset:0; overflow:auto; padding:76px 18px 32px; box-sizing:border-box; }
#homeContent { position:relative !important; left:auto !important; top:auto !important; width:min(1100px,100%); height:auto; min-height:400px; margin:0 auto !important; transform:none !important; }
#homeTitle { position:relative; left:auto; top:auto; width:100%; height:auto; aspect-ratio:1043/326; background-size:contain; background-repeat:no-repeat; }
#homeGlow { pointer-events:none; left:0; top:-160px; width:100%; background-size:contain; background-repeat:no-repeat; }
#homeIE, #homeTwitter, #homeFacebook { display:none; }
#homeButtons { top:auto; display:flex; justify-content:center; flex-wrap:wrap; gap:16px; }
#homeButtons .homeButton { appearance:none; border:0; border-radius:27px; background:linear-gradient(to top,#ff8700,#ffab00); width:auto; min-width:210px; padding:0 28px; margin:8px 0; color:#0c092a; font:bold 27px/54px proxima-nova,Arial,sans-serif; cursor:pointer; }
#homeButtons .homeButton:hover { background:linear-gradient(to top,orange,#ffd100); }
#homeButtons .homeButton:disabled { opacity:.5; cursor:default; }
#enhanced-unlock { position:absolute; left:35%; top:37%; width:7%; height:22%; border:0; background:transparent; cursor:default; text-indent:0; padding:0; }
#enhanced-unlock:focus-visible { outline:2px solid #ffab00; }
#modern-launcher { position:relative; inset:auto; overflow:visible; background:none; padding:0; margin:10px auto; max-width:800px; font:16px/1.4 proxima-nova,Arial,sans-serif; color:white; }
#modern-launcher .modern-card { max-width:none; }
#modern-launcher [hidden], #homeView [hidden] { display:none !important; }
#modern-launcher .enhanced-edition { text-align:center; letter-spacing:3px; color:#ffd28a; text-transform:uppercase; font-size:12px; }
#modern-launcher .modern-options { flex-wrap:wrap; justify-content:center; gap:16px; margin:18px 0; }
#modern-launcher .modern-options label { flex:1 1 130px; max-width:260px; text-align:left; }
#modern-launcher select, #modern-launcher input { display:block; box-sizing:border-box; width:100%; min-height:42px; border:1px solid #9772aa; border-radius:5px; margin-top:5px; padding:8px; font:inherit; color:#fff; background:#1b0c2de8; }
#modern-launcher button { padding:10px 18px; margin:5px; border:0; border-radius:24px; background:linear-gradient(to top,#ff8700,#ffab00); color:#0c092a; font:bold 16px proxima-nova,Arial,sans-serif; cursor:pointer; }
#modern-launcher button:disabled { opacity:.5; cursor:default; }
#modern-launcher :focus-visible { outline:2px solid #ffd28a; outline-offset:3px; }
#enhanced-unlock-message { color:#ffd28a; text-align:center; }
#mp-panel { margin:16px 0; padding:22px; border:1px solid #765087; border-radius:8px; background:linear-gradient(#210d30ed,#100719ed); box-shadow:0 5px 30px #0008; }
#mp-panel h2, #mp-panel h3 { text-align:center; text-transform:uppercase; letter-spacing:2px; color:#ffba48; }
#mp-panel .mp-join input { flex:1; max-width:170px; }
#mp-panel table { width:100%; border-collapse:collapse; margin:15px 0; }
#mp-panel th, #mp-panel td { padding:8px; text-align:left; border-bottom:1px solid #765087; }
#mp-panel #mp-players { list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:12px; }
#mp-panel #mp-players li { padding:6px 10px; background:#35203e; border-radius:4px; }
.enhanced-next { position:absolute; top:calc(50% + 120px); width:100%; text-align:center; color:#fff; font:16px Arial; z-index:100; text-shadow:0 2px 3px #000; }
.modern-wide .retro #dash_top #flag_counts { background:#000b; border:1px solid #777; image-rendering:pixelated; }
@media(max-width:600px) {
 #homeView { padding:70px 12px 25px; }
 #homeContent { min-height:0; }
 #homeButtons { gap:8px; }
 #homeButtons .homeButton { min-width:0; padding:0 16px; font-size:19px; line-height:44px; height:44px; }
 #modern-launcher .modern-options label { flex-basis:120px; }
 #mp-panel { padding:14px; }
 .enhanced-next { top:calc(50% + 90px); font-size:12px; }
}
#craft-preview { margin:8px 0 0; text-align:center; color:#ffd28a; }
#craft-preview canvas { display:block; width:100% !important; height:auto !important; aspect-ratio:16/9; }
#large-map { position:fixed; inset:0; z-index:30000; padding: max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); box-sizing:border-box; background:#120a22f5; color:white; display:flex; flex-direction:column; gap:10px; font:16px Arial,sans-serif; }
#large-map[hidden] { display:none; }
#large-map header { display:flex; justify-content:space-between; align-items:center; gap:12px; }
#large-map h2,#large-map p { margin:0; }
#large-map p { font-size:12px; line-height:1.4; }
#large-map button { border:0; border-radius:22px; padding:12px 18px; background:#ffab00; color:#160c26; font:inherit; cursor:pointer; }
#large-map button:focus-visible { outline:2px solid white; outline-offset:3px; }
#large-map canvas { display:block; width:100%; flex:1; min-height:0; background:#080611; border:1px solid #765087; box-sizing:border-box; }
.map-open #modern-controls { display:none !important; }
#craft-preview dl { display:grid; grid-template-columns:1fr auto; font-size:13px; line-height:1.5; text-align:left; gap:2px 10px; margin:5px 0; color:#eee9ff; }
#craft-preview dd { margin:0; font-variant-numeric:tabular-nums; }
.input-gate #homeButtons,.input-gate #modern-launcher { display:none !important; }
#input-start { max-width:650px; margin:20px auto; text-align:center; font:18px/1.5 Arial,sans-serif; color:white; }
#input-start button { padding:12px 32px; border:0; border-radius:28px; background:#ffab00; font:bold 24px Arial,sans-serif; cursor:pointer; }
html:not(.input-gate) #input-start { display:none; }
#modern-toolbar { flex-wrap:wrap; }
.enhanced-changes { margin:16px auto; max-width:760px; color:#eee9ff; font-size:14px; }
.enhanced-changes summary { cursor:pointer; color:#ffca71; }
.enhanced-changes li { margin:7px 0; }
#craft-points { display:grid; gap:10px; }
#craft-points label { display:grid; grid-template-columns:minmax(90px,140px) minmax(0,1fr) 28px; align-items:center; gap:8px; }
#craft-points input { min-height:24px; padding:0; }
.over-budget { color:#ff7979; }
#modern-launcher .mp-checkbox { display:flex; align-items:center; gap:8px; margin:10px 0; }
#modern-launcher .mp-checkbox input { width:20px; min-height:20px; margin:0; }
#mp-directory { list-style:none; padding:0; }
/* Toolbar controls must not inherit the full-width form-select rule. */
#modern-ui #modern-toolbar #modern-input-mode { width:auto; max-width:125px; flex:0 0 auto; margin:0; padding:8px 20px 8px 8px; font-size:13px; }
#craft-import-preview { margin:16px 0; padding:8px; border:1px solid #765087; border-radius:8px; background:#10091bdd; text-align:center; }
#craft-import-preview canvas { display:block; width:100% !important; height:auto !important; max-height:360px; object-fit:contain; cursor:grab; }
#craft-import-preview figcaption { color:#ffd28a; }
@media(max-width:600px){#modern-ui #modern-toolbar #modern-input-mode { max-width:100px; font-size:10px; padding:8px 14px 8px 4px; }}
#modern-ui > .homeButton { display:none; }
#homeView { padding-top:calc(var(--hover-toolbar-height,50px) + 24px); }
.modern-wide .modern #dash-top { top:calc(var(--hover-toolbar-height,50px) + 2px); }
.modern-wide .retro #dash_top #flag_counts { top:calc(var(--hover-toolbar-height,50px) + 6px + env(safe-area-inset-top,0px)); }
@media(max-width:600px){#homeView { padding-top:calc(var(--hover-toolbar-height,50px) + 20px); }}
@media(orientation:portrait){#modern-readout { top:calc(var(--hover-toolbar-height,50px) + 50px); }}

.craft-stats-help { margin:10px 0; text-align:left; color:#eee9ff; font-size:13px; line-height:1.5; }
.craft-stats-help summary { cursor:pointer; color:#ffd28a; padding:8px 0; }
.craft-stats-help summary:focus-visible { outline:2px solid #ffb36b; outline-offset:2px; }
.craft-stats-help p { margin:8px 0; }
/* Preferences use the extended edition's dark panels and orange focus. */
.hover-dialog { color:#fff; background:#181818; border:2px solid #e88a27; border-radius:8px; padding:22px; width:min(650px,calc(100vw - 56px)); max-height:calc(100dvh - 70px); overflow:auto; font:16px/1.5 Arial,sans-serif; z-index:20000; }
.hover-dialog::backdrop { background:#000a; }
.hover-dialog button { color:#fff; background:#393939; border:1px solid #a66a37; padding:9px 14px; border-radius:4px; cursor:pointer; }
.preference-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; }
.preference-fields label { display:flex; flex-wrap:wrap; gap:6px; justify-content:space-between; }
.preference-fields input { width:75%; accent-color:#ec8d28; }
.preference-fields output { min-width:36px; }
.preference-buttons { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
:focus-visible { outline:3px solid #ffb43f !important; outline-offset:3px; }
.settings-open #modern-controls { display:none !important; }
#modern-pad { transform:scale(var(--touch-size,1)); transform-origin:bottom left; opacity:var(--touch-opacity,.85); }
#modern-actions { transform:scale(var(--touch-size,1)); transform-origin:bottom right; opacity:var(--touch-opacity,.85); }
.modern-wide .modern #dash-bottom,.modern-wide .modern #dash-top { transform:scale(calc(var(--hud-scale,.6) * var(--preference-hud,1))); }
#modern-retro-hud { transform:translateX(-50%) scale(var(--preference-hud,1)); transform-origin:bottom center; }
.binding-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; align-items:center; margin:12px 0; }
#hover-bindings { margin-top:20px; }
#practice-guide { position:fixed; top:calc(var(--hover-toolbar-height,44px) + 8px); left:50%; transform:translateX(-50%); width:min(560px,85vw); padding:8px 14px; color:white; background:#161616e8; border:1px solid #e88a27; z-index:10001; font:14px/1.4 Arial,sans-serif; }
#practice-guide p { margin:0 0 6px; }
.practice-options { display:flex; gap:14px; align-items:center; margin:12px 0; }
html:not(.modern-wide) .modern #dash-bottom { transform:scale(var(--preference-hud,1)); transform-origin:bottom center; }
html:not(.modern-wide) .modern #dash-top { transform:scale(var(--preference-hud,1)); transform-origin:top center; }
.controller-keyboard-grid { display:grid; grid-template-columns:repeat(8,1fr); gap:5px; margin-top:14px; }
#controller-keyboard output { display:block; overflow-wrap:anywhere; min-height:30px; }
#mp-quick { display:flex; align-items:center; gap:4px; flex-wrap:wrap; max-width:350px; }
#mp-quick select { width:auto; max-width:140px; margin:0; }
#mp-chat-log { font-size:12px; flex-basis:100%; }
#mp-comfort { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
#mp-players button { margin-left:10px; padding:3px 8px; }
.preference-fields label { display:grid; grid-template-columns:1fr 48px; gap:4px 8px; }
.preference-fields label > span { grid-column:1/-1; }
.preference-fields input { width:100%; }
.hover-dialog { background:radial-gradient(ellipse at top right,#32233d,#14111d); font-family:proxima-nova,Arial,sans-serif; }
#practice-guide button { color:#fbe1c1; background:#35223f; border:1px solid #b8894c; border-radius:5px; padding:7px 10px; }
