:root {
  color-scheme: dark;
  --bg: #0e0f13;
  --surface: #16181f;
  --surface-2: #1e212b;
  --text: #f5f6f8;
  --muted: #a0a4ad;
  --brand: #e50914;
  --imdb: #f5c518;
  --tmdb: #21d07a;
  --douban: #00b51d;
  --rt: #fa320a;
  --line: rgba(255,255,255,.08);
  --radius: 12px;
  --shell: min(1180px, calc(100vw - 32px));
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #e9edf5;
  --surface: #ffffff;
  --surface-2: #dde4ee;
  --text: #0f172a;
  --muted: #3f4b5f;
  --line: rgba(15,23,42,.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
input, select, textarea, button { font: inherit; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #101219; color: var(--text); padding: .7rem .8rem; }
button, .button, input[type="submit"] { border: 0; border-radius: 8px; background: var(--surface-2); color: var(--text); padding: .7rem 1rem; cursor: pointer; }
button:hover, .button:hover, input[type="submit"]:hover { background: var(--brand); color: #fff; }
.button--primary { background: var(--brand); color: #fff; display: inline-flex; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--brand); padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.site-shell { width: var(--shell); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(14,15,19,.84); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: 72px; display: flex; align-items: center; gap: 1rem; }
.site-logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; }
.site-logo__mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--brand); }
.site-nav { margin-left: auto; }
.site-nav__menu, .footer-nav { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.header-search { display: flex; gap: .5rem; width: min(360px, 28vw); }
.header-search button { white-space: nowrap; }
.theme-toggle {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  padding: .4rem .8rem;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}
.theme-toggle:hover { border-color: rgba(229,9,20,.45); background: rgba(229,9,20,.14); color: var(--text); }
.site-account { display: flex; gap: .75rem; color: var(--muted); font-size: .92rem; }
.site-main { min-height: 70vh; }
.site-footer { margin-top: 4rem; border-top: 1px solid var(--line); color: var(--muted); background: #0a0b0f; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 0; flex-wrap: wrap; }
.hero-slider { padding: 2rem 0 1rem; }
.hero-card { position: relative; min-height: 520px; display: flex; align-items: end; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(90deg, rgba(14,15,19,.92), rgba(14,15,19,.35)), var(--backdrop) center/cover; }
.hero-card::after, .movie-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg), transparent 45%); pointer-events: none; }
.hero-card__content { position: relative; z-index: 1; max-width: 640px; padding: 3rem; }
.hero-card h1, .movie-hero h1 { margin: .2rem 0 .8rem; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.05; }
.eyebrow { margin: 0 0 .5rem; color: var(--brand); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.page-sections, .archive-layout { padding: 2rem 0 0; }
.section-block { margin: 0 0 3rem; }

.profile-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.profile-summary__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: var(--surface);
}
.profile-summary__card span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}
.profile-summary__card strong {
  display: block;
  margin-top: .35rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.section-heading h2, .section-block h2, .content-panel h2 { margin: 0; font-size: 1.45rem; }
.movie-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; }
.movie-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 180px); gap: 1rem; overflow-x: auto; padding-bottom: .75rem; }
.movie-card { min-width: 0; }
.movie-card__poster { position: relative; display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 2 / 3; }
.movie-card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.movie-card:hover img { transform: scale(1.045); }
.movie-card__score { position: absolute; right: .5rem; bottom: .5rem; min-width: 40px; min-height: 40px; display: grid; place-items: center; border-radius: 999px; background: rgba(229,9,20,.9); font-weight: 800; }
.movie-card__body h3 { margin: .65rem 0 .1rem; font-size: .98rem; line-height: 1.35; }
.movie-card__body p { margin: 0; color: var(--muted); font-size: .86rem; }
.movie-hero { position: relative; min-height: 620px; display: flex; align-items: end; background: linear-gradient(90deg, rgba(14,15,19,.92), rgba(14,15,19,.35)), var(--backdrop) center/cover; }
.movie-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: end; padding: 8rem 0 3rem; }
.movie-hero__poster { width: 280px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.movie-meta-line { color: var(--muted); margin: 0 0 1rem; }
.term-pills, .rating-row, .share-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0; }
.term-pills a { border: 1px solid var(--line); border-radius: 999px; padding: .28rem .7rem; color: var(--muted); background: rgba(255,255,255,.04); }
.rating-badge { display: inline-flex; align-items: baseline; gap: .35rem; border-radius: 999px; padding: .38rem .75rem; background: var(--surface-2); border: 1px solid var(--line); }
.rating-badge strong { font-size: 1.05rem; }
.rating-badge--imdb { color: #111; background: var(--imdb); }
.rating-badge--tmdb { color: #04140c; background: var(--tmdb); }
.rating-badge--douban { color: #fff; background: var(--douban); }
.rating-badge--rt { color: #fff; background: var(--rt); }
.rating-badge--editor, .rating-badge--site { color: #fff; background: var(--brand); }
.share-bar a, .share-bar button { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; background: rgba(255,255,255,.05); color: var(--muted); }
.movie-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; margin-top: 2rem; }
.movie-main, .movie-sidebar { min-width: 0; }
.content-panel, .filter-panel, .mwc-rating-box, .mwc-favorite-box, .mwc-quotes .mwc-quote { background: var(--surface); border: 1px solid var(--line) !important; border-radius: var(--radius) !important; padding: 1.25rem !important; }
.entry-content :first-child { margin-top: 0; }
.entry-content :last-child { margin-bottom: 0; }
.compact-meta dl { display: grid; grid-template-columns: 72px 1fr; gap: .6rem 1rem; margin: 0; }
.compact-meta dt { color: var(--muted); }
.compact-meta dd { margin: 0; }
.movie-sidebar { display: grid; align-content: start; gap: 1rem; }
.archive-header { margin-bottom: 1.5rem; max-width: 760px; }
.archive-header h1 { margin: .2rem 0; font-size: clamp(2rem, 5vw, 3.4rem); }
.archive-header p { color: var(--muted); }
.filter-panel { margin-bottom: 1.5rem; }
.archive-result-summary { margin: -0.5rem 0 1rem; color: var(--muted); font-size: .95rem; }
.movie-filter-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .85rem; align-items: end; }
.movie-filter-form label { display: grid; gap: .35rem; color: var(--muted); font-size: .9rem; }
.movie-filter-form input, .movie-filter-form select { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); padding: .62rem .7rem; }
.movie-filter-form__actions { grid-column: span 2; display: flex; flex-wrap: nowrap; gap: .5rem; align-items: center; }
.movie-filter-form__actions .button { white-space: nowrap; justify-content: center; }
.movie-filter-active { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.movie-filter-active__label { margin-right: .1rem; }
.movie-filter-chip, .movie-filter-clear { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--line); border-radius: 999px; padding: .32rem .72rem; background: rgba(255,255,255,.05); color: var(--text); }
.movie-filter-chip span { color: var(--muted); font-weight: 700; }
.movie-filter-clear { color: var(--brand); }

@media (max-width: 540px) {
  .movie-filter-form__actions { grid-column: 1 / -1; }
  .movie-filter-form__actions .button { flex: 1 1 0; }
}
.rank-list { display: grid; gap: .75rem; }
.rank-item { display: grid; grid-template-columns: 64px 58px 1fr; align-items: center; gap: 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.rank-item__num { font-size: 1.4rem; color: var(--brand); font-weight: 900; }
.rank-item img { width: 58px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.rank-item h3 { margin: 0; }
.rank-item p { margin: .1rem 0 0; color: var(--muted); }
.empty-state { padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.post-list { display: grid; gap: 1rem; }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-body { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.mwc-search-form label { color: var(--muted); font-size: .9rem; }
.mwc-search-results article { background: var(--surface) !important; border-color: var(--line) !important; }
.mwc-quotes blockquote { color: var(--text); }
.navigation.pagination { margin-top: 2rem; }
.nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.page-numbers { border: 1px solid var(--line); border-radius: 8px; padding: .35rem .7rem; }
.page-numbers.current { background: var(--brand); border-color: var(--brand); }
@media (max-width: 980px) {
  .site-header__inner { flex-wrap: wrap; padding: .8rem 0; }
  .site-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .header-search { width: auto; flex: 1; }
  .movie-hero__inner, .movie-layout { grid-template-columns: 1fr; }
  .movie-hero__poster { width: 190px; }
  .movie-hero { min-height: auto; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 640px) {
  .site-account { width: 100%; }
  .header-search { width: 100%; order: 4; }
  .hero-card { min-height: 460px; }
  .hero-card__content { padding: 1.5rem; }
  .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-item { grid-template-columns: 44px 48px 1fr; }
}

.mwc-topic-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.mwc-topic-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.mwc-topic-list span, .mwc-discussion-empty { color: var(--muted); font-size: .9rem; }

.bbpress-content {
  background: rgba(22,24,31,.98) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
}
#bbpress-forums { color: var(--text); }
#bbpress-forums a { color: var(--text); }
#bbpress-forums a:hover { color: var(--brand); }
#bbpress-forums .bbp-breadcrumb,
#bbpress-forums .bbp-pagination,
#bbpress-forums .bbp-template-notice,
#bbpress-forums .bbp-no-topic,
#bbpress-forums .bbp-login-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10,11,15,.72);
  padding: .85rem 1rem;
}
#bbpress-forums .bbp-breadcrumb p,
#bbpress-forums .bbp-template-notice ul,
#bbpress-forums .bbp-template-notice li,
#bbpress-forums .bbp-pagination-count,
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-forum-description { margin: 0; color: var(--muted); }
#bbpress-forums .bbp-template-notice ul { padding: 0; list-style: none; }
#bbpress-forums .bbp-pagination { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0; }
#bbpress-forums .bbp-forum-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10,11,15,.72);
}
#bbpress-forums .bbp-forum-search { flex: 1 1 220px; }
#bbpress-forums .bbp-forum-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 0 1rem;
}
#bbpress-forums .bbp-forum-search input::placeholder { color: var(--muted); }
#bbpress-forums .bbp-forum-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
#bbpress-forums .bbp-forum-filter { position: relative; cursor: pointer; }
#bbpress-forums .bbp-forum-filter input { position: absolute; opacity: 0; pointer-events: none; }
#bbpress-forums .bbp-forum-filter span,
#bbpress-forums .bbp-forum-reset,
#bbpress-forums .bbp-forum-toolbar button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  padding: 0 .9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
#bbpress-forums .bbp-forum-toolbar button {
  cursor: pointer;
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
#bbpress-forums .bbp-forum-filter.is-active span,
#bbpress-forums .bbp-forum-filter input:checked + span {
  border-color: rgba(229,9,20,.72);
  background: rgba(229,9,20,.16);
  color: var(--text);
}
#bbpress-forums .bbp-forum-empty {
  margin: 1rem 0 0;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(10,11,15,.5);
}
#bbpress-forums ul.bbp-topics {
  overflow: hidden;
  margin: 1rem 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101219;
  list-style: none;
}
#bbpress-forums ul.bbp-topics ul { margin: 0; padding: 0; list-style: none; }
#bbpress-forums .bbp-header,
#bbpress-forums .bbp-footer { background: rgba(255,255,255,.06); color: var(--muted); font-weight: 800; }
#bbpress-forums .bbp-header ul,
#bbpress-forums .bbp-body > ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 90px 180px;
  align-items: center;
  gap: 1rem;
  padding: .95rem 1rem;
}
#bbpress-forums .bbp-body > ul { border-top: 1px solid var(--line); background: rgba(255,255,255,.025); }
#bbpress-forums .bbp-topic-title { min-width: 0; }
#bbpress-forums .bbp-topic-permalink { color: var(--text); font-weight: 800; }
#bbpress-forums .bbp-topic-voice-count,
#bbpress-forums .bbp-topic-reply-count,
#bbpress-forums .bbp-topic-freshness { color: var(--muted); text-align: center; }
#bbpress-forums .bbp-topic-freshness { text-align: right; }
#bbpress-forums .bbp-author-avatar img { display: inline-block; margin-right: .25rem; border-radius: 999px; vertical-align: -2px; }
#bbpress-forums .bbp-login-form fieldset { margin: 1rem 0 0; }
#bbpress-forums .bbp-login-form legend { padding: 0 .35rem; color: var(--text); font-weight: 800; }
#bbpress-forums .bbp-login-form label { color: var(--muted); }
#bbpress-forums .bbp-login-form .bbp-username,
#bbpress-forums .bbp-login-form .bbp-password,
#bbpress-forums .bbp-login-form .bbp-remember-me { margin-bottom: .85rem; }
#bbpress-forums .bbp-login-form input[type="checkbox"] { width: auto; margin-right: .35rem; }
@media (max-width: 760px) {
  #bbpress-forums .bbp-header ul,
  #bbpress-forums .bbp-body > ul { gap: .35rem; }
  #bbpress-forums .bbp-topic-voice-count,
  #bbpress-forums .bbp-topic-reply-count,
  #bbpress-forums .bbp-topic-freshness { text-align: left; }
}

#bbpress-forums ul.bbp-replies {
  overflow: hidden;
  margin: 1rem 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101219;
  list-style: none;
}
#bbpress-forums .bbp-replies .bbp-header,
#bbpress-forums .bbp-replies .bbp-footer {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1rem;
  padding: .95rem 1rem;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-weight: 800;
}
#bbpress-forums .bbp-replies .bbp-body { list-style: none; }
#bbpress-forums .bbp-reply-header {
  padding: .7rem 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}
#bbpress-forums .bbp-reply-header .bbp-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .9rem;
}
#bbpress-forums .bbp-replies .bbp-body > .topic,
#bbpress-forums .bbp-replies .bbp-body > .reply {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,.025);
}
#bbpress-forums .bbp-reply-author {
  color: var(--muted);
  text-align: center;
}
#bbpress-forums .bbp-reply-author .avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto .45rem;
  border-radius: 999px;
}
#bbpress-forums .bbp-author-name { color: var(--text); font-weight: 800; }
#bbpress-forums .bbp-author-role { color: var(--muted); font-size: .85rem; }
#bbpress-forums .bbp-reply-content {
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 1rem;
  color: var(--text);
}
#bbpress-forums .bbp-reply-content :first-child { margin-top: 0; }
#bbpress-forums .bbp-reply-content :last-child { margin-bottom: 0; }
#bbpress-forums .bbp-no-reply { margin-top: 1rem; }
@media (max-width: 760px) {
  #bbpress-forums .bbp-replies .bbp-header,
  #bbpress-forums .bbp-replies .bbp-footer,
  #bbpress-forums .bbp-replies .bbp-body > .topic,
  #bbpress-forums .bbp-replies .bbp-body > .reply { grid-template-columns: 1fr; }
  #bbpress-forums .bbp-reply-author { text-align: left; }
  #bbpress-forums .bbp-reply-author .avatar { margin: 0 0 .45rem; }
  #bbpress-forums .bbp-reply-content { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
}

#bbpress-forums .bbp-reply-form,
#bbpress-forums .bbp-topic-form {
  margin-top: 1.25rem;
}
#bbpress-forums #new-post fieldset.bbp-form {
  margin: 0;
  padding: 1rem !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: rgba(10,11,15,.82);
}
#bbpress-forums #new-post legend {
  padding: 0 .4rem;
  color: var(--text);
  font-weight: 800;
}
#bbpress-forums #new-post label { color: var(--muted); }
#bbpress-forums #new-post p { margin: .85rem 0; }
#bbpress-forums #new-post input[type="text"],
#bbpress-forums #new-post input[type="password"],
#bbpress-forums #new-post select,
#bbpress-forums #new-post textarea,
#bbpress-forums #bbp_reply_content,
#bbpress-forums #bbp_topic_content {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101219;
  color: var(--text);
}
#bbpress-forums #new-post textarea,
#bbpress-forums #bbp_reply_content,
#bbpress-forums #bbp_topic_content { min-height: 180px; }
#bbpress-forums #new-post input[type="checkbox"] { width: auto; margin-right: .35rem; }
#bbpress-forums .bbp-the-content-wrapper {
  overflow: hidden;
  margin: .75rem 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101219;
}
#bbpress-forums .bbp-the-content-wrapper textarea {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#bbpress-forums .bbp-the-content-wrapper .quicktags-toolbar,
#bbpress-forums .bbp-the-content-wrapper .wp-editor-tabs {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.06);
}
#bbpress-forums .bbp-the-content-wrapper .quicktags-toolbar input,
#bbpress-forums .bbp-the-content-wrapper .wp-switch-editor {
  width: auto;
  margin: .25rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  padding: .35rem .55rem;
}
#bbpress-forums .bbp-submit-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
}
#bbpress-forums .bbp-submit-wrapper .button { background: var(--brand); color: #fff; }

#bbpress-forums div.bbp-reply-header {
  margin: 0;
  padding: .7rem 1rem;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
}
#bbpress-forums div.bbp-reply-header .bbp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  min-height: 30px;
  color: var(--muted);
  font-size: .9rem;
}
#bbpress-forums div.bbp-reply-header .bbp-reply-post-date {
  color: var(--muted);
}
#bbpress-forums div.bbp-reply-header .bbp-reply-permalink {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  padding: .12rem .65rem;
  font-weight: 800;
}
#bbpress-forums div.bbp-reply-header .bbp-admin-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-left: auto;
  color: var(--muted);
}
#bbpress-forums div.bbp-reply-header .bbp-admin-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  padding: .12rem .55rem;
  font-size: .82rem;
}
#bbpress-forums div.bbp-reply-header .bbp-admin-links a:hover {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

#bbpress-forums ul.bbp-topics {
  border-color: rgba(255,255,255,.12);
  background: rgba(10,11,15,.86);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
#bbpress-forums ul.bbp-topics > li { margin: 0; }
#bbpress-forums ul.bbp-topics > .bbp-header {
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
}
#bbpress-forums ul.bbp-topics > .bbp-footer { display: none; }
#bbpress-forums .bbp-topics .bbp-body { list-style: none; }
#bbpress-forums ul.bbp-topics .bbp-header ul,
#bbpress-forums .bbp-topics .bbp-body > ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 96px minmax(180px, .42fr);
  align-items: center;
  gap: 1rem;
}
#bbpress-forums ul.bbp-topics .bbp-header ul {
  padding: .9rem 1rem;
}
#bbpress-forums .bbp-topics .bbp-body > ul {
  padding: 1rem;
  border-top: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
  transition: background .18s ease, border-color .18s ease;
}
#bbpress-forums .bbp-topics .bbp-body > ul:last-child { border-bottom: 0; }
#bbpress-forums .bbp-topics .bbp-body > ul:hover {
  border-color: rgba(229,9,20,.35);
  background: rgba(229,9,20,.08);
}
#bbpress-forums .bbp-topics .bbp-topic-title { min-width: 0; }
#bbpress-forums .bbp-topics .bbp-topic-permalink {
  display: inline-block;
  max-width: 100%;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
#bbpress-forums .bbp-topics .bbp-topic-meta {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .9rem;
}
#bbpress-forums .bbp-topics .bbp-topic-voice-count,
#bbpress-forums .bbp-topics .bbp-topic-reply-count {
  justify-self: center;
  min-width: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  padding: .15rem .55rem;
  color: var(--text);
  font-weight: 800;
}
#bbpress-forums .bbp-topics .bbp-topic-freshness {
  color: var(--muted);
  font-size: .92rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
#bbpress-forums .bbp-topics .bbp-topic-freshness a { color: var(--text); font-weight: 700; }
#bbpress-forums ul.bbp-topics .bbp-header .bbp-topic-voice-count,
#bbpress-forums ul.bbp-topics .bbp-header .bbp-topic-reply-count,
#bbpress-forums ul.bbp-topics .bbp-header .bbp-topic-freshness,
#bbpress-forums .bbp-topics .bbp-topic-freshness a {
  white-space: nowrap;
  word-break: keep-all;
}
@media (max-width: 760px) {
  #bbpress-forums .bbp-topics .bbp-topic-voice-count,
  #bbpress-forums .bbp-topics .bbp-topic-reply-count { justify-self: start; }
}

#bbpress-forums ul.bbp-forums {
  overflow: hidden;
  margin: 1rem 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(10,11,15,.86);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  list-style: none;
}
#bbpress-forums ul.bbp-forums ul { margin: 0; padding: 0; list-style: none; }
#bbpress-forums ul.bbp-forums > li { margin: 0; }
#bbpress-forums ul.bbp-forums > .bbp-header {
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
}
#bbpress-forums ul.bbp-forums > .bbp-footer { display: none; }
#bbpress-forums .bbp-forums .bbp-body { list-style: none; }
#bbpress-forums ul.bbp-forums .bbp-header ul,
#bbpress-forums .bbp-forums .bbp-body > ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 64px minmax(150px, .42fr);
  align-items: center;
  gap: 1rem;
}
#bbpress-forums ul.bbp-forums .bbp-header ul {
  padding: .9rem 1rem;
}
#bbpress-forums .bbp-forums .bbp-body > ul {
  padding: 1rem;
  border-top: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
  transition: background .18s ease, border-color .18s ease;
}
#bbpress-forums .bbp-forums .bbp-body > ul:last-child { border-bottom: 0; }
#bbpress-forums .bbp-forums .bbp-body > ul:hover {
  border-color: rgba(229,9,20,.35);
  background: rgba(229,9,20,.08);
}
#bbpress-forums .bbp-forums .bbp-forum-info { min-width: 0; }
#bbpress-forums .bbp-forums .bbp-forum-title {
  display: inline-block;
  max-width: 100%;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
#bbpress-forums .bbp-forums .bbp-forum-content {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}
#bbpress-forums .bbp-forums .bbp-forum-topic-count,
#bbpress-forums .bbp-forums .bbp-forum-reply-count {
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}
#bbpress-forums .bbp-forums .bbp-forum-freshness {
  min-width: 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: right;
  overflow-wrap: anywhere;
}
#bbpress-forums .bbp-forums .bbp-forum-freshness a { color: var(--text); font-weight: 700; }

@media (max-width: 760px) {
  #bbpress-forums ul.bbp-forums .bbp-header ul,
  #bbpress-forums ul.bbp-forums .bbp-body > ul {
    align-items: center;
    gap: .55rem;
    padding: .72rem;
  }
  #bbpress-forums ul.bbp-forums .bbp-header ul {
    grid-template-columns: 44px 44px minmax(92px, .72fr);
    font-size: .78rem;
    line-height: 1.25;
  }
  #bbpress-forums ul.bbp-forums .bbp-body > ul {
    grid-template-columns: 44px 44px minmax(92px, .72fr);
  }
  #bbpress-forums ul.bbp-forums .bbp-forum-info { grid-column: 1 / -1; }
  #bbpress-forums ul.bbp-forums .bbp-header .bbp-forum-info { display: none; }
  #bbpress-forums ul.bbp-forums .bbp-body .bbp-forum-topic-count { grid-column: 1; }
  #bbpress-forums ul.bbp-forums .bbp-body .bbp-forum-reply-count { grid-column: 2; }
  #bbpress-forums ul.bbp-forums .bbp-body .bbp-forum-freshness { grid-column: 3; }
  #bbpress-forums ul.bbp-forums .bbp-forum-topic-count,
  #bbpress-forums ul.bbp-forums .bbp-forum-reply-count,
  #bbpress-forums ul.bbp-forums .bbp-forum-freshness {
    justify-self: stretch;
    text-align: center;
    font-size: .78rem;
  }
  #bbpress-forums ul.bbp-forums .bbp-forum-title { font-size: .96rem; }
  #bbpress-forums ul.bbp-forums .bbp-forum-content,
  #bbpress-forums ul.bbp-forums .bbp-forum-freshness .bbp-topic-meta { font-size: .74rem; }
}

#bbpress-forums div.bbp-reply-header .bbp-reply-permalink,
#bbpress-forums .bbp-topics .bbp-topic-voice-count,
#bbpress-forums .bbp-topics .bbp-topic-reply-count {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
#bbpress-forums div.bbp-reply-header .bbp-reply-permalink {
  min-height: 0;
  color: var(--muted);
  font-weight: 700;
}
#bbpress-forums .bbp-topics .bbp-topic-voice-count,
#bbpress-forums .bbp-topics .bbp-topic-reply-count {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 760px) {
  #bbpress-forums ul.bbp-topics .bbp-header ul,
  #bbpress-forums ul.bbp-topics .bbp-body > ul {
    align-items: center;
    gap: .55rem;
    padding: .72rem;
  }
  #bbpress-forums ul.bbp-topics .bbp-header ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #bbpress-forums ul.bbp-topics .bbp-body > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #bbpress-forums ul.bbp-topics .bbp-header ul {
    font-size: .78rem;
    line-height: 1.25;
  }
  #bbpress-forums ul.bbp-topics .bbp-topic-voice-count,
  #bbpress-forums ul.bbp-topics .bbp-topic-reply-count,
  #bbpress-forums ul.bbp-topics .bbp-topic-freshness {
    justify-self: stretch;
    text-align: center;
    font-size: .78rem;
  }
  #bbpress-forums ul.bbp-topics .bbp-header .bbp-topic-voice-count,
  #bbpress-forums ul.bbp-topics .bbp-header .bbp-topic-reply-count,
  #bbpress-forums ul.bbp-topics .bbp-header .bbp-topic-freshness,
  #bbpress-forums ul.bbp-topics .bbp-body .bbp-topic-voice-count,
  #bbpress-forums ul.bbp-topics .bbp-body .bbp-topic-reply-count,
  #bbpress-forums ul.bbp-topics .bbp-topic-freshness a {
    white-space: nowrap;
    word-break: keep-all;
  }
  #bbpress-forums ul.bbp-topics .bbp-topic-title { grid-column: 1 / -1; }
  #bbpress-forums ul.bbp-topics .bbp-header .bbp-topic-title { display: none; }
  #bbpress-forums ul.bbp-topics .bbp-body .bbp-topic-voice-count { grid-column: 1; }
  #bbpress-forums ul.bbp-topics .bbp-body .bbp-topic-reply-count { grid-column: 2; }
  #bbpress-forums ul.bbp-topics .bbp-body .bbp-topic-freshness { grid-column: 3; }
  #bbpress-forums ul.bbp-topics .bbp-topic-permalink { font-size: .96rem; }
  #bbpress-forums ul.bbp-topics .bbp-topic-meta,
  #bbpress-forums ul.bbp-topics .bbp-topic-freshness .bbp-topic-meta { font-size: .74rem; }
}

@media (max-width: 480px) {
  #bbpress-forums ul.bbp-topics .bbp-header ul,
  #bbpress-forums ul.bbp-topics .bbp-body > ul {
    gap: .42rem;
    padding: .65rem;
  }
  #bbpress-forums ul.bbp-topics .bbp-header ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #bbpress-forums ul.bbp-topics .bbp-body > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #bbpress-forums ul.bbp-topics .bbp-header ul,
  #bbpress-forums ul.bbp-topics .bbp-topic-voice-count,
  #bbpress-forums ul.bbp-topics .bbp-topic-reply-count,
  #bbpress-forums ul.bbp-topics .bbp-topic-freshness {
    font-size: .72rem;
  }
}

/* ===== 追剧日历 ===== */
.tv-schedule-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin: -1rem 0 1.25rem;
}
.tv-schedule-filter {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  font-size: .86rem;
  font-weight: 700;
}
.tv-schedule-filter:hover,
.tv-schedule-filter.is-active {
  border-color: rgba(229,9,20,.5);
  color: #fff;
  background: rgba(229,9,20,.18);
}
.tv-schedule {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .75rem;
  align-items: start;
}
.tv-schedule__col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .6rem .55rem .8rem;
  min-width: 0;
}
.tv-schedule__today {
  border-color: rgba(229,9,20,.55);
  box-shadow: 0 0 0 1px rgba(229,9,20,.35);
}
.tv-schedule__day {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: .1rem 0 .7rem;
  font-size: .98rem;
  font-weight: 700;
}
.tv-schedule__badge {
  font-size: .68rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: .1rem .45rem;
}
.tv-schedule__empty {
  color: var(--muted);
  font-size: .82rem;
  margin: .2rem 0 0;
}
.tv-schedule__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .8rem;
}
.tv-schedule__item.is-watched {
  opacity: .58;
}
.tv-schedule__item.is-watched .tv-schedule__poster::after {
  content: "已看";
  position: absolute;
  top: .35rem;
  right: .35rem;
  z-index: 2;
  border-radius: 999px;
  padding: .12rem .42rem;
  color: #fff;
  background: rgba(25,135,84,.95);
  font-size: .68rem;
  font-weight: 800;
}
.tv-schedule__poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  aspect-ratio: 2 / 3;
}
.tv-schedule__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tv-schedule__item:hover .tv-schedule__poster img { transform: scale(1.045); }
.tv-schedule__ep {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .25rem .4rem;
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
}
.tv-schedule__title {
  margin: .4rem 0 0;
  font-size: .82rem;
  line-height: 1.3;
}
.tv-schedule__title a { color: var(--text); }
.tv-schedule__episode {
  margin: .18rem 0 0;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.35;
}
.tv-schedule-watch {
  margin-top: .4rem;
}
.tv-schedule-watch button {
  width: 100%;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.045);
  font-size: .74rem;
  font-weight: 700;
  cursor: pointer;
}
.tv-schedule-watch button:hover {
  border-color: rgba(229,9,20,.55);
  background: rgba(229,9,20,.16);
}

.tv-schedule__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-top: .45rem;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.2;
}
.tv-schedule__status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .12rem .42rem;
  background: rgba(255,255,255,.07);
  color: var(--muted);
  font-weight: 800;
}
.tv-schedule__item.is-aired .tv-schedule__status { background: rgba(25,135,84,.16); color: #75d6a0; }
.tv-schedule__item.is-upcoming .tv-schedule__status { background: rgba(255,193,7,.16); color: #ffd166; }
.tv-schedule__item.is-airing-today .tv-schedule__status { background: rgba(229,9,20,.22); color: #ff9aa2; }
.tv-schedule__item.is-aired .tv-schedule__poster { border-color: rgba(25,135,84,.42); }
.tv-schedule__item.is-upcoming .tv-schedule__poster { border-color: rgba(255,193,7,.34); }
.tv-schedule__item.is-airing-today .tv-schedule__poster { border-color: rgba(229,9,20,.52); box-shadow: 0 0 0 1px rgba(229,9,20,.24); }
.tv-schedule__source {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .12rem .42rem;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-weight: 800;
}
.tv-schedule__source--tmdb { color: #90caf9; background: rgba(33,150,243,.16); }
.tv-schedule__source--pogdesign { color: #c4b5fd; background: rgba(124,58,237,.18); }
.tv-schedule__source--manual { color: var(--muted); background: rgba(255,255,255,.07); }
.tv-schedule-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .75rem;
  align-items: stretch;
}
.tv-schedule-month__weekday {
  padding: .45rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  text-align: center;
  font-size: .82rem;
  font-weight: 800;
}
.tv-schedule-month__cell {
  min-height: 180px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: .6rem;
}
.tv-schedule-month__cell.is-empty {
  border-style: dashed;
  background: rgba(255,255,255,.025);
}
.tv-schedule-month__cell.is-today {
  border-color: rgba(229,9,20,.58);
  box-shadow: 0 0 0 1px rgba(229,9,20,.28);
}
.tv-schedule-month__date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 0 0 .55rem;
  font-size: .95rem;
}
.tv-schedule-month__date em {
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: .08rem .42rem;
  font-size: .66rem;
  font-style: normal;
  font-weight: 800;
}
.tv-schedule-month__more {
  margin: .55rem 0 0;
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: 999px;
  padding: .32rem .55rem;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
}
.tv-schedule__list--compact { gap: .7rem; }
.tv-schedule__list--compact .tv-schedule__poster { max-width: 92px; }
.tv-schedule__list--compact .tv-schedule__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: .55rem;
  align-items: start;
}
.tv-schedule__list--compact .tv-schedule__poster { grid-row: span 4; width: 54px; }
.tv-schedule__list--compact .tv-schedule__ep { font-size: .58rem; padding: .18rem .2rem; }
.tv-schedule__list--compact .tv-schedule__meta-row { margin-top: 0; }
.tv-schedule__list--compact .tv-schedule__title { margin-top: 0; font-size: .78rem; }
.tv-schedule__list--compact .tv-schedule__episode { font-size: .7rem; }
.tv-schedule__list--compact .tv-schedule-watch { grid-column: 2; margin-top: 0; }

@media (max-width: 900px) {
  .tv-schedule { grid-template-columns: 1fr; gap: 1rem; }
  .tv-schedule__list {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
  .tv-schedule-month { grid-template-columns: 1fr; }
  .tv-schedule-month__weekday,
  .tv-schedule-month__cell.is-empty { display: none; }
  .tv-schedule-month__cell { min-height: 0; }
}

/* Light theme contrast tuning */
html[data-theme="light"] body {
  background: radial-gradient(circle at top, #f8fafc 0, var(--bg) 42%, #dfe6f1 100%);
}
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #fff;
  border-color: rgba(15,23,42,.24);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(15,23,42,.04);
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder { color: #64748b; }
html[data-theme="light"] .site-header {
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
html[data-theme="light"] .site-footer {
  background: #f8fafc;
  color: #475569;
}
html[data-theme="light"] .content-panel,
html[data-theme="light"] .filter-panel,
html[data-theme="light"] .rank-item,
html[data-theme="light"] .mwc-rating-box,
html[data-theme="light"] .mwc-favorite-box,
html[data-theme="light"] .mwc-quotes .mwc-quote {
  box-shadow: 0 14px 36px rgba(15,23,42,.08);
}
html[data-theme="light"] .hero-card,
html[data-theme="light"] .movie-hero {
  color: #fff;
  border-color: rgba(15,23,42,.2);
  background: linear-gradient(90deg, rgba(5,9,20,.86), rgba(5,9,20,.34)), var(--backdrop) center/cover;
}
html[data-theme="light"] .hero-card::after,
html[data-theme="light"] .movie-hero::after { background: linear-gradient(0deg, rgba(233,237,245,.96), transparent 48%); }
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .term-pills a,
html[data-theme="light"] .share-bar a,
html[data-theme="light"] .share-bar button,
html[data-theme="light"] .movie-filter-chip,
html[data-theme="light"] .movie-filter-clear,
html[data-theme="light"] .page-numbers {
  background: #fff;
  border-color: rgba(15,23,42,.22);
  color: var(--text);
}
html[data-theme="light"] .tv-schedule-month__weekday,
html[data-theme="light"] .tv-schedule-month__cell.is-empty,
html[data-theme="light"] .tv-schedule__status,
html[data-theme="light"] .tv-schedule-month__more {
  background: #f8fafc;
  border-color: rgba(15,23,42,.18);
}
html[data-theme="light"] .tv-schedule__item.is-aired .tv-schedule__status { background: #dcfce7; color: #166534; }
html[data-theme="light"] .tv-schedule__item.is-upcoming .tv-schedule__status { background: #fef3c7; color: #92400e; }
html[data-theme="light"] .tv-schedule__item.is-airing-today .tv-schedule__status { background: #fee2e2; color: #991b1b; }
html[data-theme="light"] .tv-schedule__source--tmdb { background: #dbeafe; color: #1d4ed8; }
html[data-theme="light"] .tv-schedule__source--pogdesign { background: #ede9fe; color: #6d28d9; }
html[data-theme="light"] .tv-schedule__source--manual { background: #f1f5f9; color: #475569; }
html[data-theme="light"] .bbpress-content { background: #fff !important; }
html[data-theme="light"] #bbpress-forums .bbp-breadcrumb,
html[data-theme="light"] #bbpress-forums .bbp-pagination,
html[data-theme="light"] #bbpress-forums .bbp-template-notice,
html[data-theme="light"] #bbpress-forums .bbp-no-topic,
html[data-theme="light"] #bbpress-forums .bbp-login-form fieldset,
html[data-theme="light"] #bbpress-forums .bbp-forum-toolbar,
html[data-theme="light"] #bbpress-forums #new-post fieldset.bbp-form {
  background: #f8fafc;
  border-color: rgba(15,23,42,.2);
}
html[data-theme="light"] #bbpress-forums ul.bbp-topics,
html[data-theme="light"] #bbpress-forums ul.bbp-forums,
html[data-theme="light"] #bbpress-forums ul.bbp-replies,
html[data-theme="light"] #bbpress-forums .bbp-the-content-wrapper {
  background: #fff;
  border-color: rgba(15,23,42,.22);
}
html[data-theme="light"] #bbpress-forums .bbp-header,
html[data-theme="light"] #bbpress-forums .bbp-footer,
html[data-theme="light"] #bbpress-forums .bbp-replies .bbp-header,
html[data-theme="light"] #bbpress-forums .bbp-replies .bbp-footer,
html[data-theme="light"] #bbpress-forums .bbp-the-content-wrapper .quicktags-toolbar,
html[data-theme="light"] #bbpress-forums .bbp-the-content-wrapper .wp-editor-tabs {
  background: #e6ecf5;
  color: #334155;
}
html[data-theme="light"] #bbpress-forums .bbp-body > ul,
html[data-theme="light"] #bbpress-forums .bbp-replies .bbp-body > .topic,
html[data-theme="light"] #bbpress-forums .bbp-replies .bbp-body > .reply {
  background: #fff;
}
html[data-theme="light"] #bbpress-forums .bbp-forums .bbp-body > ul:hover {
  background: #fff1f2;
  border-color: rgba(229,9,20,.38);
}
html[data-theme="light"] #bbpress-forums .bbp-forum-search input,
html[data-theme="light"] #bbpress-forums #new-post input[type="text"],
html[data-theme="light"] #bbpress-forums #new-post input[type="password"],
html[data-theme="light"] #bbpress-forums #new-post select,
html[data-theme="light"] #bbpress-forums #new-post textarea,
html[data-theme="light"] #bbpress-forums #bbp_reply_content,
html[data-theme="light"] #bbpress-forums #bbp_topic_content {
  background: #fff;
  color: var(--text);
}
html[data-theme="light"] #bbpress-forums .bbp-forum-filter span,
html[data-theme="light"] #bbpress-forums .bbp-forum-reset,
html[data-theme="light"] #bbpress-forums .bbp-the-content-wrapper .quicktags-toolbar input,
html[data-theme="light"] #bbpress-forums .bbp-the-content-wrapper .wp-switch-editor {
  background: #fff;
  border-color: rgba(15,23,42,.22);
  color: #334155;
}
html[data-theme="light"] #bbpress-forums .bbp-forum-filter.is-active span,
html[data-theme="light"] #bbpress-forums .bbp-forum-filter input:checked + span {
  background: #fee2e2;
  border-color: rgba(229,9,20,.56);
  color: #7f1d1d;
}

.watchlist-collection-forms {
  display: grid;
  gap: 1rem;
}
.watchlist-collection-form {
  display: grid;
  gap: .65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.watchlist-collection-form p {
  margin: 0;
}
.watchlist-collection-form input,
.watchlist-collection-form textarea,
.watchlist-collection-form select {
  width: 100%;
}
.movie-card--watchlist form {
  margin-top: .75rem;
}
.movie-card--watchlist button,
.watchlist-collection-form button {
  cursor: pointer;
}
