.pc-page {
  overflow-x: clip;
  padding-bottom: 4rem;
}

.pc-page [hidden] {
  display: none !important;
}

.pc-hero {
  padding-top: 7.5rem;
  padding-bottom: 1.5rem;
}

.pc-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

.pc-crumb li:not(:last-child)::after {
  content: ">";
  margin-left: 0.45rem;
}

.pc-crumb a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pc-hero h1 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.pc-h1-name {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
}

.pc-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.pc-panel {
  border-radius: 1.5rem;
  border: 2px solid var(--foreground);
  background: var(--card);
  padding: 1.35rem 1.15rem 1.5rem;
  box-shadow: 4px 4px 0 0 var(--foreground);
}

.pc-panel h2,
.pc-seo h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
}

.pc-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
}

.pc-privacy {
  margin: 0.7rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

.pc-text {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 14rem;
  margin-top: 0.85rem;
  border-radius: 1rem;
  border: 2px solid var(--foreground);
  background: var(--background);
  padding: 0.9rem 1rem;
  font-size: 1rem;
  line-height: 1.75;
  resize: vertical;
}

.pc-text:focus {
  outline: 3px solid color-mix(in oklch, var(--pop) 70%, var(--foreground));
  outline-offset: 2px;
}

.pc-output {
  min-height: 10rem;
  resize: vertical;
}

.pc-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.pc-detect {
  margin-top: 1.35rem;
}

.pc-verdict {
  margin: 0;
  border-radius: 1rem;
  border: 2px solid var(--foreground);
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.6;
}

.pc-verdict.is-warn {
  background: color-mix(in oklch, var(--pop-3) 45%, var(--card));
}

.pc-verdict.is-ok {
  background: color-mix(in oklch, var(--pop) 42%, var(--card));
}

.pc-findings,
.pc-ref-list,
.pc-stats,
.pc-samples {
  display: grid;
  gap: 0.75rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.pc-findings li,
.pc-ref-list li {
  border-radius: 1rem;
  border: 2px solid var(--foreground);
  background: var(--background);
  padding: 0.85rem 0.95rem;
}

.pc-name {
  margin: 0;
  font-weight: 700;
}

.pc-meta,
.pc-desc,
.pc-more {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--muted);
}

.pc-mark {
  display: inline;
  margin: 0 0.12em;
  padding: 0.05em 0.4em;
  border-radius: 0.35em;
  background: color-mix(in oklch, var(--pop-3) 55%, var(--card));
  color: var(--foreground);
  font-weight: 700;
}

.pc-snippets {
  display: grid;
  gap: 0.4rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.pc-snippets li {
  margin: 0;
  border: 0;
  border-radius: 0.7rem;
  background: var(--secondary);
  padding: 0.45rem 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.pc-ref {
  margin-top: 0.85rem;
  border-radius: 1rem;
  border: 2px solid var(--foreground);
  background: var(--background);
  padding: 0.35rem 0.9rem 0.85rem;
}

.pc-ref summary {
  cursor: pointer;
  padding: 0.55rem 0;
  font-weight: 700;
}

.pc-options {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.pc-options-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.pc-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-height: 3rem;
  border-radius: 1rem;
  border: 2px solid var(--foreground);
  background: var(--background);
  padding: 0.8rem 0.9rem;
  cursor: pointer;
}

.pc-option input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pc-option-title {
  display: block;
  font-weight: 700;
  line-height: 1.5;
}

.pc-option-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}

.pc-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.pc-actions .btn-pop,
.pc-actions .btn-ghost,
.pc-copy {
  min-height: 3rem;
  width: 100%;
}

.pc-actions .btn-pop:disabled,
.pc-actions .btn-pop:disabled:hover {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: 4px 4px 0 0 var(--foreground);
}

.pc-output-wrap {
  margin-top: 1.5rem;
  scroll-margin-top: 5.5rem;
}

.pc-output-wrap h2 {
  font-size: 1.15rem;
}

.pc-samples li {
  border-radius: 1rem;
  border: 2px dashed var(--foreground);
  background: var(--background);
  padding: 0.75rem 0.9rem;
}

.pc-samples p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
  font-size: 0.875rem;
}

.pc-samples p + p {
  margin-top: 0.35rem;
  font-weight: 700;
}

.pc-stats {
  margin-top: 0.85rem;
}

.pc-stats li {
  font-weight: 700;
}

.pc-copy {
  margin-top: 0.85rem;
}

.pc-copy-msg {
  min-height: 1.4rem;
  margin: 0.55rem 0 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.pc-error {
  margin: 0.9rem 0 0;
  border-radius: 0.9rem;
  background: color-mix(in oklch, var(--pop-3) 35%, var(--card));
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.pc-ad {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 0;
  border: 1px dashed color-mix(in oklch, var(--foreground) 35%, transparent);
  border-radius: 0.9rem;
  background: color-mix(in oklch, var(--secondary) 80%, var(--card));
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.pc-seo {
  margin-top: 2.5rem;
}

.pc-seo h2 {
  margin-top: 2.25rem;
}

.pc-seo h2:first-child {
  margin-top: 0;
}

.pc-example {
  margin-top: 1rem;
  border-radius: 1rem;
  border: 2px solid var(--foreground);
  background: var(--card);
  padding: 0.95rem 1.05rem 1.05rem;
}

.pc-example-label {
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
}

.pc-example-label:first-child {
  margin-top: 0;
}

.pc-example-text {
  margin: 0.25rem 0 0;
  line-height: 1.75;
}

.pc-seo .faq-list {
  margin-top: 1rem;
}

.pc-seo p,
.pc-seo li {
  margin-top: 0.85rem;
  line-height: 1.85;
}

.pc-seo ul,
.pc-seo ol {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

@media (min-width: 720px) {
  .pc-panel {
    padding: 1.75rem 1.75rem 1.85rem;
  }

  .pc-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .pc-actions .btn-pop,
  .pc-actions .btn-ghost,
  .pc-copy {
    width: auto;
    min-width: 11rem;
  }
}
