/* Account inner pages hide the primary nav (PRODUCT.md:145). The html[data-fate-system] prefix is needed:
   app.css's html[data-fate-system="app"] #tabbar{display:flex} out-ranked the bare rule, so V2 showed the nav here. */
html[data-fate-system="app"] .account-page #tabbar{display:none}
.account-page .chrome-top{display:flex;align-items:center;gap:16px}
.account-back{display:inline-flex;align-items:center;min-height:44px;min-width:44px;color:var(--text-body);text-decoration:none;font-size:13px}
.account-wrap{padding-bottom:100px}
.account-wrap h1,.account-wrap h2{font-family:var(--font-display);color:var(--text-strong);text-wrap:balance}
.account-wrap h1{font-size:22.4px;margin:12px 0}
.account-wrap h2{font-size:18px;margin:0 0 12px}
.account-wrap p{font-size:14px;line-height:1.8;color:var(--text-body);text-wrap:balance} /* short notes: Chrome's pretty still leaves a two-word / two-character last line (L 2026-09-27) */
.account-wrap .panel{padding:20px;margin:16px 0}
.account-note{font-size:12px!important;color:var(--text-muted);word-break:keep-all} /* zh breaks at its clauses (、，；): Chrome cannot balance a note that has a <br>, which left 確認。 alone (L 2026-09-27) */
.account-empty{text-align:center;padding:36px 20px!important}
.account-wrap .btn{min-height:44px;text-decoration:none}
.account-wrap :focus-visible,.account-back:focus-visible{outline:2px solid var(--fate-jade);outline-offset:3px}
.account-filters{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:20px 0}
.account-filters button{min-height:44px;border:0;background:var(--app-card-sheen),var(--app-card-fill);box-shadow:var(--app-card-shadow);-webkit-backdrop-filter:var(--app-glass-filter);backdrop-filter:var(--app-glass-filter);border-radius:var(--r-pill);font:inherit;font-size:13px;color:var(--text-body);cursor:pointer}
.account-order{width:100%;text-align:left;border:0;cursor:pointer;color:var(--text-strong);font:inherit}
.account-order strong,.account-order span{display:block;margin:5px 0}
.account-order span{font-size:13px;color:var(--text-body)}
.account-order b{font-variant-numeric:tabular-nums}
.account-wrap dl{margin:0}.account-wrap dl>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.account-wrap dt{color:var(--text-muted)}.account-wrap dd{margin:0;text-align:right;max-width:65%;overflow-wrap:anywhere}
.account-setting{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:64px;padding:12px 0;border-bottom:1px solid var(--line);cursor:pointer}
.account-setting strong{display:block;font-size:15px;font-weight:500}.account-setting small{display:block;font-size:12px;color:var(--text-muted);line-height:1.7;margin-top:4px}
.account-setting input{appearance:none;width:46px;height:28px;border-radius:20px;background:var(--line);flex-shrink:0;position:relative;cursor:pointer;border:1px solid var(--text-muted)}
.account-setting input:before{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;background:var(--fate-paper-bright);border-radius:50%}
.account-setting input:checked{background:var(--fate-jade);border-color:var(--fate-jade)}.account-setting input:checked:before{left:21px}
/* The whole label row already toggles the switch; this also gives the switch itself a 44px-tall target. */
.account-setting input:after{content:'';position:absolute;inset:-8px 0}
.account-save{display:flex;align-items:center;gap:12px;margin-top:20px}.account-save .btn{flex:1}
.account-wrap details{border-bottom:1px solid var(--line);padding:8px 0}.account-wrap summary{min-height:44px;cursor:pointer;font-size:15px;line-height:1.8}
.account-wrap a:not(.btn){color:var(--fate-jade)}
.product-facts{margin-top:28px}.product-facts h2{font-family:var(--font-display);font-size:20px;color:var(--text-strong)}
.product-facts dl{margin:0}.product-facts dl>div{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.7}
.product-facts dt{color:var(--text-muted)}.product-facts dd{margin:0;color:var(--text-body)}
.product-facts details{border-bottom:1px solid var(--line);padding:8px 0}.product-facts summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:15px;color:var(--text-strong)}
.product-facts p{font-size:14px;line-height:1.8;color:var(--text-body)}.product-facts a{color:var(--fate-jade)}
/* 收到的實體禮物：收件地址表單（2026-09-29） */
.account-address{display:grid;gap:8px;margin:16px 0}
.account-address label{font-size:13px;color:var(--text-muted)}
.account-address .btn{margin-top:8px}
