/* Unhinged Hamster: Squad Wars - gritty factory yard, chunky push buttons (same family as Dad's other games). Phone first. */
@font-face { font-family: "Luckiest Guy"; src: url("luckiest-guy.woff2?v=202610161900") format("woff2"); font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #16130f; color: #fff; overscroll-behavior: none; }
body { font-family: ui-rounded, "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", sans-serif; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
:root { --ink: #0c0a08; --org: #ff8a1a; --orgd: #a84f00; --teal: #27d3c3; --teald: #0f7a70; --yel: #ffcf00; --red: #ff3b30; --cream: #fff4e0; --steel: #2b2a28; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
.fun { font-family: "Luckiest Guy", Impact, "Arial Black", sans-serif; font-weight: 400; letter-spacing: .03em; }
#cv { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; z-index: 0; }
a { color: var(--yel); }

/* push buttons */
.btn { font-weight: 900; font-size: .95rem; color: #fff; background: #3a352d; border: 3px solid var(--ink); border-radius: 999px; min-height: 48px; padding: .5em .95em;
  box-shadow: 0 5px 0 var(--ink); cursor: pointer; touch-action: manipulation; transition: transform .06s, box-shadow .06s, background .15s; position: relative; }
.btn:hover { background: #4a443a; }
.btn:active, .btn.down { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn:focus-visible { outline: 3px dashed var(--yel); outline-offset: 3px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.small { min-height: 38px; padding: .3em .8em; font-size: .85rem; box-shadow: 0 4px 0 var(--ink); }
.btn.wide { width: 100%; }
.btn.go { background: var(--org); color: var(--ink); box-shadow: 0 6px 0 var(--orgd), 0 6px 0 2px var(--ink); }
.btn.go:hover { background: #ffa040; }
.btn.alt { background: var(--teal); color: var(--ink); box-shadow: 0 5px 0 var(--teald), 0 5px 0 2px var(--ink); }
.btn.big { font-size: 1.6rem; min-height: 68px; width: 100%; }
.btn.icon { width: 46px; height: 46px; min-height: 46px; padding: 0; display: grid; place-items: center; position: fixed; z-index: 30; top: max(8px, env(safe-area-inset-top)); }
.btn.icon svg { width: 22px; height: 22px; }
.sound-btn { right: max(22px, calc(env(safe-area-inset-right) + 16px)); background: var(--yel); color: var(--ink); }
.sound-btn .snd-off { display: none; } .sound-btn.off .snd-off { display: inline; } .sound-btn.off .snd-on { display: none; }
.music-btn { right: calc(max(22px, calc(env(safe-area-inset-right) + 16px)) + 52px); background: var(--teal); color: var(--ink); }

/* Match HUD: leave room for sound + music fixed icons on the right (no overlap with II/menu). */
@media (max-width: 520px) {
  .hudbtns { right: calc(max(8px, env(safe-area-inset-right)) + 108px); gap: 4px; }
  .hudbtns .btn { min-height: 34px; font-size: .72rem; padding: .2em .5em; }
}

.music-btn .mus-off { display: none; } .music-btn.off .mus-off { display: inline; }
.music-btn.off { opacity: .72; filter: saturate(.5); }
.share-icon { left: max(8px, env(safe-area-inset-left)); background: var(--teal); color: var(--ink); }
.tag { font-style: normal; font-size: .7em; background: var(--yel); color: var(--ink); border-radius: 6px; padding: 1px 6px; margin-left: 6px; }
.dot { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 2px solid var(--ink); }
.vol-pop { position: fixed; z-index: 40; width: 46px; padding: 6px 0 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 3px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: .72rem; }
.vol-track { position: relative; width: 12px; height: 128px; border-radius: 999px; background: #ddd; border: 2px solid var(--ink); touch-action: none; }
.vol-track i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 999px; background: linear-gradient(0deg, var(--teal), var(--org)); }
.vol-track span { position: absolute; left: 50%; width: 24px; height: 24px; margin: 0 0 -12px -12px; border-radius: 50%; background: var(--yel); border: 3px solid var(--ink); }

/* lobby */
.screen { position: fixed; inset: 0; z-index: 10; overflow-y: auto; padding: max(60px, env(safe-area-inset-top)) 14px max(12px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: linear-gradient(180deg, rgba(10,8,6,.15), rgba(10,8,6,.75) 70%); }
.lobby > * { width: 100%; max-width: 460px; }

.logo { text-align: center; line-height: .95; filter: drop-shadow(0 5px 0 var(--ink)); }
.logo .l1 { display: block; font-size: clamp(2.5rem, 11.5vw, 5.4rem); line-height: .9; color: var(--yel); -webkit-text-stroke: clamp(2px, .6vw, 3.5px) var(--ink); letter-spacing: .01em; }
.logo .l1 .w { display: block; }   /* UNHINGED / HAMSTER on two big lines */
.logo .l2 { display: inline-block; margin-top: .12em; font-size: clamp(1.5rem, 7vw, 2.9rem); color: var(--org); -webkit-text-stroke: 2.5px var(--ink); transform: rotate(-3deg); }
.me-card {
  display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center;
  background: linear-gradient(160deg, #2a2218 0%, #1a1612 55%, #241a10 100%);
  border: 3px solid var(--ink); border-radius: 20px; padding: 12px 12px 14px;
  box-shadow: 0 6px 0 var(--ink), inset 0 0 0 1px #ffcf0022;
  position: relative;
  /* overflow:hidden + flex child of .screen → min-height:0 → card collapses to a thin strip */
  overflow: visible;
  flex-shrink: 0;
  width: 100%;
  max-width: 480px; /* match .lobby > * / play-box */
  min-height: min-content;
  align-self: center; /* stretch + max-width left-aligned the card on desktop */
  margin-inline: auto;
  box-sizing: border-box;
}
.me-card::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(255,207,0,.18), transparent 70%); pointer-events: none;
}
.me-av-wrap { position: relative; flex: none; width: 72px; height: 72px; z-index: 1; }
.me-av {
  width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff8 0 16%, transparent 17%), var(--fur, #d98a3a);
  border: 4px solid var(--ink); box-shadow: 0 4px 0 var(--ink), 0 0 0 3px #ffcf00, 0 0 18px rgba(255,207,0,.35);
  position: relative;
}
.me-av i {
  position: absolute; left: 50%; top: 58%; width: 42%; height: 28%;
  transform: translate(-50%, -50%); border-radius: 50% 50% 40% 40%;
  background: var(--belly, #f3dcb8); box-shadow: inset 0 -2px 0 #0002;
}
.me-av::after {
  content: ""; position: absolute; left: 28%; top: 38%; width: 10px; height: 10px; border-radius: 50%;
  background: #1a120c; box-shadow: 22px 0 0 #1a120c, 11px 12px 0 -2px #c44;
}
.me-rank-chip {
  position: relative; right: auto; bottom: auto;
  width: 64px; height: 64px; flex: none;
  border-radius: 50%; border: 3px solid var(--ink); overflow: hidden; z-index: 1;
  display: grid; place-items: center; padding: 4px;
  background: #1a1612;
  box-shadow: 0 3px 0 var(--ink);
  align-self: start;
}
.me-rank-chip svg { width: 100%; height: 100%; display: block; }
.me-rank-chip svg { width: 100%; height: 100%; display: block; }
.me-txt { flex: 1; min-width: 0; position: relative; z-index: 1; }
.me-name {
  display: block; font-family: "Luckiest Guy", Impact, "Arial Black", sans-serif;
  font-weight: 400; font-size: 1.35rem; letter-spacing: .03em; color: #fff4e0;
  text-shadow: 0 3px 0 var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.me-rank { /* base; tier classes below override look */ color: var(--yel); }
.xpbar { height: 8px; border-radius: 9px; background: #000; border: 1px solid #555; margin-top: 4px; overflow: hidden; }
.xpbar i { display: block; height: 100%; background: linear-gradient(90deg, #ffcf00, #ff8a00); }
.me-xp {
  height: 8px; margin-top: 8px; border-radius: 4px; border: 2px solid var(--ink);
  background: #0c0a08; box-shadow: none; overflow: hidden;
}
.me-xp i {
  display: block; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, #ff8a00, #ffcf00 55%, #ffe566);
  box-shadow: none;
  position: relative; min-width: 0; max-width: 100%; transition: width .35s ease;
}
.me-xp i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  background-size: 200% 100%; animation: mexpshine 2.2s linear infinite;
}
@keyframes mexpshine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .me-xp i::after, .me-signup.pulse { animation: none; } }
.me-xp-lbl { display: block; margin-top: 4px; font-size: .72rem; font-weight: 800; color: #bfae95; letter-spacing: .02em; }
.me-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.me-chip {
  padding: 3px 9px; border-radius: 999px; border: 2px solid var(--ink);
  background: #2f261c; color: #fff4e0; font-size: .7rem; font-weight: 800;
  box-shadow: 0 2px 0 var(--ink);
}
.me-chip em { color: var(--yel); font-style: normal; }
.me-cta {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; margin-top: 4px; width: 100%;
}
.me-card:not(.guest) .me-cta { flex-direction: row; align-items: center; justify-content: center; }
.me-signup {
  width: 100%; max-width: 100%; min-height: 48px; font-family: "Luckiest Guy", Impact, sans-serif;
  font-size: 1.05rem; letter-spacing: .02em; line-height: 1.15; padding: 10px 12px;
  white-space: normal; box-sizing: border-box;
}
.me-signup.pulse { animation: mesignup 1.8s ease-in-out infinite; }
@keyframes mesignup {
  0%, 100% { box-shadow: 0 5px 0 var(--ink), 0 0 0 0 rgba(255,207,0,.5); }
  50% { box-shadow: 0 5px 0 var(--ink), 0 0 0 8px rgba(255,207,0,0); }
}
.me-login, .me-login:hover, .me-login:focus, .me-login:active, .me-login:visited {
  appearance: none; background: none; border: 0; color: #ffcf00; font-weight: 800;
  font-size: .85rem; text-decoration: none; cursor: pointer; padding: 4px; align-self: center;
}
.me-card:not(.guest) .me-signup { width: auto; flex: 0 1 auto; font-size: .95rem; animation: none; min-height: 42px; }
.me-card:not(.guest) .me-login { display: none; }
.badge { flex: none; width: 46px; height: 46px; }
.badge svg { width: 100%; height: 100%; display: block; }
.badge.sm { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
@media (max-width: 420px) {
  .me-card { gap: 10px; padding: 10px; }
  .me-av-wrap, .me-av { width: 62px; height: 62px; }
  .me-name { font-size: 1.15rem; }
  .me-signup { font-size: .95rem; }
}
.play-box { display: grid; gap: 10px; background: rgba(20,18,14,.7); border: 3px solid var(--ink); border-radius: 22px; padding: 12px; }

/* 10.1.9c: hamster-military briefing / squad / debrief (dossier colours) */
.play-front { display: grid; gap: 10px; }
.dsr-brief, .mp-brief, .debrief {
  --ol:#3a4228; --ol2:#262c1a; --kh:#cdbf98; --kh2:#a99a70; --hz:#d9ad12; --dred:#8e1c16;
  font-family: 'Courier New', Courier, monospace;
  color: #1b1d14;
  background: #d7cba6 linear-gradient(180deg,#ddd2b0,#c9bc94);
  border: 3px solid #15170f;
  border-radius: 4px;
  box-shadow: 0 8px 0 #15170f, 0 12px 28px #0008;
  position: relative;
  overflow: hidden;
}
.bots-setup.dsr-brief { display: grid; gap: 8px; padding: 10px; }
.bots-setup[hidden] { display: none !important; }
.brief-hz, .debrief .brief-hz {
  height: 10px; margin: -10px -10px 6px;
  background: repeating-linear-gradient(-45deg, var(--hz) 0 10px, #141414 10px 20px);
}
.bots-setup-bar { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
.brief-title, .debrief-hd, .mp-brief-title {
  margin: 0; text-align: center;
  font-family: 'Stencil Std', Stencil, 'Black Ops One', 'Arial Narrow', Impact, 'Arial Black', sans-serif;
  text-transform: uppercase; letter-spacing: .14em; font-weight: 900;
  color: var(--ol2); font-size: 1.15rem;
}
.brief-back { background: var(--ol2) !important; color: var(--kh) !important; border-radius: 4px !important; font-family: Impact, 'Arial Black', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.brief-mode.btn.pick, .brief-map.btn.pick {
  background: var(--ol2); color: var(--kh); border-radius: 4px; border-width: 2px;
  min-height: 48px; box-shadow: 3px 3px 0 #0005;
}
.brief-mode.btn.pick small, .brief-map.btn.pick small { color: var(--kh2); opacity: 1; }
.brief-mode.btn.pick b, .brief-map.btn.pick b { color: #ffe27a; }
.brief-map.btn.pick {
  display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px;
  text-align: left; padding: 6px 28px 6px 6px; min-height: 64px;
}
.brief-map.btn.pick img, .brief-map.btn.pick img.map-thumb, .pcard.map img, .map-thumb {
  width: 72px; height: 52px; object-fit: cover; border: 2px solid #15170f; background: #262c1a; display: block;
}
.brief-map.btn.pick .map-rand { display: none !important; }
.brief-map.btn.pick .map-rand {
  display: grid; place-items: center; font: 900 1.6rem Impact, sans-serif; color: var(--hz);
}
.brief-map-txt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.brief-map-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-size: 1rem; }
.bots-setup .pick-row { display: contents; } /* mode+map stack as briefing cards when in setup; front no longer uses pick-row */

/* Difficulty chevrons: green → orange → red */
#diffSeg.brief-diff { gap: 6px; }
#diffSeg.brief-diff .seg-b {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; padding: .35em .2em; line-height: 1.05; border-radius: 4px;
  background: var(--ol2); color: var(--kh); position: relative;
}
#diffSeg.brief-diff .seg-name { font-family: Impact, 'Arial Black', sans-serif; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }
#diffSeg.brief-diff .seg-plain { font-size: .7rem; font-weight: 700; opacity: .8; margin: 0; letter-spacing: .04em; text-transform: uppercase; }
#diffSeg.brief-diff .seg-chev {
  width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; margin-bottom: 2px;
}
#diffSeg.brief-diff .seg-b.d0 .seg-chev { border-bottom: 10px solid #3d8f2e; }
#diffSeg.brief-diff .seg-b.d1 .seg-chev { border-bottom: 10px solid #e08912; }
#diffSeg.brief-diff .seg-b.d2 .seg-chev { border-bottom: 10px solid #c62828; }
#diffSeg.brief-diff .seg-b.d0[aria-checked="true"] { background: #2f6b24; color: #eaffd8; box-shadow: inset 0 0 0 2px #6fd85a, 0 0 10px #3d8f2e88; }
#diffSeg.brief-diff .seg-b.d1[aria-checked="true"] { background: #a85f0a; color: #fff3d6; box-shadow: inset 0 0 0 2px #ffb84a, 0 0 10px #e0891288; }
#diffSeg.brief-diff .seg-b.d2[aria-checked="true"] { background: #7a1818; color: #ffe0e0; box-shadow: inset 0 0 0 2px #ff6b6b, 0 0 12px #c6282888; }
@keyframes derangedWobble { 0%,100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.6deg); } }
#diffSeg.brief-diff .seg-b.d2 { animation: derangedWobble 0.55s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  #diffSeg.brief-diff .seg-b.d2 { animation: none; }
  .deploy-btn { animation: none !important; }
  .bots-setup.brief-in, .mp-brief.brief-in { animation: none !important; }
}

/* DEPLOY pulse */
.deploy-btn {
  min-height: 68px !important; font-size: 2rem !important; border-radius: 4px !important;
  font-family: Impact, 'Arial Black', sans-serif !important; letter-spacing: .16em !important;
  background: var(--hz) !important; color: #111 !important;
  box-shadow: 0 0 0 3px #111, 0 0 18px #d9ad12cc, 4px 4px 0 #111 !important;
  animation: deployPulse 1.8s ease-in-out infinite;
}
@keyframes deployPulse {
  0%,100% { box-shadow: 0 0 0 3px #111, 0 0 14px #d9ad12aa, 4px 4px 0 #111; filter: brightness(1); }
  50% { box-shadow: 0 0 0 3px #111, 0 0 28px #ffe27acc, 4px 4px 0 #111; filter: brightness(1.08); }
}
@keyframes briefSlide {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.bots-setup.brief-in { animation: briefSlide .28s ease-out; }

/* Play Online / SQUAD BRIEFING */
.panel .mp-brief { padding: 12px; gap: 10px; }
.panel:has(.mp-brief) .panel-box {
  background: #241f19;
  border-radius: 8px;
}
.panel:has(.mp-brief) #panelTitle {
  font-family: 'Stencil Std', Stencil, 'Black Ops One', 'Arial Narrow', Impact, 'Arial Black', sans-serif;
  text-transform: uppercase; letter-spacing: .14em; color: #ffe27a;
}
.mp-brief .mp2-quick {
  border-radius: 4px; background: var(--hz); color: #111;
  box-shadow: 0 0 0 3px #111, 0 0 16px #d9ad12aa, 4px 4px 0 #111;
  font-family: Impact, 'Arial Black', sans-serif; letter-spacing: .1em;
}
.mp-brief .mp2-opt, .mp-brief .mp2-friends, .mp-brief .mp2-adv {
  border-radius: 4px; border: 2px solid #15170f; background: #00000014;
}
.mp-brief .mp2-opt { background: var(--ol2); color: var(--kh); font-family: Impact, 'Arial Narrow', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.mp-brief .mp2-friends { background: var(--ol); color: var(--kh); }
.mp-brief .mp2-join input { border-radius: 4px; border: 2px solid #15170f; background: #1b1d14; color: #ffe27a; font-family: 'Courier New', monospace; }
.mp-brief .reg-pick { border-radius: 4px; border: 2px solid #15170f; background: var(--ol2); }
.mp-brief .mp2-note, .mp-brief .mp2-adv summary { color: #3a352d; font-weight: 700; }
.mp-brief .vcard { border-radius: 4px; border: 2px solid #15170f; background: var(--ol2); color: var(--kh); }

/* MISSION DEBRIEF end screen */
.over .debrief {
  width: 100%; max-width: 560px; max-height: calc(100svh - 16px); overflow: hidden;
  padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px;
  margin: 0 auto;
}
.over .debrief .brief-hz { margin: -10px -12px 4px; }
.over .debrief-hd {
  font-family: 'Stencil Std', Stencil, 'Black Ops One', 'Arial Narrow', Impact, 'Arial Black', sans-serif;
  text-transform: uppercase; letter-spacing: .16em; font-weight: 900; text-align: center;
  color: var(--ol2); font-size: .95rem;
}
.over .dsr-stamp {
  position: absolute; right: 12px; top: 18px; z-index: 2;
  transform: rotate(-12deg); border: 4px double var(--dred); color: var(--dred);
  background: #d7cba6cc; padding: 2px 10px;
  font: 900 22px/1.1 Impact, 'Arial Black', sans-serif; letter-spacing: .15em;
  opacity: .8; pointer-events: none; mix-blend-mode: multiply;
}
.over .dsr-stamp.win { color: #2f5a1a; border-color: #2f5a1a; }
.over .dsr-stamp.lose { color: var(--dred); border-color: var(--dred); }
.over .debrief-h {
  margin: 4px 0 0 !important; font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
  -webkit-text-stroke: 1px #15170f !important;
}
.over .debrief-sub { text-align: center; margin: 0; font-weight: 900; font-size: .85rem; color: #3a352d; }
.over .debrief .sumwrap { max-height: 28vh; overflow: auto; border: 2px solid #15170f; background: #00000010; }
.over .debrief .sumtab { font-size: .78rem; }
.over .debrief .xprows, .over .debrief .me-card, .over .debrief .mult-note, .over .debrief .mates, .over .debrief .rematch, .over .debrief .guest-save {
  border-radius: 4px; border: 2px solid #15170f; background: #0000000d;
}
.over .debrief .me-card { background: var(--ol); color: var(--kh); }
.over .debrief .btn.big { border-radius: 4px; font-family: Impact, 'Arial Black', sans-serif; letter-spacing: .1em; }
.over .debrief .menu-grid .btn { border-radius: 4px; background: var(--ol2); color: var(--kh); }

@media (max-height: 780px) {
  .bots-setup.dsr-brief { gap: 6px; padding: 8px; }
  .brief-title { font-size: 1rem; }
  .brief-map.btn.pick { min-height: 56px; }
  .deploy-btn { min-height: 58px !important; font-size: 1.7rem !important; }
  #diffSeg.brief-diff .seg-b { min-height: 48px; }
  .over .debrief { gap: 4px; padding: 8px; }
  .over .debrief .sumwrap { max-height: 22vh; }
  .over .dsr-stamp { font-size: 16px; top: 14px; }
  .over .debrief-h { font-size: clamp(1.3rem, 6vw, 1.9rem) !important; }
}
@media (max-width: 420px) {
  .brief-map.btn.pick { grid-template-columns: 56px 1fr; min-height: 54px; }
  .brief-map.btn.pick img, .brief-map.btn.pick .map-rand { width: 56px; height: 42px; }
  .panel .mp-brief { padding: 10px; gap: 8px; }
  .mp-brief .mp2-quick { font-size: 1.25rem; padding: 14px 10px; }
}


.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg-b { min-height: 42px; padding: .3em; font-size: .9rem; }
.seg-b[aria-checked="true"] { background: var(--yel); color: var(--ink); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.streak { text-align: center; font-weight: 800; color: var(--yel); margin: 0; min-height: 1.2em; }
.foot { margin-top: auto; text-align: center; font-size: .78rem; color: #cbbfa8; } .foot p { margin: 4px 0; line-height: 1.6; }

/* panels */
.panel, .pause { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 12px; }
.panel-box { width: min(560px, 100%); max-height: calc(100svh - 24px); overflow-y: auto; background: #241f19; border: 3px solid var(--ink); border-radius: 22px; padding: 14px; box-shadow: 0 8px 0 var(--ink); user-select: text; -webkit-user-select: text; }
.panel-box header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.panel-box h2 { margin: 0; color: var(--yel); font-size: 1.5rem; }
.panel-box p { line-height: 1.45; }
.field { display: grid; gap: 4px; margin: 8px 0; } .field input, .field select, .filter { padding: 10px 12px; border-radius: 12px; border: 3px solid var(--ink); background: var(--cream); color: var(--ink); font-weight: 700; min-height: 46px; width: 100%; }
.err { color: #ff8a80; font-weight: 800; min-height: 1.2em; } .ok { color: #8aff9a; font-weight: 800; }
.tabs { display: flex; gap: 6px; margin: 10px 0; flex-wrap: wrap; } .tabs .btn[aria-selected="true"] { background: var(--yel); color: var(--ink); }
table.lb { width: 100%; border-collapse: collapse; font-size: .92rem; } .lb td, .lb th { padding: 6px 4px; border-bottom: 1px solid #3a342c; text-align: left; } .lb td.n { text-align: right; font-variant-numeric: tabular-nums; } .lb tr.me td { color: var(--yel); }
.lb button.linky { background: none; border: 0; color: #fff; font-weight: 800; padding: 0; cursor: pointer; text-decoration: underline dotted; text-align: left; }
.grid-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.item { border: 3px solid var(--ink); border-radius: 14px; background: #3a352d; padding: 8px; text-align: center; color: #fff; cursor: pointer; font-weight: 800; font-size: .85rem; }
.item .sw { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 6px; border: 3px solid var(--ink); }
.item.locked { opacity: .45; cursor: not-allowed; } .item.on { outline: 3px solid var(--yel); }
.chal { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: #2f2a23; margin: 6px 0; } .chal .xpbar { flex: 1; } .chal.done { background: #23402a; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .stats div { background: #2f2a23; border-radius: 12px; padding: 8px; text-align: center; } .stats b { display: block; font-size: 1.3rem; color: var(--yel); }

/* HUD */
.hud { position: fixed; inset: 0; z-index: 5; pointer-events: none; font-weight: 900; text-shadow: 0 2px 0 #000; }
.hud .btn, .hud input, .hud .buy, .hud .radio, .hud .board, .hud .pause, .hud .touch .tb, .hud .roundend .btn, .hud form { pointer-events: auto; }
#mini { position: absolute; left: max(8px, env(safe-area-inset-left)); top: max(8px, env(safe-area-inset-top)); width: 120px; height: 120px; border: 3px solid var(--ink); border-radius: 14px; background: rgba(0,0,0,.45); }
.money { position: absolute; left: max(10px, env(safe-area-inset-left)); top: calc(max(8px, env(safe-area-inset-top)) + 126px); color: #9aff7a; font-size: 1.15rem; }
.topbar { position: absolute; top: max(6px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; }
.tscore { min-width: 40px; text-align: center; padding: 4px 8px; border: 3px solid var(--ink); border-radius: 10px; font-size: 1.2rem; }
.t0 { background: var(--org); color: var(--ink); text-shadow: none; } .t1 { background: var(--teal); color: var(--ink); text-shadow: none; }
.mid { display: flex; flex-direction: column; align-items: center; background: rgba(0,0,0,.55); border-radius: 10px; padding: 2px 10px; }
.timer { font-size: 1.4rem; } .timer.nuke { color: var(--red); animation: blink .5s infinite alternate; }
@keyframes blink { to { opacity: .45; } }
.pips { display: flex; gap: 3px; height: 8px; } .pips i { width: 12px; height: 7px; border-radius: 3px; } .pips i.dead { opacity: .25; }
.feed { position: absolute; right: max(8px, env(safe-area-inset-right)); top: calc(max(8px, env(safe-area-inset-top)) + 54px); display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: .78rem; }
.feed div { background: rgba(0,0,0,.6); padding: 3px 8px; border-radius: 8px; white-space: nowrap; } .feed div.mine { outline: 2px solid var(--red); } .feed .w { color: #ddd; margin: 0 6px; font-size: .9em; }
.cross { position: absolute; left: 50%; top: 50%; width: 0; height: 0; --g: 6px; }
.cross i { position: absolute; background: #5cff6a; box-shadow: 0 0 0 1px #000; } .cross i:nth-child(1), .cross i:nth-child(2) { width: 2px; height: 8px; left: -1px; } .cross i:nth-child(1) { bottom: var(--g); } .cross i:nth-child(2) { top: var(--g); }
.cross i:nth-child(3), .cross i:nth-child(4) { height: 2px; width: 8px; top: -1px; } .cross i:nth-child(3) { right: var(--g); } .cross i:nth-child(4) { left: var(--g); }
.hitm { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; opacity: 0; background: conic-gradient(from 45deg, #fff 0 4%, transparent 4% 25%, #fff 25% 29%, transparent 29% 50%, #fff 50% 54%, transparent 54% 75%, #fff 75% 79%, transparent 79%); border-radius: 50%; -webkit-mask: radial-gradient(circle, transparent 5px, #000 6px); mask: radial-gradient(circle, transparent 5px, #000 6px); }
.hitm.on { animation: hm .25s; } .hitm.head { filter: hue-rotate(-60deg) saturate(9) sepia(1); }
@keyframes hm { from { opacity: 1; transform: scale(1.4); } to { opacity: 0; transform: scale(1); } }
.scope { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 0 34vmin, #000 34.3vmin); }
.scope::before, .scope::after { content: ""; position: absolute; background: #000; } .scope::before { left: 0; right: 0; top: 50%; height: 2px; } .scope::after { top: 0; bottom: 0; left: 50%; width: 2px; }
.banner { position: absolute; left: 0; right: 0; top: 22%; text-align: center; font-size: clamp(1.8rem, 7vw, 3.2rem); color: var(--yel); -webkit-text-stroke: 2px var(--ink); opacity: 0; transition: opacity .2s; }
.banner.on { opacity: 1; animation: slam .35s; } @keyframes slam { from { transform: scale(1.8); } }
.sub { position: absolute; left: 0; right: 0; top: calc(22% + 3.6rem); text-align: center; font-size: 1rem; }
.pop { position: absolute; left: 0; top: 0; font-size: 2.6rem; color: #fff; -webkit-text-stroke: 2px var(--ink); opacity: 0; white-space: nowrap; }
.pop.on { animation: popa .9s ease-out; } @keyframes popa { 0% { opacity: 1; transform: translate(-50%,-50%) scale(.3) rotate(-10deg); } 25% { transform: translate(-50%,-50%) scale(1.3) rotate(6deg); } 100% { opacity: 0; transform: translate(-50%,-120%) scale(1); } }
.bar { position: absolute; left: 50%; top: 62%; transform: translateX(-50%); width: min(320px, 70vw); height: 22px; border: 3px solid var(--ink); border-radius: 12px; background: #000; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--yel), var(--org)); } .bar span { position: absolute; inset: 0; text-align: center; font-size: .8rem; line-height: 16px; }
.vitals { position: absolute; left: max(10px, env(safe-area-inset-left)); bottom: max(10px, env(safe-area-inset-bottom)); display: flex; gap: 8px; }
.vitals > div { background: rgba(0,0,0,.6); border: 3px solid var(--ink); border-radius: 12px; padding: 2px 10px; display: flex; align-items: baseline; gap: 6px; } .vitals b { font-size: 1.6rem; } .vitals small { font-size: .7rem; color: #cbbfa8; }
.hp b { color: #fff; } .hp.low b { color: var(--red); }
.ammo { position: absolute; right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); background: rgba(0,0,0,.6); border: 3px solid var(--ink); border-radius: 12px; padding: 2px 10px; display: flex; align-items: baseline; gap: 6px; }
.ammo b { font-size: 1.6rem; } .ammo small { font-size: .7rem; color: #cbbfa8; } .ammo.low b { color: var(--red); }
.nades { position: absolute; right: max(10px, env(safe-area-inset-right)); bottom: calc(max(10px, env(safe-area-inset-bottom)) + 50px); font-size: .8rem; color: #ddd; }
.chatlog { position: absolute; left: max(10px, env(safe-area-inset-left)); bottom: calc(max(10px, env(safe-area-inset-bottom)) + 56px); font-size: .8rem; max-width: 46vw; display: flex; flex-direction: column; gap: 2px; }
.chatlog div { background: rgba(0,0,0,.5); padding: 2px 8px; border-radius: 8px; } .chatlog .r { color: var(--yel); }
.dmg { position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(255,40,20,.0); transition: box-shadow .3s; } .dmg.on { box-shadow: inset 0 0 90px rgba(255,40,20,.7); transition: none; }
.killcam { position: absolute; top: 18%; left: 50%; transform: translateX(-50%); text-align: center; background: rgba(0,0,0,.6); padding: 6px 16px; border-radius: 12px; border: 3px solid var(--red); } .killcam b { color: var(--red); font-size: 1.4rem; display: block; }
.spec { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.6); padding: 4px 12px; border-radius: 10px; font-size: .9rem; }
.hudbtns { position: absolute; top: max(6px, env(safe-area-inset-top)); right: calc(max(8px, env(safe-area-inset-right)) + 108px); display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: calc(100vw - 120px); }
.hint { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); background: rgba(0,0,0,.6); padding: 4px 12px; border-radius: 10px; font-size: .85rem; opacity: 0; transition: opacity .3s; white-space: nowrap; } .hint.on { opacity: 1; }
.radio { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px; border-radius: 50%; background: rgba(0,0,0,.65); border: 3px solid var(--ink); }
.radio button { position: absolute; width: 104px; min-height: 40px; margin: -20px -52px; font-size: .78rem; padding: .2em .4em; }
.chatin { position: absolute; left: 50%; top: 30%; transform: translateX(-50%); display: flex; gap: 6px; width: min(420px, 90vw); } .chatin input { flex: 1; padding: 8px 12px; border-radius: 12px; border: 3px solid var(--ink); }
.buy, .board, .roundend { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(720px, 96vw); max-height: 86svh; overflow-y: auto; background: rgba(28,24,19,.95); border: 3px solid var(--ink); border-radius: 20px; padding: 12px; box-shadow: 0 8px 0 var(--ink); text-shadow: none; }
.buy h3 { margin: 6px 0; color: var(--yel); font-size: .9rem; } .buy .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 5px; }
.buy .btn { border-radius: 14px; text-align: left; font-size: .8rem; min-height: 44px; padding: 6px 9px; } .buy .btn small { display: block; color: #9aff7a; } .buy .btn.own { background: #23402a; }
.buy header { display: flex; justify-content: space-between; align-items: center; }
.board table { width: 100%; border-collapse: collapse; font-size: .85rem; } .board th, .board td { padding: 4px; text-align: right; } .board td:first-child, .board th:first-child { text-align: left; } .board tr.dead td { opacity: .5; } .board tr.you td { color: var(--yel); }
.board h3 { margin: 8px 0 2px; } .board .h0 { color: var(--org); } .board .h1 { color: var(--teal); }
.roundend { text-align: center; } .roundend h2 { margin: 0; font-size: 2rem; } .roundend .mvp { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 8px; font-size: 1.1rem; }
.touch { position: absolute; inset: 0; pointer-events: none; } /* only the buttons take touches; the stick and look drags go to the canvas underneath */
.touch .tb { pointer-events: auto; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.touch .stick { pointer-events: none; }
.stick { position: absolute; left: max(18px, env(safe-area-inset-left)); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 52px); width: 136px; height: 136px; border-radius: 50%; background: rgba(255,255,255,.08); border: 3px solid rgba(255,255,255,.25); }
.stick i { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px; border-radius: 50%; background: rgba(255,255,255,.35); border: 3px solid var(--ink); }
.tb { position: absolute; border-radius: 50%; border: 3px solid var(--ink); background: rgba(40,36,30,.75); color: #fff; font-weight: 900; font-size: .68rem; box-shadow: 0 4px 0 var(--ink); touch-action: none; width: 58px; height: 58px; padding: 0; }
.tb.on { background: var(--yel); color: var(--ink); } .tb:active, .tb.down { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.fire { right: max(22px, env(safe-area-inset-right)); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 70px); width: 92px; height: 92px; background: rgba(255,59,48,.8); font-size: .95rem; }
.jump { right: calc(max(22px, env(safe-area-inset-right)) + 104px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 52px); }
.crouch { right: calc(max(22px, env(safe-area-inset-right)) + 112px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 120px); }
.reload { right: calc(max(22px, env(safe-area-inset-right)) + 70px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 172px); }
.scopeb { right: max(22px, env(safe-area-inset-right)); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 180px); }
.use { right: calc(max(22px, env(safe-area-inset-right)) + 140px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 190px); width: 72px; height: 72px; background: rgba(255,207,0,.85); color: var(--ink); }
.swap { right: calc(max(22px, env(safe-area-inset-right)) + 120px); bottom: max(8px, env(safe-area-inset-bottom)); width: 50px; height: 40px; border-radius: 12px; }
.frag { left: calc(max(18px, env(safe-area-inset-left)) + 150px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 130px); width: 50px; height: 50px; }
.smk { left: calc(max(18px, env(safe-area-inset-left)) + 150px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 70px); width: 50px; height: 50px; }
.kam { left: calc(max(18px, env(safe-area-inset-left)) + 150px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 190px); width: 50px; height: 50px; background: rgba(255,61,242,.8); }
html.touchmode .ammo { bottom: max(8px, env(safe-area-inset-bottom)); }
html.touchmode .vitals { left: 50%; transform: translateX(-50%); bottom: max(6px, env(safe-area-inset-bottom)); }
html.touchmode .vitals b, html.touchmode .ammo b { font-size: 1.2rem; }
html.touchmode .chatlog { bottom: auto; top: 40%; }
@media (max-height: 500px) { #mini { width: 92px; height: 92px; } .money { top: calc(max(8px, env(safe-area-inset-top)) + 98px); font-size: .95rem; } .stick { width: 120px; height: 120px; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 30px); } .fire { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 50px); } .hudbtns .btn { min-height: 32px; font-size: .75rem; padding: .2em .6em; } }

/* match over */
.over { background: rgba(10,8,6,.88); z-index: 20; } .over > * { width: 100%; max-width: 560px; }
.over h1 { margin: 0; text-align: center; font-size: clamp(2.4rem, 12vw, 4rem); -webkit-text-stroke: 2px var(--ink); }
.over .win { color: var(--yel); } .over .lose { color: #ff8a80; }
.xprows { background: #241f19; border: 3px solid var(--ink); border-radius: 18px; padding: 10px; } .xprows div { display: flex; justify-content: space-between; padding: 3px 0; } .xprows .tot { border-top: 2px solid #444; margin-top: 4px; padding-top: 6px; color: var(--yel); font-size: 1.2rem; }
.unlock { text-align: center; color: var(--yel); font-weight: 900; animation: slam .4s; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--yel); color: var(--ink); font-weight: 900; padding: 8px 16px; border-radius: 999px; border: 3px solid var(--ink); opacity: 0; transition: opacity .25s; pointer-events: none; max-width: 92vw; text-align: center; }
.toast.on { opacity: 1; }

/* privacy / terms / hq pages */
html.doc, html.doc body { overflow: auto; height: auto; user-select: text; -webkit-user-select: text; overscroll-behavior: auto; }
html.doc body { overflow: visible; }   /* 10.1.8: body must not be its own scroller (with overscroll-behavior:none it swallowed wheel/touch) */
/* Visually hidden, still available to assistive tech (clip, not display:none) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.docpage .press-media { display: grid; gap: 12px; margin: 1em 0; }
.docpage .press-media img { max-width: 100%; height: auto; border: 3px solid #000; background: #1a120c; }
/* /about page (10.2.7) — does not affect the lobby or game */
.docpage.about-page { max-width: 960px; padding: 18px 16px 72px; line-height: 1.65; }
.docpage.about-page .about-lead { font-size: 1.15rem; color: #f3e9d8; margin: 0 0 .55em; max-width: 38em; }
.docpage.about-page .about-byline { color: #cbbfa8; margin: 0 0 1.4em; }
.about-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 1.5em; }
@media (max-width: 640px) { .about-cards { grid-template-columns: 1fr; } }
.about-card {
  background: linear-gradient(160deg, #2a2218 0%, #1a1612 55%, #241a10 100%);
  border: 3px solid var(--ink); border-radius: 20px; padding: 16px 16px 18px;
  box-shadow: 0 6px 0 var(--ink), inset 0 0 0 1px #ffcf0022;
  position: relative; overflow: hidden; color: #f3e9d8;
}
.about-card::before {
  content: ""; display: block; height: 14px; margin: -16px -16px 14px;
  background: repeating-linear-gradient(-45deg, #d9ad12 0 10px, #11140b 10px 20px);
  border-bottom: 3px solid var(--ink);
}
.about-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: #6b4aa0;
}
.about-card h2 {
  font-family: "Luckiest Guy", Impact, sans-serif; font-weight: 400;
  color: var(--yel); margin: 0 0 .4em; font-size: 1.25rem; letter-spacing: .02em;
  text-shadow: 0 2px 0 var(--ink);
}
.about-card p { margin: 0; line-height: 1.5; color: #f3e9d8; }
.about-acc {
  border: 3px solid var(--ink); border-radius: 18px;
  background: linear-gradient(160deg, #2a2218 0%, #1a1612 100%);
  box-shadow: 0 5px 0 var(--ink); margin: 0 0 12px; color: #f3e9d8; overflow: hidden;
}
.about-acc > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px; user-select: none; -webkit-user-select: none;
}
.about-acc > summary::-webkit-details-marker, .about-acc > summary::marker { display: none; content: none; }
.about-acc > summary h2 {
  margin: 0; font-family: "Luckiest Guy", Impact, sans-serif; font-weight: 400;
  font-size: 1.2rem; color: var(--yel); letter-spacing: .02em; text-shadow: 0 2px 0 var(--ink);
}
.about-acc > summary::after {
  content: ""; width: 10px; height: 10px; flex: none;
  border-right: 3px solid var(--yel); border-bottom: 3px solid var(--yel);
  transform: rotate(45deg); transition: transform .15s; margin-top: -4px;
}
.about-acc[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.about-acc > summary:hover, .about-acc > summary:focus-visible { background: rgba(255, 207, 0, .08); }
.about-acc > summary:focus-visible { outline: 3px dashed var(--yel); outline-offset: -3px; }
.about-acc .about-acc-body { padding: 8px 16px 16px; border-top: 2px dashed #4a443a; }
.about-acc .about-acc-body h3 { color: var(--org); margin: 1em 0 .35em; font-size: 1.05rem; }
.about-acc .about-acc-body p { margin: 0 0 .8em; }
.about-acc .about-acc-body ul { margin: 0 0 .8em; padding-left: 1.2em; }
.about-acc .about-acc-body li { margin: 0 0 .35em; }
.about-acc .about-acc-body a { color: var(--yel); }

.docpage { max-width: 760px; margin: 0 auto; padding: 18px 16px 40px; line-height: 1.6; }
.docpage h1 { color: var(--yel); font-family: "Luckiest Guy", Impact, sans-serif; font-weight: 400; }
.docpage h2 { color: var(--org); margin-top: 1.6em; }
/* /about: win over .docpage h2 orange + top margin */
.docpage.about-page .about-card h2,
.docpage.about-page .about-acc > summary h2 { color: var(--yel); margin-top: 0; }
.docpage.about-page .about-card h2 { margin-bottom: .4em; }
.docpage.about-page .about-acc .about-acc-body { line-height: 1.7; font-size: 1rem; } .docpage a.btn { display: inline-block; text-decoration: none; color: #fff; }
.docpage table { border-collapse: collapse; width: 100%; } .docpage td, .docpage th { border-bottom: 1px solid #3a342c; padding: 6px; text-align: right; } .docpage td:first-child, .docpage th:first-child { text-align: left; }
html.touchmode .swap { right: calc(max(22px, env(safe-area-inset-right)) + 196px); bottom: max(6px, env(safe-area-inset-bottom)); }
html.touchmode .nades { bottom: auto; top: calc(max(8px, env(safe-area-inset-top)) + 54px); right: auto; left: calc(max(8px, env(safe-area-inset-left)) + 130px); color: var(--yel); }
@media (max-height: 500px) { html.touchmode .nades { left: calc(max(8px, env(safe-area-inset-left)) + 100px); } }

/* online squads */
.voicelist { position: absolute; left: max(10px, env(safe-area-inset-left)); top: 46%; display: flex; flex-direction: column; gap: 4px; font-size: .85rem; }
.voicelist div { background: rgba(0,0,0,.55); border-radius: 999px; padding: 2px 10px 2px 6px; }
.voicelist .mic { color: #5cff9f; margin-right: 4px; }
.touchmode .voicelist { top: 38%; }
.tb.talk { right: calc(max(12px, env(safe-area-inset-right)) + 150px); top: calc(max(8px, env(safe-area-inset-top)) + 64px); background: rgba(20,90,50,.8); }
.tb.talk.down { background: #5cff9f; color: #000; }
.board .btn.small { font-size: .65rem; padding: .1em .5em; min-height: 0; }
.squad-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; }
.squad-list li { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.25); border-radius: 12px; padding: 6px 10px; font-weight: 900; }
.squad-list li .tm { margin-left: auto; }
.code-big { font-size: 2rem; letter-spacing: .2em; text-align: center; color: var(--yel); margin: 4px 0; }

/* worldwide ticker (lobby) */
.ticker { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 520px; margin: 8px auto 0; padding: .45em .9em; font-size: .9rem; background: var(--yel); color: var(--ink); overflow: hidden; white-space: nowrap; }
.ticker[hidden] { display: none; }
.ticker #tickTxt { overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.ticker.in #tickTxt { animation: tickIn .45s cubic-bezier(.2,1.4,.4,1); }
@keyframes tickIn { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 420px) { .ticker { font-size: .8rem; } }
@media (prefers-reduced-motion: reduce) { .ticker.in #tickTxt { animation: none; } }

/* install app button (lobby) */
.install { display: block; width: 100%; max-width: 520px; margin: 8px auto 0; }
.install[hidden] { display: none; }

/* email verification nudge in the lobby */
.verifybar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: 4px auto; max-width: 560px; padding: 6px 10px; border: 2px solid #000; border-radius: 14px; background: rgba(255, 178, 26, .16); font-size: .82rem; font-weight: 700; text-align: center; }
.verifybar[hidden] { display: none; }

/* admin-panel messages: announcement strip / maintenance notice / ban notice */
.sitebar { position: relative; z-index: 3; margin: 0 auto 4px; max-width: 640px; padding: 6px 12px; border: 2px solid #000; border-radius: 14px; background: var(--yel, #ffb21a); color: #000; font-weight: 800; font-size: .85rem; text-align: center; }
.sitebar.warn { background: #ff4d4d; }
.sitebar[hidden] { display: none; }
/* Turnstile human check: invisible unless Cloudflare asks for a tap */
.ts-host { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 9999; width: min(320px, 92vw); opacity: 0; pointer-events: none; }
.ts-host.show { opacity: 1; pointer-events: auto; background: #221c15; border: 3px solid #000; border-radius: 16px; padding: 8px; box-shadow: 0 6px 0 #000; }

/* ---------------- friends ---------------- */
.nbadge { display: inline-block; min-width: 1.3em; padding: 0 .35em; margin-left: .3em; border-radius: 99px; background: #e8322a; color: #fff; font-style: normal; font-size: .75em; line-height: 1.3em; border: 2px solid #000; vertical-align: middle; }
.nbadge[hidden] { display: none; }
.flist { list-style: none; margin: .4rem 0; padding: 0; }
.frow { display: flex; align-items: center; gap: .45rem; padding: .4rem .2rem; border-bottom: 1px solid rgba(255,255,255,.08); justify-content: space-between; flex-wrap: wrap; }
.fname { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; padding-left: 1rem; }
.fname b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fname small { opacity: .75; font-size: .75rem; }
.fbtns { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; align-items: center; max-width: 100%; }
.flist .frow .fname { flex: 1 1 60%; }
.flist .frow:has(.fbtns > :nth-child(4)) .fbtns { flex: 1 1 100%; justify-content: flex-start; padding-left: 1.8rem; }
.fmore { background: #2a241d; color: inherit; border: 2px solid #000; border-radius: 10px; padding: .25rem; font: inherit; font-size: .85rem; }
.fdot { position: absolute; left: 0; top: .35rem; width: .65rem; height: .65rem; border-radius: 50%; background: #3fbf5a; box-shadow: 0 0 6px #3fbf5a; }
p > .fdot { position: static; display: inline-block; margin-right: .3rem; }
.fdot.match, .fdot.room { background: #3fbf5a; box-shadow: 0 0 6px #3fbf5a; }
.fdot.room { background: #3aa0ff; box-shadow: 0 0 6px #3aa0ff; }
.fdot.off { background: #666; box-shadow: none; }
.fadd { display: flex; gap: .4rem; margin: .4rem 0; }
.fadd input { flex: 1; min-width: 0; padding: .55rem .7rem; border-radius: 12px; border: 3px solid #000; background: #fff8ec; color: #1b1510; font: inherit; }
.fcode { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-top: .7rem; padding: .5rem .6rem; border: 2px dashed rgba(255,255,255,.25); border-radius: 12px; }
.fnotes { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .5rem; }
.fnote { background: rgba(255,200,60,.12); border-left: 4px solid #f3b632; padding: .4rem .55rem; border-radius: 8px; font-size: .9rem; }
.unread { color: #ff8b5a; font-style: normal; font-weight: 900; }
.dmlog { max-height: 45vh; overflow-y: auto; display: flex; flex-direction: column; gap: .35rem; padding: .3rem; background: rgba(0,0,0,.25); border-radius: 12px; }
.dm { align-self: flex-start; max-width: 80%; background: #3a3128; padding: .4rem .6rem; border-radius: 12px 12px 12px 4px; }
.dm.me { align-self: flex-end; background: #c7581c; border-radius: 12px 12px 4px 12px; }
.dm span { display: block; overflow-wrap: anywhere; }
.dm small { opacity: .6; font-size: .68rem; }
.invpop { position: fixed; left: 50%; top: 12px; transform: translateX(-50%); z-index: 400; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; justify-content: center;
  width: min(440px, 94vw); background: #221c15; border: 3px solid #000; border-radius: 16px; padding: .6rem .8rem; box-shadow: 0 6px 0 #000; animation: popin .25s ease-out; }
.invpop[hidden] { display: none; }
@keyframes popin { from { transform: translate(-50%, -30px); opacity: 0; } }
.invlist, .mates { margin: .5rem 0; padding: .4rem .5rem; border-radius: 12px; background: rgba(0,0,0,.25); }

.ts-tip { color: #ffc400; font-weight: 800; font-size: .85rem; text-align: center; margin: 0 0 6px; }
.ts-slot { min-height: 70px; margin: 10px 0 4px; display: flex; align-items: center; justify-content: center; }
.ts-slot iframe { max-width: 100%; }
.ts-wait { font-size: .8rem; color: #c9b9a0; text-align: center; }
.btn.busy { opacity: .85; cursor: progress; }
.spin { display: inline-block; width: 1em; height: 1em; margin-right: .5em; vertical-align: -0.15em; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.panel.full .panel-box { width: 100%; max-width: none; height: 100%; max-height: 100svh; border-radius: 0; border: 0; box-shadow: none; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.panel.full #panelBody { width: min(440px, 100%); }
.mailbig { font-size: 4rem; line-height: 1; margin: 6px 0; }
.addr { display: inline-block; background: #15120e; border: 2px solid #000; border-radius: 12px; padding: 6px 12px; font-weight: 800; color: #ffc400; word-break: break-all; }
.chk-wait { font-size: .85rem; color: #c9b9a0; margin-top: 10px; }
.linkish { background: none; border: 0; color: #ffc400; text-decoration: underline; font: inherit; font-weight: 700; cursor: pointer; padding: 6px; }
.ts-hint { font-size: .8rem; color: #ffc400; text-align: center; margin: 0 0 6px; min-height: 1em; }
.ts-hint:empty { display: none; }
.btn:disabled:not(.busy) { opacity: .55; filter: grayscale(.4); }
.dots { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: block; animation: dotb 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dotb { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; opacity: 1; } }

/* "Uh oh!" bubble on the HUD when something is about to hit you */
.uhoh-hud { position: absolute; left: 50%; top: 30%; transform: translate(-50%, 0) scale(0); background: #fff; color: #e0202a; border: 4px solid #000; border-radius: 26px; padding: 6px 18px; font: 900 1.5rem/1.1 'Luckiest Guy', system-ui; letter-spacing: 1px; pointer-events: none; opacity: 0; z-index: 6; box-shadow: 0 5px 0 #000; }
.uhoh-hud::after { content: ''; position: absolute; left: 50%; bottom: -16px; margin-left: -10px; border: 10px solid transparent; border-top: 12px solid #000; }
.uhoh-hud.on { animation: uhoh 1.4s ease-out forwards; }
@keyframes uhoh { 0% { opacity: 0; transform: translate(-50%, 0) scale(.3) rotate(-8deg); } 12% { opacity: 1; transform: translate(-50%, 0) scale(1.15) rotate(4deg); } 22% { transform: translate(-50%, 0) scale(1) rotate(-2deg); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -30px) scale(.95); } }

.mode-tag { position: absolute; top: calc(env(safe-area-inset-top) + 50px); left: 50%; transform: translateX(-50%); font: 800 .78rem/1.2 system-ui, sans-serif; color: #fff; text-shadow: 0 1px 2px #000; white-space: nowrap; pointer-events: none; }
.mode-tag:empty { display: none; }
.respawn { position: absolute; left: 50%; top: 40%; transform: translateX(-50%); font-size: 2rem; color: #ffd23f; text-shadow: 0 3px 0 #000; pointer-events: none; z-index: 5; }

/* mode + map picker */
.pick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.btn.pick { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-height: 48px; padding: 6px 12px; line-height: 1.15; }
.btn.pick small { font-size: .68rem; opacity: .75; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.btn.pick b { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.btn.pick::after { content: '\203A'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; opacity: .6; }
.btn.pick { position: relative; padding-right: 26px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pcard { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 12px 14px; border: 3px solid #000; border-radius: 16px; background: #2b231a; color: #f3e9d8; box-shadow: 0 4px 0 #000; cursor: pointer; font: inherit; touch-action: manipulation; }
.pcard:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }
.pcard b { font-size: 1.02rem; color: #ffd23f; }
.pcard span { font-size: .83rem; color: #d8c8ae; line-height: 1.3; }
.pcard em { font-style: normal; font-size: .72rem; font-weight: 800; color: #9fe8ff; margin-top: 2px; }
.pcard.on { background: #4a3a1c; outline: 3px solid #ffd23f; outline-offset: -6px; }
.pcard.map img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; border: 2px solid #000; margin-bottom: 4px; background: #111; }
/* Random map tile (CSS ? — same card shape as real map thumbs) */
.pcard.map .map-rand, .rs-map .map-rand { display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #3a2a18 0%, #1a120a 55%, #0e0a06 100%); color: var(--yel); font: 900 2.6rem/1 'Luckiest Guy', Impact, sans-serif; letter-spacing: .04em; text-shadow: 0 3px 0 #000, 0 0 18px rgba(255,214,0,.35); border: 2px solid #000; user-select: none; }
.pcard.map .map-rand { width: 100%; aspect-ratio: 16/9; border-radius: 10px; margin-bottom: 4px; }
.rs-map .map-rand { position: absolute; inset: 0; border: 0; border-radius: 0; font-size: 2.1rem; opacity: .95; }
.rs-map[aria-checked="true"] .map-rand { opacity: 1; }
.chip.map.rand { background-image: linear-gradient(145deg, #3a2a18, #1a120a) !important; }
.chip.map.rand::before { content: '?'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 900 1.8rem/1 'Luckiest Guy', Impact, sans-serif; color: var(--yel); text-shadow: 0 2px 0 #000; opacity: .55; pointer-events: none; }

/* online squad: host's match settings (compact rows, no tabs; read-only for non-hosts) */
.room-set { display: grid; gap: 6px; margin: 10px 0; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.28); }
.rs-row { display: grid; grid-template-columns: 6.5em 1fr; align-items: center; gap: 8px; font-size: .85rem; }
.rs-row > span { opacity: .8; }
.rs-row select { width: 100%; min-height: 36px; font: inherit; border-radius: 9px; padding: 4px 8px; background: #241a12; color: #fff; border: 1px solid rgba(255,255,255,.18); }
.seg.mini { display: flex; flex-wrap: wrap; gap: 4px; }
.seg.mini .seg-b { flex: 1 1 auto; min-height: 34px; padding: 4px 8px; font-size: .8rem; }
.room-set.ro select, .room-set.ro .seg-b { opacity: 1; cursor: default; }
.room-set.ro .seg-b[aria-checked="false"] { opacity: .45; }
.rs-fixed { font-size: .9rem; }
.rs-note { font-size: .78rem; opacity: .75; margin: 2px 0 0; text-align: center; }

/* aim down sights: the sniper scope gets a second, tighter zoom (thicker posts + a zoom tag) */
.scope.z2 { background: radial-gradient(circle at 50% 50%, transparent 0 30vmin, #000 30.3vmin); }
.scope.z2::before { height: 1px; box-shadow: 0 0 0 0 #000, -18vmin 0 0 1px #000, 18vmin 0 0 1px #000; }
.scope.z2::after { width: 1px; }
.tb.scopeb.on { background: var(--yel); color: var(--ink); }

/* weapon slot strip (guns + grenades + firecracker) and the phone's hold-SWAP wheel */
.slots { position: absolute; right: max(12px, env(safe-area-inset-right)); bottom: calc(max(12px, env(safe-area-inset-bottom)) + 52px); display: flex; gap: 4px; pointer-events: none; font-size: .62rem; font-weight: 700; }
.slots .sl { padding: 3px 6px; border-radius: 6px; background: rgba(0,0,0,.45); color: rgba(255,255,255,.7); white-space: nowrap; }
.slots .sl i { font-style: normal; opacity: .6; margin-right: 3px; }
.slots .sl.on { background: var(--yel); color: var(--ink); }
.touchmode .slots .sl i { display: none; }
.touchmode .slots { bottom: auto; top: calc(max(8px, env(safe-area-inset-top)) + 64px); right: 50%; transform: translateX(50%); }
.slot-wheel { position: fixed; inset: 0; z-index: 30; pointer-events: none; background: radial-gradient(circle at 70% 60%, rgba(0,0,0,.35), transparent 60%); }
.slot-wheel b { position: absolute; transform: translate(-50%, -50%); padding: 8px 10px; border-radius: 10px; background: rgba(20,14,10,.9); color: #fff; font-size: .72rem; white-space: nowrap; border: 2px solid rgba(255,255,255,.2); }
.slot-wheel b.on { background: var(--yel); color: var(--ink); border-color: var(--ink); }

details.keys { margin: 8px 0; } details.keys summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.krow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 3px 0; font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.krow .btn { min-width: 7.5em; }
.flash-ov { position: absolute; inset: 0; background: #fffef4; opacity: 0; pointer-events: none; transition: opacity .15s; }
#buy .row { flex-wrap: wrap; } #buy h3 { margin: 8px 0 4px; font-size: .85rem; }
.srv-pills { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 10px auto 2px; width: max-content; max-width: min(94vw, 100%); }
.srv-pills .srv-pill { margin: 0; cursor: pointer; touch-action: manipulation; }
.srv-pill { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 8px; margin: 10px auto 2px; width: max-content; max-width: 94vw; padding: 8px 16px;
  border: 3px solid var(--ink); border-radius: 999px; background: #241d16; box-shadow: 0 4px 0 var(--ink); font-size: .85rem; color: #f3e6cc; text-align: center; }
.srv-pill b { font-family: 'Luckiest Guy', system-ui, sans-serif; font-weight: normal; letter-spacing: .4px; color: #5cff7a; }
.srv-pill.busy b { color: #ffc23d; } .srv-pill.down b { color: #ff5a5a; }
.srv-pill i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #5cff7a; box-shadow: 0 0 0 0 rgba(92,255,122,.7); animation: srvpulse 1.6s ease-out infinite; }
.srv-pill.busy i { background: #ffc23d; box-shadow: 0 0 0 0 rgba(255,194,61,.7); } .srv-pill.down i { background: #ff5a5a; box-shadow: 0 0 0 0 rgba(255,90,90,.7); }
@keyframes srvpulse { 70% { box-shadow: 0 0 0 7px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
@media (prefers-reduced-motion: reduce) { .srv-pill i { animation: none; } }
.srv-pill .srv-chev { opacity: .7; font-size: .75rem; margin-left: 2px; }
.srv-panel { display: flex; flex-direction: column; gap: 6px; width: min(92vw, 340px); padding: 10px; border: 3px solid var(--ink); border-radius: 16px; background: #1a1612; box-shadow: 0 6px 0 var(--ink); z-index: 8; }
.srv-panel-h { font-family: 'Luckiest Guy', system-ui, sans-serif; color: var(--yel); letter-spacing: .04em; font-size: 1.05rem; padding: 2px 4px 6px; text-shadow: 0 2px 0 var(--ink); }
.srv-row { display: grid; grid-template-columns: 12px 1fr auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px; align-items: center; padding: 8px 10px; border-radius: 12px; background: #241d16; border: 2px solid #0006; font-size: .78rem; color: #f3e6cc; }
.srv-row i { grid-row: 1 / span 2; width: 10px; height: 10px; border-radius: 50%; background: #5cff7a; }
.srv-row.busy i { background: #ffc23d; } .srv-row.down i { background: #ff5a5a; }
.srv-row .srv-name { font-weight: 800; color: #fff4e0; }
.srv-row .srv-st { justify-self: end; font-weight: 800; color: #5cff7a; }
.srv-row.busy .srv-st { color: #ffc23d; } .srv-row.down .srv-st { color: #ff5a5a; }
.srv-row .srv-ping, .srv-row .srv-n { opacity: .85; font-size: .72rem; }
.srv-row .srv-n { justify-self: end; }
@media (max-width: 560px) { .srv-pill { font-size: .78rem; padding: 7px 12px; } .srv-panel { width: min(94vw, 320px); } }

.net-ind { position: absolute; right: 8px; bottom: calc(env(safe-area-inset-bottom) + 4px); display: flex; align-items: flex-end; gap: 2px; padding: 3px 6px; border-radius: 8px; background: rgba(0,0,0,.35); font-size: .65rem; color: #ddd; pointer-events: none; z-index: 6; }
.net-ind i { width: 3px; background: #666; border-radius: 1px; } .net-ind i:nth-child(1) { height: 5px; } .net-ind i:nth-child(2) { height: 8px; } .net-ind i:nth-child(3) { height: 11px; }
.net-ind span { margin-left: 4px; } .net-ind.q3 i { background: #5cff7a; } .net-ind.q2 i:nth-child(-n+2) { background: #ffc23d; } .net-ind.q1 i:nth-child(1) { background: #ff4d4d; } .net-ind.q1 span { color: #ff8a8a; }
.net-toast { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 99px; background: rgba(30,24,18,.85); color: #ffd23f; font-size: .8rem; pointer-events: none; z-index: 7; animation: ntp 1s ease-in-out infinite alternate; }
@keyframes ntp { from { opacity: .6 } to { opacity: 1 } }
/* squad room: per-player ping + signal bars from the game server */
.pq { display: inline-flex; align-items: flex-end; gap: 2px; margin-left: 6px; vertical-align: middle; }
.pq i { width: 4px; background: #5a5047; border-radius: 1px; } .pq i:nth-child(1) { height: 5px; } .pq i:nth-child(2) { height: 8px; } .pq i:nth-child(3) { height: 11px; }
.pq small { margin-left: 4px; font-size: .72rem; opacity: .85; }
.pq.b3 i { background: #5cff7a; } .pq.b2 i:nth-child(-n+2) { background: #ffc23d; } .pq.b1 i:nth-child(1) { background: #ff5a5a; }
.pq.rc small { color: #ffc23d; margin: 0; }
/* rematch on the online end screen */
.rematch { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.rm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rm-list li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: #241d16; border: 2px solid #3a2f24; font-weight: 800; }
.rm-list li small { margin-left: auto; opacity: .7; font-weight: 600; } .rm-list li small + small { margin-left: 6px; }
.rm-list .tick { width: 1.2em; text-align: center; color: #8a7c6c; } .rm-list li.ok { border-color: #3d8a4c; } .rm-list li.ok .tick { color: #5cff7a; }
.rm-cd { text-align: center; margin: 0; font-weight: 900; }
.btn.on { outline: 3px solid #5cff7a; }
.ammo #wname { display: none; }   /* the slot strip already names the selected weapon (it showed twice) */
/* ---------- squad room (multiplayer) ---------- */
.room { position: relative; display: grid; gap: 12px; animation: roomIn .35s ease-out; }
.room::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: radial-gradient(40vmax 40vmax at 15% 20%, rgba(255,138,26,.22), transparent 60%), radial-gradient(40vmax 40vmax at 85% 80%, rgba(80,170,255,.18), transparent 60%);
  animation: roomBg 9s ease-in-out infinite alternate; }
@keyframes roomBg { to { transform: translate3d(0, -3%, 0) scale(1.08); } }
@keyframes roomIn { from { opacity: 0; transform: translateY(8px); } }
.room-hero { display: grid; justify-items: center; gap: 6px; text-align: center; }
.room-hero > small { letter-spacing: .25em; opacity: .7; font-weight: 800; font-size: .7rem; }
.code-chip { display: grid; justify-items: center; font-size: clamp(2.1rem, 9vw, 2.8rem); letter-spacing: .22em; padding: 6px 18px 4px 26px; color: var(--yel);
  background: #241d16; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink), inset 0 0 0 2px rgba(255,194,61,.25); cursor: pointer; }
.code-chip:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.code-chip span { font-family: system-ui, sans-serif; font-size: .62rem; letter-spacing: .1em; color: #cbbfa8; }
.hero-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.hero-row .rs-note { margin: 0; }
.vs { display: grid; grid-template-columns: 1fr; gap: 8px; position: relative; }
.vs .side { border-radius: 14px; padding: 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 22%, #1d1712), #1a140f); border: 2px solid color-mix(in srgb, var(--tc) 55%, #000); }
.vs .side h4 { margin: 0 0 6px; color: var(--tc); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.vs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vs-badge { justify-self: center; font-size: 1.3rem; color: var(--yel); text-shadow: 0 3px 0 var(--ink); margin: -6px 0; }
.vs.ffa .vs-badge { display: none; }

/* Solo lobby (FFA / Hunt / Gun Game): one grey column */
.vs.solo { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
.vs.solo .vs-badge { display: none; }
.vs.solo .side { --tc: #9aa0a6; }
/* Gun Game top HUD: one number (highest gun level) */
.topbar.solo-score #sc1.solo-hide { display: none; }
.topbar.solo-score #sc0.gg-top { background: #9aa0a6; color: var(--ink); min-width: 52px; }
.topbar.solo-score .pips { display: none; }

.mcard { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; background: rgba(0,0,0,.35); border: 2px solid transparent; transition: border-color .25s, transform .25s; }
.mcard.rdy { border-color: rgba(92,255,122,.55); }
.mcard .av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6 0 18%, transparent 19%), var(--fur, #6b5d4f); border: 2px solid var(--tc); position: relative; }
.mcard .av i { position: absolute; left: 50%; top: 58%; width: 16px; height: 10px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #f3dcb8aa; }
.mcard.bot { opacity: .55; } .mcard.bot .av { --fur: #4a4038; border-style: dashed; }
.mcard .pn { display: grid; min-width: 0; } .mcard .pn b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard .pn small { display: flex; align-items: center; gap: 4px; font-size: .72rem; opacity: .8; font-weight: 700; }
.mcard .pq { margin-left: auto; } .mcard .rtick { width: 22px; text-align: center; color: #5cff7a; font-weight: 900; font-size: 1.1rem; }
.mcard .pq + .rtick { margin-left: 4px; } .mcard .pn + .rtick { margin-left: auto; }
.mcard .swap { padding: 4px 9px; min-height: 0; }
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.chip { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; background: #241d16; border: 2px solid #3a2f24; }
.chip small { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; font-weight: 800; } .chip b { font-size: .9rem; }
.chip.map { grid-column: 1 / -1; min-height: 74px; align-content: end; background-size: cover; background-position: center; border-color: var(--ink); }
.room-opts summary { cursor: pointer; font-weight: 800; padding: 6px 2px; opacity: .85; }
.btn.pulse { animation: btnPulse 1.6s ease-in-out infinite; }
@keyframes btnPulse { 50% { box-shadow: 0 5px 0 var(--ink), 0 0 0 8px rgba(255,138,26,.18); } }
#sqStart small, #sqReady small { display: block; font-family: system-ui, sans-serif; font-size: .7rem; opacity: .8; letter-spacing: 0; }
@media (min-width: 720px) {
  .vs { grid-template-columns: 1fr auto 1fr; align-items: start; } .vs-badge { align-self: center; font-size: 2rem; margin: 0; }
  .chips { grid-template-columns: 2fr 1fr 1fr 1fr; } .chip.map { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .room::before, .btn.pulse, .room { animation: none; } }

/* scope: a clear see-through circle, thin crosshair inside it, dark outside (replaces the full-width lines) */
.scope { --r: 36vmin; background:
  linear-gradient(#0b0b0b, #0b0b0b) center / calc(var(--r) * 2) 2px no-repeat,
  linear-gradient(#0b0b0b, #0b0b0b) center / 2px calc(var(--r) * 2) no-repeat,
  radial-gradient(circle at 50% 50%, transparent 0 calc(var(--r) - 3vmin), rgba(0,0,0,.35) calc(var(--r) - .6vmin), #050505 var(--r), #000 calc(var(--r) + 1vmin)); }
.scope.z2 { --r: 33vmin; background:
  linear-gradient(#0b0b0b, #0b0b0b) center / calc(var(--r) * 2) 1px no-repeat,
  linear-gradient(#0b0b0b, #0b0b0b) center / 1px calc(var(--r) * 2) no-repeat,
  radial-gradient(circle at 50% 50%, transparent 0 calc(var(--r) - 3vmin), rgba(0,0,0,.35) calc(var(--r) - .6vmin), #050505 var(--r), #000 calc(var(--r) + 1vmin)); }
.scope::before, .scope.z2::before { left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #ff3b30; box-shadow: none; right: auto; }
.scope::after, .scope.z2::after { inset: 0; width: auto; left: 0; background: radial-gradient(circle at 50% 50%, transparent 0 calc(var(--r) - 1vmin), rgba(255,255,255,.08) var(--r), transparent calc(var(--r) + .5vmin)); }
.room .mcard { display: flex !important; flex-direction: row !important; text-align: left !important; min-height: 0; }
.room .mcard .pn b { font-size: .95rem; color: #fff; }
.room .chips .chip { cursor: default; } .room.host .chips .chip { cursor: pointer; } .room.host .chips .chip:active { transform: translateY(2px); }
.room .mcard .pn { flex: 1 1 auto; } .room .mcard .swap { position: static; flex: none; margin-left: 4px; }
.room .mcard .pq { flex: none; white-space: nowrap; } .room .mcard .pq small { white-space: nowrap; }
/* pick phase: who's still choosing guns */
.pk-info { margin: 2px 0 8px; font-size: .85rem; color: var(--yel); font-weight: 700; min-height: 1.1em; }
/* respawn protection: compact line just above the bottom HUD, never over the picker */
.prot-line { position: absolute; left: 50%; bottom: calc(118px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 6; pointer-events: none;
  padding: 3px 10px; border-radius: 999px; background: rgba(40,120,255,.28); border: 1px solid rgba(140,200,255,.6); color: #dff1ff; font: 800 .72rem/1.2 system-ui, sans-serif; letter-spacing: .04em; white-space: nowrap; }
/* bottom-right HUD stack, no overlaps: ammo box, then ping, then grenades, then the slot strip; small labels crisp (no offset shadow) */
.hud .slots, .hud .slots .sl, .hud .net-ind, .hud .nades { text-shadow: none; }
.hud .slots .sl { font-family: system-ui, sans-serif; font-weight: 800; letter-spacing: .02em; }
html:not(.touchmode) .hud .nades { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 80px); font: 800 .72rem/1 system-ui, sans-serif; background: rgba(0,0,0,.45); padding: 3px 7px; border-radius: 6px; }
.hud .nades:empty { display: none; }
html:not(.touchmode) .hud .net-ind { right: max(10px, env(safe-area-inset-right)); bottom: calc(max(10px, env(safe-area-inset-bottom)) + 54px); }
html:not(.touchmode) .hud .slots { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 106px); }
.ammo { text-shadow: 0 1px 2px rgba(0,0,0,.6); }
html.touchmode .hud .net-ind { right: calc(max(8px, env(safe-area-inset-right)) + 104px); bottom: calc(max(8px, env(safe-area-inset-bottom)) + 5px); }
/* loadout picker + buy menu: compact sections, phone friendly */
.buy h3 { margin: 8px 0 4px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid rgba(255,210,63,.25); padding-bottom: 2px; }
.buy h3 small { text-transform: none; letter-spacing: 0; }
.buy .row { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 4px; }
.buy .btn { min-height: 38px; padding: 4px 8px; font-size: .76rem; line-height: 1.15; }
.buy .btn small { font-size: .66rem; }
.buy .btn:disabled.own { opacity: .75; }
@media (min-width: 900px) { .buy { width: min(860px, 96vw); } }
html.touchmode .buy { max-height: 92svh; padding: 8px 10px; }
html.touchmode .buy .row { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
html.touchmode .buy .btn { min-height: 36px; }
.kit-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.kit-grid section { min-width: 0; }
.kit-grid .row { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.kit-grid .btn { min-height: 32px; }
@media (max-width: 560px) { .kit-grid { grid-template-columns: 1fr; } }
/* match over: touch sticks and buttons off, so nothing keeps you running behind the result screen */
html.match-over #touch { pointer-events: none; opacity: 0; }
.slotpip { display: inline-block; width: 10px; height: 10px; border-radius: 3px; border: 1px solid #ffd23f; margin-right: 2px; vertical-align: -1px; }
.slotpip.on { background: #ffd23f; } .slotpip.locked { border: 0; width: auto; height: auto; font-size: .7rem; }
.buy .btn.locked { background: rgba(255,255,255,.04); border-style: dashed; color: #aaa; }
.buy .btn.locked small { color: #ffd23f; }
/* hit on a spawn-protected hamster: blue shield marker */
#hitm.prot { filter: hue-rotate(180deg) saturate(2); } #hitm.prot::after { content: '\1F6E1'; position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-size: 14px; }
/* aim-down-sights reticle: red dot in a thin ring, dead centre */
.ads-dot { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 50%; pointer-events: none; z-index: 6; box-shadow: 0 0 2px #000; }
.ads-dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #ff3030; box-shadow: 0 0 4px #ff3030; }

/* always-on mini scoreboard (top 4 + you) under the minimap */
.miniboard { position: absolute; left: max(8px, env(safe-area-inset-left)); top: calc(max(8px, env(safe-area-inset-top)) + 150px); width: 168px; display: flex; flex-direction: column; gap: 2px; font-size: .72rem; pointer-events: none; }
.miniboard .mepos { margin: 0 0 2px; font-weight: 800; color: #ffd34d; font-size: .8rem; }
.miniboard div { display: flex; align-items: center; gap: 4px; background: rgba(0,0,0,.5); border-radius: 6px; padding: 2px 6px; }
.miniboard div.you { outline: 2px solid #ffd34d; }
.miniboard b { width: 12px; color: #bbb; } .miniboard .badge.sm svg { width: 14px; height: 14px; }
.miniboard .n { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .miniboard .n small { color: #aaa; font-size: .8em; } .miniboard .s { font-weight: 800; }
html.touchmode .miniboard { width: 140px; font-size: .66rem; top: calc(max(6px, env(safe-area-inset-top)) + 120px); }
html.match-over .miniboard { display: none; }

/* early-bird sweetener */
.early-pill { margin: 8px auto 0; max-width: 360px; text-align: center; font-size: .8rem; background: rgba(255,211,77,.12); border: 2px solid #ffd34d; color: #ffe9a8; border-radius: 999px; padding: 5px 12px; }
.early-badge { display: inline-block; background: #ffd34d; color: #2a1a00; font-weight: 800; border-radius: 999px; padding: 1px 9px; }
.early-note { grid-column: 1 / -1; margin: 6px 0 0; font-size: .8rem; color: #ffe9a8; }

/* end-of-match summary table (scrolls sideways on phones, name column sticks) */
.sumwrap { flex-shrink: 0; overflow-x: auto; margin: 10px 0; border-radius: 12px; background: rgba(0,0,0,.35); -webkit-overflow-scrolling: touch; }
.sumtab { border-collapse: collapse; width: 100%; font-size: .82rem; white-space: nowrap; }
.sumtab th, .sumtab td { padding: 5px 7px; text-align: center; } .sumtab th { color: #bbb; font-size: .72rem; text-transform: uppercase; }
.sumtab .nm { text-align: left; position: sticky; left: 0; background: #1d1a17; } .sumtab .nm .badge.sm svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.sumtab tr.you td { background: rgba(255,211,77,.14); } .sumtab tr.you .nm { background: #3a3220; }
.sumtab tr.mvp td.pl { color: #ffd34d; font-weight: 900; } .mvp-tag { background: #ff3df2; color: #fff; border-radius: 6px; padding: 0 5px; font-size: .7rem; }
.sumtab td.pl { font-weight: 800; }

/* links: no underlines anywhere (Dad); a subtle colour change on hover/focus keeps them findable */
a, a:visited, .linky, .linkish { text-decoration: none !important; }
a:hover, a:focus-visible, .linky:hover, .linky:focus-visible, .linkish:hover, .linkish:focus-visible { filter: brightness(1.25); outline-offset: 2px; }
a:focus-visible, .linky:focus-visible, .linkish:focus-visible { outline: 2px solid currentColor; border-radius: 3px; }
.killcam { cursor: pointer; pointer-events: auto; } .killcam .kc-skip { display: block; font-size: .7rem; opacity: .7; margin-top: 2px; }

/* phones held upright mid-match: rotate prompt (menus still work upright) */
.rotate-ov { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(20,16,12,.94); color: #fff; text-align: center; padding: 24px; }
.rotate-ov[hidden] { display: none; }
.rotate-ov b { display: block; font-size: 3.4rem; animation: rot-tilt 1.6s ease-in-out infinite; }
.rotate-ov h2 { font-family: var(--fun, inherit); color: var(--yel); margin: .3em 0; }
@keyframes rot-tilt { 0%, 30% { transform: rotate(0) } 60%, 100% { transform: rotate(-90deg) } }
/* bigger, better-spaced right-thumb cluster (Dad, 10 Oct): fire is big and drag-aims while held */
.tb { width: 64px; height: 64px; font-size: .72rem; }
.fire { right: max(24px, env(safe-area-inset-right)); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 56px); width: 104px; height: 104px; font-size: 1rem; }
.jump { right: calc(max(24px, env(safe-area-inset-right)) + 126px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 30px); }
.crouch { right: calc(max(24px, env(safe-area-inset-right)) + 134px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 112px); }
.reload { right: calc(max(24px, env(safe-area-inset-right)) + 92px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 186px); }
.scopeb { right: max(20px, env(safe-area-inset-right)); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 184px); }
.swap { right: calc(max(24px, env(safe-area-inset-right)) + 214px); bottom: max(8px, env(safe-area-inset-bottom)); width: 62px; height: 44px; }
@media (max-height: 500px) { .fire { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 40px); } .reload { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 166px); } .scopeb { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 164px); } }
/* Multiplayer panel: Quick Match on its own row, the two smaller buttons below with clear gaps (never overlapping) */
.mp-actions { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 18px; }
.mp-actions > .btn { position: static; transform: none; margin: 0; }
.mp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mp-two .btn { margin: 0; width: 100%; min-height: 54px; white-space: normal; line-height: 1.15; }
@media (max-width: 420px) { .mp-two { grid-template-columns: 1fr; } }
/* Shop panel */
.shop-card { text-align: center; } .shop-card .shop-price { font-size: 2.4rem; color: var(--yel); margin: .3em 0; }
.kit-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px 12px; } .kit-tabs .btn { width: auto; }
.btn.unlock { cursor: pointer; opacity: 1; border-color: var(--yel); }
/* Front page MULTIPLAYER: bright brand cyan-to-magenta with a gentle pulsing glow (still for reduce-motion users) */
/* Front-page MULTIPLAYER: same shape, font and push as PLAY VS BOTS (btn big fun), in brand teal with a soft glow pulse */
.btn.mp-glow { background: var(--teal); color: var(--ink); box-shadow: 0 6px 0 var(--teald), 0 6px 0 2px var(--ink); animation: mpGlow 2.6s ease-in-out infinite; }
.btn.mp-glow:hover { background: #4fe3d6; }
.btn.mp-glow:active, .btn.mp-glow.down { animation: none; transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
@keyframes mpGlow { 0%, 100% { box-shadow: 0 6px 0 var(--teald), 0 6px 0 2px var(--ink), 0 0 0 #27d3c300; } 50% { box-shadow: 0 6px 0 var(--teald), 0 6px 0 2px var(--ink), 0 0 18px #27d3c388; } }
@media (prefers-reduced-motion: reduce) { .btn.mp-glow { animation: none; } }
/* in-match friend messages: compact, never blocks aim */
#chatlog .fr b { color: #7fe3ff; } #chatlog .fr { opacity: .95; } #chatlog .fr small { opacity: .7; margin-left: .4em; }
.tb.frreply { position: fixed; left: 50%; top: 64px; transform: translateX(-50%); z-index: 40; min-width: 92px; min-height: 40px; font-size: .85rem; }
.chatin .frmute { margin-left: 4px; }
.frtag { display: inline-block; font-weight: 800; font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: #ffffff14; opacity: .9; } .frtag.ok { color: #7dff9a; }
.pq.lv-warn small { color: #ffc23d; } .pq.lv-bad small { color: #ff5a5a; font-weight: 800; } .pq.lv-rc small { color: #ffc23d; font-style: italic; }
.pq.lv-bad i { background: #ff5a5a !important; } .pq.b0 i { background: #5a5047; }
.mini-board .pq, #miniBoard .pq { margin-left: 4px; transform: scale(.8); }
.tagnet { font-size: .7em; }
/* big 3-2-1 / GO! countdown in the middle of the screen (no clicks, never blocks aim) */
.count-big { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%) scale(.4); font-size: clamp(5rem, 18vw, 11rem); color: #fff; -webkit-text-stroke: 6px #1a1410; paint-order: stroke fill; text-shadow: 0 8px 0 #1a1410; opacity: 0; pointer-events: none; z-index: 30; }
.count-big.pop { animation: cdPop .85s ease-out forwards; }
.count-big.go { color: var(--yel); }
@keyframes cdPop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 18% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } 35% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .count-big.pop { animation: cdFade .85s linear forwards; } @keyframes cdFade { 0%, 80% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(-50%, -50%); } } }
#hView.on { background: var(--yel); color: #1a1410; }
/* pause menu: live settings under "Back to the fight" */
.pause .panel-box { max-height: calc(100svh - 16px); }
.pset { margin: 8px 0; border: 2px solid #3a3128; border-radius: 14px; padding: 6px 10px; background: #1c1814; text-align: left; }
.pset summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.pset .field { margin: 8px 0; }
/* Suit shop (phone-first): rotating previews in a 2-4 column grid */
.btn.suits-btn { background: linear-gradient(180deg, #ffd34a, #ff9a1a); color: #2a1a08; }
.suit-head { margin-top: 0; }
.suit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 10px; }
.suit-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 6px 10px; border: 3px solid var(--ink); border-radius: 16px; background: radial-gradient(circle at 50% 35%, #4a3c2e, #1e1813); color: #fff; font: inherit; cursor: pointer; box-shadow: 0 4px 0 var(--ink); }
.suit-card:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.suit-card.on { border-color: #5ad06a; }
.suit-card canvas { width: 100%; max-width: 150px; aspect-ratio: 150 / 175; height: auto; }
.suit-card b { font-size: .95rem; text-align: center; line-height: 1.1; }
.suit-price { background: #ffd34a; color: #2a1a08; border-radius: 999px; padding: 2px 12px; font-weight: 800; margin-top: 4px; }
.suit-tag { font-size: .8rem; opacity: .85; margin-top: 4px; }
.suit-tag.on { color: #5ad06a; opacity: 1; font-weight: 700; }
.suit-bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.suit-bundle { display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 3px solid #ffd34a; border-radius: 16px; background: #2a2118; }
.suit-mini { display: flex; justify-content: center; } .suit-mini canvas { width: 25%; max-width: 72px; height: auto; }
.suit-big { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.suit-big canvas { width: min(300px, 70vw); height: auto; aspect-ratio: 300 / 350; border-radius: 20px; background: radial-gradient(circle at 50% 35%, #5a4a38, #1e1813); }
.suit-info { flex: 1 1 240px; max-width: 420px; }
@media (orientation: landscape) and (max-height: 500px) { .suit-big canvas { width: min(260px, 40vw); } }
.sw3d { width: 60px; height: 70px; }

/* missile console (airbase): top-down screen while steering; doesn't take the pointer */
#mscreen { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 40; pointer-events: none; background: rgba(4,14,8,.92); border: 3px solid #3aff6a; border-radius: 14px; padding: 10px; box-shadow: 0 0 30px rgba(60,255,110,.35); text-align: center; color: #7dff8a; font: 700 13px/1.3 system-ui, sans-serif; }
#mscreen canvas { width: min(72vmin, 520px); height: min(72vmin, 520px); display: block; image-rendering: auto; border-radius: 6px; }
#mscreen .ms-title { font: 900 18px/1 'Luckiest Guy', system-ui, sans-serif; letter-spacing: 2px; margin: 2px 0 8px; }
#mscreen .ms-hint { margin-top: 8px; } #mscreen .r { color: #ff4a4a; } #mscreen .b { color: #5aa0ff; }
/* Robo-tiger ride HUD (top centre, under the timer; never blocks aim) */
.tiger-hud { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 6; pointer-events: none; background: rgba(30, 16, 4, .78); color: #ffe2b0;
  border: 2px solid #f08a1a; border-radius: 12px; padding: 5px 12px; font: 700 14px/1.3 system-ui, sans-serif; white-space: nowrap; }
.tiger-hud b { color: #ff9a2a; letter-spacing: .04em; } .tiger-hud .tt { color: #fff; font-size: 17px; margin: 0 6px; }
.tiger-hud .hpb { display: inline-block; width: 80px; height: 9px; background: #3a2a1a; border-radius: 5px; overflow: hidden; vertical-align: middle; margin-right: 4px; }
.tiger-hud .hpb i { display: block; height: 100%; background: linear-gradient(90deg, #ff6a1a, #ffc23a); }
.mgr-hud { top: 104px; border-color: #ffd34a; background: rgba(20, 24, 40, .85); }
.mgr-hud b { color: #ffd34a; }
.spec-hud { top: 144px; border-color: #ff2bd6; background: rgba(30, 10, 40, .85); }
.keypad { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(0, 0, 0, .35); }
.kp-box { background: #15101f; border: 3px solid #ff2bd6; border-radius: 16px; padding: 14px; width: 230px; box-shadow: 0 0 24px #ff2bd6aa; text-align: center; }
.kp-title { color: #30f0ff; font: 800 16px system-ui, sans-serif; letter-spacing: .12em; }
.kp-disp { margin: 8px auto; background: #000; color: #30f0ff; font: 700 34px monospace; border-radius: 8px; padding: 4px; letter-spacing: .3em; transition: background .2s; }
.kp-disp.kp-bad { background: #6a0010; color: #fff; } .kp-disp.kp-wait { opacity: .5; }
.kp-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kp-k { font: 800 22px system-ui, sans-serif; padding: 12px 0; border-radius: 10px; border: 0; background: #2a1f3a; color: #fff; box-shadow: 0 4px 0 #0a0612; cursor: pointer; }
.kp-k:active { transform: translateY(3px); box-shadow: 0 1px 0 #0a0612; } .kp-close { margin-top: 10px; }
.pause .panel-box { max-height: 92vh; overflow-y: auto; }
.pset > summary.btn { list-style: none; display: block; text-align: center; margin: 8px 0; cursor: pointer; }
.pset > summary.btn::-webkit-details-marker { display: none; }
.pset:not([open]) #pauseSet { display: none; }
.pset:not([open]) { border: 0; padding: 0; background: none; }
/* Panels on phones (Armoury, Suit shop...): scroll from the top, Close always on screen, big tap targets */
.panel.full .panel-box { justify-content: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 24px max(12px, env(safe-area-inset-left)); }
.panel.full #panelBody { width: min(720px, 100%); }
.panel-box header { position: sticky; top: -14px; z-index: 3; background: #241f19; padding: 8px 0; margin: -6px 0 6px; width: 100%; }
.panel.full .panel-box header { top: -10px; max-width: 720px; }
#panelClose { min-height: 46px; min-width: 96px; font-size: 1rem; }
.item { min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.suit-card { min-height: 120px; }
.suit-big { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: flex-start; }
.suit-big canvas { max-width: min(300px, 70vw); height: auto; }
.suit-big .suit-info { flex: 1 1 240px; }
@media (orientation: landscape) and (max-height: 500px) { .suit-big canvas { max-height: 70svh; width: auto; } .suit-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } }
@media (max-width: 420px) { .suit-grid { grid-template-columns: repeat(2, 1fr); } .grid-items { grid-template-columns: repeat(3, 1fr); } }
.nuke-warn { position: fixed; top: 22%; left: 50%; transform: translateX(-50%); z-index: 45; pointer-events: none; text-align: center; padding: 10px 28px 14px; border-radius: 18px;
  background: rgba(120, 0, 0, .78); border: 4px solid #ffd020; box-shadow: 0 0 40px #ff2020; animation: nukeflash .5s steps(2) infinite; }
.nuke-warn b { display: block; font: 900 clamp(26px, 6vw, 64px) 'Luckiest Guy', system-ui, sans-serif; color: #ffd020; letter-spacing: .04em; text-shadow: 0 4px 0 #000; }
.nuke-warn span { display: block; font: 900 clamp(40px, 10vw, 110px) 'Luckiest Guy', system-ui, sans-serif; color: #fff; text-shadow: 0 5px 0 #000; line-height: 1; }
@keyframes nukeflash { 50% { background: rgba(255, 210, 0, .85); border-color: #ff2020; } }
.nuke-flash { position: fixed; inset: 0; z-index: 46; pointer-events: none; background: #fff; animation: nukefade 1.4s ease-out forwards; }
@keyframes nukefade { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nuke-warn { animation: none; } }
/* Suit shop v2: clean card grid, price + one big button per card */
.suit-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.suit-card { cursor: default; justify-content: space-between; min-height: 0; padding: 8px 8px 10px; }
.suit-card:active { transform: none; box-shadow: none; }
.suit-card canvas { cursor: pointer; }
.sc-name { min-height: 2.2em; display: flex; align-items: center; text-align: center; }
.sc-row { display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 100%; }
.sc-price { text-align: center; font-weight: 900; font-size: 1.15rem; color: #ffd34a; }
.sc-price.free { color: #5ad06a; } .sc-price.owned { color: #cfc2ae; font-size: .95rem; } .sc-price.off { color: #aaa; font-size: .9rem; font-weight: 600; }
.sc-btn { width: 100%; min-height: 44px; font-size: 1.05rem; }
#suitClose { margin-top: 16px; }
@media (max-width: 420px) { .suit-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (orientation: landscape) and (max-height: 500px) { .suit-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } .suit-card canvas { max-width: 110px; } }
/* ELITE suit: shimmering card + glowing name */
.suit-card.elite { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; border-color: #ffc83a; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0d0d10 0%, #2a2210 45%, #0d0d10 100%); box-shadow: 0 0 18px rgba(255, 200, 58, .55), inset 0 0 22px rgba(255, 200, 58, .25); }
.suit-card.elite::before { content: 'ELITE'; position: absolute; top: 8px; left: 10px; font: 900 1rem 'Luckiest Guy', system-ui, sans-serif; letter-spacing: .2em; color: #ffd860; text-shadow: 0 0 8px #ffb020; }
.suit-card.elite::after { content: ''; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 42%, rgba(255, 240, 180, .35) 50%, transparent 58%); animation: eliteShine 2.8s linear infinite; pointer-events: none; }
.suit-card.elite canvas { max-width: 190px; }
.suit-card.elite .sc-name { font-size: 1.3rem; color: #ffd860; text-shadow: 0 0 10px #ffb020; }
.suit-card.elite .sc-row { max-width: 260px; } .suit-card.elite .sc-price { font-size: 1.5rem; }
@keyframes eliteShine { from { transform: translateX(-40%); } to { transform: translateX(40%); } }
.elite-name { text-shadow: 0 0 6px #ffc83a, 0 0 12px #ffb020; font-weight: 900; }
.elite-name::before { content: '\265B '; color: #ffd860; }
@media (prefers-reduced-motion: reduce) { .suit-card.elite::after { animation: none; } }
.kp-hint { font-size: .9rem; color: #ffe9a8; text-align: center; max-width: 260px; margin: 2px auto 8px; line-height: 1.25; }
.mult-note { margin: 8px auto; max-width: 520px; text-align: center; padding: 6px 12px; border-radius: 12px; background: rgba(255, 211, 74, .14); border: 2px solid #ffd34a; font-size: .95rem; }
.mult-note.full { background: rgba(90, 208, 106, .14); border-color: #5ad06a; }
.suit-grid .sc-btn, .suit-card .sc-btn { min-height: 46px !important; }
.sp-badges{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:8px}.sp-badge{background:rgba(255,211,74,.14);border:1px solid rgba(255,211,74,.45);border-radius:999px;padding:3px 10px;font-size:.85rem}
/* Hospital Madness: zombie HUD - over-dramatised horror-movie styling */
.z-hud { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
.z-tint { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(90,255,40,.10) 30%, rgba(40,140,10,.55) 100%); mix-blend-mode: multiply; animation: zpulse 2.4s ease-in-out infinite; }
.z-ban { position: absolute; top: 14%; left: 0; right: 0; text-align: center; font: 900 clamp(34px, 7vw, 86px)/0.95 Impact, 'Arial Black', sans-serif; letter-spacing: .06em; color: #7dff3a; transform: skewY(-4deg);
  text-shadow: 0 2px 0 #1a4a08, 0 6px 0 #0d2a04, 3px 10px 2px rgba(60,200,20,.8), -2px 16px 3px rgba(60,200,20,.6), 4px 26px 4px rgba(60,200,20,.35), 0 0 30px #3aff10; animation: zshake .12s steps(2) infinite; }
.z-sub { position: absolute; top: calc(14% + clamp(90px, 15vw, 190px)); left: 0; right: 0; text-align: center; font: 700 clamp(14px, 2vw, 20px) 'Trebuchet MS', sans-serif; color: #d8ffc0; text-shadow: 0 2px 4px #000; }
.z-sub span { font: 900 1.6em Impact, sans-serif; color: #9aff5a; margin-left: .4em; }
.z-hud.z-in .z-ban { animation: zin 1.2s cubic-bezier(.2,1.6,.4,1) both, zshake .12s steps(2) 1.2s infinite; }
.z-hud.z-in .z-tint { animation: zflash 1.2s ease-out both, zpulse 2.4s 1.2s ease-in-out infinite; }
@keyframes zin { 0% { transform: scale(3) skewY(-4deg); opacity: 0; filter: blur(8px); } 60% { opacity: 1; } 100% { transform: scale(1) skewY(-4deg); filter: none; } }
@keyframes zflash { 0% { background: rgba(120,255,60,.95); } 100% { } }
@keyframes zpulse { 50% { opacity: .75; } }
@keyframes zshake { 0% { translate: 0 0; } 100% { translate: 1px -1px; } }
.goo-hint { position: fixed; bottom: 22%; left: 50%; transform: translateX(-50%); background: rgba(10,40,5,.8); color: #a8ff7a; border: 2px solid #5aff2a; border-radius: 999px; padding: 6px 16px; font-weight: 800; z-index: 30; pointer-events: none; box-shadow: 0 0 18px rgba(90,255,40,.6); }
@media (prefers-reduced-motion: reduce) { .z-ban, .z-tint { animation: none !important; } }
/* ---- studio ident (js/intro.js): Interactive Enterprises Limited brand - #03040a night, cyan/violet glow, lime + pink accents, Syne + IBM Plex Mono ---- */
@font-face { font-family: 'IE Syne'; src: url(syne-800.woff2) format('woff2'); font-weight: 800; font-display: block; }
@font-face { font-family: 'IE Mono'; src: url(plexmono-600.woff2) format('woff2'); font-weight: 600; font-display: block; }
html.ie-on, html.ie-on body { overflow: hidden; }
#ieIntro { position: fixed; inset: 0; z-index: 100000; background: #03040a; overflow: hidden; cursor: pointer; transition: opacity .55s ease; color: #f7f8ff; }
#ieIntro.ie-out { opacity: 0; pointer-events: none; }
#ieIntro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ie-neb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0; animation: ieNeb 3.6s ease-out both; }
.ie-neb.c { width: 60vmax; height: 60vmax; left: -12vmax; top: -18vmax; background: radial-gradient(circle, rgba(61,240,255,.32), transparent 65%); }
.ie-neb.v { width: 60vmax; height: 60vmax; right: -16vmax; bottom: -22vmax; background: radial-gradient(circle, rgba(155,123,255,.30), rgba(255,61,180,.14) 40%, transparent 68%); animation-delay: .2s; }
.ie-lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); }
.ie-logo { position: relative; width: clamp(80px, 13vw, 170px); aspect-ratio: 255 / 309; animation: ieLogo 1.1s cubic-bezier(.16,1,.3,1) .25s both; filter: drop-shadow(0 0 22px rgba(61,240,255,.55)); }
.ie-logo img { width: 100%; height: 100%; display: block; }
.ie-logo::after { content: ''; position: absolute; inset: 0; -webkit-mask: url(img/ie-mark.png) center/100% 100% no-repeat; mask: url(img/ie-mark.png) center/100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%) no-repeat; background-size: 300% 100%; background-position: 130% 0; animation: ieShine 1s ease-in-out 1.15s both; mix-blend-mode: screen; }
.ie-text { display: flex; flex-direction: column; gap: .35em; }
.ie-k { font: 600 clamp(8px, 1.05vw, 13px) 'IE Mono', ui-monospace, monospace; letter-spacing: .28em; color: #c8ff3d; opacity: 0; animation: ieUp .5s ease-out .95s both; white-space: nowrap; }
.ie-w { font: 800 clamp(24px, 5.6vw, 72px)/0.95 'IE Syne', 'Arial Black', sans-serif; letter-spacing: .04em; white-space: nowrap; clip-path: inset(0 100% 0 0); animation: ieWipe .75s cubic-bezier(.7,0,.2,1) .6s both; text-shadow: 0 0 24px rgba(61,240,255,.25); }
.ie-e { display: flex; align-items: center; gap: .7em; font: 600 clamp(10px, 1.7vw, 22px) 'IE Mono', ui-monospace, monospace; letter-spacing: .32em; color: #3df0ff; white-space: nowrap; opacity: 0; animation: ieUp .55s ease-out .95s both; }
.ie-e i { display: block; height: 2px; width: clamp(16px, 3vw, 44px); background: linear-gradient(90deg, transparent, #3df0ff); } .ie-e i:last-child { background: linear-gradient(90deg, #3df0ff, transparent); }
.ie-tag { font: 800 clamp(13px, 2.1vw, 26px) 'IE Syne', 'Arial Black', sans-serif; opacity: 0; animation: ieUp .5s ease-out 1.45s both; white-space: nowrap; } .ie-tag b { color: #ff3db4; text-shadow: 0 0 18px rgba(255,61,180,.6); }
.ie-pres { position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; font: 600 clamp(11px, 1.4vw, 16px) 'IE Mono', ui-monospace, monospace; letter-spacing: 1.1em; padding-left: 1.1em; color: #a4adc4; opacity: 0; animation: iePres 1.1s ease 2.45s both; }
.ie-pres::before, .ie-pres::after { content: ''; display: inline-block; vertical-align: middle; width: 8vw; height: 1px; background: linear-gradient(90deg, transparent, #9b7bff); margin: 0 1.2em; } .ie-pres::after { background: linear-gradient(90deg, #9b7bff, transparent); }
.ie-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(61,240,255,.55), rgba(3,4,10,0) 60%); opacity: 0; animation: ieFlash .9s ease-out .3s both; pointer-events: none; }
.ie-skip { position: absolute; bottom: 16px; right: 20px; color: #6d7690; font: 600 11px 'IE Mono', monospace; letter-spacing: .2em; text-transform: uppercase; opacity: 0; animation: ieUp 1s ease 1s both; }
@keyframes ieNeb { 0% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; transform: scale(1); } }
@keyframes ieLogo { 0% { opacity: 0; transform: scale(.55) translateY(10px); filter: drop-shadow(0 0 0 rgba(61,240,255,0)) brightness(3); } 60% { opacity: 1; } 100% { transform: none; filter: drop-shadow(0 0 22px rgba(61,240,255,.55)) brightness(1); } }
@keyframes ieShine { to { background-position: -40% 0; } }
@keyframes ieWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes ieUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes iePres { 0% { opacity: 0; letter-spacing: 1.6em; } 100% { opacity: 1; letter-spacing: 1.1em; } }
@keyframes ieFlash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@media (max-aspect-ratio: 1/1) { .ie-lock { flex-direction: column; text-align: center; } .ie-text { align-items: center; } .ie-logo { width: clamp(90px, 28vw, 170px); } .ie-w { font-size: clamp(20px, 8vw, 60px); } .ie-e { font-size: clamp(9px, 3vw, 18px); } .ie-k, .ie-tag { white-space: normal; } }
#ieIntro.calm *, #ieIntro.calm { animation-duration: .01s !important; animation-delay: 0s !important; } #ieIntro.calm .ie-lock, #ieIntro.calm .ie-pres { animation: ieUp .8s ease both !important; } #ieIntro.calm .ie-flash { display: none; }
html.ie-title .lobby .logo { animation: ieTitle .7s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes ieTitle { from { transform: scale(1.25); opacity: 0; filter: brightness(2.5); } to { transform: none; opacity: 1; filter: none; } }
@media (prefers-reduced-motion: reduce) { html.ie-title .lobby .logo { animation: none; } }
/* 'An Interactive Enterprises Limited production' badge on the main menu */
.ie-badge { display: inline-flex; align-items: center; gap: .5em; margin: 10px auto 0; padding: 5px 14px 5px 6px; border-radius: 999px; background: linear-gradient(180deg, rgba(16,18,32,.88), rgba(3,4,10,.88)); border: 1px solid rgba(61,240,255,.45); color: #f7f8ff !important; font: 600 12px 'Trebuchet MS', sans-serif; letter-spacing: .08em; text-decoration: none !important; box-shadow: 0 2px 10px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08); transition: border-color .2s, transform .2s; }
.ie-badge:hover { border-color: #3df0ff; box-shadow: 0 0 14px rgba(61,240,255,.35); transform: translateY(-1px); }
.ie-badge img { width: 18px; height: 22px; object-fit: contain; filter: drop-shadow(0 0 4px rgba(61,240,255,.6)); }
.ie-badge-wrap { display: none; } /* hidden: too chunky on the main menu */

.goo-prompt { position: fixed; left: 50%; top: 58%; transform: translateX(-50%); z-index: 31; pointer-events: none; background: rgba(8,30,4,.86); color: #d8ffb8; border: 3px solid #7dff3a; border-radius: 16px; padding: 10px 22px; font: 900 clamp(18px, 3vw, 30px) 'Luckiest Guy', Impact, sans-serif; letter-spacing: .04em; box-shadow: 0 0 26px rgba(125,255,58,.7); animation: gooP 1s ease-in-out infinite; text-align: center; }
.goo-prompt b { display: inline-block; min-width: 1.4em; padding: 0 .3em; margin-right: .3em; background: #7dff3a; color: #102a04; border-radius: 8px; }
.goo-prompt small { display: block; font: 700 12px 'Trebuchet MS', sans-serif; color: #a8e888; letter-spacing: 0; margin-top: 2px; }
@keyframes gooP { 50% { box-shadow: 0 0 40px rgba(125,255,58,1); } }
@media (prefers-reduced-motion: reduce) { .goo-prompt { animation: none; } }

/* Multiplayer > Match settings: cards and pills, no dropdowns */
.room-set { gap: 8px; padding: 12px; background: linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,.22)); border: 1px solid rgba(255,255,255,.08); }
.rs-h { font: 900 .78rem 'Luckiest Guy', Impact, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--yel); margin: 6px 2px 0; }
.rs-modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.rs-mode { text-align: left; display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; min-height: 64px; border-radius: 14px; border: 2px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #fff; font: inherit; cursor: pointer; transition: transform .12s, border-color .12s, background .12s; }
.rs-mode b { font: 900 1rem 'Luckiest Guy', Impact, sans-serif; letter-spacing: .03em; }
.rs-mode small { font-size: .72rem; opacity: .75; line-height: 1.25; }
.rs-maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.rs-map { position: relative; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid rgba(255,255,255,.12); background: #000; cursor: pointer; aspect-ratio: 16 / 10; transition: transform .12s, border-color .12s; }
.rs-map img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .8; transition: opacity .12s; }
.rs-map span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font: 900 .78rem 'Luckiest Guy', Impact, sans-serif; letter-spacing: .03em; color: #fff; text-shadow: 0 2px 3px #000; background: linear-gradient(transparent, rgba(0,0,0,.85)); text-align: left; }
.rs-mode[aria-checked="true"], .rs-map[aria-checked="true"] { border-color: var(--yel); background: rgba(255,214,0,.14); box-shadow: 0 0 0 2px rgba(255,214,0,.25), 0 6px 18px rgba(0,0,0,.35); }
.rs-map[aria-checked="true"] img { opacity: 1; }
.rs-map[aria-checked="true"]::after, .rs-mode[aria-checked="true"]::after { content: '\2714'; position: absolute; top: 6px; right: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--yel); color: var(--ink); font: 900 13px/22px sans-serif; text-align: center; }
.rs-mode { position: relative; }
.room-set:not(.ro) .rs-mode:hover, .room-set:not(.ro) .rs-map:hover { transform: translateY(-2px); border-color: rgba(255,214,0,.6); }
.room-set .seg.mini .seg-b { border-radius: 999px; min-height: 38px; padding: 6px 12px; font-size: .82rem; }
.room-set .rs-row { grid-template-columns: 7.5em 1fr; padding: 4px 0; border-top: 1px solid rgba(255,255,255,.06); }
.room-set.ro .rs-mode, .room-set.ro .rs-map { cursor: default; }
@media (max-width: 520px) { .rs-modes { grid-template-columns: 1fr 1fr; } .rs-maps { grid-template-columns: repeat(3, 1fr); } .rs-mode small { display: none; } .room-set .rs-row { grid-template-columns: 1fr; } }
.cur-pick { display: flex; gap: 6px; justify-content: flex-end; margin: 0 0 8px; }
.cur-pick .seg-b { flex: 0 0 auto; border-radius: 999px; min-height: 34px; padding: 4px 12px; font-size: .82rem; }
.cur-pick .seg-b[aria-checked="true"] { background: var(--yel); color: var(--ink); }
/* Signup: the required "I agree" box */
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 4px; font-size: .9rem; line-height: 1.35; cursor: pointer; }
.agree input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: #ffc400; cursor: pointer; }
.agree a { color: #ffc400; font-weight: 800; }
/* Profile stats: labelled groups of equal cards, numbers lined up */
.sgroups { display: grid; gap: 12px; margin-top: 12px; }
.sgroup h4 { margin: 0 0 6px; font: 800 .74rem system-ui; letter-spacing: .08em; text-transform: uppercase; color: #c9b89c; }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.scard { background: #2f2a23; border: 2px solid #000; border-radius: 12px; padding: 10px 8px; text-align: center; display: flex; flex-direction: column; justify-content: center; min-height: 66px; }
.scard b { display: block; font-size: 1.3rem; line-height: 1.1; color: var(--yel); font-variant-numeric: tabular-nums; white-space: nowrap; }
.scard span { font-size: .78rem; color: #d8cbb6; margin-top: 3px; }
@media (max-width: 420px) { .sgrid { grid-template-columns: repeat(3, 1fr); gap: 6px; } .scard { padding: 8px 4px; min-height: 58px; } .scard b { font-size: 1.1rem; } }
/* ---- Lobby: clean hierarchy (title > PLAY > menu row > server status > stats strip) ---- */
.lobby { gap: 12px; }
.lobby > * { max-width: 480px; }
.play-main { min-height: 84px; font-size: 2.3rem; letter-spacing: .04em; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.play-main small { font: 800 .8rem system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.lobby-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lobby-nav .btn { min-height: 50px; font-size: .9rem; padding: .35em .4em; position: relative; }
.lobby-nav .btn.mp-glow { font-weight: 900; }
@media (max-width: 420px) { .lobby-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .play-main { min-height: 76px; font-size: 2rem; } }
.lobby .srv-pills { margin: 0 auto; }
.lobby-strip { display: grid; gap: 6px; justify-items: center; }
.lobby-strip:not(:has(> :not([hidden]))) { display: none; }
.lobby-strip .ticker, .lobby-strip .early-pill { margin: 0; width: 100%; max-width: 480px; }
.lobby-strip .early-pill { border-radius: 14px; }
.early-pill.ov-pill { background: rgba(166,77,255,.14); border-color: #a64dff; color: #e6d2ff; overflow-wrap: anywhere; }   /* 10.1.7 Overlord event / Champion */
.lobby .streak:empty { display: none; }
.lobby-nav { display: flex; flex-wrap: wrap; }
.lobby-nav .btn { flex: 1 1 calc(33.333% - 8px); }
.lobby-nav .btn[hidden] { display: none; }
@media (max-width: 420px) { .lobby-nav .btn { flex-basis: calc(50% - 8px); } }
.btn.big.play-main { min-height: 84px; font-size: 2.4rem; }
@media (max-width: 420px) { .btn.big.play-main { min-height: 76px; font-size: 2.1rem; } }
/* Easter egg: a hamster peeks from behind the studio links */
a.ie-peekable { position: relative; isolation: isolate; }
.ie-peek { position: absolute; bottom: 70%; width: 30px; height: 26px; margin-left: -15px; z-index: -1; pointer-events: none; animation: iePeek 1.1s cubic-bezier(.3,1.6,.5,1) both; }
.ie-peek svg { width: 100%; height: 100%; display: block; }
@keyframes iePeek { 0% { transform: translateY(100%) rotate(0); opacity: 0; } 18% { opacity: 1; } 30% { transform: translateY(-4px) rotate(-6deg); } 45% { transform: translateY(0) rotate(5deg); } 70% { transform: translateY(0) rotate(-3deg); opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ie-peek { display: none; } }
/* Intro: the hamster peeks over the wordmark (same character as the lobby easter egg) */
.ie-wwrap { position: relative; isolation: isolate; }
.ie-ham { position: absolute; left: 70%; bottom: 72%; width: clamp(26px, 3.4vw, 44px); z-index: -1; opacity: 0; transform: translateY(70%); animation: ieHam .95s cubic-bezier(.3,1.6,.5,1) 1.45s both; pointer-events: none; }
@keyframes ieHam { 0% { opacity: 0; transform: translateY(70%); } 15% { opacity: 1; } 35% { transform: translateY(-6%) rotate(-8deg); } 55% { transform: translateY(0) rotate(6deg); } 78% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(70%); opacity: 0; } }
#ieIntro.calm .ie-ham { display: none; }
/* Friend came online: small card, top-right, never over the HUD centre */
.fr-alert { position: fixed; top: max(10px, env(safe-area-inset-top)); right: 64px; z-index: 95; display: flex; align-items: center; gap: 10px; max-width: min(340px, calc(100vw - 80px)); padding: 8px 10px; background: rgba(20,18,14,.92); color: #f4e9d6; border: 2px solid #000; border-left: 4px solid #5ad06a; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.45); font: 700 .85rem system-ui, sans-serif; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; }
.fr-alert.show { opacity: 1; transform: none; }
.fr-alert .fa-ico { font-size: 1.2rem; } .fr-alert .fa-txt { display: flex; flex-direction: column; min-width: 0; } .fr-alert .fa-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fr-alert small { color: #c9b89c; font-weight: 700; }
.fr-alert .fa-btns { display: flex; gap: 6px; align-items: center; } .fr-alert .fa-x { background: none; border: 0; color: #c9b89c; font-size: 1rem; cursor: pointer; padding: 4px; }
.fr-alert.ingame { pointer-events: none; top: 64px; right: 10px; opacity: 0; padding: 6px 9px; font-size: .78rem; background: rgba(20,18,14,.7); }
.fr-alert.ingame.show { opacity: .92; }
.fr-alert kbd { font: 800 .7rem ui-monospace, monospace; border: 1px solid #c9b89c; border-radius: 4px; padding: 1px 5px; color: #c9b89c; }
@media (prefers-reduced-motion: reduce) { .fr-alert { transition: none; } }
/* PLAY + MULTIPLAYER: same size pair; menu icons */
.btn.big.play-main, .btn.big.mp-glow.play-main { min-height: 72px; font-size: 2.1rem; }
.btn.big.mp-glow.play-main { font-size: 1.8rem; }
@media (max-width: 420px) { .btn.big.play-main, .btn.big.mp-glow.play-main { min-height: 66px; font-size: 1.8rem; } .btn.big.mp-glow.play-main { font-size: 1.55rem; } }
.lobby-nav .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.lobby-nav .mi { width: 20px; height: 20px; flex: none; color: #ffc400; }
@media (max-width: 420px) { .lobby-nav .mi { width: 18px; height: 18px; } }
/* Sandspice nuclear walkie */
.wk-warn { position: fixed; top: 18%; left: 50%; transform: translateX(-50%); z-index: 60; pointer-events: none; text-align: center; padding: 10px 18px; background: rgba(20,4,0,.78); border: 3px solid #ffd400; border-radius: 14px; color: #fff; box-shadow: 0 0 24px rgba(255,60,0,.5); max-width: 92vw; }
.wk-warn b { display: block; font: 900 clamp(16px, 3.4vw, 30px) 'Luckiest Guy', system-ui; color: #ffd400; letter-spacing: .04em; } .wk-warn span { font: 700 .85rem system-ui; color: #ffe9b0; }
.wk-warn.show { animation: wkPulse .6s ease 3; } @keyframes wkPulse { 50% { box-shadow: 0 0 40px rgba(255,40,0,.9); } }
.wk-count { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 60; pointer-events: none; font: 900 2rem 'Luckiest Guy', system-ui; color: #ff3a1a; text-shadow: 0 2px 0 #000, 0 0 16px #ff5000; }
.wk-flash { position: fixed; inset: 0; z-index: 9000; pointer-events: none; background: radial-gradient(circle at 50% 45%, #fff 0%, #fffbe8 40%, #ffe7a0 75%, #ffb060 100%); opacity: 0; filter: blur(0); }
.wk-flash.go { animation: wkFlash 1.3s ease-out forwards; }
@keyframes wkFlash { 0% { opacity: 0; } 3% { opacity: 1; } 8% { opacity: .8; } 12% { opacity: 1; } 28% { opacity: 1; } 100% { opacity: 0; } }
.wk-flash::after { content: ''; position: absolute; inset: -10%; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,1) 0 30%, rgba(255,240,200,.6) 60%, transparent 80%); filter: blur(30px); }
@media (prefers-reduced-motion: reduce) { .wk-flash.go { animation: wkFlashCalm 2s ease-out forwards; } @keyframes wkFlashCalm { 0% { opacity: 0; } 8% { opacity: .9; } 100% { opacity: 0; } } .wk-warn.show { animation: none; } }
.wk-white { position: fixed; inset: 0; z-index: 9001; pointer-events: none; background: #fffef8; box-shadow: inset 0 0 160px rgba(255,230,180,.9); }
.wk-stun { position: fixed; bottom: 22%; left: 50%; transform: translateX(-50%); z-index: 72; pointer-events: none; font: 900 1.4rem 'Luckiest Guy', system-ui; color: #6a5040; letter-spacing: .1em; }

.wk-white.hit { animation: wkHit .5s ease-out; } @keyframes wkHit { 0% { filter: brightness(1.6); } 100% { filter: none; } }

/* front-page hamster mascot beside the title */
.logo:has(.logo-ham) { display: flex; align-items: center; justify-content: center; gap: clamp(.4rem, 2vw, 1rem); }
.logo .logo-t { text-align: center; }

/* --- NOW ON PC sticker (above UNHINGED, centred, tilted) --- */
.logo-t {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.pc-sticker {
  position: relative; order: -1;
  display: inline-flex; flex-direction: row; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  margin: 0 0 .55em;
  transform: rotate(9deg); transform-origin: 50% 50%;
  z-index: 3; pointer-events: none;
  max-width: min(100%, 22rem);
}
.pc-sticker-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px 5px;
  font-family: "Luckiest Guy", Impact, "Arial Black", sans-serif;
  font-size: clamp(.68rem, 2.1vw, .88rem); letter-spacing: .04em; line-height: 1;
  color: #1a120c;
  background: linear-gradient(165deg, #ffe566 0%, #ffcf00 45%, #ff8a00 100%);
  border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink), 0 0 12px rgba(255,207,0,.55);
  white-space: nowrap;
  animation: pcStickerPulse 1.9s ease-in-out infinite;
}
.pc-sticker-ico { flex: none; display: block; width: 18px; height: 11px; }
.pc-sticker-tag {
  font-family: system-ui, Segoe UI, sans-serif;
  font-size: clamp(.55rem, 1.7vw, .65rem); font-weight: 800;
  color: #fff4e0; text-align: left; line-height: 1.15;
  text-shadow: 0 1px 0 #000, 0 0 6px rgba(0,0,0,.55);
  white-space: nowrap;
}
@keyframes pcStickerPulse {
  0%, 100% { box-shadow: 0 3px 0 var(--ink), 0 0 8px rgba(255,207,0,.4); }
  50% { box-shadow: 0 3px 0 var(--ink), 0 0 16px rgba(255,207,0,.75); }
}
@media (prefers-reduced-motion: reduce) {
  .pc-sticker-badge { animation: none; }
}
@media (max-width: 560px) {
  .pc-sticker {
    transform: rotate(7deg) scale(.9);
    margin: 0 0 .4em;
    gap: 6px;
  }
  .pc-sticker-badge { font-size: .7rem; padding: 3px 8px 4px; }
  .pc-sticker-tag { white-space: normal; max-width: 9rem; text-align: center; }
}


.logo-ham { width: clamp(84px, 25vw, 190px); height: auto; flex: none; transform-origin: 50% 90%; animation: hamBob 2.4s ease-in-out infinite; cursor: pointer; overflow: visible; filter: drop-shadow(0 4px 0 var(--ink)); }
@keyframes hamTwitch { 0%, 80%, 100% { transform: rotate(-4deg); } 83% { transform: rotate(5deg) scale(1.04); } 86% { transform: rotate(-7deg); } 89% { transform: rotate(3deg) translateY(-2px); } 92% { transform: rotate(-4deg); } 40% { transform: rotate(-2deg) translateY(1px); } }
@media (prefers-reduced-motion: reduce) { .logo-ham { animation: none; transform: rotate(-4deg); } }
@keyframes hamBob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-5px) rotate(3deg); } }
.mascot.twitchy .eye:last-of-type { animation: eyeTw .35s steps(2) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes eyeTw { 50% { transform: scale(.82, .7); } }
.mascot.jolt { animation: hamJolt .5s cubic-bezier(.2,2,.4,1); }
@keyframes hamJolt { 0% { transform: translateY(0) scale(1); } 30% { transform: translateY(-14px) scale(1.12) rotate(-8deg); } 100% { transform: translateY(0) scale(1); } }
.mascot.calm { animation: none; transform: rotate(-4deg); }

/* push-to-talk: hint under the scores, glows green while you talk; the phone TALK button sits on the left above the move stick */
.mic-hint { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(max(10px, env(safe-area-inset-bottom)) + 58px); top: auto; white-space: nowrap; font-size: .78rem; background: rgba(0,0,0,.5); color: #cfe; border-radius: 999px; padding: 2px 10px; pointer-events: none; }
.mic-hint::before { content: '\1F399  '; }
.mic-hint.on { background: #1f8f4f; color: #fff; box-shadow: 0 0 12px #5cff9f; }
.mic-hint.on::after { content: ' \2022  TALKING'; font-weight: 800; }
.touchmode .mic-hint { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 52px); }
.tb.talk { right: auto; left: calc(max(18px, env(safe-area-inset-left)) + 150px); top: auto; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 8px); width: 64px; height: 64px; border-radius: 50%; line-height: 1.05; font-size: .8rem; background: rgba(20,90,50,.85); }

/* who's talking: a small pill row under the weapon slots, clear of the scoreboard */
.voicelist { left: 50% !important; transform: translateX(-50%); top: calc(max(8px, env(safe-area-inset-top)) + 112px) !important; flex-direction: row; pointer-events: none; }
@media (max-width: 380px) { .ie-badge { white-space: nowrap; font-size: .68rem; } }
/* ---- team voice toggle card (Multiplayer screen + squad page) ---- */
.vcard { margin: 12px 0; padding: 12px; border: 3px solid var(--ink); border-radius: 18px; background: linear-gradient(160deg, #2b2620, #1c1915); box-shadow: 0 4px 0 var(--ink); }
.vcard.on { background: linear-gradient(160deg, #123a2e, #0f2a22); box-shadow: 0 4px 0 var(--ink), 0 0 18px rgba(39, 211, 195, .35); }
.vtog { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; }
.vtog:focus-visible { outline: 3px solid var(--yel); outline-offset: 4px; border-radius: 12px; }
.vic { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: #3a332b; border: 3px solid var(--ink); transition: background .2s; }
.vcard.on .vic { background: #27d3c3; animation: vicPulse 1.8s ease-in-out infinite; }
@keyframes vicPulse { 50% { box-shadow: 0 0 0 6px rgba(39, 211, 195, .25); } }
.vtx { flex: 1; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.vtx b { font-size: 1.08rem; color: #fff; }
.vtx small { font-size: .82rem; color: #c8bba6; }
.vtx kbd { font: inherit; font-weight: 900; padding: 0 6px; border: 2px solid var(--ink); border-radius: 6px; background: var(--yel); color: #000; }
.vsw { flex: none; position: relative; width: 74px; height: 36px; border-radius: 999px; background: #55493c; border: 3px solid var(--ink); transition: background .2s; }
.vsw i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); transition: left .2s; }
.vsw em { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 900; font-size: .78rem; color: #e8dcc8; }
.vcard.on .vsw { background: #27d3c3; } .vcard.on .vsw i { left: 41px; } .vcard.on .vsw em { left: 9px; right: auto; color: #003a33; }
.vtest { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.vbar { flex: 1; min-width: 90px; height: 12px; border-radius: 999px; background: #0d0b09; border: 2px solid var(--ink); overflow: hidden; }
.vbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #27d3c3, #ffd400 70%, #ff5a3a); transition: width .06s linear; }
.vtest small { width: 100%; font-size: .8rem; color: #c8bba6; }
.vnote { margin: 8px 0 0; font-size: .76rem; color: #a99b86; }
.vmark { margin-left: 6px; font-size: .9em; filter: drop-shadow(0 1px 0 #000); }
.vmark.talk { animation: vicPulse .6s ease-in-out infinite; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .vcard.on .vic, .vmark.talk { animation: none; } .vsw i { transition: none; } }

/* premium tier names (js/tiers.js nameHtml): display only, set by the server from ownership + the player's pick */
.nt-pre { font-style: normal; font-weight: 900; }
.nt-elite { color: #ffc83a !important; text-shadow: 0 0 8px rgba(255,154,0,.55); }
.nt-vip { color: #3dff7a !important; text-shadow: 0 0 8px rgba(0,200,74,.55); }
.nt-gold { color: #ff9a1a !important; text-shadow: 0 0 6px rgba(255,106,0,.45); }
.nt-maid { color: #8fd4ff !important; text-shadow: 0 0 6px #5ab4ff, 0 0 12px rgba(90,180,255,.7); }

/* premium tier cards in the Suit shop */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 10px 0 18px; }
.tier-card { border-radius: 16px; padding: 12px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(0,0,0,.35)); border: 2px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 6px; }
.tier-elite { border-color: #ffc83a; box-shadow: 0 0 18px rgba(255,154,0,.25); }
.tier-vip { border-color: #3dff7a; box-shadow: 0 0 18px rgba(0,200,74,.25); }
.tier-gold { border-color: #ff9a1a; box-shadow: 0 0 18px rgba(255,106,0,.2); }
.tier-maid { border-color: #8fd4ff; box-shadow: 0 0 18px rgba(143,212,255,.35); }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tier-name { font-size: 1.3rem; letter-spacing: .06em; }
.tier-plate { background: rgba(0,0,0,.55); border-radius: 10px; padding: 3px 10px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62%; }
.tier-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tier-prev canvas { width: 100%; height: auto; border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.08), rgba(0,0,0,.4)); }
.tier-blurb { font-size: .85rem; margin: 0; } .tier-gets { font-size: .8rem; opacity: .8; margin: 0; }
.tier-act { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 8px; }

/* no sideways scrolling on phones: the menu screens scroll vertically only (the mascot's bounce, the IEL peek hamster and
   the title glow can poke a few px past the edge mid-animation, which made the portrait .screen pan sideways). Safety net on html/body. */
html, body { overflow-x: clip; overscroll-behavior-x: none; }
.screen, .panel-box, .panel.full .panel-box { overflow-x: clip; overscroll-behavior-x: none; }
.ticker, .lobby-strip, .front-btns, .hero { max-width: 100%; box-sizing: border-box; }
/* root cause of the portrait sideways scroll: the server pill's detail line wouldn't wrap, so the pill grew past the screen */
.srv-pill { max-width: min(94vw, 100%); box-sizing: border-box; }
.srv-panel { box-sizing: border-box; }
/* host tools on lobby player cards (Message / Kick / Ban): one tidy row, wraps on phones */
.mcard .hostops { display: flex; flex-wrap: wrap; gap: 4px; flex-basis: 100%; justify-content: flex-end; }
.mcard .hostops .btn { padding: 4px 8px; font-size: .78rem; min-height: 32px; }
.mcard { flex-wrap: wrap; }
.mcard .hostops .swap { margin-right: auto; }
.mcard:not(:has(.hostops)) { flex-wrap: nowrap; }
.mcard .hostops { flex-wrap: nowrap; gap: 4px; } .mcard .hostops .btn { padding: 4px 7px; font-size: .74rem; white-space: nowrap; } .mcard .hostops .swap { min-width: 36px; }

/* footer links: no underline, slight colour change on hover */
.foot a { text-decoration: none; transition: color .15s; }
.foot a:hover, .foot a:focus-visible { color: #ffd76a; }

/* essential cookie notice (front page / menus only; hidden mid-match) */
.cookie-bar { position: fixed; left: max(8px, env(safe-area-inset-left)); right: max(8px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); z-index: 9500; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; background: #2b2620; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 6px 0 var(--ink); color: var(--cream); font-size: .82rem; line-height: 1.35; }
.cookie-bar p { margin: 0; flex: 1 1 180px; }
.cookie-bar a { color: var(--yel); text-decoration: none; font-weight: 900; }
.cookie-bar a:hover, .cookie-bar a:focus-visible { color: #ffe08a; }
.cookie-bar .btn { flex: 0 0 auto; }
html.doc .cookie-bar { z-index: 40; }

/* Multiplayer Server region picker — chunky segmented control */
.reg-pick { margin: 14px 0 6px; width: 100%; }
.reg-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; padding: 0 2px; }
.reg-lbl { font-family: "Luckiest Guy", Impact, "Arial Black", sans-serif; font-weight: 400; letter-spacing: .04em; color: var(--yel); font-size: 1.15rem; text-shadow: 0 2px 0 var(--ink); }
.reg-refresh { flex: none; width: 42px; height: 42px; min-height: 42px; padding: 0; display: grid; place-items: center; border-radius: 999px; border: 3px solid var(--ink); background: #3a352d; color: #fff; box-shadow: 0 4px 0 var(--ink); cursor: pointer; touch-action: manipulation; }
.reg-refresh:hover { background: #4a443a; }
.reg-refresh:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.reg-refresh:disabled { opacity: .45; cursor: wait; }
.reg-refresh svg { display: block; }
.reg-segbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 18px; border: 3px solid var(--ink); background: #1a1612; box-shadow: 0 5px 0 var(--ink), inset 0 0 0 1px #0006; }
.reg-seg { appearance: none; -webkit-appearance: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; padding: 8px 6px; margin: 0; border: 0; border-radius: 999px; background: transparent; color: #fff4e0; font-weight: 900; font-size: .95rem; cursor: pointer; touch-action: manipulation; transition: background .12s, color .12s, box-shadow .12s, transform .06s; }
.reg-seg .reg-name { line-height: 1.05; }
.reg-seg:hover { background: #2a241c; }
.reg-seg.on { background: var(--yel); color: var(--ink); box-shadow: 0 0 0 2px #fff8, 0 0 18px rgba(255,207,0,.45); }
.reg-seg.on .reg-ping { color: var(--ink); border-color: #0005; }
.reg-ping { display: inline-flex; align-items: center; justify-content: center; min-width: 3.6em; padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; border: 2px solid #0003; line-height: 1.2; }
.reg-ping.ok { background: #5cff7a; color: #0c0a08; }
.reg-ping.mid { background: #ffc23d; color: #0c0a08; }
.reg-ping.bad { background: #ff5a5a; color: #fff; }
.reg-ping.off { background: #4a443a; color: #bfae95; }
.reg-ping.maint { background: #6ab7ff; color: #0c0a08; }
.srv-row.maint i { background: #6ab7ff; }
.srv-row.maint .srv-st { color: #6ab7ff; }
.rs-region { margin: 4px 0 0; font-size: .78rem; color: #bfae95; text-align: center; letter-spacing: .02em; }
.reg-seg.on .reg-ping.ok, .reg-seg.on .reg-ping.mid { background: #0c0a08; color: var(--yel); }
.reg-seg.on .reg-ping.bad { background: #8b1010; color: #fff; }
.reg-seg.on .reg-ping.off { background: #3a352d; color: #fff4e0; }
@media (max-width: 900px) {
  .reg-segbar { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; gap: 4px; }
  .reg-seg { min-height: 54px; font-size: .84rem; padding: 8px 4px; border-radius: 14px; }
  .reg-seg .reg-name { font-size: .82rem; line-height: 1.1; }
  .reg-ping { font-size: .64rem; padding: 2px 6px; }
  .reg-lbl { font-size: 1.05rem; }
}
@media (max-width: 480px) {
  .reg-segbar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .reg-seg { min-height: 56px; font-size: .8rem; padding: 8px 6px; }
  .reg-seg .reg-name { font-size: .78rem; }
}

.invlist { margin: 10px 0; padding: 10px; border: 3px solid var(--ink); border-radius: 14px; background: #1a1612; box-shadow: 0 4px 0 var(--ink); max-height: min(40vh, 280px); overflow: auto; }
.invlist-h { font-family: 'Luckiest Guy', system-ui, sans-serif; color: var(--yel); margin: 0 0 8px; letter-spacing: .03em; }
.invlist .frow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid #0005; }
.invlist .frow:first-of-type { border-top: 0; }
.invlist .fdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5cff7a; margin-right: 4px; vertical-align: middle; }
.invlist .fdot.lobby { background: #5cff7a; } .invlist .fdot.room { background: #ffc23d; } .invlist .fdot.match { background: #6ab7ff; } .invlist .fdot.off { background: #666; }

.game-ver { margin: 0 0 6px; font-size: .72rem; opacity: .55; letter-spacing: .04em; }
.ver-bar { display: flex; justify-content: center; margin: 8px auto 0; max-width: min(94vw, 420px); }
.ver-bar[hidden] { display: none !important; }
.ver-bar button { appearance: none; border: 3px solid var(--ink); border-radius: 999px; padding: 8px 14px; background: #6ab7ff; color: var(--ink); font-weight: 800; font-size: .85rem; box-shadow: 0 4px 0 var(--ink); cursor: pointer; touch-action: manipulation; }
.ver-bar button:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }


/* --- player card rank (metallic by tier) + account CTA --- */
.me-rank {
  display: inline-block; margin-top: 4px; padding: 5px 14px 6px;
  font-family: "Luckiest Guy", Impact, "Arial Black", sans-serif;
  font-weight: 400; font-size: 1.05rem; letter-spacing: .04em; line-height: 1.15;
  border-radius: 999px; border: 2.5px solid var(--ink);
  /* soft drop only — hard 0 2px text-shadow + shine clip made jaggy edges */
  text-shadow: 0 1px 0 rgba(0,0,0,.45);
  -webkit-font-smoothing: antialiased;
  position: relative; overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  box-shadow: 0 3px 0 var(--ink);
}
.me-rank-bronze {
  color: #ffe8d0;
  background: linear-gradient(165deg, #d4a06a 0%, #a86b3a 42%, #6e4224 100%);
}
.me-rank-silver {
  color: #f7f9ff;
  background: linear-gradient(165deg, #e8edf4 0%, #a8b2c0 42%, #5c6572 100%);
}
.me-rank-gold {
  color: #fff8d6;
  background: linear-gradient(165deg, #ffe566 0%, #ffcf00 42%, #a67c00 100%);
  box-shadow: 0 3px 0 var(--ink), 0 0 10px rgba(255,207,0,.3);
}
.me-rank::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,.38) 48%, transparent 68%);
  background-size: 220% 100%; animation: merankshine 2.8s linear infinite;
  /* soft mask so shine follows the pill without aliased corners */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 100%);
}
@keyframes merankshine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .me-rank::after, .me-rank-chip::after { animation: none; } }
.me-rank-chip {
  position: relative; right: auto; bottom: auto;
  width: 64px; height: 64px; flex: none;
  border-radius: 50%; border: 3px solid var(--ink); overflow: hidden; z-index: 1;
  display: grid; place-items: center; padding: 4px;
  background: #1a1612;
  box-shadow: 0 3px 0 var(--ink);
  align-self: start;
}
.me-rank-chip svg { width: 100%; height: 100%; display: block; }
.me-rank-chip svg { width: 100%; height: 100%; display: block; }
.me-rank-chip-bronze { box-shadow: 0 3px 0 var(--ink), 0 0 0 3px #c48a4a; }
.me-rank-chip-silver { box-shadow: 0 3px 0 var(--ink), 0 0 0 3px #cfd6e2; }
.me-rank-chip-gold { box-shadow: 0 3px 0 var(--ink), 0 0 0 3px #ffcf00, 0 0 12px rgba(255,207,0,.4); }
.me-rank-chip::after { content: none; }
/* legacy emblem styles unused */
.me-emblem, .me-emblem-ham, .me-emblem-ins { display: none !important; }
.me-xp-lbl {
  display: inline-block; margin-top: 5px; padding: 2px 8px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; color: #2a2218; background: #ffcf00;
  border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink); letter-spacing: .01em;
}
.me-account {
  width: auto; min-width: 180px; max-width: 100%; min-height: 46px; margin: 2px auto 0;
  font-family: "Luckiest Guy", Impact, sans-serif; font-size: 1.1rem; letter-spacing: .03em;
  background: linear-gradient(180deg, #3a2e20, #241a10);
  color: #ffcf00; border: 3px solid #ffcf00;
  box-shadow: 0 4px 0 var(--ink), 0 0 14px rgba(255,207,0,.35);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.me-account:hover { filter: brightness(1.08); }
.me-acc-ico { font-size: 1.05rem; line-height: 1; }
.me-card:not(.guest) .me-cta { margin-top: 8px; }
.me-card:not(.guest) .me-signup:not(.me-account) { display: none; }
.me-card:not(.guest) .me-account { display: inline-flex; margin-inline: auto; }
.guest-nudge {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0;
  padding: 10px 12px; border-radius: 14px; border: 2px solid #2f4f6b;
  background: #152230; color: #cfe9ff; font-size: .85rem; font-weight: 700;
}
.guest-nudge[hidden] { display: none !important; }
.guest-nudge .btn { flex: none; }

/* fur CSS avatar removed from .me-card — rank shield only */
.me-card .me-av-wrap, .me-card .me-av { display: none !important; }
@media (max-width: 420px) {
  .me-rank-chip { width: 56px; height: 56px; }
}


/* --- Account panel hero + stats --- */
.acc-hero {
  display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center;
  background: linear-gradient(160deg, #2a2218, #1a1612 60%);
  border: 3px solid var(--ink); border-radius: 18px; padding: 12px;
  box-shadow: 0 4px 0 var(--ink); margin: 0 0 12px;
}
.acc-hero-badge {
  width: 72px; height: 72px; position: relative; right: auto; bottom: auto;
  align-self: center;
}
.acc-hero-shine {
  position: absolute; inset: -10%; border-radius: 50%; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35), transparent 70%);
  background-size: 200% 100%; animation: accShine 2.6s linear infinite; z-index: 1;
}
@keyframes accShine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .acc-hero-shine { animation: none; } }
.acc-hero-badge svg { position: relative; z-index: 0; }
.acc-hero-name {
  display: block; font-family: "Luckiest Guy", Impact, sans-serif;
  font-size: 1.35rem; color: #fff4e0; text-shadow: 0 3px 0 var(--ink);
  letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.acc-hero-rank { display: inline-block; margin-top: 4px; }
.acc-hero-xp { margin-top: 8px; }
.acc-hero-xp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.acc-next {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px 2px 6px; border-radius: 999px; border: 2px solid var(--ink);
  background: #2a2218; font-size: .7rem; font-weight: 800; color: #bfae95;
}
.acc-next-lab { text-transform: uppercase; letter-spacing: .04em; }
.acc-next-badge { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.acc-next-badge svg { width: 100%; height: 100%; display: block; }
.acc-since { display: block; margin-top: 6px; font-size: .75rem; font-weight: 700; color: #bfae95; }
.acc-stats {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px; margin: 0 0 12px;
}
.acc-tile {
  background: #1a1510; border: 2px solid #3a3026; border-radius: 12px;
  padding: 10px 8px; text-align: center; box-shadow: 0 2px 0 var(--ink);
}
.acc-tile b { display: block; font-family: "Luckiest Guy", Impact, sans-serif; font-size: 1.15rem; color: var(--yel); text-shadow: 0 2px 0 var(--ink); }
.acc-tile span { display: block; margin-top: 2px; font-size: .68rem; font-weight: 800; color: #bfae95; }
.acc-recent { margin: 0 0 12px; }
.acc-recent h3 { margin: 0 0 8px; font-family: "Luckiest Guy", Impact, sans-serif; color: var(--yel); letter-spacing: .03em; }
.acc-table-wrap { overflow-x: auto; border: 2px solid #3a3026; border-radius: 12px; background: #14100c; }
.acc-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.acc-table th, .acc-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid #2a231c; }
.acc-table th { color: #bfae95; font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .03em; }
.acc-table .n { text-align: right; font-variant-numeric: tabular-nums; }
.acc-table tr:last-child td { border-bottom: 0; }
.acc-keep {
  margin: 0 0 12px; padding: 12px; border-radius: 14px; border: 2px solid #ffcf00;
  background: #2a2218; box-shadow: 0 0 12px rgba(255,207,0,.2);
}
.acc-keep p { margin: 0 0 8px; font-weight: 700; color: #fff4e0; }
.acc-settings {
  border-top: 2px dashed #3a3026; padding-top: 12px; margin-top: 4px;
}
.acc-settings h3 { margin: 0 0 8px; font-family: "Luckiest Guy", Impact, sans-serif; color: var(--yel); }
@media (max-width: 420px) {
  .acc-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .acc-hero-txt { width: 100%; }
  .acc-hero-xp-row { justify-content: center; }
  .acc-hero-badge { width: 64px; height: 64px; }
}

/* ADS glass overlay (bulky guns / fake scopes e.g. Thunderpouch): clean blue CoD-style reticle, gun stays out of the way */
.ads-glass { position: absolute; inset: 0; pointer-events: none; z-index: 6;
  background: radial-gradient(circle at 50% 50%, rgba(40,120,200,.06) 0 28vmin, rgba(0,20,40,.55) 42vmin, rgba(0,0,0,.82) 100%); }
.ads-glass::before, .ads-glass::after { content: ''; position: absolute; left: 50%; top: 50%; background: rgba(120,200,255,.85); box-shadow: 0 0 4px rgba(80,180,255,.8); }
.ads-glass::before { width: 2px; height: 18vmin; margin: -9vmin 0 0 -1px; }
.ads-glass::after { width: 18vmin; height: 2px; margin: -1px 0 0 -9vmin; }
.ads-glass i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border: 2px solid rgba(120,200,255,.95); border-radius: 50%; box-shadow: 0 0 6px rgba(80,180,255,.7); }
.ads-glass b { position: absolute; left: 50%; top: 50%; width: 8px; height: 2px; margin-top: -1px; background: rgba(120,200,255,.75); }
.ads-glass b:nth-of-type(1) { margin-left: -14vmin; } .ads-glass b:nth-of-type(2) { margin-left: 6vmin; }
.ads-glass b:nth-of-type(3) { width: 2px; height: 8px; margin-left: -1px; margin-top: -14vmin; }
.ads-glass b:nth-of-type(4) { width: 2px; height: 8px; margin-left: -1px; margin-top: 6vmin; }
/* Inside peanut mushroom cloud: full-screen fog (no see-through advantage) */
.nuke-fog { position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: radial-gradient(circle at 50% 40%, rgba(90,70,50,.55), rgba(40,30,25,.92) 70%);
  opacity: 0; transition: opacity .25s; }
.nuke-fog.on { opacity: 1; }

/* Batch D: loadout gun tiles with picture + name */
#buy .kit-gun { /* ico fill */ display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 72px; padding: 8px 6px; text-align: center; }
#buy .kit-gun .gun-ico, img.gun-ico { display: block; border-radius: 8px; border: 2px solid var(--ink); }
#buy .kit-gun-name { font-size: .78rem; line-height: 1.15; font-weight: 800; }
#buy .kit-grid .row { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }

/* Batch G: loadout gun art fills the tile (no inset Lego box) */
#buy .kit-gun { /* ico fill */ display:flex; flex-direction:column; align-items:stretch; gap:6px; min-width:8.5rem; min-height:7.2rem; padding:10px 8px 8px; text-align:center; border-radius:8px !important; }
#buy .kit-gun .gun-ico, img.gun-ico { display:block; width:100%; height:78px; max-height:88px; width:92%; margin:0 auto; object-fit:contain; border:none !important; border-radius:0 !important; background:transparent !important; }
#buy .kit-gun-name { font-size:.8rem; line-height:1.15; font-weight:800; }
#buy .kit-gear { display:flex; flex-direction:column; align-items:center; gap:4px; min-width:6.2rem; padding:8px; border-radius:8px !important; }
#buy .kit-gear .gear-ico { display:block; margin:0 auto; }
#buy .kit-tabs .btn, #buy header .btn { border-radius:8px !important; }
#buy .pk-info { min-height:0; margin:.4rem .75rem .2rem; }
#buy .pk-info:not(:empty) { padding:.65rem .85rem; background:#16181c; border:1px solid #2a2e36; border-radius:8px; }
#buy .gun-stats { display:flex; flex-direction:column; gap:.35rem; }
#buy .gun-stats .gs-title { color:var(--yel,#ffcf00); font-size:1rem; }
#buy .gun-stats .gs-row { display:grid; grid-template-columns:5.2rem 1fr 4.2rem; gap:.45rem; align-items:center; font-size:.78rem; }
#buy .gun-stats .gs-bar { height:8px; background:#0e1014; border-radius:2px; overflow:hidden; }
#buy .gun-stats .gs-bar>i { display:block; height:100%; background:linear-gradient(90deg,#5ad06a,#c8e04a); border-radius:2px; }
#buy .gun-stats .gs-num { text-align:right; font-variant-numeric:tabular-nums; }


/* Batch G: Fortnite-locker Inventory */
.locker { display:grid; grid-template-columns: minmax(200px,280px) 1fr; gap:14px; align-items:start; }
.lk-preview { background:linear-gradient(180deg,#1a1e26,#0e1014); border:2px solid #2a2e36; border-radius:12px; padding:10px; text-align:center; position:sticky; top:8px; }
.lk-hero { width:100%; height:auto; max-height:320px; display:block; margin:0 auto; border-radius:8px; background:radial-gradient(ellipse at 50% 70%, #2a3340 0%, transparent 70%); }
.lk-focus { margin-top:8px; } .lk-focus b { display:block; font-size:1.05rem; color:var(--yel,#ffcf00); } .lk-focus small { opacity:.7; font-size:.78rem; }
.lk-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.lk-tab { border:2px solid #2a2e36; background:#16181c; color:#c8ccd4; border-radius:8px; padding:8px 12px; font-weight:800; cursor:pointer; }
.lk-tab.on { border-color:var(--yel,#ffcf00); color:#fff; background:#1e2228; }
.lk-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(108px,1fr)); gap:10px; }
.lk-tile { display:flex; flex-direction:column; align-items:stretch; gap:4px; border:2px solid #2a2e36; border-radius:10px; background:#16181c; padding:6px; color:#fff; cursor:pointer; text-align:center; min-height:128px; }
.lk-tile.on { border-color:var(--yel,#ffcf00); box-shadow:0 0 0 1px var(--yel,#ffcf00); }
.lk-art { aspect-ratio:1; background:#0e1014; border-radius:8px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.lk-thumb { width:100%; height:100%; display:block; }
.lk-sw { width:48px; height:48px; border-radius:50%; border:3px solid #2a2e36; }
.lk-name { font-size:.72rem; font-weight:800; line-height:1.15; }
.lk-eq { font-size:.65rem; color:var(--yel,#ffcf00); font-style:normal; font-weight:800; }
.lk-foot { margin-top:12px; }
@media (max-width:640px){ .locker { grid-template-columns:1fr; } .lk-preview { position:static; } .lk-hero { max-height:220px; } }

/* Shop knife cards: stronger rim light feel */
.item canvas.sw3d, .suit-grid canvas { filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }




/* 8.14.10: SVG gun icons (gunsvg.js) */
#buy .kit-gun { min-width:9rem !important; min-height:7.6rem !important; padding:8px 8px 6px !important; }
#buy .kit-gun .gun-ico, svg.gun-ico, img.gun-ico {
  display:block !important; width:100% !important; height:72px !important; max-height:80px !important;
  margin:0 auto !important; object-fit:contain !important; border:none !important; background:transparent !important;
}
svg.gun-ico { overflow:visible; }

.gun-stats svg.gun-ico { width:100%; height:56px; margin:0 0 6px; display:block; }
.pk-info.on { display:block; }

/* 8.14.10: PayPal checkout panel (dark card around SDK iframe; no layout jump) */
.pp-panel {
  width: min(100%, 360px); margin: 12px auto 4px; padding: 12px 12px 10px;
  background: linear-gradient(180deg, #2e2820 0%, #1a1612 100%);
  border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink), inset 0 1px 0 rgba(255,255,255,.06);
}
.pp-btns { min-height: 52px; width: 100%; display: flex; flex-direction: column; align-items: stretch; justify-content: center; }
.pp-btns > .paypal-buttons, .pp-btns iframe { width: 100% !important; max-width: 100%; }
.pp-loading { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; color: #e8e0d4; font-size: .92rem; font-weight: 700; }
.pp-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--yel); animation: spin .75s linear infinite; flex: 0 0 auto; }
.pp-err { text-align: center; color: #ffb4a8; font-weight: 700; font-size: .9rem; padding: 4px; }
.pp-err .btn { margin-top: 8px; }
.pp-note { font-size: .82rem; opacity: .88; line-height: 1.35; margin: .4em 0; }
.shop-card .pp-panel { margin-top: 10px; }

/* Suit detail: landscape phones — scrollable blurb, sticky header, no clip */
.suit-blurb { line-height: 1.4; margin: .35em 0 .5em; }
.suit-big-knife canvas { object-fit: contain; }
@media (orientation: landscape) and (max-height: 560px) {
  .panel.full .panel-box {
    display: flex; flex-direction: column; max-height: 100svh; height: 100%;
    padding-top: max(6px, env(safe-area-inset-top));
  }
  .panel.full .panel-box header {
    position: sticky; top: 0; z-index: 5; flex: 0 0 auto;
    background: #241f19; margin: 0 0 8px; padding: 6px 0; border-bottom: 2px solid #3a342c;
  }
  .panel.full #panelBody { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; width: min(900px, 100%); max-height: none; }
  .suit-big {
    flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 14px;
    max-width: 100%;
  }
  .suit-big canvas {
    flex: 0 0 auto; width: auto; max-width: min(34vw, 220px); max-height: calc(100svh - 88px);
    aspect-ratio: 300 / 350; object-fit: contain;
  }
  .suit-big .suit-info {
    flex: 1 1 auto; max-width: none; min-width: 0;
    max-height: calc(100svh - 88px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding-right: 4px; text-align: left;
  }
  .suit-big .pp-panel { width: min(100%, 320px); margin-left: 0; }
  .suit-big .shop-price { font-size: 1.8rem; }
}
@media (orientation: landscape) and (max-height: 420px) {
  .suit-big canvas { max-width: min(30vw, 180px); max-height: calc(100svh - 72px); }
  .suit-blurb { font-size: .9rem; }
}

/* Knife tiles: fill the card preview area */
.suit-card canvas[data-suit^="knife_"],
.suit-card.elite canvas,
.lk-art canvas[data-knife],
canvas.lk-thumb[data-knife] {
  width: 100%; max-width: none; object-fit: contain;
}
.suit-big-knife canvas {
  background: radial-gradient(circle at 50% 40%, #3a3228, #14110e 70%);
}

/* server names: region + small city line (Europe · Helsinki) */
.reg-city { display: block; font-size: .72em; font-weight: 600; opacity: .75; line-height: 1.1; margin-top: 1px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.reg-seg .reg-name { max-width: 100%; text-align: center; }
.srv-row .srv-name { min-width: 0; line-height: 1.15; }
.srv-row .srv-name .reg-city { color: #d8c9ad; }
.gs-region .tag .reg-city, .gs-ov-top .reg-city, #gsTip .reg-city { display: inline; margin-left: 4px; font-size: .8em; }

/* Multiplayer server picker: collapsed to the current server, 'Change' opens the list */
.reg-cur { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; border: 3px solid var(--ink); background: #1a1612; }
.reg-cur-name { flex: 1 1 auto; min-width: 0; font-weight: 800; line-height: 1.1; }
.reg-cur-name .reg-auto { color: var(--yel); }
.reg-cur-st { flex: 0 0 auto; }
.reg-change { flex: 0 0 auto; appearance: none; border: 2px solid var(--ink); border-radius: 999px; background: var(--yel); color: var(--ink); font-weight: 800; padding: 6px 12px; cursor: pointer; }
.reg-cur.open + .reg-segbar { margin-top: 6px; }
.reg-segbar[hidden] { display: none !important; }
@media (max-width: 420px) { .reg-cur { padding: 6px 8px; gap: 6px; } .reg-change { padding: 5px 10px; font-size: .82rem; } }

/* 'X is faster for you — Switch?' nudge (picker + lobby banner) */
.reg-nudge { margin-top: 6px; padding: 6px 10px; border-radius: 12px; background: #2a2210; border: 2px solid #ffcf0066; font-size: .82rem; line-height: 1.3; }
.reg-switch { appearance: none; border: 2px solid var(--ink); border-radius: 999px; background: var(--yel); color: var(--ink); font-weight: 800; padding: 2px 10px; cursor: pointer; }
.reg-nudge-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 20px); padding: 8px 10px 8px 14px; border-radius: 16px; border: 3px solid var(--ink); background: #1a1612; color: #fff4e0; font-size: .86rem; box-shadow: 0 6px 20px #0008; }
.reg-nudge-bar .reg-x { appearance: none; background: none; border: 0; color: #fff4e0; font-size: 1.2rem; cursor: pointer; padding: 0 4px; }

/* Admin-hidden maps (staff pickers) */
.pcard.map-hid, .rs-map.map-hid { opacity: .72; outline: 1px dashed rgba(255,180,80,.45); }
.pcard.map-hid b::after, .rs-map.map-hid span::after { content: ''; }
/* Refer a friend (v9.1.1) */
.refer-btn{background:linear-gradient(135deg,#ffb21a,#ff5e3a)!important;color:#1a1208!important;font-weight:900;animation:referPulse 1.6s ease-in-out infinite}
.refer-tag{font-style:normal;background:#1a1208;color:#ffd75e;border-radius:9px;padding:1px 6px;margin-left:4px;font-size:.75em}
@keyframes referPulse{0%,100%{box-shadow:0 0 0 0 rgba(255,178,26,.6)}50%{box-shadow:0 0 0 8px rgba(255,178,26,0)}}
.refer-hero{text-align:center}.refer-big{font-family:'Luckiest Guy',sans-serif;font-size:1.5rem;color:#ffb21a;line-height:1.1;margin:4px 0 8px;text-shadow:2px 2px 0 #000}
.refer-big em{color:#ff5e3a;font-style:normal}
.refer-link{display:flex;gap:6px;margin:10px 0}.refer-link input{flex:1;min-width:0;font-family:monospace;padding:8px;border-radius:8px;border:2px solid #ffb21a;background:#120d07;color:#fff}
.refer-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:10px 0}.refer-stats div{background:#221a10;border-radius:10px;padding:8px 2px}.refer-stats b{display:block;font-size:1.4rem;color:#ffd75e}.refer-stats small{font-size:.72rem;opacity:.8}
.refer-bar{position:relative;height:12px;background:#221a10;border-radius:6px;margin:16px 4px 22px}.refer-bar i{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#ffb21a,#ff5e3a);border-radius:6px}.refer-bar span{position:absolute;top:14px;transform:translateX(-50%);font-size:.72rem}
.refer-ms{list-style:none;padding:0;text-align:left}.refer-ms li{padding:4px 0}.refer-ms li.got{color:#7ee787}.refer-mine{background:#1e3a1e;border-radius:8px;padding:6px}
.srv-more { display: block; margin-top: 6px; text-align: center; font-weight: 800; font-size: .8rem; }
/* 9.1.11 portraits */
.me-rank-chip.has-av{padding:0;border-radius:10px;background:#12160c}.me-rank-chip .me-portrait{width:100%;height:100%;display:block;object-fit:cover}
.lb-av{width:26px;height:26px;border:2px solid #000;border-radius:4px;vertical-align:middle;margin-right:4px;background:#222}
.sb-av{width:22px;height:22px;border:1px solid #000;border-radius:3px;vertical-align:middle;margin-right:3px;background:#222}

.nt-ninja { color: #ff5a8a !important; text-shadow: 0 0 6px #ff2a5a, 0 0 12px rgba(255,42,90,.6); }
.tier-ninja { border-color: #ff5a8a; box-shadow: 0 0 18px rgba(255,90,138,.35); }
.nt-furry { color: #e8b878 !important; text-shadow: 0 0 6px #ff7a1a, 0 0 12px rgba(255,122,26,.55); }
.tier-furry { border-color: #d8a868; box-shadow: 0 0 18px rgba(255,122,26,.35); }
/* 9.1.11 THE EYE screen wobble (1 s): fisheye-ish bulge on medium/high, plain scale wobble on low */
@keyframes eyeWarp{0%{transform:none;filter:none}15%{transform:scale(1.12,1.06) skewX(3deg);filter:saturate(1.6) contrast(1.15)}35%{transform:scale(.95,1.1) skewX(-4deg)}55%{transform:scale(1.08,.94) skewY(2deg)}75%{transform:scale(.98,1.04) skewX(1deg)}100%{transform:none;filter:none}}
@keyframes eyeWarpLo{0%,100%{transform:none}25%{transform:scale(1.06)}50%{transform:scale(.97)}75%{transform:scale(1.03)}}
canvas.eyewarp{animation:eyeWarp 1s ease-in-out;border-radius:0}canvas.eyewarp-lo{animation:eyeWarpLo 1s ease-in-out}
@media (prefers-reduced-motion: reduce){canvas.eyewarp,canvas.eyewarp-lo{animation:none}}
/* 9.1.11 simpler multiplayer menu */
.mp2{display:flex;flex-direction:column;gap:12px}
.mp2-quick{font-size:1.6rem;padding:18px 12px;display:flex;flex-direction:column;align-items:center;gap:4px}
.mp2-quick small{font:600 .8rem/1.2 system-ui,sans-serif;opacity:.85;letter-spacing:0;text-transform:none}
.mp2-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mp2-opt{padding:12px 8px;font-size:1rem}
.mp2-friends{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:12px;background:rgba(255,255,255,.05)}
.mp2-join{display:flex;gap:8px}.mp2-join input{flex:1;min-width:0;font-size:1rem;padding:10px;border-radius:10px}
.mp2-adv summary{cursor:pointer;opacity:.8;padding:6px 0}.mp2-adv[open] summary{margin-bottom:8px}
.mp2-note{font-size:.8rem;opacity:.75}
@media (max-width:480px){.mp2-two{grid-template-columns:1fr}.mp2-quick{font-size:1.35rem}}
/* 9.1.12: Add friend in matches + tabbed settings */
.sb-pick{cursor:pointer;text-decoration:underline dotted #fff8;text-underline-offset:3px}.sb-pick:hover{color:#ffd43b}
.sb-fr{display:inline-flex;gap:4px;align-items:center}.frhint{font-size:.72rem;opacity:.75;margin-left:4px}
.set-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}.set-tabs .btn.on{background:#ffd43b;color:#000}
.set-adv{margin:6px 0 10px;padding:6px 10px;border:1px solid #ffffff22;border-radius:10px}.set-adv summary{cursor:pointer;font-weight:800}
.set-reset{text-align:right;margin:10px 0 0}
/* 9.1.12: in-match MENU button (Dad: bigger, clearer, always in the top-right corner; Esc on computers) */
html:has(#hud:not([hidden])) .sound-btn{right:calc(max(8px,env(safe-area-inset-right)) + 152px)}html:has(#hud:not([hidden])) .music-btn{right:calc(max(8px,env(safe-area-inset-right)) + 204px)}html:has(#hud:not([hidden])) .hudbtns{right:max(8px,env(safe-area-inset-right));top:calc(max(6px,env(safe-area-inset-top)) + 58px)}
.touchmode:has(#hud:not([hidden])) .sound-btn,.touchmode:has(#hud:not([hidden])) .music-btn{display:none}.touchmode:has(#hud:not([hidden])) .hudbtns{right:max(8px,env(safe-area-inset-right));top:calc(max(6px,env(safe-area-inset-top)) + 62px)}
.touchmode .hmenu span{font-size:.8rem}
.hmenu{position:absolute;top:max(6px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));z-index:30;display:flex;align-items:center;gap:6px;min-width:48px;min-height:48px;padding:6px 12px;border:2px solid #c9b458;border-radius:8px;background:rgba(38,44,24,.88);color:#f1e3a0;font:800 .95rem/1 'Luckiest Guy',system-ui,sans-serif;letter-spacing:.08em;cursor:pointer;box-shadow:0 2px 0 #000a,inset 0 0 0 1px #0006;touch-action:manipulation;pointer-events:auto}
.hmenu:hover,.hmenu:focus-visible{background:rgba(70,80,36,.95);outline:2px solid #ffd43b;outline-offset:2px}
.hmenu kbd{font:700 .62rem/1 monospace;padding:2px 4px;border:1px solid #c9b45899;border-radius:3px;opacity:.8}
.touchmode .hmenu kbd{display:none}
.touchmode .hmenu{min-height:52px;min-width:52px}
/* 9.1.13: Account panel decorations shelf + public profile share */
.acc-medals { margin: 0 0 12px; padding: 8px 10px 10px; background: linear-gradient(#2a2f1d, #14170d); border: 2px solid #0a0b06; outline: 1px solid #d9ad1266; outline-offset: -5px; border-radius: 8px; color: #cdbf98; }
.acc-medals h3 { color: #d9ad12; font-family: Impact, "Arial Black", sans-serif; font-size: .95rem; }
.acc-medals .dsr-rack { max-height: 260px; overflow-y: auto; }
.acc-share { margin: 0 0 12px; }
.acc-share h3 { margin: 0 0 6px; font-family: "Luckiest Guy", Impact, sans-serif; color: var(--yel); letter-spacing: .03em; }
.acc-share-url { margin: 0 0 8px; font-size: .9rem; word-break: break-all; }
.acc-share-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-share-btns a.btn { text-decoration: none; }
.acc-share-msg { display: block; min-height: 1.2em; font-size: .85rem; margin-top: 4px; color: var(--yel); }
/* 9.1.13: kill feed sits below the measured MENU + button rows (main.js layoutHudTop sets the vars) */
.feed { top: var(--feedTop, calc(max(8px, env(safe-area-inset-top)) + 110px)); max-width: min(46vw, 360px); z-index: 4; pointer-events: none; }
.feed div { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 900px) {
  .banner { top: max(22%, var(--feedBottom, 0px)); }
  .sub { top: calc(max(22%, var(--feedBottom, 0px)) + 3.6rem); }
  .feed { font-size: .7rem; }
}
/* 9.1.14: server picker back on the Multiplayer menu, with players online per server */
.mp2 > .reg-pick { margin: 10px 0 4px; }
.reg-pl { display: block; font-size: .68rem; opacity: .8; line-height: 1.1; }
@media (max-width: 560px) { .reg-segbar { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 9.1.14: profile pictures in Account + friends */
.acc-hero-av { width: 72px; height: 72px; border: 3px solid #0a0b06; outline: 2px solid #d9ad12; outline-offset: -5px; border-radius: 6px; flex: none; }
.acc-avs { margin: 0 0 12px; }
.acc-avs h3 { margin: 0 0 4px; font-family: "Luckiest Guy", Impact, sans-serif; color: var(--yel); letter-spacing: .03em; }
.acc-avs .dsr-avs { max-height: 250px; overflow-y: auto; }
.fav { width: 34px; height: 34px; border-radius: 5px; border: 2px solid #0a0b06; flex: none; }
.frow [data-prof]:not(button) { cursor: pointer; } .fprof:hover { text-decoration: underline; }
.reg-cur[role="button"] { cursor: pointer; } .reg-cur[role="button"]:hover { filter: brightness(1.15); }
.reg-lbl2 { opacity: .75; margin-right: 4px; } .reg-caret { margin-left: 8px; font-size: 1.1rem; }
/* 9.1.14: custom match rules = OPERATION BRIEFING (dossier style) */
.rs-brief { margin: 4px 0 2px; padding: 0 0 10px; background: linear-gradient(#2a2f1d, #171a10); border: 2px solid #0a0b06; outline: 1px solid #d9ad1255; outline-offset: -5px; border-radius: 8px; box-shadow: inset 0 1px 0 #ffffff12; overflow: hidden; }
.rs-brief-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 12px 7px; margin-bottom: 8px; background: repeating-linear-gradient(-45deg, #1d2014 0 10px, #23271a 10px 20px); border-bottom: 2px solid #d9ad12; }
.rs-brief-h span { font: 900 1.05rem/1 Impact, "Arial Black", sans-serif; letter-spacing: .28em; color: #e9dfbf; text-shadow: 0 1px 0 #000; }
.rs-brief-h small { font: 700 .62rem/1 "Courier New", monospace; letter-spacing: .18em; color: #d9ad12; }
.rs-brief .rs-grid { display: grid; grid-template-columns: 1fr; gap: 6px 14px; padding: 0 10px; }
.rs-brief .rs-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.rs-brief .rs-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 6px 0 4px; border: 0; border-top: 1px dashed #cdbf9826; background: none; }
.rs-brief .rs-lab { display: flex; align-items: center; gap: 6px; font: 800 .68rem/1 "Courier New", monospace; letter-spacing: .14em; text-transform: uppercase; color: #cdbf98; opacity: 1; text-align: left; }
.rs-brief .rs-lab i { font-style: normal; font-size: .9rem; width: 1.2em; text-align: center; filter: grayscale(.4); }
.rs-brief .seg.mini { display: flex; flex-wrap: nowrap; gap: 0; padding: 2px; border-radius: 7px; background: #0e100a; border: 1px solid #000; box-shadow: inset 0 1px 3px #000a; }
.rs-brief .seg.mini .seg-b { flex: 1 1 0; min-width: 0; min-height: 40px; margin: 0; padding: 4px 6px; border: 0; border-radius: 5px; background: transparent; color: #cdbf98; font: 700 .78rem/1.1 system-ui, sans-serif; box-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: none; }
.rs-brief .seg.mini .seg-b + .seg-b { border-left: 1px solid #ffffff10; }
.rs-brief .seg.mini .seg-b:hover:not([disabled]) { background: #ffffff0d; }
.rs-brief .seg.mini .seg-b[aria-checked="true"] { background: linear-gradient(#3d4428, #2c321c); color: #ffe27a; box-shadow: inset 0 0 0 1px #d9ad12aa, 0 0 10px #d9ad1240; text-shadow: 0 0 6px #d9ad1288; }
.room-set.ro .rs-brief .seg-b[aria-checked="false"] { opacity: .5; }
.rs-brief, .rs-brief .rs-grid, .rs-brief .rs-row, .rs-brief .seg.mini { min-width: 0; max-width: 100%; }
.rs-brief .rs-grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
/* 9.1.15: gap between rank name and XP wherever they sit side by side */
.me-txt > b + small, .me-txt > b + span, .me-rank + .me-xp-lbl, .acc-hero-rank + .acc-hero-xp-row { margin-left: .5em; }
.me-txt > b { margin-right: .15em; }
/* 9.1.16: squad lobby = centred card sized to its content (game background shows around it), still full-width on phones */
.panel.full:has(.room) { background: rgba(0,0,0,.45); padding: max(10px, env(safe-area-inset-top)) 10px 10px; }
.panel.full:has(.room) .panel-box { width: min(700px, 100%); height: auto; max-height: calc(100svh - 20px); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 8px 0 var(--ink); padding: 12px 16px 16px; justify-content: flex-start; }
.panel.full:has(.room) #panelBody { width: 100%; }
@media (max-width: 520px) { .panel.full:has(.room) { padding: 6px; } .panel.full:has(.room) .panel-box { border-radius: 16px; padding: 10px; max-height: calc(100svh - 12px); } }

/* 9.1.17: weapon stat bars on each loadout card */
#buy .kit-gs { display:grid; gap:2px; width:100%; margin-top:2px; }
#buy .kgs { display:grid; grid-template-columns:2.6rem 1fr; gap:4px; align-items:center; font-size:.58rem; font-weight:800; opacity:.9; }
#buy .kgs em { font-style:normal; text-align:left; letter-spacing:.02em; }
#buy .kgs i { display:block; height:5px; background:#0e1014; border-radius:2px; overflow:hidden; }
#buy .kgs i b { display:block; height:100%; background:linear-gradient(90deg,#5ad06a,#c8e04a); }
#buy .kgs-mag { font-size:.6rem; font-weight:800; opacity:.8; text-align:left; }

/* 9.1.17: connecting spinner on multiplayer buttons */
.btn.busy { opacity:.85; cursor:progress; }
.btn-spin { display:inline-block; width:.9em; height:.9em; margin-right:.45em; vertical-align:-.1em; border:.16em solid currentColor; border-right-color:transparent; border-radius:50%; animation:btnspin .7s linear infinite; }
@keyframes btnspin { to { transform:rotate(360deg); } }

/* 9.1.17: no sideways scroll in MY LOADOUT: grids wrap to the panel width, vertical scroll only */
#buy { overflow-x: hidden !important; }
#buy .kit-grid { min-width: 0; max-width: 100%; }
#buy .kit-grid > section { min-width: 0; }
#buy .kit-grid .row { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7.6rem), 1fr)) !important; gap: 6px; min-width: 0; }
#buy .kit-gun, #buy .kit-gear { min-width: 0 !important; width: auto !important; max-width: 100%; box-sizing: border-box; }
#buy .kit-gun .gun-ico, #buy .kit-gun svg.gun-ico, #buy .kit-gun img.gun-ico { max-width: 100%; }
#buy .kit-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
@media (max-width: 560px) { #buy .kit-grid { grid-template-columns: minmax(0,1fr); } }

/* 9.1.17: role-locked portrait tags */
.role-badge { display:inline-block; margin:0 4px; padding:1px 5px; border-radius:4px; font:900 .62rem/1.3 system-ui,sans-serif; letter-spacing:.06em; vertical-align:middle; border:1.5px solid #000; }
.role-badge.admin { background:#f2c230; color:#3a2604; }
.role-badge.mod { background:#d6dde4; color:#1c2630; }
.dsr-id .role-badge { display:block; width:max-content; margin:6px auto 0; font-size:.8rem; }

/* 10.1.1: bad-connection warning: big, top-centre under the score bar, clear of the HUD */
.net-warn { position:fixed; left:50%; top:calc(env(safe-area-inset-top) + 74px); transform:translateX(-50%); z-index:30; font:900 26px/1 system-ui,sans-serif; letter-spacing:.04em; padding:8px 18px; border-radius:12px; background:rgba(0,0,0,.6); border:3px solid currentColor; white-space:nowrap; cursor:help; pointer-events:auto; text-shadow:0 2px 4px #000; animation:netwarn .8s ease-in-out infinite alternate; }
@keyframes netwarn { from { color:#ffd21a } to { color:#ff2a2a } }
@media (max-width: 700px), (max-height: 500px) { .net-warn { font-size:17px; padding:5px 12px; top:calc(env(safe-area-inset-top) + 58px); } }
/* 10.1.3: SLOW CONNECTION level: calm yellow, gentle pulse, smaller */
.net-warn.slow { font-size:20px; padding:6px 14px; border-width:2px; animation:netslow 2.4s ease-in-out infinite alternate; color:#ffd21a; }
@keyframes netslow { from { opacity:.7 } to { opacity:1 } }
@media (max-width: 700px), (max-height: 500px) { .net-warn.slow { font-size:14px; padding:4px 10px; } }
/* 10.1.3: post-match table never scrolls sideways (Dad's rule): it fits, names truncate, minor columns drop on narrow screens */
.sumwrap { overflow-x: hidden !important; }
.sumtab { table-layout: auto; font-size: clamp(.62rem, 1.7vw, .82rem); }
.sumtab th, .sumtab td { padding: 4px clamp(2px, .6vw, 7px); }
.sumtab .nm { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; position: static; }
@media (max-width: 640px) { .sumtab th:nth-child(8), .sumtab td:nth-child(8), .sumtab th:nth-child(9), .sumtab td:nth-child(9), .sumtab th:nth-child(11), .sumtab td:nth-child(11) { display: none; } }
@media (max-width: 420px) { .sumtab th:nth-child(7), .sumtab td:nth-child(7), .sumtab th:nth-child(10), .sumtab td:nth-child(10) { display: none; } }

/* 10.1.8: CLICK TO PLAY (PC, mouse not captured). Only the button takes clicks; menus and the scoreboard stay usable. */
.ctp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 30; pointer-events: auto; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 34px; max-width: calc(100vw - 32px); border: 4px solid var(--ink); border-radius: 22px; background: var(--org); color: #fff; font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: .04em;
  text-shadow: 0 3px 0 var(--ink); box-shadow: 0 6px 0 var(--orgd), 0 12px 30px rgba(0,0,0,.55); animation: ctpPulse 1.6s ease-in-out infinite; }
.ctp small { font: 800 clamp(.75rem, 1.6vw, .95rem)/1.2 ui-rounded, "Nunito", system-ui, sans-serif; letter-spacing: 0; text-shadow: none; color: var(--cream); opacity: .95; }
.ctp:hover { filter: brightness(1.08); }
.ctp[hidden] { display: none; }
@keyframes ctpPulse { 50% { transform: translate(-50%, -50%) scale(1.04); } }
@media (pointer: coarse) { .ctp { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .ctp { animation: none; } }

/* 10.1.8: squad lobby + Multiplayer fit short laptop screens (650-730 px) without scrolling or clipping */
.panel.full:has(.room) .panel-box { width: min(760px, 100%); max-height: calc(100dvh - 20px); }
.room .vs .side, .room .mcard, .room .chips .chip { min-width: 0; }
.room .mcard .hostops .btn { padding: 3px 7px; font-size: .74rem; min-height: 28px; }
.room .chips .chip b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 560px) { .room .vs { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } .room .chips { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } }
@media (max-height: 780px) {
  .panel.full:has(.room) { padding-top: 6px; padding-bottom: 6px; }
  .panel.full:has(.room) .panel-box { max-height: calc(100dvh - 12px); padding: 6px 12px 10px; }
  .panel.full:has(.room) .panel-box header { padding: 4px 0; margin: -4px 0 2px; }
  .room { gap: 6px; } .room-hero { gap: 3px; } .room-hero > small { font-size: .6rem; }
  .room .code-chip { font-size: 1.7rem; padding: 2px 14px 1px 20px; } .room .code-chip span { display: none; }
  .room .hero-row .btn { min-height: 28px; padding: 3px 10px; } .room .rs-region { display: none; }
  .room .vs .side { padding: 6px; } .room .vs .side h4 { margin-bottom: 4px; } .room .vs ul { gap: 4px; }
  .room .mcard { padding: 3px 6px; gap: 8px; } .room .mcard .av { width: 30px; height: 30px; }
  .room .chips { gap: 6px; } .room .chips .chip { padding: 4px 8px; }
  .room .room-opts summary { padding: 2px; }
  #sqStart, #sqReady { padding-top: 8px; padding-bottom: 8px; font-size: 1.4rem; }
  .mp2 { gap: 8px; }
}
/* 10.1.8: game page - no pinch zoom (panels and menus still scroll: pan stays allowed) */
html:not(.doc), html:not(.doc) body { touch-action: pan-x pan-y; }
/* 10.1.8: short screens - voice card + Invite/Leave share the last row, voice card compact */
@media (max-height: 780px) and (min-width: 560px) {
  .room { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 10px; }
  .room > * { grid-column: 1 / -1; }
  .room > .vcard { grid-column: 1; margin: 0; padding: 6px 10px; box-shadow: 0 3px 0 var(--ink); }
  .room > .menu-grid { grid-column: 2; align-self: center; gap: 6px; }
  .room > .vcard .vnote, .room > .vcard .vtest, .room > .vcard .vbar { display: none; }
  .room > .menu-grid .btn { min-height: 34px; padding: 4px 8px; }
}
@media (max-height: 780px) { .room-opts:not([open]) { margin: -4px 0; } }
@media (max-height: 700px) and (min-width: 560px) {
  .room-hero > small { display: none; }
  .room-hero { grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 12px; }
  .room .code-chip { font-size: 1.45rem; }
  .room .mcard .av { width: 26px; height: 26px; } .room .mcard { padding: 2px 6px; } .room .mcard .pn small { font-size: .66rem; }
  .room .vs .side h4 { font-size: .72rem; margin-bottom: 3px; }
  .panel.full:has(.room) .panel-box header h2 { font-size: 1.25rem; }
}
/* 10.1.9 more Overlord: rotating second pill, results-screen notes, Overlord's Orders heading */
.early-pill.ov-pill2 { background: rgba(224,49,49,.12); border-color: #e0a030; color: #ffe8c2; }
.ov-notes { margin: 8px 0; padding: 8px 12px; border: 1px solid #a64dff; border-radius: 10px; background: rgba(166,77,255,.12); color: #e6d2ff; font-size: .9em; text-align: left; }
.ov-notes p { margin: 3px 0; overflow-wrap: anywhere; }
.ov-h { margin: 14px 0 4px; color: #d8b4ff; }
/* 10.1.8b: the HUD Menu button never covers the loadout's I'm ready; short (landscape phone) screens get a big I'm ready at the bottom */
body:has(#buy:not([hidden])) #hMenu { display: none; }
#buy .kit-ready { display: none; }
@media (max-height: 560px) { #buy .kit-ready { display: block; width: calc(100% - 1.5rem); margin: .6rem .75rem .9rem; } }


/* 10.1.9c: far-server hint — hamster-military toast, away from crosshair, DOM-only (not in clip/replay canvas) */
.far-hint {
  position: fixed; left: 12px; bottom: calc(env(safe-area-inset-bottom) + 72px);
  z-index: 28; max-width: min(340px, calc(100vw - 24px));
  padding: 10px 14px; border: 3px solid #15170f; border-radius: 4px;
  background: #d7cba6 linear-gradient(180deg,#ddd2b0,#c9bc94);
  color: #1b1d14; font: 800 13px/1.35 'Courier New', Courier, monospace;
  box-shadow: 4px 4px 0 #15170f; letter-spacing: .02em;
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
}
.far-hint.on {
  opacity: 1; transform: none;
  animation: farPulse 1.6s ease-in-out infinite alternate;
  transition: opacity .35s, transform .35s;
}
.far-hint.out { opacity: 0; transform: translateY(8px); animation: none; transition: opacity .8s, transform .8s; }
@keyframes farPulse {
  from { box-shadow: 4px 4px 0 #15170f, 0 0 0 0 rgba(217,173,18,.0); }
  to { box-shadow: 4px 4px 0 #15170f, 0 0 0 3px rgba(217,173,18,.35); }
}
@media (max-width: 700px) {
  .far-hint { left: 8px; right: 8px; max-width: none; bottom: calc(env(safe-area-inset-bottom) + 64px); font-size: 12px; }
}

/* 10.1.9c phone install nudge (khaki/olive) */
.inst-nudge { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(10px, env(safe-area-inset-bottom)); z-index: 9400; width: max-content; max-width: calc(100vw - 20px); box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; padding: 6px 6px 6px 14px; background: #3b4224; color: #e8dcb0; border: 2px solid #a89a62; border-radius: 20px; font-family: inherit; font-weight: 700; font-size: .78rem; line-height: 1.2; box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.inst-nudge[hidden] { display: none; }
.inst-nudge .inst-t { flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inst-nudge button { font: inherit; cursor: pointer; border-radius: 999px; }
.inst-nudge .inst-go { background: #c9b878; color: #1d200f; border: 0; padding: 5px 12px; text-transform: uppercase; letter-spacing: .04em; }
.inst-nudge .inst-x { background: none; border: 0; color: #e8dcb0; font-size: 1.1rem; padding: 0 6px; line-height: 1; }
.inst-nudge .inst-tip { flex: 1 0 100%; text-align: center; font-weight: 600; color: #f3ead0; padding: 0 0 2px; }
html.inst-on #lobby { padding-bottom: var(--inst-pad, 0px); }
.inst-nudge.inline { position: static; transform: none; margin: 10px auto 0; }
html.inst-on #installBtn { display: none !important; }



.logo .l1,.logo .l2,.play-main{font-family:'Stencil Std',Stencil,'Black Ops One',Impact,'Arial Black',sans-serif;letter-spacing:.06em}
.logo .l1{color:var(--kh)}
.logo .l2{color:#d9ad12;transform:none}
.btn.big.play-main{background:var(--ol);color:var(--kh);border:3px solid var(--ol2);border-radius:4px;
  box-shadow:inset 0 0 0 2px rgba(205,191,152,.25),0 5px 0 var(--ol2);
  background-image:repeating-linear-gradient(45deg,rgba(0,0,0,.08) 0 6px,transparent 6px 12px);
  text-decoration:none}
.btn.big.play-main.go{background-color:#55682e;background-image:repeating-linear-gradient(45deg,rgba(0,0,0,.08) 0 6px,transparent 6px 12px)}
.btn.big.play-main:hover{background-color:#455030;filter:brightness(1.05)}
.play-main small{color:var(--kh2)}
/* Kill teal glow / underline leftover on PLAY ONLINE */
.btn.big.mp-glow.play-main,.btn.mp-glow.play-main{
  background:var(--ol);color:var(--kh);border:3px solid var(--ol2);border-radius:4px;
  box-shadow:inset 0 0 0 2px rgba(205,191,152,.25),0 5px 0 var(--ol2);
  background-image:repeating-linear-gradient(45deg,rgba(0,0,0,.08) 0 6px,transparent 6px 12px);
  animation:none;text-decoration:none;outline:none}
.btn.big.mp-glow.play-main:hover,.btn.mp-glow.play-main:hover{background-color:#455030;background-image:repeating-linear-gradient(45deg,rgba(0,0,0,.08) 0 6px,transparent 6px 12px);filter:brightness(1.05);text-decoration:none}
.btn.big.mp-glow.play-main:active,.btn.mp-glow.play-main.down{animation:none;transform:translateY(4px);box-shadow:0 1px 0 var(--ol2)}
.btn.big.mp-glow.play-main small{color:var(--kh2)}

/* ---- 10.1.9c phone still front (no live 3D #cv attract) ---- */
#frontStillBg { display: none; }
html.front-still #cv { visibility: hidden !important; pointer-events: none; }
html.front-still 
html.front-still body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url(img/front-still.webp?v=202610161900) center / cover no-repeat #2a3020;
}



/* ---- 10.1.9c YOUR SQUAD military lobby ---- */
.panel:has(.room) .panel-box, .panel.brief-full:has(.room) .panel-box {
  width: min(720px, 100%) !important; max-width: 720px !important;
  background: #262c1a !important; border: 3px solid #11140b !important; border-radius: 6px !important;
  box-shadow: 0 8px 0 #11140b !important;
  background-image: linear-gradient(rgba(205,191,152,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(205,191,152,.05) 1px,transparent 1px) !important;
  background-size: 28px 28px !important;
}
.room .sides { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px !important; width: 100% !important; }
.room .sides:has(> .side:only-child), .room.solo .sides { grid-template-columns: 1fr !important; }
.room .side ul { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
.room .mcard { display: grid !important; grid-template-columns: auto 1fr auto !important; align-items: center !important; gap: 8px 10px !important;
  padding: 10px 12px !important; background: #3a4228 !important; border: 2px solid #4d5733 !important; border-radius: 4px !important; color: #cdbf98 !important;
  min-height: 52px !important; position: relative !important; }
.room .mcard .pn { min-width: 0 !important; }
.room .mcard .pn b { display: block !important; font-family: Impact, 'Arial Black', sans-serif !important; letter-spacing: .04em !important; color: #cdbf98 !important; }
.room .mcard .pn small { display: block !important; color: #a99a70 !important; font-size: .78rem !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
.room .mcard .host-badge { display: inline-block !important; margin-left: 6px !important; padding: 1px 6px !important; background: #d9ad12 !important; color: #262c1a !important;
  font: 800 .65rem Impact, sans-serif !important; letter-spacing: .05em !important; border-radius: 3px !important; vertical-align: middle !important; }
.room .mcard .ping-s { grid-column: 3 !important; font-size: .75rem !important; color: #a99a70 !important; white-space: nowrap !important; }
.room .rs-note + .rs-region, .room .rs-region:empty { display: none !important; }
.room .rs-region { display: none !important; } /* one server line only (hero-row .rs-note) */
.room .hero-row .rs-note { color: #cdbf98 !important; font-weight: 700 !important; }
@media (max-width: 560px) {
  .room .sides { grid-template-columns: 1fr !important; }
}


/* ---- 10.1.9c phone title readable (no tint) ---- */
@media (max-width: 700px), (pointer: coarse) {
  .lobby .logo .l1, .lobby .logo .l2 {
    color: #f0e6c8;
    text-shadow: 0 2px 0 #0c0a08, 0 0 14px rgba(0,0,0,.85), 0 1px 8px rgba(0,0,0,.7);
  }
  .lobby .logo .l2 { color: #ffd84a; }
}

/* ---- 10.1.9c compact cookie card ---- */
.cookie-bar {
  left: max(10px, env(safe-area-inset-left)) !important;
  right: auto !important;
  bottom: max(10px, env(safe-area-inset-bottom)) !important;
  width: min(360px, calc(100vw - 20px)) !important;
  max-width: min(360px, calc(100vw - 20px)) !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 10px !important;
  background: #3b4224 !important;
  color: #e8dcb0 !important;
  border: 2px solid #a89a62 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.45) !important;
  font-size: .75rem !important;
  line-height: 1.25 !important;
  z-index: 9500 !important;
  box-sizing: border-box !important;
}
.cookie-bar p { margin: 0 !important; flex: 1 1 auto !important; min-width: 0 !important; }
.cookie-bar .btn {
  flex: 0 0 auto !important; min-height: 32px !important; padding: .2em .75em !important;
  font-size: .78rem !important; background: #c9b878 !important; color: #1d200f !important;
  border-color: #11140b !important; border-radius: 999px !important;
}
/* sit above install pill on phones */
html.inst-on .cookie-bar { bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--inst-pad, 56px)) !important; }

/* ---- 10.1.9c: never show / never click cookie during match ---- */
html.match-on .cookie-bar, body.match-on .cookie-bar {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* ---- 10.1.9c debrief contrast + fonts ---- */
.over .debrief, .over .debrief * {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.over .debrief .debrief-hd,
.over .debrief .btn.big,
.over .debrief .fun {
  font-family: Impact, "Arial Black", "Arial Narrow", system-ui, sans-serif;
}
/* Rematch vote / countdown under REMATCH: was grey-on-black */
.over .debrief .rematch {
  background: #2a3020;
  border: 2px solid #15170f;
  padding: 10px 12px;
  color: #e8dcc0;
}
.over .debrief .rematch .rm-list,
.over .debrief .rematch #rmHost,
.over .debrief .rematch .rm-cd,
.over .debrief .rematch p,
.over .debrief .rematch li {
  color: #e8dcc0 !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.35;
  opacity: 1 !important;
}
.over .debrief .rematch .rm-cd {
  font-size: 15px !important;
  color: #f0e6c8 !important;
  margin: 6px 0 0;
}
/* Stats / summary table on beige */
.over .debrief .sumwrap {
  background: #d7cba6;
  border: 2px solid #15170f;
  color: #1a1a14;
}
.over .debrief .sumtab,
.over .debrief .sumtab th,
.over .debrief .sumtab td,
.over .debrief table,
.over .debrief table th,
.over .debrief table td {
  color: #1a1a14 !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 700;
  opacity: 1 !important;
  text-shadow: none !important;
}
.over .debrief .sumtab th,
.over .debrief table th {
  color: #15170f !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #c4b892;
  border-bottom: 2px solid #15170f;
}
.over .debrief .sumtab td,
.over .debrief table td {
  color: #222018 !important;
  border-bottom: 1px solid #a99a70;
}
.over .debrief .sumtab tr.me td,
.over .debrief table tr.me td {
  color: #15170f !important;
  background: #b8a878;
  font-weight: 900;
}
/* XP earned: yellow-on-beige was unreadable */
.over .debrief .xprows {
  background: #2a3020;
  color: #e8dcc0;
  border: 2px solid #15170f;
  padding: 8px 10px;
}
.over .debrief .xprows div {
  color: #e8dcc0 !important;
  font-size: 14px;
  font-weight: 700;
}
.over .debrief .xprows b,
.over .debrief .xprows .tot b {
  color: #ffe566 !important;
  font-weight: 900;
}
.over .debrief .xprows .tot span {
  color: #f0e6c8 !important;
  font-size: 15px;
  font-weight: 900;
}
.over .debrief .xprows .tot {
  border-top: 1px solid #5a6248;
  margin-top: 4px;
  padding-top: 4px;
}

/* ---- 10.1.9c admin OS version pill ---- */
#adminScreen .gs-os-ver, .gs-os-ver { display: inline-flex !important; align-items: center; margin: 2px 0 6px; font-size: .78rem !important; letter-spacing: .02em; }

/* ---- 10.1.9d: identical green camo on both PLAY buttons ---- */
#playBots.play-main,#playOnline.play-main{background-color:#55682e !important;background-image:repeating-linear-gradient(45deg,rgba(0,0,0,.1) 0 6px,transparent 6px 12px) !important;color:var(--kh) !important;border:3px solid var(--ol2) !important;box-shadow:inset 0 0 0 2px rgba(205,191,152,.25),0 5px 0 var(--ol2) !important;animation:none !important;transition:background-color .15s,transform .1s,filter .15s}
#playBots.play-main:hover,#playOnline.play-main:hover,#playBots.play-main:focus-visible,#playOnline.play-main:focus-visible{background-color:#6b8238 !important;filter:brightness(1.12);transform:translateY(-2px)}
#playBots.play-main:active,#playOnline.play-main:active{transform:translateY(4px);box-shadow:0 1px 0 var(--ol2) !important}

/* ==== 10.1.10: full-screen MISSION / SQUAD BRIEFING + YOUR SQUAD page views (dark military, AA contrast) ==== */
.dsr-brief, .mp-brief, .room { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color: #e6dcbc; }
.dsr-brief, .mp-brief { background: #262c1a; border: 2px solid #4d5733; box-shadow: none; }
.dsr-brief :is(p, li, label, small, span, summary), .mp-brief :is(p, li, label, small, span, summary), .room :is(p, li, label, small, span, summary, h4) { color: inherit; }
.mp-brief .mp2-join input { font-family: inherit; }
.brief-title, #panel.brief-full #panelTitle { font-family: 'Stencil Std', Stencil, 'Black Ops One', Impact, 'Arial Black', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #e8c02a; }
/* page shell */
#panel.brief-full { position: fixed; inset: 0; z-index: 60; display: block; padding: 0; background: #1a1e12; overflow-y: auto; overflow-x: hidden; }
#panel.brief-full .panel-box { width: 100%; max-width: 1100px; min-height: 100%; margin: 0 auto; max-height: none; border: 0; border-radius: 0; box-shadow: none; background: #1a1e12; padding: 0 16px 96px; }
#panel.brief-full header { position: sticky; top: 0; z-index: 2; background: #1a1e12; border-bottom: 2px dashed #a99a70; padding: 14px 0; }
#panel.brief-full #panelClose { background: #3a4228; color: #e6dcbc; border: 2px solid #11140b; border-radius: 4px; font-weight: 800; }
#panel.brief-full #panelClose::before { content: '\2190  '; }
.lobby.briefing-on #botsSetup.brief-page { position: fixed; inset: 0; z-index: 55; margin: 0; max-width: none; border: 0; border-radius: 0; overflow-y: auto; overflow-x: hidden; padding: 18px max(16px, calc((100vw - 1100px) / 2)) 96px; background: #1a1e12; }
.mp-brief, .room { max-width: 1100px; margin: 0 auto; font-size: 15px; }
/* server picker */
.reg-pick, .reg-cur, .reg-seg, .reg-nudge { font-family: inherit !important; }
.reg-pick { background: #262c1a; border: 2px solid #4d5733; border-radius: 4px; padding: 10px; color: #e6dcbc; }
.reg-lbl, .reg-lbl2 { color: #cdbf98; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.reg-cur { background: #3a4228 !important; color: #f2ead0 !important; border: 2px solid #6b7a42 !important; border-radius: 4px; padding: 10px 12px; }
.reg-cur * { color: inherit; }
.reg-auto { background: #d9ad12; color: #11140b !important; border-radius: 3px; padding: 1px 6px; font-weight: 800; }
.reg-nudge { background: #2f3620 !important; color: #f2ead0 !important; border: 1px dashed #a99a70; border-radius: 4px; padding: 8px 10px; margin-top: 8px; font-size: 14px; }
.reg-switch { background: #d9ad12 !important; color: #11140b !important; border: 0; border-radius: 3px; padding: 3px 10px; font-weight: 800; cursor: pointer; }
.reg-segbar { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 10px; }
.reg-segbar[hidden] { display: none !important; }
.reg-seg { background: #2f3620 !important; color: #e6dcbc !important; border: 2px solid #4d5733 !important; border-radius: 4px; padding: 10px; text-align: left; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.reg-seg.on { background: #55682e !important; border-color: #d9ad12 !important; color: #fff !important; }
.reg-seg:hover { border-color: #a99a70 !important; }
.reg-name { font-size: 14px; font-weight: 700; color: inherit !important; }
.reg-ping { font-size: 12px !important; font-family: inherit !important; color: #f2ead0 !important; }
.reg-ping.good { color: #9fe07a !important; } .reg-ping.mid { color: #f0d060 !important; } .reg-ping.bad, .reg-ping.off { color: #ff9a8a !important; }
.reg-pl { font-size: 12px; color: #cdbf98; }
.mp2-adv summary, .mp2-note { color: #cdbf98; font-size: 14px; }
.mp2-opt { background: #3a4228 !important; color: #e6dcbc !important; border: 2px solid #4d5733 !important; }
/* YOUR SQUAD roster */
.room .room-hero { text-align: center; }
.room .vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: start; width: 100%; }
.room .vs.solo, .room .vs.ffa { grid-template-columns: minmax(0, 1fr); }
.room .side { min-width: 0; width: 100%; background: #262c1a; border: 2px solid #4d5733; border-top: 4px solid var(--tc, #a99a70); border-radius: 4px; padding: 8px; }
.room .side h4 { color: #f2ead0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; }
.room .side ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.room .vs.solo .side ul { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.room .mcard { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; min-width: 0; background: #2f3620; border: 1px solid #4d5733; border-radius: 4px; padding: 6px 8px; color: #f2ead0; opacity: 1 !important; }
.room .mcard .pn { display: flex; align-items: baseline; gap: 8px; flex: 1 1 auto; min-width: 0; }
.room .mcard .pn b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; font-size: 15px; color: #f2ead0; }
.room .mcard .pn small { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 12px; color: #cdbf98; }
.room .mcard .rtick { flex: 0 0 auto; color: #9fe07a; font-weight: 900; }
.room .mcard .pq, .room .mcard .hostops { flex: 0 0 auto; }
.room .mcard.bot { background: #262c1a; border-style: dashed; color: #cdbf98; }
.room .mcard.bot .pn b { color: #cdbf98; }
.room .chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.room .chip { min-width: 0; background-color: #2f3620; border: 2px solid #4d5733; color: #f2ead0; }
.room .chip small { color: #cdbf98; font-size: 12px; }
.room #sqStart, .room #sqReady { position: sticky; bottom: 10px; z-index: 3; }
@media (max-width: 640px) {
  .room .vs { grid-template-columns: minmax(0, 1fr); }
  .room .vs-badge { justify-self: center; }
  .room .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room .side ul, .reg-segbar { grid-template-columns: minmax(0, 1fr); }
  #panel.brief-full .panel-box { padding: 0 10px 96px; }
}
.reg-ping { background: #11140b !important; border: 1px solid #4d5733; border-radius: 10px; padding: 1px 8px; }
.room .mcard { display: flex !important; grid-template-columns: none !important; }
.room .mcard .pn { flex-direction: row !important; overflow: hidden; }
.room .mcard .pn b { max-width: none !important; flex: 0 1 auto; min-width: 3em; }
.room .mcard .pn small { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.room .mcard .rtick { order: 9; margin-left: auto; }
.room .side ul { grid-template-columns: minmax(0, 1fr); }
.room .mcard { flex-wrap: nowrap !important; } .room .mcard > * { grid-column: auto !important; }
.room .mcard .rtick { width: auto !important; flex: 0 0 auto !important; }
.room .mcard.bot { opacity: 1 !important; } .room .mcard.bot .pn b { color: #cdbf98 !important; }
.room .mcard .pn b { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important; font-weight: 800; color: #f2ead0 !important; }
.room .mcard .pn small { color: #cdbf98 !important; font-size: 12px !important; opacity: 1 !important; }

/* 10.1.10b: cookie card centred at the bottom */
.cookie-bar { left: 50% !important; right: auto !important; transform: translateX(-50%) !important; width: min(560px, calc(100vw - 20px)) !important; max-width: calc(100vw - 20px) !important; }

/* ==== 10.1.10b ==== */
.cookie-bar[hidden] { display: none !important; }
/* SQUAD WARS subtitle: big, bright, outlined */
.logo .l2 { display: block; font-size: clamp(1.8rem, 7.6vw, 3.6rem) !important; line-height: 1 !important; font-weight: 900 !important; color: #ffd21a !important; -webkit-text-stroke: 0 !important; letter-spacing: .1em !important;
  text-shadow: 3px 0 0 #11140b, -3px 0 0 #11140b, 0 3px 0 #11140b, 0 -3px 0 #11140b, 2px 2px 0 #11140b, -2px -2px 0 #11140b, 2px -2px 0 #11140b, -2px 2px 0 #11140b, 0 7px 0 #11140b, 0 10px 18px rgba(0,0,0,.55) !important;
  opacity: 1 !important; filter: none !important; margin-top: .08em; }

/* ==== 10.1.11: SELECT MISSION (from mockup) ==== */
.panel:has(.mode-cards) .panel-box{width:min(820px,100%);background:#262c1a;border:3px solid #11140b;border-radius:6px;box-shadow:0 8px 0 #11140b;
 background-image:linear-gradient(rgba(205,191,152,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(205,191,152,.05) 1px,transparent 1px);background-size:28px 28px}
.panel:has(.mode-cards) header{background:#262c1a;border-bottom:2px dashed #a99a70}
.panel:has(.mode-cards) #panelTitle,.mode-cards .mcard b,.panel:has(.mode-cards) #panelClose{font-family:'Stencil Std',Stencil,'Black Ops One',Impact,'Arial Black',sans-serif;letter-spacing:.08em;text-transform:uppercase}
.panel:has(.mode-cards) #panelTitle{color:#d9ad12}
.panel:has(.mode-cards) #panelClose{background:#3a4228;color:#cdbf98;border:2px solid #11140b;border-radius:4px}
.mode-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mode-cards .mcard{position:relative;display:block;text-align:left;padding:12px 74px 12px 14px;background:#3a4228;border:2px solid #4d5733;border-radius:4px;color:#cdbf98;cursor:pointer;
 background-image:repeating-linear-gradient(45deg,rgba(0,0,0,.07) 0 6px,transparent 6px 12px)}
.mode-cards .mcard b{display:block;font-size:1.3rem;line-height:1.05;color:#cdbf98}
.mode-cards .mcard span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:5px;font-size:.84rem;line-height:1.3;color:#a99a70}
.mode-cards .mcard em{position:absolute;top:10px;right:10px;font:800 .7rem Impact,'Arial Black',sans-serif;font-style:normal;letter-spacing:.06em;padding:3px 7px;background:#d9ad12;color:#262c1a;border-radius:3px}
.mode-cards .mcard:hover,.mode-cards .mcard:focus-visible{border-color:#a99a70;box-shadow:0 0 12px rgba(217,173,18,.25)}
.mode-cards .mcard.on{border-color:#d9ad12;box-shadow:0 0 0 1px #d9ad12,0 0 16px rgba(217,173,18,.4)}
@media (max-width:600px){.mode-cards{grid-template-columns:minmax(0,1fr)}.mode-cards .mcard b{font-size:1.15rem}}
.panel:has(.mode-cards) { z-index: 80; }
.mode-cards .mcard b { white-space: normal; word-break: normal; overflow-wrap: normal; hyphens: none; }
.mode-cards .mcard span { font-size: 14px !important; color: #e6dcbc !important; -webkit-line-clamp: 3 !important; }
.mode-cards .mcard em { font-size: 13px !important; }
.mode-cards .mcard.on { border-color: #d9ad12 !important; box-shadow: 0 0 0 2px #d9ad12 inset; }
.panel:has(.mode-cards) #panelClose { font-size: 14px; }
@media (max-width: 560px) { .mode-cards { grid-template-columns: minmax(0, 1fr) !important; } }

/* ==== 10.1.11: briefing pages + squad lobby, mission-style ==== */
#panel.brief-full header, .bots-setup-bar { position: sticky; top: 0; z-index: 3; background: #1a1e12 repeating-linear-gradient(-45deg, #d9ad12 0 14px, #11140b 14px 28px) top / 100% 6px no-repeat !important; padding-top: 18px !important; }
#panel.brief-full #panelTitle, .brief-title { font-size: clamp(1.4rem, 3.2vw, 2.1rem) !important; color: #e8c02a !important; text-shadow: 0 2px 0 #11140b; }
#panel.brief-full, .lobby.briefing-on #botsSetup.brief-page { background: #1a1e12 radial-gradient(ellipse at 50% 0%, #3a4228 0%, #1a1e12 70%) !important; }
#panel.brief-full .panel-box { background: transparent !important; }
.mp-brief { display: grid; gap: 12px; padding: 14px !important; background: transparent !important; border: 0 !important; }
.mp-brief .mp2-quick { min-height: 110px; font-size: clamp(1.8rem, 4vw, 2.6rem) !important; font-family: 'Stencil Std', Stencil, 'Black Ops One', Impact, 'Arial Black', sans-serif !important; letter-spacing: .08em; background: #d9ad12 repeating-linear-gradient(45deg, rgba(0,0,0,.08) 0 8px, transparent 8px 16px) !important; color: #11140b !important; border: 3px solid #11140b !important; border-radius: 6px !important; box-shadow: 0 6px 0 #11140b, 0 14px 30px rgba(0,0,0,.45) !important; }
.mp-brief .mp2-quick small { font: 700 14px system-ui, sans-serif !important; color: #2a2508 !important; letter-spacing: .02em; }
.mp-brief .mp2-quick:hover { filter: brightness(1.08); transform: translateY(-2px); }
.mp-brief .mp2-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mp-brief .mp2-opt { min-height: 64px; font-size: 16px !important; font-weight: 900 !important; letter-spacing: .06em; text-transform: uppercase; background: #3a4228 repeating-linear-gradient(45deg, rgba(0,0,0,.08) 0 6px, transparent 6px 12px) !important; color: #f2ead0 !important; border: 2px solid #6b7a42 !important; border-radius: 5px !important; box-shadow: 0 5px 0 #11140b !important; }
.mp-brief .mp2-opt:hover { background-color: #4d5733 !important; border-color: #d9ad12 !important; }
.mp-brief .mp2-opt { filter: none !important; }
.reg-pick { background: #222716 !important; border: 2px solid #4d5733 !important; box-shadow: inset 0 0 0 1px rgba(205,191,152,.08), 0 6px 18px rgba(0,0,0,.35); }
.reg-lbl { font-size: 14px !important; color: #e8c02a !important; font-family: system-ui, sans-serif !important; }
.reg-segbar { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important; }
.reg-seg { flex-direction: row !important; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 8px 10px !important; min-height: 0 !important; box-shadow: 0 3px 0 #11140b; }
.reg-seg .reg-name { flex: 1 1 100%; text-align: left; }
#sqAdv > summary { padding: 10px 12px; background: #262c1a; border: 2px dashed #6b7a42; border-radius: 5px; color: #f2ead0 !important; font-size: 15px !important; }
.dsr-brief.brief-page .brief-mode, .dsr-brief.brief-page .brief-map { min-height: 76px !important; background: #3a4228 repeating-linear-gradient(45deg, rgba(0,0,0,.08) 0 6px, transparent 6px 12px) !important; border: 2px solid #6b7a42 !important; box-shadow: 0 5px 0 #11140b !important; color: #f2ead0 !important; }
.dsr-brief :is(.brief-mode, .brief-map) small, .brief-map-txt small { color: #e8c02a !important; font: 800 13px system-ui, sans-serif !important; letter-spacing: .1em; }
.dsr-brief :is(.brief-mode, .brief-map) b { color: #f2ead0 !important; font-size: 18px !important; }
.brief-back { background: #3a4228 !important; color: #f2ead0 !important; border: 2px solid #6b7a42 !important; font-size: 14px !important; }
.brief-diff .seg-b { color: #f2ead0 !important; } .brief-diff .seg-b small { color: #e6dcbc !important; font-size: 13px !important; }
.room .side { box-shadow: 0 6px 18px rgba(0,0,0,.35); background: #222716 repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 6px, transparent 6px 12px) !important; }
.room .chip { box-shadow: 0 4px 0 #11140b; }

/* ==== 10.1.11: weapon picker ==== */
#buy { background: #14170e !important; opacity: 1 !important; backdrop-filter: none !important; }
#buy[data-hdr]:not([data-hdr=""])::before { content: attr(data-hdr); display: block; position: sticky; top: 0; z-index: 5; margin: -4px -4px 8px; padding: 10px 14px; background: #262c1a repeating-linear-gradient(-45deg, #d9ad12 0 10px, #11140b 10px 20px) top / 100% 4px no-repeat; color: #f2ead0; font: 800 16px system-ui, sans-serif; text-align: center; border-bottom: 2px solid #4d5733; }
html:has(#buy:not([hidden])) :is(#hint, .hint, .banner, .toast) { visibility: hidden !important; }
#buy .kit-gun { background: #3a4228 radial-gradient(ellipse at 50% 35%, rgba(255,240,200,.28), transparent 65%) !important; color: #f2ead0 !important; }
#buy .kit-gun .gun-ico, #buy img.gun-ico { background: rgba(255,248,230,.14) !important; }
#buy .kit-gun-name { font-size: 14px !important; color: #fff !important; }
#buy small, #buy .stat, #buy [class*="stat"] { font-size: 13px !important; color: #e6dcbc !important; }
#buy h3 { font-size: 15px !important; color: #e8c02a !important; }

/* ==== 10.1.11: minimum text sizes / contrast ==== */
body { font-size: 16px; }
@media (max-width: 640px) { body { font-size: 15px; } }
.lobby :is(small, .muted, .game-ver, .foot p, .streak), .cookie-bar p, .debrief :is(small, p, td, th, li), .room small, .mp-brief small, .dsr-brief small { font-size: max(13px, 1em * .82) !important; }
.lobby :is(small, .muted), .foot p { color: #f2ead0 !important; opacity: 1 !important; }
.cookie-bar p { font-size: 14px !important; color: #f7f0dc !important; }
.play-main small { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important; font-size: 13px !important; opacity: 1 !important; color: #f2ead0 !important; }

/* ==== 10.1.11b: titles, pills, random tile, squad briefing v2, squad lobby polish, debrief ==== */
@font-face { font-family: 'Black Ops One'; src: url(black-ops-one.woff?v=202610161900) format('woff'); font-display: swap; }
.logo .l1, .logo .l2 { font-family: 'Black Ops One', 'Stencil Std', Stencil, Impact, 'Arial Black', sans-serif !important; }
.logo .l1 { color: #fff !important; -webkit-text-stroke: 0 !important; font-size: clamp(2.4rem, 12.5vw, 5.4rem) !important;
  text-shadow: 3px 0 0 #11140b, -3px 0 0 #11140b, 0 3px 0 #11140b, 0 -3px 0 #11140b, 2px 2px 0 #11140b, -2px -2px 0 #11140b, 2px -2px 0 #11140b, -2px 2px 0 #11140b, 0 6px 0 #11140b, 0 10px 18px rgba(0,0,0,.5) !important; }
@media (max-width: 640px) { .logo .l1, .logo .l2 { -webkit-text-stroke: 0 !important; } .logo .l1 .w { white-space: nowrap; } }
/* rank + XP pills */
.me-rank, .me-rank-bronze, .me-rank-silver, .me-rank-gold { background: #b8902a !important; color: #1a1405 !important; box-shadow: 0 2px 0 #11140b !important; text-shadow: none !important; filter: none !important; border: 1px solid #6e5414 !important; font-weight: 900 !important; font-size: 13px !important; }
.me-rank::after { content: none !important; animation: none !important; }
.me-xp-lbl { background: #1d1a12 !important; color: #ffd84a !important; font-size: 14px !important; font-weight: 800 !important; padding: 3px 10px !important; border-radius: 999px !important; border: 1px solid #4d4426 !important; box-shadow: none !important; text-shadow: none !important; display: inline-block !important; }
/* random map tile */
.map-thumb.map-rand { display: flex !important; align-items: center; justify-content: center; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(217,173,18,.25), transparent 60%), repeating-linear-gradient(45deg, #2a3020 0 10px, #1d2216 10px 20px) !important; }
.map-thumb.map-rand b { font: 400 clamp(1.6rem, 60%, 3rem) 'Black Ops One', Impact, sans-serif; font-size: min(3rem, 70%); line-height: 1; color: #ffd21a;
  text-shadow: 2px 0 0 #11140b, -2px 0 0 #11140b, 0 2px 0 #11140b, 0 -2px 0 #11140b, 0 0 14px rgba(255,210,26,.6); }
.brief-map .map-thumb.map-rand { width: 64px; height: 40px; aspect-ratio: auto; }
.brief-map .map-thumb.map-rand b { font-size: 1.6rem; }
/* squad briefing v2 */
.mp-brief .qp-hero { display: grid; gap: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 6px 0 #11140b, 0 14px 30px rgba(0,0,0,.45); }
.mp-brief .qp-hero .mp2-quick { box-shadow: none !important; border-radius: 6px 6px 0 0 !important; border-bottom: 0 !important; }
.mp-brief .qp-srv { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 14px; background: #11140b; color: #f2ead0; font: 700 14px system-ui, sans-serif; border: 3px solid #11140b; border-top: 0; }
.mp-brief .qp-srv .reg-ping { font-size: 13px !important; }
.mp-brief .qp-change { margin-left: auto; background: none; border: 0; color: #ffd21a; font: 800 14px system-ui, sans-serif; text-decoration: underline; cursor: pointer; padding: 4px 6px; }
.mp-brief .mp2-opt { display: grid !important; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left !important; padding: 12px 14px !important; text-transform: none !important; letter-spacing: 0 !important; }
.mp-brief .mp2-opt .mp2-ico { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 26px; background: #d9ad12; box-shadow: 0 0 0 3px #11140b; filter: none !important; opacity: 1 !important; }
.mp-brief .mp2-opt b { font: 400 18px 'Black Ops One', Impact, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #f2ead0; }
.mp-brief .mp2-opt span { font: 600 14px system-ui, sans-serif; color: #e6dcbc; }
.mp-brief .reg-head .reg-lbl, .mp-brief .reg-cur { display: none !important; }
.mp-brief .reg-pick:not(:has(.reg-segbar:not([hidden]))) { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.mp-brief .reg-pick:not(:has(.reg-segbar:not([hidden]))) .reg-head { display: none !important; }
.mp-brief .reg-head { justify-content: flex-end; }
#sqAdv { border: 0 !important; background: none !important; }
#sqAdv > summary { background: none !important; border: 0 !important; padding: 4px 0 !important; color: #cdbf98 !important; text-decoration: underline; font-size: 14px !important; display: inline-block; cursor: pointer; }
.mp-brief { gap: 16px !important; }
/* squad lobby polish (8px grid) */
.room { display: grid; gap: 16px; }
.room .vs, .room .chips { width: 100%; max-width: none; }
.room .mcard { min-height: 48px; padding: 4px 8px !important; }
.room .mcard.bot .pn { display: grid !important; grid-template-columns: 6em 1fr; }
.room .mcard .av { width: 32px !important; height: 32px !important; }
.room .chips { align-items: stretch; }
.room .chip { min-height: 72px; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px !important; }
.room .chip.map { background-blend-mode: normal; }
.room .chip.map::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,6,.92), rgba(10,12,6,.2)); border-radius: inherit; pointer-events: none; }
.room .chip { position: relative; } .room .chip > * { position: relative; }
.room .chip b { font-size: 16px; color: #fff; }
.room .hero-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.room .rs-note { font-size: 14px !important; color: #f2ead0 !important; opacity: 1 !important; }
.room #sqStart, .room #sqReady { position: sticky; bottom: 8px; margin-bottom: 8px; }
#panel.brief-full .panel-box { padding-bottom: 24px !important; }
/* debrief */
.debrief-sub { color: #f0e6c8 !important; font-size: 15px !important; opacity: 1 !important; }
.sumwrap { overflow-x: hidden !important; max-width: 100%; }
.sumtab { width: 100%; border-collapse: collapse; table-layout: auto; font: 600 14px system-ui, sans-serif; color: #f2ead0; background: #1f1c14; }
.sumtab th { background: #11140b; color: #e8c02a !important; font-size: 12px; padding: 6px 4px; text-align: center; }
.sumtab td { background: #1f1c14 !important; color: #f7f0dc !important; padding: 6px 4px; text-align: center; border: 0 !important; }
.sumtab tbody tr:nth-child(even) td { background: #26221a !important; }
.sumtab td.nm { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 14em; }
.sumtab td.nm span[style] { filter: brightness(1.35) saturate(1.1); font-weight: 800; }
.sumtab tr.you td { background: #2f2a18 !important; } .sumtab tr.you td:first-child { box-shadow: inset 4px 0 0 #d9ad12; }
@media (max-width: 1100px) { .sumtab :is(th, td):nth-child(7), .sumtab :is(th, td):nth-child(9), .sumtab :is(th, td):nth-child(12) { display: none; } }
@media (max-width: 700px) { .sumtab :is(th, td):nth-child(5), .sumtab :is(th, td):nth-child(8), .sumtab :is(th, td):nth-child(10) { display: none; } .sumtab { font-size: 13px; } }
.rm-list, .rm-list li, .rm-list small, .rm-cd { color: #f2ead0 !important; opacity: 1 !important; font-size: 14px !important; }
#over { overflow-y: auto !important; }
.debrief { max-height: none !important; }
.debrief .menu-grid { position: sticky; bottom: 0; background: inherit; padding-bottom: 8px; }

/* ==== 10.1.11: military front background (static) ==== */
html.front-still body::before {
  content: "" !important; position: fixed !important; inset: 0 !important; z-index: 0 !important; pointer-events: none !important; display: block !important;
  background:
    radial-gradient(ellipse 55% 38% at 50% 16%, rgba(255,196,90,.38), rgba(255,170,60,.12) 45%, transparent 70%),
    radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(8,10,4,.78) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(rgba(26,30,16,.55), rgba(26,30,16,.55)),
    url(img/front-still.webp?v=202610161900) center / cover no-repeat,
    #2a3020 !important;
  background-size: auto, auto, 220px 220px, auto, cover !important;
}
html.front-still body::after {
  content: ""; position: fixed; left: 0; right: 0; top: 0; height: 8px; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(-45deg, #d9ad12 0 16px, #11140b 16px 32px);
  box-shadow: 0 calc(100vh - 8px) 0 0 transparent;
}
html.front-still .lobby::after {
  content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 8px; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(-45deg, #d9ad12 0 16px, #11140b 16px 32px);
}
html.front-still .lobby { z-index: 2; }
html.front-still .lobby :is(.me-card, .play-front) { box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 0 2px rgba(217,173,18,.25) !important; }
html.front-still .lobby { background-image: none !important; background-color: transparent !important; }
html.front-still .lobby::before { display: none !important; }

/* ==== 10.1.11c: military front background (front-mil mockup: olive camo, grid, no map photo) ==== */
html.front-still body::before {
  background:
    radial-gradient(ellipse 55% 34% at 50% 18%, rgba(255,196,90,.14), transparent 70%),
    linear-gradient(rgba(205,191,152,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205,191,152,.045) 1px, transparent 1px),
    radial-gradient(ellipse 50px 34px at 45px 50px, rgba(205,191,152,.07) 0 55%, transparent 100%),
    radial-gradient(ellipse 50px 34px at 175px 140px, rgba(0,0,0,.16) 0 55%, transparent 100%),
    linear-gradient(180deg, #343c24 0%, #262c1a 40%, #191b11 75%, #141509 100%) !important;
  background-size: auto, 32px 32px, 32px 32px, 230px 180px, 230px 180px, auto !important;
  background-repeat: no-repeat, repeat, repeat, repeat, repeat, no-repeat !important;
}
.me-rank-chip { display: grid !important; place-items: center !important; overflow: hidden !important; padding: 0 !important; }
.me-rank-chip img, .me-rank-chip .me-portrait, .me-rank-chip svg { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; display: block !important; margin: 0 !important; }
.btn.me-account { display: flex !important; align-items: center !important; justify-content: center !important; gap: 6px; text-align: center !important; }
.btn.me-account .me-acc-ico { line-height: 1; display: inline-block; }

/* ==== 10.1.11d: Mission Briefing rebuild + Squad Briefing spacing ==== */
.lobby.briefing-on #botsSetup.brief-page { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-content: start; max-width: 980px; margin: 0 auto !important; }
#botsSetup.brief-page > .brief-hz, #botsSetup.brief-page > .bots-setup-bar, #botsSetup.brief-page > .brief-map, #botsSetup.brief-page > .brief-diff, #botsSetup.brief-page > .deploy-btn { grid-column: 1 / -1; }
#botsSetup.brief-page .bots-setup-bar { display: flex; align-items: center; gap: 12px; padding: 14px 0 10px !important; }
#botsSetup.brief-page .brief-back { font: 800 15px system-ui, sans-serif !important; padding: 8px 14px !important; }
/* map hero */
#botsSetup.brief-page .brief-map { position: relative; display: block !important; min-height: 0 !important; height: clamp(170px, 32vw, 300px); padding: 0 !important; overflow: hidden; border-radius: 6px !important; order: 1; }
#botsSetup.brief-page .brief-map img.map-thumb, #botsSetup.brief-page .brief-map .map-thumb { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center 20%; transform: scale(1.12); transform-origin: top center; border: 0 !important; border-radius: 0 !important; margin: 0 !important; }
#botsSetup.brief-page .brief-map .map-rand b { font-size: 5rem; }
#botsSetup.brief-page .brief-map::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,6,1) 0%, rgba(10,12,6,.96) 30%, rgba(10,12,6,.2) 65%, transparent 100%); pointer-events: none; }
#botsSetup.brief-page .brief-map .brief-map-txt { position: absolute; left: 16px; bottom: 14px; right: 40px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
#botsSetup.brief-page .brief-map .brief-map-txt b { font: 400 clamp(1.4rem, 3.4vw, 2.2rem) 'Black Ops One', Impact, sans-serif !important; color: #fff !important; letter-spacing: .04em; text-shadow: 0 2px 0 #11140b; }
#botsSetup.brief-page .brief-map .brief-map-txt small { color: #ffd21a !important; }
/* compact mode card */
#botsSetup.brief-page .brief-mode { grid-column: 1 / -1; order: 2; min-height: 0 !important; height: auto !important; padding: 10px 14px !important; display: flex !important; align-items: center; justify-content: space-between; text-align: left; }
#botsSetup.brief-page .brief-mode b { font: 400 20px 'Black Ops One', Impact, sans-serif !important; letter-spacing: .05em; }
/* difficulty: aligned, no tilt */
#botsSetup.brief-page .brief-diff { order: 3; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#botsSetup.brief-page .brief-diff .seg-b { transform: none !important; rotate: none !important; min-height: 64px !important; height: auto !important; margin: 0 !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 5px !important; }
#botsSetup.brief-page .brief-diff .seg-b .seg-name { font: 400 16px 'Black Ops One', Impact, sans-serif; letter-spacing: .05em; }
#botsSetup.brief-page .deploy-btn { order: 4; min-height: 76px !important; height: auto !important; font: 400 clamp(1.8rem, 4vw, 2.4rem) 'Black Ops One', Impact, sans-serif !important; letter-spacing: .12em; }
/* squad briefing: no dead space */
#panel.brief-full { display: flex !important; flex-direction: column; }
#panel.brief-full .panel-box { min-height: 0 !important; max-width: 900px !important; margin: auto !important; padding-bottom: 32px !important; }
.mp-brief { padding-bottom: 8px !important; }
#botsSetup.brief-page > .brief-hz { display: none !important; }
#botsSetup.brief-page .brief-diff .seg-b small { font-size: 15px !important; }
#botsSetup.brief-page .brief-diff .seg-b .seg-name { font-size: 17px !important; }
#botsSetup.brief-page .deploy-btn { background: #d9ad12 repeating-linear-gradient(45deg, rgba(0,0,0,.09) 0 10px, transparent 10px 20px) !important; color: #11140b !important; border: 3px solid #11140b !important; border-radius: 6px !important; box-shadow: 0 6px 0 #11140b, 0 14px 28px rgba(0,0,0,.45) !important; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
#botsSetup.brief-page .deploy-btn::after { content: '\25B6'; margin-left: .5em; font-size: .7em; }
#botsSetup.brief-page .deploy-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
#botsSetup.brief-page .brief-back { min-height: 44px; }
#botsSetup.brief-page .brief-mode { min-height: 56px !important; }
/* squad briefing v3 */
#panel.brief-full header { justify-content: center !important; position: sticky; padding: 26px 0 14px !important; }
#panel.brief-full #panelClose { position: absolute; right: 0; top: 50%; transform: translateY(-30%); font-size: 15px !important; min-height: 44px; padding: 8px 16px !important; }
#panel.brief-full .panel-box { width: 100%; }
.mp-brief .qp-hero .mp2-quick { min-height: 170px !important; background: linear-gradient(90deg, rgba(217,173,18,.97) 0%, rgba(217,173,18,.9) 45%, rgba(217,173,18,.35) 100%), url(img/maps/airbase.webp?v=202611191530) right center / cover no-repeat !important; text-align: left !important; display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; padding: 18px 26px !important; font-size: clamp(2.2rem, 5vw, 3rem) !important; }
.mp-brief .qp-hero .mp2-quick small { font-size: 15px !important; }
.mp-brief .mp2-two { gap: 14px !important; }
.mp-brief .mp2-opt { min-height: 150px !important; grid-template-columns: 1fr !important; grid-template-rows: auto auto auto !important; justify-items: start; align-content: end; row-gap: 6px; padding: 16px !important; position: relative; overflow: hidden; }
.mp-brief .mp2-opt .mp2-ico { grid-row: auto !important; width: 56px !important; height: 56px !important; font-size: 30px !important; }
.mp-brief .mp2-opt b { font-size: 20px !important; }
.mp-brief .mp2-opt span { font-size: 15px !important; }
#sqFriends { background: linear-gradient(0deg, rgba(20,24,12,.95) 25%, rgba(20,24,12,.55)), url(img/maps/harbour.webp?v=202611191530) center / cover !important; }
#sqCustom { background: linear-gradient(0deg, rgba(20,24,12,.95) 25%, rgba(20,24,12,.55)), url(img/maps/trainyard.webp?v=202611191530) center / cover !important; }
#sqAdv > summary { display: inline-flex !important; align-items: center; min-height: 44px; padding: 8px 16px !important; background: #3a4228 !important; border: 2px solid #6b7a42 !important; border-radius: 5px; color: #f2ead0 !important; text-decoration: none !important; font-weight: 800; font-size: 15px !important; box-shadow: 0 4px 0 #11140b; }
#sqAdv > summary::before { content: '\2699\FE0F  '; }
@media (max-width: 560px) { .mp-brief .mp2-two { grid-template-columns: 1fr !important; } .mp-brief .mp2-opt { min-height: 120px !important; } }

/* 10.1.11e: Mission Briefing never shrink-to-fit, whatever the entry path/parent */
#botsSetup.brief-page { position: fixed !important; inset: 0 !important; z-index: 55 !important; width: auto !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; box-sizing: border-box !important; padding: 18px max(3vw, calc((100vw - 960px) / 2)) 96px !important; display: grid !important; grid-template-columns: minmax(0, 1fr) !important; align-content: start !important; gap: 12px !important; overflow-y: auto !important; overflow-x: hidden !important; transform: none !important; }
#botsSetup.brief-page > * { grid-column: 1 / -1 !important; min-width: 0 !important; width: auto !important; max-width: none !important; }
#botsSetup.brief-page .brief-mode, #botsSetup.brief-page .brief-mode * { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; min-width: 0; }
@media (max-width: 480px) { #botsSetup.brief-page .brief-diff .seg-b .seg-name { font-size: 15px !important; } }
#botsSetup.brief-page .brief-map { height: clamp(150px, min(30vw, 36vh), 300px) !important; }
#botsSetup.brief-page .deploy-btn { white-space: nowrap !important; }
#botsSetup.brief-page .bots-setup-bar { padding-right: 110px !important; }
@media (max-width: 480px) { #botsSetup.brief-page .bots-setup-bar h2, #botsSetup.brief-page .bots-setup-bar .brief-title { font-size: 20px !important; } }
#botsSetup.brief-page .deploy-btn { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; }

/* 10.1.11g: obvious map / mode pickers on the Mission Briefing */
#botsSetup.brief-page .brief-map { cursor: pointer; transition: box-shadow .15s, border-color .15s; }
#botsSetup.brief-page .brief-map:hover, #botsSetup.brief-page .brief-map:focus-visible { border-color: #ffd21a !important; box-shadow: 0 0 0 3px rgba(255,210,26,.45), 0 5px 0 #11140b !important; }
#botsSetup.brief-page .brief-map:active { transform: translateY(2px); }
#botsSetup.brief-page .brief-map:hover .map-thumb { filter: brightness(1.12); }
#botsSetup.brief-page .brief-arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 56px; height: 76px; display: flex; align-items: center; justify-content: center; background: rgba(10,12,6,.55); color: #fff; font-size: 30px; border: 2px solid rgba(255,210,26,.6); border-radius: 6px; cursor: pointer; user-select: none; }
#botsSetup.brief-page .brief-arr.l { left: 10px; } #botsSetup.brief-page .brief-arr.r { right: 10px; }
#botsSetup.brief-page .brief-arr:hover { background: rgba(255,210,26,.85); color: #11140b; }
#botsSetup.brief-page .brief-map .brief-map-txt { left: 76px !important; right: 220px !important; }
#botsSetup.brief-page .brief-chg { position: absolute; right: 12px; bottom: 12px; z-index: 2; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: #ffd21a; color: #11140b; font: 900 16px system-ui, sans-serif; letter-spacing: .06em; border: 2px solid #11140b; border-radius: 5px; box-shadow: 0 4px 0 #11140b; white-space: nowrap; }
#botsSetup.brief-page .brief-mode { position: relative; cursor: pointer; padding-right: 150px !important; }
#botsSetup.brief-page .brief-mode:hover { border-color: #ffd21a !important; }
#botsSetup.brief-page .brief-mode .brief-chg.chip { top: 50%; bottom: auto; transform: translateY(-50%); font-size: 15px; min-height: 44px; }
#botsSetup.brief-page .brief-mode::after { display: none !important; }
@media (max-width: 480px) { #botsSetup.brief-page .brief-map { height: 210px !important; } #botsSetup.brief-page .brief-arr { width: 44px; height: 60px; font-size: 24px; } #botsSetup.brief-page .brief-map .brief-map-txt { left: 14px !important; right: 14px !important; bottom: 64px !important; } #botsSetup.brief-page .brief-mode { padding-right: 130px !important; } }
@media (max-width: 480px) { #botsSetup.brief-page .brief-arr { top: 12px !important; transform: none !important; } }
/* ---- 10.2.1: map NEW badge, share (Microwave FX removed) ---- */
.map-newwrap{position:relative;display:block}
.map-new{position:absolute;top:6px;left:6px;z-index:2;background:#ff3a2a;color:#fff;font:900 13px/1 'Black Ops One',Impact,sans-serif;letter-spacing:.08em;padding:5px 8px;border-radius:4px;box-shadow:0 2px 0 #000,0 0 12px rgba(255,60,40,.7);animation:mwNew 1.2s ease-in-out infinite alternate}
@keyframes mwNew{from{transform:rotate(-4deg) scale(1)}to{transform:rotate(-4deg) scale(1.08)}}
.hl-sharebtn{position:absolute;right:12px;top:12px;z-index:5;min-height:44px;padding:0 16px;border-radius:22px;border:2px solid #000;background:#ffd33a;color:#111;font:800 15px/1 system-ui,sans-serif;cursor:pointer;box-shadow:0 3px 0 #000}
.hl-sharebtn:hover{background:#ffe27a}.hl-sharebtn[disabled]{opacity:.7;cursor:wait}
/* 10.2.1: results table readable on every row; Lobby/Share never overlap */
.over .debrief .sumwrap{background:#1f1c14;overflow-x:hidden!important;max-width:100%}
.over .debrief .sumtab td,.over .debrief table td{color:#f7f0dc!important;background:#1f1c14!important;font-size:15px!important;font-weight:700;border-bottom:1px solid #2e2a20!important}
.over .debrief .sumtab tbody tr:nth-child(even) td{background:#28241b!important}
.over .debrief .sumtab tr.you td,.over .debrief .sumtab tr.me td{background:#3a3218!important;color:#ffe9a8!important}
.over .debrief .sumtab th,.over .debrief table th{font-size:13px!important}
@media (max-width:700px){.over .debrief .sumtab td,.over .debrief .sumtab th{padding:6px 3px!important}.over .debrief .sumtab td{font-size:15px!important}}
.over .debrief .menu-grid{position:static!important;margin-top:12px;padding-bottom:0}
.over .debrief .rematch{margin-bottom:0}
/* 10.2.1: Lobby/Share always visible at the top of the results; panel scrolls if taller than the screen */
.over{overflow-y:auto!important;-webkit-overflow-scrolling:touch;justify-content:flex-start!important}
.over .debrief{max-height:none!important;overflow:visible!important;margin:8px auto}
.over .debrief .menu-grid.over-top{position:static!important;margin:4px 0 2px;gap:8px}
.over .debrief .menu-grid.over-top .btn{min-height:40px;padding:6px 10px}

/* 10.2.1 (Dad): see-through scopes, different per weapon. No black fill: thin ring, lens tint, own reticle. */
#scope[data-s] { --r: 32vmin; --rw: 1vmin; --rc: #0c0c0c; --tint: rgba(255,255,255,0); background: none; pointer-events: none; }
#scope[data-s]::after { content: ""; position: absolute; inset: 0; left: 0; top: 0; width: auto; height: auto; margin: 0; transform: none; border-radius: 0; box-shadow: none;
  background: radial-gradient(circle at 50% 50%, var(--tint) 0 calc(var(--r) - var(--rw)), var(--rc) calc(var(--r) - var(--rw) + 1px) var(--r), rgba(0,0,0,.28) calc(var(--r) + 1px), rgba(0,0,0,0) calc(var(--r) + 2.5vmin)); }
#scope[data-s]::before { content: ""; position: absolute; left: 50%; top: 50%; right: auto; bottom: auto; margin: 0; transform: translate(-50%, -50%); }
/* DMR (Burrower): red dot + front post, warm clear glass */
#scope[data-s="dmr"] { --r: 30vmin; --rw: 1.1vmin; --tint: rgba(255,244,214,.05);
  background: linear-gradient(#151515, #151515) center top calc(50vh + 1.6vmin) / 3vmin calc(30vmin - 1.6vmin) no-repeat, linear-gradient(#151515, #151515) center top calc(50vh + 6vmin) / 9vmin 4vmin no-repeat; }
#scope[data-s="dmr"]::before { width: 8px; height: 8px; border-radius: 50%; background: #ff2a1a; box-shadow: 0 0 0 2px rgba(0,0,0,.85), 0 0 8px 2px rgba(255,40,20,.7); }
/* Sniper (Whisker LR): fine crosshair, thick outer posts, mil-dots, faint green glass, biggest ring */
#scope[data-s="snp"] { --r: 38vmin; --rw: 1.3vmin; --tint: rgba(170,230,170,.06);
  background: linear-gradient(#000, #000) center / 76vmin 1px no-repeat, linear-gradient(#000, #000) center / 1px 76vmin no-repeat,
    linear-gradient(#000, #000) left calc(50% - 28vmin) center / 10vmin 4px no-repeat, linear-gradient(#000, #000) left calc(50% + 28vmin) center / 10vmin 4px no-repeat,
    linear-gradient(#000, #000) center top calc(50vh + 26vmin) / 4px 11vmin no-repeat; }
#scope[data-s="snp"]::before { width: 3px; height: 3px; border-radius: 50%; background: #000;
  box-shadow: 4vmin 0 0 1px #000, 8vmin 0 0 1px #000, 12vmin 0 0 1px #000, 16vmin 0 0 1px #000, -4vmin 0 0 1px #000, -8vmin 0 0 1px #000, -12vmin 0 0 1px #000, -16vmin 0 0 1px #000, 0 4vmin 0 1px #000, 0 8vmin 0 1px #000, 0 12vmin 0 1px #000, 0 16vmin 0 1px #000, 0 -4vmin 0 1px #000, 0 -8vmin 0 1px #000, 0 -12vmin 0 1px #000; }
/* Bolt rifle (Longtail): duplex crosshair + open ring centre, amber hunting glass, brown ring */
#scope[data-s="bolt"] { --r: 34vmin; --rw: 1.6vmin; --rc: #2a1a08; --tint: rgba(255,196,110,.07);
  background: linear-gradient(#1a1006, #1a1006) center / 30vmin 2px no-repeat, linear-gradient(#1a1006, #1a1006) center / 2px 30vmin no-repeat,
    linear-gradient(#1a1006, #1a1006) left calc(50% - 25vmin) center / 19vmin 6px no-repeat, linear-gradient(#1a1006, #1a1006) left calc(50% + 25vmin) center / 19vmin 6px no-repeat,
    linear-gradient(#1a1006, #1a1006) center top calc(50vh + 15vmin) / 6px 19vmin no-repeat, linear-gradient(#1a1006, #1a1006) center top calc(50vh - 34vmin) / 6px 19vmin no-repeat; }
#scope[data-s="bolt"]::before { width: 2.6vmin; height: 2.6vmin; border-radius: 50%; background: transparent; border: 2px solid #ffb43a; box-shadow: 0 0 0 1px rgba(0,0,0,.6); }
/* Rail gun: glowing cyan sci-fi ring + circle reticle + ticks */
#scope[data-s="rail"] { --r: 32vmin; --rw: .8vmin; --rc: #22e8ff; --tint: rgba(0,240,255,.07);
  background: linear-gradient(#5ff4ff, #5ff4ff) left calc(50% - 8vmin) center / 4vmin 2px no-repeat, linear-gradient(#5ff4ff, #5ff4ff) left calc(50% + 8vmin) center / 4vmin 2px no-repeat,
    linear-gradient(#5ff4ff, #5ff4ff) center top calc(50vh - 10vmin) / 2px 4vmin no-repeat, linear-gradient(#5ff4ff, #5ff4ff) center top calc(50vh + 6vmin) / 2px 4vmin no-repeat; }
#scope[data-s="rail"]::after { background: radial-gradient(circle at 50% 50%, var(--tint) 0 calc(var(--r) - 2vmin), rgba(34,232,255,.35) calc(var(--r) - var(--rw) - 1vmin), var(--rc) calc(var(--r) - var(--rw)) var(--r), rgba(34,232,255,.3) calc(var(--r) + .6vmin), rgba(0,0,0,0) calc(var(--r) + 3vmin)); }
#scope[data-s="rail"]::before { width: 9vmin; height: 9vmin; border-radius: 50%; border: 2px solid #5ff4ff; box-shadow: 0 0 10px 2px rgba(60,240,255,.75), inset 0 0 8px rgba(60,240,255,.6); background: radial-gradient(circle, #e8ffff 0 3px, rgba(0,0,0,0) 4px); }
/* anything else at a far zoom: clean generic lens */
#scope[data-s="gen"]::before { width: 6px; height: 6px; border-radius: 50%; background: #ff3b30; }

/* 10.2.2: small 'Android app' download link under the PWA install button (Android only, hidden inside the app) */
.apkdl { display: inline-flex; align-items: center; gap: 6px; width: auto !important; max-width: max-content; align-self: center; margin: 8px auto 0; padding-left: 18px; padding-right: 18px; text-decoration: none; }
.apkdl[hidden], html.uh-app .apkdl { display: none !important; }
