/* Keep progress in the upper reading zone and touch controls within thumb reach. */
@media(max-width:759px),(max-width:1024px) and (max-height:500px){
 html:is(.fishing-active,.water-active,.sweep-active) .discovery-note{display:none}
 html:is(.fishing-active,.water-active,.sweep-active) #journey-button{display:none!important}
 .fishing-panel,.water-panel,.sweep-panel{
  position:fixed;top:calc(18px + env(safe-area-inset-top));bottom:auto;left:0;right:0;
  width:min(320px,calc(100vw - 32px));margin:0 auto;transform:none;box-sizing:border-box;
  padding:14px 16px;border:1px solid #d2bb824d;border-radius:16px;
  background:#241d16e8;box-shadow:0 4px 20px #0003;pointer-events:none;text-align:left;
 }
 .fishing-panel__card{padding:0;border:0;background:none;box-shadow:none;transform:none}
 .fishing-panel label{margin:0 0 10px;font-size:12px}
 .fishing-panel progress{height:8px}
 .fishing-panel .fishing-panel__status,.water-panel .water-status,.sweep-panel .sweep-status{
  min-height:0;margin:8px 0 0;padding:0;font-size:12px;line-height:1.5;text-align:left;
 }
 .sweep-panel progress{margin-top:10px}
 .water-meter{height:16px}.water-fill{top:4px;height:8px}
 .fishing-panel .fishing-panel__action,.water-panel .water-pour{
  position:fixed;right:calc(20px + env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom));
  width:80px;height:80px;min-height:80px;min-width:0;margin:0;padding:10px;
  border-radius:50%;box-shadow:0 5px 20px #0005;pointer-events:auto;line-height:1.3;
  font-size:13px;border:2px solid #e6cb89;
 }
 .fishing-panel .fishing-panel__action{font-size:0;background:#e5b95f;color:#291a0b}
 .fishing-panel__action::after{content:attr(data-short-label);font:700 14px/1.3 Quicksand,sans-serif}
 .fishing-panel .fishing-panel__cancel,.water-panel .water-exit{
  position:fixed;right:calc(116px + env(safe-area-inset-right));bottom:calc(42px + env(safe-area-inset-bottom));
  width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border-radius:50%;pointer-events:auto;font-size:0;
 }
 .sweep-panel button{
  position:fixed;right:calc(20px + env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom));
  width:64px;height:64px;min-width:64px;min-height:64px;padding:0;border-radius:50%;pointer-events:auto;
 }
 .hud-profile small{display:none}
 #game-hud .hud-profile .merit-counter{width:auto;min-height:0;padding:0;margin:3px 0 0;border:0;border-radius:0;background:none;justify-content:flex-start;gap:5px;font-size:12px;color:var(--hud-gold);white-space:nowrap}
 #game-hud .hud-profile .merit-counter .hud-icon{width:15px;height:15px}
}
