/* gmixr · Sticker Club component layer for the party page (Pub + game) and Join.
   Loaded LAST on g-mixer-pub.html and g-mixer-join.html. Colors were converted to brand tokens in each sheet;
   this layer adds the shape language: 2.5px Ink borders, hard offset shadows, press-in buttons, stickers. */

html:has(body.socialPub),html:has(body.gmrJoin){background:var(--gmx-cream)}
html body:is(.socialPub,.gmrJoin){background-color:var(--gmx-cream);color:var(--gmx-ink);font-family:var(--gmx-font)}
html body:is(.socialPub,.gmrJoin) ::selection{background:var(--gmx-highlighter);color:var(--gmx-ink)}
html body:is(.socialPub,.gmrJoin) a.gmxLogo{position:relative;display:inline-block;width:fit-content;max-width:max-content;flex:0 0 auto;align-self:flex-start}
html body:is(.socialPub,.gmrJoin) :is(h1,h2,h3){font-family:var(--gmx-font);letter-spacing:-.02em;color:var(--gmx-ink)}
html body:is(.socialPub,.gmrJoin) :is(h1,.mixerPageTitle){font-weight:800;letter-spacing:-.03em;text-transform:lowercase}
html body.socialPub .socialPanel>h2,html body.socialPub .socialContactsHeading{font-weight:800;text-transform:lowercase}
html body:is(.socialPub,.gmrJoin) :is(.eyebrow,.gameTag,.mixerBoardScoreLabel,.socialComposerLabel){font-family:var(--gmx-font-mono);font-weight:500;letter-spacing:.07em;text-transform:uppercase;color:var(--gmx-ink)}
html body.socialPub .gmrPubHeaderLink,html body.socialPub .mixerHeaderTools a{font-family:var(--gmx-font);font-weight:700;color:var(--gmx-ink);text-transform:lowercase}

/* Panels and cards: white stickers with a hard Ink shadow. */
html body.socialPub :is(.socialPanel,.mixerEventCard,.mixerPersonalCard,.gameInviteShare,.mixerCompletion){border:var(--gmx-border);border-radius:var(--gmx-radius-card);background-color:var(--gmx-white);box-shadow:var(--gmx-shadow)}
html body.socialPub .socialPlay{background-color:var(--gmx-white)}
html body.gmrJoin :is(.box,.question,.modal){border:var(--gmx-border);border-radius:var(--gmx-radius-card);background:var(--gmx-white);box-shadow:var(--gmx-shadow)}
html body.gmrJoin .box h1{text-transform:lowercase}
html body.gmrJoin .box a{font-weight:700;color:var(--gmx-ink);text-decoration-thickness:2px;text-underline-offset:3px}

/* The score is the hero: big Bricolage number on a Highlighter shingle. */
html body.socialPub .mixerBoardScore{font-weight:800;letter-spacing:-.03em;text-transform:lowercase}
html body.socialPub .mixerBoardScoreLabel{display:block;width:fit-content;margin:0 0 10px;padding:4px 10px;border:var(--gmx-border-thin);border-radius:10px;background:var(--gmx-highlighter);transform:rotate(-3deg);box-shadow:var(--gmx-shadow-sm)}

/* People you met: game pieces as stickers, alternating tilt, candy fills. */
html body.socialPub .mixerBoardPiece{border:var(--gmx-border);border-radius:18px;box-shadow:var(--gmx-shadow-sm);color:var(--gmx-ink);transition:transform var(--gmx-dur-press),box-shadow var(--gmx-dur-press)}
html body.socialPub .mixerBoardPiece:nth-child(3n+1){background:var(--gmx-pool);transform:rotate(-3deg)}
html body.socialPub .mixerBoardPiece:nth-child(3n+2){background:var(--gmx-bubblegum);transform:rotate(2deg)}
html body.socialPub .mixerBoardPiece:nth-child(3n){background:var(--gmx-highlighter);transform:rotate(-1deg)}
html body.socialPub .mixerBoardPiece:active{transform:translate(3px,3px);box-shadow:none}
html body.socialPub .mixerBoardPiece strong{font-weight:800}

/* Buttons: Highlighter pill, Ink border, presses 4px into its shadow. */
html body:is(.socialPub,.gmrJoin) :is(button,.primaryButton,.button,.mixerWrapNext a,.gameInviteShareBtn):not(.gmxLogo,.gmrBackSignOut,.socialNav button,.socialNav a,.close,.link,.mixerBoardPiece,[role=tab],.gmxRule,.gmxRulesGo,.gmxPlusPiece){font-family:var(--gmx-font);font-weight:700;text-transform:lowercase;border:var(--gmx-border);border-radius:999px;background:var(--gmx-highlighter);color:var(--gmx-ink);box-shadow:4px 4px 0 var(--gmx-ink);text-decoration:none;filter:none;opacity:1;transition:transform var(--gmx-dur-press),box-shadow var(--gmx-dur-press)}
html body:is(.socialPub,.gmrJoin) :is(button,.primaryButton,.button,.mixerWrapNext a,.gameInviteShareBtn):not(.gmxLogo,.gmrBackSignOut,.socialNav button,.socialNav a,.close,.link,.mixerBoardPiece,[role=tab],.gmxRule,.gmxRulesGo,.gmxPlusPiece):active:not(:disabled){transform:translate(4px,4px);box-shadow:0 0 0 var(--gmx-ink)}
html body:is(.socialPub,.gmrJoin) :is(button,.primaryButton,.button,.mixerWrapNext a,.gameInviteShareBtn):not(.gmxLogo,.gmrBackSignOut,.socialNav button,.socialNav a,.close,.link,.mixerBoardPiece,[role=tab],.gmxRule,.gmxRulesGo,.gmxPlusPiece):is(.cancelButton,.button.light,.gmxPlusCancel){background:var(--gmx-white);font-weight:600;box-shadow:none}
html body:is(.socialPub,.gmrJoin) :is(button,.primaryButton,.button,.mixerWrapNext a,.gameInviteShareBtn):not(.gmxLogo,.gmrBackSignOut,.socialNav button,.socialNav a,.close,.link,.mixerBoardPiece,[role=tab],.gmxRule,.gmxRulesGo,.gmxPlusPiece):disabled{background:var(--gmx-cream-deep);color:#8a8378;border-color:#8a8378;box-shadow:none;transform:none}

/* Inputs */
html body:is(.socialPub,.gmrJoin) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){border:var(--gmx-border);border-radius:var(--gmx-radius-input);background:var(--gmx-cream);color:var(--gmx-ink);font-family:var(--gmx-font)}
html body:is(.socialPub,.gmrJoin) :is(input,select,textarea):focus{outline:none;box-shadow:var(--gmx-shadow-sm)}

/* Chat bubbles: mine = Highlighter, theirs = white, both with an Ink border. */
html body.socialPub :is(.message,.socialChat p){border:var(--gmx-border-thin);border-radius:18px;background:var(--gmx-white);color:var(--gmx-ink)}
html body.socialPub :is(.message.mine,.socialChat p.mine){background:var(--gmx-highlighter)}

/* Bottom tab bar (guide: active tab sits in a Highlighter pill with a 2px Ink border). */
html body.socialPub .socialNav{border:var(--gmx-border);background:var(--gmx-white);box-shadow:var(--gmx-shadow)}
html body.socialPub .socialNav :is(a,button){font-family:var(--gmx-font);text-transform:lowercase;color:var(--gmx-ink);border:2px solid transparent;box-shadow:none;background:transparent}
html body.socialPub .socialNav :is(a,button):is([aria-current]:not([aria-current=false]),[aria-selected=true],[aria-pressed=true],.active,.is-active){background:var(--gmx-highlighter);border-color:var(--gmx-ink);font-weight:700}

html body:is(.socialPub,.gmrJoin) footer :is(a,span,small){font-family:var(--gmx-font-mono);text-transform:lowercase;color:var(--gmx-ink)}

@media(prefers-reduced-motion:reduce){
 html body:is(.socialPub,.gmrJoin) *{transition:none!important}
 html body.socialPub .mixerBoardPiece{transform:none!important}
}

/* Party page top nav: the same pills as the member pages (dashboard / profile / friends / sign out). */
html body.socialPub .mixerHeaderTools{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px 14px}
html body.socialPub .gmxPubTopNav{display:flex;align-items:center;gap:6px}
html body.socialPub .gmxPubTopNav[hidden]{display:none}
html body.socialPub .gmxPubTopNav a{white-space:nowrap;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;border:2px solid transparent;border-radius:999px;font:700 15px/1 var(--gmx-font);text-transform:lowercase;text-decoration:none;color:var(--gmx-ink);background:transparent}
html body.socialPub .gmxPubTopNav a:hover{border-color:var(--gmx-ink)}
html body.socialPub .gmxPubTopNav a:first-child{background:var(--gmx-highlighter);border-color:var(--gmx-ink);box-shadow:var(--gmx-shadow-sm)}
html body.socialPub .gmxPubTopNav a:first-child:active{transform:translate(3px,3px);box-shadow:none}
html body.socialPub .gmxPubTopNav .gmrNavSignOut{font-weight:600;color:var(--gmx-ink-soft)}
html body.socialPub .gmxPubTopNav .gmrNavIcon{display:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body.socialPub .mixerHeaderTools :is(#mixerHowItWorks,#gMixerAccount){min-height:0;padding:4px 2px;border:0;background:none;box-shadow:none;font:600 13px/1.2 var(--gmx-font);text-transform:lowercase;color:var(--gmx-ink-soft);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
@media(max-width:640px){
 html body.socialPub .mixerHeader.mixerCompactHeader{grid-template-columns:minmax(0,1fr)}
 html body.socialPub .mixerHeaderTools{justify-content:flex-start;width:100%;min-width:0}
 html body.socialPub .gmxPubTopNav{width:100%;justify-content:space-between;gap:2px}
 html body.socialPub .gmxPubTopNav a{flex-direction:column;gap:3px;padding:6px 10px;font-size:12px;border-radius:16px}
 html body.socialPub .gmxPubTopNav .gmrNavIcon{display:block}
}

/* ---------- Party page: Your +1 ---------- */
html body.socialPub .gmxPlusOne{margin:18px auto;max-width:560px;padding:18px;border:var(--gmx-border);border-radius:var(--gmx-radius-card);background:var(--gmx-white);box-shadow:5px 5px 0 var(--gmx-bubblegum);color:var(--gmx-ink)}
html body.socialPub .gmxPlusOne[hidden]{display:none}
html body.socialPub .gmxPlusEyebrow{display:inline-block;margin:0 0 6px;padding:4px 10px;border:var(--gmx-border-thin);border-radius:10px;background:var(--gmx-bubblegum);font:500 12px/1 var(--gmx-font-mono);letter-spacing:.07em;transform:rotate(-3deg)}
html body.socialPub .gmxPlusTitle{margin:4px 0 8px;font:800 26px/1.05 var(--gmx-font);letter-spacing:-.03em;text-transform:lowercase}
html body.socialPub .gmxPlusNote{margin:0 0 12px;color:var(--gmx-ink-soft)}
html body.socialPub .gmxPlusRow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px 12px;margin:8px 0 10px;padding:12px 14px;border:var(--gmx-border);border-radius:18px;background:var(--gmx-cream)}
html body.socialPub .gmxPlusRow[data-status=joined]{background:var(--gmx-highlighter)}
html body.socialPub .gmxPlusWho{display:grid;gap:2px;min-width:0}
html body.socialPub .gmxPlusWho strong{font-weight:800;overflow-wrap:anywhere}
html body.socialPub .gmxPlusWho span{font:400 12px/1.35 var(--gmx-font-mono);color:var(--gmx-ink-soft);overflow-wrap:anywhere}
html body.socialPub .gmxPlusChip{white-space:nowrap;padding:5px 10px;border:var(--gmx-border-thin);border-radius:999px;background:var(--gmx-white);font:500 12px/1 var(--gmx-font-mono);text-transform:lowercase}
html body.socialPub .gmxPlusRow[data-status=open] .gmxPlusChip{background:var(--gmx-highlighter)}
html body.socialPub .gmxPlusForm{display:grid;gap:10px}
html body.socialPub .gmxPlusNames{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html body.socialPub .gmxPlusPieces{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html body.socialPub button.gmxPlusPiece{display:grid;justify-items:center;gap:2px;min-height:64px;padding:8px;border:var(--gmx-border);border-radius:16px;background:var(--gmx-white);color:var(--gmx-ink);box-shadow:none;text-transform:none}
html body.socialPub button.gmxPlusPiece span{font-size:26px;line-height:1}
html body.socialPub button.gmxPlusPiece small{font:500 12px/1 var(--gmx-font-mono)}
html body.socialPub button.gmxPlusPiece[data-piece=fr][aria-checked=true]{background:var(--gmx-pool);box-shadow:3px 3px 0 var(--gmx-ink)}
html body.socialPub button.gmxPlusPiece[data-piece=so][aria-checked=true]{background:var(--gmx-bubblegum);box-shadow:3px 3px 0 var(--gmx-ink)}
html body.socialPub .gmxPlusPsa{margin:2px 0;padding:10px 12px;border:2px dashed var(--gmx-ink);border-radius:14px;background:var(--gmx-cream);font-weight:700;line-height:1.35}
html body.socialPub .gmxPlusActions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
html body.socialPub button.gmxPlusCancel{min-height:38px;padding:6px 14px;background:var(--gmx-white);box-shadow:none;font-size:14px}
html body.socialPub .gmxPlusStatus{margin:8px 0 0;min-height:1em;font-size:14px}
html body.socialPub .gmxPlusPast{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px}
html body.socialPub .gmxPlusPast li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;border:2px solid var(--gmx-ink);border-radius:14px;background:var(--gmx-cream-deep);font-size:14px;opacity:.85}
@media(max-width:520px){html body.socialPub .gmxPlusNames{grid-template-columns:1fr}html body.socialPub .gmxPlusRow{grid-template-columns:minmax(0,1fr) auto}html body.socialPub .gmxPlusRow .gmxPlusCancel{grid-column:1/-1;justify-self:start}}

/* ---------- Chair setup: 05 / The door ---------- */
html body.socialPub .gmxPlusForm input{box-sizing:border-box;width:100%;min-height:48px;padding:12px 14px;font-size:16px}
/* Chair preview of the Pub: a sticky note on top, read only. */
html body .pubPreviewBanner{position:sticky;top:0;z-index:30;margin:0 0 14px;padding:10px 14px;border:2.5px solid var(--gmx-ink,#111);border-radius:14px;background:var(--gmx-highlighter,#c8f135);color:var(--gmx-ink,#111);box-shadow:3px 3px 0 var(--gmx-ink,#111)}
html body .pubPreviewBanner p{margin:0;font-size:14px;line-height:1.35;color:var(--gmx-ink,#111)}
html body .pubPreviewBanner .pubPreviewLinks{margin-top:4px;font-weight:700}
html body .pubPreviewBanner a{color:var(--gmx-ink,#111)}
/* Pub header: the Instant Party pill keeps its size and color, right-aligned under the nav. */
html body.socialPub header.mixerHeader.gmxHasInstant>button.gmxInstantButton{grid-column:1/-1;justify-self:end;width:auto;max-width:max-content;background:var(--gmx-bubblegum);color:var(--gmx-ink)}
html body.socialPub .mixerEventCardNote{margin:6px 0 0;font-style:italic}
html body.socialPub .mixerEventCardNote:empty{display:none}
/* Pub welcome (before the party): countdown, how it works, a sample round, who's coming, face-down cards. */
html body.socialPub .mixerWelcome{display:grid;gap:14px;margin:16px 0 0}
html body.socialPub .mixerWelcome[hidden]{display:none}
html body.socialPub .mixerWelcomeCountdown{margin:0;padding:12px 16px;border:2.5px solid var(--gmx-ink);border-radius:16px;background:var(--gmx-bubblegum);color:var(--gmx-ink);font-weight:800;font-size:17px;box-shadow:3px 3px 0 var(--gmx-ink)}
html body.socialPub .mixerWelcomeBlock{padding:16px;border:2.5px solid var(--gmx-ink);border-radius:18px;background:var(--gmx-white);color:var(--gmx-ink);box-shadow:3px 3px 0 var(--gmx-ink)}
html body.socialPub .mixerWelcomeBlock h3{margin:0 0 10px;font-size:19px;color:var(--gmx-ink)}
html body.socialPub .mixerWelcomeSteps{margin:0;padding:0;list-style:none;display:grid;gap:10px;counter-reset:step}
html body.socialPub .mixerWelcomeSteps li{display:grid;grid-template-columns:32px 1fr;column-gap:10px;align-items:start;counter-increment:step}
html body.socialPub .mixerWelcomeSteps li::before{content:counter(step);grid-row:span 2;display:grid;place-items:center;width:30px;height:30px;border:2px solid var(--gmx-ink);border-radius:50%;background:var(--gmx-highlighter);font-weight:800}
html body.socialPub .mixerWelcomeSteps strong{font-size:16px}
html body.socialPub .mixerWelcomeSteps span{font-size:14px;color:var(--gmx-ink-soft)}
html body.socialPub .mixerWelcomeTopic{margin:0;font:500 12px/1.2 var(--gmx-font-mono,monospace);letter-spacing:.07em;color:var(--gmx-ink-soft)}
html body.socialPub .mixerWelcomeQuestion{margin:4px 0 10px;font-size:18px;font-weight:750;line-height:1.3}
html body.socialPub .mixerWelcomeChoices{display:grid;gap:8px}
html body.socialPub #mixerWelcome button.mixerWelcomeChoice{font-family:inherit;letter-spacing:0;transform:none;display:block;width:100%;min-height:48px;padding:10px 14px;text-align:left;border:2px solid var(--gmx-ink);border-radius:14px;background:var(--gmx-white);color:var(--gmx-ink);font-size:15px;font-weight:600;line-height:1.3;text-transform:none;cursor:pointer;box-shadow:none}
html body.socialPub #mixerWelcome button.mixerWelcomeChoice[aria-pressed=true]{background:var(--gmx-highlighter);box-shadow:2px 2px 0 var(--gmx-ink)}
html body.socialPub .mixerWelcomeAfter{margin:10px 0 0;font-size:14px;font-weight:600}
html body.socialPub .mixerWelcomeAfter:empty{display:none}
html body.socialPub #mixerWelcome button.mixerWelcomeAgain{font-family:inherit;text-transform:none;margin-top:10px;min-height:40px;width:auto;padding:6px 14px;border:2px solid var(--gmx-ink);border-radius:999px;background:var(--gmx-white);color:var(--gmx-ink);font-size:14px;font-weight:700;box-shadow:none}
html body.socialPub .mixerWelcomeCount{margin:0 0 12px;font-size:16px;font-weight:700}
html body.socialPub .mixerWelcomeDeck{display:flex;gap:10px}
html body.socialPub .mixerWelcomeCard{display:grid;place-items:center;width:64px;height:88px;border:2.5px solid var(--gmx-ink);border-radius:12px;font-size:28px;font-weight:900;color:var(--gmx-ink);box-shadow:3px 3px 0 var(--gmx-ink)}
html body.socialPub .mixerWelcomeCard[data-tone=pink]{background:var(--gmx-bubblegum);transform:rotate(-4deg)}
html body.socialPub .mixerWelcomeCard[data-tone=pool]{background:var(--gmx-pool)}
html body.socialPub .mixerWelcomeCard[data-tone=lime]{background:var(--gmx-highlighter);transform:rotate(4deg)}
html body.socialPub .mixerWelcomeFlip{margin:12px 0 0;font-size:14px;color:var(--gmx-ink-soft)}
@media(min-width:760px){html body.socialPub .mixerWelcome{grid-template-columns:1fr 1fr}html body.socialPub .mixerWelcomeCountdown,html body.socialPub .mixerWelcomeWho{grid-column:1/-1}}
/* Tonight's games: three teaser cards. */
html body.socialPub .mixerWelcomeLead{margin:-4px 0 12px;font-weight:700}
html body.socialPub .mixerWelcomeGameRow{display:grid;gap:10px}
html body.socialPub .mixerWelcomeGame{padding:12px 14px;border:2.5px solid var(--gmx-ink);border-radius:14px;color:var(--gmx-ink);box-shadow:3px 3px 0 var(--gmx-ink)}
html body.socialPub .mixerWelcomeGame[data-tone=pink]{background:var(--gmx-bubblegum)}
html body.socialPub .mixerWelcomeGame[data-tone=pool]{background:var(--gmx-pool)}
html body.socialPub .mixerWelcomeGame[data-tone=lime]{background:var(--gmx-highlighter)}
html body.socialPub .mixerWelcomeGame strong{display:block;font-size:17px;margin-bottom:4px;color:var(--gmx-ink)}
html body.socialPub .mixerWelcomeGame p{margin:0;font-size:14px;line-height:1.4;color:var(--gmx-ink)}
@media(min-width:760px){html body.socialPub .mixerWelcomeGames{grid-column:1/-1}html body.socialPub .mixerWelcomeGameRow{grid-template-columns:repeat(3,1fr)}}
/* Game bar on the Pub: logo + event name, one Menu. */
html body.socialPub.gmxGameBar #mixerHowItWorks,html body.socialPub.gmxGameBar nav.gmrBackBar,html body.socialPub.gmxGameBar header.mixerHeader>button.gmxInstantButton,html body.socialPub.gmxGameBar header.mixerHeader>.gameTag{display:none!important}
html body.socialPub.gmxGameBar header.mixerHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}
html body.socialPub.gmxGameBar .mixerHeaderTools{position:relative;display:flex;align-items:center;justify-content:flex-end}
html body.socialPub.gmxGameBar .mixerHeaderTools>button.gmxGameMenuBtn{width:auto;min-height:44px;padding:8px 16px;border:2.5px solid var(--gmx-ink);border-radius:999px;background:var(--gmx-white);color:var(--gmx-ink);font-weight:800;font-size:15px;text-transform:none;box-shadow:3px 3px 0 var(--gmx-ink)}
html body.socialPub.gmxGameBar .gmxGameMenu{position:absolute;top:calc(100% + 8px);right:0;z-index:40;display:grid;gap:4px;min-width:200px;padding:10px;border:2.5px solid var(--gmx-ink);border-radius:16px;background:var(--gmx-white);box-shadow:4px 4px 0 var(--gmx-ink)}
html body.socialPub.gmxGameBar .gmxGameMenu[hidden]{display:none}
html body.socialPub.gmxGameBar .gmxGameMenu nav.gmxPubTopNav{display:grid!important;gap:2px;margin:0;padding:0;border:0;background:none;box-shadow:none;position:static}
html body.socialPub.gmxGameBar .gmxGameMenu a{display:flex!important;align-items:center;gap:10px;min-height:40px;padding:6px 10px;border-radius:10px;border:0;background:none;color:var(--gmx-ink);font-weight:700;text-decoration:none;box-shadow:none;flex-direction:row!important}
html body.socialPub.gmxGameBar .gmxGameMenu a:hover,html body.socialPub.gmxGameBar .gmxGameMenu a:focus-visible{background:var(--gmx-cream)}
html body.socialPub.gmxGameBar .gmxGameMenu a svg{width:20px;height:20px;flex:none}
html body.socialPub.gmxGameBar .socialEventBar h2{margin:0;font-size:16px}
