/* V0.24.79: comfortable tool surfaces and mobile reading controls. */
.calculator-modal-v276{overscroll-behavior:contain}
.calculator-shell-v276{scrollbar-gutter:stable;scroll-behavior:auto;overscroll-behavior:contain;background:linear-gradient(160deg,#102d34,#102a2c 60%,#193e38);border-color:#699f91}
.calculator-shell-v276 header{position:relative;padding-bottom:10px;border-bottom:1px solid #ffffff23}
.calculator-screen-v276{position:sticky;top:0;z-index:2;box-shadow:0 10px 24px #071a1e75,inset 0 2px 7px #37604829}
.calculator-keys-v276{padding:12px 1px 4px;gap:9px}
.calculator-keys-v276 button{border-radius:13px;transition:transform .13s ease,background-color .13s ease,box-shadow .13s ease;touch-action:manipulation}
.calculator-keys-v276 button:focus-visible{outline:3px solid #f9d28d;outline-offset:2px}
#footballModalV249 .football-head{background:linear-gradient(135deg,#142f3c,#0c2932);box-shadow:0 6px 22px #06121969;z-index:2}
#footballModalV249 .football-buttons button{border-radius:19px;min-height:54px;box-shadow:0 4px 14px #0006,inset 0 1px 0 #ffffff40;transition:transform .11s ease,filter .13s ease,box-shadow .13s ease}
#footballModalV249 .football-buttons button:active,#footballModalV249 .football-buttons button.held{transform:translateY(2px) scale(.97);filter:brightness(1.1);box-shadow:0 2px 7px #0005}
#footballModalV249 .football-stick{background:radial-gradient(circle at 35% 25%,#4b6974,#203e46 48%,#0d262c 74%);box-shadow:inset 0 2px 18px #0009,0 3px 20px #0006}
#footballModalV249 .football-menu{background:linear-gradient(140deg,#1b3b43,#0b222e);border-color:#83c7b45c}
#footballModalV249 .football-options label{line-height:1.5;gap:8px}
@media(max-width:700px){
 .jump-latest:not(.hidden){width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:50%!important;font-size:0!important;right:max(12px,env(safe-area-inset-right))!important;bottom:calc(var(--composer-inset,128px) + 18px)!important}
 .jump-latest:not(.hidden)::after{content:'↓';font-size:24px;line-height:1;color:#fff}
 .calculator-modal-v276{align-items:stretch;padding:6px}
 .calculator-shell-v276{width:100%;max-height:calc(100dvh - 12px);padding:14px;overflow-y:auto;-webkit-overflow-scrolling:touch}
 .calculator-keys-v276 button{min-height:46px}
 #footballModalV249 .football-controls{gap:8px;padding-left:12px;padding-right:12px}
 #footballModalV249 .football-buttons{gap:8px}
 #footballModalV249 .football-buttons button{min-width:60px;min-height:54px}
}
@media(prefers-reduced-motion:reduce){.calculator-keys-v276 button,#footballModalV249 .football-buttons button{transition:none}}
