/* HerTime RC11.2 — Stories frontend rewrite */
html:has(.ht-story-app),body:has(.ht-story-app){height:100%;overflow:hidden;background:#050507!important}.page-stories-pro,.page-stories-pro body{background:#050507;color:#fff}.page-stories-pro .topbar,.page-stories-pro .bottom-nav,.page-stories-pro .site-footer,.page-stories-pro footer{display:none!important}.ht-story-app{position:fixed;inset:0;z-index:9999;background:#050507;color:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}.ht-story-app *{box-sizing:border-box}.ht-story-shell{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(circle at 20% 10%,rgba(255,47,125,.18),transparent 32%),radial-gradient(circle at 80% 90%,rgba(123,60,255,.16),transparent 34%),#050507}.ht-story-shell:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72),transparent 32%,transparent 68%,rgba(0,0,0,.72));pointer-events:none}.ht-story-viewport{position:relative;width:min(430px,100vw);height:min(100vh,920px);max-height:100vh;aspect-ratio:9/16;background:#09090d;border-radius:30px;overflow:hidden;box-shadow:0 28px 90px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.08)}.ht-story-slide{position:absolute;inset:0;display:none;overflow:hidden;background:#09090d}.ht-story-slide.is-active{display:block}.ht-story-bg{position:absolute;inset:-32px;width:calc(100% + 64px);height:calc(100% + 64px);object-fit:cover;filter:blur(28px) saturate(1.18);transform:scale(1.08);opacity:.62}.ht-story-bg--text,.ht-story-bg--audio{background:radial-gradient(circle at 25% 15%,rgba(255,47,125,.78),transparent 34%),radial-gradient(circle at 80% 85%,rgba(123,60,255,.68),transparent 40%),linear-gradient(135deg,#17121f,#06060a);filter:none;opacity:1}.ht-story-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.06) 24%,rgba(0,0,0,.02) 54%,rgba(0,0,0,.70));pointer-events:none}.ht-story-media{position:absolute;inset:0;z-index:2;margin:0;display:grid;place-items:center}.ht-story-media img,.ht-story-media video{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:0;box-shadow:0 10px 42px rgba(0,0,0,.28)}.ht-story-media--video video{width:100%;height:100%;object-fit:contain;background:#000}.ht-story-card{position:absolute;z-index:4;left:24px;right:24px;top:50%;transform:translateY(-50%);padding:28px;border-radius:28px;text-align:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);backdrop-filter:blur(20px);box-shadow:0 24px 70px rgba(0,0,0,.35)}.ht-story-card>span{font-size:46px;display:block;margin-bottom:12px}.ht-story-card h1{margin:0 0 10px;font-size:28px;line-height:1.08}.ht-story-card p{margin:0;color:rgba(255,255,255,.84);font-size:16px;line-height:1.45}.ht-story-card audio{width:100%;margin-top:18px}.ht-story-progress{position:absolute;top:max(12px,env(safe-area-inset-top));left:50%;z-index:30;display:flex;gap:5px;width:min(410px,calc(100vw - 24px));transform:translateX(-50%)}.ht-story-progress i{height:3px;flex:1;border-radius:999px;background:rgba(255,255,255,.28);overflow:hidden}.ht-story-progress b{display:block;width:0;height:100%;border-radius:inherit;background:#fff}.ht-story-progress i.is-done b{width:100%}.ht-story-progress i.is-active b{animation:none}.ht-story-topbar{position:absolute;top:calc(max(12px,env(safe-area-inset-top)) + 12px);left:50%;z-index:31;width:min(410px,calc(100vw - 24px));transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:12px}.ht-story-author{display:flex;align-items:center;gap:10px;min-width:0;color:#fff;text-decoration:none;text-shadow:0 2px 12px rgba(0,0,0,.7)}.ht-story-author img,.ht-story-author>span{width:38px;height:38px;border-radius:15px;object-fit:cover;background:linear-gradient(135deg,#ff2f7d,#7b3cff);display:grid;place-items:center;font-weight:950;box-shadow:0 0 0 2px rgba(255,255,255,.18)}.ht-story-author strong{font-size:14px;max-width:185px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ht-story-author small{font-size:12px;color:rgba(255,255,255,.72);white-space:nowrap}.ht-story-close{width:38px;height:38px;border-radius:999px;display:grid;place-items:center;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.14);color:#fff;text-decoration:none;font-size:26px;line-height:1;backdrop-filter:blur(12px)}.ht-story-caption{position:absolute;z-index:8;left:22px;right:22px;bottom:112px;padding:16px 17px;border-radius:22px;background:linear-gradient(180deg,rgba(0,0,0,.24),rgba(0,0,0,.44));border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(14px);text-shadow:0 2px 14px rgba(0,0,0,.75)}.ht-story-caption h1{margin:0 0 6px;font-size:21px;line-height:1.12;letter-spacing:-.02em}.ht-story-caption p{margin:0;color:rgba(255,255,255,.87);font-size:14px;line-height:1.38}.ht-story-metrics{position:absolute;z-index:9;left:22px;bottom:70px;display:flex;align-items:center;gap:8px}.ht-story-metrics span{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:999px;background:rgba(0,0,0,.36);border:1px solid rgba(255,255,255,.10);font-weight:800;font-size:12px;backdrop-filter:blur(12px)}.ht-story-reactions{position:absolute;z-index:20;right:14px;bottom:68px;display:flex;flex-direction:column;gap:9px}.ht-story-reactions button{width:43px;height:43px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(12,12,16,.58);color:#fff;display:grid;place-items:center;font-size:21px;cursor:pointer;box-shadow:0 12px 32px rgba(0,0,0,.34);backdrop-filter:blur(14px);transition:transform .16s ease,background .16s ease}.ht-story-reactions button:hover{transform:translateY(-2px) scale(1.04);background:rgba(255,255,255,.16)}.ht-story-reactions.is-reacted button{opacity:.62}.ht-story-tap{position:absolute;top:70px;bottom:58px;z-index:12;border:0;background:transparent;color:transparent;cursor:pointer}.ht-story-tap--prev{left:0;width:34%}.ht-story-tap--next{right:0;width:66%}.ht-story-arrow{position:absolute;z-index:28;top:50%;transform:translateY(-50%);width:48px;height:76px;border-radius:24px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.08);color:#fff;font-size:42px;line-height:1;cursor:pointer;backdrop-filter:blur(16px)}.ht-story-arrow--prev{left:max(24px,calc(50vw - 305px))}.ht-story-arrow--next{right:max(24px,calc(50vw - 305px))}.ht-story-bottom{position:absolute;left:50%;bottom:max(12px,env(safe-area-inset-bottom));z-index:29;width:min(410px,calc(100vw - 24px));transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:10px}.ht-story-bottom a,.ht-story-bottom span{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border-radius:999px;background:rgba(0,0,0,.36);border:1px solid rgba(255,255,255,.12);color:#fff;text-decoration:none;font-size:13px;font-weight:850;backdrop-filter:blur(14px)}.ht-story-empty{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 30% 10%,rgba(255,47,125,.20),transparent 38%),#050507}.ht-story-empty__back{position:fixed;top:18px;left:18px;color:#fff;text-decoration:none;font-weight:800}.ht-story-empty__card{width:min(440px,100%);padding:34px;border-radius:32px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.35)}.ht-story-empty__card span{font-size:54px}.ht-story-empty__card h1{margin:14px 0 10px;font-size:28px}.ht-story-empty__card p{margin:0;color:rgba(255,255,255,.70);line-height:1.5}.ht-story-empty__card a{display:inline-flex;margin-top:18px;min-height:44px;align-items:center;justify-content:center;padding:0 18px;border-radius:999px;background:linear-gradient(135deg,#ff2f7d,#7b3cff);color:#fff;text-decoration:none;font-weight:900}.composer-preview-card.is-story-preview,.live-preview-card.is-story-preview{aspect-ratio:9/16!important;max-height:560px;overflow:hidden;border-radius:30px;background:linear-gradient(145deg,#17121f,#06060a)!important}.composer-preview-card.is-story-preview .preview-media,.live-preview-card.is-story-preview .preview-media{aspect-ratio:9/16!important;border-radius:24px;display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,rgba(255,47,125,.22),transparent 40%),rgba(255,255,255,.06)}.composer-preview-card.is-story-preview img,.live-preview-card.is-story-preview img{width:100%;height:100%;object-fit:contain!important;background:#09090d}.story-strip--pro .story-pro-item img,.story-row .story img{object-fit:cover}.story-strip--pro .story-pro-item,.story-row .story{transition:transform .18s ease}.story-strip--pro .story-pro-item:hover,.story-row .story:hover{transform:translateY(-2px)}@media (max-width:760px){.ht-story-shell:before{display:none}.ht-story-viewport{width:100vw;height:100dvh;max-height:none;border-radius:0;box-shadow:none}.ht-story-progress,.ht-story-topbar,.ht-story-bottom{width:calc(100vw - 20px)}.ht-story-progress{top:max(8px,env(safe-area-inset-top))}.ht-story-topbar{top:calc(max(8px,env(safe-area-inset-top)) + 11px)}.ht-story-close{background:rgba(0,0,0,.28)}.ht-story-author strong{max-width:150px}.ht-story-arrow{display:none}.ht-story-caption{left:14px;right:14px;bottom:104px;border-radius:20px;padding:14px}.ht-story-caption h1{font-size:19px}.ht-story-caption p{font-size:13px}.ht-story-metrics{left:14px;bottom:60px}.ht-story-reactions{right:10px;bottom:58px}.ht-story-reactions button{width:39px;height:39px;font-size:19px}.ht-story-bottom{bottom:max(8px,env(safe-area-inset-bottom))}.ht-story-card{left:18px;right:18px;padding:24px}.ht-story-media img,.ht-story-media video{box-shadow:none}}@media (min-width:761px){.ht-story-media img{border-radius:20px}.ht-story-media--image img{max-width:100%;max-height:100%}}@media (prefers-reduced-motion:reduce){.ht-story-progress i.is-active b{animation:none!important}.ht-story-reactions button,.story-strip--pro .story-pro-item,.story-row .story{transition:none!important}}
.ht-story-app.is-paused .ht-story-viewport:before{content:"Pozastaveno";position:absolute;left:50%;top:50%;z-index:60;transform:translate(-50%,-50%);padding:10px 14px;border-radius:999px;background:rgba(0,0,0,.52);border:1px solid rgba(255,255,255,.14);color:#fff;font-size:13px;font-weight:900;letter-spacing:.02em;backdrop-filter:blur(14px);pointer-events:none;opacity:.92}

/* RC11.3 — Stories Engagement + Music Pack */
.ht-story-music-chip{position:absolute;left:18px;top:86px;z-index:12;display:flex;align-items:center;gap:8px;max-width:calc(100% - 36px);padding:9px 12px;border-radius:999px;background:rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(14px);box-shadow:0 14px 34px rgba(0,0,0,.28);pointer-events:none}.ht-story-music-chip span{font-size:15px}.ht-story-music-chip b{font-size:12px;line-height:1;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ht-story-music-chip small{font-size:11px;color:rgba(255,255,255,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ht-story-music-audio{display:none!important}.ht-story-metrics button{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:900;padding:0;cursor:pointer}.ht-story-reactions button.is-selected{background:linear-gradient(135deg,rgba(255,47,125,.95),rgba(123,60,255,.78))!important;border-color:rgba(255,255,255,.28)!important;transform:translateY(-2px) scale(1.04)}.ht-story-reactions button{position:relative}.ht-story-reactions button em{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;border-radius:999px;background:#fff;color:#111;font-size:10px;line-height:17px;font-style:normal;font-weight:950}.ht-story-reactions.is-sending{opacity:.72;pointer-events:none}.ht-story-reply{position:absolute;left:14px;right:76px;bottom:12px;z-index:16;display:flex;gap:8px;align-items:center}.ht-story-reply input{min-width:0;flex:1;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.38);color:#fff;padding:0 14px;font:inherit;font-size:13px;outline:none;backdrop-filter:blur(14px)}.ht-story-reply input::placeholder{color:rgba(255,255,255,.55)}.ht-story-reply input:focus{border-color:rgba(255,47,125,.55);box-shadow:0 0 0 4px rgba(255,47,125,.12)}.ht-story-reply button{width:44px;height:44px;border-radius:999px;border:0;background:linear-gradient(135deg,#ff2f7d,#7b3cff);color:#fff;font-weight:950}.ht-story-reply.is-sent input{border-color:rgba(70,255,160,.44);background:rgba(70,255,160,.08)}.ht-story-viewers{position:absolute;left:12px;right:12px;bottom:72px;z-index:40;max-height:min(390px,55vh);overflow:auto;border:1px solid rgba(255,255,255,.13);border-radius:24px;background:rgba(10,10,16,.86);box-shadow:0 24px 70px rgba(0,0,0,.52);backdrop-filter:blur(22px);padding:12px}.ht-story-viewers[hidden]{display:none!important}.ht-story-viewers>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.ht-story-viewers strong{font-size:14px}.ht-story-viewers button{width:32px;height:32px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;font-size:18px}.ht-story-viewers a{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:9px;border-radius:16px;color:#fff;text-decoration:none}.ht-story-viewers a:hover{background:rgba(255,255,255,.06)}.ht-story-viewers img,.ht-story-viewers a>span{width:38px;height:38px;border-radius:999px;object-fit:cover;background:linear-gradient(135deg,#ff2f7d,#7b3cff);display:grid;place-items:center;font-weight:950}.ht-story-viewers b{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ht-story-viewers small{font-size:18px}.ht-story-toast{position:absolute;left:50%;bottom:78px;z-index:80;transform:translateX(-50%);padding:10px 14px;border-radius:999px;background:rgba(0,0,0,.62);border:1px solid rgba(255,255,255,.14);color:#fff;font-size:13px;font-weight:900;box-shadow:0 16px 44px rgba(0,0,0,.34);animation:htStoryToast .22s ease both}@keyframes htStoryToast{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:760px){.ht-story-music-chip{left:14px;top:86px;max-width:calc(100vw - 28px)}.ht-story-reply{left:12px;right:64px;bottom:max(10px,env(safe-area-inset-bottom))}.ht-story-viewers{bottom:68px}}


/* RC11.4 — Story views + replies polish */
.ht-story-viewers a{grid-template-columns:38px 1fr auto auto}.ht-story-viewers a i{font-style:normal;font-size:11px;color:rgba(255,255,255,.5);white-space:nowrap}.ht-story-viewers-empty{margin:8px 4px 2px;padding:14px;border-radius:18px;background:rgba(255,255,255,.055);color:rgba(255,255,255,.7);font-size:13px;text-align:center}.ht-story-reply.is-sending input,.ht-story-reactions.is-sending button{opacity:.68}.ht-story-reply button:disabled,.ht-story-reactions button:disabled{cursor:wait}
@media(max-width:760px){.ht-story-viewers a{grid-template-columns:36px 1fr auto}.ht-story-viewers a i{display:none}}


/* RC11.4 — visible owner stats + reply composer fix */
.ht-story-tap{bottom:150px!important;z-index:11!important}
.ht-story-metrics{z-index:34!important;left:14px!important;right:14px!important;bottom:78px!important;display:flex!important;align-items:center!important;gap:8px!important;pointer-events:auto!important}
.ht-story-metrics--owner{bottom:18px!important}
.ht-story-metrics--viewer{left:14px!important;right:82px!important;bottom:76px!important}
.ht-story-metric{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:40px!important;padding:0 12px!important;border-radius:999px!important;background:rgba(0,0,0,.48)!important;border:1px solid rgba(255,255,255,.14)!important;color:#fff!important;font-weight:900!important;font-size:12px!important;text-decoration:none!important;box-shadow:0 12px 32px rgba(0,0,0,.30)!important;backdrop-filter:blur(16px)!important}
.ht-story-metric strong{font-size:13px!important;line-height:1!important}
.ht-story-metric em{font-style:normal!important;font-size:11px!important;color:rgba(255,255,255,.72)!important}
button.ht-story-metric{cursor:pointer!important}
button.ht-story-metric:hover{background:rgba(255,255,255,.14)!important;transform:translateY(-1px)}
.ht-story-metric--views{background:linear-gradient(135deg,rgba(255,47,125,.72),rgba(123,60,255,.62))!important;border-color:rgba(255,255,255,.20)!important}
.ht-story-metric--counter{margin-left:auto!important;min-width:54px!important}
.ht-story-slide--viewer .ht-story-metrics{display:none!important}
.ht-story-reactions{z-index:36!important;right:14px!important;bottom:88px!important}
.ht-story-reply{z-index:38!important;left:14px!important;right:14px!important;bottom:max(14px,env(safe-area-inset-bottom))!important;padding:8px!important;border-radius:28px!important;background:rgba(0,0,0,.34)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 16px 44px rgba(0,0,0,.36)!important;backdrop-filter:blur(18px)!important}
.ht-story-reply input{height:42px!important;background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.16)!important}
.ht-story-reply button{height:42px!important;width:42px!important;flex:0 0 42px!important}
.ht-story-reply__chat{height:42px!important;padding:0 13px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.13)!important;color:#fff!important;text-decoration:none!important;font-size:12px!important;font-weight:900!important;white-space:nowrap!important}
.ht-story-reply__chat[hidden]{display:none!important}
.ht-story-bottom{display:none!important}
.ht-story-viewers{z-index:60!important;bottom:74px!important}
.ht-story-viewers a{grid-template-columns:38px minmax(0,1fr) auto auto!important}
.ht-story-toast{z-index:80!important}
@media (max-width:560px){
  .ht-story-viewport{width:100vw!important;height:100vh!important;border-radius:0!important;max-height:100vh!important}
  .ht-story-shell{display:block!important}
  .ht-story-progress{top:calc(8px + env(safe-area-inset-top))!important}
  .ht-story-topbar{top:calc(18px + env(safe-area-inset-top))!important}
  .ht-story-reactions{right:10px!important;bottom:86px!important;gap:7px!important}
  .ht-story-reactions button{width:39px!important;height:39px!important;font-size:19px!important}
  .ht-story-reply{left:10px!important;right:10px!important}
  .ht-story-reply input{font-size:13px!important;padding:0 12px!important}
  .ht-story-reply__chat{position:absolute!important;right:8px!important;bottom:58px!important;background:rgba(123,60,255,.82)!important}
  .ht-story-metrics--owner{left:10px!important;right:10px!important;bottom:12px!important}
  .ht-story-viewers{left:10px!important;right:10px!important;bottom:68px!important;max-height:58vh!important}
}

/* RC11.5B — Highlights */
.ht-story-highlight{position:absolute;left:14px;right:14px;bottom:128px;z-index:41;display:flex;align-items:center;gap:8px;pointer-events:auto}.ht-story-highlight input{min-width:0;width:132px;height:40px;border-radius:999px;border:1px solid rgba(255,255,255,.15);background:rgba(0,0,0,.42);color:#fff;padding:0 12px;font-size:12px;font-weight:800;outline:none;backdrop-filter:blur(14px)}.ht-story-highlight input:focus{border-color:rgba(255,47,125,.55);box-shadow:0 0 0 4px rgba(255,47,125,.12)}.ht-story-metric--highlight{width:auto!important;margin-left:0!important}.ht-story-metric--highlight.is-active{background:linear-gradient(135deg,rgba(255,196,56,.82),rgba(255,47,125,.58))!important;border-color:rgba(255,255,255,.24)!important}.ht-story-highlight.is-sending{opacity:.7;pointer-events:none}.profile-highlights{margin:14px 0 6px;padding:14px;border-radius:28px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);overflow:hidden}.profile-highlights__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.profile-highlights__head h2{margin:0;font-size:16px}.profile-highlights__head small{color:rgba(255,255,255,.58);font-size:12px}.profile-highlights__rail{display:flex;gap:13px;overflow:auto;padding:2px 2px 6px;scrollbar-width:thin}.profile-highlight{flex:0 0 82px;text-align:center;color:inherit;text-decoration:none}.profile-highlight__cover{width:76px;height:76px;margin:0 auto 7px;border-radius:999px;padding:3px;background:linear-gradient(135deg,#ffc438,#ff2f7d,#7b3cff);box-shadow:0 12px 34px rgba(0,0,0,.22)}.profile-highlight__cover>span,.profile-highlight__cover>img{display:grid;place-items:center;width:100%;height:100%;border-radius:999px;background:#121018;object-fit:cover;border:3px solid #111018;font-size:24px}.profile-highlight strong{display:block;font-size:12px;line-height:1.18;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-highlight small{display:block;margin-top:2px;font-size:10px;color:rgba(255,255,255,.55)}@media(max-width:760px){.ht-story-highlight{bottom:118px}.ht-story-highlight input{width:112px}.profile-highlights{margin-left:-2px;margin-right:-2px;border-radius:24px;padding:12px}.profile-highlight{flex-basis:74px}.profile-highlight__cover{width:68px;height:68px}}




/* RC11.5C2 — Profile Highlights polished row */
.profile-layout > .profile-highlights{display:none!important}
.profile-highlights.profile-highlights--feed{
  margin:0 0 16px!important;
  padding:13px 16px 12px!important;
  width:100%!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 18% 0%,rgba(255,47,125,.16),transparent 34%),
    linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.028))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.22)!important;
  overflow:hidden!important;
}
.profile-highlights.profile-highlights--feed .profile-highlights__head{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  margin:0 0 11px!important;
  padding:0 1px!important;
}
.profile-highlights.profile-highlights--feed .profile-highlights__head h2{
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  color:#fff!important;
}
.profile-highlights.profile-highlights--feed .profile-highlights__head small{display:none!important}
.profile-highlights.profile-highlights--feed .profile-highlights__rail{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:16px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:1px 2px 2px!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
}
.profile-highlights.profile-highlights--feed .profile-highlights__rail::-webkit-scrollbar{display:none!important}
.profile-highlights.profile-highlights--feed .profile-highlight{
  flex:0 0 72px!important;
  width:72px!important;
  min-width:72px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:6px!important;
  color:#fff!important;
  text-decoration:none!important;
  text-align:center!important;
  transform:none!important;
}
.profile-highlights.profile-highlights--feed .profile-highlight__cover{
  box-sizing:border-box!important;
  width:64px!important;
  height:64px!important;
  min-width:64px!important;
  min-height:64px!important;
  max-width:64px!important;
  max-height:64px!important;
  margin:0!important;
  padding:2px!important;
  display:block!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,#ffd15c 0%,#ff2f7d 52%,#7b3cff 100%)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.30),0 0 0 1px rgba(255,255,255,.10)!important;
  overflow:hidden!important;
}
.profile-highlights.profile-highlights--feed .profile-highlight__cover>img,
.profile-highlights.profile-highlights--feed .profile-highlight__cover>span{
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  display:block!important;
  border-radius:50%!important;
  border:3px solid rgba(13,11,17,.96)!important;
  background:#15111d!important;
  object-fit:cover!important;
  object-position:center!important;
  aspect-ratio:1/1!important;
}
.profile-highlights.profile-highlights--feed .profile-highlight__cover>span{
  display:grid!important;
  place-items:center!important;
  font-size:23px!important;
}
.profile-highlights.profile-highlights--feed .profile-highlight strong{
  display:block!important;
  width:72px!important;
  max-width:72px!important;
  font-size:11px!important;
  line-height:1.15!important;
  font-weight:850!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:rgba(255,255,255,.94)!important;
  text-shadow:0 1px 12px rgba(0,0,0,.35)!important;
}
.profile-highlights.profile-highlights--feed .profile-highlight small{display:none!important}
.profile-highlights.profile-highlights--feed + .profile-tabs{margin-top:0!important}
@media(min-width:1020px){
  .profile-highlights.profile-highlights--feed .profile-highlights__rail{justify-content:flex-start!important}
}
@media(max-width:860px){
  .profile-highlights.profile-highlights--feed{margin:0 0 14px!important;padding:12px 12px 10px!important;border-radius:22px!important}
  .profile-highlights.profile-highlights--feed .profile-highlights__rail{gap:13px!important}
  .profile-highlights.profile-highlights--feed .profile-highlight{flex-basis:68px!important;width:68px!important;min-width:68px!important}
  .profile-highlights.profile-highlights--feed .profile-highlight__cover{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;max-width:60px!important;max-height:60px!important}
  .profile-highlights.profile-highlights--feed .profile-highlight strong{width:68px!important;max-width:68px!important;font-size:10.5px!important}
}

/* RC11.9 Stories stability: compact highlight pin + audio-safe UI */
.ht-story-highlight{
  position:absolute!important;
  top:82px!important;
  right:18px!important;
  left:auto!important;
  bottom:auto!important;
  z-index:72!important;
  width:auto!important;
  height:auto!important;
  display:block!important;
  pointer-events:auto!important;
}
.ht-story-highlight input[type="text"],
.ht-story-highlight input:not([type]),
.ht-story-highlight input[data-story-highlight-title]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.ht-story-pin{
  appearance:none!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  padding:0!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  background:rgba(8,8,12,.48)!important;
  color:#fff!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:0 14px 36px rgba(0,0,0,.38)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  cursor:pointer!important;
  transform:none!important;
  transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease!important;
}
.ht-story-pin:hover{transform:translateY(-1px) scale(1.03)!important;background:rgba(255,255,255,.13)!important}
.ht-story-pin.is-active{background:linear-gradient(135deg,rgba(255,196,56,.95),rgba(255,47,125,.78))!important;border-color:rgba(255,255,255,.32)!important;box-shadow:0 18px 44px rgba(255,47,125,.28)!important}
.ht-story-pin span{font-size:19px!important;line-height:1!important;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))!important}
.ht-story-pin strong,.ht-story-pin .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ht-story-music-chip{pointer-events:auto!important;cursor:pointer!important}
.ht-story-app.is-paused .ht-story-shell:after{
  content:'⏸';
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  z-index:90;
  width:72px;height:72px;
  display:grid;place-items:center;
  border-radius:999px;
  background:rgba(0,0,0,.34);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;font-size:30px;
  pointer-events:none;
  backdrop-filter:blur(14px);
}
@media(max-width:760px){
  .ht-story-highlight{top:78px!important;right:14px!important}
  .ht-story-pin{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
}

/* RC10.55 — Stories Hub */
.page-stories-hub{background:radial-gradient(circle at 74% 0,rgba(255,47,125,.20),transparent 34%),radial-gradient(circle at 12% 45%,rgba(123,60,255,.13),transparent 36%),#050507!important;color:#fff!important;min-height:100vh}.page-stories-hub .ht-main{padding-bottom:120px}.ht-stories-hub{width:min(1280px,calc(100% - 84px));margin:0 auto;padding:34px 0 120px;position:relative;z-index:1}.ht-stories-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:center;margin-bottom:22px;padding:28px;border-radius:34px;background:linear-gradient(135deg,rgba(255,255,255,.078),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.11);box-shadow:0 26px 80px rgba(0,0,0,.35);overflow:hidden;position:relative}.ht-stories-hero:before{content:"";position:absolute;right:-120px;top:-130px;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,rgba(255,47,125,.28),transparent 68%);pointer-events:none}.ht-stories-hero>div,.ht-stories-hero>aside{position:relative;z-index:1}.ht-stories-hero .eyebrow{margin:0 0 15px;color:#ff77ba;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:950}.ht-stories-hero h1{margin:0 0 14px;font-size:clamp(38px,5vw,68px);line-height:.95;letter-spacing:-.07em}.ht-stories-hero p{max-width:720px;margin:0;color:rgba(255,255,255,.68);font-size:17px;line-height:1.62}.ht-stories-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.ht-story-phone-card{height:380px;border-radius:36px;position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(255,47,125,.35),rgba(123,60,255,.20));border:1px solid rgba(255,255,255,.13);box-shadow:0 28px 90px rgba(0,0,0,.42);display:flex;flex-direction:column;justify-content:flex-end;padding:22px}.ht-story-phone-card:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.78),transparent 58%);pointer-events:none}.ht-story-phone-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ht-story-phone-card>span{position:absolute;inset:0;display:grid;place-items:center;font-size:66px}.ht-story-phone-card b,.ht-story-phone-card small{position:relative;z-index:1}.ht-story-phone-card b{font-size:28px;letter-spacing:-.04em}.ht-story-phone-card small{margin-top:6px;color:rgba(255,255,255,.70);font-weight:850}.ht-stories-section{margin-top:18px;padding:22px;border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.028));border:1px solid rgba(255,255,255,.10);box-shadow:0 22px 70px rgba(0,0,0,.24)}.ht-stories-section .section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px}.ht-stories-section .section-head h2{margin:0;font-size:24px;letter-spacing:-.04em}.ht-stories-section .section-head h2:before{content:'✦';color:#ff2f7d;font-size:16px;margin-right:9px}.ht-stories-section .section-head a,.ht-stories-section .section-head span{color:#ff9fca;font-weight:900;font-size:13px;text-decoration:none}.ht-story-mine-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;border-radius:24px;padding:14px;background:rgba(255,255,255,.052);border:1px solid rgba(255,255,255,.09)}.ht-story-ring{position:relative;width:78px;height:78px;border-radius:999px;padding:3px;background:linear-gradient(135deg,#ffd15c,#ff2f7d 52%,#7b3cff);display:block;box-shadow:0 16px 40px rgba(0,0,0,.25);flex:0 0 auto}.ht-story-ring img,.ht-story-ring>span{width:100%;height:100%;border-radius:999px;display:grid;place-items:center;object-fit:cover;background:#15111d;border:3px solid #0d0b11;color:#fff;font-weight:950;font-size:28px}.ht-story-ring em{position:absolute;right:-3px;bottom:-3px;width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(135deg,#ff2f7d,#ff77ba);color:#fff;font-style:normal;font-weight:950;border:3px solid #0b0910;font-size:14px}.ht-story-mine-card strong{display:block;font-size:18px}.ht-story-mine-card p{margin:4px 0 0;color:rgba(255,255,255,.64);font-size:14px;line-height:1.45}.ht-stories-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ht-story-profile-card{display:grid;grid-template-columns:86px minmax(0,1fr);gap:13px;align-items:center;padding:12px;border-radius:24px;background:rgba(255,255,255,.052);border:1px solid rgba(255,255,255,.09);transition:transform .16s ease,background .16s ease}.ht-story-profile-card:hover{transform:translateY(-2px);background:rgba(255,255,255,.078)}.ht-story-profile-card__cover{position:relative;width:86px;height:112px;border-radius:22px;overflow:hidden;background:rgba(255,255,255,.07);display:grid;place-items:center;text-decoration:none;color:#fff}.ht-story-profile-card__cover:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.58),transparent 62%)}.ht-story-profile-card__cover img{width:100%;height:100%;object-fit:cover}.ht-story-profile-card__cover>span{font-size:32px}.ht-story-profile-card__cover i{position:absolute;left:8px;bottom:8px;z-index:1;font-style:normal;width:30px;height:30px;border-radius:999px;background:rgba(0,0,0,.42);display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(12px)}.ht-story-profile-card__body{min-width:0}.ht-story-profile-card__name{display:block;color:#fff;text-decoration:none;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ht-story-profile-card__body small{display:block;margin-top:4px;color:rgba(255,255,255,.58);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ht-story-profile-card__body div{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.ht-story-profile-card__body span{border-radius:999px;padding:6px 8px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.07);font-size:11px;font-weight:900;color:rgba(255,255,255,.76)}.ht-stories-empty-state{padding:38px 20px;text-align:center;border-radius:26px;background:rgba(255,255,255,.045);border:1px dashed rgba(255,255,255,.16)}.ht-stories-empty-state>span{font-size:48px}.ht-stories-empty-state h2{margin:12px 0 8px;font-size:26px;letter-spacing:-.04em}.ht-stories-empty-state p{max-width:560px;margin:0 auto 18px;color:rgba(255,255,255,.64);line-height:1.55}.ht-stories-empty-state .pink-btn{margin-top:2px}@media(max-width:1080px){.ht-stories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ht-stories-hero{grid-template-columns:1fr}.ht-stories-hero-card{display:none}}@media(max-width:760px){.page-stories-hub .ht-main{padding-bottom:96px}.ht-stories-hub{width:calc(100% - 24px);padding:10px 0 96px}.ht-stories-hero{border-radius:28px;padding:20px;margin-top:4px}.ht-stories-hero h1{font-size:38px}.ht-stories-hero p{font-size:14px}.ht-stories-hero-actions{display:grid;grid-template-columns:1fr 1fr}.ht-stories-hero-actions .pink-btn,.ht-stories-hero-actions .ghost-btn{justify-content:center;padding-inline:12px}.ht-stories-section{border-radius:24px;padding:14px;margin-top:14px}.ht-stories-section .section-head h2{font-size:20px}.ht-story-mine-card{grid-template-columns:auto minmax(0,1fr);gap:12px}.ht-story-mine-card>.pink-btn{grid-column:1/-1;width:100%;justify-content:center}.ht-story-ring{width:66px;height:66px}.ht-stories-grid{grid-template-columns:1fr;gap:10px}.ht-story-profile-card{grid-template-columns:74px minmax(0,1fr);border-radius:20px}.ht-story-profile-card__cover{width:74px;height:96px;border-radius:18px}.ht-story-profile-card__body small{font-size:11px}.ht-stories-empty-state{padding:28px 14px}}

/* RC13.1 — Mobile Story viewport + bottom composer safe-area fix */
.ht-story-app{
  --ht-story-safe-bottom: max(10px, env(safe-area-inset-bottom));
  --ht-story-composer-h: 60px;
}
@supports (height: 100dvh){
  .ht-story-app,.ht-story-shell{height:100dvh!important;min-height:100dvh!important;}
}
@media(max-width:760px){
  html:has(.ht-story-app),body:has(.ht-story-app){
    height:100%!important;
    min-height:100%!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  .ht-story-app{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:var(--ht-story-vh,100dvh)!important;
    min-height:var(--ht-story-vh,100dvh)!important;
    overflow:hidden!important;
    touch-action:manipulation;
  }
  .ht-story-shell{
    position:absolute!important;
    inset:0!important;
    width:100vw!important;
    height:var(--ht-story-vh,100dvh)!important;
    min-height:var(--ht-story-vh,100dvh)!important;
    display:block!important;
    overflow:hidden!important;
  }
  .ht-story-viewport{
    width:100vw!important;
    height:var(--ht-story-vh,100dvh)!important;
    min-height:var(--ht-story-vh,100dvh)!important;
    max-height:none!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .ht-story-slide{
    inset:0!important;
    padding-bottom:calc(var(--ht-story-composer-h) + var(--ht-story-safe-bottom) + 8px)!important;
  }
  .ht-story-tap{
    top:72px!important;
    bottom:calc(var(--ht-story-composer-h) + var(--ht-story-safe-bottom) + 10px)!important;
  }
  .ht-story-reply{
    left:8px!important;
    right:8px!important;
    bottom:var(--ht-story-safe-bottom)!important;
    min-height:52px!important;
    padding:6px!important;
    border-radius:24px!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    background:rgba(5,5,8,.72)!important;
    border:1px solid rgba(255,255,255,.14)!important;
    box-shadow:0 14px 42px rgba(0,0,0,.52)!important;
    backdrop-filter:blur(22px)!important;
    -webkit-backdrop-filter:blur(22px)!important;
  }
  .ht-story-reply input{
    min-width:0!important;
    height:40px!important;
    font-size:13px!important;
    padding:0 12px!important;
  }
  .ht-story-reply button{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
  }
  .ht-story-reply__chat{
    position:absolute!important;
    right:8px!important;
    bottom:calc(100% + 8px)!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 12px!important;
    background:rgba(123,60,255,.88)!important;
    box-shadow:0 12px 32px rgba(0,0,0,.34)!important;
  }
  .ht-story-reactions{
    right:8px!important;
    bottom:calc(var(--ht-story-composer-h) + var(--ht-story-safe-bottom) + 10px)!important;
    gap:6px!important;
    max-height:calc(var(--ht-story-vh,100dvh) - 164px - var(--ht-story-composer-h) - var(--ht-story-safe-bottom))!important;
    overflow:visible!important;
  }
  .ht-story-reactions button{
    width:37px!important;
    height:37px!important;
    min-width:37px!important;
    min-height:37px!important;
    font-size:18px!important;
  }
  .ht-story-reactions button em{
    right:-3px!important;
    top:-4px!important;
  }
  .ht-story-metrics--viewer{
    left:10px!important;
    right:58px!important;
    bottom:calc(var(--ht-story-composer-h) + var(--ht-story-safe-bottom) + 8px)!important;
  }
  .ht-story-metrics--owner{
    left:10px!important;
    right:10px!important;
    bottom:var(--ht-story-safe-bottom)!important;
  }
  .ht-story-caption{
    left:12px!important;
    right:58px!important;
    bottom:calc(var(--ht-story-composer-h) + var(--ht-story-safe-bottom) + 58px)!important;
    max-height:28vh!important;
    overflow:auto!important;
  }
  .ht-story-highlight{
    left:10px!important;
    right:58px!important;
    bottom:calc(var(--ht-story-composer-h) + var(--ht-story-safe-bottom) + 58px)!important;
  }
  .ht-story-viewers{
    left:8px!important;
    right:8px!important;
    bottom:calc(var(--ht-story-composer-h) + var(--ht-story-safe-bottom) + 8px)!important;
    max-height:min(58vh,calc(var(--ht-story-vh,100dvh) - 170px))!important;
  }
  .ht-story-toast{
    bottom:calc(var(--ht-story-composer-h) + var(--ht-story-safe-bottom) + 18px)!important;
    max-width:calc(100vw - 24px)!important;
    white-space:nowrap!important;
  }
}
@media(max-width:380px){
  .ht-story-reactions button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;font-size:16px!important;}
  .ht-story-reactions{gap:5px!important;right:7px!important;}
  .ht-story-metric{min-height:34px!important;padding:0 9px!important;font-size:11px!important;}
  .ht-story-metric em{display:none!important;}
  .ht-story-caption{right:52px!important;font-size:12px!important;}
}
