/* Long Game phone multiplayer: lobby, players panel, chat and offer cards, in the game's own HUD style */
.mp-lobby{width:420px;--mp-pb:16px;padding-bottom:var(--mp-pb)}
.mp-lobby[hidden]{display:none}
.mp-kicker{font:700 11px/1 var(--f-body);letter-spacing:.16em;color:var(--gold);margin:8px 0 2px}
.mp-head{display:flex;align-items:flex-start;gap:10px}.mp-head h1{flex:1}
.mp-leave{min-height:36px;padding:4px 12px;font-size:13px}
.mp-lab{display:block;font-size:13px;color:var(--txt-2);margin:4px 0 6px}
.mp-in{width:100%;min-height:46px;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:var(--txt);font:600 16px var(--f-body);margin-bottom:12px;outline:none}
.mp-in:focus{border-color:var(--gold)}.mp-in.bad{border-color:var(--red)}
.mp-in[readonly]{background:rgba(5,9,13,.5);color:var(--lg-soft,#FFE3A0);cursor:default}.mp-in[readonly]:focus{border-color:var(--line)} /* signed in: the username, fixed */
.mp-acct{display:inline-block;flex:none;width:14px;height:14px;margin:0 2px 0 5px;vertical-align:-2px;fill:rgba(240,179,35,.18);stroke:#F0B323;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round} /* one-accounts: a signed-in player */
.mp-code{text-transform:uppercase;letter-spacing:.2em;margin:0;flex:1}
.mp-row{display:flex;gap:8px;align-items:stretch}.mp-row .btn{min-width:84px}
.mp-or{display:flex;align-items:center;gap:10px;color:var(--txt-3);font-size:12.5px;margin:14px 0 10px}.mp-or::before,.mp-or::after{content:"";flex:1;height:1px;background:var(--line)}
.mp-gap{margin-top:8px}
.mp-err{background:var(--red-wash);border:1px solid rgba(238,92,80,.5);color:#FFC7C1;border-radius:10px;padding:8px 12px;margin:0 0 12px;font-size:14px}
.mp-room{display:flex;align-items:center;gap:12px;margin:6px 0 4px}
.mp-codebig{font:700 34px/1 var(--f-display);letter-spacing:.14em;color:#FFE3A0;flex:1}
.mp-link{word-break:break-all;margin-bottom:12px}
.mp-h3{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--txt-2);margin:6px 0 8px}.mp-h3 .g{color:#FFE3A0;text-transform:none;letter-spacing:0}
.mp-lobby .mp-p{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:10px;background:var(--hud-2);margin-bottom:6px;min-height:44px;font-size:14px}
.mp-lobby .mp-p .chip{margin-left:2px}.mp-pc{margin-left:auto;color:var(--txt-2);font-size:13px;text-align:right}
.mp-dot{width:9px;height:9px;border-radius:50%;background:#5C6B76;flex:none;box-shadow:0 0 0 2px rgba(0,0,0,.3)}.mp-dot.on{background:var(--ok)}
.mp-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mp-list.tall{max-height:min(420px,60vh);overflow-y:auto;margin-bottom:12px;-webkit-overflow-scrolling:touch}
.mp-c{display:flex;align-items:center;gap:9px;min-height:56px;padding:8px 10px;border-radius:12px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);font:600 14px var(--f-body);text-align:left;cursor:pointer}
.mp-cn{flex:1;min-width:0}.mp-cn b{display:block;font-weight:700;line-height:1.15;overflow-wrap:anywhere}.mp-cn small{display:block;font-size:11.5px;color:var(--txt-2);font-weight:500;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-c .swatch{width:20px;height:14px;flex:none}
.mp-c.on{border-color:var(--gold);background:var(--gold-wash);color:#FFE3A0}.mp-c.on small{color:#FFE3A0}
.mp-c.taken,.mp-c[disabled]{opacity:.5;cursor:not-allowed;filter:grayscale(.8)}
.mp-sec{margin-top:14px}
.mp-regs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.mp-reg{min-height:56px;padding:8px 12px;border-radius:12px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);text-align:left;cursor:pointer}
.mp-reg b{display:block;font:600 14px/1.2 var(--f-display)}.mp-reg small{display:block;font-size:11.5px;color:var(--txt-2);margin-top:2px}
.mp-reg.on{border-color:var(--gold);background:var(--gold-wash);color:#FFE3A0}
.mp-rgh{margin:4px 0 6px;font:600 11px/1.3 var(--f-display);letter-spacing:.08em;text-transform:uppercase;color:var(--txt-2)}
.mp-map .mp-regs{margin-bottom:10px}
.mp-opts.co-real{grid-template-columns:repeat(5,1fr)}.mp-opts.co-real .mp-diff{font-size:12px;padding:4px 1px}
.mp-diffs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mp-diff{min-height:44px;border-radius:12px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);font:600 14px var(--f-body);cursor:pointer}
.mp-diff.on{border-color:var(--gold);background:var(--gold-wash);color:#FFE3A0}
.mp-note{color:var(--txt-2);font-size:14px;margin:8px 0 12px;line-height:1.4}.mp-single{margin:14px 0 0;font-size:13px}
.mp-codel{font:700 11px/1 var(--f-body);letter-spacing:.16em;color:var(--gold)}
.mp-foot{position:sticky;bottom:calc(-1 * var(--mp-pb));margin:14px -4px calc(-1 * var(--mp-pb));padding:12px 4px var(--mp-pb);background:linear-gradient(to bottom,transparent,var(--hud-solid) 12px)}
.mp-plist .mp-p{margin-bottom:4px}
.mp-wait{margin-top:6px;padding:12px;border-radius:10px;background:var(--hud-2);color:var(--txt-2);text-align:center}
.mp-lobby a{color:#FFE3A0}
/* the host's drop control: a real tap target, set apart from whatever the row itself does */
.mp-drop{flex:none;min-width:56px;min-height:44px;margin-left:8px;padding:4px 10px;border-radius:10px;border:1px solid rgba(238,92,80,.6);background:var(--red-wash);color:#FFC7C1;font:700 13px var(--f-body);cursor:pointer}
.mp-prow{display:flex;align-items:center}.mp-prow .mp-p{flex:1;min-width:0}
/* before a match the top bar has nothing to say: only the menu */
body.mp.starting #brand,body.mp.starting #clock,body.mp.starting #speed,body.mp.starting #spdCyc{visibility:hidden}
/* a guest's speed button asks to pause or resume */
#spdCyc.guest{width:auto;min-width:64px;padding:0 10px;font-size:12.5px}
/* in game */
.mp-hud{position:fixed;left:calc(var(--rail) + 12px);bottom:calc(var(--tabbar) + 58px);z-index:21;width:268px;display:flex;flex-direction:column-reverse;gap:6px;pointer-events:none}
body.starting .mp-hud,body.inbattle .mp-hud{display:none}
.mp-pbtn{pointer-events:auto;align-self:flex-start;display:flex;align-items:center;gap:8px;min-height:36px;padding:6px 12px;border-radius:18px;border:1px solid var(--line);background:var(--hud);color:var(--txt);font:700 13px var(--f-body);cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.mp-pbtn i{min-width:18px;height:18px;border-radius:9px;background:var(--red);color:#fff;font:700 11px/18px var(--f-body);font-style:normal;text-align:center;padding:0 5px}
.mp-panel{pointer-events:auto;background:var(--hud);border:1px solid var(--line);border-radius:14px;padding:8px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 10px 30px rgba(0,0,0,.4)}
.mp-panel[hidden]{display:none}
.mp-pl .mp-p{display:flex;align-items:center;gap:8px;width:100%;min-height:42px;padding:5px 6px;border-radius:9px;border:0;background:transparent;color:var(--txt);text-align:left;cursor:pointer}
.mp-pl .mp-p:hover{background:var(--hud-2)}
.mp-pl .swatch{width:18px;height:13px}
.mp-pn{flex:1;min-width:0;font-size:13.5px;line-height:1.2}.mp-pn small{display:block;color:var(--txt-2);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-pn em{font-style:normal;font-weight:700}.mp-pn em.war{color:var(--red)}.mp-pn em.ally{color:var(--ally)}
.mp-pn .chip{font-size:9px;padding:1px 4px}
.mp-ping{font-size:11px;color:var(--txt-3);white-space:nowrap}
.mp-chat{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}
.mp-log{max-height:120px;overflow-y:auto;font-size:13px;line-height:1.35;padding:0 4px}.mp-log p{margin:0 0 4px;word-wrap:break-word}
.mp-pre{display:flex;gap:5px;overflow-x:auto;padding:6px 0;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.mp-chip{flex:none;min-height:32px;padding:4px 10px;border-radius:16px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);font:600 12px var(--f-body);cursor:pointer}
.mp-send{display:flex;gap:6px}.mp-send input{flex:1;min-width:0;min-height:38px;padding:6px 10px;border-radius:9px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:var(--txt);font:600 14px var(--f-body);outline:none}
.mp-send .btn{min-height:38px;flex:none}
.mp-offers{position:fixed;left:calc(50% + var(--rail) / 2);transform:translateX(-50%);bottom:calc(var(--tabbar) + 150px);width:min(380px,calc(100vw - 24px));display:flex;flex-direction:column;gap:8px;z-index:41;pointer-events:none}
.mp-offer{pointer-events:auto;background:var(--hud-solid);border:1px solid rgba(246,196,83,.55);border-radius:16px;padding:14px 16px;box-shadow:0 16px 44px rgba(0,0,0,.55);animation:drop .25s ease}
.mp-offer small{font:700 10.5px var(--f-body);letter-spacing:.14em;color:var(--gold)}
.mp-offer h3{font:700 19px/1.15 var(--f-display);margin:4px 0 6px}
.mp-offer p{color:#C9D4DC;font-size:14px;margin:0 0 10px}
.mp-offer .acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mp-offer .acts .btn{width:100%}
.mp-tbar{height:4px;border-radius:2px;background:rgba(255,255,255,.1);margin-bottom:10px;overflow:hidden}.mp-tbar i{display:block;height:100%;background:var(--gold)}
.mp-net{position:fixed;left:50%;transform:translateX(-50%);top:calc(var(--top) + 8px);z-index:60;background:var(--red);color:#fff;font-weight:700;font-size:13.5px;padding:8px 16px;border-radius:18px;box-shadow:0 6px 18px rgba(0,0,0,.4)}
.mp-net[hidden]{display:none}
.mp-kv b{color:#FFE3A0}
@media (max-width:599px), (max-width:899px) and (max-height:519px){
  body.drawer-open .mp-hud,body:has(#card:not([hidden])) .mp-hud,body:has(#selbar:not([hidden])) .mp-hud{display:none} /* a city card, a tab or the selection bar fills the phone: the pill waits */
  .mp-hud{left:10px;top:calc(var(--top) + 8px);width:calc(100vw - 20px);max-width:360px}
  .mp-log{max-height:96px}
  .mp-offers{bottom:calc(var(--tabbar) + 16px)}
}
@media (max-width:599px), (max-width:640px) and (max-height:519px){
  .mp-lobby{left:0;right:0;top:auto;bottom:0;width:100%;max-height:68vh;border-radius:18px 18px 0 0;--mp-pb:calc(12px + env(safe-area-inset-bottom,0px));padding:14px 14px var(--mp-pb)}
  .mp-lobby h1{font-size:24px;margin-bottom:0}
  .mp-codebig{font-size:28px}
  .mp-sec{margin-top:10px}
}
.mp-comps{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mp-comp{min-height:44px;border-radius:12px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);font:600 14px var(--f-body);cursor:pointer}
.mp-comp.on{border-color:var(--gold);background:var(--gold-wash);color:#FFE3A0}
/* One Game: the room */
.mp-buy{margin:10px 0 2px;padding:10px 12px;border-radius:12px;background:var(--gold-wash);border:1px solid rgba(246,196,83,.45);color:var(--txt);font-size:14px}
.mp-buy b{font:700 22px var(--f-display);color:#FFE3A0;margin-right:2px}.mp-buy small{display:block;color:var(--txt-2);font-size:12.5px;margin-top:3px;line-height:1.35}
.mp-lobby .mp-p .swatch{width:16px;height:12px;flex:none}.mp-lobby .mp-pn{flex:1}
.mp-cols{display:flex;flex-wrap:wrap;gap:8px}
.mp-col{width:44px;height:44px;border-radius:50%;border:3px solid transparent;box-shadow:inset 0 0 0 1px rgba(0,0,0,.35);cursor:pointer}
.mp-col.on{border-color:#fff;box-shadow:0 0 0 2px var(--gold)}.mp-col[disabled]{opacity:.22;cursor:not-allowed}
.mp-opts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mp-opts.four{grid-template-columns:repeat(4,1fr)}.mp-opts.five{grid-template-columns:repeat(5,1fr)}.mp-opts.five .mp-diff{font-size:12.5px;padding:0 2px}
.mp-diff[disabled]{cursor:default;opacity:.7}
.mp-typed{margin:8px 0 0}
.mp-sur{width:100%;min-height:40px;margin-top:6px;border-color:rgba(238,92,80,.6);color:#FFC7C1;font-size:13px}
/* laptop: the room and the players sit at the side, the map takes the rest. Phone: a short sheet, so the map stays there to tap */
@media (min-width:900px), (min-width:600px) and (min-height:520px){
  .mp-hud{left:auto;right:12px;top:calc(var(--top) + 8px);bottom:auto;flex-direction:column;align-items:flex-end}
  .mp-hud .mp-panel{width:100%;max-height:calc(100vh - var(--top) - 80px);overflow-y:auto}
  .mp-pbtn{align-self:flex-end}
}
@media (max-width:599px), (max-width:640px) and (max-height:519px){body .mp-lobby{max-height:48vh}}
/* v13.7 (Aboud: "Move all the buttons on the right screen (inbox, hire, politics) to the left panel"): Inbox, Missions, Politics and Hire are side menu items
   under How to win, a thin line above them. A phone's tab bar has a More for them: a small sheet over the tabs at the right */
.mp-railx{display:contents}
.mp-railx>button:first-child{margin-top:7px}
.mp-railx>button:first-child::before{content:"";position:absolute;left:12px;right:12px;top:-6px;height:1px;background:var(--line)}
.rail .mp-railmore{display:none}
.rail .mp-grpct:not(:empty){position:absolute;top:4px;right:6px;margin:0;padding:0 4px;border-radius:7px;font-size:9.5px;line-height:15px;font-weight:700;background:var(--hud-solid);color:var(--gold);border:1px solid rgba(246,196,83,.45)}
body.starting .mp-railx,body.starting .mp-railmore,body.starting .mp-pay{display:none!important}
/* v13.7: a window shorter than the side menu scrolls it, so Hire never runs off the bottom (it did below about 560 px high) */
@media (min-width:900px), (min-width:600px) and (min-height:520px){.rail{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none}.rail::-webkit-scrollbar{display:none}.rail>button,.rail .mp-railx>button{flex:none}}
@media (max-width:599px), (max-width:899px) and (max-height:519px){
  .rail .mp-railmore{display:flex}
  .mp-railx{display:none;position:fixed;right:8px;bottom:calc(var(--tabbar) + 8px);z-index:30;flex-direction:column;gap:2px;width:min(220px,calc(100vw - 16px));padding:6px;border-radius:14px;background:var(--hud-solid);border:1px solid var(--line);box-shadow:0 14px 36px rgba(0,0,0,.55)}
  .rail.mp-more .mp-railx{display:flex}
  .rail .mp-railx>button{flex:none;flex-direction:row;justify-content:flex-start;gap:12px;min-height:48px;padding:0 14px;font-size:14px;letter-spacing:.01em;color:var(--txt)}
  .rail .mp-railx>button .ico{color:var(--gold)}
  .rail .mp-railx>button:first-child{margin-top:0}.rail .mp-railx>button:first-child::before{content:none}
  .rail .mp-railx .dot{position:static;margin-left:auto}
  .rail .mp-railx .mp-grpct:not(:empty){position:static;margin-left:auto}
}
/* v13.7: on the map, Army in view and Select only: a matching pair of round-cornered icon buttons on the right, above the mode switch. The name shows on hover */
body.mp .boxbtn.mp-mapb{right:14px;bottom:calc(var(--tabbar) + 146px);width:50px;height:50px;min-width:0;min-height:0;padding:0;gap:0;justify-content:center;border-radius:15px;font-size:0;transform:none;
  background:linear-gradient(180deg,#22303B,#121B23);color:var(--gold);border:1px solid rgba(255,255,255,.16);box-shadow:0 8px 20px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.07);transition:background .12s,border-color .12s,box-shadow .12s}
body.mp .armybtn.mp-mapb{bottom:calc(var(--tabbar) + 206px)}
body.mp .boxbtn.mp-mapb .ico{width:24px;height:24px;stroke-width:1.9}
body.mp .boxbtn.mp-mapb:hover{border-color:rgba(246,196,83,.55);background:linear-gradient(180deg,#2A3A46,#16212A)}
body.mp .boxbtn.mp-mapb:active{background:#0D151C;box-shadow:inset 0 3px 8px rgba(0,0,0,.6),0 2px 6px rgba(0,0,0,.35)}
body.mp .boxbtn.mp-mapb.on{background:linear-gradient(180deg,#F9D274,#E8AC2F);color:var(--gold-ink);border-color:#F9D57E;box-shadow:0 0 0 3px rgba(246,196,83,.28),0 8px 20px rgba(0,0,0,.45)}
body.mp .boxbtn.mp-mapb:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
body.mp .boxbtn.mp-mapb::after{content:attr(data-tip);position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);padding:5px 10px;border-radius:8px;background:var(--hud-solid);border:1px solid var(--line);color:var(--txt);font:600 12.5px/1.2 var(--f-body);white-space:nowrap;box-shadow:0 6px 16px rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .12s}
@media (hover:hover) and (pointer:fine){body.mp .boxbtn.mp-mapb:hover::after,body.mp .boxbtn.mp-mapb:focus-visible::after{opacity:1}}
@media (max-width:599px), (max-width:899px) and (max-height:519px){body.mp .boxbtn.mp-mapb{right:10px;bottom:calc(var(--tabbar) + 132px);width:48px;height:48px;border-radius:14px}body.mp .armybtn.mp-mapb{bottom:calc(var(--tabbar) + 188px)}}
.mp-picks{display:grid;gap:8px;margin:10px 0}
.mp-pick{display:block;width:100%;min-height:52px;padding:9px 12px;text-align:left;border-radius:12px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);font:inherit;cursor:pointer}
.mp-pick b{display:block;font:700 15px var(--f-body)}.mp-pick small{display:block;color:var(--txt-2);font-size:12.5px;margin-top:2px;line-height:1.3}
.mp-pick.on{border-color:var(--gold);background:var(--gold-wash)}.mp-pick[disabled]{cursor:default}.mp-pick[disabled]:not(.on){opacity:.55}
select.mp-in{width:100%;color-scheme:dark}
.mp-pay{position:fixed;left:50%;transform:translateX(-50%);top:calc(var(--top) + 250px);z-index:40;max-width:calc(100vw - 24px);padding:9px 16px;border-radius:20px;background:var(--hud-solid);border:1px solid rgba(246,196,83,.6);color:var(--txt);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 10px 28px rgba(0,0,0,.5);pointer-events:none}
.mp-pause{position:fixed;left:50%;transform:translateX(-50%);top:calc(var(--top) + 210px);z-index:40;max-width:calc(100vw - 24px);padding:7px 14px;border-radius:18px;background:var(--hud-solid);border:1px solid rgba(246,196,83,.6);color:var(--txt);font-size:13px;white-space:nowrap;pointer-events:none}.mp-pause[hidden]{display:none}
.qi .qx{position:absolute;top:0;right:0;width:24px;height:24px;padding:0;border:0;border-radius:0 8px 0 8px;background:rgba(0,0,0,.55);color:var(--txt);font:700 14px/24px var(--f-body);cursor:pointer}
.mp-pay b{font:700 18px var(--f-display);color:#FFE3A0;margin-right:4px}.mp-pay.lost{border-color:rgba(238,92,80,.6)}.mp-pay.lost b{color:#FFC7C1}.mp-pay[hidden]{display:none}
.obld-pw{margin:10px 0 6px;font-size:12.5px;color:var(--txt-2);line-height:1.35}.obld-pw.short{color:#FFC7C1}
.oblds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.obld{display:block;width:100%;min-height:52px;padding:7px 9px;text-align:left;border-radius:10px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);font:inherit;cursor:pointer}
.obld b{display:block;font:700 13.5px var(--f-body)}.obld small{display:block;color:var(--txt-2);font-size:11.5px;line-height:1.3;margin-top:1px}
.obld .why{color:#FFB0A8}.obld .okn{color:#9FE3AE}.obld.done{cursor:default;border-color:rgba(130,219,149,.4)}.obld[disabled]:not(.done){cursor:default;opacity:.8}
#card .bunit[disabled]{opacity:1;cursor:default}#card .bunit[disabled] img,#card .bunit[disabled] small:not(.why){opacity:.45}#card .bunit .why{white-space:normal;text-align:center;font-size:10.5px}
.selaboard{font-size:12.5px;color:#FFE3A0;white-space:nowrap}
/* v12 Iron Fist: the plan hint wraps; a general's actions sit in a row that wraps on a phone */
.selaboard.selhint{white-space:normal;max-width:300px;line-height:1.3}
.gens .gacts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.gens .gacts .btn{flex:1 1 auto;min-width:0;padding:6px 10px;font-size:13px}.gens .row.gen{align-items:flex-start}.gens .row .nm,.gens .row .sub{display:block}
@media (max-width:599px), (max-width:899px) and (max-height:519px){
}
/* the host's circle or own area: a clean full map under it, a small bar with the rule, the count and the way out. The two draw choices share a row of their own */
.mp-regc{border-style:dashed;border-color:rgba(246,196,83,.55)}#mpDraw{grid-column:1}.mp-regc.on{border-style:solid}.mp-reg[disabled]{cursor:default}
.mp-circle{position:fixed;left:var(--rail);top:var(--top);right:0;bottom:var(--tabbar);width:calc(100% - var(--rail));height:calc(100% - var(--top) - var(--tabbar));z-index:30;cursor:crosshair;touch-action:none}
.mp-circle.moving{pointer-events:none}
.mp-drawbar{position:fixed;left:16px;bottom:16px;z-index:36;width:min(360px,calc(100vw - 24px));padding:12px 14px;border-radius:16px;background:var(--hud-solid);border:1px solid rgba(246,196,83,.5);box-shadow:0 14px 40px rgba(0,0,0,.6);color:var(--txt)}
.mp-drawk{display:block;font:700 10.5px/1 var(--f-body);letter-spacing:.16em;color:var(--gold)}
.mp-drawn{margin-top:6px;font-size:14px;color:var(--txt-2)}.mp-drawn b{font:700 26px/1 var(--f-display);color:#FFE3A0;margin-right:2px;font-variant-numeric:tabular-nums}
.mp-drawr{margin:4px 0 0;font-size:13px;line-height:1.35;color:var(--txt)}
.mp-drawl{margin:3px 0 0;min-height:17px;font-size:12.5px;line-height:1.35;color:var(--txt-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mp-drawl.bad{color:#FFC7C1}
.mp-drawm{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:10px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.mp-drawm button{min-height:44px;border:0;background:transparent;color:var(--txt-2);font:600 14px var(--f-body);cursor:pointer}.mp-drawm button.on{background:var(--gold-wash);color:#FFE3A0}
.mp-drawa{display:grid;grid-template-columns:auto 1fr;gap:8px;margin-top:8px}.mp-drawa .btn{min-height:44px}.mp-drawa .btn[disabled]{opacity:.45;cursor:default}
@media (max-width:599px), (max-width:640px) and (max-height:519px){
  .mp-drawbar{left:50%;transform:translateX(-50%);bottom:calc(10px + env(safe-area-inset-bottom,0px));padding:10px 12px}
  .mp-drawr{font-size:12.5px}
}
/* the lobby: the rooms and the chat side by side over the map; on a phone one tab at a time */
body .mp-lobby.mp-hall{display:flex;flex-direction:column;left:50%;right:auto;top:calc(var(--top) + 8px);bottom:auto;transform:translateX(-50%);width:min(1000px,calc(100vw - 32px));height:min(680px,calc(100vh - var(--top) - 24px));height:min(680px,calc(100dvh - var(--top) - 24px));max-height:none;padding:18px 20px;overflow:hidden}
.mp-hhead{display:flex;align-items:center;gap:14px;flex:none}.mp-hhead h1{font-size:30px;margin:0;white-space:nowrap}
.mp-hlive{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:30px;padding:3px 12px 3px 10px;border-radius:15px;background:var(--hud-2);border:1px solid var(--line);color:var(--txt-2);font-size:13px;white-space:nowrap}
.mp-hlive b{color:var(--txt);font-variant-numeric:tabular-nums}
.mp-hlive i{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 0 rgba(130,219,149,.6);animation:mpBeat 2.4s ease-out infinite}
@keyframes mpBeat{70%{box-shadow:0 0 0 7px rgba(130,219,149,0)}100%{box-shadow:0 0 0 0 rgba(130,219,149,0)}}
@media (prefers-reduced-motion:reduce){.mp-hlive i{animation:none}}
.mp-hme{display:flex;align-items:center;gap:10px;margin-left:auto;min-width:0}.mp-hme .mp-lab{margin:0;white-space:nowrap}.mp-hme .mp-in{width:220px;min-height:40px;padding:6px 12px;margin:0}
.mp-hall .mp-err{flex:none;margin:12px 0 0}
.mp-hbody{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;margin-top:14px}
.mp-hrooms,.mp-hchat{display:flex;flex-direction:column;min-height:0;min-width:0}
.mp-hchat{border-left:1px solid var(--line);padding-left:20px}
.mp-hh{flex:none;margin:0 0 10px}
.mp-htabs{display:none}
.mp-rlist{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:6px;padding-right:2px}
.mp-rr{flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto 72px;align-items:center;gap:12px;min-height:60px;padding:8px 10px 8px 14px;border-radius:12px;background:var(--hud-2);border:1px solid transparent}
.mp-rr.wait{border-color:var(--line)}.mp-rr.wait:hover{border-color:rgba(246,196,83,.5)}
.mp-rm{min-width:0}.mp-rt{display:flex;align-items:center;gap:8px;min-width:0}
.mp-rh{min-width:0;font:600 15.5px/1.25 var(--f-display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-rs{flex:none;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:2px 6px;border-radius:5px;background:var(--hud-3);color:var(--txt-2)}
.mp-rr.wait .mp-rs{background:var(--gold-wash);color:#FFE3A0}.mp-rr.play .mp-rs{background:var(--red-wash);color:#FFC7C1}
.mp-rd{display:block;margin-top:3px;font-size:12.5px;line-height:1.35;color:var(--txt-2);overflow-wrap:anywhere}
.mp-rn{grid-column:2;color:var(--txt-2);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.mp-rn b{font:700 20px/1 var(--f-display);color:var(--txt)}
.mp-rj{grid-column:3;min-height:44px;width:100%;padding:6px 8px}
.mp-rr.play,.mp-rr.full{background:rgba(255,255,255,.03)}.mp-rr.play .mp-rh,.mp-rr.full .mp-rh,.mp-rr.play .mp-rn b,.mp-rr.full .mp-rn b{color:var(--txt-2)}
.mp-hback{flex:none;margin:8px 0 0}.mp-hback[hidden]{display:none}
.mp-hwait{margin:0;padding:20px 12px;text-align:center;color:var(--txt-2);font-size:14px}
.mp-hempty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:200px;padding:20px;text-align:center;border:1px dashed rgba(246,196,83,.4);border-radius:14px}
.mp-hempty b{font:600 20px/1.2 var(--f-display)}.mp-hempty p{margin:0;max-width:320px;color:var(--txt-2);font-size:14px;line-height:1.4}
.mp-hglobe{position:relative;display:block;width:46px;height:46px;margin-bottom:8px;border-radius:50%;border:2px solid var(--gold);box-shadow:0 0 18px rgba(246,196,83,.25)}
.mp-hglobe::before{content:"";position:absolute;inset:-2px 11px;border:2px solid rgba(246,196,83,.6);border-radius:50%}
.mp-hglobe::after{content:"";position:absolute;left:0;right:0;top:50%;margin-top:-1px;height:2px;background:rgba(246,196,83,.6)}
.mp-hact{flex:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:12px}.mp-hact .btn{min-height:46px}.mp-hact .mp-code{min-width:0;width:100%}.mp-hact .mp-row .btn{min-width:68px}
.mp-hlog{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding-right:4px}
.mp-hmsg{position:relative;margin:0 0 2px;padding:5px 6px;border-radius:8px;font-size:14px;line-height:1.35;overflow:hidden;overflow-wrap:anywhere}.mp-hmsg:hover{background:var(--hud-2)}
.mp-hmsg b{margin-right:6px;color:#FFE3A0}
.mp-htail{float:right;display:inline-flex;align-items:center;gap:6px;margin-left:8px;font-size:11px;color:var(--txt-3);line-height:19px}
.mp-hmute{min-height:24px;padding:0 6px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--txt-3);font:600 11px var(--f-body);cursor:pointer}
.mp-hmute:hover{color:#FFC7C1;border-color:rgba(238,92,80,.5)}
.mp-hhello{height:100%;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:16px;text-align:center}.mp-hhello b{font:600 16px var(--f-display)}.mp-hhello span{color:var(--txt-2);font-size:13px;line-height:1.4;max-width:280px}
.mp-hmuted{flex:none;display:flex;flex-wrap:wrap;gap:6px;max-height:64px;overflow-y:auto;margin-top:8px}.mp-hmuted[hidden]{display:none}
.mp-hun{max-width:100%;min-height:28px;padding:2px 10px;border-radius:14px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt-2);font:600 12px var(--f-body);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-hnote{flex:none;margin:8px 0 0;padding:7px 10px;border-radius:9px;background:var(--gold-wash);color:#FFE3A0;font-size:13px;line-height:1.35}.mp-hnote[hidden]{display:none}
.mp-hsend{flex:none;margin-top:10px}.mp-hsend input{min-height:44px;font-size:16px}.mp-hsend .btn{min-height:44px}
.mp-sw{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:8px 12px;border-radius:12px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);font:inherit;text-align:left;cursor:pointer}
.mp-sw b{display:block;font:600 14px/1.2 var(--f-display)}.mp-sw small{display:block;margin-top:2px;color:var(--txt-2);font-size:12px;line-height:1.3}
.mp-sw i{position:relative;flex:none;width:44px;height:26px;border-radius:13px;background:var(--hud-3);transition:background .15s}.mp-sw i::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:var(--txt-2);transition:transform .15s,background .15s}
.mp-sw.on{border-color:rgba(246,196,83,.55);background:var(--gold-wash)}.mp-sw.on i{background:rgba(246,196,83,.45)}.mp-sw.on i::after{transform:translateX(18px);background:var(--gold)}
@media (max-width:1099px){ /* a phone, and (v12.3) a tablet: one tab at a time; the tablet's window is below */
  body .mp-lobby.mp-hall{left:0;right:0;top:var(--top);bottom:0;transform:none;width:100%;height:auto;border-radius:18px 18px 0 0;border-width:1px 0 0;padding:12px 14px calc(10px + env(safe-area-inset-bottom,0px));overflow-y:auto}
  .mp-hhead{flex-wrap:wrap;gap:8px 10px;justify-content:space-between}.mp-hall .mp-hhead h1{font-size:24px}
  .mp-hme{flex:1 0 100%;margin:0}.mp-hme .mp-in{flex:1;width:auto;min-width:0;font-size:16px}
  .mp-hh{display:none}
  .mp-htabs{flex:none;display:grid;grid-template-columns:1fr 1fr;margin-top:10px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
  .mp-htabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:0;background:transparent;color:var(--txt-2);font:600 14px var(--f-body);cursor:pointer}
  .mp-htabs button.on{background:var(--gold-wash);color:#FFE3A0}.mp-htabs small{font-size:12px;opacity:.8}
  .mp-htabs i{min-width:18px;height:18px;border-radius:9px;background:var(--red);color:#fff;font:700 11px/18px var(--f-body);font-style:normal;text-align:center;padding:0 5px}.mp-htabs i[hidden]{display:none}
  .mp-hbody{display:block;flex:1 1 240px;min-height:240px;margin-top:10px}
  .mp-hrooms,.mp-hchat{height:100%}.mp-hchat{border:0;padding:0}
  .mp-hall[data-tab="rooms"] .mp-hchat,.mp-hall[data-tab="chat"] .mp-hrooms{display:none}
  .mp-hact{grid-template-columns:1fr;gap:8px;margin-top:10px}
  .mp-hmute{min-height:32px;padding:0 8px;color:var(--txt-2)}.mp-hun{min-height:36px}
  .mp-rr{grid-template-columns:minmax(0,1fr) auto 64px;gap:8px;padding:8px 8px 8px 12px}
}
/* sixth round: match types, how long a day is, Ready, joining after the start */
.mp-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mp-mode{display:block;width:100%;min-height:58px;padding:7px 4px;text-align:center;border-radius:12px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);font:inherit;cursor:pointer}
.mp-mode b{display:block;font:600 15px/1.2 var(--f-display)}.mp-mode small{display:block;color:var(--txt-2);font-size:11px;margin-top:1px;line-height:1.25}
.mp-mode.on{border-color:var(--gold);background:var(--gold-wash)}.mp-mode.on .mp-mset{color:#FFE3A0}
.mp-msay{margin:6px 0 0;font-size:12.5px;line-height:1.35;color:var(--txt-2)}
.mp-hint{float:right;font:500 12px var(--f-body);letter-spacing:0;text-transform:none;color:#FFE3A0}
.mp-hint8{display:block;margin-top:2px;font:500 11.5px var(--f-body);letter-spacing:0;text-transform:none;color:var(--txt-2)}
.mp-tmk{margin:-2px 0 6px;font-size:11.5px;color:var(--txt-2)}
.mp-opts.mp-tm .mp-diff{min-height:48px;line-height:1.15;padding:4px 2px}.mp-opts.mp-tm .mp-diff small{display:block;margin-top:2px;font:500 10.5px var(--f-body);color:var(--txt-2)}.mp-opts.mp-tm .mp-diff.on small{color:#FFE3A0}
.mp-tline{margin:8px 0 0;font-size:12.5px;color:var(--txt-2);line-height:1.35}
.mp-note.mp-type b{color:#FFE3A0}
.chip.ok{background:rgba(44,196,118,.18);color:#8DF0BC}
.mp-rdy{margin:0 0 8px;text-align:center;font:600 14px var(--f-body);color:var(--txt-2)}.mp-rdy.all{color:#8DF0BC}
#mpReady.mp-isrdy{border-color:rgba(44,196,118,.6);background:rgba(44,196,118,.16);color:#BDF7D6}
.mp-waits{margin-top:8px;padding:8px;font-size:13px}
.mp-late{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:var(--hud-2);border:1px solid var(--line)}
.mp-late small{display:block;font-size:10.5px;letter-spacing:.12em;color:var(--txt-2)}.mp-late b{display:block;font:700 20px var(--f-display);color:var(--txt);margin-top:2px}.mp-late p{margin:3px 0 0;font-size:12.5px;color:var(--txt-2)}
.mp-rrd{display:block;margin-top:2px;font-size:12px;font-weight:600;color:var(--txt-2)}.mp-rrd.all{color:#8DF0BC}
.mp-rr.late{border-color:rgba(242,85,63,.45)}.mp-rr.late .mp-rs{background:var(--red-wash);color:#FFC7C1}
#clock .dlen{display:block;font-size:10px;line-height:1.1;color:var(--txt-2);white-space:nowrap;text-align:right}
body.mp #clock{flex-direction:column;align-items:flex-end;gap:0}
/* seventh round: practice alone */
.mp-prac{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:100%;min-height:56px;padding:8px 12px;text-align:center;border-color:rgba(44,196,118,.5);background:rgba(44,196,118,.1)}
.mp-prac b{display:block;font:600 15px/1.2 var(--f-display);color:#BDF7D6}.mp-prac small{display:block;margin-top:2px;font:500 12px/1.3 var(--f-body);color:var(--txt-2);white-space:normal}
.mp-hact .mp-prac{grid-column:1/-1}
.mp-pracbox{border-color:rgba(44,196,118,.45)}
/* ninth round: the Build tab, one panel per country (ui.js drCitiesOne) */
.oc-auto{padding-bottom:4px}.oc-sw.on{border-color:rgba(130,219,149,.55);background:rgba(44,196,118,.12)}
.oc h3{margin-bottom:6px}.oc-wide{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:4px}.oc-rule{margin:4px 0 8px;line-height:1.35}
.oc-h{margin:8px 0 6px;font:700 11px var(--f-body);letter-spacing:.1em;color:var(--txt-2)}
.oc-every{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}
.oc-b{position:relative;min-height:52px;padding-left:9px}.oc-b img{float:right;width:30px;height:30px;object-fit:contain;margin:-2px -3px 0 4px}
.oc-list{margin-top:10px;display:flex;flex-direction:column;gap:6px}
.oc-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--hud-2)}
.oc-nm{flex:1 1 150px;min-width:0;min-height:44px;text-align:left;background:none;border:0;color:var(--txt);font:inherit;cursor:pointer;padding:2px 4px}
.oc-nm .nm{display:block;font:700 13.5px var(--f-body);overflow-wrap:anywhere}.oc-nm small{display:block;color:var(--txt-2);font-size:11.5px;line-height:1.3}
.oc-q{display:flex;flex-wrap:wrap;gap:4px}
.oc-qb{width:46px;min-height:44px;padding:2px;border-radius:8px;border:1px solid var(--line);background:var(--hud-3);color:var(--txt);font:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center}
.oc-qb img{width:26px;height:22px;object-fit:contain}.oc-qb small{font-size:10.5px;color:var(--txt-2)}
/* ninth round: reconnecting, watching, treaties */
.mp-net{max-width:calc(100vw - 24px);text-align:center}
.mp-watchbar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom, 0px) + 14px);z-index:45;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 24px);padding:6px 6px 6px 16px;border-radius:24px;background:var(--hud-solid);border:1px solid rgba(246,196,83,.55);box-shadow:0 10px 28px rgba(0,0,0,.5);color:var(--txt);font-size:13.5px}
.mp-watchbar[hidden]{display:none}
.mp-wtxt{display:flex;flex-direction:column;min-width:0;line-height:1.25}.mp-wtxt b{color:var(--gold);letter-spacing:.06em;font:700 12px var(--f-display)}.mp-wtxt span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--txt-2);font-size:13px}
.mp-watchbar .btn{flex:none;min-height:40px;padding:6px 16px;border-radius:20px}
body.mp-watch #stats,body.mp-watch #speed,body.mp-watch #spdCyc,body.mp-watch #mySw,body.mp-watch #rail,body.mp-watch #selbar,body.mp-watch #card,body.mp-watch #dcards,body.mp-watch #armyBtn,body.mp-watch #boxBtn,body.mp-watch #mpSur,body.mp-watch .mp-chat,body.mp-watch #mpOffers,body.mp-watch #coach{display:none !important}
.mp-dipnote{grid-column:1/-1;margin:2px 0 0;line-height:1.4}.mp-dipnote.warn{color:#FFD27A;font-weight:600}
/* v12 Politics: three levels a row, short lines */
.mp-dipnote.ok{color:#7FE0B8;font-weight:600}
.mp-lawh{margin:12px 0 2px;font:700 13px var(--f-body);letter-spacing:.06em;text-transform:uppercase;color:var(--txt-2)}
.mp-lawl{margin:0 0 4px;line-height:1.35}.mp-lawl b{color:#FFD27A;font-weight:600}
.mp-picks.mp-laws{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:6px 0}
.mp-laws .mp-pick{min-height:0;padding:7px 8px;border-radius:10px}.mp-laws .mp-pick b{font-size:13px}.mp-laws .mp-pick small{font-size:11.5px}

/* v9: the first-game guide: an offer once, a How to play button under Practice, a coach box and a ring around the real control */
.mp-guideb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:100%;min-height:52px;padding:8px 12px;text-align:center}
.mp-guideb b{display:block;font:600 15px/1.2 var(--f-display);color:#FFE3A0}.mp-guideb small{display:block;margin-top:2px;font:500 12px/1.3 var(--f-body);color:var(--txt-2)}
.mp-hact .mp-guideb{grid-column:1/-1;margin-top:0}
.mp-gofr{border:1.5px solid var(--gold);background:var(--gold-wash);border-radius:12px;padding:10px 12px;margin:12px 0}
.mp-gofr p{margin:0 0 8px;font-size:14px;line-height:1.35}.mp-gofr b{color:#FFE3A0}.mp-gofr .btn{flex:1;min-height:44px}
.mp-coach{position:fixed;left:calc(50% + var(--rail, 0px) / 2);transform:translateX(-50%);z-index:38;display:flex;align-items:center;gap:12px;padding:8px 8px 8px 14px;border-radius:14px;background:linear-gradient(180deg,#22303B,#16212A);border:1.5px solid var(--gold);box-shadow:0 10px 30px rgba(0,0,0,.5);width:max-content;max-width:min(540px,calc(100vw - 16px))}
.mp-coach.mp-ctop{top:calc(var(--top, 56px) + 10px)}.mp-coach.mp-cbot{bottom:calc(var(--tabbar, 0px) + 18px + env(safe-area-inset-bottom, 0px))}
.mp-coach p{margin:0;font-weight:600;font-size:14.5px;line-height:1.3}
.mp-cstep{font:700 12px/1 var(--f-display);color:var(--gold);letter-spacing:.08em;white-space:nowrap}
.mp-coach .btn{min-height:40px;padding:4px 12px;font-size:13px;flex:none}
.mp-ring{position:fixed;z-index:39;pointer-events:none;border:2px solid var(--gold);border-radius:12px;box-shadow:0 0 0 4px rgba(246,196,83,.22);animation:mpRing 1.3s ease-in-out infinite}
@keyframes mpRing{50%{box-shadow:0 0 0 9px rgba(246,196,83,.06)}}
@media (min-width:900px), (min-width:600px) and (min-height:520px){.mp-coach.starting{left:calc(452px + (100vw - 452px) / 2)}}
@media (max-width:599px), (max-width:640px) and (max-height:519px){.mp-coach{left:8px;right:8px;transform:none;max-width:none;width:auto}.mp-coach.starting.mp-ctop{top:10px}}
@media (prefers-reduced-motion:reduce){.mp-ring{animation:none}}

/* v9: the border replay, on the end card and on its share link */
.mp-rp{margin:12px 0 6px}.mp-rp[hidden]{display:none}
.mp-rphead{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;color:var(--txt-2);margin-bottom:6px}.mp-rphead b{color:var(--txt);font-weight:700;font-size:14px}
#mpRpCv{display:block;width:100%;border-radius:10px;border:1px solid var(--line);background:#0B1824}
.mp-rpbar{display:flex;align-items:center;gap:10px;margin-top:8px}
.mp-rpgo{min-width:44px;min-height:44px;padding:0;display:grid;place-items:center}
.mp-rpbar input[type=range]{flex:1;min-width:0;height:44px;accent-color:var(--gold);margin:0}
.mp-rpkey{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12.5px;color:var(--txt-2);margin:4px 0 10px}
.mp-rpk i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}.mp-rpk b{color:var(--txt);font-weight:700}.mp-rpk.win b{color:#FFE3A0}
.mp-rpshare .btn{min-height:44px}.mp-rplink{margin:8px 0 0;font-size:13px;min-height:40px}.mp-rplink[hidden]{display:none}
@media (max-width:599px), (max-width:640px) and (max-height:519px){body .mp-lobby.mp-rppage{max-height:88vh}}
.mp-gofr.mp-gfloat{position:fixed;z-index:38;top:12px;left:calc(452px + (100vw - 452px) / 2);transform:translateX(-50%);width:min(420px,calc(100vw - 470px));margin:0;background:linear-gradient(180deg,#22303B,#16212A);box-shadow:0 10px 30px rgba(0,0,0,.5)}
@media (max-width:599px), (max-width:899px) and (max-height:519px){.mp-gofr.mp-gfloat{left:8px;right:8px;transform:none;width:auto;top:calc(64px + env(safe-area-inset-top, 0px))}}
.mp-hrooms .mp-gofr{margin:0 0 10px}

/* v10: the lobby's screens in the site's look (mp/client/site.css): sentence-case headings, one gold accent, a solid card */
.mp-lobby{background:linear-gradient(180deg,rgba(15,24,33,.96),rgba(9,14,20,.96));border-color:rgba(255,227,160,.16);box-shadow:0 24px 70px rgba(0,0,0,.5)}
.mp-title{margin:0;font:700 30px/1.1 var(--f-display);letter-spacing:0;color:#F2F5F8}
.mp-head{align-items:center}.mp-head .mp-title{font-size:26px}
.mp-lede{margin:8px 0 18px;font-size:15px}
.mp-codein{color:#FFE3A0;letter-spacing:.12em;font-family:var(--f-display)}
.mp-h3{text-transform:none;letter-spacing:0;font:600 15px/1.25 var(--f-display);color:var(--txt);margin:6px 0 10px}
.mp-codew{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.mp-codel{font:600 13px/1 var(--f-body);letter-spacing:0;color:var(--txt-2)}
.mp-room{padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid var(--line);margin-top:12px}
.mp-kicker{letter-spacing:0;font:600 13.5px/1.2 var(--f-body)}
.mp-late small.mp-kicker{color:#FFE3A0;letter-spacing:0;font-size:13px}
.mp-prac{border-color:var(--line);background:var(--hud-2)}.mp-prac b{color:var(--txt)}
.mp-prac.pri{border-color:#F9D57E;background:linear-gradient(180deg,#F9D274,#E8AC2F)}.mp-prac.pri b{color:var(--gold-ink)}.mp-prac.pri small{color:rgba(42,30,5,.8)}
.mp-pracbox{border-color:var(--line)}
.chip{letter-spacing:0;font-size:11.5px;padding:2px 7px}
.mp-sec{margin-top:16px}
.mp-buy{border-radius:14px}
/* the lobby: a calm header, the list first */
.mp-hhead{gap:12px}.mp-hall .mp-hhead .mp-title{font-size:28px}
.mp-hall2{flex:none;min-height:44px;display:inline-flex;align-items:center;padding:0 6px;color:#FFE3A0;font-size:14px;font-weight:600}.mp-hall2[hidden]{display:none}
.mp-hlive{background:rgba(255,255,255,.04)}
.mp-hchat{border-left-color:rgba(255,255,255,.08)}
.mp-hh{font-size:16px}
.mp-rr{min-height:68px;padding:10px 12px 10px 16px;border-radius:14px;background:rgba(255,255,255,.04)}
.mp-rr.wait{border-color:rgba(255,255,255,.1)}.mp-rr.wait:hover{border-color:rgba(255,227,160,.45)}
.mp-rh{font-size:16.5px}
.mp-rs{text-transform:none;letter-spacing:0;font-size:12px;font-weight:600;padding:2px 8px;border-radius:10px}
.mp-rr.play .mp-rs,.mp-rr.late .mp-rs{background:rgba(255,255,255,.08);color:var(--txt-2)}.mp-rr.late{border-color:rgba(255,227,160,.3)}
.mp-rtags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.mp-rtag{padding:1px 8px;border-radius:9px;background:rgba(255,255,255,.06);color:#C3CED8;font-size:12px;line-height:18px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mp-rd{margin-top:5px}
.mp-hempty{border-color:rgba(255,227,160,.28)}
.mp-hoff{margin:0 0 8px;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.05);color:var(--txt-2);font-size:13px;line-height:1.35}
.mp-hact .mp-prac{min-height:52px}
/* v11: the notices (cities taken and lost, war and peace, supply, a pause, a payment, the connection) in one small column at the top left, under the top bar
   and clear of the Build/Army menu and the money box: one line each, newest on top, four at most, each fades by itself; a tap dismisses it, one about a city shows it */
.lg-notes{position:fixed;left:calc(var(--rail) + 12px);top:calc(var(--top) + 10px);z-index:27;display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:min(300px,calc(100vw - var(--rail) - 24px));pointer-events:none}
body:has(.coach.has) .lg-notes{top:calc(var(--top) + 84px)}
/* v12.4: the column never grows toward the middle of the map: three notices at most (ui.js), and past a quarter of the screen the oldest fold away under the edge */
.lg-notes{max-height:min(190px,24vh);overflow:hidden}
@media (max-width:599px){.lg-notes{width:min(250px,calc(100vw - 120px));max-height:min(150px,20vh)} #lgNotes .toast,#lgNotes .mp-net,#lgNotes .mp-pause,#lgNotes .mp-pay{font-size:12px;padding:4px 9px 4px 8px}}
#lgNotes .toasts{position:static;transform:none;left:auto;top:auto;width:100%;align-items:flex-start;gap:5px;z-index:auto}
#lgNotes .toast,#lgNotes .mp-net,#lgNotes .mp-pause,#lgNotes .mp-pay{position:static;transform:none;left:auto;top:auto;display:block;max-width:100%;min-height:0;padding:5px 10px 5px 9px;border-radius:9px;border:1px solid var(--line);border-left:3px solid var(--gold);background:rgba(11,18,25,.92);color:var(--txt);font:600 12.5px/1.3 var(--f-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 4px 12px rgba(0,0,0,.35);pointer-events:auto;cursor:pointer}
#lgNotes .toast{animation:ntIn .2s ease,ntOut .5s ease 4.5s forwards;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2} /* one line; a long tip takes a second rather than losing its end */
#lgNotes .toast.act{animation:ntIn .2s ease,ntOut .5s ease 8.5s forwards}
#lgNotes .toast.war,#lgNotes .toast.lost,#lgNotes .mp-net,#lgNotes .mp-pay.lost{color:#FFC2BB}
#lgNotes .toast.peace,#lgNotes .toast.obj{color:#C9F5D3}
#lgNotes .mp-pause,#lgNotes .mp-net{cursor:default}
#lgNotes .mp-pay b{font:700 12.5px var(--f-body);color:#FFE3A0;margin-right:3px}
#lgNotes [hidden]{display:none}
@keyframes ntIn{from{transform:translateX(-8px);opacity:0}}
@keyframes ntOut{to{opacity:0}}
@media (min-width:900px), (min-width:600px) and (min-height:520px){ body.drawer-open .lg-notes{left:calc(var(--rail) + 384px)} }
body:not(.mp-live) .lg-notes{left:50%;transform:translateX(-50%);align-items:center} body:not(.mp-live) #lgNotes .toasts{align-items:center} body.lg-site .lg-notes{z-index:46} /* the site's own messages, after a match: where they were */
/* v11: the room in steps. Step 1 is the invite and who is here (the host's settings below it), step 2 the map and your money */
.mp-steps{display:flex;gap:6px;list-style:none;margin:6px 0 2px;padding:0;counter-reset:mpst}
.mp-steps li{counter-increment:mpst;display:flex;align-items:center;gap:6px;font:600 12.5px var(--f-body);color:var(--txt-3)}
.mp-steps li::before{content:counter(mpst);display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1px solid var(--line);font:700 11px var(--f-body);color:var(--txt-2)}
.mp-steps li+li::after{content:none}.mp-steps li:not(:last-child){padding-right:6px;border-right:1px solid var(--line)}
.mp-steps li.on{color:#FFE3A0}.mp-steps li.on::before{background:var(--gold);border-color:var(--gold);color:#13171C}
.mp-steps li.done{color:var(--txt-2)}.mp-steps li.done::before{border-color:rgba(246,196,83,.55);color:#FFE3A0}
.mp-invite{margin:10px 0 0;padding:12px 14px 2px;border-radius:14px;background:var(--gold-wash);border:1px solid rgba(246,196,83,.45)}
.mp-invite .mp-room{margin:0;padding:0;background:none;border:0}.mp-invite .mp-codebig{font-size:40px}.mp-invite .mp-note{margin:8px 0 10px;font-size:13px}
.mp-invite #mpCopy{min-height:48px;padding:0 18px}
.mp-roomsm{margin:12px 0 0;padding:8px 12px}.mp-codesm{font:700 20px/1 var(--f-display);letter-spacing:.14em;color:#FFE3A0}
.mp-roomsm #mpCopy{min-height:40px;font-size:13px}
.mp-rchat{border-radius:12px;background:var(--hud-2);padding:8px}.mp-rlog{max-height:132px;min-height:40px;margin-bottom:6px}
.mp-ro .kv:last-of-type{border-bottom:0}.mp-ro .mp-type{margin:0 0 4px;font-size:14px;color:var(--txt)}.mp-ro .mp-type b{color:#FFE3A0}.mp-ro .mp-note{margin:8px 0 0;font-size:13px}
.mp-back{background:transparent}
.mp-step1 .mp-foot .mp-waits,.mp-step2 .mp-foot .mp-waits{margin-top:8px;padding:8px 10px;font-size:13px}
@media (max-width:599px), (max-width:640px) and (max-height:519px){
  body .mp-lobby.mp-step1{max-height:86vh}
  .mp-invite .mp-codebig{font-size:34px}
  .mp-steps li{font-size:12px}
}
/* v11: the match's players panel ends above Army in view and Select, whatever the window's height; it scrolls inside */
@media (min-width:900px), (min-width:600px) and (min-height:520px){.mp-hud .mp-panel{max-height:max(160px,calc(100vh - var(--top) - var(--tabbar) - 410px))}}
/* the phone: the open panel is the player's choice and fills the left; Army in view and Select step aside until it closes */
@media (max-width:599px), (max-width:899px) and (max-height:519px){body:has(#mpPanel:not([hidden])) #armyBtn,body:has(#mpPanel:not([hidden])) #boxBtn{display:none}}
/* v11: the room sheet folded to its title bar, so the map is free */
.mp-lobby.mp-min>:not(.mp-head){display:none}.mp-lobby.mp-min{padding-bottom:12px}.mp-lobby.mp-min .mp-head h1{font-size:20px;margin:0}
.mp-head .mp-minb{margin-left:auto}.mp-head h1+.mp-minb{margin-left:0}
@media (max-width:599px), (max-width:640px) and (max-height:519px){body .mp-lobby.mp-min{max-height:none;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px))}}
@media (min-width:641px), (min-width:600px) and (min-height:520px){body .mp-lobby.mp-min{left:calc(var(--rail, 0px) + 12px)}} /* folded, it sits beside the side menu, like the draft's bar, not over Build */
/* v11: the draft. No sheet over the map: a small bar at the top left with the turn, its 30 seconds, the order and your money */
body .mp-lobby.mp-draft{top:calc(var(--top) + 8px);bottom:auto;left:calc(var(--rail, 0px) + 12px);right:auto;width:340px;max-height:none;padding:10px 12px 12px;border-radius:14px;overflow:visible}
.mp-dtop{display:flex;align-items:center;gap:8px}.mp-dtop .mp-kicker{flex:1;margin:0}.mp-dtop .mp-leave{min-height:32px;padding:2px 10px;font-size:12.5px}
.mp-dturn{margin:8px 0 6px;font-size:15px;color:var(--txt)}.mp-dturn.mine b{color:#FFE3A0}.mp-dsec{float:right;font:700 15px var(--f-display);color:var(--txt-2);font-variant-numeric:tabular-nums}
.mp-dbar{height:4px;border-radius:2px;background:var(--hud-2);overflow:hidden}.mp-dbar i{display:block;height:100%;width:100%;background:var(--gold);transition:width .25s linear}.mp-dbar i.low{background:var(--red)}
.mp-dmoney{margin:8px 0 6px;font-size:13px;color:var(--txt-2);line-height:1.35}.mp-dmoney b{font:700 17px var(--f-display);color:#FFE3A0}
.mp-dorder{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.mp-dchip{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:12px;background:var(--hud-2);border:1px solid var(--line);font-size:12.5px;color:var(--txt-2)}
.mp-dchip .swatch{width:12px;height:9px}.mp-dchip b{color:var(--txt)}.mp-dchip.on{border-color:var(--gold);color:#FFE3A0}.mp-dchip.out{opacity:.5}
.mp-dchip .mp-drop{min-width:0;min-height:32px;margin-left:2px;padding:2px 9px;font-size:12px}
.mp-draft #mpDone{min-height:44px}
@media (max-width:599px), (max-width:640px) and (max-height:519px){body .mp-lobby.mp-draft{left:8px;right:8px;width:auto;top:calc(var(--top) + 6px);border-radius:14px}}
/* v12: Influence and tension beside the money; on a phone, one box with a row each and short labels */
.mp-pst{display:flex;gap:4px;min-width:0}.mp-pst .k i{font-style:normal}.mp-pst .k i+i{display:none}
@media (max-width:480px){
  .stats{gap:2px}.stat{padding:2px 5px}
  .mp-pst{flex:none;width:max-content;flex-direction:column;justify-content:center;gap:1px;min-height:44px;padding:2px 4px;border-radius:8px;background:var(--hud-2)}
  .mp-pst .stat{flex-direction:row;align-items:baseline;gap:3px;min-height:0;padding:0;background:none}
  .mp-pst .stat .v{font-size:12px}.mp-pst .stat .k{letter-spacing:.02em}.mp-pst .k i{display:none}.mp-pst .k i+i{display:inline}
}
/* v12: goals and research. The top bar's small line, then one panel with two tabs: each branch or line a column of cards joined by a line; an either-or pair boxed, with "or" between */
.stat.mp-grtop{border:0;color:var(--txt);font:inherit;text-align:left;cursor:pointer;max-width:240px}.stat.mp-grtop .v{overflow:hidden;text-overflow:ellipsis;font-size:13.5px}.stat.mp-grtop.neg .v{color:var(--warn)}
body.mp-watch #stGr{display:none}
.modal:has(.mp-gr){width:min(900px,100%)}
.mp-grtabs{display:flex;gap:6px;margin:4px 0 8px}.mp-grtabs button{flex:1;min-height:40px;border-radius:10px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt-2);font:700 14px var(--f-body);cursor:pointer}
.mp-grtabs button[aria-selected="true"]{background:var(--gold-wash);border-color:var(--gold);color:#FFE3A0}
.mp-gr .mp-grhd{font-size:13px;margin-bottom:10px}
@media (max-width:480px){#stGr{display:none}}
.mp-grpct{display:none}
@media (max-width:480px){.mp-grpct:not(:empty){display:inline-block;margin-left:6px;padding:0 5px;border-radius:6px;font-size:11px;font-weight:700;background:linear-gradient(90deg,var(--gold-wash) var(--p),transparent var(--p));border:1px solid var(--line)}} /* v12.1: the current goal's progress on the button, filled as a bar */ /* v12 merge: beside Influence and Tension a phone's top bar has no room left before the clock; the Goals & research button stays */
@media (max-width:599px), (max-width:640px) and (max-height:519px){.stat.mp-grtop{max-width:92px;flex:none}.stat.mp-grtop .mp-grnm{display:none}}
/* v13.7: a window 600 to 899 wide keeps Influence and Tension whole and lets the Missions tile give way (it ran over Tension at 600); up to 719 Influence
   and Tension stack in one box with short labels, as on a phone, and the tile reads Missions · Res */
@media (min-width:600px) and (max-width:899px) and (min-height:520px){.mp-pst{flex:none}.stat.mp-grtop{flex:0 1 auto;min-width:0;overflow:hidden}.stat.mp-grtop .k{overflow:hidden;text-overflow:ellipsis}}
@media (min-width:600px) and (max-width:719px) and (min-height:520px){
  .mp-pst{width:max-content;flex-direction:column;justify-content:center;gap:1px;min-height:44px;padding:2px 6px;border-radius:8px;background:var(--hud-2)}
  .mp-pst .stat{flex-direction:row;align-items:baseline;gap:3px;min-height:0;padding:0;background:none}
  .mp-pst .stat .v{font-size:12px}.mp-pst .stat .k{letter-spacing:.02em}.mp-pst .k i{display:none}.mp-pst .k i+i{display:inline}
  .stat.mp-grtop .mp-grnm{display:none}
}
/* v12.2: the Army tab's filter chips (All, Ground, Air, Navy, Missiles) fit a phone without a sideways scroll; a force row reads as name, type, counts */
.subtabs.armycat{overflow:visible;gap:4px;margin-bottom:10px}.subtabs.armycat button{flex:1 1 0;min-width:0;padding:0 2px;min-height:38px;border-radius:19px;font-size:12px}
.forces .row .grow>.nm,.forces .row .grow>.sub{display:block}.forces .row .grow>.nm .num{font-weight:600}
/* v12.2: a laptop with the Army tab (or any tab) open: the selection bar sits in the map beside the side menu, never under it or past the right edge; its buttons wrap (v12's Plan made it too long) */
@media (min-width:900px), (min-width:600px) and (min-height:520px){#selbar{left:calc(var(--rail) + 12px);right:12px;transform:none;width:fit-content;margin:0 auto;max-width:none;flex-wrap:wrap;justify-content:center}body.drawer-open #selbar{left:calc(var(--rail) + 384px)}}

/* v12.2 Goals & research, made visual: each branch its colour (--ac) and icon, cards on a drawn line that lights up as goals finish, the either-or a fork;
   state at a glance: done filled with a check, running a ring and its percent, open bright with Start, locked dim with a lock (the reason on hover or tap) */
.modal:has(.mp-gr){width:min(960px,100%)}
.mp-gr .mp-grhd{font-size:13px;margin:0 0 10px;color:var(--txt-2)}
.mp-grban{display:flex;align-items:center;gap:12px;padding:10px 14px;margin-bottom:14px;border-radius:12px;border:1px solid var(--line);background:var(--hud-2)}
.mp-grban.on{border-color:rgba(246,196,83,.55);background:linear-gradient(90deg,var(--gold-wash),transparent)}
.mp-grban>svg{width:30px;height:30px;flex:none;fill:none;stroke:var(--gold);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mp-grban:not(.on)>svg{stroke:var(--txt-3)}
.mp-grban b{display:block;font:700 14.5px var(--f-body)}.mp-grban small{display:block;font-size:12px;color:var(--txt-2);margin-top:1px}
.mp-grbrs{display:none}
.mp-grtree{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:12px;align-items:start}
.mp-grln{display:flex;flex-direction:column;gap:16px;min-width:0}
.mp-grln h3{display:flex;align-items:center;gap:8px;font:700 12px var(--f-body);letter-spacing:.08em;text-transform:uppercase;color:var(--ac);margin:0;padding-bottom:8px;border-bottom:2px solid var(--ac)}
.mp-gri{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mp-grc{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-height:62px;padding:9px 10px;text-align:left;border-radius:12px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);font:inherit}
.mp-grln>.mp-grc::before,.mp-grln>.mp-gror::before{content:'';position:absolute;left:50%;top:-17px;height:16px;border-left:2px solid var(--line)}.mp-grln>h3+.mp-grc::before{content:none}
.mp-grln>.mp-grc.lit::before,.mp-grln>.mp-gror.lit::before{border-color:var(--ac)}.mp-grln>.mp-gror::before{top:-17px}
.mp-grring{--p:0;position:relative;flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--ac);background:radial-gradient(closest-side,var(--hud-solid) 83%,transparent 85%),conic-gradient(var(--ac) calc(var(--p) * 1%),rgba(255,255,255,.1) 0)}
.mp-grring .mp-gri{width:22px;height:22px}
.mp-grtx{flex:1;min-width:0}.mp-grtx b{display:block;font:700 14.5px/1.25 var(--f-body);color:var(--txt)}.mp-grtx small{display:block;margin-top:3px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--txt-3)}
.mp-grtag{flex:none;align-self:flex-start;display:grid;place-items:center;font:700 12px var(--f-body)}
.mp-grtag.ok{width:22px;height:22px;border-radius:50%;background:var(--ac);color:var(--hud-solid)}.mp-grtag.ok .mp-gri{width:14px;height:14px;stroke-width:3}
.mp-grtag.pc{color:var(--ac);font-size:13px}.mp-grtag.lk{color:var(--txt-3)}.mp-grtag.lk .mp-gri,.mp-grtag.nx .mp-gri{width:15px;height:15px}.mp-grtag.nx{color:var(--ac)}
.mp-grtag.cs{padding:3px 8px;border-radius:999px;border:1px solid var(--line);color:var(--txt-2);font-size:11.5px;white-space:nowrap}
.mp-grtm{white-space:nowrap;text-transform:none;letter-spacing:0}
.mp-grtag.go{align-self:center;padding:5px 10px;border-radius:999px;background:var(--ac);color:var(--hud-solid);white-space:nowrap}
.mp-grc.open{cursor:pointer;border-color:var(--ac);background:linear-gradient(135deg,color-mix(in srgb,var(--ac) 16%,transparent),var(--hud-2) 70%)}.mp-grc.open:hover{background:color-mix(in srgb,var(--ac) 22%,var(--hud-solid))}
.mp-grc.done{border-color:var(--ac);background:color-mix(in srgb,var(--ac) 20%,var(--hud-solid))}.mp-grc.done .mp-grring{background:var(--ac);color:var(--hud-solid)}
.mp-grc.run{border-color:var(--ac);box-shadow:0 0 0 1px var(--ac) inset}
.mp-grc.lock,.mp-grc.cut,.mp-grc.wait{cursor:help}.mp-grc.lock,.mp-grc.cut{opacity:.5}.mp-grc.lock .mp-grring,.mp-grc.cut .mp-grring{color:var(--txt-3)}.mp-grc.cut .mp-grtx b{text-decoration:line-through}.mp-grc.wait{border-style:dashed;border-color:color-mix(in srgb,var(--ac) 55%,var(--line))}.mp-grc.wait .mp-grring{color:var(--ac)}
.mp-gror{position:relative;display:flex;flex-direction:column}
.mp-grfork,.mp-grjoin{display:block;width:100%;height:16px;fill:none;stroke:var(--line);stroke-width:2;vector-effect:non-scaling-stroke}.mp-grfork path,.mp-grjoin path{vector-effect:non-scaling-stroke}
.mp-gror.lit .mp-grfork,.mp-gror.out .mp-grjoin{stroke:var(--ac)}
.mp-grpair{display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch;gap:4px}.mp-grpair em{align-self:center;font-style:normal;font:700 10px var(--f-body);letter-spacing:.08em;text-transform:uppercase;color:var(--ac)}
.mp-grpair .mp-grc{flex-direction:column;align-items:flex-start;gap:6px;min-height:0;padding:8px}.mp-grpair .mp-grring{width:34px;height:34px}.mp-grpair .mp-grring .mp-gri{width:18px;height:18px}.mp-grpair .mp-grtx b{font-size:13px}
.mp-grpair .mp-grtag{position:absolute;top:8px;right:8px}.mp-grpair .mp-grtag.go{position:static;align-self:flex-start;padding:4px 9px}
.mp-gror::before{left:50% !important}
@media (max-width:599px), (max-width:640px) and (max-height:519px){
  .mp-grbrs{display:flex;gap:6px;margin-bottom:12px}.mp-grbrs button{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;border-radius:10px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt-2);font:700 11px var(--f-body);cursor:pointer}
  .mp-grbrs button svg{width:20px;height:20px;fill:none;stroke:var(--ac);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mp-grbrs button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mp-grbrs button[aria-selected="true"]{border-color:var(--ac);color:var(--txt);background:color-mix(in srgb,var(--ac) 16%,transparent)}
  .mp-grtree{grid-template-columns:1fr}.mp-grln:not(.on){display:none}
}
.sec .winrule{margin:0 0 12px;padding:10px 12px;border-radius:10px;border:1px solid rgba(246,196,83,.55);background:var(--gold-wash);color:#FFE3A0;font:700 14.5px/1.35 var(--f-body)}
.mp-grc.open{flex-wrap:wrap;row-gap:6px}.mp-grc.open .mp-grtx{min-width:120px}.mp-grc.open .mp-grtag.go{margin-left:auto} /* a narrow card (four research lines): Start goes under the text */
.mp-grc.cash{flex-wrap:wrap;row-gap:6px}.mp-grc.cash .mp-grtx{min-width:120px}.mp-grc.cash .mp-grtag.cs{margin-left:auto;align-self:center} /* and so does what a tech short of money needs */
/* v12.3: a tablet or an unfolded foldable (600-1099 wide, not a short landscape phone; the rule of PHONE_MQ in mp.js): the laptop's layout, the side
   menu and small windows over the map, sized for a finger. The room is a window at the left, the map open beside it to tap a country */
@media (min-width:600px) and (max-width:1099px) and (min-height:520px), (min-width:900px) and (max-width:1099px){
  :root{--mp-lobw:min(460px,58vw)}
  body .mp-lobby:not(.mp-hall):not(.mp-draft):not(.mp-min){width:var(--mp-lobw);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}
  body .mp-lobby.mp-hall{left:16px;right:auto;top:calc(var(--top) + 8px);bottom:16px;transform:none;width:min(500px,60vw);height:auto;border-radius:18px;border-width:1px;padding:16px 18px;overflow-y:auto}
  /* the guide's box and the notices take the map beside the room's window (step 1) or the draft's bar (step 2), not the middle under them */
  html body:has(#mpLobby:not([hidden]):not(.mp-hall)) .mp-coach.starting{left:calc(16px + var(--mp-lobw) + 12px);right:12px;transform:none;width:auto;max-width:none}
  html body:has(#mpLobby.mp-draft:not([hidden])) .mp-coach.starting,html body:has(#mpLobby.mp-min:not([hidden])) .mp-coach.starting{left:calc(var(--rail) + 364px)}
  body:has(#mpLobby:not([hidden]):not(.mp-hall):not(.mp-draft):not(.mp-min)) .toasts{left:calc(16px + var(--mp-lobw) + 12px);right:12px;transform:none;width:auto}
  body:not(.lg-site) .mp-gofr.mp-gfloat{left:calc(16px + var(--mp-lobw) + 12px);right:12px;transform:none;width:auto} /* the guide's offer beside the room */
  body:has(#mpLobby:not([hidden]):not(.mp-hall):not(.mp-draft):not(.mp-min)) .rail{visibility:hidden} /* nothing to press there before the match: no label peeking out beside the window */
  body:has(#mpLobby.mp-draft:not([hidden])) .toasts,body:has(#mpLobby.mp-min:not([hidden])) .toasts{left:calc(var(--rail) + 364px);right:12px;transform:none;width:auto}
  /* v13.7: the players' panel ends above Army in view and Select (v11), so they stay on the map with it open; narrowing to here shuts it (mp.js) */
}
/* a narrow tablet (an unfolded Fold): the top bar keeps every number and drops the rates; with a side panel open the selection bar takes the strip of map
   beside it, so the buttons of that column wait while units are selected (v12.2: the bar slid under the panel) */
@media (min-width:600px) and (max-width:899px) and (min-height:520px){
  .stats .stat{flex:none;padding:3px 8px}.stat .v small{display:none}
  body.drawer-open:has(#selbar:not([hidden])) #armyBtn,body.drawer-open:has(#selbar:not([hidden])) #boxBtn{display:none}
  body.drawer-open #selbar{right:12px;width:auto}
  /* the side panel a little narrower, and what sits beside it follows; a city card opened beside the panel floats at the right, over its edge */
  html body .drawer{width:340px}
  body.drawer-open #selbar,body.drawer-open .lg-notes{left:calc(var(--rail) + 352px)}
  html body.drawer-open .toasts,html body.drawer-open .coach,html body.drawer-open .banner{left:calc(var(--rail) + 340px + (100vw - var(--rail) - 340px) / 2)}
  html body.drawer-open .card{left:auto;right:12px;width:min(380px,calc(100vw - var(--rail) - 24px));z-index:25}
}

/* ---------- v13 map view (lg-rt/mapview.js): the map-mode switch and legend, the mini-map, finding things, a stack's list.
   Laptop and tablet: the switch at the bottom right, the mini-map and the finders at the bottom left past the side menu. Phone: the switch as a chip row under
   the top bar, no mini-map, the finders in the top bar's menu */
#lgMV[hidden],#lgMV [hidden]{display:none!important}
.lgmodes{position:fixed;right:52px;bottom:calc(12px + var(--lg-lift,0px));z-index:21;display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--hud);border:1px solid var(--line);box-shadow:0 8px 24px rgba(0,0,0,.4);max-width:calc(100vw - 392px);overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain} /* never under the mini-map (left 88 + 240 + a gap): an upright iPad's six modes scroll inside the row */
.lgmodes::-webkit-scrollbar{display:none}
.lgmodes button{min-height:32px;padding:4px 11px;border-radius:8px;border:0;background:transparent;color:var(--txt-2,#B9C4CC);font:600 13px var(--f-body,inherit);cursor:pointer;white-space:nowrap}
.lgmodes button:hover{background:var(--hud-2)}
.lgmodes button.on{background:var(--hud-3);color:var(--txt,#EEF2F4);box-shadow:inset 0 -2px 0 #F6C453}
.lglegend{position:fixed;right:52px;bottom:calc(62px + var(--lg-lift,0px));z-index:21;max-width:300px;display:flex;flex-direction:column;gap:3px;padding:8px 11px;border-radius:10px;background:var(--hud);border:1px solid var(--line);font-size:12px;color:var(--txt-2,#B9C4CC);pointer-events:none}
.lglegend b{color:var(--txt,#EEF2F4);font-size:12px;margin-bottom:1px}
/* the key folds (mapview.js setKey): its title and its x take a press, the rest of the key lets the map have it; folded, a Key chip waits at the mode switch */
.lgkh{display:flex;align-items:center;gap:6px;margin:-4px -6px 1px 0}
.lgkh button{pointer-events:auto;border:0;background:transparent;color:var(--txt,#EEF2F4);font:700 12px var(--f-body,inherit);cursor:pointer;touch-action:manipulation}
.lgkt{flex:1;min-height:28px;padding:2px 0;text-align:left}
.lgkt:hover{color:#FFE3A0}
.lgkx{flex:none;width:28px;height:28px;margin-left:auto;padding:0;border-radius:7px;font-size:17px!important;line-height:1;color:var(--txt-2,#B9C4CC)!important}
.lgkx:hover{background:var(--hud-2);color:var(--txt,#EEF2F4)!important}
.lgmodes .lgkeychip{display:flex;align-items:center;gap:5px;flex:none;position:sticky;right:0;padding:4px 10px;border-radius:8px;border:1px solid rgba(246,196,83,.4);background:#0B1219;color:#FFE3A0;box-shadow:-6px 0 8px #0B1219}
.lgmodes .lgkeychip svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.lgmodes .lgkeychip:hover{background:linear-gradient(var(--gold-wash),var(--gold-wash)),#0B1219}
.lglegend span{display:flex;align-items:center;gap:7px;line-height:1.25}
.lglegend i,.lgslist i,.lgshead i{display:inline-block;flex:none;width:10px;height:10px;border-radius:2px;border:1px solid rgba(255,255,255,.35)}
.lgmini{position:fixed;left:88px;bottom:calc(12px + var(--lg-lift,0px));z-index:21;width:240px;height:122px;border-radius:10px;overflow:hidden;border:1px solid var(--line);box-shadow:0 8px 24px rgba(0,0,0,.45);background:#081420}
.lgmini canvas{display:block;width:100%;height:100%;cursor:pointer;touch-action:none}
.lgfind{position:fixed;left:88px;bottom:calc(12px + var(--lg-lift,0px));z-index:22;width:240px;display:flex;flex-direction:column;gap:6px}
#lgFind{box-sizing:border-box;padding:8px;border-radius:10px;background:var(--hud-solid);border:1px solid var(--line);box-shadow:0 8px 24px rgba(0,0,0,.45)} /* v13 fix: open, it covers the mini-map (never the map above it); closed, nothing */
.lgfindbtn{position:absolute;top:6px;right:6px;min-height:28px;padding:3px 10px;border-radius:8px;border:1px solid var(--line);background:var(--hud-solid);color:var(--txt,#EEF2F4);font:600 12px var(--f-body,inherit);cursor:pointer}
.lgfindbtn:hover{background:var(--hud-3)}
#lgFind .lgsearch{display:flex;gap:6px}#lgFind .lgsearch input{flex:1;min-width:0;width:auto}
.lgfx{flex:0 0 34px;min-height:34px;padding:0;border-radius:9px;border:1px solid var(--line);background:var(--hud-3);font-size:18px!important;line-height:1;cursor:pointer}
.lgfrow{display:flex;gap:6px}
.lgfind button,.lgfind input{font:600 13px var(--f-body,inherit);color:var(--txt,#EEF2F4)}
.lgfrow button{flex:1;min-height:34px;padding:4px 8px;border-radius:9px;border:1px solid var(--line);background:var(--hud);cursor:pointer;white-space:nowrap}
.lgfrow button:hover{background:var(--hud-solid)}
.lgsearch{position:relative}
.lgsearch input{width:100%;box-sizing:border-box;min-height:34px;padding:6px 10px;border-radius:9px;border:1px solid var(--line);background:var(--hud);font-weight:500}
.lgslist{position:absolute;left:0;right:0;bottom:calc(100% + 4px);display:flex;flex-direction:column;border-radius:10px;overflow:hidden;background:var(--hud-solid);border:1px solid var(--line);box-shadow:0 8px 24px rgba(0,0,0,.45)}
.lgslist:empty{display:none}
.lgslist button{display:flex;align-items:center;gap:8px;min-height:36px;padding:6px 10px;border:0;border-bottom:1px solid var(--hud-2);background:transparent;text-align:left;cursor:pointer}
.lgslist button:hover,.lgslist button:focus{background:var(--hud-3)}
.lgslist small{margin-left:auto;color:var(--txt-2,#B9C4CC);font-weight:500}
.lgslist p{margin:0;padding:8px 10px;font-size:13px;color:var(--txt-2,#B9C4CC)}
.lgstack{position:fixed;left:50%;top:76px;transform:translateX(-50%);z-index:30;width:300px;max-width:calc(100vw - 24px);box-sizing:border-box;padding:10px 12px;border-radius:12px;background:var(--hud-solid);border:1px solid var(--line);box-shadow:0 12px 32px rgba(0,0,0,.5);font-size:13px;color:var(--txt,#EEF2F4)}
.lgshead{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.lgshead span{color:var(--txt-2,#B9C4CC);font-size:12px}
.lgshead button{margin-left:auto;min-height:32px;padding:4px 10px;border-radius:8px;border:1px solid var(--line);background:var(--hud-3);color:inherit;font:600 12px var(--f-body,inherit);cursor:pointer}
.lgsrow{display:grid;grid-template-columns:1fr 28px 70px 36px;align-items:center;gap:8px;padding:4px 0;border-top:1px solid var(--hud-2)}
.lgsrow b{text-align:right}
.lgsrow em{display:block;height:5px;border-radius:3px;background:rgba(226,232,238,.18);overflow:hidden}
.lgsrow em i{display:block;height:100%}
.lgsrow small{color:var(--txt-2,#B9C4CC);text-align:right}
.lgsacts{display:flex;justify-content:flex-end;margin-top:8px}
.lgsacts button{min-height:34px;padding:4px 14px;border-radius:9px;border:1px solid var(--line);background:var(--hud-3);color:inherit;font:600 13px var(--f-body,inherit);cursor:pointer}
/* a tablet or an unfolded Fold: the same places, sized for a finger */
@media (pointer:coarse){.lgkh{margin:-12px -10px -6px 0}.lgkt{min-height:44px}.lgkx{width:44px;height:44px}.lgmodes button,.lgfrow button,.lgsearch input{min-height:44px}.lgfindbtn{min-height:44px;padding:4px 14px;font-size:13px}.lgfx{flex-basis:44px;min-height:44px}.lglegend{bottom:calc(72px + var(--lg-lift,0px))}.lgshead button,.lgsacts button{min-height:44px}}
/* the phone (mp.js PHONE_MQ): the chips under the top bar, the legend beneath them; the finders in the menu */
@media (max-width:599px), (max-width:899px) and (max-height:519px){
  .lgmodes{left:8px;right:8px;top:62px;bottom:auto;max-width:none;justify-content:flex-start;padding:3px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain} /* six modes (v13 Companies, Stability) scroll inside the row, never the page */
  .lgmodes::-webkit-scrollbar{display:none}
  .lgmodes button{flex:1 0 auto;min-height:40px;padding:4px 9px;font-size:13px}
  .lglegend{left:8px;right:auto;top:112px;bottom:auto;max-width:calc(100vw - 16px);font-size:11px;padding:6px 9px}
  .lgmini,#lgFind{display:none}
  .lgstack{top:116px}
}
#lgFindM{position:static;width:auto;margin:6px 0 12px}
#lgFindM h3{margin:0 0 4px;font:600 15px var(--f-display,inherit)}
#lgFindM .lgfrow button,#lgFindM input{min-height:44px;background:var(--hud-3)}
#lgFindM .lgslist{position:static;margin-top:4px}
/* v13 strategy: the plan-type picker over the selection bar (ui.js planPick), the plan bar's option chips, and the stance row. Phone: a sheet across the width */
.planpick{position:fixed;left:calc(50% + var(--rail) / 2);transform:translateX(-50%);width:min(560px,calc(100vw - var(--rail) - 24px));max-height:min(62vh,calc(100vh - var(--top) - 120px));overflow:auto;overscroll-behavior:contain;z-index:24;padding:10px;background:var(--hud);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.45)}
.planpick[hidden]{display:none}
.planpick .pp-h{font:700 13px var(--f-body,sans-serif);color:var(--txt-2);margin:0 2px 8px}
.planpick .pp-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.planpick .pp-card{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:52px;padding:8px 10px;text-align:left;border-radius:10px;border:1px solid var(--line);background:var(--hud-2);color:var(--txt);font:inherit;cursor:pointer}
.planpick .pp-card b{font-size:14px;color:var(--txt)}
.planpick .pp-card span{font-size:12px;line-height:1.3;color:var(--txt-2)}
.planpick .pp-card:hover:not([disabled]){border-color:var(--gold);background:var(--gold-wash)}
.planpick .pp-card[disabled]{cursor:not-allowed;opacity:.62}
.planpick .pp-card[disabled] b{color:var(--txt-3)}
.planpick .pp-card[disabled] span{color:#E7A07A}
.planpick .pp-st{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.planpick .pp-st>span{font-size:12px;font-weight:700;color:var(--txt-2);margin-right:4px}
.btn.chip{min-height:34px;padding:4px 10px;font-size:12px;border-radius:17px}
.btn.chip.on{background:var(--gold-wash);border-color:var(--gold);color:var(--gold)}
.selbar .plopt{display:inline-flex;flex-wrap:wrap;gap:4px}
@media (max-width:599px), (max-width:899px) and (max-height:519px){
  .planpick{left:8px;right:8px;transform:none;width:auto;max-height:min(58vh,calc(100vh - 160px))}
  .planpick .pp-list{grid-template-columns:1fr}
  .planpick .pp-card{min-height:44px;padding:7px 10px}
}
/* v13 Campaign and companies (campaign.js): a fixed clock has no speed buttons; the Companies section, the Inbox, the away card */
body.mp-camp #speed,body.mp-camp #spdCyc{display:none}
.co-sec .co-fx{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 10px}
.co-row{border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:0 0 8px;background:var(--hud-2)}
.co-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.co-top b{font-family:var(--f-display);font-size:15px;color:var(--txt);margin-right:2px;overflow-wrap:anywhere}
.co-sub{display:block;color:var(--txt-2);font-size:12px;margin:3px 0 6px}
.co-meters{display:grid;grid-template-columns:auto 1fr 30px;align-items:center;gap:4px 8px;font-size:12px;color:var(--txt-2);margin:0 0 8px}.co-meters b{color:var(--txt);text-align:right;font-variant-numeric:tabular-nums}
.co-bar{height:6px;border-radius:3px;background:var(--line);overflow:hidden}.co-bar i{display:block;height:100%;background:var(--ac)}.co-bar.loy i{background:var(--gold)}.co-bar.bad i{background:#EE5C50}
.co-acts{display:flex;flex-wrap:wrap;gap:6px}.co-acts .btn{min-height:40px;padding:6px 10px;font-size:13px;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15}.co-acts .btn small{font-size:11px;color:var(--txt-2);font-weight:500}
.co-taxes{display:flex;flex-direction:column;gap:6px;margin:0 0 8px}.co-tax{display:grid;grid-template-columns:1fr auto auto;gap:6px;align-items:center}.co-tax span{font-size:13px;color:var(--txt)}.co-tax small{display:block;color:var(--txt-2);font-size:11px}.co-tax .btn{min-height:38px;padding:4px 10px;font-size:13px}
.co-ask{display:grid;grid-template-columns:1fr auto auto;gap:6px;align-items:center;border:1px solid var(--gold);border-radius:10px;padding:8px 10px;margin:8px 0 0;background:var(--gold-wash)}.co-ask span{font-size:13px;color:var(--txt)}.co-ask small{display:block;color:var(--txt-2);font-size:11px}
.co-n{display:inline-block;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:9px;background:var(--gold);color:#13202c;font-style:normal;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.co-ibl{display:flex;flex-direction:column;gap:6px;max-height:60vh;overflow:auto;margin:0 0 10px}
.co-ib{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:start;padding:8px 10px;border:1px solid var(--line);border-radius:10px}.co-ib.new{border-color:var(--gold);background:var(--gold-wash)}
.co-ibt{font-size:13px;color:var(--txt);overflow-wrap:anywhere}.co-ibt small{display:block;color:var(--txt-2);font-size:11px;margin-top:2px}.co-iba{grid-column:1/-1;display:flex;gap:6px;justify-content:flex-end}.co-iba .btn{min-height:40px}
.co-awh{color:var(--txt-2);font-size:13px}.co-aw{margin:10px 0 0}.co-awl{font-size:13px;color:var(--txt);padding:3px 0 3px 10px;border-left:3px solid var(--line)}.co-awl.ok{border-left-color:var(--ac)}.co-awl.war{border-left-color:#EE5C50}
@media (max-width:599px), (max-width:899px) and (max-height:519px){.co-tax{grid-template-columns:1fr auto auto}.co-acts .btn{flex:1 1 40%}}
/* v12.4: one plain line at the top of a panel or tab: what it is for */
.mp-why,.dwhy{margin:0 0 12px;color:var(--txt-2);font-size:13px;line-height:1.45}
.dwhy{margin:2px 0 10px}
/* v13: an empty Army filter says where to build those units: up to three buttons, full width, wrapping on a phone */
.khelp{margin:6px 0 6px;line-height:1.35}.khelp-b{display:grid;gap:6px;margin-bottom:6px}.khelp-b .btn{white-space:normal;text-align:left;justify-content:flex-start;min-height:44px;line-height:1.25}
#card .obld.pulse{border-color:var(--gold);animation:pulse 1.1s ease-in-out 4}

/* Daily War: the goal line over the match, and the result on the end card */
.mp-daily{position:fixed;left:50%;transform:translateX(-50%);top:calc(var(--top) + 8px);z-index:39;max-width:calc(100vw - 24px);padding:6px 14px;border-radius:16px;background:var(--hud-solid);border:1px solid rgba(246,196,83,.55);color:var(--txt);font:600 13px/1.3 var(--f-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.mp-daily[hidden]{display:none}
.mp-dr{margin:12px 0;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(246,196,83,.4);text-align:left}
.mp-dr .mp-kicker{display:block;margin:0 0 4px}
.mp-drt{display:block;font-size:15px}
.mp-drs{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;margin:6px 0 0}.mp-drs b{font:700 30px/1 var(--f-display);font-variant-numeric:tabular-nums}.mp-drs span{color:var(--txt-2);font-size:13px}.mp-drs .mp-drq{letter-spacing:.1em;color:#FFE3A0;font-size:16px}
.mp-drb{margin:8px 0 0;padding:0;list-style:none}.mp-drb li{display:flex;justify-content:space-between;gap:10px;padding:3px 0;font-size:13px;color:var(--txt-2);border-bottom:1px solid var(--line)}.mp-drb b{color:var(--txt);font-variant-numeric:tabular-nums}
.mp-dra{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.mp-dra .btn{flex:1 1 auto;min-height:44px;text-decoration:none}
@media (max-width:1099px){body:has(#mpDaily:not([hidden])) .lg-notes{margin-top:38px}}
/* the phone: under the map-mode chips (top 62px), the notices under it */
@media (max-width:599px), (max-width:899px) and (max-height:519px){.mp-daily{left:10px;right:10px;transform:none;max-width:none;text-align:center;font-size:12px;padding:5px 10px;top:116px}body:has(#mpDaily:not([hidden])) .lg-notes{margin-top:84px}}
/* Iron Fist booty, upgrades and war style (lg-rt/booty.js, lg-rt/upgrades.js): the captured mark and line, the program rows, the style chips */
.capmk{color:#F6C453;margin-right:5px;font-size:.92em}.capln{color:#F6C453 !important;white-space:normal}
.upgs .row{display:flex;align-items:center;gap:8px}.upgs .row .grow,.caprow .grow{display:flex;flex-direction:column;flex:1;min-width:0}.upgs .row .nm{white-space:normal;overflow-wrap:anywhere}.upgs .row .btn{flex:none;padding:6px 12px}.upgs .why{color:#FFB0A8}.upgs .upgrun .sub{color:#F6C453}
.wschips{display:flex;flex-wrap:wrap}.wstyle .wsnote{margin:4px 0}
/* v13.6 (Aboud: "Army View does not work on desktop or iPad"): a tap on a control is its click at once. Without this an iPad (Safari asks for the desktop
   page) waits for a possible double tap before it sends the click, and two quick taps on a button zoomed the page instead of pressing it twice */
button,.btn,.row,#selbar,#dBody,.rail,.mp-railx,.lgmodes{touch-action:manipulation}
/* Iron Fist war claims and research picks (lg-rt/claims.js, lg-rt/research.js): the city picker, the claim rows, the Surprise strike's banner, a unit's star line */
.mp-picks.mp-clmks{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:6px}.mp-clmks .mp-pick{min-height:44px;padding:7px 10px}.mp-clmks .mp-pick b{font-size:14px;overflow-wrap:anywhere}
.mp-clmrow span small{display:block;color:var(--txt-2);font-size:11.5px;overflow-wrap:anywhere}.mp-clmrow.on-me b{color:#FFC2BB}.mp-clmrow b{text-align:right}
#lgNotes .mp-surp{border-left-color:#EE7A5F;color:#FFD9CF;white-space:normal}#lgNotes .mp-surp b{color:#FFB199}
.mp-ustar{color:#FFE08A;margin:6px 0 0;line-height:1.35}.mp-uss{color:#FFB199;margin:4px 0 0}
.mp-grtree.mp-gr-r{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}.mp-grab .mp-grpair .mp-grc{min-width:0;overflow:hidden}.mp-grab .mp-grc .mp-grtx{min-width:0;max-width:100%;overflow-wrap:anywhere}.mp-grab .mp-grc .mp-grtag.go{margin-left:0;max-width:100%;white-space:nowrap}
