@font-face { font-family: GameOpenSans; src: url('content/game/fonts/OpenSans/OpenSans-SemiBold.ttf'); font-weight: 600; }
#mp-panel, #mp-toolbar { font: 600 14px GameOpenSans, sans-serif; color: #ece9dc; }
#mp-panel { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: #080c16a8; }
#mp-panel[hidden], #mp-toolbar[hidden] { display: none; }
.mp-window { width: min(560px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow: auto; background: #11121d; border: 1px solid #9d895b; box-shadow: 0 12px 48px #0009; }
.mp-title { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #1b2a40 url('content/ui/interface/H/boxes/boxTitle.png') left top / 42px 42px no-repeat; border-bottom: 1px solid #887449; }
.mp-title h2 { margin: 0; color: #dfc58f; font: inherit; font-size: 20px; }
.mp-body { padding: 20px; display: grid; gap: 16px; }
.mp-body p { margin: 0; line-height: 1.6; color: #c4c7c9; }
.mp-body form { display: grid; gap: 14px; }
.mp-body label { display: grid; gap: 7px; }
.mp-body input, .mp-body select { box-sizing: border-box; width: 100%; padding: 10px 12px; background: #0e1726; color: #f0eadb; border: 1px solid #69717a; border-radius: 0; font: inherit; }
.mp-body input:focus-visible, .mp-body select:focus-visible, .mp-button:focus-visible { outline: 2px solid #e5c48a; outline-offset: 2px; }
.mp-button { min-height: 44px; padding: 8px 15px; border: 1px solid #76684d; border-radius: 0; color: #f0eadb; background: #253449 url('content/ui/interface/H/buttons/buttonGame.png') left top / 10px 10px no-repeat; cursor: pointer; font: inherit; transition: background-color .12s, border-color .12s; }
.mp-button:hover:not(:disabled) { background-image: url('content/ui/interface/H/buttons/buttonGameH.png'); background-color: #30445e; border-color: #bc9e66; color: #f0d59a; }
.mp-button:active:not(:disabled) { background-color: #182739; }
.mp-button:disabled { cursor: default; opacity: .45; }
.mp-close { width: 44px; height: 44px; background: transparent; border: 0; color: #e2d3b3; font-size: 24px; cursor: pointer; }
.mp-close:focus-visible { outline: 2px solid #e5c48a; }
.mp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mp-actions > * { flex: 1; }
.mp-code { font-size: 25px; color: #efd79d; font-variant-numeric: tabular-nums; user-select: all; }
.mp-players { padding: 0; margin: 0; list-style: none; display: grid; gap: 6px; }
.mp-players li { padding: 10px 12px; background: #0e1726b8; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-left: 2px solid #a28b56; }
.mp-player-country { font-size: 12px; color: #bdc6d3; }
.mp-player-status { font-size: 12px; color: #d3ba86; text-align: right; }
.mp-error { color: #efb2a2 !important; min-height: 20px; }
.mp-divider { border-top: 1px solid #546071; padding-top: 16px; }
#mp-toolbar { position: fixed; z-index: 22; left: 50%; transform: translateX(-50%); bottom: 12px; display: flex; gap: 8px; align-items: center; background: #101a2ae8; border: 1px solid #887449; padding: 6px 8px; }
#mp-toolbar span { padding: 0 5px; font-size: 12px; }
.mp-offer { padding: 12px; background: #0e1726b8; display: grid; gap: 10px; }
@media (max-width: 560px) { #mp-toolbar { box-sizing: border-box; width: calc(100vw - 24px); justify-content: space-between; } .mp-body { padding: 16px; } .mp-title { padding: 10px 16px; } }
@media (prefers-reduced-motion: reduce) { .mp-button { transition: none; } }
