/* The SEO pages (the games guide and each game's rules): light on purpose — this one file (no app.css), no lobby script.
   The site's own colours, its top bar and the footer's few rules. */
:root {
  --bg: #08071a; --text: #f6f5ff; --muted: #a7a3cc; --dim: #625e88;
  --glass: rgba(255,255,255,.05); --glass2: rgba(255,255,255,.085); --stroke: rgba(255,255,255,.09); --stroke2: rgba(255,255,255,.16);
  --v: #7c5cff; --p: #ff4d8d; --o: #ffb347; --c: #2de0c4; --lime: #a6f56b; --gold: #ffcf4d;
  --card: linear-gradient(160deg, rgba(30,25,72,.78), rgba(18,15,46,.74));
  --top: 66px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
html, body { max-width: 100%; overflow-x: clip; }
body.sx { margin: 0; min-height: 100vh; color: var(--text); font: 16px/1.65 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  background: radial-gradient(900px 520px at 85% -10%, rgba(124,92,255,.28), transparent 70%),
              radial-gradient(700px 480px at -10% 30%, rgba(255,77,141,.16), transparent 70%), var(--bg);
  background-attachment: fixed; }
main { position: relative; z-index: 1; }
img, svg { max-width: 100%; }
button { font-family: inherit; color: inherit; cursor: pointer; }
.hidden { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #b3a2ff; outline-offset: 3px; border-radius: 12px; }
* { scrollbar-width: thin; scrollbar-color: rgba(160,140,255,.55) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 10px; border: 3px solid transparent; background: linear-gradient(180deg, #9b85ff, #ff5a94) padding-box; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #b3a2ff, #ff7aa9) padding-box; }
:where(.sx-page) a { color: #c9bcff; }
:where(.sx-page) a:hover { color: #fff; }

/* the site's top bar: the games page's own (copied from app.css, the parts this bar uses — a change there is made here
   too); here its buttons are links */
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.top { position: sticky; top: 0; z-index: 40; height: var(--top); background: rgba(10,8,30,.7); backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--stroke); transform: translateZ(0); }
.top-in { max-width: 1240px; height: 100%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; }
.brand b { font-weight: 900; font-size: 15px; letter-spacing: .5px; }
.brand-logo { display: block; width: 36px; height: 36px; flex: none; filter: drop-shadow(0 3px 8px rgba(0,0,0,.55)) drop-shadow(0 0 6px rgba(255,200,80,.18)); }
.top .brand, .top a.acct, .top a.learn-m { color: var(--text); text-decoration: none; }
.nav { display: flex; gap: 2px; margin-left: 14px; }
.nav a { color: var(--muted); font-weight: 700; font-size: 14px; padding: 9px 13px; border-radius: 11px; display: flex; align-items: center; gap: 8px; text-decoration: none; transition: all .2s; }
.nav a svg.i { width: 17px; height: 17px; }
.nav a:hover { color: var(--text); background: var(--glass); }
.sp { flex: 1; }
.dd { position: relative; }
.dd-btn { width: 100%; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 13px; border: 1px solid var(--stroke);
  background: var(--glass); color: var(--text); font-weight: 700; font-size: 13px; text-align: left; transition: border-color .2s, background .2s; }
.dd-btn:hover, .dd.open .dd-btn { border-color: var(--stroke2); background: var(--glass2); }
.dd-btn svg.i { width: 16px; height: 16px; color: var(--muted); }
.dd-val { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-chev { transition: transform .25s; }
.dd.open .dd-chev { transform: rotate(180deg); }
.dd-top { width: 168px; }
.dd-list { position: absolute; z-index: 70; top: calc(100% + 8px); left: 0; right: 0; min-width: 100%; margin: 0; padding: 6px; list-style: none;
  max-height: 320px; overflow-y: auto; border-radius: 16px; border: 1px solid var(--stroke2);
  background: linear-gradient(160deg, rgba(46,34,112,.97), rgba(26,20,64,.97) 60%, rgba(66,22,68,.96));
  box-shadow: 0 24px 50px rgba(0,0,0,.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  animation: popIn .2s cubic-bezier(.3,1.4,.5,1); transform-origin: top center; }
@keyframes popIn { from { opacity: 0; transform: scale(.92) translateY(-6px); } }
.dd-list li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 11px; cursor: pointer; font-size: 14px; font-weight: 700; color: #e6e3fb; transition: background .15s; }
.dd-list li:hover { background: rgba(255,255,255,.08); }
.dd-list li a { flex: 1; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.dd-list li span { flex: 1; }
.dd-list li small { font-size: 11px; font-weight: 800; letter-spacing: .8px; color: var(--dim); }
.dd-list li .dd-ok { width: 16px; height: 16px; color: var(--lime); opacity: 0; }
.dd-list li.on { background: rgba(255,207,77,.16); color: #fff; }
.dd-list li.on .dd-ok { opacity: 1; }
.acct { display: flex; align-items: center; gap: 8px; border: 1px solid var(--stroke); background: var(--glass); padding: 4px 10px 4px 4px; border-radius: 14px; }
.acct:hover { background: var(--glass2); }
.acct-name { font-weight: 800; font-size: 13px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ava { position: relative; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; color: #fff; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.ava-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; z-index: 1; }
.ava .lv { position: absolute; z-index: 2; bottom: -5px; right: -6px; height: 18px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #3a2400; font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.learn-m { display: none; }
/* «Log in»: the chunky game button, obsidian and gold */
.btn { --edge: rgba(0,0,0,.5); --cap: rgba(255,255,255,.26); position: relative; isolation: isolate; border: 0; border-radius: 18px;
  height: 56px; padding: 0 24px; font-size: 15px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #fff; text-decoration: none;
  transition: transform .09s ease-out, box-shadow .09s ease-out, filter .15s; }
.btn::before { content: ''; position: absolute; z-index: -1; left: 10px; right: 10px; top: 5px; height: 38%; border-radius: 12px 12px 18px 18px / 10px 10px 16px 16px;
  background: linear-gradient(var(--cap), rgba(255,255,255,0)); pointer-events: none; }
.btn:hover { filter: brightness(1.08) saturate(1.05); transform: translateY(-1px); }
.btn-sm { height: 40px; border-radius: 13px; padding: 0 16px; font-size: 12px; }
.btn-sm::before { top: 3px; left: 6px; right: 6px; border-radius: 8px; }
.btn.btn-obsidian { color: #f5d27a; text-shadow: none; letter-spacing: .03em;
  background: linear-gradient(180deg, #1f1b25 0%, #131118 100%);
  box-shadow: inset 0 0 0 1px rgba(243,195,90,.6), inset 0 1px 0 rgba(255,236,180,.12), 0 8px 18px -10px rgba(0,0,0,.9); }
.btn.btn-obsidian:hover { filter: none; color: #ffe6a3; background: linear-gradient(180deg, #27222e 0%, #17141c 100%);
  box-shadow: inset 0 0 0 1px #f3c35a, inset 0 1px 0 rgba(255,236,180,.16), 0 0 20px -6px rgba(243,195,90,.55); }
.btn.btn-obsidian:active { transform: translateY(1px); box-shadow: inset 0 0 0 1px #f3c35a, 0 2px 8px -4px rgba(0,0,0,.9); }
@media (max-width: 899px) {
  .nav, .brand b, .acct-name { display: none; }
  .dd-top { width: auto; }
  .dd-top .dd-val { display: none; }
  .dd-top .dd-list { position: fixed; top: calc(var(--top) + 8px); left: 12px; right: 12px; width: auto; min-width: 0; transform-origin: top center; }
  .learn-m { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 9px; border-radius: 999px; flex: none;
    border: 1px solid rgba(166,245,107,.45); background: linear-gradient(160deg, rgba(166,245,107,.18), rgba(45,224,196,.1)); color: #eaffd6;
    font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
  .top a.learn-m { color: #eaffd6; }
  .learn-m svg.i { width: 18px; height: 18px; color: var(--lime); }
  .learn-m:active { transform: scale(.97); }
}
@media (max-width: 640px) { .brand-logo { width: 32px; height: 32px; } }
@media (max-width: 520px) {
  .top-in { gap: 6px; padding: 0 10px; }
  .dd-top .dd-btn { height: 38px; padding: 0 8px; gap: 4px; }
  .acct { padding: 3px; } .acct .ava { width: 32px; height: 32px; font-size: 13px; }
  .btn { white-space: normal; text-align: center; line-height: 1.15; padding: 0 14px; font-size: 13px; min-width: 0; }
}
@media (max-width: 420px) {
  .top-in { gap: 4px !important; padding: 0 6px !important; }
  .dd-top .dd-btn { width: 36px; height: 36px; padding: 0 !important; justify-content: center; }
  .brand { gap: 4px; min-width: 0; flex-shrink: 1; }
  .brand > b { overflow: hidden; text-overflow: ellipsis; }
  .top-in > :not(.brand):not(.sp) { flex-shrink: 0; }
  .dd-top .dd-chev { display: none; }
}
@media (max-width: 360px) { .learn-m span { display: none; } .learn-m { padding: 0 9px; } }
/* touch screens have no real hover: stop hover styles from sticking after a tap */
@media (hover: none) {
  .btn:hover { filter: none; transform: none; }
  .dd-btn:hover { border-color: var(--stroke); background: var(--glass); }
  .acct:hover { background: var(--glass); }
  .dd-list li:hover { background: none; }
}
/* the top bar (2026-11), copied from app.css (.topx, the parts this bar uses — a change there is made here too):
   the frame from edge to edge, glued to the top; quiet items; «Log in» black onyx and gold */
.topx { background: linear-gradient(rgba(255,255,255,.035), rgba(255,255,255,.035)), rgba(12,10,30,.8); border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.topx .top-in { height: 100%; margin: 0 auto; padding: 0 10px 0 14px; gap: 4px; }
@media (min-width: 1272px) { .topx .top-in { max-width: 1240px; } }
@media (max-width: 1271px) { .topx .top-in { margin: 0 16px; } }
.topx .brand { flex: none; margin-right: 20px; }
.topx .brand-logo { width: 34px; height: 34px; }
.topx .brand > b { font-family: 'Cinzel', serif; font-weight: 700; font-size: 18px; letter-spacing: .16em; color: #f3e6c4; }
.topx .nav { gap: 4px; margin-left: 0; }
.topx .nav a, .topx .dd-top .dd-btn { position: relative; display: flex; align-items: center; gap: 8px; width: auto; height: 40px; padding: 0 11px; border: 0; border-radius: 10px;
  background: none; color: var(--muted); font-weight: 500; font-size: 13.5px; white-space: nowrap; text-decoration: none; cursor: pointer; }
.topx .nav a:hover, .topx .dd-top .dd-btn:hover, .topx .dd-top.open .dd-btn { color: #fff; background: rgba(255,255,255,.05); border: 0; }
.topx .nav svg.i, .topx .dd-top .dd-btn svg.i { width: 17px; height: 17px; color: inherit; }
.topx .dd-top { width: auto; }
.topx .dd-top .dd-val { flex: none; color: #fff; font-weight: 600; font-size: 12.5px; letter-spacing: .05em; }
.topx .dd-top .dd-btn .dd-chev { width: 14px; height: 14px; opacity: .6; }
.topx .dd-top .dd-list { left: auto; right: 0; min-width: 210px; }
.topx .tb-sep { width: 1px; height: 20px; margin: 0 6px; flex: none; background: rgba(255,255,255,.1); }
.topx .tb-login { position: relative; overflow: hidden; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 18px 0 14px; border-radius: 10px; flex: none;
  white-space: nowrap; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; color: #ffd866; text-decoration: none;
  background: linear-gradient(180deg, #26232e 0%, #0d0c12 55%, #050508 100%) padding-box, linear-gradient(135deg, #fff1b8 0%, #e0a93a 30%, #7a5410 55%, #f3c95a 80%, #fff1b8 100%) border-box;
  border: 1.5px solid transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 22px -10px rgba(255,190,60,.55); transition: box-shadow .2s; }
.topx .tb-login svg.i { width: 17px; height: 17px; color: #ffd866; }
.topx .tb-login::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 36px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,230,160,.22), transparent); transform: translateX(-50px) skewX(-20deg); animation: tbShine 5s ease-in-out infinite; }
@keyframes tbShine { 0%, 72% { transform: translateX(-50px) skewX(-20deg); } 100% { transform: translateX(220px) skewX(-20deg); } }
.topx .tb-login:hover { color: #ffd866; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 26px -8px rgba(255,190,60,.8); }
@media (prefers-reduced-motion: reduce) { .topx .tb-login::after { animation: none; display: none; } }
.topx a.acct { gap: 9px; height: 40px; padding: 0 10px 0 4px; margin-left: 4px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 13.5px; }
.topx a.acct:hover { background: rgba(255,255,255,.09); }
.topx .acct-name { font-weight: 600; font-size: 13.5px; }
.topx .acct .ava { width: 32px; height: 32px; border-radius: 50%; font-weight: 700; font-size: 13px; background: #0d0c12; color: #ffd866; box-shadow: 0 0 0 1.5px #e0a93a; }
.topx .acct .ava .lv { bottom: -6px; right: -8px; height: 16px; min-width: 16px; font-size: 9.5px; padding: 0 4px; }
@media (max-width: 899px) {
  /* (the items spread evenly over the whole width, no empty middle; «Log in» clear of the screen's edge) */
  .topx .top-in { margin: 0; padding: 0 12px; gap: 0; justify-content: space-between; }
  .topx .sp, .topx .tb-sep { display: none; }
  .topx .brand { margin-right: 0; }
  .topx .brand > b, .topx .acct-name, .topx .nav span, .topx .dd-top .dd-val, .topx .dd-top .dd-chev { display: none; }
  .topx .nav { display: contents; }
  .topx .nav a, .topx .dd-top .dd-btn { width: 38px; height: 38px; padding: 0; gap: 0; justify-content: center; }
  .topx .nav svg.i, .topx .dd-top .dd-btn svg.i { width: 19px; height: 19px; }
  .topx .tb-sep { margin: 0 2px; }
  .topx .tb-login { height: 38px; padding: 0 12px 0 10px; gap: 7px; font-size: 13px; margin: 0; }
  .topx a.acct { padding: 0 2px; background: none; margin: 0; }
}
@media (max-width: 420px) {
  .topx .top-in { gap: 0 !important; padding: 0 10px !important; margin: 0; }
  .topx .brand-logo { width: 30px; height: 30px; }
  .topx .nav a, .topx .dd-top .dd-btn { width: 34px; height: 36px; }
  .topx .tb-login { padding: 0 10px 0 8px; gap: 6px; font-size: 12.5px; }
}

/* the page */
.sx-page { max-width: 1100px; margin: 0 auto; padding: 18px 16px 40px; }
.sx-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--dim); margin-bottom: 14px; }
.sx-crumbs a { color: var(--muted); text-decoration: none; }
.sx-crumbs a:hover { color: var(--text); }
.sx h1 { font-size: clamp(24px, 3.6vw, 32px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -.3px; }
.sx h2 { font-size: clamp(20px, 3.4vw, 26px); line-height: 1.25; margin: 34px 0 12px; }
.sx h3 { font-size: 17px; line-height: 1.3; margin: 0 0 6px; }
.sx p { margin: 0 0 14px; color: #dcd9f5; }
.sx-lead { font-size: 17.5px; color: var(--text) !important; max-width: 820px; }
/* the reading column: narrow for easy reading, in the middle of the page (on phones it is the whole width anyway) */
.sx-sec { max-width: 860px; margin-left: auto; margin-right: auto; }
.sx .sx-hero ~ .sx-lead { max-width: 860px; margin-left: auto; margin-right: auto; }
/* a game's rules page: everything in that one column, all starting at the same line (the guide stays wide, for its games) */
.sx-page.sx-read > * { max-width: 860px; margin-left: auto; margin-right: auto; }
/* the guide: its text on the left, at the same line as its title and its games */
.sx-page:not(.sx-read) > .sx-sec { margin-left: 0; margin-right: 0; }
.sx-list { margin: 0 0 14px; padding-left: 22px; color: #dcd9f5; }
.sx-list li { margin: 0 0 8px; }

/* the buttons: "play now" and "rules" */
.sx-play { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 12px;
  font-weight: 900; font-size: 14px; color: #2a1a00; text-decoration: none;
  background: linear-gradient(180deg, #ffe58f 0%, #f6c84a 48%, #e3a61f 100%); box-shadow: 0 3px 0 #8a5a0a; transition: transform .12s; }
.sx-play:hover { color: #2a1a00; transform: translateY(-1px); }
.sx-play:active { transform: translateY(2px); box-shadow: 0 1px 0 #8a5a0a; }
.sx-play svg { width: 18px; height: 18px; fill: currentColor; }
.sx-big { padding: 13px 24px; font-size: 17px; border-radius: 14px; }
.sx-rules { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 12px; font-weight: 800; font-size: 14px;
  color: var(--text); text-decoration: none; background: var(--glass); border: 1px solid var(--stroke2); }
.sx-rules:hover { background: rgba(255,255,255,.1); }

/* the game's head: its logo (a click plays it) and "play now" */
.sx-hero { display: flex; align-items: center; gap: 20px; margin: 4px 0 22px; padding: 18px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--stroke); }
.sx-hero-logo { flex: none; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 24px;
  background: rgba(255,255,255,.06); border: 1px solid var(--stroke2); transition: transform .15s; }
.sx-hero-logo:hover { transform: scale(1.05); }
.sx-hero-logo svg, .sx-hero-logo img { width: 72px; height: 72px; }
.sx-hero-text h1 { margin-bottom: 14px; }
.sx-cta { margin: 30px 0 6px; text-align: center; }

/* the games: a card each, its logo and name play it */
.sx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.sx-card { display: flex; flex-direction: column; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--stroke); }
.sx-card h3 a { color: var(--text); text-decoration: none; }
.sx-card h3 a:hover { text-decoration: underline; }
.sx-card p { font-size: 14px; color: var(--muted); flex: 1; }
.sx-logo { width: 100%; height: 124px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--stroke2); transition: transform .15s; }
.sx-logo:hover { transform: scale(1.03); }
.sx-logo svg, .sx-logo img { width: 84px; height: 84px; }
.sx-small .sx-logo { height: 100px; }
.sx-small .sx-logo svg, .sx-small .sx-logo img { width: 64px; height: 64px; }
/* the card's picture from the games page (a still image): the whole box, its own shape */
.sx-logo.sx-art, .sx-hero-logo.sx-art { padding: 0; overflow: hidden; height: auto; aspect-ratio: 386 / 210; }
.sx-hero-logo.sx-art { width: 240px; border-radius: 18px; }
.sx-logo.sx-art img, .sx-hero-logo.sx-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sx-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
/* French: "Jouer maintenant" is long, so both buttons a little smaller to stay side by side */
@media (min-width: 601px) {
  html[lang="fr"] .sx-acts { gap: 6px; flex-wrap: nowrap; }
  html[lang="fr"] .sx-acts .sx-play, html[lang="fr"] .sx-acts .sx-rules { padding: 9px 9px; font-size: 12.5px; white-space: nowrap; }}
.sx-small { grid-template-columns: repeat(3, 1fr); }

/* the questions */
.sx-qa { padding: 14px 16px; margin: 0 0 10px; border-radius: 14px; background: var(--glass); border: 1px solid var(--stroke); }
.sx-qa p { margin: 0; }
.sx .sx-back { margin-top: 40px; margin-bottom: 0; text-align: center; }
.sx-back .sx-rules { gap: 8px; padding: 10px 18px; }

/* the footer (the same as the site's) */
.site-foot { max-width: 1100px; margin: 10px auto 0; padding: 18px 16px 30px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px; border-top: 1px solid var(--stroke); color: var(--muted); font-size: 13px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--text); }
/* phones: the links over the whole width, two by two (an odd first one alone on its row), the © under them in the middle */
@media (max-width: 640px) {
  .site-foot { flex-direction: column; align-items: stretch; gap: 14px; padding: 20px 16px calc(26px + env(safe-area-inset-bottom)); text-align: center; }
  .site-foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .site-foot nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 10px; border-radius: 12px; line-height: 1.25;
    background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
  .site-foot nav a:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .site-foot small { font-size: 12px; opacity: .8; }
}

@media (max-width: 600px) {
  .sx-hero { flex-direction: column; text-align: center; padding: 16px; }
  .sx-hero-logo { width: 88px; height: 88px; }
  .sx-hero-logo svg, .sx-hero-logo img { width: 60px; height: 60px; }
  .sx-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sx-card { padding: 12px; }
  .sx-logo, .sx-small .sx-logo { height: 96px; }
  .sx-logo svg, .sx-logo img, .sx-small .sx-logo svg, .sx-small .sx-logo img { width: 64px; height: 64px; }
  .sx-logo.sx-art, .sx-small .sx-logo.sx-art { height: auto; }
  .sx-logo.sx-art img, .sx-small .sx-logo.sx-art img { width: 100%; height: 100%; }
  .sx-hero-logo.sx-art { width: min(100%, 300px); height: auto; }
  .sx-card p { font-size: 13px; }
  /* the card's two buttons one under the other, the card's whole width: each on one line */
  .sx-acts { flex-direction: column; gap: 6px; }
  .sx-acts .sx-play, .sx-acts .sx-rules { width: 100%; justify-content: center; padding: 9px 6px; font-size: 13px; white-space: nowrap; }}
@media (prefers-reduced-motion: reduce) { .sx-play, .sx-logo, .sx-hero-logo { transition: none; } }
