:root {
  --bg: #FFF8FB;
  --surface: #FFFFFF;
  --pink-soft: #FFF0F6;
  --purple-soft: #F7F3FF;
  --gray-pink: #F8F4F6;
  --title: #32262D;
  --text: #51444C;
  --muted: #7C6D76;
  --quiet: #A09199;
  --brand: #FF5D9E;
  --berry: #D94C83;
  --coral: #FF8EAC;
  --purple: #8C76E8;
  --purple-deep: #6753B5;
  --border: rgba(255, 93, 158, .15);
  --shadow: 0 14px 36px rgba(76, 48, 66, .08);
  --shadow-strong: 0 18px 46px rgba(217, 76, 131, .15);
  --gradient: linear-gradient(135deg, #FF8EAC 0%, #FF5D9E 52%, #8C76E8 100%);
  --footer: #30242B;
  --footer-text: #FFEAF2;
  --radius: 24px;
  --shell: 1200px;
  --chrome-height: 116px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.75; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--berry); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(140, 118, 232, .48); outline-offset: 3px; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; background: var(--title); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-chrome { position: sticky; top: 0; z-index: 1000; }
.notice-bar { background: #FCEAF2; border-bottom: 1px solid var(--border); font-size: 13px; }
.notice-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.notice-links { display: flex; gap: 20px; }
.notice-links a { color: var(--muted); }
.site-header { background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--border); box-shadow: 0 6px 22px rgba(76, 48, 66, .05); backdrop-filter: blur(14px); }
.nav-row { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--title); font-weight: 800; white-space: nowrap; }
.brand img { width: auto; max-height: 46px; }
.brand-mark { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 14px; color: #fff; background: var(--gradient); box-shadow: 0 10px 24px rgba(255, 93, 158, .24); }
.brand-text { font-size: 20px; letter-spacing: .02em; }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: 8px; }
.nav-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { color: var(--berry); background: var(--pink-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button, .channel-trigger, .panel-close { border: 0; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border-radius: 999px; background: var(--gradient); color: #fff; font-weight: 800; box-shadow: 0 12px 28px rgba(217, 76, 131, .22); white-space: nowrap; }
.button:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-strong); }
.button-secondary { background: var(--surface); color: var(--berry); border: 1px solid var(--border); box-shadow: none; }
.button-secondary:hover { color: var(--berry); background: var(--pink-soft); }
.button-small { min-height: 42px; padding: 0 18px; }
.channel-trigger { min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--title); background: var(--gray-pink); font-weight: 800; white-space: nowrap; }
.mobile-only { display: none; }
main { min-height: 55vh; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--pink-soft); }
.section-purple { background: var(--purple-soft); }
.section-gray { background: var(--gray-pink); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--berry); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { color: var(--title); line-height: 1.28; margin-top: 0; }
h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--berry); font-weight: 800; }
.text-link::after { content: "→"; }
.hero { position: relative; overflow: hidden; padding: 88px 0 76px; background: radial-gradient(circle at 15% 10%, rgba(255, 142, 172, .2), transparent 32%), radial-gradient(circle at 85% 5%, rgba(140, 118, 232, .16), transparent 28%), var(--bg); }
.hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: -180px; bottom: -190px; border-radius: 50%; background: rgba(255, 93, 158, .08); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr) minmax(230px, .55fr); gap: 34px; align-items: center; }
.hero-copy .brand-kicker { color: var(--berry); font-size: 19px; font-weight: 850; letter-spacing: .06em; }
.hero-copy .lead { max-width: 680px; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.phone-art { position: relative; width: min(100%, 340px); aspect-ratio: 9 / 16; margin: 0 auto; border: 10px solid #2F252B; border-radius: 42px; padding: 18px; background: linear-gradient(180deg, #FFF 0%, #FFF0F6 54%, #F7F3FF 100%); box-shadow: 0 32px 70px rgba(64, 42, 55, .2); overflow: hidden; }
.phone-art::before { content: ""; position: absolute; top: 9px; left: 50%; width: 94px; height: 18px; transform: translateX(-50%); border-radius: 99px; background: #2F252B; }
.phone-screen { margin-top: 20px; display: grid; gap: 14px; }
.phone-top { height: 130px; border-radius: 24px; background: var(--gradient); position: relative; overflow: hidden; }
.phone-top::after { content: "记录此刻"; position: absolute; left: 18px; bottom: 16px; color: #fff; font-weight: 850; font-size: 22px; }
.phone-card { display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.phone-thumb { aspect-ratio: 1; border-radius: 16px; background: linear-gradient(135deg, #FFD5E4, #DAD1FF); }
.phone-lines span { display: block; height: 8px; border-radius: 99px; background: #EEE5EA; margin: 7px 0; }
.phone-lines span:first-child { width: 72%; background: #E8C3D2; }
.hero-side { display: grid; gap: 18px; }
.mini-card, .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.mini-card { padding: 24px; }
.mini-card p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.card { padding: 28px; }
.card:hover { border-color: rgba(255, 93, 158, .28); }
.topic-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 14px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 4px 2px 16px; scrollbar-width: thin; }
.topic-chip { min-height: 142px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--border); }
.topic-chip h3 { font-size: 17px; margin-bottom: 7px; }
.topic-chip p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.magazine-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 20px; }
.story-card { position: relative; min-height: 250px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.story-card.featured { grid-row: span 2; min-height: 520px; background: linear-gradient(160deg, #FFE2EC 0%, #FFF 50%, #EAE4FF 100%); }
.story-card::before { content: ""; position: absolute; top: 22px; right: 22px; width: 82px; height: 82px; border-radius: 26px; background: linear-gradient(135deg, rgba(255,93,158,.22), rgba(140,118,232,.26)); transform: rotate(8deg); }
.story-card h3, .story-card p, .story-card a, .story-card .tags { position: relative; z-index: 1; }
.story-card p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: var(--pink-soft); color: var(--berry); font-size: 13px; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card p:last-child { margin-bottom: 0; }
.card .meta { color: var(--purple-deep); font-size: 13px; font-weight: 800; }
.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--coral), var(--purple)); }
.timeline-item { position: relative; padding: 22px 24px 22px 64px; background: #fff; border-radius: 20px; border: 1px solid var(--border); }
.timeline-item::before { content: ""; position: absolute; left: 13px; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 0 7px var(--pink-soft); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.split-panel { padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.split-panel.pink { background: linear-gradient(145deg, #FFF, #FFF0F6); }
.split-panel.purple { background: linear-gradient(145deg, #FFF, #F7F3FF); }
.check-list, .plain-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--pink-soft); color: var(--berry); font-size: 13px; font-weight: 900; }
.page-hero { padding: 72px 0 58px; background: radial-gradient(circle at 10% 0%, rgba(255,142,172,.18), transparent 28%), radial-gradient(circle at 90% 20%, rgba(140,118,232,.14), transparent 24%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); margin-bottom: 18px; }
.abstract-art { min-height: 250px; border-radius: 36px; position: relative; background: linear-gradient(135deg, #FFE2EC, #FFF, #EAE4FF); border: 1px solid var(--border); box-shadow: var(--shadow-strong); overflow: hidden; }
.abstract-art::before, .abstract-art::after { content: ""; position: absolute; border-radius: 34px; background: var(--gradient); opacity: .75; }
.abstract-art::before { width: 150px; height: 150px; left: 32px; top: 34px; transform: rotate(-10deg); }
.abstract-art::after { width: 100px; height: 100px; right: 28px; bottom: 28px; transform: rotate(18deg); }
.art-note { position: absolute; left: 54px; right: 42px; bottom: 38px; z-index: 2; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.88); color: var(--title); font-weight: 800; box-shadow: var(--shadow); }
.content-stack { display: grid; gap: 22px; }
.article-card { padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.article-card h2 { font-size: 27px; }
.article-card p:last-child { margin-bottom: 0; }
.numbered-grid { counter-reset: item; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.numbered-card { counter-increment: item; position: relative; padding: 30px 30px 30px 76px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.numbered-card::before { content: counter(item, decimal-leading-zero); position: absolute; left: 26px; top: 25px; color: var(--coral); font-size: 24px; font-weight: 900; }
.notice-box { padding: 24px 28px; border-radius: 20px; background: var(--purple-soft); border-left: 4px solid var(--purple); }
.notice-box strong { color: var(--purple-deep); }
.faq-list { display: grid; gap: 14px; }
details { border: 1px solid var(--border); border-radius: 18px; background: #fff; overflow: clip; }
summary { position: relative; cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; color: var(--title); font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 15px; color: var(--berry); font-size: 28px; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 22px; color: var(--muted); margin: 0; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-links a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--berry); font-weight: 800; }
.service-note { padding: 32px; border-radius: var(--radius); background: var(--gradient); color: #fff; box-shadow: var(--shadow-strong); }
.service-note h2, .service-note p { color: #fff; }
.feedback-grid { columns: 3 260px; column-gap: 20px; }
.feedback { break-inside: avoid; margin: 0 0 20px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.feedback::before { content: "“"; display: block; color: var(--coral); font-size: 50px; line-height: .7; font-weight: 900; }
.app-showcase { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-item { padding: 20px; border-radius: 18px; background: rgba(255,255,255,.86); border: 1px solid var(--border); }
.channel-panel { position: fixed; z-index: 1200; left: 0; right: 0; top: var(--chrome-height); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-18px); transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.channel-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.channel-sheet { max-height: calc(100vh - var(--chrome-height) - 20px); overflow-y: auto; padding: 26px; border-radius: 0 0 28px 28px; background: #fff; border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(55, 35, 46, .2); }
.channel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.channel-head h2 { margin: 0; font-size: 28px; }
.panel-close { width: 44px; height: 44px; border-radius: 50%; background: var(--gray-pink); color: var(--title); font-size: 28px; line-height: 1; }
.channel-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.channel-groups section { min-width: 0; }
.channel-groups h3 { font-size: 16px; margin-bottom: 10px; }
.channel-groups a { display: block; padding: 11px 12px; border-radius: 14px; }
.channel-groups a:hover { background: var(--pink-soft); }
.channel-groups strong, .channel-groups span { display: block; }
.channel-groups strong { color: var(--title); font-size: 15px; }
.channel-groups span { color: var(--muted); font-size: 12px; margin-top: 2px; }
.menu-backdrop { position: fixed; z-index: 1100; inset: 0; background: rgba(41, 28, 36, .28); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .22s ease, visibility .22s; }
.menu-backdrop.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.site-footer { background: var(--footer); color: var(--footer-text); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.footer-brand p { color: rgba(255,234,242,.72); max-width: 360px; }
.brand-footer { color: #fff; margin-bottom: 18px; }
.site-footer h2 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer section > a:not(.brand) { display: block; color: rgba(255,234,242,.75); margin: 7px 0; font-size: 14px; }
.site-footer section > a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 24px; color: rgba(255,234,242,.66); font-size: 13px; }
.footer-bottom p { margin: 0; }
.mobile-bottom-nav { display: none; }
@media (max-width: 980px) {
  :root { --chrome-height: 108px; }
  .desktop-nav, .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex; }
  .nav-row { min-height: 74px; grid-template-columns: 1fr auto 1fr; gap: 12px; }
  .nav-row > .channel-trigger { justify-self: start; padding: 0 12px; }
  .nav-actions { justify-self: end; }
  .brand-text { font-size: 18px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .hero-grid { grid-template-columns: 1fr 320px; }
  .hero-side { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .magazine-grid { grid-template-columns: 1fr 1fr; }
  .story-card.featured { grid-row: auto; grid-column: 1 / -1; min-height: 360px; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .channel-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --chrome-height: 104px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .notice-inner { min-height: 30px; font-size: 12px; }
  .notice-links a:first-child { display: none; }
  .notice-links { gap: 0; }
  .nav-row { min-height: 74px; }
  .nav-row > .channel-trigger span:last-child { display: none; }
  .nav-row > .channel-trigger { width: 44px; padding: 0; justify-content: center; }
  .brand img { max-width: 126px; }
  .brand-text { font-size: 17px; }
  .nav-actions .button { min-height: 44px; padding: 0 14px; }
  .section { padding: 58px 0; }
  .section-tight { padding: 42px 0; }
  .hero { padding: 58px 0 52px; }
  .hero-grid, .page-hero-grid, .app-showcase { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-actions { align-items: flex-start; }
  .phone-art { width: min(82vw, 300px); }
  .hero-side { grid-template-columns: 1fr; }
  .topic-strip { grid-auto-columns: 78%; }
  .magazine-grid, .card-grid, .card-grid.two, .card-grid.four, .split, .numbered-grid { grid-template-columns: 1fr; }
  .story-card.featured { grid-column: auto; min-height: 390px; }
  .page-hero { padding: 50px 0 42px; }
  .abstract-art { min-height: 220px; }
  .article-card, .split-panel, .card { padding: 24px; }
  .feature-list { grid-template-columns: 1fr; }
  .channel-panel { top: auto; bottom: 0; transform: translateY(100%); opacity: 1; }
  .channel-panel.is-open { transform: translateY(0); }
  .channel-sheet { width: 100%; max-height: 85vh; margin: 0; padding: 14px 16px calc(24px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; }
  .sheet-handle { width: 46px; height: 5px; display: block; margin: 0 auto 12px; border-radius: 99px; background: #D9CED4; }
  .channel-groups { grid-template-columns: 1fr; gap: 8px; }
  .channel-groups section { display: contents; }
  .channel-groups h3 { margin: 14px 0 4px; padding-left: 10px; color: var(--muted); }
  .channel-groups a { min-height: 54px; padding: 10px 12px; background: var(--gray-pink); margin-bottom: 4px; }
  .channel-groups span { display: none; }
  .site-footer { padding-bottom: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .mobile-bottom-nav { position: fixed; z-index: 900; left: 0; right: 0; bottom: 0; min-height: 68px; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.96); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(70,43,58,.1); backdrop-filter: blur(14px); }
  .mobile-bottom-nav a { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 14px; color: var(--muted); font-size: 12px; }
  .mobile-bottom-nav a span { font-size: 20px; line-height: 1; }
  .mobile-bottom-nav a strong { font-size: 12px; }
  .mobile-bottom-nav a.is-active { color: var(--berry); background: var(--pink-soft); }
  .feedback-grid { columns: 1; }
}
@media (max-width: 430px) {
  .brand { gap: 7px; }
  .brand-text { font-size: 16px; }
  .nav-actions .button { font-size: 13px; padding-inline: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Current secondary channel */
body[data-page="city"] .channel-panel a[href="city.php"],
body[data-page="diary"] .channel-panel a[href="diary.php"],
body[data-page="rules"] .channel-panel a[href="community-rules.php"],
body[data-page="download"] .channel-panel a[href="download.php"],
body[data-page="guide"] .channel-panel a[href="guide.php"],
body[data-page="notice"] .channel-panel a[href="notice.php"],
body[data-page="safety"] .channel-panel a[href="safety.php"],
body[data-page="privacy"] .channel-panel a[href="privacy.php"],
body[data-page="help"] .channel-panel a[href="help.php"],
body[data-page="faq"] .channel-panel a[href="faq.php"],
body[data-page="service"] .channel-panel a[href="service.php"],
body[data-page="contact"] .channel-panel a[href="contact.php"],
body[data-page="about"] .channel-panel a[href="about.php"],
body[data-page="terms"] .channel-panel a[href="terms.php"] {
  background: var(--pink-soft);
  box-shadow: inset 0 0 0 1px var(--border);
}
