body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.static-image-wrapper {
    flex: 32;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: black;
}

.static-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.slideshow-wrapper {
    flex: 18;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: black;
    color: white;
}

.slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slideshow p {
    font-size: 1.2em;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: fill;
    display: block;
}

.slide.active {
    opacity: 1;
}

.back-overlay {
    position: fixed;
    bottom: 8px;
    right: 12px;
    z-index: 50;
}
.back-link {
    font-family: sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.2);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    transition: all 0.2s;
}
.back-link:hover { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }

/* Fortune wheel inline slide */
.slide.fortune-slide {
    background: #000;
    overflow: hidden;
}
.slide.fortune-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}