@charset "UTF-8";

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #141414;
    color: #e5e5e5;
    font-family:
        Arial,
        "Noto Sans KR",
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.content-more-page {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.content-more-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.content-more-kicker {
    margin: 0 0 8px;
    color: #7f7f7f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.content-more-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.25;
}

.content-more-description {
    margin: 10px 0 0;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.6;
}

.content-more-count {
    flex-shrink: 0;
    color: #8f8f8f;
    font-size: 13px;
}


.content-age-rating-badge {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #ffffff;
    font-size: 8.5px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}

.content-age-rating-badge.is-all {
    width: 28px;
    border-radius: 999px;
    background: #2f855a;
    font-size: 7px;
}

.content-age-rating-badge.is-age7 {
    background: #3478b9;
}

.content-age-rating-badge.is-age12 {
    background: #b88416;
}

.content-age-rating-badge.is-age15 {
    background: #ce6428;
}

.content-age-rating-badge.is-adult {
    background: #c53f45;
}

.content-age-rating-badge.is-unknown {
    background: #555c66;
}

.selected-platform-section {
    margin-bottom: 32px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: #1b1b1b;
}

.selected-platform-section h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 16px;
}

.selected-platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selected-platform-chip {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: #232323;
    color: #dddddd;
    font-size: 12px;
    white-space: nowrap;
}

.selected-platform-chip img {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: #ffffff;
    object-fit: cover;
    flex-shrink: 0;
}

.selected-platform-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommend-guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 32px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #1b1b1b;
}

.recommend-guide p {
    margin: 0;
    color: #b0b0b0;
    font-size: 13px;
    line-height: 1.6;
}

.recommend-guide a {
    flex-shrink: 0;
    padding: 9px 14px;
    border-radius: 8px;
    background: #ffffff;
    color: #111111;
    font-size: 12px;
    font-weight: 700;
}

/* =========================
   TODAY CONTENT GRID
========================= */

.content-more-grid-section {
    min-height: 360px;
}

.content-more-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 16px;
}

.content-more-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: #1b1b1b;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.content-more-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.content-more-thumb {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #252525;
}

.content-more-thumb > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.content-more-card:hover .content-more-thumb > img {
    transform: scale(1.04);
}

.content-more-no-image {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #777777;
    font-size: 12px;
}

.content-more-type {
    position: absolute;
    top: 9px;
    left: 9px;
    padding: 4px 7px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.74);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
}

.content-more-age-rating,
.recommend-card-age-rating {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 2;
}

.content-more-info {
    min-height: 102px;
    padding: 12px;
}

.content-more-info h2 {
    overflow: hidden;
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-more-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    color: #888888;
    font-size: 10px;
}

.content-more-score {
    flex-shrink: 0;
    color: #f4cf58;
}

.content-more-platforms {
    display: flex;
    min-height: 18px;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}

.content-more-platforms img {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: #ffffff;
    object-fit: cover;
}

.content-more-platform-more {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 4px;
    background: #292929;
    color: #bcbcbc;
    font-size: 9px;
    font-weight: 700;
}

.content-more-empty {
    display: flex;
    min-height: 360px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: #1b1b1b;
    /* [수정] #777777 on #1b1b1b는 대비 약 3.85:1로 부족해 더 밝게 교체 */
    color: #838383;
    font-size: 14px;
}

/* =========================
   RECOMMEND SECTIONS
========================= */

.recommend-slider-section {
    margin-bottom: 52px;
}

.recommend-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.recommend-section-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 23px;
}

.recommend-section-header p {
    margin: 7px 0 0;
    color: #888888;
    font-size: 12px;
}

.platform-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-section-title > img {
    display: block;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 9px;
    background: #ffffff;
    object-fit: cover;
}

.recommend-slider {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recommend-slider-btn {
    width: 38px;
    height: 58px;
    flex: 0 0 38px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #222222;
    color: #aaaaaa;
    font-size: 28px;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.recommend-slider-btn:hover {
    background: #343434;
    color: #ffffff;
}

.recommend-track {
    display: flex;
    min-width: 0;
    flex: 1;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.recommend-track::-webkit-scrollbar {
    display: none;
}

.recommend-card {
    width: 172px;
    min-width: 172px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: #1b1b1b;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.recommend-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

.recommend-card-thumb {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #252525;
}

.recommend-card-thumb > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.recommend-card:hover .recommend-card-thumb > img {
    transform: scale(1.04);
}

.recommend-card-no-image {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #777777;
    font-size: 11px;
}

.recommend-card-type {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 7px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.74);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
}

.recommend-card-info {
    min-height: 98px;
    padding: 11px 12px 13px;
}

.recommend-card-info h3 {
    overflow: hidden;
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommend-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    color: #888888;
    font-size: 10px;
}

.recommend-card-score {
    flex-shrink: 0;
    color: #f4cf58;
}

.recommend-card-platforms {
    display: flex;
    min-height: 18px;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}

.recommend-card-platforms img {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: #ffffff;
    object-fit: cover;
}

.recommend-card-platforms span {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 4px;
    background: #292929;
    color: #bcbcbc;
    font-size: 9px;
    font-weight: 700;
}

.recommend-section-empty {
    display: flex;
    min-width: 100%;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #1b1b1b;
    /* [수정] #777777 on #1b1b1b는 대비 약 3.85:1로 부족해 더 밝게 교체 */
    color: #838383;
    font-size: 13px;
}

@media (max-width: 1100px) {

    .content-more-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    .content-more-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .content-more-page {
        width: min(100% - 28px, 1200px);
        padding-top: 30px;
    }

    .content-more-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-more-hero h1 {
        font-size: 28px;
    }

    .content-more-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .recommend-guide {
        align-items: flex-start;
        flex-direction: column;
    }

    .recommend-section-header h2 {
        font-size: 20px;
    }

    .recommend-card {
        width: 155px;
        min-width: 155px;
    }

    .selected-platform-section {
        padding: 16px;
    }

    .selected-platform-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .selected-platform-chip {
        width: 100%;
        padding: 7px 10px;
    }
}

@media (max-width: 520px) {

    .content-more-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 8px;
    }

    .selected-platform-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .selected-platform-chip {
        font-size: 11px;
        padding: 7px 9px;
    }

    .selected-platform-chip img {
        width: 18px;
        height: 18px;
    }

    .content-more-info {
        min-height: 0;
        padding: 8px;
    }

    .content-more-info h2 {
        font-size: 12px;
    }

    .recommend-slider {
        gap: 7px;
    }

    .recommend-slider-btn {
        width: 30px;
        flex-basis: 30px;
    }

    .recommend-card {
        width: 142px;
        min-width: 142px;
    }

    .platform-section-title > img {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
}

/* =========================
   PERSONAL OTT RECOMMENDATION
========================= */

.ott-recommendation-section {
    margin-bottom: 34px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
        ),
        #181818;
}

.ott-recommendation-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.ott-recommendation-kicker {
    margin: 0 0 7px;
    color: #8e8e8e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.ott-recommendation-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
}

.ott-recommendation-heading > div > p:last-child {
    margin: 8px 0 0;
    color: #8f8f8f;
    font-size: 12px;
    line-height: 1.6;
}

.ott-interest-count {
    flex-shrink: 0;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #aaaaaa;
    font-size: 11px;
}

.ott-interest-count strong {
    margin-left: 4px;
    color: #ffffff;
    font-size: 14px;
}

.ott-recommendation-result {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.5fr);
    gap: 22px;
}

.ott-recommendation-summary {
    padding: 21px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.22);
}

.ott-recommendation-badge {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    font-size: 10px;
    font-weight: 800;
}

.ott-recommendation-summary h3 {
    margin: 15px 0 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.55;
}

.ott-recommendation-reasons {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.ott-recommendation-reasons li {
    position: relative;
    padding-left: 15px;
    color: #adadad;
    font-size: 12px;
    line-height: 1.6;
}

.ott-recommendation-reasons li::before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffffff;
    content: "";
}

.ott-recommendation-platform-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ott-recommendation-platform-card {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #202020;
}

.ott-recommendation-platform-rank {
    position: absolute;
    top: 10px;
    right: 12px;
    color: rgba(255, 255, 255, 0.22);
    font-size: 24px;
    font-weight: 900;
}

.ott-recommendation-platform-logo {
    display: flex;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    background: #ffffff;
}

.ott-recommendation-platform-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ott-recommendation-platform-logo span {
    color: #222222;
    font-size: 11px;
    font-weight: 900;
}

.ott-recommendation-platform-info {
    min-width: 0;
    flex: 1;
}

.ott-recommendation-platform-info h4 {
    overflow: hidden;
    margin: 0;
    padding-right: 25px;
    color: #ffffff;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ott-recommendation-score {
    margin-top: 6px;
    color: #aaaaaa;
    font-size: 11px;
}

.ott-recommendation-score strong {
    color: #f4cf58;
    font-size: 22px;
}

.ott-recommendation-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
    margin: 15px 0 0;
}

.ott-recommendation-stats div {
    min-width: 0;
}

.ott-recommendation-stats dt {
    color: #777777;
    font-size: 10px;
}

.ott-recommendation-stats dd {
    margin: 3px 0 0;
    color: #d6d6d6;
    font-size: 12px;
    font-weight: 700;
}

.ott-recommendation-empty {
    display: flex;
    min-height: 116px;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.22);
}

.ott-recommendation-empty-icon {
    display: flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
}

.ott-recommendation-empty > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.ott-recommendation-empty h3 {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
}

.ott-recommendation-empty p {
    margin: 7px 0 0;
    color: #a4a4a4;
    font-size: 12px;
    line-height: 1.6;
}

.ott-recommendation-empty span {
    display: block;
    margin-top: 7px;
    color: #686868;
    font-size: 10px;
}

.ott-recommendation-empty a {
    flex-shrink: 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: #ffffff;
    color: #111111;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 900px) {

    .ott-recommendation-result {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .ott-recommendation-section {
        padding: 19px;
    }

    .ott-recommendation-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .ott-recommendation-platform-list {
        grid-template-columns: 1fr;
    }

    .ott-recommendation-empty {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}


/* =========================
   OTT RECOMMENDATION - SIMPLIFIED DISPLAY
   내부 추천 점수와 관심 콘텐츠 개수는 계산에만 사용하고
   사용자 화면에는 노출하지 않습니다.
========================= */

.ott-recommendation-platform-caption {
    margin: 8px 0 0;
    color: #9a9a9a;
    font-size: 12px;
    line-height: 1.6;
}

.ott-recommendation-score,
.ott-recommendation-stats,
.ott-interest-count {
    display: none;
}

/* =========================
   OTT RECOMMENDATION CONTENT SUMMARY
   추천 OTT 카드 하단 콘텐츠 정보를 정돈된 형태로 표시합니다.
========================= */

.ott-recommendation-content-summary {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ott-recommendation-content-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.ott-recommendation-content-row strong {
    flex: 0 0 72px;
    color: #7f7f7f;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.55;
    white-space: nowrap;
}

.ott-recommendation-content-row span {
    min-width: 0;
    color: #c8c8c8;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.55;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.ott-recommendation-content-row a {
    color: #d9d9d9;
    font-size: inherit;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ott-recommendation-content-row a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 480px) {
    .ott-recommendation-content-summary {
        gap: 6px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .ott-recommendation-content-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .ott-recommendation-content-row strong {
        flex-basis: auto;
    }
}