.sidebar-popular-list-container .model-list {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    display: grid !important;
    gap: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
    grid-template-columns: 1fr !important;
}

.sidebar-popular-list-container .model-name {
    justify-content: flex-start;
    text-align: left;
    font-size: 1.1rem;
}

.sidebar-popular-list-container .model-image {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
}

.sidebar-popular-list-container .model-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

@media screen and (min-width: 481px) and (max-width: 820px) {
    .sidebar-popular-list-container .model-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

@media screen and (min-width: 821px) and (max-width: 1023px) {
    .sidebar-popular-list-container .model-list {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
}

@media screen and (max-width: 480px) {
    .sidebar-popular-list-container .model-list {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .sidebar-popular-list-container .model-meta-tag {
        font-size: 0.65rem;
        padding: 3px 7px;
    }
}

.sidebar-tag-widget {
    background: rgba(18, 16, 39, 0.88);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-gender-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #59465F;
}

.sidebar-gender-btn {
    flex: 1;
    padding: 8px 0;
    background: transparent;
    border: 1px solid #6E5A73 !important;
    color: #C8B8CF;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.sidebar-gender-btn.active {
    background: var(--color-main);
    color: #fff;
    border-color: var(--color-main) !important;
}

.sidebar-tags-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tag-pane[hidden] {
    display: none;
}

.side-tag-item {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.side-tag-item:hover {
    background: rgba(124, 58, 237, 0.16);
    border-color: #B07ACB;
    transform: translateY(-2px);
}

.side-hash {
    color: #B07ACB;
    margin-right: 4px;
    font-weight: bold;
}

:root {
    --header-height: 140px;
    --dark-bg: #2A1F2D;
}

.custom-header-container {
    background-color: rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 30px var(--color-main),       
        inset 0 0 10px var(--color-main);
}

.custom-header-in {
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-wrapper {
    display: block;
    line-height: 0;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.logo-wrapper:hover {
    transform: scale(1.05);
}

.header-image {
    max-height: calc(var(--header-height) - 40px);
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .custom-header-container {
        height: 100px;
    }

    .header-image {
        max-height: 90px;
    }
}

#footer {
    position: relative !important;
    padding-bottom: 0 !important;
    z-index: 100;
    background-color: unset !important;
}

.footer-in {
    width: 100% !important;
    margin: 0 !important;
}

#new-footer-container {
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

#new-footer-inner {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#footer-image-section {
    min-width: 150px;
    text-align: left;
}

#footer-image-section img {
    width: 250px;
    height: auto;
    display: block;
}

#footer-links {
    margin-bottom: 5px;
    text-align: right;
}

#footer-links a {
    color: var(--color-accent) !important;
    text-decoration: underline;
    margin-left: 10px;
}

#footer-links a:hover {
    text-shadow: unset;
}

#footer-copyright-section {
    flex: 1 1 300px;
    min-width: 250px;
    text-align: right;
    font-size: 14px;
}

@media (max-width: 600px) {
    #new-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    #footer-image-section,
    #footer-copyright-section {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    #footer-links {
        text-align: center;
        margin-bottom: 10px;
    }

    #footer-links a {
        display: inline-block;
        margin: 5px 5px 0 0;
    }
}

.back-to-home:hover {
    background-color: #9467A8;
}

.custom-header-logo {
    margin: auto !important;
}

.stripchat-404 {
    background-color: #2A1F2D;
    color: #fff;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
}

.stripchat-404-main {
    max-width: 800px;
    width: 100%;
}

.stripchat-404-title {
    font-size: 3rem;
    color: #B07ACB;
    margin-bottom: 20px;
}

.stripchat-404-image {
    margin-bottom: 30px;
}

.stripchat-404-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(176, 122, 203, 0.32);
}

.stripchat-404-copy {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.back-to-home {
    display: inline-block;
    padding: 12px 30px;
    background-color: #B07ACB;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.unsubscribe-wrap {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 16px;
}

.unsubscribe-title {
    font-size: 22px;
    margin: 0 0 16px;
    text-align: center;
}

.unsubscribe-success {
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(55,245,155,.08);
    border: 1px solid rgba(55,245,155,.25);
}

.model-image {
    position: relative;
}

.model-status-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    pointer-events: none;
}

.model-status-badge.is-online {
    background: #319847;
}

.model-status-badge.is-offline {
    background: #666;
}

.sidebar-popular-list-container .model-image {
    position: relative;
}

.sidebar-popular-list-container .model-status-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    white-space: nowrap;
    pointer-events: none;
}

.sidebar-popular-list-container .model-status-badge.is-online {
    background: #319847;
}

.sidebar-popular-list-container .model-status-badge.is-offline {
    background: #666;
}

img.js-model-image[data-image-kind="offline"],
img.js-model-image[src*="/assets/images/woman/"],
img.js-model-image[src*="/assets/images/man/"],
img.js-model-image[src*="/assets/images/couple/"],
img.js-model-image[src*="/assets/images/trans/"] {
    filter: brightness(0.75);
}
