/* ==========================================================================
   都市爱情杂志 Romance Editorial - theme.css
   配色: 奶油白 #faf5ec / 酒红 #7a1f2b / 淡粉 #f3d9d7 / 墨 #33272a
   字体: 有衬线标题(Georgia/宋体系) + 高可读无衬线正文
   断点: 375(基线) / 768(分栏) / 1100(最大宽 1080)
   ========================================================================== */

:root {
    --re-bg: #faf5ec;
    --re-paper: #fffdf8;
    --re-wine: #7a1f2b;
    --re-wine-2: #9c2f3e;
    --re-pink: #f3d9d7;
    --re-pink-2: #e8b9c2;
    --re-ink: #33272a;
    --re-muted: #7d6d66;
    --re-faint: #a8978e;
    --re-line: #e6dac9;
    --re-serif: Georgia, "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
    --re-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--re-sans);
    font-size: 15px;
    line-height: 1.8;
    color: var(--re-ink);
    background: var(--re-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--re-wine); text-decoration: none; }
a:hover { color: var(--re-wine-2); }
a:focus-visible, button:focus-visible, input:focus-visible, video:focus-visible {
    outline: 2px solid var(--re-wine);
    outline-offset: 2px;
}
h1, h2, h3 { margin: 0; font-family: var(--re-serif); font-weight: 700; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote { margin: 0; }

.sr-only, .re-sr-only {
    position: absolute; width: 1px; height: 1px;
    clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.re-main { max-width: 1080px; margin: 0 auto; padding: 22px 18px 50px; }

/* ---------- 刊头 ---------- */
.re-top { background: var(--re-paper); }
.re-top__strip {
    display: flex; justify-content: space-between;
    max-width: 1080px; margin: 0 auto; padding: 6px 18px;
    border-bottom: 1px solid var(--re-line);
    color: var(--re-muted); font-size: 11px; letter-spacing: 0.12em;
}
.re-top__masthead { text-align: center; padding: 22px 18px 16px; }
.re-logo { display: inline-block; color: var(--re-ink); }
.re-logo__cn {
    display: block; font-family: var(--re-serif);
    font-size: 30px; font-weight: 700; letter-spacing: 0.14em;
}
.re-logo__en {
    display: block; margin-top: 4px;
    color: var(--re-wine); font-size: 10px; letter-spacing: 0.42em;
}
.re-top__navrow {
    max-width: 1080px; margin: 0 auto; padding: 0 18px;
    border-top: 3px double var(--re-wine);
    border-bottom: 1px solid var(--re-line);
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.re-menu { display: flex; flex-wrap: wrap; }
.re-menu a {
    display: block; padding: 10px 14px;
    color: var(--re-ink); font-size: 14px; letter-spacing: 0.06em;
}
.re-menu a:hover, .re-menu a[aria-current="page"] { color: var(--re-wine); }
.re-top__search { margin-left: auto; padding: 6px 0; }

/* ---------- 搜索表单 ---------- */
.re-searchform { display: flex; gap: 6px; }
.re-searchform input {
    width: 150px; height: 34px; padding: 0 10px;
    border: 1px solid var(--re-line); border-radius: 3px;
    background: var(--re-paper); color: var(--re-ink); font-size: 13px;
}
.re-searchform--page { margin-top: 14px; max-width: 480px; }
.re-searchform--page input { flex: 1; width: auto; height: 42px; font-size: 15px; }
.re-searchform button {
    height: 34px; padding: 0 14px; border: 1px solid var(--re-wine);
    background: var(--re-wine); color: #fff; font-size: 13px; border-radius: 3px;
}
.re-searchform--page button { height: 42px; }
.re-searchform button:hover { background: var(--re-wine-2); }

/* ---------- 按钮与文字链 ---------- */
.re-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 10px 24px;
    font-size: 14px; letter-spacing: 0.08em; border: 1px solid var(--re-wine);
}
.re-btn--solid { background: var(--re-wine); color: #fff; }
.re-btn--solid:hover { background: var(--re-wine-2); color: #fff; }
.re-btn--line { background: transparent; color: var(--re-wine); }
.re-btn--line:hover { background: var(--re-pink); color: var(--re-wine); }
.re-textlink {
    color: var(--re-wine); font-size: 14px;
    text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--re-pink-2);
}
.re-textlink:hover { text-decoration-color: var(--re-wine); }

/* ---------- 封面区 ---------- */
.re-cover {
    display: flex; flex-direction: column; gap: 22px;
    padding: 24px 20px;
    background: var(--re-paper);
    border: 1px solid var(--re-line);
    box-shadow: 0 2px 0 var(--re-pink);
    margin-bottom: 34px;
}
.re-cover__poster { max-width: 300px; margin: 0 auto; }
.re-cover__poster img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border: 6px solid #fff; outline: 1px solid var(--re-line);
    box-shadow: 0 10px 26px rgba(51, 39, 42, 0.14);
}
.re-cover__caption {
    margin-top: 8px; text-align: center;
    color: var(--re-faint); font-size: 11px; letter-spacing: 0.06em;
}
.re-cover__kicker {
    color: var(--re-wine); font-size: 12px; letter-spacing: 0.24em;
    border-bottom: 1px solid var(--re-pink-2); display: inline-block; padding-bottom: 4px;
}
.re-cover__title { margin-top: 12px; font-size: 30px; letter-spacing: 0.02em; }
.re-cover__title a { color: var(--re-ink); }
.re-cover__title a:hover { color: var(--re-wine); }
.re-cover__standfirst {
    margin-top: 10px; font-family: var(--re-serif);
    font-size: 17px; color: var(--re-muted); line-height: 1.7;
}
.re-cover__facts { margin-top: 10px; color: var(--re-faint); font-size: 13px; letter-spacing: 0.04em; }
.re-cover__note {
    margin-top: 16px; padding: 14px 16px;
    background: var(--re-pink); border-left: 3px solid var(--re-wine);
}
.re-cover__note p { font-size: 14px; color: var(--re-ink); }
.re-cover__note cite { display: block; margin-top: 8px; color: var(--re-wine); font-size: 12px; font-style: normal; }
.re-cover__cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 通用栏目 ---------- */
.re-sect, .re-picks, .re-reviews { margin-bottom: 36px; }
.re-sect__head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    border-bottom: 3px double var(--re-wine); padding-bottom: 8px; margin-bottom: 18px;
}
.re-sect__title { font-size: 21px; letter-spacing: 0.08em; }
.re-sect__note { color: var(--re-faint); font-size: 12px; }

/* ---------- 编辑推荐 ---------- */
.re-picks__grid { display: grid; gap: 18px; }
.re-pick {
    position: relative; padding: 20px 20px 20px 64px;
    background: var(--re-paper); border: 1px solid var(--re-line);
}
.re-pick__no {
    position: absolute; left: 16px; top: 14px;
    font-family: var(--re-serif); font-size: 30px; color: var(--re-pink-2);
    writing-mode: vertical-rl; letter-spacing: 0.2em;
}
.re-pick__title { font-size: 19px; }
.re-pick__title a { color: var(--re-ink); }
.re-pick__title a:hover { color: var(--re-wine); }
.re-pick__meta { margin-top: 6px; color: var(--re-faint); font-size: 12px; }
.re-pick__note { margin: 10px 0 12px; font-size: 14px; color: var(--re-ink); }

/* ---------- 剧评 ---------- */
.re-reviews__list { display: grid; gap: 16px; }
.re-review {
    padding: 16px 18px;
    background: var(--re-paper); border: 1px solid var(--re-line);
}
.re-review__date { color: var(--re-faint); font-size: 12px; letter-spacing: 0.08em; }
.re-review__title { margin-top: 4px; font-size: 18px; }
.re-review__title a { color: var(--re-ink); }
.re-review__title a:hover { color: var(--re-wine); }
.re-review__excerpt { margin-top: 8px; color: var(--re-muted); font-size: 14px; }
.re-review__drama { margin-top: 8px; font-size: 13px; color: var(--re-muted); }

/* ---------- 卡片网格(杂志卡) ---------- */
.re-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 14px; }
.re-card { min-width: 0; }
.re-card__link { display: block; color: var(--re-ink); }
.re-card__kicker {
    display: block; margin-bottom: 6px;
    color: var(--re-wine); font-size: 11px; letter-spacing: 0.2em;
}
.re-card__poster {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border: 4px solid #fff; outline: 1px solid var(--re-line);
    box-shadow: 0 6px 16px rgba(51, 39, 42, 0.10);
}
.re-card__title { margin-top: 10px; font-size: 16px; }
.re-card--mag .re-card__desc {
    margin-top: 6px; color: var(--re-muted); font-size: 13px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.re-card__meta { display: block; margin-top: 6px; color: var(--re-faint); font-size: 12px; }
.re-card__posterwrap { position: relative; display: block; }
.re-badge {
    position: absolute; left: 8px; top: 8px; padding: 1px 8px;
    background: var(--re-paper); border: 1px solid var(--re-wine);
    color: var(--re-wine); font-size: 11px;
}
.re-badge--airing { background: var(--re-wine); color: #fff; }

/* ---------- chips / 面包屑 / 分页 ---------- */
.re-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.re-chip {
    display: inline-flex; align-items: center; min-height: 34px;
    padding: 5px 14px; border: 1px solid var(--re-line);
    background: var(--re-paper); color: var(--re-ink); font-size: 13px;
}
.re-chip:hover { border-color: var(--re-wine); color: var(--re-wine); }

.re-crumbs { margin-bottom: 16px; color: var(--re-faint); font-size: 12px; }
.re-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.re-crumbs li + li::before { content: "/"; margin-right: 6px; }
.re-crumbs a { color: var(--re-muted); }
.re-crumbs a:hover { color: var(--re-wine); }

.re-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.re-pagination a, .re-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; min-height: 40px; padding: 6px 12px;
    border: 1px solid var(--re-line); background: var(--re-paper);
    color: var(--re-ink); font-size: 14px;
}
.re-pagination a:hover { border-color: var(--re-wine); color: var(--re-wine); }
.re-pagination .current { background: var(--re-wine); border-color: var(--re-wine); color: #fff; }

/* ---------- 作品详情页 ---------- */
.re-drama__mast { text-align: center; margin-bottom: 24px; }
.re-drama__kicker { color: var(--re-wine); font-size: 12px; letter-spacing: 0.24em; }
.re-drama__title { margin-top: 8px; font-size: 30px; }
.re-drama__original { margin-top: 6px; color: var(--re-faint); font-size: 13px; }

.re-drama__feature {
    display: flex; flex-direction: column; gap: 20px;
    padding: 22px 20px; margin-bottom: 30px;
    background: var(--re-paper); border: 1px solid var(--re-line);
}
.re-drama__poster { max-width: 260px; margin: 0 auto; }
.re-drama__poster img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border: 6px solid #fff; outline: 1px solid var(--re-line);
    box-shadow: 0 10px 24px rgba(51, 39, 42, 0.14);
}
.re-drama__h2 { font-size: 19px; letter-spacing: 0.06em; margin-bottom: 12px; }
.re-drama__h2sub { margin-left: 8px; color: var(--re-faint); font-size: 12px; font-family: var(--re-sans); font-weight: 400; }
.re-drama__quote {
    padding: 14px 18px; margin-bottom: 12px;
    background: var(--re-pink); border-left: 3px solid var(--re-wine);
    font-family: var(--re-serif); font-size: 16px; line-height: 1.7;
}
.re-drama__lead { color: var(--re-muted); font-size: 14px; }
.re-drama__cta { margin-top: 16px; }
.re-drama__block { margin-bottom: 30px; }
.re-drama__hint { color: var(--re-faint); font-size: 12px; margin-bottom: 12px; }
.re-drama__synopsis { font-size: 15px; color: var(--re-ink); }
.re-drama__director { margin-top: 12px; color: var(--re-muted); font-size: 14px; }

.re-drama__relations { border-top: 1px solid var(--re-line); }
.re-drama__relations li {
    display: flex; align-items: baseline; gap: 10px;
    padding: 10px 2px; border-bottom: 1px solid var(--re-line); font-size: 14px;
}
.re-drama__role { font-family: var(--re-serif); font-size: 16px; }
.re-drama__arrow { color: var(--re-pink-2); }
.re-drama__actor { color: var(--re-muted); }

.re-facts { margin-top: 14px; border-top: 1px solid var(--re-line); }
.re-facts__row {
    display: flex; gap: 12px; padding: 8px 0;
    border-bottom: 1px solid var(--re-line); font-size: 13px;
}
.re-facts__row dt { flex: 0 0 76px; color: var(--re-faint); }
.re-facts__row dd { margin: 0; }

.re-drama__reviews { display: grid; gap: 14px; }

/* ---------- 选集(行式) ---------- */
.re-eplist--rows { border-top: 1px solid var(--re-line); }
.re-eplist--rows .re-eplist__item a {
    display: flex; gap: 12px; align-items: baseline;
    padding: 12px 4px; border-bottom: 1px solid var(--re-line);
    color: var(--re-ink); font-size: 14px;
}
.re-eplist--rows .re-eplist__item a:hover { background: var(--re-pink); }
.re-eplist__num { flex: 0 0 auto; font-family: var(--re-serif); color: var(--re-wine); font-weight: 700; }
.re-eplist__name { flex: 1; min-width: 0; }
.re-eplist__meta { color: var(--re-faint); font-size: 12px; }
.re-eplist--rows .re-eplist__item.is-current a { background: var(--re-pink); color: var(--re-wine); }
.re-empty, .re-empty-state {
    padding: 36px 20px; text-align: center;
    border: 1px dashed var(--re-line); color: var(--re-muted);
}
.re-empty .re-chips { margin-top: 14px; justify-content: center; }
.re-empty-state .re-btn--ghost, .re-empty-state .re-btn--line { margin-top: 14px; }

/* ---------- 播放器与观看页 ---------- */
.re-player { border: 1px solid var(--re-line); background: #000; }
.re-player video, .re-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.re-player--pending { position: relative; }
.re-player--pending img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.55; }
.re-player__notice {
    position: absolute; inset: auto 0 0 0; padding: 14px;
    background: rgba(51, 39, 42, 0.8); color: #fff; font-size: 13px; text-align: center;
}

.re-watch__head { margin: 20px 0; }
.re-watch__kicker { font-size: 13px; color: var(--re-muted); }
.re-watch__title { margin-top: 6px; font-size: 24px; }
.re-watch__meta { margin-top: 8px; color: var(--re-faint); font-size: 13px; }
.re-watch__summary { margin-top: 10px; color: var(--re-muted); font-size: 14px; }
.re-watch__h2 { font-size: 18px; margin-bottom: 12px; }
.re-watch__eps { margin-bottom: 26px; }

.re-epnav { display: flex; gap: 10px; margin-bottom: 26px; }
.re-epnav a, .re-epnav span {
    flex: 1; display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 10px; border: 1px solid var(--re-line);
    background: var(--re-paper); color: var(--re-ink); font-size: 14px; text-align: center;
}
.re-epnav a:hover { border-color: var(--re-wine); color: var(--re-wine); }
.re-epnav span.is-disabled, .re-epnav .re-epnav__prev.is-disabled, .re-epnav .re-epnav__next.is-disabled { color: var(--re-faint); background: transparent; }

.re-watch__back {
    display: flex; gap: 16px; padding: 18px;
    background: var(--re-paper); border: 1px solid var(--re-line);
}
.re-watch__backposter { flex: 0 0 96px; }
.re-watch__backposter img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 3px solid #fff; outline: 1px solid var(--re-line); }
.re-watch__backexcerpt { margin: 8px 0 10px; color: var(--re-muted); font-size: 13px; }

/* ---------- 剧评文章页 ---------- */
.re-article { max-width: 720px; margin: 0 auto; }
.re-article__head { text-align: center; margin-bottom: 22px; }
.re-article__kicker { color: var(--re-wine); font-size: 12px; letter-spacing: 0.28em; }
.re-article__title { margin-top: 10px; font-size: 28px; }
.re-article__meta { margin-top: 10px; color: var(--re-faint); font-size: 13px; }
.re-article__drama {
    display: flex; gap: 16px; padding: 16px; margin-bottom: 22px;
    background: var(--re-paper); border: 1px solid var(--re-line);
}
.re-article__dramaposter { flex: 0 0 88px; }
.re-article__dramaposter img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 3px solid #fff; outline: 1px solid var(--re-line); }
.re-article__dramalabel { color: var(--re-faint); font-size: 11px; letter-spacing: 0.14em; }
.re-article__dramatitle { margin-top: 4px; font-family: var(--re-serif); font-size: 18px; }
.re-article__dramameta { margin: 4px 0 8px; color: var(--re-muted); font-size: 12px; }
.re-article__body { font-size: 16px; line-height: 1.9; }
.re-article__body p { margin-bottom: 1.1em; }
.re-article__foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--re-line); }

/* ---------- 归档 / 静态页 / 404 ---------- */
.re-arch__head { margin-bottom: 22px; }
.re-arch__kicker { color: var(--re-wine); font-size: 12px; letter-spacing: 0.24em; }
.re-arch__title { margin-top: 6px; font-size: 26px; }
.re-arch__intro { margin-top: 8px; color: var(--re-muted); font-size: 14px; }

.re-page { max-width: 720px; margin: 0 auto; }
.re-page__title { font-size: 26px; margin-bottom: 18px; }
.re-page__body { font-size: 15px; line-height: 1.9; color: var(--re-ink); }
.re-page__body p { margin-bottom: 1em; }

.re-404 { padding: 60px 0; text-align: center; }
.re-404__big { font-family: var(--re-serif); font-size: 76px; color: var(--re-pink-2); line-height: 1; }
.re-404__title { margin-top: 10px; font-size: 22px; }
.re-404__text { margin-top: 8px; color: var(--re-muted); }
.re-404__cta { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.re-foot {
    margin-top: 30px; background: var(--re-paper);
    border-top: 3px double var(--re-wine);
    padding: 30px 18px 24px;
}
.re-foot__grid { max-width: 1080px; margin: 0 auto; display: grid; gap: 22px; }
.re-foot__logo { font-family: var(--re-serif); font-size: 19px; letter-spacing: 0.1em; }
.re-foot__slogan { margin-top: 4px; color: var(--re-faint); font-size: 12px; }
.re-foot__h { font-size: 14px; font-family: var(--re-sans); margin-bottom: 10px; color: var(--re-muted); }
.re-foot__links { display: grid; gap: 8px; }
.re-foot__links a { color: var(--re-muted); font-size: 13px; }
.re-foot__links a:hover { color: var(--re-wine); }
.re-foot__copy {
    max-width: 1080px; margin: 22px auto 0; padding-top: 14px;
    border-top: 1px solid var(--re-line);
    color: var(--re-faint); font-size: 12px; text-align: center;
}

/* ==========================================================================
   768px: 封面与详情分栏, 网格加列
   ========================================================================== */
@media (min-width: 768px) {
    body { font-size: 16px; }
    .re-logo__cn { font-size: 38px; }
    .re-cover { flex-direction: row; align-items: flex-start; padding: 30px 34px; gap: 34px; }
    .re-cover__poster { flex: 0 0 300px; margin: 0; }
    .re-cover__story { flex: 1; }
    .re-cover__title { font-size: 36px; }
    .re-picks__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .re-reviews__list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .re-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 18px; }
    .re-drama__feature { flex-direction: row; align-items: flex-start; padding: 28px 30px; gap: 30px; }
    .re-drama__poster { flex: 0 0 260px; margin: 0; }
    .re-drama__conflict { flex: 1; }
    .re-drama__title { font-size: 34px; }
    .re-drama__reviews { grid-template-columns: repeat(2, 1fr); }
    .re-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
    .re-searchform input { width: 180px; }
}

/* ==========================================================================
   1100px: 细节放大
   ========================================================================== */
@media (min-width: 1100px) {
    .re-grid { grid-template-columns: repeat(4, 1fr); }
    .re-cover__title { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
