:root{--navy:#0a1f44;--navy-2:#12306b;--blue:#1e5bc6;--blue-2:#3b7ddd;--sky:#dbe8fb;--pale:#eef4fd;--bg:#f4f7fc;--card:#fff;--text:#0f1b2d;--muted:#5b6b82;--line:#dce4f0;--danger:#c93a3a;--ok:#1d8f5a;--gold:#c99a2e;--radius:18px;--shadow:0 8px 28px #0a1f441a;--nav-h:64px}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.45}a{color:var(--blue);text-decoration:none}h1,h2,h3{color:var(--navy);margin:0 0 .5rem;line-height:1.2}h1{font-size:1.6rem}h2{font-size:1.25rem}h3{font-size:1.05rem}p{margin:0 0 .75rem}.muted{color:var(--muted)}.small{font-size:.875rem}.center{text-align:center}.row{align-items:center;gap:.75rem;display:flex}.row.wrap{flex-wrap:wrap}.spacer{flex:1}.stack>*+*{margin-top:.9rem}.page{max-width:560px;padding:1.25rem 1rem calc(var(--nav-h) + 1.5rem);margin:0 auto}.page.narrow{max-width:440px}.page.wide{max-width:960px}.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--line);padding:1.25rem}.brand{color:var(--navy);letter-spacing:-.02em;align-items:center;gap:.5rem;font-size:1.25rem;font-weight:800;display:inline-flex}.brand img{border-radius:9px;width:32px;height:32px}.brand span b{color:var(--blue)}.topbar{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);background:#f4f7fceb;position:sticky;top:0}.topbar .inner{align-items:center;gap:.75rem;max-width:960px;margin:0 auto;padding:.7rem 1rem;display:flex}.btn{cursor:pointer;background:var(--blue);color:#fff;border:0;border-radius:999px;justify-content:center;align-items:center;gap:.5rem;padding:.8rem 1.3rem;font-family:inherit;font-size:1rem;font-weight:650;text-decoration:none;transition:transform 80ms,background .2s,opacity .2s;display:inline-flex}.btn:hover{background:var(--navy-2)}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.block{width:100%}.btn.secondary{background:var(--pale);color:var(--navy)}.btn.secondary:hover{background:var(--sky)}.btn.ghost{color:var(--blue);background:0 0;padding:.5rem .75rem}.btn.ghost:hover{background:var(--pale)}.btn.danger{background:var(--danger)}.btn.danger:hover{background:#a92d2d}.btn.ok{background:var(--ok)}.btn.gold{background:linear-gradient(135deg, #e0b44a, var(--gold));color:#2b1d00}.btn.small{padding:.45rem .9rem;font-size:.875rem}label.field{display:block}label.field>span{color:var(--navy);margin-bottom:.35rem;font-size:.875rem;font-weight:600;display:block}input[type=text],input[type=email],input[type=password],input[type=date],input[type=number],select,textarea{border:1.5px solid var(--line);width:100%;color:var(--text);background:#fff;border-radius:12px;padding:.75rem .9rem;font-family:inherit;font-size:1rem}input:focus,select:focus,textarea:focus{border-color:var(--blue-2);outline:none;box-shadow:0 0 0 3px #3b7ddd2e}textarea{resize:vertical;min-height:96px}.grid2{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.check{align-items:flex-start;gap:.6rem;font-size:.92rem;display:flex}.check input{width:18px;height:18px;accent-color:var(--blue);flex-shrink:0;margin-top:.2rem}.hint{color:var(--muted);margin-top:.3rem;font-size:.8rem}.alert{border-radius:12px;padding:.8rem 1rem;font-size:.92rem}.alert.error{color:#8f2424;background:#fdecec}.alert.ok{color:#155f3d;background:#e6f6ee}.alert.info{background:var(--pale);color:var(--navy)}.cd-toggle{border:2px solid var(--line);cursor:pointer;text-align:left;background:#fff;border-radius:16px;align-items:center;gap:.8rem;width:100%;padding:1rem;font-family:inherit;font-size:1rem;display:flex}.cd-toggle .box{border:2px solid var(--blue);color:#fff;border-radius:8px;flex-shrink:0;place-items:center;width:28px;height:28px;font-weight:800;display:grid}.cd-toggle.on{border-color:var(--blue);background:var(--pale)}.cd-toggle.on .box{background:var(--blue)}.badge{background:var(--pale);color:var(--blue);border-radius:999px;align-items:center;gap:.3rem;padding:.25rem .6rem;font-size:.75rem;font-weight:700;display:inline-flex}.badge.cd{background:var(--blue);color:#fff}.badge.gold{color:#7a5a10;background:#fbf1d9}.badge.red{color:#8f2424;background:#fdecec}.badge.green{color:#155f3d;background:#e6f6ee}.photo-grid{grid-template-columns:repeat(3,1fr);gap:.5rem;display:grid}.photo-slot{aspect-ratio:3/4;background:var(--pale);border:2px dashed var(--sky);color:var(--blue);cursor:pointer;border-radius:12px;place-items:center;font-size:1.8rem;display:grid;position:relative;overflow:hidden}.photo-slot img{object-fit:cover;width:100%;height:100%}.photo-slot .rm{color:#fff;cursor:pointer;background:#0a1f44bf;border:0;border-radius:50%;width:26px;height:26px;font-size:.9rem;line-height:1;position:absolute;top:6px;right:6px}.photo-slot .main-tag{font-size:.7rem;position:absolute;bottom:6px;left:6px}.profile-card{box-shadow:var(--shadow);border:1px solid var(--line);background:#fff;border-radius:24px;overflow:hidden}.profile-card .gallery{aspect-ratio:4/5;background:linear-gradient(160deg, var(--sky), var(--pale));position:relative}.profile-card .gallery img{object-fit:cover;width:100%;height:100%;display:block}.profile-card .dots{gap:4px;display:flex;position:absolute;top:10px;left:10px;right:10px}.profile-card .dots i{background:#ffffff73;border-radius:4px;flex:1;height:4px}.profile-card .dots i.on{background:#fff}.profile-card .tap{cursor:pointer;width:50%;position:absolute;top:0;bottom:0}.profile-card .tap.l{left:0}.profile-card .tap.r{right:0}.profile-card .overlay{color:#fff;background:linear-gradient(#0000,#050f23d9);padding:3rem 1.1rem 1rem;position:absolute;bottom:0;left:0;right:0}.profile-card .overlay h2{color:#fff;margin:0;font-size:1.6rem}.profile-card .body{padding:1rem 1.1rem 1.2rem}.profile-card .facts{gap:.45rem;font-size:.95rem;display:grid}.profile-card .facts div{gap:.55rem;display:flex}.actions{justify-content:center;gap:1.5rem;margin:1.1rem 0 .4rem;display:flex}.round{cursor:pointer;width:68px;height:68px;box-shadow:var(--shadow);border:0;border-radius:50%;place-items:center;font-size:1.8rem;transition:transform .1s;display:grid}.round:active{transform:scale(.92)}.round.pass{color:var(--muted);background:#fff}.round.like{background:var(--blue);color:#fff}.round:disabled{opacity:.5}.usage{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.82rem;display:flex}.meter{background:var(--sky);border-radius:6px;flex:1;min-width:90px;height:6px;overflow:hidden}.meter i{background:var(--blue);height:100%;display:block}.bottom-nav{height:var(--nav-h);border-top:1px solid var(--line);z-index:30;padding-bottom:env(safe-area-inset-bottom);background:#fff;justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav .inner{width:100%;max-width:560px;display:flex}.bottom-nav a{color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.72rem;font-weight:600;display:flex}.bottom-nav a .ic{font-size:1.35rem;line-height:1}.bottom-nav a.active{color:var(--blue)}.list{gap:.5rem;display:grid}.list-item{border:1px solid var(--line);color:inherit;background:#fff;border-radius:16px;align-items:center;gap:.85rem;padding:.75rem;display:flex}.avatar{object-fit:cover;background:var(--sky);width:56px;height:56px;color:var(--blue);border-radius:50%;flex-shrink:0;place-items:center;font-weight:800;display:grid;overflow:hidden}.avatar.sm{width:40px;height:40px}.avatar img{object-fit:cover;width:100%;height:100%}.ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat{height:calc(100dvh - var(--nav-h));flex-direction:column;max-width:560px;margin:0 auto;display:flex}.chat-head{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:.7rem;padding:.7rem 1rem;display:flex}.chat-body{flex-direction:column;flex:1;gap:.4rem;padding:1rem;display:flex;overflow-y:auto}.bubble{white-space:pre-wrap;word-wrap:break-word;border-radius:18px;max-width:78%;padding:.6rem .9rem;font-size:.97rem}.bubble.me{background:var(--blue);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}.bubble.them{border:1px solid var(--line);background:#fff;border-bottom-left-radius:6px;align-self:flex-start}.bubble time{opacity:.7;margin-top:.15rem;font-size:.68rem;display:block}.chat-input{border-top:1px solid var(--line);background:#fff;gap:.5rem;padding:.7rem;display:flex}.chat-input textarea{border-radius:22px;min-height:44px;max-height:120px;padding:.65rem 1rem}.modal-back{z-index:50;background:#050f238c;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:22px;width:100%;max-width:420px;max-height:90dvh;padding:1.4rem;overflow-y:auto}.hero{background:radial-gradient(circle at 20% 10%, #2a6ad6 0%, var(--navy) 60%);color:#fff;flex-direction:column;min-height:100dvh;display:flex}.hero .content{flex-direction:column;flex:1;justify-content:center;max-width:560px;margin:0 auto;padding:2rem 1.25rem;display:flex}.hero h1{color:#fff;letter-spacing:-.03em;font-size:2.3rem}.hero p{color:#d6e3fb;font-size:1.08rem}.hero .btn.secondary{color:#fff;background:#ffffff24}.hero .feat{gap:.6rem;margin:1.5rem 0 2rem;display:grid}.hero .feat div{color:#e7efff;align-items:center;gap:.7rem;display:flex}.hero .feat b{background:#ffffff1f;border-radius:10px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.plan{border:2px solid var(--line);background:#fff;border-radius:20px;padding:1.3rem}.plan.premium{border-color:var(--blue);background:linear-gradient(160deg, #fff, var(--pale))}.plan .price{color:var(--navy);font-size:2rem;font-weight:800}.plan ul{margin:.6rem 0 1rem;padding-left:1.1rem}.tabs{gap:.4rem;margin-bottom:1rem;display:flex;overflow-x:auto}.tabs button{border:0;border:1px solid var(--line);cursor:pointer;white-space:nowrap;color:var(--navy);background:#fff;border-radius:999px;padding:.55rem 1rem;font-family:inherit;font-weight:600}.tabs button.on{background:var(--navy);color:#fff;border-color:var(--navy)}.admin-grid{gap:1rem;display:grid}.thumbs{gap:.4rem;display:flex;overflow-x:auto}.thumbs img{object-fit:cover;cursor:zoom-in;border-radius:10px;width:96px;height:128px}.kv{grid-template-columns:130px 1fr;gap:.3rem .75rem;font-size:.92rem;display:grid}.kv dt{color:var(--muted)}.kv dd{margin:0}.spinner{border:3px solid var(--sky);border-top-color:var(--blue);border-radius:50%;width:34px;height:34px;margin:2rem auto;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (min-width:720px){.admin-grid{grid-template-columns:1fr 1fr}}
