:root{--page: #f7dfbf;--cream: rgba(255, 250, 243, .84);--cream-strong: rgba(255, 253, 248, .95);--line: rgba(194, 117, 68, .38);--line-strong: rgba(199, 122, 53, .72);--text: #35261c;--muted: rgba(53, 38, 28, .68);--gold: #c97a35;--charcoal: #2d2a26}*{box-sizing:border-box}html{min-height:100%}body{min-height:100vh;margin:0;color:var(--text);background-color:#ead1b4;background-image:url(/assets/magic-bg.png);background-position:top center;background-size:auto 100vh;background-repeat:no-repeat;background-attachment:fixed;font-family:Manrope,Segoe UI,Arial,sans-serif}button,input,textarea{font:inherit}button{border:0}img{display:block;max-width:100%}.app-shell{position:relative;width:min(100%,430px);min-height:100vh;margin:0 auto;overflow:hidden;background-color:var(--page);background-image:linear-gradient(180deg,#fffdf847,#fff6eb1a),url(/assets/magic-bg.png);background-position:top center;background-size:100% auto;background-repeat:repeat-y;box-shadow:inset 0 0 0 1px #ffffff85,0 0 54px #5b382133}.app-bar{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:42px 1fr 42px;gap:10px;align-items:center;padding:12px 16px 10px;background:#fff8eed6;box-shadow:inset 0 -1px #c275442e,0 12px 30px #7748231a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.app-back,.profile-dot{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;color:var(--text);background:var(--cream);font-size:18px;font-weight:800;cursor:pointer}.app-bar div{min-width:0;text-align:center}.app-bar span{display:block;color:#8d4d2d;font-size:10px;font-weight:800;letter-spacing:.24em;text-transform:uppercase}.app-bar strong{display:block;overflow:hidden;margin-top:2px;color:var(--text);font-size:14px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.screen{display:block;position:relative;min-height:calc(100vh - 65px);padding:24px 18px 112px}.screen:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(circle at 11% 18%,rgba(255,255,255,.5) 0 2px,transparent 3px),radial-gradient(circle at 89% 32%,rgba(201,122,53,.08) 0 42px,transparent 92px),radial-gradient(circle at 18% 80%,rgba(255,249,236,.3) 0 34px,transparent 82px);background-size:100% 280px}.screen>*{position:relative;z-index:1}.auth-screen,.center-screen{min-height:100vh;padding-top:44px}.center-screen{display:flex;align-items:center;justify-content:center}.soft-kicker,.compact-head span,.certificate-preview span,.certificate-result span,.profile-head span,.checkout-card span,.price-card span,.example-card span,.avatar-card span,.status{display:inline-flex;width:fit-content;margin-bottom:10px;padding:7px 10px;border:1px solid rgba(188,112,61,.24);border-radius:999px;color:#704022;background:#fff6ebc7;font-size:11px;font-weight:800;line-height:1}.auth-hero,.public-hero{text-align:center}.auth-hero .soft-kicker,.public-hero .soft-kicker,.compact-head span{display:flex;margin-inline:auto;letter-spacing:.2em;text-transform:uppercase}.auth-hero h1,.public-hero h1,.compact-head h1{margin:0;color:#332820;font-family:Cormorant Garamond,Georgia,serif;font-weight:600;letter-spacing:-.045em;text-align:center;text-shadow:0 1px 0 rgba(255,255,255,.52),0 16px 30px rgba(116,73,42,.16)}.auth-hero h1,.public-hero h1{font-size:clamp(48px,15vw,68px);line-height:.93}.compact-head h1{font-size:clamp(38px,11vw,52px);line-height:.95}.auth-hero p,.public-hero p,.compact-head p{max-width:350px;margin:14px auto 0;color:var(--muted);font-size:15px;font-weight:500;line-height:1.5;text-align:center}.compact-head{margin-bottom:22px}.public-hero.auth-copy h1{font-size:clamp(42px,13vw,58px)}.public-hero.auth-copy p{max-width:320px}.panel,.upload-card,.field,.chip,.story-card,.avatar-card,.price-card,.order-item,.example-card,.profile-list button,.loader-card,.auth-social button,.trust-note{border:1px solid var(--line);background:linear-gradient(145deg,#fffcf7e0,#ffeed8a3);box-shadow:inset 0 1px #fffc,0 10px 18px #7748231a,0 26px 48px #77482321}.auth-form,.create-form,.avatar-list,.orders-list,.example-list,.profile-list{display:grid;gap:14px}.auth-form{margin-top:16px;padding:16px;border-radius:28px}.auth-social{display:grid;gap:10px;margin-top:14px}.auth-social button{min-height:54px;border-radius:18px;color:var(--text);font-weight:800;cursor:pointer}.landing-actions{display:grid;gap:12px;margin-top:26px}.landing-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:28px -10px 18px;padding:0 2px}.landing-preview article{position:relative;min-height:190px;overflow:hidden;border:1px solid rgba(199,122,53,.56);border-radius:24px;background:#fffaf3cc;box-shadow:0 18px 36px #7748232e}.landing-preview article:nth-child(2){transform:translateY(-10px)}.landing-preview img{width:100%;height:100%;min-height:190px;object-fit:cover}.landing-preview span{position:absolute;top:10px;left:8px;right:8px;padding:7px 8px;border-radius:999px;color:var(--text);background:#fff8eee0;box-shadow:0 8px 18px #38241824;font-size:11px;font-weight:800;text-align:center}.landing-feature-list{display:grid;gap:0;margin-top:18px;padding:6px 18px;border-radius:28px}.landing-feature-list div{display:grid;gap:4px;padding:15px 0}.landing-feature-list div+div{border-top:1px solid rgba(194,117,68,.22)}.landing-feature-list strong{color:var(--text);font-size:15px;font-weight:900}.landing-feature-list span{color:var(--muted);font-size:13px;line-height:1.4}.secondary-link{display:flex;justify-content:center;width:100%;margin-top:18px;color:#8d4d2d;background:transparent;font-size:15px;font-weight:900;cursor:pointer}.auth-switch{display:flex;justify-content:center;gap:10px;margin-top:16px;flex-wrap:wrap}.auth-switch button{min-height:40px;padding:0 13px;border:1px solid rgba(194,117,68,.22);border-radius:999px;color:#704022;background:#fff6ebb3;font-size:13px;font-weight:900;cursor:pointer}.password-wrap{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.password-wrap input{min-width:0}.password-wrap button{min-height:42px;padding:0 12px;border:1px solid rgba(112,70,44,.18);border-radius:14px;color:#704022;background:#fff6ebc7;font-size:12px;font-weight:900;cursor:pointer}.code-input{font-size:24px;font-weight:900;letter-spacing:.22em;text-align:center}.field{display:block;padding:12px;border-radius:24px}label span,.form-block h2{display:block;margin:0 0 8px;color:var(--text);font-size:14px;font-weight:800}input,textarea{width:100%;border:1px solid rgba(112,70,44,.2);border-radius:18px;outline:none;color:var(--text);background:#fffcf7b8}input{min-height:52px;padding:0 16px}textarea{min-height:108px;padding:14px 16px;resize:vertical}.primary-btn,.ghost-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:58px;padding:0 18px;border-radius:18px;font-size:16px;font-weight:800;line-height:1;text-align:center;text-decoration:none;cursor:pointer}.primary-btn{border:1.5px solid rgba(198,111,55,.78);color:#2a1b12;background:linear-gradient(180deg,#fffefaf0,#ffeccfb8),#fff7edc7;box-shadow:inset 0 1px #ffffffeb,inset 0 -1px #bb6a3429,0 12px 18px #874e2721,0 24px 44px #5f361b29}.ghost-btn{margin-top:10px;color:#fff;background:linear-gradient(180deg,#403e3af0,#252421f2),var(--charcoal)}.ghost-btn.is-light{color:var(--text);background:#fff6ebcc}.sticky-btn{position:sticky;bottom:86px;z-index:8;margin-top:20px}.trust-line{margin:9px 0 0;color:var(--muted);font-size:12px;font-weight:700;line-height:1.35;text-align:center}.upload-card{position:relative;display:grid;place-items:center;min-height:188px;padding:22px;overflow:hidden;border-radius:30px;text-align:center;cursor:pointer}.upload-card input,.upload-card img{display:none}.upload-card.has-photo img{display:block;position:absolute;top:10px;right:10px;bottom:10px;left:10px;width:calc(100% - 20px);height:calc(100% - 20px);border-radius:22px;object-fit:cover;opacity:.42}.upload-card.has-photo:after{content:"";position:absolute;top:10px;right:10px;bottom:10px;left:10px;border-radius:22px;background:#fff8eea3}.upload-card strong,.upload-card small,.upload-icon{position:relative;z-index:2}.upload-icon{display:grid;place-items:center;width:58px;height:58px;margin-bottom:14px;border:1px solid var(--line-strong);border-radius:50%;color:var(--gold);background:#fffaf39e;font-size:34px}.upload-card strong{font-size:19px}.upload-card small{max-width:270px;margin-top:8px;color:var(--muted);font-size:13px;line-height:1.45}.field-grid{display:grid;grid-template-columns:1fr 116px;gap:12px}.chip-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.chip,.story-card{width:100%;border-radius:20px;color:var(--text);text-align:left;cursor:pointer}.chip{min-height:48px;padding:0 12px;font-size:13px;font-weight:800;text-align:center}.story-list{display:grid;gap:10px}.story-card{padding:15px}.story-card strong,.story-card span{display:block}.story-card strong{margin-bottom:6px;font-size:16px}.story-card span{color:var(--muted);font-size:13px;line-height:1.45}.chip.is-active,.story-card.is-active,.avatar-card.is-selected{border-color:var(--line-strong);box-shadow:inset 0 1px #ffffffd6,0 0 0 3px #c97a3524,0 18px 34px #77482329}.loader-card{width:100%;padding:30px 20px;border-radius:32px;text-align:center}.magic-loader{width:84px;height:84px;margin:0 auto 20px;border:1px solid rgba(201,122,53,.42);border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.96) 0 8px,transparent 9px),conic-gradient(from 0deg,#c97a351a,#c97a35c7,#c97a351a);animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loader-card h1,.certificate-preview h2,.certificate-result h2,.checkout-card h2,.order-item h2,.example-card h2,.avatar-card h2,.profile-head h1,.trust-note h2{margin:0;color:var(--text);font-family:Cormorant Garamond,Georgia,serif;font-size:32px;font-weight:600;line-height:.95;letter-spacing:-.035em}.loader-card p,.certificate-preview p,.certificate-result p,.checkout-card p,.order-item p,.avatar-card p,.profile-head p,.trust-note p{margin:9px 0 0;color:var(--muted);font-size:14px;line-height:1.45}.loader-lines{display:grid;gap:8px;margin-top:22px}.loader-lines span{height:8px;border-radius:999px;background:#c97a3533}.loader-lines span:nth-child(2){width:82%;margin:0 auto}.loader-lines span:nth-child(3){width:62%;margin:0 auto}.avatar-list{gap:16px}.avatar-card{position:relative;display:block;width:100%;padding:0;overflow:hidden;border-radius:30px;text-align:left}.avatar-card img{width:100%;height:320px;object-fit:cover}.avatar-card div{padding:16px}.avatar-card b{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#fff;background:var(--gold);box-shadow:0 12px 22px #7a492340}.checkout-card{display:grid;grid-template-columns:104px 1fr;gap:14px;align-items:center;padding:14px;border-radius:26px}.checkout-card img{width:104px;height:118px;border-radius:20px;object-fit:cover}.price-card{display:grid;gap:10px;margin-top:14px;padding:18px;border-radius:28px}.price-card strong{display:block;color:var(--text);font-family:Cormorant Garamond,Georgia,serif;font-size:56px;font-weight:600;line-height:.9}.price-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.orders-list,.example-list{display:grid;gap:14px}.order-item{display:grid;grid-template-columns:104px 1fr;gap:14px;align-items:center;padding:12px;border-radius:26px}.order-item img{width:104px;height:104px;border-radius:20px;object-fit:cover}.order-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.order-actions button,.example-card button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border:1px solid rgba(198,111,55,.38);border-radius:999px;color:var(--text);background:#fff6ebd1;font-size:12px;font-weight:800;cursor:pointer}.category-row{display:flex;gap:8px;margin:0 -18px 18px;padding:0 18px 6px;overflow-x:auto}.category-row button{flex:0 0 auto;min-height:38px;padding:0 14px;border:1px solid var(--line);border-radius:999px;color:var(--text);background:#fffaf3b8;font-size:12px;font-weight:800;cursor:pointer}.category-row .is-active{border-color:var(--line-strong);background:#ffe7c6d6}.example-card{overflow:hidden;border-radius:30px}.example-card img{width:100%;height:270px;object-fit:cover}.example-card div{padding:16px}.example-card button{margin-top:12px}.certificate-preview,.certificate-result,.trust-note{padding:20px;border-radius:30px;text-align:center}.certificate-result,.trust-note{margin-top:16px}.profile-head{display:grid;grid-template-columns:64px 1fr;gap:16px;align-items:center;padding:18px;border-radius:30px}.profile-avatar{display:grid;place-items:center;width:64px;height:64px;border:1px solid var(--line-strong);border-radius:50%;color:#fff;background:var(--gold);font-family:Cormorant Garamond,Georgia,serif;font-size:34px;font-weight:700}.profile-list{display:grid;gap:10px;margin-top:16px}.profile-list button{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:0 16px;border-radius:20px;color:var(--text);font-size:15px;font-weight:800;cursor:pointer}.bottom-nav{position:fixed;right:50%;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(5,1fr);width:min(100%,430px);padding:9px 10px calc(9px + env(safe-area-inset-bottom));border:1px solid rgba(194,117,68,.34);border-bottom:0;border-radius:26px 26px 0 0;background:#fff8eee6;box-shadow:inset 0 1px #ffffffc7,0 -18px 42px #77482329;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transform:translate(50%)}.bottom-nav button{display:grid;place-items:center;gap:4px;min-height:54px;border-radius:18px;color:#35261c9e;background:transparent;font-size:10px;font-weight:800;cursor:pointer}.bottom-nav button span{font-size:17px;line-height:1}.bottom-nav button.is-active{color:var(--text);background:linear-gradient(180deg,#fff6e5f5,#ffe0b5bd);box-shadow:inset 0 1px #fffc}.toast{position:fixed;left:50%;bottom:94px;z-index:80;width:min(calc(100% - 32px),380px);padding:14px 16px;border-radius:18px;color:#fff;background:#2d2a26eb;box-shadow:0 20px 42px #35261c42;font-size:13px;font-weight:800;text-align:center;transform:translate(-50%)}@media(max-width:380px){.screen{padding-inline:14px}.field-grid,.chip-grid{grid-template-columns:1fr}.avatar-card img{height:288px}.order-item,.checkout-card{grid-template-columns:92px 1fr}.order-item img,.checkout-card img{width:92px;height:92px}.bottom-nav button{font-size:9px}}
