/* ============================================================
   小米考勤 · Page styles (Lead pages)
   登录 / 首页 / 打卡 / 我的 / 设置 / 消息 / 排班 / 规则 / 关于
   ============================================================ */

/* ---------- Shared page bits ---------- */
.icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; flex: none;
  background: var(--card); border: 1px solid var(--line-2);
  color: var(--text-2); box-shadow: var(--shadow-1);
  transition: transform var(--dur-1), background var(--dur-1);
}
.icon-btn:active { transform: scale(.94); background: var(--card-2); }
.icon-btn .icon { width: 19px; height: 19px; }
.icon-btn .badge {
  position: absolute; top: -4px; right: -4px;
  border: 2px solid var(--bg);
}
.page-title-row { padding: 8px 2px 14px; }
.page-title { font-size: 26px; font-weight: 800; letter-spacing: -.025em; }
.page-sub { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.section-action { font-size: 12px; font-weight: 550; color: var(--text-3); display: inline-flex; align-items: center; gap: 2px; }
.section-action .icon { width: 14px; height: 14px; }

/* ============================================================
   LOGIN
   ============================================================ */
.login {
  position: relative; min-height: 100%;
  display: flex; flex-direction: column;
  padding: 20px 24px 26px;
  background: var(--card);
  overflow: hidden;
}
.login::before {
  content: ""; position: absolute; top: -170px; right: -130px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(22, 119, 255, .18), rgba(22, 119, 255, 0) 68%);
  pointer-events: none;
}
.login::after {
  content: ""; position: absolute; bottom: -140px; left: -120px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 105, 0, .10), rgba(255, 105, 0, 0) 68%);
  pointer-events: none;
}
.login-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.login-brand { display: flex; align-items: center; gap: 10px; }
.login-logo {
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--mi-orange); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-num); font-weight: 800; font-size: 17px; letter-spacing: -.06em;
  box-shadow: 0 8px 18px -8px rgba(255, 105, 0, .7);
}
.login-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.login-brand-text b { font-size: 15px; font-weight: 700; letter-spacing: -.005em; }
.login-brand-text span { font-size: 9.5px; color: var(--text-3); letter-spacing: .16em; text-transform: uppercase; margin-top: 2px; }
.login-help {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-3);
  background: var(--bg-2);
}
.login-hero { position: relative; z-index: 1; margin-top: 34px; }
.login-eyebrow {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 9px; border-radius: 7px;
  background: var(--brand-100); color: var(--brand-600);
  font-size: 10.5px; font-weight: 650; letter-spacing: .02em;
}
.login-eyebrow .icon { width: 12px; height: 12px; }
.login-title {
  margin-top: 16px;
  font-size: 32px; line-height: 1.22; font-weight: 800;
  letter-spacing: -.03em; color: var(--text-1);
}
.login-title em { font-style: normal; color: var(--brand); }
.login-sub { margin-top: 10px; font-size: 13px; color: var(--text-3); line-height: 1.7; }
.login-illust {
  position: absolute; right: -6px; top: 6px;
  width: 128px; height: 128px; opacity: .95; pointer-events: none;
}
.login-form { position: relative; z-index: 1; margin-top: 26px; }
.login-field { position: relative; margin-bottom: 12px; }
.login-field > .icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-3); pointer-events: none;
}
.login-input {
  width: 100%; height: 54px; padding: 0 46px 0 46px;
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--card-2); font-size: 15px; color: var(--text-1);
  outline: none; transition: all var(--dur-2);
}
.login-input::placeholder { color: var(--text-4); }
.login-input:focus { border-color: var(--brand); background: var(--card); box-shadow: 0 0 0 3.5px var(--brand-100); }
.login-field .eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; color: var(--text-3);
}
.login-field .eye:active { background: var(--bg-2); }
.login-agree {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 11.5px; color: var(--text-3); line-height: 1.6;
  margin: 14px 0 20px;
}
.login-agree .check { align-items: flex-start; }
.login-agree .check-box { margin-top: 1px; }
.login-agree a { color: var(--brand); }
.login-submit { width: 100%; height: 52px; border-radius: 14px; font-size: 16px; }
.login-alt { margin-top: 24px; position: relative; z-index: 1; }
.login-alt-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 10.5px; color: var(--text-4); margin-bottom: 14px;
}
.login-alt-title::before, .login-alt-title::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.login-alt-btns { display: flex; gap: 10px; }
.login-alt-btns button {
  flex: 1; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12.5px; font-weight: 550; color: var(--text-2);
}
.login-alt-btns button:active { background: var(--card-2); transform: scale(.98); }
.login-alt-btns .icon { width: 16px; height: 16px; color: var(--brand); }
.login-foot {
  position: relative; z-index: 1; margin-top: auto;
  padding-top: 24px; text-align: center;
  font-size: 10px; color: var(--text-4); line-height: 1.8;
}
.login-demo {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 10px 12px;
  border-radius: 11px; background: var(--brand-50);
  border: 1px dashed var(--brand-200);
  font-size: 11px; color: var(--brand-600); line-height: 1.5;
}
.login-demo .icon { width: 15px; height: 15px; flex: none; }
.login-demo b { font-weight: 650; }
.login-admin {
  width: 100%; min-height: 42px; margin-top: 10px; padding: 0 13px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--text-3); font-size: 11.5px;
}
.login-admin span { display: inline-flex; align-items: center; gap: 6px; }
.login-admin .icon { width: 15px; height: 15px; color: var(--brand); }
.login-admin:active { background: var(--card-2); transform: scale(.99); }

/* ============================================================
   HOME
   ============================================================ */
.home { background: linear-gradient(180deg, var(--brand-50) 0%, var(--bg) 190px); }
body.theme-dark .home { background: linear-gradient(180deg, #122236 0%, var(--bg) 200px); }
.home-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 2px 14px; }
.home-greet { display: flex; align-items: center; gap: 11px; min-width: 0; }
.home-greet-text { min-width: 0; }
.home-hello { font-size: 18px; font-weight: 750; letter-spacing: -.02em; display: flex; align-items: center; gap: 5px; }
.home-hello .waving { font-size: 17px; transform-origin: 70% 70%; animation: wave 2.6s ease-in-out 1s 2; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(16deg); } 40% { transform: rotate(-8deg); } 60% { transform: rotate(12deg); } 80% { transform: rotate(-4deg); } }
.home-date { font-size: 11.5px; color: var(--text-3); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.home-date .dot-live { width: 5px; height: 5px; }
.home-actions { display: flex; gap: 6px; flex: none; }

/* ----- hero punch card ----- */
.punch-hero {
  position: relative; overflow: hidden;
  border-radius: 23px;
  padding: 16px 17px 15px;
  color: #fff;
  background: var(--brand-grad);
  box-shadow: 0 20px 40px -20px rgba(22, 119, 255, .72), 0 2px 6px rgba(22, 119, 255, .2);
}
.punch-hero::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  top: -130px; right: -90px;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 66%);
  pointer-events: none;
}
.punch-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 80% 0%, #000, transparent 72%);
  pointer-events: none;
}
.hero-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 5px;
  height: 25px; padding: 0 9px; border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 10.5px; font-weight: 550;
  backdrop-filter: blur(8px);
}
.hero-tag .icon { width: 12px; height: 12px; }
.hero-tag .dot-live { background: #b7f7c4; box-shadow: 0 0 0 3px rgba(183, 247, 196, .18); }
.hero-clock { position: relative; margin-top: 16px; display: flex; align-items: flex-end; gap: 10px; }
.hero-time {
  font-family: var(--font-num);
  font-size: 48px; font-weight: 750; line-height: .92;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 12px rgba(0, 40, 120, .18);
}
.hero-time small { font-size: 17px; font-weight: 650; opacity: .8; letter-spacing: 0; margin-left: 3px; }
.hero-meta { padding-bottom: 3px; }
.hero-date { font-size: 11px; font-weight: 550; opacity: .82; }
.hero-shift { font-size: 10px; opacity: .68; margin-top: 2px; font-family: var(--font-num); letter-spacing: .02em; }
.hero-slots {
  position: relative; display: flex; align-items: stretch; gap: 0;
  margin-top: 15px; padding: 9px 4px;
  border-radius: 14px;
  background: rgba(9, 51, 128, .18);
  border: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(10px);
}
.slot { flex: 1; padding: 0 10px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.slot + .slot { border-left: 1px solid rgba(255, 255, 255, .14); }
.slot-label { font-size: 10px; opacity: .72; display: flex; align-items: center; gap: 4px; }
.slot-label .icon { width: 11px; height: 11px; }
.slot-time { font-family: var(--font-num); font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.slot-time.is-empty { opacity: .5; }
.slot-state { font-size: 9.5px; opacity: .78; }
.hero-cta {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; height: 50px; margin-top: 13px;
  border-radius: 15px;
  background: #fff; color: var(--brand-600);
  font-size: 16px; font-weight: 750; letter-spacing: .01em;
  box-shadow: 0 10px 22px -12px rgba(0, 30, 90, .6);
  transition: transform var(--dur-1), box-shadow var(--dur-2);
  overflow: hidden;
}
.hero-cta:active { transform: scale(.982); }
.hero-cta-ico {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
}
.hero-cta-ico .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.hero-cta.is-done { color: var(--text-3); background: rgba(255, 255, 255, .92); }
.hero-cta.is-done .hero-cta-ico { background: var(--success); }
.hero-cta .cta-sub {
  font-size: 9.5px; font-weight: 550; opacity: .62; margin-top: 1px;
}
.hero-cta .cta-main { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.18; }
.hero-foot {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 10px; font-size: 9.5px; opacity: .72;
  font-family: var(--font-num); letter-spacing: .02em;
}
.hero-foot span { display: inline-flex; align-items: center; gap: 4px; }
.hero-foot .icon { width: 11px; height: 11px; }

/* ----- quick actions ----- */
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 16px; }
.quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 11px 0 9px;
  border-radius: 15px;
  background: var(--card); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-1), background var(--dur-1);
}
.quick-item:active { transform: scale(.955); background: var(--card-2); }
.quick-ico {
  width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-600);
}
.quick-ico .icon { width: 20px; height: 20px; }
.quick-ico.is-orange { background: var(--warning-soft); color: var(--warning-deep); }
.quick-ico.is-green { background: var(--success-soft); color: var(--success-deep); }
.quick-ico.is-purple { background: var(--purple-soft); color: var(--purple); }
.quick-ico.is-cyan { background: var(--cyan-soft); color: #0b9e9b; }
.quick-label { font-size: 10.5px; font-weight: 550; color: var(--text-2); }

/* ----- today overview ----- */
.work-card { margin-top: 14px; padding: 15px 16px 14px; }

/* 首页 · 本年工资概览 */
.salary-overview { margin-top: 14px; padding: 15px 16px 13px; }
.salary-overview .card-head { margin-bottom: 11px; }
.salary-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.salary-cell {
  min-width: 0; padding: 10px 11px;
  border-radius: 11px; background: var(--bg-2);
}
.salary-cell span { display: block; font-size: 9.5px; color: var(--text-3); }
.salary-cell b {
  display: block; margin-top: 3px;
  font-family: var(--font-num); font-size: 15px; font-weight: 700;
  letter-spacing: -.02em; color: var(--text-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.salary-cell b.is-green { color: var(--success-deep); }
.salary-cell b.is-orange { color: var(--warning-deep); }
.salary-cell b.is-brand { color: var(--brand-600); }
.salary-note { margin-top: 9px; font-size: 9.5px; line-height: 1.5; color: var(--text-4); }
.work-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.work-hours { display: flex; align-items: baseline; gap: 4px; margin-top: 3px; }
.work-hours b { font-family: var(--font-num); font-size: 27px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.work-hours span { font-size: 11px; color: var(--text-3); font-weight: 550; }
.work-target { font-size: 10.5px; color: var(--text-3); text-align: right; line-height: 1.5; }
.work-target b { color: var(--text-2); font-family: var(--font-num); font-size: 12px; }
.work-bar { margin-top: 11px; }
.work-bar-meta { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-4); margin-top: 5px; font-family: var(--font-num); }
.work-mini {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 13px; padding-top: 12px;
  border-top: 1px solid var(--line-2);
}
.work-mini div { text-align: center; position: relative; }
.work-mini div + div::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line-2);
}
.work-mini b { display: block; font-family: var(--font-num); font-size: 16px; font-weight: 700; line-height: 1.3; }
.work-mini b.is-warn { color: var(--warning-deep); }
.work-mini b.is-green { color: var(--success-deep); }
.work-mini span { font-size: 10px; color: var(--text-3); }

/* ----- announcement ----- */
.ann-list { display: flex; flex-direction: column; }
.ann-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 0; text-align: left; width: 100%;
  border-top: 1px solid var(--line-2);
}
.ann-item:first-child { border-top: 0; }
.ann-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-600);
}
.ann-ico .icon { width: 15px; height: 15px; }
.ann-ico.is-orange { background: var(--warning-soft); color: var(--warning-deep); }
.ann-ico.is-green { background: var(--success-soft); color: var(--success-deep); }
.ann-main { flex: 1; min-width: 0; }
.ann-title { font-size: 13px; font-weight: 550; line-height: 1.45; display: flex; align-items: center; gap: 6px; }
.ann-title .tag { height: 16px; font-size: 9px; padding: 0 5px; border-radius: 4px; }
.ann-desc { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.ann-time { font-size: 10px; color: var(--text-4); font-family: var(--font-num); flex: none; padding-top: 2px; }
.ann-item:active { opacity: .75; }

/* ----- pending approvals ----- */
.pending-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.pending-row:first-child { border-top: 0; }
.pending-main { flex: 1; min-width: 0; }
.pending-title { font-size: 13px; font-weight: 550; display: flex; align-items: center; gap: 5px; }
.pending-desc { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.pending-time { font-size: 10px; color: var(--text-4); font-family: var(--font-num); }

/* ----- recent records ----- */
.rec-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); width: 100%; text-align: left; }
.rec-row:first-child { border-top: 0; }
.rec-date { width: 44px; flex: none; text-align: center; }
.rec-date b { display: block; font-family: var(--font-num); font-size: 17px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.rec-date span { font-size: 9px; color: var(--text-3); }
.rec-main { flex: 1; min-width: 0; }
.rec-times { font-family: var(--font-num); font-size: 12.5px; font-weight: 600; letter-spacing: .01em; display: flex; align-items: center; gap: 5px; }
.rec-times i { width: 12px; height: 1px; background: var(--line); }
.rec-sub { font-size: 10.5px; color: var(--text-3); margin-top: 2px; }
.rec-row .tag { margin-left: auto; }

/* ----- home footer ----- */
.home-foot { text-align: center; font-size: 10px; color: var(--text-4); padding: 22px 0 6px; letter-spacing: .04em; }
.home-notice { margin: 0 16px 14px; }

/* ============================================================
   PUNCH (fullscreen)
   ============================================================ */
.punch-page {
  position: relative; min-height: 100%;
  display: flex; flex-direction: column;
  padding: 0 20px 14px;
  color: #fff;
  background: linear-gradient(175deg, #082f6f 0%, #0f56b8 34%, #1677ff 68%, #4b9bff 100%);
  overflow: hidden;
}
.screen.bar-invert { background: #082f6f; }
.punch-page::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  top: -220px; left: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%);
  pointer-events: none;
}
.punch-page::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 78%, rgba(90, 200, 255, .22), transparent 40%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .12), transparent 35%);
  pointer-events: none;
}
.punch-nav {
  position: relative; z-index: 2;
  height: 50px; display: flex; align-items: center; justify-content: space-between;
}
.punch-nav button {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); color: #fff;
  border: 1px solid rgba(255, 255, 255, .10);
}
.punch-nav button .icon { width: 18px; height: 18px; }
.punch-nav-title { font-size: 14px; font-weight: 650; letter-spacing: .02em; opacity: .92; }
.punch-clock { position: relative; z-index: 2; text-align: center; margin-top: 6px; }
.punch-time {
  font-family: var(--font-num); font-size: 60px; font-weight: 750;
  letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 24px rgba(0, 30, 90, .25);
}
.punch-time small { font-size: 23px; opacity: .78; letter-spacing: -.02em; margin-left: 2px; }
.punch-date { font-size: 11.5px; opacity: .72; margin-top: 7px; letter-spacing: .02em; }
.punch-map {
  position: relative; z-index: 2;
  height: 172px; margin-top: 16px;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 16px 32px -18px rgba(0, 20, 60, .65);
  background: #dce9f7;
}
.punch-map svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 3; pointer-events: none;
}
.map-pin .pin-head {
  width: 34px; height: 34px; border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--brand); border: 2.5px solid #fff;
  box-shadow: 0 6px 14px rgba(15, 40, 90, .35);
  display: grid; place-items: center;
}
.map-pin .pin-head .icon { transform: rotate(45deg); width: 15px; height: 15px; color: #fff; }
.map-pin .pin-shadow { width: 14px; height: 4px; border-radius: 50%; background: rgba(10, 40, 90, .28); margin-top: 3px; filter: blur(1px); }
.map-accuracy {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(22, 119, 255, .16);
  border: 1px solid rgba(22, 119, 255, .35);
  animation: mapPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes mapPulse { 0% { transform: translate(-50%, -50%) scale(.55); opacity: .9; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.map-label {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  display: flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 9px; border-radius: 8px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(6px);
  font-size: 10px; color: #1f2329; font-weight: 550;
  box-shadow: 0 2px 8px rgba(15, 40, 90, .12);
}
.map-label .icon { width: 12px; height: 12px; color: var(--brand); }
.map-refresh {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  height: 26px; padding: 0 9px; border-radius: 8px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(6px);
  font-size: 10px; color: #1f2329; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  box-shadow: 0 2px 8px rgba(15, 40, 90, .12);
}
.map-refresh .icon { width: 12px; height: 12px; color: var(--brand); }
.punch-loc { position: relative; z-index: 2; margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.punch-loc-ico {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .12);
  display: grid; place-items: center; color: #fff;
}
.punch-loc-ico .icon { width: 18px; height: 18px; }
.punch-loc-main { flex: 1; min-width: 0; }
.punch-loc-title { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.punch-loc-desc { font-size: 10.5px; opacity: .68; margin-top: 1px; font-family: var(--font-num); }
.punch-loc-state { font-size: 10px; font-weight: 600; color: #9ff0b3; background: rgba(56, 214, 110, .16); padding: 4px 8px; border-radius: 7px; flex: none; }
.punch-verify { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.verify-chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 25px; padding: 0 9px; border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .10);
  font-size: 10px; font-weight: 550; opacity: .92;
}
.verify-chip .icon { width: 12px; height: 12px; color: #9ff0b3; }
.punch-cta-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin-top: auto; padding-top: 16px; }
.big-punch {
  position: relative;
  width: 148px; height: 148px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .32);
  transition: transform var(--dur-2) var(--ease-spring);
}
.big-punch::before, .big-punch::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .5);
  animation: punchPulse 2.6s ease-out infinite;
  pointer-events: none;
}
.big-punch::after { animation-delay: 1.2s; }
@keyframes punchPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.38); opacity: 0; } }
.big-punch:active { transform: scale(.96); }
.big-punch-inner {
  width: 118px; height: 118px; border-radius: 50%;
  background: #fff; color: var(--brand-600);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  box-shadow: 0 12px 28px -10px rgba(0, 20, 70, .45), inset 0 -2px 0 rgba(22, 119, 255, .08);
}
.big-punch-inner .icon { width: 28px; height: 28px; stroke-width: 1.9; }
.big-punch-label { font-size: 17px; font-weight: 750; letter-spacing: .01em; }
.big-punch-sub { font-size: 9.5px; color: var(--text-3); font-weight: 550; }
.big-punch.is-loading .big-punch-inner { color: var(--brand); }
.big-punch.is-loading .big-punch-inner .icon { animation: spin 1s linear infinite; }
.punch-tip { position: relative; z-index: 2; text-align: center; font-size: 10px; opacity: .62; margin-top: 18px; line-height: 1.6; }
.punch-steps {
  position: relative; z-index: 2;
  display: flex; justify-content: center; gap: 14px; margin-top: 13px;
  font-size: 9.5px; opacity: .55; font-family: var(--font-num);
}
.punch-steps span { display: inline-flex; align-items: center; gap: 4px; transition: opacity var(--dur-2), color var(--dur-2); }
.punch-steps span.is-active { opacity: 1; color: #fff; }
.punch-steps span.is-done { opacity: .9; color: #9ff0b3; }
.punch-steps .icon { width: 11px; height: 11px; }

/* punch success state */
.punch-success {
  position: absolute; inset: 0; z-index: 30;
  display: flex; flex-direction: column; align-items: center;
  padding: 66px 24px 26px;
  background: linear-gradient(175deg, #08306f 0%, #0f56b8 40%, #1677ff 100%);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
  overflow-y: auto; scrollbar-width: none;
}
.punch-success::-webkit-scrollbar { display: none; }
.punch-success.is-open { transform: none; }
.punch-success::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(120, 240, 170, .18), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(90, 200, 255, .18), transparent 45%);
  pointer-events: none;
}
.success-ring {
  position: relative; width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .30);
  margin-top: 12px;
}
.success-ring::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  animation: successRing 1.6s var(--ease-out) both;
}
@keyframes successRing { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-check { width: 56px; height: 56px; }
.success-check path {
  stroke: #fff; stroke-width: 3.2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 60; stroke-dashoffset: 60;
  animation: checkDraw .5s .25s var(--ease-out) forwards;
}
.success-title { position: relative; font-size: 23px; font-weight: 750; letter-spacing: -.02em; margin-top: 24px; }
.success-sub { position: relative; font-size: 12px; opacity: .72; margin-top: 6px; }
.success-time { position: relative; font-family: var(--font-num); font-size: 42px; font-weight: 750; letter-spacing: -.03em; margin-top: 12px; }
.success-time small { font-size: 14px; opacity: .7; margin-left: 4px; letter-spacing: 0; }
.success-card {
  position: relative; width: 100%; margin-top: 22px;
  border-radius: 16px; padding: 4px 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
}
.success-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 12.5px; }
.success-row + .success-row { border-top: 1px solid rgba(255, 255, 255, .10); }
.success-row span { opacity: .68; display: inline-flex; align-items: center; gap: 5px; }
.success-row span .icon { width: 13px; height: 13px; }
.success-row b { font-weight: 600; font-family: var(--font-num); letter-spacing: .01em; text-align: right; }
.success-actions { position: relative; width: 100%; margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 9px; }
.success-actions .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .08); }
@keyframes confettiFall { to { transform: translateY(110vh) rotate(720deg); opacity: 0; } }
.confetti { position: absolute; top: -12px; width: 6px; height: 10px; border-radius: 2px; opacity: .85; animation: confettiFall 1.8s ease-in forwards; pointer-events: none; z-index: 2; }
