/* V29.1 multiplayer alpha. Uses the same compact black/glass card language as
 * the supplied TrackLife HUD reference. */
#game #multiplayerPanel291 { position:absolute; right:18px; top:76px; z-index:35; width:min(420px,calc(100vw - 36px)); max-height:calc(100vh - 96px); overflow:auto; display:none; pointer-events:auto; padding:0; border:1px solid rgba(201,217,226,.22); border-radius:6px; background:rgba(12,24,32,.96); box-shadow:0 14px 42px rgba(0,0,0,.36); backdrop-filter:blur(10px); color:#eef3f5; }
#game #multiplayerPanel291.open { display:block; }
#game .mp291Title { height:46px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 14px; border-bottom:1px solid rgba(210,225,233,.15); }
#game .mp291Title strong { font-size:13px; letter-spacing:.08em; }
#game .mp291Title span { font-size:9px; color:#91a4ad; letter-spacing:.12em; }
#game .mp291Title button { border:0; background:transparent; color:#dce6ea; padding:8px; font-size:10px; }
#game .mp291Body { padding:13px 14px 15px; }
#game .mp291Grid { display:grid; grid-template-columns:115px minmax(0,1fr); gap:8px 10px; align-items:center; }
#game .mp291Grid label { font-size:10px; color:#9fb0b8; }
#game .mp291Grid input { min-width:0; width:100%; box-sizing:border-box; padding:8px 9px; border:1px solid rgba(204,220,228,.18); border-radius:4px; outline:0; background:#101d25; color:#f2f5f7; font:inherit; font-size:11px; }
#game .mp291Grid input:focus { border-color:#67c956; }
#game .mp291Actions { display:grid; grid-template-columns:1fr 1fr 1fr; gap:7px; margin-top:11px; }
#game .mp291Actions button,#game .mp291ChatRow button { min-height:34px; border:1px solid rgba(204,220,228,.18); border-radius:4px; background:#172730; color:#eaf0f2; font-size:10px; font-weight:750; }
#game .mp291Actions button.primary { background:#65c952; color:#071307; border-color:#65c952; }
#game .mp291Actions button.warn { color:#ffd1d1; }
#game .mp291Status { margin-top:11px; padding:9px 10px; border-left:3px solid #879aa3; background:rgba(255,255,255,.035); font-size:10px; line-height:1.45; color:#c8d3d8; white-space:pre-line; }
#game .mp291Status[data-state="online"] { border-color:#65c952; }
#game .mp291Status[data-state="error"] { border-color:#e95656; color:#ffd2d2; }
#game .mp291Section { margin-top:13px; padding-top:11px; border-top:1px solid rgba(210,225,233,.13); font-size:10px; font-weight:800; letter-spacing:.08em; color:#dce6ea; }
#game #mpPlayers291 { margin-top:7px; display:grid; gap:4px; }
#game .mp291Player { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:7px 8px; border-radius:3px; background:rgba(255,255,255,.035); font-size:10px; }
#game .mp291Player span:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#game .mp291Player span:last-child { color:#91a4ad; font-variant-numeric:tabular-nums; }
#game .mp291Chat { max-height:120px; overflow:auto; margin-top:7px; padding:7px 8px; background:rgba(0,0,0,.16); font-size:10px; line-height:1.5; }
#game .mp291Chat p { margin:0 0 4px; }
#game .mp291Chat b { color:#8ee27d; }
#game .mp291ChatRow { display:grid; grid-template-columns:1fr 68px; gap:6px; margin-top:6px; }
#game .mp291ChatRow input { min-width:0; padding:8px; border:1px solid rgba(204,220,228,.18); border-radius:4px; background:#101d25; color:#f2f5f7; font-size:10px; }
#game #multiplayerBtn291[data-online="true"] { color:#79dc65!important; border-color:rgba(101,201,82,.55)!important; }
#game .mp291Label { position:absolute; z-index:1; pointer-events:none; transform:translate(-50%,-100%); padding:3px 6px; border-radius:3px; background:rgba(9,18,24,.82); border:1px solid rgba(230,240,244,.18); color:#fff; font:650 10px/1.2 Arial,sans-serif; white-space:nowrap; }
