/* Shared layout for the static terms and privacy pages. */ .legal-page { min-height: 100vh; padding-top: 72px; background: var(--bg); } /* overflow-x:hidden on html/body breaks position:sticky; clip keeps horizontal containment */ html:has(body.legal-page), body.legal-page { overflow-x: clip; } .legal-page .site-header { background: var(--bg); border-bottom-color: var(--line-soft); } .legal-page .site-header__login { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 999px; background: linear-gradient(135deg, #ff4a7b 15%, #ec237f 51%, #93226f 85%); color: #fff; font-size: 14px; font-weight: 500; line-height: 20px; } .legal-main { width: 100%; } .legal-hero, .legal-layout { width: min(calc(100% - 48px), 1200px); margin: 0 auto; } .legal-hero { display: flex; flex-direction: column; gap: 12px; padding: 48px 0 8px; } .legal-kicker { display: inline-flex; align-items: center; gap: 10px; height: 18px; margin: 0; color: var(--accent-hot); font-size: 13px; font-weight: 500; line-height: 18px; letter-spacing: .12em; } .legal-kicker > span { display: block; width: 18px; height: 2px; flex: none; background: var(--accent); } .legal-title { margin: 0; color: var(--text); font-size: 28px; font-weight: 600; line-height: 36px; letter-spacing: -.01em; } .legal-dates, .legal-intro { margin: 0; color: var(--text-muted); font-size: 15px; font-weight: 400; line-height: 24px; } .legal-layout { position: relative; display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 40px; padding: 24px 0 48px; } .legal-toc-slot { position: relative; min-width: 0; align-self: start; } .legal-toc { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-height: calc(100vh - 104px); overflow-y: auto; padding: 12px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--bg-elevated); } .legal-toc.is-fixed { position: fixed; z-index: 20; } .legal-toc__label { color: var(--text-dim); font-size: 12px; font-weight: 500; line-height: 16px; } .legal-toc__list { display: flex; flex-direction: column; gap: 2px; } .legal-toc__item { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border-radius: 8px; color: var(--text-muted); font-size: 14px; line-height: 22px; white-space: nowrap; } .legal-toc__item > span:first-child { color: var(--text-dim); font-family: Inter, var(--font); font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .06em; } .legal-toc__item.is-active { background: rgba(236, 35, 127, .1); color: var(--accent-hot); } .legal-toc__item.is-active > span:first-child { color: var(--accent-hot); } .legal-content { display: flex; flex-direction: column; gap: 32px; min-width: 0; } .legal-section { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 88px; } .legal-section__title { margin: 0; color: var(--text); font-size: 22px; font-weight: 600; line-height: 30px; } .legal-section__paragraph { margin: 0; color: var(--text-muted); font-size: 14px; font-weight: 400; line-height: 22px; } .legal-section__paragraph a, .legal-section__meta a { color: var(--accent-hot); } .legal-section__meta { margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 8px; color: var(--text-muted); font-size: 14px; font-weight: 400; line-height: 22px; } @media (min-width: 769px) { .legal-page .site-footer__legal { flex-direction: row; justify-content: space-between; gap: 24px; } .legal-page .site-footer__rule { margin-top: 8px; } } @media (min-width: 769px) and (max-width: 1199px) { .legal-page .site-header { height: 72px; padding-block: 0; flex-wrap: nowrap; } .legal-page .site-header__left, .legal-page .site-header__right { width: auto; } .legal-page .site-header .search { width: min(260px, 30vw); } } @media (min-width: 769px) and (max-width: 1100px) { .legal-page .site-header .nav { display: none; } } @media (max-width: 768px) { .legal-page { padding-top: 0; } .legal-page .site-header { display: none; } .legal-page .page-subheader { display: flex; background: var(--bg); border-bottom: 1px solid var(--line-soft); } .legal-main { padding-top: 56px; } .legal-hero, .legal-layout { width: 100%; } .legal-hero { gap: 8px; padding: 20px 16px 4px; } .legal-kicker { letter-spacing: 1.56px; } .legal-title { font-size: 22px; line-height: 30px; letter-spacing: 0; } .legal-dates, .legal-intro { font-size: 13px; line-height: 20px; } .legal-layout { display: flex; flex-direction: column; gap: 0; padding: 0; } .legal-toc { position: static; top: auto; left: auto; z-index: auto; display: block; width: 100% !important; max-height: none; overflow: visible; padding: 8px 0 0; border: 0; border-radius: 0; background: transparent; } .legal-toc.is-fixed { position: static; } .legal-toc-slot { height: auto !important; } .legal-toc__label { display: none; } .legal-toc__list { display: flex; flex-direction: row; gap: 8px; width: 100%; padding: 0 16px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .legal-toc__list::-webkit-scrollbar { display: none; } .legal-toc__item { width: auto; height: 30px; flex: none; gap: 6px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 400; line-height: 20px; } .legal-toc__item > span:first-child { color: inherit; font-family: var(--font); font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: 0; } .legal-toc__item.is-active { background: rgba(236, 35, 127, 0.1); border-color: rgba(236, 35, 127, 0.3); color: var(--accent-hot); } .legal-content { width: 100%; gap: 20px; padding: 12px 16px 20px; } .legal-section { gap: 8px; scroll-margin-top: 72px; } .legal-section__title { font-size: 16px; line-height: 22px; } .legal-section__paragraph, .legal-section__meta { font-size: 13px; line-height: 20px; } .legal-page .site-footer__inner { padding: 32px 16px 24px; gap: 18px; } .legal-page .site-footer__brand { gap: 12px; } .legal-page .site-footer__links { flex-wrap: wrap; justify-content: center; gap: 12px 16px; } .legal-page .footer-col { flex-wrap: nowrap; } /* H5:隐藏浏览栏与「联系我们」,保留条款含 2257 / DMCA,下载改为文字链 */ .legal-page .footer-col:first-child, .legal-page .footer-col[aria-label="帮助"] a[href*="CustomerServiceHost"], .legal-page .footer-col[aria-label="帮助"] a:last-child { display: none; } .legal-page .footer-download { display: flex; flex-basis: auto; justify-content: center; padding: 0; border: 0; background: none; } .legal-page .footer-download .qr-box, .legal-page .footer-download__copy strong, .legal-page .footer-download__copy p, .legal-page .footer-download__copy .icon { display: none; } .legal-page .footer-download .btn { height: 20px; padding: 0; color: var(--text-muted); background: none; font-size: 13px; line-height: 20px; } .legal-page .site-footer__rule { display: none; } .legal-page .site-footer__legal { flex-direction: column; align-items: center; gap: 0; } .legal-page .site-footer__legal p:first-child { order: 2; width: 100%; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line-soft); } .legal-page .site-footer__legal p:last-child { order: 1; } .legal-page .site-footer__adult, .legal-page .site-footer__rights { display: none; } .legal-page .site-footer__mobile-adult { display: inline; } }