/* Interactive experience only. Existing type, container and palette remain authoritative. */
.whm-interactive-page .whm-live { min-width:0; }
.whm-live [hidden] { display:none !important; }
.whm-live-viewport { position:relative; aspect-ratio:16/9; overflow:hidden; background:#33302d; }
.whm-live-frame,.whm-live-frame iframe,.whm-live-layer,.whm-live-cover,.whm-live-background,.whm-live-shade { position:absolute; inset:0; width:100%; height:100%; }
.whm-live-frame iframe { border:0; display:block; }
.whm-live-cover,.whm-live-background { object-fit:cover; }
.whm-live-background { opacity:0; }
.whm-live-background.is-playing { opacity:1; }
.whm-live-layer { z-index:2; display:grid; place-items:center; }
.whm-live[data-state="active"] .whm-live-layer { opacity:0; visibility:hidden; pointer-events:none; transition:opacity .35s ease,visibility .35s ease; }
.whm-live-shade { background:rgba(35,32,29,.62); }
.whm-live-panel { position:relative; color:#fff; text-align:center; padding:1.5rem; max-width:650px; max-height:100%; overflow:auto; }
.whm-live-panel .lead { color:inherit; margin-bottom:1rem; }
.whm-live-panel .section-subtitle { color:var(--accent-color,#aa916d); }
.whm-live-panel .whm-live-small { font-size:.875rem; }
.whm-live-panel a:not(.btn),.whm-live-link { color:inherit; text-decoration:underline; text-underline-offset:.2em; }
.whm-live-link { background:none; border:0; padding:.5rem; font:inherit; cursor:pointer; }
.whm-live-actions { display:flex; justify-content:center; align-items:center; gap:1rem; flex-wrap:wrap; margin-top:1rem; }
.whm-live-panel .btn { white-space:normal; }
.whm-live-toolbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding-top:.75rem; }
.whm-live-toolbar>div { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; }
.whm-live-toolbar p { margin:0; }
.whm-live-viewport:fullscreen { aspect-ratio:auto; width:100vw; height:100vh; }
.whm-live-fullscreen-close { display:none; position:absolute; top:.75rem; right:.75rem; z-index:3; color:white; background:rgba(35,32,29,.8); }
.whm-live[data-state="active"] .whm-live-viewport:fullscreen .whm-live-fullscreen-close { display:block; }
@media(max-width:575px){.whm-live-viewport{aspect-ratio:4/3;}.whm-live-panel{padding:.8rem;}.whm-live-actions{gap:.5rem;}.whm-live-panel p{margin-bottom:.65rem;}}
@media(prefers-reduced-motion:reduce){.whm-live-background{display:none;}.whm-live[data-state="active"] .whm-live-layer{transition:none;}}

/* Smart viewer: a single stable frame for all three modes. */
.whm-smart [hidden]{display:none!important}
.whm-smart-tabs{display:flex;gap:1.5rem;flex-wrap:wrap;margin-bottom:1rem;border-bottom:1px solid rgba(170,145,109,.25)}
.whm-smart-tabs button{font:inherit;color:inherit;background:none;border:0;border-bottom:1px solid transparent;padding:.75rem 0;cursor:pointer}
.whm-smart-tabs button[aria-selected="true"]{border-bottom-color:var(--accent-color,#aa916d)}
.whm-smart-viewport{position:relative;aspect-ratio:16/9;background:#33302d;overflow:hidden}
.whm-smart-viewport>[data-smart-panel]{position:absolute;inset:0}
.whm-smart-viewport .whm-live,.whm-smart-viewport .whm-live-viewport{width:100%;height:100%;aspect-ratio:auto}
.whm-smart-viewport video[data-smart-video]{width:100%;height:100%;object-fit:contain;display:block}
.whm-smart-viewport .whm-live-toolbar{position:absolute;bottom:0;left:0;right:0;z-index:4;color:white;background:rgba(35,32,29,.8);padding:.25rem .75rem}
.whm-smart-empty{position:absolute;inset:0;display:grid;place-items:center;color:white;padding:1rem;text-align:center}
@media(max-width:575px){.whm-smart-viewport{aspect-ratio:4/3}.whm-smart-tabs{gap:.5rem}}


/* How to Explore stays inside the existing media footprint; mobile scrolls within it. */
.whm-explore{height:100%;overflow:auto;overscroll-behavior:contain;color:#f7f4ef;padding:clamp(1.25rem,3vw,3rem);display:flex;flex-direction:column;justify-content:safe center}
.whm-explore-heading{text-align:center;margin-bottom:1.25rem}
.whm-explore-heading .section-subtitle{color:var(--accent-color,#aa916d)}
.whm-explore-heading p{margin:0 auto .6rem;max-width:42rem}
.whm-explore--intro{text-align:center;align-items:center}
.whm-explore-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem 2rem;margin:0}
.whm-explore-control{text-align:center;min-width:0}
.whm-explore-control dt{font-weight:inherit;display:flex;flex-direction:column;align-items:center;gap:.65rem}
.whm-explore-control dd{margin:.45rem auto 0;max-width:23rem;color:rgba(247,244,239,.76)}
.whm-explore-keys{display:flex;flex-direction:column;align-items:center;gap:.3rem;color:var(--accent-color,#aa916d)}
.whm-explore-keys>span{display:flex;gap:.3rem}
.whm-explore-keys kbd,.whm-explore-escape{font:inherit;background:transparent;color:inherit;border:1px solid currentColor;border-radius:2px;min-width:2rem;height:2rem;display:inline-grid;place-items:center;padding:0 .4rem}
.whm-explore-escape{margin:1.15rem 0;color:var(--accent-color,#aa916d)}
.whm-explore-icon{width:3.6rem;height:4.3rem;color:var(--accent-color,#aa916d)}
.whm-live-tips{display:flex;justify-content:center;align-items:center;gap:1.25rem;margin:1rem 0}
.whm-live-tips>span{display:flex;flex-direction:column;align-items:center;gap:.35rem}
.whm-live-tips .whm-explore-keys kbd{min-width:1.3rem;height:1.3rem;padding:0 .15rem}
.whm-live-tips .whm-explore-icon{height:2.5rem;width:2rem}
.whm-live-tips .whm-explore-escape{margin:.5rem 0}
@media(min-width:992px){.whm-explore-control--move{grid-row:span 2;align-self:center}}
@media(max-width:991px){.whm-explore{justify-content:flex-start}.whm-explore-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.whm-explore--intro{justify-content:safe center}}
@media(max-width:575px){.whm-explore-controls{grid-template-columns:1fr;gap:1.5rem}.whm-explore-heading{margin-bottom:1rem}.whm-explore--intro .btn{flex-shrink:0}.whm-live-tips{gap:.75rem}}

@media(max-width:575px){.whm-explore{padding:1rem}.whm-explore--intro .whm-explore-heading{margin-bottom:.5rem}.whm-explore--intro>p{margin-bottom:.75rem}}

/* Background session retains its viewport geometry, but cannot display or receive input. */
.whm-smart .whm-smart-viewport>[data-smart-panel="live"][data-live-retained][hidden]{display:block!important;visibility:hidden;pointer-events:none}
.whm-smart-live-status{min-height:3rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem 1rem;flex-wrap:wrap;padding:.6rem 0;border-bottom:1px solid rgba(170,145,109,.2)}
.whm-smart-session-actions{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.whm-smart-live-status [data-live-notice]{flex-basis:100%;max-width:52rem;margin:0;padding:.25rem 0;color:inherit}
.whm-smart-live-status button{padding:.3rem .4rem}
@media(max-width:575px){.whm-smart-live-status{align-items:flex-start}.whm-smart-session-actions{gap:.2rem;max-width:100%}}

/* Structured, verified guidance shares the established viewport and scroll area. */
.whm-explore-group-label{text-transform:uppercase;letter-spacing:.15em;font-size:.7rem;color:#b59a73;margin:1.2rem 0 .7rem;text-align:center}
.whm-explore-capabilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 2rem;margin:0 auto;max-width:52rem;text-align:left}
.whm-explore-capabilities dt{font-size:.95rem;font-weight:500}.whm-explore-capabilities dd{font-size:.85rem;line-height:1.6;margin:.3rem 0 0;opacity:.8}
.whm-smart-live-status:has([data-live-notice]:not([hidden])){border-color:#b59a73}
@media(max-width:575px){.whm-explore-capabilities{grid-template-columns:1fr;gap:1rem}.whm-explore-group-label{margin-top:1rem}}
