.sf-media-hud{position:absolute;inset:0;z-index:3;pointer-events:none;text-align:start;color:#fff;}
.sf-media-hud [hidden]{display:none!important;}
.sf-hud-summary,.sf-hud-details{color:white;background:rgb(9 20 26 / .67);text-shadow:0 1px 2px #071219;line-height:1.35;}
.sf-hud-summary{position:absolute;bottom:max(3.7rem,env(safe-area-inset-bottom));left:max(.65rem,env(safe-area-inset-left));right:max(.65rem,env(safe-area-inset-right));display:flex;align-items:center;gap:.55rem;width:fit-content;max-width:calc(100% - 1.3rem);padding:.2rem .45rem;}
.sf-hud-copy{min-width:0;overflow-wrap:anywhere;white-space:pre-line;}
.sf-hud-title,.sf-hud-caption{display:block;}
.sf-hud-title{font-size:1rem;font-weight:650;}
.sf-hud-caption{font-size:.94rem;}
.sf-hud-summary .sf-hud-title,.sf-hud-summary .sf-hud-caption{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:2;}
.sf-media-hud .sf-hud-sound{flex:none;display:grid;place-items:center;pointer-events:auto;touch-action:manipulation;width:44px;height:44px;padding:0;border:0;background:transparent;color:#fff;}
.sf-hud-sound:focus-visible{outline:2px solid currentColor;outline-offset:-2px;}
.sf-hud-sound svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;}
.sf-hud-details{position:absolute;width:max-content;max-width:min(32rem,calc(100% - 16px));padding:.5rem .75rem;overflow:auto;scrollbar-width:thin;}
.sf-story-stage{isolation:isolate;}
.sf-story-head time,.sf-story-author strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.sf-story-head .sf-story-author{margin-inline-end:auto;}
.sf-viewer:has(.sf-hud-summary[hidden]) .sf-story-views:not(:focus-visible){opacity:0;}
.sf-story-play-retry{z-index:5;}
.sf-hud-author{display:block;font-size:.85rem;font-weight:600;}
.sf-hud-summary .sf-hud-author{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sf-story-card .sf-story-profile{position:absolute;z-index:2;left:4px;top:4px;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;background:transparent;border:0;touch-action:manipulation;}
.sf-story-card .sf-story-profile .sf-bubble{position:static;width:33px;height:33px;border:3px solid #00869c;}
.sf-story-card.sf-seen .sf-story-profile .sf-bubble{border-color:#93a5ab;}
.sf-viewer .sf-story-like{position:absolute;bottom:max(14px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));width:46px;height:46px;touch-action:manipulation;}
.sf-story-like[aria-pressed="true"]{color:#ff627d;}
.sf-story-like[aria-pressed="true"] svg{fill:currentColor;}
.sf-media-hud .sf-sound-independent {
  position:absolute; right:max(.4rem,env(safe-area-inset-right)); bottom:calc(58px + env(safe-area-inset-bottom));
  width:44px; height:44px; min-width:44px; min-height:44px;
  border-radius:50%; background:rgb(9 20 26 / .72); color:#fff; cursor:pointer;
}
.sf-hud-sound :is(svg,path) { pointer-events:none; }
.sf-media-youtube:not(.sf-yt-active) .sf-sound-independent { display:none; }
