.create-tutorial-callout[hidden] {
    display: none;
}

.create-tutorial-callout:focus-visible,
.create-demo-dialog :focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 4px;
}

.create-demo-header,
.create-demo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.create-demo-close {
    flex-shrink: 0;
    padding: 6px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    font: inherit;
    cursor: pointer;
}

.create-demo-close:hover {
    background: #f3edff;
    color: #5b21b6;
}

.create-demo-dialog {
    width: min(900px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    color: #1e293b;
    box-shadow: 0 24px 80px #0f172a40;
}

.create-demo-dialog::backdrop {
    background: #0f172abf;
}

.create-demo-header,
.create-demo-footer {
    padding: 16px 20px;
}

.create-demo-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 650;
}

.create-demo-close {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    line-height: 1;
}

.create-demo-player {
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.create-demo-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.create-demo-footer {
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.75rem;
}

.create-demo-footer a {
    color: #5b21b6;
    font-weight: 600;
}

.create-tutorial-callout {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0 0 24px;
    padding: 22px;
    border: 1px solid #d8c8f4;
    border-radius: 14px;
    background: linear-gradient(115deg, #f0e7ff, #faf7ff);
    color: #3b1769;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.create-tutorial-callout:hover {
    border-color: #a78bda;
    background: #eee5fc;
}

.create-tutorial-play {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    height: 48px;
    border-radius: 50%;
    background: #6d28d9;
    color: #fff;
    box-shadow: 0 4px 14px #6d28d929;
}

.create-tutorial-copy {
    flex: 1;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .create-tutorial-callout {
        gap: 12px;
        padding: 18px;
    }
}
