@font-face{font-family:PulseHeader;src:url('assets/pulse-current/pulse-header.ttf') format('truetype');font-display:swap}
:root{--pulse-red:#ff3156;--pulse-motion:cubic-bezier(.22,.8,.25,1)}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
.brand,h1,.profile-title-block h2{font-family:PulseHeader,system-ui,sans-serif}
body.public-home{background:var(--pulse-canvas,#f4f1eb)!important}
.pulse-glyph{width:24px;height:24px;display:inline-block;flex:none;background:currentColor;mask:var(--pulse-icon) center/contain no-repeat;-webkit-mask:var(--pulse-icon) center/contain no-repeat;transition:color .18s ease}
.home-rail nav a{display:flex;gap:12px;align-items:center;min-height:44px;padding:8px 14px;border-radius:14px;color:var(--ink);font-weight:600}
.home-rail nav a.active{color:var(--pulse-red)!important;background:transparent!important}
.home-rail nav a .pulse-glyph{width:23px;height:23px}
:is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--pulse-red);outline-offset:3px}
button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.55}
:is(.home-feed-tabs,.auth-tabs,.profile-content-tabs)>button{min-height:34px;padding:6px 16px;border-radius:12px}
:is(.profile-tab-row,.profile-content-tabs,.profile-library-tabs){gap:8px!important;background:transparent!important}
.profile-content-tabs>button{min-width:48px;display:inline-flex;justify-content:center;align-items:center;background:transparent!important;border:0!important;color:var(--muted)}
.profile-content-tabs>button.active{color:var(--pulse-red)!important}
.profile-content-tabs>button .pulse-glyph{width:25px;height:25px}
.pulse-current-dialog{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:24px;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:24px;box-sizing:border-box;overflow:auto;box-shadow:0 20px 70px #0003}
.pulse-current-dialog::backdrop{background:#07101d70;backdrop-filter:blur(4px)}
.pulse-current-dialog h2{font-size:21px;margin:0 0 12px}.pulse-current-dialog p{line-height:1.5}.pulse-current-dialog label{display:grid;gap:6px;margin:12px 0;font-size:13px;font-weight:600}
.pulse-current-dialog :is(input,select,textarea){box-sizing:border-box;width:100%;padding:11px 13px;color:var(--ink);background:var(--pulse-raised);border:1px solid var(--line);border-radius:12px;font:inherit}
.pulse-dialog-actions{position:sticky;bottom:-24px;background:var(--surface);display:flex;gap:10px;padding:16px 0 0;margin-top:14px}.pulse-dialog-actions button{flex:1;border-radius:999px;border:1px solid var(--line);padding:11px 15px;background:transparent;color:var(--ink)}
.pulse-dialog-actions .pulse-primary,.pulse-primary{background:var(--pulse-red);color:white;border:0}.pulse-danger{color:var(--pulse-red)!important}
.auth-card{border:0!important;box-shadow:none!important;max-width:410px!important;padding:22px!important}.auth-shell{min-height:0!important;max-width:470px;margin:30px auto!important;padding:0 14px!important}.auth-brand{display:none!important}.auth-field{margin:9px 0!important;gap:5px!important}.auth-field input{min-height:42px!important;padding:10px 13px!important;border-radius:13px!important}.auth-submit{background:var(--pulse-red)!important;color:white!important;border-radius:15px!important}.auth-card h1{font-size:27px!important}.auth-tabs{margin:14px 0!important}.auth-card small{font-size:11px;line-height:1.4}.password-control{position:relative}.reset-checklist{font-size:11px}.auth-card .auth-lead{font-size:13px}
.profile-page .profile-action.primary,.profile-page #follow:not([data-following]){background:var(--pulse-red)!important;border-color:transparent!important;color:white!important;border-radius:999px!important;padding:8px 16px!important;min-height:32px!important}
.profile-page .pulse-web-profile-card{border-radius:22px!important}.profile-page .pulse-web-bio{line-height:1.4!important;margin:12px 0!important}.profile-page .profile-inline-actions{gap:8px!important}.profile-page .pulse-web-stats{padding-top:12px!important}
.profile-post-image,.home-post-image{max-height:min(62dvh,620px);width:100%;object-fit:contain!important;background:transparent!important;border-radius:16px}
.profile-post-copy p{white-space:pre-line;line-height:1.4!important}.profile-media-tile{aspect-ratio:1!important;border-radius:12px!important}.profile-media-tile img{width:100%;height:100%;object-fit:cover}
.pulse-profile-links{display:flex;gap:7px;margin:10px 0}.pulse-profile-links a{min-width:0;flex:1;padding:8px 10px;border:1px solid var(--line);background:var(--pulse-raised);border-radius:13px;font-size:12px;text-decoration:none;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pulse-share-menu{position:fixed;inset:auto;max-width:min(300px,calc(100vw - 24px));width:280px;padding:14px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);z-index:10000;box-shadow:0 10px 30px #0002;transform-origin:var(--origin,100% 100%)}
.pulse-share-menu[open]{animation:pulse-pop .24s var(--pulse-motion)}.pulse-share-menu button{width:100%;padding:12px;border:0;border-radius:12px;background:transparent;color:var(--ink);text-align:left;animation:pulse-row .3s var(--pulse-motion) both}.pulse-share-menu button:nth-of-type(2){animation-delay:45ms}.pulse-share-menu button:nth-of-type(3){animation-delay:90ms}.pulse-share-menu small{display:block;color:var(--muted);margin-top:4px}
.pulse-heart{position:fixed;pointer-events:none;z-index:12000;color:var(--pulse-red);font-size:68px;text-shadow:0 3px 0 #a91236,0 8px 15px #0003;animation:pulse-heart .85s var(--pulse-motion) forwards}
@keyframes pulse-heart{0%{opacity:0;transform:translate(-50%,-50%) scale(.25) rotate(-12deg)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.2) rotate(5deg)}55%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-100%) scale(.9)}}
@keyframes pulse-pop{from{opacity:0;transform:scale(.85) translateY(8px)}to{opacity:1;transform:none}}@keyframes pulse-row{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.pulse-photo-badge{position:absolute;right:6px;top:6px;font-size:11px;border-radius:7px;background:#07101dbb;color:white;padding:4px 6px}
.settings-sections button{min-height:42px;padding:9px 12px}.settings-option-row{padding:12px!important}.settings-section-title p{font-size:13px}.pulse-language{max-width:100%;padding:10px;border-radius:12px;border:1px solid var(--line);color:var(--ink);background:var(--surface)}
@media(max-width:700px){.auth-shell{margin:12px auto!important}.profile-content-tabs{display:flex;width:100%;justify-content:space-around}.profile-page-heading h1{font-size:23px}.pulse-current-dialog{max-height:calc(100dvh - 24px)}.pulse-dialog-actions{flex-wrap:wrap}.pulse-profile-links a{font-size:11px}.home-rail nav a{min-height:40px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.auth-field select{width:100%;padding:11px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink)}
.pulse-post-detail>.profile-page-heading,.pulse-post-detail>.pulse-web-profile-card,.pulse-post-detail>.profile-about,.pulse-post-detail>.profile-bottom-links,.pulse-post-detail .profile-tab-row,.pulse-post-detail .profile-library-heading{display:none!important}
.pulse-link-editor{border:1px solid var(--line);border-radius:16px;padding:12px;margin:10px 0}.pulse-link-editor header{display:flex;justify-content:space-between}.pulse-link-editor button{border:0;background:transparent;color:var(--ink)}
.pulse-tags-selected{display:flex;gap:6px;flex-wrap:wrap}.pulse-tag-person{display:inline-flex;gap:7px;align-items:center;padding:6px 9px;border-radius:99px;background:var(--pulse-raised);font-size:12px;color:var(--ink)}.pulse-tag-person button{background:transparent;border:0;color:inherit}
.pulse-tag-person img{width:24px;height:24px;object-fit:cover;border-radius:50%}.pulse-tag-result{display:flex;align-items:center;gap:8px;width:100%;padding:10px;background:transparent;border:0;color:var(--ink);text-align:left}.pulse-tag-result img{width:32px;height:32px;object-fit:cover;border-radius:50%}.pulse-tag-result small{display:block}.pulse-tag-result strong{font-size:13px}.pulse-verified{color:#168bff}

.profile-page .profile-cover{display:none!important}.profile-page .profile-content{padding:22px!important}.profile-page .profile-identity{align-items:center!important;margin-top:0!important}.profile-page .pulse-web-avatar{width:76px!important;height:76px!important;margin-top:0!important;border:0!important;box-shadow:none!important}.profile-page .profile-title-block .eyebrow{display:none}.profile-page .pulse-web-profile-card{max-width:740px}.profile-page .profile-inline-actions{margin:14px 0!important}.profile-page .profile-library{margin-top:18px!important}.profile-page .profile-library-heading .eyebrow{display:none}.brand img{object-fit:contain;background:transparent!important;border-radius:0!important}.feed-post-image{max-height:62dvh!important;object-fit:contain!important}.pulse-hashtag{display:inline-block;border:1px solid #609bf24d;border-radius:999px;padding:3px 8px;margin:2px;color:#609bf2!important;background:#609bf210;font-size:.88em;text-decoration:none!important}

.pulse-post-carousel{position:relative;min-width:0;width:100%}.pulse-carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.pulse-carousel-track::-webkit-scrollbar{display:none}.pulse-carousel-track>.profile-post-image{flex:0 0 100%;width:100%;min-width:0;max-height:62dvh;object-fit:contain;scroll-snap-align:start;margin:0}.pulse-carousel-count{position:absolute;z-index:1;top:8px;left:8px;background:#101b2dcc;color:white;padding:3px 8px;border-radius:20px;font-size:11px;pointer-events:none}

.pulse-tag-actions{display:flex;gap:8px;position:relative;z-index:2;margin-top:7px}.pulse-tag-actions button{border-radius:24px;padding:5px 14px;font-size:12px;border:1px solid var(--line,#8295ad);cursor:pointer}

.profile-page .pulse-web-profile{display:flex!important;flex-direction:column;gap:12px;max-width:880px;margin-inline:auto}.profile-page .pulse-web-profile>*{width:100%;box-sizing:border-box}.profile-page .profile-about,.profile-page .profile-bottom-links,.profile-page .profile-library-heading h2{display:none}.profile-page .profile-title-block{padding-top:0!important}.profile-page .pulse-web-avatar{flex-basis:76px!important}.profile-page .profile-content{gap:8px!important}.profile-page .profile-privacy-badge{margin-top:0!important}.profile-page .profile-page-heading .eyebrow{display:none}.profile-page .profile-page-heading h1{font-size:23px}.profile-page .profile-tab-row{border:0!important;padding:0!important;margin:0 0 12px!important;align-items:center}.profile-page .profile-content-tabs{flex:1;display:flex;justify-content:space-around;padding:0}.profile-page .profile-content-tabs button{flex:1;min-height:42px}.profile-page .profile-library-heading{margin:0}.profile-page .profile-empty{border:0;background:transparent;min-height:130px}.profile-page .profile-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.profile-page .pulse-profile-links{margin:0}.profile-page .profile-library{margin:4px 0!important}.profile-page .pulse-library-menu{position:relative;width:auto}.pulse-library-menu summary{list-style:none;cursor:pointer;padding:8px 14px;font-size:24px}.pulse-library-menu summary::-webkit-details-marker{display:none}.pulse-library-menu .profile-library-tabs{position:absolute;z-index:5;right:0;top:100%;min-width:150px;padding:8px!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:16px}.pulse-library-menu .profile-library-tabs button{width:100%;display:flex;align-items:center;justify-content:center}.pulse-share-menu:popover-open{animation:pulse-pop .24s var(--pulse-motion)}.pulse-post-carousel{order:1}.profile-page .profile-heading-actions .profile-action{padding:5px 10px;min-height:32px;font-size:11px}

.pulse-carousel-track>:is(.feed-post-image,.profile-post-image){flex:0 0 100%;width:100%!important;min-width:0;max-height:62dvh!important;object-fit:contain!important;scroll-snap-align:start;margin:0!important;cursor:default}.profile-page .profile-post-card .pulse-post-carousel{max-width:100%}

.pulse-profile-options{position:relative;width:auto!important}.pulse-profile-options summary{cursor:pointer;font-size:12px;list-style:none;padding:7px 10px;border:1px solid var(--line);border-radius:20px}.pulse-profile-options:not([open])>:not(summary){display:none!important}.pulse-profile-options[open]{z-index:6}.pulse-profile-options[open]>:not(summary){display:block;margin:7px 0}.pulse-profile-options[open]{position:absolute;right:0;top:0;background:var(--surface);padding:10px;border:1px solid var(--line);border-radius:18px;min-width:170px}.profile-heading-actions{position:relative}.profile-page .profile-inline-actions:empty{display:none}.home-rail nav button[data-home-tab]{display:flex;gap:12px;align-items:center;min-height:44px;padding:8px 14px;border:0;background:transparent;color:var(--ink)}.home-rail nav button[data-home-tab].active{color:var(--pulse-red)}
@media(max-width:700px){.profile-page .profile-page-heading{flex-wrap:wrap}.profile-page .profile-heading-actions{margin-left:auto}.profile-page .pulse-web-profile-card .profile-content{padding:18px!important}.profile-page .pulse-web-profile-card .pulse-web-stats{margin-top:0!important}.profile-page .profile-title-block h2{font-size:19px!important}.profile-page .pulse-web-avatar{width:64px!important;height:64px!important;flex-basis:64px!important}.home-rail nav a[href="profile.html"],.home-rail nav a[href="app.html"]{display:flex!important}}
