.ttr-section {
  margin: 32px 0 0;
  padding: clamp(18px, 4.3vw, 48px);
  border: 1px solid #d6e6dc;
  border-radius: 22px;
  background: #eff6f0;
  color: #17382c;
  text-align: left;
}

.ttr-heading {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.ttr-profile {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-areas:
    "avatar name follow"
    "avatar stats follow";
  align-items: center;
  gap: 4px 16px;
  margin: 0 0 clamp(17px, 2.6vw, 24px);
  padding: 12px 16px;
  border: 1px solid #d4e4da;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px #133a2710;
  color: #17382c;
  line-height: 1.3;
}

.ttr-profile:hover {
  border-color: #8fbaa2;
}

.ttr-profile img {
  display: block;
  grid-area: avatar;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.ttr-profile-name {
  display: flex;
  grid-area: name;
  flex-wrap: wrap;
  align-items: baseline;
  align-self: end;
  gap: 3px 11px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ttr-profile-name strong {
  color: #073e2e;
  font-size: 1.125rem;
  font-weight: 800;
}

.ttr-profile-name > span,
.ttr-profile-stats {
  color: #496456;
  font-size: .875rem;
}

.ttr-profile-stats {
  display: flex;
  grid-area: stats;
  flex-wrap: wrap;
  align-self: start;
  gap: 3px 17px;
}

.ttr-profile-stats strong {
  color: #073e2e;
  font-variant-numeric: tabular-nums;
}

.ttr-profile-follow {
  display: grid;
  grid-area: follow;
  min-height: 44px;
  place-items: center;
  padding: 8px 20px;
  border-radius: 8px;
  background: #07513a;
  color: #fff;
  font-size: .875rem;
  font-weight: 800;
}

.ttr-profile:hover .ttr-profile-follow,
.ttr-profile:focus-visible .ttr-profile-follow {
  background: #043c2c;
}

.ttr-section .ttr-heading h3 {
  margin: 0;
  color: #073e2e;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.ttr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ttr-card {
  min-width: 0;
  margin: 0;
  border: 1px solid #d8e5dc;
  border-radius: 13px;
  background: #fff;
}

.ttr-photo {
  display: block;
  border-radius: inherit;
}

.ttr-frame {
  display: grid;
  aspect-ratio: 1.12;
  place-items: center;
  padding: 10px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #f8faf8;
}

.ttr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.ttr-caption {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 13px;
  border-top: 1px solid #e1ebe4;
  font-size: .875rem;
  line-height: 1.4;
}

.ttr-caption strong {
  margin-right: 6px;
  overflow-wrap: anywhere;
}

.ttr-caption small {
  color: #4b6559;
  font-size: .8125rem;
  white-space: nowrap;
}

.ttr-enlarge {
  color: #07513a;
  font-weight: 750;
}

.ttr-photo:hover .ttr-enlarge {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.ttr-more {
  margin-top: 18px;
  padding: 0;
  border: 0;
}

.ttr-more summary,
.ttr-viewer button {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid #acccba;
  border-radius: 8px;
  background: #fff;
  color: #07513a;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 750;
  line-height: 1.35;
  cursor: pointer;
}

.ttr-more summary {
  width: fit-content;
  margin: 0 auto;
}

.ttr-more summary:hover,
.ttr-viewer button:hover {
  border-color: #07513a;
  background: #e2f0e7;
}

.ttr-section :is(summary, .ttr-profile, .ttr-photo, .ttr-viewer button, .ttr-original):focus-visible {
  outline: 2px solid #07513a;
  outline-offset: 3px;
}

.ttr-hide,
.ttr-more[open] .ttr-show {
  display: none;
}

.ttr-more[open] .ttr-hide {
  display: inline;
}

.ttr-more .ttr-grid {
  margin-top: 16px;
}

.ttr-viewer {
  width: min(1040px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 12px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 14px;
  background: #f8faf8;
  color: #17382c;
}

.ttr-viewer::backdrop {
  background: rgb(6 25 18 / 84%);
}

.ttr-viewer-header,
.ttr-viewer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ttr-viewer-header h4 {
  margin: 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.ttr-viewer-frame {
  display: grid;
  min-height: 120px;
  place-items: center;
  margin: 10px 0;
  background: #e9f1eb;
}

.ttr-viewer-frame img {
  display: block;
  max-width: 100%;
  max-height: max(140px, calc(100dvh - 205px));
  width: auto;
  height: auto;
  object-fit: contain;
}

.ttr-viewer-controls > span {
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.ttr-original {
  display: table;
  margin: 10px auto 0;
  padding: 4px;
  color: #07513a;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .16em;
}

@media (max-width: 700px) {
  .ttr-section {
    margin-top: 24px;
    padding: 16px 12px;
    border-radius: 15px;
  }

  .ttr-profile {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    grid-template-areas:
      "avatar name follow"
      "stats stats stats";
    gap: 10px 9px;
    padding: 10px;
  }

  .ttr-profile-name {
    display: grid;
    align-self: center;
    gap: 2px;
  }

  .ttr-profile-name strong {
    font-size: .9375rem;
  }

  .ttr-profile-name > span {
    font-size: .8125rem;
  }

  .ttr-profile-follow {
    padding-inline: 11px;
  }

  .ttr-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid #dce8df;
    text-align: center;
    font-size: .8125rem;
  }

  .ttr-profile-stats > span + span {
    border-left: 1px solid #dce8df;
  }

  .ttr-profile-stats strong {
    display: block;
    font-size: .9375rem;
  }

  .ttr-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .ttr-frame {
    aspect-ratio: auto;
    padding: 7px;
  }

  .ttr-frame img {
    height: auto;
  }

  .ttr-caption {
    padding-inline: 9px;
  }

  .ttr-more summary {
    width: 100%;
  }

  .ttr-viewer button {
    padding-inline: 11px;
  }
}

/* Keep every review visible without a caption strip or disclosure. */
.ttr-more-posters{margin-top:16px}
.ttr-frame{border-radius:12px}

/* Clear, compact review frames across phone and desktop. */
.ttr-grid{align-items:start;gap:18px}
.ttr-card{overflow:hidden;border:2px solid #146342;border-radius:10px;background:#fff;box-shadow:0 2px 6px #124a2510}
.ttr-photo{display:block;border-radius:8px}
.ttr-frame{display:block;aspect-ratio:auto;padding:8px;border-radius:8px;background:#fff}
.ttr-frame img{width:100%;height:auto;object-fit:contain}
.ttr-photo:hover{background:#f5fbf6}
.ttr-photo:focus-visible{outline:3px solid #f4c93f;outline-offset:3px}
@media(max-width:700px){.ttr-grid{gap:14px}.ttr-frame{padding:5px}.ttr-card{border-radius:8px}.ttr-more-posters{margin-top:14px}}
