@charset "utf-8";

/* ── 공통 ── */
.review-wrap { font-family: inherit; color: inherit; }

/* 분류 필터 */
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cat-pill {
    padding: 5px 14px; border-radius: 999px;
    border: 1px solid #ddd; background: #fff;
    font-size: 13px; color: #666; cursor: pointer; text-decoration: none;
    display: inline-block; transition: all .12s;
}
.cat-pill:hover { border-color: #999; color: #333; }
.cat-pill.on { background: #222; color: #fff; border-color: #222; }

/* 목록 그리드 */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 2rem; }
.cat-block { min-width: 0; }
.cat-heading { display: flex; align-items: center; gap: 8px; margin-bottom: .6rem; }
.cat-heading-name { font-size: 13px; font-weight: 500; }
.cat-heading-line { flex: 1; height: 1px; background: #e8e8e8; }
.cat-heading-count { font-size: 11px; color: #aaa; }

/* 타임라인 */
.tl { position: relative; padding-left: 20px; }
.tl-spine { position: absolute; left: 7px; top: 4px; bottom: 4px; width: 1px; background: #e8e8e8; }
.tl-year { font-size: 11px; color: #aaa; font-weight: 500; margin-bottom: 5px; position: relative; }
.tl-year::before {
    content: ''; position: absolute; left: -15px; top: 50%; transform: translateY(-50%);
    width: 6px; height: 6px; border-radius: 50%;
    background: #fff; border: 1.5px solid #ccc;
}

/* 타임라인 아이템 */
.tl-item { margin-bottom: 5px; border-radius: 8px; border: 1px solid var(--rv-border); overflow: hidden; background: #fff; cursor: pointer; transition: border-color .12s; }
.tl-item:hover { border-color: #ccc; }
.tl-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.tl-emoji { font-size: 16px; flex-shrink: 0; line-height: 1.3; }
.tl-thumb { width: 36px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.tl-info { flex: 1; min-width: 0; }
.tl-title { font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 1px; }
.tl-sub { font-size: 10px; color: #999; }
.tl-stars { color: var(--rv-accent); font-size: 10px; letter-spacing: .3px; flex-shrink: 0; }
.tl-chevron { font-size: 11px; color: #bbb; transition: transform .2s; margin-left: 3px; flex-shrink: 0; }
.tl-item:hover .tl-chevron { transform: rotate(180deg); }

/* 호버 패널 */
.tl-panel { max-height: 0; overflow: hidden; transition: max-height .26s ease; }
.tl-item:hover .tl-panel { max-height: 200px; }
.panel-inner { border-top: 1px solid #f0f0f0; padding: 8px 10px; }
.panel-score-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.panel-score-big { font-size: 15px; font-weight: 500; }
.panel-score-max { font-size: 10px; color: #bbb; }
.panel-score-stars { color: var(--rv-accent); font-size: 10px; letter-spacing: .5px; }
.panel-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 5px; }
.panel-tag { font-size: 10px; padding: 1px 6px; border-radius: 999px; background: #f5f5f5; border: 1px solid var(--rv-border); color: #888; }
.panel-quote { font-size: 11px; color: #888; font-style: italic; border-left: 2px solid var(--rv-accent); padding-left: 7px; line-height: 1.5; }

/* 더 보기 버튼 */
.more-btn {
    display: block; width: 100%; text-align: center;
    font-size: 11px; color: #999; padding: 6px;
    border: 1px solid var(--rv-border); border-radius: 8px;
    background: #fff; cursor: pointer; margin-top: 4px;
    transition: background .12s; text-decoration: none;
}
.more-btn:hover { background: #f8f8f8; color: #666; }
.more-items { display: none; }
.more-items.open { display: block; }

/* ── 본문 ── */
.view-back { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #888; margin-bottom: 1rem; text-decoration: none; }
.view-back:hover { color: #333; }

/* 메인 카드 */
.main-card { border: 1px solid var(--rv-border); border-radius: 12px; overflow: hidden; margin-bottom: 1.25rem; background: #fff; }

/* 포스터 배너 */
.hero-top { height: 80px; display: flex; align-items: flex-end; padding: 0 16px; gap: 14px; }
.hero-poster {
    width: 64px; height: 90px; border-radius: 8px;
    background: rgba(255,255,255,.12); display: flex; align-items: center;
    justify-content: center; font-size: 34px; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.15);
    margin-bottom: -30px; position: relative; z-index: 1;
    overflow: hidden;
}
.hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.hero-poster-emoji { font-size: 34px; }
.hero-title-wrap { padding-bottom: 10px; }
.hero-title { color: #fff; font-size: 16px; font-weight: 500; }
.hero-subtitle { color: rgba(255,255,255,.5); font-size: 11px; margin-top: 2px; }

/* 정보 영역 */
.info-section { padding: 1rem 1rem 1rem 94px; }
.score-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.score-big { font-size: 26px; font-weight: 500; }
.score-max { font-size: 13px; color: #bbb; }
.score-stars { color: var(--rv-accent); font-size: 15px; letter-spacing: 1.5px; }
.info-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.info-tag { font-size: 11px; padding: 3px 10px; border-radius: 999px; background: #f5f5f5; border: 1px solid var(--rv-border); color: #888; }
.info-quote { font-size: 12px; color: #999; font-style: italic; border-left: 2px solid var(--rv-accent); padding-left: 9px; line-height: 1.55; margin-bottom: 12px; }
.meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid #f0f0f0; padding-top: 12px; }
.meta-label { font-size: 10px; color: #bbb; margin-bottom: 2px; }
.meta-val { font-size: 12px; font-weight: 500; }

/* 굵은 구분선 */
.card-sep { height: 2px; background: var(--rv-sep); }

/* 본문 섹션 */
.body-section { padding: 1.25rem; }
.body-text { font-size: 14px; line-height: 1.7; color: #333; }
.body-text p { margin-bottom: .7rem; }
.body-text p:last-child { margin-bottom: 0; }

/* 감상평 */
.review-sep { height: 1px; background: #e8e8e8; margin: 0 1.25rem; }
.review-section { padding: 1rem 1.25rem 1.25rem; }
.review-label { font-size: 11px; color: #bbb; font-weight: 500; letter-spacing: .04em; margin-bottom: .5rem; }
.review-text { font-size: 14px; line-height: 1.7; color: #333; }

/* 이전/다음 */
.view-nav { display: flex; justify-content: space-between; font-size: 12px; margin-top: 1rem; }
.view-nav a { color: #888; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.view-nav a:hover { color: #333; }

/* 글쓰기 버튼 */
.write-btn-wrap { text-align: right; margin-bottom: 1rem; }
.write-btn { display: inline-block; padding: 7px 18px; background: #222; color: #fff; border-radius: 999px; font-size: 13px; text-decoration: none; }
.write-btn:hover { background: #444; }

/* ── 작성 폼 ── */
.write-form-table { width: 100%; border-collapse: collapse; }
.write-form-table th {
    width: 120px; padding: 12px 16px; text-align: left;
    font-size: 13px; font-weight: 500; color: #555;
    background: #fafafa; border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.write-form-table td { padding: 10px 16px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.write-form-table tr:last-child th,
.write-form-table tr:last-child td { border-bottom: none; }
.frm_input { width: 100%; padding: 7px 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; box-sizing: border-box; }
.star-input { display: flex; gap: 4px; align-items: center; }
.star-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: #ddd; padding: 0; line-height: 1; transition: color .1s; }
.star-btn.on { color: var(--rv-accent); }
.score-label { font-size: 13px; color: #aaa; margin-left: 6px; }
.form-submit-row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 1rem; }
.btn-submit { padding: 8px 24px; background: #222; color: #fff; border: none; border-radius: 999px; font-size: 13px; cursor: pointer; }
.btn-cancel { padding: 8px 24px; background: #fff; color: #666; border: 1px solid #ddd; border-radius: 999px; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-block; }
