/* 安全中心 · 蓝色主题（与邀请/详情页一致 #1d84ff） */

.sc-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  background: #eef2f8;
}

.sc-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(48px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, #1565cc 0%, #1d84ff 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(13, 58, 110, 0.12);
}

.sc-nav-back {
  position: absolute;
  left: 8px;
  top: calc(env(safe-area-inset-top, 0px));
  width: 44px;
  height: 48px;
  line-height: 46px;
  text-align: center;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.sc-nav-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sc-skeleton {
  padding: 14px;
}

.sc-hero {
  position: relative;
  margin: 14px 14px 12px;
  padding: 18px 16px 20px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  background:
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 10px
    ),
    radial-gradient(ellipse 80% 90% at 100% 50%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(125deg, #0d5fcc 0%, #1d84ff 55%, #4da3ff 100%);
  box-shadow: 0 8px 24px rgba(29, 132, 255, 0.28);
}

.sc-hero-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.sc-hero-title {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  max-width: 78%;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.sc-hero-sub {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  max-width: 82%;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.sc-hero-deco {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
  user-select: none;
}

.sc-card {
  margin: 0 14px 12px;
  padding: 16px 14px 6px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(13, 58, 110, 0.06);
}

.sc-card--compact {
  padding-top: 6px;
}

.sc-card-hd h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a2a3a;
}

.sc-card-hd p {
  margin: 4px 0 12px;
  font-size: 12px;
  color: #8a96a8;
}

.sc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sc-list li + li .sc-row {
  border-top: 1px solid #f0f3f8;
}

.sc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 2px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sc-row--plain {
  padding: 13px 2px;
}

.sc-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.sc-ico--primary {
  background: linear-gradient(145deg, #1d84ff 0%, #1565cc 100%);
  box-shadow: 0 4px 12px rgba(29, 132, 255, 0.28);
}

.sc-ico--soft {
  background: #eef5ff;
  color: #1d84ff;
  font-weight: 700;
}

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

.sc-row-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1a2a3a;
}

.sc-row-desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: #8a96a8;
}

.sc-chevron {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  color: #c5ceda;
}

.sc-logout-wrap {
  margin: 8px 14px 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.sc-logout {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #1565cc 0%, #1d84ff 100%);
  box-shadow: 0 6px 20px rgba(29, 132, 255, 0.28);
  cursor: pointer;
}

.sc-logout:active {
  opacity: 0.92;
}
