/* TSLOVE 官网共用样式：以平面漫画线稿、柔和紫粉配色和留白统一首页、关于和法务页面。 */

:root {
  --paper: #fbfaff;
  --paper-lilac: #f5f1ff;
  --white: #ffffff;
  --ink: #27233f;
  --ink-soft: #77728b;
  --violet: #8847ef;
  --violet-deep: #6834c4;
  --violet-soft: #e9dcff;
  --pink: #f45f9a;
  --pink-soft: #ffe2ee;
  --line: rgba(81, 67, 120, 0.13);
  --shell: min(1160px, calc(100vw - 48px));
  --display: "Songti SC", "STSong", "Noto Serif SC", serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 78px; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(250,248,255,.88); backdrop-filter: blur(18px); }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.brand img { width: 168px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; color: #514c65; font-size: 14px; font-weight: 650; }
.site-nav a { padding: 10px 0; transition: color .2s ease; }
.site-nav a:hover { color: var(--violet); }
.nav-cta { border: 1px solid rgba(104,52,196,.28); border-radius: 999px; padding: 10px 19px !important; background: rgba(255,255,255,.72); color: var(--violet-deep); }
.menu-toggle { display: none; border: 0; background: transparent; }

.romance-hero { position: relative; min-height: 800px; overflow: clip; background: url("./official-site-hero-flat-v4.jpg") center / cover no-repeat; }
.romance-hero::after { position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(180deg, transparent, rgba(251,250,255,.92)); content: ""; pointer-events: none; }
.hero-copy { position: absolute; top: 50%; left: max(4vw, calc((100vw - 1160px) / 2)); z-index: 2; width: min(520px, 42vw); padding: 28px 0 34px; text-align: left; transform: translateY(-50%); }
.hero-copy::before { position: absolute; inset: -55px -85px; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,.88) 0 48%, rgba(255,255,255,.48) 67%, transparent 78%); content: ""; }
.hero-kicker, .section-index { margin: 0 0 20px; color: var(--pink); font-size: 12px; font-weight: 750; letter-spacing: .16em; }
.hero-kicker::after { display: inline-block; width: 46px; margin: 0 0 4px 12px; border-top: 1px solid #f5a5c2; content: ""; }
.hero-copy h1 { margin: 0; font-family: var(--display); font-size: clamp(45px, 5vw, 66px); font-weight: 600; letter-spacing: -.055em; line-height: 1.13; }
.hero-copy h1 span { margin-left: 5px; color: var(--pink); font-family: var(--body); font-size: .45em; }
.hero-copy > p:last-of-type { margin: 20px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; justify-content: flex-start; gap: 12px; margin-top: 24px; }
.button { display: inline-flex; min-width: 132px; min-height: 46px; align-items: center; justify-content: center; border-radius: 999px; padding: 0 22px; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(120deg, #7a3fea, #a454ed); box-shadow: 0 13px 30px rgba(122,63,234,.22); color: white; }
.button-soft { border: 1px solid rgba(104,52,196,.2); background: rgba(255,255,255,.8); color: var(--violet-deep); }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; z-index: 3; display: flex; align-items: center; gap: 10px; color: #918ca0; font-size: 10px; letter-spacing: .16em; transform: translateX(-50%); }
.hero-scroll span { width: 28px; border-top: 1px solid #aca6b5; }

.section { padding: 110px 0; }
.section-index { color: var(--violet); }
.section-heading h2, .feature-heading h2, .safety-heading h2, .about-band h2, .download-card h2, .subpage-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1.2; }
.product-intro { position: relative; background: var(--paper); }
.product-intro::before { position: absolute; top: 30px; left: -40px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(225,209,255,.52), transparent 68%); content: ""; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(55px, 10vw, 140px); align-items: start; }
.intro-copy { padding-top: 45px; }
.intro-copy p { margin: 0 0 22px; color: var(--ink-soft); font-size: 15px; line-height: 2; }
.inline-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 12px; border-bottom: 1px solid #bea5e9; padding-bottom: 7px; color: var(--violet-deep); font-size: 13px; font-weight: 700; }

.feature-section { position: relative; overflow: clip; background: linear-gradient(180deg, #f5f1ff, #fff8fc); }
.feature-section::before, .feature-section::after { position: absolute; bottom: -80px; width: 360px; height: 400px; background: url("./official-site-mobile-bg-clean.png") bottom center / 610px auto no-repeat; content: ""; opacity: .15; pointer-events: none; }
.feature-section::before { left: -180px; }.feature-section::after { right: -180px; transform: scaleX(-1); }
.feature-heading { display: grid; grid-template-columns: 150px minmax(0, 1fr) 320px; align-items: end; gap: 30px; margin-bottom: 70px; }
.feature-heading > * { margin-top: 0; margin-bottom: 0; }
.feature-heading > p:last-child { color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.feature-stage { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 8vw, 110px); align-items: center; }
.app-showcase { display: grid; place-items: center; }
.app-screen { width: min(310px, 100%); border: 1px solid rgba(104,52,196,.12); border-radius: 38px; box-shadow: 0 38px 80px rgba(101,61,153,.2); }
.feature-list { border-top: 1px solid rgba(104,52,196,.18); }
.feature-item { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 29px 0; border-bottom: 1px solid rgba(104,52,196,.14); }
.feature-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #cdb9ef; border-radius: 50%; color: var(--violet); font-family: var(--display); font-size: 13px; }
.feature-item h3 { margin: 0 0 8px; font-family: var(--display); font-size: 24px; font-weight: 600; }
.feature-item p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }

.safety-section { position: relative; overflow: clip; background: #fff; }
.safety-section::before { position: absolute; top: -120px; right: -80px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,231,.52), transparent 68%); content: ""; }
.safety-heading { display: grid; grid-template-columns: 150px minmax(0,1fr) 350px; align-items: end; gap: 30px; margin-bottom: 54px; }
.safety-heading > * { margin-top: 0; margin-bottom: 0; }
.safety-heading > p:last-child { color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.safety-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 24px; align-items: stretch; }
.safety-art { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: #faf7ff; }
.safety-art img { width: 100%; height: 100%; object-fit: cover; }
.safety-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.safety-card { position: relative; display: grid; min-height: 0; grid-template-columns: 52px 1fr; align-items: start; gap: 18px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(250,247,255,.72); }
.safety-card:nth-child(2) { background: rgba(255,244,249,.78); }.safety-card:nth-child(3) { background: rgba(245,242,255,.84); }
.safety-card > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: white; box-shadow: 0 10px 28px rgba(92,57,132,.09); color: var(--violet); font-family: var(--display); font-size: 18px; }
.safety-card h3 { margin: 0 0 8px; font-family: var(--display); font-size: 23px; font-weight: 600; }
.safety-card p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.85; }
.safety-note { margin: 24px 0 0; padding: 18px 24px; border-radius: 18px; background: #fff6f9; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.safety-note strong { margin-right: 12px; color: var(--ink); }

.about-band { padding: 92px 0; background: linear-gradient(135deg, #f0e8ff, #fff2f7); }
.about-band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; }
.about-band-inner > div:last-child > p { margin: 0 0 26px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.download-section { padding: 90px 0; background: var(--paper); }
.download-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; padding: 62px 70px; overflow: hidden; border-radius: 34px; background: url("./official-site-hero-flat-v4.jpg") center / cover no-repeat; box-shadow: 0 28px 70px rgba(99,62,144,.12); }
.download-card::before { position: absolute; inset: 0; background: rgba(255,255,255,.76); backdrop-filter: blur(4px); content: ""; }
.download-card > * { position: relative; z-index: 1; }
.download-card h2 { font-size: clamp(38px, 4vw, 54px); }
.download-card > div:first-child > p:last-child { max-width: 520px; margin: 18px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.download-actions { display: flex; gap: 12px; }
.store-button { display: grid; min-width: 166px; border-radius: 18px; padding: 15px 20px; background: linear-gradient(120deg, #7c3fed, #a456ef); box-shadow: 0 13px 28px rgba(124,63,237,.18); color: white; }
.store-button-pink { background: linear-gradient(120deg, #ef568e, #f879ad); box-shadow: 0 13px 28px rgba(239,86,142,.16); }
.store-button b { font-family: var(--display); font-size: 20px; }.store-button small { margin-top: 5px; opacity: .72; }

.site-footer { padding: 70px 0 24px; background: #211b31; color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-bottom: 62px; }
.footer-brand img { width: 165px; filter: brightness(0) invert(1); }
.footer-brand p { margin: 20px 0 0; color: rgba(255,255,255,.5); font-family: var(--display); font-size: 21px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }.footer-links strong { margin-bottom: 7px; font-size: 12px; letter-spacing: .12em; }.footer-links a { color: rgba(255,255,255,.58); font-size: 13px; }.footer-links a:hover { color: white; }
.legal-footer { display: flex; align-items: center; justify-content: center; gap: 32px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 23px; color: rgba(255,255,255,.43); font-size: 11px; text-align: center; }

.subpage-main { padding-top: 78px; }
.subpage-hero { position: relative; padding: 116px 0 100px; overflow: clip; border-bottom: 1px solid var(--line); background: url("./official-site-hero-flat-v4.jpg") center / cover no-repeat; }
.subpage-hero::before { position: absolute; inset: 0; background: rgba(255,255,255,.78); backdrop-filter: blur(6px); content: ""; }.subpage-hero .shell { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 35px; }.subpage-hero h1 { max-width: 760px; }.subpage-hero p:last-child { max-width: 660px; margin: 28px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.about-content { padding: 100px 0 130px; }.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }.about-grid h2 { margin: 0; font-family: var(--display); font-size: 44px; font-weight: 600; }.about-copy p { margin: 0 0 22px; color: var(--ink-soft); line-height: 1.95; }
.contact-card { margin-top: 54px; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(135deg, #f4edff, #fff2f7); }.contact-card span { color: #8c8499; font-size: 12px; }.contact-card a { display: inline-block; margin-top: 10px; border-bottom: 1px solid var(--violet); color: var(--violet-deep); font-family: var(--display); font-size: clamp(26px, 4vw, 42px); }

.document-page { background: var(--paper-lilac); }
.document-shell { width: min(880px, calc(100vw - 40px)); margin: 0 auto; padding: 136px 0 90px; }
.document-back { display: inline-block; margin-bottom: 30px; color: var(--violet-deep); font-size: 13px; font-weight: 700; }
.document-card { padding: clamp(28px, 6vw, 68px); border: 1px solid var(--line); border-radius: 30px; background: white; box-shadow: 0 22px 60px rgba(86,52,127,.07); }
.document-card h1 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(36px, 6vw, 52px); font-weight: 600; letter-spacing: -.04em; }.document-card h2 { margin: 45px 0 15px; color: var(--violet-deep); font-family: var(--display); font-size: 25px; }.document-card h3 { margin: 27px 0 10px; font-size: 17px; }
.document-card p, .document-card li, .document-card th, .document-card td { font-size: 14px; line-height: 1.85; }.document-card p { margin: 0 0 15px; }.document-card ul, .document-card ol { padding-left: 22px; }.document-card li + li { margin-top: 8px; }.document-card a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.table-scroll { margin: 16px 0 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }.document-card table { width: 100%; min-width: 680px; border-collapse: collapse; }.document-card th, .document-card td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }.document-card th { background: var(--paper-lilac); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }.reveal.is-visible { opacity: 1; transform: none; }
.hero-copy.reveal { transform: translateY(calc(-50% + 18px)); }.hero-copy.reveal.is-visible { transform: translateY(-50%); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .hero-copy.reveal { transform: translateY(-50%); } }

@media (max-width: 960px) {
  .feature-heading, .safety-heading { grid-template-columns: 120px 1fr; }.feature-heading > p:last-child, .safety-heading > p:last-child { grid-column: 2; }
  .feature-stage { grid-template-columns: .8fr 1.2fr; gap: 48px; }.about-band-inner { gap: 55px; }.download-card { grid-template-columns: 1fr; }.footer-grid { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 840px) {
  :root { --shell: min(100% - 32px, 640px); }
  .site-header { height: 70px; }.brand img { width: 146px; }.menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 7px; cursor: pointer; }.menu-toggle span { display: block; width: 24px; height: 1px; background: var(--ink); transition: transform .2s; }.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 70px 0 auto; display: none; min-height: calc(100vh - 70px); flex-direction: column; align-items: stretch; gap: 0; padding: 34px 24px; background: var(--paper); font-family: var(--display); font-size: 28px; }.site-nav.is-open { display: flex; }.site-nav a { border-bottom: 1px solid var(--line); padding: 18px 0; }.nav-cta { margin-top: 16px; border: 0; border-radius: 0; padding: 18px 0 !important; background: transparent; }
  .romance-hero { min-height: 900px; background-image: url("./official-site-hero-mobile-flat-v4.jpg"); background-position: center top; background-size: cover; }
  .romance-hero::after { display: none; }.hero-copy { top: 104px; left: 50%; bottom: auto; width: min(540px, calc(100% - 28px)); padding: 24px 20px; text-align: center; transform: translateX(-50%); }.hero-copy.reveal { transform: translate(-50%, 18px); }.hero-copy.reveal.is-visible { transform: translateX(-50%); }.hero-copy::before { display: block; inset: -18px -32px; }.hero-copy h1 { font-size: clamp(39px, 11vw, 54px); }.hero-copy > p:last-of-type { font-size: 14px; }.desktop-only { display: none; }.hero-actions { justify-content: center; }.hero-scroll { display: none; }
  .section { padding: 84px 0; }.intro-grid, .feature-stage, .safety-layout, .about-band-inner, .about-grid { grid-template-columns: 1fr; gap: 48px; }.intro-copy { padding-top: 0; }.feature-heading, .safety-heading { display: block; margin-bottom: 44px; }.feature-heading h2, .safety-heading h2 { margin-bottom: 22px; }.feature-stage { gap: 42px; }.safety-grid { grid-template-columns: 1fr; }.download-card { padding: 44px 34px; }.footer-grid { grid-template-columns: 1fr; }.subpage-main { padding-top: 70px; }.subpage-hero { padding: 88px 0 76px; }.subpage-hero .shell { display: block; }
}

@media (max-width: 560px) {
  .romance-hero { min-height: 860px; }.hero-copy { top: 96px; }.hero-kicker::after { width: 25px; margin-left: 7px; }.hero-actions { flex-direction: row; }.hero-actions .button { min-width: 0; flex: 1; }.section-heading h2, .feature-heading h2, .safety-heading h2, .about-band h2, .download-card h2, .subpage-hero h1 { font-size: 38px; }
  .feature-heading { margin-bottom: 52px; }.feature-stage { gap: 42px; }.app-screen { width: min(270px, 82vw); border-radius: 32px; }.feature-item { grid-template-columns: 48px 1fr; gap: 16px; }.feature-icon { width: 40px; height: 40px; }.feature-item h3 { font-size: 21px; }.safety-art { border-radius: 24px; }.safety-card { grid-template-columns: 44px 1fr; gap: 14px; border-radius: 22px; padding: 22px; }.safety-card > span { width: 44px; height: 44px; }.about-band { padding: 76px 0; }.download-section { padding: 68px 0; }.download-card { padding: 36px 24px; border-radius: 26px; }.download-actions { flex-direction: column; }.store-button { min-width: 100%; }
  .footer-grid { padding-bottom: 46px; }.footer-links { grid-template-columns: 1fr 1fr; row-gap: 38px; }.legal-footer { flex-wrap: wrap; gap: 10px 22px; justify-content: center; }.contact-card { padding: 24px; }.document-shell { padding-top: 108px; }.document-card { padding: 25px 20px; border-radius: 22px; }
}
