:root{--primary-blue: #29aeea;--text-main: #11131a;--text-muted: #5f6674;--card-bg: #ffffff;--page-bg: #ffffff;--radius-lg: 24px;--radius-md: 16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;color:var(--text-main);background:var(--page-bg);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}button,input{font:inherit;letter-spacing:0}button{cursor:pointer}body{background:var(--page-bg);color:var(--text-main);padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}body[data-theme=dark]{--primary-blue: #3397e8;--text-main: #f7fbff;--text-muted: #91a4ba;--card-bg: #202b36;--page-bg: #151c23}.app{width:min(100%,480px);min-height:100vh;margin:0 auto;padding:10px 14px 82px;position:relative;background:var(--page-bg)}.profile-row,.recipient-row,.option,.summary p,.setting{display:flex;align-items:center}.icon-button,.round-action{width:42px;height:42px;border:0;background:transparent;color:#666a73;display:grid;place-items:center}.profile-row{gap:10px;margin:0 0 13px;min-height:54px}.avatar-wrap{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;position:relative;background:linear-gradient(135deg,#44d9cd,#31c8bf);border:3px solid #d8f4ff;box-shadow:0 5px 12px #0f7a8c38;color:#fff;font-size:18px;font-weight:700}.avatar-wrap img,.mini-avatar img{width:100%;height:100%;display:block;border-radius:inherit;object-fit:cover}.avatar-wrap b{position:absolute;right:-4px;bottom:0;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#52c8ff,#b14cff);border:2px solid white}.profile-name{flex:1;min-width:0}.profile-name strong{display:block;font-size:16px;line-height:1.2;font-weight:700}.profile-name small{margin-top:3px;width:fit-content;padding:2px 6px;border-radius:999px;display:flex;gap:4px;align-items:center;background:#d8eef9;color:#20a8ef;font-weight:700}.round-action{width:34px;height:34px;border-radius:50%;background:#d7f1ff;color:var(--primary-blue)}.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:3px;margin:4px 0 22px;border-radius:var(--radius-md);background:#eeeeef}.tabs button{min-width:0;min-height:36px;border:0;border-radius:14px;background:transparent;color:#6a6d75;font-weight:700;display:flex;justify-content:center;align-items:center;gap:6px;font-size:14px;white-space:nowrap}.tabs .active{background:#fff;color:#20232b;box-shadow:0 3px 10px #00000017}.tab-emoji{font-size:16px;line-height:1}.hero{min-height:105px;padding:18px 20px;border-radius:var(--radius-lg);display:flex;gap:12px;align-items:center;margin-bottom:20px}.premium-hero{background:linear-gradient(135deg,#fff0d4,#fffdfb)}.stars-hero,.gifts-hero{background:linear-gradient(135deg,#dff3ff,#fff)}.hero span{font-size:24px}.hero h1{margin:0 0 6px;font-size:20px;line-height:1.12}.hero p{margin:0;color:#626977;font-size:14px;line-height:1.36}label{display:block;color:var(--text-muted);font-weight:500;margin:18px 2px 9px;font-size:13px}.recipient-row{gap:10px;margin-bottom:18px}.recipient-row button{height:50px;border-radius:14px;border:1px solid #d9dbe0;background:#fff;color:#6a6d75;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:600}.recipient-row button:first-child{flex:1}.recipient-row .selected{background:var(--primary-blue);border-color:var(--primary-blue);color:#fff;box-shadow:0 10px 20px #2daee840}.recipient-row .gift{min-width:98px;color:#1fa8e5;border-color:#b8e4f8}.recipient-row .gift.selected{color:#fff}.mini-avatar{width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;background:#35d1c7;color:#fff;font-size:11px;font-weight:700;overflow:hidden}.search,.custom{height:44px;display:flex;align-items:center;gap:12px;border:1px solid #d9dbe0;border-radius:16px;background:#fff;padding:0 16px;color:#8f95a0}.search input,.custom input{border:0;outline:0;flex:1;min-width:0;background:transparent;font-size:14px}.option{width:100%;min-height:52px;position:relative;gap:10px;border:1px solid #dedfe4;border-radius:13px;padding:7px 14px;margin:6px 0;background:var(--card-bg);text-align:left}.option.chosen{border:2px solid #ff9900;background:linear-gradient(135deg,#fff4dc,#fff);box-shadow:0 10px 22px #ff990024}.option.chosen.blue{border-color:var(--primary-blue);background:#e8f7ff;box-shadow:none}.option strong{font-size:16px;flex:1;font-weight:600}.option b{margin-left:auto;font-size:15px;color:var(--text-main);font-weight:700}.option em{position:absolute;right:12px;top:-9px;border-radius:999px;background:#ff8200;color:#fff;padding:3px 8px;font-style:normal;font-size:9px;font-weight:700}.blue-tag{background:var(--primary-blue)!important}.star-icon{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,#46c5ff,#c54cff);color:#fff;flex:none}.premium-option{min-height:92px;padding:16px 22px;margin:9px 0;border-radius:16px;gap:18px}.premium-option .star-icon{width:38px;height:38px;border-radius:13px}.premium-option .star-icon svg{width:30px;height:30px}.premium-option strong{font-size:18px;font-weight:700}.premium-option b{font-size:20px;font-weight:700}.premium-option em{right:18px;top:-11px;background:#ff8f00;font-size:10px}.gold{color:#ffb324;filter:drop-shadow(0 1px 0 #c56a00)}.radio{width:15px;height:15px;border:2px solid #c8ccd3;border-radius:50%;flex:none}.chosen .radio{background:var(--primary-blue);border-color:var(--primary-blue)}.custom span{white-space:nowrap;color:#8b91a0}.gift-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gift-card{min-height:214px;border:2px solid transparent;border-radius:20px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px 10px 18px}.gift-card.chosen{border-color:transparent}.gift-card>span{width:128px;height:128px;display:grid;place-items:center;border-radius:16px;background:#f7f7f8;font-size:74px;line-height:1}.gift-card>span img,.gift-preview img{width:100%;height:100%;display:block;object-fit:contain}.gift-card strong{display:flex;align-items:center;gap:6px;color:#ffb324;font-size:16px;font-weight:700}.gift-card b{font-size:17px;font-weight:700}.bottom-bar{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:min(100%,480px);padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(245,245,247,0),var(--page-bg) 22%)}.primary{width:100%;height:44px;border:0;border-radius:7px;background:var(--primary-blue);color:#fff;font-weight:600;font-size:14px}.back-link{width:100%;border:0;background:transparent;color:#6b7280;padding:10px}.confirm h2{font-size:24px;margin:14px 0 26px}.summary{border:1px solid #dedfe4;border-radius:20px;background:#fff;padding:30px 26px 24px;text-align:center}.summary .star-icon{margin:0 auto 20px;width:68px;height:68px;border-radius:18px}.summary h3{font-size:27px;margin:0 0 14px}.summary>span{display:inline-flex;gap:10px;align-items:center;color:#677080;font-size:18px}.summary hr{border:0;border-top:1px solid #e0e1e5;margin:24px 0}.summary p{justify-content:space-between;font-size:18px}.summary p strong{color:#20a8ef;font-size:21px}.pay-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pay{min-height:72px;border:1px solid #d9dbe0;border-radius:16px;background:#fff;font-size:25px;font-weight:900;display:grid;place-items:center}.pay:nth-child(2){color:#00a9bd}.pay:nth-child(3){color:#6c24e8}.pay.selected{border:3px solid #28aae7;background:#dff5ff}.pay:last-child{grid-column:1 / -1;font-size:18px;grid-auto-flow:column;gap:10px}.secure,.success,.error{margin-top:20px;border-radius:18px;padding:18px;text-align:center;background:#fff;border:1px solid #e2e3e7}.secure span{margin-left:12px;font-weight:900;color:#168fe5}.success{color:#0f7b42}.error{color:#a52828}.sheet{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10}.gift-send-sheet{position:fixed;top:0;right:0;bottom:0;left:0;z-index:11}.scrim{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0000005c}.sheet section{position:absolute;left:50%;bottom:0;transform:translate(-50%);width:min(100%,480px);height:min(82vh,700px);max-height:82vh;overflow:auto;padding:28px 20px calc(24px + env(safe-area-inset-bottom));background:#f7f7f9;border-radius:28px 28px 0 0}.handle{width:60px;height:6px;border-radius:999px;margin:8px auto 26px;background:#c2c4ca}.sheet h2{text-align:center;margin:0 0 28px;font-size:22px}.setting{width:100%;height:76px;gap:18px;padding:0 22px;margin-bottom:11px;border-radius:14px;border:1px solid #d9dbe0;background:#fff;text-align:left}.setting.selected{border-color:#28aae7;background:#e2f5ff}.setting>span{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#f2f3f5;color:#20232b;font-weight:500}.setting b{flex:1;font-size:17px;font-weight:700}.setting svg{color:var(--primary-blue)}.theme{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;border-radius:16px;padding:4px;background:#ececef}.theme button{border:0;min-height:48px;border-radius:13px;background:transparent;display:flex;align-items:center;justify-content:center;gap:7px;color:#6b707c;font-weight:700}.theme .active{background:#fff;color:#20a8ef}.gift-send-sheet section{position:absolute;left:50%;bottom:0;transform:translate(-50%);width:min(100%,480px);max-height:82vh;overflow:auto;padding:18px 20px calc(16px + env(safe-area-inset-bottom));background:#f7f7f9;border-radius:28px 28px 0 0}.gift-preview{width:142px;height:142px;margin:6px auto 8px;display:grid;place-items:center;font-size:104px;line-height:1}.gift-stars{display:flex;justify-content:center;align-items:center;gap:4px;color:#6d7380;font-size:14px;font-weight:600}.gift-stars svg{color:#ffb324}.gift-price{margin:8px 0 24px;text-align:center;color:var(--text-main);font-size:30px;line-height:1;font-weight:800}.gift-recipient-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gift-recipient-row button{height:68px;border-radius:16px;border:1px solid #b8e4f8;background:#fff;color:#1fa8e5;display:flex;align-items:center;justify-content:center;gap:10px;font-size:18px;font-weight:600}.gift-recipient-row .selected{background:var(--primary-blue);border-color:var(--primary-blue);color:#fff;box-shadow:0 10px 20px #2daee82e}.delivery-note{margin:10px 4px 22px;display:flex;align-items:center;gap:8px;color:#6e7480;font-size:14px}.delivery-note svg{color:var(--primary-blue);border:1px solid currentColor;border-radius:50%;padding:2px}.gift-username{height:58px;margin-top:14px;border:1px solid #d9dbe0;border-radius:16px;background:#fff;display:flex;align-items:center;gap:12px;padding:0 16px;color:#5f6674}.gift-username input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text-main);font-size:16px}.gift-username input::placeholder{color:#9da3ad}.receiver-hint{margin:10px 4px 22px;color:#5f6674;font-size:14px;line-height:1.28}.field-error{margin:-12px 4px 18px;color:#d64a4a;font-size:13px;line-height:1.25}.gift-message{min-height:116px;border:1px solid #d9dbe0;border-radius:16px;background:#fff;padding:16px 18px 28px;position:relative}.gift-message textarea{width:100%;min-height:70px;resize:none;border:0;outline:0;background:transparent;color:var(--text-main);font:inherit;font-size:16px}.gift-message textarea::placeholder{color:#a2a7b0}.gift-message span{position:absolute;right:14px;bottom:10px;color:#777d88;font-size:13px}.gift-sheet-continue{width:100%;height:48px;margin-top:14px;border:0;border-radius:10px;background:var(--primary-blue);color:#fff;font-weight:700}body[data-theme=dark] .sheet section,body[data-theme=dark] .gift-send-sheet section{background:radial-gradient(circle at 12% 14%,rgba(51,151,232,.08),transparent 24%),radial-gradient(circle at 92% 28%,rgba(69,196,255,.06),transparent 22%),var(--page-bg)}body[data-theme=dark] .app{background:var(--page-bg)}body[data-theme=dark] .tabs,body[data-theme=dark] .theme{background:#1c2630}body[data-theme=dark] .tabs .active,body[data-theme=dark] .setting,body[data-theme=dark] .theme .active,body[data-theme=dark] .recipient-row button,body[data-theme=dark] .gift-recipient-row button,body[data-theme=dark] .gift-username,body[data-theme=dark] .gift-message,body[data-theme=dark] .option,body[data-theme=dark] .gift-card,body[data-theme=dark] .summary,body[data-theme=dark] .pay,body[data-theme=dark] .secure,body[data-theme=dark] .success,body[data-theme=dark] .error{background:var(--card-bg);color:var(--text-main);border-color:#304052}body[data-theme=dark] .setting.selected,body[data-theme=dark] .option.chosen.blue{background:#223242;border-color:var(--primary-blue);box-shadow:0 0 0 1px #3397e82e}body[data-theme=dark] .setting>span,body[data-theme=dark] .gift-card>span{background:#18222c;color:var(--text-main)}body[data-theme=dark] .hero,body[data-theme=dark] .stars-hero,body[data-theme=dark] .gifts-hero{background:linear-gradient(135deg,#1d2f3d,#202b36 74%)}body[data-theme=dark] .premium-hero{background:linear-gradient(135deg,#2e2b22,#202b36 72%)}body[data-theme=dark] .bottom-bar{background:linear-gradient(180deg,rgba(21,28,35,0),var(--page-bg) 28%)}body[data-theme=dark] .primary{background:#2f96df;color:#e9f5ff}body[data-theme=dark] .tabs button,body[data-theme=dark] .theme button,body[data-theme=dark] label,body[data-theme=dark] .hero p,body[data-theme=dark] .receiver-hint,body[data-theme=dark] .custom span,body[data-theme=dark] .search,body[data-theme=dark] .custom{color:var(--text-muted)}body[data-theme=dark] .hero h1,body[data-theme=dark] .profile-name strong,body[data-theme=dark] .option strong,body[data-theme=dark] .option b,body[data-theme=dark] .gift-card b,body[data-theme=dark] .sheet h2,body[data-theme=dark] .setting b{color:var(--text-main)}body[data-theme=dark] .round-action,body[data-theme=dark] .profile-name small{background:#203544;color:#48b7ff}body[data-theme=dark] .recipient-row .selected,body[data-theme=dark] .gift-recipient-row .selected{background:#2f96df;border-color:#2f96df;color:#f7fbff}body[data-theme=dark] .recipient-row .gift,body[data-theme=dark] .gift-recipient-row .gift-other{color:#48b7ff;border-color:#334b5e}body[data-theme=dark] .option.chosen{background:#2d2a20;border-color:#ffa31a}body[data-theme=dark] .option.chosen b,body[data-theme=dark] .option.chosen strong,body[data-theme=dark] .option.chosen.blue b,body[data-theme=dark] .option.chosen.blue strong{color:var(--text-main)}@media(max-width:380px){.tabs button{font-size:13px;gap:4px}.hero{padding:18px}.hero h1{font-size:19px}.hero p{font-size:14px}.option{padding:7px 12px;gap:9px}.option strong,.option b{font-size:15px}.recipient-row button{font-size:14px}}
