/* ============================================================
   mobile-app.css — 手机端 App 外壳样式
   仅在屏幕宽度 ≤ 768px 时生效，桌面端完全不受影响
   设计目标：让手机 Web 端看起来像原生 App
   ============================================================ */

@media (max-width: 768px) {
  /* ===== 1. 全局 App 容器化 ===== */
  html, body {
    width: 100%;
    min-height: 100dvh;
    overflow-x: clip;
    overscroll-behavior-y: none; /* 禁止下拉刷新 */
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
  }

  body {
    padding: 0 !important;
    margin: 0 !important;
    background: #0b1020 !important; /* 纯色 App 背景，去掉光晕 */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  /* 关掉桌面端的装饰光晕 */
  body::before, body::after {
    display: none !important;
  }

  /* ===== 2. 顶部 App Header ===== */
  .app-header {
    display: none; /* 桌面端隐藏 */
  }

  @media (max-width: 768px) {
    .app-header {
      display: flex !important;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      height: calc(52px + env(safe-area-inset-top, 0px));
      padding: env(safe-area-inset-top, 0px) 16px 0;
      align-items: center;
      justify-content: space-between;
      background: rgba(15, 23, 42, 0.92);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
    }

    .app-header-title {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
      flex: 1;
    }
    .app-header-title .app-page-name {
      font-size: 1.02rem;
      font-weight: 700;
      color: #f8fafc;
      letter-spacing: -0.01em;
      line-height: 1.2;
    }
    .app-header-title .app-user-name {
      font-size: 0.72rem;
      color: #94a3b8;
      line-height: 1.2;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .app-header-actions {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }
    .app-icon-btn {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      border: 1px solid rgba(239, 68, 68, 0.35);
      background: rgba(239, 68, 68, 0.1);
      color: #fca5a5;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.15s ease;
      padding: 0;
    }
    .app-icon-btn:active {
      transform: scale(0.94);
      background: rgba(239, 68, 68, 0.25);
    }
    .app-icon-btn svg {
      width: 18px;
      height: 18px;
    }
  }

  /* ===== 3. 内容主区域 ===== */
  .app-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: calc(52px + env(safe-area-inset-top, 0px) + 12px) 12px calc(72px + env(safe-area-inset-bottom, 0px) + 16px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: clip;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 隐藏桌面端的用户信息条和顶部页签导航 */
  .user-info-bar {
    display: none !important;
  }
  .admin-nav {
    display: none !important;
  }

  /* 玻璃容器在手机端去掉外边距和阴影，更像 App 卡片 */
  .glass-container {
    margin-top: 0 !important;
    padding: 18px 16px !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  /* 标题缩小，副标题隐藏以节省空间 */
  .glass-container h2 {
    font-size: 1.15rem !important;
    margin-bottom: 6px !important;
    text-align: left !important;
  }
  .subtitle {
    display: none !important;
  }

  /* ===== 4. 底部 Tab Bar ===== */
  .app-tabbar {
    display: none;
  }

  @media (max-width: 768px) {
    .app-tabbar {
      display: flex !important;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 100;
      height: calc(60px + env(safe-area-inset-bottom, 0px));
      padding-bottom: env(safe-area-inset-bottom, 0px);
      background: rgba(15, 23, 42, 0.95);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
      align-items: stretch;
      justify-content: space-around;
    }

    .app-tab {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      padding: 6px 0 4px;
      color: #64748b;
      cursor: pointer;
      transition: color 0.18s ease, transform 0.12s ease;
      background: transparent;
      border: none;
      font-family: inherit;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
    }
    .app-tab:active {
      transform: scale(0.92);
    }
    .app-tab svg {
      width: 22px;
      height: 22px;
      transition: transform 0.2s ease;
    }
    .app-tab-label {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    .app-tab.active {
      color: #818cf8;
    }
    .app-tab.active svg {
      transform: translateY(-1px);
      filter: drop-shadow(0 2px 6px rgba(129, 140, 248, 0.5));
    }
    .app-tab.active .app-tab-label {
      color: #c7d2fe;
    }
    /* 顶部小指示条 */
    .app-tab::before {
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%) scaleX(0);
      width: 24px;
      height: 3px;
      border-radius: 0 0 3px 3px;
      background: linear-gradient(90deg, #818cf8, #6366f1);
      transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .app-tab.active::before {
      transform: translateX(-50%) scaleX(1);
    }
    .app-tab {
      position: relative;
    }
  }

  /* ===== 5. 表单元素 App 化（强制 >= 16px 防止 iOS 聚焦自动放大错位） ===== */
  .form-control,
  input[type="text"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    padding: 11px 14px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    min-height: 44px; /* iOS 触控规范 */
    max-width: 100%;
    box-sizing: border-box;
  }

  .form-group label {
    font-size: 0.8rem !important;
    margin-bottom: 6px !important;
    text-transform: none !important; /* 去掉全大写，中文用不上 */
    letter-spacing: 0 !important;
  }

  /* 表单默认单列布局，更易填写 */
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* 按钮更高、更易点 */
  .btn {
    min-height: 46px;
    font-size: 0.95rem !important;
    border-radius: 11px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .btn:active {
    transform: scale(0.98) !important;
  }

  /* 照片上传区域调整 */
  .photo-uploader {
    width: 150px !important;
    height: 200px !important;
    margin: 0 auto 18px auto !important;
    border-radius: 14px !important;
  }

  /* 提示框圆角调整 */
  .alert {
    border-radius: 10px !important;
    font-size: 0.85rem !important;
    padding: 10px 14px !important;
  }

  /* ===== 6. 历史记录/门禁恢复 卡片优化 ===== */
  .table-wrapper tr {
    border-radius: 14px !important;
    padding: 14px !important;
  }

  /* 搜索框 App 化 */
  #history-search-name, #restore-search-name {
    min-width: 0 !important;
    width: 100% !important;
  }

  /* ===== 7. 登录页 App 化（全屏居中） ===== */
  .glass-container.login-card {
    margin: auto !important;
    width: 100% !important;
    max-width: 480px !important;
    min-height: 100dvh;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(24px + env(safe-area-inset-top, 0px)) 22px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box;
  }
  .glass-container.login-card h2 {
    font-size: 1.45rem !important;
    text-align: center !important;
    margin-bottom: 8px !important;
  }
  .glass-container.login-card .subtitle {
    display: block !important;
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
  }

  /* ===== 8. 模态框/弹层 App 化 ===== */
  .modal {
    padding: 12px !important;
    background: rgba(0, 0, 0, 0.92) !important;
  }
  .modal-content {
    width: min(100%, 560px);
    max-width: calc(100vw - 24px) !important;
    max-height: 88dvh !important;
    margin: auto !important;
    border-radius: 16px !important;
  }
}

/* ===== 桌面端：App 外壳元素隐藏，主内容区全宽居中 ===== */
@media (min-width: 769px) {
  .app-header,
  .app-tabbar {
    display: none !important;
  }
  .app-content {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================================================
   管理端实页接入层
   原型只用于确认视觉；以下规则直接作用于 admin.html 现有的真实表格、接口和弹窗。
   ======================================================================== */
.mobile-toolbar,
.mobile-company-menu,
.mobile-download-menu {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --mobile-bg: #0b1020;
    --mobile-surface: #151d31;
    --mobile-surface-strong: #1b2540;
    --mobile-line: rgba(203, 213, 225, 0.14);
    --mobile-text: #f8fafc;
    --mobile-muted: #9aa9c1;
    --mobile-accent: #818cf8;
  }

  body {
    min-height: 100dvh !important;
    background: var(--mobile-bg) !important;
    padding: 0 !important;
    color: var(--mobile-text);
  }

  .admin-sidebar,
  .sidebar-overlay,
  .hamburger-btn,
  .header-actions,
  .admin-nav {
    display: none !important;
  }

  .header-bar {
    position: fixed !important;
    inset: 0 0 auto 0;
    z-index: 1000;
    min-height: calc(56px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 16px 0 !important;
    box-sizing: border-box;
    display: flex !important;
    align-items: center !important;
    background: rgba(15, 23, 42, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
  }

  .header-bar > div:first-child {
    min-width: 0;
    flex: 1;
  }

  .header-bar h2 {
    overflow: hidden;
    margin: 0 !important;
    color: var(--mobile-text) !important;
    font-size: 1.04rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-bar .user-info {
    display: none !important;
  }

  .header-bar .bell-container {
    width: 38px;
    height: 38px;
    margin: 0 0 0 10px;
    border-radius: 12px;
    background: rgba(129, 140, 248, 0.12);
    border-color: rgba(165, 180, 252, 0.25);
  }

  .header-bar .bell-dropdown {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0px));
    right: 12px;
    width: min(360px, calc(100vw - 24px));
    max-height: min(70dvh, 560px);
    overflow-y: auto;
    border-radius: 16px;
    background: rgba(24, 34, 56, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
  }

  .header-bar .bell-dropdown::before {
    right: 18px;
    background: rgba(24, 34, 56, 0.92);
  }

  .glass-container.admin-container {
    width: 100% !important;
    max-width: none !important;
    min-height: 100dvh;
    margin: 0 !important;
    padding: calc(68px + env(safe-area-inset-top, 0px)) 12px calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box;
  }

  .tab-content {
    animation: mobile-tab-in 180ms ease both;
  }

  @keyframes mobile-tab-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .app-tabbar {
    display: flex !important;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1000;
    height: calc(62px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
  }

  .app-tab {
    position: relative;
    min-width: 0;
    color: #74829a;
  }

  .app-tab.active { color: var(--mobile-accent); }
  .app-tab.active .app-tab-label { color: #c7d2fe; }

  .mobile-toolbar {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px 46px;
    gap: 8px;
    align-items: center;
    margin: 0 0 12px;
  }

  #mobile-exam-toolbar {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .mobile-combobox {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    gap: 8px;
    padding: 0 8px 0 13px;
    background: var(--mobile-surface);
    border: 1px solid var(--mobile-line);
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  }

  .mobile-combobox > svg,
  .mobile-combobox-toggle svg,
  .mobile-toolbar-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-combobox > svg { color: var(--mobile-muted); flex: 0 0 auto; }

  .mobile-combobox input {
    min-width: 0;
    width: 100%;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--mobile-text) !important;
    font-size: 0.9rem !important;
  }

  .mobile-combobox input::placeholder { color: #8190a7; }

  .mobile-combobox-toggle,
  .mobile-toolbar-button {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 11px;
    color: #d9e0ef;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-toolbar-button {
    width: 46px;
    height: 46px;
    border: 1px solid var(--mobile-line);
    background: var(--mobile-surface);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  }

  .mobile-combobox-toggle:active,
  .mobile-toolbar-button:active { transform: scale(0.94); }
  .mobile-toolbar-button[aria-expanded="true"] { color: #e0e7ff; border-color: rgba(165, 180, 252, 0.52); background: rgba(99, 102, 241, 0.22); }

  .mobile-company-menu,
  .mobile-download-menu {
    position: absolute;
    z-index: 90;
    display: none;
    overflow: hidden;
    background: rgba(24, 34, 56, 0.97);
    border: 1px solid rgba(203, 213, 225, 0.17);
    border-radius: 14px;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-company-menu {
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: 280px;
    overflow-y: auto;
  }

  .mobile-company-menu.open,
  .mobile-download-menu.open { display: block; animation: mobile-menu-in 150ms ease both; }

  @keyframes mobile-menu-in {
    from { opacity: 0; transform: translateY(-5px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .mobile-company-menu button,
  .mobile-download-menu button {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.08);
    color: var(--mobile-text);
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    text-align: left;
  }

  .mobile-company-menu button.selected { color: #dfe4ff; background: rgba(99, 102, 241, 0.22); }
  .mobile-company-menu button:last-child,
  .mobile-download-menu button:last-child { border-bottom: 0; }

  .mobile-download-wrap { position: relative; }
  .mobile-download-menu { top: calc(100% + 8px); right: 0; width: 158px; }

  #admin-content-records > .filter-card,
  #admin-content-exam > .filter-card {
    display: none !important;
    margin: -2px 0 12px !important;
    padding: 13px !important;
    border-radius: 14px !important;
    background: var(--mobile-surface) !important;
    border: 1px solid var(--mobile-line) !important;
  }

  #admin-content-records > .filter-card.mobile-filter-open,
  #admin-content-exam > .filter-card.mobile-filter-open { display: block !important; animation: mobile-tab-in 150ms ease both; }

  #admin-content-records > .filter-card .filter-grid,
  #admin-content-exam > .filter-card .filter-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #admin-content-records > .filter-card .filter-item:nth-child(2),
  #admin-content-records > .filter-card .filter-item:nth-child(3),
  #admin-content-exam > .filter-card .filter-item:nth-child(3) { display: none !important; }

  #admin-content-records > .filter-card .filter-actions-btn,
  #admin-content-exam > .filter-card .filter-actions-btn { height: auto !important; }

  .filter-control,
  .date-inputs .filter-control {
    min-height: 42px !important;
    font-size: 0.9rem !important;
  }

  .table-wrapper {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #admin-content-records .table-wrapper > table,
  #admin-content-pending .table-wrapper > table,
  #admin-content-restore .table-wrapper > table,
  #admin-content-exam .table-wrapper > table {
    display: block;
    width: 100%;
  }

  #admin-content-records .table-wrapper > table > thead,
  #admin-content-pending .table-wrapper > table > thead,
  #admin-content-restore .table-wrapper > table > thead,
  #admin-content-exam .table-wrapper > table > thead { display: none; }

  #records-tbody,
  #restore-tbody,
  #exam-tbody,
  #pending-users-tbody {
    display: grid;
    gap: 10px;
  }

  #records-tbody > tr,
  #restore-tbody > tr {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 9px 11px;
    padding: 13px;
    border: 1px solid var(--mobile-line);
    border-radius: 16px;
    background: var(--mobile-surface);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.13);
  }

  #records-tbody > tr > td,
  #restore-tbody > tr > td {
    display: block !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }

  #records-tbody > tr > td:nth-child(1),
  #restore-tbody > tr > td:nth-child(1) {
    position: absolute;
    top: 13px;
    right: 13px;
  }

  #records-tbody > tr > td:nth-child(2),
  #restore-tbody > tr > td:nth-child(2) { grid-column: 1; grid-row: 1 / span 2; }
  #records-tbody > tr > td:nth-child(3),
  #restore-tbody > tr > td:nth-child(3) { grid-column: 2; padding-right: 28px !important; }
  #records-tbody > tr > td:nth-child(n+4),
  #restore-tbody > tr > td:nth-child(n+4) { grid-column: 1 / -1; }

  #records-tbody .table-img,
  #restore-tbody .table-img {
    width: 56px !important;
    height: 70px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
  }

  #exam-tbody > tr:not([id^="history-row-"]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    padding: 12px 13px;
    border: 1px solid var(--mobile-line);
    border-radius: 15px;
    background: var(--mobile-surface);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.13);
  }

  #exam-tbody > tr:not([id^="history-row-"]) > td {
    display: block !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }

  #exam-tbody > tr:not([id^="history-row-"]) > td:nth-child(1) { grid-column: 1; font-weight: 750; color: var(--mobile-text); }
  #exam-tbody > tr:not([id^="history-row-"]) > td:nth-child(4) { grid-column: 2; grid-row: 1; text-align: right !important; }
  #exam-tbody > tr:not([id^="history-row-"]) > td:nth-child(2),
  #exam-tbody > tr:not([id^="history-row-"]) > td:nth-child(3),
  #exam-tbody > tr:not([id^="history-row-"]) > td:nth-child(5),
  #exam-tbody > tr:not([id^="history-row-"]) > td:nth-child(6) { grid-column: 1 / -1; color: var(--mobile-muted); font-size: 0.82rem; }
  #exam-tbody > tr:not([id^="history-row-"]) > td:nth-child(7) { grid-column: 1 / -1; text-align: right !important; }
  #exam-tbody > tr:not([id^="history-row-"]) > td:nth-child(7) .btn { min-height: 34px; padding: 5px 12px !important; font-size: 0.78rem !important; }

  #exam-tbody > tr[id^="history-row-"] {
    display: block !important;
    margin-top: -6px;
    padding: 12px 13px;
    border: 1px solid rgba(165, 180, 252, 0.18);
    border-radius: 0 0 15px 15px;
    background: rgba(36, 47, 75, 0.78) !important;
  }

  #exam-tbody > tr[id^="history-row-"] > td { display: block !important; padding: 0 !important; border: 0 !important; }
  #exam-tbody > tr[id^="history-row-"] table { display: block; overflow-x: auto; }

  #pending-users-tbody > tr {
    display: block;
    padding: 13px;
    border: 1px solid var(--mobile-line);
    border-radius: 15px;
    background: var(--mobile-surface);
  }
  #pending-users-tbody > tr > td { display: block !important; padding: 4px 0 !important; border: 0 !important; text-align: left !important; }

  .downloaded-row {
    opacity: 0.54;
    filter: grayscale(0.78);
  }

  .pagination-bar {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0 2px;
  }

  .pagination-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .pagination-btn { min-width: 34px; min-height: 34px; }

  .modal {
    padding: 12px;
    background: rgba(4, 8, 18, 0.7) !important;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }

  .modal-content {
    width: min(100%, 620px) !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 18px !important;
  }
}
