/* 更新73 · 防误触：两种皮肤共用，最后加载。
   问题：沙漏报警条（剩余时间不足时出现、填沙后消失）和出发倒计时条原本占据页面高度，
   出现/消失时整页内容上下跳动；手机上连续点“填入沙子”时，第二下会落到下方“带走金币并撤离”等按钮上。
   做法：这些随时间自动出现/消失的提示改为不占版面高度的悬浮提示条，并且不拦截点击（点击穿透到下方按钮）。 */
.expedition-shell .warning-stack{position:relative!important;top:auto!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;
  display:flex!important;flex-direction:column;align-items:center;gap:4px;overflow:visible;z-index:40;pointer-events:none}
.expedition-shell .warning-stack>*{position:relative!important;top:6px!important;margin:0!important;max-width:calc(100% - 16px);box-sizing:border-box;pointer-events:none;
  border-radius:14px;box-shadow:0 8px 24px #000a;text-align:center;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.expedition-shell .warning-stack>[hidden]{display:none!important}
.expedition-shell .warning-stack>.sand-alarm{padding:.5rem 1.1rem;font-size:.9rem;background:#7a2a20f2;border:1px solid #ff9a80}
.expedition-shell .warning-stack>.launch-countdown{padding:.42rem 1.1rem;border:1px solid #f6e2a8;background:#ead49cf2;color:#231e16}
@media (max-width:700px){
  .expedition-shell .warning-stack>*{top:4px!important;font-size:.72rem;padding:.32rem .7rem;white-space:normal}
}

/* 临时填沙（填沙卡）：按钮位置固定，不随文字行数变化上下移动；“填入”和“退出”之间留出足够间距 */
.temporary-sand{place-items:start center!important;padding-top:max(14vh,4rem)!important}
.temporary-sand>div{width:min(450px,100%)}
.temporary-sand #temporaryGuide{min-height:3.2em;margin:0}
.temporary-sand #temporaryStock{min-height:1.5em;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.temporary-sand #temporaryFill{min-height:64px;font-size:1.15rem;touch-action:manipulation}
.temporary-sand #temporaryExit{margin-top:2.2rem;touch-action:manipulation}

/* 状态栏数字等宽，倒计时跳动时不改变宽度 */
.frozen-status .stat strong,#timerStat strong{font-variant-numeric:tabular-nums}
/* 连续点击填沙不会触发双击缩放 */
#fillSand,#escape,.hub-actions button{touch-action:manipulation}
/* 准备阶段结束时“沙漏 180 秒”小字消失，原本会让状态栏变矮、整页上移约 15px；保留这一行的高度 */
#timerStat #graceLabel:empty::before{content:'\00a0'}
/* 手机英文界面里 “hourglass 180 s” 会折成两行；固定预留两行，准备阶段结束时状态栏高度不变 */
@media (max-width:720px){html[lang="en"] #timerStat #graceLabel{display:block;line-height:1.2;min-height:2.4em}}

/* 更新76（两种皮肤）：临时填沙页面显示沙漏进度条，而不只是秒数 */
.temporary-sand .temporary-hourglass{display:flex;align-items:center;gap:10px;margin:0;height:22px}
.temporary-sand .temporary-hourglass>span{font-size:18px;line-height:1}
.temporary-sand .temporary-track{flex:1;height:12px;border-radius:7px;background:#ffffff1c;border:1px solid #e7bb7066;overflow:hidden}
.temporary-sand #temporaryBar{display:block;height:100%;width:0;border-radius:7px;background:linear-gradient(90deg,#c99543,#f6d58e);box-shadow:0 0 10px #f0c67488;transition:width .35s ease}
.temporary-sand .temporary-hourglass.low #temporaryBar{background:linear-gradient(90deg,#b8322a,#ff7a68);box-shadow:0 0 10px #ff6a5a88}
