html[data-ludik-theme="comic"] .surface:has(> #content[data-game="crash"]) > #live-strip {
  display: none;
}

html[data-ludik-theme="comic"] #content[data-game="crash"] {
  --crash-u: min(1px, .05988vw);
  --crash-ink: #130e0d;
  --crash-cream: #fff4d9;
  --crash-yellow: #ffed05;
  --crash-pink: #f50082;
  --crash-mint: #80f8bb;
  --crash-print: url("/redesign-art/paper.webp");
  --crash-display: Impact, "Arial Narrow", "Roboto Condensed", sans-serif;
  --crash-pad: max(11px, calc(18 * var(--crash-u)));
  --crash-rip: polygon(
    1% 4%, 2.5% 3%, 3.6% .8%, 5.1% 1.7%, 6.5% 1.1%, 8.3% 2.3%, 10.6% 1%,
    12.6% 1.8%, 14.1% .6%, 15.4% 1.5%, 17.1% .9%, 19.9% 2.2%, 22.4% .9%,
    24.4% 1.7%, 26.2% .3%, 27.7% 1.4%, 29.9% .7%, 31.8% 1.8%, 34.1% .4%,
    36.6% 2%, 37.7% 1%, 40.3% 1.9%, 43.4% .5%, 45% 1.6%, 47.4% .7%, 49.7% 2%,
    52.3% .4%, 54.9% 1.7%, 57% .8%, 60% 1.6%, 62% .3%, 64.4% 2%, 67.8% .8%,
    70.3% 2.1%, 73.3% .6%, 75.7% 1.7%, 78% .4%, 80% 1.8%, 82.6% 1%, 85% 2%,
    87.9% .5%, 90.2% 1.7%, 92.7% .6%, 94.8% 1.6%, 96.3% .7%, 98.8% 2%,
    99.2% 5%, 98.8% 8%, 99.7% 11%, 99.1% 14%, 99.7% 17%, 98.9% 20%, 99.7% 23%,
    99% 26%, 99.9% 29%, 99.2% 33%, 99.7% 36%, 99% 40%, 99.6% 43%, 99% 46%,
    99.8% 49%, 99.2% 53%, 99.8% 57%, 99.1% 60%, 99.8% 64%, 99.1% 67%,
    99.7% 70%, 99% 73%, 99.6% 77%, 99% 80%, 99.8% 84%, 99.1% 87%, 99.7% 91%,
    98.8% 94%, 99.5% 96.5%, 98% 98.6%, 95.6% 98.1%, 93.6% 99.6%, 91.4% 98.1%,
    89.1% 99.3%, 86.2% 98.3%, 84.6% 99.7%, 82.1% 98%, 79.5% 99%, 77% 98%,
    74.1% 99.8%, 71.7% 98.5%, 69.8% 99.6%, 67% 98.2%, 64.5% 99.4%, 62.1% 98.3%,
    59.8% 99.8%, 57.3% 98.2%, 54.5% 99.8%, 52.2% 98.7%, 50% 99.6%, 47.7% 98.1%,
    45.3% 99.5%, 43% 98.4%, 40.4% 99.6%, 37.9% 98.3%, 35% 99.9%, 32.6% 98.4%,
    30.2% 99.8%, 27.9% 98.5%, 25.6% 99.5%, 22.8% 98.3%, 20.2% 99.6%, 17.6% 98.2%,
    15.6% 99.3%, 12.9% 98.3%, 10.4% 99.9%, 8% 98.5%, 5.7% 99.6%, 4.4% 98.4%,
    2.5% 98.8%, .9% 96.8%, 1.1% 93%, .2% 90%, .9% 87%, .1% 84%, .8% 80%,
    0% 77%, .9% 74%, .2% 71%, .9% 67%, .2% 63%, 1% 60%, .1% 57%, .9% 53%,
    .1% 49%, .8% 46%, 0% 42%, .8% 39%, .3% 35%, 1% 31%, .2% 28%, 1% 24%,
    .3% 21%, 1.1% 18%, .4% 14%, 1.2% 11%, .5% 7%
  );
  --crash-burst: polygon(
    1% 27%, 5% 22%, 2% 18%, 14% 13%, 13% 9%, 22% 8%, 25% 2%, 34% 7%, 41% 3%,
    48% 6%, 53% 0%, 59% 4%, 63% 1%, 70% 5%, 77% 0%, 79% 5%, 88% 1%, 91% 5%,
    98.5% 1%, 97% 16%, 100% 18%, 97% 29%, 100% 32%, 97% 44%, 99% 48%, 96% 61%,
    98% 65%, 95% 75%, 97% 79%, 88% 85%, 85% 92%, 79% 90%, 74% 97%, 68% 93%,
    62% 99%, 56% 94%, 50% 99%, 44% 95%, 38% 100%, 33% 95%, 26% 99%, 23% 94%,
    17% 99%, 14% 94%, 6% 99%, 8% 89%, 0% 92%, 5% 75%, 1% 75%, 4% 60%, 0% 58%,
    4% 45%, 0% 47%, 4% 33%
  );
  --lg-paper: var(--crash-cream);
  --lg-text: var(--crash-ink);
  --lg-mint: var(--crash-mint);
  --lg-yellow: var(--crash-yellow);
  --lg-accent: var(--crash-pink);
  --lg-plate: #fff0c5;
  --lg-muted: #584238;
  --lg-input: var(--crash-mint);
  --lg-panel: var(--crash-cream);
  width: min(100%, 1670px);
  padding: max(3px, calc(9 * var(--crash-u))) var(--crash-pad) clamp(24px, 3vw, 42px);
  background: #fc0739 url("/redesign-art/plinko-pf01-paper.webp") 2px 1px / 301px 313px repeat;
  color: var(--crash-ink);
  color-scheme: light;

  & .crash-comic { gap: clamp(12px, 1.2vw, 20px); }
  & .crash-comic .crash-layout {
    position: relative;
    grid-template-columns: minmax(0, 2.08fr) minmax(0, 1fr);
    column-gap: max(10px, calc(16 * var(--crash-u)));
    grid-template-areas: "field controls" "history controls";
    grid-template-rows: max-content 1fr;
    row-gap: max(9px, calc(12 * var(--crash-u)));
    align-items: start;
  }
  & .crash-comic .crash-main { grid-area: field; }
  & .crash-comic #crash-controls { grid-area: controls; }
  & .crash-comic-receipts {
    grid-area: history;
    display: grid;
    min-width: 0;
    gap: 9px;
  }
  & .crash-comic .crash-main { gap: max(9px, calc(12 * var(--crash-u))); }
  & .crash-comic-marquee {
    position: relative;
    z-index: 2;
    height: calc(157 * var(--crash-u));
    min-height: 88px;
    margin-bottom: calc(-12 * var(--crash-u));
    pointer-events: none;
  }

  & .crash-comic-title {
    position: absolute;
    top: 16%;
    left: .8%;
    display: grid;
    place-items: center;
    isolation: isolate;
    width: 45%;
    aspect-ratio: 2.31;
    margin: 0;
    padding: 0 6% 4% 3%;
    color: var(--crash-ink);
    font: italic 900 calc(170 * var(--crash-u))/.89 var(--crash-display);
    font-synthesis: style;
    letter-spacing: -.045em;
    transform: rotate(-9deg);
  }
  & .crash-comic-title::before,
  & .crash-comic-title::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--crash-ink);
    clip-path: var(--crash-burst);
    content: "";
  }
  & .crash-comic-title::after {
    inset: max(2px, calc(4 * var(--crash-u)));
    background: var(--crash-yellow) var(--crash-print) center / 310px;
    background-blend-mode: soft-light;
  }
  & .crash-comic-title span {
    position: relative;
    padding-inline-end: .05em;
    transform: skewX(-4deg);
  }
  & .crash-comic-title span::after {
    position: absolute;
    inset: auto 2% -.13em 14%;
    height: .10em;
    background: var(--crash-pink);
    clip-path: polygon(0 88%, 5% 28%, 76% 0, 99% 32%, 100% 57%, 46% 57%, 2% 100%);
    content: "";
  }

  & .crash-comic-bolt {
    --crash-bolt: polygon(60% 0, 2% 59%, 39% 56%, 8% 100%, 100% 31%, 57% 39%);
    position: absolute;
    z-index: -1;
    width: 11%;
    aspect-ratio: .94;
    transform: rotate(-10deg);
    filter: drop-shadow(2px 2px var(--crash-ink));
    pointer-events: none;
  }
  & .crash-comic-bolt::before, & .crash-comic-bolt::after {
    position: absolute;
    inset: 0;
    background: var(--crash-ink);
    clip-path: var(--crash-bolt);
    content: "";
  }
  & .crash-comic-bolt::after { inset: 5%; background: var(--crash-yellow); }
  & .crash-comic-bolt--top { inset: 12% 1% auto auto; }
  & .crash-comic-bolt--bottom { right: 1%; bottom: -5%; width: 28%; aspect-ratio: 1.72; transform: rotate(12deg); }

  & .crash-comic :is(.crash-stage, .crash-comic-console, .crash-comic-secondary, .crash-history, #crash-info) {
    position: relative;
    isolation: isolate;
    color: var(--crash-ink);
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  & .crash-comic :is(.crash-stage, .crash-comic-console, .crash-comic-secondary, .crash-history, #crash-info)::before,
  & .crash-comic :is(.crash-stage, .crash-comic-console, .crash-comic-secondary, .crash-history, #crash-info)::after {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: var(--crash-ink);
    clip-path: var(--crash-rip);
    pointer-events: none;
    content: "";
  }
  & .crash-comic :is(.crash-stage, .crash-comic-console, .crash-comic-secondary, .crash-history, #crash-info)::after {
    z-index: -1;
    inset: max(2px, calc(4 * var(--crash-u)));
    background: linear-gradient(#fffae9e3, #fffae9e3), var(--crash-print) center / 390px auto, var(--crash-cream);
  }
  & .crash-comic .crash-stage {
    z-index: 1;
    min-height: 0;
    padding: 0;
    overflow: visible;
    --crash-color: var(--crash-ink);
    --crash-balloon-fill: var(--crash-yellow);
  }
  & .crash-comic .crash-stage:is([data-crash-phase="running"], [data-crash-phase="settled"]) {
    --crash-balloon-fill: var(--crash-point-fill, var(--crash-yellow));
    --crash-balloon-ink: var(--crash-point-ink, var(--crash-ink));
  }
  & .crash-comic .crash-stage canvas {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.89;
    min-height: 300px;
  }

  & .crash-comic .crash-stage-copy {
    inset: 5.8% auto auto 44%;
    z-index: 1;
    width: max-content;
    max-width: 33%;
    gap: 3px;
    align-items: center;
  }
  & .crash-comic .crash-multiplier::before,
  & .crash-comic .crash-multiplier::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--crash-ink);
    clip-path: var(--crash-burst);
    content: "";
  }
  & .crash-comic .crash-phase {
    padding: .25em .66em;
    border: 2px solid var(--crash-ink);
    border-radius: 3px 7px 3px 7px;
    background: var(--crash-mint);
    color: var(--crash-ink);
    font: italic 800 clamp(12px, 1.2vw, 20px)/1.2 var(--crash-display);
    font-synthesis: style;
  }
  & .crash-comic .crash-stage-copy p {
    max-width: 27ch;
    color: #513c32;
    font-size: clamp(10px, .8vw, 13px);
    line-height: 1.15;
  }
  & .crash-comic .crash-stage[data-crash-phase="running"] .crash-stage-copy p,
  & .crash-comic .crash-stage[data-crash-phase="running"] .crash-phase,
  & .crash-comic .crash-stage[data-crash-phase="settled"] .crash-stage-copy p,
  & .crash-comic .crash-stage[data-crash-phase="betting"] .crash-stage-copy p {
    display: none;
  }

  & .crash-comic .crash-multiplier {
    --crash-balloon: polygon(
      0% 26%, 11% 19%, 9% 13%, 21% 14%, 23% 7%, 31% 10%, 38% 3%, 43% 7%, 49% 2%,
      54% 6%, 62% 0%, 67% 5%, 76% 2%, 79% 7%, 85% 4%, 89% 8%, 100% 5%,
      96% 20%, 99% 25%, 95% 38%, 98% 44%, 93% 57%, 95% 62%, 87% 73%,
      84% 69%, 76% 79%, 69% 76%, 65% 84%, 58% 81%, 51% 90%, 46% 85%, 39% 92%,
      34% 88%, 23% 95%, 19% 92%, 7% 100%, 9% 88%, 0% 90%, 5% 70%, 0% 72%,
      4% 50%, 1% 50%, 7% 35%
    );
    position: absolute;
    z-index: 2;
    right: 2.7%;
    top: 7%;
    isolation: isolate;
    padding: .23em .42em .30em;
    color: var(--crash-balloon-ink, var(--crash-ink));
    background: none;
    font: italic 900 clamp(36px, 5.3vw, 84px)/1 var(--crash-display);
    font-synthesis: style;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.045em;
    transform: rotate(-7deg);
    pointer-events: none;
  }
  & .crash-comic .crash-multiplier::before,
  & .crash-comic .crash-multiplier::after { clip-path: var(--crash-balloon); }
  & .crash-comic .crash-multiplier::after {
    inset: max(2px, calc(4 * var(--crash-u)));
    background: var(--crash-balloon-fill) var(--crash-print) center / 280px;
    background-blend-mode: soft-light;
  }
  & .crash-comic .crash-stage:is([data-crash-phase="running"], [data-crash-phase="settled"]) .crash-multiplier {
    top: var(--crash-point-y, 80%);
    left: var(--crash-point-x, 15%);
    right: auto;
    transform-origin: 0 100%;
    transform: translate(0, -110%) rotate(-7deg);
  }
  & .crash-comic .crash-stage[data-crash-point-right]:is([data-crash-phase="running"], [data-crash-phase="settled"]) .crash-multiplier {
    transform-origin: 100% 100%;
    transform: translate(-100%, -110%) rotate(-7deg);
  }
  & .crash-comic-pointer {
    --crash-pointer-height: clamp(13px, 2vw, 31px);
    --crash-pointer-edge: polygon(8% 0, 100% 0, 0 100%);
    position: absolute;
    z-index: 1;
    top: calc(var(--crash-point-y) - var(--crash-pointer-height) - 5px);
    left: calc(var(--crash-point-x) + 1px);
    display: none;
    height: var(--crash-pointer-height);
    width: clamp(9px, 1.6vw, 24px);
    background: var(--crash-ink);
    clip-path: var(--crash-pointer-edge);
    pointer-events: none;
  }
  & .crash-comic-pointer::after {
    position: absolute;
    inset: 0 3px 5px 3px;
    background: var(--crash-balloon-fill);
    clip-path: var(--crash-pointer-edge);
    content: "";
  }
  & .crash-comic .crash-stage:is([data-crash-phase="running"], [data-crash-phase="settled"]) .crash-comic-pointer {
    display: block;
  }
  & .crash-comic .crash-stage[data-crash-point-right] .crash-comic-pointer { transform: translateX(-100%) scaleX(-1); }
  & .crash-comic .crash-stage[data-crash-phase="settled"] .crash-multiplier { animation: crash-stop-stamp 380ms ease-out; }

  & .crash-comic .crash-history {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: max(7px, calc(24 * var(--crash-u)));
    min-height: calc(116 * var(--crash-u));
    padding: max(7px, calc(12 * var(--crash-u))) max(9px, calc(30 * var(--crash-u)));
  }
  & .crash-comic .crash-history-points {
    gap: max(5px, calc(14 * var(--crash-u)));
    padding: 4px 3px;
    scrollbar-color: #867160 transparent;
  }
  & .crash-comic .crash-history-points li {
    border: 0;
    border-radius: clamp(6px, .85vw, 15px);
    background: none;
    color: var(--crash-ink);
    font: italic 900 clamp(17px, 2.18vw, 36px)/1 var(--crash-display);
    font-synthesis: style;
  }
  & .crash-comic .crash-history-points button {
    min-width: clamp(63px, 8.6vw, 145px);
    min-height: 44px;
    padding: .15em .40em .22em;
    border: max(2px, calc(4 * var(--crash-u))) solid var(--crash-ink);
    background: var(--crash-mint);
    box-shadow: inset 0 0 0 2px #286d4938;
    touch-action: manipulation;
    transition: transform 145ms ease, background-color 145ms ease;
  }
  & .crash-comic .crash-history-points li[data-tone="high"] button { background: var(--crash-yellow); }
  & .crash-comic .crash-history-points button:active { transform: scale(.94); }

  & .crash-comic #crash-controls {
    display: grid;
    gap: max(8px, calc(16 * var(--crash-u)));
    margin-top: calc(64 * var(--crash-u));
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  & .crash-comic .crash-comic-console {
    gap: max(8px, calc(14 * var(--crash-u)));
    align-content: start;
    min-height: calc(724 * var(--crash-u));
    padding: calc(50 * var(--crash-u)) calc(38 * var(--crash-u)) calc(36 * var(--crash-u));
    --crash-rip: polygon(
      .9% 4%, 2.7% 2%, 6.1% 3.3%, 9% 3.1%, 12.7% 2.3%, 16.8% 2.9%, 20.2% .3%, 23% 2%,
      26.3% 2.3%, 29% 1.4%, 33.2% 2.2%, 36.5% 1.3%, 40.1% 2.5%, 44.9% .7%, 47.6% 2.2%,
      51.2% 2.4%, 54.9% 1.6%, 58% 2.3%, 62.1% 1.1%, 65.7% 2.8%, 69.8% 3.3%, 74.3% 2%,
      78.1% 2.4%, 82.4% 1.1%, 85.6% 2.6%, 90% 2.2%, 93.2% 1%, 96% 2.6%, 98.5% 1.8%,
      99.5% 4%, 98.6% 7%, 100% 11%, 99% 14%, 99.8% 18%, 98.8% 22%, 99.7% 26%, 99% 29%,
      99.8% 33%, 98.8% 37%, 99.6% 41%, 98.9% 45%, 100% 49%, 99.1% 53%, 99.8% 57%, 98.8% 61%,
      99.8% 65%, 98.9% 69%, 99.6% 73%, 98.7% 77%, 99.8% 82%, 98.7% 86%, 99.7% 90%,
      98.9% 94%, 99.4% 97%, 96.5% 98.5%, 92.8% 97.5%, 90% 99%, 86.2% 98.2%, 82.5% 99.5%,
      79% 98.7%, 75.2% 97.9%, 71% 99%, 67% 97.6%, 63% 99%, 60.1% 98%, 56.8% 99.7%,
      53% 98.6%, 48.7% 99.4%, 44.4% 98.4%, 41% 99.3%, 37% 98.2%, 33.7% 99.5%, 29.5% 98%,
      25.5% 99.2%, 22% 98.3%, 18.8% 99.5%, 15% 98.2%, 10.8% 99.3%, 7% 98.5%, 3% 99.1%,
      .2% 97%, 1.6% 94%, .7% 90%, 1.7% 86%, .4% 82%, 1.2% 78%, .2% 74%, 1.1% 70%,
      0% 66%, 1.2% 62%, .2% 58%, 1.2% 53%, .2% 49%, 1.4% 45%, .1% 41%, 1.3% 37%,
      .5% 32%, 1.5% 29%, .4% 25%, 1.7% 22%, .4% 18%, 1.4% 14%, .1% 10%, 1.4% 7%
    );
  }
  & .crash-comic #crash-controls :is(#crash-actions, [data-form="crash-bet"], [data-form="crash-next-bet"]) {
    grid-template-columns: minmax(0, 1fr);
    gap: max(9px, calc(37 * var(--crash-u)));
  }
  & .crash-comic #crash-controls .crash-comic-wager-field {
    --crash-wager-stroke: max(2px, calc(5 * var(--crash-u)));
    --crash-wager-height: max(calc(44px + 2 * var(--crash-wager-stroke)), calc(86 * var(--crash-u)));
    --crash-wager-radius: clamp(11px, 1.4vw, 23px);
    --crash-step-size: max(45px, calc(72 * var(--crash-u)));
    position: relative;
    display: grid;
    grid-template: "caption" auto "value" auto / minmax(0, 1fr);
    min-width: 0;
    gap: max(8px, calc(23 * var(--crash-u)));
  }
  & .crash-comic #crash-controls .crash-comic-field-label {
    position: relative;
    grid-area: caption;
    justify-self: start;
    font: italic 900 clamp(22px, 3.1vw, 52px)/1 var(--crash-display);
    font-synthesis: style;
    letter-spacing: -.008em;
    transform: rotate(-3deg);
  }
  & .crash-comic .crash-comic-field-label::after {
    position: absolute;
    inset: auto 1% -.26em 11%;
    height: .20em;
    background: var(--crash-pink);
    clip-path: polygon(0 76%, 4% 35%, 43% 3%, 78% 0%, 100% 37%, 63% 46%, 28% 61%, 0 100%);
    content: "";
  }
  & .crash-comic #crash-controls :is(.crash-comic-wager-number input, .crash-comic-wager-value) {
    min-width: 0;
    width: 100%;
    margin: 0;
    color: var(--crash-ink);
    font: italic 900 clamp(23px, 3.4vw, 57px)/1.1 var(--crash-display);
    font-synthesis: style;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.025em;
    text-align: center;
  }
  & .crash-comic #crash-controls .crash-comic-wager-value {
    grid-area: value;
    display: grid;
    place-items: center;
    min-height: var(--crash-wager-height);
    padding: .1em .3em;
    border: var(--crash-wager-stroke) solid var(--crash-ink);
    border-radius: var(--crash-wager-radius);
    background: var(--crash-mint);
    box-shadow: inset 0 0 0 max(1px, calc(3 * var(--crash-u))) #286d4938;
  }
  & .crash-comic .crash-comic-wager-steps {
    grid-area: value;
    display: grid;
    grid-template-columns: var(--crash-step-size) minmax(0, 1fr) var(--crash-step-size);
    min-height: var(--crash-wager-height);
    border: var(--crash-wager-stroke) solid var(--crash-ink);
    border-radius: var(--crash-wager-radius);
    overflow: hidden;
    background: var(--crash-mint);
    box-shadow: inset 0 0 0 max(1px, calc(3 * var(--crash-u))) #286d4938;
  }
  & .crash-comic .crash-comic-wager-number {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    container-type: inline-size;
  }
  & .crash-comic #crash-controls .crash-comic-wager-number input {
    display: block;
    min-height: 0;
    padding: 0 .14em .04em;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(16px, min(max(23px, 3.4vw), 18cqi), 57px);
    appearance: textfield;
  }
  & .crash-comic .crash-comic-wager-number input::placeholder { color: #276445; opacity: 1; }
  & .crash-comic .crash-comic-wager-number input::-webkit-inner-spin-button,
  & .crash-comic .crash-comic-wager-number input::-webkit-outer-spin-button { appearance: none; margin: 0; }
  & .crash-comic .crash-comic-unit {
    align-self: center;
    padding-inline-end: .5em;
    color: var(--crash-ink);
    font: italic 900 clamp(14px, 1.75vw, 27px)/1 var(--crash-display);
    pointer-events: none;
  }
  & .crash-comic .crash-comic-wager-steps button {
    padding: 0;
    border: 0;
    border-inline-end: var(--crash-wager-stroke) solid var(--crash-ink);
    border-radius: 0;
    background: var(--crash-mint);
    color: var(--crash-ink);
    font: 850 clamp(21px, 2.2vw, 34px)/1 system-ui, sans-serif;
    pointer-events: auto;
    touch-action: manipulation;
  }
  & .crash-comic .crash-comic-wager-steps button:last-child {
    border-inline-end: 0;
    border-inline-start: var(--crash-wager-stroke) solid var(--crash-ink);
  }
  & .crash-comic .crash-comic-wager-steps button:active:not(:disabled),
  & .crash-comic .crash-comic-wager-steps button:focus-visible {
    background: var(--crash-yellow);
  }
  & .crash-comic #crash-controls .crash-comic-wager-steps :is(input, button):focus-visible {
    outline-offset: -3px;
  }
  & .crash-comic .crash-comic-wager-steps [data-action="crash-stake-step"] {
    display: grid;
    place-items: center;
    min-width: 0;
    cursor: pointer;
  }
  & .crash-comic .crash-comic-wager-steps [data-action="crash-stake-step"]:disabled {
    cursor: default;
  }
  & .crash-comic #crash-controls .crash-comic-profit {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 10px;
    margin: calc(-1 * clamp(4px, .65vw, 10px)) 0 0;
    color: var(--crash-ink);
    font: 750 clamp(13px, 1.02vw, 18px)/1.3 var(--crash-display);
  }
  & .crash-comic #crash-controls .crash-comic-profit > output {
    color: #194b32;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
  }
  & .crash-comic .crash-stake-stamp {
    --crash-stamp-shape: polygon(2% 17%, 23% 14%, 31% 2%, 50% 9%, 68% 5%, 74% 13%, 95% 8%, 92% 26%, 100% 43%, 92% 55%, 96% 75%, 79% 77%, 68% 94%, 52% 87%, 35% 98%, 29% 87%, 8% 92%, 13% 68%, 0 58%, 9% 42%);
    --crash-stamp-paper: #ffea58;
    --crash-stamp-tilt: -8deg;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: min(85%, 54px);
    aspect-ratio: 1.12;
    padding-bottom: .05em;
    font: italic 850 clamp(17px, 1.9vw, 29px)/1 var(--crash-display);
    font-synthesis: style;
    letter-spacing: .01em;
    filter: drop-shadow(1px 1px var(--crash-ink));
    transform: rotate(var(--crash-stamp-tilt));
    transition: transform 130ms ease;
    pointer-events: none;
  }
  & .crash-comic [data-action="crash-stake-step"][data-value="double"] .crash-stake-stamp {
    --crash-stamp-shape: polygon(3% 22%, 20% 18%, 27% 3%, 40% 13%, 57% 6%, 64% 15%, 83% 4%, 87% 19%, 100% 19%, 93% 37%, 100% 51%, 93% 60%, 96% 81%, 78% 81%, 68% 98%, 55% 89%, 40% 98%, 33% 86%, 13% 93%, 15% 75%, 0 70%, 9% 54%, 0 42%, 11% 35%);
    --crash-stamp-paper: #ff8abb;
    --crash-stamp-tilt: 6deg;
  }
  & .crash-comic .crash-stake-stamp::before,
  & .crash-comic .crash-stake-stamp::after {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--crash-ink);
    clip-path: var(--crash-stamp-shape);
    content: "";
  }
  & .crash-comic .crash-stake-stamp::after {
    inset: max(1.5px, calc(2.5 * var(--crash-u)));
    z-index: -1;
    background: radial-gradient(#130e0d33 .56px, transparent .76px) 0 0 / 3px 3px, var(--crash-stamp-paper);
  }
  @media (hover: hover) {
    & .crash-comic .crash-comic-wager-steps [data-action="crash-stake-step"]:hover:not(:disabled) {
      background: #d1f9d7;
    }
    & .crash-comic [data-action="crash-stake-step"]:hover:not(:disabled) .crash-stake-stamp {
      transform: rotate(0) scale(1.05);
    }
  }
  & .crash-comic [data-action="crash-stake-step"]:active:not(:disabled) .crash-stake-stamp {
    transform: translateY(2px) rotate(0) scale(.92);
    filter: none;
  }
  & .crash-comic #crash-controls .crash-comic-bet-lock { display: none; }
  & .crash-comic #crash-controls .crash-comic-primary:disabled:has(.crash-comic-bet-lock) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .38em;
    opacity: 1;
  }
  & .crash-comic #crash-controls .crash-comic-primary:disabled:has(.crash-comic-bet-lock)::after {
    background-color: #e9d9a4;
  }
  & .crash-comic #crash-controls .crash-comic-primary:disabled .crash-comic-bet-lock {
    position: relative;
    display: block;
    flex: none;
    width: .54em;
    height: .41em;
    margin-block-start: .14em;
    border-radius: 12%;
    background: var(--crash-ink);
  }
  & .crash-comic #crash-controls .crash-comic-primary[data-crash-duplicate] {
    font-size: clamp(21px, 2.8vw, 43px);
  }
  & .crash-comic #crash-controls .crash-comic-primary[data-crash-duplicate] .crash-comic-bet-lock { display: none; }
  & .crash-comic .crash-comic-bet-lock::before {
    position: absolute;
    inset: -.24em 16% auto;
    height: .29em;
    border: max(2px, .061em) solid var(--crash-ink);
    border-radius: 50% 50% 0 0;
    content: "";
  }

  & .crash-comic #crash-controls form[data-form="crash-auto"] fieldset.form {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
  & .crash-comic #crash-controls .crash-auto-help-field { position: relative; min-width: 0; }
  & .crash-comic #crash-controls .crash-auto-help-field > label { padding-inline-start: 29px; }
  & .crash-comic #crash-controls .crash-auto-help-field > label :is(input, select) {
    width: calc(100% + 29px);
    margin-inline-start: -29px;
  }
  & .crash-comic #crash-controls details.crash-auto-help {
    margin: 0;
    border: 0;
    background: none;
  }
  & .crash-comic #crash-controls .crash-auto-help > summary {
    position: absolute;
    z-index: 1;
    inset: 0 auto auto 0;
    display: grid;
    place-items: center;
    width: 25px;
    min-height: 25px;
    padding: 0;
    border: 2px solid var(--crash-ink);
    border-radius: 50%;
    background: var(--crash-yellow);
    color: var(--crash-ink);
    font: italic 900 15px/1 system-ui, sans-serif;
    list-style: none;
  }
  & .crash-comic #crash-controls .crash-auto-help > summary::-webkit-details-marker { display: none; }
  & .crash-comic #crash-controls .crash-comic-wager-field > .crash-auto-help {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  & .crash-comic #crash-controls .crash-comic-wager-field > .crash-auto-help > :is(summary, p) {
    pointer-events: auto;
  }
  & .crash-comic #crash-controls .crash-comic-wager-field > .crash-auto-help > summary {
    width: 30px;
    min-height: 30px;
  }
  & .crash-comic #crash-controls .crash-comic-wager-field:has(> .crash-auto-help) .crash-comic-field-label {
    margin-inline-start: 38px;
  }
  & .crash-comic #crash-controls .crash-auto-help[open] > summary { background: var(--crash-mint); }
  & .crash-comic #crash-controls .crash-auto-help > p {
    position: absolute;
    z-index: 3;
    inset: 29px auto auto 0;
    width: clamp(170px, 100%, 375px);
    margin: 0;
    padding: .6rem .7rem;
    border: 2px solid var(--crash-ink);
    border-radius: 3px;
    background: #fff7db;
    box-shadow: 3px 3px 0 var(--crash-ink);
    color: var(--crash-ink);
    font-size: .82rem;
    line-height: 1.42;
  }
  & .crash-comic #crash-controls .crash-auto-help-field:nth-child(2) > .crash-auto-help > p {
    inset-inline: auto 0;
  }
  & .crash-comic #crash-controls .auto-series-status { color: var(--crash-ink); }
  & .crash-comic #crash-controls .button.crash-comic-primary {
    --crash-button-cut: polygon(6% 7%, 96% 0%, 100% 13%, 94% 93%, 4% 100%, 0 86%);
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    isolation: isolate;
    width: 100%;
    min-height: max(68px, calc(186 * var(--crash-u)));
    margin: max(3px, calc(14 * var(--crash-u))) 0 0;
    padding: .34em .42em;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    clip-path: var(--crash-button-cut);
    color: var(--crash-ink);
    font: italic 900 clamp(25px, 3.53vw, 59px)/1.05 var(--crash-display);
    font-synthesis: style;
    letter-spacing: -.032em;
    text-align: center;
    text-wrap: balance;
    transform: rotate(-4deg);
    transition: transform 150ms ease;
    touch-action: manipulation;
  }
  & .crash-comic #crash-controls .button.crash-comic-primary::before,
  & .crash-comic #crash-controls .button.crash-comic-primary::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--crash-ink);
    clip-path: var(--crash-button-cut);
    pointer-events: none;
    content: "";
  }
  & .crash-comic #crash-controls .button.crash-comic-primary::after {
    inset: max(3px, calc(5 * var(--crash-u))) max(3px, calc(6 * var(--crash-u))) max(5px, calc(10 * var(--crash-u)));
    background: var(--crash-yellow) var(--crash-print) center / 270px;
    background-blend-mode: soft-light;
  }
  & .crash-comic #crash-controls .button.crash-comic-primary:active:not(:disabled) {
    transform: translateY(2px) rotate(-3deg) scale(.985);
  }
  & .crash-comic #crash-controls .button.crash-comic-primary:disabled { opacity: .72; }
  & .crash-comic #crash-controls .button.crash-comic-primary[data-action="crash-cashout"] {
    font-size: clamp(23px, 3.13vw, 53px);
    white-space: nowrap;
  }
  & .crash-comic #crash-controls [data-form="crash-next-bet"] > .actions {
    gap: max(16px, calc(23 * var(--crash-u)));
  }
  & .crash-comic #crash-controls .button.crash-comic-next-cta {
    min-height: max(64px, calc(113 * var(--crash-u)));
    margin-block-start: 0;
    font-size: clamp(21px, 2.55vw, 42px);
    transform: rotate(-1deg);
  }
  & .crash-comic #crash-controls [data-form="crash-next-bet"] .button.crash-comic-primary:active:not(:disabled) {
    transform: translateY(1px) rotate(-1deg) scale(.987);
  }
  @media (hover: hover) {
    & .crash-comic #crash-controls [data-form="crash-next-bet"] .button.crash-comic-primary:hover:not(:disabled) {
      transform: translateY(-1px) rotate(-1deg);
    }
  }
  & .crash-comic #crash-controls .button.crash-comic-next-cta:not(:disabled)::after {
    background-color: #ff9ac4;
  }
  & .crash-comic #crash-controls .button.crash-comic-primary:focus-visible::after { background-color: #ffc3eb; }
  & .crash-comic #crash-controls .button.crash-comic-next-cta:focus-visible::after { background-color: #ffe08c; }
  & .crash-comic .crash-comic-primary [data-crash-estimated-payout]:empty { display: none; }
  & .crash-comic .crash-comic-secondary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: clamp(10px, 1vw, 16px);
  }
  & #crash-own-wagers:empty { display: none; }
  & :is(.crash-own-wagers, .crash-next-slips) {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 3px 2px;
  }
  & :is(.crash-own-wagers, .crash-next-slips) h2 {
    margin: 0;
    font: italic 900 clamp(15px, 1.4vw, 21px)/1 var(--crash-display);
  }
  & :is(.crash-own-wagers, .crash-next-slips) ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 126px), 1fr));
    gap: 7px;
    min-width: 0;
    padding: 3px;
    margin: 0;
    list-style: none;
  }
  & .crash-own-wagers .crash-own-wager {
    display: grid;
    min-width: 0;
    container: crash-wager-card / inline-size;
    grid-template-rows: minmax(1.5rem, auto) 1fr minmax(1em, auto);
    align-items: stretch;
    gap: 5px;
    max-width: none;
    padding: 6px 8px;
    line-height: 1.15;
  }
  & .crash-own-wagers .crash-own-wager[data-result="refund"] { background: #fff3cf; }
  & .crash-own-wager-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3px 5px;
    border-bottom: 1px dashed #130e0d70;
    padding-bottom: 3px;
  }
  & .crash-own-wager-factor {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 1.1em;
    font-weight: 900;
  }
  & .crash-own-wager dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
  }
  & .crash-own-wager dt,
  & .crash-own-wager-detail { font-size: 11px; }
  & .crash-own-wager dd {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }
  & .crash-comic #crash-controls .crash-own-wager-cashout {
    min-width: 0;
    min-height: 44px;
    padding: .22em .38em;
    border: 2px solid var(--crash-ink);
    border-radius: 4px 7px 3px 6px;
    background: var(--crash-yellow);
    box-shadow: 1px 2px var(--crash-ink);
    color: var(--crash-ink);
    font: italic 850 clamp(15px, 1.32vw, 20px)/1 var(--crash-display);
    font-synthesis: style;
    touch-action: manipulation;
  }
  & .crash-comic #crash-controls .crash-own-wager-cashout:hover:not(:disabled) { background: #fff287; }
  & .crash-comic #crash-controls .crash-own-wager-cashout:active:not(:disabled) {
    box-shadow: none;
    transform: translateY(1px);
  }
  @container crash-wager-card (max-width: 120px) {
    & .crash-own-wager dl { grid-template-columns: minmax(0, 1fr); }
    & .crash-own-wager dl > div {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      justify-content: space-between;
      gap: 2px 5px;
    }
    & .crash-own-wager dd { margin: 0; }
  }
  & .crash-comic #crash-controls .crash-comic-settings {
    --crash-tool-height: clamp(48px, 3.2vw, 56px);
    --crash-tool-paper: #fff7df;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 187px), 1fr));
    gap: 8px;
  }
  & .crash-comic #crash-controls .crash-comic-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
  }
  & .crash-comic #crash-controls .crash-comic-settings :is(.auto-mode, .button, .crash-comic-sound) {
    min-width: 0;
    padding: 0;
    border: 2px solid var(--crash-ink);
    border-radius: 5px 8px 5px 7px;
    box-shadow: 2px 2px var(--crash-ink);
    background: var(--crash-tool-paper);
  }
  & .crash-comic #crash-controls .crash-comic-settings .auto-mode { gap: 0; }
  & .crash-comic #crash-controls .crash-comic-settings :is(.auto-mode button, .button, .crash-comic-sound) {
    min-width: 0;
    min-height: var(--crash-tool-height);
    padding: .24em .36em;
    color: var(--crash-ink);
    font: italic 850 clamp(15px, 1.3vw, 21px)/1.1 var(--crash-display);
    font-synthesis: style;
    text-align: center;
    touch-action: manipulation;
  }
  & .crash-comic #crash-controls .crash-comic-settings .auto-mode button {
    min-height: calc(var(--crash-tool-height) - 4px);
    border: 0;
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
  }
  & .crash-comic #crash-controls .crash-comic-settings .auto-mode button + button {
    border-inline-start: 2px solid var(--crash-ink);
    border-start-start-radius: 0;
    border-end-start-radius: 0;
  }
  & .crash-comic #crash-controls .crash-comic-settings .auto-mode button[aria-pressed="true"] {
    background: #ff8abb;
  }
  & .crash-comic #crash-controls .crash-comic-settings .auto-mode button:disabled { cursor: default; }
  & .crash-comic #crash-controls label:is(.crash-comic-sound, .crash-comic-auto-settings) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .36em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  & .crash-comic #crash-controls :is(.crash-comic-sound, .crash-comic-auto-settings) input {
    --crash-switch-thumb: 24%;
    --crash-switch-track: #e8d3ae;
    appearance: none;
    flex: none;
    inline-size: 2.5em;
    block-size: 1.42em;
    margin: 0;
    border: 2px solid var(--crash-ink);
    border-radius: 100vmax;
    background:
      radial-gradient(circle at var(--crash-switch-thumb) 50%, #fff7df 0 .46em, var(--crash-ink) .47em .52em, transparent .54em),
      var(--crash-switch-track);
    font-size: clamp(14px, 1.25vw, 16px);
    cursor: pointer;
  }
  & .crash-comic #crash-controls :is(.crash-comic-sound, .crash-comic-auto-settings) input:checked {
    --crash-switch-thumb: 76%;
    --crash-switch-track: var(--crash-mint);
  }
  & .crash-comic #crash-controls label.crash-comic-auto-settings {
    justify-self: stretch;
    justify-content: space-between;
    min-height: 44px;
    padding: .24em .7em;
    border: 2px solid var(--crash-ink);
    border-radius: 5px 8px 5px 7px;
    background: #fff7df;
    box-shadow: 2px 2px var(--crash-ink);
    color: var(--crash-ink);
    font: italic 850 clamp(15px, 1.3vw, 21px)/1.1 var(--crash-display);
    font-synthesis: style;
    touch-action: manipulation;
  }
  & .crash-comic #crash-controls [data-crash-auto-settings-fields] { min-width: 0; }
  @media (hover: hover) {
    & .crash-comic #crash-controls .crash-comic-settings .auto-mode button:hover:not(:disabled, [aria-pressed="true"]),
    & .crash-comic #crash-controls .crash-comic-tools :is(.button, .crash-comic-sound):hover,
    & .crash-comic #crash-controls .crash-comic-auto-settings:hover {
      background: #ffefa3;
    }
  }
  & .crash-comic .crash-comic-next:not(:has(#crash-next-actions:not(:empty), #crash-next-recovery:not(:empty))) { display: none; }
  & .crash-comic :is(.crash-comic-tools, .crash-comic-next) { min-width: 0; }
  & .crash-comic .crash-comic-next {
    display: grid;
    gap: 7px;
    padding-block-start: 8px;
    border-top: 2px dashed #130e0d65;
  }
  & .crash-next-slips > p {
    margin: 0;
    font-size: clamp(12px, 1vw, 14px);
  }
  & .crash-next-slip {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 4px;
    min-width: 0;
    padding: 6px 7px;
    border: 2px solid var(--crash-ink);
    border-radius: 5px 8px 5px 6px;
    background: #fff1bb;
    box-shadow: 1px 2px var(--crash-ink);
    overflow-wrap: anywhere;
    line-height: 1.18;
  }
  & .crash-next-slip > strong {
    padding-bottom: 3px;
    border-bottom: 1px dashed #130e0d70;
    font-size: clamp(14px, 1.2vw, 18px);
    font-variant-numeric: tabular-nums;
  }
  & .crash-next-slip > span { font-size: 12px; }
  & .crash-comic #crash-controls .crash-next-slip .crash-next-cancel {
    width: 100%;
    min-height: 44px;
    margin-top: 2px;
    padding: .24em .36em;
    border: 2px solid var(--crash-ink);
    border-radius: 4px 6px 3px 5px;
    background: #fff9e9;
    font-weight: 800;
    touch-action: manipulation;
  }
  & .crash-comic #crash-controls .crash-next-slip .crash-next-cancel:hover:not(:disabled) { background: #ffe0ec; }
  & .crash-comic :is(#crash-auto, #crash-actions):empty { display: none; }
  & .crash-comic #crash-info {
    min-width: 0;
    padding: 11px clamp(11px, 2vw, 28px);
  }
  & .crash-comic #crash-info > .stack:empty { display: none; }
  & .crash-comic #crash-info:has(> .stack:empty) { display: none; }
  & .crash-comic #crash-info :is(.panel, .notice, .table-wrap, input, th, td, .button) {
    color: var(--crash-ink);
    border-color: var(--crash-ink);
    background: #fff9e9;
  }
  & .crash-comic :is(button, input, summary, ol):focus-visible { outline: 3px solid #bf005e; outline-offset: 2px; }

  @media (hover: hover) {
    & .crash-comic .crash-history-points button:hover {
      background: #afffd5;
      transform: translateY(-2px) rotate(-2deg);
    }
    & .crash-comic #crash-controls .button.crash-comic-primary:hover:not(:disabled) {
      background: none;
      transform: translateY(-3px) rotate(-5deg);
    }
    & .crash-comic #crash-controls .button.crash-comic-primary:hover:not(:disabled)::after { background-color: #fff44e; }
    & .crash-comic #crash-controls .button.crash-comic-next-cta:hover:not(:disabled)::after { background-color: #ffd2e6; }
  }

  @media (max-width: 768px) {
    --crash-u: min(1px, .098vw);
    background-size: 240px 250px;
    & .crash-comic .crash-layout {
      grid-template-areas: "field" "controls" "history";
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto;
      row-gap: 9px;
    }
    & .crash-comic #crash-controls { margin: 0; }
    & .crash-comic .crash-comic-console { min-height: 0; padding: clamp(15px, 3.1vw, 24px); }
    & .crash-comic #crash-controls :is(#crash-actions, [data-form="crash-bet"], [data-form="crash-next-bet"]) { gap: 11px; }
    & .crash-comic .crash-comic-bolt--bottom { display: none; }
    & .crash-comic #crash-controls .crash-comic-wager-field { gap: 10px; }
    & .crash-comic-marquee { height: clamp(62px, 18vw, 137px); min-height: 0; margin-bottom: -8px; }
    & .crash-comic-title { top: 21%; left: .1%; width: 45%; font-size: clamp(43px, 12.6vw, 94px); }
    & .crash-comic-mascot { inset: 1% auto auto 55%; width: 26%; }
    & .crash-comic-bolt--top { inset: 16% 1.2% auto auto; width: 11%; }
    & .crash-comic .crash-stage canvas { min-height: 269px; }
    & .crash-comic .crash-stage-copy { inset: 6% auto auto 45%; max-width: 28%; }
    & .crash-comic .crash-multiplier { top: 7%; right: 2.1%; font-size: clamp(24px, 5.3vw, 44px); }
    & .crash-comic .crash-history { min-height: 59px; }
    & .crash-comic #crash-controls .button.crash-comic-primary { min-height: clamp(73px, 14vw, 114px); }
  }

  @media (max-width: 380px) {
    & .crash-comic .crash-multiplier { top: 28%; }
    & .crash-comic .crash-stage-copy { inset-inline-start: 50%; max-width: 40%; }
    & .crash-comic .crash-stage canvas { min-height: 237px; }
    & .crash-comic .crash-history { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  }
}

@keyframes crash-stop-stamp {
  12% { scale: 1.1 .88; }
  44% { scale: .97 1.05; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-ludik-theme="comic"] #content[data-game="crash"] .crash-comic * {
    animation: none;
    transition: none;
  }
}

html[data-ludik-theme="comic"] #dialog:is([data-variant="crash-proof"], [data-variant="crash-rules"]) {
  --crash-dialog-ink: #170f0c;
  color-scheme: light;
  color: var(--crash-dialog-ink);
  border: 3px solid var(--crash-dialog-ink);
  border-radius: 5px 8px 4px 9px;
  background: #fff4d9 url("/redesign-art/paper.webp") center / 390px;
  box-shadow: 5px 6px #170f0c;
  --text: var(--crash-dialog-ink);
  --muted: #543829;
  --line: #6b5240;

  & :is(.dialog-head h2, .crash-proof-point, h3) {
    color: var(--crash-dialog-ink);
    font-family: Impact, "Arial Narrow", sans-serif;
    font-style: italic;
    font-synthesis: style;
    letter-spacing: .012em;
  }
  & .crash-proof-point { font-size: clamp(39px, 7vw, 60px); }
  & :is(.button, .icon-button, input, .notice, .panel, .table-wrap, th, td, details, summary) {
    color: var(--crash-dialog-ink);
    border-color: var(--crash-dialog-ink);
    background: #fff8e5;
  }
  & :is(.button, .icon-button):hover { background: #ffed05; }
  & :is(.button, .icon-button):focus-visible { outline: 3px solid #bf005e; outline-offset: 1px; }
  & .dialog-head :is(h2, .icon-button) { margin-bottom: 2px; }
}
