/* AI Detector page surface. Scoped to this tool so global layout stays intact. */

.ai-detector-theme {
  --detector-bg: #0a0f2c;
  --detector-panel: rgba(15, 21, 52, 0.88);
  --detector-panel-strong: rgba(15, 21, 52, 0.96);
  --detector-border: rgba(255, 255, 255, 0.13);
  --detector-border-strong: rgba(108, 140, 255, 0.58);
  --detector-text: #f8fbff;
  --detector-muted: #aeb8d3;
  --detector-blue: #3a5afe;
  --detector-purple: #6c8cff;
  --detector-green: #36d399;
  --detector-red: #ff4d6d;
  background: var(--body-bg-gradient);
}

.ai-detector-theme .ai-detector-page {
  background:
    radial-gradient(circle at top right, rgba(58, 90, 254, 0.3), transparent 34rem),
    radial-gradient(circle at 0% 42%, rgba(108, 140, 255, 0.14), transparent 28rem),
    var(--body-bg-gradient);
  color: var(--detector-text);
  padding: 2.3rem 0 1.3rem;
}

.ai-detector-theme .ai-detector-page .tool-layout-container {
  max-width: 1380px;
}

.ai-detector-theme .detector-page-shell {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.ai-detector-theme .detector-hero {
  max-width: 1180px;
  margin: 0 auto 1.2rem;
  padding: 0;
  text-align: center;
}

.ai-detector-theme .detector-hero-kicker,
.ai-detector-theme .detector-hero-support {
  display: none;
}

.ai-detector-theme .detector-hero-title {
  max-width: 980px;
  margin: 0 auto 0.65rem;
  color: #fff;
  font-size: clamp(2.25rem, 4.2vw, 3.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.ai-detector-theme .detector-hero-title span {
  background: var(--hero-heading-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-detector-theme .detector-hero-description {
  max-width: 690px;
  margin: 0 auto;
  color: var(--detector-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.ai-detector-theme .detector-tier-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
  margin: 1.65rem auto 1.15rem;
}

.ai-detector-theme .detector-tier-pill {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.45rem;
  border: 1px solid var(--detector-border);
  border-radius: 14px;
  background: var(--detector-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ai-detector-theme .detector-tier-pill.is-active {
  border-color: var(--detector-border-strong);
  box-shadow:
    0 0 0 1px rgba(126, 105, 255, 0.28),
    0 0 28px rgba(108, 75, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ai-detector-theme .detector-tier-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  font-size: 1.45rem;
  background: var(--primary-gradient);
  box-shadow: 0 14px 28px rgba(58, 90, 254, 0.24);
}

.ai-detector-theme .detector-tier-pill:not(.is-active) .detector-tier-icon {
  background: rgba(47, 74, 115, 0.68);
  color: #dbe7ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ai-detector-theme .detector-tier-copy {
  text-align: left;
}

.ai-detector-theme .detector-tier-copy strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.25;
}

.ai-detector-theme .detector-tier-copy span {
  display: block;
  margin-top: 0.45rem;
  color: var(--detector-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.ai-detector-theme .ai-detector-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ai-detector-theme .ai-detector-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.08fr);
  gap: 1.05rem;
}

.ai-detector-theme .detector-surface {
  min-width: 0;
  padding: 1.55rem;
  border: 1px solid var(--detector-border);
  border-radius: 14px;
  background: var(--detector-panel);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ai-detector-theme .detector-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ai-detector-theme .detector-panel-heading label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.ai-detector-theme .detector-panel-heading label i {
  color: #c9d7ff;
  font-size: 1.2rem;
}

.ai-detector-theme .detector-panel-caption {
  margin: 0.55rem 0 0;
  color: var(--detector-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ai-detector-theme .panel-header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.ai-detector-theme .char-counter {
  color: #8f9bb9;
  font-size: 0.9rem;
}

.ai-detector-theme .char-counter.over-limit {
  color: var(--detector-red);
  font-weight: 800;
}

.ai-detector-theme .detector-mode-badge,
.ai-detector-theme .detector-result-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 211, 153, 0.24);
  background: rgba(24, 135, 104, 0.22);
  color: #5df3b3;
  font-size: 0.78rem;
  font-weight: 800;
}

.ai-detector-theme .detector-result-pill {
  border-color: rgba(117, 110, 255, 0.28);
  background: rgba(93, 75, 213, 0.28);
  color: #c6c7ff;
}

.ai-detector-theme .detector-result-pill::after {
  content: "i";
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.68rem;
}

.ai-detector-theme .detector-mode-card {
  display: none;
}

.ai-detector-theme #input_field.tool-textarea {
  width: 100%;
  min-height: 255px;
  resize: vertical;
  padding: 1.45rem;
  border: 1px solid rgba(133, 151, 197, 0.33);
  border-radius: 10px;
  outline: none;
  background: rgba(12, 22, 48, 0.88);
  color: #e8eeff;
  font: inherit;
  font-size: 1rem;
  line-height: 1.65;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ai-detector-theme #input_field.tool-textarea::placeholder {
  color: #8290b0;
}

.ai-detector-theme #input_field.tool-textarea:focus {
  border-color: rgba(116, 121, 255, 0.72);
  box-shadow:
    0 0 0 3px rgba(78, 109, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ai-detector-theme .detector-helper-stack {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.3rem;
}

.ai-detector-theme .detector-helper-copy,
.ai-detector-theme .detector-credit-note {
  position: relative;
  margin: 0;
  padding-left: 2.35rem;
  color: var(--detector-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ai-detector-theme .detector-helper-copy::before,
.ai-detector-theme .detector-credit-note::before {
  position: absolute;
  left: 0.1rem;
  top: 0;
  color: #8da1d8;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.ai-detector-theme .detector-helper-copy::before {
  content: "\f3ed";
}

.ai-detector-theme .detector-credit-note::before {
  content: "\f51e";
}

.ai-detector-theme .detector-limit-notice,
.ai-detector-theme .detector-access-actions {
  margin: 0.9rem 0;
}

.ai-detector-theme .detector-action-block {
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(129, 150, 200, 0.15);
  background: transparent;
}

.ai-detector-theme .detector-turnstile {
  margin-bottom: 0.85rem;
}

.ai-detector-theme .detector-button-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(160px, 0.92fr);
  gap: 0.65rem;
}

.ai-detector-theme .detector-primary-btn,
.ai-detector-theme .detector-secondary-btn {
  min-height: 58px;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 800;
}

.ai-detector-theme .detector-primary-btn {
  border: 0;
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 12px 30px rgba(58, 90, 254, 0.3);
}

.ai-detector-theme .detector-secondary-btn {
  border: 1px solid var(--detector-border);
  background: rgba(var(--primary-color-rgb), 0.05);
  color: var(--detector-text);
}

.ai-detector-theme .detector-primary-btn:hover,
.ai-detector-theme .detector-secondary-btn:hover {
  transform: translateY(-1px);
}

.ai-detector-theme .detector-primary-btn:hover {
  box-shadow: 0 16px 36px rgba(58, 90, 254, 0.38);
}

.ai-detector-theme .detector-secondary-btn:hover {
  border-color: rgba(var(--primary-color-rgb), 0.45);
  background: rgba(var(--primary-color-rgb), 0.12);
}

.ai-detector-theme .detector-pricing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 1rem auto 0;
  color: #6683ff;
  font-weight: 800;
  text-decoration: none;
}

.ai-detector-theme #placeholder-state {
  display: flex;
  min-height: 500px;
}

.ai-detector-theme .detector-empty-state {
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 1px dashed rgba(129, 150, 200, 0.28);
  border-radius: 12px;
  background: rgba(10, 18, 41, 0.45);
  text-align: center;
}

.ai-detector-theme .detector-empty-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(76, 103, 255, 0.16);
  color: #8198ff;
  font-size: 2rem;
}

.ai-detector-theme .detector-empty-state h3 {
  color: #fff;
  margin: 0 0 0.5rem;
}

.ai-detector-theme .detector-empty-state p {
  color: var(--detector-muted);
  margin: 0;
  max-width: 420px;
  line-height: 1.6;
}

.ai-detector-theme .detector-empty-preview {
  width: min(100%, 420px);
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0;
}

.ai-detector-theme .detector-empty-preview > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(129, 150, 200, 0.22);
  border-radius: 9px;
  background: rgba(15, 26, 56, 0.72);
  color: #dce5ff;
}

.ai-detector-theme .detector-empty-note {
  display: inline-flex;
  gap: 0.55rem;
  color: var(--detector-muted);
}

.ai-detector-theme #analysis-state {
  display: none;
}

.ai-detector-theme .analysis-results {
  flex-direction: column;
  gap: 1rem;
}

.ai-detector-theme .verdict-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 100px;
  padding: 1.15rem 1.55rem;
  border: 1px solid rgba(54, 211, 153, 0.82);
  border-radius: 10px;
  background: rgba(4, 69, 71, 0.62);
}

.ai-detector-theme .verdict-banner::after {
  content: "\f00c";
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  color: var(--detector-green);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.35rem;
}

.ai-detector-theme .verdict-icon {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(54, 211, 153, 0.18);
  color: #fff;
  font-size: 1.85rem;
  border: 4px solid rgba(54, 211, 153, 0.85);
  box-shadow: 0 0 24px rgba(54, 211, 153, 0.24);
}

.ai-detector-theme .verdict-text h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.ai-detector-theme .verdict-text p {
  margin: 0.45rem 0 0;
  color: var(--detector-muted);
}

.ai-detector-theme .verdict-ai {
  border-color: rgba(255, 77, 109, 0.75);
  background: rgba(88, 19, 43, 0.58);
}

.ai-detector-theme .verdict-ai .verdict-icon {
  border-color: rgba(255, 77, 109, 0.88);
  background: rgba(255, 77, 109, 0.16);
  box-shadow: 0 0 24px rgba(255, 77, 109, 0.22);
}

.ai-detector-theme .verdict-ai::after {
  content: "\f06a";
  color: var(--detector-red);
}

.ai-detector-theme .verdict-mixed {
  border-color: rgba(245, 158, 11, 0.75);
  background: rgba(92, 62, 8, 0.48);
}

.ai-detector-theme .verdict-mixed .verdict-icon {
  border-color: rgba(245, 158, 11, 0.86);
  background: rgba(245, 158, 11, 0.16);
}

.ai-detector-theme .verdict-mixed::after {
  content: "\f24e";
  color: #fbbf24;
}

.ai-detector-theme .detector-results-overview {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 0.1rem 1rem 0.1rem 1.55rem;
}

.ai-detector-theme .score-container {
  display: flex;
  justify-content: center;
}

.ai-detector-theme .score-circle {
  width: 172px;
  height: 172px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: conic-gradient(var(--detector-green) 22%, #3658ff 22% 78%, #25345f 78%);
}

.ai-detector-theme .score-circle::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--detector-bg);
}

.ai-detector-theme .score-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

.ai-detector-theme #ai-probability-score {
  color: #fff;
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
}

.ai-detector-theme .score-label {
  color: var(--detector-muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.ai-detector-theme .detector-results-copy h3 {
  display: none;
}

.ai-detector-theme .detector-results-copy p {
  margin: 0;
  color: var(--detector-muted);
  line-height: 1.55;
}

.ai-detector-theme .detector-signal-scale {
  display: flex;
  gap: 0.55rem;
  margin: 1rem 0 0.75rem;
}

.ai-detector-theme .detector-signal-scale span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(125, 140, 176, 0.36);
}

.ai-detector-theme .detector-signal-scale span.is-active {
  background: var(--detector-green);
  box-shadow: 0 0 12px rgba(54, 211, 153, 0.8);
}

.ai-detector-theme .detector-signal-caption {
  font-size: 0.9rem;
}

.ai-detector-theme .metrics-list {
  display: grid;
  gap: 0.55rem;
}

.ai-detector-theme .metric-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(129, 150, 200, 0.28);
  border-radius: 9px;
  background: rgba(15, 26, 56, 0.82);
}

.ai-detector-theme .metric-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-weight: 700;
}

.ai-detector-theme .metric-label i {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--detector-green);
  color: #fff;
  font-size: 0.8rem;
}

.ai-detector-theme .metric-item:nth-child(2) .metric-label i {
  background: var(--detector-purple);
}

.ai-detector-theme .metric-value {
  font-size: 1.35rem;
  font-weight: 900;
}

.ai-detector-theme .human-color {
  color: var(--detector-green);
}

.ai-detector-theme .ai-color {
  color: var(--detector-red);
}

.ai-detector-theme .mixed-color {
  color: #fbbf24;
}

.ai-detector-theme .detector-result-meta {
  min-height: 64px;
  padding: 0.8rem 1rem 0.8rem 2.7rem;
  border: 1px solid rgba(129, 150, 200, 0.24);
  border-radius: 9px;
  background: rgba(15, 26, 56, 0.76);
  color: var(--detector-muted);
  line-height: 1.55;
}

.ai-detector-theme .detector-result-meta::before {
  content: "\f05a";
  position: absolute;
  margin-left: -1.65rem;
  color: #496cff;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.ai-detector-theme .post-result-actions {
  display: none;
  padding: 1rem;
  border: 1px solid rgba(129, 150, 200, 0.22);
  border-radius: 9px;
  background: rgba(10, 18, 41, 0.52);
}

.ai-detector-theme .post-result-actions p {
  margin: 0 0 0.75rem;
  color: var(--detector-muted);
}

.ai-detector-theme .detector-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 0.85rem;
  padding: 1.15rem 1.45rem;
  border: 1px solid rgba(129, 150, 200, 0.24);
  border-radius: 12px;
  background: rgba(10, 18, 41, 0.82);
}

.ai-detector-theme .detector-trust-copy {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ai-detector-theme .detector-trust-copy i {
  color: #617bff;
  font-size: 1.75rem;
}

.ai-detector-theme .detector-trust-copy p {
  margin: 0;
  color: var(--detector-muted);
  line-height: 1.45;
}

.ai-detector-theme .detector-trust-strip a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #6f86ff;
  font-weight: 800;
  text-decoration: none;
}

.ai-detector-theme .section {
  max-width: 1200px;
  padding: 4.25rem 2rem;
}

.ai-detector-theme .section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-detector-theme .section .container {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.ai-detector-theme .section .container > p {
  color: var(--dark-text);
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.88;
}

.ai-detector-theme .section .container > h3 {
  margin: 0 0 2.5rem;
  color: var(--dark-text);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.ai-detector-theme .humanizer-features-grid {
  gap: 1.5rem;
  margin: 0 0 0.5rem;
}

.ai-detector-theme .detector-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.ai-detector-theme .humanizer-feature-card,
.ai-detector-theme .faq-item,
.ai-detector-theme .step-item,
.ai-detector-theme .related-tool-card {
  background: var(--tool-card-bg);
  border: 1px solid var(--detector-border);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ai-detector-theme .humanizer-feature-card {
  padding: 1.8rem;
}

.ai-detector-theme .detector-capability-card {
  position: relative;
  padding: 1.65rem 1.55rem 1.5rem;
  text-align: left;
  overflow: hidden;
}

.ai-detector-theme .detector-capability-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0.95;
}

.ai-detector-theme .humanizer-feature-card:hover,
.ai-detector-theme .step-item:hover,
.ai-detector-theme .related-tool-card:hover {
  border-color: rgba(var(--primary-color-rgb), 0.4);
  box-shadow: var(--tool-card-shadow);
}

.ai-detector-theme .humanizer-feature-icon,
.ai-detector-theme .step-number-use,
.ai-detector-theme .related-tool-icon {
  background: var(--primary-gradient);
  box-shadow: 0 8px 22px rgba(58, 90, 254, 0.26);
}

.ai-detector-theme .detector-capability-card .humanizer-feature-icon {
  width: 54px;
  height: 54px;
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    var(--primary-gradient);
}

.ai-detector-theme .detector-capability-card .humanizer-feature-icon i {
  display: block;
  line-height: 1;
}

.ai-detector-theme .humanizer-feature-title,
.ai-detector-theme .related-tool-content h3 a {
  color: var(--dark-text);
}

.ai-detector-theme .detector-capability-card .humanizer-feature-title {
  margin-bottom: 0.7rem;
  font-size: 1.16rem;
  line-height: 1.35;
  text-align: left;
}

.ai-detector-theme .humanizer-feature-desc,
.ai-detector-theme .step-content p,
.ai-detector-theme .related-tool-content p,
.ai-detector-theme .faq-answer {
  color: var(--dark-text);
  opacity: 0.82;
}

.ai-detector-theme .detector-capability-card .humanizer-feature-desc {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  text-align: left;
}

.ai-detector-theme .faq-section,
.ai-detector-theme .how-to-use-section,
.ai-detector-theme .related-tools-section {
  max-width: 900px;
}

.ai-detector-theme .faq-question {
  color: var(--dark-text);
}

.ai-detector-theme .faq-question:hover,
.ai-detector-theme .step-item:hover,
.ai-detector-theme .related-tool-card:hover {
  background: rgba(var(--primary-color-rgb), 0.06);
}

.ai-detector-theme .faq-icon,
.ai-detector-theme .internal-links a,
.ai-detector-theme .tool-description a,
.ai-detector-theme .section .container a {
  color: var(--primary-light);
}

.ai-detector-theme .related-tools-grid {
  gap: 1.25rem;
}

.ai-detector-theme .internal-links,
.ai-detector-theme > p.tool-description {
  max-width: 980px;
  margin: 0 auto 1.5rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--detector-border);
  border-radius: 12px;
  background: var(--tool-card-bg);
  color: var(--dark-text);
  line-height: 1.75;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body:not(.dark).ai-detector-theme .ai-detector-page,
.light-mode.ai-detector-theme .ai-detector-page {
  background:
    radial-gradient(circle at top right, rgba(58, 90, 254, 0.16), transparent 34rem),
    radial-gradient(circle at 0% 42%, rgba(108, 140, 255, 0.1), transparent 28rem),
    var(--body-bg-gradient);
  color: #0f172a;
  padding-top: 4.7rem;
}

body:not(.dark).ai-detector-theme .detector-hero-title,
body:not(.dark).ai-detector-theme .detector-panel-heading label,
body:not(.dark).ai-detector-theme .detector-tier-copy strong,
body:not(.dark).ai-detector-theme .metric-label,
body:not(.dark).ai-detector-theme .detector-empty-state h3,
body:not(.dark).ai-detector-theme .humanizer-feature-title,
body:not(.dark).ai-detector-theme .related-tool-content h3 a,
.light-mode.ai-detector-theme .detector-hero-title,
.light-mode.ai-detector-theme .detector-panel-heading label,
.light-mode.ai-detector-theme .detector-tier-copy strong,
.light-mode.ai-detector-theme .metric-label,
.light-mode.ai-detector-theme .detector-empty-state h3,
.light-mode.ai-detector-theme .humanizer-feature-title,
.light-mode.ai-detector-theme .related-tool-content h3 a {
  color: #0f172a;
}

body:not(.dark).ai-detector-theme .detector-surface,
body:not(.dark).ai-detector-theme .detector-tier-pill,
body:not(.dark).ai-detector-theme .detector-trust-strip,
body:not(.dark).ai-detector-theme .humanizer-feature-card,
body:not(.dark).ai-detector-theme .faq-item,
body:not(.dark).ai-detector-theme .step-item,
body:not(.dark).ai-detector-theme .related-tool-card,
body:not(.dark).ai-detector-theme .internal-links,
body:not(.dark).ai-detector-theme > p.tool-description,
.light-mode.ai-detector-theme .detector-surface,
.light-mode.ai-detector-theme .detector-tier-pill,
.light-mode.ai-detector-theme .detector-trust-strip,
.light-mode.ai-detector-theme .humanizer-feature-card,
.light-mode.ai-detector-theme .faq-item,
.light-mode.ai-detector-theme .step-item,
.light-mode.ai-detector-theme .related-tool-card,
.light-mode.ai-detector-theme .internal-links,
.light-mode.ai-detector-theme > p.tool-description {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(70, 84, 130, 0.18);
  box-shadow: 0 16px 38px rgba(31, 43, 80, 0.08);
}

body:not(.dark).ai-detector-theme .detector-tier-pill.is-active,
.light-mode.ai-detector-theme .detector-tier-pill.is-active {
  border-color: rgba(58, 90, 254, 0.48);
  box-shadow:
    0 12px 32px rgba(58, 90, 254, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body:not(.dark).ai-detector-theme #input_field.tool-textarea,
body:not(.dark).ai-detector-theme .metric-item,
body:not(.dark).ai-detector-theme .detector-result-meta,
body:not(.dark).ai-detector-theme .detector-empty-state,
body:not(.dark).ai-detector-theme .detector-empty-preview > div,
.light-mode.ai-detector-theme #input_field.tool-textarea,
.light-mode.ai-detector-theme .metric-item,
.light-mode.ai-detector-theme .detector-result-meta,
.light-mode.ai-detector-theme .detector-empty-state,
.light-mode.ai-detector-theme .detector-empty-preview > div {
  background: #f7f9ff;
  color: #0f172a;
}

body:not(.dark).ai-detector-theme .detector-mode-badge,
.light-mode.ai-detector-theme .detector-mode-badge {
  border-color: rgba(16, 185, 129, 0.26);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

body:not(.dark).ai-detector-theme .detector-result-pill,
.light-mode.ai-detector-theme .detector-result-pill {
  border-color: rgba(76, 94, 255, 0.28);
  background: rgba(76, 94, 255, 0.12);
  color: #3346d3;
}

body:not(.dark).ai-detector-theme .verdict-banner,
.light-mode.ai-detector-theme .verdict-banner {
  border-color: rgba(16, 185, 129, 0.36);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(52, 211, 153, 0.08));
}

body:not(.dark).ai-detector-theme .verdict-ai,
.light-mode.ai-detector-theme .verdict-ai {
  border-color: rgba(244, 63, 94, 0.34);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(255, 77, 109, 0.08));
}

body:not(.dark).ai-detector-theme .verdict-mixed,
.light-mode.ai-detector-theme .verdict-mixed {
  border-color: rgba(217, 119, 6, 0.34);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(251, 191, 36, 0.08));
}

body:not(.dark).ai-detector-theme .verdict-icon,
.light-mode.ai-detector-theme .verdict-icon {
  color: #0f172a;
  background: rgba(16, 185, 129, 0.12);
}

body:not(.dark).ai-detector-theme .verdict-ai .verdict-icon,
.light-mode.ai-detector-theme .verdict-ai .verdict-icon {
  background: rgba(244, 63, 94, 0.1);
}

body:not(.dark).ai-detector-theme .verdict-mixed .verdict-icon,
.light-mode.ai-detector-theme .verdict-mixed .verdict-icon {
  background: rgba(245, 158, 11, 0.12);
}

body:not(.dark).ai-detector-theme .verdict-text h3,
.light-mode.ai-detector-theme .verdict-text h3 {
  color: #0f172a;
}

body:not(.dark).ai-detector-theme .verdict-text p,
.light-mode.ai-detector-theme .verdict-text p,
body:not(.dark).ai-detector-theme .detector-signal-caption,
.light-mode.ai-detector-theme .detector-signal-caption {
  color: #52607a;
}

body:not(.dark).ai-detector-theme #ai-probability-score,
.light-mode.ai-detector-theme #ai-probability-score {
  color: #0f172a;
}

body:not(.dark).ai-detector-theme .post-result-actions,
.light-mode.ai-detector-theme .post-result-actions {
  border-color: rgba(70, 84, 130, 0.18);
  background: #eef3ff;
}

body:not(.dark).ai-detector-theme .detector-hero-description,
body:not(.dark).ai-detector-theme .detector-tier-copy span,
body:not(.dark).ai-detector-theme .detector-panel-caption,
body:not(.dark).ai-detector-theme .detector-helper-copy,
body:not(.dark).ai-detector-theme .detector-credit-note,
body:not(.dark).ai-detector-theme .detector-results-copy p,
body:not(.dark).ai-detector-theme .detector-trust-copy p,
body:not(.dark).ai-detector-theme .section .container > p,
body:not(.dark).ai-detector-theme .humanizer-feature-desc,
body:not(.dark).ai-detector-theme .step-content p,
body:not(.dark).ai-detector-theme .related-tool-content p,
body:not(.dark).ai-detector-theme .faq-answer,
.light-mode.ai-detector-theme .detector-hero-description,
.light-mode.ai-detector-theme .detector-tier-copy span,
.light-mode.ai-detector-theme .detector-panel-caption,
.light-mode.ai-detector-theme .detector-helper-copy,
.light-mode.ai-detector-theme .detector-credit-note,
.light-mode.ai-detector-theme .detector-results-copy p,
.light-mode.ai-detector-theme .detector-trust-copy p,
.light-mode.ai-detector-theme .section .container > p,
.light-mode.ai-detector-theme .humanizer-feature-desc,
.light-mode.ai-detector-theme .step-content p,
.light-mode.ai-detector-theme .related-tool-content p,
.light-mode.ai-detector-theme .faq-answer {
  color: #55627d;
}

body:not(.dark).ai-detector-theme .score-circle::before,
.light-mode.ai-detector-theme .score-circle::before {
  background: #fff;
}

body:not(.dark).ai-detector-theme .detector-secondary-btn,
.light-mode.ai-detector-theme .detector-secondary-btn {
  color: #0f172a;
  background: rgba(var(--primary-color-rgb), 0.06);
}

@media (max-width: 1100px) {
  .ai-detector-theme .ai-detector-layout,
  .ai-detector-theme .detector-tier-summary {
    grid-template-columns: 1fr;
  }

  .ai-detector-theme .detector-results-overview {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ai-detector-theme .detector-signal-scale {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .ai-detector-theme .ai-detector-page {
    padding-top: 1.4rem;
  }

  .ai-detector-theme .detector-hero-title {
    font-size: 2rem;
  }

  .ai-detector-theme .detector-tier-pill,
  .ai-detector-theme .detector-panel-header,
  .ai-detector-theme .detector-trust-strip,
  .ai-detector-theme .detector-trust-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-detector-theme .detector-surface {
    padding: 1.05rem;
  }

  .ai-detector-theme .panel-header-meta {
    width: 100%;
    justify-content: space-between;
  }

  .ai-detector-theme #input_field.tool-textarea {
    min-height: 220px;
    padding: 1rem;
  }

  .ai-detector-theme .detector-button-row {
    grid-template-columns: 1fr;
  }

  .ai-detector-theme .verdict-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-detector-theme .score-circle {
    width: 148px;
    height: 148px;
  }

  .ai-detector-theme #ai-probability-score {
    font-size: 2.25rem;
  }

  .ai-detector-theme .metric-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-detector-theme .detector-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .ai-detector-theme .section {
    padding: 3rem 1rem;
  }

  .ai-detector-theme .section .container > h3 {
    font-size: 1.45rem;
  }

  .ai-detector-theme .internal-links,
  .ai-detector-theme > p.tool-description {
    margin-right: 1rem;
    margin-left: 1rem;
  }
}
