html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--kiosk-bg, #000000);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

.omni-kiosk {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: var(--kiosk-bg, #000000);
}

.kiosk-stage,
.kiosk-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--kiosk-bg, #000000);
}

.kiosk-layer {
    opacity: 0;
    z-index: 1;
    transition: opacity 520ms ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kiosk-layer.active {
    opacity: 1;
    z-index: 2;
}

.kiosk-media,
.kiosk-layer img,
.kiosk-layer video,
.kiosk-layer iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: var(--kiosk-bg, #000000);
}

.kiosk-layer img,
.kiosk-layer video {
    object-fit: contain;
    object-position: center center;
}

.kiosk-message {
    width: 100%;
    max-width: 1280px;
    padding: 5vw;
    text-align: center;
    font-size: clamp(28px, 5vw, 96px);
    line-height: 1.15;
}

.kiosk-message h1,
.kiosk-message h2,
.kiosk-message p {
    margin: 0 0 .35em;
}

.kiosk-boot {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    background: var(--kiosk-bg, #000000);
    transition: opacity 400ms ease;
}

.kiosk-boot.hidden {
    opacity: 0;
    pointer-events: none;
}

.kiosk-boot-card {
    text-align: center;
    padding: 38px 46px;
    border-radius: 28px;
    background: rgba(15, 23, 42, .58);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    backdrop-filter: blur(12px);
}

.kiosk-boot-logo { font-size: 64px; margin-bottom: 14px; }
.kiosk-boot h1 { font-size: clamp(28px, 4vw, 54px); margin: 0 0 10px; }
.kiosk-boot p { margin: 0; opacity: .72; font-size: 18px; }

.kiosk-status {
    position: fixed;
    right: 14px;
    bottom: 10px;
    z-index: 50;
    font-size: 12px;
    opacity: .42;
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    pointer-events: none;
    max-width: min(520px, calc(100vw - 28px));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kiosk-debug {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 60;
    width: min(420px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    overflow: auto;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(2, 6, 23, .76);
    border: 1px solid rgba(148, 163, 184, .35);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    color: #e5e7eb;
    font-family: Consolas, Menlo, monospace;
    font-size: 12px;
    line-height: 1.45;
    backdrop-filter: blur(12px);
}

.kiosk-debug strong { color: #93c5fd; }
.kiosk-debug .ok { color: #86efac; }
.kiosk-debug .warn { color: #fcd34d; }
.kiosk-debug .bad { color: #fca5a5; }
