/* Cinarverse Arcade V10 - new transparent 2048 x 1143 cabinet. */
:root { --cv10-cyan: #73eeff; }
.hero .machine-stage {
  position: relative !important;
  left: auto !important; right: auto !important;
  width: min(1540px, calc(100vw - 20px)) !important;
  max-width: 100% !important;
  margin: 18px auto 0 !important;
  aspect-ratio: 2048 / 1143 !important;
  height: auto !important;
  transform: none !important;
  filter: drop-shadow(0 18px 44px rgba(0,0,0,.48));
  overflow: visible !important;
  isolation: isolate;
}
.hero .machine-stage::before { display:none !important; }
.hero .machine-stage > picture,
.hero .machine-stage > picture > .arcade-machine,
.hero .machine-stage > .arcade-machine {
  display: block !important;
  width:100% !important; height:100% !important;
  position: absolute !important; inset: 0 !important;
  object-fit:fill !important; pointer-events:none !important;
  z-index:5 !important;
}
/* Extracted transparency rectangle from the uploaded PNG: x=148..1899 y~229..1124.
   0.3% inner padding keeps the old emulator iframe inside opaque cabinet edges. */
.hero .machine-stage > #screenShell {
  left: 7.45% !important; top: 20.65% !important;
  width: 85.05% !important; height: 77.25% !important;
  border-radius: 0 !important; overflow:hidden !important;
  box-shadow:none !important; background:#000 !important;
  z-index:2 !important;
}
.hero .machine-stage > #screenShell.expanded-player-screen {
  /* The existing engine's user-invoked expanded mode remains unchanged. */
  position:fixed !important; inset:0 auto auto 0 !important;
  width:var(--cv-viewport-width,100vw) !important;
  height:var(--cv-viewport-height,100dvh) !important;
  z-index:2147482000 !important;
}
.hero .machine-stage #gameFrame { width:100% !important; height:100% !important; }
/* Physical buttons exist in the PNG; overlay only accessible transparent hit areas/text. */
.cv10-controls {position:absolute; inset:0; z-index:12; pointer-events:none; direction:ltr;}
.cv10-key {
  position:absolute; top:2.0%; height:14.8%; width:20.0%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:0.12em; margin:0; padding:.12em .4em;
  background:transparent !important; border:0 !important;
  border-radius:18%; box-shadow:none !important;
  cursor:pointer; pointer-events:auto;
  color:#101425; font-family: 'Courier New', Consolas, ui-monospace, monospace;
  font-size:clamp(7px,1.02vw,15px);font-weight:900;line-height:1.06;
  letter-spacing:.018em;text-align:center;text-transform:uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,.33);
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
.cv10-key .cv10-key-label {display:block;max-width:100%; overflow-wrap:anywhere; hyphens:auto;}
.cv10-key .cv10-credit {display:flex;gap:.45em;align-items:baseline;font-size:.8em;font-weight:700;white-space:nowrap;letter-spacing:.05em;}
.cv10-key .cv10-credit strong {color:#261137;font-size:1.6em;line-height:1;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:.08em;text-shadow:0 1px rgba(255,255,255,.27);}
.cv10-key:focus-visible {outline:3px solid #fff !important;outline-offset:-3px;}
.cv10-key:hover .cv10-key-label {text-decoration:underline;text-decoration-thickness:1px;}
.cv10-key:active {transform:translateY(1px);}
.cv10-key[aria-disabled="true"] {cursor:not-allowed;}
.cv10-key[aria-disabled="true"] .cv10-key-label {opacity:.56;}
.cv10-key--coin {left:5.82%;color:#372414;}
.cv10-key--choose {left:28.55%;color:#092c4a;}
.cv10-key--scan {left:51.3%;color:#46131c;}
.cv10-key--support {left:74.05%;color:#46131c;}
/* Retire old duplicated controls without touching the runtime's listeners. */
.hero .machine-stage .machine-control,
.hero .machine-stage .machine-credit-display,
.hero .machine-actions {display:none !important;}
.hero .machine-stage #screenCoinButton,
.hero .machine-stage #screenMenuButton {display:none !important;}
/* Keep failure/retry and mobile runtime controls accessible inside the larger screen. */
.hero .machine-stage .screen-home {padding:4%;}
.hero .machine-stage .screen-title {font-size:clamp(12px,2.1vw,32px);}
.hero .machine-stage .screen-subtitle {font-size:clamp(8px,.95vw,15px);}
.hero .machine-stage .screen-selected {font-size:clamp(8px,.95vw,15px);}
.hero .machine-stage .screen-hint {font-size:clamp(7px,.8vw,14px);}
/* Four content cards fit in one row on a standard desktop. */
.home-content .home-content-grid {display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:12px!important;}
.home-content .home-content-grid > a {min-width:0!important; overflow-wrap:anywhere;}
.home-content .home-content-grid strong {font-size:clamp(12px,.96vw,17px);}
.home-content .home-content-grid small {font-size:clamp(11px,.82vw,14px);}
/* Explicitly requested, non-blocking sponsor panel sits below the cabinet, not over the game. */
.cv10-sponsor-panel[hidden] {display:none!important;}
.cv10-sponsor-panel {
  width:min(680px,calc(100% - 24px));margin:12px auto 24px;padding:18px;
  border:1px solid rgba(96,226,239,.32);border-radius:16px;
  background:#091321; color:#e3f6ff; text-align:center;position:relative;z-index:20;
}
.cv10-sponsor-panel h3 {margin:0 0 9px;font-size:1rem;}
.cv10-sponsor-panel p {margin:8px 0 12px;color:#b4cfda;font-size:.84rem;}
.cv10-sponsor-slot {display:flex;align-items:center;justify-content:center;max-width:100%;margin:10px auto;}
.cv10-sponsor-slot iframe {border:0;max-width:100%;background:transparent;}
.cv10-sponsor-actions {display:flex;justify-content:center;gap:15px;align-items:center;flex-wrap:wrap;}
.cv10-sponsor-actions button,.cv10-sponsor-actions a {background:transparent;border:1px solid rgba(120,235,255,.45);border-radius:10px;color:#9defff;padding:8px 12px;font:700 12px ui-sans-serif,sans-serif;text-decoration:none;cursor:pointer;}
.cv10-sponsor-actions button:hover,.cv10-sponsor-actions a:hover {border-color:#fff;color:#fff;}
@media(max-width:940px) {
  .cv10-key {font-size:clamp(7px,1.18vw,12px); letter-spacing:0;}
  .home-content .home-content-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:540px) {
  .hero .machine-stage {width:calc(100vw - 6px)!important;max-width:none!important;margin:8px auto 0!important;}
  .cv10-key {top:2%;height:15%;width:20.3%;padding:0 .13em;font-size:clamp(7px,1.8vw,10px);line-height:1.0;}
  .cv10-key--coin {left:5.6%;}
  .cv10-key--choose {left:28.45%;}
  .cv10-key--scan {left:51.3%;}
  .cv10-key--support {left:74.05%;}
  .cv10-key .cv10-credit {font-size:.74em;gap:.18em;}
  .cv10-key .cv10-credit strong {font-size:1.35em;}
  .hero .machine-stage .screen-home {padding:2%;}
  .hero .machine-stage .screen-home .screen-system {display:none;}
  .hero .machine-stage .screen-title {font-size:clamp(12px,4vw,18px);}
  .hero .machine-stage .screen-subtitle {font-size:clamp(8px,2.3vw,12px);}
  .hero .machine-stage .screen-hint {font-size:clamp(7px,1.9vw,10px);}
  .home-content .home-content-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:9px!important;}
  .home-content .home-content-grid > a {padding:13px!important;}
  .home-content .home-content-grid strong {font-size:12px;}
  .home-content .home-content-grid small {font-size:11px;}
}
@media(max-width:345px) {
  .cv10-key {font-size:7px;}
  .home-content .home-content-grid {grid-template-columns:1fr!important;}
}
@media(prefers-reduced-motion:reduce) {.cv10-key {transition:none!important;}}

/* V11: Console selector is a compact, scrollable OVERLAY inside the physical cabinet screen. */
.hero .machine-stage #screenShell > #cvConsoleChooserV5.cv11-console-in-screen {
  position:absolute!important; inset:0!important; width:100%!important; max-width:none!important;
  height:100%!important; margin:0!important; padding:clamp(6px,1vw,14px)!important;
  border:0!important;border-radius:0!important;background:linear-gradient(135deg,#091424,#130d23)!important;
  z-index:30!important;overflow-y:auto!important;overscroll-behavior:contain;
  box-sizing:border-box!important;scrollbar-width:thin; color:#f7fbff;
}
.hero .machine-stage #cvConsoleChooserV5.cv11-console-in-screen[hidden]{display:none!important}
.hero .machine-stage .cv11-console-in-screen .cv-console-head {margin:0 0 6px!important;gap:6px!important}
.hero .machine-stage .cv11-console-in-screen .cv-console-head h2 {font-size:clamp(12px,1.6vw,21px)!important}
.hero .machine-stage .cv11-console-in-screen .cv-console-head p {font-size:clamp(9px,.8vw,12px)!important;line-height:1.25!important}
.hero .machine-stage .cv11-console-in-screen .cv-console-grid {display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:clamp(3px,.55vw,9px)!important;padding:0!important}
.hero .machine-stage .cv11-console-in-screen .cv-console-item {min-height:clamp(36px,5.1vw,72px)!important;padding:4px 3px!important;gap:3px!important;border-radius:8px!important}
.hero .machine-stage .cv11-console-in-screen .cv-console-icon {font-size:clamp(13px,1.6vw,22px)!important}
.hero .machine-stage .cv11-console-in-screen .cv-console-name {font-size:clamp(9px,.72vw,12px)!important;line-height:1.12!important}
.hero .machine-stage .cv11-console-in-screen .cv-console-status {font-size:clamp(8px,.65vw,11px)!important;margin:5px 0 0!important}
.hero .machine-stage .cv11-console-in-screen .cv-console-badge {font-size:clamp(8px,.6vw,10px)!important}
.hero .machine-stage .cv11-change-console {position:absolute;left:1.2%;top:1.2%;right:auto;bottom:auto;z-index:15;background:#071525da;color:#a9f7ff;border:1px solid #62cbdc;border-radius:6px;padding:4px 7px;font-size:clamp(8px,.8vw,12px);line-height:1.1;cursor:pointer}
.hero .machine-stage .cv11-change-console[hidden]{display:none!important}
.cv10-sponsor-panel {width:min(800px,calc(100% - 24px));box-sizing:border-box}
.cv10-sponsor-slot {width:100%;min-height:50px;overflow:hidden}
.cv11-ad-wrap{position:relative;overflow:hidden;max-width:100%;margin:0 auto}
.cv11-ad-wrap iframe {display:block;position:absolute;inset:0;max-width:none!important;border:0}
@media(max-width:680px){
 .hero .machine-stage .cv11-console-in-screen .cv-console-head p,.hero .machine-stage .cv11-console-in-screen .cv-console-badge,.hero .machine-stage .cv11-console-in-screen .cv-console-status{display:none!important}
 .hero .machine-stage .cv11-console-in-screen .cv-console-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important}
 .hero .machine-stage .cv11-console-in-screen .cv-console-item{min-height:clamp(29px,8.3vw,43px)!important;padding:2px!important;gap:0!important;border-radius:5px!important}
 .hero .machine-stage .cv11-console-in-screen .cv-console-icon{font-size:clamp(10px,3vw,15px)!important}
 .hero .machine-stage .cv11-console-in-screen .cv-console-name{font-size:clamp(6px,1.65vw,9px)!important}
 .hero .machine-stage .cv11-console-in-screen .cv-console-head{margin:0 0 3px!important}
 .hero .machine-stage .cv11-console-in-screen .cv-console-head h2{font-size:clamp(9px,2.6vw,14px)!important}
 .cv10-sponsor-panel{width:calc(100% - 12px);padding:10px 6px}
}

/* V11.2: the console switch lives at upper-left, well inside the cabinet glass. */
.hero .machine-stage .cv11-change-console {max-width:45%;text-align:left;direction:auto;box-shadow:0 2px 10px rgba(0,0,0,.38)}
.cv12-loading-help[hidden]{display:none!important}
.cv12-loading-help {position:relative;z-index:60;margin:12px auto 0;padding:10px 12px;max-width:min(90%,450px);color:#dbf8ff;background:rgba(1,14,25,.92);border:1px solid rgba(100,225,240,.45);border-radius:9px;text-align:center;font:12px/1.4 system-ui,sans-serif}
.cv12-loading-help p{margin:0 0 8px}
.cv12-loading-help button{background:#174658;border:1px solid #7ee8ff;color:#fff;padding:6px 10px;border-radius:7px;cursor:pointer;font:600 12px system-ui,sans-serif}
@media(max-width:540px){.hero .machine-stage .cv11-change-console{top:2%;left:2%;font-size:clamp(8px,2vw,11px)}.cv12-loading-help{padding:5px;font-size:9px;line-height:1.2}.cv12-loading-help button{font-size:9px;padding:4px 7px}}


/* V11.3: single user-initiated Adsterra 160x600 skyscraper at the cabinet's top-right.
   The provider frame is NEVER resized; narrow displays use a scrollable drawer. */
.cv13-vertical-ad[hidden] {display:none!important}
.cv13-vertical-ad {
 position:absolute;top:20.75%;right:7.6%;z-index:40;
 width:172px;box-sizing:border-box;padding:4px 5px 5px;
 display:flex;flex-direction:column;align-items:center;gap:3px;
 background:#090e19;border:1px solid rgba(113,236,255,.58);
 border-radius:5px;color:#eefaff;box-shadow:0 4px 24px #0009;
 max-height:77.25%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
 direction:ltr;
}
.cv13-ad-header {width:160px;min-height:20px;display:flex;align-items:center;justify-content:space-between;gap:2px;font:600 10px/1.2 system-ui,sans-serif;text-align:left;}
.cv13-ad-header strong {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;}
.cv13-ad-close {background:#133446!important;color:#fff!important;border:1px solid #52b9cf!important;flex:none;width:24px;height:20px;margin:0!important;padding:0!important;border-radius:4px!important;cursor:pointer;font:18px/16px system-ui,sans-serif!important;}
.cv13-ad-close:focus-visible {outline:2px solid white!important;outline-offset:2px;}
.cv13-ad-slot {width:160px;height:600px;flex:none;overflow:hidden;background:#08090f;}
.cv13-ad-slot iframe {display:block;width:160px!important;min-width:160px;height:600px!important;border:0!important;max-width:none!important;background:transparent;}
/* This class is applied after the panel is moved to BODY, escaping any
   transformed/filter-containing cabinet ancestor and allowing page overlay. */
.cv13-vertical-ad.cv13-ad-drawer {
 position:fixed!important;top:max(8px, env(safe-area-inset-top));
 right:max(8px, env(safe-area-inset-right));bottom:auto!important;
 z-index:2147483000!important;max-height:calc(100dvh - 16px);
 overflow-y:auto;overscroll-behavior:contain;box-shadow:0 15px 60px #000c;
}

/* V11.4: only show a diagnostic when the ad provider did not deliver
   a detectable creative; do not permanently overlay real advertising. */
.cv13-ad-slot{position:relative}
.cv14-ad-status[hidden]{display:none!important}
.cv14-ad-status{position:absolute;z-index:2;inset:0;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:center;text-align:center;padding:14px 8px;background:#090e19;color:#bfe6ef;font:12px/1.5 system-ui,sans-serif}
.cv14-ad-retry{background:#112f45;color:#e1faff;border:1px solid #41b9d1;border-radius:5px;font:600 12px system-ui,sans-serif;padding:8px 10px;cursor:pointer}
