/* The Club+ pages (/plus/, /stats/, /room/) on the club's card table, as every other page: the swirling
   table club/toys.js draws, with the site's header, white words on the table, the cream cards with their
   hard drop shadow, chunky buttons on their own darker edge that sink when pressed, and big words and
   numbers in Jersey 10. A button that moves you on is the games' mint; what's Club+'s own is the foil and gold. Light or dark as the club's switch
   says (`dleclub.theme`); club/plus-table.js wires the room's own switch. */
@font-face{font-family:'Jersey 10';font-style:normal;font-display:block;font-weight:400;src:url('/fonts/jersey10.woff2') format('woff2')}
@font-face{font-family:'Figtree';font-style:normal;font-display:block;font-weight:300 900;src:url('/fonts/figtree-var.woff2') format('woff2')}
:root{color-scheme:light;
  --table:#263160;--on:#fff;--on-2:rgba(255,255,255,.8);--on-line:rgba(255,255,255,.2);
  --paper:#f4efe6;--raised:#fff;--well:rgba(36,31,44,.06);--ink:#241f2c;--ink-soft:rgba(36,31,44,.68);--ink-line:rgba(36,31,44,.1);
  --go:#93e2bd;--go-edge:#2c8a63;--on-go:#12261c;--accent:#2c8a63;--slate:#262b3e;--slate-edge:#171c2b;--gold:#f2b544;--gold-dark:#b07a17;--green:#1f9d5b;
  --lift:0 8px 0 rgba(0,0,0,.24);--drop:0 5px 0 rgba(0,0,0,.24);
  --text:'Figtree','Avenir Next','Segoe UI',system-ui,sans-serif;--num:'Jersey 10',ui-monospace,monospace;--focus:#1b2238}
:root[data-theme=dark]{color-scheme:dark;--focus:#ffd25e;--accent:#93e2bd;
  --table:#141725;--on:#fff;--on-2:rgba(255,255,255,.78);--on-line:rgba(255,255,255,.16);
  --paper:#1d2131;--raised:#262b3d;--well:#343a52;--ink:#eef0fb;--ink-soft:rgba(238,240,251,.64);--ink-line:rgba(238,240,251,.12);
  --lift:0 8px 0 rgba(0,0,0,.35);--drop:0 5px 0 rgba(0,0,0,.35)}
*{box-sizing:border-box}
html{background:var(--table);overflow-x:clip}
body{margin:0;min-height:100vh;min-height:100dvh;background:var(--table);color:var(--on);font-family:var(--text);font-size:16px;-webkit-font-smoothing:antialiased}
a{color:inherit}
button{font:inherit;color:inherit}
[hidden]{display:none!important}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}

.page{position:relative;z-index:1}
/* the site's header over the table, as on every page */
.club-head{position:relative;z-index:2;margin:0 -16px}
.club-head .site-header{margin-bottom:8px}

/* the top: the club's mark, a way back, the sun and moon */
.bar{display:flex;align-items:center;gap:10px;height:64px}
.bar .mark{display:inline-flex;align-items:center;gap:10px;margin-right:auto;font-size:19px;font-weight:900;letter-spacing:-.035em;text-decoration:none;text-shadow:0 2px 0 rgba(0,0,0,.14)}
.bar .mark img{width:36px;height:36px}
.nav-chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;min-width:36px;padding:0 12px;border:0;border-radius:10px;background:var(--paper);color:var(--ink);font-size:14px;font-weight:800;text-decoration:none;box-shadow:0 4px 0 rgba(0,0,0,.18);cursor:pointer}
.nav-chip:active{transform:translateY(3px);box-shadow:0 1px 0 rgba(0,0,0,.2)}
.nav-chip svg{width:18px;height:18px}
.theme{padding:0}
:root[data-theme=dark] .theme .moon,:root:not([data-theme=dark]) .theme .sun{display:none}

/* paper: whatever sits on it reads in ink. Panels that only inform sit low (--lift); buttons and a
   picked control keep their deep edge */
.paper{background:var(--paper);color:var(--ink);border-radius:20px;box-shadow:var(--lift)}
.num{font-family:var(--num);font-weight:400;font-variant-numeric:tabular-nums}
.big{font-family:var(--num);font-weight:400;line-height:.9;letter-spacing:.01em;text-shadow:0 4px 0 rgba(0,0,0,.16);text-wrap:balance}

/* chunky buttons, each on its own darker edge, sinking when pressed */
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 24px;border:0;border-radius:14px;font:inherit;font-size:17px;font-weight:900;letter-spacing:-.02em;text-decoration:none;cursor:pointer;transition:transform .08s,box-shadow .08s}
.primary{background:var(--go);color:var(--on-go);box-shadow:0 4px 0 var(--go-edge)}
.primary:hover,.secondary:hover{transform:translateY(-1px)}
.primary:active{transform:translateY(4px);box-shadow:0 0 0 var(--go-edge)}
.secondary{background:var(--raised);color:var(--ink);box-shadow:0 4px 0 rgba(0,0,0,.14)}
.secondary:active{transform:translateY(4px);box-shadow:0 0 0 rgba(0,0,0,.2)}
.primary:disabled,.secondary:disabled{opacity:.5;cursor:default;transform:none}
.wide{width:100%}

/* a coloured tile for a perk's icon, on its own edge like the buttons */
.glyph{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--g);color:#fff;box-shadow:inset 0 -3px 0 rgba(0,0,0,.18)}
.glyph svg{width:19px;height:19px}

/* the founders' holographic finish: club/holo.js draws the redesign's card finish (Balatro's polychrome
   and foil, club/table.js there) onto a canvas in each piece and marks it `holo-lit`; without WebGL, or
   where it runs on the processor, the pieces keep the redesign's holographic pill sliding along */
.holo{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(90deg,#ff4f9a,#ffc93f,#3ff08a,#3fc4ff,#8f6bff,#ff4f9a) 0 0/300% 100%;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);animation:holo 7s linear infinite}
@keyframes holo{from{background-position:100% 0}to{background-position:0 0}}
.holo-art{position:absolute;inset:0;z-index:-1;display:block;width:100%;height:100%;border-radius:inherit;pointer-events:none}
.holo.holo-lit{background:none;animation:none}
.face.founder.holo-lit{background:none;animation:none}
.pass.holo-lit::before{content:none}
.pill{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.02em;white-space:nowrap}
