:root {
  color-scheme: light;
  --paper: #f5f2e7;
  --ink: #14332d;
  --court: #134a42;
  --chalk: #ddf2d8;
  --mint: #a8dac4;
  --sun: #f8a88a;
  --ring: #f8eab2;
  --display: "Arial Black", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 system-ui, sans-serif; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-underline-offset: .22em; }
:where(button, a):focus-visible { outline: 3px solid #916420; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.masthead {
  max-width: max(1800px, 82vw); margin: auto; min-height: 68px; padding: max(6px, env(safe-area-inset-top)) max(26px, env(safe-area-inset-right)) 6px max(26px, env(safe-area-inset-left));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { display: block; flex: none; }
.brand h1 { font: 900 clamp(2rem, 3.8vw, 3.45rem)/.95 var(--display); letter-spacing: -.075em; }
.guide-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 720; white-space: nowrap; }

#game {
  --board-rows: max(364px, 68.3dvh, calc(100dvh - 234px));
  --cell-y: calc(var(--board-rows) / 6);
  --board-width: min(65vw, calc(100% - 214px));
  --marker: 26px;
  position: relative; isolation: isolate;
  max-width: max(1760px, 80vw); margin: 0 auto;
  width: calc(100% - max(24px, env(safe-area-inset-left)) - max(24px, env(safe-area-inset-right)));
  display: grid; grid-template-rows: 53px auto minmax(62px, auto);
  color: #f4f4dc;
  border: 1px solid #27675a; border-radius: 26px;
  background:
    radial-gradient(ellipse at 50% 30%, #266254 0%, transparent 64%),
    repeating-linear-gradient(123deg, #76bc9410 0 1px, transparent 1px 5px),
    var(--court);
  box-shadow: inset 0 1px #8abe9a45, inset 0 -7px #062d27, 0 15px 29px -21px #1c412bba;
}
.court-lines { position: absolute; z-index: -1; inset: 84px 27px 79px; pointer-events: none; overflow: hidden; border: 1px solid #a7d6a53f; border-radius: 18px; }
.court-lines::before, .court-lines::after {
  content: ""; position: absolute; top: 50%; width: 110px; height: 67%; min-height: 100px;
  border: 1px solid #add5a45c; border-radius: 50%; transform: translateY(-50%);
}
.court-lines::before { left: -56px; }
.court-lines::after { right: -56px; }

.stage-bar {
  position: relative; z-index: 3; min-width: 0; display: flex; align-items: center; justify-content: center;
  padding: 0 24px; gap: 10px;
}
.match-options { display: flex; align-items: center; gap: 4px; background: #103c35; border: 1px solid #7fb39a72; padding: 3px; border-radius: 13px; }
.match-options button, .quiet, .switches button, .change-mode {
  appearance: none; min-height: 44px; min-width: 44px; border: 1px solid transparent; border-radius: 9px;
  background: transparent; padding: 0 .85rem; font-size: .91rem; font-weight: 750; color: #f3f5e1;
}
.match-options button:hover, .quiet:hover, .switches button:hover, .change-mode:hover { background: #326e5f; }
.match-options button[aria-pressed="true"], .switches button[aria-pressed="true"] { background: var(--chalk); color: #143d34; }
.current-match {
  min-height: 37px; display: grid; place-items: center; background: #143e37; border: 1px solid #82b0998a;
  border-radius: 24px; padding: 0 14px; color: var(--chalk); font-size: .91rem; font-weight: 750;
}
.pause-button, .settings-button { position: absolute; right: 24px; top: 50%; translate: 0 -50%; }
.settings-button { padding-inline: 8px; }
.quiet { display: inline-flex; gap: 8px; align-items: center; justify-content: center; border-color: #93c4a89c; background: #16483f; }
.quiet:active:not(:disabled), .match-options button:active, .switches button:active {
  box-shadow: inset 0 2px 5px #0f39376b;
}
.quiet:disabled { color: #d3e2d3; border-color: #79a58a66; background: #143f37; }
.quiet span { flex: 0 0 14px; display: inline-block; }
.pause-icon { height: 14px; border-inline: 3px solid currentColor; width: 12px; }
.hint-icon { height: 12px; border: 1.5px solid currentColor; border-radius: 50% 50% 45% 45%; position: relative; margin-bottom: 5px; }
.hint-icon::after { content: ""; position: absolute; width: 7px; height: 2px; left: 2px; bottom: -5px; background: currentColor; }
.undo-icon { font: 700 1.2rem/1 system-ui; }
#game :where(button, a):focus-visible { outline-color: #ffeaae; }
#game button { -webkit-tap-highlight-color: transparent; }

.game-table {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--board-width) minmax(0, 1fr);
  align-items: center; gap: 12px; min-width: 0; align-self: stretch; padding: 0 3%;
}
.scoreboard, .tactics { display: grid; gap: 8px; width: min(100%, 148px); justify-self: center; }
.tally {
  min-height: 41px; display: flex; gap: 8px; align-items: center; padding: 5px 10px;
  border-bottom: 1px solid #8abe9a65; font-size: .92rem; color: #e6f4df; font-weight: 670;
}
.tally strong { margin-left: auto; font-size: 1.25rem; line-height: 1; font-variant-numeric: tabular-nums; }
.tally.draws { color: #caddc9; }
.tally.current { background: #e4fac31a; color: #fff9db; border-bottom-color: #fae7a5; border-radius: 6px 6px 0 0; }
.medal { display: inline-grid; place-items: center; border-radius: 50%; width: 19px; height: 19px; flex: 0 0 19px; }
.medal.sun { background: var(--sun); color: #753b2d; }
.medal.ring { background: var(--ring); color: #63522c; }
.medal::before { content: ""; width: 47%; height: 47%; }
.medal.sun::before { background: currentColor; clip-path: polygon(50% 0,58% 34%,85% 15%,66% 42%,100% 50%,66% 58%,85% 85%,58% 66%,50% 100%,42% 66%,15% 85%,34% 58%,0 50%,34% 42%,15% 15%,42% 34%); }
.medal.ring::before { border: 1.5px solid currentColor; border-radius: 50%; }

.board-shell { position: relative; min-width: 0; padding: 0 8px 8px; isolation: isolate; }
.board-shell::before {
  content: ""; position: absolute; z-index: -1; inset: var(--marker) 0 0;
  border-radius: 18px; border: 1px solid #ccebd2; border-bottom-color: #326b52;
  background:
    radial-gradient(ellipse at 38% 0, #e0f6d5aa, transparent 65%),
    repeating-linear-gradient(112deg, #d7f0d633 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #bce2cc, #8dc8ae 54%, #6bad93);
  box-shadow: inset 0 2px #e8f6dfb0, inset 0 -7px #497c65, 0 8px #082e286e, 0 18px 34px #092d2682;
}
#board {
  position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  height: calc(var(--marker) + var(--board-rows));
  touch-action: none; user-select: none; -webkit-touch-callout: none; outline: none;
}
.column {
  min-width: 0; display: grid; grid-template-rows: var(--marker) repeat(6, var(--cell-y));
  gap: 0; appearance: none; padding: 0; border: 0; border-radius: 9px;
  background: transparent; color: #e3f2d4; -webkit-tap-highlight-color: transparent;
}
.marker {
  display: grid; place-items: center; height: var(--marker); position: relative;
}
.marker::before {
  content: ""; display: block; width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid #b7d7b4ab; background: #24574b;
}
.column.selected .marker::before {
  width: 15px; height: 10px; border: 0; background: var(--ring);
  clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 0;
}
.column.queued .marker::before { background: #fff2a5; }
.column.blocked .marker::before { background: #ff9a83; }
.socket {
  display: grid; min-height: 0; place-items: center;
  background: linear-gradient(90deg, #377f672b, transparent 13%, #f9ffe332 49%, transparent 76%, #3b856e29);
  border-inline: 1px solid #e6f4ce41;
}
.column.selected .socket {
  background: linear-gradient(90deg, #f8ffe232, #fffcdf75 50%, #f8ffe23b);
  border-inline-color: #f9ffdc7a;
}
.hole {
  position: relative; display: grid; place-items: center; border-radius: 50%;
  width: min(90%, calc(var(--cell-y) - 6px)); aspect-ratio: 1;
  background: radial-gradient(circle at 54% 76%, #3b7463, #255348 65%, #1c453c);
  box-shadow: inset 0 5px 6px #0e3735a1, inset 0 0 0 1px #254e438c, 0 1px 1px #e2f5d6e0, 0 0 0 2px #4c987d4c;
}
.column.blocked .socket:nth-child(2) .hole { outline: 2px solid #b84835; }
.hole.ghost::before, .hole.hinted::before, .hole.target::before {
  content: ""; position: absolute; inset: 9%; border: 2px solid var(--ring); border-radius: 50%; z-index: 1; pointer-events: none;
}
.hole.ghost::before { border-style: dashed; opacity: .63; }
.hole.queued::before { border-style: solid; background: #fff0b14f; opacity: 1; }
.hole.hinted::before { border-style: solid; border-width: 3px; background: #fcdd9f26; }
.hole.target::before { border: 3px dashed #d9ffbc; inset: 14%; opacity: 1; }
.hint-threat .hole.target::before { border-color: #ffb59b; background: #f3a49b24; }
.hint-threat .hole.target:not(.hinted)::after {
  content: ""; position: absolute; inset: 35%; pointer-events: none;
  background: linear-gradient(45deg, transparent 44%, #ffb59b 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, #ffb59b 44% 56%, transparent 56%);
}
.hole.hinted.target::before { border-style: solid; }
.coin {
  position: absolute; inset: 3%; display: grid; place-items: center; border-radius: 50%; pointer-events: none;
  border: 1px solid var(--rim); background: linear-gradient(147deg, var(--light), var(--fill) 66%, var(--edge));
  box-shadow: inset 0 2px 2px #fff9, inset 0 -3px 1px var(--rim), 0 2px 4px #0a362d99;
  color: var(--stamp);
}
.coin::before { content: ""; position: absolute; inset: 12%; border: 1px solid var(--rim); border-radius: 50%; box-shadow: 0 1px #fff6; }
.coin::after { content: ""; display: block; width: 43%; aspect-ratio: 1; }
.hole[data-side="0"] .coin { display: none; }
.hole[data-side="1"] .coin { --light: #ffc9a9; --fill: #f39574; --edge: #dd6d52; --rim: #a84c39; --stamp: #782f27; }
.hole[data-side="1"] .coin::after { background: currentColor; clip-path: polygon(50% 0,56% 35%,83% 12%,65% 43%,100% 50%,65% 57%,83% 88%,56% 65%,50% 100%,44% 65%,17% 88%,35% 57%,0 50%,35% 43%,17% 12%,44% 35%); }
.hole[data-side="2"] .coin { --light: #fff8cc; --fill: #f1e0a1; --edge: #e0c47b; --rim: #997648; --stamp: #665027; }
.hole[data-side="2"] .coin::after { border: clamp(1.7px, .34vw, 4px) solid currentColor; border-radius: 50%; }
.coin.flying { z-index: 4; animation: fall var(--flight) linear both; }
.is-paused .coin.flying { animation-play-state: paused; }
@keyframes fall {
  0% { transform: translateY(calc(-1 * var(--cell-y) * var(--fall-rows))); animation-timing-function: cubic-bezier(.39, .03, .81, .55); }
  81% { transform: translateY(3%) scaleY(.91); animation-timing-function: ease-out; }
  92% { transform: translateY(-6%) scaleY(1.03); }
  100% { transform: none; }
}
.hole.last .coin::before { border-color: var(--stamp); border-width: 2px; }
.hole.last::after {
  content: ""; position: absolute; inset: -2%; border: 2px solid #fff9db; border-radius: 50%;
  pointer-events: none; opacity: 0; animation: seat .22s ease-out both;
}
@keyframes seat { from { opacity: .85; } to { transform: scale(1.13); opacity: 0; } }
.hole.win .coin { z-index: 2; outline: 2px solid #fffbd9; outline-offset: 2px; }
.round-end .hole:not(.win) .coin { filter: saturate(.68) brightness(.9); }
.win-flash .board-shell { animation: nudge .36s ease-out; }
.win-flash .board-shell::before { animation: enamel-flash .52s ease-out; }
@keyframes nudge { 20% { transform: translateX(4px); } 35% { transform: translateX(-3px); } 55% { transform: translateX(1px); } }
@keyframes enamel-flash { 18% { filter: brightness(1.19); } }
#strike {
  position: absolute; z-index: 3; pointer-events: none; inset: var(--marker) 0 auto;
  width: 100%; height: calc(100% - var(--marker)); overflow: visible;
}
#strike line { stroke: #fff4bc; stroke-width: 3px; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 1px 2px #533b28); }
#particles { position: absolute; inset: var(--marker) 8px 8px; pointer-events: none; z-index: 5; overflow: hidden; }
#particles span {
  position: absolute; left: var(--x); top: var(--y); width: 5px; height: 5px; border-radius: 50%;
  background: var(--ring); animation: scatter .62s cubic-bezier(.16,.71,.54,1) both;
}
#particles span:nth-child(3n) { background: var(--sun); width: 8px; height: 3px; }
@keyframes scatter { to { transform: translate(var(--dx), var(--dy)) rotate(130deg); opacity: 0; } }

.start-layer, .pause-layer {
  position: absolute; z-index: 6; inset: var(--marker) 0 8px; display: grid; place-items: center;
  pointer-events: none; border-radius: 17px;
}
.start-layer button, .pause-layer { pointer-events: auto; }
.primary {
  min-width: 112px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 0 16px; border: 1px solid #fef9dd; border-bottom-color: #a48950; border-radius: 10px;
  background: #f9ebb1; color: #143b31; box-shadow: 0 4px #8d7447, 0 7px 15px #082c246b;
  font-weight: 850; white-space: nowrap;
}
.primary:hover { background: #fff4c6; }
.primary:active { transform: translateY(2px); box-shadow: 0 2px #8d7447; }
.start-layer .primary { min-height: 62px; min-width: 136px; font-size: 1.44rem; border-radius: 14px; }
.play-icon { width: 12px; height: 15px; background: currentColor; clip-path: polygon(0 0,100% 50%,0 100%); }
.pause-layer { background: #0c362bd9; }
.pause-card {
  width: min(289px, calc(100% - 14px)); padding: 10px; display: grid; justify-items: center; gap: 8px;
  background: #19493e; border: 1px solid #8db598; border-radius: 14px; box-shadow: 0 5px 18px #092d26a6;
}
.panel-title { font: 900 1.45rem/1.15 var(--display); letter-spacing: -.03em; }
.switches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; width: 100%; }
.switches button { border-color: #88ae947d; padding-inline: 4px; }
.change-mode { text-decoration: underline; text-underline-offset: .2em; }

.stage-footer { position: relative; display: grid; place-items: center; padding: 4px 12px 10px; min-width: 0; }
.turn-panel { text-align: center; }
.result-announcement { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
#status { font-size: clamp(1.05rem, 2.5vw, 1.3rem); color: #f7f4df; font-weight: 785; line-height: 1.24; }
#note { margin-top: 3px; color: #e0ecda; line-height: 1.3; font-size: .91rem; }
.result {
  position: absolute; z-index: 6; top: calc(var(--marker) + 7px); left: 50%; translate: -50% 0;
  width: min(calc(100% - 14px), 386px); display: flex; gap: 8px 18px; align-items: center; justify-content: space-between;
  padding: 5px 10px 8px; border: 1px solid #a3c6a9; border-radius: 13px; background: #103c34;
  box-shadow: 0 5px 16px #092d26a6;
}
.result.at-bottom { top: auto; bottom: 11px; }
.result .primary { min-height: 44px; }
.result-title { font: 900 clamp(1.15rem, 3.4vw, 1.55rem)/1.12 var(--display); letter-spacing: -.035em; color: #fff5cf; }
.result-detail { font-size: .85rem; line-height: 1.2; margin-top: 4px; color: #e1efdc; }
#game.less-motion *, #game.less-motion *::before, #game.less-motion *::after { animation: none !important; transition: none !important; }

.reading { max-width: 780px; margin: 0 auto; padding: 56px 24px 38px; }
.reading h1, .reading h2, .reading h3 { font-family: var(--display); font-weight: 900; line-height: 1.15; letter-spacing: -.035em; }
.reading h1 { font-size: clamp(2rem, 6vw, 3.9rem); }
.reading h2 { margin: 1.8em 0 .65em; font-size: clamp(1.34rem, 3vw, 2rem); }
.reading p, .reading ul, .reading ol { max-width: 68ch; margin-top: .9em; }
.reading li + li { margin-top: .55em; }
.reading .lead { font-size: 1.16rem; }
.reading .back { display: inline-flex; min-height: 44px; align-items: center; font-weight: 750; }
.reading details { border-bottom: 1px solid #748f79; padding: .5em 0; }
.reading summary { cursor: pointer; padding: .38em 0; min-height: 44px; font-weight: 750; }
.reading details p { margin: .25em 0 .7em; }
kbd { font: 650 .85em ui-monospace, monospace; background: #e6e9d8; border: 1px solid #aebfa3; border-radius: .24rem; padding: 0 .22em; }
.guide-figure { margin: 20px 0; max-width: 332px; }
.guide-board { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; background: #a4d5ba; padding: 10px; border: 1px solid #5b927b; border-radius: 12px; box-shadow: inset 0 -4px #69a08a; }
.guide-board span { display: grid; place-items: center; aspect-ratio: 1; background: #2b594b; border-radius: 50%; }
.guide-board .guide-sun { background: #f0a08a; border: 1px solid #a24f39; color: #74352d; }
.guide-board .guide-ring { background: #f1e2a8; border: 1px solid #9a7a4b; color: #655027; }
.guide-board .guide-sun::after { content: ""; width: 61%; height: 61%; background: currentColor; clip-path: polygon(50% 0,58% 34%,85% 15%,66% 42%,100% 50%,66% 58%,85% 85%,58% 66%,50% 100%,42% 66%,15% 85%,34% 58%,0 50%,34% 42%,15% 15%,42% 34%); }
.guide-board .guide-ring::after { content: ""; width: 47%; height: 47%; border: 2px solid currentColor; border-radius: 50%; }
.guide-board .line-cell { outline: 2px solid #fffbd9; }
.guide-figure figcaption { margin-top: 8px; font-size: .92rem; }
.site-footer {
  max-width: 1490px; margin: 0 auto; padding: 17px 24px max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid #b5c3a9; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 20px;
}
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.language-links { display: flex; flex-wrap: wrap; column-gap: 16px; }
.language-links a[aria-current="page"] { text-decoration-thickness: .14em; }
.home .brand { min-width: 0; }
.home .guide-link { flex: 0 0 auto; }

@media (min-width: 851px) and (min-height: 521px) and (max-height: 680px) {
  .masthead { min-height: 56px; padding-block: max(4px, env(safe-area-inset-top)) 4px; }
  .brand h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
  #game { --marker: 20px; grid-template-rows: 52px auto minmax(54px, auto); }
}

@media (max-width: 850px) and (min-height: 521px), (max-width: 640px) and (orientation: portrait), (max-width: 559px) {
  #game {
    --board-rows: max(60.25dvh, calc(100dvh - 280px));
    grid-template-rows: 52px auto minmax(52px, auto);
  }
  .stage-bar { padding-inline: 12px; }
  .pause-button, .settings-button { right: 12px; }
  .game-table {
    justify-items: center; grid-template-columns: minmax(0, 1fr);
    gap: 3px; padding: 0 5px;
  }
  .scoreboard { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .tally { min-height: 29px; padding: 3px 6px; border-bottom-color: #91bda787; }
  .board-shell { width: 100%; }
  .tactics { width: min(100%, 440px); display: flex; justify-content: center; }
  .tactics button { flex: 1; max-width: 140px; }
  .court-lines { inset: 78px 12px 77px; }
}

@media (max-width: 530px) {
  .masthead { min-height: 52px; padding: env(safe-area-inset-top) max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left)); }
  .brand { gap: 8px; }
  .brand img { width: 33px; height: 33px; }
  .guide-link { font-size: .9rem; }
  #game {
    --marker: 20px;
    width: calc(100% - max(5px, env(safe-area-inset-left)) - max(5px, env(safe-area-inset-right))); border-radius: 16px;
    grid-template-rows: 49px auto minmax(50px, auto);
  }
  .board-shell { padding-inline: 4px; padding-bottom: 6px; }
  .board-shell::before, .start-layer, .pause-layer { border-radius: 12px; }
  .court-lines { inset: 62px 5px 57px; }
  .stage-bar { padding-inline: 6px 55px; }
  .match-options { gap: 2px; }
  .match-options button { padding-inline: .42rem; font-size: .85rem; }
  .tally { gap: 5px; font-size: .83rem; }
  .pause-button, .settings-button { right: 5px; padding-inline: .5rem; }
  #note { font-size: .86rem; }
  .stage-footer { padding: 2px 6px 7px; }
  .reading { padding-inline: 16px; }
  html:not(:lang(en)) .home .brand h1 { font-size: clamp(1.42rem, 6vw, 2rem); }
  html:not(:lang(en)) #game .match-options button { padding-inline: .33rem; }
  html:not(:lang(en)) #game .current-match { padding-inline: 9px; }
  html:not(:lang(en)) #game .result { gap: 8px; }
  html:not(:lang(en)) #game .result .primary { padding-inline: .75rem; }
}

@media (min-width: 560px) and (max-height: 520px) and (orientation: landscape) {
  .masthead { min-height: 48px; padding-block: env(safe-area-inset-top) 0; }
  .brand h1 { font-size: 2rem; }
  .brand img { width: 27px; height: 27px; }
  #game {
    --marker: 21px;
    --board-rows: max(176px, calc(100dvh - 133px));
    --board-width: min(63vw, calc(100% - 220px));
    grid-template-rows: 49px auto; border-radius: 15px;
  }
  .pause-button, .settings-button { right: 8px; }
  .game-table { gap: 7px; padding: 0 3% 12px; }
  .court-lines { inset: 54px 15px 15px; }
  .tally { min-height: 26px; padding-block: 0; }
  .stage-footer { position: absolute; right: 7px; bottom: 8px; width: 15%; padding: 3px; }
  .tactics { align-self: start; padding-top: 10px; }
  .turn-panel { background: #134a42; border-radius: 5px; padding: 2px 3px; }
  .pause-card { gap: 3px; padding: 5px; }
}

@media (min-width: 560px) and (max-width: 710px) and (max-height: 520px) and (orientation: landscape) {
  #game {
    --board-width: min(65vw, calc(100% - 160px));
    width: calc(100% - max(6px, env(safe-area-inset-left)) - max(6px, env(safe-area-inset-right)));
  }
  .game-table { gap: 5px; padding-inline: 7px; }
  .tally, .tactics button { padding-inline: 5px; gap: 5px; }
}

@media (min-width: 560px) and (max-height: 380px) and (orientation: landscape) {
  .pause-card { grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 6px; }
  .pause-card .panel-title, .pause-card .switches, .pause-card [data-act="close-settings"] { grid-column: span 2; }
  .pause-card [data-act="resume"] { grid-row: 3; }
}

@media (prefers-reduced-motion: reduce) {
  #game *, #game *::before, #game *::after { animation: none !important; transition: none !important; }
}
