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

@media (max-width: 360px) {
  html[data-ludik-theme="comic"] .surface:has(> #content[data-game="beef"]) #primary-nav {
    & :is(.ld-primary-links a, .ld-more summary) { padding-inline: 3px; }
    & .ld-theme-switch { gap: .3em; font-size: .625rem; }
  }
}

html[data-ludik-theme="comic"] #content[data-game="beef"] {
  --beef-ink: #161017;
  --beef-paper: #fff0d8;
  --beef-paper-grain: url("/redesign-art/beef-paper.webp") center / 432px auto;
  --beef-pink: #f90b77;
  --beef-yellow: #ffe336;
  --beef-mint: #88ef9e;
  --beef-type: Impact, "Arial Narrow", var(--font-interface-narrow), sans-serif;
  --beef-torn-panel: polygon(1.3% 1.2%, 6% .2%, 14% .9%, 22% 0%, 30% .7%, 38% .2%, 47% .9%, 55% .2%, 64% .8%, 73% 0%, 82% .7%, 90% .2%, 98% 1%, 100% 3%, 99.3% 12%, 100% 19%, 99.2% 27%, 100% 34%, 99.2% 41%, 100% 49%, 99.3% 56%, 100% 63%, 99.2% 71%, 100% 78%, 99.3% 85%, 100% 93%, 99% 99%, 91% 99.6%, 83% 99%, 74% 100%, 66% 99.3%, 57% 99.9%, 48% 99.3%, 41% 100%, 32% 99.3%, 23% 100%, 14% 99.2%, 6% 100%, 1% 99%, 0% 94%, .65% 87%, 0% 80%, .65% 73%, 0% 66%, .65% 59%, 0% 52%, .65% 45%, 0% 38%, .65% 30%, 0% 22%, .65% 15%, 0% 7%);
  width: min(100%, 1770px);
  container-type: inline-size;
  padding: .7rem 0 clamp(1rem, 2.5cqw, 2.4rem);
  color: var(--beef-ink);
  font-synthesis: style;
  background:
    radial-gradient(ellipse 2.5px 3.2px, #201019 85%, transparent 100%) 0 0 / 13px 14px,
    radial-gradient(ellipse 2.5px 3.2px, #201019 85%, transparent 100%) 6.5px 7px / 13px 14px,
    var(--beef-pink);

  & .beef-comic-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(252px, 1fr);
    align-items: stretch;
    gap: clamp(8px, .82cqw, 15px);
    padding-inline: clamp(8px, .9cqw, 16px);
  }
  & .beef-comic-layout :is(.stage-column, .stage.panel, #game-sidebar.panel) { min-width: 0; }
  & .beef-comic-layout :is(.stage.panel, #game-sidebar.panel) {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  & .beef-comic-layout .stage.panel { position: relative; overflow: visible; }
  & .beef-comic-layout .stage.panel::before,
  & .beef-comic-layout .stage.panel::after { display: none; }

  & .beef-comic-layout :is(.step-stage[data-beef-comic], #game-sidebar.panel) { background: transparent; }
  & .step-stage[data-beef-comic] {
    display: grid;
    align-content: start;
    gap: 0;
    min-height: 0;
    padding: 0;
    container-type: normal;
  }
  & .beef-route-viewport {
    --beef-scene-height: clamp(420px, 42.4cqw, 750px);
    --beef-track-top: 65.8%;
    --beef-visible-steps: 5.25;
    position: relative;
    contain: layout paint;
    container-type: inline-size;
    height: var(--beef-scene-height);
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
    border: clamp(2px, .27cqw, 5px) solid var(--beef-ink);
    border-radius: 4px 8px 2px 4px;
    background: #21101a;
    box-shadow: 3px 4px 0 #160911;
  }

  & :is(.beef-kitchen-world, .beef-kitchen-front) {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  & .beef-kitchen-world { z-index: 0; }
  & .beef-kitchen-front { z-index: 3; }
  & .beef-kitchen-plate {
    position: absolute;
    inset: 0 auto 0 50%;
    width: max(100%, calc(var(--beef-scene-height) * 1920 / 1088));
    translate: -50% 0;
    background: var(--beef-layer) center / 100% 100% no-repeat;
  }
  & .beef-kitchen-back { --beef-layer: url("/redesign-art/beef-kitchen/layered/rear-extended.webp"); }
  & .beef-kitchen-counter { --beef-layer: url("/redesign-art/beef-kitchen/layered/front-no-upper.webp"); }
  & .beef-kitchen-fan {
    position: absolute;
    inset: 45.08% auto auto 47.76%;
    width: 5.4167%;
    height: 9.467%;
    translate: -50% -50%;
    overflow: hidden;
    border-radius: 50%;
  }
  & .beef-kitchen-fan::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--beef-fan, url("/redesign-art/beef-kitchen/layered/fan-left.webp")) center / 100% 100% no-repeat;
    animation: beef-kitchen-spin 1.55s linear infinite;
  }
  & .beef-kitchen-fan:nth-child(2) {
    --beef-fan: url("/redesign-art/beef-kitchen/layered/fan-right.webp");
    left: 54.56%;
    top: 44.99%;
    width: 5.46875%;
  }
  & .beef-kitchen-fan:nth-child(2)::before { animation-duration: 1.82s; animation-direction: reverse; }
  & :is(.beef-kitchen-lamp, .beef-kitchen-steam) {
    position: absolute;
    inset: 0;
    background: var(--beef-effect) center / 100% 100% no-repeat;
  }
  & .beef-kitchen-lamp {
    --beef-effect: url("/redesign-art/beef-kitchen/layered/lamp.webp");
    mix-blend-mode: screen;
    animation: beef-kitchen-lamp 10.4s infinite;
  }
  & .beef-kitchen-steam {
    --beef-effect: url("/redesign-art/beef-kitchen/layered/smoke.webp");
    transform-origin: 70.57% 45.50%;
    animation: beef-kitchen-steam 5.9s -1.7s ease-out infinite;
  }
  & .beef-kitchen-steam:last-child {
    animation-duration: 7s;
    animation-delay: -4.3s;
  }
  & .beef-front-glints {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    mask: var(--beef-layer) center / 100% 100% no-repeat;
  }

  & .beef-front-glints > i {
    position: absolute;
    left: var(--glint-x);
    top: var(--glint-y);
    width: var(--glint-w);
    height: var(--glint-h);
    background: radial-gradient(ellipse, #ffe0b486 0%, #eeb6744d 37%, transparent 72%);
    transform: translate(-50%, -50%) rotate(var(--glint-angle));
    opacity: .19;
    animation: beef-front-glint var(--glint-duration) var(--glint-delay) ease-in-out infinite;
  }

  & .beef-front-glints > i:nth-child(1) {
    --glint-x: 32.45%;
    --glint-y: 84.46%;
    --glint-w: 1.7%;
    --glint-h: 2.5%;
    --glint-angle: -5deg;
    --glint-duration: 6.7s;
    --glint-delay: -2.2s;
  }

  & .beef-front-glints > i:nth-child(2) {
    --glint-x: 68.75%;
    --glint-y: 94.21%;
    --glint-w: 5.2%;
    --glint-h: .85%;
    --glint-angle: 15deg;
    --glint-duration: 5.9s;
    --glint-delay: -4.1s;
  }

  & .beef-front-glints > i:nth-child(3) {
    --glint-x: 95.31%;
    --glint-y: 86.21%;
    --glint-w: 3.1%;
    --glint-h: .9%;
    --glint-angle: -5deg;
    --glint-duration: 6.3s;
    --glint-delay: -1.1s;
  }

  & .beef-route-viewport .beef-ladder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template: minmax(0, 1fr) / none;
    grid-auto-flow: column;
    grid-auto-columns: calc(100cqw / var(--beef-visible-steps));
    gap: 0;
    align-items: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  & .beef-route-viewport .beef-ladder::-webkit-scrollbar { display: none; }
  & .beef-route-viewport .beef-ladder::before,
  & .beef-route-viewport .beef-ladder-step::before { display: none; }
  & .beef-route-viewport .beef-ladder-step {
    --beef-ink: #161017;
    position: relative;
    container-type: inline-size;
    min-width: 0;
  }
  & .beef-route-viewport .beef-start-platform { pointer-events: none; }
  & .beef-route-viewport .beef-ladder-step .beef-checkpoint {
    position: absolute;
    display: block;
    top: var(--beef-track-top);
    left: 0;
    width: 100%;
    height: 101cqw;
    min-height: 0;
    padding: 0;
    outline-offset: -3px;
    color: var(--beef-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    text-align: center;
  }
  & .beef-route-viewport button.beef-checkpoint {
    clip-path: polygon(8% 0, 92% 0, 100% 56%, 100% 99%, 0 99%, 0 56%);
  }
  & .beef-route-viewport button.beef-checkpoint:focus-visible { outline: 3px solid #fff1a0; }
  & .beef-route-viewport .beef-step-mark {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 90cqw;
    animation: none;
  }
  & .beef-route-viewport .beef-step-mark::before {
    --beef-static-deck: url("/redesign-art/beef-kitchen/layered/lid.webp");
    --beef-static-deck-position: center 16%;
    --beef-static-deck-size: 88% 51%;
    position: absolute;
    content: "";
    inset: 0;
    clip-path: polygon(8% 2%, 92% 2%, 100% 62%, 100% 94.7%, 0 94.7%, 0 62%);
    background:
      var(--beef-static-deck) var(--beef-static-deck-position) / var(--beef-static-deck-size) no-repeat,
      url("/redesign-art/beef-kitchen/layered/frame.webp") center 6% / 98% 60% no-repeat,
      url("/redesign-art/beef-kitchen/layered/face.webp") center 83% / 98% 34% no-repeat;
  }
  & .beef-route-viewport .beef-start-platform .beef-step-mark::before {
    --beef-static-deck: url("/redesign-art/beef-kitchen/layered/start-finished.webp");
  }
  & [data-beef-outcome="lost"]:not([data-beef-presenting]) [data-beef-state="danger"] .beef-step-mark::before {
    --beef-static-deck: url("/redesign-art/beef-kitchen/layered/vat.webp");
    --beef-static-deck-position: center 10%;
    --beef-static-deck-size: 92% 57%;
  }
  & .beef-route-viewport .beef-start-platform .beef-step-mark::after {
    position: absolute;
    inset: 2% auto auto 4%;
    width: 28%;
    aspect-ratio: 120 / 105;
    background: url("/redesign-art/beef-kitchen/flux-roof-start-tag.webp") center / contain no-repeat;
    content: "";
  }
  & .beef-route-viewport [data-beef-courier]::after {
    position: absolute;
    inset: calc(var(--beef-track-top) + 30.6cqw) auto auto 50%;
    z-index: 3;
    width: 118%;
    aspect-ratio: 1;
    translate: -50% -93.75%;
    background: url("/redesign-art/beef-kitchen/approved-courier/idle.webp") center / contain no-repeat;
    pointer-events: none;
    content: "";
  }
  & .beef-route-viewport [data-beef-courier]:first-child::after { left: 60.5%; }
  & .beef-route-viewport [data-beef-courier]:last-child:not(:first-child)::after { left: 39.5%; }
  & .beef-route-viewport:not([data-beef-static]) .beef-step-mark::before,
  & .beef-route-viewport:not([data-beef-static]) .beef-start-platform .beef-step-mark::after,
  & .beef-route-viewport:not([data-beef-static]) [data-beef-courier]::after { display: none; }
  & .beef-route-viewport .beef-lid-factor { display: none; }
  & .beef-route-viewport[data-beef-static] [data-beef-factor-visible] .beef-lid-factor {
    position: absolute;
    top: 42.2cqw;
    left: 50%;
    display: block;
    translate: -50% -50%;
    width: 79%;
    padding: .095em 0;
    color: #241619;
    font: 900 13cqw/1 Impact, "Arial Narrow", sans-serif;
    border-block: 1px solid #5f38394d;
    clip-path: polygon(5% 0, 95% 0, 100% 28%, 100% 72%, 95% 100%, 5% 100%, 0 72%, 0 28%);
    background: linear-gradient(#78545c40, #5f3c451d 30%, #8b655965);
    text-shadow: 0 .075em #dfb9a2;
    white-space: nowrap;
    pointer-events: none;
  }
  & .beef-route-viewport[data-beef-static] [data-beef-state="safe"] .beef-lid-factor {
    color: #8dff91;
    background: linear-gradient(#3a57435e, #41614b40 45%, #2739256b);
    text-shadow: 0 .075em #163c27, .045em 0 #163c27, -.045em 0 #163c27;
  }

  & .beef-route-footer {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: .65em;
    padding: .45em .55em;
    margin-top: 4px;
    border: 2px solid var(--beef-ink);
    background: var(--beef-paper-grain), var(--beef-paper);
    box-shadow: 2px 3px var(--beef-ink);
  }
  & .beef-route-summary {
    flex: none;
    padding: .24em .46em .32em;
    background: var(--beef-mint);
    color: var(--beef-ink);
    font: italic 800 clamp(12px, 1.36cqw, 23px)/1 var(--beef-type);
    clip-path: polygon(3% 4%, 100% 0, 97% 100%, 0% 98%);
  }
  & .beef-route-scroll {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .28em;
    min-height: 33px;
    border: 2px solid var(--beef-ink);
    border-radius: 999px;
    background: #fff8e7;
    color: var(--beef-ink);
  }
  & .beef-route-scroll[hidden] { display: none; }
  & .beef-route-scroll button {
    display: grid;
    place-items: center;
    width: clamp(29px, 2.3cqw, 43px);
    min-height: 31px;
    padding: 0 0 .13em;
    border: 0;
    border-radius: 50%;
    color: inherit;
    background: transparent;
    font: 850 1.6rem/.8 var(--font-interface);
  }
  & .beef-route-scroll button:disabled { opacity: .45; }
  & .beef-route-scroll input {
    appearance: none;
    width: 100%;
    min-width: 0;
    min-height: 24px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: ew-resize;
  }
  & .beef-route-scroll input::-webkit-slider-runnable-track { height: 55%; min-height: 9px; border-radius: 999px; background: #d0c5c5; }
  & .beef-route-scroll input::-webkit-slider-thumb { appearance: none; width: var(--beef-thumb, 20%); height: 100%; border-radius: 999px; background: #933662; }
  & .beef-route-scroll input::-moz-range-track { height: .7em; border-radius: 999px; background: #d0c5c5; }
  & .beef-route-scroll input::-moz-range-thumb { width: var(--beef-thumb, 20%); height: .7em; border: 0; border-radius: 999px; background: #933662; }

  & .beef-comic-layout #game-sidebar.panel {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-content: start;
    align-items: stretch;
    gap: .55rem;
    padding: clamp(14px, 1.28cqw, 22px);
    color: var(--beef-ink);
  }
  & .beef-comic-layout #game-sidebar.panel::before,
  & .beef-comic-layout #game-sidebar.panel::after {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    pointer-events: none;
    clip-path: var(--beef-torn-panel);
    background: var(--beef-ink);
  }
  & .beef-comic-layout #game-sidebar.panel::after {
    z-index: -1;
    inset: 3px;
    background: var(--beef-paper-grain), var(--beef-paper);
  }
  & .beef-console-content { display: grid; min-width: 0; align-content: center; gap: clamp(8px, 1cqw, 17px); }

  & .beef-kitchen-utilities {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    align-items: center;
    min-height: 54px;
  }
  & #game-sidebar .beef-kitchen-utilities details {
    padding: 0;
    border: 0;
    background: transparent;
  }
  & .beef-kitchen-utilities details > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    min-height: 44px;
    color: var(--beef-ink);
    cursor: pointer;
    list-style: none;
  }
  & .beef-kitchen-utilities summary::-webkit-details-marker { display: none; }
  & .beef-shield { min-inline-size: 0; }
  & .beef-shield > summary {
    inline-size: clamp(44px, 2.75cqw, 49px);
    aspect-ratio: 1;
    border: 2px solid currentColor;
    border-radius: 5px 3px 5px 3px;
    background: #fff8e5;
    box-shadow: 2px 2px var(--beef-ink);
    transform: rotate(-3deg);
  }
  & .beef-shield > summary svg {
    inline-size: 57%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  & .beef-shield > summary:hover, & .beef-shield[open] > summary { background: var(--beef-yellow); }
  & .beef-kitchen-utilities summary:focus-visible {
    outline: 3px solid #9e164e;
    outline-offset: 3px;
  }

  & .beef-kitchen-utilities .game-volume {
    flex: 0 1 185px;
    min-block-size: 44px;
    padding-inline: .45rem;
    background: #fff1d4;
    box-shadow: 2px 2px var(--beef-ink);
  }

  & .beef-shield-panel {
    position: absolute;
    inset: calc(100% - 4px) auto auto 0;
    z-index: 5;
    display: grid;
    inline-size: min(100%, 300px);
    gap: .36rem;
    padding: .44rem;
    border: 2px solid var(--beef-ink);
    border-radius: 3px 5px 2px 3px;
    color: var(--beef-ink);
    background: var(--beef-paper-grain), var(--beef-paper);
    box-shadow: 4px 4px #1a0716;
  }
  & #game-sidebar .beef-shield-panel .beef-shield-action {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-block-size: 48px;
    align-items: center;
    justify-items: start;
    gap: .55rem;
    padding: .35rem .48rem;
    border: 1px solid var(--beef-ink);
    border-radius: 2px;
    color: var(--beef-ink);
    background: #fff9ea;
    text-align: start;
  }
  & #game-sidebar .beef-shield-panel .beef-shield-action:hover { background: #ffebbf; }
  & .beef-shield-action:focus-visible { outline: 3px solid #9e164e; outline-offset: -3px; }
  & .beef-shield-stamp {
    display: grid;
    inline-size: 30px;
    aspect-ratio: 1;
    place-items: center;
    border: 2px solid var(--beef-ink);
    border-radius: 46% 47% 44% 45%;
    background: var(--beef-yellow);
    font: italic 900 20px/1 var(--beef-type);
    transform: rotate(-8deg);
  }
  & .beef-shield-panel > .beef-shield-action:nth-child(2) .beef-shield-stamp { background: var(--beef-mint); font-family: var(--font-interface); }
  & .beef-payout-terms .beef-shield-stamp { background: #ffc778; }
  & .beef-shield-action-copy { display: grid; gap: .12rem; }
  & .beef-shield-action-copy strong { font: italic 850 1.05rem/1.04 var(--beef-type); }
  & .beef-shield-action-copy small { color: #603c38; font: 700 .69rem/1.12 var(--font-interface); }
  & .beef-shield-arrow {
    width: .45rem;
    height: .45rem;
    margin-inline-end: .12rem;
    border: solid currentColor;
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
  }
  & .beef-payout-terms[open] .beef-shield-arrow { transform: rotate(135deg); }
  & .beef-payout-quote {
    padding: .54rem;
    border: 1px solid var(--beef-ink);
    border-top: 0;
    background: #fff9ea;
    font-size: .82rem;
    overflow-wrap: anywhere;
  }
  & .beef-payout-quote :is(dl, p, dd) { margin: 0; }
  & .beef-payout-quote dl { display: grid; gap: .42rem; }
  & .beef-payout-quote dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .4rem; }
  & .beef-payout-quote dd { font-weight: 850; white-space: nowrap; }
  & .beef-payout-quote .notice { padding: 0; border: 0; color: inherit; background: transparent; }
  & .beef-payout-placeholder { color: #603c38; }
  & .beef-payout-quote #preview:empty,
  & .beef-payout-quote #preview:not(:empty) + .beef-payout-placeholder { display: none; }

  & .beef-active-console { display: grid; min-width: 0; gap: clamp(.6em, 1.2cqw, 22px); }
  & .beef-round-facts {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: clamp(8px, .86cqw, 14px);
    min-width: 0;
    margin: 0;
  }
  & .beef-round-facts > div { display: grid; align-content: end; min-width: 0; }
  & .beef-fact-stake { grid-column: 1 / -1; }
  & .beef-round-facts dt, & #game-sidebar :is(.beef-wager-stake > label, .beef-wager-risk > legend) {
    margin: 0 0 .1em;
    color: var(--beef-ink);
    font: italic 850 clamp(18px, 2.03cqw, 35px)/1.05 var(--beef-type);
  }
  & .beef-round-facts :is(.beef-fact-step, .beef-fact-factor) dt {
    display: flex;
    align-items: center;
    gap: .3em;
    min-height: 1.25em;
    font-size: clamp(15px, 1.52cqw, 26px);
  }
  & .beef-round-facts dt svg {
    flex: 0 0 auto;
    inline-size: 1.05em;
    block-size: 1.05em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  & .beef-fact-factor dt svg { fill: #ffce39; }
  & .beef-round-facts dd {
    isolation: isolate;
    position: relative;
    min-height: 1.38em;
    margin: 0;
    padding: .2em .29em .25em;
    text-align: center;
    font: italic 900 clamp(23px, 2.55cqw, 47px)/1 var(--beef-type);
    font-variant-numeric: tabular-nums;
  }
  & .beef-round-facts dd::before, & .beef-round-facts dd::after {
    position: absolute;
    clip-path: polygon(5% 6%, 100% 0%, 94% 94%, 0% 100%);
    content: "";
  }
  & .beef-round-facts dd::before { z-index: -2; inset: 0; background: var(--beef-ink); }
  & .beef-round-facts dd::after {
    z-index: -1;
    inset: clamp(2px, .21cqw, 4px);
    background: radial-gradient(#20342522 .55px, transparent .9px) 0 0 / 4px 4px, var(--beef-mint);
  }
  & .beef-round-facts :is(.beef-fact-step, .beef-fact-factor) dd { font-size: clamp(19px, 2.17cqw, 40px); }
  & .beef-fact-factor dd::after { background: radial-gradient(#6442162e .55px, transparent .9px) 0 0 / 4px 4px, #ffe588; }
  & .beef-round-actions { display: grid; gap: clamp(.45em, .73cqw, 14px); }
  & #game-sidebar .beef-console-content :is(.beef-round-actions .button, .play-primary, [data-guest], [data-action="auth"], [data-action="auto-stop"], [data-action="auto-start"]) {
    --beef-action-shape: polygon(4.6% 6%, 100% 0, 95% 95%, 0 100%);
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    align-items: center;
    justify-items: center;
    width: 100%;
    min-height: clamp(52px, 5.25cqw, 96px);
    gap: .12em;
    padding: .25em .38em .34em;
    border: 0;
    border-radius: 0;
    outline-offset: -4px;
    clip-path: var(--beef-action-shape);
    color: var(--beef-ink);
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    text-align: center;
    font: italic 900 clamp(21px, 2.83cqw, 48px)/1 var(--beef-type);
    letter-spacing: -.025em;
  }
  & #game-sidebar .beef-round-actions .step-move { min-height: clamp(65px, 7.6cqw, 132px); }
  & #game-sidebar .beef-round-actions .step-cashout {
    font-size: clamp(20px, 2.56cqw, 44px);
  }
  & #game-sidebar .beef-round-actions :is(strong, span) { font: inherit; }
  & #game-sidebar .beef-round-actions small { color: inherit; font: inherit; font-size: .54em; line-height: 1.12; letter-spacing: 0; }
  & #game-sidebar .beef-round-actions small span { display: inline; }
  & #game-sidebar .beef-round-actions [data-beef-next-factor] {
    padding: .14em .55em .2em;
    border: 1.5px solid var(--beef-ink);
    border-radius: 3px;
    background: #fff3b5;
    box-shadow: 1px 1px var(--beef-ink);
    font-variant-numeric: tabular-nums;
  }
  & #game-sidebar .beef-console-content :is(.beef-round-actions .button, .play-primary, [data-guest], [data-action="auth"], [data-action="auto-stop"], [data-action="auto-start"])::before,
  & #game-sidebar .beef-console-content :is(.beef-round-actions .button, .play-primary, [data-guest], [data-action="auth"], [data-action="auto-stop"], [data-action="auto-start"])::after {
    position: absolute;
    pointer-events: none;
    clip-path: var(--beef-action-shape);
    content: "";
  }
  & #game-sidebar .beef-console-content :is(.beef-round-actions .button, .play-primary, [data-guest], [data-action="auth"], [data-action="auto-stop"], [data-action="auto-start"])::before {
    z-index: -2;
    inset: 0;
    background: var(--beef-ink);
  }
  & #game-sidebar .beef-console-content :is(.beef-round-actions .button, .play-primary, [data-guest], [data-action="auth"], [data-action="auto-stop"], [data-action="auto-start"])::after {
    z-index: -1;
    inset: clamp(3px, .25cqw, 5px);
    background: radial-gradient(#42251038 .55px, transparent .86px) 0 0 / 4px 4px, linear-gradient(110deg, #fff362, var(--beef-yellow));
  }
  & #game-sidebar .beef-console-content .beef-round-actions .step-cashout::after {
    background: radial-gradient(#20342525 .55px, transparent .86px) 0 0 / 4px 4px, var(--beef-mint);
  }
  & #game-sidebar .beef-console-content .beef-round-actions .button:disabled::after { background: #bcb1b0; }
  & #game-sidebar .beef-console-content :is(.beef-round-actions .button, .play-primary, [data-action="auth"], [data-action="auto-stop"]):hover:not(:disabled) {
    color: var(--beef-ink);
    background: transparent;
    translate: 0 -2px;
  }
  & #game-sidebar .beef-console-content :is(.beef-round-actions .button, .play-primary, [data-action="auth"], [data-action="auto-stop"]):active:not(:disabled) { translate: 0 2px; }

  & .beef-console-content[inert] { opacity: .65; }
  & .beef-comic-layout:has([data-beef-presenting]) .beef-active-console { opacity: .76; pointer-events: none; }
  & .beef-comic-layout:has([data-beef-presenting]) .beef-route-viewport button.beef-checkpoint { pointer-events: none; }

  & #game-sidebar form[data-game="beef"] { grid-template-columns: minmax(0, 1fr); }
  & #game-sidebar :is(.form,.stack) { gap: clamp(8px, .74cqw, 13px); }
  & #game-sidebar :is(.form > .actions, .guest-fields) { margin: 0; }
  & #game-sidebar .guest-fields { min-width: 0; padding: 0; border: 0; }
  & #game-sidebar .beef-comic-form .auto-mode {
    gap: 0;
    padding: 3px;
    border: 2px solid var(--beef-ink);
    border-radius: 4px;
    background: #eddbbe;
  }
  & #game-sidebar .beef-comic-form .auto-mode button {
    min-height: 40px;
    border: 1.5px solid transparent;
    border-radius: 2px;
    background: transparent;
    color: var(--beef-ink);
    font-weight: 850;
  }
  & #game-sidebar .beef-comic-form .auto-mode button[aria-pressed="true"] {
    border-color: var(--beef-ink);
    background: var(--beef-mint);
  }
  & #game-sidebar .beef-comic-form .auto-mode button:hover:not(:disabled) { background: #fff08c; }

  & #game-sidebar :is(.beef-wager-stake, .beef-wager-risk) {
    display: grid;
    gap: .2em;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
  & #game-sidebar .beef-wager-risk > legend { padding: 0; }
  & .beef-wager-rocker {
    --beef-wager-tint: var(--beef-mint);
    container-type: inline-size;
    display: grid;
    grid-template-columns: clamp(44px, 4.25cqw, 68px) minmax(0, 1fr) clamp(44px, 4.25cqw, 68px);
    min-width: 0;
    border: 2px solid var(--beef-ink);
    border-radius: 4px 2px 5px 2px;
    background: radial-gradient(#4825352e .55px, transparent .9px) 0 0 / 4px 4px, var(--beef-wager-tint);
    box-shadow: 2px 2px var(--beef-ink);
    color: var(--beef-ink);
    text-align: center;
  }
  & [data-beef-risk="medium"] .beef-wager-rocker { --beef-wager-tint: #ffdf75; }
  & [data-beef-risk="hard"] .beef-wager-rocker { --beef-wager-tint: #ffb27a; }
  & [data-beef-risk="extreme"] .beef-wager-rocker { --beef-wager-tint: #ff9eb9; }
  & #game-sidebar .beef-wager-rocker :is(button, input[name="stake"], output) {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    min-height: clamp(44px, 13cqw, 60px);
    margin: 0;
    padding: .13em .16em;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--beef-ink);
    text-align: center;
    font: italic 850 clamp(19px, 7.3cqw, 34px)/1 var(--beef-type);
    font-variant-numeric: tabular-nums;
  }
  & #game-sidebar .beef-wager-rocker input[name="stake"] {
    appearance: textfield;
    display: block;
    align-self: stretch;
    padding: .23em .31em .27em;
    font: 850 clamp(22px, 8cqw, 35px)/1.2 var(--beef-type);
  }
  & #game-sidebar .beef-wager-rocker input[name="stake"]::-webkit-inner-spin-button,
  & #game-sidebar .beef-wager-rocker input[name="stake"]::-webkit-outer-spin-button { appearance: none; margin: 0; }
  & #game-sidebar .beef-wager-rocker button[data-action="beef-stake"] {
    background: #fff0cc;
    font-size: clamp(18px, 5.8cqw, 26px);
    line-height: 1.14;
  }
  & #game-sidebar .beef-wager-rocker button:first-child { border-inline-end: 2px solid var(--beef-ink); }
  & #game-sidebar .beef-wager-rocker button:last-child { border-inline-start: 2px solid var(--beef-ink); }
  & #game-sidebar .beef-wager-rocker button:hover:not(:disabled) { background: #fff284; }
  & #game-sidebar .beef-wager-rocker button:active:not(:disabled) { box-shadow: inset 0 3px #1e141439; }
  & #game-sidebar .beef-wager-rocker output {
    font-size: clamp(16px, 8.2cqw, 34px);
    white-space: nowrap;
  }
  & #game-sidebar [data-beef-risk="extreme"] .beef-wager-rocker output { font-size: clamp(13px, 6.4cqw, 27px); }
  & .beef-wager-rocker svg { inline-size: 1em; fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; }
  & .beef-risk-positions {
    isolation: isolate;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  & .beef-risk-positions::before {
    position: absolute;
    z-index: -1;
    inset: 50% 12.5% auto;
    border-top: 2px dotted #65534c;
    content: "";
  }
  & #game-sidebar .beef-risk-positions label {
    display: grid;
    place-items: center;
    min-height: 34px;
    margin: 0;
    cursor: pointer;
  }
  & .beef-risk-positions i {
    width: 12px;
    height: 12px;
    border: 2px solid var(--beef-ink);
    border-radius: 50%;
    background: #f9dfb6;
  }
  & .beef-risk-positions input:checked + i { background: #ffdd45; box-shadow: 1px 1px var(--beef-ink); scale: 1.3; }
  & .beef-risk-positions label:hover:has(input:enabled) i { background: #fff6a3; }
  & .beef-risk-positions input:focus-visible + i { outline: 2px solid #9c124b; outline-offset: 3px; }
  & #game-sidebar .beef-comic-form :is(button, input, select):focus-visible { outline: 3px solid #9c124b; outline-offset: -3px; }

  & #game-sidebar .beef-auto-settings-switch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    padding: .28rem .46rem;
    border: 2px solid var(--beef-ink);
    border-radius: 3px;
    background: #fff2d6;
    color: var(--beef-ink);
    font: italic 800 clamp(17px, 1.45cqw, 25px)/1 var(--beef-type);
    cursor: pointer;
  }
  & .beef-auto-settings-switch small {
    min-width: 1.5em;
    padding: .1em .2em;
    border: 1.5px solid var(--beef-ink);
    border-radius: 2px;
    background: var(--beef-yellow);
    color: var(--beef-ink);
    text-align: center;
    font: 750 clamp(14px, 1.2cqw, 22px)/1 var(--font-interface);
  }
  & #game-sidebar .beef-auto-settings-switch input {
    appearance: none;
    position: relative;
    width: 44px;
    height: 24px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 2px solid var(--beef-ink);
    border-radius: 99px;
    background: #ecd3bf;
    cursor: pointer;
  }
  & .beef-auto-settings-switch input::after {
    position: absolute;
    inset: 1px auto 1px 1px;
    aspect-ratio: 1;
    border: 1.5px solid var(--beef-ink);
    border-radius: 50%;
    background: #fff5dc;
    content: "";
    transition: translate .15s ease;
  }
  & #game-sidebar .beef-auto-settings-switch input:checked { background: var(--beef-mint); }
  & .beef-auto-settings-switch input:checked::after { translate: 20px 0; }
  & #game-sidebar .beef-auto-fields[hidden] { display: none; }
  & #game-sidebar .beef-auto-fields .auto-series-fields {
    gap: .7em;
    padding: .55em;
    border: 2px solid var(--beef-ink);
    border-radius: 3px;
    background: #fff4db;
    color: var(--beef-ink);
  }
  & #game-sidebar .beef-auto-fields :is(label, small) { color: var(--beef-ink); }
  & #game-sidebar .beef-auto-fields :is(input, select, .auto-unlimited) {
    min-height: 40px;
    border: 1.5px solid var(--beef-ink);
    border-radius: 3px;
    background: #fbdfbd;
    color: var(--beef-ink);
    font-weight: 750;
  }
  & #game-sidebar .beef-auto-fields .auto-unlimited { min-width: 34px; font-size: 20px; }
  & #game-sidebar .beef-auto-fields .auto-unlimited[aria-pressed="true"] { background: var(--beef-mint); }
  & #game-sidebar .beef-auto-fields :is(.auto-quantity, .auto-progression, .auto-series-limits) + div {
    padding-block-start: .6em;
    border-top: 1px dashed #8e7262;
  }
  & #game-sidebar .beef-comic-form .auto-series-status { color: var(--beef-ink); }
  & #game-sidebar .beef-comic-form .auto-series-actions [hidden] { display: none; }
  & #game-sidebar .beef-console-content [data-action="auto-stop"]::after { background: #ff9eb9; }
  & #game-sidebar details:not(.beef-kitchen-utilities details) {
    padding: .45em .55em;
    border: 1px solid var(--beef-ink);
    background: #fff4df;
    font-size: clamp(12px, .92cqw, 16px);
  }
  & #game-sidebar details summary { font-weight: 800; overflow-wrap: anywhere; }
  & #game-sidebar details[data-beef-precommit] {
    border: 2px solid var(--beef-ink);
    border-radius: 3px;
    background: #fbf2cf;
    box-shadow: 2px 2px var(--beef-ink);
  }
  & #game-sidebar [data-beef-precommit] .form { margin-block-start: .55em; }
  & #game-sidebar [data-beef-precommit] input {
    min-width: 0;
    border-color: var(--beef-ink);
    background: #fffbeb;
    color: var(--beef-ink);
  }

  & .beef-comic-tools {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .48rem;
    margin: .8rem clamp(10px, 1.4cqw, 24px) 0;
  }
  & .beef-comic-tools :is(.button, .tag, details) {
    min-height: 36px;
    padding: .35em .63em;
    border: 2px solid var(--beef-ink);
    border-radius: 2px;
    background: var(--beef-paper-grain), var(--beef-paper);
    box-shadow: 2px 2px var(--beef-ink);
    color: var(--beef-ink);
    font-weight: 830;
  }

  @media (max-width: 850px) {
    & .beef-comic-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding-inline: 8px; }
    & .beef-comic-layout .stage-column { grid-row: 1; }
    & .beef-comic-layout #game-sidebar.panel { grid-row: 2; padding: 11px 14px 13px; }
    & .beef-route-viewport {
      --beef-scene-height: clamp(320px, 81cqw, 530px);
      --beef-visible-steps: 4;
    }
    & .beef-kitchen-utilities { min-height: 46px; }
    & .beef-round-facts { gap: .42em; }
    & .beef-round-facts dt { font-size: clamp(15px, 3.7cqw, 27px); }
    & .beef-round-facts dd { font-size: clamp(19px, 4.6cqw, 37px); }
    & .beef-active-console .beef-round-actions { grid-template-columns: 1.15fr 1fr; }
    & #game-sidebar .beef-console-content :is(.beef-round-actions .button, .play-primary, [data-action="auth"], [data-action="auto-stop"]) {
      min-height: 55px;
      font-size: clamp(18px, 4.45cqw, 36px);
    }
    & #game-sidebar .beef-round-actions .step-move { min-height: 57px; }
  }
  @media (max-width: 432px) {
    & .beef-route-viewport {
      --beef-scene-height: clamp(300px, 101cqw, 415px);
      --beef-visible-steps: 3;
    }
    & .beef-route-footer { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    & .beef-route-summary { justify-self: start; }
  }
  @media (prefers-reduced-motion: reduce) {
    & :is(.beef-kitchen-steam, .beef-kitchen-lamp, .beef-front-glints > i),
    & .beef-kitchen-fan::before { animation-play-state: paused; }
    & .beef-sound-track::after { transition: none; }
  }
}

@keyframes beef-kitchen-spin { to { rotate: 1turn; } }
@keyframes beef-kitchen-lamp {
  0%, 79%, 82%, 87%, 100% { opacity: .18; }
  80%, 83%, 85% { opacity: .02; }
  81%, 86% { opacity: .58; }
}
@keyframes beef-kitchen-steam {
  0% { transform: translate(0, 1.5%) scale(.78); opacity: 0; }
  24% { opacity: .28; }
  100% { transform: translate(1%, -6.5%) scale(1.17); opacity: 0; }
}
@keyframes beef-front-glint {
  0%, 100% { opacity: .07; }
  34% { opacity: .23; }
  57% { opacity: .12; }
  76% { opacity: .30; }
}
