* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif;
      background-color: #ffffff; /* 默认白色背景 */
      background-image: url(''); /* Bing壁纸URL，初始为空 */
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: fixed;
      color: #333;
      line-height: 1.6;
      padding: 10px 15px;
      max-width: 1200px;
      margin: 0 auto;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    /* 添加半透明遮罩层，确保文字可读性 */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.85); /* 白色半透明遮罩 */
      z-index: -1;
      pointer-events: none;
    }

    h1 {
      text-align: center;
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: #1a1a1a;
    }

    .plus-badge {
      display: inline-block;
      background-color: #ffcc00;
      color: #333;
      font-size: 0.7rem;
      font-weight: 600;
      padding: 1px 6px;
      border-radius: 3px;
      margin-left: 6px;
      vertical-align: middle;
    }

    .services-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 20px;
    }

    .services-section {
      flex: 1;
      min-width: 200px;
    }

    .section-title {
      font-size: 0.8rem;
      font-weight: 600;
      margin-bottom: 15px;
      color: #1a1a1a;
      padding-bottom: 8px;
      border-bottom: 2px solid #eee;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .section-title::before {
      content: '';
      width: 4px;
      height: 16px;
      background: linear-gradient(to bottom, #007bff, #0056b3);
      border-radius: 2px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: 6px;
    }

    .service-card {
      background: white;
      border-radius: 4px;
      padding: 4px 6px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      text-align: left;
      border: 1px solid #eee;
      display: flex;
      flex-direction: row;
      align-items: center;
      cursor: pointer;
    }

    .service-card:hover {
      transform: translateY(-1px);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .service-info {
      flex-grow: 1;
      min-width: 0;
    }

    .service-name {
      font-size: 0.7rem;
      font-weight: 600;
      margin-bottom: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .service-url {
      font-size: 0.55rem;
      color: #888;
      margin-bottom: 1px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .latency {
      font-size: 0.5rem;
      padding: 1px 3px;
      border-radius: 4px;
      font-weight: 500;
      flex-shrink: 0;
      margin-left: 3px;
    }

    .latency.normal {
      background-color: #e8f5e8;
      color: #2e7d32;
    }

    .latency.error {
      background-color: #ffebee;
      color: #c62828;
    }

    .storage-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
      gap: 4px;
    }

    .storage-card {
      background: white;
      border-radius: 3px;
      padding: 1.5px 1.5px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
      border: 1px solid #e8eaed;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: all 0.2s ease;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .storage-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1.5px;
      background: linear-gradient(to right, #4CAF50, #FFC107, #F44336);
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    .storage-card:hover {
      transform: translateY(-1px);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
      border-color: #d0d0d0;
    }

    .storage-card:hover::before {
      opacity: 1;
    }

    .storage-name {
      font-size: 0.35rem;
      font-weight: 600;
      margin-bottom: 0;
      text-align: center;
      color: #333;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
      line-height: 1.1;
    }

    .battery-container {
      position: relative;
      width: 13px;
      height: 18px;
      border: 1px solid #555;
      border-radius: 1.5px;
      background-color: #fafafa;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      overflow: hidden;
      margin: 0;
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    }

    .battery-tip {
      position: absolute;
      top: -2px;
      left: 50%;
      transform: translateX(-50%);
      width: 5px;
      height: 1.5px;
      background-color: #555;
      border-radius: 1px 1px 0 0;
    }

    .battery-level {
      width: 100%;
      transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }

    .battery-level::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
    }

    .battery-level.low {
      background: linear-gradient(to top, #4CAF50, #66BB6A);
      box-shadow: 0 0 3px rgba(76, 175, 80, 0.2);
    }

    .battery-level.medium {
      background: linear-gradient(to top, #FFC107, #FFD54F);
      box-shadow: 0 0 3px rgba(255, 193, 7, 0.2);
    }

    .battery-level.high {
      background: linear-gradient(to top, #F44336, #EF5350);
      box-shadow: 0 0 3px rgba(244, 67, 54, 0.2);
      animation: pulse-warning 2s ease-in-out infinite;
    }

    @keyframes pulse-warning {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.85; }
    }

    .storage-info {
      margin-top: 0;
      text-align: center;
      width: 100%;
      line-height: 1;
    }

    .storage-percentage {
      font-size: 0.45rem;
      font-weight: 700;
      color: #333;
      line-height: 1;
      margin: 0;
    }

    .storage-capacity {
      font-size: 0.35rem;
      color: #888;
      line-height: 1;
      margin: 0;
    }

    .storage-usage {
      font-size: 0.3rem;
      font-weight: 500;
      color: #666;
      padding: 0 2px;
      background: #f5f5f5;
      border-radius: 1.5px;
      display: inline-block;
      margin: 0;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      line-height: 1.2;
    }

    /* 数据库监控表格样式 */
    .database-table-container {
      overflow-x: auto;
      border-radius: 8px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
      max-height: 280px;
      overflow-y: auto;
      background-color: white;
      border: 1px solid #e8eaed;
    }

    /* 自定义滚动条样式 */
    .database-table-container::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }

    .database-table-container::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 4px;
    }

    .database-table-container::-webkit-scrollbar-thumb {
      background: #c1c1c1;
      border-radius: 4px;
      transition: background 0.3s ease;
    }

    .database-table-container::-webkit-scrollbar-thumb:hover {
      background: #a1a1a1;
    }

    .database-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.7rem;
      min-width: 1200px;
    }

    .database-table thead {
      background: linear-gradient(to bottom, #f8f9fa, #f1f3f5);
    }

    .database-table th {
      padding: 12px 10px;
      text-align: left;
      font-weight: 600;
      color: #495057;
      border-bottom: 2px solid #dee2e6;
      position: sticky;
      top: 0;
      z-index: 10;
      background: linear-gradient(to bottom, #f8f9fa, #f1f3f5);
      white-space: nowrap;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-size: 0.65rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .database-table td {
      padding: 10px;
      border-bottom: 1px solid #f1f3f5;
      vertical-align: middle;
      color: #495057;
    }

    .database-table tbody tr {
      transition: all 0.2s ease;
    }

    .database-table tbody tr:nth-child(even) {
      background-color: #fafbfc;
    }

    .database-table tbody tr:hover {
      background-color: #e8f4fd;
      transform: scale(1.002);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .database-table tr:last-child td {
      border-bottom: none;
    }

    .db-icon {
      width: 24px;
      height: 24px;
      vertical-align: middle;
      margin-right: 8px;
      filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    }

    /* 状态指示器样式 */
    .status-indicator {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      margin-right: 6px;
    }

    .status-online {
      background-color: #28a745;
      box-shadow: 0 0 4px rgba(40, 167, 69, 0.4);
    }

    .status-warning {
      background-color: #ffc107;
      box-shadow: 0 0 4px rgba(255, 193, 7, 0.4);
    }

    .status-error {
      background-color: #dc3545;
      box-shadow: 0 0 4px rgba(220, 53, 69, 0.4);
    }

    /* 错误信息样式 */
    .error-text {
      color: #dc3545;
      font-size: 0.65rem;
      max-width: 150px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    /* 数值高亮样式 */
    .value-highlight {
      font-weight: 600;
      color: #0056b3;
    }

    .value-normal {
      color: #28a745;
    }

    .value-warning {
      color: #ffc107;
    }

    .value-critical {
      color: #dc3545;
    }
    
    .github-badge {
        display: inline-block;
        border-radius: 4px;
        text-shadow: none;
        font-size: 10px;
        color: #fff;
        line-height: 12px;
        background-color: #ABBAC3;
      margin-bottom: 4px;
    }
    
    .github-badge .badge-subject {
        display: inline-block;
        background-color: #4D4D4D;
        padding: 3px 3px 3px 5px;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }
    
    .github-badge .badge-value {
        display: inline-block;
        padding: 3px 5px 3px 3px;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }
    
    .github-badge .bg-brightgreen {
        background-color: #4DC820 !important;
    }
    
    .github-badge .bg-orange {
        background-color: #FFA500 !important;
    }
    
    .github-badge .bg-yellow {
        background-color: #D8B024 !important;
    }
    
    .github-badge .bg-blueviolet {
        background-color: #8833D7 !important;
    }
    
    .github-badge .bg-pink {
        background-color: #F26BAE !important;
    }
    
    .github-badge .bg-red {
        background-color: #e05d44 !important;
    }
    
    .github-badge .bg-blue {
        background-color: #007EC6 !important;
    }
    
    .github-badge .bg-lightgrey {
        background-color: #9F9F9F !important;
    }
    
    .github-badge .bg-grey, .github-badge .bg-gray {
        background-color: #555 !important;
    }
    
    .github-badge .bg-lightgrey, .github-badge .bg-lightgray {
        background-color: #9f9f9f !important;
    }
    
    /* 页脚容器样式 */
    .footer {
      text-align: center;
      margin-top: auto;
      padding: 15px 0;
    }
    
    /* 加载动画 */
    .loading {
      text-align: center;
      padding: 30px 20px;
      color: #6c757d;
    }
    
    .spinner {
      border: 3px solid #f3f3f3;
      border-top: 3px solid #007bff;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      animation: spin 1s linear infinite;
      margin: 0 auto 10px;
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* 空状态样式 */
    .empty-state {
      text-align: center;
      padding: 40px 20px;
      color: #999;
    }

    .empty-state-icon {
      font-size: 48px;
      margin-bottom: 10px;
      opacity: 0.3;
    }

    /* 新增徽章颜色 */
    .github-badge .bg-green {
        background-color: #28a745 !important;
    }
    
    .github-badge .bg-purple {
        background-color: #6f42c1 !important;
    }
    
    /* 响应式优化 */
    @media (max-width: 768px) {
      .services-container {
        flex-direction: column;
      }
      
      .services-section {
        width: 100% !important;
      }
      
      .database-table-container {
        max-height: 200px;
      }
      
      .database-table {
        font-size: 0.6rem;
      }
      
      .database-table th,
      .database-table td {
        padding: 6px 4px;
      }
      
      /* 移动端存储卡片优化 */
      .storage-grid {
        grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
        gap: 3px;
      }
      
      .storage-card {
        padding: 1.5px 1px;
      }
      
      .battery-container {
        width: 12px;
        height: 16px;
      }
      
      .storage-percentage {
        font-size: 0.45rem;
      }
      
      .storage-capacity {
        font-size: 0.3rem;
      }
      
      .storage-usage {
        font-size: 0.25rem;
        padding: 0.5px 1.5px;
      }
    }

    /* 可折叠区域 */
    .collapse-checkbox {
      display: none;
    }

    .collapsible-section .section-title {
      justify-content: flex-start;
    }

    .collapse-toggle {
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      border-radius: 4px;
      color: #64748b;
      transition: color 0.18s ease, background 0.18s ease;
      flex-shrink: 0;
    }

    .collapse-toggle:hover {
      color: #1e293b;
      background: #e2e8f0;
    }

    .collapse-toggle svg {
      transition: transform 0.25s ease;
    }

    /* 默认折叠：箭头朝右 */
    .collapse-checkbox:not(:checked) ~ .section-title .collapse-toggle svg {
      transform: rotate(-90deg);
    }

    /* 展开：箭头朝下 */
    .collapse-checkbox:checked ~ .section-title .collapse-toggle svg {
      transform: rotate(0deg);
    }

    .collapse-checkbox:checked ~ .collapse-body {
      display: block;
    }

    .collapse-checkbox:not(:checked) ~ .collapse-body {
      display: none;
    }

    /* 首页监控面板优化覆盖 */
    body {
      max-width: 1320px;
      padding: 24px;
      color: #172033;
      background-color: #f5f7fb;
    }

    body::before {
      background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.96)),
        rgba(255, 255, 255, 0.9);
    }

    .dashboard-header {
      position: relative;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 22px;
      padding: 18px 20px;
      background: rgba(255, 255, 255, 0.88);
      border: 1px solid rgba(226, 232, 240, 0.95);
      border-radius: 8px;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
      backdrop-filter: blur(10px);
    }

    h1 {
      text-align: left;
      font-size: 1.7rem;
      line-height: 1.2;
      margin-bottom: 6px;
      color: #101827;
    }

    .dashboard-kicker {
      padding-right: 120px;
      margin-bottom: 4px;
      color: #64748b;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
    }

    .dashboard-subtitle {
      color: #5f6f87;
      font-size: 0.86rem;
    }

    .plus-badge {
      background: #f5c542;
      color: #3a2a00;
      border-radius: 999px;
      padding: 2px 8px;
      font-size: 0.68rem;
      vertical-align: 3px;
    }

    .quick-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
      flex-shrink: 0;
    }

    .quick-links a {
      min-width: 82px;
      padding: 8px 12px;
      border-radius: 6px;
      border: 1px solid #d7dee8;
      background: #ffffff;
      color: #1f3f6d;
      font-size: 0.8rem;
      font-weight: 700;
      text-align: center;
      text-decoration: none;
      transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    }

    .quick-links a:hover {
      background: #f0f6ff;
      border-color: #94b7e6;
      transform: translateY(-1px);
    }

    .services-container {
      display: grid;
      grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
      gap: 16px;
      margin-bottom: 16px;
    }

    .services-section {
      min-width: 0;
      padding: 16px;
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(226, 232, 240, 0.95);
      border-radius: 8px;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
      backdrop-filter: blur(8px);
    }

    .section-title {
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
      padding-bottom: 10px;
      border-bottom: 1px solid #e6edf5;
      color: #182235;
      font-size: 0.92rem;
    }

    .section-title::before {
      width: 3px;
      height: 18px;
      background: #2f80ed;
    }

    .section-count {
      margin-left: auto;
      padding: 2px 8px;
      border-radius: 999px;
      background: #edf3fb;
      color: #36587f;
      font-size: 0.7rem;
      font-weight: 700;
    }

    .backend-node-status {
      flex-shrink: 0;
      border: 1px solid #cbd8e8;
      background: #ffffff;
      color: #41546f;
      border-radius: 999px;
      padding: 3px 9px;
      font-size: 0.7rem;
      font-weight: 700;
      line-height: 1.2;
      cursor: pointer;
      transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }

    .dashboard-header > .backend-node-status {
      position: absolute;
      top: 18px;
      right: 20px;
      z-index: 2;
    }

    .backend-node-status:hover {
      background: #eef6ff;
      border-color: #8fb7e8;
      color: #1f4f86;
    }

    .backend-node-status.is-online {
      background: #e9f8ef;
      border-color: #9bd8af;
      color: #19723a;
    }

    .backend-node-status.is-empty {
      background: #f8f1e9;
      border-color: #e5c3a0;
      color: #915c1c;
    }

    .backend-node-modal {
      position: fixed;
      inset: 0;
      z-index: 3000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background: rgba(15, 23, 42, 0.42);
    }

    .backend-node-modal.active {
      display: flex;
    }

    body.backend-node-modal-open {
      overflow: hidden;
    }

    .backend-node-dialog {
      width: min(820px, 100%);
      max-height: min(720px, 86vh);
      overflow: hidden;
      background: #ffffff;
      border-radius: 8px;
      border: 1px solid #dbe4ef;
      box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
      display: flex;
      flex-direction: column;
    }

    .backend-node-dialog-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 18px;
      border-bottom: 1px solid #e6edf5;
      background: #f8fbff;
    }

    .backend-node-dialog-header h2 {
      margin: 0 0 4px;
      font-size: 1rem;
      color: #172033;
    }

    .backend-node-dialog-header p {
      margin: 0;
      color: #66758a;
      font-size: 0.78rem;
    }

    .backend-node-close {
      width: 30px;
      height: 30px;
      border: 1px solid #d5deea;
      border-radius: 6px;
      background: #ffffff;
      color: #516174;
      font-size: 1.2rem;
      line-height: 1;
      cursor: pointer;
    }

    .backend-node-list {
      overflow: auto;
      padding: 14px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 12px;
    }

    .backend-node-card {
      border: 1px solid #e1e8f2;
      border-radius: 8px;
      background: #ffffff;
      padding: 12px;
    }

    .backend-node-card-title {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
      padding-bottom: 8px;
      border-bottom: 1px solid #edf2f7;
      color: #172033;
      font-size: 0.84rem;
    }

    .backend-node-card-title span {
      color: #607086;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 0.72rem;
    }

    .backend-node-fields {
      display: grid;
      gap: 6px;
    }

    .backend-node-fields div {
      display: grid;
      grid-template-columns: 70px minmax(0, 1fr);
      gap: 8px;
      font-size: 0.72rem;
      align-items: baseline;
    }

    .backend-node-fields span {
      color: #7b8797;
    }

    .backend-node-fields strong {
      color: #253247;
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .backend-node-empty {
      grid-column: 1 / -1;
      padding: 36px 16px;
      color: #7b8797;
      text-align: center;
      border: 1px dashed #cfd9e6;
      border-radius: 8px;
      background: #f8fbff;
    }

    .services-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
    }

    .service-card {
      min-height: 48px;
      padding: 5px 8px;
      border-color: #e2e8f0;
      border-radius: 5px;
      box-shadow: none;
    }

    .service-card:hover {
      box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    }

    .service-name {
      color: #162033;
      font-size: 0.75rem;
      line-height: 1.3;
    }

    .service-url {
      margin-top: 1px;
      color: #73839a;
      font-size: 0.6rem;
    }

    .latency {
      min-width: 50px;
      padding: 4px 7px;
      border-radius: 999px;
      font-size: 0.68rem;
      text-align: center;
    }

    .storage-grid {
      grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
      gap: 5px;
    }

    .storage-card {
      min-height: 72px;
      padding: 4px 4px;
      border-color: #e2e8f0;
      border-radius: 5px;
      box-shadow: none;
    }

    .storage-name {
      margin-bottom: 2px;
      color: #1e293b;
      font-size: 0.5rem;
      line-height: 1.2;
    }

    .battery-container {
      width: 16px;
      height: 24px;
      margin-bottom: 3px;
      border-color: #475569;
      border-radius: 2px;
    }

    .battery-tip {
      top: -2px;
      width: 5px;
      height: 2px;
      background-color: #475569;
    }

    .storage-info {
      line-height: 1.2;
    }

    .storage-percentage {
      font-size: 0.6rem;
    }

    .storage-capacity {
      margin-top: 1px;
      color: #64748b;
      font-size: 0.42rem;
    }

    .storage-usage {
      margin-top: 2px;
      padding: 1px 4px;
      border-radius: 999px;
      background: #f1f5f9;
      color: #475569;
      font-size: 0.5rem;
      line-height: 1.25;
    }

    .database-table-container {
      max-height: 370px;
      border-radius: 8px;
      border-color: #e2e8f0;
      box-shadow: none;
    }

    .database-table {
      font-size: 0.78rem;
    }

    .database-table thead,
    .database-table th {
      background: #f8fafc;
    }

    .database-table th {
      padding: 11px 12px;
      color: #475569;
      border-bottom-color: #dbe4ef;
      letter-spacing: 0;
      text-transform: none;
      font-size: 0.72rem;
    }

    .database-table td {
      padding: 11px 12px;
      color: #334155;
    }

    .database-table tbody tr:hover {
      background-color: #f1f7ff;
      transform: none;
      box-shadow: none;
    }

    .db-icon {
      width: 22px;
      height: 22px;
    }

    .error-text {
      display: inline-block;
      max-width: 220px;
      font-size: 0.72rem;
      vertical-align: middle;
    }

    .empty-state {
      padding: 28px 16px;
      color: #718096;
      font-size: 0.82rem;
    }

    .loading {
      padding: 28px 16px;
      color: #718096;
      font-size: 0.82rem;
    }

    .spinner {
      width: 24px;
      height: 24px;
      border-width: 2px;
    }

    .footer {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 6px;
      padding: 18px 0 4px;
    }

    .github-badge {
      overflow: hidden;
      border-radius: 999px;
      line-height: 14px;
    }

    .github-badge a {
      color: inherit;
      text-decoration: none;
    }

    .github-badge .badge-subject,
    .github-badge .badge-value {
      padding: 4px 7px;
    }

    @media (max-width: 900px) {
      body {
        padding: 14px;
      }

      .dashboard-header {
        align-items: stretch;
        flex-direction: column;
      }

      .quick-links {
        justify-content: flex-start;
      }

      .services-container {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 520px) {
      h1 {
        font-size: 1.35rem;
      }

      .dashboard-header,
      .services-section {
        padding: 13px;
      }

      .dashboard-header > .backend-node-status {
        top: 13px;
        right: 13px;
      }

      .quick-links a {
        flex: 1 1 30%;
        min-width: 0;
        padding: 7px 8px;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      .storage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
