/* Claude 检测页 — ip2share L6 绿白主题 */
.l6-claude-check .cc-main {
  position: relative;
  z-index: 1;
}

.cc-hero-kicker {
  color: var(--l6-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cc-panel {
  max-width: 520px;
  background: var(--l6-surface);
  border: 1px solid var(--l6-border);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.cc-panel__gauge-wrap {
  display: flex;
  justify-content: center;
}

.cc-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.cc-gauge__ring {
  position: relative;
  width: 168px;
  height: 168px;
  margin-bottom: 1rem;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  max-height: 168px;
  overflow: hidden;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    max-height 0.45s ease,
    margin 0.45s ease,
    visibility 0s linear 0s;
}

.cc-gauge--idle .cc-gauge__ring {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.88);
  max-height: 0;
  margin-bottom: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    max-height 0.35s ease,
    margin 0.35s ease,
    visibility 0s linear 0.35s;
}

.cc-gauge--revealing .cc-gauge__ring {
  transition-delay: 0.05s;
}

.cc-gauge__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cc-gauge__track {
  fill: none;
  stroke: var(--l6-bg-subtle);
  stroke-width: 8;
}

.cc-gauge__progress {
  fill: none;
  stroke: var(--l6-accent);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s ease, stroke 0.25s ease;
}

#cc-score-gauge[data-band="medium"] .cc-gauge__progress {
  stroke: #d4a017;
}

#cc-score-gauge[data-band="high"] .cc-gauge__progress {
  stroke: #d64545;
}

#cc-score-gauge[data-scanning="true"] .cc-gauge__progress {
  animation: cc-ring-pulse 1.2s ease-in-out infinite;
}

@keyframes cc-ring-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.cc-gauge__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cc-gauge__num {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--l6-text);
}

.cc-gauge__outof {
  font-size: 0.875rem;
  color: var(--l6-text-subtle);
  margin-top: 0.15rem;
}

.cc-risk-badge {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--l6-accent-soft);
  color: var(--l6-accent-hover);
  margin-bottom: 0.5rem;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  height: auto;
  min-height: 0;
  max-height: 3rem;
  overflow: hidden;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    height 0.45s ease,
    max-height 0.45s ease,
    margin 0.45s ease,
    padding 0.45s ease,
    line-height 0.45s ease,
    visibility 0s linear 0s;
}

.cc-gauge--idle .cc-risk-badge {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  height: 0;
  min-height: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    height 0.35s ease,
    max-height 0.35s ease,
    margin 0.35s ease,
    padding 0.35s ease,
    line-height 0.35s ease,
    visibility 0s linear 0.35s;
}

.cc-gauge--revealing .cc-risk-badge {
  transition-delay: 0.18s;
}

.cc-risk-badge[data-band="medium"] {
  background: rgba(212, 160, 23, 0.12);
  color: #9a7209;
}

.cc-risk-badge[data-band="high"] {
  background: rgba(214, 69, 69, 0.1);
  color: #b91c1c;
}

.cc-risk-desc {
  font-size: 0.9375rem;
  color: var(--l6-text-muted);
  min-height: 0;
  margin: 0;
  overflow: hidden;
  transition:
    min-height 0.35s ease,
    margin 0.35s ease,
    opacity 0.35s ease;
}

.cc-gauge:not(.cc-gauge--idle) .cc-risk-desc {
  min-height: 1.4rem;
  margin-bottom: 1.25rem;
  opacity: 1;
  visibility: visible;
  height: auto;
  line-height: 1.5;
  pointer-events: auto;
}

.cc-gauge--idle .cc-risk-desc {
  opacity: 0;
  visibility: hidden;
  height: 0;
  min-height: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  pointer-events: none;
}

.cc-gauge--revealing .cc-risk-desc {
  transition-delay: 0.28s;
}

.cc-scan-btn {
  min-width: 10rem;
  border-radius: 999px !important;
}

.cc-trust {
  gap: 0.5rem 1rem !important;
  font-size: 0.8125rem;
  color: var(--l6-text-subtle);
}

.cc-result {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--l6-border);
}

.cc-result__title {
  color: var(--l6-text);
}

.cc-hit-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  border: 1px solid var(--l6-border);
  background: var(--l6-bg);
}

.cc-hit-chip[data-verdict="medium"] {
  border-color: rgba(212, 160, 23, 0.35);
  background: rgba(212, 160, 23, 0.08);
}

.cc-hit-chip[data-verdict="high"] {
  border-color: rgba(214, 69, 69, 0.35);
  background: rgba(214, 69, 69, 0.08);
}

.cc-hit-chip b {
  font-weight: 700;
}

/* 信号列表区块与主面板间距 */
#cc-signals {
  margin-top: 4rem;
}

/* 信号列表 */
.cc-scan-list {
  max-width: 920px;
  margin: 0 auto;
}

.cc-scan-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--l6-border);
  border-radius: 0.85rem;
  background: var(--l6-surface);
  margin-bottom: 0.65rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cc-scan-row--active {
  border-color: rgba(36, 177, 72, 0.45);
  box-shadow: 0 0 0 3px rgba(36, 177, 72, 0.08);
}

.cc-scan-row--done[data-verdict="medium"] {
  border-color: rgba(212, 160, 23, 0.35);
}

.cc-scan-row--done[data-verdict="high"] {
  border-color: rgba(214, 69, 69, 0.35);
}

.cc-scan-row__icon {
  font-size: 1.35rem;
  line-height: 1;
  padding-top: 0.1rem;
}

.cc-scan-row__name {
  display: block;
  font-weight: 600;
  color: var(--l6-text);
  margin-bottom: 0.25rem;
}

.cc-scan-row__desc {
  display: block;
  font-size: 0.875rem;
  color: var(--l6-text-muted);
  line-height: 1.55;
}

.cc-weight-badge,
.cc-claude-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.25rem;
}

.cc-weight-badge {
  background: var(--l6-bg-subtle);
  color: var(--l6-text-subtle);
}

.cc-claude-badge {
  background: var(--l6-accent-soft);
  color: var(--l6-accent-hover);
}

.cc-scan-row__status {
  text-align: right;
  min-width: 5.5rem;
  font-size: 0.8125rem;
}

.cc-scan-row__value {
  display: block;
  color: var(--l6-text-muted);
  word-break: break-all;
  max-width: 11rem;
  margin-left: auto;
}

.cc-scan-row__contrib {
  display: block;
  font-weight: 700;
  color: var(--l6-accent-hover);
}

.cc-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--l6-border);
  margin-top: 0.35rem;
}

.cc-dot--medium { background: #d4a017; }
.cc-dot--high { background: #d64545; }

/* FAQ */
.cc-faq {
  max-width: 720px;
}

.cc-faq-item {
  border: 1px solid var(--l6-border);
  border-radius: 0.75rem;
  background: var(--l6-surface);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
}

.cc-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--l6-text);
}

.cc-faq-item p {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--l6-text-muted);
  line-height: 1.65;
}

/* 隐私 */
.cc-privacy {
  max-width: 720px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(36, 177, 72, 0.22);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(36, 177, 72, 0.06) 0%, #fff 100%);
}

.cc-privacy__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.cc-attribution a {
  color: var(--l6-accent);
}

@media (max-width: 576px) {
  .cc-scan-row {
    grid-template-columns: auto 1fr;
  }

  .cc-scan-row__status {
    grid-column: 2;
    text-align: left;
    min-width: 0;
  }

  .cc-scan-row__value {
    max-width: none;
    margin-left: 0;
  }

  .cc-panel {
    padding: 1.5rem 1.15rem;
  }
}
