:root {
  --bg-dark: #0a0c0f;
  --panel-dark: #12151a;
  --panel-soft: #171b21;
  --line-dark: #252b34;
  --text-main: #f2f5f8;
  --text-sub: #a3adbb;
  --accent: #e8edf7;
  --chip: #1f2530;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable both-edges;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.58;
  overflow-y: scroll;
}

a {
  text-decoration: none;
}

.list-page {
  background: var(--bg-dark);
  color: var(--text-main);
}

.feed-topbar.dark {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 12, 15, 0.94);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
}

.topbar-inner.wide {
  width: min(1800px, calc(100% - 40px));
  margin: 0 auto;
  height: 70px;
  display: grid;
  grid-template-columns: minmax(180px, max-content) minmax(280px, 420px);
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.brand-pill {
  width: fit-content;
  min-width: 104px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff335f 0%, #ff2f57 100%);
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 1.25rem;
  letter-spacing: 0.1px;
  box-shadow: 0 10px 24px rgba(255, 51, 95, 0.28);
  user-select: none;
  justify-self: start;
}

.search-box.dark input {
  width: 100%;
  max-width: 420px;
  height: 38px;
  border-radius: 19px;
  border: 1px solid #1b2028;
  background: #11151b;
  color: #d8e0eb;
  padding: 0 14px;
  font-size: 0.9rem;
  justify-self: center;
}

.search-box.dark {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.right-links {
  display: none;
}

.right-links a {
  color: #b5bfcc;
  font-size: 0.86rem;
}

.app-shell {
  width: min(1800px, calc(100% - 40px));
  margin: 14px auto 8px;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 20px;
}

.left-rail {
  position: sticky;
  top: 82px;
  align-self: start;
  display: grid;
  gap: 10px;
  overflow: hidden;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 14px;
  background: #0f1318;
  color: #d5deeb;
  border: 1px solid #171d27;
  font-weight: 600;
  font-size: 0.96rem;
}

.rail-item.active {
  background: #1a1f29;
  color: #fff;
}

.rail-menu-item {
  justify-content: flex-start;
}

.rail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: currentColor;
}

.rail-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.rail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #1e2632;
  background: #10141a;
  color: #aeb8c8;
  font-size: 0.82rem;
}

.rail-card {
  margin-top: 6px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 12px;
  background: #0f1318;
  min-width: 0;
}

.rail-ad-card {
  padding: 10px;
  overflow: hidden;
  min-width: 0;
  font-size: 0;
  line-height: 0;
}

.rail-ad-card iframe {
  display: block;
  max-width: 100%;
  font-size: initial;
  line-height: normal;
}

.rail-ad-card > script {
  display: none !important;
}

.detail-banner-ad-shell {
  display: flex;
  justify-content: center;
  margin: 14px 0 4px;
}

.detail-banner-ad {
  width: min(100%, 728px);
  max-width: 728px;
  min-height: 90px;
  overflow: hidden;
  min-width: 0;
  font-size: 0;
  line-height: 0;
}

.detail-banner-ad > script,
.detail-banner-ad iframe {
  display: block;
  max-width: 100%;
  font-size: initial;
  line-height: normal;
}

.detail-banner-ad > script {
  display: none !important;
}

.detail-tag-below-ad-shell {
  display: flex;
  justify-content: center;
  margin: 10px 0 12px;
}

.detail-tag-below-ad {
  width: min(100%, 728px);
  max-width: 728px;
  min-height: 90px;
  overflow: hidden;
  min-width: 0;
  font-size: 0;
  line-height: 0;
}

.detail-tag-below-ad > script,
.detail-tag-below-ad iframe {
  display: block;
  max-width: 100%;
  font-size: initial;
  line-height: normal;
}

.detail-tag-below-ad > script {
  display: none !important;
}

.float-ad {
  position: fixed;
  top: 82px;
  z-index: 200;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}

.float-ad-left {
  left: 0;
}

.float-ad-right {
  right: 0;
}

.float-ad iframe {
  display: block;
  font-size: initial;
  line-height: normal;
}

.float-ad > script {
  display: none !important;
}

@media (max-width: 700px) {
  .detail-banner-ad-shell {
    margin: 12px 0 8px;
  }

  .detail-banner-ad {
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .detail-banner-ad iframe {
    width: min(100%, 728px);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 1439px) {
  .float-ad {
    display: none !important;
  }
}

.rail-card strong {
  display: block;
  margin-bottom: 8px;
}

.rail-card p {
  margin: 0;
  color: var(--text-sub);
  font-size: 0.88rem;
}

.rail-html {
  color: var(--text-sub);
  font-size: 0.86rem;
  line-height: 1.55;
}

.rail-html p {
  margin: 0;
}

.rail-html a {
  color: #fff;
  text-decoration: underline;
}

.feed-stage {
  min-width: 0;
  width: 100%;
}

.mobile-list-top-ad-shell {
  display: none;
}

.mobile-list-top-ad {
  width: 100%;
  max-width: 100%;
  text-align: center;
  overflow: hidden;
}

.mobile-list-top-ad > script,
.mobile-list-top-ad iframe {
  max-width: 100%;
}

.page-h1 {
  margin: 4px 0 10px;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.2;
}

.page-heading-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.page-heading-row .page-h1 {
  margin: 0;
}

.channel-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  align-items: center;
}

.feed-stage > .related-topics + .channel-tabs,
.feed-stage > .detail-card + .channel-tabs {
  margin-top: 14px;
}

.channel-tabs a {
  color: #c2cbda;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid #1d232e;
  background: #0f1318;
  font-size: 0.94rem;
  font-weight: 600;
}

.channel-tabs .channel-chip {
  color: #c2cbda;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid #1d232e;
  background: #0f1318;
  font-size: 0.94rem;
  font-weight: 600;
}

.channel-tabs a.active {
  color: #fff;
  background: #2e3641;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.feed-result {
  margin: 2px 0 10px;
  color: #f6d58c;
  font-size: 0.92rem;
  font-weight: 600;
}

.video-feed-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 18px;
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 93, 132, 0.18), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(96, 145, 255, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(17, 22, 31, 0.98), rgba(12, 17, 26, 0.92));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.video-feed-kicker {
  margin: 0 0 8px;
  color: #ff97ae;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-hero-stats {
  display: grid;
  gap: 10px;
  align-content: center;
}

.video-hero-stats span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #d2dcea;
  font-size: 0.88rem;
}

.video-hero-stats strong {
  color: #fff;
  font-size: 1.18rem;
}

.video-filter-shell {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.video-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 19, 24, 0.86);
  color: #ccd5e1;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.video-filter-chip strong {
  color: #fff;
  font-size: 0.8rem;
}

.video-filter-chip:hover,
.video-filter-chip.active {
  transform: translateY(-1px);
  border-color: rgba(255, 146, 174, 0.34);
  background: linear-gradient(135deg, rgba(255, 64, 109, 0.22), rgba(63, 112, 229, 0.18));
  box-shadow: 0 10px 24px rgba(255, 70, 118, 0.16);
}

.video-filter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.72rem;
}

.video-feed-note,
.video-filter-empty {
  margin: 0;
  color: #8fa0b7;
  font-size: 0.84rem;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  width: 100%;
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.meme-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: var(--panel-dark);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.meme-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.meme-card-media {
  position: relative;
}

.meme-gallery-trigger {
  display: none;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: zoom-in;
}

.meme-gallery-trigger.is-cover {
  display: block;
}

.meme-card img,
.meme-gallery-trigger img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0f131b;
}

.meme-count {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 0.78rem;
}

.meme-card-copy {
  padding: 14px;
}

.meme-card-copy h2 {
  margin: 0 0 8px;
  color: #f7f9fc;
  font-size: 1.08rem;
  line-height: 1.25;
}

.meme-card-copy p {
  margin: 0;
  color: #aeb8c7;
  font-size: 0.92rem;
  line-height: 1.5;
}

.meme-card-seo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(132, 155, 190, 0.2);
  background: linear-gradient(180deg, rgba(32, 40, 54, 0.72), rgba(20, 26, 36, 0.68));
  color: rgba(191, 211, 240, 0.84);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.meme-card-link:hover .meme-card-seo-link {
  border-color: rgba(156, 184, 226, 0.28);
  background: linear-gradient(180deg, rgba(40, 52, 70, 0.8), rgba(24, 31, 43, 0.76));
  color: rgba(223, 236, 255, 0.92);
  transform: translateY(-1px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.meme-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.meme-detail-card .detail-body {
  width: 100%;
  max-width: none;
  padding-right: 6px;
}

.meme-detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.meme-detail-figure {
  margin: 0;
  width: 100%;
  display: grid;
  justify-items: center;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}

.meme-detail-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(82vh, 1080px);
  margin-inline: auto;
  object-fit: contain;
  background: transparent;
}

.meme-detail-figure figcaption {
  padding: 12px 14px;
  color: #d7deea;
  font-size: 0.94rem;
  line-height: 1.6;
}


.post-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 16px;
  background: var(--panel-dark);
  border: 1px solid var(--line-dark);
  height: 418px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: #374051;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.video-card {
  height: 492px;
  border-radius: 20px;
}

.video-card .card-main,
.video-card .card-visual,
.video-card .keyword-visual.dark {
  border-radius: 20px;
}

.video-card .card-copy {
  bottom: 102px;
}

.video-card .desc {
  -webkit-line-clamp: 2;
  min-height: 2.88em;
}

.video-card .meta span:last-child {
  color: #ffcfaa;
}

.card-main {
  display: block;
  color: inherit;
  position: relative;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.post-card .card-visual,
.post-card .keyword-visual.dark {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: 0;
  border-radius: 14px;
}

.card-visual,
.keyword-visual.dark {
  border-radius: 14px;
  border: 1px solid #2a313d;
  background:
    radial-gradient(circle at 16% 14%, rgba(86, 153, 255, 0.30) 0%, rgba(86, 153, 255, 0.08) 12%, transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 126, 185, 0.24) 0%, rgba(255, 126, 185, 0.06) 10%, transparent 26%),
    radial-gradient(circle at 52% 82%, rgba(114, 240, 170, 0.14) 0%, rgba(114, 240, 170, 0.02) 14%, transparent 34%),
    linear-gradient(150deg, hsl(var(--tone-hue, 225) 28% 18%), hsl(var(--tone-hue-3, 25) 22% 10%));
  padding: 0;
  display: block;
  margin-bottom: 0;
  height: 100%;
  min-height: 0;
  max-height: none;
  width: 100%;
  overflow: hidden;
}

.card-visual.has-image,
.detail-cover.has-image {
  position: relative;
  background:
    radial-gradient(circle at 16% 14%, rgba(86, 153, 255, 0.30) 0%, rgba(86, 153, 255, 0.08) 12%, transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 126, 185, 0.24) 0%, rgba(255, 126, 185, 0.06) 10%, transparent 26%),
    radial-gradient(circle at 52% 82%, rgba(114, 240, 170, 0.14) 0%, rgba(114, 240, 170, 0.02) 14%, transparent 34%),
    linear-gradient(150deg, hsl(var(--tone-hue, 225) 28% 18%), hsl(var(--tone-hue-3, 25) 22% 10%));
}

.card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  opacity: 1;
  filter: brightness(0.68) saturate(0.9) contrast(0.95);
}

.post-card .card-visual::after,
.post-card .keyword-visual.dark::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.00) 0%, rgba(4, 7, 12, 0.14) 22%, rgba(4, 7, 12, 0.56) 50%, rgba(4, 7, 12, 0.94) 100%);
  pointer-events: none;
  z-index: 1;
}

.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  padding: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(86, 153, 255, 0.08) 0%, transparent 22%),
    radial-gradient(circle at 84% 14%, rgba(255, 126, 185, 0.07) 0%, transparent 20%),
    radial-gradient(circle at 50% 40%, rgba(114, 240, 170, 0.05) 0%, transparent 28%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.00) 0%, rgba(5, 7, 10, 0.10) 18%, rgba(5, 7, 10, 0.64) 52%, rgba(5, 7, 10, 0.98) 100%);
}

.video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 82, 120, 0.92), rgba(255, 136, 73, 0.88));
  box-shadow: 0 8px 22px rgba(255, 96, 96, 0.24);
  color: #fff7f8;
  backdrop-filter: blur(10px);
}

.video-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
  line-height: 1;
  text-indent: 1px;
}

.video-badge-text {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.card-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 88px;
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 0;
}

.post-card h2 {
  margin: 0;
  font-size: 1.64rem;
  line-height: 1.08;
  color: #f8fbff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  min-height: 2.16em;
  max-height: 2.16em;
}

.hot-badge {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 70, 103, 0.14);
  border: 1px solid rgba(255, 70, 103, 0.28);
  color: #ff6f8b;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

.desc {
  margin: 0;
  color: #b1bccb;
  font-size: 0.83rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.34;
  min-height: 2.68em;
  opacity: 0.86;
}

.post-card .desc a.inline-taxonomy-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(158, 219, 255, 0.18);
}

.post-card .desc a.inline-taxonomy-link:hover {
  color: #e1f4ff;
  border-bottom-color: rgba(158, 219, 255, 0.42);
}

.card-footer {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  display: grid;
  gap: 8px;
}

.chips {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  min-height: 32px;
  max-height: 32px;
  overflow: hidden;
}

.chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  color: #dce4ee;
  border: 0;
  background: rgba(18, 22, 29, 0.88);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smartlink-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 242, 0.52);
  background:
    linear-gradient(135deg, #4d63ff 0%, #8b46ff 32%, #ff3f93 66%, #ff8a28 100%);
  background-size: 240% 240%;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(123, 57, 168, 0.36),
    0 0 26px rgba(255, 86, 164, 0.24);
  animation: smartlinkGlow 3.8s ease-in-out infinite;
}

.smartlink-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg,
      transparent 0%,
      transparent 36%,
      rgba(255, 255, 255, 0.38) 49%,
      transparent 62%,
      transparent 100%);
  transform: translateX(-155%) skewX(-18deg);
  animation: smartlinkSweep 2.8s ease-in-out infinite;
  pointer-events: none;
}

.smartlink-pill:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.16) brightness(1.08);
}

@keyframes smartlinkGlow {
  0% {
    background-position: 0% 50%;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 10px 22px rgba(75, 54, 153, 0.3),
      0 0 18px rgba(118, 101, 255, 0.2);
  }
  50% {
    background-position: 100% 50%;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.12),
      0 12px 28px rgba(153, 59, 121, 0.4),
      0 0 30px rgba(255, 84, 146, 0.34);
  }
  100% {
    background-position: 0% 50%;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 10px 22px rgba(75, 54, 153, 0.3),
      0 0 18px rgba(118, 101, 255, 0.2);
  }
}

@keyframes smartlinkSweep {
  0% {
    transform: translateX(-155%) skewX(-18deg);
    opacity: 0;
  }
  18% {
    opacity: 0.9;
  }
  48% {
    transform: translateX(155%) skewX(-18deg);
    opacity: 0.9;
  }
  60% {
    opacity: 0;
  }
  100% {
    transform: translateX(155%) skewX(-18deg);
    opacity: 0;
  }
}

.chips a.chip-core-keyword {
  color: #d9f4ff;
  border: 1px dashed rgba(122, 208, 255, 0.34);
  background: rgba(53, 111, 148, 0.22);
  font-weight: 650;
}

.chips a:empty {
  display: none;
}

.meta {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #8e99a8;
  font-size: 0.84rem;
}

.heat {
  color: #ff6f8b;
}

.pager {
  margin: 8px 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.pager a,
.pager span {
  border: 1px solid #2b3342;
  background: #11161e;
  color: #ccd5e3;
  border-radius: 8px;
  min-width: 34px;
  text-align: center;
  padding: 6px 10px;
  line-height: 1.2;
}

.pager a {
  text-decoration: none;
}

.pager a.active {
  background: #2b3341;
  color: #fff;
}

.pager .pager-nav {
  min-width: 0;
  padding-inline: 12px;
}

.pager .pager-ellipsis {
  border-style: dashed;
  color: #7f8a9a;
  min-width: 24px;
  padding-inline: 8px;
}

.pager .disabled {
  color: #667080;
  border-color: #1f2632;
  background: #0d1219;
}

.site-footer {
  width: min(1600px, calc(100% - 72px));
  margin: 36px auto 0;
  padding: 10px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.022);
  color: #626d7f;
  font-size: 0.82rem;
}



.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 14px;
}

.site-footer-copy strong {
  display: block;
  margin-bottom: 8px;
  color: #a8b3c2;
  font-size: 0.92rem;
}

.site-footer-copy p {
  margin: 0;
  line-height: 1.7;
  color: #626d7f;
}

.site-footer-fold summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
  color: #626d7f;
  font-size: 0.8rem;
  user-select: none;
}

.site-footer-fold summary::-webkit-details-marker {
  display: none;
}

.site-footer-fold summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 152, 180, 0.12);
  background: rgba(20, 24, 31, 0.28);
  color: #7f8ea5;
  font-size: 0.7rem;
  line-height: 1;
}

.site-footer-fold[open] summary::before {
  content: "-";
}

.site-footer-fold p {
  margin-top: 8px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(79, 96, 122, 0.24);
  background: rgba(255, 255, 255, 0.008);
  color: #8f9bae;
}

.site-footer-note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.018);
  line-height: 1.65;
  color: #5d697b;
}

@supports (content-visibility: auto) {
  .rail-card {
    content-visibility: auto;
    contain-intrinsic-size: 1px 220px;
  }

  .detail-core-theme-fold,
  .detail-topic-hub-fold {
    content-visibility: auto;
    contain-intrinsic-size: 1px 240px;
  }

  .related-posts,
  .related-topics {
    content-visibility: auto;
    contain-intrinsic-size: 1px 340px;
  }

  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 180px;
  }

  .home-seo-intro {
    content-visibility: auto;
    contain-intrinsic-size: 1px 140px;
  }
}

.post-page,
.static-page {
  background: var(--bg-dark);
  color: var(--text-main);
}

.detail-stage {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.post-page .container,
.static-page .container {
  width: min(1680px, calc(100% - 40px));
  margin: 0 auto;
}

.detail-card,
.related-dark {
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: var(--panel-dark);
  padding: 12px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.video-detail-page .detail-card {
  grid-template-columns: 1fr;
}

.meme-detail-page .detail-card {
  grid-template-columns: 1fr;
}

.video-detail-page .detail-body {
  justify-items: center;
  text-align: center;
  padding: 8px 10px 10px;
  gap: 10px;
}

.meme-detail-page .detail-body {
  justify-items: center;
  text-align: center;
  padding: 8px 10px 10px;
  gap: 10px;
}

.video-detail-page .detail-body .chips,
.video-detail-page .detail-body .detail-meta,
.video-detail-page .detail-body .actions {
  justify-content: center;
}

.meme-detail-page .detail-body .chips,
.meme-detail-page .detail-body .detail-meta,
.meme-detail-page .detail-body .actions {
  justify-content: center;
}

.post-page:not(.video-detail-page):not(.meme-detail-page) .detail-body .detail-actions {
  justify-content: center;
}

.video-detail-page .detail-body .site-subtitle,
.video-detail-page .detail-body .lead,
.video-detail-page .detail-body p {
  text-align: center;
}

.meme-detail-page .detail-body .site-subtitle,
.meme-detail-page .detail-body .lead,
.meme-detail-page .detail-body p {
  text-align: center;
}

.video-detail-page .detail-body h1 {
  width: min(100%, 32ch);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.05;
}

.video-detail-page .detail-body .chips {
  gap: 8px;
  opacity: 1;
  font-size: 0.84rem;
}

.meme-detail-page .detail-body .chips {
  gap: 8px;
  opacity: 1;
  font-size: 0.84rem;
}

.meme-detail-page .detail-body > .site-subtitle {
  width: 100%;
  justify-self: start;
  text-align: left;
}

.meme-detail-page .detail-body > .site-subtitle a {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  padding: 0 16px 0 14px;
}

.meme-detail-page .detail-body > h1,
.meme-detail-page .detail-body > .lead,
.meme-detail-page .detail-body > .post-hot-row,
.meme-detail-page .detail-body > .chips,
.meme-detail-page .detail-body > .detail-meta,
.meme-detail-page .detail-body > .detail-actions {
  width: min(100%, 860px);
}


.meme-detail-page .detail-body > .meme-detail-gallery {
  justify-self: center;
}

.meme-detail-page .detail-body > .post-hot-row {
  justify-content: center;
}


.video-detail-page .detail-body .meme-taxonomy {
  width: 100%;
  text-align: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.video-detail-page .detail-body .meme-taxonomy::-webkit-scrollbar {
  display: none;
}

.video-detail-page .detail-body .meme-taxonomy a,
.video-detail-page .detail-body .meme-taxonomy span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.meme-detail-page .detail-body .meme-taxonomy {
  width: min(100%, 860px);
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
  max-width: 100%;
}

.meme-detail-page .detail-body .meme-taxonomy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  max-width: none;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.84rem;
  line-height: 1.2;
  color: rgba(217, 228, 242, 0.78);
  background: rgba(129, 157, 216, 0.07);
}

.meme-detail-page .detail-body .meme-taxonomy span:nth-child(4n + 1) {
  background: rgba(255, 154, 191, 0.08);
}

.meme-detail-page .detail-body .meme-taxonomy span:nth-child(4n + 2) {
  background: rgba(135, 186, 255, 0.08);
}

.meme-detail-page .detail-body .meme-taxonomy span:nth-child(4n + 3) {
  background: rgba(144, 224, 181, 0.08);
}

.meme-detail-page .detail-body .meme-taxonomy span:nth-child(4n + 4) {
  background: rgba(255, 203, 134, 0.08);
}

.video-detail-page .detail-body .chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  max-width: none;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.84rem;
  line-height: 1.2;
  color: rgba(217, 228, 242, 0.78);
  background: rgba(129, 157, 216, 0.07);
}

.video-detail-page .detail-body .chips span:nth-child(4n + 1) {
  background: rgba(255, 154, 191, 0.08);
}

.video-detail-page .detail-body .chips span:nth-child(4n + 2) {
  background: rgba(135, 186, 255, 0.08);
}

.video-detail-page .detail-body .chips span:nth-child(4n + 3) {
  background: rgba(144, 224, 181, 0.08);
}

.video-detail-page .detail-body .chips span:nth-child(4n + 4) {
  background: rgba(255, 203, 134, 0.08);
}

.static-card {
  grid-template-columns: 1fr;
}

.detail-cover {
  aspect-ratio: 4 / 5;
  width: 100%;
  min-height: 300px;
  max-height: 420px;
  margin-bottom: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.detail-cover.media-cover {
  object-fit: cover;
}

.detail-cover.no-image-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  height: auto;
  min-height: 300px;
}

.detail-cover-title {
  margin: 0;
  color: #f4f8ff;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.keyword-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.keyword-copy {
  color: rgba(248, 252, 255, 0.96);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.detail-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(2, 4, 8, 0.46) 24%, rgba(2, 4, 8, 0.94) 100%);
  pointer-events: none;
  z-index: 2;
}

.detail-cover-bottom-keyword {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 28px;
  z-index: 3;
  display: block;
  text-align: center;
  color: rgba(248, 252, 255, 0.96);
  font-size: clamp(2rem, 4.4vw, 2.56rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.52);
}

.detail-body {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 8px 6px 8px 2px;
}

.site-subtitle {
  margin: 0;
  color: #8e99aa;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.site-subtitle a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 15px 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(108, 126, 154, 0.22);
  background: rgba(17, 22, 30, 0.72);
  color: #b9c7d8;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.site-subtitle a::before {
  content: "←";
  font-size: 0.94rem;
  line-height: 1;
}

.site-subtitle a:hover {
  border-color: rgba(140, 164, 198, 0.32);
  background: rgba(21, 28, 38, 0.86);
  color: #d3deec;
}

.video-detail-page .detail-body > .site-subtitle {
  width: 100%;
  justify-self: start;
  text-align: left;
}

.video-detail-page .detail-body > .site-subtitle a {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  padding: 0 16px 0 14px;
}

.detail-body h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.detail-body > .lead {
  position: relative;
  width: min(100%, 860px);
  justify-self: center;
  margin-inline: auto;
  margin: 0;
  padding: 18px 20px 18px 22px;
  border: 1px solid rgba(124, 142, 167, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20, 24, 31, 0.98), rgba(14, 18, 24, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 34px rgba(0, 0, 0, 0.18);
  color: #d9e4f2;
  font-size: clamp(1.06rem, 1.55vw, 1.26rem);
  line-height: 1.8;
  font-weight: 560;
  text-align: left;
  text-wrap: pretty;
  overflow: hidden;
}

.detail-body > .lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #ff6f91 0%, #ff3f6f 100%);
  box-shadow: 0 0 16px rgba(255, 86, 130, 0.28);
}

.detail-body > .lead a {
  color: #f2f7ff;
  text-decoration-color: rgba(158, 219, 255, 0.38);
}

.detail-body > .lead a:hover {
  color: #ffffff;
  text-decoration-color: rgba(158, 219, 255, 0.7);
}

.static-card .detail-body > .static-intro {
  width: min(100%, 64ch);
  justify-self: start;
  text-align: left;
  color: #d9e4f2;
  font-size: 1.02rem;
  line-height: 1.82;
  font-weight: 500;
  text-wrap: pretty;
}

.detail-body .chips {
  margin-bottom: 0;
  flex-wrap: wrap;
  max-height: none;
  min-height: 0;
  overflow: visible;
  gap: 8px;
}

.detail-body .chips a {
  max-width: none;
  border: 0;
  color: rgba(217, 228, 242, 0.78);
  background: rgba(129, 157, 216, 0.07);
  min-height: 30px;
  padding: 0 10px;
  line-height: 1;
}

.detail-body .chips .chip-tag:nth-child(4n + 1) {
  background: rgba(255, 154, 191, 0.08);
}

.detail-body .chips .chip-tag:nth-child(4n + 2) {
  background: rgba(135, 186, 255, 0.08);
}

.detail-body .chips .chip-tag:nth-child(4n + 3) {
  background: rgba(144, 224, 181, 0.08);
}

.detail-body .chips .chip-tag:nth-child(4n + 4) {
  background: rgba(255, 203, 134, 0.08);
}

.detail-body .chips .chip-keyword {
  color: rgba(212, 232, 249, 0.78);
  background: rgba(53, 111, 148, 0.07);
  border: 1px dashed rgba(122, 208, 255, 0.14);
  border-radius: 10px;
  font-weight: 550;
}

.detail-body .chips .chip-keyword::before {
  content: none;
}

.detail-core-theme-fold {
  margin: 0;
}

.detail-core-theme-fold summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  cursor: pointer;
  list-style: none;
  border-radius: 999px;
  border: 1px solid rgba(128, 148, 179, 0.18);
  background: rgba(44, 53, 68, 0.22);
  color: #8ea0bb;
}

.detail-core-theme-fold summary::-webkit-details-marker {
  display: none;
}

.detail-core-theme-fold summary::before {
  content: "+";
  font-size: 0.9rem;
  line-height: 1;
}

.detail-core-theme-fold[open] summary::before {
  content: "-";
}

.detail-core-theme-fold:not([open]) > .core-theme-hub {
  display: none;
}

.detail-core-theme-fold > .core-theme-hub {
  margin-top: 10px;
}

.detail-topic-hub-fold {
  margin: 0;
}

.detail-topic-hub-fold summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  cursor: pointer;
  list-style: none;
  border-radius: 999px;
  border: 1px solid rgba(128, 148, 179, 0.18);
  background: rgba(44, 53, 68, 0.22);
  color: #8ea0bb;
}

.detail-topic-hub-fold summary::-webkit-details-marker {
  display: none;
}

.detail-topic-hub-fold summary::before {
  content: "+";
  font-size: 0.9rem;
  line-height: 1;
}

.detail-topic-hub-fold[open] summary::before {
  content: "-";
}

.detail-topic-hub-fold:not([open]) > .article-topic-hub {
  display: none;
}

.detail-topic-hub-fold > .article-topic-hub {
  margin-top: 10px;
}

.post-related-switcher {
  padding-top: 16px;
}

.post-related-switcher-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.post-related-switcher-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow: hidden;
  border: 1px solid rgba(104, 134, 184, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  isolation: isolate;
}

.post-related-switcher-tab {
  position: relative;
  z-index: 0;
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid rgba(104, 134, 184, 0.14);
  border-radius: 0;
  background: transparent;
  color: #b7c8dc;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.post-related-switcher-tab.is-active {
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 101, 140, 0.96), rgba(255, 55, 94, 0.96));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 58, 101, 0.18);
}

.post-related-switcher-tab:first-child {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.post-related-switcher-tab:last-child {
  border-right: 0;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

.post-related-switcher-tab:hover {
  transform: translateY(-1px);
}

.post-related-switcher-panels {
  position: relative;
}

.post-related-switcher-panel {
  animation: fadeUpSoft 220ms ease;
}

.post-related-switcher-panel[hidden] {
  display: none !important;
}

.post-related-switcher-panel ul {
  margin-top: 0;
}

@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead {
  margin: 0;
  color: #c0cad8;
  font-size: 1rem;
  line-height: 1.72;
}

.lead-subtle {
  color: #97a3b5;
  font-size: 0.92rem;
  line-height: 1.58;
}

.home-seo-intro {
  max-width: 1080px;
  margin: 2px 0 8px;
  color: #7f8a9b;
}

.home-seo-intro summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
  font-size: 0.74rem;
  color: #7f8a9b;
  user-select: none;
}

.home-seo-intro summary::-webkit-details-marker {
  display: none;
}

.home-seo-intro summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 152, 180, 0.22);
  background: rgba(20, 24, 31, 0.46);
  color: #9cadc3;
  font-size: 0.7rem;
  line-height: 1;
}

.home-seo-intro[open] summary::before {
  content: "-";
}

.home-seo-intro-copy {
  max-width: 1080px;
  margin: 8px 0 0;
  font-size: 0.83rem;
  line-height: 1.6;
}

.content {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}



.content p {
  margin: 0;
  color: #aeb8c8;
  line-height: 1.8;
}

.structured-content {
  display: grid;
  gap: 12px;
  font-size: 1.08rem;
  line-height: 1.9;
}

.structured-content h2 {
  margin: 10px 0 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
  line-height: 1.46;
  color: #b5c1d0;
  font-weight: 700;
  opacity: 0.9;
}

.structured-content h2 .section-emoji {
  flex: 0 0 auto;
  font-size: 0.78em;
  color: rgba(155, 170, 190, 0.58);
  filter: none;
  transform: translateY(-1px);
}

.structured-content p {
  margin: 0;
  font-size: 1em;
  line-height: 1.9;
  --first-letter-color: #8fd6ff;
  --first-letter-shadow: rgba(92, 184, 255, 0.12);
}

.structured-content p::first-letter {
  font-size: 1.9em;
  line-height: 1;
  font-weight: 600;
  color: var(--first-letter-color);
  text-shadow: 0 2px 10px var(--first-letter-shadow);
}

.structured-content p:nth-of-type(5n + 1) {
  --first-letter-color: #8fd6ff;
  --first-letter-shadow: rgba(92, 184, 255, 0.12);
}

.structured-content p:nth-of-type(5n + 2) {
  --first-letter-color: #ffb38a;
  --first-letter-shadow: rgba(255, 154, 112, 0.12);
}

.structured-content p:nth-of-type(5n + 3) {
  --first-letter-color: #9de7c2;
  --first-letter-shadow: rgba(92, 214, 160, 0.12);
}

.structured-content p:nth-of-type(5n + 4) {
  --first-letter-color: #d7b3ff;
  --first-letter-shadow: rgba(174, 122, 255, 0.12);
}

.structured-content p:nth-of-type(5n + 5) {
  --first-letter-color: #ffd37f;
  --first-letter-shadow: rgba(255, 191, 79, 0.12);
}

.structured-content ul {
  margin: 0;
  padding-left: 20px;
  color: #aeb8c8;
  line-height: 1.9;
  font-size: 1em;
}

.structured-content li {
  margin: 0;
}

.structured-content a {
  color: #9edbff;
  text-decoration: underline;
  text-decoration-color: rgba(123, 208, 255, 0.45);
  text-underline-offset: 2px;
}

.structured-content a.inline-keyword-link {
  display: inline-flex;
  align-items: center;
  padding: 0 5px;
  margin: 0 1px;
  border-radius: 6px;
  border: 1px solid rgba(110, 200, 255, 0.24);
  background: rgba(85, 146, 255, 0.12);
  color: #bfe9ff;
  font-weight: 600;
  text-decoration: none;
}

.structured-content a.inline-keyword-link:hover {
  background: rgba(85, 146, 255, 0.2);
  border-color: rgba(138, 218, 255, 0.36);
  color: #ddf4ff;
}

.structured-content a.inline-taxonomy-link {
  display: inline-flex;
  align-items: center;
  padding: 0 5px;
  margin: 0 1px;
  border-radius: 6px;
  border: 1px solid rgba(110, 200, 255, 0.24);
  background: rgba(85, 146, 255, 0.12);
  color: #bfe9ff;
  font-weight: 600;
  text-decoration: none;
}

.structured-content a.inline-taxonomy-link:hover {
  background: rgba(85, 146, 255, 0.2);
  border-color: rgba(138, 218, 255, 0.36);
  color: #ddf4ff;
}

.structured-content .content-sep {
  margin: 6px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.content-media {
  margin: 8px auto;
  width: min(860px, 100%);
  display: grid;
  gap: 8px;
  justify-items: center;
}

.content-media.content-video {
  width: min(700px, 100%);
}

.video-detail-page .content-media.content-video {
  width: min(820px, 100%);
}

.content-media.content-image {
  width: min(780px, 100%);
}

.content-media img,
.content-media video,
.content-media .video-wrap {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1219;
}

.content-media img {
  display: block;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
}
.image-zoom-btn {
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  width: 100%;
  min-height: 0;
  color: inherit;
  box-shadow: none;
  cursor: zoom-in;
}
.content-image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.content-image-gallery.cols-2 {
  justify-content: center;
}
.content-image-gallery.cols-3 {
  justify-content: center;
}
.content-image-gallery .gallery-tile {
  flex: 0 1 calc((100% - 20px) / 3);
  width: calc((100% - 20px) / 3);
  max-width: calc((100% - 20px) / 3);
  border-radius: 12px;
  overflow: hidden;
}
.content-image-gallery.cols-2 .gallery-tile {
  flex-basis: calc((100% - 10px) / 2);
  width: calc((100% - 10px) / 2);
  max-width: calc((100% - 10px) / 2);
}
.content-image-gallery img {
  max-height: 300px;
  width: 100%;
  object-fit: cover;
}
.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
}
.media-lightbox.is-open {
  display: flex;
}
.media-lightbox-content {
  position: relative;
  width: min(100vw - 32px, 1320px);
  max-width: 1320px;
  max-height: calc(100dvh - 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 84px;
  box-sizing: border-box;
  overflow: hidden;
}
.media-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(calc(100vw - 220px), 1160px);
  max-height: calc(100dvh - 120px);
  border-radius: 12px;
  object-fit: contain;
  object-position: center center;
  margin: auto;
}
.media-lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(14, 22, 36, 0.92);
  color: #f8fbff;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  padding: 0;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.media-lightbox-btn.prev { left: 10px; }
.media-lightbox-btn.next { right: 10px; }
.media-lightbox-btn.prev { text-indent: -1px; }
.media-lightbox-btn.next { text-indent: 1px; }
.media-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(16, 24, 40, 0.94);
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  text-align: center;
  text-indent: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.media-lightbox-btn:hover,
.media-lightbox-close:hover {
  background: rgba(27, 38, 58, 0.98);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

@media (max-width: 900px) {
  .media-lightbox-content {
    width: min(100vw - 18px, 100vw);
    max-height: calc(100dvh - 18px);
    padding: 54px 18px 28px;
  }

  .media-lightbox-img {
    max-width: calc(100vw - 36px);
    max-height: calc(100dvh - 96px);
  }

  .media-lightbox-btn.prev { left: 4px; }
  .media-lightbox-btn.next { right: 4px; }
  .media-lightbox-close {
    top: 4px;
    right: 4px;
  }
}

.content-media video {
  display: block;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}
.video-preview {
  position: relative;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #0f1824, #0a111b);
  cursor: pointer;
  padding: 0;
}

.video-preview-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 151, 176, 0.98), rgba(255, 59, 92, 0.98) 55%, rgba(193, 25, 58, 0.96) 100%);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(255, 52, 94, 0.34), 0 0 0 10px rgba(255, 52, 94, 0.12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.video-detail-page .video-preview,
.video-detail-page .video-player-shell {
  width: min(100%, 1040px);
  margin-inline: auto;
  scroll-margin-top: 8vh;
}

.video-player-wrap {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.video-player-wrap video {
  display: block;
  width: 100%;
}

.video-player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.video-jump-toggle,
.video-sound-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(126, 145, 176, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(29, 38, 52, 0.96), rgba(18, 25, 36, 0.98));
  color: #dce6f4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  text-shadow: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.video-jump-toggle {
  min-width: 88px;
  background: linear-gradient(180deg, rgba(24, 31, 43, 0.96), rgba(17, 23, 34, 0.98));
}

.video-jump-toggle:first-child::before {
  content: "←";
  font-size: 0.88rem;
  line-height: 1;
}

.video-jump-toggle:last-child::after {
  content: "→";
  font-size: 0.88rem;
  line-height: 1;
}

.video-sound-toggle::before {
  content: "🔈";
  font-size: 0.9rem;
  line-height: 1;
}

.video-sound-toggle {
  background: linear-gradient(180deg, rgba(42, 84, 163, 0.96), rgba(25, 58, 122, 0.98));
  color: #eef6ff;
  border-color: rgba(118, 168, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(18, 58, 128, 0.3);
}

.video-sound-toggle.is-muted {
  background: linear-gradient(180deg, rgba(57, 31, 38, 0.92), rgba(39, 22, 29, 0.96));
  color: #ffd8de;
  border-color: rgba(214, 112, 133, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 18px rgba(49, 16, 24, 0.2);
}

.video-sound-toggle.is-muted::before {
  content: "🔇";
}

.video-sound-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(146, 190, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(18, 58, 128, 0.34);
}

.video-sound-toggle.is-muted:hover {
  border-color: rgba(234, 137, 159, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(59, 19, 29, 0.28);
}

.video-jump-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(156, 183, 225, 0.3);
}

.video-jump-toggle:disabled,
.video-jump-toggle.is-disabled {
  opacity: 0.48;
  cursor: default;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.video-jump-toggle:disabled:hover,
.video-jump-toggle.is-disabled:hover {
  transform: none;
  border-color: rgba(126, 145, 176, 0.22);
}
.video-preview-poster,
.video-preview-fallback {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
}

.video-detail-page .video-preview-poster,
.video-detail-page .video-preview-fallback {
  aspect-ratio: var(--video-aspect-ratio, 16 / 9);
}

.video-preview-poster {
  object-fit: cover;
}
.video-preview-fallback {
  color: #b6c3d7;
  font-size: 0.98rem;
  padding: 16px;
  text-align: center;
}
.video-preview-provider {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(9, 14, 24, 0.74);
  color: #d4deed;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
}

.video-detail-page .video-preview-provider {
  font-size: 13px;
  padding: 5px 10px;
}
.video-player-shell {
  width: 100%;
}

.video-detail-page .video-player-shell video,
.video-detail-page .video-player-shell .video-wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}

.video-detail-page .video-player-shell video {
  max-height: 82vh;
  background: #000;
  border-radius: 16px;
}

.video-detail-page .video-player-wrap {
  width: min(100%, 1040px);
}

.video-detail-page .video-player-wrap video {
  max-height: 82vh;
  border-radius: 16px;
}
.video-player-shell video,
.video-player-shell .video-wrap {
  width: 100%;
}

.content-media .video-wrap {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  max-height: 70vh;
}

.video-detail-page .content-media .video-wrap {
  padding-top: 0;
  aspect-ratio: var(--video-aspect-ratio, 16 / 9);
  max-height: 84vh;
}

.video-detail-page .content-media iframe,
.video-detail-page .content-media video {
  border-radius: 16px;
}

.video-detail-page .content-media.content-video {
  width: min(100%, 1080px);
}

.video-detail-page .content-media.content-video[data-video-orientation="portrait"] {
  width: min(100%, 620px);
}

.video-detail-page .content-media.content-video[data-video-orientation="square"] {
  width: min(100%, 700px);
}

.content-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.content-media figcaption {
  width: 100%;
  margin: 0;
  color: #99a6ba;
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: #7c889a;
  font-size: 0.84rem;
  opacity: 0.78;
}

.detail-meta .heat {
  margin-left: auto;
}

.detail-actions {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-actions-row {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-bottom-entry-wrap {
  margin: 16px 0 12px;
  display: flex;
  justify-content: center;
}

.detail-entry-coupon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(142, 109, 255, 0.38);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.24), transparent 22%),
    linear-gradient(135deg, rgba(104, 67, 255, 0.96), rgba(255, 74, 129, 0.96));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow:
    0 14px 34px rgba(95, 54, 211, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  isolation: isolate;
  animation: couponGlow 2.8s ease-in-out infinite;
  cursor: pointer;
}

.detail-entry-coupon-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: couponShine 3.6s ease-in-out infinite;
  pointer-events: none;
}

.detail-entry-coupon-btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    0 18px 38px rgba(95, 54, 211, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.detail-entry-coupon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  flex: 0 0 auto;
}

.detail-entry-coupon-text {
  position: relative;
  z-index: 1;
  font-size: 0.98rem;
}

.detail-entry-coupon-hint {
  position: relative;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.9;
}

.detail-bottom-entry-copy {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@keyframes couponGlow {
  0%, 100% { box-shadow: 0 14px 34px rgba(95, 54, 211, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
  50% { box-shadow: 0 16px 42px rgba(255, 73, 131, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
}

@keyframes couponShine {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.post-next-rec {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 80;
  display: flex;
  justify-content: center;
  padding: 0 18px;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.995);
  transition: transform 260ms ease, opacity 220ms ease, visibility 0s linear 260ms;
}

.post-next-rec.is-followup-visible {
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}

.post-next-rec.is-visible {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: transform 260ms ease, opacity 220ms ease, visibility 0s;
}

.post-next-rec-backdrop {
  display: none;
}

.post-next-rec-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: min(590px, calc(100vw - 28px));
  padding: 16px 16px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 132, 164, 0.24);
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 86% 8%, rgba(255, 112, 146, 0.18), transparent 20%),
    linear-gradient(135deg, rgba(19, 14, 23, 0.98), rgba(12, 17, 25, 0.96));
  color: #ecf4ff;
  box-shadow: 0 26px 58px rgba(2, 6, 12, 0.38);
  transform: none;
  opacity: 1;
  transition: box-shadow 240ms ease, border-color 240ms ease, transform 260ms ease;
  z-index: 1;
}

.post-next-rec:not(.is-visible) .post-next-rec-card {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.post-next-rec.is-visible .post-next-rec-card {
  box-shadow: 0 28px 60px rgba(2, 6, 12, 0.42);
  border-color: rgba(255, 132, 164, 0.34);
  transform: none;
}

.post-next-rec:not(.is-visible) .post-next-rec-card {
  transform: translateY(8px);
}

.post-next-rec-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.post-next-rec-layout {
  display: grid;
  grid-template-columns: minmax(136px, 168px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.post-next-rec-visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 105, 141, 0.16), rgba(95, 127, 255, 0.18));
  aspect-ratio: 4 / 3;
}

.post-next-rec-image,
.post-next-rec-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: grid;
  place-items: center;
}

.post-next-rec-fallback {
  padding: 18px;
  color: #b9c7da;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.post-next-rec-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 16, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.post-next-rec-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  padding-right: 10px;
}

.post-next-rec-kicker {
  margin: 0;
  color: #ffb7c9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-next-rec-kicker[data-post-next-rec-countdown]::before {
  content: "⏳ ";
}

.post-next-rec-copy h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.18;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-next-rec-copy h3 a {
  color: #fff;
}

.post-next-rec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.post-next-rec-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dce7f6;
  font-size: 0.72rem;
}

.post-next-rec-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.post-next-rec-cta,
.post-next-rec-later {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.post-next-rec-cta {
  border: 1px solid rgba(255, 122, 152, 0.34);
  background: linear-gradient(180deg, #ff6a8a 0%, #ff315c 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 53, 95, 0.24);
}

.post-next-rec-later {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #d8e3f0;
}

.post-next-rec-cta:hover,
.post-next-rec-later:hover,
.post-next-rec-close:hover {
  transform: translateY(-1px);
}

.post-next-rec-hidden {
  display: none;
}

.post-next-rec-fallback-link {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(560px, calc(100vw - 28px));
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #ff335f 0%, #ff2f57 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: transform 240ms ease, opacity 220ms ease, visibility 0s linear 240ms, box-shadow 220ms ease;
  z-index: 81;
}

.post-next-rec-fallback-link.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: transform 240ms ease, opacity 220ms ease, visibility 0s;
}

.post-next-rec-fallback-link:hover {
  transform: translate(-50%, -2px);
  background: linear-gradient(180deg, #ff3a68 0%, #ff315c 100%);
  box-shadow: none;
}

.post-next-rec-fallback-link .post-next-rec-fallback-label {
  flex: 0 0 auto;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.post-next-rec-fallback-link .post-next-rec-fallback-title {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 700px) {
  .post-related-switcher-head {
    margin-bottom: 12px;
  }

  .post-related-switcher-tabs {
    width: 100%;
  }

  .post-next-rec {
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 12px 12px max(12px, env(safe-area-inset-bottom));
  }

  .post-next-rec-card {
    width: min(100%, 100vw - 24px);
    padding: 9px 9px 9px;
    border-radius: 16px;
    gap: 8px;
  }

  .post-next-rec-fallback-link {
    width: min(100%, calc(100vw - 24px));
    min-height: 50px;
    padding: 0 20px;
  }

  .post-next-rec-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .post-next-rec-visual {
    width: min(100%, 132px);
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    justify-self: center;
  }

  .post-next-rec-copy {
    gap: 8px;
  }

  .post-next-rec-tags {
    gap: 6px;
    justify-content: center;
  }

  .post-next-rec-tags span {
    min-height: 20px;
    padding: 0 7px;
    font-size: 0.68rem;
  }

  .post-next-rec-actions {
    gap: 9px;
    margin-top: 1px;
    justify-content: center;
  }

  .post-next-rec-cta,
  .post-next-rec-later {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.9rem;
  }

  .post-next-rec-fallback-link .post-next-rec-fallback-label {
    font-size: 0.88rem;
  }

  .post-next-rec-fallback-link .post-next-rec-fallback-title {
    font-size: 1rem;
  }
}

.post-hot-keyword {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #b9cbe2;
  font-size: 0.82rem;
}

.post-hot-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  margin: 2px 0 8px;
}

.post-hot-row > * {
  flex: 0 0 auto;
}

.post-hot-keyword a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid hsl(var(--hot-keyword-h, 210) 86% 74% / 0.5);
  background: linear-gradient(
    180deg,
    hsl(var(--hot-keyword-h, 210) 72% 61% / 0.34) 0%,
    hsl(var(--hot-keyword-h, 210) 78% 50% / 0.2) 100%
  );
  color: hsl(var(--hot-keyword-h, 210) 100% 92%);
  font-weight: 700;
  box-sizing: border-box;
  box-shadow:
    inset 0 -1px 0 hsl(var(--hot-keyword-h, 210) 95% 78% / 0.32),
    0 0 0 1px hsl(var(--hot-keyword-h, 210) 94% 70% / 0.18),
    0 8px 22px hsl(var(--hot-keyword-h, 210) 88% 58% / 0.26);
}

.post-keyword-pill-ad {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 205, 128, 0.44);
  background:
    linear-gradient(135deg, rgba(134, 28, 24, 0.98) 0%, rgba(137, 30, 92, 0.96) 30%, rgba(64, 38, 146, 0.95) 64%, rgba(11, 88, 131, 0.94) 100%);
  background-size: 240% 240%;
  color: #fef8ff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-sizing: border-box;
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 28px rgba(58, 33, 145, 0.34),
    0 8px 20px rgba(152, 36, 90, 0.28);
  transition:
    transform 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease,
    background-position 220ms ease;
  animation: keywordPillGlow 3.2s ease-in-out infinite;
}

.post-keyword-pill-ad::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.post-keyword-pill-ad::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -40%;
  width: 34%;
  height: 380%;
  transform: rotate(24deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 245, 214, 0.72), rgba(255, 255, 255, 0));
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: keywordPillSweep 2.4s ease-in-out infinite;
}

.post-keyword-pill-ad:hover {
  transform: translateY(-1px);
  background-position: 100% 50%;
  filter: saturate(1.16) brightness(1.08);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 16px 32px rgba(58, 33, 145, 0.38),
    0 10px 24px rgba(152, 36, 90, 0.32);
}

.post-keyword-pill-ad:active {
  transform: translateY(0);
}

@keyframes keywordPillGlow {
  0%,
  100% {
    background-position: 0% 50%;
    box-shadow:
      inset 0 -1px 0 rgba(255, 255, 255, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 12px 28px rgba(58, 33, 145, 0.34),
      0 8px 20px rgba(152, 36, 90, 0.28);
  }
  50% {
    background-position: 100% 50%;
    box-shadow:
      inset 0 -1px 0 rgba(255, 255, 255, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 16px 34px rgba(12, 105, 160, 0.32),
      0 10px 24px rgba(182, 65, 43, 0.26);
  }
}

@keyframes keywordPillSweep {
  0%,
  12% {
    transform: translateX(-190%) rotate(24deg);
    opacity: 0;
  }
  24% {
    opacity: 0.96;
  }
  46% {
    transform: translateX(420%) rotate(24deg);
    opacity: 0;
  }
  100% {
    transform: translateX(420%) rotate(24deg);
    opacity: 0;
  }
}

.post-hot-keyword .hot-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  background: hsl(var(--hot-keyword-h, 210) 95% 94% / 0.28);
  color: hsl(var(--hot-keyword-h, 210) 100% 96%);
  font-size: 0.74rem;
  letter-spacing: 0;
}

.post-hot-keyword .hot-name {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
}

.detail-actions .btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff335f 0%, #ff2f57 100%);
  color: #fff;
  font-weight: 800;
}

.post-share {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
  padding: 10px 12px 10px;
  border: 1px solid rgba(121, 170, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 28, 40, 0.88), rgba(14, 19, 28, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.post-share h2 {
  margin: 0;
  font-size: 0.9rem;
  color: #c8d3e3;
  font-weight: 700;
  line-height: 1.2;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.share-buttons a,
.share-buttons button {
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(144, 181, 255, 0.26);
  background: linear-gradient(180deg, rgba(74, 120, 205, 0.3), rgba(58, 94, 164, 0.18));
  color: #eef6ff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  vertical-align: middle;
  box-shadow: 0 8px 20px rgba(18, 30, 56, 0.18);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.share-buttons button {
  font-family: inherit;
}

.share-chip {
  white-space: nowrap;
}

.share-chip .share-icon {
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 13px;
}

.share-chip .share-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.share-buttons a:hover,
.share-buttons button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(96, 151, 255, 0.34), rgba(74, 120, 205, 0.22));
  border-color: rgba(158, 207, 255, 0.42);
  box-shadow: 0 12px 26px rgba(27, 49, 90, 0.26);
}

.share-buttons a:nth-child(1) {
  background: linear-gradient(180deg, rgba(42, 48, 58, 0.92), rgba(22, 26, 34, 0.88));
  border-color: rgba(147, 155, 171, 0.28);
}

.share-buttons a:nth-child(2) {
  background: linear-gradient(180deg, rgba(76, 172, 255, 0.34), rgba(36, 116, 203, 0.22));
  border-color: rgba(108, 194, 255, 0.34);
}

.share-buttons a:nth-child(3) {
  background: linear-gradient(180deg, rgba(255, 128, 110, 0.34), rgba(225, 74, 52, 0.2));
  border-color: rgba(255, 158, 143, 0.34);
}

.share-buttons a:nth-child(4) {
  background: linear-gradient(180deg, rgba(255, 143, 72, 0.32), rgba(214, 87, 31, 0.2));
  border-color: rgba(255, 169, 107, 0.32);
}

.share-buttons button[data-share-copy="wechat"] {
  background: linear-gradient(180deg, rgba(88, 214, 142, 0.32), rgba(33, 149, 91, 0.2));
  border-color: rgba(122, 232, 171, 0.34);
}

.share-buttons button[data-share-copy="xiaohongshu"] {
  background: linear-gradient(180deg, rgba(255, 109, 153, 0.34), rgba(219, 49, 96, 0.2));
  border-color: rgba(255, 147, 184, 0.34);
}

.share-feedback {
  margin: 0;
  min-height: 16px;
  font-size: 0.74rem;
  color: #97aac2;
}

.share-feedback:empty {
  display: none;
}

.share-feedback[data-type="success"] {
  color: #8cd1af;
}

.share-feedback[data-type="warn"] {
  color: #f0c890;
}

.share-fallback-copy {
  width: 100%;
  min-height: 62px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(145, 171, 206, 0.3);
  background: rgba(16, 20, 27, 0.82);
  color: #d3deee;
  font-size: 0.8rem;
  line-height: 1.5;
}

.related-dark {
  display: grid;
  gap: 14px;
}

.video-watch-next-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 122, 152, 0.14);
  background: linear-gradient(135deg, rgba(22, 15, 23, 0.98), rgba(12, 17, 25, 0.94));
  color: #dce5f0;
  box-shadow: 0 18px 34px rgba(7, 10, 16, 0.32);
}

.video-watch-next-visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #0f1621;
  aspect-ratio: 16 / 9;
}

.video-watch-next-visual img,
.video-watch-next-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: grid;
  place-items: center;
}

.video-watch-next-fallback {
  padding: 18px;
  text-align: center;
  color: #aebbd0;
}

.video-watch-next-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6a8a 0%, #ff315c 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(255, 49, 92, 0.28);
}

.video-watch-next-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.video-watch-next-copy strong {
  font-size: 1.12rem;
  line-height: 1.35;
  color: #fff;
}

.video-watch-next-copy span,
.video-watch-next-copy em {
  color: #97a6ba;
  font-size: 0.96rem;
  line-height: 1.7;
  font-style: normal;
}

.video-watch-next-copy span {
  color: #b8c6d7;
}

.video-watch-next-copy em {
  color: #83a4c9;
}

.video-watch-next.is-autoplay-ready .video-watch-next-card {
  border-color: rgba(255, 122, 152, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 122, 152, 0.16), 0 16px 32px rgba(255, 74, 118, 0.16);
}

.video-next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: stretch;
}

.video-next-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 122, 152, 0.18);
  background: linear-gradient(135deg, rgba(39, 16, 28, 0.96), rgba(18, 17, 24, 0.94));
  color: #ffeaf0;
}

.video-next-toast-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.video-next-toast strong {
  font-size: 0.96rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.video-next-toast span {
  color: #ffc7d4;
  font-size: 0.86rem;
  line-height: 1.4;
}

.video-next-toast-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto;
  align-items: center;
}

.video-next-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 145, 0.34);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.video-next-toggle {
  background: linear-gradient(180deg, #ff6382 0%, #ff365f 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 53, 95, 0.22);
}

.video-next-toggle.is-disabled {
  background: rgba(255, 255, 255, 0.06);
  color: #ffe2ea;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.video-next-toggle:hover {
  transform: translateY(-1px);
}

.video-next-toggle:active {
  transform: translateY(0);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 1rem;
}

.related-dark ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.related-dark li a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #1d232d;
  background: #0f1318;
  color: #d7e0eb;
}

.related-post-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(95, 150, 255, 0.2), rgba(84, 116, 195, 0.08));
  color: #a9c7ff;
  font-size: 0.72rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.related-post-title {
  min-width: 0;
  color: #d9e3f3;
  font-size: 0.92rem;
  line-height: 1.4;
}

.related-dark li a:hover .related-post-bullet {
  background: linear-gradient(180deg, rgba(118, 170, 255, 0.28), rgba(96, 127, 208, 0.14));
  color: #dcebff;
}

.related-empty {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(86, 98, 118, 0.28);
  background: rgba(15, 19, 24, 0.62);
  color: #7f8ea3;
  font-size: 0.88rem;
}

.keyword-hero {
  display: grid;
  gap: 8px;
  margin: 2px 0 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #1d232d;
  background: #0f1318;
}

.keyword-hero h1 {
  margin: 0;
  font-size: 1.1rem;
  color: #ecf2fb;
}

.keyword-hero p {
  margin: 0;
  color: #a9b5c6;
  font-size: 0.9rem;
  line-height: 1.65;
}

.related-topics {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #1d232d;
  background: #0f1318;
}

.related-topics h2 {
  margin: 0;
  font-size: 1rem;
  color: #ecf2fb;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.core-theme-hub {
  gap: 8px;
  margin-top: 2px;
  padding: 10px 12px;
  background: rgba(15, 19, 24, 0.72);
}

.core-theme-hub h2 {
  font-size: 0.92rem;
  color: #d7dfeb;
}

.core-theme-hub .lead {
  color: #94a0b3;
  font-size: 0.84rem;
  line-height: 1.5;
}

.core-theme-hub .tag-list {
  gap: 6px;
}

.core-theme-hub .tag-list a {
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.78rem;
  color: #c9d5e5;
  background: rgba(23, 29, 38, 0.74);
}

.core-theme-hub-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(15, 19, 24, 0.5);
}

.core-theme-hub-compact h2 {
  flex: 0 0 auto;
  font-size: 0.8rem;
  color: #8f9bad;
  letter-spacing: 0.02em;
}

.core-theme-hub-compact .tag-list {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 6px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.core-theme-hub-compact .tag-list::-webkit-scrollbar {
  display: none;
}

.core-theme-hub-compact .tag-list a {
  flex: 0 0 auto;
  min-height: 26px;
  padding: 0 8px;
  white-space: nowrap;
  font-size: 0.76rem;
  color: #b7c5d9;
  border-color: rgba(90, 113, 145, 0.22);
  background: rgba(22, 28, 37, 0.58);
}

.core-theme-hub-compact .tag-list a:hover {
  color: #e5eefb;
  border-color: rgba(123, 160, 212, 0.3);
  background: rgba(34, 42, 54, 0.78);
}

.core-theme-hub-links-only {
  padding: 6px 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.core-theme-hub-links-only .tag-list a {
  min-height: 26px;
}

.article-topic-hub-compact {
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(15, 19, 24, 0.52);
}

.article-topic-hub-compact .tag-list {
  gap: 6px;
}

.article-topic-hub-compact .tag-list a {
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.78rem;
  color: #c7d7ed;
  background: rgba(22, 28, 37, 0.62);
  border-color: rgba(92, 117, 152, 0.22);
}

.article-topic-hub-compact .tag-list a:hover {
  color: #eef5ff;
  background: rgba(34, 42, 54, 0.82);
  border-color: rgba(123, 160, 212, 0.32);
}

.article-topic-hub-group {
  display: grid;
  gap: 8px;
}

.article-topic-hub-group h3 {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  color: #7f8ea3;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #2a323f;
  background: #171d26;
  color: #d3dce9;
  font-size: 0.82rem;
}

.static-copy {
  display: grid;
  gap: 18px;
}

.static-block {
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.static-block h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.static-block ul {
  margin: 0;
  padding-left: 18px;
  color: #aeb8c8;
}

.static-block li + li {
  margin-top: 8px;
}

.static-block-fold {
  margin: 0;
}

.static-block-fold summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
  color: #aeb8c8;
  font-size: 0.86rem;
  font-weight: 700;
  user-select: none;
}

.static-block-fold summary::-webkit-details-marker {
  display: none;
}

.static-block-fold summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 152, 180, 0.22);
  background: rgba(20, 24, 31, 0.46);
  color: #9cadc3;
  font-size: 0.7rem;
  line-height: 1;
}

.static-block-fold[open] summary::before {
  content: "-";
}

.static-block-fold-body {
  margin-top: 10px;
}

.keyword-topic-fold {
  border-top: 0;
  padding-top: 0;
}

.keyword-topic-fold summary {
  color: #9facc0;
}

.keyword-topic-inner-block {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

.keyword-topic-card .static-block ul a {
  color: #c9dbf4;
  text-decoration: none;
}

.keyword-topic-card .static-block ul a:hover {
  color: #eff6ff;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

textarea {
  width: 100%;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  padding: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
}

.empty {
  color: #8a97a9;
}





.back-to-top {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 70;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(149, 183, 234, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(23, 31, 43, 0.96), rgba(11, 16, 24, 0.94));
  color: #eef5ff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(181, 213, 255, 0.4);
  background: linear-gradient(180deg, rgba(35, 47, 66, 0.98), rgba(14, 20, 29, 0.96));
}

@media (min-width: 981px) {
  .back-to-top {
    display: none;
  }
}

@media (max-width: 1480px) {
  .feed-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1681px) {
  .feed-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1240px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .left-rail {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rail-card {
    grid-column: 1 / -1;
  }

  .rail-ad-card {
    display: none;
  }

  .feed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-feed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .meme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  html {
    font-size: 15px;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  .feed-topbar.dark {
    background: rgba(10, 12, 15, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
  }

  .topbar-inner.wide {
    width: min(100%, calc(100% - 24px));
    grid-template-columns: minmax(88px, max-content) minmax(0, 1fr);
    grid-template-areas: "brand search";
    height: auto;
    gap: 10px 12px;
    padding: 10px 0 12px;
  }

  .brand-pill {
    grid-area: brand;
    min-width: 96px;
    height: 44px;
    font-size: 1.12rem;
    padding: 0 16px;
  }

  .search-box.dark {
    grid-area: search;
    justify-content: flex-end;
    min-width: 0;
  }

  .search-box.dark input {
    max-width: 320px;
    width: min(100%, 320px);
    height: 40px;
    border-radius: 20px;
    padding: 0 14px;
    border-color: rgba(124, 148, 185, 0.2);
    background: rgba(17, 21, 27, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    font-size: 0.88rem;
  }

  .right-links {
    display: none;
  }

  .right-links a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(125, 139, 161, 0.14);
    background: rgba(255, 255, 255, 0.015);
    color: #98a6ba;
    font-size: 0.76rem;
  }

  .app-shell {
    width: min(100%, calc(100% - 24px));
    margin: 12px auto 8px;
    gap: 14px;
  }

  .left-rail {
    position: static;
    top: auto;
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 6px;
    margin: 0 -2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .left-rail::-webkit-scrollbar {
    display: none;
  }

  .rail-item {
    flex: 0 0 auto;
    align-self: center;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.86rem;
    white-space: nowrap;
    line-height: 1;
    background: linear-gradient(180deg, rgba(18, 22, 28, 0.96), rgba(12, 15, 20, 0.96));
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
    scroll-snap-align: start;
  }

  .rail-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .rail-icon svg {
    width: 16px;
    height: 16px;
  }

  .rail-card {
    display: none;
  }

  .rail-tags {
    gap: 6px;
  }

  .rail-tag {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .channel-tabs {
    display: none;
  }

  .core-theme-hub,
  .core-theme-hub-compact,
  .core-theme-hub-links-only,
  .home-seo-intro {
    display: none;
  }

  .feed-stage > .lead {
    display: none;
  }

  .channel-tabs::-webkit-scrollbar {
    display: none;
  }

  .channel-tabs a,
  .channel-tabs .channel-chip {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .channel-tabs {
    scroll-snap-type: x proximity;
  }

  .feed-result {
    font-size: 0.78rem;
  }

  .feed-stage {
    display: grid;
    gap: 12px;
  }

  .mobile-list-top-ad-shell {
    display: block;
    width: 100%;
    margin: 0 0 10px;
  }

  .mobile-list-top-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
  }

  .mobile-list-top-ad iframe {
    width: min(100%, 468px);
    max-width: 100%;
  }

  .pager {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .pager::-webkit-scrollbar {
    display: none;
  }

  .pager a,
  .pager span {
    flex: 0 0 auto;
  }

  .topbar-inner.wide {
    /* grid-template-areas handles mobile layout */
  }

  .right-links {
    justify-content: flex-end;
  }

  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .video-feed-grid {
    grid-template-columns: 1fr;
  }

  .video-feed-hero {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .video-feed-hero,
  .video-filter-shell {
    display: none;
  }

  .video-next-grid {
    grid-template-columns: 1fr;
  }

  .video-watch-next-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .video-watch-next-copy {
    gap: 8px;
    align-content: start;
  }

  .video-watch-next-copy strong {
    font-size: 1.02rem;
  }

  .video-watch-next-copy span,
  .video-watch-next-copy em {
    font-size: 0.9rem;
  }

  .video-next-toggle {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .meme-detail-gallery {
    grid-template-columns: 1fr;
  }

  .search-box.dark input {
    max-width: 300px;
    width: min(100%, 300px);
  }

  .post-card {
    border-radius: 14px;
    margin-bottom: 0;
    height: 396px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  }

  .video-card {
    height: 438px;
    padding: 0;
  }

  .video-preview-play {
    width: 68px;
    height: 68px;
    font-size: 1.45rem;
  }

  .card-visual,
  .keyword-visual.dark {
    height: var(--card-visual-h, 200px);
    min-height: 200px;
    max-height: 200px;
    padding: 10px;
  }

  .keyword-overlay {
    padding: 12px;
  }

  .keyword-copy {
    font-size: clamp(0.98rem, 4.3vw, 1.5rem);
    line-height: 1.14;
  }

  .post-card h2 {
    font-size: 1.18rem;
    line-height: 1.14;
    min-height: 2.28em;
    max-height: 2.28em;
  }

  .home-page .post-card h2,
  .list-page .post-card h2 {
    font-size: 1.28rem;
    line-height: 1.14;
    min-height: 2.28em;
    max-height: 2.28em;
  }

  .page-h1 {
    font-size: clamp(1.7rem, 6vw, 2.05rem);
    line-height: 1.16;
  }

  .desc {
    font-size: 0.78rem;
    line-height: 1.38;
    min-height: 2.76em;
  }

  .home-page .post-card .desc,
  .list-page .post-card .desc {
    font-size: 0.84rem;
    line-height: 1.46;
    min-height: 2.92em;
    opacity: 0.92;
  }

  .chips {
    gap: 5px;
    max-height: 30px;
  }

  .chips a {
    font-size: 0.76rem;
    padding: 3px 7px;
  }

  .chips a:nth-child(n + 4) {
    display: none;
  }

  .detail-body .chips a:nth-child(n + 4) {
    display: inline-flex;
  }

  .meta {
    font-size: 0.74rem;
  }

  .site-footer {
    width: min(100%, calc(100% - 24px));
    padding-bottom: 18px;
  }

  .site-footer-copy,
  .site-footer-note {
    display: none;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-links {
    justify-content: flex-start;
  }

  .detail-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .detail-cover {
    aspect-ratio: 16 / 10;
    min-height: 220px;
    max-height: 320px;
    border-radius: 14px;
  }

  .detail-body {
    gap: 14px;
    padding: 6px 4px 4px;
  }

  .detail-body h1 {
    width: 100%;
    font-size: clamp(1.45rem, 6vw, 1.92rem);
    line-height: 1.22;
  }

  .static-card .detail-body > .static-intro {
    width: 100%;
    font-size: 0.98rem;
    line-height: 1.76;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.74;
  }

  .structured-content {
    font-size: 1.02rem;
    line-height: 1.86;
    gap: 14px;
  }

  .structured-content h2 {
    font-size: 1.14rem;
    line-height: 1.52;
  }

  .structured-content p::first-letter {
    font-size: 1.46em;
  }

  .detail-meta {
    gap: 8px 10px;
    font-size: 0.8rem;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(120, 136, 160, 0.14);
  }

  .detail-meta .heat {
    margin-left: 0;
  }

  .detail-body .chips {
    flex-wrap: wrap;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .detail-body .chips a {
    max-width: 100%;
  }

  .meme-detail-page .detail-body .meme-taxonomy {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .meme-detail-page .detail-body .meme-taxonomy::-webkit-scrollbar {
    display: none;
  }

  .meme-detail-page .detail-body .meme-taxonomy span,
  .meme-detail-page .detail-body .meme-taxonomy a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .site-subtitle a,
  .detail-actions .btn,
  .tag-list a {
    white-space: normal;
    text-align: center;
  }

  .post-hot-row {
    gap: 8px;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .post-hot-row::-webkit-scrollbar {
    display: none;
  }

  .video-detail-page .detail-body .meme-taxonomy {
    text-align: left;
    justify-content: flex-start;
  }

  .post-hot-row > * {
    min-width: 0;
    max-width: none;
    flex: 0 0 auto;
  }

  .post-hot-keyword {
    max-width: none;
  }

  .post-hot-keyword a,
  .post-keyword-pill-ad {
    max-width: none;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .post-keyword-pill-ad {
    white-space: normal;
    line-height: 1.35;
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
  }

  .tag-list {
    gap: 6px;
  }

  .tag-list a {
    padding-inline: 10px;
    line-height: 1.35;
  }

  .share-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .video-detail-page .related-dark:not(.video-watch-next) {
    display: none;
  }

  .share-buttons a,
  .share-buttons button {
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    border-color: rgba(125, 150, 188, 0.18);
    background: linear-gradient(180deg, rgba(28, 35, 47, 0.96), rgba(18, 24, 33, 0.94));
    box-shadow: none;
    font-size: 0.84rem;
  }

  .share-chip .share-icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .share-chip .share-icon svg {
    width: 13px;
    height: 13px;
  }

  .share-buttons a:nth-child(1),
  .share-buttons a:nth-child(2),
  .share-buttons a:nth-child(3),
  .share-buttons a:nth-child(4),
  .share-buttons button[data-share-copy="wechat"],
  .share-buttons button[data-share-copy="xiaohongshu"] {
    border-color: rgba(125, 150, 188, 0.18);
    background: linear-gradient(180deg, rgba(28, 35, 47, 0.96), rgba(18, 24, 33, 0.94));
  }

  .share-buttons a:hover,
  .share-buttons button:hover {
    background: linear-gradient(180deg, rgba(40, 51, 68, 0.98), rgba(22, 29, 39, 0.96));
    border-color: rgba(156, 188, 234, 0.28);
    box-shadow: none;
  }

  .detail-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .related-dark ul {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .topbar-inner.wide {
    width: min(100%, calc(100% - 32px));
    gap: 12px 14px;
  }

  .search-box.dark input {
    height: 42px;
    border-radius: 21px;
    font-size: 0.9rem;
  }

  .app-shell {
    width: min(100%, calc(100% - 32px));
    gap: 16px;
  }

  .left-rail {
    gap: 10px;
    padding-bottom: 2px;
  }

  .rail-item {
    min-height: 44px;
    padding: 0 15px;
    font-size: 0.88rem;
  }

  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .post-card {
    height: clamp(360px, 48vw, 410px);
  }

  .video-card {
    height: clamp(390px, 54vw, 450px);
  }

  .share-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .share-buttons a,
  .share-buttons button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .video-watch-next-card {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 16px;
  }

  .video-watch-next-copy {
    align-content: center;
  }

  .video-filter-bar {
    gap: 7px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .video-filter-chip {
    min-height: 32px;
    padding: 0 11px;
    font-size: 0.75rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .video-player-controls {
    gap: 7px;
  }

  .video-jump-toggle,
  .video-sound-toggle {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.76rem;
  }
}

@media (min-width: 768px) and (max-width: 860px) {
  .feed-grid {
    gap: 16px;
  }

  .post-card {
    height: clamp(352px, 46vw, 392px);
  }

  .post-card h2 {
    font-size: 1.08rem;
    line-height: 1.16;
    min-height: 2.32em;
    max-height: 2.32em;
  }

  .desc {
    font-size: 0.76rem;
    line-height: 1.36;
    min-height: 2.72em;
  }

  .card-copy {
    left: 14px;
    right: 14px;
    bottom: 78px;
    gap: 8px;
  }

  .card-footer {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }

  .chips a {
    max-width: 84px;
    padding: 4px 8px;
    font-size: 0.74rem;
  }

  .share-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .video-watch-next-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .video-watch-next-visual {
    aspect-ratio: 16 / 8.8;
  }

  .video-watch-next-copy {
    align-content: start;
  }

  .video-watch-next-copy strong {
    font-size: 1rem;
    line-height: 1.42;
  }

  .video-watch-next-copy span,
  .video-watch-next-copy em {
    font-size: 0.86rem;
    line-height: 1.58;
  }
}

@media (min-width: 861px) and (max-width: 980px) {
  .post-card {
    height: clamp(350px, 42vw, 396px);
  }

  .post-card h2 {
    font-size: 1.12rem;
  }

  .share-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .video-watch-next-visual {
    aspect-ratio: 16 / 9.2;
  }
}

@media (max-width: 700px) {
  .post-page,
  .static-page {
    overflow-x: clip;
  }

  .post-page .container,
  .static-page .container,
  .detail-stage,
  .detail-card,
  .detail-body,
  .content,
  .structured-content,

  .detail-body h1,
  .structured-content h2,
  .structured-content p,
  .structured-content li,
  .structured-content a,
  .lead {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .detail-body .chips,
  .post-hot-row,
  .share-buttons,
  .detail-actions,
  .tag-list,
  .site-subtitle,
  .actions {
    min-width: 0;
    max-width: 100%;
  }

  .detail-body .chips a,
  .post-hot-keyword,
  .post-hot-keyword a,
  .post-keyword-pill-ad,
  .share-buttons a,
  .share-buttons button,
  .detail-actions .btn,
  .tag-list a,
  .site-subtitle a {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .feed-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .video-feed-grid {
    grid-template-columns: 1fr;
  }

  .video-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .video-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .video-filter-chip {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.73rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .meme-grid {
    grid-template-columns: 1fr;
  }

  .left-rail {
    gap: 8px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    overflow: hidden;
  }

  .site-footer-links a {
    flex: 1 1 20%;
    min-width: 0;
    justify-content: center;
    padding: 0 8px;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-footer-links a:nth-child(n + 6) {
    display: none;
  }

  .detail-card {
    grid-template-columns: 1fr;
    padding: 11px;
  }

  .detail-cover {
    aspect-ratio: 16 / 10;
    min-height: 220px;
    max-height: 320px;
  }

  .detail-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .video-player-controls {
    gap: 6px;
    margin-bottom: 6px;
  }

  .video-jump-toggle,
  .video-sound-toggle {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.74rem;
    min-width: 0;
  }

  .post-card {
    height: clamp(350px, 88vw, 408px);
    border-radius: 18px;
  }

  .post-card .card-main,
  .post-card .card-visual,
  .post-card .keyword-visual.dark {
    border-radius: 18px;
  }

  .card-copy {
    left: 16px;
    right: 16px;
    bottom: 82px;
    gap: 9px;
  }

  .card-footer {
    left: 16px;
    right: 16px;
    bottom: 12px;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .related-dark ul {
    grid-template-columns: 1fr;
  }

  .content-media.content-video,
  .content-media.content-image,
  .content-media {
    width: 100%;
  }

  .video-detail-page .detail-stage {
    width: min(100%, calc(100% - 16px));
  }

  .video-detail-page .video-preview,
  .video-detail-page .video-player-shell {
    width: 100%;
  }

  .video-player-wrap {
    max-width: 100%;
  }

  .video-player-controls {
    margin-bottom: 8px;
    gap: 8px;
  }

  .video-jump-toggle,
  .video-sound-toggle {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .content-media img {
    max-height: 58vh;
  }

  .video-detail-page .content-media .video-wrap {
    aspect-ratio: var(--video-aspect-ratio, 16 / 9);
    max-height: 72vh;
  }

  .share-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .share-buttons a,
  .share-buttons button {
    min-height: 40px;
    font-size: 0.8rem;
  }

  .content-image-gallery.cols-3 {
    justify-content: center;
  }
  .content-image-gallery .gallery-tile,
  .content-image-gallery.cols-3 .gallery-tile {
    flex-basis: calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
  }
  .content-image-gallery img {
    max-height: 220px;
  }

  .content-media video,
  .content-media .video-wrap {
    max-height: 56vh;
  }
}

@media (max-width: 480px) {
  .topbar-inner.wide {
    width: min(100%, calc(100% - 16px));
    gap: 8px 10px;
  }

  .brand-pill {
    min-width: 88px;
    height: 40px;
    padding: 0 14px;
    font-size: 1rem;
  }

  .right-links a {
    min-height: 26px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .back-to-top {
    right: 12px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  .app-shell {
    width: min(100%, calc(100% - 16px));
    margin-top: 10px;
    gap: 12px;
  }

  .search-box.dark input {
    height: 38px;
    border-radius: 19px;
    padding: 0 13px;
    font-size: 0.84rem;
    width: min(100%, 200px);
  }

  .left-rail {
    gap: 8px;
    align-items: center;
  }

  .rail-item {
    align-self: center;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .channel-tabs {
    gap: 8px;
  }

  .channel-tabs a,
  .channel-tabs .channel-chip {
    padding: 9px 14px;
    font-size: 0.9rem;
  }

  .post-card {
    height: clamp(330px, 92vw, 388px);
  }

  .video-card {
    height: 420px;
    padding: 0;
  }

  .card-visual,
  .keyword-visual.dark {
    min-height: 170px;
    max-height: 260px;
  }

  .keyword-overlay {
    padding: 10px;
  }

  .keyword-copy {
    font-size: clamp(0.92rem, 4.8vw, 1.35rem);
  }

  .post-card h2 {
    font-size: 1.08rem;
  }

  .home-page .post-card h2,
  .list-page .post-card h2 {
    font-size: 1.2rem;
    line-height: 1.16;
    min-height: 2.32em;
    max-height: 2.32em;
  }

  .page-h1 {
    font-size: clamp(1.56rem, 6.8vw, 1.9rem);
    line-height: 1.18;
  }

  .desc {
    font-size: 0.76rem;
    line-height: 1.34;
    min-height: 2.68em;
  }

  .home-page .post-card .desc,
  .list-page .post-card .desc {
    font-size: 0.82rem;
    line-height: 1.42;
    min-height: 2.84em;
    opacity: 0.92;
  }

  .meme-card-copy h2 {
    font-size: 1.14rem;
    line-height: 1.22;
  }

  .meme-card-copy p {
    font-size: 0.86rem;
    line-height: 1.46;
  }

  .chips a {
    height: 26px;
    padding: 3px 8px;
    font-size: 0.74rem;
  }

  .home-page .post-card .chips a,
  .list-page .post-card .chips a {
    height: 28px;
    padding: 4px 9px;
    font-size: 0.78rem;
  }

  .share-buttons a,
  .share-buttons button {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 0.76rem;
    gap: 5px;
  }

  .detail-card,
  .related-dark {
    border-radius: 14px;
  }

  .detail-card {
    padding: 10px;
  }

  .detail-body {
    gap: 12px;
    padding: 4px 2px 2px;
  }

  .detail-body h1 {
    font-size: clamp(1.32rem, 6.4vw, 1.72rem);
  }

  .lead {
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .post-page:not(.video-detail-page):not(.meme-detail-page) .detail-body > .lead {
    width: 100%;
    justify-self: center;
    margin-inline: auto;
    padding: 14px 15px 14px 18px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.76;
  }

  .structured-content {
    font-size: 0.98rem;
    line-height: 1.82;
  }

  .structured-content h2 {
    font-size: 1.06rem;
  }

  .structured-content p::first-letter {
    font-size: 1.34em;
  }

  .detail-meta {
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .site-footer {
    width: min(100%, calc(100% - 16px));
  }

  .site-footer-links {
    gap: 5px;
  }

  .site-footer-links a {
    min-height: 30px;
    padding: 0 6px;
    font-size: 0.72rem;
  }

  .site-footer-note {
    font-size: 0.78rem;
  }
}
