/* showcase 官网大图 — measurements mirror the reference 官网 (SPEC.md). Enqueued only for layout-showcase.
 * Mobile first; one breakpoint at 768px like the reference. Dark skins keep the reference surfaces,
 * accent follows the skin (peach = exact reference pink); sand = light surfaces from skin vars, hero stays dark. */

body.layout-showcase {
  --sc-w: 100%;
  --sc-cols: 6;
  --sc-pink: var(--xh-amber);
  --sc-crimson: var(--xh-amber-2);
  --sc-cta: linear-gradient(158deg, var(--sc-pink) 14.6%, var(--sc-crimson) 51.4%, color-mix(in srgb, var(--sc-crimson) 60%, #000) 85.4%);
  --sc-tagfg: color-mix(in srgb, var(--sc-pink) 72%, #fff);
  --sc-pg-on: var(--sc-crimson);
  --sc-bg: #0b0b0d;
  --sc-bg-m: #141417;
  --sc-detail-m: #09090b;
  --sc-head: #000;
  --sc-head-m: #090a0e;
  --sc-foot: #000;
  --sc-foot-m: #0f0f0f;
  --sc-fg: #fff;
  --sc-title: #f2f2f4;
  --sc-ph: #242424;
  --sc-panel: #171717;
  --sc-ep: #1b1b1f;
  --sc-pg-bg: #211f38;
  --sc-pg-fg: #948ca8;
  --sc-nav: #a1a1aa;
  --sc-meta: #c4c4c4;
  --sc-syn: #b0b0b0;
  --sc-rich: #c8c8c8;
  --sc-note: #8b8292;
  --sc-copy: #7b7280;
  --sc-flink: #bbb;
  --sc-epfg: #7c7c86;
  --sc-back: #aea7bc;
  --sc-gold: #ffb92b;
  --sc-gold-line: #ffd23f;
  --sc-yellow: #fadc44;
  --sc-t90: color-mix(in srgb, var(--sc-fg) 90%, transparent);
  --sc-t60: color-mix(in srgb, var(--sc-fg) 60%, transparent);
  --sc-t50: color-mix(in srgb, var(--sc-fg) 50%, transparent);
  --sc-t45: color-mix(in srgb, var(--sc-fg) 45%, transparent);
  --sc-t40: color-mix(in srgb, var(--sc-fg) 40%, transparent);
  --sc-l30: color-mix(in srgb, var(--sc-fg) 30%, transparent);
  --sc-l25: color-mix(in srgb, var(--sc-fg) 25%, transparent);
  --sc-l20: color-mix(in srgb, var(--sc-fg) 20%, transparent);
  --sc-l10: color-mix(in srgb, var(--sc-fg) 10%, transparent);
  --sc-l7: color-mix(in srgb, var(--sc-fg) 7%, transparent);
  --sc-l6: color-mix(in srgb, var(--sc-fg) 6%, transparent);
  --sc-l5: color-mix(in srgb, var(--sc-fg) 5%, transparent);
  --sc-l4: color-mix(in srgb, var(--sc-fg) 4%, transparent);
  background: var(--sc-bg-m);
  color: var(--sc-fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}
body.layout-showcase.skin-xinghuo-peach {
  --sc-pink: #ff4a7b;
  --sc-crimson: #ec237f;
  --sc-cta: linear-gradient(158deg, #ff4a7b 14.6%, #ec237f 51.4%, #93226f 85.4%);
  --sc-tagfg: #ff7aab;
  --sc-pg-on: #f12b9e;
}
body.layout-showcase.skin-xinghuo-sand {
  --sc-bg: var(--xh-bg);
  --sc-bg-m: var(--xh-bg);
  --sc-detail-m: var(--xh-bg);
  --sc-head: var(--xh-elev);
  --sc-head-m: var(--xh-elev);
  --sc-foot: var(--xh-elev);
  --sc-foot-m: var(--xh-bg);
  --sc-fg: var(--xh-text);
  --sc-title: var(--xh-text);
  --sc-ph: var(--xh-line);
  --sc-panel: var(--xh-card);
  --sc-ep: var(--xh-elev);
  --sc-pg-bg: var(--xh-elev);
  --sc-pg-fg: var(--xh-muted);
  --sc-nav: var(--xh-muted);
  --sc-meta: var(--xh-muted);
  --sc-syn: var(--xh-muted);
  --sc-rich: var(--xh-muted);
  --sc-note: var(--xh-muted);
  --sc-copy: var(--xh-muted);
  --sc-flink: var(--xh-muted);
  --sc-epfg: var(--xh-muted);
  --sc-back: var(--xh-muted);
  --sc-gold: var(--xh-amber-2);
  --sc-gold-line: var(--xh-amber);
  --sc-yellow: var(--xh-amber);
  --sc-tagfg: var(--xh-amber-2);
}

body.layout-showcase .xh-wrap { max-width: none; width: auto; margin: 0; padding: 0; }
/* Pages without a showcase template (收藏/历史/search…) still get the content width. */
body.layout-showcase .xh-wrap > :not(.sc-header):not(.sc-main):not(.sc-footer):not(script):not(style) {
  width: var(--sc-w); margin-inline: auto; padding-inline: 16px;
}
body.layout-showcase .screen-reader-text,
body.layout-showcase .sc-slide-title {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sc-i { display: block; width: 1em; height: 1em; flex-shrink: 0; }
body.layout-showcase :where(.sc-main, .sc-header, .sc-footer) a:focus-visible,
body.layout-showcase :where(.sc-main, .sc-header, .sc-footer) button:focus-visible {
  outline: 2px solid var(--sc-pink); outline-offset: 3px;
}
.sc-content { padding-inline: 16px; }
.sc-empty { color: var(--sc-t60); font-size: 13px; margin: 24px 0; }
.sc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  height: 36px; padding: 0 12px; border-radius: 999px;
  background: var(--sc-cta); color: #fff; font-size: 12px; line-height: 18px; white-space: nowrap;
}
.sc-btn .sc-i { font-size: 14px; }

/* —— header —— */
.sc-header { position: sticky; top: 0; z-index: 50; background: var(--sc-head-m); }
.sc-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 0 16px; }
.sc-logo { display: inline-flex; align-items: center; gap: 8px; height: 48px; min-width: 0; flex-shrink: 0; }
.xh-brand-mark { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.xh-brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.xh-brand-name {
  max-width: 9em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 18px; line-height: 1; font-weight: 700; letter-spacing: .04em; color: var(--sc-fg);
}
.sc-nav {
  order: 3; flex: 1 0 100%; display: flex; gap: 24px; height: 46px; margin: 0 -16px; padding: 10px 16px;
  overflow-x: auto; scrollbar-width: none;
}
.sc-nav::-webkit-scrollbar { display: none; }
.sc-nav a {
  position: relative; flex-shrink: 0; white-space: nowrap; font-size: 14px; line-height: 20px;
  color: var(--sc-t60); transition: color .15s;
}
.sc-nav a[aria-current] { color: var(--sc-pink); }
.sc-nav a[aria-current]::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 10px; height: 2px;
  transform: translateX(-50%); background: var(--sc-pink);
}
.sc-search {
  display: flex; align-items: center; gap: 6px; width: 132px; height: 30px; padding: 0 10px;
  border: 1px solid var(--sc-l10); border-radius: 6px; background: var(--sc-l5); color: var(--sc-t60);
  transition: border-color .15s;
}
.sc-search:focus-within { border-color: var(--sc-l25); }
.sc-search .sc-i { font-size: 14px; }
.sc-search input {
  flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: transparent; outline: 0;
  color: var(--sc-fg); font: inherit; font-size: 12px;
}
.sc-search input::placeholder { color: var(--sc-t45); }
.sc-search input::-webkit-search-cancel-button { display: none; }

/* —— hero —— */
.sc-hero {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0b0b0d; color: #f7f8fb;
  touch-action: pan-y pinch-zoom;
}
.sc-hero-track {
  position: absolute; inset: 0; display: flex; will-change: transform;
  transform: translate3d(calc(var(--sc-i, 0) * -100% + var(--sc-dx, 0px)), 0, 0);
  transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}
.sc-hero.is-dragging .sc-hero-track { transition: none; }
.sc-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.sc-slide-bg { position: absolute; inset: 0; background: rgba(255,255,255,.08); }
.sc-slide-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-slide-shade { position: absolute; inset: 0; background: radial-gradient(transparent 60%, rgba(0,0,0,.6) 100%); }
.sc-slide-inner { position: absolute; inset: 0; }
.sc-slide-hit { position: absolute; inset: 0; z-index: 1; }
.sc-slide-copy {
  position: absolute; left: 18px; right: 18px; bottom: 28px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none;
}
.sc-slide-kicker, .sc-slide-tags, .sc-slide-status, .sc-slide-syn, .sc-slide-preview { display: none; }
.sc-slide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; pointer-events: auto; }
.sc-slide-cta { color: #fff; }
.sc-diversion {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 12px;
}
.sc-hero-dots { position: absolute; right: 20px; bottom: 20px; z-index: 3; display: flex; gap: 4px; }
.sc-dot { position: relative; display: grid; place-items: center; width: 6px; height: 6px; padding: 0; border: 0; background: none; cursor: pointer; }
.sc-dot::before { content: ""; display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); }
.sc-dot::after { content: ""; position: absolute; top: -13px; left: -2px; width: 10px; height: 32px; }
.sc-dot[aria-pressed="true"]::before { background: var(--sc-crimson); }
.sc-hero--empty { display: grid; place-items: center; text-align: center; }
.sc-hero--empty .sc-slide-inner { position: static; padding: 24px; }
body.layout-showcase .sc-hero--empty .sc-slide-title { position: static; width: auto; height: auto; margin: 0 0 8px; clip: auto; overflow: visible; white-space: normal; font-size: 24px; }
.sc-hero--empty .sc-slide-status { display: block; margin: 0; color: rgba(255,255,255,.6); font-size: 13px; }

/* —— single labeled ad: home band (reference QR band slot) / detail+list panel (App promo slot) —— */
.sc-adband { padding: 24px 0 0; }
.sc-adband .xh-ad {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none;
}
.sc-adband .xh-ad .lab,
.sc-adpanel .xh-ad .lab {
  padding: 0; border-radius: 0; background: none; color: var(--sc-pink);
  font-size: 12px; line-height: 17px; font-weight: 700; letter-spacing: 2.4px;
}
.sc-adband .xh-ad .body {
  flex: none; min-width: 0; color: var(--sc-title);
  font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: 1px;
}
.sc-adband .xh-ad a:not(.xh-ad-media),
.sc-adpanel .xh-ad a:not(.xh-ad-media) {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--sc-cta); color: #fff; font-size: 14px; line-height: 20px; font-weight: 500;
}
.sc-adpanel { margin-top: 24px; }
.sc-detail-col .sc-adpanel { margin-top: 0; }
.sc-adpanel .xh-ad {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; margin: 0;
  padding: 24px 12px; border-radius: 24px; border: 1px solid var(--sc-l10); background: rgba(18,18,22,.1);
}
.sc-adpanel .xh-ad .body {
  flex: none; min-width: 0; color: var(--sc-fg); font-size: 18px; line-height: 24px; font-weight: 700;
}
.sc-adpanel .xh-ad a:not(.xh-ad-media) { width: 100%; height: auto; padding: 12px 36px; }
/* creative image: kicker label above in the band, overlay chip on the panel; image fills the slot */
.sc-adband .xh-ad.xh-ad--img { align-items: stretch; }
.sc-adband .xh-ad.xh-ad--img .lab { position: static; }
.sc-adpanel .xh-ad.xh-ad--img { display: block; padding: 0; border: 0; background: none; border-radius: 16px; }
.sc-adpanel .xh-ad.xh-ad--img .lab { padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; letter-spacing: 1px; }
.sc-adband .xh-ad .xh-ad-media,
.sc-adpanel .xh-ad .xh-ad-media {
  display: block; width: 100%; height: auto; padding: 0; overflow: hidden; border-radius: 16px; background: var(--sc-ph);
}

/* —— home module (rail) —— */
.sc-sec { padding: 24px 0; }
.sc-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sc-sec-title {
  display: flex; align-items: center; gap: 4px; min-width: 0; margin: 0;
  font-size: 18px; line-height: 24px; font-weight: 700; color: var(--sc-fg);
}
.sc-sec-title::before { content: ""; width: 6px; height: 16px; flex-shrink: 0; border-radius: 3px; background: var(--sc-crimson); }
.sc-more { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 12px; line-height: 18px; color: var(--sc-t60); }
.sc-more .sc-i { font-size: 16px; }
.sc-rail { position: relative; margin-top: 12px; }
.sc-rail-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 7px; }
.sc-rail-track > :nth-child(n+7) { display: none; }
.sc-rail-btn { display: none; }

/* —— poster card —— */
.sc-card { min-width: 0; }
.sc-card-link { display: block; }
.sc-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; background: var(--sc-ph); }
.sc-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.sc-card-link:hover .sc-cover img, .sc-card-link:focus-visible .sc-cover img { transform: scale(1.05); }
.sc-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center;
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.45); color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.24); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: transform .2s cubic-bezier(.4, 0, .2, 1), background-color .2s, border-color .2s;
}
.sc-play .sc-i { font-size: 16px; margin-left: 2px; }
.sc-card-link:hover .sc-play, .sc-card-link:focus-visible .sc-play {
  transform: scale(1.1); border-color: rgba(255,255,255,.7); background: var(--sc-pink);
}
.sc-badge {
  position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 6px 10px; border-radius: 12px;
  background: rgba(0,0,0,.6); color: #fff; font-size: 12px; line-height: 18px;
}
.sc-rank {
  position: absolute; left: 0; top: 0; z-index: 1; min-width: 28px; padding: 2px 9px;
  border-radius: 12px 0 12px 0; background: var(--sc-cta); color: #fff;
  font-size: 14px; line-height: 22px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums;
}
.sc-card-title {
  margin: 6px 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--sc-t90);
}
.sc-card-tags { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 12px; line-height: 18px; color: var(--sc-t60); }
.sc-card-tags a { transition: color .15s; }
.sc-card-tags a:hover { color: var(--sc-pink); }

/* —— about —— */
.sc-about { position: relative; overflow: hidden; margin-bottom: 16px; }
.sc-about-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(.35); }
.sc-about-grid { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 40px; }
.sc-about-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.sc-about-hrow { display: flex; align-items: center; justify-content: center; gap: 12px; }
.sc-about-kicker { display: none; }
.sc-about h2 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 500; color: var(--sc-fg); }
.sc-about-en { margin: 0; font-size: 12px; line-height: 18px; color: var(--sc-pink); }
.sc-about-lead { width: 100%; margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--sc-fg); }
.sc-about-rich { width: 100%; font-size: 12px; line-height: 18px; color: var(--sc-rich); }
.sc-about-media { width: 100%; }
.sc-about-cards { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.sc-about-card {
  padding: 18px 12px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--sc-gold-line) 30%, transparent);
  background: var(--sc-l10); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sc-about-card h3 { margin: 0; font-size: 16px; line-height: 22px; font-weight: 400; color: var(--sc-gold); }
.sc-about-card p { margin: 12px 0 0; font-size: 12px; line-height: 18px; color: var(--sc-t60); text-align: justify; }
/* Portrait-only backdrop (.xh-fit): mobile shows just the blurred, dimmed image behind the copy. */
.sc-about .xh-fit-fg { display: none; }
.sc-about .xh-fit-bg { filter: blur(20px); }

/* —— list pages —— */
.sc-page { padding: 12px 0 64px; }
.sc-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 12px; line-height: 15px; color: var(--sc-t50); }
.sc-crumb a { transition: color .15s; }
.sc-crumb a:hover { color: var(--sc-fg); }
.sc-h1 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 500; color: var(--sc-fg); }
.sc-sub { margin: 8px 0 0; font-size: 12px; line-height: 18px; letter-spacing: .025em; color: var(--sc-t40); }
.sc-sub--news { margin-top: 6px; color: var(--sc-title); }
.sc-desc { max-width: 780px; margin: 12px 0 0; font-size: 14px; line-height: 24px; color: var(--sc-t60); }
.sc-filter { min-width: 0; margin-top: 20px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--sc-l6); background: var(--sc-l4); }
.sc-frow { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sc-frow + .sc-frow { margin-top: 4px; }
.sc-frow--tags { align-items: flex-start; gap: 8px; }
.sc-frow-lab { width: 32px; flex-shrink: 0; font-size: 12px; line-height: 18px; color: var(--sc-t45); }
.sc-frow--tags .sc-frow-lab { margin-right: 4px; padding-top: 9px; }
.sc-chips { display: flex; flex: 1; min-width: 0; gap: 6px; padding: 4px 0; overflow-x: auto; scrollbar-width: none; }
.sc-chips::-webkit-scrollbar { display: none; }
.sc-frow.is-open .sc-chips { flex-wrap: wrap; overflow: visible; }
.sc-chip, .sc-expand {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; white-space: nowrap;
  border-radius: 999px; border: 1px solid var(--sc-l10); background: var(--sc-l5); color: var(--sc-t60);
  font-size: 11px; line-height: 18px; transition: border-color .15s, color .15s;
}
.sc-chip { padding: 4px 12px; }
.sc-chip:hover, .sc-expand:hover { border-color: var(--sc-l20); color: var(--sc-fg); }
.sc-chip[aria-current] { border-color: transparent; background: var(--sc-cta); color: #fff; }
.sc-expand { gap: 4px; height: 28px; margin-top: 4px; padding: 0 10px; cursor: pointer; font-family: inherit; }
.sc-expand[hidden] { display: none; }
.sc-expand i { font-style: normal; transition: transform .2s; }
.sc-frow.is-open .sc-expand i { transform: rotate(45deg); }
.sc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 7px; margin-top: 24px; }
.sc-grid--related { gap: 12px 7px; margin-top: 0; }
.sc-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.sc-pager .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 36px; padding: 0 8px;
  border-radius: 16px; background: var(--sc-pg-bg); color: var(--sc-pg-fg);
  font-size: 12px; line-height: 18px; font-variant-numeric: tabular-nums; transition: color .15s;
}
.sc-pager a.page-numbers:hover { color: var(--sc-fg); }
.sc-pager .current { background: var(--sc-pg-on); color: #fff; font-weight: 700; }
.sc-pager .dots { background: none; }
.sc-pager .is-off { opacity: .4; }
.sc-pager .sc-i { font-size: 14px; }

/* —— drama page —— */
.sc-detail { background: var(--sc-detail-m); }
.sc-detail-col { display: flex; flex-direction: column; gap: 18px; }
.sc-back {
  display: inline-flex; align-items: center; gap: 4px; width: fit-content;
  font-size: 14px; line-height: 20px; color: var(--sc-back); transition: color .15s;
}
.sc-back:hover { color: var(--sc-fg); }
.sc-back .sc-i { font-size: 14px; }
.sc-player { position: relative; overflow: hidden; aspect-ratio: 1 / .55393586; border-radius: 12px; background: #000; color: #f2f2f4; }
.sc-player > video { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-player .sk-player {
  position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; max-height: none; border-radius: 0; background: #000;
  --sk-acc: #fff; /* sk-player .is-loading spinner on the pink play disc */
}
.sc-player .sk-player video.sk-video { object-fit: contain; }
.sc-player .sk-player__bigplay {
  width: 56px; height: 56px; border: 1px solid rgba(255,255,255,.3); background: var(--sc-cta);
  box-shadow: 0 4px 24px rgba(0,0,0,.35); transition: box-shadow .18s, opacity .2s;
}
.sc-player .sk-player__bigplay:hover { transform: none; background: var(--sc-cta); box-shadow: 0 4px 28px color-mix(in srgb, var(--sc-crimson) 45%, transparent); }
.sc-player .sk-player__bigplay::before { border-width: 9px 0 9px 15px; border-left-color: #fff; transform: translate(-38%, -50%); }
.sc-player .sk-player__bar {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; grid-template-areas: "pg pg pg pg pg" "pl tm . mu fs";
  gap: 8px 10px; padding: 0 12px 10px; background: none; color: #f2f2f4; font-family: inherit;
}
.sc-player .sk-player__bar::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 96px; pointer-events: none;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.sc-player .sk-player__btn { width: 18px; height: 18px; border-radius: 0; }
.sc-player .sk-player__btn:hover { background: none; }
.sc-player .sk-player__btn--play { grid-area: pl; }
.sc-player .sk-player__btn--mute { grid-area: mu; display: none; }
.sc-player .sk-player__btn--fs { grid-area: fs; }
.sc-player .sk-player__btn--mute::before { line-height: 18px; }
.sc-player .sk-player__progress { grid-area: pg; height: 4px; background: rgba(255,255,255,.3); } /* visible before the video loads */
.sc-player .sk-player__buf { background: rgba(255,255,255,.12); }
.sc-player .sk-player__played { background: linear-gradient(to right, var(--sc-pink), var(--sc-crimson) 52%, color-mix(in srgb, var(--sc-crimson) 60%, #000)); }
.sc-player .sk-player__played::after {
  content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff;
}
.sc-player .sk-player__time { grid-area: tm; min-width: 0; text-align: left; opacity: 1; font-size: 11px; line-height: 16px; color: #a1a1aa; }
.sc-player .sk-player__rate-wrap { display: none; }
.sc-player-label { display: none; }
.sc-player:has(.sk-player.is-error) .sc-player-label { visibility: hidden; } /* the sk-player error card owns the frame */
.sc-player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.sc-player .xh-player-empty { position: absolute; inset: 0; color: #a1a1aa; }
.sc-info { display: flex; flex-direction: column; gap: 12px; }
.sc-info h1 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 500; color: var(--sc-fg); }
.sc-meta { margin: 0; font-size: 12px; line-height: 18px; color: var(--sc-meta); }
.sc-dtags { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-dtags a {
  padding: 6px 12px; border-radius: 999px; font-size: 12px; line-height: 18px; color: var(--sc-tagfg);
  border: 1px solid color-mix(in srgb, var(--sc-crimson) 20%, transparent);
  background: color-mix(in srgb, var(--sc-crimson) 10%, transparent);
  transition: border-color .15s, background-color .15s;
}
.sc-dtags a:hover {
  border-color: color-mix(in srgb, var(--sc-crimson) 60%, transparent);
  background: color-mix(in srgb, var(--sc-crimson) 20%, transparent);
}
.sc-syn { font-size: 12px; line-height: 18px; color: var(--sc-syn); }
.sc-syn > :first-child { margin-top: 0; }
.sc-syn > :last-child { margin-bottom: 0; }
.sc-syn p { margin: 0 0 .75rem; }
.sc-eps { display: flex; flex-direction: column; gap: 12px; }
.sc-eps-head { display: flex; flex-direction: column; gap: 8px; }
.sc-eps-title { display: flex; align-items: center; gap: 8px; }
.sc-eps-title h2, .sc-subhead { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--sc-fg); }
.sc-eps-title span { font-size: 13px; line-height: 20px; color: var(--sc-nav); }
.sc-eps-legend { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; line-height: 18px; color: var(--sc-nav); }
.sc-eps-legend .sc-i { font-size: 12px; color: var(--sc-pink); }
.sc-eps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sc-eps-grid a {
  display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 8px;
  border: 1px solid var(--sc-l7); background: var(--sc-ep); color: var(--sc-epfg);
  font-size: 16px; line-height: 24px; transition: border-color .15s, color .15s, background-color .15s;
}
.sc-eps-grid a:hover { border-color: var(--sc-l25); color: var(--sc-fg); }
.sc-eps-grid a[aria-current] {
  border-color: var(--sc-pink); background: color-mix(in srgb, var(--sc-crimson) 10%, transparent); color: var(--sc-pink);
}
.sc-related { display: flex; flex-direction: column; gap: 12px; }

/* —— news —— */
.sc-news-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
.sc-ncard { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; border: 1px solid var(--sc-l10); transition: border-color .15s; }
.sc-ncard-cover { position: relative; aspect-ratio: 1 / .56268222; overflow: hidden; background: var(--sc-ph); }
.sc-ncard-cover img, .sc-rel-cover img, .sc-art-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.sc-ncard:hover .sc-ncard-cover img, .sc-rel-item:hover .sc-rel-cover img { transform: scale(1.05); }
.sc-ncard-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 10px 12px; background: var(--sc-l5); }
.sc-ncard-body h3, .sc-ncard-body p { margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.sc-ncard-body h3 { font-size: 16px; line-height: 22px; font-weight: 500; color: var(--sc-fg); }
.sc-ncard-body p { font-size: 12px; line-height: 18px; color: var(--sc-t60); }
.sc-ncard-body .sc-ncard-date { display: block; }
.sc-art-wrap { display: flex; flex-direction: column; gap: 32px; }
.sc-art { display: flex; flex: 1; flex-direction: column; gap: 24px; min-width: 0; }
.sc-art-inner { display: flex; flex-direction: column; gap: 18px; }
.sc-art-date { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--sc-crimson); }
.sc-art h1 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 500; color: var(--sc-fg); }
.sc-art-lead { margin: 0; font-size: 14px; line-height: 20px; color: var(--sc-t60); text-align: justify; }
.sc-art-cover { position: relative; aspect-ratio: 1 / .50441362; overflow: hidden; border-radius: 24px; background: #333; }
.sc-art-body { font-size: 14px; line-height: 20px; color: var(--sc-t60); text-align: justify; }
.sc-art-body > :first-child { margin-top: 0; }
.sc-art-body p, .sc-art-body ul, .sc-art-body ol { margin: 0 0 .75rem; }
.sc-art-body a { color: var(--sc-crimson); text-decoration: underline; text-underline-offset: 2px; }
.sc-art-body strong, .sc-art-body b { color: var(--sc-t90); }
.sc-art-body img { max-width: 100%; height: auto; border-radius: .55rem; }
.sc-art-body hr { border: 0; border-top: 1px solid var(--sc-l10); margin: 0; }
.sc-art-rule { display: none; }
.sc-aside { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.sc-rel-item { display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.sc-rel-cover { position: relative; aspect-ratio: 1 / .56184486; overflow: hidden; border-radius: 12px; background: var(--sc-ph); }
.sc-rel-item h3 { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; line-height: 22px; font-weight: 400; color: var(--sc-fg); }
.sc-rel-item p { margin: 0; font-size: 14px; line-height: 20px; color: var(--sc-t60); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sc-rel-item .sc-rel-date { display: block; font-size: 12px; line-height: 18px; }

/* —— footer —— */
.sc-footer { padding: 8px 16px 32px; background: var(--sc-foot-m); }
.sc-footer-row { display: flex; flex-direction: column; gap: 18px; padding: 18px 20px; overflow: hidden; border-radius: 18px; background: var(--sc-foot); }
.sc-footer-cols { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sc-footer-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sc-footer .sc-logo { height: 36px; align-self: flex-start; }
.sc-footer-note { margin: 0; font-size: 12px; line-height: 18px; color: var(--sc-note); }
.sc-footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 12px; line-height: 16px; color: var(--sc-flink); }
.sc-footer-nav a, .sc-footer-side a { transition: color .15s; }
.sc-footer-nav a:hover, .sc-footer-side a:hover { color: var(--sc-fg); }
.sc-footer-copy { margin: 0; font-size: 12px; line-height: 18px; color: var(--sc-copy); }
.sc-footer-side { display: flex; flex-direction: column; gap: 16px; padding-top: 18px; border-top: 1px solid var(--sc-l10); }
.sc-footer-h { display: flex; align-items: center; gap: 12px; height: 20px; margin: 0; }
.sc-footer-h span { flex-shrink: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--sc-fg); }
.sc-footer-h::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--sc-fg) 55%, transparent); }
.sc-footer-side .xh-interlink { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; font-size: 12px; line-height: 18px; }
.sc-footer-side .xh-interlink a { color: var(--sc-flink); }
.sc-footer-side .xh-interlink-label { display: none; }
.sc-top {
  display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; align-self: flex-end;
  border-radius: 12px; border: 1px solid var(--sc-l10); background: var(--sc-l10);
  color: var(--sc-fg); font-size: 14px; line-height: 18px; font-weight: 500;
}

@media (max-width: 767px) {
  body.layout-showcase.skin-xinghuo-sand .sc-about-grid { padding-inline: 16px; }
  /* sand = light surfaces: over the dimmed image the about copy switches to the dark-skin colours */
  body.layout-showcase.skin-xinghuo-sand .sc-about--img {
    --sc-fg: #fff; --sc-rich: #c8c8c8; --sc-gold: #ffd27a; --sc-gold-line: #ffd23f;
    --sc-t60: rgba(255,255,255,.6); --sc-l10: rgba(255,255,255,.1);
  }
}

/* ===================== ≥768: desktop ===================== */
@media (min-width: 768px) {
  body.layout-showcase {
    --sc-w: min(100% - 48px, clamp(1200px, 100% - 240px, 1680px));
    background: var(--sc-bg);
  }
  body.layout-showcase .xh-wrap { padding-top: 72px; }
  body.layout-showcase .xh-wrap > :not(.sc-header):not(.sc-main):not(.sc-footer):not(script):not(style) { padding-inline: 0; }
  .sc-content { width: var(--sc-w); margin-inline: auto; padding-inline: 0; }
  .sc-btn { height: 44px; padding: 0 24px; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 500; }
  .sc-btn .sc-i { font-size: 18px; }

  .sc-header { position: fixed; top: 0; left: 0; right: 0; background: var(--sc-head); }
  body.admin-bar .sc-header { top: 32px; }
  .sc-header-row { flex-wrap: nowrap; gap: 36px; width: var(--sc-w); height: 72px; margin-inline: auto; padding: 0; }
  .sc-logo { height: 36px; }
  .sc-nav { order: 0; flex: 1 1 auto; height: auto; margin: 0; padding: 0; min-width: 0; align-items: center; }
  .sc-nav a { color: var(--sc-nav); font-weight: 400; }
  .sc-nav a:hover { color: var(--sc-fg); }
  .sc-nav a[aria-current] { color: var(--sc-pink); }
  .sc-nav a[aria-current]::after { display: none; }
  .sc-search { width: 220px; height: 36px; padding: 0 16px; border-radius: 999px; }

  .sc-hero { aspect-ratio: auto; height: 820px; margin-top: -72px; touch-action: auto; }
  .sc-hero-track { display: block; transform: none !important; transition: none; will-change: auto; }
  .sc-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .7s; }
  .sc-slide.is-active { opacity: 1; pointer-events: auto; }
  .sc-slide-bg { inset: -40px; filter: blur(28px) brightness(.55); }
  .sc-slide-bg .xh-fit { background: none; }
  .sc-slide-bg .xh-fit-bg { filter: none; transform: none; } /* the whole layer is already blurred */
  .sc-slide-bg .xh-fit-fg { display: none; }
  .sc-slide-inner { position: relative; inset: auto; width: var(--sc-w); height: 100%; margin-inline: auto; }
  .sc-slide-hit { display: none; }
  .sc-slide-copy {
    top: calc(50% + 36px); right: auto; bottom: auto; left: 0; width: 560px; gap: 18px;
    transform: translateY(-50%); pointer-events: auto;
  }
  .sc-slide-kicker { display: block; margin: 0; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--sc-pink); }
  body.layout-showcase .sc-slide-title {
    position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal;
    font-size: 57px; line-height: 1.1; font-weight: 700; color: #f2f2f4;
  }
  .sc-slide-tags { display: flex; flex-wrap: wrap; gap: 12px; }
  .sc-slide-tags span {
    padding: 5px 12px; border-radius: 999px; border: 1px solid #fff; background: rgba(255,255,255,.1);
    color: #fff; font-size: 12px; line-height: 18px; font-weight: 500;
  }
  .sc-slide-status { display: block; margin: 0; font-size: 12px; line-height: 18px; color: #fff; }
  .sc-slide-syn {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
    margin: 0; font-size: 12px; line-height: 18px; color: rgba(255,255,255,.9);
  }
  .sc-diversion { height: 44px; padding: 0 20px; font-size: 14px; }
  .sc-slide-preview {
    position: absolute; top: calc(50% + 36px); right: 0; display: block; width: 50%; aspect-ratio: 16 / 9;
    overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; transform: translateY(-50%);
    background: rgba(255,255,255,.08);
  }
  .sc-slide-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .sc-slide-preview-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.1); }
  .sc-slide-preview-play > span {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.7); background: rgba(0,0,0,.35); color: #fff;
  }
  .sc-slide-preview-play .sc-i { font-size: 24px; margin-left: 3px; }
  .sc-hero-dots { right: 68px; bottom: 41px; gap: 8px; }
  .sc-dot, .sc-dot::before { width: 8px; height: 8px; }
  .sc-dot::after { top: -12px; left: -4px; width: 16px; }

  .sc-adband { padding: 36px 0; background: var(--sc-bg); }
  .sc-adband .xh-ad .body { font-size: 27px; line-height: 39px; }
  .sc-adpanel { margin-top: 48px; }
  .sc-adpanel .xh-ad {
    grid-template-columns: minmax(0, 614px) auto; grid-template-areas: "lab cta" "body cta";
    align-items: center; justify-content: space-between; gap: 18px 24px; padding: 36px 49px; background: var(--sc-l10);
  }
  .sc-adpanel .xh-ad .lab { grid-area: lab; }
  .sc-adpanel .xh-ad .body { grid-area: body; font-size: 24px; line-height: 32px; font-weight: 500; }
  .sc-adpanel .xh-ad a:not(.xh-ad-media) { grid-area: cta; width: auto; padding: 18px 36px; font-size: 22px; line-height: 33px; font-weight: 600; }

  .sc-sec { padding: 36px 0; }
  .sc-sec-title { gap: 0; font-size: 28px; line-height: 41px; letter-spacing: 2px; }
  .sc-sec-title::before { display: none; }
  .sc-more { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--sc-l10); background: var(--sc-l10); color: var(--sc-fg); }
  .sc-rail { margin-top: 18px; }
  .sc-rail-track {
    grid-template-columns: none; grid-auto-flow: column; gap: 24px; overflow-x: auto; scrollbar-width: none;
    grid-auto-columns: calc((100% - (var(--sc-cols) - 1) * 24px) / var(--sc-cols)); scroll-behavior: smooth;
  }
  .sc-rail-track::-webkit-scrollbar { display: none; }
  .sc-rail-track > :nth-child(n+7) { display: block; }
  .sc-rail-btn {
    position: absolute; top: 90px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
    border-radius: 50%; border: 1px solid var(--sc-l25); background: color-mix(in srgb, var(--sc-bg) 90%, transparent);
    color: var(--sc-fg); cursor: pointer; font-size: 24px;
  }
  .sc-rail-btn[hidden] { display: none; }
  .sc-rail-btn--prev { left: -24px; }
  .sc-rail-btn--next { right: -24px; }
  .sc-card-title, .sc-card-tags { margin-top: 12px; }

  .sc-about { margin-bottom: 0; }
  .sc-about-img { filter: none; object-position: center; }
  .sc-about .xh-fit-fg { display: block; }
  .sc-about .xh-fit-bg { filter: blur(24px) brightness(.55); }
  .sc-about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 80px; padding: 36px 0; }
  .sc-about-copy { align-items: stretch; justify-content: center; gap: 24px; }
  .sc-about-hrow { flex-direction: column; align-items: flex-start; gap: 24px; }
  .sc-about-kicker { display: block; margin: 0; font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: 2.64px; color: var(--sc-pink); }
  .sc-about h2 { font-size: 30px; line-height: 32px; font-weight: 700; letter-spacing: 2px; text-align: left; }
  .sc-about-en { display: none; }
  .sc-about-lead { font-size: 18px; line-height: 24px; font-weight: 700; }
  .sc-about-media { position: relative; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #1a1218; }
  .sc-about-media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); }
  .sc-about-cards { position: absolute; inset: 0; z-index: 1; flex-direction: row; align-items: center; justify-content: center; gap: 24px; padding: 0 16px; }
  .sc-about-card {
    width: 150px; flex-shrink: 0; padding: 32px 22px; border-radius: 19px; border-color: var(--sc-gold-line);
    background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .sc-about-card h3 { font-size: 20px; line-height: 28px; font-weight: 500; text-align: center; }
  body.skin-xinghuo-sand .sc-about-card h3 { color: #ffd27a; }
  .sc-about-card p { font-size: 14px; line-height: 20px; color: rgba(255,255,255,.6); }

  .sc-page { padding: 36px 0 64px; }
  .sc-crumb { margin-bottom: 48px; }
  .sc-h1 { font-size: 32px; line-height: 32px; font-weight: 700; }
  .sc-sub--news { margin-top: 12px; font-size: 14px; color: var(--sc-t50); }
  .sc-filter { margin-top: 24px; padding: 12px 16px; }
  .sc-frow-lab { width: 40px; }
  .sc-frow--tags .sc-frow-lab { padding-top: 11px; }
  .sc-chips { gap: 8px; }
  .sc-chip { padding: 6px 14px; font-size: 12px; }
  .sc-expand { height: 32px; padding: 0 12px; font-size: 12px; }
  .sc-grid { grid-template-columns: repeat(var(--sc-cols), minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
  .sc-grid--related { margin-top: 0; }
  .sc-grid--related > :nth-child(n+7) { display: none; }

  .sc-detail { background: none; }
  .sc-detail-col { gap: 24px; }
  .sc-player { aspect-ratio: 1 / .56100483; border-radius: 20px; }
  .sc-player .sk-player__bigplay { width: 88px; height: 88px; }
  .sc-player .sk-player__bigplay::before { border-width: 14px 0 14px 23px; }
  .sc-player .sk-player__bar { gap: 12px 16px; padding: 0 24px 20px; }
  .sc-player .sk-player__bar::before { height: 208px; }
  .sc-player .sk-player__btn { width: 22px; height: 22px; }
  .sc-player .sk-player__btn--mute { display: block; }
  .sc-player .sk-player__time { font-size: 12px; line-height: 18px; }
  .sc-player-label {
    position: absolute; left: 24px; bottom: 69px; z-index: 4; display: block; pointer-events: none;
    font-size: 15px; line-height: 21px; font-weight: 700; color: #f2f2f4;
  }
  .sc-info { gap: 18px; }
  .sc-eps { gap: 16px; }
  .sc-eps-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .sc-eps-title { gap: 12px; }
  .sc-eps-title::before, .sc-subhead::before {
    content: ""; display: block; width: 3.5px; height: 18px; flex-shrink: 0; background: var(--sc-crimson);
  }
  .sc-eps-title span { font-size: 14px; line-height: 22px; }
  .sc-eps-legend { font-size: 13px; line-height: 20px; }
  .sc-eps-grid { grid-template-columns: repeat(auto-fill, 64px); }
  .sc-eps-grid a { height: 48px; }
  .sc-related { gap: 18px; }
  .sc-subhead { display: flex; align-items: center; gap: 12px; }
  .sc-subhead::before { background: var(--sc-yellow); }

  .sc-news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
  .sc-ncard { border-radius: 12px; background: var(--sc-panel); }
  .sc-ncard:hover { border-color: var(--sc-l20); }
  .sc-ncard-cover { aspect-ratio: 1 / .51470588; }
  .sc-ncard-body { gap: 8px; padding: 16px; background: none; }
  .sc-ncard-body h3 { font-size: 14px; line-height: 20px; color: var(--sc-t90); -webkit-line-clamp: 2; }
  .sc-ncard-body p { color: var(--sc-t50); -webkit-line-clamp: 2; }
  .sc-ncard-body .sc-ncard-date { color: var(--sc-t45); }
  .sc-art-wrap { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .sc-art-rule { display: block; width: 1px; flex-shrink: 0; align-self: stretch; background: var(--sc-l30); }
  .sc-aside { width: 272px; flex-shrink: 0; }
  .sc-aside .sc-subhead { gap: 10px; }

  .sc-footer { padding: 36px 0; border-top: 1px solid var(--sc-l10); background: var(--sc-foot); }
  .sc-footer-row {
    flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 0;
    width: var(--sc-w); margin-inline: auto; padding: 0; border-radius: 0; background: none; overflow: visible;
  }
  .sc-footer-cols { flex: 1; flex-direction: row; align-items: flex-start; gap: 103px; }
  .sc-footer-main { max-width: 567px; gap: 12px; }
  .sc-footer-nav { line-height: 18px; }
  .sc-footer-side { width: 100%; max-width: 480px; gap: 24px; padding-top: 0; border-top: 0; }
  .sc-footer-h { gap: 12px; }
  .sc-footer-h span { display: flex; align-items: center; gap: 6px; }
  .sc-footer-h span::before { content: ""; width: 3px; height: 12px; border-radius: 2px; background: var(--sc-fg); }
  .sc-footer-h::after { flex: 0 0 101px; background: var(--sc-fg); }
  .sc-top { align-self: flex-start; }
}

/* 768–1279: the reference zooms a 1280px page; we reflow instead so nothing overlaps. */
@media (min-width: 768px) and (max-width: 1279px) {
  body.layout-showcase { --sc-cols: 4; }
  .sc-slide-copy { width: calc(50% - 40px); }
  body.layout-showcase .sc-slide-title { font-size: 40px; }
  .sc-hero { height: 640px; }
  .sc-nav { gap: 20px; }
  .sc-search { width: 160px; }
  .sc-footer-cols { gap: 48px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  body.layout-showcase { --sc-cols: 5; }
}
@media (min-width: 1680px) {
  body.layout-showcase { --sc-cols: 7; }
  .sc-grid--related > :nth-child(7) { display: block; }
}
@media (min-width: 1920px) {
  body.layout-showcase { --sc-cols: 8; }
  .sc-grid--related > :nth-child(8) { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-hero-track, .sc-slide, .sc-cover img, .sc-play { transition: none; }
  .sc-rail-track { scroll-behavior: auto; }
}
