/* 整页固定为一屏：只有页面里的滚动区可以滚动，标题栏和底部导航不会被手势带走 */
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; background: #fdf9f5; }
/* iOS 上 overflow:hidden 挡不住整页回弹，把页面容器钉在视口里 */
body { position: fixed; inset: 0; width: 100%; }
#app { position: fixed; inset: 0; overflow: hidden; }
/* 路由运行时会在 body 末尾再生成一个满屏空容器（页面实际渲染在模板的 #app 中），它把文档撑成两屏，往下滑就露出空白 */
body > .tiga-tabbar__container { display: none !important; }
html body .page { height: var(--hm-app-h, 100vh); }
body { -webkit-text-size-adjust: 100%; font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
tiga-tabbar { display: none !important; }
.cat-tips__text { width: 100%; height: 100%; min-width: 0; }
.cat-tips__em { display: inline !important; white-space: nowrap !important; }
.hm-dialog-mask{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:rgba(58,39,35,.32);padding:24px;font:15px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#222;box-sizing:border-box}
.hm-dialog{background:#fffdfa;border-radius:20px;max-width:380px;width:100%;padding:24px;box-sizing:border-box;box-shadow:0 16px 50px #38282422}
.hm-dialog h2{font-size:18px;margin:0 0 14px;font-weight:700}.hm-dialog p{margin:0 0 20px;white-space:pre-wrap;overflow-wrap:anywhere}.hm-dialog input{box-sizing:border-box;width:100%;padding:12px;margin-bottom:14px;border:1px solid #e6dcd6;border-radius:10px;font:inherit}
.hm-dialog button{font:inherit;cursor:pointer;border:0;background:#f5eee8;color:#49342c;border-radius:12px;padding:11px 18px;min-height:44px;box-sizing:border-box}.hm-dialog button.hm-primary{background:#ef3b3b;color:white}.hm-dialog-actions{display:flex;gap:12px;justify-content:flex-end}
.hm-actionsheet{align-self:flex-end;padding:12px;margin:0 auto max(0px,env(safe-area-inset-bottom));display:grid;gap:8px}.hm-actionsheet button{display:block;width:100%;background:transparent;border-radius:10px;border-bottom:1px solid #f4ece5}.hm-crop canvas{width:100%;aspect-ratio:1;border-radius:50%;display:block;background:#eee}.hm-crop p{font-size:13px}.hm-crop input[type=range]{padding:0;margin:20px 0;accent-color:#ef3b3b}
