.gift-page { display:grid; grid-template-columns:minmax(0,1fr); gap:22px; }.gift-page>section { min-width:0; }
.gift-hero { padding:28px; border-radius:20px; background:linear-gradient(125deg,#eef0ff,#fff2f5); display:flex; justify-content:space-between; align-items:center; gap:20px; }
.gift-hero h2 { margin:8px 0; font-size:27px; } .gift-hero p { color:#667085; line-height:1.7; }
.gift-section,.vip-panel { padding:24px; background:white; border:1px solid #e6e9f0; border-radius:16px; }
.vip-panel { display:grid; gap:12px; background:linear-gradient(115deg,#fffaf0,#fff); }
.vip-badge { display:inline-flex; color:#935c12; background:#fcebc9; padding:5px 12px; border-radius:20px; font-weight:700; font-size:13px; }
.vip-panel h3 { margin:10px 0 6px; }.vip-panel p,.vip-panel>small { color:#697386; margin:0; line-height:1.7; }
.vip-levels { display:flex; gap:8px; }.vip-levels span { flex:1; padding:12px; background:#f4f5f8; border-radius:9px; text-align:center; color:#8992a1; font-weight:700; }
.vip-levels small { display:block; font-weight:400; margin-top:5px; }.vip-levels .achieved { color:#875213; background:#f8e4b9; }
.gift-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }.gift-summary article { padding:20px; border:1px solid #e6e9f0; border-radius:14px; background:white; display:grid; gap:12px; }.gift-summary span { color:#697386; font-size:13px; }.gift-summary strong { font-size:23px; }
.gift-grid,.gift-choice { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.gift-card,.gift-choice label { border:1px solid #e4e7ee; border-radius:15px; padding:20px; background:#fbfcff; display:grid; justify-items:center; gap:9px; cursor:pointer; }.gift-card:hover,.gift-choice label:has(input:checked) { border-color:#7c72de; background:#f1efff; }.gift-card>span,.gift-choice span { font-size:40px; }.gift-card small,.gift-choice small { color:#6d6198; }.gift-choice { margin-top:20px; }.gift-choice label { position:relative; padding:12px; }.gift-choice input { position:absolute; top:8px; left:8px; width:auto; }.gift-choice span { font-size:30px; }
.gift-total,.gift-recipient { color:#5c50a3; font-weight:600; line-height:1.7; }.gift-config-levels { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }.gift-section td input { max-width:100%; padding:9px; border:1px solid #d7dce5; border-radius:6px; }.gift-section td input[type=checkbox] { width:18px; height:18px; }
.account-header-actions .gift-header-link { color:#6453a3; font-size:13px; white-space:nowrap; }.dh-gift-button { background:none; border:none; color:#aca2ef; cursor:pointer; margin-left:auto; padding:4px; }
.gift-section .table-wrap { overflow-x:auto; }.gift-section table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }.gift-section th,.gift-section td { padding:14px 12px; border-bottom:1px solid #e6e9f0; vertical-align:top; }.gift-section th { color:#697386; font-weight:500; white-space:nowrap; }.gift-section td small { display:block; color:#697386; margin-top:6px; }.gift-section td { min-width:110px; overflow-wrap:anywhere; }.gift-section h3 { margin-top:0; }
.vip-badge { white-space:nowrap; }.pro-card-actions { flex-wrap:wrap; }
.public-gift-page { margin: 0; }
.public-gift-page .gift-hero { box-shadow: 0 8px 24px rgba(43, 62, 99, .06); }
.public-gift-page .gift-section, .public-gift-page .vip-panel { box-shadow: 0 5px 18px rgba(43, 62, 99, .035); }
.public-home .public-nav .gift-header-link { display: flex; }
.gift-report-filters { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; }
.gift-report-filters label { display:grid; gap:8px; color:#6d7f95; font-size:12px; flex:1 1 150px; min-width:0; }
.gift-report-filters input,.gift-report-filters select { width:100%; min-width:0; height:34px; border:1px solid #d8deea; border-radius:4px; padding:0 9px; background:#fff; color:#33445b; font:inherit; font-size:12px; }
.gift-report-actions { display:flex; flex-wrap:wrap; gap:8px; }
.gift-report-ranks { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.gift-report-rank { min-width:0; border:1px solid #e9eef7; border-radius:10px; padding:16px 12px; }
.gift-report-rank h3 { margin:0; color:#29425c; font-size:15px; font-weight:500; }
.gift-report-rank .owner-standard-table { margin-top:14px; }
.gift-report-rank table { min-width:0; table-layout:fixed; white-space:normal; }
.gift-report-rank th:first-child { width:15%; }.gift-report-rank th:nth-child(2) { width:33%; }.gift-report-rank th:nth-child(3) { width:20%; }.gift-report-rank th:last-child { width:32%; }
.gift-report-rank td { overflow-wrap:anywhere; }
.gift-report-rank td small { max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.gift-report-place { display:inline-grid; place-items:center; width:24px; height:24px; border-radius:7px; background:#f1f5fa; color:#7b8b9f; }
.gift-report-place.top { background:#fff0d9; color:#a96d20; font-weight:700; }
.gift-report-empty { text-align:center!important; color:#94a0af; padding:36px 12px!important; }
.gift-report-ledger table { min-width:1100px; }
.gift-report-ledger td:last-child { white-space:normal; min-width:130px; max-width:220px; overflow-wrap:anywhere; }
@media(max-width:1200px) { .gift-report-ranks { grid-template-columns:1fr; } }
@media(max-width:700px) { .gift-report-filters label { flex-basis:100%; }.gift-report-actions { width:100%; }.gift-report .owner-section-head h2 { white-space:normal; }.gift-report .gift-summary article { padding:14px 10px; }.gift-report .gift-summary strong { font-size:18px; }.gift-report-rank { padding:14px 10px; }.gift-report-rank td,.gift-report-rank th { padding:10px 5px; font-size:10px; }.gift-report-rank td small { font-size:9px; }.gift-report-place { width:20px; height:20px; } }
@media(max-width:760px) { .gift-hero { flex-direction:column; align-items:flex-start; padding:20px; }.gift-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }.gift-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.gift-section,.vip-panel { padding:16px; }.vip-levels { flex-wrap:wrap; }.vip-levels span { min-width:70px; }.gift-config-levels { grid-template-columns:repeat(2,minmax(0,1fr)); }.gift-header-link { display:none; } }
@media(max-width:760px) { .account-header-actions .gift-header-link { display:inline-flex; padding:4px; }.account-page .account-header-actions { flex-wrap:wrap; }.account-page .account-header-message { display:none; }.account-page .account-header-inner { flex-wrap:wrap; }.gift-summary strong { font-size:20px; }.gift-choice { grid-template-columns:repeat(2,minmax(0,1fr)); } }
