.profile-gift-dialog{width:min(620px,calc(100vw - 32px));max-height:88vh;max-height:88dvh;box-sizing:border-box;overflow:hidden;padding:0;border:1px solid #c9a85c77;border-radius:18px;background:#121827;color:#e8e4d8;box-shadow:0 24px 80px #0009;font-family:inherit}
.profile-gift-dialog[open]{display:flex;flex-direction:column}
.profile-gift-dialog>div{min-height:0;overflow:auto;padding:0 28px 28px;overscroll-behavior:contain}
.profile-gift-dialog::backdrop{background:#080c18c9;backdrop-filter:blur(5px)}
.profile-gift-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0;padding:20px 28px;flex:none;border-bottom:1px solid #c9a85c22}
.profile-gift-dialog h2{font-family:var(--serif,"Songti SC",serif);font-size:26px;font-weight:500;color:#d8bf80;line-height:1.5;margin:0}
.profile-gift-dialog .gift-close{flex:none;background:transparent;border:0;color:#c4c6cc;width:40px;height:40px;font-size:27px;cursor:pointer}
.profile-gift-dialog .gift-lead{font-size:17px;line-height:1.8;margin:16px 0}
.profile-gift-dialog .gift-price{color:#d8bf80;font-size:20px;margin:22px 0}
.profile-gift-dialog .gift-note{font-size:13px;color:#aab0bd;line-height:1.85;overflow-wrap:anywhere}
.profile-gift-dialog .gift-note:empty{display:none}
.profile-gift-dialog .gift-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:46px;padding:10px 18px;margin:10px 10px 0 0;border:1px solid #c9a85c77;border-radius:24px;color:#d8bf80;background:transparent;font:inherit;font-size:14px;line-height:1.6;text-decoration:none;cursor:pointer}
.profile-gift-dialog .gift-button.primary{background:#c9a85c;color:#171b25;border-color:#c9a85c}
.profile-gift-dialog button:disabled{opacity:.55;cursor:wait}
.profile-gift-dialog .gift-field{display:block;margin:18px 0;font-size:14px;line-height:1.8}
.profile-gift-dialog .gift-field>input,.profile-gift-dialog select,.profile-gift-dialog textarea{display:block;width:100%;box-sizing:border-box;padding:12px;margin-top:6px;min-height:48px;border:1px solid #c9a85c55;border-radius:8px;background:#1a2233;color:#e8e4d8;font:inherit;font-size:16px}
.profile-gift-dialog .gift-field .zx-location-picker{display:block;margin-top:6px}
.profile-gift-dialog .gift-field .zx-location-picker input{width:100%;min-height:48px;box-sizing:border-box;background:#1a2233;color:#e8e4d8;border:1px solid #c9a85c55;border-radius:8px;padding:12px;font:inherit;font-size:16px}
.profile-gift-dialog textarea{min-height:112px;overflow-wrap:anywhere;resize:vertical}
.profile-gift-dialog .gift-check{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:14px;line-height:1.8}
.profile-gift-dialog .gift-check input{flex:none;width:20px;height:20px;margin:3px 0 0;accent-color:#c9a85c}
.profile-gift-dialog details{border-top:1px solid #c9a85c33;margin:22px 0 12px;padding-top:8px}
.profile-gift-dialog summary{font-size:14px;color:#d8bf80;line-height:1.8;min-height:42px;padding:8px 0;box-sizing:border-box;cursor:pointer}
.profile-gift-dialog .gift-policy-links{display:flex;flex-wrap:wrap;gap:12px;font-size:12px}
.profile-gift-dialog .gift-policy-links a{color:#bfc3cb;text-underline-offset:3px}
.profile-gift-dialog .gift-confirm{padding:15px;margin-top:16px;border:1px solid #c9a85c55;border-radius:10px;font-size:14px}
.profile-gift-dialog .gift-record{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #c9a85c33}
.profile-gift-dialog .gift-record>div{min-width:0;overflow-wrap:anywhere}.profile-gift-dialog .gift-record-title{margin:0;font-size:15px;line-height:1.8}.profile-gift-dialog .gift-record .gift-note{margin:4px 0 0}.profile-gift-dialog .gift-record .gift-button{flex:none;margin:0}
.profile-gift-dialog :focus-visible{outline:2px solid #efd695;outline-offset:3px}
.profile-gift-dialog [hidden]{display:none!important}
@media(max-width:480px){.profile-gift-dialog>div{padding:0 18px 22px}.profile-gift-dialog header{padding:16px 18px}.profile-gift-dialog .gift-field{margin:14px 0}.profile-gift-dialog h2{font-size:23px}.profile-gift-dialog .gift-button.primary{display:flex;width:100%;margin-right:0}}
