.model-detail {
    max-width: 1100px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.model-detail section {
    margin-bottom: 48px;
}

.stream-summary ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
}

.stream-summary li {
    background: #211A3C;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    font-size: 0.95rem;
}

.stream-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.chart-box {
    background: #17132E;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.chart-box h3 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.stream-log details {
    background: #100D22;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.stream-log summary {
    cursor: pointer;
    font-weight: bold;
}

.stream-log p {
    margin: 6px 0 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .model-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .model-profile img {
        margin: 0 auto;
    }

    .stream-charts {
        grid-template-columns: 1fr;
    }

    .watch-button-container {
        text-align: center;
    }
}

.model-tags {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #211A3C;
    padding: 7px 7px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

.category-title {
    font-size: 0.9rem;
    color: #C7C2DA;
    margin-bottom: 8px;
    font-weight: bold;
}

.related-section {
    margin: 40px 0;
    padding: 0 15px;
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.related-grid {
    display: grid !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.model-card {
    background: #17132E;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
}

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

.card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #211C3C;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 10px;
}

.neon-profile-card {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    padding: 30px;
    background: rgba(33, 26, 60, 0.78);
    border-radius: 12px;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.card-inner {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.profile-image-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-wrap img {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(196, 181, 253, 0.55);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.24);
}

.profile-info-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.info-list {
    list-style: none !important;
    margin: 0 0 25px 0 !important;
    width: 300px;
    font-size: 0.85rem;
    font-weight: bold;
}

.info-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-list .label {
    width: 90px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-align: left;
    flex-shrink: 0;
}

.info-list .value {
    text-align: left;
    flex: 1;
}

@media (max-width: 768px) {
    .card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image-wrap {
        width: 100%;
    }

    .info-list li {
        justify-content: center;
    }

    .info-list .label {
        width: 80px;
        text-align: left;
    }

    .info-list .value {
        text-align: left;
    }
}

.card-glass-layer {
    display: none;
}

.red-neon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #B07ACB 0%, #D8A8E8 100%);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 15px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.58);
    transition: 0.3s;
    padding: 16px;
    width: 300px !important;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.red-neon-button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    pointer-events: none;
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -150%;
    }

    30%,
    100% {
        left: 150%;
    }
}

.model-name {
    font-size: 1.5em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    text-align: center;
    justify-content: center;
    width: 100%;
}

.highlights {
    color: #FF9CC9;
    font-weight: bold;
}

.summary-period-title {
    font-size: 18px;
}

.model-detail .tag-item {
    text-decoration: none;
    color: inherit;
}

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

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

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

.related-section 
.profile-image-media {
    position: relative;
    width: 100%;
    max-width: 350px;
}

.profile-image-media img {
    display: block;
}

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

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

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

.model-detail .stream-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.stream-charts .chart-box {
    min-width: 0;
    padding: 22px;
    background: #17132E;
    border: 1px solid rgba(210, 161, 218, 0.12);
    border-radius: 16px;
}

.stream-charts .chart-title {
    margin: 0 0 6px;
    padding: 0;
    border: none;
    background: none;
    color: #F2EAF6;
    font-size: 18px;
    line-height: 1.5;
}

.stream-charts .chart-description {
    margin: 0 0 16px;
    color: #C8B8CF;
    font-size: 12px;
    line-height: 1.6;
}

.stream-charts .chart-canvas-wrap {
    position: relative;
    width: 100%;
    height: 250px;
}

.stream-charts .chart-canvas-mini {
    height: 108px;
}

.stream-charts .chart-mini-title {
    margin: 10px 0 4px;
    color: #C8B8CF;
    font-size: 12px;
    line-height: 1.5;
}

.stream-charts .charts-note {
    grid-column: 1 / -1;
    margin: -8px 0 0;
    color: #C8B8CF;
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .model-detail .stream-charts {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .stream-charts .chart-box {
        padding: 16px;
    }

    .stream-charts .chart-title {
        font-size: 16px;
    }

    .stream-charts .chart-canvas-wrap {
        height: 230px;
    }

    .stream-charts .chart-canvas-mini {
        height: 110px;
    }
}

.stream-log .stream-log-item[hidden],
.stream-log .stream-log-more[hidden] {
    display: none !important;
}

.stream-log-more {
    display: block;
    width: 100%;
    margin: 20px 0 0;
    padding: 14px 20px;
    border: 1px solid #B07ACB;
    border-radius: 12px;
    background: #3E2F43;
    color: #F2EAF6;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.stream-log-more:hover {
    background: #594065;
}

.stream-log-more:focus-visible {
    outline: 2px solid #D2A1DA;
    outline-offset: 3px;
}

.related-section .model-card .model-name {
    justify-content: flex-start;
    text-align: left;
}
