.chuseok-event {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: min(460px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid #efdbb2;
    border-radius: 24px;
    background: #fff7e7;
    color: #493120;
    box-shadow: 0 24px 80px #23160855;
    outline: none;
}

.chuseok-event:not([open]) { display: none; }
.chuseok-event::backdrop { background: rgba(28, 21, 13, 0.65); }

.chuseok-event__art {
    padding: 42px 12px 12px;
    background: radial-gradient(ellipse at center, #ffe8ac, #fff7e7 75%);
}

.chuseok-event__art img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 156px);
    max-height: calc(100dvh - 156px);
    object-fit: contain;
}

.chuseok-event button {
    border: 0;
    font: inherit;
    cursor: pointer;
}

.chuseok-event button:focus-visible {
    outline: 3px solid #92531c;
    outline-offset: -4px;
}

.chuseok-event .chuseok-event__close {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    background: transparent;
    color: #6c5846;
}

.chuseok-event__close svg { display: block; pointer-events: none; }
.chuseok-event .chuseok-event__close:hover { background: #4931200a; color: #35261b; }

.chuseok-event__actions {
    display: flex;
    border-top: 1px solid #efdbb2;
    background: #fffcf5;
}

.chuseok-event__actions button {
    min-height: 52px;
    padding: 12px;
    background: transparent;
    color: #493120;
    font-size: 14px;
    flex: 1;
}

.chuseok-event__actions button:hover { background: #faefd9; }
