.arcade-page {
  --arcade-gold: #dfc28a;
  --arcade-muted: #99aa9d;
  --arcade-line: #33483b;
  --arcade-panel: #17251d;
  background: #101912;
  color: #f0eee3;
  font-family: Inter, Pretendard, system-ui, sans-serif;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.arcade-page * {
  box-sizing: border-box;
}
.arcade-page [hidden] {
  display: none !important;
}
.arcade-page button,
.arcade-page select,
.arcade-page input {
  font: inherit;
}
.arcade-page button,
.arcade-page a,
.arcade-page input,
.arcade-page select,
.arcade-page summary {
  -webkit-tap-highlight-color: transparent;
}
.arcade-page :focus-visible,
.arcade-lobby :focus-visible {
  outline: 2px solid var(--arcade-gold, #dfc28a);
  outline-offset: 4px;
}
.arcade-page button {
  cursor: pointer;
}
.arcade-page button:disabled {
  cursor: default;
  opacity: 0.45;
}
.arcade-layout {
  max-width: 1600px;
  margin: auto;
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  gap: 30px;
  padding: 28px 32px 48px;
}
.arcade-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100dvh - 120px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #405345 transparent;
}
.floor-label {
  display: flex;
  justify-content: space-between;
  color: #a8b7ab;
  letter-spacing: 0.15em;
  font-size: 10px;
  margin: 0 10px 18px;
}
.floor-label span {
  color: #e2c58e;
}
.arcade-games {
  display: grid;
  gap: 4px;
}
.arcade-game-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  color: #c4d0c6;
  min-height: 56px;
}
.arcade-game-link:hover {
  background: #1c2c22;
}
.arcade-game-link.selected {
  border-color: #4c6248;
  background: linear-gradient(110deg, #293b29, #1a2920);
  color: #f2dcad;
}
.arcade-game-link strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.arcade-game-link small {
  display: block;
  color: #9aada0;
  font-size: 10px;
  margin-top: 4px;
}
.game-glyph {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  font-size: 27px;
  color: #d7bd83;
}
.game-glyph svg,
.game-glyph img {
  width: 30px;
  height: 30px;
}
.game-glyph .slot-symbol {
  width: 34px;
  height: 34px;
}
.glyph-gostop {
  color: #e48277;
}
.glyph-crash {
  color: #91bce2;
}
.arcade-main {
  min-width: 0;
}
.arcade-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  margin-bottom: 24px;
}
.arcade-heading h1 {
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 7px 0 0;
  font-weight: 600;
}
.arcade-heading .eyebrow {
  font-size: 10px;
  color: var(--arcade-gold);
  letter-spacing: 0.18em;
  margin: 0;
}
.arcade-top-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.arcade-top-tools .text-button {
  min-height: 44px;
  white-space: nowrap;
}
.arcade-page .text-button {
  background: transparent;
  border: 0;
  color: #b8c7ba;
  font-size: 12px;
  padding: 8px;
}
.arcade-page .text-button:hover {
  color: #f3d99c;
}
.arcade-page #connection-label {
  color: #b3bba8;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 18px;
}
.arcade-page #connection-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #d8b56f;
  border-radius: 50%;
}
.arcade-page #connection-label[data-state="connected"]::before {
  background: #a4c691;
}
.arcade-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 224px;
  gap: 20px;
  align-items: start;
}
.arcade-stage {
  border: 1px solid #344337;
  background: radial-gradient(ellipse at 50% 35%, #244333 0, #1b3023 42%, #14261c 100%);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 18px 45px #0002;
}
.board-topline {
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.16em;
  font-size: 9px;
  color: #a8b7a17d;
  padding: 20px 24px 0;
}
.arcade-board {
  min-height: 470px;
  padding: 26px 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.result-line {
  min-height: 52px;
  padding: 10px 20px 20px;
  text-align: center;
}
.result-line strong {
  font-size: 14px;
  color: #b9c9bb;
  font-weight: 500;
  line-height: 1.8;
}
.result-line .won {
  color: #f5d884;
}
.arcade-controls {
  background: #17241b;
  border: 1px solid #344337;
  border-radius: 14px;
  padding: 22px 18px;
  position: sticky;
  top: 100px;
  min-width: 0;
}
.arcade-wallet {
  border-bottom: 1px solid #344337;
  padding-bottom: 20px;
  margin-bottom: 22px;
}
.arcade-wallet > span {
  display: block;
  color: #9faf9f;
  font-size: 11px;
}
.arcade-wallet > strong {
  display: block;
  font-size: 27px;
  margin-top: 9px;
  letter-spacing: -0.035em;
  color: #f2dfb9;
}
.bet-control > label {
  display: block;
  font-size: 11px;
  color: #bac7b8;
  margin-bottom: 10px;
}
.bet-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #435343;
  border-radius: 8px;
  overflow: hidden;
}
.bet-stepper button {
  width: 40px;
  height: 44px;
  flex: 0 0 40px;
  color: #d0d9cb;
  background: #233424;
  border: 0;
  font-size: 20px;
}
.bet-stepper input {
  min-width: 0;
  width: 100%;
  height: 44px;
  text-align: center;
  color: #f5ecd7;
  background: #111f16;
  border: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}
.bet-stepper input::-webkit-inner-spin-button,
.bet-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.bet-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 7px;
}
.bet-shortcuts button {
  height: 35px;
  border: 1px solid #374737;
  border-radius: 5px;
  background: transparent;
  color: #adbcaa;
  font-size: 10px;
}
.bet-shortcuts button:hover {
  background: #2d402b;
}
.arcade-options {
  margin: 22px 0 0;
}
.arcade-options:empty {
  display: none;
}
.arcade-options label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #bac8b5;
}
.arcade-options select {
  background: #203220;
  border: 1px solid #41533e;
  border-radius: 7px;
  color: #eceddc;
  padding: 10px;
  min-height: 44px;
}
.choice-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.choice {
  background: #1b2b1d;
  color: #bac9b8;
  border: 1px solid #3a4e39;
  border-radius: 7px;
  min-height: 44px;
  font-size: 12px;
  padding: 8px 4px;
}
.choice.selected {
  color: #f3db9f;
  background: #384630;
  border-color: #bc9b60;
}
.choice:hover {
  background: #34442d;
}
.range-label {
  flex-wrap: wrap;
}
.range-label output {
  margin-left: auto;
  color: #f1d29b;
}
.range-label input {
  width: 100%;
  accent-color: #d9b777;
  min-height: 32px;
  cursor: pointer;
}
.arcade-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.arcade-actions:empty {
  display: none;
}
.action-secondary {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #53634a;
  border-radius: 8px;
  background: #283b27;
  color: #f2eddc;
  font-size: 13px;
  line-height: 1.4;
}
.action-secondary small {
  display: block;
  font-size: 10px;
  color: #c2cbb7;
  margin-top: 2px;
}
.action-secondary:hover {
  background: #354c33;
}
.arcade-primary {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border: 1px solid #ebd3a3;
  border-radius: 9px;
  background: linear-gradient(#ead3a2, #c9a870);
  box-shadow: 0 3px 0 #977642;
  color: #1e291c;
  font-size: 15px;
  font-weight: 650;
  transition:
    filter 0.15s,
    transform 0.15s;
}
.arcade-primary:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.arcade-primary:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #977642;
}
.arcade-error {
  font-size: 12px;
  line-height: 1.6;
  color: #ffc3ac;
  margin: 18px 0 0;
}
.arcade-rules {
  max-width: 560px;
  max-height: 82dvh;
  overflow: auto;
  border: 1px solid #526144;
  border-radius: 16px;
  padding: 30px;
  background: #19271e;
  color: #e4e9da;
}
.arcade-rules::backdrop {
  background: #061109bd;
  backdrop-filter: blur(5px);
}
.arcade-rules h2 {
  font-size: 22px;
}
.arcade-rules #rules-body {
  font-size: 13px;
  line-height: 1.9;
  color: #c4cfbf;
}
.arcade-rules .dialog-close {
  float: right;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #d9e0d2;
  font-size: 25px;
}
.paytable {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  text-align: center;
}
.paytable td,
.paytable th {
  border-bottom: 1px solid #384a38;
  padding: 8px;
}
.paytable .slot-symbol {
  width: 40px;
  height: 40px;
}
.slot-symbol {
  display: inline-block;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  vertical-align: middle;
}
.slot-machine {
  width: 100%;
  max-width: 670px;
  margin: auto;
  padding: 20px 17px 12px;
  border: 1px solid #a58c52;
  border-radius: 24px 24px 13px 13px;
  background: linear-gradient(115deg, #51442b, #806541 24%, #3f3928 51%, #746242 78%, #3b3322);
  box-shadow:
    inset 0 0 0 4px #1e291dcc,
    0 18px 30px #07150955;
}
.machine-crown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: #ead599;
  padding: 0 0 20px;
  text-align: center;
}
.machine-crown > span {
  font-size: 28px;
}
.machine-crown small {
  display: block;
  letter-spacing: 0.4em;
  font-size: 8px;
  margin-bottom: 5px;
}
.machine-crown strong {
  font:
    600 clamp(16px, 2.2vw, 25px)/1.2 Georgia,
    serif;
  letter-spacing: 0.13em;
}
.reel-frame {
  position: relative;
  border: 2px solid #c9a675;
  padding: 7px;
  border-radius: 11px;
  background: #181e16;
  box-shadow:
    0 0 0 2px #191d12,
    inset 0 4px 8px #0008;
}
.reels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  border-radius: 4px;
  overflow: hidden;
}
.reel {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(#cabba0, #f1e8d7 20%, #f7f1e5 50%, #e4d5b9 80%, #bfb191);
  box-shadow: inset 3px 0 8px #61523450;
}
.reel-cell {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1/1;
  min-width: 0;
}
.reel-cell .slot-symbol {
  width: 90%;
  height: auto;
  aspect-ratio: 1;
}
.reel-cell.hit {
  box-shadow: inset 0 0 0 2px #ddae42;
  background: #ffe9a677;
}
.payline-marker {
  position: absolute;
  color: #f6cf77;
  font-size: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.payline-marker.left {
  left: -16px;
}
.payline-marker.right {
  right: -16px;
}
.machine-meters {
  display: flex;
  justify-content: space-around;
  gap: 6px;
  padding-top: 14px;
}
.table-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.table-stat > span {
  font-size: 10px;
  color: #b7c2ae;
}
.table-stat > strong {
  font-size: 19px;
  color: #f7e4ad;
}
.machine-meters .table-stat > span {
  color: #e4d5af;
}
.machine-meters .table-stat > strong {
  font-size: 20px;
  color: #fff0c4;
}
.slot-legend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 10px;
  color: #b8c8b6;
}
.slot-legend .slot-symbol {
  width: 22px;
  height: 22px;
}
.slot-legend .text-button {
  font-size: 10px;
}
.deal-motion .reel {
  animation: reel-arrive 0.48s cubic-bezier(0.15, 0.7, 0.25, 1) backwards;
}
.deal-motion .reel-1 {
  animation-delay: 0.04s;
}
.deal-motion .reel-2 {
  animation-delay: 0.08s;
}
.deal-motion .reel-3 {
  animation-delay: 0.12s;
}
.deal-motion .reel-4 {
  animation-delay: 0.16s;
}
@keyframes reel-arrive {
  from {
    transform: translateY(-30px);
    filter: blur(3px);
  }
  to {
    transform: translateY(0);
    filter: blur(0);
  }
}
.derby-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 22px;
}
.derby-banner small {
  font-size: 8px;
  letter-spacing: 0.25em;
  color: #c2be8b;
}
.derby-banner h2 {
  font:
    italic 32px Georgia,
    serif;
  color: #eeebce;
  margin: 8px 0 0;
}
.race-clock {
  font-size: 12px;
  color: #cbd9ae;
  padding: 8px 12px;
  background: #2c4628;
  border-radius: 30px;
  white-space: nowrap;
}
.race-track {
  border: 1px solid #68794b;
  border-radius: 13px;
  overflow: hidden;
  background: #2a492d;
}
.race-lane {
  display: flex;
  align-items: center;
  width: 100%;
  height: 63px;
  position: relative;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed #68865b;
  background: linear-gradient(90deg, #335033, #325d32);
  text-align: left;
  color: #d4dfc4;
  opacity: 1 !important;
}
.race-lane:last-child {
  border-bottom: 0;
}
.race-lane:nth-child(2n) {
  background: linear-gradient(90deg, #29472d, #274e2d);
}
.race-lane.selected {
  box-shadow: inset 0 0 0 2px #edce7c;
  background: linear-gradient(90deg, #52613b, #436236);
}
.race-lane.winner {
  box-shadow: inset 0 0 0 2px #f3dc8b;
}
.lane-label {
  width: 72px;
  flex: 0 0 72px;
  font-size: 11px;
  padding-left: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.lane-label b {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid #96a56e;
  border-radius: 50%;
  font-size: 10px;
}
.lane-course {
  position: relative;
  height: 54px;
  flex: 1;
  margin-right: 14px;
}
.snail-runner {
  width: 64px;
  height: 51px;
  position: absolute;
  left: 0;
  bottom: 3px;
  z-index: 2;
}
.snail-runner img {
  width: 49px;
  height: 49px;
  transform: scaleX(-1);
  filter: drop-shadow(0 4px 2px #0a1a0b55);
}
.snail-runner i {
  position: absolute;
  right: 10px;
  top: 16px;
  background: #253625;
  color: #fff5cc;
  border: 1px solid #d9bc76;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  font-style: normal;
  text-align: center;
  line-height: 15px;
  font-size: 10px;
}
.lane-0 img {
  filter: hue-rotate(318deg);
}
.lane-2 img {
  filter: hue-rotate(120deg);
}
.lane-3 img {
  filter: hue-rotate(60deg);
}
.lane-4 img {
  filter: hue-rotate(190deg);
}
.lane-5 img {
  filter: hue-rotate(275deg);
}
.finish-line {
  position: absolute;
  right: 3px;
  top: 0;
  bottom: 0;
  width: 12px;
  background: conic-gradient(#e7e5d0 25%, #233d25 0 50%, #e7e5d0 0 75%, #233d25 0) 0 0/12px 12px;
  opacity: 0.8;
}
.race-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #a8bea1;
  padding: 17px 7px;
}
.race-foot strong {
  color: #e9dbab;
  padding-left: 7px;
}
.ladder-select,
.ladder-goals {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2%;
}
.ladder-start {
  height: 44px;
  width: 44px;
  border: 1px solid #526743;
  border-radius: 50%;
  background: #25412a;
  color: #cadbbf;
}
.ladder-start.selected {
  background: #d3b77c;
  color: #19371c;
  border-color: #ebd6a8;
}
.ladder-board {
  width: 100%;
  height: auto;
  max-height: 365px;
  overflow: visible;
}
.ladder-lines {
  fill: none;
  stroke: #607a57;
  stroke-width: 3;
  stroke-linecap: round;
}
.ladder-trace {
  fill: none;
  stroke: #efd68d;
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: ladder-walk 1s ease-out;
}
.ladder-goals > span {
  min-width: 40px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #536448;
  border-radius: 8px;
  background: #1c3623;
  color: #bacbac;
  font-size: 13px;
}
.ladder-goals .goal-win {
  background: #534c2e;
  color: #f3daa0;
  border-color: #9a8353;
}
@keyframes ladder-walk {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.playing-card {
  width: 100px;
  height: auto;
  aspect-ratio: 300/405;
  object-fit: contain;
  border-radius: 7px;
  filter: drop-shadow(0 6px 5px #09180a66);
  user-select: none;
}
.playing-card.small {
  width: 68px;
}
.table-caption {
  display: flex;
  justify-content: space-between;
  margin-bottom: 38px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #bac6aa;
}
.table-caption strong {
  color: #ead49b;
  letter-spacing: 0;
}
.lowhigh-table {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  min-height: 200px;
}
.deck-stack {
  position: relative;
  transform: rotate(-7deg);
}
.deck-stack::before,
.deck-stack::after {
  content: "";
  position: absolute;
  inset: 3px -2px -3px 2px;
  background: #e0d9bf;
  border: 1px solid #c2b69a;
  border-radius: 6px;
  z-index: -1;
}
.deck-stack::before {
  inset: 6px -4px -6px 4px;
}
.deck-stack span {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 11px;
  color: #adbfa3;
}
.active-playing-card .playing-card {
  width: 126px;
  transform: rotate(4deg);
}
.bank-pillar {
  display: grid;
  gap: 10px;
  min-width: 74px;
}
.bank-pillar small {
  font-size: 10px;
  color: #a9bfa5;
}
.bank-pillar strong {
  font-size: 26px;
  color: #f1dca7;
}
.bank-pillar span {
  font-size: 10px;
  color: #a9bfa5;
}
.card-trail {
  min-height: 77px;
  display: flex;
  justify-content: center;
  margin: 35px 0 0;
  padding: 0 14px;
}
.card-trail .playing-card {
  width: 44px;
  margin-left: -9px;
}
.badugi-table {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.opponent-info {
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin-bottom: 14px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #354c3b;
  border: 1px solid #66775a;
  color: #d8e2bd;
  font:
    18px Georgia,
    serif;
  flex: 0 0 35px;
}
.opponent-info strong {
  display: block;
  font-size: 12px;
}
.opponent-info span:not(.avatar) {
  display: block;
  font-size: 10px;
  color: #bdc9ac;
  margin-top: 3px;
}
.badugi-opponent {
  display: flex;
  gap: 7px;
}
.badugi-pot {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 26px 0 25px;
  gap: 6px;
}
.badugi-pot > span {
  font-size: 10px;
  color: #a8bba2;
}
.badugi-pot > strong {
  font-size: 27px;
  color: #e7d5a4;
}
.draw-steps {
  display: flex;
  gap: 13px;
  margin-top: 9px;
  font-size: 9px;
  color: #769174;
}
.draw-steps .current {
  color: #f0d497;
}
.badugi-hand {
  display: flex;
  gap: 10px;
}
.hand-card {
  border: 0;
  padding: 0;
  position: relative;
  background: transparent;
  opacity: 1 !important;
  transition: transform 0.18s;
}
.hand-card .playing-card {
  width: 80px;
}
.hand-card > span {
  display: block;
  font-size: 10px;
  text-align: center;
  color: #adbea2;
  margin-top: 10px;
}
.hand-card.selected {
  transform: translateY(-12px);
}
.hand-card.selected .playing-card {
  outline: 3px solid #e5c680;
  outline-offset: 2px;
}
.hand-card.selected > span {
  color: #f8d984;
}
.hand-label {
  font-size: 13px;
  color: #e1d5b1;
  margin-top: 16px;
  font-weight: 500;
}
.table-log {
  min-height: 20px;
  text-align: center;
  margin-top: 16px;
  font-size: 11px;
  color: #9eb196;
}
.hwatu {
  width: 61px;
  height: auto;
  aspect-ratio: 103.2/168.2;
  display: block;
  filter: drop-shadow(0 3px 2px #06170a55);
  flex: 0 0 auto;
}
.hwatu-welcome {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
.hwatu-fan {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 210px;
}
.hwatu-fan .hwatu {
  width: 85px;
  margin-left: -21px;
  transform: rotate(-15deg) translateY(7px);
}
.hwatu-fan .hwatu:nth-child(2) {
  transform: rotate(-7deg);
}
.hwatu-fan .hwatu:nth-child(3) {
  transform: none;
}
.hwatu-fan .hwatu:nth-child(4) {
  transform: rotate(7deg);
}
.hwatu-fan .hwatu:nth-child(5) {
  transform: rotate(15deg) translateY(7px);
}
.hwatu-welcome h2 {
  font-size: 23px;
  font-weight: 500;
  color: #f5e7c5;
  margin: 0;
}
.hwatu-welcome > span {
  font-size: 11px;
  color: #b8c7ac;
}
.gostop-opponents {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.gostop-opponents > div {
  min-width: 0;
  flex: 1;
}
.hwatu-seat {
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #19342077;
}
.hwatu-seat.current {
  border-color: #cfb271;
  background: #2f482477;
}
.seat-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.seat-heading > div {
  flex: 1;
  min-width: 0;
}
.seat-heading strong {
  display: block;
  font-size: 12px;
}
.seat-heading small {
  display: block;
  font-size: 9px;
  color: #a5bb9d;
  margin-top: 4px;
}
.seat-heading > b {
  font-size: 25px;
  color: #ecd7a4;
  white-space: nowrap;
}
.seat-heading > b small {
  display: inline;
  font-size: 9px;
  margin-left: 3px;
}
.seat-heading em {
  font-style: normal;
  font-size: 11px;
  color: #f2c57c;
}
.hwatu-counts {
  display: flex;
  gap: 9px;
  font-size: 9px;
  color: #b3c3a7;
  margin-top: 10px;
}
.capture-details {
  font-size: 10px;
  color: #aabf9e;
}
.capture-details summary {
  padding: 9px 0 2px;
  cursor: pointer;
}
.capture-strip {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.capture-strip .hwatu {
  width: 32px;
}
.opponent-hwatu {
  display: flex;
  justify-content: center;
  margin: 10px 0 0;
  padding-left: 11px;
}
.opponent-hwatu .hwatu {
  width: 30px;
  margin-left: -10px;
}
.hwatu-floor {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  min-height: 186px;
  position: relative;
}
.hwatu-stock {
  display: grid;
  gap: 10px;
  justify-items: center;
  flex: 0 0 45px;
}
.hwatu-stock .hwatu {
  width: 40px;
}
.hwatu-stock span {
  font-size: 9px;
  color: #bccaa8;
}
.floor-cards {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.floor-card {
  border: 0;
  padding: 0;
  background: transparent;
  opacity: 1 !important;
  border-radius: 5px;
}
.floor-card .hwatu {
  width: 51px;
}
.floor-card.choose-target {
  outline: 3px solid #edd48b;
  outline-offset: 3px;
  transform: translateY(-4px);
}
.flipped-hwatu {
  display: grid;
  justify-items: center;
  gap: 8px;
}
.flipped-hwatu span {
  font-size: 9px;
  color: #f4d388;
}
.flipped-hwatu .hwatu {
  width: 45px;
}
.gostop-event {
  font-size: 12px;
  text-align: center;
  color: #e5d59e;
  min-height: 26px;
  margin-bottom: 8px;
}
.hwatu-hand {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  margin-top: 18px;
  min-height: 93px;
}
.hwatu-hand-card {
  border: 0;
  padding: 0;
  background: none;
  border-radius: 4px;
  min-width: 0;
  opacity: 1 !important;
  transition: transform 0.15s;
  flex: 0 1 57px;
}
.hwatu-hand-card .hwatu {
  width: 100%;
  min-width: 0;
}
.hwatu-hand-card:not(:disabled):hover {
  transform: translateY(-10px);
  outline: 2px solid #e5c783;
}
.gostop-table > .hwatu-seat {
  max-width: 360px;
  margin: auto;
}
.pachinko-layout {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.pachinko-cabinet {
  width: min(100%, 375px);
  padding: 10px;
  border-radius: 42px 42px 15px 15px;
  border: 2px solid #ac925f;
  background: linear-gradient(135deg, #8d794e, #b99b60 15%, #4f4634 35%, #a78858 65%, #5a4b32);
  box-shadow:
    inset 0 0 0 4px #151e18,
    0 12px 30px #0004;
}
.pachinko-cabinet svg {
  width: 100%;
  height: auto;
  display: block;
  background: radial-gradient(ellipse at 50% 35%, #264d5a, #132f3c 60%, #102833);
  border-radius: 32px 32px 8px 8px;
}
.pin-arch {
  fill: none;
  stroke: #84948c;
  stroke-width: 5;
}
.pin-title {
  font:
    600 26px Georgia,
    serif;
  text-anchor: middle;
  letter-spacing: 3px;
  fill: #ead299;
}
.launch-rail {
  fill: none;
  stroke: #65888c;
  stroke-width: 6;
}
.pin-display {
  fill: #0b1c23;
  stroke: #a9aa83;
  stroke-width: 2;
}
#pin-reels {
  fill: #f2d18a;
  font:
    30px Georgia,
    serif;
}
.pin-gate {
  fill: none;
  stroke: #eed392;
  stroke-width: 6;
}
.gate-label {
  fill: #c8d6b7;
  text-anchor: middle;
  font-size: 14px;
  letter-spacing: 2px;
}
.pin-prize {
  fill: #ffe49e;
  font-size: 24px;
  text-anchor: middle;
  animation: prize-float 1.5s forwards;
}
.drain {
  fill: none;
  stroke: #0b1b24;
  stroke-width: 16;
  stroke-linecap: round;
}
.pachinko-meters {
  display: grid;
  gap: 25px;
  min-width: 65px;
}
.pachinko-meters .table-stat strong {
  font-size: 23px;
}
@keyframes prize-float {
  to {
    transform: translateY(-50px);
    opacity: 0;
  }
}
.coin-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 45px 0;
}
.coin-disc {
  width: 184px;
  height: 184px;
  border: 9px double #f1d692;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, #efd69e, #c79c48 48%, #866332);
  box-shadow:
    inset 0 0 0 5px #977a3f,
    0 20px 20px #091b0b66;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #775127;
}
.coin-disc > span {
  font:
    105px/0.95 Georgia,
    serif;
  text-shadow: 1px 1px #fce7a9;
}
.coin-disc small {
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-top: 10px;
}
.coin-stage > strong {
  font-size: 15px;
  font-weight: 400;
  color: #e7d9b4;
}
.coin-stage.deal-motion .coin-disc {
  animation: coin-arrive 0.55s ease-out;
}
@keyframes coin-arrive {
  from {
    transform: rotateY(270deg) translateY(-25px);
  }
  to {
    transform: rotateY(0) translateY(0);
  }
}
.dice-stage {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 70px 0 35px;
}
.die-face {
  width: 114px;
  height: 114px;
  filter: drop-shadow(0 14px 10px #05130766);
  transform: rotate(-9deg);
}
.die-face:nth-child(2) {
  transform: rotate(13deg);
}
.die-face rect {
  fill: #f0e6cf;
  stroke: #c9bc9f;
  stroke-width: 3;
}
.die-face circle {
  fill: #263328;
}
.dice-stage.deal-motion .die-face {
  animation: dice-arrive 0.4s ease-out;
}
.dice-total {
  text-align: center;
  font-size: 30px;
  color: #eadaad;
  min-height: 50px;
}
.color-stage {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 70px 0 40px;
}
.color-gem {
  filter: grayscale(0.8);
  opacity: 0.35;
  transition: opacity 0.25s;
  display: grid;
  place-items: center;
}
.color-gem .slot-symbol {
  width: 108px;
  height: 108px;
}
.gem-0 {
  --hue: 130deg;
}
.gem-1 {
  --hue: 0deg;
}
.gem-2 {
  --hue: 255deg;
}
.color-gem.active {
  filter: hue-rotate(var(--hue)) drop-shadow(0 0 17px #cddcd55c);
  opacity: 1;
  transform: scale(1.13);
}
.range-stage {
  padding: 70px 6% 40px;
}
.range-stage > strong {
  display: block;
  text-align: center;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  color: #e8d4a6;
  margin-bottom: 60px;
}
.range-track {
  position: relative;
  background: #6d433b;
  border-radius: 20px;
  height: 14px;
}
.range-track > span {
  display: block;
  background: #79966a;
  height: 100%;
  border-radius: 20px 0 0 20px;
}
.range-track > i {
  position: absolute;
  top: -8px;
  transform: translateX(-50%);
  height: 30px;
  width: 5px;
  border-radius: 4px;
  background: #f8e5b5;
  box-shadow: 0 0 0 2px #2c3a21;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 11px;
  color: #bdd0ac;
}
.range-labels b {
  font-weight: 500;
  color: #e7d5a7;
}
.mines-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 24px;
}
.mines-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 425px);
  margin: auto;
}
.mine-cell {
  aspect-ratio: 1;
  border: 1px solid #5c7352;
  border-bottom-width: 4px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3f5f3d, #2e4c30);
  display: grid;
  place-items: center;
  min-width: 0;
  position: relative;
  opacity: 1 !important;
}
.mine-cell:hover:not(:disabled) {
  border-color: #c5bb82;
  background: #486b40;
}
.mine-spark {
  color: #839c67;
  font-size: 22px;
}
.mine-cell .slot-symbol {
  width: 80%;
  height: auto;
  aspect-ratio: 1;
}
.mine-cell.opened {
  background: #183426;
  border: 1px solid #608367;
}
.mine-cell.exploded {
  background: #693d31;
  border-color: #d68b69;
  color: #f7c89d;
  font-size: 35px;
}
.orbit-stage {
  position: relative;
  padding: 30px 0 0;
}
.orbit-multiplier {
  font-size: clamp(45px, 6vw, 76px);
  color: #ece0bb;
  text-align: center;
  font-weight: 350;
  letter-spacing: -0.055em;
}
.orbit-multiplier span {
  font-size: 28px;
  margin-left: 9px;
  color: #aec395;
}
.orbit-chart {
  width: 100%;
  height: auto;
}
.orbit-grid {
  fill: none;
  stroke: #3d5642;
  stroke-width: 1;
}
#orbit-path {
  fill: none;
  stroke: #a9cf8e;
  stroke-width: 4;
  stroke-linecap: round;
}
#orbit-head {
  fill: #e4d59f;
  filter: drop-shadow(0 0 9px #b2d391);
}
.orbit-caption {
  display: block;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #a5c394;
}
.scratch-ticket {
  width: min(100%, 400px);
  margin: auto;
  background: #f0dfad;
  border: 1px solid #f3e9c6;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 25px #061c0e66;
  color: #5a472b;
}
.ticket-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.ticket-heading span {
  font-size: 8px;
  letter-spacing: 0.16em;
}
.ticket-heading b {
  font:
    600 21px Georgia,
    serif;
  letter-spacing: 0.04em;
}
.scratch-area {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #b49a60;
}
.scratch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: #c1aa71;
}
.scratch-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px;
  background: #f8edcb;
  aspect-ratio: 1;
}
.scratch-cell .slot-symbol {
  width: 70%;
  height: auto;
  aspect-ratio: 1;
}
.scratch-cell > span:last-child:not(.slot-symbol) {
  font-size: 11px;
  font-weight: 600;
}
.scratch-cell.matched {
  background: #f8d678;
  box-shadow: inset 0 0 0 2px #c19630;
}
#scratch-cover,
.ticket-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}
.ticket-cover {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #bba975, #e9dba9, #a58e55);
  font:
    27px Georgia,
    serif;
  letter-spacing: 0.08em;
}
.scratch-ticket .action-secondary {
  margin-top: 14px;
  width: 100%;
  color: #56452a;
  background: #e4ce92;
  border-color: #bda568;
}
.plinko-stage {
  max-width: 640px;
  width: 100%;
  margin: auto;
}
.plinko-stage svg {
  width: 100%;
  height: auto;
  display: block;
}
.plinko-pins {
  fill: #8fa48a;
}
#plinko-ball {
  fill: #efd39b;
  filter: drop-shadow(0 0 8px #d1ac5b99);
}
.plinko-bins {
  display: grid;
  grid-template-columns: repeat(17, minmax(0, 1fr));
  gap: 3px;
  margin-top: -40px;
  position: relative;
}
.plinko-bins span {
  padding: 8px 0;
  background: #506445;
  border-radius: 4px;
  color: #e6e4bd;
  font-size: 8px;
  text-align: center;
}
.plinko-bins span:nth-child(-n + 4),
.plinko-bins span:nth-last-child(-n + 4) {
  background: #826746;
}
.plinko-bins .active {
  outline: 2px solid #f7d38a;
  color: #fff8d2;
  background: #a27d40;
}
@keyframes dice-arrive {
  from {
    translate: 0 -25px;
    rotate: 35deg;
  }
  to {
    translate: 0 0;
    rotate: 0deg;
  }
}
.arcade-lobby {
  margin: 42px 0 25px;
}
.arcade-lobby-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.arcade-lobby-heading h2 {
  font-size: 24px;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0;
}
.arcade-lobby-heading a {
  color: #c0cbb6;
  text-decoration: none;
  font-size: 12px;
}
.arcade-tiles {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.arcade-tile {
  display: flex;
  min-height: 174px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 9px;
  background: linear-gradient(140deg, #35492e, #1e3024);
  border: 1px solid #526148;
  border-radius: 13px;
  text-decoration: none;
  color: #ebe1c4;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.arcade-tile:hover {
  transform: translateY(-4px);
  border-color: #d7b679;
}
.tile-graphic {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font:
    55px Georgia,
    serif;
  color: #e4c58a;
  margin-bottom: 5px;
}
.tile-graphic img,
.tile-graphic svg {
  width: 60px;
  height: 60px;
}
.tile-graphic .slot-symbol {
  width: 60px;
  height: 60px;
}
.arcade-tile strong {
  font-size: 13px;
  font-weight: 500;
}
.arcade-tile small {
  font-size: 7px;
  letter-spacing: 0.13em;
  color: #a3b39c;
}
.tile-gostop {
  background: linear-gradient(140deg, #643c37, #392b23);
}
.tile-gostop .tile-graphic {
  color: #e7a598;
}
.tile-pachinko {
  background: linear-gradient(140deg, #354e60, #1b3039);
}
.tile-snails {
  background: linear-gradient(140deg, #57633a, #293e26);
}
.tile-slots {
  background: linear-gradient(140deg, #6c5731, #362e22);
}
.tile-slots .tile-graphic {
  font-style: italic;
  color: #f8d8a0;
  text-shadow: 2px 3px #9c6334;
}
@media (min-width: 1600px) {
  .arcade-board {
    min-height: 570px;
  }
  .reel-cell .slot-symbol {
    width: 87%;
  }
}
@media (max-width: 1190px) {
  .arcade-layout {
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 20px;
    padding: 22px;
  }
  .arcade-room {
    grid-template-columns: minmax(0, 1fr) 202px;
    gap: 14px;
  }
  .arcade-controls {
    padding: 20px 14px;
  }
  .arcade-board {
    padding: 24px 18px 16px;
    min-height: 435px;
  }
  .arcade-game-link {
    gap: 9px;
    padding: 9px 6px;
  }
  .arcade-game-link strong {
    font-size: 12px;
  }
  .game-glyph {
    width: 27px;
    flex-basis: 27px;
  }
  .lowhigh-table {
    gap: 22px;
  }
  .playing-card {
    width: 83px;
  }
  .active-playing-card .playing-card {
    width: 102px;
  }
  .bank-pillar strong {
    font-size: 22px;
  }
  .arcade-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pachinko-layout {
    gap: 12px;
  }
  .pachinko-meters {
    min-width: 54px;
    gap: 20px;
  }
  .pachinko-meters .table-stat strong {
    font-size: 19px;
  }
  .hwatu-floor {
    gap: 12px;
  }
  .floor-card .hwatu {
    width: 43px;
  }
  .gostop-opponents {
    gap: 12px;
  }
  .hwatu-hand {
    gap: 4px;
  }
}
@media (max-width: 950px) {
  .arcade-layout {
    display: block;
    padding: 0 20px 32px;
  }
  .arcade-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    margin: 10px -20px 22px;
    border-bottom: 1px solid #2f4031;
    overflow: auto;
    scrollbar-width: none;
  }
  .floor-label {
    display: none;
  }
  .arcade-games {
    display: flex;
    width: max-content;
    padding: 9px 16px;
    gap: 8px;
  }
  .arcade-game-link {
    min-width: 100px;
    min-height: 59px;
    padding: 8px 10px;
  }
  .arcade-game-link small {
    font-size: 9px;
  }
  .arcade-heading {
    margin-bottom: 20px;
  }
  .arcade-room {
    grid-template-columns: minmax(0, 1fr) 218px;
  }
  .arcade-controls {
    top: 90px;
  }
  .arcade-board {
    min-height: 470px;
  }
  .machine-crown {
    gap: 15px;
  }
  .machine-crown strong {
    font-size: 20px;
  }
}
@media (max-width: 690px) {
  .arcade-layout {
    padding: 0 12px 24px;
  }
  .arcade-sidebar {
    margin: 0 -12px 18px;
  }
  .arcade-games {
    padding: 9px 12px;
    gap: 5px;
  }
  .arcade-game-link {
    min-width: 92px;
    min-height: 54px;
    gap: 7px;
  }
  .arcade-game-link strong {
    font-size: 11px;
  }
  .game-glyph {
    width: 23px;
    flex-basis: 23px;
    font-size: 23px;
  }
  .game-glyph svg,
  .game-glyph img {
    width: 23px;
    height: 23px;
  }
  .arcade-heading {
    gap: 10px;
    margin-bottom: 16px;
    padding: 0 3px;
  }
  .arcade-heading h1 {
    font-size: 24px;
  }
  .arcade-heading .eyebrow {
    font-size: 8px;
  }
  .arcade-top-tools {
    gap: 2px;
    max-width: 55%;
  }
  .arcade-top-tools .text-button {
    padding: 5px 7px;
    font-size: 10px;
  }
  .arcade-page #connection-label {
    font-size: 9px;
  }
  .arcade-room {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .arcade-stage {
    width: 100%;
    border-radius: 13px;
  }
  .board-topline {
    padding: 15px 16px 0;
    font-size: 8px;
  }
  .arcade-board {
    padding: 20px 14px 9px;
    min-height: 325px;
  }
  .result-line {
    padding: 6px 14px 13px;
    min-height: 42px;
  }
  .result-line strong {
    font-size: 12px;
  }
  .arcade-controls {
    position: static;
    width: 100%;
    padding: 17px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 14px 16px;
    align-items: start;
  }
  .arcade-wallet {
    border: 0;
    margin: 0;
    padding: 0;
  }
  .arcade-wallet > strong {
    font-size: 24px;
  }
  .arcade-wallet > span {
    font-size: 10px;
  }
  .bet-control {
    grid-column: 2;
    grid-row: 1;
  }
  .bet-control > label {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .bet-stepper button {
    width: 32px;
    flex-basis: 32px;
    height: 38px;
  }
  .bet-stepper input {
    height: 38px;
    font-size: 13px;
  }
  .bet-shortcuts {
    gap: 3px;
  }
  .bet-shortcuts button {
    font-size: 9px;
    height: 30px;
  }
  .arcade-options {
    grid-column: 1/-1;
    margin: 0;
  }
  .arcade-options .choice-buttons {
    display: flex;
    flex-wrap: wrap;
  }
  .arcade-options .choice {
    flex: 1;
    min-width: 44px;
    min-height: 44px;
  }
  .arcade-options label {
    justify-content: start;
  }
  .range-label input {
    flex-basis: 100%;
  }
  .arcade-actions {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }
  .arcade-actions > button {
    flex: 1;
    white-space: nowrap;
  }
  .arcade-primary {
    grid-column: 1/-1;
    margin: 0;
    min-height: 50px;
  }
  .arcade-error {
    grid-column: 1/-1;
    margin: 0;
  }
  .slot-machine {
    padding: 17px 12px 11px;
    border-radius: 18px 18px 11px 11px;
  }
  .machine-crown {
    padding-bottom: 15px;
    gap: 14px;
  }
  .machine-crown strong {
    font-size: 19px;
    letter-spacing: 0.08em;
  }
  .machine-crown > span {
    font-size: 23px;
  }
  .machine-crown small {
    font-size: 7px;
  }
  .reel-frame {
    padding: 5px;
  }
  .reels {
    gap: 3px;
  }
  .machine-meters .table-stat > strong {
    font-size: 18px;
  }
  .machine-meters .table-stat > span {
    font-size: 9px;
  }
  .slot-legend {
    gap: 9px;
    font-size: 9px;
    margin-top: 12px;
  }
  .slot-legend .text-button {
    font-size: 9px;
  }
  .derby-banner {
    margin: 0 2px 17px;
  }
  .derby-banner h2 {
    font-size: 27px;
  }
  .derby-banner small {
    font-size: 7px;
  }
  .race-clock {
    font-size: 10px;
    padding: 7px 10px;
  }
  .race-lane {
    height: 55px;
  }
  .lane-label {
    width: 63px;
    flex-basis: 63px;
    font-size: 10px;
    gap: 5px;
    padding-left: 7px;
  }
  .lane-label b {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
  .snail-runner {
    bottom: 0;
  }
  .lane-course {
    margin-right: 9px;
  }
  .race-foot {
    font-size: 10px;
    padding: 13px 3px;
  }
  .ladder-board {
    max-height: 330px;
  }
  .ladder-start {
    width: 40px;
    height: 40px;
  }
  .ladder-goals > span {
    min-width: 32px;
  }
  .lowhigh-table {
    gap: 22px;
    min-height: 190px;
  }
  .playing-card {
    width: 77px;
  }
  .active-playing-card .playing-card {
    width: 98px;
  }
  .bank-pillar {
    min-width: 65px;
  }
  .bank-pillar strong {
    font-size: 21px;
  }
  .bank-pillar small,
  .bank-pillar span {
    font-size: 9px;
  }
  .table-caption {
    margin-bottom: 21px;
    font-size: 9px;
  }
  .card-trail {
    margin-top: 25px;
    min-height: 62px;
  }
  .card-trail .playing-card {
    width: 37px;
    margin-left: -8px;
  }
  .badugi-opponent .playing-card.small {
    width: 55px;
  }
  .badugi-hand {
    gap: 7px;
  }
  .hand-card .playing-card {
    width: 64px;
  }
  .badugi-pot {
    margin: 20px 0;
  }
  .hand-label {
    font-size: 12px;
  }
  .hwatu-floor {
    padding: 18px 0;
    gap: 10px;
    min-height: 155px;
  }
  .floor-cards {
    gap: 6px;
  }
  .floor-card .hwatu {
    width: 40px;
  }
  .hwatu-stock {
    flex-basis: 30px;
  }
  .hwatu-stock .hwatu {
    width: 30px;
  }
  .hwatu-hand {
    margin-top: 13px;
    gap: 3px;
    min-height: 73px;
  }
  .hwatu-seat {
    padding: 8px;
  }
  .hwatu-counts {
    gap: 7px;
    font-size: 8px;
  }
  .gostop-opponents {
    gap: 8px;
  }
  .seat-heading {
    gap: 5px;
  }
  .seat-heading .avatar {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    font-size: 14px;
  }
  .seat-heading strong {
    font-size: 10px;
  }
  .seat-heading small {
    font-size: 8px;
  }
  .seat-heading > b {
    font-size: 22px;
  }
  .capture-details {
    font-size: 9px;
  }
  .opponent-hwatu .hwatu {
    width: 25px;
    margin-left: -9px;
  }
  .gostop-event {
    font-size: 11px;
  }
  .hwatu-welcome h2 {
    font-size: 21px;
  }
  .hwatu-fan {
    height: 170px;
  }
  .hwatu-fan .hwatu {
    width: 72px;
  }
  .pachinko-layout {
    gap: 16px;
  }
  .pachinko-cabinet {
    max-width: 272px;
    padding: 8px;
  }
  .pachinko-meters {
    gap: 23px;
  }
  .pachinko-meters .table-stat strong {
    font-size: 21px;
  }
  .pachinko-meters .table-stat > span {
    font-size: 9px;
  }
  .coin-disc {
    width: 154px;
    height: 154px;
  }
  .coin-disc > span {
    font-size: 87px;
  }
  .coin-stage {
    padding: 28px 0 10px;
    gap: 25px;
  }
  .dice-stage {
    padding: 42px 0 30px;
    gap: 25px;
  }
  .die-face {
    width: 98px;
    height: 98px;
  }
  .color-stage {
    padding: 46px 0 33px;
    gap: 9px;
  }
  .color-gem .slot-symbol {
    width: 84px;
    height: 84px;
  }
  .dice-total {
    font-size: 24px;
  }
  .range-stage {
    padding: 35px 5% 25px;
  }
  .range-stage > strong {
    font-size: 57px;
    margin-bottom: 40px;
  }
  .mines-stats {
    margin-bottom: 19px;
  }
  .mines-stats .table-stat > strong {
    font-size: 18px;
  }
  .mines-board {
    gap: 8px;
    max-width: 355px;
  }
  .mine-cell {
    border-radius: 8px;
  }
  .orbit-stage {
    padding: 22px 0 0;
  }
  .orbit-multiplier {
    font-size: 55px;
  }
  .scratch-ticket {
    max-width: 345px;
    padding: 15px;
  }
  .scratch-cell {
    padding: 8px;
  }
  .scratch-cell .slot-symbol {
    width: 75%;
  }
  .plinko-bins {
    gap: 2px;
    margin-top: -22px;
  }
  .plinko-bins span {
    font-size: 6px;
    padding: 7px 0;
  }
  .arcade-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .arcade-tile {
    min-height: 150px;
    gap: 8px;
  }
  .arcade-tile strong {
    font-size: 12px;
  }
  .arcade-tile small {
    font-size: 6px;
  }
  .tile-graphic {
    width: 53px;
    height: 53px;
    font-size: 46px;
  }
  .tile-graphic img,
  .tile-graphic svg {
    width: 50px;
    height: 50px;
  }
  .arcade-lobby {
    margin-top: 30px;
  }
  .arcade-lobby-heading h2 {
    font-size: 22px;
  }
  .arcade-lobby-heading a {
    font-size: 11px;
  }
  .arcade-rules {
    width: calc(100vw - 28px);
    padding: 24px;
    max-height: 85dvh;
  }
  .arcade-rules #rules-body {
    font-size: 12px;
  }
}
@media (max-width: 370px) {
  .arcade-controls {
    padding: 14px;
    gap: 13px;
  }
  .hand-card .playing-card {
    width: 58px;
  }
  .pachinko-layout {
    gap: 10px;
  }
  .pachinko-cabinet {
    max-width: 238px;
  }
  .lowhigh-table {
    gap: 16px;
  }
  .active-playing-card .playing-card {
    width: 87px;
  }
  .playing-card {
    width: 66px;
  }
  .bank-pillar strong {
    font-size: 19px;
  }
  .arcade-heading h1 {
    font-size: 22px;
  }
  .machine-crown strong {
    font-size: 16px;
  }
  .floor-card .hwatu {
    width: 36px;
  }
  .lane-label {
    width: 57px;
    flex-basis: 57px;
    font-size: 9px;
  }
  .arcade-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .arcade-page *,
  .arcade-lobby * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
}
