/* 福瑞风暴 v7.0.7 · 收货地址 M3 */
.address-banner{background:radial-gradient(circle at 92% 5%,#cfe2ff 0,transparent 35%),linear-gradient(111deg,#fff0d6,#ffefdf 58%,#e9f7ef)}
.address-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,.72fr);align-items:start;gap:20px;margin-top:23px}
.address-page .account-card-head h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.address-count{display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:#95703f;background:#fff0d8;min-width:25px;height:25px;border-radius:99px;padding:0 7px}
.address-panel-title{margin-bottom:15px}.address-icon-button,.address-close{border:0;display:grid;place-items:center;background:#fff4e8;color:#a16a43;width:42px;height:42px;border-radius:14px;flex-shrink:0;cursor:pointer}
.address-icon-button:hover,.address-close:hover{background:#ffe3cf}.address-icon-button:disabled{opacity:.45;cursor:wait}
.address-list{display:grid;gap:13px}.address-item{background:linear-gradient(120deg,#fffefc,#fff9f4);border:1px solid #f1e5da;border-radius:23px;padding:19px;min-width:0;box-shadow:0 3px 14px #68483309}
.address-item.is-default{border-color:#efc18d;background:linear-gradient(120deg,#fff6e9,#fffdf8 76%)}
.address-item-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.address-item-top strong{color:#2e3b52;font-size:16px;font-weight:800;max-width:100%;overflow-wrap:anywhere}.address-phone{font-size:13px;color:#70677d;overflow-wrap:anywhere}.address-default-badge{color:#915728;background:#ffe4c4;font-size:11px;padding:5px 9px;border-radius:100px;font-weight:800}.address-item-loc{display:flex;align-items:flex-start;gap:7px;color:#5f6173;font-size:14px;line-height:1.75;margin:12px 0 16px;overflow-wrap:anywhere}.address-item-loc .m-icon{color:#c78253;flex-shrink:0;width:18px;height:18px;margin-top:3px}
.address-item-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #f4e9dd;padding-top:13px}.address-action{border:0;border-radius:99px;display:inline-flex;align-items:center;gap:5px;padding:8px 12px;color:#78577b;background:#f5eef7;font-size:12px;font-weight:750;cursor:pointer;line-height:1.3}.address-action .m-icon{width:16px;height:16px}.address-action:hover{background:#eee0f2}.address-action.is-danger{color:#a14f55;background:#fff0ef}.address-action.is-danger:hover{background:#ffdedc}.address-action.is-default{color:#437057;background:#e6f6eb}.address-action:disabled{opacity:.5;cursor:wait}
.address-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:19px}.address-empty{padding:45px 16px;text-align:center;display:grid;justify-items:center;background:#fffcf8;border:1px dashed #edcfb6;border-radius:23px}.address-empty-icon{display:grid;place-items:center;width:67px;height:67px;border-radius:24px;color:#b17a50;background:#fff0de}.address-empty-icon .m-icon{width:32px;height:32px}.address-empty h3{font-size:18px;color:#353d57;margin:17px 0 7px}.address-empty p{font-size:13px;line-height:1.75;color:#827684;margin:0;max-width:330px}.address-page .account-feedback:empty{display:none}
.address-dialog{width:min(620px,calc(100% - 24px));max-height:min(88dvh,850px);padding:0;margin:auto;border:1px solid #f1d9c8;border-radius:29px;background:#fffdfb;box-shadow:0 27px 90px rgba(44,31,62,.28);color:#34415e;overflow:auto;overscroll-behavior:contain}.address-dialog::backdrop{background:rgba(35,34,57,.47);backdrop-filter:blur(5px)}.address-dialog-content{padding:27px;display:grid;gap:18px}.address-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.address-dialog-head h2{font-size:25px;color:#2d3853;margin:12px 0 0}.address-close .m-icon{transform:rotate(45deg)}.address-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.address-page .account-field{gap:8px}.address-page .account-field b,.address-region b{color:#cb5b5d}.address-page .account-input-wrap{min-height:48px;border-radius:15px}.address-page .account-input-wrap input{font-size:14px}
.address-region{margin:0;min-width:0;border:1px solid #f2e2d6;border-radius:19px;padding:15px;background:#fff9f3}.address-region legend{font-size:14px;font-weight:750;color:#42445b;padding:0 7px}.address-region-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.address-region-grid label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#65637b;min-width:0}.address-region-grid select{width:100%;min-width:0;height:46px;border:1.5px solid #e6d6d2;border-radius:13px;background:white;color:#3a4255;font:inherit;font-size:13px;padding:0 7px;outline:0}.address-region-grid select:focus{border-color:var(--primary,#e98b53);box-shadow:0 0 0 3px #f6ccab55}.address-region-grid select:disabled{color:#a7a3a7;background:#f7f3f2}.address-region small{display:block;margin-top:8px;font-size:11px;color:#968291;line-height:1.6}.address-textarea-wrap{padding:12px 14px}.address-textarea-wrap textarea{width:100%;font:inherit;font-size:14px;color:#2c3650;background:none;border:0;resize:vertical;outline:0;min-height:76px;max-height:220px}
.address-default-check{display:flex;gap:12px;align-items:center;position:relative;padding:14px;border-radius:17px;background:#f4f8ee;cursor:pointer}.address-default-check input{position:absolute;opacity:0;width:1px;height:1px}.address-checkbox-mark{width:22px;height:22px;display:grid;place-items:center;border:2px solid #9aaba1;border-radius:7px;background:white;flex-shrink:0;color:transparent}.address-checkbox-mark .m-icon{width:16px;height:16px}.address-default-check input:checked+.address-checkbox-mark{background:#56836a;border-color:#56836a;color:white}.address-default-check input:focus-visible+.address-checkbox-mark{outline:3px solid #edb88b;outline-offset:3px}.address-default-check>span:last-child{display:grid;gap:2px}.address-default-check strong{font-size:13px;color:#3c5c4d}.address-default-check small{font-size:11px;color:#788c7f}.address-dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #f3e8df;padding-top:16px}.address-form-feedback{font-size:13px;color:#98514d;background:#ffeded;padding:11px 14px;border-radius:14px}.address-form-feedback[hidden],.address-dialog:not([open]),.address-controls[hidden]{display:none!important}
.address-page button:focus-visible,.address-page select:focus-visible,.address-dialog button:focus-visible{outline:3px solid #e89a65;outline-offset:3px}
@media(max-width:850px){.address-layout{grid-template-columns:1fr}.address-page .account-side{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.address-layout{gap:14px;margin-top:14px}.address-page .account-side{grid-template-columns:1fr}.address-panel{padding:18px}.address-dialog{border-radius:24px 24px 0 0;width:100%;max-height:91dvh;margin:auto 0 0 0}.address-dialog-content{padding:23px 18px calc(22px + env(safe-area-inset-bottom))}.address-region-grid{gap:6px}.address-region{padding:12px 9px}.address-region-grid select{font-size:12px;padding:0 4px}.address-item{padding:16px}.address-item-actions{gap:6px}.address-action{font-size:11px;padding:8px 9px}}
@media(max-width:375px){.address-fields{grid-template-columns:1fr}.address-dialog-head h2{font-size:22px}.address-controls .account-button{font-size:12px}.address-region-grid label{font-size:11px}}
@media(prefers-reduced-motion:reduce){.address-dialog::backdrop{backdrop-filter:none}}
/* 让原生 hidden 生效，避免按钮的 display:inline-flex 覆盖隐藏状态。 */
.address-page [hidden],.address-dialog [hidden]{display:none!important}
/* 素材带有白底，和首屏彩色渐变更自然地融合。 */
.address-banner .account-banner-mascot{mix-blend-mode:multiply;mask-image:radial-gradient(ellipse closest-side,#000 72%,transparent 100%)}
