﻿:root {
  --bg: #eef4ff;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-soft: rgba(248, 251, 255, 0.9);
  --line: rgba(198, 216, 241, 0.9);
  --line-strong: rgba(171, 193, 230, 0.96);
  --text: #1c2941;
  --muted: #687d9b;
  --blue: #4b7bff;
  --green: #19b97d;
  --orange: #ff9f2f;
  --purple: #7d5cff;
  --pink: #ff5ea8;
  --danger: #f05f75;
  --shadow: 0 28px 60px rgba(78, 105, 152, 0.16);
  --shadow-soft: 0 16px 30px rgba(92, 118, 168, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  font-weight: 500;
  background:
    radial-gradient(circle at 10% 14%, rgba(75, 123, 255, 0.18), transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(125, 92, 255, 0.12), transparent 22%),
    radial-gradient(circle at 82% 72%, rgba(255, 94, 168, 0.08), transparent 18%),
    radial-gradient(circle at 28% 88%, rgba(25, 185, 125, 0.08), transparent 18%),
    linear-gradient(135deg, #f5f8ff 0%, #ebf2ff 42%, #f7f8ff 100%);
}

body.theme-dark {
  --panel: rgba(23, 31, 49, 0.88);
  --panel-soft: rgba(29, 39, 61, 0.92);
  --line: rgba(84, 103, 136, 0.72);
  --line-strong: rgba(101, 125, 166, 0.9);
  --text: #edf4ff;
  --muted: #9caed0;
  --shadow: 0 24px 54px rgba(5, 10, 22, 0.42);
  --shadow-soft: 0 18px 36px rgba(7, 12, 23, 0.26);
  background:
    radial-gradient(circle at 12% 18%, rgba(75, 123, 255, 0.22), transparent 20%),
    radial-gradient(circle at 84% 10%, rgba(125, 92, 255, 0.16), transparent 22%),
    radial-gradient(circle at 72% 78%, rgba(255, 94, 168, 0.08), transparent 18%),
    linear-gradient(180deg, #0e1628 0%, #121d31 48%, #0d1523 100%);
}

button,
input,
select {
  font: inherit;
}

.hidden {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.app-shell::before,
.app-shell::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.34;
  animation: ambientFloat 16s ease-in-out infinite;
}

.app-shell::before {
  width: 240px;
  height: 240px;
  top: 96px;
  right: 8%;
  background: rgba(75, 123, 255, 0.2);
}

.app-shell::after {
  width: 180px;
  height: 180px;
  bottom: 8%;
  left: 6%;
  background: rgba(255, 94, 168, 0.14);
  animation-delay: -8s;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(75, 123, 255, 0.18), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(125, 92, 255, 0.14), transparent 22%),
    radial-gradient(circle at 68% 82%, rgba(255, 94, 168, 0.08), transparent 22%);
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
}

.login-copy,
.login-panel,
.panel,
.topbar,
.tab-nav,
.panel-sub,
.store-card,
.feed-item,
.stat-card,
.mini-stat-card,
.modal-card {
  background: var(--panel);
  border: 1px solid rgba(217, 229, 244, 0.96);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.login-copy::before,
.login-panel::before,
.panel::before,
.topbar::before,
.tab-nav::before,
.panel-sub::before,
.modal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.72));
  pointer-events: none;
}

.login-copy,
.login-panel {
  padding: 40px;
}

.kicker,
.tiny-label {
  margin: 0 0 8px;
  font-size: 12px;
  color: #8d9cb6;
  font-weight: 700;
}

.login-copy h1,
.page-heading h1 {
  margin: 0;
  line-height: 1.12;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 800;
}

.login-copy h1 {
  font-size: clamp(28px, 3vw, 42px);
}

.login-copy p,
.page-heading p,
.section-tip,
.form-hint,
.brand-mini p,
#currentUserMeta,
.modal-content p {
  color: var(--muted);
  line-height: 1.75;
}

.login-metrics {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.login-quote-panel {
  position: relative;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(197, 213, 239, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 255, 0.94) 100%),
    radial-gradient(circle at 12% 18%, rgba(75, 123, 255, 0.11), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(125, 92, 255, 0.1), transparent 24%);
  box-shadow: 0 16px 34px rgba(98, 121, 169, 0.14);
  overflow: hidden;
}

.login-quote-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.38) 18%, transparent 36%);
  transform: translateX(-120%);
  animation: quote-shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

.login-quote-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  color: #6987b6;
}

.login-quote-text {
  display: block;
  margin: 0;
  font-size: 22px;
  line-height: 1.52;
  font-weight: 800;
  color: #2c446d;
  text-shadow: none;
}

.login-quote-meta {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #7b90b5;
}

.quote-animate {
  animation: quote-rise 720ms ease;
}

.login-metric-card {
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(220, 229, 244, 0.98);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.92) 100%),
    radial-gradient(circle at 14% 20%, rgba(75, 123, 255, 0.08), transparent 38%);
  box-shadow: var(--shadow-soft);
}

.login-metric-card span,
.login-metric-card small {
  display: block;
  color: #7d8eaa;
}

.login-metric-card span {
  font-size: 12px;
}

.login-metric-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 18px;
  color: #2f4468;
}

.login-metric-card small {
  line-height: 1.6;
  font-size: 12px;
}

@keyframes quote-rise {
  0% {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes quote-shimmer {
  0%,
  72% {
    transform: translateX(-120%);
    opacity: 0;
  }
  78% {
    opacity: 1;
  }
  100% {
    transform: translateX(160%);
    opacity: 0;
  }
}

.role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.role-chip,
.ghost-button,
.nav-link,
.primary-button,
.danger-button {
  border: 0;
  cursor: pointer;
}

.role-chip {
  min-height: 48px;
  border-radius: 16px;
  background: #f4f7fd;
  color: var(--muted);
}

.role-chip.active {
  background: #fff1dc;
  color: #c97a00;
}

.login-form,
.admin-form,
.entry-form {
  display: grid;
  gap: 16px;
}

.dxm-config-form {
  margin-top: 18px;
}

.dxm-shop-manager {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(215, 227, 245, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 249, 255, 0.94) 100%),
    radial-gradient(circle at 10% 12%, rgba(92, 128, 255, 0.08), transparent 34%);
  box-shadow: 0 16px 32px rgba(110, 131, 176, 0.1);
}

.dxm-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.dxm-shop-toolbar h5 {
  margin: 4px 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #20304f;
}

.dxm-shop-toolbar p {
  margin: 0;
  color: #677898;
  font-size: 12px;
  line-height: 1.6;
}

.dxm-shop-toolbar-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.dxm-shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dxm-shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dxm-shop-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.dxm-shop-chip.is-active {
  background: rgba(43, 179, 110, 0.1);
  color: #178454;
  border-color: rgba(43, 179, 110, 0.16);
}

.dxm-shop-chip.is-disabled {
  background: rgba(244, 154, 71, 0.12);
  color: #bf6b0b;
  border-color: rgba(244, 154, 71, 0.18);
}

.dxm-shop-chip.is-neutral {
  background: rgba(85, 111, 164, 0.1);
  color: #5d6f8f;
  border-color: rgba(85, 111, 164, 0.14);
}

.dxm-shop-chip.is-warning {
  background: rgba(113, 96, 255, 0.12);
  color: #5a46d6;
  border-color: rgba(113, 96, 255, 0.18);
}

.dxm-import-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(137, 159, 207, 0.8);
  background:
    linear-gradient(180deg, rgba(252, 253, 255, 0.98) 0%, rgba(244, 248, 255, 0.94) 100%),
    radial-gradient(circle at 86% 18%, rgba(95, 127, 255, 0.08), transparent 24%);
}

.dxm-import-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.dxm-import-head strong {
  display: block;
  margin-bottom: 4px;
  color: #20304f;
  font-size: 14px;
  font-weight: 800;
}

.dxm-import-head small {
  color: #6f809d;
  font-size: 12px;
  line-height: 1.6;
}

.dxm-import-panel textarea {
  width: 100%;
  min-height: 132px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(208, 220, 240, 0.96);
  background: rgba(255, 255, 255, 0.95);
  color: #22314d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.dxm-import-panel textarea:focus {
  outline: none;
  border-color: rgba(104, 121, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(104, 121, 255, 0.12);
}

.dxm-import-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.dxm-shop-table-wrap {
  border-radius: 16px;
  border: 1px solid rgba(218, 228, 245, 0.96);
  background: rgba(255, 255, 255, 0.92);
  overflow: auto;
}

.dxm-shop-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
}

.dxm-shop-table th,
.dxm-shop-table td {
  padding: 12px 14px;
  text-align: left;
}

.dxm-shop-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(242, 247, 255, 0.98);
  color: #61728f;
  font-size: 12px;
  font-weight: 800;
  border-bottom: 1px solid rgba(220, 230, 245, 0.96);
}

.dxm-shop-row td {
  border-top: 1px solid rgba(233, 239, 248, 0.98);
  vertical-align: middle;
}

.dxm-shop-row:first-child td {
  border-top: none;
}

.dxm-shop-row.is-disabled {
  background: rgba(247, 249, 253, 0.96);
}

.dxm-shop-index {
  color: #6e7d98;
  font-weight: 800;
}

.dxm-shop-input {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(208, 220, 240, 0.96);
  background: rgba(249, 251, 255, 0.94);
  color: #1f2f4c;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.dxm-shop-input:focus {
  outline: none;
  border-color: rgba(104, 121, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(104, 121, 255, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.dxm-sync-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dxm-switch {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 28px;
}

.dxm-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.dxm-switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(176, 188, 209, 0.8);
  transition: all 180ms ease;
  cursor: pointer;
}

.dxm-switch-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(83, 98, 136, 0.24);
  transition: transform 180ms ease;
}

.dxm-switch input:checked + .dxm-switch-slider {
  background: linear-gradient(135deg, #5e7cff 0%, #6d5fff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.dxm-switch input:checked + .dxm-switch-slider::before {
  transform: translateX(18px);
}

.dxm-row-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.dxm-row-badge.is-active {
  background: rgba(43, 179, 110, 0.12);
  color: #13814f;
}

.dxm-row-badge.is-disabled {
  background: rgba(160, 171, 190, 0.18);
  color: #69768d;
}

.dxm-row-delete {
  min-width: 68px;
}

.dxm-shop-empty {
  padding: 18px;
  text-align: center;
  color: #6d7d97;
  font-size: 13px;
  font-weight: 700;
}

.dxm-shop-footnote {
  color: #6b7c98;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.compact-head {
  margin-bottom: 12px;
}

.full-span {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cleanup-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 16px;
}

.cleanup-filter {
  min-width: 200px;
}

.cleanup-reset-button {
  align-self: end;
}

.dxm-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.dxm-task-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(75, 123, 255, 0.1);
  color: #5a73a6;
  font-size: 12px;
  font-weight: 700;
}

.dxm-run-history {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(216, 226, 244, 0.9);
}

.dxm-run-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.dxm-run-history-head strong {
  font-size: 13px;
}

.dxm-run-history-head small {
  color: #7b8aa5;
}

.dxm-run-history-list {
  display: grid;
  gap: 8px;
}

.dxm-run-item {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(249, 251, 255, 0.98) 0%, rgba(242, 247, 255, 0.95) 100%);
  border: 1px solid rgba(222, 231, 246, 0.96);
}

.dxm-run-item.is-success {
  background:
    linear-gradient(180deg, rgba(246, 252, 249, 0.98) 0%, rgba(239, 250, 244, 0.94) 100%),
    radial-gradient(circle at 88% 14%, rgba(45, 184, 108, 0.08), transparent 28%);
  border-color: rgba(152, 223, 185, 0.72);
}

.dxm-run-item.is-warning {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.98) 0%, rgba(255, 246, 233, 0.94) 100%),
    radial-gradient(circle at 88% 14%, rgba(245, 155, 26, 0.08), transparent 28%);
  border-color: rgba(244, 208, 149, 0.78);
}

.dxm-run-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dxm-run-item strong {
  font-size: 13px;
  color: #344a70;
}

.dxm-run-item small {
  color: #7f8dab;
}

.dxm-run-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dxm-run-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.dxm-run-pill.success {
  background: rgba(45, 184, 108, 0.12);
  color: #21825b;
}

.dxm-run-pill.warning {
  background: rgba(245, 155, 26, 0.14);
  color: #c97a00;
}

.dxm-run-pill.info {
  background: rgba(75, 123, 255, 0.1);
  color: #4869c9;
}

.cleanup-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.cleanup-trigger.auto {
  background: rgba(75, 123, 255, 0.12);
  color: #4064c8;
}

.cleanup-trigger.manual {
  background: rgba(245, 155, 26, 0.16);
  color: #c97a00;
}

.dxm-floating-log {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100vw - 28px));
  max-height: 58vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(122, 146, 190, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(53, 83, 130, 0.18);
  backdrop-filter: blur(14px);
  z-index: 50;
}

.dark .dxm-floating-log {
  background: rgba(17, 24, 39, 0.9);
  border-color: rgba(116, 146, 255, 0.26);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.dxm-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dxm-log-head h5 {
  margin: 4px 0 0;
  font-size: 15px;
}

.dxm-log-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(75, 123, 255, 0.1);
  color: #4064c8;
  font-size: 12px;
  font-weight: 700;
}

.dark .dxm-log-meta {
  background: rgba(125, 92, 255, 0.16);
  color: #b9c9ff;
}

.dxm-log-list {
  overflow: auto;
  display: grid;
  gap: 10px;
  padding-right: 4px;
}

.dxm-log-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240, 247, 255, 0.96), rgba(247, 250, 255, 0.9));
  border: 1px solid rgba(138, 160, 198, 0.18);
}

.dark .dxm-log-item {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(17, 24, 39, 0.9));
  border-color: rgba(104, 124, 168, 0.24);
}

.dxm-log-item strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 13px;
}

.dxm-log-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.dxm-log-time {
  font-size: 11px;
  color: #7b8aa5;
  white-space: nowrap;
}

.dxm-log-item.is-success strong {
  color: #1f8f63;
}

.dxm-log-item.is-error strong {
  color: #d74f66;
}

.dxm-log-item.is-running strong {
  color: #4064c8;
}

.button-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.88;
}

.button-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  display: inline-block;
  animation: button-spin 0.72s linear infinite;
  vertical-align: -2px;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .dxm-floating-log {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    max-height: 40vh;
  }
}

.login-form label,
.admin-form label,
.entry-form label,
.inline-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #607390;
}

.entry-form label span {
  font-weight: 600;
  color: #536885;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
}

input:disabled {
  background: #f3f7fc;
  color: #7d8eaa;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #90b4ff;
  box-shadow: 0 0 0 3px rgba(77, 141, 255, 0.11);
}

textarea {
  min-height: 112px;
  padding: 12px 14px;
  resize: vertical;
  font: inherit;
  line-height: 1.55;
}

.primary-button,
.ghost-button,
.danger-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    filter 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #4b7bff 0%, #7d5cff 52%, #ff5ea8 100%);
  color: #fff;
  box-shadow: 0 16px 28px rgba(109, 95, 255, 0.28);
}

.primary-large {
  min-height: 50px;
}

.slim-button {
  min-height: 40px;
}

.ghost-button {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 249, 255, 0.94) 100%);
  color: #4d6287;
  border: 1px solid rgba(219, 228, 243, 0.98);
}

.theme-toggle-button {
  min-width: 102px;
}

.danger-button {
  background: linear-gradient(180deg, #fff4f7 0%, #ffe9f0 100%);
  color: #d46072;
}

.primary-button:hover,
.ghost-button:hover,
.danger-button:hover,
.nav-link:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.primary-button:hover {
  box-shadow: 0 20px 34px rgba(109, 95, 255, 0.34);
}

.ghost-button:hover {
  box-shadow: 0 12px 24px rgba(120, 145, 188, 0.16);
  border-color: rgba(182, 201, 233, 0.98);
}

.danger-button:hover {
  box-shadow: 0 12px 24px rgba(231, 108, 138, 0.16);
}

.table-button {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.dashboard-shell {
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 32px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  margin-bottom: 14px;
  backdrop-filter: blur(14px);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mini strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.brand-mini p {
  margin: 2px 0 0;
  font-size: 12px;
}

.brand-icon {
  font-size: 22px;
}

.user-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 249, 255, 0.92) 100%),
    radial-gradient(circle at 12% 20%, rgba(75, 123, 255, 0.06), transparent 42%);
  border: 1px solid rgba(220, 229, 244, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.user-pill strong {
  font-size: 14px;
  font-weight: 700;
}

.user-pill small {
  font-size: 12px;
  color: var(--muted);
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  margin-bottom: 18px;
  backdrop-filter: blur(14px);
}

.nav-link {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(244, 248, 255, 0.94) 100%);
  color: #5b6f91;
  font-weight: 700;
  border: 1px solid rgba(218, 228, 243, 0.96);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(75, 123, 255, 0.14) 0%, rgba(125, 92, 255, 0.16) 48%, rgba(255, 94, 168, 0.14) 100%);
  color: #334d86;
  border-color: rgba(155, 175, 235, 0.96);
  box-shadow: 0 12px 24px rgba(111, 116, 231, 0.14);
}

.main {
  display: grid;
  gap: 16px;
}

.view {
  display: none;
  gap: 16px;
}

.view.active {
  display: grid;
}

.page-heading {
  padding: 2px 2px 0;
}

.page-heading.with-control {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.page-heading p {
  margin: 4px 0 0;
}

.entry-heading {
  display: grid;
  gap: 4px;
  padding: 6px 4px 2px;
}

.entry-heading h1 {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 800;
}

.panel {
  padding: 18px 20px;
  backdrop-filter: blur(16px);
}

.section-panel {
  display: grid;
  gap: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.section-head h3,
.panel-sub h4,
.modal-content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.section-tip,
.form-hint {
  font-size: 12px;
}

.form-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  line-height: 1.6;
}

.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.entry-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
}

.admin-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.field-card {
  padding: 12px 12px 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 248, 255, 0.92) 100%),
    radial-gradient(circle at 10% 18%, rgba(75, 123, 255, 0.05), transparent 42%);
  border: 1px solid rgba(211, 225, 245, 0.94);
  border-radius: 16px;
}

.employee-field {
  display: none !important;
}

body.employee-mode .employee-field {
  display: flex !important;
}

body.employee-mode .entry-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.entry-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(209, 223, 244, 0.94);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(244, 247, 255, 0.94) 48%, rgba(250, 243, 255, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 24px rgba(124, 146, 188, 0.08);
}

.entry-submit {
  min-width: 132px;
  justify-self: start;
  box-shadow: 0 16px 28px rgba(109, 95, 255, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.entry-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(109, 95, 255, 0.32);
  filter: saturate(1.04);
}

.hint-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2db86c 0%, #1f9b58 100%);
  box-shadow: 0 0 0 4px rgba(45, 184, 108, 0.12);
}

.entry-mini-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.92fr 0.92fr;
  gap: 14px;
  align-items: start;
}

.mini-chart-card,
.mini-table-card {
  border: 1px solid rgba(220, 230, 246, 0.96);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.92);
  padding: 14px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  box-shadow: var(--shadow-soft);
}

.mini-chart-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 249, 255, 0.92) 100%),
    radial-gradient(circle at 18% 20%, rgba(75, 123, 255, 0.12), transparent 38%),
    radial-gradient(circle at 82% 22%, rgba(255, 94, 168, 0.06), transparent 26%);
}

.mini-chart-card:hover,
.mini-table-card:hover,
.field-card:hover,
.feed-item:hover,
.stat-card:hover,
.mini-stat-card:hover,
.bar-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(102, 124, 175, 0.18);
  border-color: rgba(144, 174, 230, 0.98);
}

.mini-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mini-table-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.mini-table-head .kicker {
  margin-bottom: 4px;
}

.mini-table-card .mini-table-head h4 {
  font-size: 14px;
}

.mini-table-card .mini-table-head .kicker {
  font-size: 11px;
}

.mini-table-wrap {
  overflow: auto;
}

.entry-chart-wrap {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 260px;
}

.entry-pie-chart {
  width: 170px;
  height: 170px;
  display: block;
  margin: 0 auto;
}

.entry-pie-legend {
  display: grid;
  gap: 12px;
}

.entry-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.entry-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 5px rgba(77, 141, 255, 0.08);
}

.entry-legend-copy strong,
.entry-legend-copy small {
  display: block;
}

.entry-legend-copy strong {
  font-size: 14px;
  color: #30486c;
  font-weight: 800;
}

.entry-legend-copy small {
  margin-top: 3px;
  font-size: 13px;
  color: #7d8da7;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.mini-table th,
.mini-table td {
  padding: 9px 8px;
  font-size: 12px;
  border-bottom: 1px solid #edf2fa;
}

th,
.mini-table th,
.ghost-button,
.danger-button,
.role-chip {
  font-weight: 700;
}

td,
.mini-table td,
.feed-item strong,
.store-card strong {
  font-weight: 600;
}

.mini-table-card .mini-table th,
.mini-table-card .mini-table td {
  font-size: 11px;
}

.mini-table-card {
  min-width: 0;
}

.active-days-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.active-days-input {
  width: 84px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
}

.tiny-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: #4d7fd8;
  font-size: 11px;
  font-weight: 600;
}

.latest-panel {
  align-self: start;
}

.entry-primary-panel {
  gap: 14px;
}

.entry-primary-panel .section-head {
  align-items: start;
}

.entry-side-panel {
  position: sticky;
  top: 12px;
}

body.theme-dark .login-copy,
body.theme-dark .login-panel,
body.theme-dark .panel,
body.theme-dark .topbar,
body.theme-dark .tab-nav,
body.theme-dark .panel-sub,
body.theme-dark .store-card,
body.theme-dark .feed-item,
body.theme-dark .stat-card,
body.theme-dark .mini-stat-card,
body.theme-dark .modal-card,
body.theme-dark .mini-chart-card,
body.theme-dark .mini-table-card,
body.theme-dark .user-pill {
  background: var(--panel);
  border-color: rgba(70, 92, 126, 0.86);
}

body.theme-dark .brand-mini p,
body.theme-dark .page-heading p,
body.theme-dark .section-tip,
body.theme-dark .form-hint,
body.theme-dark #currentUserMeta,
body.theme-dark .login-copy p,
body.theme-dark .kicker,
body.theme-dark .tiny-label,
body.theme-dark .login-metric-card span,
body.theme-dark .login-metric-card small,
body.theme-dark .entry-legend-copy small,
body.theme-dark th,
body.theme-dark .mini-table th,
body.theme-dark .empty {
  color: #97abc8;
}

body.theme-dark .ghost-button,
body.theme-dark .nav-link,
body.theme-dark .role-chip {
  background: linear-gradient(180deg, rgba(47, 62, 89, 0.96) 0%, rgba(40, 54, 80, 0.98) 100%);
  color: #d7e4f8;
  border-color: rgba(84, 107, 143, 0.88);
}

body.theme-dark .dxm-shop-manager,
body.theme-dark .dxm-shop-table-wrap,
body.theme-dark .dxm-import-panel {
  background: linear-gradient(180deg, rgba(22, 30, 48, 0.98) 0%, rgba(17, 24, 39, 0.96) 100%);
  border-color: rgba(70, 92, 126, 0.86);
}

body.theme-dark .dxm-shop-table th {
  background: rgba(27, 38, 58, 0.98);
  color: #9fb3d0;
  border-bottom-color: rgba(70, 92, 126, 0.86);
}

body.theme-dark .dxm-shop-row td {
  border-top-color: rgba(50, 67, 96, 0.92);
}

body.theme-dark .dxm-shop-row.is-disabled {
  background: rgba(26, 34, 50, 0.96);
}

body.theme-dark .dxm-shop-toolbar h5,
body.theme-dark .dxm-import-head strong,
body.theme-dark .dxm-shop-input {
  color: #e2ebfb;
}

body.theme-dark .dxm-shop-toolbar p,
body.theme-dark .dxm-import-head small,
body.theme-dark .dxm-shop-footnote,
body.theme-dark .dxm-shop-empty,
body.theme-dark .dxm-shop-index {
  color: #92a7c6;
}

body.theme-dark .dxm-shop-input {
  background: rgba(21, 30, 47, 0.94);
  border-color: rgba(74, 97, 136, 0.88);
}

body.theme-dark .dxm-shop-input:focus {
  background: rgba(19, 27, 43, 0.98);
  border-color: rgba(111, 131, 255, 0.88);
}

body.theme-dark .dxm-import-panel textarea {
  background: rgba(21, 30, 47, 0.94);
  border-color: rgba(74, 97, 136, 0.88);
  color: #e2ebfb;
}

body.theme-dark .dxm-import-panel textarea:focus {
  border-color: rgba(111, 131, 255, 0.88);
}

body.theme-dark .login-quote-panel {
  border-color: rgba(101, 131, 188, 0.34);
  background:
    linear-gradient(135deg, rgba(32, 44, 69, 0.82) 0%, rgba(26, 37, 58, 0.76) 100%),
    radial-gradient(circle at 10% 18%, rgba(75, 123, 255, 0.24), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(125, 92, 255, 0.18), transparent 26%);
  box-shadow: 0 20px 38px rgba(7, 14, 28, 0.28);
}

body.theme-dark .login-quote-label {
  color: #9ab7e8;
}

body.theme-dark .login-quote-text {
  color: #f5f8ff;
}

body.theme-dark .login-quote-meta {
  color: rgba(206, 220, 243, 0.86);
}

body.theme-dark .nav-link.active,
body.theme-dark .role-chip.active {
  background: linear-gradient(135deg, rgba(75, 123, 255, 0.28) 0%, rgba(125, 92, 255, 0.28) 50%, rgba(255, 94, 168, 0.24) 100%);
  color: #f1f5ff;
  box-shadow: 0 14px 28px rgba(56, 77, 128, 0.3);
}

body.theme-dark input,
body.theme-dark select,
body.theme-dark input:disabled {
  background: rgba(44, 58, 82, 0.96);
  color: #eef4ff;
  border-color: rgba(80, 101, 135, 0.92);
}

body.theme-dark .field-card,
body.theme-dark .entry-actions,
body.theme-dark .chart-card,
body.theme-dark .bar-item {
  background: linear-gradient(180deg, rgba(34, 46, 68, 0.9) 0%, rgba(29, 40, 61, 0.92) 100%);
  border-color: rgba(80, 100, 134, 0.82);
}

body.theme-dark .entry-submit {
  box-shadow: 0 16px 30px rgba(125, 92, 255, 0.28);
}

body.theme-dark .hint-dot {
  box-shadow: 0 0 0 4px rgba(45, 184, 108, 0.16);
}

body.theme-dark .mini-chart-card {
  background:
    linear-gradient(180deg, rgba(31, 43, 64, 0.96) 0%, rgba(24, 35, 54, 0.96) 100%),
    radial-gradient(circle at 18% 22%, rgba(75, 123, 255, 0.18), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(255, 94, 168, 0.1), transparent 28%);
}

body.theme-dark .mini-chart-card:hover,
body.theme-dark .mini-table-card:hover,
body.theme-dark .field-card:hover,
body.theme-dark .feed-item:hover,
body.theme-dark .stat-card:hover,
body.theme-dark .mini-stat-card:hover,
body.theme-dark .bar-item:hover {
  box-shadow: 0 18px 30px rgba(8, 14, 27, 0.34);
  border-color: rgba(107, 133, 174, 0.92);
}

body.theme-dark table,
body.theme-dark .mini-table {
  background: transparent;
}

body.theme-dark td,
body.theme-dark .mini-table td {
  border-bottom-color: rgba(73, 93, 123, 0.56);
}

body.theme-dark .badge,
body.theme-dark .tiny-badge {
  background: rgba(77, 141, 255, 0.18);
  color: #b8d3ff;
}

body.theme-dark .employee-cell small {
  background: rgba(75, 123, 255, 0.18);
  color: #bfd3ff;
}

body.theme-dark .summary-rank {
  background: linear-gradient(135deg, rgba(75, 123, 255, 0.28) 0%, rgba(125, 92, 255, 0.22) 100%);
  color: #eef4ff;
}

body.theme-dark .progress-track {
  background: rgba(73, 93, 123, 0.56);
}

body.theme-dark .store-tag,
body.theme-dark .tag-muted {
  background: linear-gradient(180deg, rgba(46, 61, 88, 0.94) 0%, rgba(38, 52, 77, 0.94) 100%);
  color: #d0def4;
  border-color: rgba(88, 111, 148, 0.88);
}

body.theme-dark .store-tag.is-primary {
  background: linear-gradient(135deg, rgba(75, 123, 255, 0.3) 0%, rgba(125, 92, 255, 0.22) 100%);
  color: #eef4ff;
}

body.theme-dark .recent-rank-card {
  border-color: rgba(84, 107, 143, 0.84);
}

body.theme-dark .recent-rank-card.rank-1 {
  background:
    linear-gradient(180deg, rgba(64, 48, 26, 0.92) 0%, rgba(55, 41, 24, 0.92) 100%),
    radial-gradient(circle at 88% 18%, rgba(255, 159, 47, 0.14), transparent 26%);
}

body.theme-dark .recent-rank-card.rank-2 {
  background:
    linear-gradient(180deg, rgba(29, 40, 61, 0.94) 0%, rgba(25, 35, 56, 0.94) 100%),
    radial-gradient(circle at 88% 18%, rgba(75, 123, 255, 0.14), transparent 26%);
}

body.theme-dark .recent-rank-card.rank-3 {
  background:
    linear-gradient(180deg, rgba(39, 33, 59, 0.94) 0%, rgba(32, 27, 49, 0.94) 100%),
    radial-gradient(circle at 88% 18%, rgba(125, 92, 255, 0.16), transparent 26%);
}

body.theme-dark .recent-rank-card.rank-4 {
  background:
    linear-gradient(180deg, rgba(53, 31, 46, 0.94) 0%, rgba(43, 25, 37, 0.94) 100%),
    radial-gradient(circle at 88% 18%, rgba(255, 94, 168, 0.14), transparent 26%);
}

body.theme-dark .recent-rank-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(86, 110, 149, 0.84);
  color: #eef4ff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.stats-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card,
.mini-stat-card {
  padding: 18px 14px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 255, 0.92) 100%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.88), transparent 60%);
}

.stat-card span,
.mini-stat-card span {
  display: block;
  font-size: 12px;
  color: #8697b2;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
  font-weight: 800;
}

.mini-stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

#overviewStats .stat-card:nth-child(1) strong,
#overviewStatsMirror .stat-card:nth-child(1) strong {
  color: var(--blue);
}

#overviewStats .stat-card:nth-child(2) strong,
#overviewStatsMirror .stat-card:nth-child(2) strong {
  color: var(--green);
}

#overviewStats .stat-card:nth-child(3) strong,
#overviewStatsMirror .stat-card:nth-child(3) strong {
  color: var(--orange);
}

#overviewStats .stat-card:nth-child(4) strong,
#overviewStatsMirror .stat-card:nth-child(4) strong {
  color: var(--purple);
}

#overviewStats .stat-card:nth-child(5) strong,
#overviewStatsMirror .stat-card:nth-child(5) strong {
  color: var(--pink);
}

#overviewStats .stat-card:nth-child(1),
#overviewStatsMirror .stat-card:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(241, 246, 255, 0.98) 0%, rgba(233, 241, 255, 0.92) 100%),
    radial-gradient(circle at 16% 18%, rgba(75, 123, 255, 0.12), transparent 38%);
}

#overviewStats .stat-card:nth-child(2),
#overviewStatsMirror .stat-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(241, 255, 249, 0.98) 0%, rgba(232, 251, 244, 0.92) 100%),
    radial-gradient(circle at 16% 18%, rgba(25, 185, 125, 0.12), transparent 38%);
}

#overviewStats .stat-card:nth-child(3),
#overviewStatsMirror .stat-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.98) 0%, rgba(255, 243, 225, 0.94) 100%),
    radial-gradient(circle at 16% 18%, rgba(255, 159, 47, 0.14), transparent 38%);
}

#overviewStats .stat-card:nth-child(4),
#overviewStatsMirror .stat-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(245, 241, 255, 0.98) 0%, rgba(238, 233, 255, 0.94) 100%),
    radial-gradient(circle at 16% 18%, rgba(125, 92, 255, 0.14), transparent 38%);
}

#overviewStats .stat-card:nth-child(5),
#overviewStatsMirror .stat-card:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(255, 242, 248, 0.98) 0%, rgba(255, 235, 244, 0.94) 100%),
    radial-gradient(circle at 16% 18%, rgba(255, 94, 168, 0.14), transparent 38%);
}

#dailySummaryCards .stat-card:nth-child(1),
#monthlySummaryCards .stat-card:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(241, 246, 255, 0.98) 0%, rgba(233, 241, 255, 0.92) 100%),
    radial-gradient(circle at 16% 18%, rgba(75, 123, 255, 0.12), transparent 38%);
}

#dailySummaryCards .stat-card:nth-child(2),
#monthlySummaryCards .stat-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(245, 241, 255, 0.98) 0%, rgba(238, 233, 255, 0.94) 100%),
    radial-gradient(circle at 16% 18%, rgba(125, 92, 255, 0.14), transparent 38%);
}

#dailySummaryCards .stat-card:nth-child(3),
#monthlySummaryCards .stat-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.98) 0%, rgba(255, 243, 225, 0.94) 100%),
    radial-gradient(circle at 16% 18%, rgba(255, 159, 47, 0.14), transparent 38%);
}

#dailySummaryCards .stat-card:nth-child(4),
#monthlySummaryCards .stat-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(241, 255, 249, 0.98) 0%, rgba(232, 251, 244, 0.92) 100%),
    radial-gradient(circle at 16% 18%, rgba(25, 185, 125, 0.12), transparent 38%);
}

#dailySummaryCards .stat-card:nth-child(1) strong,
#monthlySummaryCards .stat-card:nth-child(1) strong {
  color: var(--blue);
}

#dailySummaryCards .stat-card:nth-child(2) strong,
#monthlySummaryCards .stat-card:nth-child(2) strong {
  color: var(--purple);
}

#dailySummaryCards .stat-card:nth-child(3) strong,
#monthlySummaryCards .stat-card:nth-child(3) strong {
  color: var(--orange);
}

#dailySummaryCards .stat-card:nth-child(4) strong,
#monthlySummaryCards .stat-card:nth-child(4) strong {
  color: var(--green);
}

#dailySummaryCards,
#monthlySummaryCards {
  gap: 16px;
}

#dailySummaryCards .stat-card,
#monthlySummaryCards .stat-card {
  min-height: 132px;
  padding: 20px 16px;
  border-color: rgba(208, 222, 245, 0.96);
  box-shadow: 0 16px 30px rgba(142, 166, 212, 0.14);
}

#dailySummaryCards .stat-card span,
#monthlySummaryCards .stat-card span {
  font-size: 13px;
  font-weight: 700;
}

#dailySummaryCards .stat-card strong,
#monthlySummaryCards .stat-card strong {
  margin-top: 16px;
  font-size: 46px;
  letter-spacing: 0;
}

.dual-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.overview-main-grid {
  align-items: start;
}

.overview-side {
  display: grid;
  gap: 16px;
}

.panel-sub {
  padding: 16px;
}

.employee-detail-panel {
  border-radius: 16px;
  border: 1px solid rgba(222, 231, 246, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 100%),
    radial-gradient(circle at 88% 18%, rgba(75, 123, 255, 0.05), transparent 26%);
}

.employee-detail-panel h4 {
  margin-bottom: 12px;
}

.chart-card {
  min-height: 300px;
  padding: 12px 10px 6px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 250, 255, 0.94) 100%),
    radial-gradient(circle at 12% 18%, rgba(75, 123, 255, 0.08), transparent 38%);
  border: 1px solid #e5edf8;
}

.chart-svg {
  width: 100%;
  display: block;
  height: auto;
}

.bar-list,
.feed-list,
.store-grid {
  display: grid;
  gap: 12px;
}

.bar-item {
  padding: 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.92) 100%),
    radial-gradient(circle at 10% 14%, rgba(75, 123, 255, 0.06), transparent 32%);
  border: 1px solid #e3ebf8;
}

.bar-head,
.feed-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: #e9f0fb;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4b7bff 0%, #7d5cff 54%, #ff5ea8 100%);
}

.feed-item,
.store-card {
  padding: 14px 16px;
}

.feed-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 250, 255, 0.9) 100%),
    radial-gradient(circle at 88% 22%, rgba(255, 94, 168, 0.05), transparent 24%);
}

.recent-rank-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 232, 245, 0.96);
}

.recent-rank-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4b7bff 0%, #7d5cff 100%);
}

.recent-rank-card.rank-1 {
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.98) 0%, rgba(255, 241, 216, 0.92) 100%),
    radial-gradient(circle at 88% 18%, rgba(255, 159, 47, 0.14), transparent 26%);
}

.recent-rank-card.rank-1::before {
  background: linear-gradient(180deg, #ffb347 0%, #ff8a1d 100%);
}

.recent-rank-card.rank-2 {
  background:
    linear-gradient(180deg, rgba(245, 248, 255, 0.98) 0%, rgba(236, 242, 255, 0.92) 100%),
    radial-gradient(circle at 88% 18%, rgba(75, 123, 255, 0.12), transparent 26%);
}

.recent-rank-card.rank-2::before {
  background: linear-gradient(180deg, #6b94ff 0%, #4b7bff 100%);
}

.recent-rank-card.rank-3 {
  background:
    linear-gradient(180deg, rgba(247, 243, 255, 0.98) 0%, rgba(240, 235, 255, 0.92) 100%),
    radial-gradient(circle at 88% 18%, rgba(125, 92, 255, 0.12), transparent 26%);
}

.recent-rank-card.rank-3::before {
  background: linear-gradient(180deg, #9a7bff 0%, #7d5cff 100%);
}

.recent-rank-card.rank-4 {
  background:
    linear-gradient(180deg, rgba(255, 245, 250, 0.98) 0%, rgba(255, 238, 247, 0.92) 100%),
    radial-gradient(circle at 88% 18%, rgba(255, 94, 168, 0.12), transparent 26%);
}

.recent-rank-card.rank-4::before {
  background: linear-gradient(180deg, #ff79b7 0%, #ff5ea8 100%);
}

.recent-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.recent-title-wrap strong {
  min-width: 0;
}

.recent-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(213, 223, 241, 0.96);
  color: #4b648f;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}

.feed-item strong,
.store-card strong {
  display: block;
}

.store-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.store-card-head strong {
  margin-bottom: 0;
}

.feed-item small,
.store-card span {
  color: var(--muted);
}

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

.inline-filter span {
  margin-bottom: 6px;
}

.month-filter {
  min-width: 180px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 13px 12px;
  text-align: left;
  border-bottom: 1px solid #edf2fa;
  white-space: nowrap;
  font-size: 13px;
}

th {
  color: #7384a0;
  font-weight: 600;
  background: #fbfdff;
}

.panel-sub table tbody tr:hover,
.employee-detail-panel table tbody tr:hover {
  background: rgba(75, 123, 255, 0.03);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(75, 123, 255, 0.14) 0%, rgba(125, 92, 255, 0.16) 60%, rgba(255, 94, 168, 0.12) 100%);
  color: #4861aa;
  font-size: 12px;
  border: 1px solid rgba(190, 203, 242, 0.92);
}

.employee-cell,
.metric-cell,
.salary-cell,
.progress-cell {
  display: grid;
  gap: 4px;
}

.summary-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-name-cell strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.summary-name-cell small {
  color: var(--muted);
  font-size: 11px;
}

.summary-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(75, 123, 255, 0.14) 0%, rgba(125, 92, 255, 0.12) 100%);
  color: #4764a7;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}

.employee-cell strong,
.metric-cell strong,
.salary-cell strong,
.progress-head strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.employee-cell small,
.metric-cell small,
.salary-cell small,
.progress-head small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.employee-cell small {
  display: inline-flex;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(75, 123, 255, 0.08);
  color: #5572aa;
}

.metric-cell,
.salary-cell {
  min-width: 84px;
}

.salary-cell strong {
  color: var(--purple);
}

.progress-cell {
  min-width: 148px;
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.progress-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(223, 231, 244, 0.88);
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(92, 113, 255, 0.18);
}

.progress-track.primary span {
  background: linear-gradient(90deg, #4b7bff 0%, #6f8eff 100%);
}

.progress-track.success span {
  background: linear-gradient(90deg, #19b97d 0%, #43d39b 100%);
}

.progress-track.warning span {
  background: linear-gradient(90deg, #ff9f2f 0%, #ffbf47 100%);
}

.progress-track.danger span {
  background: linear-gradient(90deg, #ff6c86 0%, #ff8c9c 100%);
}

.store-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 180px;
}

.store-tag,
.tag-muted {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(206, 219, 241, 0.96);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(243, 247, 255, 0.92) 100%);
  color: #5f7292;
}

.store-tag.is-primary {
  background: linear-gradient(135deg, rgba(75, 123, 255, 0.16) 0%, rgba(125, 92, 255, 0.14) 100%);
  color: #4360a1;
  border-color: rgba(171, 188, 235, 0.98);
}

.tag-muted {
  color: var(--muted);
}

.empty {
  padding: 20px 8px;
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(34, 49, 77, 0.94);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ambientFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.04);
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(40, 56, 84, 0.22);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 80;
}

.modal-card {
  width: min(460px, calc(100% - 28px));
  padding: 26px 24px;
  display: grid;
  gap: 18px;
}

.modal-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff1de;
  color: #d98300;
  font-weight: 800;
  font-size: 20px;
}

.modal-content p {
  margin: 8px 0 0;
}

.password-modal-card {
  width: min(500px, calc(100% - 28px));
}

.password-modal-icon {
  background: linear-gradient(135deg, #eef4ff 0%, #ddeaff 100%);
  color: #4d7fd8;
}

.password-form {
  display: grid;
  gap: 14px;
}

.password-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.password-form input {
  min-height: 46px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 1180px) {
  .dashboard-shell {
    width: calc(100% - 20px);
  }

  .login-card,
  .login-metrics,
  .entry-layout,
  .entry-mini-grid,
  .entry-form,
  .admin-form,
  .compact-form,
  .stats-grid,
  .stats-grid.compact,
  .compact-five,
  .mini-stat-grid,
  .dual-grid,
  .store-grid,
  body.employee-mode .entry-form {
    grid-template-columns: 1fr;
  }

  .page-heading.with-control,
  .section-head,
  .topbar,
  .topbar-right,
  .modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .entry-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .entry-submit {
    justify-self: stretch;
  }

  .dxm-shop-toolbar,
  .dxm-shop-toolbar-side {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .dxm-shop-toolbar {
    flex-direction: column;
  }

  .dxm-shop-toolbar-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .dxm-shop-actions,
  .dxm-shop-chips {
    justify-content: flex-start;
  }

  .dxm-import-head,
  .dxm-import-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .login-screen {
    padding: 16px;
  }

  .dashboard-shell {
    width: calc(100% - 12px);
    padding-top: 8px;
  }

  .topbar,
  .tab-nav,
  .panel,
  .login-copy,
  .login-panel {
    padding-left: 14px;
    padding-right: 14px;
  }
}

.dxm-task-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(122, 146, 190, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(241, 246, 255, 0.92));
}

.dark .dxm-task-panel {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(17, 24, 39, 0.9));
  border-color: rgba(110, 139, 197, 0.22);
}

.dxm-task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dxm-task-head h4 {
  margin: 4px 0 0;
  font-size: 15px;
}

.dxm-task-badge {
  position: relative;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(75, 123, 255, 0.12);
  color: #4064c8;
  font-size: 12px;
  font-weight: 700;
}

.dxm-task-panel[data-state="running"] .dxm-task-badge {
  background: linear-gradient(135deg, rgba(75, 123, 255, 0.18) 0%, rgba(56, 220, 165, 0.18) 100%);
  color: #2e5fcb;
  box-shadow: 0 8px 18px rgba(75, 123, 255, 0.16);
}

.dxm-task-panel[data-state="success"] .dxm-task-badge {
  background: rgba(45, 184, 108, 0.14);
  color: #1f8f63;
}

.dxm-task-panel[data-state="error"] .dxm-task-badge {
  background: rgba(215, 79, 102, 0.14);
  color: #b93f56;
}

.dxm-task-meta span:first-child {
  min-width: 148px;
  justify-content: center;
  background: linear-gradient(135deg, rgba(75, 123, 255, 0.16) 0%, rgba(125, 92, 255, 0.12) 100%);
  color: #355aa6;
}

.dxm-task-meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(146, 165, 198, 0.18);
}

.dxm-task-meter-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4b7bff, #48b7ff, #33d0a2);
  transition: width 220ms ease;
}

.dxm-task-status {
  font-size: 13px;
  color: var(--muted);
}

.dxm-task-log-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}

.dxm-task-log-item {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(138, 160, 198, 0.14);
  font-size: 12px;
}

.dark .dxm-task-log-item {
  background: rgba(255, 255, 255, 0.04);
}

.dxm-task-log-item[data-level="success"] { color: #1f8f63; }
.dxm-task-log-item[data-level="running"] { color: #4064c8; }
.dxm-task-log-item[data-level="error"] { color: #d74f66; }

/* mobile-optimization-20260726:start */
@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .app-shell {
    overflow-x: clip;
  }

  .dashboard-shell {
    width: calc(100% - 10px);
    padding: 6px 0 22px;
  }

  .topbar,
  .tab-nav,
  .panel,
  .panel-sub,
  .login-copy,
  .login-panel,
  .modal-card {
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar {
    gap: 12px;
  }

  .topbar-left,
  .topbar-right {
    width: 100%;
    min-width: 0;
  }

  .topbar-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .topbar-right > .ghost-button {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }

  .topbar-right > .theme-toggle-button {
    min-width: 0;
  }

  .user-pill {
    flex: 1 1 100%;
    width: 100%;
  }

  .brand-mini {
    align-items: flex-start;
  }

  .brand-mini > div {
    min-width: 0;
  }

  .brand-icon {
    font-size: 20px;
    margin-top: 2px;
  }

  .brand-mini strong {
    font-size: 16px;
    line-height: 1.35;
  }

  .brand-mini p {
    font-size: 11px;
    line-height: 1.6;
  }

  .tab-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .tab-nav::-webkit-scrollbar {
    height: 6px;
  }

  .tab-nav::-webkit-scrollbar-thumb {
    background: rgba(123, 146, 190, 0.34);
    border-radius: 999px;
  }

  .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 14px;
  }

  .page-heading,
  .entry-heading {
    gap: 6px;
  }

  .page-heading h1,
  .entry-heading h1 {
    font-size: clamp(24px, 8vw, 30px);
  }

  .page-heading.with-control {
    align-items: stretch;
  }

  .section-head {
    gap: 10px;
  }

  .section-head > div {
    min-width: 0;
  }

  .section-tip {
    align-self: flex-start;
  }

  .entry-layout,
  .overview-main-grid,
  .overview-side,
  .entry-mini-grid {
    gap: 12px;
  }

  .entry-side-panel {
    position: static;
  }

  .entry-form,
  .admin-form,
  .compact-form,
  body.employee-mode .entry-form {
    grid-template-columns: 1fr;
  }

  .field-card {
    min-width: 0;
    padding: 11px 11px 10px;
  }

  .entry-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .entry-submit {
    min-width: 0;
    width: 100%;
  }

  .form-hint {
    display: flex;
    white-space: normal;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    word-break: break-word;
  }

  .entry-chart-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
  }

  .entry-pie-chart {
    width: 176px;
    height: 176px;
  }

  .entry-pie-legend {
    gap: 10px;
  }

  .mini-table-head,
  .bar-head,
  .feed-item-head,
  .store-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid,
  .stats-grid.compact,
  .compact-five,
  .mini-stat-grid,
  .dual-grid,
  .store-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card,
  .mini-stat-card,
  #dailySummaryCards .stat-card,
  #monthlySummaryCards .stat-card {
    min-height: 0;
  }

  .stat-card strong {
    font-size: 28px;
  }

  .mini-stat-card strong {
    font-size: 22px;
  }

  #dailySummaryCards .stat-card strong,
  #monthlySummaryCards .stat-card strong {
    font-size: 34px;
  }

  .feed-item,
  .store-card,
  .panel-sub {
    padding: 12px 14px;
  }

  .recent-title-wrap {
    width: 100%;
  }

  .inline-filter,
  .month-filter {
    width: 100%;
    min-width: 0;
  }

  .inline-filter input,
  .inline-filter select {
    width: 100%;
    box-sizing: border-box;
  }

  .active-days-cell {
    flex-wrap: wrap;
  }

  .active-days-input {
    width: 100%;
    max-width: 140px;
  }

  .table-wrap,
  .mini-table-wrap,
  .dxm-shop-table-wrap {
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 620px;
  }

  .mini-table {
    min-width: 430px;
  }

  th,
  td {
    padding: 12px 10px;
    font-size: 12px;
  }

  .dxm-shop-manager,
  .dxm-task-panel {
    padding: 12px;
  }

  .dxm-shop-toolbar,
  .dxm-task-head {
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .login-screen {
    padding: 14px;
  }

  .login-copy,
  .login-panel {
    padding: 24px 18px;
  }

  .login-copy h1 {
    font-size: clamp(24px, 9vw, 30px);
  }

  .dashboard-shell {
    width: calc(100% - 8px);
  }

  .topbar,
  .tab-nav,
  .panel,
  .panel-sub,
  .login-copy,
  .login-panel,
  .modal-card {
    padding-left: 10px;
    padding-right: 10px;
  }

  .topbar-right > .ghost-button {
    flex-basis: 100%;
  }

  .brand-mini {
    gap: 10px;
  }

  .brand-mini strong {
    font-size: 15px;
  }

  .brand-mini p {
    font-size: 10px;
  }

  .page-heading h1,
  .entry-heading h1 {
    font-size: clamp(22px, 8.2vw, 26px);
  }

  .panel {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .entry-pie-chart {
    width: 154px;
    height: 154px;
  }

  .entry-legend-item {
    gap: 8px;
  }

  .entry-legend-copy strong {
    font-size: 13px;
  }

  .entry-legend-copy small {
    font-size: 12px;
  }

  .stat-card strong {
    font-size: 24px;
  }

  .mini-stat-card strong {
    font-size: 20px;
  }

  #dailySummaryCards .stat-card strong,
  #monthlySummaryCards .stat-card strong {
    font-size: 28px;
  }

  table {
    min-width: 560px;
  }

  .mini-table {
    min-width: 360px;
  }

  .recent-rank-badge {
    min-width: 34px;
    padding: 0 8px;
  }
}
/* mobile-optimization-20260726:end */
