/* Isolated full-viewport interactive number reader. Other games and laboratory untouched. */
#r55NumberPage.soroNRPage,#r55NumberPage.soroNRPage *{box-sizing:border-box}
#r55NumberPage.soroNRPage{position:fixed!important;inset:0!important;z-index:4700!important;width:100%!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:max(8px,env(safe-area-inset-top,0px)) max(7px,env(safe-area-inset-right,0px)) max(7px,env(safe-area-inset-bottom,0px)) max(7px,env(safe-area-inset-left,0px))!important;overflow:hidden!important;background:#f5f7ef!important}
#r55NumberPage.soroNRPage.hidden{display:none!important}
#soroNRRoot{height:100%;max-width:1100px;margin:auto;display:flex;flex-direction:column;gap:6px;min-height:0;color:#17493a}
.soroNRHeader{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;flex:none}.soroNRHeader h2{margin:0;text-align:center;font-size:clamp(17px,3vw,24px);white-space:nowrap}.soroNRHeader button,.soroNRFooter button,#soroNRSettings button{min-height:37px;padding:6px 10px;border-radius:11px;border:1px solid #aacabc;background:#fff;color:#155440;font-weight:850}
#soroNRSettings[hidden],#soroNRBrowse[hidden]{display:none!important}#soroNRSettings{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#fff;border:1px solid #d1e3d9;padding:7px;border-radius:11px;flex:none}#soroNRSettings label{display:flex;align-items:center;gap:6px;font-weight:800}#soroNRSettings select{padding:7px;border-radius:8px;max-width:165px;border:1px solid #c4dbcd}
.soroNRResult{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0;flex:none}.soroNRResult strong{font-size:clamp(27px,6vw,55px);font-variant-numeric:tabular-nums;direction:ltr}.soroNRResult span{color:#975f16;font-size:clamp(13px,2.7vw,19px);font-weight:900;direction:ltr;text-align:center}
.soroNRBoard{--soro-rods:3;display:grid;grid-template-columns:repeat(var(--soro-rods),minmax(0,1fr));gap:clamp(1px,1vw,10px);align-items:stretch;direction:ltr;flex:1 1 auto;min-height:100px;padding:9px clamp(4px,2vw,18px);border:9px solid #80512e;border-radius:20px;background:linear-gradient(160deg,#38251d,#4f3022);box-shadow:inset 0 2px 10px #170d09;overflow:hidden}
.soroNRRod{min-width:0;position:relative;display:grid;grid-template-rows:minmax(30px,22%) 10px minmax(65px,1fr) 17px;gap:2px;text-align:center;align-items:stretch}.soroNRRod:before{content:'';position:absolute;left:50%;top:2px;bottom:21px;width:2px;background:#d6aa7c;transform:translateX(-50%);z-index:0}.soroNRRod button{z-index:1;min-height:0;min-width:0;padding:0;background:transparent;border:0;display:flex;align-items:center;justify-content:center;cursor:default;touch-action:manipulation}
.soroNRBoard.is-manual .soroNRRod button{cursor:pointer}.soroNRRod button span{display:block;width:min(96%,55px);height:clamp(14px,3.6vh,24px);border-radius:100px;background:linear-gradient(165deg,#e9b86d,#a56730 65%,#5a341e);box-shadow:inset 0 2px 2px #fff5,0 3px 5px #0007;transition:transform .14s}
.soroNRUpper{align-self:stretch}.soroNRUpper span{transform:translateY(-23%)}.soroNRUpper.on span{transform:translateY(24%)}.soroNRBeam{z-index:2;align-self:stretch;background:linear-gradient(#a16d46,#67412d);border-radius:4px}.soroNRLower{display:grid;grid-template-rows:repeat(4,minmax(15px,1fr));gap:1px;min-height:0}.soroNRBead span{opacity:.82}.soroNRBead.on span{transform:translateY(-18%);opacity:1}.soroNRRod small{position:relative;color:#f6ddaf;font-size:clamp(8px,1.5vw,12px);white-space:nowrap;overflow:hidden;line-height:16px}
.soroNRFooter{display:flex;flex-direction:column;gap:5px;flex:none}.soroNRFooter #soroNRBrowse{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px}.soroNRFooter #soroNRBrowse input{min-width:0;width:100%;accent-color:#176b4c}.soroNRFooter #soroNRSpeak{background:#116e51;color:white;width:100%;min-height:42px}
@media(max-height:490px) and (orientation:landscape){.soroNRResult strong{font-size:26px}.soroNRResult span{font-size:12px}.soroNRHeader button{min-height:31px}.soroNRBoard{padding-top:4px;padding-bottom:3px;border-width:5px}.soroNRRod{grid-template-rows:minmax(25px,22%) 7px minmax(48px,1fr) 15px}.soroNRRod button span{height:15px}.soroNRFooter #soroNRSpeak{min-height:31px}}
