.euchre-game .bower {
  position:absolute; inset: auto 2px 2px; padding:2px 3px; border-radius:3px;
  background:#0a513c; color:#fff0b8; font:750 10px/1.1 system-ui,sans-serif;
}

/* Upcard shown as a card; Go alone as a full-size switch with its consequence beside it. */
.euchre-game .upcard-card { display:inline-flex; flex-direction:column; align-items:center; justify-content:center; min-width:46px; min-height:62px; padding:4px; border-radius:7px; background:#fbf6e8; color:#18241f; box-shadow:0 2px 6px #0005; }
.euchre-game .upcard-card[hidden] { display:none; }
.euchre-game .upcard-card small { font:700 9px/1 system-ui,sans-serif; color:#5b665f; }
.euchre-game .upcard-card b { font:800 20px/1.1 Georgia,serif; }
.euchre-game .upcard-card[data-red] b { color:#a52336; }
.euchre-game .alone-toggle { display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px; min-height:44px; padding:6px 12px; border:1px solid #78907c; border-radius:22px; cursor:pointer; }
.euchre-game .alone-toggle input { position:static; width:22px; height:22px; margin:0; flex:none; accent-color:var(--gold); cursor:pointer; }
.euchre-game .alone-toggle:has(input:checked) { border-color:var(--gold); }
.euchre-game .alone-toggle small { flex-basis:100%; color:var(--gold); font-size:12px; }
.euchre-game .alone-toggle small:empty { display:none; }
/* In-page "New match" confirm. */
.lp-confirm { background:var(--surface,#fff); color:var(--ink,#1c2b25); border:1px solid var(--line,#c9d3cc); border-radius:12px; padding:18px; max-width:min(360px,calc(100vw - 32px)); }
.lp-confirm::backdrop { background:#0c2620b0; }
.lp-confirm p { margin:0 0 14px; font-weight:650; }
.lp-confirm-actions { display:flex; gap:8px; justify-content:flex-end; flex-wrap:wrap; }
.lp-confirm-actions button { min-height:44px; padding:0 16px; }
