:root {
  --tpl-primary: var(--domain-primary, #2563eb);
  --tpl-primary-dark: var(--domain-primary-dark, #1d4ed8);
  --tpl-secondary: var(--domain-secondary, #7c3aed);
  --tpl-accent: var(--domain-accent, #db2777);
  --tpl-soft: var(--domain-soft, #eff6ff);
  --tpl-line: #e5e7eb;
  --tpl-text: #111827;
  --tpl-muted: #6b7280;
  --tpl-bg: #f8fafc;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--tpl-bg);
  color: var(--tpl-text);
  font-family: "Microsoft YaHei", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.tpl-page { min-height: 100vh; }
.tpl-shell { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.tpl-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / .16);
  backdrop-filter: blur(14px);
}
.tpl-nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 18px; }
.tpl-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; white-space: nowrap; }
.tpl-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--tpl-primary), var(--tpl-accent));
  color: #fff;
  font-size: 15px;
}
.tpl-links { display: flex; align-items: center; gap: 18px; color: inherit; font-size: 14px; }
.tpl-links a { opacity: .82; }
.tpl-links a:hover { opacity: 1; color: var(--tpl-primary); }
.tpl-searchbox { display: flex; align-items: center; width: min(520px, 100%); margin-top: 20px; background: #fff; border: 1px solid var(--tpl-line); overflow: hidden; }
.tpl-searchbox input { flex: 1; border: 0; outline: 0; min-width: 0; padding: 11px 14px; background: transparent; }
.tpl-searchbox button { border: 0; padding: 11px 16px; background: var(--tpl-primary); color: #fff; cursor: pointer; }
.tpl-hero { padding: 48px 0; }
.tpl-eyebrow { color: var(--tpl-primary); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.tpl-title { margin: 0; font-size: clamp(30px, 5vw, 56px); line-height: 1.06; letter-spacing: 0; }
.tpl-subtitle { color: var(--tpl-muted); font-size: 17px; line-height: 1.8; max-width: 760px; }
.tpl-section { padding: 28px 0; }
.tpl-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tpl-section h2 { margin: 0; font-size: 24px; }
.tpl-section-note { color: var(--tpl-muted); font-size: 14px; }
.tpl-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.tpl-card { background: #fff; border: 1px solid var(--tpl-line); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.tpl-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgb(15 23 42 / .12); }
.tpl-cover { position: relative; aspect-ratio: 1 / 1; background: #e5e7eb; overflow: hidden; }
.tpl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpl-badge { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 999px; background: rgb(0 0 0 / .66); color: #fff; font-size: 12px; }
.tpl-duration { position: absolute; right: 10px; bottom: 10px; padding: 4px 7px; border-radius: 6px; background: rgb(0 0 0 / .66); color: #fff; font-size: 12px; }
.tpl-card-body { padding: 12px; }
.tpl-card-title { margin: 0 0 8px; font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--tpl-muted); font-size: 12px; }
.tpl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-tag { padding: 7px 11px; border: 1px solid var(--tpl-line); background: #fff; color: var(--tpl-muted); font-size: 13px; cursor: pointer; }
.tpl-filterbar { padding: 16px; border: 1px solid var(--tpl-line); background: #fff; border-radius: 8px; }
.tpl-footer { margin-top: 36px; padding: 28px 0; border-top: 1px solid var(--tpl-line); color: var(--tpl-muted); font-size: 13px; }
.tpl-footer h3 { margin: 0 0 12px; font-size: 15px; color: inherit; }
.tpl-footer p { margin: 8px 0; line-height: 1.7; }
.tpl-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; }
.tpl-footer-brand strong { display: block; margin-bottom: 10px; font-size: 20px; color: inherit; }
.tpl-footer-links { display: flex; flex-wrap: wrap; gap: 9px 12px; }
.tpl-footer-links a { cursor: pointer; opacity: .86; }
.tpl-footer-links a:hover { opacity: 1; color: var(--tpl-primary); }
.tpl-footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 18%, transparent); }
.tpl-footer-ribbon { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.tpl-footer-ribbon span { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid #f0dce8; color: #8a3f70; }
.tpl-footer-video-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--tpl-line); }
.tpl-detail-hero { padding: 34px 0; background: linear-gradient(135deg, var(--tpl-soft), #fff); }
.tpl-detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 28px; align-items: stretch; }
.tpl-player { background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 46px rgb(15 23 42 / .16); }
.tpl-player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.tpl-detail-info { padding: 24px; background: #fff; border: 1px solid var(--tpl-line); border-radius: 10px; }
.tpl-detail-title { margin: 0 0 14px; font-size: clamp(24px, 3vw, 38px); line-height: 1.18; letter-spacing: 0; }
.tpl-detail-desc { color: var(--tpl-muted); line-height: 1.8; }
.tpl-detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.tpl-detail-meta span { padding: 7px 10px; background: var(--tpl-soft); border-radius: 6px; color: var(--tpl-primary-dark); font-size: 13px; }
.tpl-category-hero { padding: 38px 0; }
.tpl-notfound-hero {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--tpl-soft), #fff);
  border-bottom: 1px solid var(--tpl-line);
}
.tpl-notfound-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: stretch;
}
.tpl-notfound-copy {
  position: relative;
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tpl-primary) 18%, var(--tpl-line));
  border-radius: 8px;
  background: rgb(255 255 255 / .78);
  box-shadow: 0 20px 60px rgb(15 23 42 / .10);
}
.tpl-notfound-copy::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 210px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tpl-primary), var(--tpl-accent));
  opacity: .65;
}
.tpl-notfound-code {
  position: absolute;
  top: 8px;
  right: 28px;
  color: color-mix(in srgb, var(--tpl-primary) 14%, transparent);
  font-size: clamp(86px, 12vw, 168px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}
.tpl-notfound-copy .tpl-eyebrow,
.tpl-notfound-copy .tpl-title,
.tpl-notfound-copy .tpl-subtitle,
.tpl-notfound-copy .tpl-searchbox,
.tpl-notfound-path,
.tpl-notfound-actions {
  position: relative;
  z-index: 1;
}
.tpl-notfound-path {
  display: inline-flex;
  max-width: 100%;
  margin: 6px 0 18px;
  padding: 8px 11px;
  overflow: hidden;
  border: 1px solid var(--tpl-line);
  border-radius: 6px;
  background: #fff;
  color: var(--tpl-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tpl-notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 4px;
}
.tpl-home-button,
.tpl-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 700;
}
.tpl-home-button {
  background: var(--tpl-primary);
  color: #fff;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--tpl-primary) 28%, transparent);
}
.tpl-home-button:hover { background: var(--tpl-primary-dark); }
.tpl-secondary-button {
  border: 1px solid var(--tpl-line);
  background: #fff;
  color: var(--tpl-text);
}
.tpl-secondary-button:hover { border-color: var(--tpl-primary); color: var(--tpl-primary); }
.tpl-notfound-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--tpl-line);
  border-radius: 8px;
  background: #fff;
}
.tpl-notfound-side span {
  color: var(--tpl-muted);
  font-size: 13px;
  font-weight: 700;
}
.tpl-notfound-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.tpl-notfound-tags a {
  padding: 8px 11px;
  border: 1px solid var(--tpl-line);
  border-radius: 999px;
  color: var(--tpl-muted);
  font-size: 13px;
}
.tpl-notfound-tags a:hover {
  border-color: var(--tpl-primary);
  color: var(--tpl-primary);
}
.tpl-iyanse .tpl-notfound-hero,
.tpl-moying .tpl-notfound-hero {
  background: linear-gradient(145deg, #151a24, #090b10);
  border-bottom-color: #273142;
}
.tpl-iyanse .tpl-notfound-copy,
.tpl-moying .tpl-notfound-copy,
.tpl-iyanse .tpl-notfound-side,
.tpl-moying .tpl-notfound-side {
  background: #171c26;
  border-color: #273142;
  box-shadow: none;
}
.tpl-iyanse .tpl-notfound-path,
.tpl-moying .tpl-notfound-path,
.tpl-iyanse .tpl-secondary-button,
.tpl-moying .tpl-secondary-button {
  background: #10131a;
  border-color: #273142;
  color: #d6dbe5;
}
.tpl-iyanse .tpl-notfound-tags a,
.tpl-moying .tpl-notfound-tags a {
  border-color: #273142;
  color: #d6dbe5;
}
.tpl-dengdafei .tpl-notfound-hero,
.tpl-yunying .tpl-notfound-hero {
  background: #172033;
  color: #fff;
  border-bottom-color: #263244;
}
.tpl-dengdafei .tpl-notfound-copy,
.tpl-yunying .tpl-notfound-copy,
.tpl-dengdafei .tpl-notfound-side,
.tpl-yunying .tpl-notfound-side {
  background: rgb(255 255 255 / .08);
  border-color: #334155;
  box-shadow: none;
}
.tpl-dengdafei .tpl-notfound-path,
.tpl-yunying .tpl-notfound-path,
.tpl-dengdafei .tpl-secondary-button,
.tpl-yunying .tpl-secondary-button,
.tpl-dengdafei .tpl-notfound-tags a,
.tpl-yunying .tpl-notfound-tags a {
  background: rgb(15 23 42 / .42);
  border-color: #334155;
  color: #e5e7eb;
}
.tpl-dengdafei .tpl-notfound-hero .tpl-subtitle,
.tpl-yunying .tpl-notfound-hero .tpl-subtitle {
  color: #cbd5e1;
}

.tpl-iyanse { background: #10131a; color: #f8fafc; }
.tpl-iyanse .tpl-header { background: rgb(16 19 26 / .86); }
.tpl-iyanse .tpl-hero { background: linear-gradient(145deg, #151a24, #090b10); }
.tpl-iyanse .tpl-subtitle, .tpl-iyanse .tpl-section-note, .tpl-iyanse .tpl-card-meta, .tpl-iyanse .tpl-footer { color: #aeb8c8; }
.tpl-iyanse .tpl-card, .tpl-iyanse .tpl-tag, .tpl-iyanse .tpl-filterbar { background: #171c26; border-color: #273142; color: #d6dbe5; }
.tpl-iyanse .tpl-card-title, .tpl-iyanse .tpl-footer-library strong, .tpl-iyanse .tpl-footer-library h3 { color: #fff; }
.tpl-iyanse .tpl-footer-library, .tpl-iyanse .tpl-detail-hero { background: #080b10; border-top-color: #273142; color: #aeb8c8; }
.tpl-iyanse .tpl-detail-info { background: #171c26; border-color: #273142; color: #fff; }

.tpl-kengtuan { background: #fff7fb; }
.tpl-kengtuan .tpl-header { background: rgb(255 255 255 / .9); border-bottom-color: #f1d9e7; }
.tpl-kengtuan .tpl-hero { background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--tpl-accent) 12%, #fff)); }
.tpl-kengtuan .tpl-title { color: #332236; }
.tpl-kengtuan .tpl-channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.tpl-kengtuan .tpl-channel { padding: 18px; min-height: 100px; border-radius: 8px; background: #fff; border: 1px solid #f0dce8; box-shadow: 0 10px 28px rgb(154 73 122 / .08); cursor: pointer; text-align: left; }
.tpl-kengtuan .tpl-card { border-radius: 8px; border-color: #f0dce8; }
.tpl-kengtuan .tpl-tag { border-radius: 999px; border-color: #f0dce8; color: #8a3f70; }
.tpl-kengtuan .tpl-footer-channel { background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--tpl-accent) 10%, #fff)); border-top-color: #f0dce8; color: #6f4664; }
.tpl-kengtuan .tpl-footer-channel strong, .tpl-kengtuan .tpl-footer-channel h3 { color: #332236; }

.tpl-dengdafei { background: #f6f7fb; }
.tpl-dengdafei .tpl-header { background: #172033; color: #fff; }
.tpl-dengdafei .tpl-hero, .tpl-dengdafei .tpl-detail-hero { background: #172033; color: #fff; }
.tpl-dengdafei .tpl-subtitle { color: #cbd5e1; }
.tpl-dengdafei .tpl-quick, .tpl-dengdafei .tpl-statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tpl-dengdafei .tpl-quick { margin-top: -18px; position: relative; z-index: 2; }
.tpl-dengdafei .tpl-quick a, .tpl-dengdafei .tpl-stat { padding: 18px; background: #fff; border: 1px solid var(--tpl-line); border-radius: 6px; box-shadow: 0 10px 28px rgb(15 23 42 / .08); }
.tpl-dengdafei .tpl-card, .tpl-dengdafei .tpl-detail-info { border-radius: 6px; }
.tpl-dengdafei .tpl-footer-resource { background: #111827; color: #cbd5e1; border-top-color: #263244; }
.tpl-dengdafei .tpl-footer-resource h3, .tpl-dengdafei .tpl-footer-resource strong { color: #fff; }

.tpl-jinnrj { background: #ffffff; }
.tpl-jinnrj .tpl-header { background: #fff; border-bottom-color: var(--tpl-line); }
.tpl-jinnrj .tpl-hero, .tpl-jinnrj .tpl-detail-hero { padding: 34px 0; background: linear-gradient(180deg, var(--tpl-soft), #fff); }
.tpl-jinnrj .tpl-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 18px; }
.tpl-jinnrj .tpl-tabs button { border: 1px solid var(--tpl-line); background: #fff; padding: 9px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.tpl-jinnrj .tpl-tabs button.active { background: var(--tpl-primary); color: #fff; border-color: var(--tpl-primary); }
.tpl-jinnrj .tpl-platform { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; }
.tpl-jinnrj .tpl-panel { padding: 22px; background: #fff; border: 1px solid var(--tpl-line); border-radius: 8px; }
.tpl-jinnrj .tpl-card { border-radius: 8px; }
.tpl-jinnrj .tpl-footer-video { background: #f8fafc; color: #64748b; }
.tpl-jinnrj .tpl-footer-video strong, .tpl-jinnrj .tpl-footer-video h3 { color: #0f172a; }

.tpl-moying { background: #0f1015; color: #f8fafc; }
.tpl-moying .tpl-header { background: rgb(15 16 21 / .88); }
.tpl-moying .tpl-moying-hero { background: linear-gradient(135deg, #141722, #050608); }
.tpl-moying .tpl-moying-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: 28px; align-items: stretch; }
.tpl-moying .tpl-subtitle, .tpl-moying .tpl-section-note, .tpl-moying .tpl-card-meta, .tpl-moying .tpl-footer { color: #aeb6c6; }
.tpl-moying .tpl-moying-feature { position: relative; min-height: 360px; overflow: hidden; border-radius: 8px; border: 1px solid #2a3140; background: #111827; }
.tpl-moying .tpl-moying-feature img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .82; }
.tpl-moying .tpl-moying-feature span, .tpl-moying .tpl-moying-feature strong { position: absolute; left: 18px; right: 18px; z-index: 1; }
.tpl-moying .tpl-moying-feature span { top: 18px; width: fit-content; padding: 6px 10px; border-radius: 999px; background: rgb(0 0 0 / .62); color: #fff; font-size: 12px; }
.tpl-moying .tpl-moying-feature strong { bottom: 18px; font-size: 24px; line-height: 1.25; color: #fff; }
.tpl-moying .tpl-moying-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.tpl-moying .tpl-card, .tpl-moying .tpl-tag, .tpl-moying .tpl-searchbox { background: #171b24; border-color: #2a3140; color: #e5e7eb; }
.tpl-moying .tpl-card-title { color: #fff; }

.tpl-guangying { background: #fffdf7; }
.tpl-guangying .tpl-header { background: rgb(255 253 247 / .9); border-bottom-color: #eadfc8; }
.tpl-guangying .tpl-guangying-hero { background: linear-gradient(135deg, #fff8e7, color-mix(in srgb, var(--tpl-primary) 12%, #fff)); }
.tpl-guangying .tpl-guangying-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tpl-guangying .tpl-guangying-pills button { border: 1px solid #eadfc8; background: #fff; color: #6b4f1d; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.tpl-guangying .tpl-guangying-lanes { display: grid; gap: 26px; }
.tpl-guangying .tpl-guangying-lane { padding: 18px; background: #fff; border: 1px solid #eadfc8; border-radius: 8px; }
.tpl-guangying .tpl-guangying-lane .tpl-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tpl-guangying .tpl-card, .tpl-guangying .tpl-tag { border-color: #eadfc8; border-radius: 8px; }
.tpl-guangying .tpl-footer { background: #fff8e7; border-top-color: #eadfc8; }

.tpl-fengmian { background: #f4f7fb; }
.tpl-fengmian .tpl-header { background: #ffffff; border-bottom-color: #dbe3ef; }
.tpl-fengmian .tpl-fengmian-hero { background: #ffffff; border-bottom: 1px solid #dbe3ef; }
.tpl-fengmian .tpl-fengmian-head { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; }
.tpl-fengmian .tpl-fengmian-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.tpl-fengmian .tpl-fengmian-card { position: relative; min-height: 220px; border-radius: 8px; overflow: hidden; border: 0; background: #111827; }
.tpl-fengmian .tpl-fengmian-card.is-wide { grid-column: span 2; }
.tpl-fengmian .tpl-fengmian-card img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .88; transition: transform .18s ease; }
.tpl-fengmian .tpl-fengmian-card:hover img { transform: scale(1.04); }
.tpl-fengmian .tpl-fengmian-card span, .tpl-fengmian .tpl-fengmian-card strong { position: absolute; left: 12px; right: 12px; z-index: 1; color: #fff; }
.tpl-fengmian .tpl-fengmian-card span { top: 12px; width: fit-content; padding: 4px 8px; border-radius: 999px; background: rgb(0 0 0 / .58); font-size: 12px; }
.tpl-fengmian .tpl-fengmian-card strong { bottom: 12px; line-height: 1.35; text-shadow: 0 2px 12px rgb(0 0 0 / .55); }
.tpl-fengmian .tpl-footer { background: #fff; }

.tpl-yunying { background: #eef2f6; }
.tpl-yunying .tpl-header { background: #101828; color: #fff; border-bottom-color: #263244; }
.tpl-yunying .tpl-yunying-hero { background: #101828; color: #fff; }
.tpl-yunying .tpl-subtitle { color: #cbd5e1; }
.tpl-yunying .tpl-yunying-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: center; }
.tpl-yunying .tpl-yunying-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tpl-yunying .tpl-yunying-metrics div { padding: 18px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); border-radius: 8px; }
.tpl-yunying .tpl-yunying-metrics strong { display: block; font-size: 28px; color: #fff; }
.tpl-yunying .tpl-yunying-metrics span { color: #cbd5e1; font-size: 12px; }
.tpl-yunying .tpl-yunying-board { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.tpl-yunying .tpl-yunying-board > div { padding: 18px; background: #fff; border: 1px solid #dbe3ef; border-radius: 8px; }
.tpl-yunying .tpl-yunying-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf1f6; }
.tpl-yunying .tpl-yunying-row:last-child { border-bottom: 0; }
.tpl-yunying .tpl-yunying-row span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--tpl-soft); color: var(--tpl-primary-dark); font-weight: 700; }
.tpl-yunying .tpl-yunying-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-yunying .tpl-yunying-row em { color: var(--tpl-muted); font-style: normal; font-size: 12px; }

@media (max-width: 980px) {
  .tpl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-notfound-panel { grid-template-columns: 1fr; }
  .tpl-notfound-side { min-height: auto; }
  .tpl-kengtuan .tpl-channel-grid, .tpl-dengdafei .tpl-quick, .tpl-dengdafei .tpl-statbar { grid-template-columns: repeat(2, 1fr); }
  .tpl-jinnrj .tpl-platform, .tpl-detail-grid, .tpl-moying .tpl-moying-stage, .tpl-fengmian .tpl-fengmian-head, .tpl-yunying .tpl-yunying-top, .tpl-yunying .tpl-yunying-board { grid-template-columns: 1fr; }
  .tpl-moying .tpl-moying-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-fengmian .tpl-fengmian-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .tpl-shell { width: min(100% - 20px, 1200px); }
  .tpl-nav { min-height: 58px; }
  .tpl-links { display: none; }
  .tpl-searchbox { width: 100%; }
  .tpl-hero { padding: 30px 0; }
  .tpl-notfound-hero { padding: 24px 0; }
  .tpl-notfound-copy { min-height: auto; padding: 24px 18px; }
  .tpl-notfound-code { right: 16px; font-size: 76px; }
  .tpl-notfound-copy::after { display: none; }
  .tpl-home-button, .tpl-secondary-button { flex: 1 1 150px; }
  .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tpl-card-body { padding: 10px; }
  .tpl-kengtuan .tpl-channel-grid, .tpl-dengdafei .tpl-quick, .tpl-dengdafei .tpl-statbar, .tpl-yunying .tpl-yunying-metrics { grid-template-columns: 1fr; }
  .tpl-moying .tpl-moying-strip, .tpl-fengmian .tpl-fengmian-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-fengmian .tpl-fengmian-card.is-wide { grid-column: span 2; }
  .tpl-guangying .tpl-guangying-lane .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-footer-grid { grid-template-columns: 1fr; }
  .tpl-footer-bottom { flex-direction: column; }
  .tpl-footer-video-links { justify-content: flex-start; }
}
