/* Gridiron Blocks (web). Everything inside .art is in the art's own pixels. */
@font-face { font-family: AlfaSlab; src: url(../fonts/AlfaSlabOne-Regular.ttf) format('truetype'); font-display: block; }
@font-face { font-family: Graduate; src: url(../fonts/Graduate-Regular.ttf) format('truetype'); font-display: swap; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #021F04 url(../assets/bg_stadium.jpg) center / cover no-repeat; color: #F4E8C8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; overscroll-behavior: none; }
body { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
#stage { position: fixed; inset: 0; overflow: hidden; }
.layer { position: absolute; inset: 0; }
.layer.dim { background: rgba(0,0,0,.55); }
.art { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; }
.art > .bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.hot { background: transparent; transition: transform .1s, background .1s; }
.hot:active { background: rgba(0,0,0,.2); transform: scale(.97); }
.nohit { pointer-events: none; }
.txt { display: flex; align-items: center; white-space: nowrap; overflow: hidden; line-height: 1.05; }
.txt.center { justify-content: center; text-align: center; }
.coin { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 40% 35%, #FFE680, #F2B800 60%, #C98A12); box-shadow: inset 0 0 0 2px #A87400; }
.coin b { color: #7A5200; font-family: AlfaSlab; line-height: 1; }

/* round buttons (home) */
.roundbtn { border-radius: 50%; background: linear-gradient(#1B6230, #0E4320); border: 3px solid #4C9A55; box-shadow: 0 2px 4px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center; position: relative; }
.roundbtn > svg { width: 38%; height: 38%; }
.coinbadge { position: absolute; left: 50%; top: 100%; transform: translate(-50%, -30%); display: flex; align-items: center; gap: 4px;
  background: rgba(0,0,0,.75); border: 2px solid #FFC629; border-radius: 20px; padding: 2px 8px 2px 3px; font: 800 19px system-ui, sans-serif; color: #fff; white-space: nowrap; }
.modepill { position: relative; }
.modepill img { position: absolute; inset: 0; width: 100%; height: 100%; }
.modepill > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 18px 4px; }
.modepill svg { width: 40px; height: 40px; }
.modepill i { font-style: normal; font-size: 34px; font-weight: 600; color: #fff; }
.modepill:active { transform: scale(.96); }

/* pick */
.ringbtn { border-radius: 46px; }
.ringbtn.on, .ring { border: 10px solid #FFC21A; border-radius: 42px; box-shadow: 0 0 14px rgba(255,198,41,.85), inset 0 0 14px rgba(255,198,41,.4); }
.megabar { display: flex; align-items: center; gap: 18px; padding: 0 28px; border-radius: 38px; background: linear-gradient(#1B6230, #0E4320); border: 3px solid #4C9A55; }
.megabar img { height: 60px; }
.megabar b { font-family: AlfaSlab; font-weight: 400; font-size: 36px; color: #F4E8C8; transform: skewX(-10deg); }
.megabar .r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.megabar .bars { display: flex; gap: 6px; } .megabar .bars u { width: 30px; height: 14px; border-radius: 7px; background: #FFC629; }
.megabar em { font-style: normal; font-weight: 700; font-size: 26px; }
.megabar .lk { width: 30px; height: 30px; color: #FFC629; } .megabar .lk svg { width: 100%; height: 100%; }
.megabar.locked { opacity: .65; }
.megabar.on { border: 8px solid #FFC21A; box-shadow: 0 0 14px rgba(255,198,41,.85); }
.teamhdr { display: flex; align-items: center; justify-content: center; gap: 18px; pointer-events: none; }
.teamhdr u { width: 46px; height: 6px; border-radius: 3px; background: #FFC629; }
.teamhdr span { font-family: AlfaSlab; font-size: 34px; color: #F4E8C8; transform: skewX(-10deg); }
.swatches { display: flex; justify-content: center; gap: 36px; }
.swatch { width: 96px; height: 96px; position: relative; border-radius: 20px; }
.swatch.on { box-shadow: 0 0 0 5px #F4E8C8; }
.swatch.locked canvas { opacity: .35; }
.swatch i { position: absolute; inset: 28px; color: #fff; } .swatch i svg { width: 100%; height: 100%; }
.teamhint { font-family: Graduate; font-size: 30px; }
.kicklabel { justify-content: center; font-family: AlfaSlab; font-size: 52px; color: #0B3A17; transform: skewX(-11deg) scaleX(.84); }
.kicklabel.big { font-size: 58px; }

/* season */
.status { display: flex; align-items: center; justify-content: center; gap: 14px; font: 800 34px system-ui, sans-serif; color: rgba(244,232,200,.6); }
.status svg { width: 30px; height: 30px; color: rgba(244,232,200,.6); }
.status.won { color: #FFC629; } .status.next { color: #fff; }
.champcard { display: flex; align-items: center; justify-content: center; border-radius: 26px; background: linear-gradient(#FFDE6A, #FFC629, #D99A00); border: 4px solid #FFF1B8; box-shadow: 0 0 12px rgba(255,198,41,.6); }
.champcard svg { width: 70%; height: 70%; } .champcard svg path { fill: #0B3A17; }

/* record */
.recordval { justify-content: center; font-family: AlfaSlab; font-size: 62px; color: #FFC629; text-shadow: 2px 3px 0 rgba(0,0,0,.45); }
.greenpanel { display: flex; align-items: center; justify-content: center; gap: 14px; border-radius: 40px; color: #fff; font-size: 34px; font-weight: 600;
  background: linear-gradient(#1B6230, #0E4320); border: 3px solid #4C9A55; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.greenpanel svg { width: 40px; height: 40px; }
.trophylabel { font-family: AlfaSlab; font-size: 32px; color: #FFC629; white-space: normal; }
.trophylabel.small { font-family: inherit; font-size: 25px; font-weight: 600; color: #F4E8C8; }
.trophies { display: grid; grid-template-columns: repeat(5, 106px); gap: 22px 32px; justify-content: center; align-content: center; }
.trophy { width: 106px; height: 106px; border-radius: 50%; background: #0E3B1A; border: 4px solid #2C5A35; font-size: 46px; display: flex; align-items: center; justify-content: center; filter: grayscale(1); opacity: .45; }
.trophy span { font-family: AlfaSlab; color: #F4E8C8; }
.trophy.earned { background: linear-gradient(#FFDE6A, #D99A00); border-color: #FFF1B8; filter: none; opacity: 1; }
.trophy.earned span { color: #0B3A17; }

/* game */
.score { font-family: AlfaSlab; font-size: 40px; justify-content: center; transform: scaleX(.9); }
.score.dark { color: #0E3B1A; } .score.light { color: #F6EBD0; } .score.big { font-size: 48px; }
.oppname { font-family: Graduate; font-size: 34px; color: #F6EBD0; }
.talk { font-family: AlfaSlab; font-size: 29px; color: #0E3B1A; white-space: normal; line-height: 1.12; align-items: center; }
.balltext { font-family: AlfaSlab; font-size: 46px; justify-content: center; color: #FFD11A; transform: scaleX(.82); }
.linesval { font-family: AlfaSlab; font-size: 52px; color: #F6EBD0; }
.holdpanel, .powerpanel { border-radius: 30px; background: linear-gradient(#1B6230, #0E4320); border: 3px solid #4C9A55; padding: 14px 22px; text-align: left; display: flex; flex-direction: column; }
.holdpanel.used { opacity: .55; }
.hp-top { display: flex; justify-content: space-between; align-items: center; }
.hp-top b, .powerpanel > b { font-family: AlfaSlab; font-weight: 400; font-size: 34px; color: #F6EBD0; transform: skewX(-10deg); }
.powerpanel > b { font-size: 28px; }
.hp-top span { font-size: 30px; opacity: .7; }
.hp-body { flex: 1; display: flex; align-items: center; } .hp-body canvas { height: 64px !important; }
.hp-hint { font-size: 22px; font-weight: 600; color: #CFE3D2; line-height: 1.2; }
.pslots { flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px; }
.pbadge { width: 84px; height: 84px; border-radius: 50%; position: relative; border: 5px solid #FFC629; box-shadow: 0 4px 6px rgba(0,0,0,.5), inset 0 0 0 3px rgba(255,255,255,.3);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .1s; }
.pbadge svg { width: 62%; height: 62%; }
.pbadge em { position: absolute; right: -8px; top: -8px; width: 34px; height: 34px; border-radius: 50%; background: #C81E1E; border: 3px solid #fff; color: #fff;
  font: 400 22px AlfaSlab; font-style: normal; display: flex; align-items: center; justify-content: center; }
.pbadge.empty { filter: brightness(.45); } .pbadge.active { box-shadow: 0 0 22px 8px rgba(255,220,60,.9); }
.pbadge:active { transform: scale(.92); }
.field { touch-action: none; border-radius: 6px; overflow: hidden; }
.field > canvas { position: absolute; inset: 0; }
.fieldfx { position: absolute; inset: 0; pointer-events: none; }
.fieldfx button { pointer-events: auto; }
.toast { display: none; position: absolute; left: 50%; transform: translate(-50%, -50%) skewX(-10deg); font: 38px AlfaSlab; color: #FFC629; white-space: nowrap;
  padding: 14px 26px; background: rgba(6,42,16,.92); border: 4px solid rgba(244,232,200,.8); border-radius: 22px; animation: pop .25s ease-out; }
.toast.bad { color: #FF8A80; }
@keyframes pop { from { transform: translate(-50%, -50%) scale(.8); opacity: 0; } }
.fgbtn { display: none; position: absolute; left: 50%; transform: translate(-50%, -50%); align-items: center; gap: 12px; padding: 12px 24px;
  border-radius: 40px; background: linear-gradient(#FFDE6A, #FFC629, #D99A00); border: 4px solid #05250D; box-shadow: 0 0 18px rgba(255,198,41,.9); animation: pulse 1.4s infinite; }
.fgbtn svg { width: 34px; height: 36px; } .fgbtn span { display: flex; flex-direction: column; transform: skewX(-10deg); text-align: left; }
.fgbtn b { font: 400 24px AlfaSlab; color: #0B3A17; } .fgbtn i { font: 400 17px AlfaSlab; font-style: normal; color: #8C5A00; }
@keyframes pulse { 50% { transform: translate(-50%, -50%) scale(1.05); } }
.onfire { display: none; position: absolute; right: 10px; bottom: 120px; font: 22px AlfaSlab; color: #FFD23F; background: rgba(6,42,16,.9); border: 2px solid #FF8A1F; border-radius: 20px; padding: 6px 14px; }
.coach { display: none; position: absolute; left: 50%; top: 140px; transform: translateX(-50%); font: 700 30px system-ui, sans-serif; color: #0B3A17;
  background: #F4E8C8; border-radius: 22px; padding: 14px 24px; white-space: nowrap; box-shadow: 0 6px 12px rgba(0,0,0,.4); }
.frozen { display: none; position: absolute; inset: 0; border: 8px solid #8CDCFF; border-radius: 18px; box-shadow: 0 0 14px #5ABEFF inset; }
.frozen span { position: absolute; left: 50%; top: 110px; transform: translateX(-50%); font: 26px AlfaSlab; color: #fff; background: rgba(20,70,150,.9); border-radius: 30px; padding: 6px 18px; white-space: nowrap; }
.pbanner { display: none; position: absolute; left: 0; right: 0; top: 40%; transform: translateY(-50%); text-align: center; padding: 24px 12px;
  background: linear-gradient(transparent, color-mix(in srgb, var(--pc) 55%, transparent), transparent); animation: pop2 .35s ease-out; }
.pbanner > b { display: block; font: 92px AlfaSlab; color: #FFD84A; text-shadow: 0 6px 0 #3C1900; }
.pbanner > small { display: block; font: 30px AlfaSlab; color: #fff; text-shadow: 0 3px 0 #3C1900; }
.pbanner.earned { background: none; }
.earnbox { display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px; background: rgba(6,42,16,.94); border: 4px solid #FFC629; border-radius: 24px; }
.earnbox .pbadge { width: 70px; height: 70px; } .earnbox span { display: flex; flex-direction: column; text-align: left; }
.earnbox small { font: 24px AlfaSlab; color: #F4E8C8; } .earnbox b { font: 40px AlfaSlab; color: #FFC629; transform: skewX(-10deg); }
@keyframes pop2 { from { opacity: 0; transform: translateY(-50%) scale(.6); } }
.tdbanner { display: none; position: absolute; left: 10px; right: 10px; top: 50%; transform: translateY(-50%); text-align: center; padding: 26px 16px;
  background: rgba(6,42,16,.94); border: 5px solid #FFC629; border-radius: 30px; animation: pop2 .35s ease-out; }
.tdbanner b { display: block; font: 66px AlfaSlab; color: #FFC629; transform: skewX(-10deg); }
.tdbanner span { display: block; font: 32px AlfaSlab; color: #F4E8C8; margin-top: 8px; }
.tdbanner small { display: block; font: 28px Graduate; color: #CFE3D2; margin-top: 8px; }
.tdbanner.bad { border-color: #EC3B45; } .tdbanner.bad b { color: #FF8A80; }
.party { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.pad { border-radius: 22px; background: rgba(0,0,0,.001); touch-action: none; transition: transform .08s; }
.pad.down { background: rgba(0,0,0,.22); transform: scale(.95); }
.trophybanner { display: none; align-items: center; justify-content: center; font: 36px AlfaSlab; color: #0B3A17; background: linear-gradient(#FFDE6A, #FFC629);
  border: 5px solid #FFF1B8; border-radius: 30px; box-shadow: 0 8px 20px rgba(0,0,0,.5); text-align: center; padding: 0 20px; }
.waitcard { justify-content: center; text-align: center; white-space: normal; font: 40px AlfaSlab; color: #F4E8C8; background: rgba(6,42,16,.95); border: 5px solid #FFC629; border-radius: 40px; padding: 30px; }
.greenpanel.pill { font-size: 30px; } .greenpanel.pill svg { width: 36px; height: 36px; }

/* kick */
.kicktitle { justify-content: center; font: 60px AlfaSlab; color: #F6EBD0; text-shadow: 3px 4px 0 #05250D; transform: skewX(-11deg) scaleX(.92); }
.watchpill { justify-content: center; font: 46px AlfaSlab; color: #F4E8C8; background: #0A3A18; border: 4px solid #F4E8C8; border-radius: 60px; }
.needle { display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 0 3px rgba(0,0,0,.35)); }
.needle i { width: 0; height: 0; border-left: 23px solid transparent; border-right: 23px solid transparent; border-top: 30px solid #fff; }
.needle u { width: 20px; height: 118px; background: #fff; }
.headline { justify-content: center; font: 112px AlfaSlab; transform: skewX(-10deg) scaleX(.88);
  text-shadow: -5px 0 #0B3A16, 5px 0 #0B3A16, 0 -5px #0B3A16, 0 5px #0B3A16, 4px 7px 0 rgba(5,37,13,.8); }
.subline { justify-content: center; font: 48px AlfaSlab; color: #F6EBD0; background: #0D3A1A; border: 7px solid #F6EBD0; border-radius: 42px; box-shadow: 0 6px 8px rgba(0,0,0,.45); }
.countdown { justify-content: center; gap: 26px; font: 36px Graduate; letter-spacing: 2px; color: #F6EBD0; text-shadow: 0 0 3px rgba(0,0,0,.6); }
.countdown::before, .countdown::after { content: ''; width: 110px; height: 6px; border-radius: 3px; background: #FFC629; }
.wings { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.wings i { display: block; height: 24%; background: linear-gradient(#FFE27A, #F0A800); border: 3px solid #0B3A16; transform: skewX(-35deg); }
.wings i:nth-child(1) { width: 100%; } .wings i:nth-child(2) { width: 82%; } .wings i:nth-child(3) { width: 64%; }
.wings.flip { transform: scaleX(-1); }

/* results */
.youwin { justify-content: center; font: 92px AlfaSlab; color: #FFD11A; text-shadow: 3px 4px 0 #0B3A17; transform: skewX(-11deg) scaleX(.9); }
.resname { font: 50px Graduate; color: #F6EBD0; text-shadow: 2px 2px 0 rgba(0,0,0,.4); }
.restalk { font: 34px AlfaSlab; color: #0E3B1A; white-space: normal; }
.stat { justify-content: center; font: 52px AlfaSlab; color: #FFD11A; transform: scaleX(.9); }
.news { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; transform-origin: 50% 50%; }
.nl { font: 34px AlfaSlab; max-width: 100%; color: #F4E8C8; text-align: center; background: rgba(6,42,16,.85); border: 3px solid #4C9A55; border-radius: 30px; padding: 14px 30px; }
.nl.coins { color: #FFC629; border-color: #FFC629; } .nl.tro { color: #FFC629; }

/* champion */
.champname { justify-content: center; font: 70px AlfaSlab; color: #FFF8E6; text-shadow: 2px 5px 0 #3A0208; transform: skewX(-12deg) scale(.6); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.champname.pop { transform: skewX(-12deg) scale(1); }
.champyear { justify-content: center; font: 54px AlfaSlab; color: #FFD84A; }
.champseasons { font: 32px Graduate; color: #F3E7C9; }

/* shop + gate */
.shopcoins { justify-content: center; font: 900 42px system-ui, sans-serif; color: #fff; }
.packnum { justify-content: center; font: 64px AlfaSlab; color: #F6EBD0; text-shadow: 2px 4px 0 rgba(0,0,0,.85); transform: skewX(-10deg); }
.packprice { justify-content: center; font: 900 40px system-ui, sans-serif; color: #0B3A17; }
.shopmsg { display: none; justify-content: center; text-align: center; white-space: normal; font: 700 32px system-ui, sans-serif; color: #FFC629; background: rgba(0,0,0,.75); border-radius: 50px; padding: 0 24px; }
.gate { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; background: linear-gradient(#1B6230, #0E4320);
  border: 6px solid #FFC629; border-radius: 50px; padding: 40px; }
.gate b { font: 54px AlfaSlab; color: #FFC629; } .gate p { font: 600 34px system-ui, sans-serif; margin: 0; line-height: 1.3; }
.gate .ans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
.gate .ans button { font: 54px AlfaSlab; color: #0B3A17; background: linear-gradient(#FFE34A, #F2B800); border-radius: 30px; padding: 18px 0; }
.gate .cancel { font: 700 34px system-ui, sans-serif; color: #F4E8C8; padding: 10px 30px; }

/* locker room (scrolling page) */
.scroller { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; background: #021F04; }
.scrollinner { position: relative; margin: 0 auto; }
.art.page { position: absolute; height: auto !important; transform-origin: 0 0; overflow: visible; background: #021F04; padding-bottom: 0; }
.lhead { position: relative; } .lhead img, .lfoot { display: block; width: 852px; }
.lcoins { position: absolute; display: flex; align-items: center; justify-content: center; font: 900 38px system-ui, sans-serif; color: #fff; pointer-events: none; }
.ltabs { display: flex; gap: 8px; padding: 6px 20px 0; }
.ltabs button { flex: 1; font: 23px AlfaSlab; color: #F4E8C8; padding: 16px 4px; border-radius: 40px; background: rgba(0,0,0,.45); border: 3px solid rgba(255,198,41,.6); white-space: nowrap; position: relative; }
.ltabs button.on { color: #0B3A17; background: linear-gradient(#FFE34A, #F2B800); border-color: #FFF3B0; }
.ltabs button.bolt::before { content: '⚡'; position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-size: 28px; }
.getcoins { display: flex; align-items: center; justify-content: center; gap: 16px; width: calc(100% - 120px); margin: 22px 60px 0; padding: 20px 0; border-radius: 60px;
  background: linear-gradient(#FFE34A, #F2B800); border: 4px solid #FFF3B0; box-shadow: 0 0 12px rgba(255,198,41,.6); }
.getcoins span { font: 38px AlfaSlab; color: #0B3A17; } .getcoins i { font-style: normal; width: 44px; height: 44px; border-radius: 50%; background: #1F7A2E; color: #fff; font: 900 36px system-ui; display: flex; align-items: center; justify-content: center; }
.namebox { margin: 22px 40px 0; } .namebox label { display: block; font: 26px AlfaSlab; color: #FFC629; margin-bottom: 8px; }
.namebox input, .lobbyname { width: 100%; font: 600 40px system-ui, sans-serif; color: #fff; background: rgba(0,0,0,.55); border: 3px solid #FFC629; border-radius: 22px; padding: 14px 22px; outline: none; user-select: text; -webkit-user-select: text; }
.lobbyname { background: transparent; border: 0; padding: 0 10px; height: 100%; }
.lmsg { min-height: 64px; display: flex; align-items: center; justify-content: center; text-align: center; font: 700 30px system-ui, sans-serif; color: #FFC629; padding: 0 30px; }
.lgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 6px; padding: 0 24px; }
.lcard { position: relative; aspect-ratio: 402 / 404; border-radius: 46px; overflow: hidden; }
.lcard > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lcard .tex { position: absolute; inset: 26px; border-radius: 32px; background: url(../assets/card_texture.jpg) center / cover, linear-gradient(#15582A, #0A3315); background-blend-mode: overlay; }
.lcard .frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.lcard .prev { position: absolute; left: 60px; right: 60px; top: 50px; height: 170px; }
.lcard .full { position: absolute; inset: 28px; border-radius: 32px; overflow: hidden; }
.lcard .nm { position: absolute; left: 30px; right: 30px; top: 232px; text-align: center; font: 400 42px AlfaSlab; color: #F4E8C8; text-shadow: 2px 4px 0 rgba(0,0,0,.85); transform: skewX(-10deg); white-space: nowrap; overflow: hidden; }
.lcard .full ~ .nm { top: 210px; }
.lpill { position: absolute; left: 50%; bottom: 44px; width: 228px; height: 80px; transform: translateX(-50%); border-radius: 40px; display: flex; align-items: center; justify-content: center; gap: 10px;
  font: 900 40px system-ui, sans-serif; color: #0B3A17; background: linear-gradient(#FFE34A, #F2B800); border: 3px solid #FFF3B0; box-shadow: 0 4px 4px rgba(0,0,0,.45); }
.lpill .coin { width: 34px; height: 34px; font-size: 22px; }
.lpill.on { color: #fff; background: linear-gradient(#2E9E3E, #146B22); border-color: #7CE08A; }
.lpill.locked { color: rgba(244,232,200,.85); background: linear-gradient(#3A3A3A, #1C1C1C); border-color: rgba(255,255,255,.35); }
.lpill svg { width: 28px; height: 28px; }
.lcard.equipped::after, .pucard.bringing::after { content: ''; position: absolute; inset: 14px; border-radius: 46px; border: 10px solid #FFC629; box-shadow: 0 0 14px rgba(255,198,41,.9); pointer-events: none; }
.pucard { position: relative; aspect-ratio: 404 / 344; }
.pucard .art { position: absolute; inset: 0; transform: none; width: 100%; height: 100%; }
.pucard .art img { width: 100%; height: 100%; display: block; }
.pucard.bringing::after { inset: 4px; border-radius: 40px; border-width: 9px; }
.pucard .cnt { position: absolute; left: 6%; top: 8%; font: 26px AlfaSlab; color: #FFC629; background: rgba(0,0,0,.8); border: 2.5px solid #FFC629; border-radius: 20px; padding: 2px 14px; pointer-events: none; }
.pucard .chk { position: absolute; right: 9%; top: 8%; width: 46px; height: 46px; border-radius: 50%; background: #2E9E3E; color: #fff; font: 900 28px system-ui; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; pointer-events: none; }
.pucard .buy { position: absolute; left: 19%; width: 62%; top: 74%; height: 20%; border-radius: 40px; display: flex; align-items: center; justify-content: flex-end; padding-right: 24px; color: #F4E8C8; }
.pucard .buy.poor { background: rgba(0,0,0,.5); } .pucard .buy svg { width: 28px; height: 28px; }
.pucard .buy:active { background: rgba(0,0,0,.25); }

/* lobby */
.lobbydesc { font: 500 30px system-ui, sans-serif; color: #F4E8C8; white-space: normal; line-height: 1.2; }
.lobbydesc.two { font-size: 32px; }
.invitelabel { display: flex; align-items: center; justify-content: center; gap: 18px; font: 600 40px system-ui, sans-serif; color: #fff; }
.invitelabel svg { width: 52px; height: 52px; } .invitelabel svg * { fill: #fff; }
.lobbypanel { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(6,42,16,.96); border: 5px solid #FFC629; border-radius: 40px; padding: 20px; text-align: center; }
.lobbypanel span { font: 600 32px system-ui, sans-serif; } .lobbypanel b { font: 44px AlfaSlab; color: #FFC629; }
.lobbypanel b.code { font-size: 78px; line-height: 1; letter-spacing: 14px; color: #fff; }
.prow { display: flex; gap: 20px; }
.lobbypanel button { font: 700 32px system-ui, sans-serif; padding: 14px 34px; border-radius: 40px; color: #0B3A17; background: linear-gradient(#FFE34A, #F2B800); }
.lobbypanel .pcancel { color: #F4E8C8; background: rgba(255,255,255,.12); }
.codein { width: 320px; text-align: center; font: 72px AlfaSlab; letter-spacing: 18px; color: #fff; background: rgba(0,0,0,.5); border: 3px solid #FFC629; border-radius: 24px; outline: none; text-transform: uppercase; user-select: text; -webkit-user-select: text; }
.codein.bad { border-color: #FF6B6B; }
