:root{color-scheme:light;--blue:#477db3;--blue-deep:#37699b;--text:#202329;--muted:#818994;--bg:#edeef1;--line:#edf0f3;--soft:#eaf1f8;font:16px/1.4 Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{scroll-padding-top:70px}body{margin:0;background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;overflow-x:hidden}button,input,textarea{font:inherit;color:inherit}button{border:0;background:none;padding:0;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:3px}button:disabled{opacity:.5}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;display:block}h1,h2,p{margin:0}img{display:block;max-width:100%}input,textarea{font-size:16px}#app{max-width:560px;min-height:100dvh;margin:auto;background:var(--bg);padding-bottom:calc(69px + env(safe-area-inset-bottom))}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:8px;min-height:57px;padding:calc(5px + env(safe-area-inset-top)) 12px 5px;background:#fff;border-bottom:1px solid #e3e6e9}.brand-mark{display:grid;place-items:center;font-size:26px;line-height:1;font-weight:700;width:33px;height:33px;border-radius:10px;background:var(--blue);color:white;margin-right:3px}.top-title{font-weight:600;font-size:19px}.top-spacer{flex:1}.icon-button{display:grid;place-items:center;min-width:38px;min-height:40px;color:var(--blue);border-radius:50%}.icon-button:active{background:var(--soft)}.topbar .icon-button:last-child{margin-left:1px}.card{background:#fff;margin-bottom:9px}.cover{display:block;width:100%;height:132px;overflow:hidden;background:#dde5ed}.cover img{width:100%;height:100%;object-fit:cover;object-position:50% 23%}.profile-body{padding:0 16px}.avatar-button{display:block;position:relative;margin-top:-44px;border:4px solid white;border-radius:50%;background:white;width:104px;height:104px;overflow:hidden}.profile-avatar{width:100%;height:100%;object-fit:cover;object-position:50% 25%;border-radius:50%}.identity{padding-top:8px}.identity h1{font-size:23px;line-height:1.25;letter-spacing:-.45px;font-weight:700}.seen{font-size:13px;color:var(--muted);margin-top:5px}.status{font-size:15px;margin-top:13px;color:#3a3f46;line-height:1.5}.details-link{display:flex;align-items:center;gap:6px;color:var(--blue);font-size:14px;margin-top:9px;min-height:30px}.details-link svg:first-child{width:17px;height:17px}.details-link svg:last-child{width:14px;height:14px;margin-left:0}.profile-actions{display:flex;gap:8px;margin-top:13px}.primary,.soft{display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;border-radius:8px;padding:9px 11px;font-size:14px;font-weight:600;white-space:nowrap}.primary{background:var(--blue);color:white;flex:1}.soft{background:var(--soft);color:var(--blue-deep);flex:1.55}.primary svg,.soft svg{width:19px;height:19px}.requested{background:#f0f2f5;color:#66717f}.statistics{display:flex;align-items:center;justify-content:space-around;border-top:1px solid var(--line);margin-top:18px;padding:14px 0 15px;text-align:center}.statistics>div,.statistics>button{min-width:85px}.statistics strong{display:block;font-size:18px;font-weight:500;color:var(--blue-deep)}.statistics span{display:block;font-size:13px;color:var(--muted);margin-top:2px}.section-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 12px}.section-head h2,.posts-heading h2{font-size:17px;font-weight:600}.section-head h2 span,.posts-heading h2 span{font-size:15px;font-weight:400;color:#9098a1;margin-left:5px}.section-head button{font-size:14px;color:var(--blue)}.photo-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:0 12px 13px}.photo-preview button{aspect-ratio:1;overflow:hidden;border-radius:5px}.photo-preview img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}.photo-preview button:first-child img{object-position:35% 40%}.posts-heading{display:flex;align-items:center;justify-content:space-between;padding:2px 16px 3px;background:white;border-bottom:1px solid var(--line)}.posts-heading .icon-button{color:#8b96a3}.post{scroll-margin-top:65px}.post-head{display:flex;gap:10px;align-items:center;padding:15px 14px 11px}.mini-avatar{width:39px;height:39px;border-radius:50%;object-fit:cover;object-position:50% 25%;flex-shrink:0}.post-author{display:block;flex:1;min-width:0}.post-author strong{font-size:14px;color:var(--blue-deep);display:block;font-weight:600}.post-author>span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.post-head .icon-button{color:#9ca3ac;min-width:30px}.post-text{padding:0 15px 13px;font-size:16px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.post-media{position:relative}.post-media>button:first-child{width:100%;display:block}.post-media img{width:100%;max-height:620px;object-fit:cover;object-position:50% 30%;aspect-ratio:4/4.2}.post:first-of-type .post-media img{aspect-ratio:4/3;object-position:50% 45%}.photo-count{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;gap:5px;padding:4px 7px;border-radius:6px;color:#fff;background:#0007;font-size:13px}.photo-count svg{width:17px;height:17px}.post-thumbnails{display:flex;gap:3px;padding:3px 0 0}.post-thumbnails button{height:64px;flex:1;overflow:hidden}.post-thumbnails img{width:100%;height:100%;object-fit:cover;object-position:50% 25%}.post-actions{display:flex;align-items:center;gap:21px;min-height:55px;padding:8px 16px}.reaction{display:flex;align-items:center;gap:7px;color:#99a2ad;font-size:14px;min-height:34px;min-width:25px}.reaction svg{width:24px;height:24px}.liked{color:#e35d72}.liked svg{fill:currentColor}.views{display:flex;align-items:center;gap:5px;color:#a0a8b1;font-size:12px;margin-left:auto}.views svg{width:17px;height:17px;stroke-width:2}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:560px;z-index:11;display:flex;justify-content:space-around;background:#fff;border-top:1px solid #dfe3e8;padding:6px 3px calc(6px + env(safe-area-inset-bottom))}.bottom-nav button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#9099a5;min-height:45px}.bottom-nav svg{width:23px;height:23px}.bottom-nav span{font-size:11px}.bottom-nav .active{color:var(--blue)}.album{background:white;min-height:calc(100dvh - 124px)}.album-heading{padding:23px 16px 20px}.album-heading h1{font-size:21px}.album-heading p{font-size:14px;color:var(--muted);margin-top:5px}.album-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.album-grid button{aspect-ratio:1;overflow:hidden;background:#dfe3e7}.album-grid img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}dialog{inset:auto 0 0;position:fixed;width:100%;max-width:560px;max-height:85dvh;margin:0 auto;border:0;border-radius:16px 16px 0 0;background:white;padding:0;color:var(--text);box-shadow:0 -10px 70px #0002;overflow:auto}dialog::backdrop{background:#0b15256b}.sheet-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 18px;background:white;border-bottom:1px solid var(--line);z-index:2}.sheet-head h2{font-size:18px}.sheet-body{padding:12px 17px calc(20px + env(safe-area-inset-bottom))}.sheet-option{display:flex;align-items:center;gap:13px;min-height:50px;font-size:16px;width:100%;text-align:left}.sheet-option svg{color:var(--blue);width:22px;height:22px}.about-person{text-align:center;padding:10px 0 20px}.avatar{width:74px;height:74px;object-fit:cover;object-position:50% 25%;border-radius:50%;margin:auto}.about-person h2{font-size:20px;margin-top:13px}.about-person p{color:#737f8d;margin-top:6px;font-size:14px}.about-row{display:flex;gap:14px;padding:15px 0;border-top:1px solid var(--line);align-items:center}.about-row svg{color:var(--blue);width:22px;height:22px}.about-row span{font-size:13px;color:var(--muted)}.about-row p{font-size:15px;margin-top:3px}.photo-viewer{inset:0;max-width:none;width:100%;height:100dvh;max-height:none;border-radius:0;background:#080a0d;color:#fff;overflow:hidden}.viewer-head{height:65px;padding:calc(6px + env(safe-area-inset-top)) 10px 6px;display:flex;align-items:center;gap:12px;font-size:15px}.viewer-head .icon-button{color:white}.viewer-head>span:last-child{margin-left:auto;color:#b2b7bf;padding-right:8px}.viewer-image{position:relative;display:grid;place-items:center;height:calc(100dvh - 145px - env(safe-area-inset-top) - env(safe-area-inset-bottom));touch-action:pan-y}.viewer-image>img{width:100%;height:100%;object-fit:contain}.viewer-image .icon-button{position:absolute;top:50%;transform:translateY(-50%);background:#0005;color:white;border-radius:50%;width:40px;height:40px}.viewer-image [data-action="previous-photo"]{left:8px}.viewer-image [data-action="next-photo"]{right:8px}.viewer-thumbs{display:flex;gap:6px;justify-content:flex-start;overflow:auto;padding:10px 15px calc(10px + env(safe-area-inset-bottom));height:80px}.viewer-thumbs button{border-radius:4px;overflow:hidden;width:45px;min-width:45px;height:54px;border:2px solid transparent;opacity:.6}.viewer-thumbs button.selected{border-color:#fff;opacity:1}.viewer-thumbs img{width:100%;height:100%;object-fit:cover}.comments{min-height:65px;padding:5px 0 15px}.comment{display:flex;align-items:flex-start;gap:10px;padding:10px 0}.comment strong{font-size:14px;color:var(--blue-deep)}.comment p{font-size:16px;margin-top:3px;white-space:pre-wrap;overflow-wrap:anywhere}.letter-avatar{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;color:white;font-size:17px;background:#79a3d2}.letter-avatar.pink{background:#ce8eae}.letter-avatar.green{background:#8fae9d}.empty-note{font-size:14px;color:var(--muted);padding:12px 0;line-height:1.5}#comment-form{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:12px}#comment-form input,.search-input{min-width:0;flex:1;border:1px solid #e2e5ea;border-radius:8px;padding:11px;background:#f4f5f7;width:100%}.send-button{width:40px;height:42px;flex-shrink:0;display:grid;place-items:center;color:var(--blue)}.search-result{display:block;text-align:left;width:100%;padding:14px 0;border-bottom:1px solid var(--line)}.search-result span{font-size:12px;color:var(--muted)}.search-result p{margin-top:5px;font-size:16px}.link-label{font-size:14px;color:var(--muted)}.link-label input{margin-top:8px;width:100%;border:1px solid #ddd;border-radius:8px;padding:11px}.chat-page{padding:22px 14px 78px;min-height:calc(100dvh - 60px);background:#e9eef3}.chat-contact{text-align:center;padding-bottom:25px}.chat-contact h1{font-size:19px;margin-top:12px}.chat-contact p{font-size:13px;color:var(--muted);margin-top:4px}#chat-messages{display:flex;flex-direction:column;gap:8px}.chat-bubble{align-self:flex-end;max-width:85%;background:#d7e8fa;border-radius:13px 13px 3px 13px;padding:10px 12px 6px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:16px}.chat-bubble>span{display:flex;justify-content:flex-end;align-items:center;gap:3px;color:#7d9bbb;font-size:11px;margin-top:4px}.chat-bubble svg{width:16px;height:14px}.message-form{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:560px;width:100%;background:white;display:flex;align-items:flex-end;gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e0e4e8;z-index:12}.message-form textarea{resize:none;min-width:0;flex:1;border:0;background:#f2f4f6;border-radius:10px;padding:11px 12px;line-height:22px;max-height:120px}.message-form .send-button{height:44px}#toast{position:fixed;left:50%;bottom:95px;transform:translate(-50%,10px);width:max-content;max-width:calc(100vw - 30px);z-index:100;background:#293543ed;color:white;font-size:14px;padding:11px 15px;border-radius:10px;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s}#toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:650px){body{background:#e7e9ed}#app{border-inline:1px solid #dfe3e9;box-shadow:0 0 30px #21364b05}.card{border-radius:10px;overflow:hidden;margin-inline:10px;margin-bottom:11px}.profile{margin-top:12px}.cover{height:160px}.photo-preview{gap:5px}.topbar{padding-inline:20px}.posts-heading{margin-inline:10px;border-radius:10px 10px 0 0}.post:first-of-type{border-radius:0 0 10px 10px}.post-media img{max-height:650px}.identity h1{font-size:25px}.bottom-nav{border-inline:1px solid #dfe3e9}.album{margin:12px 10px;border-radius:10px;overflow:hidden}}@media(max-width:360px){.identity h1{font-size:21px}.profile-body{padding-inline:12px}.profile-actions{gap:6px}.primary,.soft{padding-inline:8px;font-size:13px;gap:5px}.profile-actions svg{width:17px;height:17px}.top-title{font-size:18px}.cover{height:118px}.statistics>div,.statistics>button{min-width:75px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
