.tip-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background:
    radial-gradient(ellipse at top, rgba(188, 255, 47, 0.08), transparent 55%),
    #000;
}

.tip-card {
  width: min(520px, 100%);
  padding: 32px 28px;
  border-radius: 24px;
  background: #1d1d1d;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tip-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.tip-badge[data-state='high'] {
  background: rgba(188, 255, 47, 0.15);
  color: #bcff2f;
}

.tip-badge[data-state='low'] {
  background: rgba(255, 255, 255, 0.08);
  color: #b3b3b3;
}

.tip-card h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
}

.tip-lead {
  margin: 0 0 28px;
  color: #b3b3b3;
  font-size: 15px;
  line-height: 1.6;
}

.tip-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tip-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.tip-list .label {
  color: #8c8c8c;
}

.tip-list .value {
  color: #fff;
  word-break: break-all;
}

.tip-ua {
  font-size: 12px;
  line-height: 1.5;
  color: #b3b3b3 !important;
}

.tip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
}

.tip-btn-primary {
  background: #133f06;
  color: #bcff2f;
}

.tip-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.tip-btn:hover {
  filter: brightness(1.1);
}

.tip-btn-block {
  width: 100%;
}

/* Safari 拦截页 */
.safari-gate-body {
  background: #000;
}

.safari-card {
  width: min(440px, 100%);
}

.safari-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.safari-card .tip-lead strong {
  color: #bcff2f;
  font-weight: 500;
}

.safari-meta {
  margin: 0 0 20px;
  padding: 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.safari-meta-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
}

.safari-meta-row + .safari-meta-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.safari-meta-row .label {
  color: #8c8c8c;
}

.safari-meta-row .value {
  color: #fff;
  word-break: break-all;
}

.safari-url-box {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.safari-url-label {
  margin: 0 0 8px;
  color: #8c8c8c;
  font-size: 12px;
}

.safari-url-text {
  margin: 0;
  color: #bcff2f;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
}

.safari-actions {
  margin-bottom: 24px;
}

.safari-steps {
  margin: 0;
  padding: 0 0 0 18px;
  color: #b3b3b3;
  font-size: 14px;
  line-height: 1.7;
}

.safari-steps li + li {
  margin-top: 6px;
}

.safari-steps strong {
  color: #fff;
  font-weight: 500;
}

.safari-toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(29, 29, 29, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

.safari-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
