:root{color-scheme:dark}body{margin:0}.solo-shell{max-width:1040px;margin:auto;padding:20px 16px 32px}.solo-nav,.solo-head,.solo-actions,.solo-presets,.solo-stats{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.solo-nav{justify-content:space-between;margin-bottom:20px}.solo-nav a{color:var(--muted,#bac4d6)}.solo-head{justify-content:space-between}.solo-head h1{font-size:clamp(23px,4vw,32px);margin:0}.solo-stats{gap:18px;font-size:14px;color:#c6cee0}.solo-stats b{color:#f0c67c}.solo-table{background:radial-gradient(ellipse at center,#194b47,#123232);border:5px solid #536160;border-radius:50px;box-shadow:0 12px 32px #0004;padding:22px 18px;margin:18px 0;position:relative}.solo-cpus{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.solo-player{border:1px solid #b5c6c344;border-radius:13px;background:#112b2bdd;padding:12px;min-width:0;transition:border-color .15s}.solo-player.turn{border-color:#f5c77f;box-shadow:0 0 0 2px #eac17833}.solo-player.folded{opacity:.48}.solo-player h3{font-size:14px;margin:0 0 4px;overflow-wrap:anywhere}.solo-player .sub{font-size:11px;color:#c0ccc8;min-height:16px}.solo-player .stack{font-size:20px;color:#ffe3af;font-weight:750}.solo-cards{display:flex;gap:5px;justify-content:center;margin:8px 0}.solo-card{background:#fffaf0;color:#14252a;border-radius:7px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15;width:43px;height:61px;font-size:21px;font-weight:800;border:1px solid #cbd2c7;box-shadow:0 3px 6px #0003}.solo-card.red{color:#b73345}.solo-card.back{background:repeating-linear-gradient(45deg,#34546d,#34546d 4px,#283f57 4px,#283f57 8px);color:#b5c6d8;border:2px solid #cbd2c7}.solo-card.empty{background:#ffffff08;border:1px dashed #ffffff44;box-shadow:none}.solo-board{padding:18px 0;text-align:center}.solo-board .solo-cards{gap:7px}.solo-board .solo-card{width:52px;height:72px;font-size:25px}.solo-pot{font-size:22px;font-weight:750;color:#f1d49d}.solo-stage{font-size:12px;color:#bfd4cd}.solo-human{max-width:460px;margin:auto;text-align:center;background:#152f36}.solo-human .solo-card{width:58px;height:78px;font-size:28px}.solo-controls{position:sticky;bottom:0;background:#151e32f5;border:1px solid #61718b77;border-radius:16px;padding:16px;z-index:2;box-shadow:0 -6px 24px #0003;backdrop-filter:blur(8px)}.solo-controls p{margin:0 0 10px}.solo-controls input[type=range]{width:100%;padding:14px 0;accent-color:#e5be7a;cursor:pointer;touch-action:pan-y}.solo-amount{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-top:8px}.solo-amount strong{font-size:24px;color:#f3d59e}.solo-presets button,.solo-actions button{min-height:44px;flex:1;white-space:normal}.solo-presets button{padding:9px 10px}.solo-actions{margin-top:12px}.solo-actions .fold{background:#633543}.solo-wait{min-height:65px;display:flex;align-items:center;justify-content:center;gap:12px}.solo-result{background:#1c2940;border:1px solid #d6b77766;border-radius:14px;padding:17px;margin:14px 0}.solo-result h2{font-size:20px;margin-top:0}.solo-result ul{padding-left:20px}.solo-log{margin-top:16px;border-radius:12px;background:#162039;padding:12px}.solo-log summary{cursor:pointer}.solo-log li{font-size:13px;margin:6px 0}.solo-rule{max-width:720px;margin:18px auto;padding:22px;background:#1b263c;border-radius:18px}.solo-rule p,.solo-rule li{line-height:1.8}.solo-rule h2{font-size:19px}.solo-warn{background:#623e21;color:#fff0d2;padding:12px;border-radius:10px;margin-bottom:14px}.solo-badge{font-size:10px;padding:2px 5px;border-radius:5px;background:#d7bb7b;color:#17292c;margin-left:3px}.solo-status{font-size:12px;color:#d9d3c3;min-height:18px}.solo-speed{display:flex;gap:8px;align-items:center;font-size:13px}.solo-speed input{width:18px;height:18px}.solo-nav button{padding:8px 12px}.solo-controls:focus-within{outline-offset:2px}@media(max-width:600px){.solo-shell{padding:12px 10px 22px}.solo-table{border-radius:28px;padding:14px 8px;border-width:3px}.solo-cpus{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.solo-player{padding:8px 5px}.solo-player h3{font-size:12px}.solo-player .stack{font-size:17px}.solo-player .sub{font-size:10px}.solo-player .solo-card{width:30px;height:43px;font-size:16px}.solo-cpus .solo-player:nth-child(4){grid-column:1 / 2}.solo-cpus .solo-player:nth-child(5){grid-column:3 / 4}.solo-board{padding:12px 0}.solo-board .solo-card{width:43px;height:59px;font-size:22px}.solo-human{max-width:300px}.solo-human .solo-card{width:48px;height:65px;font-size:24px}.solo-stats{gap:10px;font-size:12px}.solo-controls{padding:12px}.solo-actions{gap:6px}.solo-presets{gap:5px}.solo-actions button{padding:11px 8px}.solo-nav{gap:6px}.solo-nav a{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
:root { --solo-seat-width: 164px; }
.solo-shell { max-width: 1120px; padding-top: 12px; }
.solo-nav { margin-bottom: 8px; }
.solo-head h1 { font-size: clamp(23px, 3vw, 29px); }
.solo-table {
  height: clamp(390px, calc(100dvh - 400px), 510px);
  padding: 0;
  margin: 14px 0;
  border-radius: 48% / 46%;
  border: 9px solid #59635c;
  outline: 2px solid #b5a27c55;
  background: radial-gradient(ellipse at center, #245c50, #153f38 66%, #0b2827);
  box-shadow: inset 0 0 0 2px #b7ba8a33, inset 0 0 65px #051d1a88, 0 10px 26px #0004;
}
.solo-cpus { display: contents; }
.solo-table .solo-player {
  position: absolute;
  transform: translate(-50%, -50%);
  width: var(--solo-seat-width);
  padding: 8px;
  text-align: center;
  border-radius: 15px;
  z-index: 1;
  box-sizing: border-box;
}
.solo-table .solo-player h3 { font-size: 12px; line-height: 18px; margin: 0; }
.solo-table .solo-player .sub:first-of-type { display: none; }
.solo-table .solo-player .stack { font-size: 18px; line-height: 23px; }
.solo-table .solo-player .solo-cards { margin: 4px 0; }
.solo-table .solo-player .solo-card { width: 31px; height: 43px; font-size: 17px; }
.solo-table .solo-player .solo-status { font-size: 11px; line-height: 15px; min-height: 15px; }
.solo-player[data-seat="1"] { left: 13%; top: 70%; }
.solo-player[data-seat="2"] { left: 13%; top: 28%; }
.solo-player[data-seat="3"] { left: 50%; top: 16%; }
.solo-player[data-seat="4"] { left: 87%; top: 28%; }
.solo-player[data-seat="5"] { left: 87%; top: 70%; }
.solo-table .solo-human {
  left: 50%; top: 81%; width: 192px; margin: 0;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  background: #172f39f5;
}
.solo-table .solo-human h3 { text-align: left; }
.solo-table .solo-human .stack { text-align: right; }
.solo-table .solo-human .solo-cards,
.solo-table .solo-human .solo-status,
.solo-table .solo-human > .sub:last-child { grid-column: 1 / -1; }
.solo-table .solo-human .solo-card { width: 51px; height: 67px; font-size: 27px; }
.solo-table .solo-human > .sub:last-child { min-height: 0; font-size: 11px; line-height: 14px; }
.solo-board {
  position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%);
  padding: 0; width: min(44%, 320px); z-index: 0;
}
.solo-board .solo-cards { gap: 5px; margin: 6px 0; }
.solo-board .solo-card { width: 44px; height: 61px; font-size: 23px; flex-shrink: 0; }
.solo-pot { font-size: 23px; line-height: 28px; }
.solo-board .solo-stage { line-height: 15px; }
@media (min-width: 761px) {
  .solo-controls:not(.solo-wait) {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
    column-gap: 20px; padding: 12px 16px;
  }
  .solo-controls > p { grid-column: 1 / -1; margin-bottom: 6px; }
  .solo-controls > .solo-presets,
  .solo-controls > .solo-amount,
  .solo-controls > input,
  .solo-controls > .sub { grid-column: 1; }
  .solo-controls > .solo-actions { grid-column: 2; grid-row: 2 / 6; align-self: center; margin: 0; }
  .solo-controls > .solo-actions button { min-height: 50px; }
  .solo-controls .solo-presets button { min-height: 38px; padding: 7px; }
  .solo-controls input[type=range] { padding: 7px 0; }
  .solo-amount { margin-top: 3px; }
  .solo-amount strong { font-size: 21px; }
}
@media (max-width: 760px) {
  :root { --solo-seat-width: 130px; }
  .solo-shell { padding: 12px 10px 22px; }
  .solo-table { height: 470px; border-width: 6px; border-radius: 46% / 40%; margin: 14px 0; }
  .solo-player[data-seat="1"], .solo-player[data-seat="2"] { left: 17%; }
  .solo-player[data-seat="4"], .solo-player[data-seat="5"] { left: 83%; }
  .solo-player[data-seat="1"], .solo-player[data-seat="5"] { top: 61%; }
  .solo-player[data-seat="2"], .solo-player[data-seat="4"] { top: 29%; }
  .solo-player[data-seat="3"] { top: 13%; }
  .solo-table .solo-player { padding: 6px 4px; }
  .solo-table .solo-player h3 { font-size: 11px; line-height: 15px; }
  .solo-table .solo-player .stack { font-size: 16px; line-height: 20px; }
  .solo-table .solo-player .solo-card { width: 27px; height: 37px; font-size: 15px; }
  .solo-table .solo-human { top: 87%; width: 160px; padding: 8px; }
  .solo-table .solo-human .solo-card { width: 48px; height: 63px; font-size: 25px; }
  .solo-board { top: 47%; width: 58%; }
  .solo-board .solo-card { width: 35px; height: 49px; font-size: 19px; }
  .solo-board .solo-cards { gap: 3px; }
  .solo-pot { font-size: 20px; }
  .solo-controls { position: relative; }
}
@media (max-width: 440px) {
  :root { --solo-seat-width: 105px; }
  .solo-table { height: 480px; }
  .solo-player[data-seat="1"], .solo-player[data-seat="2"] { left: 15%; }
  .solo-player[data-seat="4"], .solo-player[data-seat="5"] { left: 85%; }
  .solo-player[data-seat="3"] { top: 12%; }
  .solo-table .solo-player h3 { font-size: 10px; }
  .solo-table .solo-player .solo-status { font-size: 10px; }
  .solo-board .solo-card { width: 33px; height: 46px; font-size: 18px; }
}
.solo-hand-result > summary { cursor: pointer; font-weight: 700; line-height: 24px; padding: 4px 0; }
.solo-hand-result-body { padding-top: 8px; }
.solo-hand-result > summary:focus-visible { outline: 2px solid #f5c77f; outline-offset: 4px; border-radius: 4px; }
.solo-outcome { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; }
.solo-outcome > div { flex: 1; min-width: 130px; padding: 12px; background: #111d32; border-radius: 10px; }
.solo-outcome dt { color: #c6cee0; font-size: 13px; }
.solo-outcome dd { color: #ffe3af; font-size: 24px; font-weight: 750; margin: 5px 0 0; }
.solo-showdown-hands { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 !important; list-style: none; }
.solo-showdown-hands > li { background: #112b2b; border-radius: 12px; padding: 12px; min-width: 145px; text-align: center; }
.solo-showdown-hands strong, .solo-showdown-hands > li > span { font-size: 13px; }
.solo-next-hand { margin: 14px 0; }
.solo-next-hand > button { width: 100%; min-height: 52px; }
.solo-next-hand > h2 { font-size: 20px; margin: 0 0 12px; }
.solo-review { margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #162039; }
.solo-review-toolbar { display: grid; grid-template-columns: minmax(0,2fr) minmax(90px,1fr); gap: 8px; }
.solo-review-toolbar > button, .solo-review-home { min-width: 0; min-height: 46px; padding: 10px 8px; font-size: 14px; line-height: 1.5; }
.solo-review-toolbar > button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.solo-review-home { display: flex; align-items: center; justify-content: center; border-radius: 14px; text-align: center; text-decoration: none; color: var(--text); }
.solo-review-home:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.solo-review-panel { padding: 14px 0 0; margin-top: 12px; border-top: 1px solid var(--line); }
.solo-review-panel > h2 { margin: 0 0 12px; font-size: 16px; }
.solo-action-history { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.solo-action-history > h3 { font-size: 14px; margin: 0 0 10px; }
.solo-street-history { display: grid; gap: 8px; }
.solo-street-group { display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: start; gap: 10px; padding: 8px; border-radius: 10px; background: #101a2d; }
.solo-street-group > h4 { margin: 4px 0 0; color: var(--accent); font-size: 12px; line-height: 1.5; }
.solo-street-actions { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.solo-street-actions > li { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; max-width: 100%; padding: 5px 7px; border: 1px solid #34435d; border-radius: 8px; background: #202c43; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.solo-street-actions strong { flex-shrink: 0; }
.solo-street-actions > li[data-action="raise"] { border-color: #a9834b; }
.solo-street-actions > li[data-action="fold"] { color: #b8c1d3; background: #172237; }
.solo-action-order { color: #9daac1; font-size: 10px; }
@media (max-width: 600px) {
  .solo-review-toolbar > button, .solo-review-home { font-size: 13px; }
  .solo-street-group { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .solo-street-group > h4 { margin-top: 0; }
}
.solo-nav { display: grid; grid-template-columns: minmax(0,1fr) auto auto; grid-template-areas: "home actions settings"; align-items: center; }
.solo-nav > a { grid-area: home; }
.solo-nav-actions { grid-area: actions; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.solo-settings-button { grid-area: settings; white-space: nowrap; }
.solo-settings { width: min(460px,calc(100% - 28px)); margin: auto; }
.solo-settings-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.solo-settings-head h2 { font-size: 20px; line-height: 1.5; margin: 0; }
.solo-settings-head button { flex-shrink: 0; min-height: 44px; }
.solo-settings-field { display: grid; gap: 10px; margin: 18px 0; }
.solo-settings-field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--surface-2); font: inherit; }
.solo-settings-toggle { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; }
.solo-settings-toggle input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--accent); }
.solo-settings-hint { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.solo-mobile-label { display: none; }
.solo-pot-details { display: contents; }
@media (max-width: 600px) {
  .solo-nav { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "home settings" "actions actions"; }
  .solo-settings { padding: 18px; }
}

/* Reserve the small viewport (Safari's toolbars expanded) for the hand and actions. */
@media (max-width: 760px) {
  .solo-shell {
    padding: max(6px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  }
  .solo-nav {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "home actions settings";
    gap: 6px; margin-bottom: 4px;
  }
  .solo-nav .solo-desktop-label { display: none; }
  .solo-nav .solo-mobile-label { display: inline; }
  .solo-nav > a { display: flex; align-items: center; min-height: 44px; font-size: 12px; white-space: nowrap; }
  .solo-nav-actions { gap: 4px; flex-wrap: nowrap; }
  .solo-nav button { min-height: 44px; padding: 6px 10px; border-radius: 11px; font-size: 12px; }
  .solo-nav .solo-settings-button { width: 44px; padding: 0; font-size: 21px; }
  .solo-game .solo-head > div:first-child { display: none; }
  .solo-stats { flex-wrap: nowrap; justify-content: space-between; width: 100%; gap: 6px; font-size: 10px; line-height: 16px; }
  .solo-game .solo-table {
    height: clamp(260px, calc(100svh - 290px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 480px);
    container-type: size; container-name: solo-table;
    border-width: 5px; margin: 6px 0 8px;
    --solo-seat-width: clamp(78px, 23vw, 110px);
  }
  .solo-game:not(.solo-badugi,.solo-deuce-seven):has(.solo-controls:not(.solo-wait):not(:has(#solo-slider))) .solo-table,
  .solo-game:not(.solo-badugi,.solo-deuce-seven):has(.solo-next-hand) .solo-table {
    height: clamp(300px, calc(100svh - 190px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 540px);
  }
  .solo-player[data-seat="1"], .solo-player[data-seat="2"] { left: 13%; }
  .solo-player[data-seat="4"], .solo-player[data-seat="5"] { left: 87%; }
  .solo-player[data-seat="1"], .solo-player[data-seat="5"] { top: 66%; }
  .solo-player[data-seat="2"], .solo-player[data-seat="4"] { top: 29%; }
  .solo-player[data-seat="3"] { top: 15.5%; }
  .solo-table .solo-player { padding: 4px 3px; border-radius: 11px; }
  .solo-table .solo-player h3 { font-size: 10px; line-height: 13px; }
  .solo-table .solo-player .stack { font-size: 15px; line-height: 18px; }
  .solo-table .solo-player .solo-cards { margin: 2px 0; gap: 3px; }
  .solo-table .solo-player .solo-card { width: 20px; height: 27px; font-size: 12px; border-radius: 4px; }
  .solo-table .solo-player .solo-status { font-size: 9px; line-height: 12px; min-height: 12px; overflow-wrap: anywhere; }
  .solo-board { top: 44%; width: 54%; }
  .solo-board .solo-card { width: clamp(24px, 7.4vw, 32px); height: clamp(34px, 10.2vw, 44px); font-size: clamp(16px, 4.7vw, 21px); }
  .solo-board .solo-cards { gap: 3px; margin: 3px 0; }
  .solo-stage { font-size: 10px; line-height: 13px; }
  .solo-pot-details { display: block; font-size: 9px; line-height: 12px; }
  .solo-pot-details .solo-stage { font: inherit; }
  .solo-pot { font-size: 18px; line-height: 23px; }
  .solo-table .solo-human {
    top: auto; bottom: 5px; transform: translateX(-50%);
    width: clamp(142px, 40vw, 172px); padding: 5px;
  }
  .solo-table .solo-human h3 { font-size: 11px; line-height: 18px; }
  .solo-table .solo-human .stack { font-size: 18px; line-height: 21px; }
  .solo-table .solo-human .solo-card { width: 42px; height: 55px; font-size: 25px; border-radius: 6px; }
  .solo-table .solo-human .solo-status { display: none; }
  .solo-table .solo-human > .sub:last-child { font-size: 10px; line-height: 13px; }
  .solo-controls:not(.solo-wait) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 6px; padding: 8px; border-radius: 12px; }
  .solo-controls > p, .solo-controls > .solo-presets, .solo-controls > input, .solo-controls > .solo-actions { grid-column: 1 / -1; }
  .solo-controls > p { margin: 0; font-size: 12px; line-height: 18px; }
  .solo-controls .solo-presets { flex-wrap: nowrap; gap: 4px; }
  .solo-controls .solo-presets button { min-width: 0; min-height: 44px; padding: 6px 3px; border-radius: 10px; font-size: 13px; }
  .solo-controls .solo-amount { grid-column: 1; margin: 0; font-size: 10px; line-height: 22px; }
  .solo-controls .solo-amount strong { font-size: 18px; }
  .solo-controls > .sub { grid-column: 2; grid-row: 3; align-self: center; font-size: 10px; line-height: 14px; }
  .solo-controls input[type=range] { height: 30px; padding: 6px 0; margin: 0; min-width: 0; }
  .solo-controls .solo-actions { flex-wrap: nowrap; gap: 5px; margin: 0; }
  .solo-controls .solo-actions button { min-width: 0; min-height: 44px; padding: 7px 3px; border-radius: 10px; font-size: 13px; }
  .solo-controls .solo-actions .fold { border: 1px solid #a15c70; color: var(--text); font-weight: 750; }
  .solo-wait { min-height: 58px; padding: 8px; font-size: 12px; }
  .solo-review { padding: 0; margin: 8px 0; border: 0; background: none; }
  .solo-review-toolbar > button, .solo-review-home { min-height: 44px; padding: 7px; font-size: 12px; border-radius: 11px; }
  .solo-next-hand { margin: 8px 0; }
  .solo-next-hand > button { min-height: 44px; }
}
@container solo-table (max-height: 300px) {
  .solo-table .solo-player { padding: 3px; }
  .solo-table .solo-player h3 { line-height: 12px; }
  .solo-table .solo-player .stack { line-height: 16px; }
  .solo-table .solo-player .solo-status { line-height: 11px; min-height: 11px; }
  .solo-table .solo-cpus .solo-card { width: 13px; height: 16px; border-width: 1px; font-size: 9px; }
  .solo-cpus .solo-player { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 2px; }
  .solo-cpus .solo-player .solo-cards, .solo-cpus .solo-player .solo-status { grid-column: 1 / -1; }
  .solo-player[data-seat="3"] { top: 4px; transform: translateX(-50%); }
  .solo-board { top: 64px; transform: translateX(-50%); }
  .solo-board .solo-stage { font-size: 9px; line-height: 12px; }
  .solo-board .solo-card { height: 35px; }
  .solo-pot { font-size: 16px; line-height: 20px; }
  .solo-table .solo-human { padding: 4px; }
  .solo-table .solo-human .stack { line-height: 21px; }
  .solo-table .solo-human .solo-card { width: 37px; height: 46px; font-size: 23px; }
  .solo-table .solo-human > .sub:last-child { line-height: 12px; }
}
.solo-game-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.solo-game-option { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; min-width: 0; }
.solo-game-option strong { font-size: 18px; }
.solo-game-option span, .solo-game-option small { font-size: 13px; font-weight: 400; line-height: 1.6; }
.solo-game-option[aria-pressed="true"] { border: 2px solid var(--accent); background: #473723; }
.solo-game-picker > p { font-size: 13px; }
.solo-draw-mark { font-size: 19px; font-weight: 800; letter-spacing: .12em; color: #d5d0a4; margin: 6px 0; }
.solo-badugi .solo-table .solo-human { width: 238px; }
.solo-deuce-seven .solo-table .solo-human { width: 272px; }
:is(.solo-badugi,.solo-deuce-seven) .solo-table .solo-human .solo-card { width: 43px; height: 58px; font-size: 25px; }
:is(.solo-badugi,.solo-deuce-seven) .solo-table .solo-cpus .solo-card { width: 24px; height: 34px; font-size: 14px; }
.solo-draw-card { display: inline-flex; padding: 0; border: 0; background: transparent; border-radius: 7px; touch-action: manipulation; }
.solo-draw-card.selected { outline: 3px solid #f4b95e; outline-offset: 2px; }
.solo-draw-card.selected .solo-card { background: #f4d5a5; box-shadow: inset 0 0 0 2px #b47a27; }
.solo-draw-picker { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 8px 0; }
.solo-deuce-seven .solo-draw-picker { grid-template-columns: repeat(5,minmax(0,1fr)); }
.solo-discard-choice { min-height: 56px; min-width: 0; padding: 5px; border-radius: 10px; display: grid; justify-items: center; gap: 2px; }
.solo-discard-choice > span { font-size: 20px; line-height: 24px; }
.solo-discard-choice .red { color: #ff9aaa; }
.solo-discard-choice > small { font-size: 11px; line-height: 14px; }
.solo-discard-choice.selected { background: #f4d5a5; border-color: #f4b95e; color: #17252b; box-shadow: inset 0 0 0 2px #b47a27; }
.solo-discard-choice.selected .red { color: #ae3041; }
.solo-draw-selection { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 12px; }
.solo-draw-selection > button { min-height: 44px; padding: 5px 12px; font-size: 12px; }
.solo-controls.solo-limit-controls, .solo-controls.solo-draw-controls { display: block; }
.solo-limit-controls > p, .solo-draw-controls > p { margin-bottom: 6px; }
.solo-limit-controls > .solo-actions, .solo-draw-controls > .solo-actions { margin-top: 0; }
@media (max-width: 760px) {
  .solo-game-options { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .solo-game-option { gap: 4px; padding: 12px; }
  .solo-game-option strong { font-size: 16px; }
  .solo-game-option span, .solo-game-option small { font-size: 12px; }
  .solo-game-picker { padding: 16px; margin-top: 10px; }
  /* Reserve space for the card picker even when the current controls are shorter. */
  :is(.solo-badugi,.solo-deuce-seven).solo-game .solo-table {
    height: clamp(240px,calc(100svh - 355px - env(safe-area-inset-top) - env(safe-area-inset-bottom)),440px);
  }
  .solo-draw-picker { margin: 5px 0; gap: 5px; }
  .solo-discard-choice { min-height: 50px; padding: 3px; }
  .solo-discard-choice > span { font-size: 18px; line-height: 22px; }
  .solo-discard-choice > small { font-size: 10px; line-height: 12px; }
  .solo-draw-selection { font-size: 11px; margin-bottom: 3px; }
  .solo-draw-selection > button { padding: 4px 10px; }
  .solo-badugi .solo-table .solo-human { width: clamp(164px,46vw,188px); }
  .solo-deuce-seven .solo-table .solo-human { width: clamp(182px,49vw,206px); }
  :is(.solo-badugi,.solo-deuce-seven) .solo-table .solo-human .solo-card { width: 32px; height: 45px; font-size: 20px; }
  .solo-badugi .solo-table .solo-cpus .solo-card { width: 14px; height: 20px; font-size: 10px; }
  .solo-deuce-seven .solo-table .solo-cpus .solo-card { width: 13px; height: 20px; font-size: 9px; }
  .solo-deuce-seven .solo-table .solo-cpus .solo-cards { gap: 2px; }
  :is(.solo-badugi,.solo-deuce-seven) .solo-draw-card { min-height: 45px; }
  .solo-badugi .solo-player[data-seat="1"], .solo-badugi .solo-player[data-seat="2"] { left: 12%; }
  .solo-badugi .solo-player[data-seat="4"], .solo-badugi .solo-player[data-seat="5"] { left: 88%; }
  .solo-draw-mark { font-size: 15px; margin: 4px 0; }
  .solo-limit-controls > p, .solo-draw-controls > p { font-size: 11px; }
  .solo-stats { font-size: 9px; }
}
@container solo-table (max-height: 300px) {
  .solo-draw-mark { display: none; }
}
@media (min-width: 761px) {
  .solo-controls.solo-draw-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.8fr); gap: 4px 20px; }
  .solo-draw-controls > .solo-draw-picker { grid-column: 1; grid-row: 2; }
  .solo-draw-controls > .solo-draw-selection { grid-column: 1; grid-row: 3; }
  .solo-draw-controls > .solo-actions { grid-column: 2; grid-row: 2 / 4; align-self: center; }
}
@media (max-width: 350px) {
  .solo-badugi .solo-player[data-seat="1"], .solo-badugi .solo-player[data-seat="2"] { left: 9%; }
  .solo-badugi .solo-player[data-seat="4"], .solo-badugi .solo-player[data-seat="5"] { left: 91%; }
}
.solo-plo .solo-table .solo-human { width: 242px; }
.solo-plo .solo-table .solo-cpus .solo-card { width: 27px; height: 37px; font-size: 15px; }
.solo-plo .solo-showdown-hands .solo-cards { margin: 6px 0; }
.solo-plo-used { display: inline-flex; border-radius: 6px; box-shadow: 0 0 0 2px var(--accent); }
@media (max-width: 760px) {
  .solo-plo .solo-table .solo-human { width: clamp(160px, 44vw, 195px); }
  .solo-plo .solo-table .solo-human .solo-card { width: 34px; height: 47px; font-size: 22px; }
  .solo-plo .solo-table .solo-cpus .solo-card { width: 14px; height: 19px; font-size: 10px; }
  .solo-plo .solo-table .solo-cpus .solo-cards { gap: 2px; }
}
@container solo-table (max-height: 300px) {
  .solo-plo .solo-table .solo-cpus .solo-card { height: 16px; }
  .solo-plo .solo-board { top: 70px; }
  .solo-plo .solo-board .solo-card { height: 31px; }
  .solo-plo .solo-pot { line-height: 18px; }
}
