@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

:root {
    --color-main: #B07ACB;
    --color-main-dark: #7B5A86;
    --color-main-light: #D2A1DA;
    --color-accent: #F08AB7;
    --color-accent-hover: #F5B0CF;
    --color-bg: #2A1F2D;
    --color-bg-sub: #342638;
    --color-surface: #3E2F43;
    --color-text: #F2EAF6;
    --color-text-sub: #C8B8CF;
    --color-border: rgba(210, 161, 218, 0.24);
}

.header-container,
.main,
.sidebar,
.footer {
    background-color: transparent;
}

.content-top-in {
    width: 100% !important;
}

.grecaptcha-badge {
    visibility: hidden;
}

#go-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 99999 !important;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.go-to-top-button {
    background-color: #B07ACB !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 55px !important;
    height: 55px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 0 8px rgba(176, 122, 203, 0.42) !important;
    transition: all 0.3s ease-in-out !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.go-to-top-button:hover {
    background-color: #9467A8 !important;
    box-shadow: 0 0 15px rgba(176, 122, 203, 0.60), 0 0 25px rgba(176, 122, 203, 0.32) !important;
    -webkit-transform: translateY(-5px) translateZ(0);
    transform: translateY(-5px) translateZ(0);
}

.go-to-top-button-icon-font span.fa {
    font-size: 1.8rem !important;
}

.go-to-top-hide {
    opacity: 0 !important;
    pointer-events: none !important;
    -webkit-transform: translateY(20px) translateZ(0);
    transform: translateY(20px) translateZ(0);
    display: flex !important;
}

#go-to-top:not(.go-to-top-hide) .go-to-top-button {
    opacity: 1 !important;
    pointer-events: auto !important;
    -webkit-transform: translateY(0) translateZ(0);
    transform: translateY(0) translateZ(0);
}

.breadcrumb.sbp-main-before,
.breadcrumb.sbp-footer-before,
.breadcrumb.pbp-main-before,
.breadcrumb.pbp-footer-before {
    background-color: unset;
}

.modern-search-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.search-input-group {
    display: flex;
    gap: 10px;
}

.modern-search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    font-size: 1rem !important;
}

.modern-search-btn {
    background: var(--color-main) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 30px !important;
    border-radius: 40px !important;
    font-weight: bold !important;
    cursor: pointer;
}

.custom-popular-entry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.custom-popular-entry-cards .popular-entry-card.compact {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

.custom-popular-entry-cards .popular-entry-card.compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.custom-popular-entry-cards .popular-entry-card-thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.custom-popular-entry-cards img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-popular-entry-cards .popular-entry-card-body {
    padding: 6px 8px;
}

.custom-popular-entry-cards .popular-entry-card-title {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-popular-entry-cards .popular-entry-card-meta {
    display: flex;
    gap: 6px;
    font-size: 11px;
    color: #8F89AA;
    margin-top: 2px;
}

.custom-popular-entry-cards .favorite {
    color: #D8A8E8;
}

.model-archive {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 40px;
    color: #F2EAF6;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.model-archive-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.model-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.model-item {
    background: linear-gradient(
    180deg,
    rgba(52, 38, 56, 0.94),
    rgba(42, 31, 45, 0.96)
  );
    border: 1px solid rgba(167, 139, 250, 0.14);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.model-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.5);
}

.model-item a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.model-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #211C3C;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.model-item:hover .model-image img {
    transform: scale(1.05);
}

.model-body {
    padding: 12px 14px 14px;
}

.model-name {
    display: flex;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 1.1rem;
    margin: 0 0 6px;
    color: #ffffff;
    font-weight: 600 !important;
    text-decoration: none;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tag-badge {
    display: inline-block;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 3px;
    background: #3E2F43;
    color: var(--color-accent);
    border: 1px solid var(--color-border);
}

.tag-badge.cat {
    margin: auto 0;
    margin-right: 5px;
    background: var(--color-main-dark);
    color: #ffffff;
    border-color: var(--color-main);
}

.pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 12px;
    align-items: center;
    color: #F2EAF6;
    background: rgba(62, 47, 67, 0.74);
    border: 1px solid rgba(210, 161, 218, 0.18);
    text-decoration: none;
}

.pagination a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.pagination .current,
.pagination .page-current {
    background: linear-gradient(135deg, #B07ACB, #DDB4E4);
    color: #2A1F2D;
    border-color: transparent;
}

.widget-content-top-title,
.widget-below-related-entries-title {
    text-align: center;
}

#sidebar h3.widget-sidebar-title.widget-title,
#sidebar h3.widget-title {
    background: rgba(124, 58, 237, 0.18) !important;
    color: var(--color-text) !important;
    padding: 7px 10px !important;
    border: 1px solid var(--color-border) !important;
    border-left: 8px solid var(--color-main) !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 15px !important;
}

.sidebar-image-link a {
    text-decoration: none !important;
    border: none !important;
    display: block;
    line-height: 0;
}

.sidebar-image-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    border: none !important;
}

.sidebar-image-link img:hover {
    opacity: 0.5;
}

input[type="text"]:focus,
input[type="search"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

.live-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 35px;
    background: linear-gradient(135deg, #B07ACB 0%, #D2A1DA 100%);
    color: #fff !important;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none !important;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(176, 122, 203, 0.28);
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.5;
}

.live-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(210, 161, 218, 0.38);
    opacity: 0.9;
}

li:has(.live-button) {
    list-style: none;
    margin-top: 10px;
}

.gender-icon {
    display: inline-flex;
    width: 1.15em;
    height: 1.15em;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    vertical-align: -0.16em;
    line-height: 1;
}

.gender-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.tag-badge.cat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tag-badge.cat .gender-icon {
    margin: 0;
}

.tag-badge.cat .gender-icon--female {
    color: #ff8fc2;
}

.tag-badge.cat .gender-icon--male {
    color: #78c8ff;
}

.tag-badge.cat .gender-icon--couple {
    color: #ffd37a;
}

.tag-badge.cat .gender-icon--trans {
    color: #c9a0ff;
}

.model-name .gender-icon {
    width: 1.2em;
    height: 1.2em;
}

.model-status-badge.is-online {
    background: linear-gradient(120deg,#E94797,#BE367F) !important;
    border: 1px solid rgba(255,191,226,.65) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(233,71,151,.22);
    border-radius: 999px !important;
    white-space: nowrap;
}

.model-status-badge.is-online::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 5px;
    background: #fff;
    box-shadow: 0 0 7px rgba(255,255,255,.9);
    vertical-align: 1px;
}

.model-status-badge.is-offline {
    background: rgba(77,67,85,.93) !important;
    color: #E0D3E5 !important;
    border: 1px solid rgba(200,184,207,.32) !important;
    border-radius: 999px !important;
    white-space: nowrap;
}

.model-tags {
    align-items: center;
    gap: 6px;
}

.model-meta-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid rgba(210, 161, 218, 0.28);
    border-radius: 999px;
    background-color: rgba(62, 47, 67, 0.9);
    color: #F2EAF6;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.model-meta-tag--country,
.model-meta-tag--broadcast {
    background-color: rgba(123, 90, 134, 0.22);
    border-color: rgba(210, 161, 218, 0.34);
    color: #F2EAF6;
}

.model-meta-tag--favorite {
    background-color: rgba(240, 138, 183, 0.12);
    border-color: rgba(240, 138, 183, 0.42);
    color: #FF9CC9;
}

.model-meta-tag--viewers,
.model-meta-tag--stat {
    color: #DFD0E6;
}

.model-meta-icon {
    display: inline-block;
    flex-shrink: 0;
    width: 1.12em;
    height: 1.12em;
    color: inherit;
    font-size: 1.05em;
    line-height: 1;
}

.model-meta-tag--viewers .model-meta-icon {
    color: #F08AB7;
}

.model-meta-tag--stat .model-meta-icon {
    color: #D6A8E6;
}

.model-meta-label,
.model-meta-value {
    display: inline;
}

.model-meta-value {
    font-variant-numeric: tabular-nums;
}

.model-meta-tag--favorite .model-meta-icon {
    font-size: 1.2em;
}

@media screen and (max-width: 480px) {
    .model-meta-tag {
        min-height: 22px;
        padding: 3px 7px;
        font-size: 0.65rem;
    }
}
