html.sirius-intro-open,
html.sirius-intro-open body {
    overflow: hidden;
}

dialog.sirius-intro {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    width: min(1320px, calc(100vw - 32px), calc(177.7778vh - 177.7778px));
    max-width: none;
    max-height: calc(100vh - 32px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: #11151d;
    color: #f5f5f7;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.65);
    font-family: "Open Sans", "Malgun Gothic", sans-serif;
}

dialog.sirius-intro:not([open]) {
    display: none;
}

dialog.sirius-intro::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.sirius-intro__video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: contain;
    background: #000;
}

.sirius-intro__media {
    position: relative;
}

.sirius-intro__sound {
    appearance: none;
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    width: auto;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    background: rgba(17, 21, 29, 0.9);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    color: #fff;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-transform: none;
    cursor: pointer;
}

.sirius-intro__sound[hidden] {
    display: none;
}

.sirius-intro__sound:hover {
    background: #242d3a;
}

.sirius-intro__sound:focus-visible {
    outline: 2px solid #86ccea;
    outline-offset: 2px;
}

.sirius-intro__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 4px 12px 4px 20px;
    box-sizing: border-box;
}

.sirius-intro__footer button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 44px;
    margin: 0;
    padding: 8px 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    color: #d8dbe2;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-transform: none;
    cursor: pointer;
}

.sirius-intro__footer .sirius-intro__close {
    width: 44px;
}

.sirius-intro__footer button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.sirius-intro__footer button:focus-visible {
    outline: 2px solid #86ccea;
    outline-offset: 2px;
}

.sirius-intro__error {
    margin: 0;
    padding: 12px 20px;
    color: #e5d5c4;
    font-size: 13px;
    line-height: 1.6;
}

@supports (height: 100dvh) {
    dialog.sirius-intro {
        width: min(1320px, calc(100vw - 32px), calc(177.7778dvh - 177.7778px));
        max-height: calc(100dvh - 32px);
    }
}

@media (max-width: 480px) {
    .sirius-intro__footer {
        padding-left: 14px;
        padding-right: 6px;
        gap: 4px;
    }
    .sirius-intro__footer button {
        font-size: 13px;
    }
}
