/* Harbor Ember — 海军砖红纸感编辑风，覆盖 royale/xxsz 紫金门户 */

:root {
  --hb-navy: #14233a;
  --hb-navy-2: #1e3a5f;
  --hb-navy-3: #2c5282;
  --hb-brick: #c44b3c;
  --hb-brick-2: #a33a2e;
  --hb-brick-light: #e07a6a;
  --hb-brick-soft: #f4ddd8;
  --hb-sand: #f6f0e6;
  --hb-ivory: #fbf7f1;
  --hb-paper: #fffdf8;
  --hb-ink: #1b1a17;
  --hb-muted: #6d675c;
  --hb-line: #e4dcd0;
  --hb-line-strong: #cfc4b4;
  --hb-shadow-sm: 0 1px 2px rgba(20, 35, 58, 0.06);
  --hb-shadow-md: 0 10px 28px rgba(20, 35, 58, 0.1);
  --hb-shadow-lg: 0 18px 40px rgba(20, 35, 58, 0.16);
  --bg: var(--hb-sand);
  --bg2: var(--hb-ivory);
  --card: var(--hb-paper);
  --text: var(--hb-ink);
  --muted: var(--hb-muted);
  --line: var(--hb-line);
  --gold: var(--hb-brick);
  --gold-dim: rgba(196, 75, 60, 0.16);
  --radius: 4px;
}

html body.body-tpl-royale.body-tpl-xxsz {
  --royale-primary: #14233a;
  --royale-primary-2: #1e3a5f;
  --royale-primary-3: #2c5282;
  --royale-primary-soft: #d5deea;
  --royale-primary-ultra: #f6f0e6;
  --royale-ink: #1b1a17;
  --royale-ink-2: #14233a;
  --royale-muted: #6d675c;
  --royale-line: rgba(20, 35, 58, 0.1);
  --royale-line-strong: rgba(20, 35, 58, 0.2);
  --royale-accent: #c44b3c;
  --royale-accent-2: #a33a2e;
  --royale-accent-light: #e07a6a;
  --royale-accent-soft: #f4ddd8;
  --royale-surface: #fffdf8;
  --royale-surface-soft: #f6f0e6;
  --royale-shadow-sm: 0 1px 2px rgba(20, 35, 58, 0.06);
  --royale-shadow-md: 0 10px 28px rgba(20, 35, 58, 0.1);
  --royale-shadow-lg: 0 18px 40px rgba(20, 35, 58, 0.16);
  --royale-grad-hero: linear-gradient(118deg, #14233a 0%, #1e3a5f 46%, #7a332c 100%);
  --royale-grad-accent: linear-gradient(135deg, #c44b3c 0%, #a33a2e 100%);
  --royale-grad-primary: linear-gradient(135deg, #14233a 0%, #1e3a5f 100%);
  --royale-grad-page: linear-gradient(180deg, #fbf7f1 0%, #f6f0e6 52%, #efe6d8 100%);
  background: var(--royale-grad-page) !important;
  color: var(--hb-ink) !important;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html body.body-tpl-royale.body-tpl-xxsz a:focus-visible,
html body.body-tpl-royale.body-tpl-xxsz button:focus-visible,
html body.body-tpl-royale.body-tpl-xxsz input:focus-visible {
  outline-color: rgba(196, 75, 60, 0.55) !important;
}

/* ========== 头部：浅色两行编辑栏，不再用紫金胶囊 ========== */
html body.body-tpl-royale.body-tpl-xxsz .cinema-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--hb-ivory) !important;
  border-bottom: 1px solid var(--hb-line) !important;
  box-shadow: 0 8px 24px rgba(20, 35, 58, 0.06) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hb-navy) 0%, var(--hb-navy-2) 42%, var(--hb-brick) 100%) !important;
  z-index: 2;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__inner {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) minmax(200px, 340px) auto !important;
  align-items: center !important;
  gap: 10px 16px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__logo {
  width: 38px;
  height: 38px;
  border-radius: 3px !important;
  background: var(--hb-navy) !important;
  color: var(--hb-ivory) !important;
  box-shadow: none !important;
  display: inline-grid;
  place-items: center;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__titles strong {
  color: var(--hb-navy) !important;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: none !important;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__titles span {
  color: var(--hb-muted) !important;
  display: none;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px 4px;
  margin-left: 0;
  min-width: 0;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__nav-link {
  color: var(--hb-navy) !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 8px 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  box-shadow: none !important;
  border-bottom: 2px solid transparent;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__nav-link:hover {
  color: var(--hb-brick) !important;
  background: transparent !important;
  transform: none !important;
  border-bottom-color: var(--hb-brick-soft);
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__nav-link--active {
  color: var(--hb-brick) !important;
  background: transparent !important;
  border-bottom-color: var(--hb-brick) !important;
  box-shadow: none !important;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__search {
  order: 0;
  flex: unset;
  width: 100%;
  min-width: 0;
  display: flex !important;
  align-items: stretch !important;
  border-radius: 3px !important;
  background: var(--hb-paper) !important;
  border: 1px solid var(--hb-line-strong) !important;
  box-shadow: none !important;
  min-height: 40px;
  overflow: hidden;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__search button {
  flex: 0 0 auto;
  height: auto;
  padding: 0 16px;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--hb-brick) !important;
  color: #fff !important;
  white-space: nowrap;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__search:focus-within {
  border-color: var(--hb-navy) !important;
  box-shadow: 0 0 0 3px rgba(20, 35, 58, 0.12) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__search input {
  color: var(--hb-ink) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__search input::placeholder {
  color: #9a9286 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__btn,
html body.body-tpl-royale.body-tpl-xxsz .cinema-header__btn--primary,
html body.body-tpl-royale.body-tpl-xxsz .header-login-btn,
html body.body-tpl-royale.body-tpl-xxsz .nj-head-login {
  border-radius: 3px !important;
  background: var(--hb-brick) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__btn--ghost,
html body.body-tpl-royale.body-tpl-xxsz .nj-head-login--outline {
  background: transparent !important;
  color: var(--hb-navy) !important;
  border: 1px solid var(--hb-navy) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__uname,
html body.body-tpl-royale.body-tpl-xxsz .nj-head-user__name {
  color: var(--hb-navy) !important;
}

/* ========== 中部主视觉：方正编辑头条，不用紫粉渐变圆角 ========== */
html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz,
html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz-portal {
  min-height: clamp(300px, 46vh, 460px) !important;
  border-radius: 0 !important;
  border-bottom: 8px solid var(--hb-navy) !important;
  overflow: hidden;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz .fh-billboard__scrim,
html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz-portal .fh-billboard__scrim {
  background: linear-gradient(105deg, rgba(20, 35, 58, 0.94) 0%, rgba(30, 58, 95, 0.78) 48%, rgba(122, 51, 44, 0.55) 100%) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz .fh-billboard__scrim:after {
  background: linear-gradient(180deg, transparent 30%, rgba(20, 35, 58, 0.35) 100%) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__content {
  max-width: none;
  width: 100%;
  padding-left: 0;
  border-left: 0;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__copy,
html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__copy--xxsz {
  max-width: 38rem;
  padding-left: 14px;
  border-left: 4px solid var(--hb-brick);
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz .fh-billboard__kicker,
html body.body-tpl-royale.body-tpl-xxsz .hero-portal__kicker,
html body.body-tpl-royale.body-tpl-xxsz .hero-portal__badge {
  color: #fff !important;
  background: var(--hb-brick) !important;
  border: 0 !important;
  border-radius: 2px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz .fh-billboard__title,
html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz .fh-billboard__title--xxsz-site,
html body.body-tpl-royale.body-tpl-xxsz .hero-portal__title,
html body.body-tpl-royale.body-tpl-xxsz .hero-cq__title,
html body.body-tpl-royale.body-tpl-xxsz .hero-fsp__title,
html body.body-tpl-royale.body-tpl-xxsz .hero-split__title {
  color: #fffdf8 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  letter-spacing: 0.02em;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz .fh-billboard__lead-xxsz,
html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__desc,
html body.body-tpl-royale.body-tpl-xxsz .hero-portal__lead {
  color: #efe6d8 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__btn,
html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__btn--play,
html body.body-tpl-royale.body-tpl-xxsz .hero-portal__btn--primary,
html body.body-tpl-royale.body-tpl-xxsz .btn-hero--primary,
html body.body-tpl-royale.body-tpl-xxsz .btn-cq--hero-primary,
html body.body-tpl-royale.body-tpl-xxsz .hero-split__btn--primary {
  border-radius: 3px !important;
  background: var(--hb-brick) !important;
  border: 1px solid var(--hb-brick) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__btn--ghost,
html body.body-tpl-royale.body-tpl-xxsz .hero-portal__btn--ghost,
html body.body-tpl-royale.body-tpl-xxsz .btn-hero--ghost,
html body.body-tpl-royale.body-tpl-xxsz .btn-cq--hero-secondary,
html body.body-tpl-royale.body-tpl-xxsz .hero-split__btn--ghost {
  border-radius: 3px !important;
  background: transparent !important;
  border: 1px solid #fffdf8 !important;
  color: #fffdf8 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__chip,
html body.body-tpl-royale.body-tpl-xxsz .hero-portal__pill {
  border-radius: 2px !important;
  background: rgba(255, 253, 248, 0.12) !important;
  border: 1px solid rgba(255, 253, 248, 0.28) !important;
  color: #fffdf8 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__chip:hover,
html body.body-tpl-royale.body-tpl-xxsz .hero-portal__pill:hover {
  border-color: var(--hb-brick-light) !important;
  color: #fff !important;
}

/* 分区标题：砖色方标 + 海军标题 */
html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats__head h2,
html body.body-tpl-royale.body-tpl-xxsz .xxsz-why__title,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-section--xxsz .fh-rail-section__head h2,
html body.body-tpl-royale.body-tpl-xxsz .fh-grid-section--xxsz .fh-rail-section__head h2,
html body.body-tpl-royale.body-tpl-xxsz .fh-bento-wrap--xxsz .fh-bento-wrap__head h2,
html body.body-tpl-royale.body-tpl-xxsz .fh-lower-band--xxsz .fh-lower-band__page-title,
html body.body-tpl-royale.body-tpl-xxsz .fh-tags-section .home-section__head--center h2,
html body.body-tpl-royale.body-tpl-xxsz .cq-block__head h2,
html body.body-tpl-royale.body-tpl-xxsz .section-title h1,
html body.body-tpl-royale.body-tpl-xxsz .section-title h2,
html body.body-tpl-royale.body-tpl-xxsz .page-h1-inline,
html body.body-tpl-royale.body-tpl-xxsz .nj-cat-head h1,
html body.body-tpl-royale.body-tpl-xxsz .genre-fsp__head h2 {
  color: var(--hb-navy) !important;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  padding-left: 12px !important;
  border-left: 3px solid var(--hb-brick) !important;
  position: relative;
  margin-top: 0;
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats__head h2:before,
html body.body-tpl-royale.body-tpl-xxsz .xxsz-why__title:before,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-section--xxsz .fh-rail-section__head h2:before,
html body.body-tpl-royale.body-tpl-xxsz .fh-grid-section--xxsz .fh-rail-section__head h2:before,
html body.body-tpl-royale.body-tpl-xxsz .fh-bento-wrap--xxsz .fh-bento-wrap__head h2:before,
html body.body-tpl-royale.body-tpl-xxsz .fh-lower-band--xxsz .fh-lower-band__page-title:before {
  display: none !important;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-rail-section__more,
html body.body-tpl-royale.body-tpl-xxsz .cq-link-all,
html body.body-tpl-royale.body-tpl-xxsz .cq-more-btn,
html body.body-tpl-royale.body-tpl-xxsz .genre-fsp__more {
  color: var(--hb-brick) !important;
  border-radius: 2px !important;
}

/* 热门分类：左侧海军条，不再用橙色顶边白卡 */
html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats__grid,
html body.body-tpl-royale.body-tpl-xxsz .cat-grid,
html body.body-tpl-royale.body-tpl-xxsz .genre-fsp__grid,
html body.body-tpl-royale.body-tpl-xxsz .home-pop-cats,
html body.body-tpl-royale.body-tpl-xxsz .nj-cat-blocks {
  gap: 12px !important;
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats__card,
html body.body-tpl-royale.body-tpl-xxsz .cat-tile,
html body.body-tpl-royale.body-tpl-xxsz .genre-fsp__card,
html body.body-tpl-royale.body-tpl-xxsz .home-pop-cats__card,
html body.body-tpl-royale.body-tpl-xxsz .nj-cat-block,
html body.body-tpl-royale.body-tpl-xxsz .cq-stats__card,
html body.body-tpl-royale.body-tpl-xxsz .xxsz-why__card,
html body.body-tpl-royale.body-tpl-xxsz .fh-bento__cell {
  background: var(--hb-paper) !important;
  border: 1px solid var(--hb-line) !important;
  border-radius: 3px !important;
  border-top: 1px solid var(--hb-line) !important;
  box-shadow: var(--hb-shadow-sm) !important;
  position: relative;
  overflow: hidden;
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats__card:before,
html body.body-tpl-royale.body-tpl-xxsz .cat-tile:before,
html body.body-tpl-royale.body-tpl-xxsz .genre-fsp__card:before,
html body.body-tpl-royale.body-tpl-xxsz .home-pop-cats__card:before,
html body.body-tpl-royale.body-tpl-xxsz .nj-cat-block:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--hb-navy);
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats__card:hover,
html body.body-tpl-royale.body-tpl-xxsz .cat-tile:hover,
html body.body-tpl-royale.body-tpl-xxsz .genre-fsp__card:hover,
html body.body-tpl-royale.body-tpl-xxsz .home-pop-cats__card:hover,
html body.body-tpl-royale.body-tpl-xxsz .nj-cat-block:hover {
  border-color: var(--hb-navy) !important;
  transform: translateY(-2px);
  box-shadow: var(--hb-shadow-md) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats__name,
html body.body-tpl-royale.body-tpl-xxsz .cat-tile h3,
html body.body-tpl-royale.body-tpl-xxsz .genre-fsp__pick,
html body.body-tpl-royale.body-tpl-xxsz .nj-cat-block__title {
  color: var(--hb-navy) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats__sub,
html body.body-tpl-royale.body-tpl-xxsz .cat-tile__stats,
html body.body-tpl-royale.body-tpl-xxsz .genre-fsp__count {
  color: var(--hb-brick) !important;
}

/* ========== 影片卡片：方正海报 + 底部海军题名条 ========== */
html body.body-tpl-royale.body-tpl-xxsz .tuy-card,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-card,
html body.body-tpl-royale.body-tpl-xxsz .video-card,
html body.body-tpl-royale.body-tpl-xxsz .pick-card,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card,
html body.body-tpl-royale.body-tpl-xxsz .cq-hl-card,
html body.body-tpl-royale.body-tpl-xxsz .home-feat-card {
  background: var(--hb-paper) !important;
  border: 1px solid var(--hb-line) !important;
  border-radius: 3px !important;
  box-shadow: var(--hb-shadow-sm) !important;
  overflow: hidden;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card:hover,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-card:hover,
html body.body-tpl-royale.body-tpl-xxsz .video-card:hover,
html body.body-tpl-royale.body-tpl-xxsz .pick-card:hover,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card:hover {
  border-color: var(--hb-navy) !important;
  box-shadow: var(--hb-shadow-md) !important;
  transform: translateY(-3px);
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__media,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-card__thumb,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-card__img,
html body.body-tpl-royale.body-tpl-xxsz .video-thumb,
html body.body-tpl-royale.body-tpl-xxsz .pick-card__cover,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card__media,
html body.body-tpl-royale.body-tpl-xxsz .latest-row__poster,
html body.body-tpl-royale.body-tpl-xxsz .result-row__poster {
  border-radius: 0 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card,
html body.body-tpl-royale.body-tpl-xxsz .cq-hl-card.fsp-hl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__media.fsp-hl-card__media,
html body.body-tpl-royale.body-tpl-xxsz .tuy-card__media {
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__body,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-card__body,
html body.body-tpl-royale.body-tpl-xxsz .pick-card__body,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card__body {
  background: var(--hb-paper) !important;
  padding: 12px 12px 14px !important;
  flex: 1 1 auto;
  min-height: 0;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__title,
html body.body-tpl-royale.body-tpl-xxsz .tuy-card__title a,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-card__title,
html body.body-tpl-royale.body-tpl-xxsz .pick-card__body h3,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card__body h3,
html body.body-tpl-royale.body-tpl-xxsz .video-meta h3 {
  color: var(--hb-navy) !important;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  margin: 0 0 6px;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__desc,
html body.body-tpl-royale.body-tpl-xxsz .pick-card__desc,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card__desc {
  color: var(--hb-muted) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0 !important;
  margin: 0 0 8px !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__channel,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-card__meta,
html body.body-tpl-royale.body-tpl-xxsz .tuy-card__meta,
html body.body-tpl-royale.body-tpl-xxsz .tuy-card__meta-item {
  color: var(--hb-muted) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__badge,
html body.body-tpl-royale.body-tpl-xxsz .pick-card__badge,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-card__score,
html body.body-tpl-royale.body-tpl-xxsz .latest-row__badge {
  background: var(--hb-brick) !important;
  color: #fff !important;
  border-radius: 2px !important;
  border: 0 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__dur,
html body.body-tpl-royale.body-tpl-xxsz .tuy-card__play svg circle {
  filter: none;
}

html body.body-tpl-royale.body-tpl-xxsz .cq-card-grid,
html body.body-tpl-royale.body-tpl-xxsz .cq-card-grid--xxsz-home,
html body.body-tpl-royale.body-tpl-xxsz .cq-card-grid--dense,
html body.body-tpl-royale.body-tpl-xxsz .category-page-grid,
html body.body-tpl-royale.body-tpl-xxsz .fsp-card-grid {
  gap: 16px !important;
  align-items: stretch !important;
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats,
html body.body-tpl-royale.body-tpl-xxsz .fh-grid-section--xxsz,
html body.body-tpl-royale.body-tpl-xxsz .fh-rail-section--xxsz,
html body.body-tpl-royale.body-tpl-xxsz .xxsz-why {
  padding-left: 0;
  padding-right: 0;
}

html body.body-tpl-royale.body-tpl-xxsz .cinema-header__user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* 列表行：最新 / 搜索 */
html body.body-tpl-royale.body-tpl-xxsz .latest-row,
html body.body-tpl-royale.body-tpl-xxsz .result-row,
html body.body-tpl-royale.body-tpl-xxsz .nj-bulletin__item {
  background: var(--hb-paper) !important;
  border: 1px solid var(--hb-line) !important;
  border-radius: 3px !important;
}

html body.body-tpl-royale.body-tpl-xxsz .latest-row__title,
html body.body-tpl-royale.body-tpl-xxsz .result-row h3,
html body.body-tpl-royale.body-tpl-xxsz .nj-bulletin__title {
  color: var(--hb-navy) !important;
}

/* ========== 内页头图 / 分类页 / 精选最新热门 ========== */
html body.body-tpl-royale.body-tpl-xxsz .inner-page,
html body.body-tpl-royale.body-tpl-xxsz .inner-page--cq,
html body.body-tpl-royale.body-tpl-xxsz .inner-page--nj-cat,
html body.body-tpl-royale.body-tpl-xxsz .nj-page-wrap,
html body.body-tpl-royale.body-tpl-xxsz .nj-page-sheet,
html body.body-tpl-royale.body-tpl-xxsz .page-panel,
html body.body-tpl-royale.body-tpl-xxsz .page-head-panel,
html body.body-tpl-royale.body-tpl-xxsz .szst-page,
html body.body-tpl-royale.body-tpl-xxsz .home-page,
html body.body-tpl-royale.body-tpl-xxsz .detail-page,
html body.body-tpl-royale.body-tpl-xxsz .play-page,
html body.body-tpl-royale.body-tpl-xxsz .auth-page {
  background: transparent;
}

html body.body-tpl-royale.body-tpl-xxsz .page-head-panel,
html body.body-tpl-royale.body-tpl-xxsz .nj-cat-head,
html body.body-tpl-royale.body-tpl-xxsz .player-head-simple,
html body.body-tpl-royale.body-tpl-xxsz .nj-play-head {
  background: var(--hb-navy) !important;
  color: #fffdf8 !important;
  border-radius: 0 !important;
  border: 0 !important;
  padding: 20px 0 !important;
  box-shadow: none !important;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-lower-band--xxsz {
  background: transparent !important;
  color: inherit !important;
  padding: unset;
}

html body.body-tpl-royale.body-tpl-xxsz .page-head-panel .section-title h1,
html body.body-tpl-royale.body-tpl-xxsz .nj-cat-head h1,
html body.body-tpl-royale.body-tpl-xxsz .nj-play-head__h1,
html body.body-tpl-royale.body-tpl-xxsz .fh-lower-band__page-title {
  color: #fffdf8 !important;
  border-left-color: var(--hb-brick) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-cat-body {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-cat-head,
html body.body-tpl-royale.body-tpl-xxsz .page-head-panel {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-sort-tabs {
  gap: 8px;
  flex-wrap: wrap;
}

html body.body-tpl-royale.body-tpl-xxsz .page-head-panel .section-title p,
html body.body-tpl-royale.body-tpl-xxsz .nj-cat-head__lead {
  color: #c9c0b3 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .filter-chip,
html body.body-tpl-royale.body-tpl-xxsz .nj-sort-tabs__btn,
html body.body-tpl-royale.body-tpl-xxsz .latest-tabs__btn,
html body.body-tpl-royale.body-tpl-xxsz .cq-tab,
html body.body-tpl-royale.body-tpl-xxsz .home-cat-rail__pill,
html body.body-tpl-royale.body-tpl-xxsz .nj-genre-chips a,
html body.body-tpl-royale.body-tpl-xxsz .nj-tag-cloud__link {
  border-radius: 2px !important;
  background: var(--hb-paper) !important;
  border: 1px solid var(--hb-line) !important;
  color: var(--hb-navy) !important;
  box-shadow: none !important;
}

html body.body-tpl-royale.body-tpl-xxsz .filter-chip:hover,
html body.body-tpl-royale.body-tpl-xxsz .nj-sort-tabs__btn:hover,
html body.body-tpl-royale.body-tpl-xxsz .cq-tab:hover,
html body.body-tpl-royale.body-tpl-xxsz .home-cat-rail__pill:hover {
  border-color: var(--hb-brick) !important;
  color: var(--hb-brick) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .filter-chip--active,
html body.body-tpl-royale.body-tpl-xxsz .cq-tab--active,
html body.body-tpl-royale.body-tpl-xxsz .latest-tabs__btn.is-active,
html body.body-tpl-royale.body-tpl-xxsz .nj-sort-tabs__btn.is-active,
html body.body-tpl-royale.body-tpl-xxsz .inner-page--cq .filter-chip--active {
  background: var(--hb-brick) !important;
  border-color: var(--hb-brick) !important;
  color: #fff !important;
  box-shadow: none !important;
}

html body.body-tpl-royale.body-tpl-xxsz .page-panel,
html body.body-tpl-royale.body-tpl-xxsz .nj-page-sheet,
html body.body-tpl-royale.body-tpl-xxsz .nj-play-sheet,
html body.body-tpl-royale.body-tpl-xxsz .auth-card {
  background: var(--hb-paper) !important;
  border: 1px solid var(--hb-line) !important;
  border-radius: 3px !important;
  box-shadow: var(--hb-shadow-sm) !important;
}

/* 详情 / 播放 */
html body.body-tpl-royale.body-tpl-xxsz .detail-hero {
  border-radius: 0 !important;
  overflow: hidden;
}

html body.body-tpl-royale.body-tpl-xxsz .detail-hero__scrim,
html body.body-tpl-royale.body-tpl-xxsz .detail-hero__bg + *,
html body.body-tpl-royale.body-tpl-xxsz .hero-split__bg {
  filter: saturate(1.05);
}

html body.body-tpl-royale.body-tpl-xxsz .detail-hero__cta a,
html body.body-tpl-royale.body-tpl-xxsz .nj-play-actions__btn,
html body.body-tpl-royale.body-tpl-xxsz .auth-submit,
html body.body-tpl-royale.body-tpl-xxsz .result-row__play,
html body.body-tpl-royale.body-tpl-xxsz .ghost-btn--szst {
  border-radius: 3px !important;
}

html body.body-tpl-royale.body-tpl-xxsz .detail-hero__cta a:first-child,
html body.body-tpl-royale.body-tpl-xxsz .nj-play-actions__btn,
html body.body-tpl-royale.body-tpl-xxsz .auth-submit,
html body.body-tpl-royale.body-tpl-xxsz .result-row__play {
  background: var(--hb-brick) !important;
  color: #fff !important;
  border-color: var(--hb-brick) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .detail-tags span,
html body.body-tpl-royale.body-tpl-xxsz .nj-play-tags span,
html body.body-tpl-royale.body-tpl-xxsz .pill-badge--szst {
  background: var(--hb-brick-soft) !important;
  color: var(--hb-brick-2) !important;
  border-color: transparent !important;
  border-radius: 2px !important;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-play-meta__score,
html body.body-tpl-royale.body-tpl-xxsz .pick-card__score {
  color: var(--hb-brick) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .video-frame,
html body.body-tpl-royale.body-tpl-xxsz .video-frame--play,
html body.body-tpl-royale.body-tpl-xxsz .video-frame--nj-play {
  border-radius: 3px !important;
  border: 1px solid var(--hb-navy) !important;
  background: #0b1118 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .auth-field input,
html body.body-tpl-royale.body-tpl-xxsz .header-search input,
html body.body-tpl-royale.body-tpl-xxsz .site-head__search input,
html body.body-tpl-royale.body-tpl-xxsz .nj-head-search input {
  border-radius: 3px !important;
  border-color: var(--hb-line-strong) !important;
  background: var(--hb-paper) !important;
  color: var(--hb-ink) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .auth-switch a {
  color: var(--hb-brick) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .search-empty,
html body.body-tpl-royale.body-tpl-xxsz .nj-empty {
  color: var(--hb-muted) !important;
}

/* 为什么选择 / 底部说明卡 */
html body.body-tpl-royale.body-tpl-xxsz .xxsz-why {
  background: transparent !important;
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-why__card-title {
  color: var(--hb-navy) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-why__card-desc,
html body.body-tpl-royale.body-tpl-xxsz .xxsz-why__outro {
  color: var(--hb-muted) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .home-pop-cats__card--amber,
html body.body-tpl-royale.body-tpl-xxsz .home-pop-cats__card--blue,
html body.body-tpl-royale.body-tpl-xxsz .home-pop-cats__card--green,
html body.body-tpl-royale.body-tpl-xxsz .home-pop-cats__card--purple,
html body.body-tpl-royale.body-tpl-xxsz .home-pop-cats__card--red,
html body.body-tpl-royale.body-tpl-xxsz .home-pop-cats__card--teal {
  background: var(--hb-paper) !important;
}

/* ========== 底部：海军整板 + 砖红顶线 ========== */
html body.body-tpl-royale.body-tpl-xxsz .nj-footer,
html body.body-tpl-royale.body-tpl-xxsz .footer-fsp,
html body.body-tpl-royale.body-tpl-xxsz .footer-tuy {
  background: var(--hb-navy) !important;
  color: #d9d2c6 !important;
  border-top: 0 !important;
  position: relative;
  overflow: hidden;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-footer:before {
  background: var(--hb-brick) !important;
  height: 4px !important;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-footer:after {
  background: radial-gradient(circle, rgba(196, 75, 60, 0.16) 0%, transparent 70%) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-footer__name,
html body.body-tpl-royale.body-tpl-xxsz .nj-footer__brand {
  color: #fffdf8 !important;
  text-shadow: none !important;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-footer__tag,
html body.body-tpl-royale.body-tpl-xxsz .nj-footer__intro,
html body.body-tpl-royale.body-tpl-xxsz .nj-footer__copy,
html body.body-tpl-royale.body-tpl-xxsz .nj-footer__seo {
  color: #c9c0b3 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-footer__nav a {
  color: #efe6d8 !important;
  border-radius: 2px !important;
  border: 1px solid rgba(255, 253, 248, 0.16) !important;
  background: rgba(255, 253, 248, 0.04) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-footer__nav a:hover {
  color: #fff !important;
  background: var(--hb-brick) !important;
  border-color: var(--hb-brick) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .nj-footer__bottom {
  border-top: 1px solid rgba(255, 253, 248, 0.1) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .ababseo-fly__text {
  background: linear-gradient(92deg, #efe6d8 0%, #e07a6a 55%, #c44b3c 100%) !important;
  -webkit-background-clip: text;
  background-clip: text;
}

html body.body-tpl-royale.body-tpl-xxsz .ababseo-fly__plane {
  filter: drop-shadow(0 4px 8px rgba(196, 75, 60, 0.35));
}

html body.body-tpl-royale.body-tpl-xxsz .nj-footer__contact-label {
  color: #c9c0b3 !important;
}

/* 其它模板组件兜底，保证登录/信息/分类/播放都吃到新色 */
html body.body-tpl-royale.body-tpl-xxsz .btn-cq,
html body.body-tpl-royale.body-tpl-xxsz .header-search__submit,
html body.body-tpl-royale.body-tpl-xxsz .site-head__search-btn,
html body.body-tpl-royale.body-tpl-xxsz .nj-head-search__btn,
html body.body-tpl-royale.body-tpl-xxsz .latest-load {
  background: var(--hb-brick) !important;
  color: #fff !important;
  border-color: var(--hb-brick) !important;
  border-radius: 3px !important;
}

html body.body-tpl-royale.body-tpl-xxsz .container {
  width: min(80rem, calc(100% - 32px)) !important;
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* 提高优先级，压过 royale 原选择器 */
html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz .fh-billboard__chip,
html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz-portal .fh-billboard__chip {
  color: #fffdf8 !important;
  background: rgba(255, 253, 248, 0.12) !important;
  border: 1px solid rgba(255, 253, 248, 0.28) !important;
  border-radius: 2px !important;
  backdrop-filter: none !important;
}

html body.body-tpl-royale.body-tpl-xxsz .fh-billboard--xxsz .fh-billboard__chips {
  border-top-color: rgba(255, 253, 248, 0.16) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card.fsp-hl-card,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card,
html body.body-tpl-royale.body-tpl-xxsz .cq-hl-card.fsp-hl-card {
  background: var(--hb-paper) !important;
  border: 1px solid var(--hb-line) !important;
  border-radius: 3px !important;
  box-shadow: var(--hb-shadow-sm) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card.fsp-hl-card:before,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card:before {
  display: none !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card.fsp-hl-card:hover,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--hb-navy) !important;
  box-shadow: var(--hb-shadow-md) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__media {
  background: #1b1a17 !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__badge {
  background: var(--hb-brick) !important;
  color: #fff !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card .tuy-card__desc {
  color: var(--hb-muted) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__channel {
  color: #e07a6a !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__title a,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card__body h3 a {
  color: var(--hb-navy) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .tuy-card__title a:hover,
html body.body-tpl-royale.body-tpl-xxsz .fsp-hl-card__body h3 a:hover {
  color: var(--hb-brick-light) !important;
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats__card {
  padding: 1.15rem 1.15rem 1.15rem 1.35rem !important;
  background: var(--hb-paper) !important;
  border: 1px solid var(--hb-line) !important;
  border-radius: 3px !important;
}

html body.body-tpl-royale.body-tpl-xxsz .xxsz-hot-cats__card:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: 5px !important;
  height: auto !important;
  background: var(--hb-navy) !important;
  opacity: 1 !important;
}

@media (max-width: 900px) {
  html body.body-tpl-royale.body-tpl-xxsz .cinema-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  html body.body-tpl-royale.body-tpl-xxsz .cinema-header__search {
    grid-column: 1 / -1;
  }

  html body.body-tpl-royale.body-tpl-xxsz .cinema-header__nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

@media (max-width: 768px) {
  html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__copy,
  html body.body-tpl-royale.body-tpl-xxsz .fh-billboard__copy--xxsz {
    padding-left: 12px;
  }

  html body.body-tpl-royale.body-tpl-xxsz .tuy-card__desc {
    display: none;
  }
}
