
/*
 * Review detail polish: keep mobile reviews from becoming stacked proof walls
 * and make review evidence labels as scannable as the other brief pages.
 */
.article-shell-review-detail.card {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  min-width: 0;
}

.article-shell-review-detail > * {
  min-width: 0;
}

.article-shell-review-detail .article-proof-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

.article-shell-review-detail .article-proof-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(200, 184, 141, 0.9), rgba(200, 184, 141, 0.08));
  opacity: 0.5;
}

.article-shell-review-detail .article-proof-card .panel-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(238, 240, 242, 0.56);
  letter-spacing: 0.08em;
}

.article-shell-review-detail .article-proof-card p:not(.panel-label) {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.64);
  font-size: 0.84rem;
  line-height: 1.46;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.article-shell-review-detail .review-tool-panel h2,
.article-shell-review-detail .tool-section-grid > .card h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 760px) {
  .article-shell-review-detail .review-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .article-shell-review-detail .article-header-review,
  .article-shell-review-detail .review-hero-proof {
    min-width: 0;
  }

  .article-shell-review-detail h1 {
    overflow-wrap: anywhere;
  }

  .article-shell-review-detail .article-proof-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    overflow-x: auto;
    margin-top: 16px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .article-shell-review-detail .article-proof-grid::-webkit-scrollbar {
    display: none;
  }

  .article-shell-review-detail .article-proof-card {
    flex: 0 0 min(82vw, 310px);
    min-height: 154px;
    padding: 14px;
    border: 1px solid var(--o4-premium-line);
    border-radius: 8px;
    background: #111318;
    scroll-snap-align: start;
  }

  .article-shell-review-detail .tool-section-grid {
    gap: 10px;
    margin-top: 16px;
  }

  .article-shell-review-detail .tool-section-grid > .card {
    padding: 15px;
  }

  .article-shell-review-detail .review-tool-panel .badges,
  .article-shell-review-detail .review-tool-panel .article-card-note {
    display: none;
  }

  .article-shell-review-detail .review-tool-panel p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.46;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .article-shell-review-detail .review-tool-panel .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article-shell-review-detail .article-content {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--o4-premium-line);
  }
}
