
/*
 * Premium proof fallback pass: blocked official screenshots should still feel
 * like intentional editorial proof, not empty media slots.
 */
.tool-proof-card--no-screenshot .tool-proof-surface {
  background:
    linear-gradient(rgba(238, 240, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 18% 20%, rgba(200, 184, 141, 0.14), transparent 9rem),
    radial-gradient(circle at 84% 12%, rgba(122, 167, 138, 0.09), transparent 11rem),
    #101217;
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
}

.tool-proof-card--no-screenshot .tool-proof-fallback {
  display: grid;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(17, 19, 24, 0.02), rgba(17, 19, 24, 0.82)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 44%);
}

.tool-proof-card--no-screenshot .tool-proof-fallback-grid {
  opacity: 0.78;
  background-image:
    linear-gradient(rgba(238, 240, 242, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(140deg, rgba(0, 0, 0, 0.86), transparent 78%);
}

.tool-proof-fallback-identity {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 7px;
  width: min(58%, 310px);
  min-height: 100%;
  padding: 22px;
}

.tool-proof-fallback-mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
  border: 1px solid rgba(238, 240, 242, 0.16);
  border-radius: 12px;
  color: #101217;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.tool-proof-fallback-mark img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}

.tool-proof-fallback-mark > span {
  font-family: var(--o4-font-ui);
  font-size: 1.14rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.tool-proof-mark-fallback {
  display: none;
  place-items: center;
  width: 100%;
  height: 100%;
}

.tool-proof-mark-fallback.is-active {
  display: grid;
}

.tool-proof-logo-fallback {
  display: none;
}

.tool-proof-card.is-proof-mark-missing .tool-proof-fallback-mark img,
.tool-proof-card.is-proof-mark-missing .tool-proof-logo {
  display: none;
}

.tool-proof-card.is-proof-mark-missing .tool-proof-mark-fallback,
.tool-proof-card.is-proof-mark-missing .tool-proof-logo-fallback {
  display: grid;
}

.tool-proof-fallback-eyebrow {
  color: rgba(200, 184, 141, 0.82);
  font-family: var(--o4-font-ui);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tool-proof-fallback-identity strong {
  color: #f4f1e9;
  font-family: var(--o4-font-ui);
  font-size: clamp(1.06rem, 1.6vw, 1.48rem);
  line-height: 1.08;
}

.tool-proof-fallback-identity small {
  overflow: hidden;
  max-width: 100%;
  color: rgba(238, 240, 242, 0.56);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-proof-fallback-lines {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 7px;
  width: min(34%, 180px);
}

.tool-proof-fallback-lines span {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 184, 141, 0.45), transparent);
}

.tool-proof-fallback-lines span:nth-child(2) {
  width: 72%;
  margin-left: auto;
  opacity: 0.72;
}

.tool-proof-fallback-lines span:nth-child(3) {
  width: 46%;
  margin-left: auto;
  opacity: 0.46;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-overlay,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-overlay {
  display: none;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback {
  background:
    radial-gradient(circle at 16% 18%, rgba(200, 184, 141, 0.16), transparent 7rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 48%),
    #101217;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-identity {
  width: 100%;
  padding: 16px;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  border-radius: 10px;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-eyebrow,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-eyebrow {
  font-size: 0.58rem;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-identity strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 1rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tool-proof-card--archive-preview.tool-proof-card--no-screenshot .tool-proof-fallback-copy,
.tool-proof-card--home-feature.tool-proof-card--no-screenshot .tool-proof-fallback-copy {
  display: none;
}

.tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.tool-proof-card--stack.is-proof-missing .tool-proof-fallback-identity,
.tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity,
.tool-proof-card--review-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.tool-proof-card--review-hero.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
.tool-proof-card--comparison.tool-proof-card--no-screenshot .tool-proof-fallback-identity {
  width: min(66%, 330px);
  padding: 18px;
}

.tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.tool-proof-card--stack.is-proof-missing .tool-proof-fallback-mark,
.tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.tool-proof-card--related.is-proof-missing .tool-proof-fallback-mark,
.tool-proof-card--review-preview.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.tool-proof-card--review-hero.tool-proof-card--no-screenshot .tool-proof-fallback-mark,
.tool-proof-card--comparison.tool-proof-card--no-screenshot .tool-proof-fallback-mark {
  width: 52px;
  height: 52px;
}

@media (max-width: 760px) {
  .tool-proof-fallback-identity,
  .tool-proof-card--stack.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .tool-proof-card--stack.is-proof-missing .tool-proof-fallback-identity,
  .tool-proof-card--related.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .tool-proof-card--related.is-proof-missing .tool-proof-fallback-identity,
  .tool-proof-card--review-preview.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .tool-proof-card--review-hero.tool-proof-card--no-screenshot .tool-proof-fallback-identity,
  .tool-proof-card--comparison.tool-proof-card--no-screenshot .tool-proof-fallback-identity {
    width: 100%;
    padding: 16px;
  }

  .tool-proof-fallback-lines {
    width: 42%;
    opacity: 0.7;
  }
}
