/* SPDX-License-Identifier: AGPL-3.0-or-later */ :host { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: var(--z-dialog); font-family: var(--font-family-base); overflow: hidden; } :host([open]) { display: block; } * { margin: 0; padding: 0; box-sizing: border-box; } .container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: var(--spacing-md); background: var(--color-backdrop); } .panels { display: flex; align-items: center; justify-content: center; gap: var(--spacing-md); } .panel-wrapper { position: relative; } .panel { position: relative; } .thumbnail { position: absolute; background: var(--bg-webview); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; transition: transform var(--transition-fast), box-shadow var(--transition-fast); box-shadow: 0 2px 8px var(--color-shadow); display: flex; flex-direction: column; } .thumbnail:hover { transform: scale(1.05); box-shadow: 0 8px 24px var(--color-shadow); z-index: 10; } .thumbnail.active { box-shadow: 0 0 0 3px var(--color-focus-ring), 0 4px 16px var(--color-shadow); } .thumbnail.active:hover { box-shadow: 0 0 0 3px var(--color-focus-ring), 0 8px 24px var(--color-shadow); } .thumbnail img { flex: 1; width: 100%; min-height: 0; object-fit: cover; object-position: top center; } .thumbnail .label { padding: var(--spacing-xs) var(--spacing-sm); font-size: var(--font-size-sm); font-weight: var(--font-weight-bold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }