.ep-page {
    gap: 20px;
}

.ep-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.ep-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
}

.ep-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.ep-label {
    color: var(--muted);
}

.ep-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.ep-frame {
    min-height: 64vh;
}

#presentation-root:fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    margin: 0;
    padding: 18px;
    border-radius: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    background: linear-gradient(180deg, rgba(8, 12, 18, 0.98), rgba(6, 9, 14, 0.98));
}

#presentation-root:fullscreen .ep-frame {
    min-height: 0;
    height: 100%;
}

#presentation-root:fullscreen .canvas-hint {
    margin-top: 0;
}

#presentation-root:fullscreen.ep-cursor-hidden,
#presentation-root:fullscreen.ep-cursor-hidden * {
    cursor: none !important;
}

.ep-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.ep-overlay[aria-hidden="false"] {
    display: flex;
}

.ep-overlay__panel {
    width: min(520px, 92vw);
    background: rgba(16, 22, 32, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    gap: 12px;
}

.ep-overlay__title {
    margin: 0;
}

.ep-overlay__text {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .ep-frame {
        min-height: 48vh;
    }
}
