#wednesday-popup {
    color: #1d2443;
    background: #fff;
    border: 0;
    border-radius: 18px;
    padding: 0;
    width: min(440px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    box-shadow: 0 16px 56px rgba(47, 57, 132, .25);
}
#wednesday-popup::backdrop { background: rgba(22, 26, 53, .6); }
#wednesday-popup header,
#wednesday-popup footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 12px;
    background: #fff;
}
#wednesday-popup h2 { margin: 0; font-size: 1rem; }
#wednesday-popup button {
    min-height: 44px;
    min-width: 44px;
    padding: 0 10px;
    border: 0;
    color: #2f3984;
    background: transparent;
    font-weight: 700;
}
#wednesday-popup header button { font-size: 1.5rem; }
#wednesday-popup footer { border-top: 1px solid #e6e8f1; }
#wednesday-popup footer button { font-size: .875rem; }
#wednesday-popup .wednesday-position {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
}
.wednesday-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #adb3cf;
}
.wednesday-dot.is-current { background: #2f3984; }
.wednesday-poster {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    background: #f2f3f8;
    height: min(560px, calc(100dvh - 190px));
    min-height: 120px;
}
.wednesday-poster[tabindex] { cursor: grab; }
.wednesday-poster.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.wednesday-poster img {
    display: block;
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
