/* Public experience: compact material cards, editorial content and a floating navigation. */
:root {
  --bg: #f8f9fb;
  --ink: #18223a;
  --muted: #5f6878;
  --blue: #2458d3;
  --blue-dark: #1745b5;
  --line: #e1e5ed;
  --glass: rgba(255,255,255,.85);
}
html { scroll-padding-top: 106px; }
body { background: var(--bg); }
.container { width: min(1160px,calc(100% - 64px)); }
.header {
  position: sticky; top: 16px; width: min(1216px,calc(100% - 40px));
  margin: 16px auto 0; border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px; background: var(--glass);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  backdrop-filter: saturate(160%) blur(24px);
  box-shadow: 0 2px 5px #25365205,0 10px 34px #2536520d,inset 0 0 0 1px #25365207;
}
.header-inner { min-height: 68px; width: auto; padding: 8px 20px; gap: 22px; }
.header .header-inner { width: auto; margin: 0; }
.brand { gap: 7px; }
.brand-mark { width: 32px; height: 32px; }
.brand-wordmark { width: 72px; height: 34px; }
.brand-sub { font-size: 12px; font-weight: 500; margin-left: 7px; padding-left: 14px; }
.desktop-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: #4e586a; }
.desktop-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .button { min-height: 42px; font-size: 12px; padding: 10px 17px; }
.header-actions .manage-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
.mobile-menu { display: none; }
.hero { background: radial-gradient(ellipse at 80% 20%,#e6edf8 0,transparent 64%); overflow: visible; }
.hero-inner { grid-template-columns: 1fr 1.06fr; gap: 64px; padding-block: 70px 64px; }
.hero-copy h1 { font-size: clamp(40px,4.25vw,60px); line-height: 1.24; letter-spacing: -.055em; margin: 22px 0; }
.hero-copy .lead { font-size: 16px; line-height: 1.9; color: var(--muted); }
.hero-actions { margin-top: 26px; gap: 24px; }
.hero-assurance { display: flex; gap: 12px; align-items: center; color: #657087; font-size: 12px; margin-top: 20px; }
.hero-assurance>span:first-child { color: var(--blue); font-size: 15px; }
.hero-scene { position: relative; margin: 0; padding: 10px; background: #ffffffb8; border: 1px solid #fff; border-radius: 24px; box-shadow: 0 16px 48px -24px #19345d40; }
.hero-scene>img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; border-radius: 16px; }
.hero-scene figcaption { padding: 15px 12px 8px; }
.hero-scene figcaption span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .08em; margin-bottom: 4px; }
.hero-scene figcaption strong { font-size: 14px; font-weight: 550; }
.eyebrow { color: #68768b; font-size: 12px; font-weight: 500; }
.section-heading h2 { font-size: clamp(26px,3vw,36px); line-height: 1.4; }
.section-heading .eyebrow { margin-bottom: 9px; }
.activity-section { padding-block: 28px 64px; }
.section-count { color: #68768b; }
.toolbar { margin-bottom: 22px; }
.filter-tabs { background: #e9edf3; border-radius: 14px; padding: 4px; gap: 2px; }
.filter-tabs button { border-radius: 10px; min-height: 44px; font-size: 13px; padding-inline: 18px; }
.filter-tabs button.active { box-shadow: 0 1px 4px #18223a12; }
.search-box { border-radius: 14px; background: #fff; width: 260px; min-height: 52px; }
.event-grid { gap: 22px; }
.event-card {
  display: grid; grid-template-columns: minmax(0,1fr) 144px;
  grid-template-rows: 1fr auto; gap: 0 20px; padding: 26px;
  border-radius: 20px; border: 1px solid #e0e5ee; background: #fff;
  box-shadow: 0 2px 4px #18223a02; transition: border-color 180ms,box-shadow 180ms;
}
.event-card:hover { border-color: #b7c6e3; box-shadow: 0 8px 24px #18223a08; transform: none; }
.event-card-content { padding: 0; min-width: 0; }
.event-card .meta { gap: 9px; min-height: 26px; font-size: 11px; }
.event-card .pill { padding: 4px 8px; font-weight: 500; font-size: 10px; }
.event-card .recommend { font-size: 10px; }
.event-card h3 { font-size: 21px; line-height: 1.5; margin: 12px 0 10px; min-height: 0; letter-spacing: -.03em; text-wrap: pretty; }
.event-card-content>p { min-height: 0; margin: 0; font-size: 13px; line-height: 1.85; color: var(--muted); }
.event-art {
  position: relative; width: 144px; height: 192px; min-height: 0;
  display: block; align-self: start; padding: 0; overflow: hidden;
  border-radius: 12px; background: #edf1f7;
}
.event-card:nth-child(even) .event-art { background: #f3f1e9; }
/* Definite image bounds avoid Safari grid intrinsic-size overflow. */
.event-art img {
  position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px);
  max-width: none; max-height: none; object-fit: contain; object-position: center;
  box-shadow: none; border-radius: 3px; transform: none;
}
.event-card-bottom { grid-column: 1/-1; margin-top: 22px; padding-top: 14px; border-color: #edf0f5; }
.event-card-bottom .text-link { font-size: 14px; font-weight: 550; }
.event-card-bottom>span { font-size: 11px; }
.guide-section { padding-block: 8px 64px; }
.guide-section .section-heading { margin-bottom: 24px; }
.guide-grid { gap: 36px; padding-top: 26px; }
.guide-grid li>span { font-size: 12px; }
.guide-grid h3 { font-size: 18px; margin-bottom: 9px; }
.guide-grid p { font-size: 13px; }
.stories-section { padding-block: 56px 64px; border-top: 1px solid var(--line); }
.story-layout { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 64px; }
.story-photo { margin: 0; min-width: 0; }
.story-photo img { width: 100%; height: auto; aspect-ratio: 5/3; object-fit: cover; border-radius: 18px; }
.story-photo figcaption { margin-top: 12px; font-size: 11px; color: var(--muted); }
.story-date { font-size: 11px; color: var(--blue); letter-spacing: .05em; }
.story-copy h3 { font-size: 30px; line-height: 1.45; margin: 15px 0 18px; }
.story-copy p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.story-links { display: flex; flex-direction: column; }
.story-links>a { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); min-height: 52px; font-size: 13px; }
.story-links>a:hover { color: var(--blue); }
.story-archive { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 24px; margin-top: 28px; }
.story-archive>a { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.story-archive img { width: 68px; height: 85px; object-fit: contain; border-radius: 8px; background: #edf1f7; }
.story-archive span { flex: 1; }
.story-archive small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 6px; }
.story-archive strong { font-size: 14px; font-weight: 500; }
.story-archive>a:hover { color: var(--blue); }
.journal-section { padding-block: 24px 64px; }
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 24px; }
.journal-card { min-width: 0; border-top: 1px solid #d5dce8; padding-top: 18px; }
.journal-image { position: relative; height: 170px; border-radius: 12px; overflow: hidden; background: #e7edf7; margin-bottom: 20px; }
.journal-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.journal-card h3 { font-size: 20px; line-height: 1.55; margin: 13px 0 12px; }
.journal-card p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.journal-card .text-link { font-size: 13px; }
.journal-card:hover h3 { color: var(--blue); }
.section-source { color: var(--muted); font-size: 11px; margin: 22px 0 0; }
.journal-fallback { display: flex; flex-direction: column; gap: 18px; border-block: 1px solid var(--line); padding: 30px 0; }
.journal-fallback span { font-size: 13px; color: var(--muted); }
.journal-fallback strong { font-size: 20px; font-weight: 500; }
.connect-section { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; padding-block: 58px 64px; border-top: 1px solid var(--line); }
.connect-intro h2 { font-size: 36px; line-height: 1.4; margin: 15px 0 20px; }
.connect-intro p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.social-grid { display: flex; flex-direction: column; gap: 12px; }
.social-card { border: 1px solid #dfe5ee; border-radius: 16px; background: #fff; }
.social-card summary,.contact-fallback { display: flex; align-items: center; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer; min-height: 88px; }
.social-card summary::-webkit-details-marker { display: none; }
.social-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; background: #edf2ff; color: var(--blue); font-size: 19px; font-weight: 600; }
.wechat-symbol { background: #edf6f0; color: #277b4a; }
.douyin-symbol { background: #edf0f7; color: #27364b; }
.social-card strong { display: block; font-size: 15px; font-weight: 550; }
.social-card small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.social-open { margin-left: auto; color: #8790a1; font-size: 20px; transition: transform 180ms; }
.social-card[open] .social-open { transform: rotate(45deg); }
.social-panel { border-top: 1px solid #edf0f5; padding: 24px; text-align: center; }
.social-panel img { width: 200px; max-width: 100%; height: auto; margin: 0 auto 18px; -webkit-user-select: auto; user-select: auto; }
.social-panel .douyin-code { width: 230px; border-radius: 8px; }
.social-panel p { font-size: 12px; color: var(--muted); line-height: 1.85; }
.social-panel .text-link,.social-panel .text-action { font-size: 12px; display: flex; justify-content: center; margin-inline: auto; }
.contact-fallback>svg { margin-left: auto; }
.faq-section { padding-block: 24px 64px; }
.section-intro h2 { font-size: 30px; }
.footer { background: #eef1f6; border-top: 1px solid #e3e8ef; }
.footer-bottom { border-color: #dce2ec; }
.poster-original-link { display: block; padding-block: 12px; min-height: 44px; color: var(--blue); font-size: 12px; }
.detail-cover,.poster-image { background: #edf1f7; }
.header ~ .preview-banner { margin-top: 16px; }
.admin-title { top: 100px; }
.detail-sidebar { top: 116px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header { background: #fafbfd; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero-scene { animation: appear 480ms var(--ease); }
}
@media (max-width: 1080px) {
  .brand-sub { display: none; }
  .desktop-nav { gap: 18px; }
  .hero-inner { gap: 32px; }
  .hero-copy h1 { font-size: 46px; }
  .event-card { padding: 22px; grid-template-columns: minmax(0,1fr) 118px; gap: 0 18px; }
  .event-art { width: 118px; height: 158px; }
  .event-card h3 { font-size: 19px; }
  .story-layout { gap: 40px; }
  .connect-section { gap: 40px; }
}
@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; list-style: none; cursor: pointer; border-radius: 12px; background: #e9edf3b0; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 17px; height: 1.5px; background: #26324a; transition: transform 180ms; }
  .mobile-menu[open] summary span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .mobile-menu[open] summary span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; top: calc(100% + 10px); right: 0; left: 0; padding: 12px; border-radius: 20px; border: 1px solid #dfe5ee; background: rgba(250,252,255,.97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 16px 48px #17294b1a; }
  .mobile-menu nav a { display: flex; min-height: 48px; align-items: center; padding: 12px 16px; font-size: 14px; border-radius: 10px; }
  .mobile-menu nav a:hover { background: #e9effa; color: var(--blue); }
  .hero-inner { gap: 26px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-copy .lead { font-size: 14px; }
  .hero-actions { gap: 16px; flex-wrap: wrap; }
  .hero-actions .text-link { font-size: 13px; }
  .event-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: minmax(0,1fr) 136px; padding: 26px; }
  .event-art { width: 136px; height: 181px; }
  .journal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .connect-section { grid-template-columns: 1fr 1.3fr; gap: 30px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 96px; }
  .container { width: calc(100% - 40px); }
  .header { top: max(10px,env(safe-area-inset-top)); margin-top: max(10px,env(safe-area-inset-top)); width: calc(100% - 24px); border-radius: 18px; }
  .header-inner { min-height: 60px; padding: 7px 10px 7px 13px; gap: 8px; }
  .brand { gap: 5px; }
  .brand-mark { width: 27px; height: 30px; }
  .brand-wordmark { width: 65px; height: 32px; }
  .header-actions { gap: 7px; }
  .header-actions .button { min-height: 44px; padding: 9px 13px; font-size: 11px; }
  .header-actions .manage-link { display: none; }
  .header-actions .button[data-sign-out] { padding-inline: 12px; }
  .mobile-menu summary { width: 40px; height: 44px; }
  .hero-inner { display: block; padding-block: 36px 30px; }
  .hero-copy h1 { font-size: clamp(32px,8.8vw,41px); line-height: 1.26; margin: 16px 0; }
  .hero-copy .lead { font-size: 14px; line-height: 1.9; margin-bottom: 0; }
  .hero-actions { margin-top: 22px; gap: 21px; flex-wrap: nowrap; }
  .hero-actions .button { font-size: 13px; padding: 11px 18px; min-height: 46px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-assurance { margin-top: 15px; font-size: 10px; gap: 9px; }
  .hero-scene { display: none; }
  .activity-section { padding-block: 8px 38px; }
  .section-heading { gap: 12px; margin-bottom: 20px; align-items: center; }
  .section-heading h2 { font-size: 25px; line-height: 1.4; letter-spacing: -.04em; }
  .section-heading .eyebrow { font-size: 10px; margin-bottom: 7px; }
  .section-count { font-size: 10px; white-space: nowrap; }
  .toolbar { gap: 12px; margin-bottom: 16px; }
  .filter-tabs { width: 100%; border-radius: 13px; }
  .filter-tabs button { flex: 1; font-size: 12px; padding: 9px 10px; min-height: 42px; }
  .search-box { width: 100%; min-height: 46px; padding-block: 7px; }
  .search-box input { font-size: 16px; }
  .event-grid { gap: 16px; }
  .event-card { padding: 20px; grid-template-columns: minmax(0,1fr) 90px; grid-template-rows: auto auto auto auto; gap: 0 16px; border-radius: 18px; }
  .event-card-content { display: contents; }
  .event-card .meta,.event-card h3 { grid-column: 1; }
  .event-art { grid-column: 2; grid-row: 1/3; width: 90px; height: 120px; border-radius: 9px; margin-top: 2px; }
  .event-art img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); border-radius: 2px; }
  .event-card .meta { gap: 7px; font-size: 10px; }
  .event-card .recommend { display: none; }
  .event-card h3 { font-size: 18px; line-height: 1.5; margin: 10px 0; }
  .event-card-content>p { grid-column: 1/-1; font-size: 13px; line-height: 1.85; margin-top: 13px; }
  .event-card-bottom { margin-top: 17px; padding-top: 10px; gap: 10px; }
  .event-card-bottom>span { font-size: 11px; }
  .event-card-bottom .text-link { font-size: 13px; min-height: 44px; }
  .guide-section { padding-block: 8px 36px; }
  .guide-grid { display: grid; gap: 0; padding: 0; }
  .guide-grid li { grid-template-columns: 28px 1fr; gap: 0 13px; padding-block: 18px; }
  .guide-grid h3 { font-size: 17px; margin-bottom: 7px; }
  .guide-grid p { font-size: 12px; }
  .stories-section { padding-block: 34px 38px; }
  .stories-section .section-heading,.journal-section .section-heading { align-items: start; }
  .stories-section .section-heading h2 { max-width: 10em; }
  .stories-section .section-heading>.text-link,.journal-section .section-heading>.text-link { flex-shrink: 0; font-size: 11px; margin-top: 17px; }
  .story-layout { grid-template-columns: 1fr; gap: 22px; }
  .story-photo img { border-radius: 12px; }
  .story-photo figcaption { font-size: 10px; margin-top: 9px; }
  .story-date { font-size: 10px; }
  .story-copy h3 { font-size: 25px; margin: 11px 0 15px; }
  .story-copy p { font-size: 13px; }
  .story-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .story-links>a { font-size: 12px; }
  .journal-section { padding-block: 4px 38px; }
  .journal-grid { grid-template-columns: 1fr; gap: 24px; }
  .journal-card { display: grid; grid-template-columns: 88px 1fr; gap: 16px; }
  .journal-image { height: 108px; border-radius: 9px; margin-bottom: 0; }
  .journal-content { min-width: 0; }
  .journal-card:not(:has(.journal-image)) { display: block; }
  .journal-card h3 { font-size: 18px; margin: 7px 0 9px; }
  .journal-card p { font-size: 12px; line-height: 1.85; margin-bottom: 6px; }
  .journal-content .eyebrow { font-size: 10px; }
  .section-source { font-size: 10px; }
  .connect-section { grid-template-columns: 1fr; gap: 18px; padding-block: 34px 40px; }
  .connect-intro h2 { font-size: 28px; margin-block: 12px; }
  .connect-intro h2 br { display: none; }
  .connect-intro p { font-size: 12px; margin-bottom: 0; }
  .social-card summary,.contact-fallback { padding: 16px; gap: 13px; min-height: 82px; }
  .social-symbol { width: 38px; height: 38px; font-size: 17px; border-radius: 11px; }
  .social-card strong { font-size: 14px; }
  .social-card small { font-size: 10px; }
  .social-panel { padding: 22px 16px; }
  .social-panel img { width: 190px; }
  .faq-section { padding-block: 8px 44px; gap: 0; }
  .section-intro h2 { font-size: 25px; }
  .faq-list summary { font-size: 13px; min-height: 64px; gap: 18px; }
  .faq-answer p { font-size: 12px; }
  .footer { padding-top: 28px; }
  .footer-brand p { font-size: 11px; }
  .footer-bottom span { font-size: 10px; }
  .event-heading h1 { font-size: 29px; }
  .event-heading-copy>p { font-size: 14px; }
  .breadcrumb { padding-block: 22px; }
  .materials-toolbar .filter-tabs { width: 100%; }
  .copy-card-head h3 { font-size: 18px; }
  .copy-body { font-size: 15px; }
  .admin-title { top: 82px; }
  .mobile-material-bar { padding: 10px 16px max(10px,env(safe-area-inset-bottom)); -webkit-backdrop-filter: blur(18px); }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .hero-copy h1 { font-size: 32px; }
  .hero-actions { gap: 14px; }
  .hero-actions .button { padding-inline: 16px; font-size: 12px; }
  .hero-actions .text-link { font-size: 11px; }
  .section-heading h2 { font-size: 22px; }
  .section-count { display: none; }
  .event-card { padding: 17px; grid-template-columns: minmax(0,1fr) 74px; gap: 0 13px; }
  .event-art { width: 74px; height: 99px; }
  .event-card h3 { font-size: 17px; }
  .event-card-content>p { font-size: 13px; }
  .event-card-bottom .text-link { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scene,.social-open,.mobile-menu summary span { animation: none; transition: none; }
}
