/* ==========================================================================
   打卡签到系统 —— 手机端样式
   移动端优先；桌面浏览器把内容限制在 480px 宽的手机壳里。
   ========================================================================== */

:root {
  --blue: #1b4b8f;
  --blue-dark: #143a70;
  --blue-light: #eaf1fb;
  --red: #c62828;
  --text: #1f2329;
  --sub: #8a9099;
  --placeholder: #b8bdc4;
  --line: #eceef1;
  --bg: #f4f6f9;
  --white: #fff;
  --danger: #e5484d;
  --success: #1a9c5b;
  --warning: #d97706;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(27, 75, 143, 0.12);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 23px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--white);
  background: var(--blue);
  transition: opacity 0.15s, transform 0.08s;
}

.btn:active {
  opacity: 0.86;
  transform: translateY(1px);
}

.btn[disabled] {
  background: #b7c6da;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  color: var(--blue);
  background: #fff;
  border: 1px solid #c9d8ee;
}

.btn--small {
  width: auto;
  height: 36px;
  padding: 0 18px;
  border-radius: 18px;
  font-size: 14px;
}

/* ==========================================================================
   登录页
   ========================================================================== */
.login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px calc(24px + var(--safe-bottom));
  background: radial-gradient(1200px 600px at 50% -10%, #2a6bbd 0%, #143a70 48%, #0b2347 100%);
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 16px;
  padding: 34px 26px 26px;
  box-shadow: 0 20px 50px rgba(3, 14, 35, 0.4);
  animation: card-in 0.35s ease-out;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.login-emblem {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 30px;
  color: #fff;
  background: linear-gradient(160deg, #2a6fd4, #103a7c);
  box-shadow: 0 10px 22px rgba(16, 58, 124, 0.3);
}

.login-title {
  margin: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #17305c;
}

.login-sub {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--sub);
  letter-spacing: 2px;
}

.login-rule {
  width: 46px;
  height: 3px;
  margin: 20px auto 24px;
  border-radius: 2px;
  background: var(--blue);
}

.welcome-state {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.welcome-text {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--sub);
}

.login-loading {
  display: flex;
  gap: 8px;
  height: 10px;
}

.login-loading span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a6fd4;
  box-shadow: 0 0 10px rgba(42, 111, 212, 0.5);
  animation: login-bounce 1.2s infinite ease-in-out;
}

.login-loading span:nth-child(2) {
  animation-delay: 0.15s;
}

.login-loading span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes login-bounce {
  0%, 80%, 100% { transform: scale(0.45); opacity: 0.35; }
  40% { transform: scale(1); opacity: 1; }
}

.login-retry {
  margin-top: 4px;
  padding: 2px 4px;
  border: none;
  border-bottom: 1px dashed rgba(27, 79, 171, 0.6);
  background: transparent;
  color: var(--blue);
  font-size: 14px;
}

.login-error {
  display: none;
  margin: 14px 0 0;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fdecec;
  color: #a12626;
  font-size: 13px;
  line-height: 1.6;
}

.login-error.is-open {
  display: block;
}

.login-tip {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: var(--placeholder);
}

.login-footer {
  margin: 22px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   打卡主页
   ========================================================================== */
.map-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: #e9edf3;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.map-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 27, 61, 0.26) 0%, rgba(7, 27, 61, 0.05) 58%, transparent 100%);
}

.map-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 14px 0;
  pointer-events: none;
}

.map-top > * {
  pointer-events: auto;
}

/* 左上身份卡：深蓝玻璃 + 金色侧线 + 头像在线状态点 */
.user-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: calc(100% - 118px);
  padding: 9px 13px 9px 10px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, rgba(13, 43, 88, 0.97) 0%, rgba(27, 79, 171, 0.95) 55%, rgba(20, 65, 143, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 12px 30px rgba(7, 27, 61, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.user-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(130px 70px at 10% 0%, rgba(255, 255, 255, 0.18), transparent 65%);
}

.user-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #e7bc63, #c62828);
  box-shadow: 0 0 10px rgba(231, 188, 99, 0.45);
}

.user-avatar {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(160deg, #2a6fd4, #0d2f66);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.user-avatar::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #35d07f;
  border: 2px solid #143a70;
  box-shadow: 0 0 0 2px rgba(53, 208, 127, 0.22);
}

.user-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  line-height: 1.32;
}

.user-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dept {
  font-size: 12px;
  color: rgba(226, 236, 255, 0.72);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 右上记录按钮：白色玻璃 + 蓝色图标块 + 细箭头 */
.records-entry {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 11px 0 7px;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid rgba(27, 75, 143, 0.14);
  color: #143a70;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 10px 24px rgba(7, 27, 61, 0.2),
    inset 0 1px 0 #fff;
  transition: transform 0.12s ease, box-shadow 0.18s ease;
}

.records-entry .icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(160deg, #2a6fd4, #14418f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 3px 8px rgba(20, 65, 143, 0.28);
}

.records-entry .icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.records-entry .chev {
  color: #9aa6bb;
  font-size: 16px;
  line-height: 1;
  margin-left: 1px;
}

.records-entry:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 5px 14px rgba(7, 27, 61, 0.16),
    inset 0 1px 0 #fff;
}

/* 没有配置范围时的提示 */
.map-notice {
  position: absolute;
  top: calc(78px + env(safe-area-inset-top, 0px));
  left: 14px;
  right: 14px;
  z-index: 9;
  display: none;
  padding: 10px 13px;
  border-radius: 10px;
  background: #fff7e8;
  border: 1px solid #ffe0a8;
  color: #8a6100;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: var(--shadow);
}

.map-notice.is-open {
  display: block;
}

/* 定位状态 */
.locate-status {
  position: absolute;
  left: 50%;
  bottom: calc(108px + var(--safe-bottom));
  z-index: 9;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  font-size: 12px;
  color: var(--sub);
  white-space: nowrap;
}

.locate-status #locate-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.locate-status .retry {
  flex: none;
}

.locate-status .dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8bdc4;
}

.locate-status.is-loading .dot {
  background: #1b6fd4;
  animation: blink 1s infinite;
}

.locate-status.is-ok {
  color: var(--success);
}

.locate-status.is-ok .dot {
  background: var(--success);
}

.locate-status.is-out {
  color: var(--warning);
}

.locate-status.is-out .dot {
  background: var(--warning);
}

.locate-status.is-error {
  color: var(--danger);
}

.locate-status.is-error .dot {
  background: var(--danger);
}

.locate-status .retry {
  border: none;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 0 0 0 4px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* 底部打卡按钮 */
.checkin-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 14px 20px calc(16px + var(--safe-bottom));
  background: linear-gradient(180deg, rgba(244, 246, 249, 0) 0%, rgba(244, 246, 249, 0.9) 32%, #f4f6f9 100%);
}

.checkin-btn {
  height: 56px;
  border-radius: 28px;
  font-size: 18px;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #2a6fd4, #14418f);
  box-shadow: 0 10px 24px rgba(20, 65, 143, 0.32);
}

.checkin-btn .icon {
  margin-right: 8px;
  font-size: 19px;
}

.checkin-hint {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--sub);
}

/* ==========================================================================
   弹窗、提示
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  background: rgba(12, 20, 33, 0.48);
}

.modal.is-open {
  display: flex;
}

.modal__box {
  width: 100%;
  max-width: 360px;
  max-height: 82vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 26px 22px 20px;
  text-align: center;
  animation: pop 0.2s ease-out;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.modal__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: #e7f7ef;
  color: var(--success);
}

.modal__icon.is-warning {
  background: #fff4e5;
  color: var(--warning);
}

.modal__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
}

.modal__text {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sub);
}

.modal__detail {
  margin: 14px 0 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f6f8fc;
  text-align: left;
  font-size: 13px;
  line-height: 1.9;
  color: #4b5563;
}

.modal__detail strong {
  color: var(--text);
}

.modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.modal__actions .btn {
  height: 44px;
  font-size: 15px;
}

.remark-input {
  width: 100%;
  min-height: 96px;
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid #dfe5ef;
  border-radius: 10px;
  outline: none;
  resize: none;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: #f8fafd;
  text-align: left;
}

.remark-input:focus {
  border-color: var(--blue);
  background: #fff;
}

.remark-count {
  margin: 6px 0 0;
  text-align: right;
  font-size: 12px;
  color: var(--placeholder);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + var(--safe-bottom));
  z-index: 300;
  max-width: 80%;
  padding: 10px 16px;
  border-radius: 20px;
  background: rgba(31, 35, 41, 0.86);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   打卡记录页
   ========================================================================== */
.page {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 10px;
  background: var(--blue);
  color: #fff;
}

.navbar__back {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 21px;
  text-decoration: none;
}

.navbar__back:active {
  background: rgba(255, 255, 255, 0.15);
}

.navbar__title {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
}

.navbar__spacer {
  width: 32px;
}

.records-content {
  padding: 14px 14px calc(28px + var(--safe-bottom));
}

.month-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.month-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 18px;
}

.month-btn[disabled] {
  opacity: 0.35;
}

.month-label {
  font-size: 16px;
  font-weight: 600;
  color: #1b2b44;
}

.month-today {
  margin-left: 8px;
  border: none;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
}

.summary-card {
  display: flex;
  margin-top: 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #2a6fd4, #14418f);
  color: #fff;
  box-shadow: 0 8px 20px rgba(20, 65, 143, 0.24);
}

.summary-item {
  flex: 1;
  padding: 15px 16px;
  text-align: center;
}

.summary-item + .summary-item {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.summary-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.summary-label {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.calendar-card {
  margin-top: 12px;
  padding: 12px 10px 8px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-week {
  margin-bottom: 4px;
}

.cal-week span {
  text-align: center;
  font-size: 12px;
  color: var(--sub);
  padding: 4px 0;
}

.cal-cell {
  position: relative;
  height: 50px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  user-select: none;
}

.cal-cell.is-empty {
  visibility: hidden;
}

.cal-cell.has-record {
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}

.cal-cell.has-record:active {
  background: var(--blue-light);
}

.cal-cell.has-out {
  color: var(--warning);
}

.cal-cell.is-today .cal-day-num {
  border: 1px solid var(--blue);
  border-radius: 50%;
}

.cal-cell.is-selected .cal-day-num {
  border-color: #fff;
}

.cal-cell.is-selected {
  background: var(--blue);
  color: #fff;
}

.cal-day-num {
  width: 26px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-mark {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
}

.cal-cell.has-out .cal-mark {
  background: var(--warning);
}

.cal-cell.is-selected .cal-mark {
  background: #fff;
  color: var(--blue);
}

.cal-cell.is-selected.has-out .cal-mark {
  color: var(--warning);
}

.detail-card {
  margin-top: 12px;
  padding: 4px 14px 12px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--line);
}

.detail-title {
  font-size: 15px;
  font-weight: 600;
  color: #1b2b44;
}

.detail-count {
  font-size: 12px;
  color: var(--sub);
}

.detail-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.detail-time {
  font-size: 17px;
  font-weight: 700;
  color: #1b2b44;
  font-variant-numeric: tabular-nums;
}

.badge {
  flex: none;
  padding: 2px 9px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.badge--in {
  background: #e6f6ee;
  color: var(--success);
}

.badge--out {
  background: #fff4e5;
  color: var(--warning);
}

.detail-meta {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--sub);
  word-break: break-all;
}

.detail-remark {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fffaf0;
  color: #8a6100;
  font-size: 12px;
  line-height: 1.6;
}

.empty {
  display: none;
  padding: 28px 16px;
  text-align: center;
}

.empty.is-open {
  display: block;
}

.empty__icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.empty__text {
  margin: 0;
  font-size: 13px;
  color: var(--sub);
  line-height: 1.8;
}

/* ==========================================================================
   调试面板（?debug=1）
   ========================================================================== */
.debug-panel {
  position: fixed;
  right: 14px;
  bottom: calc(130px + var(--safe-bottom));
  z-index: 200;
  text-align: right;
}

.debug-toggle {
  border: none;
  border-radius: 16px;
  padding: 7px 13px;
  font-size: 12px;
  color: #fff;
  background: rgba(31, 35, 41, 0.6);
}

.debug-menu {
  display: none;
  width: 210px;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  text-align: left;
}

.debug-menu.is-open {
  display: block;
}

.debug-menu button {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: #f2f6fd;
  color: var(--blue);
  font-size: 12px;
  text-align: left;
}

.debug-menu button:last-child {
  margin-bottom: 0;
}

.debug-menu input {
  width: 100%;
  height: 30px;
  margin-bottom: 6px;
  padding: 0 8px;
  border: 1px solid #dfe5ef;
  border-radius: 6px;
  font-size: 12px;
}

.debug-coord {
  display: none;
  margin: 8px 0 0;
  padding: 7px 8px;
  border-radius: 8px;
  background: #f6f8fc;
  color: #4b5563;
  font-size: 11px;
  line-height: 1.65;
  word-break: break-all;
}

.debug-coord.is-open {
  display: block;
}

.debug-tip {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--sub);
}

/* 桌面端留一点边距，手机端全屏 */
@media (min-width: 520px) {
  .map-shell {
    margin-top: 10px;
    height: calc(100vh - 20px);
    height: calc(100dvh - 20px);
    border-radius: 18px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.12);
  }

  .map-shell #map {
    border-radius: 18px;
  }
}
