/* 2026-08-14 · Codex · 首页正体 AI 字标、无星生成按钮与 25+25 动态门面。 · CHG-20260814-HOMEPAGE-AI-MOTION-SHOWCASE */
body.site-surface--core-home {
  --home-showcase-red-rgb: 255, 64, 85;
}

body.site-surface--core-home .pb-ai {
  display: inline-block;
  min-width: 0;
  margin: 0 .065em;
  padding: 0 .01em .018em;
  vertical-align: -.01em;
  border: 0 !important;
  border-radius: 0 !important;
  color: transparent !important;
  background: linear-gradient(180deg, #4a2ab0 0%, #7146d6 42%, #a73fc0 70%, #d9468e 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: .35px rgba(61, 34, 139, .16);
  box-shadow: none !important;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.72)) drop-shadow(0 7px 16px rgba(105,55,188,.17));
  font-family: "Bodoni 72", Didot, "Iowan Old Style", "Times New Roman", serif;
  font-size: .98em;
  font-style: normal !important;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: .94;
  text-shadow: none !important;
  transform: translateY(.012em);
}

body.site-surface--core-home #pbGenerateBtn > svg {
  display: none !important;
}

body.site-surface--core-home .premium-showcase-section {
  position: relative;
  padding-top: 96px;
  padding-bottom: 90px;
}

body.site-surface--core-home .premium-showcase-section::before {
  content: '';
  position: absolute;
  inset: 24px 5% auto;
  height: 460px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 42%, rgba(91, 68, 211, .13), transparent 42%),
    radial-gradient(circle at 82% 26%, rgba(255, 64, 85, .09), transparent 38%);
  filter: blur(28px);
}

body.site-surface--core-home .premium-showcase-head {
  max-width: 820px;
  margin-bottom: 30px;
}

body.site-surface--core-home .premium-showcase-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 0 11px;
  border: 1px solid rgba(93, 70, 215, .16);
  border-radius: 999px;
  color: #5d46d7;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 8px 24px rgba(55, 38, 103, .07), 0 1px 0 #fff inset;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .16em;
}

body.site-surface--core-home .premium-showcase-head .pb-sec-title {
  margin-bottom: 10px;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

body.site-surface--core-home .premium-showcase-lead {
  max-width: 720px;
  margin: 0;
  color: #5b5664;
  font-size: 16px;
  line-height: 1.75;
}

body.site-surface--core-home .premium-showcase-origin {
  margin: 10px 0 0;
  color: #8a8491;
  font-size: 12px;
  line-height: 1.6;
}

body.site-surface--core-home .premium-showcase-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 10px;
  border: 1px solid rgba(82, 60, 127, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 16px 40px rgba(47, 34, 79, .075), 0 1px 0 #fff inset;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

body.site-surface--core-home .premium-showcase-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

body.site-surface--core-home .premium-showcase-filters::-webkit-scrollbar { display: none; }

body.site-surface--core-home .premium-showcase-filter,
body.site-surface--core-home .premium-showcase-more {
  appearance: none;
  border: 1px solid rgba(84, 62, 130, .13);
  color: #5f5969;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 1px 0 #fff inset, 0 8px 18px rgba(44, 31, 78, .05);
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}

body.site-surface--core-home .premium-showcase-filter {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
}

body.site-surface--core-home .premium-showcase-filter.is-active {
  color: #fff;
  border-color: rgba(78, 51, 174, .32);
  background: linear-gradient(135deg, #5d46d7, #8f47d3 56%, #c8469e);
  box-shadow: 0 12px 26px rgba(82, 52, 185, .25), 0 1px 0 rgba(255,255,255,.28) inset;
}

body.site-surface--core-home .premium-showcase-result {
  flex: 0 0 auto;
  padding-right: 6px;
  color: #8b8593;
  font-size: 12px;
}

body.site-surface--core-home .premium-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body.site-surface--core-home .premium-showcase-card {
  --showcase-x: 50%;
  --showcase-y: 50%;
  --showcase-rx: 0deg;
  --showcase-ry: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(82, 60, 127, .14);
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(246,242,253,.66));
  box-shadow: 0 1px 0 rgba(255,255,255,.98) inset, 0 22px 54px rgba(45,32,74,.12), 0 5px 14px rgba(45,32,74,.07);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  backdrop-filter: blur(24px) saturate(165%);
  transform: perspective(1100px) rotateX(var(--showcase-rx)) rotateY(var(--showcase-ry)) translateY(0) scale(1);
  transform-style: preserve-3d;
  transform-origin: center;
  transition: transform .24s cubic-bezier(.2,.8,.2,1), border-color .22s ease, box-shadow .22s ease, filter .22s ease;
  cursor: pointer;
}

body.site-surface--core-home .premium-showcase-card[hidden] { display: none !important; }
body.site-surface--core-home .premium-showcase-card:focus-visible { outline: 3px solid rgba(255,64,85,.42); outline-offset: 4px; }

body.site-surface--core-home .premium-showcase-glow {
  position: absolute;
  inset: 0;
  z-index: 8;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(260px circle at var(--showcase-x) var(--showcase-y), rgba(var(--home-showcase-red-rgb), .23) 0%, rgba(var(--home-showcase-red-rgb), .09) 34%, transparent 72%),
    linear-gradient(132deg, rgba(255,255,255,.46) 0%, rgba(255,255,255,.08) 32%, transparent 56%);
  box-shadow: 0 0 0 2px rgba(var(--home-showcase-red-rgb), .78) inset, 0 1px 0 rgba(255,255,255,.92) inset;
  transition: opacity .2s ease;
}

body.site-surface--core-home .premium-showcase-card.is-showcase-hover .premium-showcase-glow,
body.site-surface--core-home .premium-showcase-card.is-showcase-clicked .premium-showcase-glow { opacity: 1; }

body.site-surface--core-home .premium-showcase-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #ece8f5, #f8f6fb);
  transform: translateZ(14px);
}

body.site-surface--core-home .premium-showcase-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(14,10,24,.02) 38%, rgba(14,10,24,.54) 100%), linear-gradient(125deg, rgba(255,255,255,.22), transparent 32%);
}

body.site-surface--core-home .premium-showcase-media img,
body.site-surface--core-home .premium-showcase-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .28s ease;
}

body.site-surface--core-home .premium-showcase-card:hover .premium-showcase-media img,
body.site-surface--core-home .premium-showcase-card:hover .premium-showcase-media video { transform: scale(1.045); }

body.site-surface--core-home .premium-showcase-category,
body.site-surface--core-home .premium-showcase-play {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(20,15,31,.42);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  font-size: 11px;
  font-weight: 720;
}

body.site-surface--core-home .premium-showcase-category { left: 14px; bottom: 14px; }
body.site-surface--core-home .premium-showcase-play { right: 14px; top: 14px; }

body.site-surface--core-home .premium-showcase-body {
  position: relative;
  min-height: 92px;
  padding: 17px 52px 18px 18px;
  transform: translateZ(14px);
}

body.site-surface--core-home .premium-showcase-body h3 {
  overflow: hidden;
  margin: 0;
  color: #201a2b;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.site-surface--core-home .premium-showcase-body p {
  overflow: hidden;
  margin: 7px 0 0;
  color: #7f7888;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.site-surface--core-home .premium-showcase-arrow {
  position: absolute;
  top: 19px;
  right: 17px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(93,70,215,.14);
  border-radius: 50%;
  color: #5d46d7;
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 18px rgba(49,34,83,.08), 0 1px 0 #fff inset;
  transition: transform .22s ease, color .22s ease, background .22s ease;
}

body.site-surface--core-home .premium-showcase-card:hover .premium-showcase-arrow {
  transform: translate(2px, -2px);
  color: #fff;
  background: #5d46d7;
}

body.site-surface--core-home .premium-showcase-footer { display: flex; justify-content: center; padding-top: 30px; }
body.site-surface--core-home .premium-showcase-more {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  border-color: rgba(78,51,174,.28);
  background: linear-gradient(135deg, #5d46d7, #8f47d3 56%, #c8469e);
  box-shadow: 0 15px 34px rgba(80,52,184,.24), 0 1px 0 rgba(255,255,255,.3) inset;
}

@media (hover: hover) and (pointer: fine) {
  body.site-surface--core-home .premium-showcase-card.is-showcase-hover {
    transform: perspective(1100px) rotateX(var(--showcase-rx)) rotateY(var(--showcase-ry)) translateY(-8px) scale(1.022);
    border-color: rgba(var(--home-showcase-red-rgb), .88);
    outline: 1px solid rgba(var(--home-showcase-red-rgb), .44);
    outline-offset: 2px;
    box-shadow: 0 1px 0 rgba(255,255,255,.98) inset, 0 0 0 2px rgba(var(--home-showcase-red-rgb), .16), 0 28px 64px rgba(var(--home-showcase-red-rgb), .23), 0 10px 26px rgba(45,29,82,.18);
  }

  body.site-surface--core-home .premium-showcase-card.is-showcase-pressed {
    transform: perspective(1100px) rotateX(var(--showcase-rx)) rotateY(var(--showcase-ry)) translateY(-1px) scale(.982);
  }

  body.site-surface--core-home .premium-showcase-filter:hover,
  body.site-surface--core-home .premium-showcase-more:hover { transform: translateY(-2px) scale(1.025); }
}

@media (max-width: 1040px) {
  body.site-surface--core-home .premium-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-surface--core-home .premium-showcase-toolbar { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  body.site-surface--core-home .pb-ai { margin-inline: .055em; font-size: .98em; filter: drop-shadow(0 1px 0 rgba(255,255,255,.7)) drop-shadow(0 5px 11px rgba(105,55,188,.16)); }
  body.site-surface--core-home .premium-showcase-section { box-sizing: border-box; padding: 48px 16px; }
  body.site-surface--core-home .premium-showcase-head { margin-bottom: 20px; }
  body.site-surface--core-home .premium-showcase-head .pb-sec-title { font-size: 34px; }
  body.site-surface--core-home .premium-showcase-lead { font-size: 14px; }
  body.site-surface--core-home .premium-showcase-toolbar { gap: 10px; padding: 8px; }
  body.site-surface--core-home .premium-showcase-result { padding: 0 7px 2px; }
  body.site-surface--core-home .premium-showcase-grid { grid-template-columns: 1fr; gap: 14px; }
  body.site-surface--core-home .premium-showcase-card { border-radius: 20px; transform: none !important; }
  body.site-surface--core-home .premium-showcase-glow { display: none; }
  body.site-surface--core-home .premium-showcase-body { min-height: 82px; padding: 14px 50px 15px 15px; }
  body.site-surface--core-home .premium-showcase-play { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.site-surface--core-home .premium-showcase-card { transform: none !important; transition: none !important; }
  body.site-surface--core-home .premium-showcase-glow { display: none; }
  body.site-surface--core-home .premium-showcase-media img,
  body.site-surface--core-home .premium-showcase-media video { transition: none; }
}
