﻿.sak-eventNotice {
    width: min(920px, calc(100vw - 40px));
    max-width: 920px;
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    color: #0f172a;
    font-family: "Overpass", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    border: 0;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(2, 20, 45, .34);
}

    .sak-eventNotice::backdrop {
        background: rgba(4, 18, 38, .66);
        backdrop-filter: blur(5px);
    }

    .sak-eventNotice[open] {
        animation: sak-event-notice-in .28s ease-out both;
    }

.sak-eventNotice__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
    min-height: 440px;
    overflow: hidden;
}

.sak-eventNotice__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #17355f;
    border: 1px solid rgba(219, 229, 242, .94);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 20px rgba(15, 47, 95, .14);
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

    .sak-eventNotice__close:hover,
    .sak-eventNotice__close:focus-visible {
        color: #0f2f5f;
        background: #fff;
        box-shadow: 0 10px 24px rgba(15, 47, 95, .22);
        transform: translateY(-1px);
    }

    .sak-eventNotice__close:focus-visible,
    .sak-eventNotice__button:focus-visible {
        outline: 3px solid rgba(29, 100, 200, .28);
        outline-offset: 3px;
    }

.sak-eventNotice__media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #d9e9f8;
}

    .sak-eventNotice__media::after {
        position: absolute;
        inset: 0;
        content: "";
        pointer-events: none;
        background: linear-gradient(180deg, rgba(5, 28, 55, .02), rgba(5, 28, 55, .18)), linear-gradient(90deg, transparent 72%, rgba(255, 255, 255, .18));
    }

    .sak-eventNotice__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 52% 55%;
    }

.sak-eventNotice__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 52px 42px 38px;
    background: radial-gradient(380px 220px at 100% 0%, rgba(219, 234, 254, .68), transparent 70%), #fff;
}

.sak-eventNotice__live {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    min-height: 30px;
    padding: 6px 11px;
    color: #0f5b35;
    border: 1px solid #bbebcf;
    border-radius: 999px;
    background: #eafaf0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .075em;
    line-height: 1;
    text-transform: uppercase;
}

.sak-eventNotice__liveDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a05d;
    box-shadow: 0 0 0 0 rgba(22, 160, 93, .45);
    animation: sak-event-live-pulse 1.9s ease-out infinite;
}

.sak-eventNotice__title {
    margin: 19px 0 0;
    color: #0f2f5f;
    font-size: clamp(28px, 3.1vw, 40px);
    font-weight: 950;
    letter-spacing: -.04em;
    line-height: 1.06;
}

.sak-eventNotice__meta {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 17px 0 0;
    color: #475569;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

    .sak-eventNotice__meta i {
        flex: 0 0 auto;
        margin-top: 2px;
        color: #1d64c8;
    }

.sak-eventNotice__stand {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    min-height: 40px;
    margin-top: 17px;
    padding: 9px 13px;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f2f5f, #1d64c8);
    box-shadow: 0 10px 24px rgba(29, 100, 200, .2);
    font-size: 15px;
}

    .sak-eventNotice__stand,
    .sak-eventNotice__stand strong,
    .sak-eventNotice__stand i {
        color: #fff !important;
    }

.sak-eventNotice__description {
    margin: 18px 0 0;
    color: #475569;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.62;
}

.sak-eventNotice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.sak-eventNotice__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

    .sak-eventNotice__button:hover {
        transform: translateY(-1px);
    }

.sak-eventNotice__button--primary {
    color: #fff;
    background: linear-gradient(135deg, #0f2f5f, #1d64c8);
    box-shadow: 0 10px 22px rgba(29, 100, 200, .2);
}

    .sak-eventNotice__button--primary:hover {
        color: #fff;
        box-shadow: 0 13px 28px rgba(29, 100, 200, .27);
    }

.sak-eventNotice__button--secondary {
    color: #154f95;
    border-color: #cfe0f4;
    background: #f5f9ff;
}

    .sak-eventNotice__button--secondary:hover {
        color: #0f2f5f;
        border-color: #b8d3f0;
        background: #edf5ff;
    }

body.sak-eventNotice-open {
    overflow: hidden;
}

.sak-msvHeroNotice {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: min(100%, 690px);
    margin: -2px 0 20px;
    padding: 12px 13px 12px 15px;
    color: #fff;
    border: 1px solid rgba(134, 239, 172, .42);
    border-radius: 16px;
    background: linear-gradient(105deg, rgba(9, 88, 57, .76), rgba(15, 47, 95, .72));
    box-shadow: 0 16px 38px rgba(2, 20, 45, .25);
    text-decoration: none !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sak-msvHeroNotice__thumb {
    display: block;
    width: 88px;
    height: 62px;
    object-fit: cover;
    object-position: 50% 52%;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(2, 20, 45, .24);
}

    .sak-msvHeroNotice:hover,
    .sak-msvHeroNotice:focus-visible {
        color: #fff;
        border-color: rgba(187, 247, 208, .72);
        box-shadow: 0 19px 44px rgba(2, 20, 45, .34);
        transform: translateY(-2px);
    }

    .sak-msvHeroNotice:focus-visible {
        outline: 3px solid rgba(147, 197, 253, .6);
        outline-offset: 3px;
    }

.sak-msvHeroNotice__content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 3px 12px;
    min-width: 0;
}

.sak-msvHeroNotice__live {
    display: inline-flex;
    grid-row: 1 / span 2;
    align-items: center;
    align-self: stretch;
    gap: 7px;
    padding-right: 13px;
    color: #d1fae5;
    border-right: 1px solid rgba(255, 255, 255, .2);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .075em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}

.sak-msvHeroNotice__dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .52);
    animation: sak-event-live-pulse 1.9s ease-out infinite;
}

.sak-msvHeroNotice__content strong {
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: .02em;
    line-height: 1.15;
}

.sak-msvHeroNotice__meta {
    overflow: hidden;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sak-msvHeroNotice__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 12px;
    color: #0f2f5f;
    border-radius: 11px;
    background: rgba(255, 255, 255, .94);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

    .sak-msvHeroNotice:hover .sak-msvHeroNotice__cta i {
        transform: translateX(2px);
    }

    .sak-msvHeroNotice__cta i {
        transition: transform .18s ease;
    }

@keyframes sak-event-notice-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sak-event-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 160, 93, .44);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(22, 160, 93, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(22, 160, 93, 0);
    }
}

@media (max-width: 720px) {
    .sak-eventNotice {
        width: 100%;
        max-width: none;
        max-height: calc(100dvh - 16px);
        margin: auto 0 0;
        border-radius: 24px 24px 0 0;
    }

    .sak-eventNotice__panel {
        display: block;
        min-height: 0;
        max-height: calc(100dvh - 16px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .sak-eventNotice__media {
        height: clamp(180px, 34vh, 260px);
    }

        .sak-eventNotice__media::after {
            background: linear-gradient(180deg, rgba(5, 28, 55, .02) 45%, rgba(5, 28, 55, .24));
        }

        .sak-eventNotice__media img {
            object-position: 50% 58%;
        }

    .sak-eventNotice__content {
        padding: 23px 18px calc(22px + env(safe-area-inset-bottom));
    }

    .sak-eventNotice__title {
        margin-top: 15px;
        font-size: clamp(25px, 8vw, 33px);
    }

    .sak-eventNotice__meta,
    .sak-eventNotice__stand,
    .sak-eventNotice__description {
        margin-top: 14px;
    }

    .sak-eventNotice__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .sak-eventNotice__button {
        width: 100%;
    }

    .sak-msvHeroNotice {
        grid-template-columns: 66px minmax(0, 1fr) auto;
        gap: 10px;
        width: 100%;
        margin: 0 0 17px;
        padding: 11px;
        border-radius: 14px;
    }

    .sak-msvHeroNotice__thumb {
        width: 66px;
        height: 62px;
        border-radius: 10px;
    }

    .sak-msvHeroNotice__content {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .sak-msvHeroNotice__live {
        grid-row: auto;
        align-self: auto;
        margin-bottom: 2px;
        padding-right: 0;
        border-right: 0;
    }

    .sak-msvHeroNotice__meta {
        white-space: normal;
    }

    .sak-msvHeroNotice__cta {
        min-height: 40px;
        padding: 8px 11px;
    }
}

@media (max-width: 390px) {
    .sak-eventNotice__media {
        height: 170px;
    }

    .sak-eventNotice__content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .sak-msvHeroNotice {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        gap: 7px;
    }

    .sak-msvHeroNotice__thumb {
        width: 58px;
        height: 58px;
    }

    .sak-msvHeroNotice__cta {
        width: 40px;
        padding: 0;
        font-size: 0;
    }

    .sak-msvHeroNotice__cta i {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sak-eventNotice[open],
    .sak-eventNotice__liveDot {
        animation: none;
    }

    .sak-eventNotice__close,
    .sak-eventNotice__button,
    .sak-msvHeroNotice,
    .sak-msvHeroNotice__cta i {
        transition: none;
    }

    .sak-msvHeroNotice__dot {
        animation: none;
    }
}

.sak-eventGallery {
    width: min(1180px, calc(100vw - 36px));
    max-width: 1180px;
    max-height: calc(100dvh - 36px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    color: #0f172a;
    font-family: "Overpass", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(2, 20, 45, .38);
}

    .sak-eventGallery::backdrop {
        background: rgba(4, 18, 38, .72);
        backdrop-filter: blur(5px);
    }

    .sak-eventGallery[open] {
        animation: sak-event-notice-in .24s ease-out both;
    }

.sak-eventGallery__panel {
    display: flex;
    max-height: calc(100dvh - 36px);
    flex-direction: column;
    overflow: hidden;
}

.sak-eventGallery__header {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px 17px;
    border-bottom: 1px solid #dbe6f3;
    background: #fff;
}

.sak-eventGallery__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #167046;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sak-eventGallery__title {
    margin: 0;
    color: #0f2f5f;
    font-size: clamp(21px, 2.4vw, 30px);
    font-weight: 950;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.sak-eventGallery__close {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #17355f;
    border: 1px solid #dbe6f3;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 47, 95, .12);
    cursor: pointer;
}

.sak-eventGallery__body {
    min-height: 0;
    padding: 16px;
    overflow-y: auto;
    background: #eef4fb;
}

.sak-eventGallery__stage {
    position: relative;
    display: grid;
    min-height: 300px;
    overflow: hidden;
    place-items: center;
    border: 1px solid #d7e4f3;
    border-radius: 18px;
    background: #dfe9f5;
    touch-action: pan-y;
}

.sak-eventGallery__mainImage,
.sak-eventGallery__mainVideo {
    display: block;
    width: 100%;
    height: min(64vh, 680px);
    object-fit: contain;
    background: #e7eef7;
}

.sak-eventGallery__mainImage[hidden],
.sak-eventGallery__mainVideo[hidden] {
    display: none;
}

.sak-eventGallery__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #0f2f5f;
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 26px rgba(15, 47, 95, .22);
    cursor: pointer;
    font-size: 22px;
    transform: translateY(-50%);
    transition: transform .18s ease, background-color .18s ease;
}

    .sak-eventGallery__nav:hover,
    .sak-eventGallery__nav:focus-visible {
        color: #fff;
        background: #1d64c8;
        transform: translateY(-50%) scale(1.04);
    }

.sak-eventGallery__nav--previous {
    left: 18px;
}

.sak-eventGallery__nav--next {
    right: 18px;
}

.sak-eventGallery__counter {
    position: absolute;
    right: 16px;
    bottom: 14px;
    min-width: 54px;
    padding: 7px 10px;
    color: #fff;
    border-radius: 999px;
    background: rgba(7, 30, 57, .78);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    backdrop-filter: blur(8px);
}

.sak-eventGallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 4px 2px 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.sak-eventGallery__thumb {
    position: relative;
    flex: 0 0 102px;
    width: 102px;
    height: 76px;
    padding: 3px;
    overflow: hidden;
    scroll-snap-align: center;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 47, 95, .1);
    cursor: pointer;
    opacity: .72;
    transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}

    .sak-eventGallery__thumb:hover,
    .sak-eventGallery__thumb.is-active {
        border-color: #1d64c8;
        opacity: 1;
        transform: translateY(-1px);
    }

    .sak-eventGallery__thumb img,
    .sak-eventGallery__thumb video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

.sak-eventGallery__thumbPlay {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .88);
    border-radius: 999px;
    background: rgba(15, 47, 95, .82);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.sak-eventGallery__close:focus-visible,
.sak-eventGallery__nav:focus-visible,
.sak-eventGallery__thumb:focus-visible {
    outline: 3px solid rgba(29, 100, 200, .28);
    outline-offset: 3px;
}

body.sak-eventGallery-open {
    overflow: hidden;
}

@media (max-width: 540px) {
    .sak-eventGallery {
        width: calc(100vw - 14px);
        max-width: none;
        max-height: calc(100dvh - 14px);
        border-radius: 18px;
    }

    .sak-eventGallery__panel {
        max-height: calc(100dvh - 14px);
    }

    .sak-eventGallery__header {
        min-height: 64px;
        padding: 15px 14px 13px;
    }

    .sak-eventGallery__title {
        font-size: 19px;
    }

    .sak-eventGallery__body {
        padding: 8px;
    }

    .sak-eventGallery__stage {
        min-height: 220px;
        border-radius: 14px;
    }

    .sak-eventGallery__mainImage,
    .sak-eventGallery__mainVideo {
        height: min(61vh, 520px);
    }

    .sak-eventGallery__nav {
        width: 40px;
        height: 40px;
    }

    .sak-eventGallery__nav--previous {
        left: 8px;
    }

    .sak-eventGallery__nav--next {
        right: 8px;
    }

    .sak-eventGallery__counter {
        right: 9px;
        bottom: 9px;
    }

    .sak-eventGallery__thumb {
        flex-basis: 80px;
        width: 80px;
        height: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sak-eventGallery[open] {
        animation: none;
    }

    .sak-eventGallery__nav,
    .sak-eventGallery__thumb {
        transition: none;
    }
}
