/* Layout Styles - Overlay, Positioning, Structure */

.shaded {
    --h: 100vh;
    --h: 100dvh;
}

.dtype {
    position: absolute;
    inset-block-end: 0;
    inset-inline: 0;
    block-size: max(360px, 45vh);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.dtype h2 {
    font-size: 1.6rem;
    margin: 1rem 0 0.5rem;
    color: #1a1a1a;
}

.dtype p {
    color: #555;
    max-width: 400px;
    margin-bottom: 1.5rem;
}

[data-component="background"] {
    position: fixed;
    inset-block-end: 0;
    inset-inline: 0;
}

.shaded[data-component="background"] {
    block-size: var(--h);
    z-index: var(--ui-depth);
    background: var(--content-fade);
    backdrop-filter: blur(var(--ui-blur));
    -webkit-backdrop-filter: blur(var(--ui-blur));
}
