/* ==========================================================================
   锐淏科技 RAYHAW · 签到系统设计系统
   风格：极地蓝 / 企业级白底 + 冷蓝渐变 + 细发丝分隔
   仅自定义 CSS，无 UI 框架；图标来自 Bootstrap Icons（BootCDN）
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 蓝色阶梯 */
  --navy-900: #04122E;
  --navy-800: #071F4B;
  --navy-700: #0A2C68;
  --brand-800: #0B3AA0;
  --brand-700: #0E4BBE;
  --brand-600: #1359DB;
  --brand-500: #1E6BFF;
  --brand-400: #4C8CFF;
  --brand-300: #8AB4FF;
  --brand-100: #D7E6FF;
  --brand-50:  #EEF4FF;
  --sky-500:   #12A8E8;
  --sky-400:   #46C4F5;

  /* 中性色 */
  --ink:      #0B1B33;
  --ink-2:    #213754;
  --muted:    #65788F;
  --muted-2:  #93A5BA;
  --line:     #E2EAF6;
  --line-2:   #D3E0F1;
  --bg:       #F3F7FD;
  --card:     #FFFFFF;

  /* 语义色 */
  --ok:       #0E9F6E;
  --ok-bg:    #E7F8F1;
  --warn:     #C97A00;
  --warn-bg:  #FFF5E2;
  --danger:   #D63C45;
  --danger-bg:#FDECEE;

  /* 渐变 */
  --grad-brand: linear-gradient(135deg, #1359DB 0%, #1E6BFF 45%, #12A8E8 100%);
  --grad-deep:  linear-gradient(160deg, #04122E 0%, #0A2C68 45%, #0E4BBE 100%);
  --grad-soft:  linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%);
  --grad-ring:  conic-gradient(from 210deg, #1E6BFF, #12A8E8, #4C8CFF, #1E6BFF);

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(11, 27, 51, .05);
  --sh-sm: 0 2px 10px -2px rgba(11, 45, 110, .10);
  --sh-md: 0 12px 28px -14px rgba(11, 45, 110, .22);
  --sh-lg: 0 26px 60px -28px rgba(9, 40, 100, .38);
  --sh-brand: 0 14px 34px -12px rgba(30, 107, 255, .45);

  /* 尺寸 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --sp: 20px;
  --maxw: 1220px;
  --sidebar-w: 236px;

  /* 字体 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans CJK SC",
               "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --font-num: "Bahnschrift", "DIN Alternate", "HarmonyOS Sans SC", "Segoe UI", var(--font-sans);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 全局底纹：极淡网格 + 两团冷蓝光晕，制造纵深 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 460px at 8% -6%, rgba(30, 107, 255, .10), transparent 70%),
    radial-gradient(680px 420px at 96% 4%, rgba(18, 168, 232, .10), transparent 72%),
    linear-gradient(rgba(30, 107, 255, .045) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(30, 107, 255, .045) 1px, transparent 1px) 0 0 / 44px 100%;
  pointer-events: none;
}

h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0 0 .6em; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }

::selection { background: var(--brand-100); color: var(--brand-800); }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 6px;
}

/* 数字统一使用等宽数字 */
.num, .stat-value, td.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

/* ---------- 2. 入场动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal .62s cubic-bezier(.2, .7, .3, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes reveal {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { animation: none; opacity: 1; transform: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 3. 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 62px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.6vw, 18px);
  padding: 8px clamp(16px, 3.2vw, 34px);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  min-width: 0;
}
.brand:hover { color: var(--ink); }

.brand-logo {
  width: 34px;
  height: 34px;
  flex: none;
  display: block;
  object-fit: contain;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-cn {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-en {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--muted-2);
  font-family: var(--font-num);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topnav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: none; }
.topnav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: .18s;
}
.topnav a:hover { color: var(--brand-600); background: var(--brand-50); }
.topnav a.is-active {
  color: var(--brand-700);
  background: var(--brand-50);
  font-weight: 600;
}

.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.top-right .btn { flex: none; }

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--sh-xs);
  min-width: 0;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  flex: none;
}
.user-chip .meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.user-chip .meta b {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-chip .meta span {
  font-size: 11.5px;
  color: var(--muted-2);
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 4. 主体容器 ---------- */
.main { flex: 1 0 auto; width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(22px, 3vw, 34px) clamp(16px, 3vw, 30px) 48px; }

.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: 23px; }
.page-head .eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--brand-500);
  font-family: var(--font-num);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.page-head p { color: var(--muted); margin: 6px 0 0; max-width: 68ch; }

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 5. 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.card-pad { padding: clamp(18px, 2vw, 24px); }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.card-head h3 { font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.card-head h3 i { color: var(--brand-500); }
.card-body { padding: 20px; }
.card-body.tight { padding: 0; }

.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.side { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: start; }

/* ---------- 6. 按钮 ---------- */
.btn {
  --btn-bg: #fff;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 17px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--btn-bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
  transition: transform .16s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.btn-ghost:hover { color: var(--brand-600); background: var(--brand-50); }

.btn-danger { color: var(--danger); background: #fff; border-color: #F3CDD1; }
.btn-danger:hover { color: #fff; background: var(--danger); border-color: var(--danger); }

.spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  display: inline-block;
  animation: spin .7s linear infinite;
}
.btn:not(.btn-primary) .spinner { border-color: rgba(30, 107, 255, .3); border-top-color: var(--brand-600); }

.btn-sm { padding: 5px 11px; font-size: 12.5px; border-radius: 8px; }
.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn[disabled]:hover { transform: none; }

/* ---------- 7. 表单 ---------- */
.field { margin-bottom: 16px; }
.field > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.field .hint { font-size: 12px; color: var(--muted-2); margin-top: 6px; display: block; }

.control {
  position: relative;
  display: flex;
  align-items: center;
}
.control > i.bi {
  position: absolute;
  left: 12px;
  font-size: 15px;
  color: var(--muted-2);
  pointer-events: none;
  transition: color .2s;
}
.control:focus-within > i.bi { color: var(--brand-500); }

input[type=text], input[type=password], input[type=date], input[type=month],
input[type=search], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.control > input, .control > select { padding-left: 36px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(30, 107, 255, .14);
}
input::placeholder { color: var(--muted-2); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2365788F' viewBox='0 0 16 16'%3E%3Cpath d='M8 11 3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding-right: 30px;
}
input[type=date], input[type=month] { font-family: var(--font-num); }

.checkline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.checkline a { font-weight: 600; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 16px; }

/* 筛选条 */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}
.filters .field { margin: 0; min-width: 160px; flex: 1 1 170px; }
.filters .actions { display: flex; gap: 8px; margin-left: auto; }

/* ---------- 8. 提示条 / 徽标 ---------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.alert i { font-size: 16px; margin-top: 1px; }
.alert-ok   { color: #0A7A55; background: var(--ok-bg);    border-color: #BFE9D8; }
.alert-info { color: var(--brand-700); background: var(--brand-50); border-color: #C9DCFF; }
.alert-warn { color: #9A5E00; background: var(--warn-bg);  border-color: #F5DCAE; }
.alert-error{ color: #A92A32; background: var(--danger-bg); border-color: #F3C6CA; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-ok   { color: #0A7A55; background: var(--ok-bg);    border-color: #C4ECDC; }
.badge-off  { color: var(--muted); background: #F1F5FB;    border-color: var(--line); }
.badge-warn { color: #9A5E00; background: var(--warn-bg);  border-color: #F5DCAE; }
.badge-brand{ color: var(--brand-700); background: var(--brand-50); border-color: #CBDDFF; }
.badge-dot::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

/* ---------- 9. 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
table.data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}
table.data thead th {
  position: sticky;
  top: 0;
  background: #F7FAFF;
  color: var(--muted);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .03em;
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: middle;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr { transition: background .16s; }
table.data tbody tr:hover { background: #F8FBFF; }
table.data td.name { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.data td.ops { text-align: right; white-space: nowrap; }
table.data td.ops .btn { margin-left: 6px; }
.row-user { display: flex; align-items: center; gap: 10px; }
.row-user .avatar { width: 30px; height: 30px; font-size: 12px; }
.row-user small { color: var(--muted-2); font-family: var(--font-num); }

.rank {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: #F1F5FB;
  color: var(--muted);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 12.5px;
}
.rank.top { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }

.empty {
  padding: 46px 20px;
  text-align: center;
  color: var(--muted-2);
}
.empty i { font-size: 34px; display: block; margin-bottom: 10px; color: var(--line-2); }

/* ---------- 10. 统计块 ---------- */
.stat {
  position: relative;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute;
  right: -26px; top: -26px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 255, .10), transparent 70%);
}
.stat .label { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat .label i { color: var(--brand-500); }
.stat-value {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 6px;
}
.stat-value small { font-size: 13px; font-weight: 600; color: var(--muted-2); font-family: var(--font-sans); }
.stat.is-brand { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: var(--sh-brand); }
.stat.is-brand::after { background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%); }
.stat.is-brand .label, .stat.is-brand .stat-value small { color: rgba(255, 255, 255, .82); }
.stat.is-brand .label i { color: #fff; }
.stat.is-brand .stat-value { color: #fff; }

/* 进度条 */
.bar {
  height: 7px;
  border-radius: 999px;
  background: #EDF3FB;
  overflow: hidden;
  min-width: 74px;
}
.bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--grad-brand);
  transition: width .6s cubic-bezier(.2, .7, .3, 1);
}
.bar.low > span { background: linear-gradient(90deg, #F5A523, #D63C45); }
.cell-rate { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.cell-rate b { font-family: var(--font-num); font-size: 13px; width: 46px; text-align: right; }

/* ---------- 11. 登录页 ---------- */
.auth-shell {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: calc(100vh - 0px);
}
.auth-hero {
  position: relative;
  background: var(--grad-deep);
  color: #fff;
  padding: clamp(34px, 5vw, 66px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 52px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 52px 100%;
  mask-image: radial-gradient(120% 90% at 30% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 30% 20%, #000 30%, transparent 75%);
}
.auth-hero::after {
  content: "";
  position: absolute;
  right: -180px; bottom: -200px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(18, 168, 232, .55), transparent 62%);
  filter: blur(4px);
}
.hero-rings {
  position: absolute;
  left: -60px; top: 12%;
  width: 420px; height: 420px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  animation: spin 46s linear infinite;
}
.hero-rings::before, .hero-rings::after {
  content: "";
  position: absolute;
  inset: 54px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
}
.hero-rings::after { inset: 116px; border-style: dashed; border-color: rgba(138, 180, 255, .35); }
@keyframes spin { to { transform: rotate(360deg); } }

.auth-hero > * { position: relative; z-index: 1; }
.hero-brand { display: flex; align-items: center; gap: 12px; }
.hero-brand .brand-logo {
  width: 42px;
  height: 42px;
  /* 深色底上把黑色 logo 反白，不加衬底 */
  filter: brightness(0) invert(1);
  opacity: .95;
}
.hero-brand .brand-cn { color: #fff; }
.hero-brand .brand-en { color: rgba(255, 255, 255, .6); }

.hero-copy h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -.015em;
}
.hero-copy h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #7EC8FF, #CBE7FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p { color: rgba(220, 233, 255, .74); margin-top: 14px; max-width: 42ch; }
.hero-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-points li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: rgba(226, 238, 255, .86);
}
.hero-points i {
  width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #9FDBFF;
  font-size: 12px;
}
.hero-foot { font-size: 12px; color: rgba(210, 226, 255, .5); letter-spacing: .04em; }

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(26px, 4vw, 50px) 24px;
  background: #fff;
}
.auth-form { width: 100%; max-width: 372px; }
.auth-form .title { font-size: 22px; }
.auth-form .sub { color: var(--muted); font-size: 13.5px; margin: 8px 0 26px; }
.auth-form .btn-primary { height: 44px; }
.auth-note {
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--brand-50);
  border: 1px dashed var(--brand-300);
  font-size: 12.5px;
  color: var(--brand-800);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.auth-note i { font-size: 15px; }

@media (max-width: 940px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-hero { min-height: 240px; padding: 30px 24px; }
  .hero-points, .hero-rings { display: none; }
  .auth-hero .hero-foot { display: none; }
}

/* ---------- 12. 签到主卡片 ---------- */
.signin-hero {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(560px 240px at 88% -10%, rgba(18, 168, 232, .16), transparent 70%),
    radial-gradient(420px 220px at 6% 110%, rgba(30, 107, 255, .14), transparent 72%),
    var(--grad-soft);
  box-shadow: var(--sh-md);
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
}
.signin-hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -80px;
  width: 260px; height: 260px;
  border: 1px solid rgba(30, 107, 255, .16);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-info { flex: 1 1 300px; }
.hero-date {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
}
.hero-date b { color: var(--ink); font-family: var(--font-num); font-size: 15px; }
.hero-clock {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 6vw, 54px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 8px 0 2px;
  background: linear-gradient(120deg, var(--brand-700), var(--sky-500) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-greet { font-size: 15px; font-weight: 600; }
.hero-meta { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }

/* 大号签到按钮 */
.sign-action { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 232px; }

.sign-btn {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--sh-brand), inset 0 1px 0 rgba(255, 255, 255, .4);
  display: grid;
  place-items: center;
  gap: 2px;
  font-family: inherit;
  transition: transform .2s cubic-bezier(.2, .7, .3, 1), box-shadow .25s, filter .2s;
  isolation: isolate;
}
.sign-btn .ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: var(--grad-ring);
  opacity: .5;
  filter: blur(9px);
  animation: spin 12s linear infinite;
  z-index: -1;
}
.sign-btn .inner { position: relative; display: grid; place-items: center; gap: 4px; }
.sign-btn i { font-size: 30px; }
.sign-btn .t1 { font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.sign-btn .t2 { font-size: 11.5px; color: rgba(255, 255, 255, .8); letter-spacing: .16em; font-family: var(--font-num); }
.sign-btn:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.05); }
.sign-btn:active { transform: scale(.97); }
.sign-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
}
.sign-btn.is-done {
  background: linear-gradient(140deg, #0E9F6E, #12A8E8);
  box-shadow: 0 14px 34px -12px rgba(14, 159, 110, .5);
  cursor: default;
  animation: pop .45s cubic-bezier(.2, 1.4, .4, 1);
}
.sign-btn.is-done .ring { animation: none; opacity: .35; }
.sign-btn .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(30, 107, 255, .45);
  animation: pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.sign-btn.is-done .pulse { border-color: rgba(14, 159, 110, .45); animation: none; opacity: 0; }
@keyframes pulse {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}
@keyframes pop {
  0% { transform: scale(.86); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.stamp {
  position: absolute;
  right: 6px;
  top: 2px;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(14, 159, 110, .85);
  border: 1.5px solid rgba(14, 159, 110, .5);
  border-radius: 8px;
  padding: 3px 9px;
  transform: rotate(-8deg);
  background: rgba(255, 255, 255, .7);
}

.sign-tip { font-size: 12.5px; color: var(--muted); text-align: center; }
.sign-tip b { font-family: var(--font-num); color: var(--brand-600); }

/* 休息日：禁用打卡 */
.sign-btn.is-rest {
  background: linear-gradient(140deg, #E7EEF8, #F4F8FE);
  color: var(--muted-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  cursor: not-allowed;
  animation: none;
}
.sign-btn.is-rest .ring { display: none; }
.sign-btn.is-rest::after { border-color: rgba(101, 120, 143, .22); border-style: dashed; }
.sign-btn.is-rest .t2 { color: rgba(101, 120, 143, .7); }
.sign-btn.is-rest:hover { transform: none; filter: none; }

/* 刚刚打卡成功：一次性扩散光圈 */
.sign-btn.is-fresh { animation: sign-pop .6s cubic-bezier(.2, 1.5, .38, 1); }
.sign-btn.is-fresh::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(14, 159, 110, .55);
  animation: sign-wave 1.2s cubic-bezier(.2, .7, .3, 1) 2;
  pointer-events: none;
}
@keyframes sign-pop {
  0%   { transform: scale(.82); }
  55%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@keyframes sign-wave {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- 13. 日历 ---------- */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.cal-title { font-size: 16px; font-weight: 700; font-family: var(--font-num); letter-spacing: .01em; }
.cal-switch { display: flex; gap: 6px; }

.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; border: 1px solid var(--line-2); background: #fff; }
.dot.on { background: var(--grad-brand); border-color: transparent; }
.dot.absent { background: var(--danger-bg); border-color: #F3CDD1; }
.dot.weekend { background: #F1F5FB; }
.dot.holiday { background: #F1FBF6; border-color: #C9EBDB; }
.dot.makeup { background: var(--warn-bg); border-color: #F5DCAE; }
.dot.today { background: #fff; border: 2px solid var(--sky-500); }

/* 本月假期 / 补班条 */
.holiday-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.hs-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid transparent;
}
.hs-item i { font-size: 13px; }
.hs-item em {
  font-style: normal;
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 11.5px;
  opacity: .78;
}
.hs-item.rest { color: #0A7A55; background: var(--ok-bg); border-color: #C4ECDC; }
.hs-item.work { color: #9A5E00; background: var(--warn-bg); border-color: #F5DCAE; }

.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.calendar .wd {
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 600;
  padding-bottom: 2px;
}
.cell {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-num);
  color: var(--ink-2);
  transition: transform .18s, box-shadow .2s, border-color .2s;
}
.cell:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.cell b { font-size: 15px; font-weight: 650; line-height: 1; }
.cell small { font-size: 10px; color: var(--muted-2); font-family: var(--font-sans); }
.cell.blank { border: none; background: transparent; }
.cell.weekend { background: #F7FAFE; color: var(--muted-2); border-style: dashed; }
.cell.other { opacity: .35; }
.cell.signed {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(30, 107, 255, .6);
}
.cell.signed small { color: rgba(255, 255, 255, .82); }
.cell.signed .tick {
  position: absolute;
  top: 4px; right: 5px;
  font-size: 10px;
  color: rgba(255, 255, 255, .95);
}
.cell.absent { background: var(--danger-bg); border-color: #F3CDD1; }
.cell.absent small { color: var(--danger); }
.cell.future { color: var(--muted-2); }
.cell.today { outline: 2px solid var(--sky-500); outline-offset: 2px; }
.cell.today::before {
  content: "今天";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  background: var(--sky-500);
  padding: 1px 6px;
  border-radius: 999px;
}

/* 法定节假日 / 调休补班 */
.cell.holiday {
  background: #F1FBF6;
  border-color: #C9EBDB;
  color: #0A7A55;
}
.cell.holiday small { color: rgba(10, 122, 85, .72); }
.cell.makeup {
  background: var(--warn-bg);
  border-color: #F5DCAE;
  color: #9A5E00;
}
.cell.makeup small { color: rgba(154, 94, 0, .8); }

/* 补班格子保留了浅橙底，白色对号看不见：改用品牌蓝对号 + 蓝色内描边，与普通「已签」的蓝色语义一致 */
.cell.makeup.signed .tick { color: #1E6BFF; }
.cell.holiday.signed .tick { color: #0A7A55; }
.cell.makeup.signed { box-shadow: inset 0 0 0 2px rgba(30, 107, 255, .45); }
.cell.holiday.signed { box-shadow: inset 0 0 0 2px rgba(10, 122, 85, .35); }

/* 日历格子上的「休 / 班」角标 */
.cell-tag {
  position: absolute;
  top: 3px;
  left: 4px;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.35;
  padding: 0 4px;
  border-radius: 5px;
  background: rgba(11, 27, 51, .07);
  color: var(--muted);
}
.cell.holiday .cell-tag { background: rgba(14, 159, 110, .14); color: #0A7A55; }
.cell.makeup .cell-tag { background: rgba(201, 122, 0, .16); color: #9A5E00; }
.cell.signed .cell-tag { background: rgba(255, 255, 255, .22); color: #fff; }

/* 后台月度看板：可点格子 */
.calendar.board .cell { min-height: 62px; }
.calendar.board .cell small { font-size: 10.5px; }
.cell.adjustable { cursor: pointer; }
.cell.adjustable:hover { border-color: var(--brand-300); }
.cell.adjustable:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.cell .pen {
  position: absolute;
  top: 3px;
  right: 4px;
  font-size: 10px;
  color: var(--brand-500);
  opacity: 0;
  transition: opacity .16s;
  pointer-events: none;
}
.cell.adjustable:hover .pen,
.cell.adjustable:focus-visible .pen { opacity: .95; }
.cell.adjustable:hover .tick { opacity: 0; }
.cell.signed .pen { color: #fff; }
@media (hover: none) {
  .cell.adjustable .pen { opacity: .5; }
  .cell.signed.adjustable .pen { top: auto; bottom: 2px; right: 3px; font-size: 9px; opacity: .45; }
}

/* 缺勤快捷补签 chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-num);
  color: var(--ink-2);
  background: #F7FAFF;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  transition: .16s;
}
.chip i { font-size: 10px; }
.chip:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }
.chip:active { transform: translateY(1px); }
.chip-danger { color: var(--danger); background: var(--danger-bg); border-color: #F3CDD1; }
.chip-danger:hover { color: #fff; background: var(--danger); border-color: var(--danger); }

/* ---------- 14. 近期记录列表 ---------- */
.rec-list { list-style: none; margin: 0; padding: 0; }
.rec-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.rec-list li:last-child { border-bottom: none; }

/* ---------- 15. 后台布局 ---------- */
.admin-shell { display: flex; flex: 1; min-height: calc(100vh - 62px); }

.sidebar {
  width: var(--sidebar-w);
  flex: none;
  background: var(--grad-deep);
  color: rgba(226, 238, 255, .8);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}
.side-title {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(160, 190, 235, .55);
  padding: 14px 12px 8px;
  font-family: var(--font-num);
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(226, 238, 255, .78);
  font-size: 13.5px;
  transition: .18s;
}
.sidebar a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.sidebar a.is-active {
  background: linear-gradient(90deg, rgba(30, 107, 255, .85), rgba(18, 168, 232, .5));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 22px -12px rgba(30, 107, 255, .9);
}
.sidebar a i { font-size: 15px; }
.side-foot { margin-top: auto; padding: 12px; font-size: 11.5px; color: rgba(160, 190, 235, .5); line-height: 1.6; }

.admin-main { flex: 1; min-width: 0; }

@media (max-width: 860px) {
  .admin-shell { flex-direction: column; }
  .sidebar { width: auto; flex-direction: row; overflow-x: auto; padding: 10px; gap: 6px; }
  .sidebar .side-title, .sidebar .side-foot { display: none; }
  .sidebar a { white-space: nowrap; }
  .admin-shell { min-height: 0; }
}

/* ---------- 16. 对话框 ---------- */
dialog.ui {
  border: none;
  border-radius: var(--r-lg);
  padding: 0;
  width: min(520px, calc(100vw - 32px));
  box-shadow: var(--sh-lg);
  color: var(--ink);
}
dialog.ui::backdrop { background: rgba(7, 25, 55, .45); backdrop-filter: blur(2px); }
.dlg-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--grad-soft);
}
.dlg-head h3 { font-size: 16px; }
.dlg-body { padding: 20px; max-height: 62vh; overflow: auto; }
.dlg-foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}
.dlg-close {
  border: none; background: transparent; color: var(--muted-2);
  font-size: 17px; cursor: pointer; padding: 4px 6px; border-radius: 8px;
}
.dlg-close:hover { background: var(--brand-50); color: var(--brand-600); }

.status-now {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #F8FBFF;
  margin-bottom: 18px;
}
.status-now .k { font-size: 12.5px; color: var(--muted); }
.status-now .v { font-weight: 700; font-size: 15px; }
.status-now .grow { flex: 1; }

.seg { display: inline-flex; padding: 3px; background: #EDF3FB; border-radius: 10px; gap: 3px; }
.seg button {
  border: none; background: transparent; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600;
  color: var(--muted); padding: 7px 16px; border-radius: 8px;
  transition: .18s;
}
.seg button:hover { color: var(--brand-600); }
.seg button.on { background: #fff; color: var(--brand-700); box-shadow: var(--sh-xs); }

/* ---------- 17. 分页 ---------- */
.pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pager a, .pager span.cur, .pager span.gap {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-family: var(--font-num);
  color: var(--ink-2);
  background: #fff;
  transition: .16s;
}
.pager a:hover { border-color: var(--brand-300); color: var(--brand-600); background: var(--brand-50); }
.pager span.cur { background: var(--grad-brand); border-color: transparent; color: #fff; font-weight: 700; }
.pager span.gap { border: none; background: transparent; color: var(--muted-2); }
.pager-info { font-size: 12.5px; color: var(--muted); margin-right: auto; }

/* ---------- 18. 页脚 ---------- */
.site-foot {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 22px clamp(16px, 3vw, 34px) 26px;
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand .brand-logo { width: 30px; height: 30px; }
.foot-brand .cn { font-size: 13.5px; font-weight: 600; }
.foot-brand .en { font-size: 11px; color: var(--muted-2); letter-spacing: .18em; font-family: var(--font-num); }
.foot-beian {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.foot-beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  transition: color .18s;
}
.foot-beian a:hover { color: var(--brand-600); }
.foot-beian img { width: 16px; height: 16px; vertical-align: -3px; }
.foot-copy { font-size: 12px; color: var(--muted-2); }

@media (max-width: 620px) {
  .foot-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- 19. 断点调整 ---------- */
@media (max-width: 1080px) {
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.side { grid-template-columns: 1fr; }
  .brand-en { display: none; }
  .user-chip .meta span { max-width: 120px; }
}
@media (max-width: 720px) {
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .topnav { display: none; }
  /* 手机窄屏：顶栏改为完全不透明，滚动内容不再从底下透出 */
  .topbar {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 0 var(--line);
    border-bottom: none;
  }
  .wrap { padding: 16px 13px 34px; }
  .page-head h1 { font-size: 20px; }
  .head-row { align-items: stretch; }

  /* 签到：手机一屏竖向打卡 */
  .signin-hero { padding: 22px 16px 24px; border-radius: 20px; }
  .hero-inner { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .hero-info { flex: none; width: 100%; }
  .hero-date { justify-content: center; gap: 7px; }
  .hero-clock { font-size: clamp(40px, 15vw, 56px); margin: 6px 0 2px; }
  .hero-greet { font-size: 14.5px; }
  .hero-meta { justify-content: center; gap: 7px; flex-basis: auto; }
  .sign-action { width: 100%; min-width: 0; gap: 14px; }
  .sign-btn { width: min(208px, 58vw); height: min(208px, 58vw); }
  .sign-btn .t1 { font-size: 17px; }

  /* 日历紧凑 */
  .calendar { gap: 5px; }
  .cell { min-height: 40px; border-radius: 9px; }
  .cell b { font-size: 13.5px; }
  .cell small { display: none; }
  .cell-tag { font-size: 8.5px; top: 1px; left: 2px; padding: 0 3px; }
  .calendar.board .cell { min-height: 46px; }
  .calendar.board .cell small { display: none; }
  .cal-legend { gap: 10px; font-size: 11.5px; margin-bottom: 10px; }
  .holiday-strip { gap: 6px; margin-bottom: 12px; }
  .hs-item { padding: 5px 10px; font-size: 12px; }
  .card-head { padding: 13px 15px; }
  .card-body { padding: 15px; }

  .user-chip .meta { display: none; }
  .user-chip { padding: 4px; }
  .filters .actions { margin-left: 0; width: 100%; }
  .filters .actions .btn { flex: 1; }
  .field .seg { display: flex; width: 100%; }
  .field .seg button { flex: 1; }
  .dlg-body { padding: 16px; max-height: 56vh; }
  .dlg-foot { padding: 12px 16px; }
  .dlg-foot .btn { flex: 1; }
}

/* ---------- 20. 移动端底部导航（用户端） ---------- */
@media (max-width: 720px) {
  .topnav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    margin: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    justify-content: space-around;
  }
  .topnav a { flex-direction: column; gap: 3px; font-size: 11.5px; padding: 6px 12px; }
  .topnav a i { font-size: 17px; }
  body { padding-bottom: 68px; }
}

/* ---------- 21. 移动端触控 / 安全区 / iOS 表单 ---------- */
@media (hover: none), (pointer: coarse) {
  a, button, .btn, .cell, .chip, .seg button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .cell { transition: none; }
  .cell:hover { transform: none; box-shadow: none; }
  table.data tbody tr:hover { background: transparent; }
  /* 后台触控热区 */
  .pager a, .pager span.cur { min-width: 40px; height: 40px; }
  .btn-sm { padding: 8px 13px; }
}

/* 防 iOS 聚焦自动放大 */
@media (max-width: 720px) {
  input[type=text], input[type=password], input[type=date], input[type=month],
  input[type=time], input[type=search], input[type=number], input[type=tel],
  input[type=email], select, textarea {
    font-size: 16px;
  }
  input[type=month], input[type=date], input[type=time] { min-height: 44px; }
  table.data { font-size: 13px; }
  table.data thead th, table.data tbody td { padding: 10px 11px; }
}

/* 刘海屏 / 手势条安全区 */
@supports (padding: env(safe-area-inset-top)) {
  .topbar {
    min-height: calc(62px + env(safe-area-inset-top));
    padding-top: calc(8px + env(safe-area-inset-top));
  }
  .topbar {
    padding-left: max(clamp(16px, 3.2vw, 34px), env(safe-area-inset-left));
    padding-right: max(clamp(16px, 3.2vw, 34px), env(safe-area-inset-right));
  }
  .site-foot { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  dialog.ui { margin: auto; }
  @media (max-width: 720px) {
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .wrap {
      padding-left: max(13px, env(safe-area-inset-left));
      padding-right: max(13px, env(safe-area-inset-right));
    }
  }
}
