:root {
  --canvas: #ddd6d3;
  --canvas-soft: #e8e2df;
  --canvas-line: rgba(75, 57, 65, 0.075);
  --canvas-ink: #2f292d;
}

body {
  color: var(--ink);
  background-color: var(--canvas);
  background-image:
    linear-gradient(135deg, transparent 0 46%, var(--canvas-line) 46% 50%, transparent 50% 96%, var(--canvas-line) 96% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  background-size: 28px 28px, 100% 100%;
  background-attachment: fixed;
}

.directory-sections {
  padding: 9px;
  background: rgba(81, 61, 70, 0.075);
  border-color: rgba(65, 47, 56, 0.09);
  box-shadow: 0 24px 60px rgba(57, 42, 49, 0.10);
}

.breadcrumbs,
.breadcrumbs a,
.page-header > p,
.reviews-header p,
.reviews-toolbar > p,
.review-taxonomy .eyebrow {
  color: #675c61;
}

.page-header h1,
.reviews-header h1,
.page-shell > .section-heading h2,
.review-visual-page > .section-heading h2 {
  color: var(--ink);
}

.page-header .eyebrow,
.review-visual-page > .section-heading .eyebrow {
  color: var(--accent-dark);
}

/* Brand lockup */
.brand-copy {
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.brand-tagline {
  display: block;
  max-width: 360px;
  overflow: hidden;
  color: #73676c;
  font-size: 0.72rem;
  font-weight: 520;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Advertising placeholders */
.global-ad-wrap {
  width: var(--shell);
  margin: 18px auto;
}

.global-ad-wrap-bottom {
  margin-top: 34px;
  margin-bottom: 22px;
}

.ad-slot {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  overflow: hidden;
  color: #75696e;
  background: #cfc5c2;
  border: 1px solid rgba(67, 50, 59, 0.12);
  border-radius: 12px;
  text-align: center;
}

.ad-slot-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.ad-slot strong {
  color: #5f5559;
  font-size: 0.82rem;
  font-weight: 650;
}

.ad-slot small {
  font-size: 0.67rem;
  opacity: 0.78;
}

.ad-slot-banner {
  width: min(970px, 100%);
  min-height: 90px;
  margin-inline: auto;
}

.ad-slot-square {
  width: 300px;
  height: 250px;
  max-width: 100%;
  margin-inline: auto;
  background: #d6cbc7;
}

/* Home card review action: magnifier only */
.directory-sections .site-card-compact .site-name-line {
  grid-template-columns: 30px minmax(0, 1fr) 34px;
}

.directory-sections .site-card-compact .review-search-button {
  display: grid;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  place-items: center;
  color: var(--tone-deep);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid color-mix(in srgb, var(--tone) 32%, #ffffff);
  border-radius: 50%;
  box-shadow: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.directory-sections .site-card-compact .review-search-button svg {
  width: 16px;
  height: 16px;
}

.directory-sections .site-card-compact .review-search-button circle,
.directory-sections .site-card-compact .review-search-button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.directory-sections .site-card-compact .review-search-button:hover {
  color: #fff;
  background: var(--tone);
  box-shadow: 0 7px 16px color-mix(in srgb, var(--tone) 20%, transparent);
  transform: scale(1.05);
}

.directory-sections .site-card-compact .review-search-button:active {
  transform: scale(0.96);
  box-shadow: none;
}

/* Review page */
.review-visual-page {
  padding-bottom: 74px;
}

.review-simple-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  margin: 16px 0 18px;
  background: rgba(248, 245, 243, 0.96);
  border: 1px solid rgba(87, 65, 74, 0.13);
  border-radius: 17px;
  box-shadow: 0 16px 42px rgba(61, 45, 52, 0.10);
}

.review-simple-identity .review-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-simple-identity .review-favicon {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  padding: 9px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 7px 18px rgba(62, 44, 51, 0.08);
}

.review-simple-identity .review-identity-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.review-primary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.review-screenshot-card {
  overflow: hidden;
  margin: 0;
  background: #f4efed;
  border: 1px solid rgba(86, 65, 74, 0.15);
  border-radius: 17px;
  box-shadow: 0 20px 50px rgba(64, 47, 55, 0.12);
}

.review-browser-bar {
  display: grid;
  min-height: 44px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 0 15px;
  color: #74696e;
  background: #eee7e4;
  border-bottom: 1px solid rgba(91, 70, 79, 0.10);
  font-size: 0.75rem;
}

.review-browser-dots {
  display: flex;
  gap: 5px;
}

.review-browser-dots span {
  width: 7px;
  height: 7px;
  background: #a89b9f;
  border-radius: 50%;
}

.review-browser-domain {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-screenshot-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #c7b7bd;
}

.review-screenshot-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: #574b50;
  background: var(--preview-color, #c7b7bd);
  text-align: center;
}

.review-screenshot-placeholder strong {
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 680;
  letter-spacing: -0.025em;
}

.review-screenshot-placeholder span {
  font-size: 0.73rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.76;
}

.review-screenshot-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.review-screenshot-card figcaption {
  padding: 9px 14px 11px;
  color: #75696e;
  background: #f4efed;
  font-size: 0.74rem;
}

.review-sidebar {
  display: grid;
  gap: 16px;
}

.review-visit-panel,
.review-overview-card {
  background: rgba(248, 245, 243, 0.97);
  border: 1px solid rgba(87, 65, 74, 0.13);
  border-radius: 16px;
  box-shadow: 0 15px 38px rgba(61, 45, 52, 0.09);
}

.review-visit-panel {
  padding: 21px;
}

.review-visit-panel h2 {
  margin: 0 0 7px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.review-visit-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.review-visit-panel .button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(118, 47, 68, 0.18);
}

.review-overview-card {
  padding: 25px 27px;
  margin-top: 20px;
}

.review-overview-card h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.review-overview-card p:last-child {
  margin-bottom: 0;
}

.related-visual-section {
  margin-top: 32px;
}

.related-visual-section .section-heading {
  margin-bottom: 14px;
}

.related-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.related-visual-card {
  overflow: hidden;
  background: #f6f1ef;
  border: 1px solid rgba(84, 63, 72, 0.13);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(62, 45, 52, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.related-visual-card:hover {
  border-color: rgba(139, 78, 97, 0.35);
  box-shadow: 0 17px 36px rgba(62, 45, 52, 0.12);
  transform: translateY(-2px);
}

.related-shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--preview-color, #c9bdc1);
}

.related-shot-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #62555a;
  background: var(--preview-color, #c9bdc1);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-shot img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.related-visual-name {
  display: block;
  overflow: hidden;
  padding: 11px 13px 12px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .brand-tagline { max-width: 250px; }
  .review-primary-layout { grid-template-columns: 1fr; }
  .review-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
  .related-visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { background-size: 22px 22px, 100% 100%; }
  .brand-tagline { display: none; }
  .global-ad-wrap { margin-block: 12px; }
  .ad-slot-banner { min-height: 72px; }
  .review-simple-identity {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }
  .review-simple-identity > .button { width: 100%; justify-content: center; }
  .review-primary-layout { gap: 14px; }
  .review-sidebar { grid-template-columns: 1fr; }
  .review-overview-card { padding: 21px; }
}

@media (max-width: 520px) {
  .related-visual-grid { grid-template-columns: 1fr; }
  .review-simple-identity .review-favicon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
  .review-simple-identity .review-identity-copy h1 { font-size: 1.85rem; }
}

@media (max-width: 360px) {
  .ad-slot-square {
    width: 250px;
    height: 250px;
  }
}
