.pwa-install-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 10040;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.pwa-install-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pwa-install-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(79,70,229,0.12);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

.pwa-install-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.pwa-install-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  overflow:hidden;
  flex-shrink:0;
  background:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e5e7eb;

}

.pwa-install-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwa-install-text {
  min-width: 0;
}

.pwa-install-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.pwa-install-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  line-height: 1.35;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pwa-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.pwa-btn-primary{
  background:#c8102e;
  color:#ffffff;
  box-shadow:0 10px 20px rgba(200,16,46,0.22);
}

.pwa-btn-primary:hover {
  transform: translateY(-1px);
}

.pwa-btn-ghost {
  background: #f3f4f6;
  color: #374151;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 16px;
}

.hidden {
  display: none !important;
}

/* iPhone install sheet */
.ios-install-sheet {
  position: fixed;
  inset: 0;
  z-index: 10060;
}

.ios-install-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}

.ios-install-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border-radius: 24px 24px 0 0;
  padding: 16px 18px calc(28px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(0,0,0,0.16);
  animation: slideUpSheet 0.28s ease;
}

.ios-install-handle {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #d1d5db;
  margin: 0 auto 14px;
}

.ios-install-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 12px;
  font-weight: 800;
}

.ios-install-badge svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.1;
}

.ios-install-panel h3 {
  margin: 14px 0 8px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: #111827;
}

.ios-install-panel p {
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

.ios-install-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
}

.ios-install-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 8px 18px rgba(15,23,42,.04);
}

.ios-install-step-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #c8102e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 26px;
}

.ios-install-step-text {
  color: #111827;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.ios-install-note {
  margin-bottom: 18px;
  padding: 11px 12px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.ios-done-btn {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
}

.notification-sheet {
  position: fixed;
  inset: 0;
  z-index: 10020;
}

.notification-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.notification-sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border-radius: 26px 26px 0 0;
  padding: 16px 18px calc(26px + env(safe-area-inset-bottom));
  box-shadow: 0 -14px 40px rgba(15,23,42,.16);
  border-top: 1px solid rgba(226,232,240,.9);
  animation: slideUpSheet 0.24s ease;
}

.notification-sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: #d1d5db;
  margin: 0 auto 14px;
}

.notification-sheet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 12px;
  font-weight: 800;
}

.notification-sheet-badge svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.notification-sheet-panel h3 {
  margin: 14px 0 8px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: #0f172a;
}

.notification-sheet-panel p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.notification-sheet-hint {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.notification-sheet-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.notification-sheet-actions .pwa-btn {
  flex: 1;
}

.notification-later-btn {
  background: #f1f5f9;
  color: #334155;
}

@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .pwa-install-card {
    flex-direction: column;
    align-items: stretch;
  }

  .pwa-install-actions {
    width: 100%;
  }

  .pwa-btn-primary {
    flex: 1;
  }

  .notification-sheet-panel h3 {
    font-size: 20px;
  }

  .ios-install-panel h3 {
    font-size: 20px;
  }
}
    html{scroll-behavior:smooth}
    :root{
      --accent:#C8102E;
      --red:#C8102E;
      --red-dark:#991B1B;
      --primary:#4F46E5;
      --primary-dark:#3730A3;
      --primary-soft:#EEF2FF;
      --card:#FFFFFF;
      --text:#0F172A;
      --muted:#64748B;
      --line:#E2E8F0;
      --bg:#F8FAFC;
      --success:#16A34A;
      --warning:#F59E0B;
      --shadow:0 10px 30px rgba(15,23,42,.06);
      --shadow-soft:0 18px 40px rgba(15,23,42,.08);
    }
    *{box-sizing:border-box}
    html,body{overflow-x:hidden}
    body{
      margin:0;
      background:
        radial-gradient(circle at top right, rgba(79,70,229,.08), transparent 22%),
        radial-gradient(circle at top left, rgba(200,16,46,.04), transparent 18%),
        linear-gradient(180deg,#FCFDFE 0%, #F8FAFC 100%);
      font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
      color:var(--text);
      padding-bottom:88px;
      -webkit-text-size-adjust:100%;
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }
    .app-shell{max-width:860px;margin:0 auto;padding:82px 14px 10px;overflow:visible}
    .loader-overlay{position:fixed;inset:0;z-index:99999;background:radial-gradient(circle at top, rgba(200,16,46,.04), transparent 22%), linear-gradient(180deg,#fffdf9 0%,#fffefc 100%);display:flex;align-items:center;justify-content:center;transition:opacity .35s ease, visibility .35s ease}
    .loader-overlay.hide{opacity:0;visibility:hidden;pointer-events:none}
    .loader-card{width:min(88vw,320px);padding:22px 20px 10px;text-align:center}
    .loader-mark{width:116px;height:116px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;position:relative}
    .loader-mark::before{content:"";position:absolute;inset:14px;border-radius:999px;background:radial-gradient(circle, rgba(200,16,46,.12), transparent 68%);animation:loaderGlow 1.8s ease-in-out infinite}
    .loader-mark img{width:100%;height:100%;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 10px 20px rgba(200,16,46,.12))}
    .loader-title{font-size:18px;font-weight:900;letter-spacing:-.03em;color:#1f2937;margin-bottom:4px}
    .loader-sub{font-size:12px;color:#7c8798;margin-bottom:22px}
    .loader-progress{width:min(64vw,190px);height:3px;margin:0 auto;background:rgba(15,23,42,.08);border-radius:999px;overflow:hidden}
    .loader-progress-bar{height:100%;width:0%;background:linear-gradient(90deg,#c8102e 0%,#ee4b63 100%);border-radius:999px;transition:width .28s ease}
    .loader-percent{margin-top:10px;font-size:11px;font-weight:800;letter-spacing:.08em;color:#98a2b3;text-transform:uppercase}
    .loader-note{margin-top:3px;font-size:11px;color:#98a2b3}
    @keyframes loaderGlow{0%,100%{transform:scale(.94);opacity:.55}50%{transform:scale(1.04);opacity:1}}
    .soft-card{
      background:var(--card);
      border-radius:20px;
      box-shadow:0 8px 22px rgba(15,23,42,.055);
      border:1px solid rgba(226,232,240,.92);
      transition:transform .2s ease, box-shadow .2s ease;
    }
    .soft-card:hover{transform:translateY(-1px)}
    .floating-header-shell{
      position:fixed;
      top:10px;
      left:0;
      right:0;
      z-index:1200;
      pointer-events:none;
    }
    .floating-header-wrap{
      max-width:860px;
      margin:0 auto;
      padding:0 14px;
    }
    .floating-header{
      pointer-events:auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      min-height:58px;
      padding:12px 16px;
      border-radius:22px;
      background:rgba(255,255,255,.78);
      border:1px solid rgba(226,232,240,.9);
      box-shadow:0 12px 28px rgba(15,23,42,.08);
      backdrop-filter:blur(18px) saturate(150%);
      -webkit-backdrop-filter:blur(18px) saturate(150%);
    }
    .floating-header-left{
      min-width:0;
      display:flex;
      align-items:center;
      gap:10px;
    }
    .floating-header-badge{
      width:36px;
      height:36px;
      border-radius:12px;
      background:linear-gradient(135deg,#EEF2FF 0%,#E0E7FF 100%);
      color:var(--primary);
      display:flex;
      align-items:center;
      justify-content:center;
      font-size:15px;
      font-weight:900;
      box-shadow:0 8px 18px rgba(79,70,229,.16);
      flex:0 0 36px;
    }
    .floating-header-text{
      min-width:0;
      display:flex;
      flex-direction:column;
      gap:2px;
    }
    .floating-header-title{
      font-size:14px;
      line-height:1.1;
      font-weight:900;
      color:#111827;
      letter-spacing:-.03em;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .floating-header-sub{
      font-size:11px;
      line-height:1.1;
      color:#6b7280;
      font-weight:700;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .floating-header-status{
      flex:0 0 auto;
      display:inline-flex;
      align-items:center;
      gap:7px;
      padding:8px 11px;
      border-radius:999px;
      background:var(--primary-soft);
      border:1px solid #DDE5FF;
      color:var(--primary);
      font-size:11px;
      font-weight:800;
      white-space:nowrap;
    }
    .floating-header-dot{
      width:8px;
      height:8px;
      border-radius:50%;
      background:#22c55e;
      box-shadow:0 0 0 4px rgba(34,197,94,.12);
    }
    .announcement-modal{
      position:fixed;
      inset:0;
      z-index:1400;
      display:none;
      align-items:center;
      justify-content:center;
      padding:24px 16px 110px;
      background:rgba(15,23,42,.28);
      backdrop-filter:blur(10px);
      -webkit-backdrop-filter:blur(10px);
    }
    .announcement-modal.show{display:flex}
    .announcement-modal-card{
      width:min(100%,480px);
      max-height:min(74vh,620px);
      overflow:auto;
      border-radius:28px;
      background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(255,247,249,.94) 100%);
      border:1px solid rgba(255,255,255,.82);
      box-shadow:0 24px 60px rgba(17,24,39,.22);
      padding:20px 18px 18px;
      position:relative;
    }
    .announcement-modal-chip{
      display:inline-flex;
      align-items:center;
      gap:6px;
      background:#fff;
      color:var(--red);
      padding:8px 12px;
      border-radius:999px;
      font-size:11px;
      font-weight:900;
      letter-spacing:.02em;
      margin-bottom:12px;
    }
    .announcement-modal-title{
      font-size:23px;
      line-height:1.15;
      font-weight:900;
      color:#8f1027;
      margin-bottom:10px;
      letter-spacing:-.03em;
    }
    .announcement-modal-text{
      font-size:15px;
      line-height:1.7;
      color:#7a2836;
      white-space:pre-wrap;
      margin:0;
    }
    .announcement-modal-actions{
      display:flex;
      justify-content:flex-end;
      margin-top:18px;
    }
    .announcement-close-btn{
      border:none;
      border-radius:16px;
      min-height:44px;
      padding:10px 16px;
      background:linear-gradient(180deg,#d31a3c 0%,#bf0f2d 100%);
      color:#fff;
      font-size:14px;
      font-weight:800;
      box-shadow:0 12px 24px rgba(31,58,95,.22);
    }
    .announcement-card{
      position:relative;overflow:hidden;
      background:radial-gradient(circle at top right, rgba(255,255,255,.7), transparent 35%), linear-gradient(135deg,#FFFFFF 0%,#F8FAFF 100%);
      border:1px solid #E2E8F0;border-radius:24px;padding:18px 18px 16px 20px;box-shadow:var(--shadow)
    }
    .announcement-card::before{
      content:'';position:absolute;left:0;top:0;bottom:0;width:6px;background:linear-gradient(180deg,var(--primary),#7C3AED)
    }
    .announcement-chip{
      display:inline-flex;align-items:center;gap:6px;background:var(--primary-soft);border:1px solid #DDE5FF;color:var(--primary);
      padding:7px 12px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.3px;margin-bottom:10px
    }
    .announcement-title{font-size:20px;font-weight:900;color:#1E293B;margin-bottom:6px;line-height:1.2}
    .announcement-text{font-size:15px;color:#475569;line-height:1.6;margin:0;white-space:pre-wrap}
    .announcement-text.clamped{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
    .announcement-toggle{margin-top:10px;border:none;background:transparent;color:var(--primary);font-weight:800;padding:0;font-size:13px}
    .section-label{font-size:16px;font-weight:900;margin-bottom:10px;color:#111827}
    .slider-section-title{font-size:15px;font-weight:900;color:#0f172a;line-height:1.25;margin-bottom:12px}
    .activity-ticker{
      display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:18px;background:#fff;
      border:1px solid #E2E8F0;box-shadow:var(--shadow);overflow:hidden
    }
    .activity-ticker-label{
      flex:0 0 auto;font-size:11px;font-weight:900;color:var(--primary);background:var(--primary-soft);padding:6px 10px;border-radius:999px
    }
    .activity-ticker-window{overflow:hidden;white-space:nowrap;position:relative;flex:1 1 auto;min-width:0}
    .activity-ticker-track{
      display:inline-block;white-space:nowrap;animation:tickerScroll 18s linear infinite;
      will-change:transform;color:#4b5563;font-size:13px;font-weight:700
    }
    .activity-sep{color:var(--primary);font-weight:900;padding:0 14px}
    @keyframes tickerScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

    .slider-switch{
      display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px
    }
    .slider-switch-btn{
      border:none;border-radius:999px;padding:10px 14px;font-weight:800;font-size:13px;
      background:#F1F5F9;color:#475569;min-height:42px;transition:.2s ease
    }
    .slider-switch-btn.active{
      background:var(--primary-soft);color:var(--primary);box-shadow:inset 0 0 0 1px #DDE5FF
    }

    .coverflow-wrap{position:relative;height:282px;overflow:hidden;touch-action:pan-y;perspective:1400px}
    .coverflow-stage{position:relative;height:100%;transform-style:preserve-3d}
    .cover-card{
      position:absolute;left:50%;top:12px;bottom:12px;width:64%;margin-left:-32%;border-radius:28px;background:
      radial-gradient(circle at top right, rgba(255,255,255,.35), transparent 34%),
      linear-gradient(180deg,#eceff3 0%,#e5e9ef 100%);
      border:1px solid rgba(255,255,255,.9);box-shadow:0 18px 42px rgba(17,24,39,.10);
      transition:transform .72s cubic-bezier(.22,.61,.36,1), opacity .58s ease, filter .58s ease;
      overflow:hidden;display:flex;align-items:center;justify-content:center;will-change:transform,opacity,filter
    }
    .cover-card.current{opacity:1;z-index:4;filter:none;transform:translateX(0) translateZ(0) rotateY(0deg) scale(1)}
    .cover-card.prev{opacity:.88;z-index:3;filter:blur(.2px) saturate(.84);transform:translateX(-68%) translateZ(-120px) rotateY(28deg) scale(.84)}
    .cover-card.next{opacity:.88;z-index:3;filter:blur(.2px) saturate(.84);transform:translateX(68%) translateZ(-120px) rotateY(-28deg) scale(.84)}
    .cover-card.hidden-left{opacity:0;z-index:1;filter:blur(2px) saturate(.7);transform:translateX(-118%) translateZ(-240px) rotateY(38deg) scale(.7);pointer-events:none}
    .cover-card.hidden-right{opacity:0;z-index:1;filter:blur(2px) saturate(.7);transform:translateX(118%) translateZ(-240px) rotateY(-38deg) scale(.7);pointer-events:none}
    .cover-content{
      width:100%;height:100%;padding:18px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center
    }
    .cover-card.prev .cover-content,.cover-card.next .cover-content{padding:10px 8px}
    .cover-photo{
      width:108px;height:108px;border-radius:50%;margin:0 auto 14px;background:linear-gradient(135deg,#eceff3,#f7f7f8);
      display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:22px;font-weight:900;color:#6b7280;
      border:6px solid #f6dde2;flex:0 0 auto;box-shadow:0 8px 18px rgba(17,24,39,.10)
    }
    .cover-photo img{width:100%;height:100%;object-fit:cover}
    .cover-rank{
      display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;background:#fdecef;
      color:#c8102e;font-size:12px;font-weight:900;margin-bottom:10px
    }
    .cover-name{font-size:19px;font-weight:900;color:#111827;margin-bottom:6px;line-height:1.2;text-shadow:0 .25px 0 rgba(17,24,39,.45)}
    .cover-caption{color:#6b7280;font-size:14px;line-height:1.4}
    .cover-card.prev .cover-photo,.cover-card.next .cover-photo{width:62px;height:62px;margin-bottom:8px;border-width:4px;font-size:14px}
    .cover-card.prev .cover-rank,.cover-card.next .cover-rank,.cover-card.prev .cover-caption,.cover-card.next .cover-caption{display:none}
    .cover-card.prev .cover-name,.cover-card.next .cover-name{
      font-size:11px;margin-bottom:0;color:#4b5563;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
    }
    .coverflow-controls{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:10px}
    .slider-arrow{
      width:46px;height:46px;border:none;border-radius:50%;background:#f3f4f6;color:#374151;font-size:20px;font-weight:900;cursor:pointer
    }
    .dots{display:flex;justify-content:center;gap:10px}
    .dot{width:10px;height:10px;border-radius:50%;background:#d1d5db;cursor:pointer;transition:.2s ease}
    .dot.active{width:32px;border-radius:999px;background:#c8102e}

    .section-anchor{scroll-margin-top:24px}
    .menu-card{overflow:hidden;background:#fff;border:1px solid #E2E8F0;box-shadow:0 8px 20px rgba(15,23,42,.05)}
    .menu-head{display:flex;justify-content:space-between;align-items:center;padding:16px 16px;cursor:pointer;background:linear-gradient(180deg,#FFFFFF 0%,#FBFDFF 100%)}
    .menu-title{font-weight:900;font-size:15px;letter-spacing:-.02em}
    .chevron{
      width:36px;height:36px;border-radius:50%;background:#F1F5F9;display:flex;align-items:center;justify-content:center;
      color:#64748B;font-weight:900;transition:transform .25s ease, background .25s ease, color .25s ease;flex:0 0 36px
    }
    .menu-body{max-height:0;overflow:hidden;transition:max-height .28s ease, background .2s ease;border-top:1px solid transparent;background:#f8fafc}
    .menu-card.open .menu-body{border-top:1px solid #e6ebf0;background:#f7f9fc}
    .menu-card.open .menu-head{background:linear-gradient(180deg,#F8FAFF 0%,#FFFFFF 100%)}
    .menu-card.open .chevron{transform:rotate(180deg);background:var(--primary-soft);color:var(--primary)}
    .menu-item{
      padding:11px 14px;border-top:1px solid #EDF2F7;display:flex;justify-content:space-between;align-items:center;cursor:pointer;min-height:46px;
      font-size:12px;color:#475569;background:#FAFCFF;transition:background .18s ease
    }
    .menu-item:hover{background:#F4F8FF}
    .menu-item > div:first-child{font-weight:700;font-size:12px;color:#596273}
    .badge-soft{
      font-size:10px;font-weight:800;color:var(--primary);background:var(--primary-soft);border-radius:999px;padding:5px 8px;min-width:46px;text-align:center
    }

    .month-mini-list{padding:6px 12px 10px 12px;border-top:1px solid #edf1f5;background:#f2f6fa}
    .month-mini-item{
      display:flex;align-items:center;justify-content:space-between;padding:4px 0;font-size:11px;color:#607086
    }
    .month-mini-rank{font-weight:900;color:var(--red);width:18px;flex:0 0 18px}
    .month-mini-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:6px}

    .ccm-showcase-wrap{margin-top:2px}
    .ccm-showcase-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
    .ccm-showcase-title{font-size:16px;font-weight:900;letter-spacing:-.02em;color:#111827;text-shadow:0 .25px 0 rgba(17,24,39,.25)}
    .ccm-month-grid{display:grid;grid-template-columns:1fr;gap:12px}
    .ccm-month-card{background:linear-gradient(180deg,#fff 0%,#fbfcfd 100%);border:1px solid #e8edf3;border-radius:20px;box-shadow:0 8px 20px rgba(17,24,39,.05);overflow:hidden}
    .ccm-month-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px 10px;border-bottom:1px solid #eef2f6}
    .ccm-month-name{font-size:14px;font-weight:900;color:var(--primary);letter-spacing:-.02em}
    .ccm-month-badge{font-size:10px;font-weight:800;color:var(--red);background:#fcecef;border-radius:999px;padding:5px 8px}
    .ccm-list{padding:10px 12px 12px;display:flex;flex-direction:column;gap:8px}
    .ccm-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border-radius:15px;background:#f9fbfd;border:1px solid #eef2f6}
    .ccm-item-left{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
    .ccm-rank{width:28px;height:28px;border-radius:999px;background:#fcecef;color:var(--red);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;flex:0 0 28px}
    .ccm-thumb{width:38px;height:38px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#eef1f4,#f8f9fb);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;color:#6b7280;flex:0 0 38px}
    .ccm-thumb img{width:100%;height:100%;object-fit:cover}
    .ccm-meta{min-width:0;display:flex;flex-direction:column}
    .ccm-name{font-size:13px;font-weight:800;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .ccm-code{font-size:11px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    @media (min-width:700px){.ccm-month-grid{grid-template-columns:1fr 1fr}}


    .ccm-accordion{
      background:#fff;
      border:1px solid #e8edf3;
      border-radius:22px;
      box-shadow:0 8px 20px rgba(17,24,39,.05);
      overflow:hidden;
      margin-bottom:14px;
    }
    .ccm-accordion-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:15px 16px;
      cursor:pointer;
      background:linear-gradient(180deg,#ffffff 0%,#fafbfd 100%);
    }
    .ccm-accordion.open .ccm-accordion-head{
      background:linear-gradient(180deg,#fff5f7 0%,#fff 100%);
    }
    .ccm-accordion-title{
      font-size:15px;
      font-weight:900;
      color:#111827;
      letter-spacing:-.02em;
    }
    .ccm-accordion-chevron{
      width:36px;
      height:36px;
      border-radius:50%;
      background:#f3f4f6;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#6b7280;
      font-weight:900;
      transition:transform .25s ease;
      flex:0 0 36px;
    }
    .ccm-accordion.open .ccm-accordion-chevron{
      transform:rotate(180deg);
      background:#fdecef;
      color:var(--red);
    }
    .ccm-accordion-body{
      max-height:0;
      overflow:hidden;
      transition:max-height .28s ease;
      background:#f8fafc;
      border-top:1px solid transparent;
    }
    .ccm-accordion.open .ccm-accordion-body{
      border-top:1px solid #e6ebf0;
    }
    .ccm-month-acc{
      border-top:1px solid #edf1f5;
      background:#fff;
    }
    .ccm-month-acc-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:13px 14px;
      cursor:pointer;
    }
    .ccm-month-acc-title{
      font-size:14px;
      font-weight:900;
      color:var(--red);
    }
    .ccm-month-acc-badge{
      font-size:10px;
      font-weight:800;
      color:var(--red);
      background:#fcecef;
      border-radius:999px;
      padding:5px 8px;
      margin-right:8px;
    }
    .ccm-month-acc-right{
      display:flex;
      align-items:center;
      gap:8px;
    }
    .ccm-month-acc-chevron{
      width:30px;
      height:30px;
      border-radius:50%;
      background:#f3f4f6;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#6b7280;
      font-weight:900;
      transition:transform .25s ease;
    }
    .ccm-month-acc.open .ccm-month-acc-chevron{
      transform:rotate(180deg);
      background:#fdecef;
      color:var(--red);
    }
    .ccm-month-acc-body{
      max-height:0;
      overflow:hidden;
      transition:max-height .28s ease;
      background:#fbfcfd;
    }

    .search-wrap{position:sticky;top:0;z-index:70;padding:0 0 8px;background:linear-gradient(180deg,rgba(245,246,248,.98),rgba(245,246,248,.92))}
    .phone-search-shell{padding:0 1px}
    .phone-search-card{padding:12px 14px;border-radius:18px}
    .phone-search-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
    .phone-eyebrow{font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}
    .phone-search-title{font-size:20px;font-weight:900;color:#0f172a;letter-spacing:-.03em;line-height:1.05;margin-top:2px}
    .phone-search-subtitle{font-size:12px;color:#64748b;font-weight:700;line-height:1.35;margin-top:5px}
    .phone-search-actions{flex:0 0 auto}
    .phone-refresh-btn{
      width:40px;height:40px;border:none;border-radius:14px;background:#f8fafc;color:#475569;display:inline-flex;align-items:center;justify-content:center;
      box-shadow:inset 0 0 0 1px #e5eaf1;cursor:pointer
    }
    .phone-refresh-btn svg{width:18px;height:18px;stroke-width:2.15}
    .phone-search-input-wrap{
      display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;background:#fff;border-radius:16px;
      box-shadow:0 6px 16px rgba(17,24,39,.045);border:1px solid #e6ebef
    }
    .phone-search-input-wrap svg{width:17px;height:17px;stroke-width:2.15;color:#94a3b8;flex:0 0 17px}
    .phone-search-input{
      width:100%;min-height:46px;border:none;outline:none;background:transparent;border-radius:0;padding:0;font:inherit;color:var(--text);
      box-shadow:none
    }
    .phone-search-input:disabled{color:#94a3b8}
    .touch-input,.touch-select,.touch-textarea{
      width:100%;min-height:48px;border:none;outline:none;background:#f3f4f6;border-radius:16px;padding:12px 14px;font:inherit;color:var(--text)
    }
    .touch-textarea{min-height:96px;resize:vertical;border-radius:18px}
    .pill{
      border:none;cursor:pointer;font-weight:900;border-radius:999px;padding:13px 18px;min-height:48px
    }
    .pill.primary{background:linear-gradient(135deg,var(--primary),#6366F1);color:#fff;box-shadow:0 10px 20px rgba(79,70,229,.22)}
    .pill.secondary{background:#e5e7eb;color:#111827}
    .pill.ghost{background:#fff;color:#111827;border:1px solid #e5e7eb}

    .avatar{
      width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#eceff3,#f7f7f8);
      display:flex;align-items:center;justify-content:center;overflow:hidden;font-weight:900;color:#6b7280;flex:0 0 56px
    }
    .avatar img{width:100%;height:100%;object-fit:cover}
    .call{
      text-decoration:none;background:linear-gradient(135deg,var(--primary),#6366F1);color:#fff;padding:12px 16px;border-radius:999px;font-weight:800;
      min-width:84px;text-align:center;display:inline-flex;align-items:center;justify-content:center;min-height:48px;box-shadow:0 10px 20px rgba(79,70,229,.18)
    }
    .phone-card{
      display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #e7ebf0;
      border-radius:18px;padding:11px 12px;box-shadow:0 4px 14px rgba(17,24,39,.045);margin-bottom:10px
    }
    .phone-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
    .phone-meta{min-width:0}
    .phone-code{font-weight:900;color:#111827;line-height:1.1;text-shadow:0 .2px 0 rgba(17,24,39,.35);font-size:15px}
    .phone-name{font-size:12px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
    .phone-number{font-size:13px;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px;font-weight:700}
    .phone-actions{display:flex;gap:8px;flex:0 0 auto}
    .action-icon{
      width:40px;height:40px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;
      border:1px solid transparent;box-shadow:0 4px 12px rgba(17,24,39,.06)
    }
    .action-icon.msg{background:linear-gradient(180deg,#eaf3ff 0%,#dbe9ff 100%);color:#2563eb}
    .action-icon.call-btn{background:linear-gradient(180deg,#eaf8ec 0%,#dff2e3 100%);color:#16a34a}
    .action-icon svg{width:18px;height:18px;stroke-width:2}
    .action-icon:active{transform:scale(.95)}
    .phone-card-skeleton{pointer-events:none}
    .phone-avatar-skeleton,.phone-line-skeleton,.phone-action-skeleton{
      background:linear-gradient(90deg,#ececec 25%,#f5f5f5 37%,#ececec 63%);
      background-size:400% 100%;
      animation:shine 1.2s ease infinite;
    }
    .phone-avatar-skeleton{width:56px;height:56px;border-radius:16px;flex:0 0 56px}
    .phone-line-skeleton{height:11px;border-radius:999px;margin:7px 0 0}
    .phone-line-skeleton-lg{width:72%;height:13px;margin-top:0}
    .phone-line-skeleton-sm{width:48%}
    .phone-action-skeleton{border:none;box-shadow:none}


    .fw-bold,.section-label,.menu-title,.phone-code,.cover-name,.announcement-title{ text-shadow:0 .25px 0 rgba(17,24,39,.35) }
    .footer{text-align:center;font-size:12px;color:#6b7280;padding:10px 6px 2px}
    .footer strong{color:#111827}
    .toolbar{display:flex;gap:8px;flex-wrap:wrap}
    .repeat-list{display:flex;flex-direction:column;gap:10px}
    .repeat-item{border:1px solid #eceef2;border-radius:18px;padding:12px;background:#fbfbfc}
    .status{
      display:inline-flex;align-items:center;background:#f3f4f6;color:#4b5563;font-size:12px;font-weight:800;border-radius:999px;padding:7px 10px
    }
    .skeleton{
      height:84px;border-radius:22px;margin-bottom:14px;background:linear-gradient(90deg,#ececec 25%,#f5f5f5 37%,#ececec 63%);
      background-size:400% 100%;animation:shine 1.2s ease infinite
    }
    .skeleton.hero{height:140px}
    .toast{
      position:fixed;left:50%;bottom:92px;transform:translateX(-50%);background:#111827;color:#fff;padding:12px 16px;border-radius:999px;
      box-shadow:0 10px 30px rgba(0,0,0,.2);z-index:10030;opacity:0;pointer-events:none;transition:.25s ease
    }
    .toast.show{opacity:1}
    .toast.alert{background:#b91c1c;box-shadow:0 14px 34px rgba(185,28,28,.34);font-weight:800}
    .pull-refresh-indicator{
      position:fixed;
      left:50%;
      top:84px;
      transform:translateX(-50%) translateY(-18px);
      z-index:1600;
      width:min(180px, calc(100vw - 32px));
      border-radius:16px;
      background:rgba(255,255,255,.94);
      border:1px solid rgba(226,232,240,.95);
      box-shadow:0 10px 24px rgba(15,23,42,.10);
      display:flex;
      align-items:stretch;
      justify-content:center;
      gap:8px;
      padding:10px 12px;
      flex-direction:column;
      opacity:0;
      pointer-events:none;
      transition:transform .16s ease, opacity .16s ease;
    }
    .pull-refresh-indicator.show{
      opacity:1;
      transform:translateX(-50%) translateY(0);
    }
    .pull-refresh-arrow{
      width:18px;
      height:18px;
      flex:0 0 18px;
      color:var(--primary);
      transition:transform .14s ease;
    }
    .pull-refresh-top{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:8px;
    }
    .pull-refresh-progress{
      width:100%;
      height:3px;
      border-radius:999px;
      background:rgba(79,70,229,.12);
      overflow:hidden;
    }
    .pull-refresh-progress-bar{
      width:0%;
      height:100%;
      border-radius:999px;
      background:linear-gradient(90deg,var(--primary),#7c3aed);
      transition:width .1s linear;
    }
    .pull-refresh-text{
      font-size:10px;
      font-weight:800;
      color:#475569;
      white-space:nowrap;
    }
    @keyframes pullRefreshSpin{
      from{transform:rotate(0deg)}
      to{transform:rotate(360deg)}
    }
    .bottom-nav{
      position:fixed;left:14px;right:14px;bottom:14px;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);
      border:1px solid rgba(226,232,240,.95);box-shadow:0 10px 26px rgba(15,23,42,.10);border-radius:24px;padding:6px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px
    }
    .bottom-btn{
      border:none;background:transparent;border-radius:16px;min-height:52px;font:inherit;font-weight:800;color:#4b5563;cursor:pointer;
      display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px
    }
    .bottom-btn.active{background:var(--primary-soft);color:var(--primary);box-shadow:inset 0 0 0 1px #DDE5FF}
    .bottom-btn-icon{font-size:19px;line-height:1}
    .bottom-btn-text{font-size:10px;letter-spacing:.01em}
    .more-menu{
      position:fixed;left:50%;transform:translateX(-50%);bottom:86px;width:min(280px, calc(100vw - 28px));background:#fff;border-radius:18px;
      box-shadow:0 16px 40px rgba(17,24,39,.18);border:1px solid #eceef2;padding:8px;display:none;z-index:120
    }
    .more-menu.show{display:block}
    .more-item{
      width:100%;border:none;background:transparent;text-align:left;padding:13px 12px;border-radius:12px;font:inherit;font-weight:700;color:#111827;cursor:pointer;min-height:46px
    }
    .more-item:hover{background:#f5f6f8}
    @keyframes shine{0%{background-position:100% 0}100%{background-position:0 0}}
    @media (max-width:680px){
      .floating-header{min-height:52px;padding:10px 12px}
      .floating-header-status{display:none}
      .floating-header-title{font-size:13px}
      .floating-header-sub{font-size:10px}
      .cover-card{width:72%;margin-left:-36%}
      .cover-card.prev{transform:translateX(-60%) translateZ(-110px) rotateY(24deg) scale(.82)}
      .cover-card.next{transform:translateX(60%) translateZ(-110px) rotateY(-24deg) scale(.82)}
      .cover-card.hidden-left{transform:translateX(-108%) translateZ(-220px) rotateY(34deg) scale(.68)}
      .cover-card.hidden-right{transform:translateX(108%) translateZ(-220px) rotateY(-34deg) scale(.68)}
      .coverflow-wrap{height:260px}
    }
    .doc-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}

.doc-modal.show{
  display:block;
}

.doc-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.45);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}

.doc-modal-sheet{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(96vw,980px);
  height:min(88vh,820px);
  background:#fff;
  border-radius:24px;
  box-shadow:0 20px 60px rgba(0,0,0,.20);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(0,0,0,.06);
}

.doc-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid #eceef2;
  background:#fff;
}

.doc-modal-title{
  font-size:16px;
  font-weight:800;
  color:#111827;
}

.doc-modal-subtitle{
  font-size:12px;
  color:#6b7280;
  margin-top:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:70vw;
}

.doc-modal-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.doc-icon-btn{
  border:none;
  background:#f3f4f6;
  width:38px;
  height:38px;
  border-radius:999px;
  font-size:18px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.doc-icon-btn:hover{
  background:#e5e7eb;
}

.doc-modal-body{
  flex:1;
  background:#f8fafc;
}

#docPreviewFrame{
  width:100%;
  height:100%;
  border:none;
  background:#fff;
}

body.modal-open{
  overflow:hidden;
}

@media (max-width: 768px){
  .doc-modal-sheet{
    width:100vw;
    height:100vh;
    max-width:none;
    max-height:none;
    border-radius:0;
    left:0;
    top:0;
    transform:none;
  }

  .doc-modal-subtitle{
    max-width:52vw;
  }
}
  
/* ===== 2026 refreshed header + drawer overrides ===== */
body{padding-bottom:98px}
.app-shell{padding-top:84px}
.floating-header-shell,.floating-header-wrap,.floating-header,.floating-header-left,.floating-header-badge,.floating-header-text,.floating-header-status{display:none!important}
.topbar-shell{position:fixed;top:10px;left:0;right:0;z-index:1400;pointer-events:none}
.topbar-wrap{max-width:860px;margin:0 auto;padding:0 14px}
.topbar{pointer-events:auto;min-height:56px;padding:7px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:22px;background:rgba(255,255,255,.82);border:1px solid rgba(226,232,240,.92);box-shadow:0 10px 26px rgba(15,23,42,.08);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%)}
.topbar-left,.topbar-right{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.topbar-center{min-width:0;flex:1;display:flex;align-items:center;justify-content:center;gap:10px}
.topbar-logo{width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,#EEF2FF,#E0E7FF);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 30px}
.topbar-logo img{width:20px;height:20px;object-fit:contain}
.topbar-title-wrap{min-width:0;text-align:center}
.topbar-title{font-size:16px;font-weight:900;color:#111827;letter-spacing:-.035em;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-sub{font-size:10.5px;color:#6b7280;font-weight:700;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-icon-btn{width:40px;height:40px;border:none;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.72);box-shadow:inset 0 0 0 1px rgba(226,232,240,.92);color:#334155;cursor:pointer;transition:.2s ease}
.top-icon-btn:active{transform:scale(.96)}
.top-icon-btn svg{width:19px;height:19px;stroke-width:2.2}
.top-notification-btn{position:relative}
.top-notification-btn.has-alert{color:#b91c1c;background:rgba(254,242,242,.92);box-shadow:inset 0 0 0 1px rgba(254,202,202,.95)}
.top-icon-badge{position:absolute;top:4px;right:4px;min-width:18px;height:18px;border-radius:999px;background:#c8102e;color:#fff;font-size:10px;font-weight:900;display:flex;align-items:center;justify-content:center;padding:0 5px;box-shadow:0 4px 10px rgba(200,16,46,.25)}
.top-icon-badge.hidden{display:none}
.header-search-sheet{position:fixed;top:78px;left:0;right:0;z-index:1350;display:none;pointer-events:none}
.header-search-sheet.show{display:block}
.header-search-wrap{max-width:860px;margin:0 auto;padding:0 14px}
.header-search-card{pointer-events:auto;border-radius:22px;background:rgba(255,255,255,.95);border:1px solid rgba(226,232,240,.92);box-shadow:0 18px 40px rgba(15,23,42,.14);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);padding:12px}
.header-search-input{width:100%;min-height:48px;border:none;outline:none;background:#F8FAFC;border-radius:16px;padding:12px 16px;font:inherit;color:var(--text);box-shadow:inset 0 0 0 1px #E5EAF1}
.header-search-hint{margin-top:8px;font-size:12px;color:#64748B;font-weight:600;padding:0 4px}
.side-menu-overlay{position:fixed;inset:0;z-index:1500;background:rgba(15,23,42,.28);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;pointer-events:none;transition:opacity .25s ease;will-change:opacity}
.side-menu-overlay.show{opacity:1;pointer-events:auto}
.side-menu{position:fixed;top:0;left:0;bottom:0;width:min(340px,88vw);z-index:1510;background:rgba(255,255,255,.96);border-right:1px solid rgba(226,232,240,.9);box-shadow:0 24px 60px rgba(15,23,42,.18);transform:translateX(-106%);transition:transform .28s ease;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);display:flex;flex-direction:column;will-change:transform}
.side-menu.show{transform:translateX(0)}
.side-menu-head{padding:18px 16px 12px;border-bottom:1px solid #EEF2F6;display:flex;align-items:center;justify-content:space-between;gap:12px}
.side-menu-brand{display:flex;align-items:center;gap:12px;min-width:0}
.side-menu-mark{width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,#EEF2FF,#E0E7FF);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 44px;box-shadow:0 10px 20px rgba(79,70,229,.12)}
.side-menu-mark img{width:28px;height:28px;object-fit:contain}
.side-menu-title{font-size:15px;font-weight:900;color:#111827;letter-spacing:-.03em;line-height:1.2}
.side-menu-sub{font-size:11px;color:#64748B;font-weight:700;line-height:1.2}
.side-menu-body{padding:12px;overflow:auto;flex:1}
.side-menu-section-label{font-size:11px;font-weight:900;color:#94A3B8;letter-spacing:.08em;text-transform:uppercase;padding:10px 8px 8px}
.side-menu-list{display:flex;flex-direction:column;gap:6px}
.side-menu-item{width:100%;border:none;background:#fff;border-radius:16px;min-height:48px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;color:#111827;font:inherit;font-weight:800;box-shadow:inset 0 0 0 1px #EBEFF5;cursor:pointer}
.side-menu-item-left{display:flex;align-items:center;gap:12px;min-width:0}
.side-menu-item-left svg{width:18px;height:18px;stroke-width:2.1;color:#475569}
.side-menu-item-title{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side-menu-badge{flex:0 0 auto;font-size:10px;font-weight:900;color:var(--primary);background:var(--primary-soft);border-radius:999px;padding:6px 8px}
.side-menu-badge-unread{color:#fff!important;background:#c8102e!important;box-shadow:0 6px 12px rgba(200,16,46,.22)}
.side-menu-badge-photo{width:34px;height:34px;padding:0;border-radius:999px;overflow:hidden;background:#eef2ff;border:2px solid #e0e7ff;display:flex;align-items:center;justify-content:center}
.side-menu-badge-photo img{width:100%;height:100%;object-fit:cover;display:block}
.notification-center-card{max-width:560px;width:min(92vw,560px);padding:18px 18px 14px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.96));border:1px solid rgba(226,232,240,.92);box-shadow:0 26px 64px rgba(15,23,42,.18)}
.notification-center-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.notification-center-chip{background:#fff1f3;color:#c8102e}
.notification-center-title{margin-top:6px;letter-spacing:-.03em}
.notification-center-sub{font-size:12px;color:#64748b;font-weight:700}
.notification-center-close{width:38px;height:38px;border:none;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px #e5eaf1,0 8px 18px rgba(15,23,42,.06);color:#475569;display:inline-flex;align-items:center;justify-content:center}
.notification-center-close svg{width:18px;height:18px;stroke-width:2.2}
.notification-center-list{display:flex;flex-direction:column;gap:12px;max-height:min(58vh,430px);overflow:auto;padding-right:2px}
.notification-center-item{border-radius:20px;background:#f8fafc;box-shadow:inset 0 0 0 1px #e5eaf1;padding:14px 14px 12px;transition:transform .18s ease, box-shadow .18s ease}
.notification-center-item.unread{background:linear-gradient(180deg,#fff7f8,#fff1f3);box-shadow:inset 0 0 0 1px #fecdd3,0 12px 22px rgba(248,113,113,.08)}
.notification-center-item.is-swiping{transition:none}
.notification-center-item.is-removing{transform:translateX(-110%);opacity:0;transition:transform .22s ease,opacity .22s ease}
.notification-center-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}
.notification-center-item-title-wrap{display:flex;align-items:center;gap:10px;min-width:0}
.notification-center-item-icon{width:34px;height:34px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #e5eaf1;display:flex;align-items:center;justify-content:center;flex:0 0 34px;color:#c8102e}
.notification-center-item-icon svg{width:16px;height:16px;stroke-width:2.2}
.notification-center-item-title{font-size:15px;font-weight:900;color:#0f172a;line-height:1.2}
.notification-center-item-right{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.notification-center-item-meta{font-size:11px;color:#94a3b8;font-weight:800;white-space:nowrap}
.notification-center-remove{width:30px;height:30px;border:none;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #e5eaf1;color:#94a3b8;display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px}
.notification-center-remove svg{width:15px;height:15px;stroke-width:2.3}
.notification-center-item-body{font-size:13px;line-height:1.6;color:#475569;padding-left:44px}
.notification-center-item-foot{margin-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.notification-center-state{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.notification-center-state.unread{background:#fee2e2;color:#b91c1c}
.notification-center-state.seen{background:#eef2ff;color:#4f46e5}
.notification-center-swipe-hint{font-size:10px;font-weight:800;color:#94a3b8;letter-spacing:.03em}
.notification-center-empty{border-radius:18px;background:#f8fafc;box-shadow:inset 0 0 0 1px #e5eaf1;padding:22px 16px;text-align:center;color:#64748b;font-weight:700}
.notification-center-actions{justify-content:flex-end;margin-top:14px}
.notification-center-done-btn{min-width:110px}
.profile-shell{padding-top:4px}
.profile-hero{position:relative;overflow:hidden;padding:22px 18px 18px;border-radius:28px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid rgba(226,232,240,.92);box-shadow:0 20px 46px rgba(15,23,42,.08)}
.profile-hero::before{content:"";position:absolute;inset:auto -10% 58% -10%;height:140px;background:radial-gradient(circle at center, rgba(200,16,46,.12), transparent 58%)}
.profile-avatar-wrap{position:relative;display:flex;justify-content:center;margin-bottom:14px}
.profile-avatar{width:104px;height:104px;border-radius:999px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border:4px solid rgba(255,255,255,.92);box-shadow:0 14px 28px rgba(15,23,42,.14);overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900;color:#475569}
.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-code{display:flex;justify-content:center;margin-bottom:10px}
.profile-code span{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.profile-name{text-align:center;font-size:26px;font-weight:900;letter-spacing:-.04em;color:#0f172a;line-height:1.05}
.profile-sub{text-align:center;margin-top:6px;font-size:13px;color:#64748b;font-weight:700}
.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(116px + env(safe-area-inset-bottom));
  }

  .app-shell {
    max-width: none;
    padding: 82px 10px 18px;
  }

  .topbar-wrap,
  .header-search-wrap {
    max-width: none;
    padding: 0 10px;
  }

  .topbar {
    min-height: 62px;
    padding: 8px 10px;
    border-radius: 20px;
  }

  .top-icon-badge {
    top: 3px;
    right: 3px;
  }

  .notification-center-card {
    width: min(94vw, 560px);
    padding: 16px 14px 12px;
  }

  .notification-center-item {
    padding: 12px;
  }

  .notification-center-item-title-wrap {
    gap: 8px;
  }

  .notification-center-item-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .notification-center-item-title {
    font-size: 14px;
  }

  .notification-center-item-right {
    gap: 6px;
  }

  .notification-center-remove {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .notification-center-item-body {
    font-size: 12px;
    padding-left: 38px;
  }

  .notification-center-swipe-hint {
    font-size: 9px;
  }

  .topbar-title {
    font-size: 17px;
  }

  .topbar-sub {
    font-size: 11px;
  }

  .soft-card,
  .menu-card,
  .profile-hero,
  .phone-card {
    border-radius: 20px;
  }

  .section-label,
  .ccm-showcase-title,
  .slider-section-title,
  .announcement-title {
    font-size: 18px;
  }

  .menu-title {
    font-size: 17px;
  }

  .menu-head {
    padding: 18px 16px;
  }

  .menu-item {
    min-height: 52px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .menu-item > div:first-child {
    font-size: 14px;
  }

  .phone-card {
    padding: 14px 16px;
  }

  .phone-code {
    font-size: 18px;
  }

  .phone-name,
  .phone-number {
    font-size: 14px;
  }

  .bottom-nav {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    border-radius: 24px;
  }
}
.profile-card{padding:14px 14px 12px;border-radius:18px;background:#fff;border:1px solid #e5ebf2;box-shadow:0 8px 22px rgba(15,23,42,.05)}
.profile-label{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}
.profile-value{margin-top:6px;font-size:15px;font-weight:800;color:#0f172a;line-height:1.35}
.profile-note{margin-top:14px;padding:14px 15px;border-radius:18px;background:linear-gradient(180deg,#fff7f8 0%,#fff 100%);border:1px solid rgba(200,16,46,.14)}
.profile-note .profile-value{font-size:14px;font-weight:700;color:#475569}
.profile-achievements{margin-top:14px;padding:16px;border-radius:22px;background:linear-gradient(180deg,#fffdfa 0%,#fff7f2 100%);border:1px solid rgba(245,158,11,.18)}
.profile-achievements-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.profile-achievements-title{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:900;color:#7c2d12}
.profile-achievements-title svg{width:18px;height:18px;stroke-width:2.2;color:#f59e0b}
.profile-achievements lottie-player{width:62px;height:62px}
.profile-achievement-list{display:flex;flex-direction:column;gap:10px}
.profile-achievement-item{padding:12px 13px;border-radius:18px;background:rgba(255,255,255,.84);border:1px solid rgba(251,191,36,.22);box-shadow:0 8px 18px rgba(15,23,42,.04)}
.profile-achievement-kicker{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#b45309}
.profile-achievement-main{margin-top:4px;font-size:15px;font-weight:900;color:#111827}
.profile-achievement-sub{margin-top:3px;font-size:12px;color:#6b7280;font-weight:700}
.profile-skeleton-card{padding:18px;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid rgba(226,232,240,.92);box-shadow:0 18px 40px rgba(15,23,42,.06)}
.profile-skeleton-top{display:flex;flex-direction:column;align-items:center}
.profile-skeleton-avatar{width:92px;height:92px;border-radius:999px;background:linear-gradient(90deg,#ececec 25%,#f5f5f5 37%,#ececec 63%);background-size:400% 100%;animation:shine 1.2s ease infinite;margin-bottom:14px}
.profile-skeleton-pill{width:108px;height:22px;border-radius:999px;background:linear-gradient(90deg,#ececec 25%,#f5f5f5 37%,#ececec 63%);background-size:400% 100%;animation:shine 1.2s ease infinite}
.profile-skeleton-line{height:14px;border-radius:999px;background:linear-gradient(90deg,#ececec 25%,#f5f5f5 37%,#ececec 63%);background-size:400% 100%;animation:shine 1.2s ease infinite}
.profile-skeleton-name{width:58%;margin:16px auto 8px}
.profile-skeleton-sub{width:42%;margin:0 auto 18px}
.profile-skeleton-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.profile-skeleton-box{height:70px;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);border:1px solid rgba(226,232,240,.92);padding:12px}
.profile-skeleton-box .profile-skeleton-line:first-child{width:42%;height:10px}
.profile-skeleton-box .profile-skeleton-line:last-child{width:74%;height:14px;margin-top:10px}
.profile-skeleton-note{height:84px;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);border:1px solid rgba(226,232,240,.92);padding:14px;margin-top:12px}
.profile-skeleton-note .profile-skeleton-line:first-child{width:34%;height:10px}
.profile-skeleton-note .profile-skeleton-line:last-child{width:86%;height:14px;margin-top:12px}
.profile-actions{display:flex;justify-content:center;margin-top:16px}
.profile-logout-btn{display:inline-flex;align-items:center;gap:8px;border:none;border-radius:999px;padding:12px 18px;background:#0f172a;color:#fff;font-size:13px;font-weight:800;box-shadow:0 12px 24px rgba(15,23,42,.18)}
.profile-logout-btn svg{width:16px;height:16px;stroke-width:2.2}
.profile-empty{padding:28px 18px;text-align:center;color:#64748b}
@media (max-width:520px){.profile-stats,.profile-skeleton-grid{grid-template-columns:1fr}.profile-name{font-size:22px}.profile-avatar{width:92px;height:92px}.profile-achievements-head{align-items:flex-start}.profile-achievements lottie-player{width:54px;height:54px}}
.hero-strip{padding:16px 16px 14px;border-radius:24px;background:linear-gradient(135deg,rgba(79,70,229,.96) 0%, rgba(99,102,241,.94) 100%);color:#fff;border:none;box-shadow:0 22px 42px rgba(79,70,229,.18)}
.hero-top{font-size:11px;font-weight:800;opacity:.88;letter-spacing:.03em;text-transform:uppercase}
.hero-title{font-size:22px;font-weight:900;letter-spacing:-.04em;line-height:1.08;margin-top:4px}
.hero-sub{font-size:13px;opacity:.92;margin-top:7px;line-height:1.5}
.hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.hero-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.16);font-size:11px;font-weight:800}
.hero-chip svg{width:14px;height:14px;stroke-width:2.1}
.activity-ticker{border-radius:18px}
.support-availability{padding:12px 12px 10px;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid rgba(226,232,240,.92);box-shadow:0 10px 22px rgba(15,23,42,.05)}
.support-availability-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.support-availability-topline{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.support-availability-title{font-size:15px;font-weight:900;color:#0f172a;line-height:1.25;margin-top:3px}
.support-availability-day{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:800;white-space:nowrap}
.support-team-list{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:10px;overflow-x:auto;padding-bottom:2px}
.support-member{display:grid;grid-template-columns:50px minmax(0,1fr);gap:10px;padding:10px;border-radius:18px;border:1.5px solid #dbe3ee;background:linear-gradient(180deg,#f6f8fb 0%,#eef2f7 100%);box-shadow:0 8px 18px rgba(15,23,42,.04);width:100%;text-align:left;cursor:pointer}
.support-member.available,.support-member.off,.support-member.leave{background:linear-gradient(180deg,#f6f8fb 0%,#eef2f7 100%);border-color:#d6dde7}
.support-member-side{display:flex;flex-direction:column;align-items:center;gap:10px}
.support-member-thumb{width:38px;height:38px;border-radius:999px;overflow:hidden;flex:0 0 38px;background:linear-gradient(180deg,#e2e8f0 0%,#cbd5e1 100%);display:flex;align-items:center;justify-content:center;color:#475569;font-size:10px;font-weight:900;border:2px solid #cbd5e1;outline:0 solid transparent;outline-offset:1px;box-shadow:none}
.support-member.available .support-member-thumb{border-color:#22c55e;outline:1px solid rgba(34,197,94,.55)}
.support-member.off .support-member-thumb{border-color:#cbd5e1}
.support-member.leave .support-member-thumb{border-color:#cbd5e1}
.support-member-thumb img{width:100%;height:100%;object-fit:cover}
.support-member-main{min-width:0}
.support-member-title{font-size:14px;font-weight:900;color:#0f172a;line-height:1.15}
.support-member-role{font-size:11px;color:#64748b;line-height:1.35;margin-top:4px}
.support-member-call{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;border:1px solid rgba(59,130,246,.16);background:#2563eb;color:#fff;box-shadow:0 8px 14px rgba(37,99,235,.14)}
.support-member-call.off{background:#d7dee7;color:#64748b;box-shadow:none;border-color:#d7dee7}
.support-member-call.leave{background:#d7dee7;color:#64748b;box-shadow:none;border-color:#d7dee7}
.support-member-call svg{width:13px;height:13px;stroke-width:2.2}
.support-member-note{font-size:11px;color:#64748b;margin-top:8px;font-weight:800;letter-spacing:.02em}
.new-team-card{padding:12px 12px 10px;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid rgba(226,232,240,.92);box-shadow:0 10px 22px rgba(15,23,42,.05);overflow:hidden}
.new-team-topline{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.new-team-title{font-size:18px;font-weight:900;color:#0f172a;line-height:1.2;margin-top:4px}
.new-team-strip{display:flex;align-items:flex-end;gap:8px;margin-top:14px;overflow-x:auto;padding:10px 2px 4px;scrollbar-width:none}
.new-team-strip::-webkit-scrollbar{display:none}
.new-team-item{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:40px;flex:0 0 auto;padding:2px 0;border:none;background:transparent;border-radius:18px;transition:transform .18s ease, opacity .18s ease}
.new-team-item.active{transform:translateY(-2px)}
.new-team-avatar{width:26px;height:26px;border-radius:999px;overflow:hidden;background:linear-gradient(180deg,#e2e8f0 0%,#cbd5e1 100%);display:flex;align-items:center;justify-content:center;color:#475569;font-size:8px;font-weight:900;box-shadow:0 4px 10px rgba(15,23,42,.08);transition:transform .22s ease, box-shadow .22s ease, width .22s ease, height .22s ease, border-radius .22s ease}
.new-team-item.active .new-team-avatar{width:42px;height:42px;border-radius:14px;box-shadow:0 12px 20px rgba(15,23,42,.14)}
.new-team-avatar img{width:100%;height:100%;object-fit:cover}
.new-team-code{font-size:7px;font-weight:900;color:#0f172a;line-height:1.05;text-align:center;word-break:break-word;max-width:52px;opacity:.54;transition:opacity .22s ease, transform .22s ease, font-size .22s ease}
.new-team-item.active .new-team-code{opacity:1;font-size:8px;transform:translateY(1px)}
.new-team-empty{margin-top:12px;font-size:12px;color:#94a3b8}
.meta-pill-wrap{display:flex;justify-content:center;padding:6px 0 0}
.meta-pill{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center;font-size:11px;font-weight:800;color:#64748B;background:rgba(255,255,255,.9);border:1px solid #E7ECF3;border-radius:999px;padding:8px 12px;box-shadow:0 8px 20px rgba(15,23,42,.05)}
.meta-pill strong{color:#0F172A}
.meta-sep{opacity:.45}
.footer{font-size:11px;color:#94A3B8;padding-top:8px}
.bottom-nav{border-radius:24px}
.bottom-btn{border-radius:16px;min-height:54px}
.bottom-btn-icon svg{width:18px;height:18px;stroke-width:2.1}
@media (max-width:900px){.support-team-list{grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}}
@media (max-width:680px){.topbar{min-height:52px}.topbar-title{font-size:15px}.topbar-sub{display:block;font-size:9.5px;line-height:1.1;max-width:42vw}.hero-title{font-size:19px}.hero-sub{font-size:12px;line-height:1.4}.support-availability-head{flex-direction:column;margin-bottom:8px}.support-team-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.support-member{grid-template-columns:1fr;gap:6px;padding:8px 6px;border-radius:13px}.support-member-side{gap:6px}.support-member-thumb{width:32px;height:32px;border-radius:999px;font-size:9px}.support-member-call{width:26px;height:26px;border-radius:999px}.support-member-call svg{width:11px;height:11px}.support-member-main{text-align:center}.support-member-title{font-size:11px;line-height:1.15}.support-member-role{font-size:9px;line-height:1.2;margin-top:2px}.support-member-note{font-size:8px;margin-top:5px;line-height:1.15}.new-team-card{padding:11px 11px 8px}.new-team-title{font-size:16px}.new-team-strip{gap:6px;padding-top:8px;margin-top:10px}.new-team-item{min-width:30px}.new-team-avatar{width:20px;height:20px;font-size:7px}.new-team-item.active .new-team-avatar{width:36px;height:36px;border-radius:12px}.new-team-code{font-size:6px;max-width:40px}.phone-search-card{padding:11px 12px}.phone-search-title{font-size:18px}.phone-search-subtitle{font-size:11px}.phone-card{padding:10px 11px;border-radius:16px;margin-bottom:8px}.avatar{width:50px;height:50px;flex-basis:50px}.phone-code{font-size:14px}.phone-name,.phone-number{font-size:12px}.action-icon{width:38px;height:38px;border-radius:12px}.bottom-nav{left:10px;right:10px;bottom:max(10px, env(safe-area-inset-bottom));padding:6px 5px}.bottom-btn{min-height:50px}.bottom-btn-icon{font-size:18px}.bottom-btn-text{font-size:10px}}
.loader-mark{
  width:116px;
  height:116px;
  margin:0 auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:transparent;
  box-shadow:none;
}

.loader-mark img{
  width:92px;
  height:92px;
  object-fit:contain;
  display:block;
}

body.crew-auth-locked .topbar-shell,
body.crew-auth-locked .header-search-sheet,
body.crew-auth-locked .app-shell,
body.crew-auth-locked .bottom-nav,
body.crew-auth-locked .more-menu,
body.crew-auth-locked .side-menu,
body.crew-auth-locked .side-menu-overlay {
  pointer-events: none;
  user-select: none;
}

.crew-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(248,250,252,0.04);
}

.crew-auth-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(200,16,46,0.1), transparent 36%),
    rgba(15,23,42,0.05);
}

.crew-auth-card {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: min(100%, 420px);
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.68) 100%);
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 24px 60px rgba(15,23,42,0.14);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
}

.crew-auth-card.compact {
  width: min(100%, 340px);
  padding: 20px 18px;
  border-radius: 24px;
}

.crew-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.crew-auth-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 8px;
}

.crew-auth-sub {
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 18px;
}

.crew-auth-note {
  margin-top: 14px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

.crew-auth-help {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(203,213,225,0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  font-size: 12px;
  line-height: 1.55;
  color: #334155;
}

.crew-auth-help strong {
  color: #0f172a;
}

.crew-auth-welcome {
  margin-top: 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.8);
  border: 1px solid #dbe5ef;
  font-size: 13px;
  color: #1e293b;
}

.crew-auth-install-card {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.82) 100%);
  border: 1px solid rgba(219,229,239,0.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.crew-auth-install-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(200,16,46,0.08);
}

.crew-auth-install-copy {
  min-width: 0;
}

.crew-auth-install-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.crew-auth-install-text {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.pill.soft.install {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
}

.crew-pin-slots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.crew-pin-slot {
  width: 52px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid #cbd5e1;
  background: rgba(255,255,255,0.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
}

.crew-auth-card .touch-input {
  min-height: 50px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: inset 0 1px 2px rgba(15,23,42,0.05);
}

.crew-auth-card .touch-input::placeholder {
  color: #64748b;
}

.crew-auth-card .touch-input:focus {
  border-color: rgba(200,16,46,0.55);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.12), inset 0 1px 2px rgba(15,23,42,0.05);
}

.crew-pin-hidden-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.crew-auth-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.crew-auth-actions.compact {
  margin-top: 14px;
}

.crew-auth-actions.stack {
  flex-direction: column;
}

.crew-auth-actions .pill {
  flex: 1;
}

.crew-auth-btn-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.crew-auth-btn-loading i {
  width: 15px;
  height: 15px;
  animation: crewSpin 1s linear infinite;
}

.crew-auth-btn-loading svg {
  width: 15px;
  height: 15px;
  animation: crewSpin 1s linear infinite;
}

.crew-auth-msg {
  min-height: 18px;
  margin-top: 12px;
  font-size: 12px;
  color: #b91c1c;
  text-align: center;
}

@keyframes crewSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 520px) {
  .crew-auth-card {
    width: min(100%, 360px);
    padding: 18px;
    border-radius: 24px;
  }

  .crew-auth-card.compact {
    width: min(100%, 300px);
    padding: 16px;
  }

  .crew-auth-title {
    font-size: 21px;
  }

  .crew-auth-sub,
  .crew-auth-help,
  .crew-auth-note {
    font-size: 11px;
  }

  .crew-pin-slots {
    gap: 8px;
  }

  .crew-pin-slot {
    width: 44px;
    height: 50px;
    border-radius: 15px;
    font-size: 24px;
  }

  .crew-auth-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .crew-auth-actions .pill {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
  }
}
