/* Soroban Academy R53 — complete local game evolution. */
.r53LazyGameIcon{width:100%;height:100%;display:grid;place-items:center;font-size:clamp(52px,8vw,84px);filter:drop-shadow(0 10px 16px rgba(31,70,54,.2));background:radial-gradient(circle at 50% 36%,rgba(255,255,255,.96),rgba(244,237,218,.72) 58%,rgba(225,236,224,.62));user-select:none}
.r53GameTools{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.r53GameTools button{width:43px;height:43px;min-width:43px;border:1px solid #d9d1c3;border-radius:13px;background:#fff;color:#214f42;font-size:19px;font-weight:900;display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 13px rgba(30,69,55,.08);touch-action:manipulation}.r53GameTools button:hover{background:#eef8f3}.r53GameTools button.on{background:#e6f5ee;border-color:#76b9a3}.r53GameTools button.off{opacity:.58}.r53GameTools button:disabled{opacity:.36;cursor:default}
.r53DinoControls{grid-template-columns:minmax(95px,1.2fr) minmax(105px,1.1fr) minmax(92px,.9fr) auto minmax(115px,.9fr) minmax(90px,.8fr)!important;align-items:center}.r53DinoControls>button{min-height:46px}.r53LongJump,.r53Duck{border:0;border-radius:15px;padding:12px 10px;color:white;font:inherit;font-weight:950;cursor:pointer;touch-action:none}.r53LongJump{background:linear-gradient(145deg,#a86e22,#7e4e13)}.r53Duck{background:linear-gradient(145deg,#487b6f,#285c51)}.r53Duck:active,.r53Duck.on{transform:translateY(1px);filter:brightness(.9)}.r53ThemeSelect{height:45px;min-width:116px;border:1px solid #d9d1c3;border-radius:13px;background:#fff;padding:0 10px;font:inherit;font-weight:850;color:#3b4d46}.r53DinoBiome{background:#edf8ef!important;border-color:#b8ddbf!important;color:#315d3c!important}
.r53GapChip,.r53AwardChip{transition:transform .16s ease,box-shadow .16s ease}.r53GapPulse{animation:r53GapPulse .38s ease}@keyframes r53GapPulse{50%{transform:scale(1.08);box-shadow:0 0 0 5px rgba(239,197,82,.22)}}
.r53HelpPanel{position:absolute;z-index:90;inset:12px;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:24px;border-radius:24px;background:rgba(12,42,31,.95);color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.36);backdrop-filter:blur(8px);text-align:right}.r53HelpPanel>button{position:absolute;left:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#ffffff20;color:#fff;font-size:25px;cursor:pointer}.r53HelpPanel h3{margin:0;font-size:22px}.r53HelpSteps{display:grid;gap:9px}.r53HelpSteps span{display:block;padding:10px 12px;border-radius:14px;background:#ffffff13;line-height:1.6;font-weight:800}.r53PauseLayer{position:absolute;z-index:85;inset:0;display:grid;place-items:center;background:rgba(8,33,25,.72);backdrop-filter:blur(5px);border-radius:20px}.r53PauseLayer>div{display:flex;flex-direction:column;gap:6px;padding:20px 28px;border-radius:19px;background:#fff;color:#194b3e;text-align:center;box-shadow:0 15px 40px rgba(0,0,0,.24)}
.r53DuelToolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:4px 2px}.r53DuelMeta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.r53DuelMeta>span{padding:8px 12px;border-radius:999px;background:#f4efe5;border:1px solid #dfd4c2;font-weight:950;color:#5c503e;font-size:12px}.r53DuelReport{grid-column:1/-1;border:1px solid #d8cda9;border-radius:20px;background:linear-gradient(180deg,#fffdf6,#f3efe3);padding:14px;overflow:auto;max-height:42vh}.r53ReportHero{font-size:19px;color:#174f43;margin-bottom:10px}.r53ReportGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.r53ReportGrid span{padding:9px 10px;border-radius:12px;background:#fff;border:1px solid #e6ddcd;font-size:12px;color:#5c5447}.r53ReportGrid b{color:#174f43}
.r53Completion{display:flex;align-items:center;gap:7px;min-width:110px}.r53CompletionBar{position:relative;flex:1;min-width:60px;height:8px;border-radius:999px;background:#e7e4dc;overflow:hidden}.r53CompletionBar>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1c876d,#5cbc8c)}.r53Completion>span{font-size:11px;font-weight:900;color:#466058;white-space:nowrap}.r53TrainerActivity{display:flex;flex-direction:column;gap:2px}.r53TrainerActivity small{color:#81796d;font-size:10px}.r53TrainerTable th,.r53TrainerTable td{vertical-align:middle}
@media(max-width:850px){.r53DinoControls{grid-template-columns:repeat(3,minmax(0,1fr))!important}.r53DinoControls .r53GameTools{grid-column:1/-1;justify-content:center}.r53ThemeSelect{width:100%}.r53ReportGrid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.r53LazyGameIcon{font-size:58px}.r53DinoControls{grid-template-columns:1fr 1fr!important;gap:6px}.r53DinoControls .r53GameTools{grid-column:1/-1}.r53DinoControls .r53ThemeSelect{grid-column:1/2}.r53DinoControls #r46DinoStart{grid-column:2/3}.r53GameTools button{width:40px;height:40px;min-width:40px}.r53HelpPanel{inset:6px;padding:18px 14px}.r53HelpPanel h3{font-size:18px}.r53HelpSteps span{font-size:12px;padding:8px}.r53DuelToolbar{align-items:flex-start}.r53DuelToolbar .r53GameTools{gap:3px}.r53ReportGrid{grid-template-columns:1fr}.r53TrainerTable{min-width:850px}}
