/* Wrapper for the Cosmic Starship iframe player (class names keep the plugin's veilbound prefix). The games themselves are styled inside the frame. */
.veilbound-shell{container-type:inline-size;margin:1.5em 0;background:#0b1418;border:1px solid #253a32;border-radius:5px;overflow:hidden;isolation:isolate}
.veilbound-shell .veilbound-launch{padding:9px 14px;display:flex;justify-content:flex-end;background:#0b1418}
.veilbound-shell .veilbound-launch a{color:#d6bd88!important;font:11px/1.5 system-ui,sans-serif;text-decoration:none!important}
.veilbound-shell .veilbound-launch a:hover,.veilbound-shell .veilbound-launch a:focus-visible{text-decoration:underline!important}
.veilbound-shell .screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.veilbound-shell iframe.veilbound-player{display:block!important;width:100%!important;max-width:100%!important;height:var(--veilbound-height,960px);border:0!important;margin:0!important;padding:0!important;background:#0b1418}
/* Narrow players stack the game UI vertically and need extra room. */
@container (max-width:900px){.veilbound-shell iframe.veilbound-player{height:max(var(--veilbound-height,960px),1140px)}}
@supports not (container-type:inline-size){@media (max-width:900px){.veilbound-shell iframe.veilbound-player{height:max(var(--veilbound-height,960px),1140px)}}}
/* The game fights full-frame: keep the whole battle HUD on screen. */
.veilbound-shell:is(.veilbound-mode-fracture,.veilbound-mode-war) iframe.veilbound-player{height:min(var(--veilbound-height,1100px),max(560px,calc(100vh - 56px)))!important}
@supports (height:100svh){.veilbound-shell:is(.veilbound-mode-fracture,.veilbound-mode-war) iframe.veilbound-player{height:min(var(--veilbound-height,1100px),max(560px,calc(100svh - 56px)))!important}}
/* 2.52: width="full" (or the block's Full width): break out of the theme's content column to the window's edges.
   --veilbound-sbw is the scrollbar width, measured by a one-line script, so 100vw never causes a sideways scroll. */
.veilbound-shell.veilbound-full{--veilbound-vw:calc(100vw - var(--veilbound-sbw,0px));position:relative;width:var(--veilbound-vw)!important;max-width:none!important;margin-left:calc(50% - var(--veilbound-vw) / 2)!important;margin-right:0!important;border-radius:0;border-left:0;border-right:0}
.alignfull>.veilbound-shell.veilbound-full{margin-left:calc(50% - var(--veilbound-vw) / 2)!important}
