/* Solitaire, round 2026-11-06: card faces and Vancouver Seniors card backs. Loaded after solitaire.css.
   The felt is the dark teal (#0d4b56), woven since round 3 (end of file). Backs: the original VS design (round 5) in Mulberry Wine (#7A4A63, owner 2026-11-16) with a cream blackletter "VS":
   plain and high-contrast on phones (back-simple), ornamental on tablets and computers (back-ornate).
   All artwork is drawn here or in lib/card-art.js, except the court pictures (vendor/cards/, CC0). */

/* ── backs ── */
/* card-backs:start (generated by scripts/games/build-card-backs.mjs; edit the script, not these lines). Mulberry Wine
   (#7A4A63) with darker edges (#341F2A) and lattice (#5D384B); "VS" is Rye (OFL 1.1) drawn as outlines. */
.sl-card.down { border: 0; background-color: #7A4A63; background-image: none; box-shadow: 0 1px 0 rgba(0,0,0,.45), inset 0 0 0 1px #341F2A; }
.sl-card.down.back-simple {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23fff4e2' d='M57.01 28.16L57.01 28.16Q56.15 27.60 54.97 27.60L54.97 27.60Q52.62 27.60 50.74 30.17L50.74 30.17Q45.73 43.53 45.56 44.49Q45.40 45.45 45.40 45.88L45.40 45.88Q45.40 47.92 47.64 48.61L47.64 48.61Q45.20 49.60 44.28 50.59L44.28 50.59Q42.82 52.21 41.67 55.54L41.67 55.54L35.63 72.04Q33.95 76.83 33.16 77.35L33.16 77.35Q32.86 77.52 32.46 77.52Q32.07 77.52 31.80 77.29L31.80 77.29L21.08 53.30Q20.42 51.75 19.36 50.92L19.36 50.92Q17.65 49.60 14.97 48.61L14.97 48.61Q17.85 47.03 17.78 45.68L17.78 45.68Q17.78 45.05 17.25 43.66L17.25 43.66L11.48 28.82Q9.73 27.60 8.28 27.60L8.28 27.60Q7.22 27.60 6.36 28.16L6.36 28.16Q6.00 27.89 6.00 27.17Q6.00 26.44 6.23 25.83Q6.46 25.22 6.96 24.76L6.96 24.76Q8.01 23.77 9.99 23.77L9.99 23.77Q11.97 23.77 13.49 24.82L13.49 24.82Q15.17 23.77 17.43 23.77Q19.69 23.77 21.34 24.79L21.34 24.79Q23.09 23.77 24.54 23.77Q26.00 23.77 26.92 23.98Q27.84 24.20 28.54 24.63L28.54 24.63Q30.02 25.48 30.09 27.00L30.09 27.00Q30.09 27.93 29.72 28.16L29.72 28.16Q28.83 27.60 27.91 27.60L27.91 27.60Q25.83 27.60 24.68 28.39L24.68 28.39L35.50 59.27L45.66 29.87Q45.50 28.75 44.79 28.09Q44.08 27.43 42.63 27.43Q41.17 27.43 40.22 27.99L40.22 27.99Q39.89 27.50 39.89 26.44Q39.89 25.39 40.78 24.58Q41.67 23.77 43.24 23.77Q44.80 23.77 46.02 24.53L46.02 24.53Q47.08 23.77 48.66 23.77Q50.25 23.77 51.27 24.49L51.27 24.49Q52.72 23.77 54.17 23.77Q55.63 23.77 56.50 24.71Q57.37 25.65 57.37 27.13L57.37 27.13Q57.37 27.89 57.01 28.16ZM45.56 31.56L45.63 31.29Q45.56 31.49 45.56 31.56L45.56 31.56ZM31.64 66.17L18.77 33.67Q18.04 34.19 18.04 35.04Q18.04 35.88 18.09 36.31Q18.14 36.74 18.34 37.41Q18.54 38.09 18.93 39.14L18.93 39.14L20.75 43.83Q21.41 45.55 21.48 46.40L21.48 46.40Q21.64 47.86 19.63 48.61L19.63 48.61Q20.98 48.88 21.85 49.26Q22.73 49.64 23.42 51.14Q24.11 52.64 25.24 55.44L25.24 55.44L28.01 62.18Q29.26 65.24 30.78 65.87L30.78 65.87Q31.21 66.07 31.64 66.17L31.64 66.17ZM66.51 73.63L66.51 73.63Q63.87 76.26 61.50 76.26L61.50 76.26Q59.98 76.26 59.45 75.14L59.45 75.14Q60.21 74.22 60.21 72.37L60.21 72.37L60.21 71.88Q60.21 71.68 60.18 71.51L60.18 71.51Q58.53 70.03 58.53 68.00Q58.53 65.97 60.44 63.86L60.44 63.86Q59.88 62.74 59.88 61.47Q59.88 60.20 60.26 59.09Q60.64 57.99 61.30 57.16L61.30 57.16Q62.69 55.35 64.02 55.35Q65.36 55.35 65.92 56.40L65.92 56.40Q64.73 57.66 64.73 60.33Q64.73 63.00 65.51 64.98Q66.28 66.96 67.70 68.38L67.70 68.38Q70.74 71.48 75.46 71.48L75.46 71.48Q78.62 71.48 80.83 69.67L80.83 69.67Q83.21 67.72 83.21 64.35L83.21 64.35Q83.21 61.98 82.09 60.49L82.09 60.49Q80.34 58.18 76.61 55.61L76.61 55.61Q73.74 53.60 72.02 53.60L72.02 53.60Q70.28 53.60 68.16 55.02L68.16 55.02Q68.73 53.33 68.73 51.88L68.73 51.88Q68.73 51.55 68.10 51.02L68.10 51.02L66.88 49.93Q61.10 44.62 60.05 40.07L60.05 40.07Q59.68 38.48 59.68 36.09Q59.68 33.70 60.86 31.24Q62.03 28.78 64.07 27.07L64.07 27.07Q68.33 23.44 74.90 23.44L74.90 23.44Q78.89 23.44 82.22 24.73L82.22 24.73Q83.64 25.29 85.45 25.29L85.45 25.29Q86.21 25.29 86.82 25.20Q87.43 25.12 87.90 24.53L87.90 24.53Q88.32 23.90 88.32 23.41Q88.32 22.91 88.19 22.58L88.19 22.58Q88.42 22.48 88.84 22.48Q89.25 22.48 89.74 22.76Q90.24 23.04 90.63 23.54L90.63 23.54Q91.53 24.66 91.53 26.06Q91.53 27.46 90.73 28.19L90.73 28.19Q91.86 29.18 91.86 31.26L91.86 31.26Q91.86 33.30 90.47 34.69L90.47 34.69Q90.73 35.58 90.73 36.29Q90.73 37.00 90.49 37.64Q90.24 38.29 89.81 38.75L89.81 38.75Q88.85 39.77 87.99 39.77L87.99 39.77Q86.64 39.77 85.72 39.31L85.72 39.31Q86.28 37.99 86.28 36.47Q86.28 34.95 85.60 33.35Q84.93 31.75 83.71 30.57L83.71 30.57Q81.13 28.12 76.97 28.12L76.97 28.12Q74.33 28.12 72.65 29.74L72.65 29.74Q71.07 31.26 71.07 33.40L71.07 33.40Q71.07 35.02 71.86 36.11L71.86 36.11Q73.25 37.99 76.25 40.00L76.25 40.00L77.83 41.06Q79.15 41.88 79.61 41.88Q80.08 41.88 80.54 41.78Q81.00 41.69 81.56 41.52L81.56 41.52Q82.75 41.12 83.87 40.40L83.87 40.40L83.44 42.25Q83.24 43.17 83.24 43.60L83.24 43.60Q83.24 44.29 83.94 44.85L83.94 44.85Q90.11 50.20 92.19 53.79L92.19 53.79Q94.00 56.93 94.00 60.56Q94.00 64.19 92.81 66.79Q91.62 69.40 89.35 71.41L89.35 71.41Q84.33 75.90 76.31 75.90L76.31 75.90Q70.67 75.90 66.51 73.63ZM64.27 33.67L64.27 33.67Q63.02 34.19 63.02 36.41L63.02 36.41Q63.02 40.93 69.06 46.34L69.06 46.34L71.03 48.12Q72.06 49.04 71.94 49.54Q71.83 50.03 71.74 50.33Q71.66 50.63 71.56 50.89Q71.46 51.15 71.43 51.29L71.43 51.29Q72.59 50.59 73.31 50.59L73.31 50.59Q74.76 50.59 76.05 51.39L76.05 51.39Q82.42 55.35 84.70 58.45L84.70 58.45Q86.34 60.72 86.41 64.12L86.41 64.12Q86.41 65.34 86.25 66.17L86.25 66.17Q87.99 65.05 87.99 62.60L87.99 62.60Q87.99 60.23 87.35 58.94Q86.71 57.66 85.85 56.65Q84.99 55.64 83.62 54.45Q82.25 53.27 80.24 51.88L80.24 51.88L75.56 48.68Q69.78 44.89 66.78 40.66L66.78 40.66Q64.14 36.93 64.27 33.67Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 50% 50%; background-size: 78% auto;
  box-shadow: 0 1px 0 rgba(0,0,0,.45), inset 0 0 0 1px #341F2A, inset 0 0 0 calc(var(--cw) * .07) #7A4A63, inset 0 0 0 calc(var(--cw) * .07 + 2px) #fff4e2;
}
.sl-card.down.back-ornate {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='47' fill='%237A4A63' stroke='%23f3d9b8' stroke-width='3'/%3E%3Ccircle cx='50' cy='50' r='41' fill='%23fff4e2'/%3E%3Ccircle cx='50' cy='50' r='37.5' fill='none' stroke='%237A4A63' stroke-width='1.2' stroke-dasharray='3 2.2'/%3E%3Cpath d='M50 9l3 5h-6zM50 91l3-5h-6zM9 50l5 3v-6zM91 50l-5 3v-6z' fill='%237A4A63'/%3E%3Cpath fill='%237A4A63' d='M53.52 34.36L53.52 34.36Q52.91 33.96 52.06 33.96L52.06 33.96Q50.38 33.96 49.03 35.80L49.03 35.80Q45.44 45.37 45.32 46.06Q45.20 46.74 45.20 47.05L45.20 47.05Q45.20 48.51 46.81 49.01L46.81 49.01Q45.06 49.72 44.40 50.43L44.40 50.43Q43.36 51.58 42.54 53.97L42.54 53.97L38.21 65.78Q37.01 69.20 36.44 69.58L36.44 69.58Q36.23 69.70 35.94 69.70Q35.66 69.70 35.47 69.54L35.47 69.54L27.80 52.36Q27.32 51.25 26.57 50.66L26.57 50.66Q25.34 49.72 23.43 49.01L23.43 49.01Q25.48 47.87 25.43 46.91L25.43 46.91Q25.43 46.46 25.06 45.46L25.06 45.46L20.92 34.83Q19.67 33.96 18.63 33.96L18.63 33.96Q17.87 33.96 17.26 34.36L17.26 34.36Q17 34.17 17 33.65Q17 33.13 17.17 32.70Q17.33 32.26 17.69 31.93L17.69 31.93Q18.44 31.22 19.86 31.22L19.86 31.22Q21.28 31.22 22.36 31.98L22.36 31.98Q23.57 31.22 25.19 31.22Q26.80 31.22 27.98 31.95L27.98 31.95Q29.24 31.22 30.28 31.22Q31.31 31.22 31.98 31.37Q32.64 31.53 33.13 31.83L33.13 31.83Q34.20 32.45 34.24 33.54L34.24 33.54Q34.24 34.20 33.98 34.36L33.98 34.36Q33.35 33.96 32.69 33.96L32.69 33.96Q31.20 33.96 30.37 34.53L30.37 34.53L38.12 56.64L45.39 35.59Q45.28 34.79 44.77 34.31Q44.26 33.84 43.22 33.84Q42.18 33.84 41.50 34.24L41.50 34.24Q41.26 33.89 41.26 33.13Q41.26 32.38 41.90 31.80Q42.54 31.22 43.66 31.22Q44.78 31.22 45.65 31.76L45.65 31.76Q46.41 31.22 47.54 31.22Q48.68 31.22 49.41 31.74L49.41 31.74Q50.45 31.22 51.49 31.22Q52.53 31.22 53.15 31.89Q53.78 32.57 53.78 33.63L53.78 33.63Q53.78 34.17 53.52 34.36ZM45.32 36.80L45.37 36.61Q45.32 36.75 45.32 36.80L45.32 36.80ZM35.35 61.57L26.14 38.31Q25.62 38.69 25.62 39.29Q25.62 39.89 25.66 40.20Q25.69 40.50 25.83 40.99Q25.98 41.47 26.26 42.23L26.26 42.23L27.56 45.58Q28.03 46.81 28.08 47.43L28.08 47.43Q28.20 48.46 26.76 49.01L26.76 49.01Q27.72 49.20 28.35 49.47Q28.98 49.74 29.47 50.81Q29.97 51.89 30.77 53.90L30.77 53.90L32.76 58.72Q33.65 60.91 34.74 61.36L34.74 61.36Q35.05 61.50 35.35 61.57L35.35 61.57ZM60.32 66.91L60.32 66.91Q58.43 68.80 56.73 68.80L56.73 68.80Q55.65 68.80 55.27 68L55.27 68Q55.81 67.34 55.81 66.02L55.81 66.02L55.81 65.66Q55.81 65.52 55.79 65.40L55.79 65.40Q54.61 64.34 54.61 62.89Q54.61 61.43 55.98 59.92L55.98 59.92Q55.57 59.12 55.57 58.21Q55.57 57.30 55.85 56.51Q56.12 55.72 56.59 55.13L56.59 55.13Q57.58 53.83 58.54 53.83Q59.50 53.83 59.90 54.58L59.90 54.58Q59.05 55.48 59.05 57.39Q59.05 59.31 59.60 60.72Q60.16 62.14 61.17 63.16L61.17 63.16Q63.35 65.38 66.72 65.38L66.72 65.38Q68.99 65.38 70.57 64.08L70.57 64.08Q72.28 62.69 72.28 60.28L72.28 60.28Q72.28 58.57 71.47 57.51L71.47 57.51Q70.22 55.86 67.55 54.02L67.55 54.02Q65.50 52.57 64.27 52.57L64.27 52.57Q63.02 52.57 61.50 53.59L61.50 53.59Q61.91 52.39 61.91 51.35L61.91 51.35Q61.91 51.11 61.46 50.73L61.46 50.73L60.58 49.95Q56.45 46.15 55.69 42.89L55.69 42.89Q55.43 41.76 55.43 40.04Q55.43 38.33 56.27 36.57Q57.11 34.81 58.57 33.58L58.57 33.58Q61.62 30.98 66.32 30.98L66.32 30.98Q69.18 30.98 71.57 31.91L71.57 31.91Q72.58 32.31 73.88 32.31L73.88 32.31Q74.43 32.31 74.86 32.25Q75.30 32.19 75.63 31.76L75.63 31.76Q75.94 31.31 75.94 30.96Q75.94 30.61 75.84 30.37L75.84 30.37Q76.01 30.30 76.30 30.30Q76.60 30.30 76.95 30.50Q77.31 30.70 77.59 31.06L77.59 31.06Q78.23 31.86 78.23 32.86Q78.23 33.87 77.66 34.39L77.66 34.39Q78.46 35.09 78.46 36.58L78.46 36.58Q78.46 38.05 77.47 39.04L77.47 39.04Q77.66 39.68 77.66 40.19Q77.66 40.69 77.48 41.15Q77.31 41.61 77 41.94L77 41.94Q76.31 42.68 75.70 42.68L75.70 42.68Q74.73 42.68 74.07 42.35L74.07 42.35Q74.47 41.40 74.47 40.31Q74.47 39.23 73.99 38.08Q73.50 36.94 72.63 36.09L72.63 36.09Q70.79 34.34 67.81 34.34L67.81 34.34Q65.92 34.34 64.72 35.50L64.72 35.50Q63.58 36.58 63.58 38.12L63.58 38.12Q63.58 39.28 64.15 40.06L64.15 40.06Q65.14 41.40 67.29 42.84L67.29 42.84L68.43 43.60Q69.37 44.19 69.70 44.19Q70.03 44.19 70.36 44.12Q70.69 44.05 71.09 43.93L71.09 43.93Q71.94 43.65 72.75 43.13L72.75 43.13L72.44 44.45Q72.30 45.11 72.30 45.42L72.30 45.42Q72.30 45.91 72.80 46.31L72.80 46.31Q77.21 50.14 78.70 52.72L78.70 52.72Q80 54.96 80 57.56Q80 60.16 79.15 62.02Q78.30 63.89 76.67 65.33L76.67 65.33Q73.08 68.54 67.34 68.54L67.34 68.54Q63.30 68.54 60.32 66.91ZM58.72 38.31L58.72 38.31Q57.82 38.69 57.82 40.27L57.82 40.27Q57.82 43.50 62.14 47.38L62.14 47.38L63.56 48.65Q64.29 49.31 64.21 49.67Q64.13 50.02 64.07 50.24Q64.01 50.45 63.94 50.64Q63.87 50.83 63.84 50.92L63.84 50.92Q64.67 50.43 65.19 50.43L65.19 50.43Q66.23 50.43 67.15 50.99L67.15 50.99Q71.71 53.83 73.34 56.05L73.34 56.05Q74.52 57.68 74.57 60.11L74.57 60.11Q74.57 60.98 74.45 61.57L74.45 61.57Q75.70 60.77 75.70 59.02L75.70 59.02Q75.70 57.32 75.24 56.40Q74.78 55.48 74.17 54.76Q73.55 54.04 72.57 53.19Q71.59 52.34 70.15 51.35L70.15 51.35L66.80 49.06Q62.66 46.34 60.51 43.31L60.51 43.31Q58.62 40.65 58.72 38.31Z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0l8 8-8 8-8-8z' fill='none' stroke='%235D384B' stroke-width='1.1'/%3E%3Ccircle cx='8' cy='8' r='1.5' fill='%23f3d9b8' fill-opacity='.85'/%3E%3Ccircle cx='0' cy='0' r='1.1' fill='%235D384B'/%3E%3Ccircle cx='16' cy='0' r='1.1' fill='%235D384B'/%3E%3Ccircle cx='0' cy='16' r='1.1' fill='%235D384B'/%3E%3Ccircle cx='16' cy='16' r='1.1' fill='%235D384B'/%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat; background-position: center, center; background-size: 86% auto, calc(var(--cw) * .16) calc(var(--cw) * .16);
  box-shadow: 0 1px 0 rgba(0,0,0,.45), inset 0 0 0 1px #341F2A, inset 0 0 0 calc(var(--cw) * .05) #7A4A63, inset 0 0 0 calc(var(--cw) * .05 + 2px) #f3d9b8, inset 0 0 0 calc(var(--cw) * .05 + 4px) #341F2A;
}
/* card-backs:end */
/* REL-GM (owner 2026-11-16 §1 "Keep the circular stock-pile count"; WS3-GA4 §2): the pickup-pile count is a compact TRUE
   circle (equal width and height, 50% radius, one even 2 px Mulberry ring, ivory disc, ink digits 15:1) on the stock's
   top-right corner. Absolutely placed: it takes no layout space, so no card ever moves. */
.sl-stock, .sl-stock .sl-card, .sl-stock .sl-hit { overflow: visible; }
.sl-card.down .cnt { left: auto; bottom: auto; top: -.5rem; right: -.5rem; z-index: 3; box-sizing: border-box;
  width: clamp(1.5rem, calc(var(--cw, 4rem) * .36), 1.75rem); height: clamp(1.5rem, calc(var(--cw, 4rem) * .36), 1.75rem); padding: 0;
  display: grid; place-items: center; border-radius: 50%; border: 2px solid #7A4A63; background: #FAF4E9; color: #0d2a30;
  box-shadow: 0 1px 2px rgba(0,0,0,.4); font: 800 .875rem/1 var(--font-ui, var(--vs-font)); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ── simple faces (phones): one big index on one line, a big suit sign, no court pictures ── */
.sl-card.art-simple { background: #fffdf6; }
.sl-card.art-simple .ix { gap: 1px; align-items: center; }
.sl-card.art-simple .ix b { font-size: 1em; letter-spacing: -.06em; }
.sl-card.art-simple .ix .sx { width: .78em; height: .78em; fill: currentColor; flex: none; }
.sl-card.art-simple svg.pip { position: absolute; width: 52%; height: auto; right: 7%; bottom: 7%; left: auto; fill: currentColor; }
.sl-card.art-simple.court { background: #fff7e2; }

/* ── classic faces (tablets, computers): the drawing fills the card ── */
.sl-card.art-classic { background: #fff; overflow: hidden; }
.sl-card.art-classic svg.art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; font-family: var(--vs-font); }
.sl-card.art-classic.court { border-color: #39484c; }

/* four-colour suits (setting): applies to both styles because the art uses currentColor or its own fill */
.sl-board.four .sl-card.s2 svg.art { fill: #1747a6; }
.sl-board.four .sl-card.s3 svg.art { fill: #136b2a; }
.sl-ghost.four .sl-card.s2 svg.art { fill: #1747a6; } .sl-ghost.four .sl-card.s3 svg.art { fill: #136b2a; }

/* bar: How to play on the right of the tools row */
.sl-bar .gm-howto { margin-left: auto; }
@media (max-width: 380px) { .sl-bar .gm-howto { padding-right: 2px; } }
.sl-wrap > .gm-lic { margin-top: 6px; }
.sl-status { position: relative; } .sl-status .sl-set-pop { margin-left: auto; } .sl-status .sl-set { left: auto; right: 0; top: calc(100% + 4px); }

/* ── round 11-10 (owner D-20261110-14) ── */
/* "10" on phone faces: normal spacing between the 1 and the 0 */
.sl-card.art-simple .ix b.ten { letter-spacing: .03em; }
/* game controls inside the table: one row on the felt above the cards (wraps on narrow screens, but never changes
   during a game, so the table keeps its size) */
.sl-board > .sl-bar { margin: -2px 0 10px; padding: 0 0 8px; border-bottom: 1px solid rgba(255, 248, 230, .25); gap: 8px; }
.sl-board > .sl-bar .gm-b2 { border-color: #fff4e2; box-shadow: 0 2px 0 #062f37; }
.sl-board > .sl-bar .gm-b2[disabled] { opacity: .55; }
.sl-board > .sl-bar .sl-newb { background: #FAF4E9; color: #0d2a30 !important; border-color: #FAF4E9; box-shadow: 0 2px 0 rgba(0,0,0,.35); font-weight: 800; }   /* REL-GM: warm ivory, bold (owner: white/ivory controls; no brick, ochre or yellow) */
.sl-board > .sl-bar .sl-newb:hover { background: #fff; }
.sl-board > .sl-bar .sl-finish { background: #FAF4E9; color: #0d2a30 !important; border-color: #FAF4E9; box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.sl-bar-end { margin-left: auto; display: flex; align-items: center; gap: 4px 12px; position: relative; flex-wrap: wrap; }
.sl-board > .sl-bar .gm-howto, .sl-board > .sl-bar .sl-set-pop > summary { color: #fff; }
.sl-board > .sl-bar .gm-howto::before { border-color: #fff; }
.sl-board > .sl-bar .gm-howto:hover, .sl-board > .sl-bar .sl-set-pop > summary:hover { color: #f0c9c9; }
.sl-board > .sl-bar :is(.gm-howto, summary, .gm-b2):focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #0b0c0c; }
.sl-bar .sl-set-pop > summary { min-height: 44px; display: inline-flex; align-items: center; }
.sl-bar .sl-set { left: auto; right: 0; top: calc(100% + 4px); color: var(--vs-ink); }
@media (max-width: 599.98px) { .sl-bar-end { width: 100%; margin-left: 0; justify-content: space-between; } .sl-board > .sl-bar { gap: 6px; } }
@media (max-width: 380px) { .sl-board > .sl-bar .gm-b2 { padding: 4px 8px; } }

/* Start panel: on the table, over the empty tableau */
.sl-start { position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--bar-h, 64px) + var(--ch) + var(--gap)); z-index: 20; display: grid; align-items: start; justify-items: center; padding: 12px 8px; box-sizing: border-box; }
.sl-start[hidden], .sl-start [hidden] { display: none !important; }
.sl-start-card { background: #fffdf6; border: 2px solid #fff4e2; border-radius: 0; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); padding: 14px 16px 10px; width: min(100%, 380px); box-sizing: border-box; display: grid; gap: 8px; justify-items: center; text-align: center; color: var(--vs-ink); }
.sl-start-card h2 { margin: 0 !important; font-size: calc(26px * var(--fs-scale, 1)) !important; line-height: 1.15 !important; }
.sl-start-card .sl-set-h { margin: 0; font-weight: 800; }
.sl-start-card .gm-seg { width: 100%; }
.sl-start-card .gm-seg > button { flex: 1 1 0; min-height: 48px; }
.sl-start-card .gm-note { margin: 0; }
.sl-start-warn { margin: 0; font-weight: 700; }
.sl-go { width: 100%; }
.sl-keep { margin: 0; padding: 0 4px; min-height: 44px; }

/* ── round 3/4 (owner 11-10) ── */
/* the table is centred on the page at every width. Round 4 (owner: no separate note column): the message is one quiet
   line of text right under the table, then the deal line, both as wide as the table (--bw, set by the page script). */
.sl-wrap { margin-left: auto; margin-right: auto; }
@media (min-width: 760px) {
  .sl-board.fitw { margin-left: auto; margin-right: auto; }
  .sl-wrap > .sl-msg, .sl-wrap > .sl-status, .sl-wrap > .gm-lic { max-width: var(--bw, 900px); margin-left: auto; margin-right: auto; box-sizing: border-box; }
}
@media (min-width: 1100px) { .sl-wrap:not(#s) { display: block; max-width: none; } .sl-board.fitw { margin-left: auto; margin-right: auto; } }
.sl-wrap > .sl-msg:not(#s) { margin: 8px 0 0; padding: 0; border: 0; background: none; border-radius: 0; min-height: 2.7em; font-size: var(--t-body); line-height: 1.35; color: var(--vs-ink); }
@media (min-width: 760px) { .sl-wrap > .sl-msg:not(#s) { margin-left: auto; margin-right: auto; } }
.sl-wrap > .sl-msg.warn:not(#s) { color: var(--vs-red); }
.sl-wrap > .sl-msg:empty:not(#s) { display: block; }
.sl-status { margin-top: 2px; }
/* the woven felt now lives in games-1106.css (shared with the Sudoku and Crossword control bands, round 5c) */


/* round 4: the table's buttons share one width and centre their icon and word, so Undo and Hint line up evenly */
.sl-board > .sl-bar .gm-b2:not(.gm-ib) { justify-content: center; min-width: 96px; box-sizing: border-box; }
@media (max-width: 380px) { .sl-board > .sl-bar .gm-b2 { min-width: 0; } }
.sl-board > .sl-bar .sl-set-pop > summary { padding: 0 2px; }

/* round 5: on the table the two icon buttons keep the white button look of Undo and Hint */
.sl-bar-end:not(#s) { gap: 8px; }
.sl-board > .sl-bar .gm-ib:not(#s) { color: var(--vs-teal); }
.sl-board > .sl-bar .gm-ib:not(#s) svg { display: block; width: 24px; height: 24px; }
/* round 5b (owner: "using just the icons for 'Undo' and 'Hint' ... so they all sit in the same row along with 'New Game'"):
   one row at every width, 320 px with A+ included: New Game (words), then Undo, Hint, ?, gear as 44 px icon buttons. Only
   the gaps shrink on narrow screens; every target stays 44 px. Finish for me (fast-forward icon, brick) takes Hint's place near the end of a game. */
.sl-board > .sl-bar:not(#s) { flex-wrap: nowrap; gap: 8px; }
.sl-board > .sl-bar .sl-bar-end:not(#s) { width: auto; margin-left: auto; flex-wrap: nowrap; justify-content: flex-end; gap: 8px; }
.sl-board > .sl-bar .sl-newb:not(#s) { white-space: nowrap; flex: none; }
.sl-board > .sl-bar .sl-finish:not(#s) { color: #0d2a30; }
@media (max-width: 599.98px) { .sl-board > .sl-bar:not(#s), .sl-board > .sl-bar .sl-bar-end:not(#s) { gap: 6px; } }
@media (max-width: 380px) { .sl-board > .sl-bar:not(#s), .sl-board > .sl-bar .sl-bar-end:not(#s) { gap: 3px; } .sl-board > .sl-bar .sl-newb:not(#s) { padding: 4px 8px; min-width: 0; } }

/* round 5c (owner 11-10): Undo, Hint and Finish show icon and word when the row has room (the page script adds .icons
   when it would wrap); ? and the gear stay icons. A picked-up card on the top row (the waste) is outlined but not lifted,
   so it stays level with the stock. */
.sl-board > .sl-bar:not(.icons) .gm-ib.has-lbl:not(#s) { width: auto; min-width: 44px; padding: 4px 12px; gap: 6px; display: inline-flex; }
.sl-board > .sl-bar.icons .gm-ib.has-lbl .lbl { display: none; }
.sl-board > .sl-bar .gm-ib.has-lbl .lbl { white-space: nowrap; }
.sl-top .sl-card.sel:not(#s) { transform: none; }
/* FAILFIT (owner 11-18): when even the smallest cards cannot fit, the table gives way to a short message in the Start
   panel's box (layout() in index.html decides from the real room; it comes back by itself when there is room) */
.sl-wrap > .sl-board.sl-nofit:not(#s):not(#s) { display: none; }
.sl-fit { display: grid; align-content: start; justify-items: center; padding: 12px 8px; grid-column: 1 / -1; grid-row: 1; min-height: 0; overflow-y: auto; }
.sl-fit[hidden] { display: none; }
.sl-fit .sl-start-card p { margin: 0; font-size: var(--t-body); line-height: 1.4; }
/* while the message shows, the strip under the table (empty message line, deal line) gives its room to the message */
body.sl-locked .sl-wrap:has(> .sl-fit:not([hidden])) > :is(.sl-msg, .sl-status):not(#s):not(#s):not(#s) { display: none; }
