/* Visuals are the player's shared .krapp-mini. This adapter owns viewport layout only. */
:root{--portal-host-height:calc(72px + env(safe-area-inset-bottom,0px))}
.portal-host-open,.portal-host-open body{overflow:hidden!important}
.portal-host-frame{position:fixed;inset:0 0 var(--portal-host-height);width:100%;height:calc(100dvh - var(--portal-host-height));border:0;z-index:2000;animation:portal-host-enter .18s ease-out}
.portal-host-bar{position:fixed;bottom:0;left:0;right:0;z-index:2002;min-height:var(--portal-host-height);padding:12px 24px calc(12px + env(safe-area-inset-bottom,0px))}
.portal-host-bar .mini-station{min-height:44px}
.portal-host-loading{position:fixed;inset:0 0 var(--portal-host-height);z-index:2001;display:grid;place-content:center;gap:16px;background:var(--support-paper,#fff);color:var(--support-ink,#191919);font:18px/1.5 var(--support-font,"Krapp Archivo",Arial,sans-serif)}
.portal-host-loading[hidden]{display:none}.portal-host-loading button{font:inherit;padding:12px 20px;min-height:var(--support-control,60px);background:var(--support-ink,#191919);color:var(--support-paper,#fff);border:0;border-radius:0;cursor:pointer}
[data-player-bar-example] .portal-host-bar{position:relative;z-index:auto;margin:24px 0 40px}
@keyframes portal-host-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:650px){.portal-host-bar{padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){.portal-host-frame{animation:none}}

:root[data-effects=flat] .portal-host-frame,:root[data-effects=still] .portal-host-frame{animation:none}

.portal-host-bar[hidden]{display:none}.portal-mini-hidden{--portal-host-height:0px}.portal-host-close{width:44px;height:44px;flex:none;border:0;background:transparent;color:inherit;cursor:pointer}.portal-host-close svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.5}
