@font-face {
  font-family: Chango;
  src: url('assets/Chango-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url('assets/Outfit.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('assets/DMMono-Regular.ttf') format('truetype');
  font-display: swap;
}
:root {
  --red: #d6412c;
  --paper: #f5e7c9;
  --ink: #282921;
  --blue: #244d90;
  --gold: #edbb46;
  --line: #f5e7c94a;
  --mono: 'DM Mono',monospace;
  --display: Chango,serif;
  --body: Outfit,sans-serif;
  background: var(--red);
  color: var(--paper);
  font-family: var(--body);
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 1px solid currentColor;
  transition: background .15s,transform .15s;
}
button:hover:not(:disabled) {
  filter: brightness(1.06);
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button:disabled {
  cursor: not-allowed;
  opacity: .4;
}
a {
  color: inherit;
}
button,
input,
select,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
canvas:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
button:focus-visible {
  filter: brightness(1.08);
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  line-height: 1.5;
}
canvas {
  display: block;
  width: 100%;
  height: auto;
}
strong {
  font-weight: 600;
}
[hidden] {
  display: none!important;
}
.eyebrow {
  font: 10px/1.6 var(--mono);
  letter-spacing: .04em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: var(--ink);
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.masthead {
  max-width: 1440px;
  margin: auto;
  padding: 26px 56px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 10px/1.35 var(--mono);
  letter-spacing: .025em;
}
.brand svg {
  height: 43px;
  width: 43px;
  fill: var(--paper);
}
.mast-date {
  text-align: center;
  font: 10px/1.6 var(--mono);
  letter-spacing: .02em;
}
.mast-date span {
  font-size: 8px;
  opacity: .7;
}
.help-button {
  padding: 12px 0;
  border: 0;
  font-size: 13px;
}
.help-button span {
  margin-left: 28px;
}
main {
  max-width: 1440px;
  margin: auto;
}
.arcade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
  padding: 36px 80px 48px;
}
.invitation {
  position: relative;
  padding-top: 16px;
}
.small-star {
  font-size: 19px;
  vertical-align: -2px;
  margin-right: 7px;
}
.invitation h1 {
  font: 400 clamp(64px,7.1vw,106px)/.93 var(--display);
  letter-spacing: -6px;
  position: relative;
  margin: 30px 0 24px;
}
.title-star {
  position: absolute;
  right: -2px;
  top: 12px;
  font: 76px var(--body);
  color: var(--gold);
  transform: rotate(15deg);
}
.tagline {
  font: 500 36px/1.12 var(--body);
  letter-spacing: -.8px;
}
.tagline em {
  font-style: normal;
  color: var(--gold);
}
.intro-copy {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 22px;
  opacity: .86;
}
.lucky-seal {
  position: absolute;
  top: 310px;
  right: 15px;
  width: 116px;
  height: 116px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  outline: 1px solid var(--paper);
  outline-offset: 5px;
  color: var(--paper);
}
.lucky-seal span {
  font: 8px var(--mono);
  letter-spacing: .08em;
}
.lucky-seal strong {
  font: 48px/.95 var(--display);
  letter-spacing: -3px;
  margin: 6px 3px 6px 0;
}
.quick-guide {
  border-top: 1px solid var(--line);
  margin-top: 37px;
  padding-top: 12px;
  max-width: 405px;
}
.quick-guide > div {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.guide-number {
  font: 10px var(--mono);
  padding-top: 5px;
  opacity: .65;
}
.quick-guide p {
  font-size: 14px;
}
.quick-guide strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.quick-guide p > span {
  font-size: 12px;
  opacity: .85;
  display: block;
  margin-top: 3px;
}
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 5px;
  font: 9px var(--mono);
  vertical-align: 1px;
}
.free-play {
  font: 8px var(--mono);
  letter-spacing: .03em;
  margin-top: 24px;
}
.free-play i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 6px;
}
.machine-column {
  width: min(100%,520px,calc((100svh - 390px)*.6667 + 14px));
  justify-self: end;
  min-width: 310px;
}
.machine-settings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 11px;
}
.machine-settings > div {
  display: flex;
  gap: 17px;
}
.machine-settings button {
  border: 0;
  padding: 6px 0;
  font-size: 11px;
  white-space: nowrap;
}
.gentle-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}
.gentle-switch input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.switch-track {
  width: 26px;
  height: 14px;
  border: 1px solid var(--paper);
  border-radius: 20px;
  position: relative;
  pointer-events: none;
}
.switch-track:after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 8px;
  height: 8px;
  background: var(--paper);
  border-radius: 50%;
  transition: transform .15s;
}
.gentle-switch input:checked + .switch-track:after {
  transform: translateX(12px);
  background: var(--ink);
}
.gentle-switch input:checked + .switch-track {
  background: var(--gold);
  border-color: var(--gold);
}
.gentle-switch input:focus-visible + .switch-track {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.machine {
  border: 7px solid var(--ink);
  border-radius: 19px 19px 10px 10px;
  box-shadow: 8px 10px 0 #832a20,0 2px 0 var(--ink);
  background: var(--ink);
  overflow: hidden;
}
.scoreboard {
  display: grid;
  grid-template-columns: 1.4fr 1fr .75fr;
  gap: 10px;
  padding: 15px 19px 12px;
  border-bottom: 1px solid #f5e7c92c;
  color: var(--paper);
  align-items: center;
}
.scoreboard > div {
  min-width: 0;
}
.scoreboard > div > span {
  font: 7px var(--mono);
  letter-spacing: .08em;
  display: block;
  opacity: .7;
  margin-bottom: 5px;
}
.scoreboard output {
  display: block;
  font: 30px/1 var(--mono);
  letter-spacing: 2px;
  color: var(--gold);
  text-shadow: 0 0 12px #edbb4620;
}
.scoreboard .lamp-readout output {
  font-size: 28px;
}
.scoreboard small {
  font-size: 12px;
  letter-spacing: 0;
  color: #f5e7c980;
}
.ball-readout {
  align-self: center;
}
.ball-readout #balls {
  display: flex;
  gap: 6px;
  opacity: 1;
  margin: 7px 0 0;
}
.ball-readout i {
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
  background: linear-gradient(130deg,#fffbea,#b0b1a5 60%,#5d6255);
  box-shadow: 0 0 0 1px #f5e7c930;
}
.ball-readout i.spent {
  background: #f5e7c920;
  box-shadow: none;
}
.playfield {
  position: relative;
}
#table {
  touch-action: pan-y;
  outline-offset: -5px;
}
.table-card {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 70%;
  transform: translate(-50%,-10%);
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 20px;
  text-align: center;
  z-index: 2;
}
.table-card:before {
  content: '';
  position: absolute;
  top: -8px;
  width: 70px;
  height: 15px;
  background: #244d9038;
  left: calc(50% - 35px);
  transform: rotate(-3deg);
}
.table-card .eyebrow {
  font-size: 7px;
  color: var(--red);
}
.table-card h2 {
  font: 400 25px/1.15 var(--display);
  letter-spacing: -1px;
  margin: 10px 0;
}
.table-card p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.45;
}
.table-card button {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  width: 100%;
  font-size: 12px;
  padding: 10px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}
.save-badge {
  color: var(--gold);
}
.save-badge:not([hidden]) + .base-motto {
  display: none;
}
.control-deck {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 12px;
  padding: 13px 15px;
  background: var(--paper);
  color: var(--ink);
  border-top: 4px solid var(--ink);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.control-deck button {
  border: 1px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  border-radius: 5px;
  height: 58px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-touch-callout: none;
}
.flipper-button {
  background: var(--red);
  color: var(--paper);
}
.flipper-button > span {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}
.flipper-button small {
  font: 7px var(--mono);
  letter-spacing: .06em;
}
.flipper-button[aria-pressed=true] {
  background: var(--blue);
  transform: translateY(2px);
  border-bottom-width: 2px;
}
.launch-button {
  background: var(--gold);
  padding: 6px 9px;
  font-weight: 600;
  font-size: 11px;
}
.launch-button small {
  font: 6px var(--mono);
  display: block;
  margin-top: 5px;
  letter-spacing: .04em;
}
.charge-track {
  display: block;
  width: 85%;
  height: 3px;
  background: #28292120;
  margin: 6px auto 0;
}
.charge-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ink);
}
.launch-button.charging {
  background: #ffcf56;
}
.machine-base {
  background: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px 4px;
  font: 6px var(--mono);
  letter-spacing: .06em;
  color: #f5e7c980;
}
.machine-under {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  margin: 23px 2px 0;
}
.machine-under button {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 2px 0 7px;
  font-size: 11px;
  white-space: nowrap;
}
.machine-under #nudge-note {
  font: 8px var(--mono);
  border: 1px solid var(--line);
  padding: 1px 3px;
  margin-left: 5px;
}
.machine-under p {
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  min-height: 31px;
}
.best-score {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 13px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font: 7px var(--mono);
  letter-spacing: .02em;
}
.best-score strong {
  font-size: 11px;
  letter-spacing: 1px;
  margin-left: 5px;
  font-weight: 400;
}
.best-score > span:last-child {
  font-size: 6px;
  opacity: .75;
  max-width: 45%;
  text-align: right;
}
.house-rules {
  display: grid;
  grid-template-columns: 1.15fr repeat(3,1fr);
  gap: 44px;
  margin: 20px 56px 40px;
  border-top: 1px solid var(--line);
  padding-top: 37px;
}
.rules-heading .eyebrow {
  font-size: 8px;
  white-space: nowrap;
}
.rules-heading h2 {
  font: 400 29px/1.1 var(--display);
  letter-spacing: -1.5px;
  margin-top: 15px;
}
.rule-icon {
  font: 38px var(--body);
  line-height: 1;
  display: block;
  color: var(--gold);
  margin-bottom: 16px;
}
.house-rules h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}
.house-rules p {
  font-size: 12px;
  opacity: .85;
  line-height: 1.6;
}
.closing-line {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  padding: 19px 0;
  margin-bottom: 0;
  border-top: 1px solid var(--line);
  font: 18px var(--display);
  letter-spacing: -.5px;
}
.closing-line span:nth-child(even) {
  color: var(--gold);
  font: 30px var(--body);
}
.collection-footer {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 35px;
  padding: 34px max(56px,calc((100vw - 1328px)/2));
  font-size: 10px;
}
.footer-brand {
  text-decoration: none;
  font: 13px var(--display);
  letter-spacing: -.5px;
  display: inline-block;
  margin-bottom: 14px;
}
.collection-footer p {
  margin: 7px 0;
}
.build-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font: 9px var(--mono);
}
.latest-link {
  display: inline-block;
  margin-top: 6px;
  text-underline-offset: 4px;
}
.collection-footer form {
  width: 365px;
  max-width: 100%;
  padding-top: 3px;
}
.collection-footer label {
  font: 8px var(--mono);
  display: block;
  margin-bottom: 11px;
}
.archive-navigation {
  display: flex;
  gap: 8px;
}
.archive-navigation select {
  min-width: 0;
  flex: 1;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #28292160;
  padding: 12px 9px;
  font-size: 11px;
}
.archive-navigation button {
  background: var(--ink);
  color: var(--paper);
  padding: 0 14px;
  font-size: 11px;
}
.collection-footer #archive-note {
  font-size: 10px;
  opacity: .8;
  margin-top: 8px;
}
dialog {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 35px;
  max-width: 540px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  box-shadow: 8px 8px 0 var(--ink);
}
dialog::backdrop {
  background: #282921b0;
  backdrop-filter: blur(5px);
}
dialog .eyebrow {
  color: var(--red);
  font-size: 9px;
}
dialog h2 {
  font: 400 31px/1.1 var(--display);
  letter-spacing: -1.5px;
  margin: 20px 0;
}
dialog p,
dialog li {
  font-size: 14px;
  line-height: 1.55;
}
dialog ol {
  padding-left: 19px;
}
dialog li {
  margin-bottom: 12px;
  padding-left: 3px;
}
dialog p {
  margin-top: 15px;
}
.help-note {
  font-size: 12px;
  border-top: 1px solid #28292140;
  padding-top: 15px;
}
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  font-size: 26px;
  width: 34px;
  height: 34px;
}
.solid-button {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 17px;
  border: 0;
  font-weight: 500;
}
#back-to-game {
  margin-top: 22px;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  margin-top: 23px;
}
.dialog-actions button {
  padding: 12px;
  font-size: 12px;
}
.noscript {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: var(--ink);
  color: var(--paper);
  z-index: 50;
  text-align: center;
}
@media (min-width:1500px) {
  .arcade {
    gap: 95px;
    padding-left: 100px;
    padding-right: 100px;
  }
  .invitation h1 {
    font-size: 110px;
  }
  .machine-column {
    justify-self: center;
  }
  .title-star {
    right: -10px;
  }
  .invitation {
    padding-top: 24px;
  }
}
@media (max-width:1150px) {
  .arcade {
    gap: 35px;
    padding: 28px 45px 40px;
  }
  .masthead {
    padding: 23px 35px;
  }
  .invitation h1 {
    font-size: 78px;
    letter-spacing: -4.8px;
  }
  .invitation > .eyebrow {
    font-size: 8px;
  }
  .title-star {
    font-size: 58px;
    right: 7px;
    top: 13px;
  }
  .tagline {
    font-size: 30px;
  }
  .intro-copy {
    font-size: 14px;
  }
  .lucky-seal {
    width: 90px;
    height: 90px;
    top: 265px;
    right: 14px;
  }
  .lucky-seal strong {
    font-size: 35px;
  }
  .lucky-seal span {
    font-size: 6px;
  }
  .quick-guide {
    margin-top: 28px;
  }
  .quick-guide strong {
    font-size: 14px;
  }
  .quick-guide p > span {
    font-size: 11px;
  }
  .house-rules {
    gap: 25px;
    margin-left: 35px;
    margin-right: 35px;
  }
  .house-rules p {
    font-size: 11px;
  }
  .rules-heading h2 {
    font-size: 25px;
  }
  .rules-heading .eyebrow {
    font-size: 7px;
  }
  .collection-footer {
    padding: 32px 35px;
  }
}
@media (max-width:820px) {
  .arcade {
    grid-template-columns: 1fr 1.15fr;
    gap: 22px;
    padding: 25px 22px 35px;
  }
  .masthead {
    padding: 20px 22px;
  }
  .invitation h1 {
    font-size: 59px;
    letter-spacing: -3px;
  }
  .title-star {
    font-size: 42px;
    right: 4px;
  }
  .invitation > .eyebrow {
    font-size: 6px;
    letter-spacing: 0;
  }
  .small-star {
    font-size: 13px;
    margin-right: 3px;
  }
  .tagline {
    font-size: 27px;
  }
  .intro-copy {
    font-size: 13px;
  }
  .lucky-seal {
    width: 77px;
    height: 77px;
    top: 233px;
    right: 2px;
  }
  .lucky-seal strong {
    font-size: 31px;
  }
  .lucky-seal span {
    font-size: 5px;
  }
  .quick-guide > div {
    gap: 10px;
  }
  .quick-guide strong {
    font-size: 13px;
  }
  .quick-guide p > span {
    font-size: 10px;
  }
  .quick-guide kbd {
    font-size: 8px;
    padding: 0 3px;
    min-width: 17px;
    height: 18px;
  }
  .free-play {
    font-size: 6px;
  }
  .machine-column {
    width: 100%;
    min-width: 0;
  }
  .scoreboard {
    padding: 12px 12px 10px;
    gap: 8px;
  }
  .scoreboard output {
    font-size: 23px;
  }
  .scoreboard .lamp-readout output {
    font-size: 23px;
  }
  .scoreboard > div > span {
    font-size: 6px;
  }
  .scoreboard small {
    font-size: 9px;
  }
  .ball-readout #balls {
    gap: 4px;
  }
  .ball-readout i {
    width: 8px;
    height: 8px;
  }
  .table-card {
    padding: 15px;
  }
  .table-card h2 {
    font-size: 19px;
  }
  .table-card p:not(.eyebrow) {
    font-size: 11px;
  }
  .table-card .eyebrow {
    font-size: 6px;
  }
  .control-deck {
    gap: 8px;
    padding: 10px;
  }
  .control-deck button {
    height: 53px;
  }
  .launch-button {
    font-size: 9px;
    padding: 5px;
  }
  .launch-button small {
    font-size: 5px;
  }
  .flipper-button small {
    font-size: 6px;
  }
  .machine-settings {
    font-size: 9px;
  }
  .machine-settings > div {
    gap: 12px;
  }
  .machine-settings button {
    font-size: 10px;
  }
  .machine-under {
    gap: 8px;
  }
  .machine-under button {
    font-size: 9px;
  }
  .machine-under p {
    font-size: 10px;
  }
  .machine-under #nudge-note {
    display: none;
  }
  .best-score {
    font-size: 6px;
  }
  .best-score strong {
    font-size: 10px;
  }
  .house-rules {
    grid-template-columns: 1fr 1fr;
    margin: 20px 22px 30px;
    gap: 27px 36px;
  }
  .rules-heading h2 {
    font-size: 29px;
  }
  .rules-heading .eyebrow {
    font-size: 8px;
  }
  .house-rules p {
    font-size: 12px;
  }
  .house-rules h3 {
    font-size: 15px;
  }
  .rule-icon {
    margin-bottom: 9px;
  }
  .closing-line {
    font-size: 15px;
    gap: 22px;
  }
  .collection-footer {
    padding: 30px 22px;
  }
  .collection-footer form {
    width: 300px;
  }
  .mast-date {
    font-size: 8px;
  }
  .mast-date span {
    font-size: 6px;
  }
  .brand {
    font-size: 8px;
  }
  .brand svg {
    width: 34px;
    height: 34px;
  }
  .help-button {
    font-size: 11px;
  }
  .help-button span {
    margin-left: 12px;
  }
}
@media (max-width:620px) {
  .masthead {
    padding: 18px 20px 15px;
  }
  .mast-date {
    display: none;
  }
  .brand svg {
    width: 31px;
    height: 31px;
  }
  .brand {
    font-size: 8px;
    gap: 8px;
  }
  .arcade {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 22px 18px 30px;
  }
  .invitation {
    padding-top: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    align-items: end;
  }
  .invitation > .eyebrow {
    grid-column: 1/-1;
    font-size: 7px;
    margin-bottom: 16px;
  }
  .invitation h1 {
    font-size: clamp(48px,13.5vw,76px);
    margin: 0;
    letter-spacing: -3px;
    grid-column: 1;
    grid-row: 2/4;
    line-height: .97;
  }
  .title-star {
    font-size: 40px;
    top: -6px;
    right: -15px;
  }
  .tagline {
    grid-column: 2;
    grid-row: 2;
    font-size: 27px;
    margin-left: 25px;
    align-self: center;
    line-height: 1.05;
  }
  .intro-copy {
    grid-column: 2;
    grid-row: 3;
    margin: 10px 0 0 25px;
    font-size: 12px;
    line-height: 1.35;
    max-width: 140px;
  }
  .intro-copy br:first-child {
    display: none;
  }
  .lucky-seal,
  .quick-guide,
  .free-play {
    display: none;
  }
  .machine-column {
    width: min(100%,450px);
    align-self: center;
    justify-self: center;
  }
  .machine-settings {
    font-size: 11px;
    margin-bottom: 11px;
  }
  .machine-settings button {
    font-size: 11px;
    padding: 7px 0;
  }
  .machine-settings > div {
    gap: 18px;
  }
  .machine {
    border-width: 6px;
    border-radius: 14px 14px 8px 8px;
    box-shadow: 5px 7px 0 #832a20;
  }
  .scoreboard {
    padding: 12px 15px 10px;
  }
  .scoreboard output {
    font-size: 26px;
  }
  .scoreboard .lamp-readout output {
    font-size: 25px;
  }
  .scoreboard > div > span {
    font-size: 6px;
  }
  .scoreboard small {
    font-size: 10px;
  }
  .ball-readout #balls {
    gap: 5px;
  }
  .ball-readout i {
    width: 9px;
    height: 9px;
  }
  .table-card {
    padding: 18px;
    width: 73%;
  }
  .table-card h2 {
    font-size: 23px;
  }
  .table-card p:not(.eyebrow) {
    font-size: 12px;
  }
  .table-card .eyebrow {
    font-size: 7px;
  }
  .table-card button {
    font-size: 12px;
    padding: 12px;
  }
  .control-deck {
    gap: 10px;
    padding: 12px;
  }
  .control-deck button {
    height: 57px;
  }
  .launch-button {
    font-size: 11px;
  }
  .launch-button small {
    font-size: 6px;
  }
  .flipper-button small {
    font-size: 7px;
  }
  .machine-base {
    font-size: 5px;
    padding-top: 8px;
  }
  .machine-under {
    margin-top: 19px;
    gap: 12px;
  }
  .machine-under button {
    font-size: 11px;
    min-height: 32px;
  }
  .machine-under p {
    font-size: 11px;
  }
  .best-score {
    font-size: 7px;
    padding-top: 12px;
    margin-top: 7px;
  }
  .best-score strong {
    font-size: 11px;
  }
  .best-score > span:last-child {
    font-size: 6px;
  }
  .house-rules {
    margin: 12px 20px 26px;
    padding-top: 27px;
    gap: 30px 23px;
  }
  .house-rules h3 {
    font-size: 14px;
  }
  .house-rules p {
    font-size: 12px;
  }
  .rules-heading h2 {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .rules-heading .eyebrow {
    font-size: 6px;
    white-space: normal;
  }
  .rule-icon {
    font-size: 33px;
  }
  .closing-line {
    font-size: 14px;
    padding: 15px 0;
    justify-content: flex-start;
    gap: 19px;
  }
  .collection-footer {
    flex-direction: column;
    gap: 25px;
    padding: 30px 20px;
  }
  .collection-footer form {
    width: 100%;
  }
  .footer-brand {
    font-size: 12px;
  }
  .build-stats {
    font-size: 8px;
    gap: 10px;
  }
  .collection-footer label {
    font-size: 8px;
  }
  dialog {
    padding: 27px 23px;
    max-height: calc(100dvh - 24px);
    width: calc(100% - 24px);
  }
  dialog h2 {
    font-size: 27px;
  }
  dialog p,
  dialog li {
    font-size: 13px;
  }
  .help-note {
    font-size: 11px;
  }
  .dialog-actions {
    gap: 8px;
  }
  .dialog-actions button {
    font-size: 11px;
  }
}
@media (max-width:370px) {
  .arcade {
    padding-left: 12px;
    padding-right: 12px;
  }
  .masthead {
    padding-left: 14px;
    padding-right: 14px;
  }
  .invitation h1 {
    font-size: 46px;
    letter-spacing: -3px;
  }
  .title-star {
    font-size: 32px;
    right: -12px;
    top: -1px;
  }
  .tagline {
    font-size: 23px;
    margin-left: 18px;
  }
  .intro-copy {
    margin-left: 18px;
    font-size: 11px;
  }
  .invitation > .eyebrow {
    font-size: 6px;
  }
  .scoreboard {
    padding: 11px 10px 9px;
    gap: 5px;
  }
  .scoreboard output {
    font-size: 22px;
  }
  .scoreboard .lamp-readout output {
    font-size: 22px;
  }
  .table-card h2 {
    font-size: 20px;
  }
  .table-card p:not(.eyebrow) {
    font-size: 11px;
  }
  .table-card {
    padding: 14px;
  }
  .control-deck {
    padding: 10px 8px;
    gap: 7px;
  }
  .launch-button {
    font-size: 9px;
  }
  .launch-button small {
    font-size: 5px;
  }
  .flipper-button small {
    font-size: 6px;
  }
  .machine-under {
    gap: 8px;
  }
  .machine-under p {
    font-size: 10px;
  }
  .machine-under button {
    font-size: 10px;
  }
  .house-rules {
    gap: 25px 19px;
  }
  .house-rules p {
    font-size: 11px;
  }
  .rules-heading h2 {
    font-size: 24px;
  }
  .best-score {
    font-size: 6px;
  }
  .best-score strong {
    font-size: 10px;
  }
  .machine-settings > div {
    gap: 12px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }
}
