/* ========================================
   手机端响应式样式
   适配各种移动设备
   ======================================== */

/* ========================================
   1. 基础布局调整
   ======================================== */
@media (max-width: 768px) {
  /* 取消最小宽度限制 */
  body {
    min-width: 100%;
    font-size: 14px;
  }

  .container {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* 隐藏桌面端导航菜单，显示移动端菜单按钮 */
  .nav-menu {
    display: none;
  }

  .nav-wrapper {
    height: 56px;
  }

  .logo {
    font-size: 18px;
    margin-right: 0;
  }

  .user-name {
    font-size: 12px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logout-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* 移动端汉堡菜单按钮 */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
  }

  /* 移动端下拉菜单 */
  .mobile-menu {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #dc2626, #b91c1c);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }

  .mobile-menu.show,
  .mobile-menu.active {
    display: block;
  }

  .mobile-menu a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu a:hover,
  .mobile-menu a.active {
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
  }
}

/* ========================================
   2. 首页轮播区域
   ======================================== */
@media (max-width: 768px) {
  .banner-section {
    padding: 16px 0;
  }

  .banner-slide {
    height: 160px;
  }

  .banner-gradient-slide {
    padding: 0 20px;
  }

  .banner-content h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .banner-content p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .banner-btn {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 20px;
  }

  /* 装饰元素缩小 */
  .coin-1 { width: 30px; height: 30px; top: 10px; left: 20px; }
  .coin-2 { width: 20px; height: 20px; top: 20px; right: 40px; }
  .coin-3 { width: 25px; height: 25px; bottom: 15px; left: 20%; }
  .coin-4 { width: 15px; height: 15px; top: 30px; right: 30%; }
  .coin-5 { width: 30px; height: 30px; bottom: 25px; right: 30px; }

  .star-1 { top: 15px; right: 20px; font-size: 18px; }
  .star-2 { bottom: 20px; left: 40px; font-size: 14px; }
  .star-3 { display: none; }

  .banner-right-decor {
    display: none;
  }

  /* 轮播导航按钮 */
  .banner-prev,
  .banner-next {
    width: 32px;
    height: 32px;
  }

  .banner-prev::after,
  .banner-next::after {
    font-size: 12px;
  }
}

/* ========================================
   3. 首页主内容区域
   ======================================== */
@media (max-width: 768px) {
  .main-content {
    padding: 16px 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 16px;
    border-radius: 8px;
  }

  .card-header {
    margin-bottom: 16px;
  }

  .card-title {
    font-size: 16px;
  }

  .more-link {
    font-size: 13px;
  }

  /* 推荐下载列表 */
  .post-item {
    padding: 12px 0;
  }

  .post-item:hover {
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .post-number {
    font-size: 13px;
    margin-right: 8px;
  }

  .post-title {
    font-size: 13px;
    line-height: 1.4;
  }

  .post-date {
    font-size: 12px;
    margin-left: 12px;
  }

  /* 分类入口 */
  .category-tabs {
    gap: 4px;
    padding: 3px;
    margin-bottom: 16px;
  }

  .category-tab {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
  }

  .tab-icon {
    width: 14px;
    height: 14px;
  }

  .category-list {
    gap: 12px;
  }

  .category-item {
    padding: 12px;
    border-radius: 8px;
  }

  .category-icon-box {
    padding: 6px;
    border-radius: 6px;
  }

  .category-icon {
    width: 16px;
    height: 16px;
  }

  .category-name {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .category-desc {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .category-stats {
    font-size: 11px;
  }

  /* 最新文件 */
  .latest-files {
    margin-top: 16px;
  }

  .section-title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .files-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .file-card {
    padding: 16px;
  }

  .file-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .file-icon {
    width: 16px;
    height: 16px;
  }

  .file-header h3 {
    font-size: 14px;
  }

  .file-item {
    padding: 6px;
  }

  .file-item .file-title {
    font-size: 13px;
  }

  .file-item .file-date {
    font-size: 12px;
  }
}

/* ========================================
   4. 期货/股票列表页
   ======================================== */
@media (max-width: 768px) {
  .category-section {
    padding: 16px 0;
  }

  .category-buttons {
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 0;
  }

  .category-btn {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 6px;
  }

  .btn-icon {
    width: 14px;
    height: 14px;
  }

  /* 搜索区域 */
  .search-section {
    padding: 12px 0;
  }

  .search-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  .search-box {
    max-width: 100%;
    width: 100%;
  }

  .search-box input {
    padding: 10px 0;
    font-size: 14px;
  }

  .search-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .sort-box {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .sort-label {
    font-size: 13px;
  }

  .sort-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  /* 报告列表 */
  .list-main {
    padding: 16px 0;
  }

  .report-list-card {
    padding: 16px;
    border-radius: 8px;
  }

  .report-item {
    padding: 12px;
    gap: 12px;
  }

  .report-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }

  .report-icon span {
    width: 16px;
    height: 16px;
  }

  .report-title {
    font-size: 14px;
    line-height: 1.4;
  }

  .report-meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 12px;
  }

  /* 分页 */
  .pagination-wrapper {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
  }

  .page-btn {
    width: 32px;
    height: 32px;
  }

  .page-num {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .page-info {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 8px;
    font-size: 13px;
  }
}

/* ========================================
   5. 会员中心
   ======================================== */
@media (max-width: 768px) {
  .member-main {
    padding: 16px 0;
  }

  .member-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 会员侧边栏 */
  .member-header {
    padding: 20px 16px;
  }

  .member-avatar {
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
  }

  .member-name {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .member-badge {
    padding: 3px 10px;
    font-size: 12px;
  }

  .crown-icon {
    width: 14px;
    height: 14px;
  }

  .member-downloads {
    padding: 16px;
  }

  .downloads-count {
    font-size: 28px;
  }

  .member-nav {
    padding: 8px;
  }

  .member-nav-item {
    padding: 10px 12px;
    font-size: 14px;
    margin-bottom: 2px;
  }

  .nav-icon {
    width: 18px;
    height: 18px;
  }

  /* 会员内容区域 */
  .member-content-card {
    padding: 16px;
    border-radius: 8px;
  }

  .content-title {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* 基本资料 */
  .info-item {
    padding: 12px 0;
  }

  .info-label {
    width: 90px;
    font-size: 13px;
  }

  .info-value {
    font-size: 14px;
  }

  /* VIP卡片 */
  .vip-card {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
  }

  .vip-decor-1 {
    width: 150px;
    height: 150px;
  }

  .vip-decor-2 {
    width: 100px;
    height: 100px;
  }

  .vip-content {
    flex-direction: column;
    gap: 16px;
  }

  .vip-title h3 {
    font-size: 22px;
  }

  .vip-title .crown-icon {
    width: 24px;
    height: 24px;
  }

  .vip-desc {
    font-size: 14px;
  }

  .vip-expiry {
    font-size: 13px;
  }

  .vip-right {
    text-align: left;
  }

  .vip-value-label {
    font-size: 13px;
  }

  .vip-value {
    font-size: 36px;
  }

  /* 会员权益 */
  .benefits-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-item {
    padding: 16px;
  }

  .benefit-icon-box {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .benefit-icon {
    width: 20px;
    height: 20px;
  }

  .benefit-item h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .benefit-item p {
    font-size: 13px;
  }

  /* 历史下载表格 */
  .history-table-wrapper {
    border-radius: 8px;
  }

  .history-table th {
    padding: 10px 12px;
    font-size: 13px;
  }

  .history-table td {
    padding: 12px;
    font-size: 13px;
  }

  .type-badge {
    padding: 3px 8px;
    font-size: 11px;
  }
}

/* ========================================
   6. 详情页
   ======================================== */
@media (max-width: 768px) {
  .detail-main {
    padding: 16px 0;
  }

  .back-btn {
    padding: 8px 14px;
    font-size: 13px;
    margin-bottom: 16px;
  }

  .back-btn .arrow-icon {
    width: 8px;
    height: 8px;
  }

  /* 详情头部卡片 */
  .detail-header-card {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
  }

  .detail-header-content {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
  }

  .detail-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .category-icon-inner {
    width: 24px;
    height: 24px;
  }

  .detail-tags {
    gap: 6px;
    margin-bottom: 10px;
  }

  .detail-tag {
    padding: 3px 10px;
    font-size: 11px;
  }

  .detail-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .detail-meta {
    flex-direction: column;
    gap: 8px;
  }

  .meta-item {
    font-size: 13px;
    gap: 6px;
  }

  .meta-icon {
    width: 14px;
    height: 14px;
  }

  .detail-actions {
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 15px;
  }

  .download-btn .download-icon {
    width: 18px;
    height: 18px;
  }

  .favorite-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }

  /* 详情摘要和内容卡片 */
  .detail-summary-card,
  .detail-content-card {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
  }

  .detail-section-title {
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .detail-summary {
    font-size: 14px;
    line-height: 1.7;
  }

  .detail-content {
    font-size: 14px;
    line-height: 1.7;
  }

  .content-section {
    margin-bottom: 20px;
  }

  .content-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .content-section p {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* ========================================
   7. 登录页
   ======================================== */
@media (max-width: 768px) {
  .login-page {
    padding: 20px;
  }

  .login-container {
    padding: 20px 16px;
  }

  .login-card {
    border-radius: 12px;
  }

  .login-content {
    padding: 24px 20px;
  }

  .login-logo {
    margin-bottom: 24px;
  }

  .login-logo-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .login-logo-icon svg {
    width: 28px;
    height: 28px;
  }

  .login-logo h1 {
    font-size: 20px;
  }

  .login-tabs {
    gap: 4px;
    margin-bottom: 24px;
    padding: 3px;
  }

  .login-tab {
    padding: 10px;
    font-size: 14px;
  }

  .login-form {
    gap: 20px;
  }

  .form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .input-wrapper {
    padding: 0 12px;
  }

  .input-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }

  .input-wrapper input {
    padding: 12px 0;
    font-size: 14px;
  }

  .login-btn {
    padding: 12px;
    font-size: 15px;
  }

  .login-copyright {
    font-size: 12px;
    margin-top: 24px;
  }

  .login-contact {
    width: 152px;
    margin-top: 20px;
  }

  .login-contact-text {
    margin-top: 8px;
    font-size: 13px;
  }
}

/* ========================================
   8. 代理商页面
   ======================================== */
@media (max-width: 768px) {
  .agent-main {
    padding: 16px 0;
  }

  .agent-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 代理商侧边栏 */
  .agent-header {
    padding: 20px 16px;
  }

  .agent-avatar {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }

  .agent-name {
    font-size: 16px;
  }

  .agent-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .agent-nav-item {
    padding: 10px 8px;
    font-size: 13px;
    justify-content: center;
    margin-bottom: 0;
  }

  /* 代理商内容区域 */
  .agent-content-card {
    padding: 16px;
    border-radius: 8px;
  }

  /* 基本资料 */
  .profile-avatar-wrapper {
    margin-left: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .profile-avatar {
    width: 96px;
    height: 96px;
  }

  .profile-name {
    font-size: 20px;
  }

  .profile-last-login {
    font-size: 13px;
  }

  .profile-info-grid {
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .profile-info-item {
    padding: 12px;
    background: var(--bg-gray);
    border-radius: 8px;
  }

  .info-icon-box {
    width: 40px;
    height: 40px;
  }

  .info-icon {
    width: 20px;
    height: 20px;
  }

  .info-content .info-label {
    font-size: 12px;
  }

  .info-content .info-value {
    font-size: 15px;
  }

  /* 会员管理 */
  .members-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .add-member-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
  }

  .members-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
  }

  .members-table {
    min-width: 980px;
  }

  .members-table th,
  .members-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* 账户余额 */
  .balance-section {
    margin: 0;
  }

  .balance-card {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
  }

  .balance-header {
    gap: 8px;
    margin-bottom: 12px;
  }

  .balance-header .wallet-icon {
    width: 24px;
    height: 24px;
  }

  .balance-amount {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .recharge-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
  }

  .balance-info {
    padding: 16px;
    border-radius: 8px;
  }

  .balance-info h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .balance-info li {
    font-size: 13px;
    margin-bottom: 6px;
  }

  /* 消费记录 */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }

  .stat-card {
    padding: 16px;
    border-radius: 8px;
  }

  .stat-header {
    gap: 8px;
    margin-bottom: 6px;
  }

  .stat-icon {
    width: 20px;
    height: 20px;
  }

  .stat-header span:last-child {
    font-size: 14px;
  }

  .stat-amount {
    font-size: 24px;
  }

  .records-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
  }

  .records-table {
    min-width: 500px;
  }

  .records-table th,
  .records-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .records-pagination {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .records-total {
    font-size: 13px;
  }

  .pagination-buttons {
    gap: 6px;
  }

  .page-prev,
  .page-next {
    padding: 6px 12px;
    font-size: 13px;
  }

  .page-current {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* ========================================
   9. 弹窗样式
   ======================================== */
@media (max-width: 768px) {
  .modal-content {
    margin: 16px;
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-large {
    max-width: calc(100% - 32px);
  }

  .add-member-modal-content {
    max-width: calc(100% - 24px);
  }

  .modal-header {
    padding: 16px;
  }

  .modal-header h3 {
    font-size: 17px;
  }

  .modal-close {
    font-size: 20px;
  }

  .modal-body {
    padding: 16px;
  }

  .add-member-modal-body {
    gap: 12px;
  }

  .add-member-section {
    padding: 14px;
    border-radius: 10px;
  }

  .add-member-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .segmented-radio span {
    height: 38px;
  }

  .modal-footer {
    flex-direction: column;
    gap: 10px;
    padding: 0 16px 16px;
  }

  /* 充值选项 */
  .recharge-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .recharge-option {
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
  }

  .modal-confirm-btn,
  .modal-cancel-btn {
    padding: 12px;
    font-size: 15px;
  }

  /* VIP选项 */
  .vip-option {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .vip-badge {
    top: 6px;
    right: 6px;
    font-size: 10px;
    padding: 3px 6px;
  }

  .vip-option-title {
    font-size: 15px;
    gap: 6px;
    margin-bottom: 2px;
  }

  .vip-option-desc {
    font-size: 12px;
  }

  .vip-option-price {
    font-size: 20px;
  }

  .vip-option-original {
    font-size: 12px;
  }

  /* 下载记录表格 */
  .record-table {
    min-width: 100%;
  }

  .record-table th,
  .record-table td {
    padding: 10px 8px;
    font-size: 12px;
  }
}

/* ========================================
   10. 页脚
   ======================================== */
@media (max-width: 768px) {
  .footer {
    margin-top: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .footer-col h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .footer-desc {
    font-size: 13px;
    line-height: 1.6;
  }

  .footer-contact li {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .qrcode-box {
    padding: 6px;
  }

  .qrcode {
    width: 80px;
    height: 80px;
  }

  .qrcode svg {
    width: 64px;
    height: 64px;
  }

  .qrcode-text {
    font-size: 11px;
  }

  .footer-bottom {
    padding: 16px 0;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

/* ========================================
   11. 超小屏幕适配 (320px - 375px)
   ======================================== */
@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }

  .nav-wrapper {
    height: 50px;
  }

  .logo {
    font-size: 16px;
  }

  .user-name {
    font-size: 11px;
    max-width: 80px;
  }

  .logout-btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  .banner-slide {
    height: 140px;
  }

  .banner-content h2 {
    font-size: 16px;
  }

  .banner-content p {
    font-size: 12px;
  }

  .banner-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .card {
    padding: 12px;
  }

  .card-title {
    font-size: 15px;
  }

  .post-title {
    font-size: 12px;
  }

  .category-tab {
    padding: 6px 10px;
    font-size: 12px;
  }

  .category-name {
    font-size: 13px;
  }

  .category-desc {
    font-size: 11px;
  }

  .category-stats {
    font-size: 10px;
  }

  .report-title {
    font-size: 13px;
  }

  .member-avatar {
    width: 64px;
    height: 64px;
  }

  .member-name {
    font-size: 16px;
  }

  .downloads-count {
    font-size: 24px;
  }

  .vip-value {
    font-size: 28px;
  }

  .detail-title {
    font-size: 16px;
  }

  .login-logo h1 {
    font-size: 18px;
  }

  .login-tab {
    font-size: 13px;
  }

  .balance-amount {
    font-size: 28px;
  }

  .stat-amount {
    font-size: 20px;
  }
}

/* ========================================
   12. 横屏模式优化
   ======================================== */
@media (max-width: 768px) and (orientation: landscape) {
  .banner-slide {
    height: 120px;
  }

  .login-container {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }

  .login-card {
    max-width: 400px;
  }

  .login-copyright {
    position: absolute;
    bottom: 20px;
    margin-top: 0;
  }
}

/* ========================================
   13. 触摸设备优化
   ======================================== */
@media (hover: none) and (pointer: coarse) {
  /* 增大点击区域 */
  .nav-link {
    min-height: 44px;
  }

  .category-btn {
    min-height: 44px;
  }

  .sort-btn {
    min-height: 44px;
  }

  .page-btn,
  .page-num {
    min-width: 44px;
    min-height: 44px;
  }

  .login-tab {
    min-height: 44px;
  }

  .login-btn {
    min-height: 48px;
  }

  .modal-confirm-btn,
  .modal-cancel-btn {
    min-height: 48px;
  }

  .recharge-option {
    min-height: 48px;
  }

  .vip-option {
    min-height: 60px;
  }

  /* 移除hover效果 */
  .post-item:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }

  .post-item:active {
    background: var(--bg-gray);
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .file-item:hover {
    background: transparent;
  }

  .file-item:active {
    background: var(--bg-gray);
  }

  .report-item:hover {
    background: transparent;
  }

  .report-item:active {
    background: var(--bg-gray);
    border-radius: 8px;
  }
}

/* ========================================
   14. 安全区域适配 (iPhone X等)
   ======================================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .footer-bottom {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .modal-content {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .login-container {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

/* ========================================
   15. 深色模式支持 (可选)
   ======================================== */
@media (prefers-color-scheme: dark) {
  /* 如需支持深色模式，可在此添加样式 */
}
