.home-hangout-head { width: 118px; }
.home-hangout-head span,
.home-hangout-head img {
    display: block;
    width: 108px;
    height: 108px;
    margin: 0 auto .35rem;
    border: 2px solid #111;
    border-radius: 1.2rem;
    background: #fff7fb center top / contain no-repeat;
    object-fit: contain;
    image-rendering: pixelated;
}
.home-friend-head {
    width: 96px;
    height: 96px;
    border: 2px solid #111;
    border-radius: 1.1rem;
    background: #fff center top / contain no-repeat;
    image-rendering: pixelated;
    overflow: hidden;
}
.home-friend-head img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}
.home-radio-play {
    position: relative;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
}
.staff-head {
    width: 128px;
    height: 128px;
    border: 2px solid #111;
    border-radius: 1.4rem;
    background: #ffe6ef;
    object-fit: contain;
    image-rendering: pixelated;
}
.login-fill {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #111;
    background-image:
        url("/assets/images/rwina/login-bow.png"),
        url("/assets/images/rwina/login-paws.png");
    background-repeat: repeat, repeat;
    background-size: 150px 150px, 118px 118px;
    background-position: 0 0, 59px 59px;
}

[x-cloak] { display: none !important; }

.nav-desktop-inner {
    max-width: 64rem;
    width: 100%;
    display: flex;
    align-items: center;
    height: 58px;
    padding: 0 1rem;
    gap: 1rem;
}

.nav-desktop { display: none; }
.nav-mobile-wrap { display: block; }

@media (min-width: 1100px) {
    .nav-desktop { display: block; }
    .nav-mobile-wrap { display: none; }
}

.nav-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0.55rem 0.9rem;
    gap: 0.75rem;
}

.nav-mobile-logo {
    text-decoration: none;
    min-width: 0;
}

.nav-mobile-logo .rwina-nav-word {
    font-size: 1.35rem;
}

.nav-burger {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 2px solid #111;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 2px 2px 0 #ff8fb3;
    color: #111;
    cursor: pointer;
}

.nav-burger svg {
    width: 22px;
    height: 22px;
}

.nav-mobile-panel {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem 0.95rem;
    border-top: 2px solid #111;
    background: #fff7fb;
}

.nav-mobile-panel a,
.nav-mobile-panel button {
    display: block;
    width: 100%;
    text-align: left;
    text-decoration: none;
    color: #111;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.7rem 0.85rem;
    border: 2px solid #111;
    border-radius: 0.9rem;
    background: #fff;
}

.nav-mobile-panel a:hover,
.nav-mobile-panel button:hover {
    background: #ffe6ef;
}

.login-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
    background: #fff7fb;
    border: 2px solid #111;
    border-radius: 0.95rem;
    cursor: pointer;
    user-select: none;
}

.login-terms input {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    margin: 0.12rem 0 0;
    border: 2px solid #111;
    border-radius: 0.4rem;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.login-terms input:checked {
    background: #ff8fb3;
}

.login-terms input:checked::after {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 0.08rem;
    width: 0.32rem;
    height: 0.55rem;
    border: solid #111;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.login-terms span {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
}

.login-terms a {
    color: #111;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: #ff8fb3;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

.login-terms:hover {
    background: #ffe6ef;
}

.site-wrap {
    width: 100%;
}

@media (max-width: 1099px) {
    .egirl-deco {
        opacity: 0.28;
    }

    .egirl-bunny,
    .egirl-sock {
        display: none;
    }

    .nachtbrakers-pill {
        display: none !important;
    }

    .main-content {
        -webkit-overflow-scrolling: touch;
    }

    .site-wrap {
        padding-top: 1rem !important;
        padding-bottom: 1.15rem !important;
        gap: 0.85rem !important;
    }

    .home-hero-body {
        padding: 1rem 1rem 0.9rem;
    }

    .home-hangout-top,
    .home-film-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .home-hangout-count {
        white-space: normal;
    }

    .home-hangout-head {
        width: 92px;
    }

    .home-hangout-head span,
    .home-hangout-head img {
        width: 84px;
        height: 84px;
    }

    .home-radio {
        flex-wrap: wrap;
        min-height: 0;
    }

    .home-film-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-welcome-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 40rem) {
    .home-film-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-board {
        grid-template-columns: 1fr;
    }

    .home-friend-head {
        width: 72px;
        height: 72px;
    }

    .staff-head {
        width: 96px;
        height: 96px;
    }

    .rwina-footer {
        font-size: 0.75rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

