/* 服務條款改版後的重新同意畫面(public/tos-consent.js)。蓋住整個後台(z-index 60:高於暫停畫面 48 與彈出視窗 50),同意或登出才離開。
 * 商米舊 WebView 守則:不靠 flex gap、不用 grid / :has() / clamp();觸控區 >= 44px。 */
.tos-ov { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 60; overflow: auto; -webkit-overflow-scrolling: touch; background: rgba(20, 24, 36, .72); padding: 20px 12px; box-sizing: border-box; }
.tos-box { max-width: 680px; margin: 0 auto; padding: 18px 18px 14px; border-radius: 14px; background: #fff; box-sizing: border-box; }
.tos-box h2 { margin: 0 0 6px; font-size: 20px; }
.tos-lead { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: #374151; }
.tos-frame { display: block; width: 100%; height: 55vh; min-height: 260px; border: 1px solid #e3e6ec; border-radius: 10px; background: #fff; box-sizing: border-box; }
.tos-agree { display: flex; align-items: center; min-height: 44px; margin: 10px 0 0; font-size: 15px; font-weight: 700; cursor: pointer; }
.tos-agree input { width: 22px; height: 22px; margin: 0 10px 0 0; flex: none; }
.tos-err { min-height: 0; margin: 4px 0 0; color: #b42318; font-size: 14px; }
.tos-err:empty { display: none; }
.tos-btns { margin-top: 10px; text-align: right; }
.tos-btns button { min-height: 44px; margin: 0 0 0 8px; padding: 0 18px; }
