/* TobiDu Halloween-Popup 2026 */
.tobidu-hw-popup[hidden] { display: none !important; }
.tobidu-hw-popup {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.tobidu-hw-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 30, 0.72);
}
.tobidu-hw-popup__dialog {
    position: relative;
    width: min(460px, 92vw, calc(100vh - 130px));
    width: min(460px, 92vw, calc(100dvh - 130px));
    min-width: 260px;
    background: #2a1640;
    border: 3px solid #f2792b;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    outline: none;
    animation: tobidu-hw-in 0.25s ease-out;
}
.tobidu-hw-popup__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: #3b1f57;
}
.tobidu-hw-popup__actions {
    display: flex;
    gap: 10px;
    padding: 12px;
}
.tobidu-hw-popup__btn {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.tobidu-hw-popup__btn--book { background: #f2792b; color: #fff; }
.tobidu-hw-popup__btn--ticket { background: #ffd60a; color: #1a1a2e; }
.tobidu-hw-popup__btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.tobidu-hw-popup__btn:hover,
.tobidu-hw-popup__btn:focus { text-decoration: none; }
.tobidu-hw-popup__btn--book:hover, .tobidu-hw-popup__btn--book:focus { color: #fff; }
.tobidu-hw-popup__btn--ticket:hover, .tobidu-hw-popup__btn--ticket:focus { color: #1a1a2e; }
.tobidu-hw-popup__btn:focus-visible,
.tobidu-hw-popup__close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.tobidu-hw-popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(20, 10, 30, 0.75);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.tobidu-hw-popup__sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
html.tobidu-hw-lock, html.tobidu-hw-lock body { overflow: hidden; }
@media (max-width: 480px) {
    .tobidu-hw-popup__actions { gap: 8px; padding: 10px; }
    .tobidu-hw-popup__btn { padding: 10px 8px; font-size: 0.95rem; }
}
@media (max-width: 360px) {
    .tobidu-hw-popup__actions { flex-direction: column; }
}
@keyframes tobidu-hw-in {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .tobidu-hw-popup__dialog { animation: none; }
    .tobidu-hw-popup__btn { transition: none; }
}
