@font-face { font-family: ArcadeIcons; src: url('../assets/arcade/untitled-font-1.woff') format('woff'); font-display: block; }
.arcade-icon { font-family: ArcadeIcons; font-style: normal; }
.arcade-screen, .arcade-dialog {
  --canvas: #000; --surface: #171717; --surface-raised: #303030; --surface-deep: #080808;
  --line: #49422f; --ink: #ddd; --muted: #969696; --accent: #ddb95d; --accent-ink: #181309;
  --mint: #39a9c9; --coral: #e04d4d; --content-width: 1100px; --page-gutter: 8px;
  color: var(--ink); color-scheme: dark; font-family: Arial, sans-serif;
}
.arcade-screen[hidden], .arcade-screen [hidden], .arcade-dialog [hidden] { display: none !important; }
.arcade-screen button, .arcade-dialog button { font-family: inherit; }
.arcade-screen :focus-visible, .arcade-dialog :focus-visible { outline: 2px solid #39a9c9; outline-offset: -2px; }
.arcade-dialog { position: fixed; inset: 0; margin: auto; max-height: calc(100dvh - 24px); overflow: auto; }
.arcade-dialog::backdrop { background: rgb(0 0 0 / 50%); }
.arcade-close-button { position: absolute; top: 4px; right: 6px; z-index: 2; width: 30px; height: 30px; color: #aaa; font: 30px/1 Arial; border: 0; background: transparent; }
.arcade-button { display: inline-flex; align-items: center; justify-content: center; min-height: 35px; padding: 5px 8px; border: 1px solid var(--line); background: #171717; color: #ccc; font-size: 12px; }
.arcade-button:disabled { cursor: default; }
.arcade-back-button { display: grid; place-items: center; flex: none; width: 35px; height: 34px; color: #ddd; background: transparent; font-size: 23px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Quick transfer, measured from the live reference at 440 CSS pixels. */
.arcade-transfer { width: min(83%,365px); padding: 0; border: 0; border-radius: 5px; background: #fff; color: #000; color-scheme: light; box-shadow: none; }
.arcade-transfer::backdrop { background: rgba(0,0,0,.46); }
.arcade-transfer[open] { animation: arcade-transfer-in 160ms ease-out; }
@keyframes arcade-transfer-in { from { opacity: 0; } to { opacity: 1; } }
.arcade-transfer h2 { height: 40px; margin: 0 12px; border-bottom: 1px solid #3783c1; color: #3783c1; font-size: 18.24px; line-height: 40px; font-weight: 700; text-align: center; }
.arcade-transfer .arcade-close-button { top: 3px; right: 5px; }
.arcade-transfer-body { padding: 15px 12px 10px; }
.arcade-balances { display: grid; grid-template-columns: 46% 8% 46%; align-items: end; margin-bottom: 10px; }
.arcade-balances > div { display: grid; gap: 12px; }
.arcade-balances div > span { text-align: center; font-weight: 700; font-size: 17px; line-height: 16px; }
.arcade-balances output { display: block; height: 50px; padding: 0 8px; border: 1px solid #ddd; border-radius: 2px; color: #1ba200; font-size: 21px; line-height: 50px; font-weight: 700; }
.arcade-transfer-arrow { align-self: end; height: 50px; color: #3783c1; font-size: 20px; font-weight: 700; line-height: 50px; text-align: center; }
.arcade-transfer-entry { display: grid; grid-template-columns: 46% 46%; justify-content: space-between; gap: 0; }
.arcade-amount-row input { width: 100%; min-width: 0; height: 50px; padding: 0 8px; background: #e5e5e5; border: 0; border-radius: 2px; font-size: 15px; color: #333; outline: none; }
.arcade-amount-row input::placeholder { color: #999; }
.arcade-transfer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.arcade-transfer-actions button { border: 0; border-radius: 2px; padding: 0 2px; color: #fff; background: #3783c1; font-size: 12px; }
.arcade-transfer-actions button:disabled { background: #aaa; color: #fff; opacity: 1; }
.arcade-presets { display: grid; grid-template-columns: repeat(4,1fr); margin: 10px 0; height: 42px; border: 1px solid #ddd; border-radius: 3px; overflow: hidden; }
.arcade-presets button { border-right: 1px solid #ddd; background: #f3f3f3; color: #222; font-size: 17px; }
.arcade-presets button:last-child { border: 0; }
.arcade-keypad { display: grid; grid-template-columns: repeat(6,1fr); grid-auto-rows: 50px; border-top: 1px solid #3783c1; border-left: 1px solid #3783c1; border-radius: 4px; overflow: hidden; }
.arcade-keypad button { border-bottom: 1px solid #3783c1; border-right: 1px solid #3783c1; color: #3783c1; background: #fff; font-size: 32px; font-weight: 400; }
.arcade-keypad [data-arcade-key="0"] { grid-column: span 2; }
.arcade-transfer :is(.arcade-presets,.arcade-keypad) button:active { background: #dbeffc; }
.arcade-transfer-status { margin: 0; color: #b34236; font-size: 12px; }
.arcade-transfer-status:not(:empty) { padding-top: 7px; }
.arcade-transfer .arcade-enter { width: 100%; height: 60px; border: 0; border-top: 1px solid #eee; background: #fff; color: #ff7800; font-size: 18.24px; font-weight: 700; }
.arcade-transfer .arcade-enter:disabled { color: #aaa; }
html[data-arcade-active],
html[data-arcade-active] body { background: #000; color-scheme: dark; }
.arcade-screen {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow: hidden;
  padding-block-start: var(--app-safe-top, 0px);
  padding-left: var(--app-safe-left, 0px);
  padding-right: var(--app-safe-right, 0px);
  background: #000;
}
.arcade-view { position: relative; display: grid; grid-template-rows: auto minmax(0,1fr); width: min(100%,var(--content-width)); height: 100%; margin-inline: auto; background: #000; }
.arcade-lobby { grid-template-rows: 46px minmax(0,1fr) 48px; }
.arcade-header { display: flex; align-items: center; gap: 4px; min-height: 46px; padding: 0 5px; background: linear-gradient(#313131,#080c0d); border-top: 1px solid #777; }
.arcade-header :is(h1,h2) { margin: 0; font-size: 17px; }
.arcade-logo { display: block; width: 56px; height: auto; }
.arcade-level { width: 35px; height: 35px; object-fit: contain; }
.arcade-wallet-button { display: flex; align-items: center; flex: 1; gap: 5px; min-width: 0; margin-left: 22px; padding: 0; color: #ddd; background: transparent; font-size: 15px; white-space: nowrap; }
.arcade-wallet-button > span:last-child { margin-left: auto; }
.arcade-wallet-button strong { color: #00b4e6; }
.arcade-user { max-width: 15ch; overflow: hidden; text-overflow: ellipsis; }
.arcade-wallet-add { font-size: 21px; }
.arcade-catalog-body { min-height: 0; padding: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; background: #333; }
.arcade-jackpot { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 12px; background: #252525; font-size: 15px; }
.arcade-jackpot > span:nth-child(2) { display: flex; align-items: center; gap: 7px; }
.arcade-jackpot img { width: 84px; height: auto; }
.arcade-filters { position: sticky; top: 0; z-index: 2; display: flex; height: 44px; background: #262626; overflow: auto; scrollbar-width: none; }
.arcade-filters button { flex: 1 0 auto; padding: 0 9px; border-bottom: 3px solid transparent; color: #999; background: transparent; font-size: 14px; }
.arcade-filters [aria-pressed="true"] { border-color: #42b4d3; color: #eee; }
.arcade-games { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 0 3px 6px; }
.arcade-tile { position: relative; display: grid; align-content: start; min-width: 0; overflow: hidden; border: 0; border-radius: 0; background: #000; text-align: center; }
.arcade-tile:active .arcade-art { opacity: .6; }
.arcade-art { display: block; width: 100%; aspect-ratio: 1; background: #000 center / contain no-repeat; }
.arcade-tile-name { display: grid; place-items: center; min-height: 40px; padding: 0 1px; color: #fff; font-size: 12px; font-weight: 400; line-height: 15px; }
.arcade-coming-soon .arcade-art { opacity: .35; }
.arcade-coming-soon::after { content: 'Sắp ra mắt'; position: absolute; top: calc((100% - 40px)/2); left: 0; width: 100%; color: #e2b45a; font-size: 14px; }
.arcade-coming-soon::before { content: 'NEW'; position: absolute; left: 4px; top: 3px; z-index: 1; color: #c13d3d; font-weight: 700; }
.arcade-empty { grid-column: 1/-1; padding: 30px 8px; color: #aaa; text-align: center; font-size: 14px; }
.arcade-toolbar { display: grid; grid-template-columns: repeat(5,1fr); background: #161616; border-top: 1px solid #333; }
.arcade-toolbar button { display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 0; color: #888; background: transparent; font-size: 10px; }
.arcade-toolbar img { width: 27px; height: 27px; object-fit: contain; }
.arcade-toolbar [aria-pressed="true"] { color: #f0cc72; }
.arcade-preview { width: min(84%,316px); padding: 14px; border: 0; border-radius: 6px; color: #aaa; background: #000; box-shadow: inset 0 0 10px 5px #333, 0 5px 10px 2px #000; }
.arcade-preview-main { display: grid; grid-template-columns: 144px minmax(0,1fr); align-items: center; }
.arcade-preview .arcade-art { width: 144px; height: 144px; }
.arcade-preview h2 { margin: 0; color: #2e8ebe; font-size: 20px; line-height: 1.2; text-align: center; }
.arcade-preview .arcade-close-button { top: 1px; right: 3px; width: 38px; height: 38px; }
.arcade-play { position: absolute; top: 119px; left: calc(50% - 25.5px); width: 51px; height: 51px; padding: 0; min-height: 0; border: 0; background: url('../assets/arcade/play_normal.png') center/contain no-repeat; font-size: 0; }
.arcade-play:disabled { opacity: .35; }
.arcade-preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.arcade-preview-actions button { height: 60px; padding: 0; border: 1px solid #47412e; background: #000 center/contain no-repeat; font-size: 0; }
#arcade-guide-toggle { background-image: url('../assets/arcade/bt_tutorial_vn_2.png'); }
#arcade-favorite { background-image: url('../assets/arcade/bt_favourite_vn_2.png'); }
#arcade-favorite[aria-pressed="true"] { background-image: url('../assets/arcade/bt_favourited_vn_2.png'); }
.arcade-preview p { margin: 10px 0 0; font-size: 13px; line-height: 1.4; }
.arcade-info { width: min(84%,340px); padding: 20px; border: 1px solid #665939; border-radius: 4px; background: #111; color: #bbb; }
.arcade-info h2 { margin: 0 30px 14px 0; color: #d6bd76; font-size: 19px; }
.arcade-info p { margin: 0; font-size: 14px; line-height: 1.6; }
.arcade-wait { position: relative; display: grid; height: 100%; place-items: center; padding: 40px 14px; background: #000; outline: none; }
.arcade-back { position: absolute; top: 7px; left: 8px; z-index: 2; opacity: .55; }
.arcade-wait-content { display: grid; justify-items: center; align-content: center; gap: 12px; width: 100%; color: #aaa; }
.arcade-wait-content h1 { display: none; }
.arcade-wait-content :is(h2,p) { margin: 0; font-size: 14px; font-weight: 400; }
.arcade-brand-mark { display: none; }
.arcade-splash { background: #000 url('../assets/arcade/splash.webp') center top / min(100%,440px) auto no-repeat; }
.arcade-splash .arcade-wait-content { align-self: end; padding-bottom: 4vh; }
.arcade-splash-logo { display: block; width: min(54vw,200px); height: auto; }
.arcade-loading-logo { width: 80px; opacity: .35; filter: grayscale(1); margin-bottom: 5px; }
.arcade-wait progress { grid-row: 2; width: 130px; height: 3px; border: 0; appearance: none; background: #333; }
.arcade-wait progress::-webkit-progress-bar { background: #333; }
.arcade-wait progress::-webkit-progress-value { background: #aaa; }
#arcade-loading .arcade-wait-content { grid-template-columns: auto auto; width: auto; gap: 10px; }
#arcade-loading .arcade-loading-logo { grid-column: 1/-1; }
#arcade-loading progress { grid-column: 1/-1; width: 165px; }
#arcade-loading h2 { font-size: 12px; }
.arcade-load-percent { font-size: 12px; }
.arcade-spinner { display: inline-block; width: 22px; height: 22px; border: 2px solid #333; border-top-color: #aaa; border-radius: 50%; animation: arcade-spin .8s linear infinite; }
@keyframes arcade-spin { to { transform: rotate(360deg); } }
@media(min-width:600px) { .arcade-games { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(min-width:990px) { .arcade-games { grid-template-columns: repeat(6,minmax(0,1fr)); } }
.arcade-table-pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 11px;
  background: #0b1023e8;
  outline: none;
  font-size: 15px;
}

.arcade-room { grid-template-rows: auto minmax(0, 1fr) auto; }
.arcade-room-body {
  display: grid;
  align-content: start;
  grid-template-areas: "stage" "choices" "history";
  gap: 11px;
}
.arcade-room-body:focus-visible { outline-offset: -4px; }
.arcade-round-stage {
  --phase-color: var(--mint);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-area: stage;
  display: grid;
  grid-template-rows: 28px minmax(128px, 1fr) auto 4px;
  gap: 8px;
  min-height: 250px;
  padding: 14px;
  border: 1px solid #39605e;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 42%, #265a59, transparent 65%), #121b30;
}
.arcade-round-stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle, #b3f4e32b 1px, transparent 1.5px) 0 0 / 15px 15px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
}
.arcade-round-stage:is([data-phase="waiting"], [data-phase="shaking"]) { --phase-color: #ffd197; }
.arcade-stage-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.arcade-dish-scene {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 620px;
}
.arcade-dish-scene::before {
  content: '';
  position: absolute;
  width: min(88%, 330px);
  aspect-ratio: 2.6;
  border: 1px solid #8af8d45c;
  border-radius: 50%;
  background: radial-gradient(ellipse, #55b69d3b 32%, transparent 73%);
  transform: translateY(24%);
}
.arcade-round-stage[data-phase="reveal"] .arcade-dish-scene::before { animation: arcade-ripple 1.1s .55s ease-out both; }
.arcade-dish {
  position: relative;
  width: min(65%, 202px);
  min-width: 0;
  aspect-ratio: 1.78;
  border: 4px solid #79b9ad;
  border-bottom-color: #437c83;
  border-radius: 50%;
  background: radial-gradient(ellipse at 45% 33%, #386e62, #174640 57%, #0d2b36 83%);
  box-shadow: inset 0 6px 13px #101d31, inset 0 -3px 5px #a9f7e570,
    0 5px 0 #235360, 0 10px 18px #020613d4;
  transform: rotate(-8deg) translateY(9px);
}
.arcade-disc-faces {
  position: absolute;
  inset: 14% 25%;
  display: grid;
  place-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 5px;
  transform: rotate(-5deg);
}
.arcade-disc-faces i {
  display: block;
  width: 100%;
  max-width: 39px;
  aspect-ratio: 1.22;
  border: 1px solid #faf0d1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 37% 27%, #fff5d9, #dfc399 71%);
  box-shadow: inset 0 -3px 2px #9d826a9b, 0 3px 4px #071027;
}
.arcade-disc-faces [data-red="true"] {
  border-color: #ffb98e;
  background: radial-gradient(ellipse at 37% 27%, #ffad86, #c85352 71%);
  box-shadow: inset 0 -3px 2px #912f47a8, 0 3px 4px #071027;
}
.arcade-dish-lid {
  position: absolute;
  inset: -7% -4% 7%;
  border: 2px solid #95bdbf;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 17%, #85b4ac, #315366 56%, #19293e 84%);
  box-shadow: inset 0 -4px 7px #122638, 0 5px 0 #223f50, 0 10px 17px #020613bd;
  transform: translate(22%, -52%) rotate(-30deg) scale(.76);
  opacity: 0;
}
.arcade-dish-lid::before {
  content: '';
  position: absolute;
  inset: 28% 38% 40%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 20%, #e0fff5, #5d8f98 59%, #293b57 78%);
  box-shadow: 0 5px 7px #091429ab;
}
.arcade-round-stage:is([data-phase="waiting"], [data-phase="shaking"]) .arcade-dish-lid {
  transform: translateY(-12%) rotate(0);
  opacity: 1;
}
.arcade-round-stage[data-phase="waiting"] .arcade-dish-lid { animation: arcade-cover 360ms ease-out both; }
.arcade-round-stage[data-phase="shaking"] .arcade-dish { animation: arcade-shake 480ms ease-in-out 6; }
.arcade-round-stage[data-phase="reveal"] .arcade-dish { animation: arcade-dish-focus 2.6s ease-in-out both; }
.arcade-round-stage[data-phase="reveal"] .arcade-dish-lid { animation: arcade-lift 920ms cubic-bezier(.19,.72,.34,1) both; }
.arcade-round-stage[data-phase="reveal"] .arcade-disc-faces i { animation: arcade-disc-appear 420ms .37s ease-out both; }
.arcade-round-stage[data-phase="reveal"] .arcade-disc-faces i:nth-child(2) { animation-delay: .44s; }
.arcade-round-stage[data-phase="reveal"] .arcade-disc-faces i:nth-child(3) { animation-delay: .51s; }
.arcade-round-stage[data-phase="reveal"] .arcade-disc-faces i:nth-child(4) { animation-delay: .58s; }
@keyframes arcade-cover {
  from { transform: translate(12%, -42%) rotate(-16deg) scale(.9); opacity: 0; }
  to { transform: translateY(-12%) rotate(0); opacity: 1; }
}
@keyframes arcade-shake {
  24% { transform: translate(-5%, 1px) rotate(-13deg); }
  72% { transform: translate(5%, 4px) rotate(-2deg); }
}
@keyframes arcade-dish-focus {
  0%, 100% { transform: rotate(-8deg) translateY(9px); }
  29%, 72% { transform: rotate(-2deg) translateY(5px) scale(1.15); }
}
@keyframes arcade-lift {
  0% { transform: translateY(-12%) rotate(0); opacity: 1; }
  45% { transform: translate(16%, -44%) rotateX(32deg) rotate(-21deg); opacity: 1; }
  100% { transform: translate(37%, -70%) rotateX(44deg) rotate(-37deg) scale(.72); opacity: 0; }
}
@keyframes arcade-disc-appear {
  from { transform: translateY(-48%) rotateX(100deg); opacity: 0; }
  63% { transform: translateY(4%) rotateX(-18deg); opacity: 1; }
  to { transform: translateY(0) rotateX(0); opacity: 1; }
}
@keyframes arcade-ripple {
  from { transform: translateY(24%) scale(.84); opacity: .65; }
  to { transform: translateY(24%) scale(1.2); opacity: 0; }
}

.arcade-choices-panel, .arcade-history {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.arcade-choices-panel { grid-area: choices; align-self: start; }
.arcade-history { grid-area: history; }
.arcade-panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 9px; }
.arcade-panel-heading h3 { margin: 0; font-size: clamp(15px, 3.8vw, 19px); }
.arcade-panel-heading > span { color: var(--muted); text-align: right; font-size: 11px; }

.arcade-chip-row { display: flex; gap: 5px; margin-bottom: 9px; }
.arcade-chips { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.arcade-chip {
  min-width: 0;
  min-height: 35px;
  border: 1px solid #3e4d75;
  border-radius: 20px;
  background: #213054;
  color: #e2eaff;
  font-size: 12px;
  font-weight: 700;
}
.arcade-chip:nth-child(2) { background: #33315d; }
.arcade-chip:nth-child(3) { background: #253f56; }
.arcade-chip:nth-child(4) { background: #44324e; }
.arcade-chip:nth-child(5) { background: #373b55; }
.arcade-chip-custom { flex: none; padding-inline: 8px; border-radius: 7px; background: var(--surface-deep); white-space: nowrap; }
.arcade-chip[aria-pressed="true"] { border-color: #f0f4ff; background: var(--accent); color: var(--accent-ink); }
.arcade-chip:disabled { opacity: .65; }

.arcade-custom-chip { margin: 0 0 9px; }
.arcade-chip-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-deep);
}
.arcade-chip-form label { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }

.arcade-picks-main, .arcade-picks-exact, .arcade-pick-actions { display: grid; gap: 6px; }
.arcade-picks-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.arcade-picks-exact, .arcade-pick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 6px; }
.arcade-pick {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 0;
  padding: 6px 2px 4px;
  border: 1px solid #394971;
  border-radius: 8px;
  background: var(--surface-deep);
  line-height: 1.2;
}
.arcade-picks-main .arcade-pick { background-color: transparent; }
.arcade-picks-main .arcade-pick:nth-child(even) { background-color: transparent; }
.arcade-pick strong { font-size: clamp(12px, 3.5vw, 16px); }
.arcade-pick small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.arcade-pick-amount { min-height: 1.18em; margin-top: 3px; color: var(--accent); font-size: 11px; font-weight: 700; }
.arcade-picks-exact .arcade-pick {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px;
  min-height: 38px;
  padding: 5px 6px;
}
.arcade-picks-exact strong { justify-self: start; text-align: left; }
.arcade-picks-exact :is(small, .arcade-pick-amount) {
  grid-area: 1 / 2;
  justify-self: end;
  margin: 0;
}
.arcade-picks-exact [data-chosen="true"] small { opacity: 0; }
.arcade-pick:not(:disabled):hover, .arcade-pick[data-chosen="true"] { border-color: #9db4fa; }
.arcade-pick:disabled { border-color: var(--line); }
.arcade-choices-panel .arcade-pick[data-outcome="win"] { border-color: #7cdbbb; background-color: transparent; }
.arcade-choices-panel .arcade-pick[data-outcome="refund"] { border-color: #b9a7df; background-color: transparent; }
.arcade-pick-actions .arcade-button { min-height: 34px; padding-inline: 4px; font-size: 12px; }
.arcade-pick-actions [aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.arcade-play-feedback { min-height: 1.18em; margin: 7px 0; color: var(--accent); font-size: 12px; }
.arcade-room-footer {
  padding: 8px var(--page-gutter) max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #11192e;
}
.arcade-scoreboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: min(100%, 32rem);
  margin: 0 auto;
}
.arcade-scoreboard > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 2px 6px;
}
.arcade-scoreboard dt { color: var(--muted); font-size: 11px; }
.arcade-scoreboard dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
#arcade-round-return[data-net="1"] { color: var(--mint); }
#arcade-round-return[data-net="-1"] { color: var(--coral); }

.arcade-history-tabs { margin-bottom: 8px; }
.arcade-history-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  justify-items: center;
  justify-content: start;
  gap: 4px;
}
.arcade-history-overview { grid-template-columns: minmax(0, 1fr); }
.arcade-history-track {
  display: grid;
  width: 100%;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  column-gap: 6px;
}
.arcade-history-label { color: var(--muted); font-size: 11px; font-weight: 600; }
.arcade-history-track .arcade-history-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.arcade-history-dot {
  display: grid;
  width: 100%;
  max-width: 32px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #536694;
  border-radius: 6px;
  background: #233350;
  color: #e7edff;
  font-size: 11px;
  font-weight: 700;
}
.arcade-history-track .arcade-history-dot { max-width: none; min-height: 19px; aspect-ratio: auto; }
.arcade-history-dot:is([data-mark="0"], [data-mark="HÃ²a"]) { background: #333650; color: #f5e3e8; }
.arcade-history-dot:is([data-mark="2"], [data-mark="Cháºµn"], [data-mark="Xá»‰u"]) { border-color: #447c77; background: #234b4c; color: var(--mint); }
.arcade-history-dot:is([data-mark="3"], [data-mark="Láº»"]) { border-color: #64599f; background: #3e3666; color: #ddc8ff; }
.arcade-history-dot:is([data-mark="4"], [data-mark="TÃ i"]) { border-color: #8b5466; background: #562b48; color: #ffc0cb; }
#arcade-history-grid .arcade-history-dot:first-child { outline: 1px solid #e1e8ff; outline-offset: -1px; }
.arcade-history-summary { display: flex; flex-wrap: wrap; gap: 5px 11px; margin-top: 10px; color: var(--muted); font-size: 11px; }

@media (max-width: 520px) {
  .arcade-room .arcade-header { min-height: 50px; padding-block: max(5px, env(safe-area-inset-top)) 5px; }
  .arcade-room-body { gap: 7px; padding-block: 8px 10px; }
  .arcade-round-stage { min-height: 226px; padding: 10px 12px; }
  .arcade-dish { width: min(64%, 175px); }
  .arcade-choices-panel, .arcade-history { padding: 8px; }
  .arcade-panel-heading { margin-bottom: 5px; }
  .arcade-chip-row { margin-bottom: 5px; }
  .arcade-chips, .arcade-chip-row, .arcade-picks-main, .arcade-picks-exact, .arcade-pick-actions { gap: 4px; }
  .arcade-chip, .arcade-picks-exact .arcade-pick, .arcade-pick-actions .arcade-button { min-height: 32px; }
  .arcade-pick { padding-block: 4px 3px; }
  .arcade-pick small, .arcade-pick-amount { margin-top: 2px; }
  .arcade-picks-exact, .arcade-pick-actions { margin-top: 5px; }
  .arcade-picks-exact :is(small, .arcade-pick-amount) { margin-top: 0; }
  .arcade-play-feedback { margin: 5px 0; }
  .arcade-play-feedback:empty { min-height: 0; margin: 0; }
  .arcade-history-tabs { gap: 4px; margin-bottom: 5px; padding-block: 2px 3px; }
  .arcade-history-tabs button { min-height: 29px; padding-inline: 6px; }
  .arcade-room-footer { padding-block: 6px max(6px, env(safe-area-inset-bottom)); }
}

@media (min-width: 790px) {
  
  .arcade-room-body {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas: "stage choices" "history choices";
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 14px;
  }
  .arcade-round-stage { min-height: 272px; padding: 24px; }
  .arcade-choices-panel, .arcade-history { padding: 16px; }
  .arcade-chip { min-height: 39px; }
  .arcade-pick { min-height: 62px; }
  .arcade-picks-exact .arcade-pick { min-height: 48px; padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .arcade-transfer[open], .arcade-wait-content, .arcade-spinner,
  .arcade-round-stage :is(.arcade-dish, .arcade-dish-lid, .arcade-disc-faces i),
  .arcade-round-stage .arcade-dish-scene::before { animation: none !important; }
}

/* The game uses the original table, chip, lid and bet-area artwork. */
.arcade-tables {
  width: min(100%, 520px);
  grid-template-rows: 43px minmax(0, 1fr) 26px;
  background: #000;
  color: #eee;
}
.arcade-tables .arcade-header,
.arcade-room .arcade-header {
  display: grid;
  grid-template-rows: 15px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: 0;
  border: 0;
}
.arcade-tables .arcade-header { background: #000; }
.arcade-announcement {
  container-type: inline-size;
  margin: 0;
  overflow: hidden;
  color: #f4f4f4;
  font: 700 13px/15px Arial, sans-serif;
  white-space: nowrap;
}
.arcade-announcement-track {
  display: flex;
  direction: ltr;
  inline-size: max-content;
}
.arcade-announcement-track > .arcade-announcement-text {
  display: block;
  flex: none;
  min-inline-size: 100cqw;
}
.arcade-announcement-text::after {
  content: '•';
  display: inline-block;
  margin-inline: .75em;
}
.arcade-announcement-accent { margin-inline-start: 20px; color: #fb5ca1; }
@media (prefers-reduced-motion: no-preference) {
  .arcade-announcement-track { animation: arcade-announcement-loop 25s linear infinite; }
}
@keyframes arcade-announcement-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.arcade-table-actions, .arcade-room-toolbar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 0;
  padding-inline: 7px;
}
.arcade-table-action, .arcade-room-control {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  list-style: none;
}
.arcade-table-action:hover, .arcade-room-control:hover,
.arcade-menu[open] > :is(.arcade-table-action, .arcade-room-control) {
  background: #fff2;
}
.arcade-nav-icon { display: block; width: 32px; height: 31px; object-fit: contain; }
.arcade-table-list {
  display: grid;
  align-content: start;
  gap: clamp(18px, 4.25dvh, 39px);
  min-height: 0;
  padding: clamp(22px, 5.65dvh, 52px) clamp(18px, 8.1%, 42px) 14px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.arcade-table {
  --table-heading-height: 30px;
  --table-road-height: clamp(85px, 12.1dvh, 116px);
  display: grid;
  grid-template-columns: 22.25% minmax(0, 1fr);
  gap: 1px;
  width: 100%;
  min-width: 0;
  padding: 2px;
  border: 2px solid #303030;
  border-radius: 4px;
  background: #070707;
  color: #eee;
  text-align: left;
  cursor: pointer;
}
.arcade-table:not(:disabled):hover { border-color: #656565; }
.arcade-table:disabled { cursor: default; }
.arcade-table-copy, .arcade-table-road {
  display: grid;
  grid-template-rows: var(--table-heading-height) var(--table-road-height);
  min-width: 0;
  overflow: hidden;
}
.arcade-table-copy { background: #191919; }
.arcade-table-name {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding-inline: clamp(3px, 1.8vw, 7px);
  background: #333;
  font-size: clamp(10px, 3.3vw, 13px);
  white-space: nowrap;
}
.arcade-table-name b { color: #f33c14; font-size: 1.12em; }
.arcade-table-state { display: grid; place-items: center; }
.arcade-table-phase { color: #ddd; font-size: 14px; font-weight: 700; text-align: center; }
.arcade-table[data-phase="result"] .arcade-table-phase { color: #f76b00; }
.arcade-table:is([data-phase="shaking"], [data-phase="reveal"]) .arcade-table-phase { color: #37c8fc; }
.arcade-table-clock {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: #fff;
  background: radial-gradient(closest-side, #0698d7 0%, #0382bd 44%, transparent 100%);
  font: 900 28px/1 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px #0009;
}
.arcade-table-clock:not([data-running="true"]) { display: none; }
.arcade-table-clock[data-urgent="true"] {
  background: radial-gradient(closest-side, #ff3b21 0%, #fa1504 40%, transparent 100%);
}
.arcade-table-history { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
.arcade-table-road-header {
  position: relative;
  display: flex;
  align-items: end;
  background: #333;
  font-variant-numeric: tabular-nums;
}
.arcade-table-road-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 28px));
  padding-left: 3px;
}
.arcade-table-road-total { display: grid; justify-items: center; align-content: end; color: #e9e9e9; line-height: 1; }
.arcade-table-road-total b { color: #109fe7; font-size: 14px; }
.arcade-table-road-total span { font-size: 11px; }
.arcade-table-road-total:is([data-mark="Lẻ"], [data-mark="Tài"]) b { color: #f34318; }
.arcade-table-streak {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  justify-items: end;
  align-content: center;
  width: 51%;
  padding-right: 3px;
  background: linear-gradient(90deg, #333, transparent 53%),
    linear-gradient(#109ae8, #70daf7 50%, #e5c72b 92%);
  color: #173ed4;
  font: italic 700 clamp(8px, 2.55vw, 10px)/1 Arial, sans-serif;
  white-space: nowrap;
}
.arcade-table-streak strong {
  color: #ff7800;
  font-size: 14px;
  text-shadow: 0 1px #ffdf00;
}
.arcade-table-road-grid {
  display: grid;
  grid-template-columns: repeat(var(--road-columns), minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  place-items: center;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), #d7d7d7 0) 0 0 / calc(100% / var(--road-columns)) 100%,
    linear-gradient(transparent calc(100% - 1px), #e8e8e8 0) 0 0 / 100% 16.6667%,
    #fff;
}
.arcade-table-road-link {
  --streak-line: #5a57ff;
  place-self: stretch;
  background: linear-gradient(var(--streak-line), var(--streak-line)) center / 1px 60% no-repeat;
}
.arcade-table-road-link[data-horizontal="true"] { background-size: calc(100% - 100% / var(--link-columns)) 1px; }
.arcade-table-road-link:is([data-mark="Lẻ"], [data-mark="Tài"]) { --streak-line: #ff4b31; }
.arcade-table-road-grid .arcade-history-dot[data-mark] {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: transparent;
  color: #4540ff;
  font: 14px/1 Arial, sans-serif;
}
.arcade-table-road-grid .arcade-history-dot:is([data-mark="Lẻ"], [data-mark="Tài"]) { color: #ff472b; }
.arcade-table-road-grid .arcade-history-dot[data-mark="Hòa"] {
  width: min(88%, calc(var(--table-road-height) / 6 - 1px), 16px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0a8717;
  color: #fff;
  font-size: 12px;
}
.arcade-table-footer {
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.arcade-table-footer strong { color: #3bc5ff; font-size: 20px; font-weight: 900; }
.arcade-history-track { display: grid; grid-template-columns: 1fr; grid-template-rows: 25px minmax(0,1fr); align-items: stretch; gap: 0; background: #fff; }
.arcade-history-label { padding-left: 8px; background: #333; color: #199bcb; font-size: 11px; line-height: 25px; }
.arcade-history-track .arcade-history-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: repeat(6,minmax(0,1fr)); grid-auto-flow: column; gap: 0; justify-items: stretch; background: linear-gradient(90deg,transparent calc(100% - 1px),#c9c9c9 0) 0 0/8.3333% 100%,linear-gradient(transparent calc(100% - 1px),#ddd 0) 0 0/100% 16.6667%,#fff; }
.arcade-history-dot, .arcade-history-track .arcade-history-dot { display: grid; place-items: center; min-height: 0; max-width: none; padding: 0; border: 0; border-radius: 0; aspect-ratio: auto; background: transparent; color: #2e45a9; font: 11px/1 Georgia,serif; }
.arcade-history-dot:is([data-mark="2"],[data-mark="Chẵn"],[data-mark="Xỉu"]) { border: 0; background: transparent; color: #3d39b7; }
.arcade-history-dot:is([data-mark="3"],[data-mark="Lẻ"]) { border: 0; background: transparent; color: #db302a; }
.arcade-history-dot:is([data-mark="4"],[data-mark="Tài"]) { border: 0; background: transparent; color: #db302a; }
.arcade-history-dot:is([data-mark="0"],[data-mark="Hòa"]) { background: #249c26; color: #fff; border-radius: 50%; }
.arcade-table-pending { background: #0009; }
.arcade-table-pending > :last-child { padding: 30px; border-radius: 6px; background: #111; box-shadow: inset 0 0 12px #333; }
.arcade-room { width: min(100%,520px); grid-template-rows: 46px minmax(0,1fr) 27px; background: #730317 url('../assets/arcade/table-background.webp') center/100% 100% no-repeat; }
.arcade-room-body { display: grid; grid-template-columns: 1fr; grid-template-rows: clamp(240px,75vw,360px) minmax(320px,1fr) 110px; grid-template-areas: 'stage' 'choices' 'history'; min-height: 0; overflow-y: auto; gap: 0; padding: 0 8px; }
.arcade-round-stage { min-height: 210px; padding: 6px 0 0; gap: 0; overflow: visible; grid-template-rows: 20px minmax(160px,1fr) 26px; border: 0; border-radius: 0; background: transparent; }
.arcade-round-stage::before { display: none; }
.arcade-stage-header { justify-content: center; gap: 15px; }
.arcade-dish-scene { position: relative; align-items: end; perspective: 600px; }
.arcade-dish-scene::before { display: none; }
.arcade-dish { width: min(62%,230px); aspect-ratio: 642/519; margin-bottom: -18px; border: 0; border-radius: 0; background: url('../assets/arcade/dish-base.png') center/contain no-repeat; box-shadow: none; transform: none; }
.arcade-disc-faces { inset: 11% 18% 34%; gap: 5px 9px; padding: 10% 12%; border: 1px solid #101c15; border-radius: 50%; transform: none; background: radial-gradient(ellipse at 50% 40%,#158b64,#006136 38%,#003f2c 70%,#171f1b 85%); box-shadow: inset 0 2px 10px #071d13,0 1px 1px #70583b; }
.arcade-disc-faces i { max-width: 32px; aspect-ratio: 1.35; background: radial-gradient(ellipse at 40% 30%,#fff 66%,#a6aba7 70%,#fff 76%,#aaa 82%); border: 1px solid #d5d9d0; box-shadow: 0 2px 1px #666; transform: rotate(-10deg); }
.arcade-disc-faces [data-red="true"] { background: radial-gradient(ellipse at 40% 30%,#db001d 64%,#8d0012 70%,#e00020 76%,#650315 82%); border: 1px solid #b00019; box-shadow: 0 2px 1px #490011; }
.arcade-dish-lid { inset: -60% 9% 18%; border: 0; border-radius: 0; background: url('../assets/arcade/dish-cover.png') center/contain no-repeat; box-shadow: none; transform-origin: 50% 90%; transform: rotateX(-8deg); opacity: .42; pointer-events: none; }
.arcade-dish-lid::before { display: none; }
.arcade-round-stage:is([data-phase="waiting"],[data-phase="shaking"]) .arcade-dish-lid { transform: rotateX(68deg) scaleY(.8) translateY(35%); opacity: 1; }
.arcade-round-stage[data-phase="shaking"] .arcade-dish { animation: arcade-shake .45s ease-in-out infinite; }
.arcade-round-stage[data-phase="reveal"] .arcade-dish { animation: arcade-original-reveal 3s ease-in-out both; z-index: 5; }
.arcade-round-stage[data-phase="reveal"] .arcade-dish-lid { animation: arcade-original-cover 3s ease-in-out both; }
@keyframes arcade-original-reveal { 0%,100% { transform: scale(1); } 35%,70% { transform: scale(1.5) translateY(15%); } }
@keyframes arcade-original-cover { 0% { transform: rotateX(68deg) scaleY(.8) translateY(35%); opacity: .9; } 30%,70% { transform: rotateX(-12deg); opacity: .5; } 100% { transform: rotateX(-8deg); opacity: .42; } }
.arcade-choices-panel { position: relative; display: flex; flex-direction: column; min-height: 218px; align-self: stretch; padding: 0; border: 0; border-radius: 0; background: transparent; }
.arcade-choices-panel .arcade-panel-heading { display: none; }
.arcade-picks-main { order: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2,76px); gap: 3px; margin-inline: 24%; }
.arcade-picks-main .arcade-pick { padding: 0; border: 0; border-radius: 0; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; }
.arcade-picks-main [data-arcade-pick="even"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_7_normal.png'); }
.arcade-picks-main [data-arcade-pick="odd"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_6_normal.png'); }
.arcade-picks-main [data-arcade-pick="low"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_5_normal.png'); }
.arcade-picks-main [data-arcade-pick="high"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_4_normal.png'); }
.arcade-picks-main [data-arcade-pick="even"][data-outcome="win"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_7_shine.png'); }
.arcade-picks-main [data-arcade-pick="odd"][data-outcome="win"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_6_shine.png'); }
.arcade-picks-main [data-arcade-pick="low"][data-outcome="win"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_5_shine.png'); }
.arcade-picks-main [data-arcade-pick="high"][data-outcome="win"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_4_shine.png'); }
.arcade-picks-main .arcade-pick :is(strong,small) { visibility: hidden; }
.arcade-picks-main .arcade-pick-amount { position: absolute; bottom: 2px; margin: 0; color: #ffdd00; font-size: 10px; }
.arcade-picks-main [data-outcome="win"] { box-shadow: inset 0 0 15px 10px #fff4a8a0; }
.arcade-picks-exact { position: absolute; inset: 0 0 auto; display: grid; grid-template-columns: 22% 22%; grid-template-rows: repeat(3,49px); justify-content: space-between; gap: 4px 0; margin: 0; pointer-events: none; }
.arcade-picks-exact .arcade-pick { pointer-events: auto; min-height: 0; padding: 3px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #b73036; border-radius: 0; background: #3f0006; }
.arcade-picks-exact strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.arcade-pick-discs { display: flex; gap: 1px; justify-content: center; }
.arcade-pick-discs i { display: block; width: 14px; height: 14px; border: 1px solid #777; border-radius: 50%; background: #f4f4e9; box-shadow: inset 0 -2px 1px #aaa; }
.arcade-pick-discs [data-red="true"] { background: #bd0014; border-color: #95000e; box-shadow: inset 0 -2px 1px #7d0012; }
.arcade-picks-exact [data-arcade-pick="red-0"] { grid-area: 1/1; }
.arcade-picks-exact [data-arcade-pick="red-1"] { grid-area: 2/1; }
.arcade-picks-exact [data-arcade-pick="red-2"] { grid-area: 3/1; }
.arcade-picks-exact [data-arcade-pick="red-4"] { grid-area: 1/2; }
.arcade-picks-exact [data-arcade-pick="red-3"] { grid-area: 2/2; }
.arcade-picks-exact [data-arcade-pick="extremes"] { grid-area: 3/2; }
.arcade-picks-exact [data-arcade-pick="extremes"] .arcade-pick-discs { display: grid; grid-template-columns: repeat(4,11px); gap: 0; }
.arcade-picks-exact [data-arcade-pick="extremes"] .arcade-pick-discs i { width: 11px; height: 11px; }
.arcade-picks-exact .arcade-pick small { color: #b9a682; margin-top: 3px; font-size: 10px; }
.arcade-picks-exact .arcade-pick-amount { position: absolute; bottom: 0; right: 2px; color: #ffe400; font-size: 9px; }
.arcade-pick-actions { order: 2; margin: auto 0 2px; gap: 7px; }
.arcade-pick-actions .arcade-button { min-height: 27px; padding: 0; border: 0; border-radius: 0; background: url('../assets/arcade/button-gold.webp') center/100% 100% no-repeat; color: #c4b585; font-size: 10px; }
.arcade-chip-row { order: 3; align-items: center; gap: 2px; margin: 0; }
.arcade-chip-custom { order: -1; width: 63px; border: 0; border-radius: 0; background: url('../assets/arcade/button-custom.webp') center/100% 100% no-repeat; color: #c5b56b; font-size: 10px; }
.arcade-chips { gap: 0; }
.arcade-chip:not(.arcade-chip-custom) { border: 0; border-radius: 0; background: url('../assets/arcade/chip-10.webp') center/contain no-repeat; font-size: 0; min-height: 43px; }
.arcade-chip:nth-child(2) { background-image: url('../assets/arcade/chip-20-active.webp'); }
.arcade-chip:nth-child(3) { background-image: url('../assets/arcade/chip-50.webp'); }
.arcade-chip:nth-child(4) { background-image: url('../assets/arcade/chip-100.webp'); }
.arcade-chip:nth-child(5) { background-image: url('../assets/arcade/chip-500.webp'); }
.arcade-chip[aria-pressed="true"] { filter: drop-shadow(0 0 4px #00edff); background-color: transparent; }
.arcade-custom-chip { order: 4; }
.arcade-play-feedback { order: 5; min-height: 0; margin: 0; color: #ffdf8f; font-size: 11px; }
.arcade-history { display: grid; grid-template-rows: 18px minmax(0,1fr); padding: 0; overflow: hidden; border: 0; border-radius: 0; background: #fff; }
.arcade-history .arcade-panel-heading { display: none; }
.arcade-history-tabs { min-width: 0; height: 18px; padding: 0; margin: 0; gap: 0; background: #333; overflow: hidden; }
.arcade-history-tabs button { min-height: 18px; padding: 0 6px; border: 0; border-radius: 0; background: transparent; color: #aaa; font-size: 9px; }
.arcade-history-tabs button[aria-pressed="true"] { color: #fff; background: #555; }
.arcade-history-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); justify-items: stretch; gap: 1px; }
.arcade-history .arcade-history-track { min-width: 0; grid-template-rows: 15px minmax(0,1fr); }
.arcade-history .arcade-history-label { padding: 0 2px; font-size: 8px; line-height: 15px; }
.arcade-history-summary { display: none; }
#arcade-history-grid:not(.arcade-history-overview) { grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: repeat(6,minmax(0,1fr)); grid-auto-flow: column; gap: 0; background: linear-gradient(90deg,transparent calc(100% - 1px),#ccc 0) 0 0/8.3333% 100%,linear-gradient(transparent calc(100% - 1px),#ccc 0) 0 0/100% 16.6667%; }
.arcade-room-footer { padding: 4px 8px; border: 0; background: #000; }
.arcade-scoreboard { display: flex; justify-content: space-between; gap: 3px; }
.arcade-scoreboard > div { flex-wrap: nowrap; gap: 3px; }
.arcade-scoreboard dt { font-size: 9px; }
.arcade-scoreboard dd { font-size: 13px; color: #39a9c9; }
@media(max-height:700px) { .arcade-room-body { grid-template-rows: 200px auto 125px; overflow: auto; } }
@media(prefers-reduced-motion:reduce) { .arcade-round-stage[data-phase="reveal"] :is(.arcade-dish,.arcade-dish-lid) { animation: none; } }

/* The native camera uses the whole viewport, just as in the source scene. */
.arcade-room { position: relative; isolation: isolate; }
.arcade-native-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 5; pointer-events: none; visibility: hidden; }
.arcade-room[data-native="ready"] .arcade-native-frame { visibility: visible; }
.arcade-room[data-native="ready"] .arcade-dish-scene { visibility: hidden; }
.arcade-room::after { content: ''; position: absolute; inset: 0; background: #000a; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .5s; }
.arcade-room:is([data-phase="shaking"],[data-phase="reveal"])::after { opacity: 1; }
.arcade-room .arcade-header { position: relative; z-index: 6; }
.arcade-picks-main { grid-template-rows: repeat(2,calc(min(100vw,520px) * .218)); margin-inline: 25%; gap: 3px; }
.arcade-picks-main .arcade-pick { border: 1px solid #a02a2d; background-color: #3b030aaa; box-shadow: inset 0 0 2px #e3c273; }
.arcade-picks-main .arcade-pick small { visibility: visible; position: absolute; left: 0; right: 0; bottom: 11px; font-size: 12px; color: #c1ad79; line-height: 1; }
.arcade-picks-main .arcade-pick strong { visibility: hidden; }
.arcade-picks-exact { grid-template-columns: 24% 24%; grid-template-rows: repeat(3,calc(min(100vw,520px) * .141)); gap: 3px; }
.arcade-picks-exact .arcade-pick { justify-content: flex-start; padding: 4px 1px 0; }
.arcade-pick-discs i { width: clamp(13px,4.8vw,21px); height: clamp(13px,4.8vw,21px); }
.arcade-picks-exact .arcade-pick small { margin: 0; line-height: 13px; }
.arcade-market-amount { position: absolute; inset: auto 0 0; color: #c6a817; font-size: 10px; line-height: 11px; background: #160002a8; text-align: center; }
.arcade-market-amount::before { content: '✽　'; color: #ba9422; }
.arcade-pick-amount { z-index: 1; border-radius: 50%; padding: 3px; background: #dbbc59; color: #45100a!important; }
.arcade-pick-amount:empty { display: none; }
.arcade-picks-main .arcade-pick-amount { bottom: 25px; right: 5px; }
.arcade-picks-exact .arcade-pick-amount { bottom: 8px; right: 1px; }
.arcade-history { position: relative; grid-template-rows: 29px minmax(0,1fr); }
.arcade-history-tabs { width: 25%; height: 29px; display: flex; flex-wrap: wrap; }
.arcade-history-tabs button { min-height: 14px; padding: 0 2px; font-size: 8px; }
.arcade-history-counts { position: absolute; top: 0; left: 26%; right: 0; height: 29px; display: flex; justify-content: space-around; align-items: start; padding-top: 3px; background: #252525; font-size: 10px; color: #ddd; }
.arcade-history-counts span::before { content: attr(data-red); display: inline-grid; place-items: center; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; background: #eee; color: #444; font-size: 8px; }
.arcade-history-counts [data-red="1"]::before { background: #543fd3; color: #fff; }
.arcade-history-counts [data-red="2"]::before { background: #26a843; color: #002a00; }
.arcade-history-counts [data-red="3"]::before { background: #e0c02b; color: #503400; }
.arcade-history-counts [data-red="4"]::before { background: #c81726; color: #fff; }
.arcade-history-overview { grid-template-columns: 29% 36% 35%; }
.arcade-history .arcade-history-label { display: none; }
.arcade-history .arcade-history-track { grid-template-rows: 1fr; }
@media(min-height:701px) { .arcade-room-body { grid-template-rows: calc(42% - 46px) minmax(0,1fr) 112px; } }

/* Source scene: 720 units wide; main fields 166 × 150, side fields 166 × 100. */
.arcade-room {
  --ru: calc(min(100vw,520px) / 720);
  --room-header-height: clamp(43px, calc(var(--ru) * 79), 57px);
  grid-template-rows: var(--room-header-height) minmax(0, 1fr) calc(var(--ru) * 60);
}
.arcade-room-body { position: static; display: block; padding: 0; overflow: hidden; }
.arcade-round-stage { position: absolute; inset: var(--room-header-height) 0 auto; height: calc(50% - var(--ru) * 165 - var(--room-header-height)); min-height: 0; }
.arcade-choices-panel { position: static; min-height: 0; }
.arcade-picks-main { position: absolute; top: calc(50% - var(--ru)*165); left: calc(50% - var(--ru)*167.566); width: calc(var(--ru)*338); grid-template-columns: repeat(2,calc(var(--ru)*166)); grid-template-rows: repeat(2,calc(var(--ru)*150)); column-gap: calc(var(--ru)*6); row-gap: calc(var(--ru)*12); margin: 0; }
.arcade-picks-main .arcade-pick { background-size: 88.55% 100%; }
.arcade-picks-exact { inset: calc(50% - var(--ru)*165) calc(var(--ru)*17) auto calc(var(--ru)*19); grid-template-columns: repeat(2,calc(var(--ru)*166)); grid-template-rows: repeat(3,calc(var(--ru)*100)); gap: calc(var(--ru)*6); }
.arcade-picks-main .arcade-pick small { bottom: calc(var(--ru)*23); font-size: calc(var(--ru)*24); }
.arcade-market-amount { line-height: calc(var(--ru)*22); font-size: calc(var(--ru)*19); }
.arcade-picks-exact .arcade-pick { padding-top: calc(var(--ru)*7); }
.arcade-pick-discs i { width: calc(var(--ru)*34); height: calc(var(--ru)*34); }
.arcade-picks-exact .arcade-pick small { font-size: calc(var(--ru)*23); line-height: calc(var(--ru)*25); }
.arcade-chip-row { position: absolute; left: calc(var(--ru)*12); right: calc(var(--ru)*12); bottom: calc(var(--ru)*313); height: calc(var(--ru)*80); }
.arcade-pick-actions { position: absolute; left: calc(var(--ru)*16); right: calc(var(--ru)*16); bottom: calc(var(--ru)*400); height: calc(var(--ru)*60); margin: 0; }
.arcade-pick-actions .arcade-button { min-height: 0; height: 100%; font-size: calc(var(--ru)*20); }
.arcade-history { position: absolute; left: 0; right: 0; bottom: calc(var(--ru)*60); height: calc(var(--ru)*253); }
.arcade-room-footer { grid-row: 3; position: relative; }
.arcade-play-feedback { position: absolute; left: 10px; right: 10px; bottom: calc(var(--ru)*470); text-align: center; }
.arcade-custom-chip { position: absolute; left: 10px; right: 10px; bottom: calc(var(--ru)*390); z-index: 7; background: #111; }
@media(max-height:600px) { .arcade-room { --ru: calc(min(100vw,100vh * .5625) / 720); width: min(100vw,100vh * .5625); } .arcade-native-frame { width: 100%; } }
.arcade-room .arcade-header {
  z-index: 8;
  height: var(--room-header-height);
  padding: 0;
  border: 0;
  background: linear-gradient(#000c, #29030396);
}
.arcade-room .arcade-header .arcade-announcement { color: #fff; }
.arcade-menu { position: relative; }
.arcade-menu > summary::-webkit-details-marker { display: none; }
.arcade-menu-options {
  position: absolute;
  z-index: 2;
  inset: calc(100% + 6px) 0 auto auto;
  display: grid;
  gap: 3px;
  min-width: 140px;
  padding: 5px;
  border: 1px solid #7e6a90;
  border-radius: 8px;
  background: #2b2336;
  box-shadow: 0 4px 12px #0008;
}
.arcade-menu-options button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 4px 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #f2eaf9;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}
.arcade-menu-options button:hover { background: #493957; }
.arcade-menu-options button[aria-pressed="true"] { color: #ffcf9c; }
.arcade-menu-options .arcade-control-icon { font-size: 15px; }
.arcade-mode-tag,
.arcade-stage-help {
  position: absolute;
  z-index: 6;
  bottom: calc(var(--ru) * 18);
}
.arcade-mode-tag,
.arcade-stage-help summary {
  display: grid;
  place-items: center;
  min-height: clamp(25px, calc(var(--ru) * 55), 35px);
  color: #ede3fa;
  background: #2a2336;
  border: 1px solid #87739d;
  border-radius: 6px;
}
.arcade-mode-tag {
  left: calc(var(--ru) * 18);
  padding: 0 7px;
  font-size: clamp(9px, calc(var(--ru) * 19), 13px);
  font-weight: 700;
}
.arcade-stage-help {
  right: calc(var(--ru) * 18);
}
.arcade-stage-help summary {
  width: clamp(29px, calc(var(--ru) * 65), 41px);
  list-style: none;
  cursor: pointer;
  font-size: clamp(12px, calc(var(--ru) * 31), 19px);
}
.arcade-stage-help summary::-webkit-details-marker { display: none; }
.arcade-stage-help summary:hover,
.arcade-stage-help[open] summary { background: #4c3a61; border-color: #c9afea; }
.arcade-guide-copy {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  width: min(250px, calc(100vw - 32px), calc(var(--ru) * 600));
  padding: 10px 12px;
  color: #f6edf9;
  background: #2a2336;
  border: 1px solid #87739d;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.45;
}
.arcade-guide-copy p { margin: 5px 0 0; }
.arcade-picks-main .arcade-pick { border: 0; box-shadow: none; }
.arcade-picks-exact .arcade-pick { border: 0; background: url('../assets/arcade/native-ui/field-normal.png') center/100% 100%; }
.arcade-pick-discs { width: calc(var(--ru)*155); height: calc(var(--ru)*40); margin-inline: auto; background-position: center; background-size: contain; background-repeat: no-repeat; }
.arcade-pick-discs i { display: none!important; }
[data-arcade-pick="red-0"] .arcade-pick-discs { background-image: url('../assets/arcade/native-ui/area_1.png'); }
[data-arcade-pick="red-4"] .arcade-pick-discs { background-image: url('../assets/arcade/native-ui/area_0.png'); }
[data-arcade-pick="red-1"] .arcade-pick-discs { background-image: url('../assets/arcade/native-ui/area_3.png'); }
[data-arcade-pick="red-3"] .arcade-pick-discs { background-image: url('../assets/arcade/native-ui/area_2.png'); }
[data-arcade-pick="red-2"] .arcade-pick-discs { background-image: url('../assets/arcade/native-ui/area_8.png'); }
.arcade-picks-exact [data-arcade-pick="extremes"] .arcade-pick-discs { width: calc(var(--ru)*107); height: calc(var(--ru)*54); margin-top: calc(var(--ru)*-4); background-image: url('../assets/arcade/native-ui/area_9.png'); }
.arcade-picks-exact .arcade-pick small { position: absolute; left: 0; right: 0; top: calc(var(--ru)*45.75); height: calc(var(--ru)*30); line-height: calc(var(--ru)*30); }
.arcade-picks-exact [data-arcade-pick="extremes"] small { top: calc(var(--ru)*52.76); }
.arcade-picks-main .arcade-pick small { top: calc(var(--ru)*93.87); bottom: auto; line-height: calc(var(--ru)*30); }
.arcade-picks-main [data-arcade-pick="even"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_7_normal.png'),url('../assets/arcade/native-ui/field-normal.png'); }
.arcade-picks-main [data-arcade-pick="odd"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_6_normal.png'),url('../assets/arcade/native-ui/field-normal.png'); }
.arcade-picks-main [data-arcade-pick="low"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_5_normal.png'),url('../assets/arcade/native-ui/field-normal.png'); }
.arcade-picks-main [data-arcade-pick="high"] { background-image: url('../assets/arcade/BetArea_vi-vn/area_4_normal.png'),url('../assets/arcade/native-ui/field-normal.png'); }
.arcade-picks-main .arcade-pick { background-size: 88.55% 100%,100% 100%; }
.arcade-market-share {
  position: absolute;
  inset: auto 12% calc(var(--ru) * 22);
  height: clamp(2px, calc(var(--ru) * 5), 4px);
  border-radius: 4px;
  overflow: hidden;
  background: #181524;
  pointer-events: none;
}
.arcade-market-share::after {
  content: '';
  display: block;
  width: var(--market-share, 0%);
  height: 100%;
  border-radius: inherit;
  background: #c3a9eb;
}
.arcade-pick:is([data-arcade-pick="odd"], [data-arcade-pick="high"]) .arcade-market-share::after {
  background: #e4b374;
}
.arcade-room-footer { display: flex; align-items: center; }
.arcade-scoreboard { width: 100%; }
.arcade-scoreboard > div:last-child dd { color: #c6aa00; }
.arcade-round-stage,.arcade-history,.arcade-choices-panel { grid-area: auto; }
.arcade-pick { min-height: 0; }
.arcade-history .arcade-history-track { display: block; height: 100%; }
.arcade-history .arcade-history-track .arcade-history-grid { height: 100%; grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: repeat(6,minmax(0,1fr)); grid-auto-flow: column; gap: 0; border-right: 1px solid #777; background: linear-gradient(90deg,transparent calc(100% - 1px),#ccc 0) 0 0/8.3333% 100%,linear-gradient(transparent calc(100% - 1px),#ccc 0) 0 0/100% 16.6667%; }
.arcade-history [data-history-track="faces"] .arcade-history-grid { background-size: 16.6667% 100%,100% 16.6667%; }
.arcade-history [data-history-track="faces"] .arcade-history-dot { border-radius: 50%; width: 88%; height: 88%; align-self: center; font-size: calc(var(--ru)*24); }
.arcade-history [data-mark="0"] { background: #d4ddde; color: #444; }
.arcade-history [data-mark="1"] { background: #4835ce; color: #d6f560; }
.arcade-history [data-mark="3"] { background: #d4be25; color: #624500; }
.arcade-history [data-mark="4"] { background: #c12129; color: #fff; }
.arcade-history .arcade-history-dot:is([data-mark="Hòa"], [data-mark="2"]) {
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #f4fff9;
  background: #176853;
}
.arcade-history .arcade-history-dot:is([data-mark="Hòa"], [data-mark="2"]) {
  place-self: center;
  width: min(90%, calc(var(--ru) * 24));
  font: 700 clamp(6px, calc(var(--ru) * 16), 11px)/1 system-ui, sans-serif;
}
.arcade-round-stage { isolation: auto; }
.arcade-picks-exact .arcade-pick[data-outcome="win"] {
  background-image: url('../assets/arcade/native-ui/field-shine.png');
}
.arcade-picks-main .arcade-pick:is([data-arcade-pick="even"], [data-arcade-pick="odd"])[data-outcome="win"] {
  outline: 2px solid #e8d3ff;
  outline-offset: -2px;
}
@media (prefers-reduced-motion: no-preference) {
  .arcade-picks-exact .arcade-pick[data-outcome="win"],
  .arcade-picks-main .arcade-pick:is([data-arcade-pick="even"], [data-arcade-pick="odd"])[data-outcome="win"] {
    animation: arcade-field-win 1s ease-in-out infinite alternate;
  }
}
@keyframes arcade-field-win {
  from { filter: brightness(1); }
  to { filter: brightness(1.5); }
}

.arcade-control-icon {
  --icon-line: clamp(1px, .09em, 2px);
  position: relative;
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
}
.arcade-control-icon::before,
.arcade-control-icon::after { position: absolute; box-sizing: border-box; }
.arcade-pick-actions .arcade-button { gap: .36em; }
.arcade-pick-actions .arcade-control-icon { font-size: 1.18em; }
.arcade-chip-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .32em;
  padding-inline: 3px;
}

.arcade-control-icon[data-icon="back"]::before {
  content: '';
  inset: calc(50% - var(--icon-line)/2) .12em auto .18em;
  height: var(--icon-line);
  background: currentColor;
}
.arcade-control-icon[data-icon="home"]::before {
  content: '';
  inset: .44em .20em .09em;
  border: var(--icon-line) solid currentColor;
  border-top: 0;
  border-radius: 0 0 .13em .13em;
}
.arcade-control-icon[data-icon="home"]::after {
  content: '';
  inset: .21em .22em auto;
  height: .56em;
  border-top: var(--icon-line) solid currentColor;
  border-left: var(--icon-line) solid currentColor;
  transform: rotate(45deg);
}
.arcade-control-icon[data-icon="favorites"]::before {
  content: '☆';
  inset: 0;
  display: grid;
  place-items: center;
  font: 650 1.15em/1 system-ui, sans-serif;
}
.arcade-control-icon:is([data-icon="back"], [data-icon="undo"])::after {
  content: '';
  top: .29em;
  left: .18em;
  width: .42em;
  height: .42em;
  border-left: var(--icon-line) solid currentColor;
  border-bottom: var(--icon-line) solid currentColor;
  transform: rotate(45deg);
}
.arcade-control-icon[data-icon="table"]::before {
  content: '';
  inset: .06em;
  border: var(--icon-line) solid currentColor;
  border-radius: .19em;
}
.arcade-control-icon[data-icon="table"]::after {
  content: '';
  top: .27em;
  left: .27em;
  width: .16em;
  height: .16em;
  border-radius: 50%;
  background: currentColor;
  box-shadow: .30em 0 currentColor, 0 .30em currentColor, .30em .30em currentColor;
}
.arcade-control-icon[data-icon="help"]::before {
  content: '';
  inset: .06em;
  border: var(--icon-line) solid currentColor;
  border-radius: 50%;
}
.arcade-control-icon[data-icon="help"]::after {
  content: '?';
  inset: 0;
  display: grid;
  place-items: center;
  font: 800 .72em/1 system-ui, sans-serif;
}
.arcade-control-icon[data-icon="wallet"]::before {
  content: '';
  inset: .20em .10em .18em .05em;
  border: var(--icon-line) solid currentColor;
  border-radius: .15em;
}
.arcade-control-icon[data-icon="wallet"]::after {
  content: '';
  top: .37em;
  right: .04em;
  width: .38em;
  height: .30em;
  border: var(--icon-line) solid currentColor;
  border-radius: .14em;
  background: radial-gradient(circle at 49% 50%, currentColor 18%, transparent 22%), #241f2b;
}
.arcade-control-icon[data-icon="audio"]::before {
  content: '';
  inset: .12em .38em .12em .04em;
  background: currentColor;
  clip-path: polygon(0 34%, 39% 34%, 96% 3%, 96% 97%, 39% 66%, 0 66%);
}
.arcade-control-icon[data-icon="audio"]::after {
  content: '';
  inset: .19em .06em .19em .46em;
  border-right: var(--icon-line) solid currentColor;
  border-radius: 50%;
}
[data-arcade-mute][aria-pressed="true"] .arcade-control-icon::after {
  inset: .33em .02em .33em .66em;
  border: 0;
  border-radius: 0;
  background: linear-gradient(45deg, transparent 41%, currentColor 42% 58%, transparent 59%),
    linear-gradient(-45deg, transparent 41%, currentColor 42% 58%, transparent 59%);
}
.arcade-control-icon[data-icon="max"] {
  background: linear-gradient(currentColor, currentColor) center 12% / 74% var(--icon-line) no-repeat;
}
.arcade-control-icon[data-icon="max"]::before {
  content: '';
  top: .34em;
  left: calc(50% - var(--icon-line)/2);
  width: var(--icon-line);
  height: .51em;
  background: currentColor;
}
.arcade-control-icon[data-icon="max"]::after {
  content: '';
  top: .33em;
  left: .32em;
  width: .36em;
  height: .36em;
  border-top: var(--icon-line) solid currentColor;
  border-left: var(--icon-line) solid currentColor;
  transform: rotate(45deg);
}
.arcade-control-icon[data-icon="clear"]::before,
.arcade-control-icon[data-icon="clear"]::after {
  content: '';
  inset: calc(50% - var(--icon-line)/2) .14em auto;
  height: var(--icon-line);
  background: currentColor;
  transform: rotate(45deg);
}
.arcade-control-icon[data-icon="clear"]::after { transform: rotate(-45deg); }
.arcade-control-icon[data-icon="undo"]::before {
  content: '';
  inset: calc(.50em - var(--icon-line)/2) .06em .10em .18em;
  border-top: var(--icon-line) solid currentColor;
  border-right: var(--icon-line) solid currentColor;
  border-start-end-radius: .28em;
}
.arcade-control-icon[data-icon="sliders"] {
  background: linear-gradient(currentColor, currentColor) center 29% / 91% var(--icon-line) no-repeat,
    linear-gradient(currentColor, currentColor) center 70% / 91% var(--icon-line) no-repeat;
}
.arcade-control-icon[data-icon="sliders"]::before,
.arcade-control-icon[data-icon="sliders"]::after {
  content: '';
  width: .28em;
  height: .28em;
  border: var(--icon-line) solid currentColor;
  border-radius: 50%;
  background: #241f2b;
}
.arcade-control-icon[data-icon="sliders"]::before { top: .15em; left: .22em; }
.arcade-control-icon[data-icon="sliders"]::after { top: .56em; right: .22em; }

.arcade-time {
  position: absolute;
  z-index: 7;
  inset: calc(var(--room-header-height) + 9px) auto auto clamp(9px, 3%, 16px);
  display: grid;
  place-items: center;
  width: clamp(33px, calc(var(--ru) * 70), 43px);
  height: clamp(22px, calc(var(--ru) * 41), 29px);
  border-radius: 999px;
  color: #fff;
  background: radial-gradient(ellipse, #069cd6, #2b0709 57%);
  font: 900 clamp(17px, calc(var(--ru) * 34), 23px)/1 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.arcade-time[data-urgent="true"] {
  background: radial-gradient(ellipse, #f83117, #360608 59%);
}
@media (prefers-reduced-motion: no-preference) {
  .arcade-time-digit { animation: arcade-time-digit-in 100ms ease-out; }
}
@keyframes arcade-time-digit-in {
  from { opacity: .12; }
  to { opacity: 1; }
}
.arcade-scoreboard .arcade-current-round dd {
  color: #c2c0cd;
  font-size: clamp(9px, calc(var(--ru) * 17), 11px);
  white-space: nowrap;
}
.arcade-table-status {
  position: absolute;
  z-index: 1;
  inset: 58px 12px auto;
  margin: 0;
  padding: 8px;
  border-radius: 6px;
  background: #242a25;
  text-align: center;
  font-size: 13px;
}


.arcade-room .arcade-stage-header {
  position: relative;
  z-index: 7;
  justify-self: end;
  align-self: start;
  display: flex;
  gap: 4px;
  height: auto;
  margin: 3px clamp(10px, 4.5%, 23px) 0 0;
  background: transparent;
}
.arcade-super-jackpot, .arcade-room .arcade-win {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 2vw, 10px);
  height: clamp(22px, calc(var(--ru) * 41), 29px);
  padding: 0 clamp(4px, 1.5vw, 9px);
  border-radius: 999px;
  background: #2f0103c4;
  white-space: nowrap;
}
.arcade-super-jackpot { min-width: calc(var(--ru) * 336); }
.arcade-super-jackpot img {
  width: clamp(66px, 22vw, 116px);
  height: auto;
}
.arcade-super-jackpot [data-live-super-jackpot] {
  color: #ffe6a0;
  font: 800 clamp(12px, calc(var(--ru) * 27), 19px)/1 Arial, sans-serif;
  text-shadow: 0 1px 3px #db581f;
}
.arcade-room .arcade-win {
  min-width: calc(var(--ru) * 149);
  gap: 5px;
  margin: 0;
  border: 0;
  color: #fff;
  font-size: clamp(11px, calc(var(--ru) * 24), 16px);
}
.arcade-win b {
  color: #d0f9ff;
  font: 900 clamp(15px, calc(var(--ru) * 33), 23px)/1 Arial, sans-serif;
  text-shadow: 0 0 5px #09d2ff;
}
.arcade-win i {
  width: 12px;
  height: 11px;
  background: #b3c0c6;
  clip-path: polygon(0 12%, 100% 12%, 50% 92%, 0 12%, 20% 28%, 50% 72%, 80% 28%, 20% 28%);
}
