/* Interactive controls over the exact supplied 1536 x 1024 cell scene. */
body:has(.cell-numbered-game)>header{display:none}
html body #gameEngine:has(.cell-numbered-game){max-width:1536px;width:100%;padding:0;margin:0 auto}
html body #gameEngine:has(.cell-numbered-game) #gameEngineBackButton,html body #gameEngine:has(.cell-numbered-game) #gameCharacterBanner{display:none!important}
.cell-numbered-game{width:100%;min-width:0;background:#064c7e;color:#f1ffff}
.cell-numbered-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.cell-numbered-scroll:focus-visible{outline:3px solid #fff3a6;outline-offset:-3px}
.cell-numbered-board{position:relative;min-width:900px;width:100%;container-type:inline-size;isolation:isolate}
.cell-numbered-board>img{display:block;width:100%;height:auto;max-width:none}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-target{position:absolute!important;left:calc(var(--x) / 1536 * 100%);top:calc(var(--y) / 1024 * 100%);transform:translate(-50%,-50%);display:grid;place-items:center;z-index:3;width:3.58cqw;height:3.58cqw;min-width:32px;min-height:32px;padding:0!important;margin:0!important;border:3px solid #080e39!important;border-radius:50%!important;background:#fff!important;color:#080e39!important;box-shadow:0 2px 3px #072f5f88!important;font:900 clamp(18px,2cqw,29px)/1 "Trebuchet MS",sans-serif!important;cursor:pointer;touch-action:manipulation}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-target.correct{background:#b9ffd5!important;border-color:#007e56!important;color:#005435!important;opacity:1!important}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-target.cell-drag-over{outline:4px solid #fff079;outline-offset:4px;background:#e4ffff!important}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-palette{display:contents}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-card{position:absolute;left:69.8%;top:calc((219 + var(--card-row) * 54.7) / 1024 * 100%);width:28%;height:4.9%;min-height:0;min-width:0;z-index:3;margin:0!important;padding:0!important;border:0!important;border-radius:1.2cqw!important;background:transparent!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-card[aria-pressed=true]{outline:4px solid #08a9ef;outline-offset:-3px;background:#56c9ff33!important;box-shadow:0 0 0 2px #fff4b9!important}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-card.placed{background:#44d68144!important;opacity:1!important}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-card:disabled:not(.placed){background:#082c6577!important;cursor:default}
.cell-numbered-check{position:absolute;right:1%;top:10%;display:grid;place-items:center;width:2.7cqw;height:2.7cqw;border:2px solid #005c38;border-radius:50%;background:#bbffcf;color:#00542e;font:bold 2cqw/1 system-ui}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-back{position:absolute;left:1%;top:1.8%;width:14%;height:7.5%;min-height:0;margin:0;padding:0;border:0;border-radius:2cqw;background:transparent!important;box-shadow:none;z-index:3;cursor:pointer}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] :is(.cell-numbered-back,.cell-numbered-card,.cell-numbered-target):focus-visible{outline:4px solid #ffed85!important;outline-offset:2px}
.cell-numbered-status{padding:18px clamp(14px,3vw,28px) 26px;text-align:center;background:linear-gradient(#075b87,#07365d);border-top:2px solid #a4eaff}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-status p{max-width:900px;margin:10px auto;font:500 15px/1.6 system-ui;color:#e7faff!important}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-status .cell-numbered-progress{font-size:19px;font-weight:800;color:#ffefb0!important}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-status .vg-feedback{max-width:900px;margin:12px auto;padding:12px;border:1px solid #98eaff;border-radius:12px;background:#033452;color:#fff;font:700 16px/1.5 system-ui;min-height:48px}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-status a{color:#bcefff;text-decoration:underline}
html body #gameEngine #gameContent[data-reef-game="pin-the-cell"] .cell-numbered-status .vg-next{padding:14px 24px;min-height:48px;border:2px solid #fff1ad;border-radius:16px;background:linear-gradient(#ffeaa0,#ffbd51)!important;color:#0a3860!important;font:900 18px/1.4 system-ui}
@media(max-width:700px){.cell-numbered-status{padding:14px 12px 22px}.cell-numbered-instructions{font-size:14px!important}}

body:has(.cell-numbered-game) #rewardJourney{display:none!important}

/* Renamed heading only; numbered board, hit targets and saved round IDs are unchanged. */
.cell-numbered-board>img.cell-name-heading{position:absolute;left:31.9010416667%;top:0;width:41.015625%;height:18.5546875%;max-width:none;z-index:2;pointer-events:none}
