/* Shared post, profile, creator and collection share popup. */
.share-trigger--primary{border:0;border-radius:999px;background:var(--hp-accent);color:#fff;font-weight:var(--hp-font-weight-strong);cursor:pointer;box-shadow:none}.share-trigger--primary:hover{filter:brightness(.96)}.share-modal[hidden]{display:none}.share-modal{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:20px}.share-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.48);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.share-modal__dialog{position:relative;z-index:1;max-height:min(82vh,760px);overflow:auto;padding:22px;border:1px solid var(--hp-line);border-radius:20px;background:var(--hp-surface);color:var(--hp-text);box-shadow:0 28px 90px rgba(0,0,0,.26)}.share-modal__dialog h2{margin:0 34px 18px 0;font-size:1.18rem;line-height:1.35;font-weight:var(--hp-font-weight-strong);letter-spacing:-.01em}.share-modal__close{position:absolute;top:11px;right:13px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--hp-text);font-size:1.55rem;line-height:1;cursor:pointer}.share-modal__close:hover{background:var(--hp-surface-2)}.share-preview{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:11px;padding:9px;border:1px solid var(--hp-line);border-radius:13px;background:var(--hp-surface-2)}.share-preview img{width:50px;height:50px;object-fit:cover;border-radius:9px}.share-preview div{min-width:0}.share-preview strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem}.share-preview small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--hp-muted);font-size:.72rem}.share-modal__dialog{width:min(540px,100%)}.share-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:20px 0}.share-app{min-width:0;display:grid;place-items:center;gap:7px;text-align:center}.share-app__icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#fff;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}.share-app__icon svg{width:25px;height:25px;display:block;fill:currentColor}.share-app>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--hp-text);font-size:.68rem;white-space:nowrap}.share-app--facebook .share-app__icon{background:#1877f2}.share-app--pinterest .share-app__icon{background:#e60023}.share-app--messenger .share-app__icon{background:linear-gradient(145deg,#00b2ff 0%,#006aff 48%,#a033ff 100%)}.share-app--x .share-app__icon{background:#000}.share-app--reddit .share-app__icon{background:#ff4500}.share-app--email .share-app__icon{background:#6b7280}.share-copy{display:flex;border:1px solid var(--hp-line);border-radius:12px;overflow:hidden;background:var(--hp-surface-2)}.share-copy input{min-width:0;flex:1;border:0;padding:11px 12px;outline:0;background:transparent;color:var(--hp-text)}.share-copy button{border:0;padding:0 17px;color:#fff;background:var(--hp-accent);cursor:pointer;font-weight:var(--hp-font-weight-strong)}@media (max-width: 767px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.share-trigger--primary{padding:8px 10px;justify-self:end}.share-modal{padding:12px;place-items:center}.share-modal__dialog{width:100%;max-height:calc(100dvh - 28px);padding:19px;border-color:#454545;border-radius:20px;background:#151515;color:#fff}.share-modal__dialog h2,.share-modal__close{color:#fff}.share-modal__close:hover{background:#252525}.share-preview,.share-copy{background:#202020;border-color:#484848;color:#fff}.share-preview small{color:#b7b7b7}.share-app>span:last-child{color:#fff}.share-app--x .share-app__icon{background:#111}.share-options{display:flex;gap:14px;overflow-x:auto;padding:3px 2px 10px;scrollbar-width:none}.share-app{min-width:68px;flex:0 0 68px}.share-copy input{color:#fff}}@media (min-width: 768px) and (max-width: 1024px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.share-trigger--primary{font-size:1rem;line-height:1.3}}@media (max-width: 767px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.share-trigger--primary{line-height:1.3}}@media (max-width: 360px){.share-trigger--primary{padding-inline:8px}}.share-modal__dialog,.share-modal__dialog *{box-sizing:border-box}.share-modal__dialog{overflow-x:hidden}.share-preview,.share-options,.share-copy{width:100%;max-width:100%;min-width:0}@media (max-width: 1024px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.share-modal{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.share-modal__dialog{width:min(560px,calc(100vw - 24px));max-width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;overflow-x:hidden;border-radius:20px;padding:19px}.share-preview{grid-template-columns:48px minmax(0,1fr)}.share-preview img{width:48px;height:48px}.share-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px;margin:18px 0;padding:2px 0;overflow:visible}.share-app{min-width:0;width:100%;flex:none}.share-app>span:last-child{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.share-copy{min-height:48px}.share-copy input{width:0;min-width:0;flex:1 1 auto}.share-copy button{flex:0 0 auto;min-width:72px;padding-inline:13px}}@media (max-width: 390px){.share-modal__dialog{padding:17px}.share-options{gap:13px 6px}.share-app__icon{width:42px;height:42px}.share-app__icon svg{width:24px;height:24px}}.share-trigger--primary{width:100%;min-width:0;min-height:clamp(38px,10.8cqw,43px);padding:clamp(7px,2.25cqw,9px) clamp(8px,3.6cqw,14px);font-size:clamp(.9rem,3.75cqw,1rem);line-height:1.3;justify-self:stretch}@media (max-width: 767px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.share-trigger--primary{width:100%;min-width:0;min-height:clamp(38px,10.8cqw,43px);padding-inline:clamp(8px,3.6cqw,14px);font-size:clamp(.9rem,3.75cqw,1rem)}}@media (max-width: 360px){.share-trigger--primary{width:100%;min-width:0}}@media (max-width: 1024px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.share-modal__dialog{border-color:#454545;background:#151515;color:#fff}.share-modal__dialog h2,.share-modal__close{color:#fff}.share-modal__close:hover{background:#252525}.share-preview,.share-copy{background:#202020;border-color:#484848;color:#fff}.share-preview small{color:#b7b7b7}.share-app>span:last-child{color:#fff}.share-app--x .share-app__icon{background:#111}.share-copy input{color:#fff}}@media (hover: none) and (pointer: coarse) and (min-width: 768px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.share-modal__dialog{border-color:#454545;background:#151515;color:#fff}.share-modal__dialog h2,.share-modal__close{color:#fff}.share-modal__close:hover{background:#252525}.share-preview,.share-copy{background:#202020;border-color:#484848;color:#fff}.share-preview small{color:#b7b7b7}.share-app>span:last-child{color:#fff}.share-app--x .share-app__icon{background:#111}.share-copy input{color:#fff}}
.share-app:focus-visible,.share-copy button:focus-visible{outline:2px solid var(--hp-accent);outline-offset:3px}

/* Optional native app picker after the same image preview used on desktop. */
.share-native{display:block;width:100%;min-height:44px;margin:0 0 14px;padding:10px 14px;border:1px solid var(--hp-line);border-radius:12px;cursor:pointer;font:inherit;font-weight:var(--hp-font-weight-strong)}
.share-native[hidden],.share-preview img[hidden]{display:none!important}
.share-preview:not(:has(img:not([hidden]))){grid-template-columns:minmax(0,1fr)}
