/* Mine the Stone: versión de celular. La mina ocupa toda la pantalla y se recorre hacia abajo. */
html.mtg-mobile, html.mtg-mobile body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.mtg-mobile { font-size: 15.5px; }
.app.mobile { display: grid; grid-template-rows: 3.4rem minmax(0, 1fr) auto calc(3.9rem + env(safe-area-inset-bottom)); height: 100vh; height: 100dvh; }
.mtop { display: flex; align-items: center; gap: .6rem; padding: 0 .75rem; background: var(--panel); border-bottom: 1px solid var(--line); z-index: 30; }
.mtop .walletb { height: 2.3rem; padding: 0 .6rem; }
.mtop-r { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.icb { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: var(--muted); }
.mobile .langb { margin-left: .3rem; }
.icb { position: relative; } .icb.on { color: var(--amber); }
.icb .bdg { top: .3rem; right: .2rem; }
.mobile .langb b { padding: .5rem .45rem; }

.mstage { overflow-y: auto; overflow-x: hidden; background: #0b0e11; -webkit-overflow-scrolling: touch; }
.mobile .dock { background: var(--panel); border-top: 1px solid var(--line2); padding: .6rem .75rem; z-index: 20; }
.mobile .dock .gauge { gap: .6rem; }
.mobile .dock .g-ore { width: 2.5rem; height: 2.5rem; }
.mobile .dock .g-rate, .mobile .dock .g-val { display: none; }
.mobile .dock .g-btn span { display: none; }
.mobile .dock .g-btn { width: 3.2rem; padding: 0; }
.mobile .dock .split > span { white-space: nowrap; }
.mobile .dock .btn { min-height: 2.75rem; }
.mtabs { display: grid; grid-template-columns: repeat(5, 1fr); background: #07090a; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); z-index: 40; }
.mobile .tabb { min-height: 3.9rem; font-size: .66rem; }
.mobile .tabb.on::after { top: 0; }

.sheet { position: fixed; left: 0; right: 0; top: 3.4rem; bottom: calc(3.9rem + env(safe-area-inset-bottom)); z-index: 35; background: var(--bg); border-top: 1px solid var(--line2); display: flex; flex-direction: column; transform: translateY(102%); visibility: hidden; transition: transform .32s var(--ease), visibility 0s .32s; }
.sheet.open { transform: none; visibility: visible; transition: transform .32s var(--ease); }
.sheet .grab { flex: none; height: 1.75rem; display: grid; place-items: center; width: 100%; }
.sheet .grab i { width: 2.6rem; height: 4px; border-radius: 2px; background: var(--line2); }
.sheet .panel { flex: 1; overflow-y: auto; padding: .25rem .9rem 2.5rem; -webkit-overflow-scrolling: touch; }
.mobile #toasts { top: 4rem; }

.mobile .vhead h2 { font-size: 1.7rem; }
.mobile .row { padding: .75rem; gap: .65rem; flex-wrap: wrap; }
.mobile .row .grow { flex-basis: 9rem; }
.mobile .row .ico { width: 2.3rem; }
.mobile .btn.cost { padding-inline: .7rem; }
.mobile .cartcard { align-items: flex-start; }
.mobile .pool .split { flex-direction: column; align-items: stretch; }
.mobile .sc-name { font-size: 16px; }
@media (max-width: 359px) { .mtop .walletb small, .mobile .tabb span { display: none; } }
