body { background-color: #fff; } .container { display: flex; flex-direction: column; height: 100vh; } /* 自定义头部统一风格 */ .custom-header { position: fixed; top: 0; left: 0; width: 100%; height: 2.75rem; padding-top: var(--status-bar-height); background-color: #fff; display: flex; align-items: center; justify-content: space-between; padding-left: 0.9375rem; padding-right: 0.9375rem; box-sizing: content-box; z-index: 100; border-bottom: 0.03125rem solid #f5f5f5; } .header-placeholder { height: calc(2.75rem + var(--status-bar-height)); flex-shrink: 0; } .back-icon { width: 1.25rem; height: 1.25rem; } .header-title { font-size: 1rem; font-weight: bold; color: #333; } .header-right { width: 1.25rem; } .content-scroll { flex: 1; overflow: hidden; } .content-card { padding: 0.9375rem 1.25rem; line-height: 1.6; } .rich-text { font-size: 0.875rem; color: #333; } .safe-area-inset-bottom { height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom); }