*{box-sizing:border-box}body{color:#251b14;background:#f2eee8;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.stage{justify-content:center;min-height:100vh;padding:22px;display:flex}.phone{background:#fffaf3;border-radius:34px;width:390px;min-height:840px;position:relative;overflow:hidden;box-shadow:0 24px 80px #40261438}.statusbar{opacity:.75;justify-content:space-between;margin-bottom:18px;font-size:13px;display:flex}.hero{background:linear-gradient(145deg,#ffe8c7,#fff7ec 50%,#ffdce2);padding:18px 18px 24px}.badge{color:#8c4c20;background:#ffffffb8;border-radius:999px;align-items:center;gap:6px;padding:7px 11px;font-size:12px;display:inline-flex}.badge.dark{color:#9a5a1d;background:#fff1dc}.hero h1{letter-spacing:-.8px;margin:14px 0 10px;font-size:31px;line-height:1.12}.hero p{color:#755f50;margin:0 0 16px;font-size:14px;line-height:1.55}.search{background:#fff;border-radius:16px;align-items:center;gap:8px;height:43px;padding:0 13px;display:flex;box-shadow:0 8px 20px #77481f14}.search input{background:0 0;border:0;outline:0;flex:1}.content{padding:18px 16px 90px}.section-title{justify-content:space-between;align-items:end;margin-bottom:12px;display:flex}.section-title b{font-size:19px}.section-title span{color:#927d6e;font-size:12px}.tabs{gap:8px;padding-bottom:14px;display:flex;overflow:auto}.tabs button{white-space:nowrap;color:#715b4a;background:#f1e8dc;border:0;border-radius:999px;padding:8px 13px}.tabs button.active{color:#fff;background:#2a2019}.grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 8px 24px #3c241314}.cover{background:#eee;height:142px;position:relative}.cover img{object-fit:cover;width:100%;height:100%}.cover span{background:#ffffffe0;border-radius:999px;padding:5px 8px;font-size:10px;position:absolute;top:8px;left:8px}.card-body{padding:10px}.card h3{margin:0 0 5px;font-size:15px}.card p{color:#7d6a5b;height:36px;margin:0 0 9px;font-size:12px;line-height:1.5;overflow:hidden}.card button{color:#a45a16;background:#fff0de;border:0;border-radius:10px;width:100%;padding:8px 10px;font-weight:700}.top{z-index:3;background:#fffaf3;border-bottom:1px solid #f1e5d7;justify-content:space-between;align-items:center;height:58px;padding:0 12px;display:flex;position:sticky;top:0}.top button{background:0 0;border:0}.top span{width:34px}.gallery{grid-template-columns:1fr 1fr;gap:10px;display:grid}.gallery img{object-fit:cover;border-radius:18px;width:100%;height:150px}.gallery img.big{grid-column:span 2;height:260px}.panel{background:#fff;border-radius:22px;margin-top:14px;padding:16px;box-shadow:0 8px 24px #3c24130f}.panel h2,.panel h3{margin:8px 0}.panel p{color:#776456;line-height:1.6}.tip{background:#fff7ed;border-radius:14px;margin-top:8px;padding:11px;font-size:13px}.tip.muted{background:#f5f0ea}.bottom{background:linear-gradient(#0000,#fffaf3 28%);padding:14px 16px 22px;position:absolute;bottom:0;left:0;right:0}.primary{color:#fff;background:#201914;border:0;border-radius:17px;height:50px;font-size:16px;font-weight:800;box-shadow:0 12px 30px #20191433}.wide{width:100%}.primary:disabled{box-shadow:none;background:#c9bdb2}.upload{color:#8b6b55;text-align:center;background:#fff6ea;border:2px dashed #d8c8b7;border-radius:26px;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:300px;display:flex;overflow:hidden}.upload img{object-fit:cover;width:100%;height:100%}.field{color:#7b6655;margin-top:12px;font-size:13px;display:block}.field input{background:#fffaf5;border:1px solid #eadccc;border-radius:13px;width:100%;height:42px;margin-top:6px;padding:0 12px}.result-img{background:#eee;border-radius:26px;position:relative;overflow:hidden}.result-img img{width:100%;display:block}.shine{background:#ffffffe0;border-radius:999px;padding:7px 11px;font-size:12px;position:absolute;top:12px;right:12px}.center{text-align:center}.actions{grid-template-columns:1fr 1fr 1fr;gap:10px;margin:14px 0;display:grid}.actions button,.ghost{color:#3b2d23;background:#fff;border:0;border-radius:14px;justify-content:center;align-items:center;gap:6px;height:44px;font-weight:700;display:flex}.ghost{background:#f0e7dc}@media (width<=430px){.stage{padding:0}.phone{border-radius:0;width:100%;min-height:100vh}}.quota{color:#8b4f18;background:#ffffffb3;border:1px solid #ffffffbf;border-radius:14px;margin-top:12px;padding:10px 12px;font-size:12px;font-weight:700}.quota.light{color:#9a5a1d;background:#fff6e8;border-color:#f0dfc8}.api-state{border-radius:14px;margin:10px 0 12px;padding:10px 12px;font-size:12px;font-weight:800;line-height:1.45}.api-state.real{color:#24713b;background:#eaf8ef}.api-state.mock{color:#9a5a1d;background:#fff3d7}.upload{cursor:pointer}.upload input{display:none}.error{color:#b33434;background:#fff1f1;border-radius:14px;align-items:center;gap:7px;margin:12px 0;padding:11px 12px;font-size:13px;font-weight:700;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.primary{justify-content:center;align-items:center;gap:8px;display:flex}.actions a{color:#3b2d23;background:#fff;border:0;border-radius:14px;justify-content:center;align-items:center;gap:6px;height:44px;font-weight:700;text-decoration:none;display:flex}.result-img img{object-fit:contain;background:#fff;max-height:560px}.generating-card{background:linear-gradient(135deg,#fffaf3,#fff0e7);border-color:#ffd8c2}.gen-head{align-items:center;gap:8px;display:flex}.gen-head b{flex:1}.gen-head span{color:#9a5a1d;font-weight:900}.gen-bar{background:#f2ded0;border-radius:999px;height:10px;margin:12px 0;overflow:hidden}.gen-bar i{background:linear-gradient(90deg,#ff6f7d,#ffb36b);border-radius:999px;height:100%;transition:width .45s;display:block}.generating-card p{color:#6f574b;margin:0 0 8px}.generating-card small{color:#9a8174;line-height:1.5}.gen-head .spin{color:#ff6f7d}.share-box{background:#ffffffb8;border:1px solid #ffb78073;border-radius:18px;margin:12px 0;padding:12px}.share-box>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.share-box b{font-size:13px}.share-box span{color:#8b6b55;font-size:12px}.share-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;display:grid}.share-actions button{color:#9a5a1d;background:#fff1dc;border:0;border-radius:13px;justify-content:center;align-items:center;gap:5px;height:38px;font-weight:900;display:flex}.share-box p{color:#23743d;margin:9px 0 0;font-size:12px;font-weight:800;line-height:1.45}@media (width<=430px){.share-actions{grid-template-columns:1fr}.share-box>div:first-child{display:block}}
