/* One layout for server fallback, recovered player and compact model actions. */
html body.phspb-stream-template .phspb-hero-main-card .phspb-embed-wrap:is(.phspb-status-updating,.phspb-availability-panel,.phspb-offline,.phspb-live-no-preview) {
  position:relative!important; display:flex!important; align-items:center!important;
  aspect-ratio:auto!important; height:auto!important; min-height:0!important;
  padding:24px!important;
}
html body.phspb-stream-template :is(.phspb-status-updating,.phspb-offline) .phspb-offline-placeholder {
  position:static!important; inset:auto!important; width:100%!important;
  min-height:0!important; height:auto!important; padding:0!important;
}
html body.phspb-stream-template :is(.phspb-status-updating,.phspb-offline) .phspb-offline-label {
  font-size:20px!important; line-height:1.35!important;
}
html body.phspb-stream-template .phspb-status-updating .phspb-offline-sub { display:none!important; }
html body.phspb-stream-template .phspb-status-updating .phspb-offline-actions { margin-top:12px!important; }
html body.phspb-stream-template .phspb-heading-copy .ph-profile-bridge {
  display:inline-flex; margin:0 0 8px; padding:0; border:0; background:none;
  font-size:13px; line-height:1.3;
}
.phspb-heading-copy .ph-profile-bridge a { display:inline-flex;align-items:center;min-height:44px; }
html body.phspb-stream-template .phspb-hero-main-card .phspb-model-page-actions {
  display:flex!important; align-items:center!important; justify-content:flex-start!important;
  gap:8px!important; margin:12px 0!important; flex-wrap:wrap!important;
}
html body.phspb-stream-template .phspb-model-page-actions > button {
  position:static!important; margin:0!important; min-height:44px!important; min-width:44px!important;
}
.phspb-socials-toggle,.phspb-model-search-toggle { display:none!important; }
.phspb-secondary-links { display:contents; }
html body .phspb-live-badge:not([data-room-state="public"])[data-room-state] .phspb-live-dot { display:none!important; }
html body .phspb-live-viewers[hidden] { display:none!important; }
.phspb-analytics-v3__achievements .phspb-achievement__copy { min-width:0; overflow-wrap:anywhere; }
.phspb-analytics-v3__achievements .phspb-achievement:only-child,
.phspb-analytics-v3__achievements .phspb-achievement:only-child .phspb-achievement__copy { min-height:0; }
.phspb-analytics-v3__achievements .phspb-achievement:only-child .phspb-achievement__share { margin-top:16px!important; }
@media(max-width:767px) {
  html body.phspb-stream-template #content { display:flow-root!important; }
  html body.phspb-stream-template #content > .page-header { display:none!important; }
  html body.phspb-stream-template .phspb-topbar { display:none!important; }
  html body.phspb-stream-template .phspb-hero-main-card {
    margin-top:8px!important; padding:14px!important; border-radius:18px!important;
  }
  html body.phspb-stream-template .phspb-heading-main { margin:0!important; padding:0!important; }
  html body.phspb-stream-template .phspb-heading-copy h1 {
    font-size:clamp(24px,6.8vw,30px)!important; line-height:1.15!important; margin:8px 0 0!important;
  }
  html body.phspb-stream-template .phspb-social-proof { gap:6px!important; margin:0!important; }
  html body.phspb-stream-template .phspb-sp-item { padding:5px 8px!important; min-height:28px!important; font-size:12px!important; }
  html body.phspb-stream-template .phspb-owned-socials { margin:4px 0 0!important; gap:0!important; }
  html body.phspb-stream-template .phspb-secondary-links { display:flex;align-items:center;gap:0 16px;flex-wrap:wrap;margin-top:4px; }
  html body.phspb-stream-template .phspb-secondary-links .ph-profile-bridge { margin:0; }
  html body.phspb-stream-template .phspb-secondary-links .phspb-owned-socials { display:contents!important; }
  html body.phspb-stream-template .phspb-secondary-links .phspb-owned-socials__links { flex-basis:100%; }
  html body.phspb-stream-template .phspb-owned-socials[data-disclosure-ready] .phspb-owned-socials__label { display:none!important; }
  html body.phspb-stream-template .phspb-socials-toggle {
    display:inline-flex!important; align-items:center; gap:8px; min-height:44px; margin:0;
    padding:0 4px; border:0; color:#d7c9eb; background:none; font-family:inherit; font-weight:600; font-size:13px; line-height:1.3;
  }
  .phspb-socials-toggle::after { content:'⌄'; }
  .phspb-socials-toggle[aria-expanded="true"]::after { content:'⌃'; }
  html body.phspb-stream-template .phspb-owned-socials[data-disclosure-open="false"] .phspb-owned-socials__links { display:none!important; }
  html body.phspb-stream-template .phspb-owned-socials__links { flex-wrap:wrap!important; gap:6px!important; }
  html body.phspb-stream-template .phspb-owned-social-link { min-height:44px!important; }
  html body.phspb-stream-template .phspb-model-page-actions > button {
    height:44px!important; padding:0 12px!important; border-radius:12px!important;
    font-size:13px!important; line-height:1!important; box-shadow:none!important;
  }
  html body.phspb-stream-template .phspb-model-search-toggle { display:inline-flex!important; align-items:center; justify-content:center; color:#eee5fb!important;background:#281b39!important;border:1px solid #76618d!important; }
  .phspb-model-search-toggle svg { width:20px;height:20px; }
  html body.phspb-stream-template .phspb-hero-main-card .phlc-stream-tools { margin:8px 0 0!important; padding:0!important; }
  html body.phspb-stream-template .phspb-hero-main-card .phlc-stream-tools button { min-height:44px!important; font-size:12px!important; }
  html body.phspb-stream-template .phspb-mobile-bar[data-show-floating="0"] { display:none!important; }
  html body.phspb-stream-template .phspb-availability-panel__copy h2 { font-size:20px!important; }
  html body.phspb-stream-template .phspb-availability-panel__copy p { font-size:14px!important; }
}

/* Cached fallback HTML must stay readable before any reveal observer fires. */
html body.phspb-stream-template .phspb-smart-preview-wrap .phspb-smart-preview-fallback {
  display:grid!important; position:relative!important; height:auto!important;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
  align-items:center!important; gap:20px!important; width:100%!important;
  min-height:0!important; padding:0!important;
}
html body.phspb-stream-template .phspb-smart-preview-wrap .phspb-smart-preview-fallback__content {
  opacity:1!important; transform:none!important; transition:none!important; max-width:none!important;
}
html body.phspb-stream-template .phspb-smart-preview-wrap :is(.phspb-smart-preview-fallback__backdrop,.phspb-smart-preview-fallback__shade,.phspb-smart-preview-fallback__state) { display:none!important; }
html body.phspb-stream-template .phspb-smart-preview-wrap .phspb-smart-preview-fallback__alternatives {
  display:block!important; min-width:0!important;
  opacity:1!important; transform:none!important; transition:none!important;
}
html body.phspb-stream-template .phspb-smart-preview-wrap .phspb-smart-preview-card {
  opacity:1!important; transform:none!important; transition:none!important;
}
html body.phspb-stream-template .phspb-offline :is(.phspb-offline-recommendation-actions .phspb-push-btn,.phspb-offline-actions .phspb-push-btn) {
  display:inline-flex!important; align-items:center; justify-content:center; min-height:44px;
}
@media(max-width:900px) {
  html body.phspb-stream-template .phspb-smart-preview-wrap .phspb-smart-preview-fallback {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(max-width:760px) {
  html body.phspb-stream-template .phspb-offline .phspb-smart-preview-card.phlc-favorite-host > .phlc-favorite-toggle {
    top:auto!important; right:auto!important; bottom:8px!important; left:8px!important;
  }
  html body.phspb-stream-template .phspb-offline .phspb-smart-preview-card__copy strong {
    white-space:normal; overflow-wrap:anywhere;
  }
}
html body.phspb-stream-template :is(.phspb-availability-panel__copy,.phspb-smart-preview-fallback__content) h2 {
  margin:0 0 8px!important; font-size:20px!important; line-height:1.35!important;
}
html body.phspb-stream-template :is(.phspb-availability-panel__copy,.phspb-smart-preview-fallback__content) p {
  margin:0 0 8px!important; font-size:14px!important; line-height:1.5!important;
}
html body.phspb-stream-template .phspb-embed-wrap .phspb-offline-link { display:inline-flex;align-items:center;min-height:44px; }

@media(max-width:359px) {
  html body.phspb-stream-template .phspb-model-page-actions [data-phlc-favorite-toggle] {
    width:44px!important; padding:0!important; justify-content:center!important;
  }
  html body.phspb-stream-template .phspb-model-page-actions [data-favorite-label] { display:none!important; }
}
