/* Scoped homepage video; the administrative panel exists only in private preview. */
.stlhe-slot, .stlhe-slot *, .stlhe-panel, .stlhe-panel * { box-sizing: border-box; }
.stlhe-slot {
  width:100%; min-width:0; max-width:100%; align-self:center; justify-self:stretch;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:0;
}
.stlhe-player {
  position:relative!important; isolation:isolate; width:100%; max-width:560px;
  aspect-ratio:16 / 9; height:auto!important; padding:0!important;
  flex:0 0 auto; overflow:hidden; border-radius:30px;
  background:#a69787; box-shadow:0 22px 54px rgba(67,44,30,.12);
  transform:none!important; filter:none!important; animation:none!important;
}
.stlhe-player > .stlhe-poster, .stlhe-player > .stlhe-video {
  position:absolute!important; inset:0!important; display:block!important;
  width:100%!important; height:100%!important; max-width:none!important; min-height:0!important;
  margin:0!important; padding:0!important; border:0!important; border-radius:0!important;
  object-fit:contain!important; object-position:center!important;
  transform:none!important; filter:none!important; animation:none!important; mix-blend-mode:normal!important;
  pointer-events:none!important;
}
.stlhe-player > .stlhe-poster { z-index:1; opacity:1!important; }
.stlhe-player > .stlhe-video { z-index:2; opacity:0!important; }
.stlhe-player.stlhe-has-frame > .stlhe-video { opacity:1!important; }
.stlhe-slot .stlhe-tag {
  position:static; display:block; width:100%; max-width:560px; margin:0; padding:0;
  color:#785b47; text-align:left;
  font:600 11px/1.3 system-ui,sans-serif; letter-spacing:.12em; text-transform:uppercase;
  pointer-events:none;
}
.stlhe-meta {
  width:100%; max-width:560px; display:flex; align-items:center; justify-content:space-between;
  gap:12px; min-height:44px;
}
.stlhe-slot .stlhe-caption {
  position:static; display:block; min-width:0; margin:0; padding:0; color:#4d382c;
  font:600 12px/1.4 system-ui,sans-serif; text-align:left; pointer-events:none;
}
.stlhe-toggle {
  position:static!important; flex:0 0 auto;
  min-width:88px; min-height:44px; padding:9px 12px; margin:0 0 0 auto;
  background:rgba(35,27,22,.92)!important; color:#fff!important;
  border:1px solid rgba(255,255,255,.7)!important; border-radius:24px!important;
  font:600 12px/1.2 system-ui,sans-serif!important; cursor:pointer;
}
.stlhe-toggle:focus-visible, .stlhe-panel button:focus-visible, .stlhe-panel a:focus-visible {
  outline:3px solid #b27b46!important; outline-offset:3px;
}
.stlhe-panel {
  position:fixed!important; z-index:2147483600; right:16px; bottom:16px;
  width:min(360px,calc(100vw - 32px)); padding:17px;
  background:#fffdf9!important; color:#32271f!important; border:1px solid #d6c5b5;
  border-radius:16px; box-shadow:0 8px 42px rgba(0,0,0,.2); text-align:left!important;
  font:14px/1.45 system-ui,sans-serif!important;
}
.stlhe-panel strong { font-size:14px; }
.stlhe-panel p { margin:9px 0!important; font:inherit!important; color:inherit!important; }
.stlhe-panel small { display:block; color:#655448; font-size:12px; margin-top:9px; }
.stlhe-panel .stlhe-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.stlhe-panel button, .stlhe-panel a {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:38px; margin:0; padding:8px 11px; border:1px solid #bca38e;
  border-radius:9px; background:#fff; color:#473326; text-decoration:none!important;
  font:600 12px/1.35 system-ui,sans-serif; letter-spacing:normal; cursor:pointer;
}
.stlhe-panel button:disabled { opacity:.45; cursor:default; }
.stlhe-panel .stlhe-primary { background:#4a3427; color:#fff; }
.stlhe-panel .stlhe-collapse { float:right; padding:1px 7px; min-height:24px; margin-left:6px; }
.stlhe-panel.stlhe-compact { width:auto; max-width:calc(100vw - 32px); padding:10px 14px; }
.stlhe-panel.stlhe-compact .stlhe-details { display:none; }
.stlhe-selection-outline { outline:3px dashed #b17f4b!important; outline-offset:4px!important; }
body.stlhe-selecting img, body.stlhe-selecting video { cursor:crosshair!important; }
@media(max-width:767px) {
  .stlhe-player { max-width:100%; border-radius:26px; }
  .stlhe-panel { right:10px; bottom:10px; width:calc(100vw - 20px); padding:13px; }
  .stlhe-panel.stlhe-compact { width:auto; max-width:calc(100vw - 20px); }
  .stlhe-slot .stlhe-caption { font-size:11px; }
}
.stlhe-panel [hidden] { display:none!important; }
