/* Pitch Rivals online (pronline.js): the screens round a match, built to the owner's online art pack (2 Oct 2026,
   art to add/online art v1/pitch_rivals_online/screens): searching, the bot-or-friend offer, the VS, the result, a room's
   code, the join pad. Each is laid out in its concept's own pixels (1080 x 2340, .pro-st) and scaled whole to the phone
   (pronline.js fit: the full width, or the full height on a shorter phone, under the status bar); the stadium behind
   runs edge to edge. The pictures come from the pack (tools/cut_online.py -> assets/pro); the words are ours.
   Then the match board's online pieces (clash.js): the emotes, waiting for the other phone. */
.pro-layer { position: fixed; inset: 0; z-index: 60; overflow: hidden; color: #fff; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; background: #071630; }
.pro-layer[hidden] { display: none; }
.pro-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 14, 32, 0) 55%, rgba(5, 14, 32, 0.55) 78%, rgba(5, 14, 32, 0.8) 100%), linear-gradient(90deg, rgba(255, 40, 40, 0.28), rgba(255, 40, 40, 0) 40%, rgba(30, 110, 255, 0) 60%, rgba(30, 110, 255, 0.3)), url("assets/dr_bg.webp") center top / cover no-repeat, #071630; }
.pro-hbar { position: absolute; left: 0; right: 0; top: 0; z-index: 1; background: linear-gradient(180deg, #0f2649, #0a1b37); border-bottom: 3px solid #1d4a86; box-shadow: 0 2px 0 #040b18, 0 6px 14px rgba(0, 0, 0, 0.45); }
.pro-probe { position: absolute; left: 0; top: 0; width: 1px; height: var(--safe-t, 0px); visibility: hidden; }
.pro-probe.b { top: auto; bottom: 0; height: var(--safe-b, 0px); }
.pro-st { position: absolute; left: var(--ox, 0px); top: var(--oy, 0px); width: 1080px; height: 2340px; transform: scale(var(--k, 0.36)); transform-origin: 0 0; z-index: 2; font-family: var(--font-display); }
.pro-st > *, .pro-pop > * { position: absolute; box-sizing: border-box; }
.pro-st img { display: block; -webkit-user-drag: none; }
:where(.pro-st) button { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; min-height: 0; color: inherit; font: inherit; cursor: pointer; }   /* (no weight: a button's own class wins) */
.pro-st button:active, .pro-st .tap:active { transform: scale(0.97); filter: brightness(1.08); }
.pro-band { left: 0; width: 1080px; pointer-events: none; }
.pro-layer.narrow .pro-band { -webkit-mask-image: linear-gradient(90deg, transparent, #000 60px, #000 1020px, transparent); mask-image: linear-gradient(90deg, transparent, #000 60px, #000 1020px, transparent); }
.pro-pic { pointer-events: none; }
.pro-pic.fit { object-fit: contain; }

/* ---- the words: Barlow Condensed 800, the pack's fills, a dark rim drawn round each letter */
.tx { white-space: nowrap; line-height: 1; font-weight: 800; letter-spacing: 0; text-align: center; }
.tx.ital { font-style: italic; }
.tx.ice { background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #c7dcf7 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(3px 0 0 #06162e) drop-shadow(-3px 0 0 #06162e) drop-shadow(0 3px 0 #06162e) drop-shadow(0 -3px 0 #06162e) drop-shadow(0 4px 0 #0b2c5a); }
.tx.ice.big { filter: drop-shadow(5px 0 0 #06162e) drop-shadow(-5px 0 0 #06162e) drop-shadow(0 5px 0 #06162e) drop-shadow(0 -5px 0 #06162e) drop-shadow(0 8px 0 #1d56a6) drop-shadow(0 10px 0 #06162e); }
.tx.gold { background: linear-gradient(180deg, #fff8c4 0%, #ffe35c 30%, #ffc21f 62%, #f08c00 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(4px 0 0 #2a1300) drop-shadow(-4px 0 0 #2a1300) drop-shadow(0 4px 0 #2a1300) drop-shadow(0 -4px 0 #2a1300) drop-shadow(0 6px 0 #a85a00) drop-shadow(0 8px 0 #2a1300); }
.tx.green { background: linear-gradient(180deg, #c8ffd8 0%, #4dff8f 40%, #12c45a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(4px 0 0 #03230f) drop-shadow(-4px 0 0 #03230f) drop-shadow(0 4px 0 #03230f) drop-shadow(0 -4px 0 #03230f) drop-shadow(0 6px 0 #0a6b31); }
.tx.coral { background: linear-gradient(180deg, #ffd0c8 0%, #ff7a6a 45%, #e8402f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(4px 0 0 #2a0703) drop-shadow(-4px 0 0 #2a0703) drop-shadow(0 4px 0 #2a0703) drop-shadow(0 -4px 0 #2a0703) drop-shadow(0 6px 0 #8a1b10); }
.tx.cyan { background: linear-gradient(180deg, #d9fbff 0%, #55e6ff 45%, #13a6e8 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(4px 0 0 #031a33) drop-shadow(-4px 0 0 #031a33) drop-shadow(0 4px 0 #031a33) drop-shadow(0 -4px 0 #031a33) drop-shadow(0 6px 0 #0a4c8a) drop-shadow(0 0 18px rgba(25, 214, 240, 0.45)); }
.tx.cream { background: linear-gradient(180deg, #ffffff 0%, #fff6d8 45%, #f2d27a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(5px 0 0 #1c1200) drop-shadow(-5px 0 0 #1c1200) drop-shadow(0 5px 0 #1c1200) drop-shadow(0 -5px 0 #1c1200) drop-shadow(0 9px 0 #b07a12) drop-shadow(0 11px 0 #1c1200); }
.tx.ink { color: #0b1a33; }
.tx.mute { color: #5f8fd6; font-weight: 600; }
.tx.soft { color: #d8eaff; font-weight: 600; text-shadow: 0 3px 0 #04101f; }
.tx.left { text-align: left; } .tx.right { text-align: right; }

/* ---- the header: back, the title, the mode pill */
.pro-back { left: 19px; top: 8px; width: 100px; height: 100px; }
.pro-back img { width: 100%; height: 100%; }
.pro-ttl { left: 540px; top: 8px; font-size: 108px; }
.pro-ibtn { display: block; }
.pro-ibtn img { display: block; pointer-events: none; }
.pro-pill { left: 770px; top: 22px; width: 283px; height: 76px; display: flex; align-items: center; justify-content: center; gap: 18px; border-radius: 14px;
  background: linear-gradient(180deg, #fff0a0 0%, #ffd84a 40%, #f5b316 100%); box-shadow: inset 0 0 0 3px #fff6c4, 0 0 0 4px #3a2400, 0 6px 0 4px #7a4a00; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); }
.pro-pill svg { width: 56px; height: 56px; flex: none; }
.pro-pill b { font: 800 50px/1 var(--font-display); color: #0b1a33; letter-spacing: 0.01em; }
.pro-pill.casual { background: linear-gradient(180deg, #d4fbff 0%, #5ee6ff 45%, #18b4ea 100%); box-shadow: inset 0 0 0 3px #e8fdff, 0 0 0 4px #032238, 0 6px 0 4px #0a5a86; }

/* ---- panels, rings, plates */
.pro-panel { border-radius: 40px; background: linear-gradient(180deg, rgba(13, 37, 76, 0.97), rgba(8, 26, 56, 0.97)); border: 6px solid #19d6f0;
  box-shadow: 0 0 0 3px #051226, 0 0 22px rgba(25, 214, 240, 0.55), inset 0 0 22px rgba(25, 214, 240, 0.2); }
.pro-panel.thin { border-width: 4px; border-radius: 28px; }
.pro-panel.hush {   /* (not .dim: style.css fades any .dim to 0.35) */ border-color: rgba(25, 214, 240, 0.35); box-shadow: 0 0 0 3px #051226, inset 0 0 22px rgba(25, 214, 240, 0.08); background: linear-gradient(180deg, rgba(10, 30, 62, 0.92), rgba(7, 22, 48, 0.92)); }
.pro-panel.red { border-color: #ff3d3d; background: radial-gradient(70% 90% at 30% 40%, #8e101a, #4a060b 80%); box-shadow: 0 0 0 3px #1e0204, 0 0 22px rgba(255, 50, 50, 0.6), inset 0 0 22px rgba(255, 80, 80, 0.25); }
.pro-panel.inner { border-width: 3px; border-color: rgba(25, 214, 240, 0.28); border-radius: 30px; background: rgba(4, 16, 36, 0.55); box-shadow: none; }
.pro-panel.deep { background: linear-gradient(180deg, rgba(10, 30, 64, 0.98), rgba(6, 20, 44, 0.98)); }
.pro-line { height: 3px; background: linear-gradient(90deg, rgba(25, 214, 240, 0), #19c3e8 30%, #19c3e8 70%, rgba(25, 214, 240, 0)); border-radius: 2px; }
.pro-line.solid { background: #19b3e0; }
.pro-vline { width: 3px; background: #2d6aa8; border-radius: 2px; }
/* a crest's ring: a chrome rim, a glow, the club's colour inside (red: yours; blue: theirs) */
.pro-ring { isolation: isolate; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, #c3141d 0%, #8c0b12 50%, #4f050a 100%);
  box-shadow: 0 0 0 4px #1a0204, 0 0 26px 6px rgba(255, 40, 40, 0.65); }
.pro-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; padding: var(--rim, 26px);
  background: conic-gradient(from 210deg, #ffffff, #8e99aa 18%, #f1f5fb 32%, #707b8c 50%, #e9eef6 66%, #8c97a8 82%, #ffffff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pro-ring::after { content: ''; position: absolute; inset: var(--rim, 26px); border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.55), inset 0 10px 24px rgba(0, 0, 0, 0.45); }
.pro-ring.blue { background: radial-gradient(circle at 50% 42%, #2f7bff 0%, #1447c4 50%, #0a2266 100%); box-shadow: 0 0 0 4px #020a1e, 0 0 26px 6px rgba(40, 140, 255, 0.65); }
.pro-ring .crest { position: relative; z-index: 1; display: grid; place-items: center; width: 62%; height: 62%; }
.pro-ring .crest svg, .pro-ring .crest img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }
/* the rival nobody's found yet: the pack's segmented ring turning round a dark silhouette */
.pro-who { border-radius: 50%; }
.pro-who .spin { position: absolute; inset: 0; border-radius: 50%; animation: proSpin 6s linear infinite;
  background: repeating-conic-gradient(from 4deg, #25e6ff 0deg 30deg, rgba(0, 0, 0, 0) 30deg 36deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--seg, 40px)), #000 calc(100% - var(--seg, 40px) + 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - var(--seg, 40px)), #000 calc(100% - var(--seg, 40px) + 1px));
  filter: drop-shadow(0 0 10px rgba(25, 214, 240, 0.8)); }
.pro-who::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 28px rgba(25, 214, 240, 0.45); }
.pro-who .core { position: absolute; inset: calc(var(--seg, 40px) + 6px); border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #12305a, #071a36 70%); box-shadow: 0 0 0 4px #031026, 0 0 0 7px rgba(25, 214, 240, 0.35), inset 0 0 30px rgba(0, 0, 0, 0.6); }
.pro-who .core svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.pro-who .q { position: absolute; left: 0; right: 0; top: 30%; font-size: var(--q, 190px); }
.pro-who.still .spin { animation-duration: 6s; }
.pro-plate { display: flex; align-items: center; justify-content: center; border-radius: 22px; background: linear-gradient(180deg, #123468, #0a2147); border: 4px solid #2fb8ff; box-shadow: 0 0 0 3px #04101f, 0 0 14px rgba(25, 180, 255, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.18); }
.pro-plate.red { background: linear-gradient(180deg, #e2222c, #9c0b13); border-color: #ff6b6b; box-shadow: 0 0 0 3px #250306, 0 0 16px rgba(255, 50, 50, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.28); }
.pro-plate.blue { background: linear-gradient(180deg, #2a72f0, #1446b8); border-color: #5fb6ff; box-shadow: 0 0 0 3px #030c22, 0 0 16px rgba(40, 140, 255, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.28); }
.pro-plate .tx { max-width: 92%; overflow: visible; }
/* the division pips: gold for each division climbed, dark sockets for the rest */
.pro-pips { display: flex; align-items: center; justify-content: space-evenly; border-radius: 26px; background: linear-gradient(180deg, #0d2a55, #081c3c); border: 4px solid #2a9fe0; box-shadow: 0 0 0 3px #04101f, inset 0 0 14px rgba(25, 180, 255, 0.2); }
.pro-pips i { width: var(--pip, 52px); height: calc(var(--pip, 52px) * 1.1); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: linear-gradient(135deg, #fff6b8 0%, #ffd23a 40%, #f29a00 75%, #b86500 100%); filter: drop-shadow(0 0 6px rgba(255, 200, 40, 0.6)); }
.pro-pips i.off { background: linear-gradient(135deg, #3a78c8 0%, #143b72 45%, #0a2448 100%); filter: none; opacity: 0.9; }
.pro-tag { display: flex; align-items: center; gap: 14px; justify-content: center; border-radius: 999px; }
.pro-tag.green { background: linear-gradient(180deg, #9dffb8 0%, #3fe07e 45%, #17a852 100%); box-shadow: inset 0 0 0 3px #d8ffe4, 0 0 0 4px #032312, 0 5px 0 4px #0b5a2c; }
.pro-tag.green b { font: 800 48px/1 var(--font-display); color: #0b1a33; }
.pro-tag svg { width: 54px; height: 54px; flex: none; }
.pro-host { display: flex; align-items: center; border-radius: 999px; background: linear-gradient(180deg, #2fe07a, #0d9a47); box-shadow: inset 0 0 0 3px #a8ffca, 0 0 0 4px #032312; padding-left: 0; }
.pro-host img { width: 80px; height: 80px; margin-left: -6px; flex: none; }
.pro-host b { flex: 1; min-width: 0; text-align: center; white-space: nowrap; font: 800 56px/1 var(--font-display); color: #e9fff1; text-shadow: 0 3px 0 #055a28, 0 0 2px #055a28; }
.pro-host.off b { font-size: 44px; }
.pro-host.off { background: linear-gradient(180deg, #3d5d8a, #22395c); box-shadow: inset 0 0 0 3px #8fb3e3, 0 0 0 4px #04101f; }
.pro-host.off b { color: #d8e8ff; text-shadow: 0 3px 0 #0b1d36; }
/* the gold button whose words change (Rematch, Ready, Play again): the pack's gold plate, its ends kept, its middle stretched */
.pro-gold { display: grid; place-items: center; border-style: solid; border-color: transparent; border-width: 0 calc(var(--h) * 1.04) 0 calc(var(--h) * 1.09); border-image: url("assets/pro/plate_gold.webp") 0 190 0 200 fill / 0 calc(var(--h) * 1.04) 0 calc(var(--h) * 1.09) stretch; }
.pro-gold .tx { font-size: calc(var(--h) * 0.52); }
.pro-gold[disabled], .pro-st .off-btn { filter: saturate(0.25) brightness(0.65); pointer-events: none; }
/* the tip: the whistle, a line, the tip, the fair-play footnote */
.pro-tipt { text-align: left; white-space: normal; line-height: 60px; }

/* the searching screen's rank panel: flat across the top, its bottom corners cut */
.pro-rkp { background: #19d6f0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 58px), calc(100% - 58px) 100%, 58px 100%, 0 calc(100% - 58px)); filter: drop-shadow(0 0 12px rgba(25, 214, 240, 0.6)); }
.pro-rkp::after { content: ''; position: absolute; inset: 5px; background: linear-gradient(180deg, #0d2a57, #071a3a); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 56px 100%, 0 calc(100% - 56px)); }
.pro-vs { line-height: 1; filter: drop-shadow(4px 0 0 #2a1300) drop-shadow(-4px 0 0 #2a1300) drop-shadow(0 4px 0 #2a1300) drop-shadow(0 -4px 0 #2a1300) drop-shadow(0 7px 0 #a85a00) drop-shadow(0 0 22px rgba(255, 170, 30, 0.75)) !important; }
/* a row of words in different colours (the stakes, the score, the rating's change) */
.pro-row { display: flex; align-items: center; justify-content: center; gap: 0.22em; }
.pro-row > .tx { position: static; }
.pro-row.left { justify-content: flex-start; }
.pro-row.score { gap: 0.12em; }
.pro-row .dash { font-size: 0.6em; }
.pro-rowline { background: rgba(60, 120, 190, 0.45); }
/* their matchday five: each man's figure in his kit, his slot under him */
.pro-five { isolation: isolate; border-radius: 22px; overflow: hidden; background: radial-gradient(90% 70% at 50% 35%, #2a63c4, #0d2a5c 70%, #071a3a); border: 5px solid #19d6f0; box-shadow: 0 0 0 3px #04101f, 0 0 14px rgba(25, 214, 240, 0.5); }
.pro-five img { position: absolute; left: 50%; top: 4px; width: 150%; transform: translateX(-50%); pointer-events: none; }
.pro-five img:not([src]) { display: none; }
.pro-five::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62px; background: linear-gradient(180deg, #081c3e, #051230); border-top: 3px solid #19b3e0; }
.pro-five > .tx { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 62px; line-height: 64px; font-size: 54px; }
.pro-eq svg { width: 100%; height: 100%; }
.pro-slot { left: 0; top: 0; width: 1080px; height: 0; }   /* (words swapped in place: the join pad's line) */
.pro-slot > * { position: absolute; }
.pro-dimic { filter: grayscale(1) brightness(0.6); }
.tx.pro-err { color: #ffb4a8; }

/* ---- the bot-or-friend offer: the searching screen dims behind it */
.pro-popw { left: 0; top: 0; width: 1080px; height: 2340px; z-index: 5; animation: proFade 0.2s ease-out both; }
.pro-popw > * { position: absolute; box-sizing: border-box; }
.pro-dim { left: 0; top: 0; width: 1080px; height: 2340px; background: rgba(3, 10, 26, 0.62); }
.pro-panel.pro-popp { border-width: 9px; border-radius: 48px; box-shadow: 0 0 0 4px #051226, 0 0 34px rgba(25, 214, 240, 0.7), inset 0 0 26px rgba(25, 214, 240, 0.25); }

/* ---- the join pad */
.pro-cell { border-radius: 22px; background: linear-gradient(180deg, #0b2550, #071a3a); border: 5px solid #19d6f0; box-shadow: 0 0 0 3px #04101f, 0 0 16px rgba(25, 214, 240, 0.55), inset 0 0 16px rgba(25, 214, 240, 0.25); display: grid; place-items: center; }
.pro-cell .tx { font-size: 168px; }
.pro-cell.cur { border-color: #ffd23a; box-shadow: 0 0 0 3px #04101f, 0 0 22px rgba(255, 210, 58, 0.7), inset 0 0 16px rgba(255, 210, 58, 0.25); animation: proCur 1s ease-in-out infinite alternate; }
.pro-key { border-radius: 20px; background: linear-gradient(180deg, #0d2a57, #081d40); border: 5px solid #19d6f0; box-shadow: 0 0 0 3px #04101f, 0 0 14px rgba(25, 214, 240, 0.5), inset 0 0 14px rgba(25, 214, 240, 0.2); display: grid; place-items: center; }
.pro-key .tx { font-size: 104px; }
.pro-key img { width: 76%; }
.pro-err { color: #ffb4a8; font-weight: 700; text-shadow: 0 3px 0 #2a0703; }
.pro-toast { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); z-index: 5; padding: 12px 18px; border-radius: 14px; background: #0d2a52; border: 2px solid #31eaff; font: 700 15px var(--font-ui); color: #fff; white-space: nowrap; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5); }

/* ---- the result: the score, the rank and its bar */
.pro-bar { border-radius: 44px; background: linear-gradient(180deg, #04112a, #0a2147); border: 5px solid #19d6f0; box-shadow: 0 0 0 3px #04101f, 0 0 16px rgba(25, 214, 240, 0.5), inset 0 4px 10px rgba(0, 0, 0, 0.6); overflow: hidden; }
.pro-bar .fill { position: absolute; left: 6px; top: 6px; bottom: 6px; width: 0; border-radius: 34px; background: linear-gradient(180deg, #fff4a8 0%, #ffd83a 35%, #f5b014 70%, #d98a00 100%); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.45), 0 0 0 3px #3a2400; }
.pro-bar .pct { position: absolute; inset: 0; display: grid; place-items: center; font: 800 54px/1 var(--font-display); color: #0b1a33; text-shadow: 0 0 6px rgba(255, 240, 180, 0.6); }
.pro-bar .pct.lo { color: #fff; text-shadow: 0 0 3px #04101f, 0 3px 0 #04101f; }   /* (over the dark track: white) */
.pro-bar.down .fill { background: linear-gradient(180deg, #ffd0c8, #ff7a6a 45%, #c8301f); }
.pro-ribbon { font-size: 64px; animation: proPop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) both 0.6s; }
.pro-flame { width: 70px; height: 70px; }

@keyframes proSpin { to { transform: rotate(360deg); } }
@keyframes proFade { from { opacity: 0; } }
@keyframes proPop { from { transform: scale(0.6); opacity: 0; } }
@keyframes proCur { from { box-shadow: 0 0 0 3px #04101f, 0 0 10px rgba(255, 210, 58, 0.4); } to { box-shadow: 0 0 0 3px #04101f, 0 0 30px rgba(255, 210, 58, 0.9); } }
@keyframes proBeat { 50% { transform: scale(1.04); } }
.pro-beat { animation: proBeat 1.4s ease-in-out infinite; }
.pro-spinimg { animation: proSpin 1.4s linear infinite; }

/* ---- the rules sheet (a room's EDIT RULES): the hub's rule buttons in a sheet over the room */
.pro-sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; background: rgba(2, 8, 20, 0.66); animation: proFade 0.2s ease-out both; }
.pro-sheet .prh-sheet { width: min(520px, 100%); max-height: 86vh; overflow-y: auto; box-sizing: border-box; padding: 18px 16px calc(var(--safe-b, 0px) + 16px); border-radius: 24px 24px 0 0; background: linear-gradient(180deg, #12345f, #061730); border: 2px solid #19d6f0; border-bottom: 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5); color: #fff; }
.pro-sheet h3 { margin: 2px 0 4px; font: 800 italic 28px/1 var(--font-display); text-transform: uppercase; }
.pro-sheet .prh-shtx { margin: 0 0 8px; font: 500 14px/1.4 var(--font-ui); color: #c8d6e8; }
.pro-sheet h4 { margin: 14px 0 6px; font: 800 12.5px/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: #8fb3e3; }
.pro-sheet .prl { display: flex; flex-wrap: wrap; gap: 8px; }
.pro-sheet .prh-shbtns { display: flex; gap: 10px; margin-top: 16px; }
.pro-sheet .prh-shbtns button { flex: 1; min-height: 50px; border-radius: 14px; font: 800 18px/1 var(--font-display); text-transform: uppercase; }
.pro-sheet .prh-shbtns .gold { color: #2a1a00; background: linear-gradient(180deg, #ffe07a, #f2b300); border: 2px solid #fff0b1; }

/* ---- the match board's online pieces (clash.js), in the board's design pixels: the pack's emote stickers */
.mb6-emo { left: 26px; top: 216px; width: 78px; height: 78px; min-height: 0; padding: 0; z-index: 56; border: 0; border-radius: 50%; background: none; box-shadow: none; pointer-events: auto; }
.mb6-emo img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55)); }
.mb6-emos { left: 22px; top: 300px; z-index: 57; display: grid; grid-template-columns: repeat(3, 132px); gap: 10px; padding: 14px; border-radius: 26px; background: rgba(4, 14, 34, 0.94); border: 4px solid #19d6f0; box-shadow: 0 0 18px rgba(25, 214, 240, 0.45), 0 10px 26px rgba(0, 0, 0, 0.6); pointer-events: auto; animation: proPop 0.18s ease-out both; }
.mb6-emb { width: 132px; height: 132px; min-height: 0; padding: 0; border: 0; border-radius: 20px; background: radial-gradient(circle at 50% 40%, rgba(25, 214, 240, 0.18), rgba(25, 214, 240, 0) 70%); box-shadow: none; }
.mb6-emb img { width: 100%; height: 100%; display: block; }
.mb6-emb.mute { grid-column: span 3; width: auto; height: 64px; display: flex; align-items: center; justify-content: center; gap: 10px; font: 800 24px/1 var(--font-display); text-transform: uppercase; color: #b8c6da; background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(160, 190, 230, 0.35); }
.mb6-emb.mute img { width: 46px; height: 46px; }
.mb6-emote { z-index: 58; top: 200px; width: 230px; height: 230px; pointer-events: none; animation: proEmote 2.4s ease-out both; }
.mb6-emote img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.6)); }
.mb6-emote.me { left: 110px; } .mb6-emote.them { right: 150px; }
@keyframes proEmote { 0% { transform: scale(0.3) rotate(-8deg); opacity: 0; } 10% { transform: scale(1.1) rotate(2deg); opacity: 1; } 18% { transform: scale(1) rotate(0); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-24px); } }
.mb6-wait { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(2, 8, 20, 0.72); text-align: center; color: #fff; }
.mb6-wait img { width: 92px; height: 92px; }
.mb6-wait b { font: 800 italic 22px/1.1 var(--font-display); text-transform: uppercase; padding: 0 14px; }
.mb6-wait small { font: 800 44px/1 var(--font-display); color: #ffc83d; }
.mb6-wait em { font: 600 13px var(--font-ui); font-style: normal; color: #b8c6da; }
.sq-vs-perks.net { display: flex; align-items: center; justify-content: center; gap: 10px; font: 800 16px/1 var(--font-display); text-transform: uppercase; }
.sq-vs-perks.net img { width: 34px; height: 34px; }
.sq-vs-perks.net .up { color: #7dff9e; } .sq-vs-perks.net .dn { color: #ff8a80; }
.on-fb.wide { width: 100%; }
.pro-rkimg { width: 1.6em; height: 1.6em; vertical-align: middle; object-fit: contain; }
