 /* ===== 涪安码 - 安全生产举报平台 ===== */
 
 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   -webkit-tap-highlight-color: transparent;
 }
 
 :root {
   --primary: #C41E1E;
   --primary-dark: #8B0000;
   --primary-light: #E8543B;
   --gold: #D4A017;
   --gold-light: #F5E6B8;
   --bg: #F0F2F5;
   --card-bg: #FFFFFF;
   --text-primary: #1A1A1A;
   --text-secondary: #666666;
   --text-light: #999999;
   --border: #E8E8E8;
   --success: #28a745;
   --warning: #ffc107;
   --info: #17a2b8;
   --danger: #dc3545;
   --shadow: 0 2px 8px rgba(0,0,0,0.1);
   --radius: 8px;
   --bottom-nav-height: 56px;
   --header-height: 48px;
 }
 
 html, body {
   width: 100%;
   height: 100%;
   font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
   font-size: 14px;
   color: var(--text-primary);
   background: var(--bg);
   overflow: hidden;
   -webkit-font-smoothing: antialiased;
 }
 
 /* ===== 加载页 ===== */
 .splash-screen {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, var(--primary) 0%, #a51212 50%, var(--primary-dark) 100%);
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   z-index: 9999;
   animation: splashFadeOut 0.6s ease 2.2s forwards;
 }
 
 @keyframes splashFadeOut {
   from { opacity: 1; }
   to { opacity: 0; pointer-events: none; }
 }
 
 .splash-icon {
   margin-bottom: 20px;
   animation: splashBounce 0.8s ease;
 }
 
 @keyframes splashBounce {
   0% { transform: scale(0.3); opacity: 0; }
   60% { transform: scale(1.1); }
   100% { transform: scale(1); opacity: 1; }
 }
 
 .splash-logo {
   width: 80px;
   height: 80px;
   border-radius: 18px;
   background: #FFF;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 4px 20px rgba(0,0,0,0.2);
 }
 
 .logo-icon {
   font-size: 40px;
   color: var(--primary);
 }
 
 .splash-title {
   font-size: 32px;
   font-weight: 700;
   color: #FFF;
   letter-spacing: 6px;
   margin-bottom: 8px;
 }
 
 .splash-subtitle {
   font-size: 16px;
   color: rgba(255,255,255,0.9);
   letter-spacing: 4px;
   margin-bottom: 4px;
 }
 
 .splash-desc {
   font-size: 12px;
   color: rgba(255,255,255,0.7);
   letter-spacing: 2px;
 }
 
 /* ===== 主容器 ===== */
 .app-container {
   width: 100%;
   height: 100%;
   display: flex;
   flex-direction: column;
   max-width: 430px;
   margin: 0 auto;
   background: var(--bg);
   position: relative;
   overflow: hidden;
 }
 
 /* ===== 顶部导航栏 ===== */
 .header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   height: var(--header-height);
   padding: 0 16px;
   background: var(--primary);
   color: #FFF;
   flex-shrink: 0;
   z-index: 100;
 }
 
 .header-left {
   font-size: 13px;
   font-weight: 500;
   letter-spacing: 1px;
 }
 
 .header-title {
   font-size: 17px;
   font-weight: 600;
   letter-spacing: 3px;
 }
 
 .header-right {
   font-size: 18px;
 }
 
 /* ===== 内容区域 ===== */
 .content {
   flex: 1;
   overflow-y: auto;
   overflow-x: hidden;
   -webkit-overflow-scrolling: touch;
   padding-bottom: var(--bottom-nav-height);
 }
 
 .page {
   display: none;
   min-height: 100%;
 }
 
 .page.active {
   display: block;
 }
 
 /* ===== Banner 轮播 ===== */
 .banner-carousel {
   position: relative;
   width: 100%;
   height: 170px;
   overflow: hidden;
 }
 
 .banner-inner {
   display: flex;
   width: 100%;
   height: 100%;
   transition: transform 0.5s ease;
 }
 
 .banner-slide {
   min-width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 24px;
 }
 
 .banner-content {
   text-align: center;
   color: #FFF;
 }
 
 .banner-content h2 {
   font-size: 24px;
   font-weight: 700;
   letter-spacing: 4px;
   margin-bottom: 8px;
   text-shadow: 0 2px 4px rgba(0,0,0,0.3);
 }
 
 .banner-content p {
   font-size: 14px;
   letter-spacing: 2px;
   opacity: 0.95;
 }
 
 .banner-dots {
   position: absolute;
   bottom: 12px;
   left: 50%;
   transform: translateX(-50%);
   display: flex;
   gap: 8px;
 }
 
 .dot {
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: rgba(255,255,255,0.5);
   transition: all 0.3s;
 }
 
 .dot.active {
   width: 20px;
   border-radius: 3px;
   background: #FFF;
 }
 
 /* ===== 快捷统计 ===== */
 .quick-stats {
   display: flex;
   background: var(--card-bg);
   margin: -16px 12px 12px;
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   position: relative;
   z-index: 2;
   padding: 16px 8px;
 }
 
 .stat-item {
   flex: 1;
   text-align: center;
   border-right: 1px solid var(--border);
   padding: 0 4px;
 }
 
 .stat-item:last-child {
   border-right: none;
 }
 
 .stat-number {
   display: block;
   font-size: 20px;
   font-weight: 700;
   color: var(--primary);
   margin-bottom: 4px;
 }
 
 .stat-label {
   font-size: 12px;
   color: var(--text-secondary);
 }
 
 /* ===== 功能入口网格 ===== */
 .function-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 0;
   margin: 12px;
   background: var(--card-bg);
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   padding: 12px 0;
 }
 
 .func-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 8px;
   padding: 8px 0;
   cursor: pointer;
   transition: transform 0.15s;
 }
 
 .func-item:active {
   transform: scale(0.95);
 }
 
 .func-icon {
   width: 48px;
   height: 48px;
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 22px;
 }
 
 .func-report {
   background: linear-gradient(135deg, #FFE8E8, #FFD0D0);
   color: var(--primary);
 }
 .func-query {
   background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
   color: #1565C0;
 }
 .func-policy {
   background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
   color: #E65100;
 }
 .func-mine {
   background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
   color: #2E7D32;
 }
 
 .func-label {
   font-size: 12px;
   color: var(--text-primary);
   font-weight: 500;
 }
 
 /* ===== 通知公告 ===== */
 .section {
   margin: 12px;
   background: var(--card-bg);
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   padding: 16px;
 }
 
 .section-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 12px;
 }
 
 .section-title {
   font-size: 15px;
   font-weight: 600;
 }
 
 .section-more {
   font-size: 12px;
   color: var(--text-light);
   text-decoration: none;
 }
 
 .announcement-list {
   display: flex;
   flex-direction: column;
   gap: 10px;
 }
 
 .announcement-item {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 8px 0;
   border-bottom: 1px solid var(--border);
   text-decoration: none;
   color: var(--text-primary);
 }
 
 .announcement-item:last-child {
   border-bottom: none;
   padding-bottom: 0;
 }
 
 .ann-tag {
   flex-shrink: 0;
   padding: 2px 6px;
   border-radius: 3px;
   font-size: 10px;
   background: #E8E8E8;
   color: var(--text-secondary);
   font-weight: 500;
 }
 
 .tag-important {
   background: var(--primary);
   color: #FFF;
 }
 .tag-hot {
   background: var(--danger);
   color: #FFF;
 }
 .tag-new {
   background: var(--gold);
   color: #FFF;
 }
 
 .ann-title {
   flex: 1;
   font-size: 13px;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
 }
 
 .ann-date {
   flex-shrink: 0;
   font-size: 11px;
   color: var(--text-light);
 }
 
 /* ===== 首页底部 ===== */
 .home-footer {
   padding: 24px 16px;
   text-align: center;
 }
 
 .home-footer p {
   font-size: 11px;
   color: var(--text-light);
   line-height: 1.8;
 }
 
 /* ===== 页面通用头部 ===== */
 .page-header {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 12px 16px;
   background: var(--card-bg);
   border-bottom: 1px solid var(--border);
   position: sticky;
   top: 0;
   z-index: 10;
 }
 
 .back-btn {
   background: none;
   border: none;
   font-size: 14px;
   color: var(--primary);
   cursor: pointer;
   padding: 4px 0;
   font-weight: 500;
 }
 
 .page-header h2 {
   font-size: 16px;
   font-weight: 600;
 }
 
 .page-body {
   padding: 12px 16px;
   padding-bottom: 40px;
 }
 
 /* ===== 举报须知 ===== */
 .notice-box {
   background: #FFF8E1;
   border: 1px solid #FFE082;
   border-radius: var(--radius);
   padding: 14px;
   margin-bottom: 20px;
 }
 
 .notice-title {
   font-size: 14px;
   font-weight: 600;
   color: #E65100;
   margin-bottom: 8px;
 }
 
 .notice-content p {
   font-size: 12px;
   color: #795548;
   line-height: 1.8;
 }
 
 /* ===== 表单组件 ===== */
 .form-group {
   margin-bottom: 18px;
 }
 
 .form-label {
   display: block;
   font-size: 14px;
   font-weight: 500;
   color: var(--text-primary);
   margin-bottom: 8px;
 }
 
 .form-label.required::after {
   content: " *";
   color: var(--danger);
 }
 
 .form-label-checkbox {
   display: flex;
   align-items: center;
   gap: 8px;
   cursor: pointer;
   font-size: 14px;
 }
 
 .checkbox-label {
   font-weight: 500;
 }
 
 .form-hint {
   font-size: 12px;
   color: var(--text-light);
   margin-top: 4px;
   padding-left: 24px;
 }
 
 .form-input, .form-textarea {
   width: 100%;
   padding: 10px 14px;
   border: 1px solid var(--border);
   border-radius: var(--radius);
   font-size: 14px;
   color: var(--text-primary);
   background: var(--card-bg);
   outline: none;
   transition: border-color 0.2s;
   font-family: inherit;
 }
 
 .form-input:focus,
 .form-textarea:focus {
   border-color: var(--primary);
 }
 
 .form-textarea {
   resize: none;
   min-height: 100px;
 }
 
 .char-count {
   display: block;
   text-align: right;
   font-size: 11px;
   color: var(--text-light);
   margin-top: 4px;
 }
 
 /* ===== 举报类别选择 ===== */
 .category-select {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 8px;
 }
 
 .category-option {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 12px;
   border: 1.5px solid var(--border);
   border-radius: var(--radius);
   cursor: pointer;
   transition: all 0.2s;
   font-size: 13px;
 }
 
 .category-option.selected {
   border-color: var(--primary);
   background: #FFF5F5;
   color: var(--primary);
 }
 
 .category-option:active {
   transform: scale(0.97);
 }
 
 .cat-icon {
   font-size: 18px;
 }
 
 /* ===== 三级联动下拉 ===== */
 .location-select {
   display: flex;
   gap: 8px;
 }
 
 .location-select select {
   flex: 1;
   padding: 10px 8px;
   border: 1px solid var(--border);
   border-radius: var(--radius);
   font-size: 12px;
   color: var(--text-primary);
   background: var(--card-bg);
   outline: none;
   appearance: auto;
 }
 
 .location-select select:focus {
   border-color: var(--primary);
 }
 
 /* ===== 图片上传 ===== */
 .upload-area {
   position: relative;
 }
 
 .upload-placeholder {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 4px;
   width: 80px;
   height: 80px;
   border: 1.5px dashed var(--border);
   border-radius: var(--radius);
   cursor: pointer;
   transition: border-color 0.2s;
   font-size: 11px;
   color: var(--text-light);
 }
 
 .upload-placeholder:active {
   border-color: var(--primary);
 }
 
 .upload-icon {
   font-size: 24px;
 }
 
 .upload-hint {
   font-size: 9px;
 }
 
 .preview-grid {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   margin-top: 8px;
 }
 
 .preview-item {
   width: 80px;
   height: 80px;
   border-radius: var(--radius);
   overflow: hidden;
   position: relative;
   border: 1px solid var(--border);
 }
 
 .preview-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
 }
 
 .preview-remove {
   position: absolute;
   top: -6px;
   right: -6px;
   width: 20px;
   height: 20px;
   border-radius: 50%;
   background: var(--danger);
   color: #FFF;
   border: 2px solid #FFF;
   font-size: 12px;
   line-height: 16px;
   text-align: center;
   cursor: pointer;
 }
 
 /* ===== 提交按钮 ===== */
 .submit-btn {
   width: 100%;
   padding: 14px;
   background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
   color: #FFF;
   border: none;
   border-radius: var(--radius);
   font-size: 16px;
   font-weight: 600;
   letter-spacing: 4px;
   cursor: pointer;
   transition: opacity 0.2s;
   box-shadow: 0 4px 12px rgba(196, 30, 30, 0.3);
 }
 
 .submit-btn:active {
   opacity: 0.9;
 }
 
 /* ===== 查询页 ===== */
 .query-card {
   background: var(--card-bg);
   border-radius: var(--radius);
   padding: 24px 20px;
   box-shadow: var(--shadow);
   text-align: center;
 }
 
 .query-icon {
   font-size: 40px;
   margin-bottom: 12px;
 }
 
 .query-desc {
   font-size: 13px;
   color: var(--text-secondary);
   margin-bottom: 20px;
 }
 
 .query-card .form-group {
   text-align: left;
 }
 
 .query-result {
   margin-top: 16px;
   background: var(--card-bg);
   border-radius: var(--radius);
   padding: 20px;
   box-shadow: var(--shadow);
 }
 
 .result-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 20px;
 }
 
 .result-header h3 {
   font-size: 15px;
   font-weight: 600;
 }
 
 .result-status {
   font-size: 12px;
   padding: 4px 10px;
   border-radius: 12px;
   font-weight: 500;
 }
 
 .status-pending {
   background: #FFF3CD;
   color: #856404;
 }
 .status-investigating {
   background: #CCE5FF;
   color: #004085;
 }
 .status-completed {
   background: #D4EDDA;
   color: #155724;
 }
 
 .result-timeline {
   position: relative;
   padding-left: 24px;
 }
 
 .result-timeline::before {
   content: '';
   position: absolute;
   left: 8px;
   top: 4px;
   bottom: 4px;
   width: 2px;
   background: var(--border);
 }
 
 .timeline-item {
   position: relative;
   padding-bottom: 20px;
 }
 
 .timeline-item:last-child {
   padding-bottom: 0;
 }
 
 .timeline-dot {
   position: absolute;
   left: -20px;
   top: 4px;
   width: 12px;
   height: 12px;
   border-radius: 50%;
   background: var(--border);
   border: 2px solid #FFF;
   z-index: 1;
 }
 
 .timeline-item.active .timeline-dot {
   background: var(--primary);
   box-shadow: 0 0 0 3px rgba(196, 30, 30, 0.2);
 }
 
 .timeline-content {
   display: flex;
   flex-direction: column;
   gap: 2px;
 }
 
 .timeline-title {
   font-size: 13px;
   font-weight: 500;
   color: var(--text-secondary);
 }
 
 .timeline-item.active .timeline-title {
   color: var(--text-primary);
   font-weight: 600;
 }
 
 .timeline-date {
   font-size: 11px;
   color: var(--text-light);
 }
 
 /* ===== 政策法规 ===== */
 .policy-list {
   display: flex;
   flex-direction: column;
   gap: 10px;
 }
 
 .policy-item {
   background: var(--card-bg);
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   overflow: hidden;
 }
 
 .policy-header {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 14px 16px;
   cursor: pointer;
   list-style: none;
   user-select: none;
 }
 
 .policy-header::-webkit-details-marker {
   display: none;
 }
 
 .policy-cat {
   font-size: 10px;
   padding: 2px 6px;
   border-radius: 3px;
   background: var(--primary);
   color: #FFF;
   flex-shrink: 0;
 }
 
 .policy-title {
   flex: 1;
   font-size: 14px;
   font-weight: 500;
 }
 
 .policy-arrow {
   font-size: 10px;
   color: var(--text-light);
   transition: transform 0.2s;
 }
 
 details[open] .policy-arrow {
   transform: rotate(180deg);
 }
 
 .policy-body {
   padding: 0 16px 16px;
   border-top: 1px solid var(--border);
   padding-top: 12px;
 }
 
 .policy-body p {
   font-size: 13px;
   color: var(--text-secondary);
   line-height: 1.8;
   margin-bottom: 8px;
 }
 
 /* ===== 我的举报 ===== */
 .tab-bar {
   display: flex;
   background: var(--card-bg);
   border-radius: var(--radius);
   overflow: hidden;
   margin-bottom: 16px;
   border: 1px solid var(--border);
 }
 
 .tab-item {
   flex: 1;
   padding: 10px 0;
   text-align: center;
   font-size: 13px;
   cursor: pointer;
   color: var(--text-secondary);
   transition: all 0.2s;
   border-right: 1px solid var(--border);
 }
 
 .tab-item:last-child {
   border-right: none;
 }
 
 .tab-item.active {
   background: var(--primary);
   color: #FFF;
   font-weight: 500;
 }
 
 .report-list {
   display: flex;
   flex-direction: column;
   gap: 10px;
 }
 
 .report-card {
   background: var(--card-bg);
   border-radius: var(--radius);
   padding: 14px;
   box-shadow: var(--shadow);
 }
 
 .report-top {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 8px;
 }
 
 .report-id {
   font-size: 12px;
   color: var(--text-light);
 }
 
 .report-status {
   font-size: 11px;
   padding: 2px 8px;
   border-radius: 10px;
   font-weight: 500;
 }
 
 .report-desc {
   font-size: 14px;
   color: var(--text-primary);
   margin-bottom: 8px;
   line-height: 1.5;
 }
 
 .report-meta {
   display: flex;
   gap: 16px;
   font-size: 11px;
   color: var(--text-light);
 }
 
 /* ===== 底部导航栏 ===== */
 .bottom-nav {
   display: flex;
   position: fixed;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 100%;
   max-width: 430px;
   height: var(--bottom-nav-height);
   background: var(--card-bg);
   border-top: 1px solid var(--border);
   z-index: 200;
   padding-bottom: env(safe-area-inset-bottom, 0);
 }
 
 .nav-item {
   flex: 1;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 2px;
   cursor: pointer;
   transition: color 0.2s;
   color: var(--text-light);
 }
 
 .nav-item.active {
   color: var(--primary);
 }
 
 .nav-icon {
   font-size: 20px;
   line-height: 1;
 }
 
 .nav-label {
   font-size: 10px;
   line-height: 1;
 }
 
 /* ===== 模态框 ===== */
 .modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(0,0,0,0.5);
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 999;
   animation: fadeIn 0.2s;
 }
 
 @keyframes fadeIn {
   from { opacity: 0; }
   to { opacity: 1; }
 }
 
 .modal-content {
   background: var(--card-bg);
   border-radius: 16px;
   padding: 32px 24px 24px;
   width: 85%;
   max-width: 320px;
   text-align: center;
   animation: modalSlideIn 0.3s ease;
 }
 
 @keyframes modalSlideIn {
   from { transform: translateY(20px); opacity: 0; }
   to { transform: translateY(0); opacity: 1; }
 }
 
 .modal-icon {
   width: 56px;
   height: 56px;
   border-radius: 50%;
   background: #D4EDDA;
   color: var(--success);
   font-size: 28px;
   line-height: 56px;
   margin: 0 auto 16px;
 }
 
 .modal-title {
   font-size: 18px;
   font-weight: 600;
   margin-bottom: 12px;
 }
 
 .modal-desc {
   font-size: 14px;
   color: var(--text-secondary);
   margin-bottom: 4px;
 }
 
 .modal-id {
   font-size: 22px;
   font-weight: 700;
   color: var(--primary);
   margin-bottom: 8px;
   letter-spacing: 2px;
 }
 
 .modal-hint {
   font-size: 12px;
   color: var(--text-light);
   margin-bottom: 20px;
 }
 
 .modal-btn {
   width: 100%;
   padding: 12px;
   background: var(--primary);
   color: #FFF;
   border: none;
   border-radius: var(--radius);
   font-size: 15px;
   font-weight: 500;
   cursor: pointer;
 }
 
 /* ===== 滚动条 ===== */
 .content::-webkit-scrollbar {
   width: 0;
 }
 
 /* ===== 响应式 ===== */
 @media (max-width: 430px) {
   .app-container {
     max-width: 100%;
   }
   .bottom-nav {
     max-width: 100%;
   }
 }
 
 @media (min-width: 431px) {
   .app-container {
     border-left: 1px solid var(--border);
     border-right: 1px solid var(--border);
   }
 }
