/* Shared platform checker UI (ig / tt / tw prefixes) */
.platform-checker-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.pc-input-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
}

.pc-input-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.pc-check-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary, #6c63ff), var(--primary-dark, #564fcc));
}

.pc-check-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.pc-loading {
  text-align: center;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.pc-progress-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.75rem;
}

.pc-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary, #6c63ff), var(--primary-light, #a29bfe));
  border-radius: 999px;
  transition: width 0.35s ease;
}

.pc-loading-text {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.pc-score-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border, #e2e8f0);
  margin-bottom: 1rem;
  text-align: center;
}

.pc-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
}

.pc-ring-wrap svg {
  transform: rotate(-90deg);
}

.pc-ring-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 10;
}

.pc-ring-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1s ease, stroke 0.3s ease;
}

.pc-score-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
}

.pc-result-status {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.pc-result-message {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.pc-pills {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
  margin-bottom: 1.25rem;
}

.ig-check-pill,
.tt-check-pill,
.tw-check-pill {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.pill-pending {
  background: #f1f5f9;
  color: #64748b;
}

.pill-ok {
  background: #d1fae5;
  color: #065f46;
}

.pill-warn {
  background: #fef3c7;
  color: #92400e;
}

.pill-ban {
  background: #fee2e2;
  color: #991b1b;
}

.pc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.pc-metric {
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.65rem;
  font-size: 0.75rem;
  color: #64748b;
}

.pc-metric strong {
  display: block;
  font-size: 1.1rem;
  color: #1e293b;
  margin-top: 0.2rem;
}

.pc-tips-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--border, #e2e8f0);
  margin-bottom: 1rem;
}

.pc-tips-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: #1e293b;
}

.ig-tip-item,
.tt-tip-item,
.tw-tip-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #334155;
}

.ig-tip-item:last-child,
.tt-tip-item:last-child,
.tw-tip-item:last-child {
  border-bottom: none;
}

.ig-tip-num,
.tt-tip-num,
.tw-tip-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--primary-transparent, rgba(108, 99, 255, 0.15));
  color: var(--primary, #6c63ff);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}