/* 专题详情页 */ body.page-topic-detail .site-header { background: transparent; border-bottom-color: transparent; } .topic-detail-hero { position: relative; overflow: hidden; min-height: 420px; padding-top: var(--site-header-height, 72px); background: var(--bg); } .topic-detail-hero__bg, .topic-detail-hero__mask { position: absolute; inset: 0; pointer-events: none; } .topic-detail-hero__bg { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: blur(42px); transform: scale(1.18); transform-origin: center center; } .topic-detail-hero__mask { background: linear-gradient( 90deg, rgba(11, 11, 13, 0.72) 0%, rgba(11, 11, 13, 0.35) 42%, rgba(11, 11, 13, 0.2) 100% ), linear-gradient( 180deg, rgba(11, 11, 13, 0.35) 0%, rgba(11, 11, 13, 0.45) 55%, #0b0b0d 100% ); } .topic-detail-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-direction: row; gap: 48px; min-height: 348px; padding: 36px 0 48px; background: transparent; } .topic-detail-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: min(640px, 100%); min-width: 0; } .topic-detail-hero__content .breadcrumb { margin-bottom: 2px; } .topic-detail-hero__title { margin: 0; color: var(--text); font-size: 40px; font-weight: 600; line-height: 48px; letter-spacing: 0.2px; } .topic-detail-hero__desc { margin: 0; max-width: 560px; color: var(--text-muted); font-size: 16px; font-weight: 400; line-height: 26px; } .topic-detail-hero__meta { margin: 2px 0 4px; color: var(--text-dim); font-size: 13px; font-weight: 400; line-height: 18px; letter-spacing: 0.4px; } .topic-detail-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; } .topic-detail-hero__actions .btn .icon { width: 22px; height: 22px; } .topic-detail-hero__play { min-width: 200px; } .topic-detail-hero__collect { min-width: 148px; } .topic-detail-hero__stack { position: relative; flex-shrink: 0; width: 360px; height: 280px; } .topic-detail-hero__stack img { position: absolute; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); object-fit: cover; background: #1a1a1f; } .topic-detail-hero__stack img:nth-child(1) { left: 8px; top: 52px; z-index: 1; width: 152px; height: 202px; opacity: 0.62; } .topic-detail-hero__stack img:nth-child(2) { left: 84px; top: 28px; z-index: 2; width: 168px; height: 224px; opacity: 0.85; } .topic-detail-hero__stack img:nth-child(3) { left: 168px; top: 0; z-index: 3; width: 188px; height: 252px; opacity: 1; border-color: transparent; box-shadow: 0 0 0 2px rgba(255, 74, 123, 0.9), 0 0 28px rgba(236, 35, 127, 0.35), 0 20px 48px rgba(0, 0, 0, 0.55); } .topic-detail-section { display: flex; flex-direction: column; gap: 24px; padding: 28px 0 24px; } .topic-detail-section--more { gap: 20px; padding: 8px 0 40px; } .topic-detail-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; } .topic-detail-section__left { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; min-width: 0; } .topic-detail-section__title { margin: 0; color: var(--text); font-size: 22px; font-weight: 600; line-height: 30px; } .topic-detail-section__count { color: var(--text-dim); font-size: 14px; font-weight: 400; line-height: 22px; padding-bottom: 4px; } .topic-detail-sort { display: inline-flex; align-items: flex-end; gap: 20px; flex-shrink: 0; margin-left: 6px; } .topic-detail-sort__item { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text-muted); font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; } .topic-detail-sort__item::after { content: ""; width: 24px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%); opacity: 0; } .topic-detail-sort__item.is-active { color: var(--text); } .topic-detail-sort__item.is-active::after { opacity: 1; } .topic-detail-sort-dropdown { display: none; position: relative; flex-shrink: 0; } .topic-detail-sort-link { display: inline-flex; align-items: center; gap: 2px; margin: 0; padding: 0; color: var(--text-muted); background: transparent; border: 0; font: inherit; font-size: 13px; font-weight: 400; line-height: 20px; cursor: pointer; appearance: none; } .topic-detail-sort-link .icon, .topic-detail-sort-link__caret { width: 14px; height: 14px; transition: transform 0.18s ease; } .topic-detail-sort-dropdown.is-open .topic-detail-sort-link__caret { transform: rotate(-90deg); } .topic-detail-sort-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 112px; padding: 6px; background: #1b1b1f; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); } .topic-detail-sort-menu[hidden] { display: none; } .topic-detail-sort-menu__item { display: block; padding: 10px 12px; color: var(--text-muted); border-radius: 8px; font-size: 13px; font-weight: 400; line-height: 20px; text-decoration: none; white-space: nowrap; } .topic-detail-sort-menu__item.is-active, .topic-detail-sort-menu__item:active { color: var(--text); background: rgba(255, 255, 255, 0.06); } @media (max-width: 768px) { body.page-topic-detail .site-header { display: none !important; } .topic-detail-hero { min-height: 0; padding-top: 0; } .topic-detail-hero .page-subheader { position: fixed; top: 0; left: 0; right: 0; z-index: 100; } .topic-detail-hero .page-subheader--overlay.is-scrolled { background: rgba(11, 11, 13, 0.88); border-bottom-color: var(--line-soft); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } .topic-detail-hero__bg { opacity: 0.5; filter: blur(28px); transform: scale(1.12); } .topic-detail-hero__mask { background: linear-gradient( 180deg, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.5) 40%, #0b0b0d 100% ); } .topic-detail-hero__inner { flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 68px var(--h5-gutter) 20px; } .topic-detail-hero__content { flex: 1 1 0; width: auto; gap: 10px; } .topic-detail-hero__title { font-size: 22px; line-height: 30px; } .topic-detail-hero__desc { max-width: none; font-size: 13px; line-height: 20px; } .topic-detail-hero__meta { margin: 0; font-size: 11px; line-height: 16px; letter-spacing: 0; } .topic-detail-hero__actions { width: auto; margin-top: 2px; } .topic-detail-hero__play { min-width: 0; } .topic-detail-hero__actions .btn--lg { height: 40px; padding: 0 16px; font-size: 14px; line-height: 20px; flex: 0 0 auto; } .topic-detail-hero__actions .btn .icon { width: 18px; height: 18px; } .topic-detail-hero__stack { width: 120px; height: 150px; margin: 0; } .topic-detail-hero__stack img { border-radius: var(--radius-sm); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); } .topic-detail-hero__stack img:nth-child(1) { left: 0; top: 40px; width: 72px; height: 96px; } .topic-detail-hero__stack img:nth-child(2) { left: 22px; top: 22px; width: 72px; height: 96px; } .topic-detail-hero__stack img:nth-child(3) { left: 44px; top: 4px; width: 72px; height: 96px; box-shadow: 0 0 0 1.5px rgba(255, 74, 123, 0.85), 0 8px 20px rgba(0, 0, 0, 0.5); } .topic-detail-section { gap: 14px; padding: 16px var(--h5-gutter) 16px; } .topic-detail-section--more { gap: 14px; padding: 8px 0 24px; } .topic-detail-section__head--padded { padding: 0 var(--h5-gutter); } .topic-detail-section__left { align-items: baseline; gap: 10px; } .topic-detail-section__title { font-size: 18px; line-height: 26px; } .topic-detail-section__count { font-size: 12px; line-height: 18px; } .topic-detail-sort-dropdown { display: block; } .topic-detail-section .grid--list { gap: 14px 8px; } .topic-detail-section .card--list { width: calc((100% - 16px) / 3); gap: 6px; } .topic-grid--more { flex-wrap: nowrap; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--h5-gutter); } .topic-grid--more::-webkit-scrollbar { display: none; } .topic-grid--more .topic-card { width: 280px; height: 140px; flex-shrink: 0; padding-left: 16px; border-radius: var(--radius-md); } .topic-grid--more .topic-card__stack { width: 112px; height: 140px; } .topic-grid--more .topic-card__stack img:nth-child(1) { top: 56px; } .topic-grid--more .topic-card__stack img:nth-child(2) { top: 42px; } .topic-grid--more .topic-card__stack img:nth-child(3) { top: 28px; } }