/* euchremarch.com, written by apps/site/build.mts. */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/bricolage-grotesque-500.woff2) format('woff2')}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/bricolage-grotesque-600.woff2) format('woff2')}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/bricolage-grotesque-700.woff2) format('woff2')}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/bricolage-grotesque-800.woff2) format('woff2')}
/* design/site-v1 */
body{margin:0}
.site{font-family:'Bricolage Grotesque','Helvetica Neue',Arial,sans-serif;background:#F1E7D3;color:#163F39;font-size:18px;line-height:1.55;font-weight:450;-webkit-font-smoothing:antialiased;overflow-x:hidden;min-width:0}
.site *,.site *::before,.site *::after{box-sizing:border-box}
.site p{margin:0}
.site h1,.site h2,.site h3{margin:0;text-wrap:balance}
.site ul,.site ol{margin:0;padding-left:24px}
.site li{margin:6px 0}
.site svg{display:block}
button{font:inherit;cursor:pointer;color:inherit}
input{font:inherit;color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #F2A341;outline-offset:2px}
.pine{background:#163F39;color:#F1E7D3}
.pine a{color:#F1E7D3}
.paper{background:#F1E7D3;color:#163F39}
.paper a{color:#163F39}
.site a{text-decoration-thickness:1.5px;text-underline-offset:3px}
.wrap{max-width:1200px;margin:0 auto;padding:0 40px}
.muted{color:#466059}
.pine .muted{color:#A8C9BE}
.small{font-size:16px;font-weight:600;line-height:1.4}
.lead{font-size:clamp(19px,1.6vw,22px);line-height:1.4;font-weight:500;text-wrap:pretty;max-width:720px}
.h1{font-size:clamp(40px,4vw,56px);font-weight:800;line-height:1;letter-spacing:-0.02em;font-variation-settings:'opsz' 96}
.h2{font-size:clamp(26px,2.3vw,32px);font-weight:800;line-height:1.1;letter-spacing:-0.01em}
.h3{font-size:clamp(20px,1.6vw,22px);font-weight:700;line-height:1.2}
.prose{max-width:720px;display:flex;flex-direction:column;gap:16px;text-wrap:pretty;min-width:0}
.prose .h2{margin-top:28px}
.prose .h3{margin-top:12px}
.prose ul,.prose ol{display:flex;flex-direction:column;gap:4px}
.band{padding:48px 0 40px;display:flex;flex-direction:column;gap:16px}
.sec{padding:56px 0}
.hr{height:1px;background:#D9CDB5}
.pine .hr{background:#3A5F56}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* header */
.hdr{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:12px 0}
.mark{font-size:26px;font-weight:800;letter-spacing:-0.02em;text-decoration:none;line-height:1;display:inline-flex;align-items:center;min-height:48px;white-space:nowrap;font-variation-settings:'opsz' 96}
.nav{display:flex;align-items:center;gap:4px}
.nav a{display:inline-flex;align-items:center;min-height:48px;padding:0 14px;font-size:17px;font-weight:700;text-decoration:none;border-radius:14px;white-space:nowrap}
.nav a.on{background:#284D45}
.nav .cta{margin-left:8px}
.cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:14px;background:#F2A341;color:#163F39;font-size:17px;font-weight:800;text-decoration:none;border:0;white-space:nowrap}
.pine .cta,.paper .cta{color:#163F39}
.ibtn{width:52px;height:52px;border-radius:26px;border:2px solid #B5B9A9;background:transparent;color:#F1E7D3;display:none;align-items:center;justify-content:center;padding:0;flex:0 0 auto}
.ibtn svg{width:24px;height:24px}
.mlist{display:none;flex-direction:column;padding:4px 0 20px}
.mlist a{display:flex;align-items:center;min-height:56px;font-size:21px;font-weight:700;text-decoration:none;border-top:1px solid #3A5F56;padding:0 4px}
.mlist a.cta{margin-top:16px;min-height:56px;font-size:19px;border:0;justify-content:center}
@media (max-width:759px){.nav{display:none}.ibtn{display:inline-flex}.mlist.open{display:flex}}
@media (max-width:599px){.wrap{padding:0 16px}.sec{padding:40px 0}.band{padding:32px 0 28px}}
/* buttons, pills, tags */
.btn{min-height:56px;border-radius:14px;border:0;background:#F2A341;color:#163F39;font-size:19px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;line-height:1.1;text-decoration:none;text-align:center}
.btn.line{background:transparent;border:2px solid #B5B9A9;color:#F1E7D3;font-weight:700}
.paper .btn.line{border-color:#163F39;color:#163F39}
.btn.face{background:#F5F2E9;color:#1B1B1B;flex-direction:column;gap:3px;min-height:72px;padding:8px 12px}
.btn.face .sub{font-size:16px;font-weight:600;color:#466059;line-height:1.1}
.btn:disabled{opacity:0.45;cursor:default}
.pill{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 16px;border-radius:24px;background:#355750;color:#F1E7D3;font-size:16px;font-weight:700;border:0;white-space:nowrap}
.pill[aria-pressed="true"]{background:#F1E7D3;color:#163F39}
.tag{display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:0 8px;border-radius:8px;background:#F1E7D3;color:#163F39;font-size:16px;font-weight:700;white-space:nowrap}
.paper .tag{background:#163F39;color:#F1E7D3}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:16px;background:#F1E7D3;color:#163F39;font-size:16px;font-weight:700}
.chip svg{width:16px;height:16px}
.seat{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:16px;background:#355750;color:#F1E7D3;font-size:16px;font-weight:700;white-space:nowrap}
.seat.you{background:#F2A341;color:#163F39}
/* cards, as table v1 draws them */
.card{position:relative;border-radius:10px;background:#F5F2E9;box-shadow:0 2px 6px rgba(0,0,0,0.35);color:#1B1B1B;flex:0 0 auto;border:0;padding:0;font-family:inherit;text-align:left}
.card.red{color:#C8102E}
.card.dim{background:#CBD0C6;color:#1E2C2B;box-shadow:none}
.card.dim.red{color:#8C1526}
.card.sel{box-shadow:0 0 0 3px #F2A341,0 6px 14px rgba(0,0,0,0.45)}
.hand{width:88px;height:124px}
.hand .ix{top:8px;left:9px;font-size:28px}
.hand .ix svg{width:17px;height:17px}
.hand .big{width:38px;height:38px;right:10px;bottom:9px}
.hand .court{left:36px;top:38px;right:10px;bottom:10px;font-size:34px}
.tbl{width:72px;height:100px;border-radius:8px}
.tbl .ix{top:6px;left:7px;font-size:24px}
.tbl .ix svg{width:15px;height:15px}
.tbl .big{width:30px;height:30px;right:8px;bottom:7px}
.tbl .court{left:30px;top:32px;right:8px;bottom:8px;font-size:28px}
.ix{position:absolute;display:flex;flex-direction:column;align-items:center;line-height:1;font-weight:800}
.ix svg{margin-top:2px}
.big{position:absolute}
.court{position:absolute;border:1.5px solid currentColor;border-radius:4px;display:flex;align-items:center;justify-content:center;font-weight:800}
.ctag{position:absolute;left:8px;bottom:8px;height:24px;padding:0 8px;border-radius:8px;background:#163F39;color:#F1E7D3;font-size:16px;font-weight:700;line-height:24px;white-space:nowrap}
.back{border-radius:6px;background-color:#8A5A3C;border:2px solid #F5F2E9;background-image:repeating-linear-gradient(45deg,rgba(241,231,211,0.4) 0 2px,transparent 2px 9px),repeating-linear-gradient(-45deg,rgba(241,231,211,0.4) 0 2px,transparent 2px 9px);box-shadow:0 1px 3px rgba(0,0,0,0.4);flex:0 0 auto}
.mini{position:absolute;top:0;border-radius:4px;background:#F5F2E9;box-shadow:0 1px 3px rgba(0,0,0,0.35)}
.mp{position:absolute;display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));align-items:center;justify-items:center}
.pc{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.pair{position:relative;flex:0 0 auto}
.fan{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.felt{background:#1F5A42;border:6px solid #8A5A3C;border-radius:20px;padding:24px;box-shadow:inset 0 0 28px rgba(0,0,0,0.4);color:#F1E7D3;display:flex;flex-direction:column;gap:16px;align-items:center}
.slot{width:72px;height:100px;border-radius:8px;border:2px dashed #9EB29E;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:#F1E7D3;text-align:center;padding:4px;line-height:1.2;flex:0 0 auto}
.slot.you{border:3px solid #F2A341}
.fig{display:flex;flex-direction:column;gap:12px;margin:8px 0}
.fig .cap{font-size:16px;font-weight:600;color:#466059;line-height:1.4}
.ladder{display:flex;flex-wrap:wrap;gap:20px 24px;align-items:flex-end}
.ladder .one{display:flex;flex-direction:column;align-items:center;gap:8px}
.ladder .n{font-size:24px;font-weight:800;line-height:1}
/* rows */
.rows{display:flex;flex-direction:column}
.row{display:flex;flex-direction:column;gap:4px;padding:20px 0;border-top:1px solid #D9CDB5}
.row:last-child{border-bottom:1px solid #D9CDB5}
.pine .row{border-color:#3A5F56}
.row .t{font-size:clamp(21px,1.7vw,24px);font-weight:700;letter-spacing:-0.01em;line-height:1.15}
.row .d{font-size:18px;color:#466059;line-height:1.45}
.pine .row .d{color:#A8C9BE}
.srow{display:grid;grid-template-columns:1.2fr 0.8fr auto;gap:16px 24px;align-items:center;padding:20px 0;border-top:1px solid #D9CDB5}
.srow:last-child{border-bottom:1px solid #D9CDB5}
.srow .t{font-size:21px;font-weight:700;line-height:1.2}
.srow .p{font-size:18px;font-weight:600}
.srow .cards{display:flex;align-items:center;gap:12px}
.srow .cards .to{font-size:16px;font-weight:600;color:#466059}
.krow{display:grid;grid-template-columns:220px 1fr 1fr;gap:12px 24px;padding:16px 0;border-top:1px solid #D9CDB5}
.krow:last-child{border-bottom:1px solid #D9CDB5}
.krow .k{font-size:20px;font-weight:700;line-height:1.2}
.krow .v{font-size:17px;line-height:1.45}
.krow .v b{font-weight:700}
@media (max-width:759px){.srow{grid-template-columns:1fr}.krow{grid-template-columns:1fr}}
/* layouts */
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:40px}
.art{display:flex;flex-wrap:wrap;gap:48px}
.art .main{flex:999 1 560px;min-width:0}
.art .rail{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:20px}
.box{background:#E8DCC4;border-radius:20px;padding:20px 24px;display:flex;flex-direction:column;gap:10px}
.box .h3{font-size:20px}
.box ul{padding-left:20px}
.box a{display:inline-block;padding:4px 0}
.sources{display:flex;flex-direction:column;gap:8px}
.sources p{font-size:16px;line-height:1.45}
/* placeholders */
.ph{display:flex;align-items:center;justify-content:center;text-align:center;border:2px dashed #B5B9A9;border-radius:24px;background:#163F39;color:#F1E7D3;font-size:16px;font-weight:600;padding:16px;line-height:1.35}
.paper .ph{background:#284D45}
.phone{width:240px;height:520px;border-radius:32px;flex:0 0 auto}
.shots{display:flex;flex-wrap:wrap;gap:32px 24px;justify-content:space-between}
.shot{display:flex;flex-direction:column;gap:12px;align-items:center;flex:0 0 auto}
.shot .cap{font-size:17px;font-weight:600;color:#466059;text-align:center;max-width:240px}
.badge{display:inline-flex;align-items:center;justify-content:center;width:168px;height:56px;border-radius:9px;background:#000;border:1px solid #A6A6A6;color:#fff;font-size:16px;font-weight:600;text-decoration:none;text-align:center;line-height:1.15;padding:0 10px}
.badges{display:flex;gap:12px;flex-wrap:wrap}
.gicon{width:32px;height:32px;border-radius:8px;border:2px dashed #B5B9A9;flex:0 0 auto}
/* hero */
.hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,0.85fr);gap:40px;align-items:end;padding-top:32px}
.hero .txt{display:flex;flex-direction:column;gap:24px;padding-bottom:56px}
.hero .wm{font-size:clamp(60px,6.8vw,96px);font-weight:800;line-height:0.92;letter-spacing:-0.03em;font-variation-settings:'opsz' 96}
.hero .stand{display:flex;justify-content:center;position:relative;z-index:1;margin-bottom:-96px}
.scene{position:relative;height:160px;overflow:hidden}
.scene svg{width:100%;height:160px}
@media (max-width:759px){.hero{grid-template-columns:1fr;gap:16px}.hero .txt{padding-bottom:24px}.hero .stand{margin-bottom:-72px}.hero .stand .phone{width:200px;height:420px}.scene,.scene svg{height:120px}}
/* the score keeper */
.ktop{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.ktop .kstage{flex:999 1 600px;min-width:0;display:flex;flex-direction:column;gap:16px}
.ktop .kside{flex:1 1 300px;min-width:0}
.stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.team{background:#284D45;border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:16px;min-width:0}
.tname{width:100%;background:transparent;border:0;border-bottom:2px solid #B5B9A9;border-radius:0;padding:8px 0;font-size:24px;font-weight:800;color:#F1E7D3;min-height:48px;min-width:0}
.sc{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.score{font-size:clamp(64px,7vw,96px);font-weight:800;line-height:1;letter-spacing:-0.03em}
.pts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ctrl{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ctrl .grow{flex:1 1 auto}
.tgt{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tgt input{width:88px;min-height:48px;border-radius:14px;border:2px solid #B5B9A9;background:transparent;color:#F1E7D3;padding:0 12px;font-size:18px;font-weight:700}
.win{background:#F1E7D3;color:#163F39;border-radius:20px;padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.win .w{font-size:28px;font-weight:800;line-height:1.1}
.kside .box{background:#F1E7D3;color:#163F39;gap:14px}
.kside .box a{color:#163F39}
@media (max-width:599px){.stage{gap:10px}.team{padding:12px;gap:12px}.pts{grid-template-columns:1fr}.tname{font-size:20px}}
/* legal */
.legal .prose{max-width:680px}
.toc{list-style:none;padding:0;display:flex;flex-direction:column}
.toc li{margin:0}
.toc a{display:inline-flex;align-items:center;min-height:40px;text-decoration:none;font-weight:600;font-size:17px}
/* footer */
.ftr{padding:48px 0 40px;border-top:1px solid #3A5F56}
.fgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:40px 32px}
.fcol{display:flex;flex-direction:column;gap:8px;min-width:0}
.fh{font-size:17px;font-weight:700;color:#A8C9BE;margin:0 0 4px;line-height:1.3}
.flist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.flist li{margin:0}
.flist a{display:inline-flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;font-size:17px;font-weight:500}
.fbottom{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;margin-top:40px;padding-top:20px;border-top:1px solid #3A5F56;font-size:16px;font-weight:600;color:#A8C9BE}
.fbottom a{color:#F1E7D3}
/* apps/site/site-extra.css */
/* What the build adds to design/site-v1's stylesheet: the real things the
   frames drew as labelled placeholders, and the states the frames do not
   show. Tokens are the design's (README "The look"). */
body.site{margin:0}
[hidden]{display:none !important}
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:16px;top:16px;z-index:20;background:#F2A341;color:#163F39;padding:12px 16px;border-radius:14px;font-weight:800;text-decoration:none}
/* the phone menu: one button, two icons (the Chrome frames) */
.ibtn .i-close{display:none}
.ibtn[aria-expanded="true"] .i-menu{display:none}
.ibtn[aria-expanded="true"] .i-close{display:block}
/* the stores' own badges, at the frames' 56 high */
.store{display:inline-flex;align-items:center;height:56px;border-radius:9px;flex:0 0 auto}
.store img{display:block;height:56px;width:auto}
a.store:focus-visible{outline:3px solid #F2A341;outline-offset:2px}
.soon{margin-top:-12px}
.fcol .soon{margin-top:4px}
.pine .soon{color:#A8C9BE}
/* the screenshots, in the frames' phone placeholder */
img.phone{display:block;object-fit:cover;object-position:top;border:2px solid #B5B9A9;background:#163F39;box-shadow:0 10px 28px rgba(0,0,0,0.28)}
.paper img.phone{border-color:#284D45}
/* the games' icons, in the frames' dashed squares */
img.gicon{border:0;border-radius:8px;display:block}
/* a link that reads as the design's .t row title */
.row a.t{color:inherit}
/* the open-source licenses: the app's file, one section at a time */
.notices{display:flex;flex-direction:column;gap:8px}
.notices details{background:#E8DCC4;border-radius:20px;padding:4px 20px}
.notices summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-weight:700;font-size:18px}
.notices pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.45;margin:0 0 16px;font-family:ui-monospace,Consolas,monospace}
/* the score keeper: nothing past the frames but the hidden win line */
.team .score{font-variant-numeric:tabular-nums}
/* the printable rules */
.sheet .prose{max-width:none}
.sheet .cols2{display:block;columns:2 340px;column-gap:48px}
.sheet .cols2 > div{break-inside:avoid;margin:0 0 24px;display:flex;flex-direction:column;gap:8px}
.sheet .cols2 .h2{margin:0;font-size:24px}
.sheet h2{break-after:avoid}
@media print{
  @page{margin:14mm}
  body.site{background:#fff;color:#000;font-size:11pt;line-height:1.35}
  header.pine,footer.pine,.skip,.noprint{display:none !important}
  .pine{background:#fff !important;color:#000 !important}
  .pine .lead,.pine .muted{color:#000 !important}
  .band{padding:0 0 8pt !important}
  .sec{padding:0 !important}
  .paper{background:#fff !important}
  .wrap{max-width:none !important;padding:0 !important}
  .h1{font-size:22pt !important}
  .h2{font-size:13pt !important;margin-top:8pt !important}
  .prose{gap:5pt !important}
  .sheet .cols2{column-gap:24pt}
  .sheet .cols2 > div{margin:0 0 8pt;gap:2pt}
  .sheet .cols2 .h2{font-size:12pt !important}
  .sheet .sec > p.small{font-size:9pt}
  .muted{color:#333 !important}
  a{color:#000 !important;text-decoration:none !important}
}
/* The frames' one cascade slip: .sec's padding (declared after .wrap's) drops
   the side gutter on every .wrap.sec, so the paper sections ran 40px wider
   than the header at 1440 and touched the screen's edges at 360. The gutter
   comes back here, as .wrap gives it everywhere else. */
.wrap.sec{padding-left:40px;padding-right:40px}
@media (max-width:599px){.wrap.sec{padding-left:16px;padding-right:16px}}
/* A long address in the prose (Google's partner-sites page) wraps at 360 instead of pushing the page sideways. */
.prose{overflow-wrap:break-word}
