/* squad3.css: My Squad and the Scouting Report (squad.js, 30 Sep 2026), the owner's packs laid out in the concepts' pixels
   (851 wide) on the club-page stage (.menu.cs). The packs' vector controls are in assets/ui4/. Labels: Barlow Condensed
   800 (the concepts' face); the big page titles: Lilita One in gold. */
.menu.cs.s3 { background: #06101f; }
.s3 .cs-stage { width: 851px; --cap: #0a1a33; font-family: var(--font-display); color: #fff; }
.s3-bg { position: absolute; left: 0; top: 0; right: 0; height: 1848px; background: center top / 851px 1848px no-repeat; }
.s3-bg.sq { background-image: var(--art-sq_bg, none); }
.s3-bg.sc { background-image: var(--art-sc_bg, none); }
.s3-bg::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 3000px; background: #080d17; }   /* (a longer page: the floor carries on) */
.s3 .cs-stage button { cursor: pointer; }
/* the header */
.cs-stage .s3-back { position: absolute; z-index: 5; left: 32px; top: 45px; width: 80px; height: 80px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(180deg, #16406f, #061a37); border: 4px solid #9cc3e4; box-shadow: 0 0 0 3px rgba(4, 16, 36, 0.8), 0 6px 10px rgba(0, 0, 0, 0.5); }
.cs-stage .s3-back.gold { left: 28px; top: 108px; width: 84px; height: 82px; border-color: #f5c64d; }
.s3-back img { width: 62%; height: auto; }
.s3-title { position: absolute; z-index: 4; left: 0; right: 0; top: 28px; margin: 0; text-align: center; pointer-events: none; white-space: nowrap;
  font: 400 88px/1 var(--font-fun); letter-spacing: 0.01em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff7c2 0%, #ffd84a 38%, #f5a51c 70%, #d9790b 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 3px #5a2c00; filter: drop-shadow(0 5px 0 #6b3500) drop-shadow(0 8px 10px rgba(0, 0, 0, 0.55)); transform: scaleX(0.93); }
.sc3 .s3-title { top: 116px; font-size: 80px; transform: scaleX(0.76); }
.s3-wallet { position: absolute; z-index: 4; left: 320px; top: 120px; width: 211px; height: 56px; box-sizing: border-box; display: flex; align-items: center; gap: 14px; padding: 0 18px 0 24px; border-radius: 28px;
  background: linear-gradient(180deg, #263d53, #071323); border: 2px solid #778ba1; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.06), 0 4px 8px rgba(0, 0, 0, 0.45); pointer-events: none; }
.s3-wallet.sc { left: 290px; top: 190px; width: 255px; height: 55px; padding-left: 34px; gap: 22px; }
.s3-wallet .s3-coin { width: 46px; height: 46px; margin-left: -10px; }
.s3-wallet b { font: 800 40px/1 var(--font-display); color: #fff; letter-spacing: 0.01em; }
.sc3 .s3-wallet b { color: #ffd862; }
.s3-strip { position: absolute; z-index: 4; left: 110px; top: 190px; width: 630px; height: 62px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 22px; pointer-events: none;
  border-radius: 16px; background: linear-gradient(180deg, #123c6c, #04173a); border: 3px solid #1c80c8; box-shadow: inset 0 0 0 2px rgba(100, 194, 255, 0.18), 0 5px 10px rgba(0, 0, 0, 0.45); }
.s3-strip > i { width: 2px; height: 34px; background: rgba(160, 200, 240, 0.4); }
.s3-strip span { display: flex; align-items: center; gap: 10px; font: 700 30px/1 var(--font-display); color: #b9cde6; white-space: nowrap; }
.s3-strip b { font-weight: 800; color: #ffd24d; }
.s3-strip span.over b { color: #ff6b6b; }
.s3-strip .s3-coin { width: 38px; height: 38px; }
.s3-sic { width: 42px; height: 42px; filter: brightness(1.4); }
.s3-strip.sc { left: 78px; top: 255px; width: 697px; height: 63px; gap: 34px; border-radius: 6px; border-color: #d3a948; background: linear-gradient(180deg, #13305a, #061634); clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%); border-width: 3px 0; }
.s3-strip.sc span { font-size: 32px; color: #d9e4f2; }
.s3-strip.sc b { margin-left: 14px; }
.s3-h { position: absolute; z-index: 3; margin: 0; font: 800 44px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45); white-space: nowrap; }
.s3-note { position: absolute; z-index: 20; left: 50%; top: 40%; transform: translate(-50%, 20px); max-width: 80%; padding: 22px 32px; border-radius: 22px; text-align: center; font: 700 32px/1.2 var(--font-display);
  color: #fff; background: rgba(4, 14, 32, 0.94); border: 3px solid #1ad7f5; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.25s; }
.s3-note.show { opacity: 1; transform: translate(-50%, 0); }
.menu.s3 > .s3-note { position: fixed; font-size: 15px; padding: 11px 16px; border-radius: 12px; border-width: 2px; }
/* a player's face in a frame */
.s3-pic { position: absolute; inset: 0; overflow: hidden; }
/* (the portrait is square: aspect-ratio keeps it so on every browser, whatever its height attribute says. A little wider
   than its frame so the head fills it, but not so much that wide hair loses its sides: owner, 30 Sep 2026, "squished") */
.s3-pic > svg, .s3-pic > img { position: absolute; left: -5%; top: 1%; width: 110%; height: auto; aspect-ratio: 1 / 1; display: block; }
/* ---------- My Squad ---------- */
.s3-five { position: absolute; z-index: 2; left: 35px; top: 268px; width: 783px; height: 347px; box-sizing: border-box; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 60, 108, 0.96), rgba(2, 19, 47, 0.96) 70%), #07203e; border: 5px solid #ffce52; box-shadow: 0 0 22px rgba(255, 206, 82, 0.35), 0 10px 18px rgba(0, 0, 0, 0.5); }
.s3-five::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(38, 110, 44, 0), rgba(38, 110, 44, 0.55)); }
.s3-h.five { left: 0; right: 0; top: 22px; text-align: center; font-size: 42px; }
.s3-h.five i { font-style: normal; color: #ffd24d; margin: 0 6px; }
.s3-h.five em { font-style: normal; color: #ffd24d; }
.s3-need { position: absolute; z-index: 2; left: 0; right: 0; top: 292px; margin: 0; text-align: center; font: 700 32px/1 var(--font-display); color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); }
.cs-stage .s3-slot { position: absolute; z-index: 3; top: 352px; width: 142px; height: 200px; border-radius: 22px; box-sizing: border-box;
  background: linear-gradient(180deg, #0e2b52, #030f22); border: 5px solid #1ad7f5; box-shadow: 0 0 0 3px #04294b inset, 0 0 18px rgba(26, 215, 245, 0.7); }
.s3-slot .s3-pic { inset: 8px 8px 10px; border-radius: 14px; }
.s3-slot .s3-sname { position: absolute; left: 6px; right: 6px; bottom: 36px; text-align: center; font: 800 21px/1 var(--font-display); color: #fff; text-shadow: 0 2px 3px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s3-slot .s3-sname { background: linear-gradient(180deg, rgba(3, 15, 34, 0), rgba(3, 15, 34, 0.9) 45%); padding: 16px 0 3px; bottom: 30px; }
.cs-stage .s3-slot.empty { background: #07182e; border: 3px dashed #7f9fbe; box-shadow: none; }
.s3-plus { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font: 300 80px/1 var(--font-ui); font-style: normal; color: #a8c4e0; }
.s3-tick { position: absolute; right: -2px; top: -20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, #8ff6ff, #16bfe6); border: 3px solid #eafcff; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); }
.s3-tick svg, .s3-mark .tk svg { width: 62%; height: 62%; }
.s3-chip { position: absolute; display: grid; place-items: center; font: 800 24px/1 var(--font-display); font-style: normal; letter-spacing: 0.02em; border-radius: 10px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 3px 0 rgba(0, 0, 0, 0.35); }
.s3-chip.slot { left: 50%; bottom: -12px; width: 76px; height: 38px; margin-left: -38px; }
/* the five's slots (Pitch Rivals v3): a plate over each card's top edge naming its slot, a badge when he's out of position */
.s3-splate { position: absolute; z-index: 2; left: 50%; top: -14px; transform: translateX(-50%); padding: 0 10px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  font: 800 18px/1 var(--font-display); font-style: normal; letter-spacing: 0.08em; color: #fff; background: #27406a; border: 2px solid #0b1d33; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45); }
.s3-splate.sp-gk { background: linear-gradient(180deg, #ffd24d, #c99400); color: #2a1d00; } .s3-splate.sp-def { background: linear-gradient(180deg, #ff6b6b, #b71c1c); }
.s3-splate.sp-mid { background: linear-gradient(180deg, #4fa8ff, #1565c0); } .s3-splate.sp-att { background: linear-gradient(180deg, #5fe08a, #1b8a3c); } .s3-splate.sp-flex { background: linear-gradient(180deg, #c58cff, #6a1b9a); }
.s3-slot.empty .s3-splate { opacity: 0.75; }
.s3-splate.art { width: 128px; height: 46px; padding: 0 0 0 46px; top: -24px; background-color: transparent; background-size: 100% 100%; background-position: center; background-repeat: no-repeat; border: 0; box-shadow: none; justify-items: start; font-size: 22px; color: #fff; text-shadow: 0 1px 2px #000; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6)); }   /* (the painted plate comes inline as background-image: no shorthand here, it would wipe it) */
.cs-stage .s3-slot.oop { border-color: #ff6b6b; box-shadow: 0 0 0 3px #3a0d12 inset, 0 0 18px rgba(255, 90, 90, 0.55); }
.s3-oop { position: absolute; z-index: 3; left: -10px; top: -16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 800 24px/1 var(--font-display); font-style: normal; color: #fff;
  background: radial-gradient(circle at 40% 35%, #ff8a80, #d32f2f); border: 3px solid #fff0ee; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); }
.s3-five.warn .s3-need { color: #ffb4a8; font-size: 27px; }
.s3-roster { position: absolute; z-index: 2; left: 25px; top: 642px; width: 803px; box-sizing: border-box; border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 34, 66, 0.92), rgba(4, 16, 36, 0.94)); border: 3px solid rgba(120, 170, 230, 0.35); }
.s3-h.roster { left: 26px; top: 12px; font-size: 52px; }
.s3-filters { position: absolute; left: 383px; top: 15px; display: flex; gap: 10px; }
.cs-stage .s3-f { height: 46px; min-width: 64px; padding: 0 14px; border-radius: 16px; font: 800 26px/1 var(--font-display); letter-spacing: 0.02em; background: #0b2342; border: 2px solid; }
.s3-f.f-all { min-width: 88px; color: #cfe8ff; border-color: #3aa6d8; }
.s3-f.f-gk { color: #c6ff00; border-color: #6c8a1a; } .s3-f.f-def { color: #ff5a5a; border-color: #8a2c2c; } .s3-f.f-mid { color: #3de08a; border-color: #1f7a55; } .s3-f.f-att { color: #4aa3ff; border-color: #2c5f9a; }
.cs-stage .s3-f.on { color: #04213d; background: linear-gradient(180deg, #7ff3ff, #0bd0ef 55%, #07a9cc); border-color: #bff8ff; box-shadow: 0 0 14px rgba(11, 208, 239, 0.6); }
.s3-rc { position: absolute; z-index: 3; width: 373px; height: 207px; box-sizing: border-box; border-radius: 26px; cursor: pointer;
  background: linear-gradient(180deg, #123c6c, #02132f); border: 5px solid #7196b3; }
.s3-rc.on { border-color: #00e6ff; box-shadow: 0 0 18px rgba(0, 230, 255, 0.55), inset 0 0 12px rgba(0, 230, 255, 0.2); }
.s3-rc.out { background: linear-gradient(180deg, rgba(130, 150, 175, 0.55), rgba(60, 76, 98, 0.75)); border-color: #c9d6e3; }
.s3-rc.seen { outline: 4px solid #ffd24d; outline-offset: 5px; }
.s3-rpic { position: absolute; left: 13px; top: 13px; width: 159px; height: 173px; box-sizing: border-box; border-radius: 18px; background: #06182f; border: 4px solid #2fb8e8; box-shadow: inset 0 0 0 3px #04213f; overflow: hidden; }
.s3-rc.out .s3-rpic { border-color: #aebfd1; }
/* the matchday 8's subs (squad.js club.subs): a SUB tag on the card, and its button beside Add to five */
.s3-rc.sub { border-color: #ffc83d; }
.s3-subtag { position: absolute; z-index: 4; right: 22px; top: -18px; padding: 6px 12px; border-radius: 999px; font: 800 italic 20px/1 var(--font-display); letter-spacing: 0.06em; color: #3b2400; background: linear-gradient(180deg, #ffe89a, #ffc83d); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
.cs-stage .s3-subbtn { position: absolute; left: 360px; top: 297px; width: 323px; height: 70px; box-sizing: border-box; border-radius: 18px; display: flex; align-items: center; justify-content: center; font: 800 30px/1 var(--font-display); color: #ffd36a; background: #06183a; border: 3px solid #ffc83d; }
.cs-stage .s3-subbtn.on { color: #3b2400; background: linear-gradient(180deg, #ffe89a, #ffc83d 60%, #e0a21a); border-color: #fff1c2; }
.s3-rpic .s3-pic { inset: 8px 8px 36px; border-radius: 12px; }
.s3-rname { position: absolute; left: 8px; right: 8px; bottom: 6px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #041326; border: 1px solid #3a6d98; font: 800 20px/1 var(--font-display); color: #fff; white-space: nowrap; overflow: hidden; }
.cs-stage .s3-mark { position: absolute; left: 115px; top: -7px; width: 80px; height: 80px; display: grid; place-items: center; background: none; }
.s3-mark .tk, .s3-mark b { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-sizing: border-box; border: 3px solid #eafcff; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); }
.s3-mark .tk { background: radial-gradient(circle at 40% 35%, #8ff6ff, #16bfe6); }
.s3-mark b { font: 800 40px/1 var(--font-display); color: #fff; background: rgba(40, 56, 76, 0.9); }
.s3-ovr { position: absolute; right: 27px; top: 22px; display: flex; flex-direction: column; align-items: center; }
.s3-ovr b { font: 800 44px/0.9 var(--font-display); color: #fff; }
.s3-ovr small { margin-top: 6px; font: 800 20px/1 var(--font-display); letter-spacing: 0.08em; color: #b9cfe6; }
.s3-chip.rc { left: 202px; top: 83px; width: 68px; height: 31px; font-size: 22px; }
.s3-lv { position: absolute; left: 202px; right: 18px; top: 121px; height: 28px; padding-left: 4px; border-radius: 8px; display: flex; align-items: center; font: 700 25px/1 var(--font-display); color: #fff; background: linear-gradient(90deg, rgba(3, 14, 32, 0.2), rgba(3, 14, 32, 0.7) 40%); }
.s3-wage { position: absolute; left: 202px; top: 159px; display: flex; align-items: center; gap: 7px; font: 700 26px/1 var(--font-display); color: #fff; }
.s3-wage .s3-coin, .s3-dwage .s3-coin { width: 26px; height: 26px; }
.s3-none { position: absolute; z-index: 3; left: 60px; right: 60px; margin: 0; text-align: center; font: 700 30px/1.3 var(--font-display); color: #9fb8d4; }
/* the player's details */
.s3-det { position: absolute; z-index: 3; left: 25px; width: 803px; height: 370px; box-sizing: border-box; border-radius: 24px;
  background: linear-gradient(180deg, #102f58, #020f26); border: 4px solid #12c9ec; box-shadow: 0 0 16px rgba(18, 201, 236, 0.4); }
.s3-det > * { position: absolute; }
/* the details as a pop-up (squad.js pop): the same card, at the foot of the screen over the page, a little taller for the
   "In matches" line (what his stats do) */
.s3-pop { position: absolute; inset: 0; z-index: 40; background: rgba(2, 8, 20, 0.62); animation: s3popfade 0.16s ease-out; }
.s3-pop .cs-stage.s3-popst::before { display: none; }   /* (a page stage's cap over the status bar: not on the pop-up's) */
.s3-pop .cs-stage.s3-popst { top: auto; bottom: 0; transform-origin: 0 100%; transform: translateY(calc(-1 * env(safe-area-inset-bottom, 0px) - 10px)) scale(var(--k, 0.457)); animation: s3popup 0.2s ease-out; }
.s3-det.pop { left: 25px; top: 8px; height: 452px; box-shadow: 0 0 16px rgba(18, 201, 236, 0.4), 0 -10px 40px rgba(0, 0, 0, 0.55); }
.cs-stage .s3-det.pop .s3-inout, .cs-stage .s3-det.pop .s3-subbtn, .cs-stage .s3-det.pop .s3-more { top: 360px; }
.cs-stage .s3-x { right: 18px; top: 12px; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font: 800 30px/1 var(--font-ui); color: #cfe6ff; background: #0a1f3e; border: 3px solid #3a6d98; }
/* his Style screen (playerstyle.js): beside the ✕, gold like the bench button */
.cs-stage .s3-style { right: 90px; top: 12px; height: 58px; padding: 0 20px 0 16px; box-sizing: border-box; border-radius: 16px; display: flex; align-items: center; gap: 10px; font: 800 28px/1 var(--font-display); color: #ffd36a; background: #06183a; border: 3px solid #ffc83d; box-shadow: 0 0 12px rgba(255, 200, 61, 0.3); }
.s3-style svg { width: 32px; height: 32px; }
.s3-edge { left: 26px; right: 26px; top: 292px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 700 22px/1.2 var(--font-display); color: #9fb8d4; }
.s3-edge b { font: 800 22px/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.s3-edge em { font-style: normal; }
.s3-edge em.up { color: #7dff9e; }
.s3-edge em.dn { color: #ff9a8a; }
@keyframes s3popfade { from { opacity: 0; } }
@keyframes s3popup { from { transform: translateY(40px) scale(var(--k, 0.457)); opacity: 0; } }
.s3-h.det { left: 26px; top: 19px; font-size: 32px; }
.s3-rule { left: 262px; right: 28px; top: 45px; height: 2px; background: linear-gradient(90deg, rgba(120, 180, 240, 0.5), rgba(120, 180, 240, 0.1)); }
.s3-rule.two { left: 265px; right: 28px; top: 136px; }
.s3-dframe { left: 25px; top: 67px; width: 225px; height: 160px; box-sizing: border-box; border-radius: 16px 16px 0 0; border: 4px solid #1ad7f5; border-bottom: 0; box-shadow: 0 -3px 12px rgba(26, 215, 245, 0.35); }
.s3-dframe2 { left: 25px; top: 180px; width: 180px; height: 97px; box-sizing: border-box; border-radius: 0 0 16px 16px; border: 4px solid #1ad7f5; border-top: 0; box-shadow: 0 4px 12px rgba(26, 215, 245, 0.35); }
.s3-dpic { left: 45px; top: 80px; width: 117px; height: 187px; border-radius: 14px; overflow: hidden; background: #06182f; border: 4px solid #2fb8e8; box-sizing: border-box; box-shadow: 0 0 12px rgba(26, 215, 245, 0.45); }
.s3-dpic .s3-pic { bottom: 42px; }
.s3-dname { position: absolute; height: 32px; box-sizing: border-box; border-radius: 8px; display: grid; place-items: center; background: #041326; border: 1px solid #3a6d98; font: 800 19px/1 var(--font-display); color: #fff; white-space: nowrap; overflow: hidden; }
.s3-dovr { left: 186px; top: 84px; width: 50px; display: flex; flex-direction: column; align-items: center; }
.s3-dovr b { font: 800 40px/0.9 var(--font-display); }
.s3-dovr small { margin-top: 8px; font: 800 19px/1 var(--font-display); letter-spacing: 0.06em; color: #b9cfe6; }
.s3-chip.det { left: 185px; top: 154px; width: 50px; height: 31px; font-size: 21px; }
.s3-dlv { left: 191px; top: 199px; font: 700 25px/1 var(--font-display); }
.s3-dwage { left: 187px; top: 242px; display: flex; align-items: center; gap: 5px; font: 700 24px/1 var(--font-display); }
.s3-trait { left: 287px; right: 28px; top: 64px; display: grid; grid-template-columns: 34px 1fr; column-gap: 17px; row-gap: 5px; align-items: start; }
.s3-star { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; font: 400 34px/1 var(--font-ui); font-style: normal; color: #ffd24d; text-shadow: 0 2px 0 #9a6a00; }
.s3-trait b { font: 800 30px/1 var(--font-display); color: #ffd24d; }
.s3-trait small { font: 500 23px/1.1 var(--font-display); color: #9fb8d4; max-height: 50px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.s3-trait.bad b { color: #ff8a8a; }
.s3-stat { display: flex; align-items: center; gap: 8px; width: 146px; height: 30px; }
.s3-stat > b { width: 36px; font: 700 21px/1 var(--font-display); color: #b9cde6; letter-spacing: 0.02em; }
.s3-cstat > b { width: 46px; font: 700 21px/1 var(--font-display); color: #b9cde6; letter-spacing: 0.02em; }
.s3-stat .s3-bar { height: 12px; }
.s3-bar { position: relative; flex: 1; height: 16px; border-radius: 8px; background: #24334e; overflow: hidden; }
.s3-bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; background: linear-gradient(90deg, #16c9a9, #3ff0bf); }
.s3-bar > i.gold { background: linear-gradient(90deg, #f1b21d, #ffe07a); }
.s3-stat > em, .s3-cstat > em { width: 34px; text-align: right; font: 800 24px/1 var(--font-display); font-style: normal; color: #fff; }
.s3-xp { left: 292px; right: 31px; top: 232px; height: 31px; border-radius: 10px; background: #0a1a33; border: 2px solid #2a4468; overflow: hidden; }
.s3-xp > i { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; background: linear-gradient(90deg, #7b4de8, #b18bff); }
.s3-xp b { padding-left: 12px; font: 800 24px/1 var(--font-display); color: #fff; white-space: nowrap; }
.cs-stage .s3-inout { left: 24px; top: 297px; width: 323px; height: 70px; box-sizing: border-box; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 22px; font: 800 30px/1 var(--font-display); color: #5fe6ff; background: #06183a; border: 3px solid #1ad7f5; }
.s3-inout img { width: 42px; height: 42px; }
.cs-stage .s3-inout.add { color: #04213d; background: linear-gradient(180deg, #7ff3ff, #0bd0ef 55%, #07a9cc); border-color: #bff8ff; }
.s3-addic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 38px/1 var(--font-display); font-style: normal; color: #fff; background: #04213d; }
.cs-stage .s3-more { left: 695px; top: 297px; width: 84px; height: 70px; box-sizing: border-box; border-radius: 16px; display: grid; place-items: center; background: #1a3150; border: 3px solid #5d7ea3; }
.s3-more img { width: 70%; }
/* ---------- Draft Day (squad.js openDraft, 30 Sep 2026): the order strip, your seven, the board, the pinned bar ---------- */
.d3-strip { top: 190px; left: 110px; width: 630px; }
.d3-order { position: absolute; z-index: 3; left: 35px; top: 272px; width: 783px; display: flex; justify-content: space-between; gap: 10px; }
.d3-club { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px 6px; border-radius: 18px; background: linear-gradient(180deg, rgba(10, 34, 66, 0.92), rgba(4, 16, 36, 0.94)); border: 3px solid rgba(120, 170, 230, 0.35); opacity: 0.72; }
.d3-club.on { opacity: 1; border-color: #ffd24d; box-shadow: 0 0 18px rgba(255, 210, 77, 0.55); }
.d3-club.me { border-color: #1ad7f5; }
.d3-club.me.on { border-color: #ffd24d; }
.d3-crest { width: 56px; height: 56px; display: grid; place-items: center; }
.d3-crest svg { width: 52px; height: 52px; }
.d3-ini { font: 800 22px/1 var(--font-display); color: #fff; }
.d3-club b { font: 800 22px/1 var(--font-display); letter-spacing: 0.04em; color: #fff; white-space: nowrap; }
.d3-club small { font: 700 19px/1 var(--font-display); color: #9fb8d4; }
.d3-status { position: absolute; z-index: 3; left: 0; right: 0; top: 422px; margin: 0; text-align: center; font: 800 30px/1 var(--font-display); letter-spacing: 0.02em; color: #b9cde6; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); }
.d3-status.me { color: #ffd24d; animation: d3Pulse 0.9s ease-in-out infinite alternate; }
.d3-status.steal { color: #ff6b6b; }
@keyframes d3Pulse { to { transform: scale(1.04); } }
.d3-mine { position: absolute; z-index: 2; left: 25px; top: 470px; width: 803px; height: 172px; box-sizing: border-box; border-radius: 24px; background: linear-gradient(180deg, rgba(18, 60, 108, 0.96), rgba(2, 19, 47, 0.96) 70%); border: 4px solid #ffce52; box-shadow: 0 0 18px rgba(255, 206, 82, 0.3); }
.s3-h.d3-h { left: 22px; top: 10px; font-size: 30px; }
.s3-h.d3-h em { font-style: normal; color: #ffd24d; }
.d3-slot { position: absolute; top: 48px; width: 90px; height: 112px; box-sizing: border-box; border-radius: 14px; background: #06182f; border: 3px dashed #4b6f94; overflow: hidden; }
.d3-slot.sub { border-color: #8a6ad0; }
.d3-slot.on { border-style: solid; border-color: #2fb8e8; }
.d3-slot.sub.on { border-color: #b18bff; }
.d3-slot > i { position: absolute; inset: 0; display: grid; place-items: center; font: 800 24px/1 var(--font-display); font-style: normal; color: #4b6f94; }
.d3-slot.sub > i { color: #8a6ad0; }
.d3-slot .s3-pic { inset: 4px 4px 32px; border-radius: 10px; }
.d3-slot em { position: absolute; left: 3px; right: 3px; bottom: 4px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: #041326; font: 800 14px/1 var(--font-display); font-style: normal; color: #fff; white-space: nowrap; overflow: hidden; }
.d3-slot > i { font-size: 20px; }
.s3-chip.d3 { left: 4px; top: 4px; width: 38px; height: 20px; font-size: 14px; border-radius: 6px; }
.d3-board .s3-h.roster { font-size: 44px; }
.d3-left { margin-left: 14px; font: 700 24px/1 var(--font-display); color: #9fb8d4; text-transform: none; }
.d3-board .s3-filters { top: 20px; }
.d3-card { border-color: #7196b3; }
.d3-card.top { border-color: #ffd24d; box-shadow: 0 0 22px rgba(255, 210, 77, 0.5); }
.d3-card.over { opacity: 0.5; }
.d3-card.seen { outline: 4px solid #ffd24d; outline-offset: 5px; }
.d3-rar { position: absolute; left: 202px; top: 121px; font: 800 22px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
.d3-trait { position: absolute; left: 202px; right: 14px; top: 149px; font: 700 20px/1 var(--font-display); color: #cfe8ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d3-trait.bad { color: #ff8a8a; }
.d3-card .s3-wage { top: 172px; font-size: 23px; }
.d3-top { position: absolute; right: 14px; top: -16px; padding: 5px 12px; border-radius: 8px; font: 800 18px/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: #2a1d00; background: linear-gradient(180deg, #ffe08a, #f5a51c); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); }
/* the pinned bar (real pixels, under the stage) */
.menu.s3 > .d3-bar { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 10px; border-radius: 16px; background: rgba(4, 14, 32, 0.96); border: 2px solid #1ad7f5; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
.menu.s3 > .d3-bar.ready { border-color: #ffd24d; box-shadow: 0 0 18px rgba(255, 210, 77, 0.45), 0 10px 30px rgba(0, 0, 0, 0.6); }
.d3-barpic { position: relative; flex: none; width: 46px; height: 46px; border-radius: 10px; overflow: hidden; background: #06182f; border: 2px solid #2fb8e8; }
.d3-barpic > svg, .d3-barpic > img { position: absolute; left: -5%; top: 1%; width: 110%; height: auto; aspect-ratio: 1 / 1; }
.d3-bartx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.d3-bartx b { font: 800 16px/1 var(--font-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d3-bartx small { font: 600 12px/1.2 var(--font-display); color: #9fb8d4; }
.menu.s3 > .d3-bar .d3-draft { flex: none; min-height: 44px; padding: 0 18px; border-radius: 12px; font: 800 18px/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: #2a1d00; background: linear-gradient(180deg, #ffe08a, #f5a51c); border: 2px solid #fff3c4; box-shadow: 0 4px 0 #9a6a00; cursor: pointer; }
.menu.s3 > .d3-bar .d3-draft:active { transform: translateY(3px); box-shadow: 0 1px 0 #9a6a00; }
/* the summary */
.d3-sum { position: absolute; z-index: 3; left: 25px; width: 803px; height: 530px; box-sizing: border-box; border-radius: 24px; background: linear-gradient(180deg, #102f58, #020f26); border: 4px solid #12c9ec; box-shadow: 0 0 16px rgba(18, 201, 236, 0.4); }
.d3-subh { position: absolute; left: 30px; top: 212px; margin: 0; font: 800 24px/1 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; color: #b18bff; }
.menu.s3 > .d3-bar[hidden] { display: none; }
.s3-h.d3-sh { left: 22px; top: 14px; font-size: 32px; }
.d3-sp { position: absolute; left: 22px; right: 22px; top: 54px; margin: 0; font: 600 21px/1.2 var(--font-display); color: #9fb8d4; }
.d3-fin { position: absolute; top: 96px; width: 104px; height: 96px; border-radius: 12px; background: #06182f; border: 3px solid #2fb8e8; overflow: visible; }
.d3-fin.sub { border-color: #b18bff; }
.d3-fin .s3-pic { inset: 3px 3px 26px; border-radius: 9px; overflow: hidden; }
.d3-fin em { position: absolute; left: 2px; right: 2px; bottom: 3px; height: 20px; border-radius: 5px; display: grid; place-items: center; background: #041326; font: 800 14px/1 var(--font-display); font-style: normal; color: #fff; white-space: nowrap; overflow: hidden; }
.d3-fin .s3-splate { top: -16px; height: 26px; padding: 0 8px; font-size: 16px; }
.d3-fin .s3-splate.sp-sub { background: linear-gradient(180deg, #c58cff, #6a1b9a); }
.d3-fin .s3-oop { left: -8px; top: -12px; width: 28px; height: 28px; font-size: 19px; }
.cs-stage .d3-sign { top: 392px; left: 150px; width: 500px; }
/* Done, Scout */
.cs-stage .s3-done { position: absolute; z-index: 3; left: 28px; width: 794px; height: 100px; border-radius: 24px; display: flex; align-items: center; justify-content: center; gap: 26px;
  background: linear-gradient(180deg, #ffe68a, #f9c339 40%, #f0a51a); border: 4px solid #fff0b0; box-shadow: 0 8px 0 #80500b, 0 12px 18px rgba(0, 0, 0, 0.5); }
.s3-done b { font: 800 48px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; color: #1a1204; }
.s3-ball { width: 70px; height: 70px; display: block; }
.s3-ball svg { width: 100%; height: 100%; display: block; }
.cs-stage .s3-scout { position: absolute; z-index: 3; left: 32px; width: 788px; height: 90px; border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 22px;
  background: linear-gradient(180deg, #1d3a63, #0a1d3c); border: 3px solid #6f8fb8; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.45); }
.s3-scout b { display: flex; align-items: center; gap: 10px; font: 800 38px/1 var(--font-display); color: #fff; }
.s3-mag { width: 48px; height: 48px; color: #fff; }
.s3-scout .s3-coin.in { width: 40px; height: 40px; }
/* the "..." menu */
.s3-menu { position: fixed; inset: 0; z-index: 30; display: grid; place-items: end center; padding: 0 12px calc(var(--safe-b, 0px) + 16px); background: rgba(2, 6, 16, 0.55); }
.s3-mcard { width: min(100%, 420px); display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 20px; background: #0a1c3a; border: 2px solid #2a6aa8; box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.5); }
.s3-mt { font: 800 20px/1.1 var(--font-display); color: #fff; padding: 2px 4px 4px; }
.s3-mcard button { min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 14px; border-radius: 14px; text-align: left; background: #13305a; border: 1.5px solid #2f6ab0; box-shadow: none; font: 800 18px/1.1 var(--font-display); color: #fff; }
.s3-mcard button small { font: 500 13px/1.25 var(--font-ui); color: #9fb8d4; }
.s3-mcard button[data-m="release"] { color: #ffb3b3; border-color: #8a3a3a; }
.s3-mcard button.x { align-items: center; background: none; border-color: transparent; color: #9fb8d4; }
/* ---------- the Scouting Report ---------- */
.s3-cand { position: absolute; z-index: 3; left: 20px; width: 812px; height: 368px; box-sizing: border-box; border-radius: 26px;
  background: linear-gradient(180deg, #123c6c, #02132f); border: 5px solid #00e6ff; box-shadow: 0 0 16px rgba(0, 230, 255, 0.4), 0 10px 16px rgba(0, 0, 0, 0.45); }
.s3-cand.r-semi, .s3-cand.r-sunday { border-color: #d1b27a; box-shadow: 0 0 12px rgba(209, 178, 122, 0.3), 0 10px 16px rgba(0, 0, 0, 0.45); }
.s3-cand.r-star { border-color: #ffd54f; box-shadow: 0 0 20px rgba(255, 213, 79, 0.5); }
.s3-cand.r-legend { border-color: #ff80ab; box-shadow: 0 0 22px rgba(255, 128, 171, 0.55); }
.s3-cand > * { position: absolute; }
.s3-cand.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 200px; }
.s3-cand.empty > * { position: static; }
.s3-cand.empty b { font: 800 40px/1 var(--font-display); } .s3-cand.empty small { font: 600 28px/1 var(--font-ui); color: #9fb8d4; }
.s3-cframe { left: 22px; top: 30px; width: 162px; height: 236px; }
.s3-cpic { position: absolute; left: 12.5%; top: 11.2%; width: 75%; height: 77.9%; overflow: hidden; clip-path: polygon(8% 4%, 50% 0, 92% 4%, 100% 12%, 100% 88%, 88% 97%, 50% 100%, 12% 97%, 0 88%, 0 12%); background: linear-gradient(180deg, #1a3c6a, #07182f); }
.s3-crim { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(0, 191, 255, 0.55)); }
.s3-cand.r-semi .s3-crim, .s3-cand.r-sunday .s3-crim { filter: drop-shadow(0 0 6px rgba(220, 230, 240, 0.4)); }
.s3-cand.r-sunday .s3-crim { filter: sepia(0.9) saturate(1.6) hue-rotate(-12deg) brightness(0.85); }
.s3-cand.r-star .s3-crim { filter: sepia(1) saturate(4) hue-rotate(5deg) brightness(1.1) drop-shadow(0 0 8px rgba(255, 213, 79, 0.6)); }
.s3-cand.r-legend .s3-crim { filter: hue-rotate(120deg) saturate(1.4) drop-shadow(0 0 8px rgba(255, 128, 171, 0.6)); }
.s3-cname { left: 202px; top: 20px; width: 403px; height: 42px; box-sizing: border-box; padding: 0 16px; border-radius: 13px; display: flex; align-items: center; background: #06172d; border: 2px solid #7293a8; font: 800 30px/1 var(--font-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s3-cmeta { left: 202px; right: 150px; top: 73px; height: 35px; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.s3-cmeta .s3-chip { position: static; width: 67px; height: 35px; font-size: 23px; flex: 0 0 auto; }
.s3-rar { font: 800 24px/1 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; padding: 5px 8px; border-radius: 8px; }
.r-pro .s3-rar, .r-star .s3-rar, .r-legend .s3-rar { background: none; padding: 0 4px; }
.r-semi .s3-rar, .r-sunday .s3-rar { background: rgba(255, 255, 255, 0.1); }
.s3-cmeta i { font-style: normal; color: #6f8fb8; font-size: 28px; }
.s3-cmeta span { font: 500 23px/1 var(--font-display); color: #c5d6ea; overflow: hidden; text-overflow: ellipsis; }
.s3-perk { left: 202px; right: 170px; top: 118px; height: 54px; overflow: hidden; font: 500 22px/26px var(--font-display); color: #c5d6ea; }
.s3-perk b { font-weight: 800; font-size: 23px; color: #3ee6b4; }
.s3-perk em { display: block; font-style: normal; color: #ffd24d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s3-perk em.bad { color: #ff9a9a; }
.s3-cstat { display: flex; align-items: center; gap: 14px; width: 272px; height: 30px; margin-top: -15px; }
.s3-cstat .s3-bar { height: 13px; }
.s3-crule { left: 30px; top: 297px; width: 558px; height: 2px; background: rgba(120, 170, 230, 0.35); }
.s3-cwage { left: 38px; top: 316px; font: 500 26px/1 var(--font-display); color: #c5d6ea; }
.s3-cwage b { font-weight: 800; font-size: 32px; color: #ffd24d; margin: 0 4px 0 14px; }
.s3-cdiv { left: 282px; top: 308px; width: 2px; height: 42px; background: rgba(160, 200, 240, 0.4); }
.s3-cfee { left: 327px; top: 312px; display: flex; align-items: center; gap: 14px; font: 500 26px/1 var(--font-display); color: #c5d6ea; }
.s3-cfee .s3-coin { width: 34px; height: 34px; margin-left: 2px; }
.s3-cfee b { font-weight: 800; font-size: 32px; color: #ffd24d; }
.s3-cfee.short b { color: #ff7b7b; }
.s3-covr { left: 668px; top: 23px; width: 125px; height: 110px; box-sizing: border-box; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(180deg, #123c6c, #02132f); border: 4px solid #5087a9; }
.s3-covr b { position: relative; z-index: 1; font: 800 64px/0.85 var(--font-display); color: #7ff0ff; text-shadow: 0 0 12px rgba(0, 220, 255, 0.5); }
.s3-cand.r-semi .s3-covr b, .s3-cand.r-sunday .s3-covr b { color: #fff; text-shadow: none; }
.s3-covr small { position: relative; z-index: 1; font: 800 22px/1 var(--font-display); letter-spacing: 0.08em; color: #cfe2f5; }
.s3-laurel { position: absolute; left: -12px; right: -12px; bottom: -14px; width: calc(100% + 24px); height: 70px; }
.cs-stage .s3-sign { left: 608px; top: 282px; width: 184px; height: 80px; box-sizing: border-box; border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #1a1204;
  background: linear-gradient(180deg, #ffe68a, #f9c339 45%, #f0a51a); border: 4px solid #fff0b0; box-shadow: 0 6px 0 #80500b, 0 10px 14px rgba(0, 0, 0, 0.45); }
.s3-sign b { font: 800 40px/1 var(--font-display); text-transform: uppercase; }
.s3-sign svg { width: 44px; height: 34px; }
.cs-stage .s3-sign:disabled { background: #2a3a52; border-color: #55708f; box-shadow: 0 6px 0 #101c2c; color: #9fb4cc; }
.s3-sign:disabled b { font-size: 28px; white-space: nowrap; }
.s3-notice { position: absolute; z-index: 3; left: 135px; width: 570px; height: 95px; box-sizing: border-box; padding-left: 110px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  background: #132335; border: 3px solid #d3ae73; border-radius: 6px; clip-path: polygon(0 6%, 4% 0, 30% 4%, 60% 0, 96% 3%, 100% 10%, 99% 92%, 94% 100%, 55% 96%, 20% 100%, 2% 96%, 0 85%); box-shadow: 0 8px 14px rgba(0, 0, 0, 0.5); }
.s3-warn { position: absolute; left: 50px; top: 24px; width: 0; height: 0; border-left: 26px solid transparent; border-right: 26px solid transparent; border-bottom: 44px solid #ef3b3b; font-style: normal; }
.s3-warn::after { content: "!"; position: absolute; left: -6px; top: 8px; font: 800 30px/1 var(--font-display); color: #fff; }
.s3-notice b { font: 800 31px/1 var(--font-display); color: #fff; }
.s3-notice small { font: 500 25px/1 var(--font-ui); color: #b9c8d8; padding-left: 64px; }
.cs-stage .s3-finish { position: absolute; z-index: 3; left: 250px; width: 350px; height: 80px; border-radius: 22px;
  background: linear-gradient(180deg, #ffe68a, #f9c339 45%, #f0a51a); border: 4px solid #fff0b0; box-shadow: 0 6px 0 #80500b, 0 10px 16px rgba(0, 0, 0, 0.5); }
.s3-finish b { font: 800 44px/1 var(--font-display); text-transform: uppercase; color: #1a1204; }
.s3 .cs-stage .is-pressed { scale: 0.96; filter: brightness(1.1); }
