:root {
  --tch-accent: #e11d48;
  --tch-accent-2: #0f766e;
  --tch-ink: #0f172a;
  --tch-muted: #64748b;
  --tch-line: #e2e8f0;
  --tch-bg: #f8fafc;
  --tch-card: #ffffff;
  --tch-radius: 14px;
  --tch-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --tch-max: 1120px;
}

.home .entry-hero,
.home .entry-header,
.home .page-title,
.home .entry-title,
.home .content-area .entry-content > .page-title,
.home #main > article > .entry-content-wrap {
  display: none;
}

.home .content-container,
.home .site-main,
.home .content-width-fullwidth,
.home .entry-content-wrap {
  padding-top: 0;
  max-width: none;
}

.tch-hp {
  color: var(--tch-ink);
  background: var(--tch-bg);
  font-size: 16px;
  line-height: 1.5;
  max-width: 100%;
}

.tch-hp *,
.tch-hp *::before,
.tch-hp *::after {
  box-sizing: border-box;
}

.tch-hp a {
  color: inherit;
  text-decoration: none;
}

.tch-hp-wrap {
  width: min(var(--tch-max), calc(100% - 24px));
  margin: 0 auto;
}

body.home .site-header-wrap,
body.home #masthead {
  z-index: 1000;
}

body.home .tch-hp {
  padding-top: 88px !important;
}

.tch-hp {
  padding-top: 0.25rem;
}

.tch-hp-hero {
  padding: 12px 0 12px;
}

@media (min-width: 1025px) {
  .home .site-header-row-container + .content-container .tch-hp-hero,
  .tch-hp-hero {
    padding-top: 24px;
  }
}

.tch-hp-hero-title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.tch-hp-hero-title span {
  background: linear-gradient(90deg, #e11d48, #be123c 40%, #0f766e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tch-hp-hero-sub {
  margin: 0 0 18px;
  color: var(--tch-muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.tch-hp-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.tch-hp-search {
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: var(--tch-radius);
  padding: 14px;
  box-shadow: var(--tch-shadow);
}

.tch-hp-search .probox,
.tch-hp-search .asl_w,
.tch-hp-search .asl_w_container {
  max-width: 100% !important;
}

.tch-hp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tch-hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--tch-accent);
  color: #fff !important;
  -webkit-tap-highlight-color: transparent;
}

.tch-hp-btn-ghost {
  background: transparent;
  color: var(--tch-ink) !important;
  border-color: var(--tch-line);
}

.tch-hp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tch-hp-stat {
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--tch-shadow);
}

a.tch-hp-stat {
  color: inherit;
  text-decoration: none;
}

a.tch-hp-stat:hover {
  border-color: #0f172a;
}

.tch-hp-stat b {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.tch-hp-stat span {
  color: var(--tch-muted);
  font-size: 0.8rem;
}

.tch-hp-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 20px;
}

.tch-hp-jump a {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--tch-muted);
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: 999px;
  padding: 6px 12px;
}

.tch-hp-jump a:hover {
  color: var(--tch-ink);
  border-color: #cbd5e1;
}

.tch-hp-section {
  padding: 8px 0 28px;
  scroll-margin-top: 92px;
}

.tch-hp-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
}

.tch-hp-head h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.tch-hp-head p {
  margin: 4px 0 0;
  color: var(--tch-muted);
  font-size: 0.9rem;
}

.tch-hp-browse {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tch-hp-browse-card {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: 999px;
  padding: 5px 11px;
}

.tch-hp-browse-card:hover {
  border-color: #cbd5e1;
}

.tch-hp-browse-name {
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.tch-hp-browse-meta {
  color: var(--tch-muted);
  font-size: 0.72rem;
}

.tch-hp-tip-head {
  position: relative;
  overflow: visible;
  z-index: 2;
}

.tch-hp-tip-head > h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tch-hp-tip-btn {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid var(--tch-line, #e2e8f0);
  border-radius: 50%;
  background: #fff;
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
  text-transform: none;
  letter-spacing: 0;
}

.tch-hp-tip-btn[aria-expanded="true"] {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.tch-hp-tip {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  width: min(340px, calc(100vw - 32px));
  padding: 12px 14px;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}

.tch-hp-tip.is-end {
  left: auto;
  right: 0;
}

.tch-hp-tip p {
  margin: 0 0 8px;
  color: #e2e8f0;
  font-size: 0.78rem;
}

.tch-hp-tip p:last-child {
  margin-bottom: 0;
}

.tch-hp-more {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--tch-accent) !important;
  white-space: nowrap;
}

.tch-hp-bars {
  display: grid;
  gap: 8px;
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: var(--tch-radius);
  padding: 16px;
  box-shadow: var(--tch-shadow);
}

.tch-hp-bar {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 10px;
  align-items: center;
}

.tch-hp-bar-label {
  font-size: 0.82rem;
  font-weight: 650;
}

.tch-hp-bar-label small {
  display: block;
  color: var(--tch-muted);
  font-weight: 500;
}

.tch-hp-bar-track {
  height: 10px;
  background: #eef2f6;
  border-radius: 999px;
  overflow: hidden;
}

.tch-hp-bar-fill {
  display: block;
  width: var(--tch-w, 0);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fb7185, #e11d48);
}

.tch-hp.js-motion .tch-hp-bar-fill {
  width: 0;
}

.tch-hp.js-motion .tch-hp-bars.is-in .tch-hp-bar-fill {
  width: var(--tch-w, 0);
}

.tch-hp-bar:nth-child(3) .tch-hp-bar-fill { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.tch-hp-bar:nth-child(4) .tch-hp-bar-fill { background: linear-gradient(90deg, #34d399, #0f766e); }
.tch-hp-bar:nth-child(5) .tch-hp-bar-fill { background: linear-gradient(90deg, #38bdf8, #2563eb); }
.tch-hp-bar:nth-child(6) .tch-hp-bar-fill { background: linear-gradient(90deg, #a78bfa, #7c3aed); }

.tch-hp-bar-count {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 2ch;
}

.tch-hp-fame-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.tch-hp-fame {
  display: flex;
  flex-direction: column;
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: 12px;
  overflow: hidden;
  min-height: 100%;
  box-shadow: var(--tch-shadow);
}

.tch-hp-fame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #e2e8f0;
}

.tch-hp-fame-kicker {
  padding: 8px 10px 0;
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tch-accent);
}

.tch-hp-fame-name,
.tch-hp-fame-h,
.tch-hp-fame-note {
  padding: 0 10px;
}

.tch-hp-fame-name {
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.tch-hp-fame-h {
  color: var(--tch-ink);
  font-size: 0.82rem;
}

.tch-hp-fame-note {
  padding-bottom: 10px;
  color: var(--tch-muted);
  font-size: 0.72rem;
}

.tch-hp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.tch-hp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--tch-shadow);
}

.tch-hp-card img,
.tch-hp-card-ph,
.tch-hp-fame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
}

.tch-hp-card-ph {
  display: grid;
  place-items: center;
  background: #e11d48;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}

.tch-hp-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 999px;
}

.tch-hp-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px 8px;
}

.tch-hp-card-name {
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.25;
}

.tch-hp-card-h {
  font-size: 0.74rem;
}

.tch-hp-card-meta {
  color: var(--tch-muted);
  font-size: 0.72rem;
}

.tch-hp-compare {
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: var(--tch-radius);
  padding: 16px;
  box-shadow: var(--tch-shadow);
}

.tch-hp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tch-hp-tab {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--tch-line);
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.85rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.tch-hp-tab.is-on {
  background: var(--tch-ink);
  color: #fff;
  border-color: var(--tch-ink);
}

.tch-hp-pane {
  display: none;
}

.tch-hp-pane.is-on {
  display: block;
}

.tch-hp-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: end;
}

.tch-hp-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tch-hp-combo {
  position: relative;
}

.tch-hp-combo input,
.tch-hp-height input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--tch-line);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  font-size: 16px;
}

.tch-hp-list {
  display: none;
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 240px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--tch-line);
  border-radius: 10px;
  box-shadow: var(--tch-shadow);
}

.tch-hp-list.is-open {
  display: block;
}

.tch-hp-list button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  color: #0f172a !important;
  padding: 12px;
  min-height: 44px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 650;
}

.tch-hp-list button small {
  color: #64748b;
  font-weight: 500;
}

.tch-hp-list button:hover,
.tch-hp-list button.is-active {
  background: #f1f5f9;
  color: #0f172a !important;
}

.tch-hp-vs {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.tch-hp-height {
  display: grid;
  grid-template-columns: 1fr 1fr auto 1.2fr;
  gap: 8px;
  align-items: center;
}

.tch-hp-or {
  color: var(--tch-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.tch-hp-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tch-hp-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--tch-line);
}

.tch-hp-result-placeholder {
  margin: 0;
  color: var(--tch-muted);
  font-size: 0.9rem;
}

.tch-hp-result.has-data .tch-hp-result-placeholder {
  display: none;
}

.tch-hp-result:not(.has-data) .tch-hp-visual,
.tch-hp-result:not(.has-data) .tch-hp-kpis,
.tch-hp-result:not(.has-data) .tch-hp-tools:last-of-type {
  display: none;
}

.tch-hp-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: end;
}

.tch-hp-fig {
  text-align: center;
}

.tch-hp-fig img,
.tch-hp-sil {
  width: min(160px, 100%);
  margin: 0 auto;
  display: block;
  object-fit: cover;
  object-position: top;
  border-radius: 10px 10px 4px 4px;
  background: #e2e8f0;
}

.tch-hp-sil {
  background: linear-gradient(180deg, #94a3b8, #475569);
}

.tch-hp-fig b {
  display: block;
  margin-top: 8px;
}

.tch-hp-fig span {
  color: var(--tch-muted);
  font-size: 0.85rem;
}

.tch-hp-diff {
  text-align: center;
  max-width: 160px;
}

.tch-hp-diff strong {
  display: block;
  font-size: 1.1rem;
}

.tch-hp-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.tch-hp-kpis div {
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
  font-size: 0.82rem;
}

.tch-hp-kpis b {
  display: block;
  font-size: 0.72rem;
  color: var(--tch-muted);
  font-weight: 650;
}

.tch-hp-spark {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

.tch-hp-sparkline-wrap {
  min-width: 0;
  overflow: hidden;
}

.tch-hp-spark .tch-hp-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.tch-hp-sparkline {
  display: flex;
  align-items: stretch;
  gap: 1px;
  min-height: 108px;
  padding: 10px 8px 8px;
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: 12px;
}

.tch-hp-spark-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.tch-hp-spark-fill {
  width: 100%;
  max-width: 8px;
  height: var(--tch-h, 4%);
  min-height: 2px;
  background: #fb7185;
  border-radius: 2px 2px 0 0;
}

.tch-hp.js-motion .tch-hp-spark-fill {
  height: 0;
}

.tch-hp.js-motion .tch-hp-sparkline.is-in .tch-hp-spark-fill {
  height: var(--tch-h, 4%);
}

.tch-hp-spark-d {
  margin-top: 4px;
  color: var(--tch-muted);
  font-size: 0.52rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: 2.55em;
}

.tch-hp-faq {
  display: grid;
  gap: 8px;
}

.tch-hp-faq details {
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: 12px;
  padding: 10px 14px;
}

.tch-hp-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.tch-hp-faq p,
.tch-hp-faq ul {
  margin: 8px 0 0;
  color: var(--tch-muted);
}

.tch-hp-sources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tch-hp-source {
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: 12px;
  padding: 14px;
}

.tch-hp-source h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.tch-hp-source ul {
  margin: 0;
  padding-left: 18px;
  color: var(--tch-muted);
  font-size: 0.88rem;
}

.tch-hp-news {
  background: var(--tch-ink);
  color: #fff;
  border-radius: var(--tch-radius);
  padding: 22px;
}

.tch-hp-news h2,
.tch-hp-news p {
  color: #fff;
}

.tch-hp-news p {
  opacity: 0.85;
}

.tch-hp-note {
  margin: 8px 0 0;
  color: var(--tch-muted);
  font-size: 0.8rem;
}

.tch-hp-err {
  color: var(--tch-accent);
  font-size: 0.85rem;
  min-height: 1.2em;
  margin: 8px 0 0;
}

.tch-hp-matches {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--tch-line);
}

.tch-hp-match-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.tch-hp-match-head p {
  margin: 0 0 12px;
  color: var(--tch-muted);
  font-size: 0.88rem;
}

#tch-match-more {
  display: none;
}

.tch-hp-prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tch-hp-prose-card {
  background: var(--tch-card);
  border: 1px solid var(--tch-line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--tch-shadow);
}

.tch-hp-prose-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.tch-hp-prose-card p,
.tch-hp-prose-card ul {
  margin: 0 0 10px;
  color: var(--tch-muted);
  font-size: 0.92rem;
}

.tch-hp-prose-card ul {
  padding-left: 1.15rem;
}

.tch-hp-prose-card p:last-child,
.tch-hp-prose-card ul:last-child {
  margin-bottom: 0;
}

.tch-guess-play {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.tch-guess-photo {
  margin: 0;
}

.tch-guess-photo img,
.tch-guess-photo .tch-hp-card-ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

.tch-guess-name {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tch-guess-result {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--tch-line);
}

.tch-guess-verdict {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 1.05rem;
}

.tch-guess-score {
  margin-top: 12px;
}

.home ins.adsbygoogle,
.home .google-auto-placed {
  display: block;
  max-width: 100% !important;
  clear: both;
  margin: 16px auto;
  overflow: hidden;
}

.home .google-auto-placed iframe,
.home ins.adsbygoogle iframe {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .tch-hp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  body.home .tch-hp {
    padding-top: 104px !important;
  }

  .tch-hp-hero-title {
    font-size: clamp(1.4rem, 6.4vw, 1.85rem);
    text-align: center !important;
  }

  .tch-hp-hero-title span {
    display: inline-block;
    max-width: 100%;
    text-align: center;
  }

  .tch-hp-hero-sub {
    font-size: 0.95rem;
    margin: 0 auto 14px;
    text-align: center !important;
  }

  .tch-hp-hero-grid,
  .tch-hp-spark,
  .tch-hp-row,
  .tch-hp-sources,
  .tch-hp-prose {
    grid-template-columns: 1fr;
  }

  .tch-hp-spark .tch-hp-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tch-hp-visual {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .tch-hp-diff {
    grid-column: 1 / -1;
    order: 3;
    max-width: none;
    padding: 4px 0 8px;
  }

  .tch-hp-fame-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tch-hp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tch-guess-play {
    grid-template-columns: 1fr;
  }

  .tch-guess-photo {
    max-width: 220px;
    margin: 0 auto;
  }

  .tch-hp-vs {
    margin: 4px auto;
  }

  .tch-hp-height {
    grid-template-columns: 1fr 1fr;
  }

  .tch-hp-height .tch-hp-or {
    grid-column: 1 / -1;
    text-align: center;
  }

  .tch-hp-height input[id$="-cm"] {
    grid-column: 1 / -1;
  }

  .tch-hp-bars {
    padding: 10px 12px;
    gap: 5px;
  }

  .tch-hp-bar {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .tch-hp-bar-track {
    grid-column: auto;
    height: 8px;
  }

  .tch-hp-bar-label {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .tch-hp-bar-label small {
    font-size: 0.66rem;
  }

  .tch-hp-bar-count {
    font-size: 0.78rem;
  }

  .tch-hp-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tch-hp-browse {
    gap: 6px;
  }

  .tch-hp-actions .tch-hp-btn {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (max-width: 640px) {
  .tch-hp-wrap {
    width: min(var(--tch-max), calc(100% - 20px));
  }

  .tch-hp-bars {
    padding: 8px 10px;
    gap: 4px;
  }

  .tch-hp-bar {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 6px;
  }

  .tch-hp-bar-track {
    height: 7px;
  }

  .tch-hp-section {
    padding: 6px 0 22px;
  }

  .tch-hp-browse-card {
    padding: 5px 10px;
  }

  body.home .tch-hp {
    padding-bottom: 80px;
  }

  .tch-hp-compare {
    padding: 12px;
  }

  .tch-hp-tab {
    flex: 1 1 100%;
  }

  .tch-hp-kpis {
    grid-template-columns: 1fr;
  }

  .tch-hp-stats {
    grid-template-columns: 1fr 1fr;
  }

  .tch-hp-jump {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
    margin-right: -10px;
    padding-right: 20px;
  }

  .tch-hp-jump::-webkit-scrollbar {
    display: none;
  }

  .tch-hp-jump a {
    flex: 0 0 auto;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .tch-hp-fame-kicker {
    font-size: 0.62rem;
  }

  .tch-hp-fame-name,
  .tch-hp-card-name {
    font-size: 0.84rem;
  }

  .tch-hp-tools .tch-hp-btn {
    flex: 1 1 100%;
  }

  .tch-hp-faq summary {
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  .tch-hp-stat b {
    font-size: 1.15rem;
  }
}

.tch-hp-bar-fill {
  transition: width 0.45s ease;
}

.tch-hp-spark-fill {
  transition: height 0.4s ease;
}

.tch-hp-pane.is-on {
  animation: tch-hp-fade 0.18s ease;
}

.tch-hp-pop {
  animation: tch-hp-fade-up 0.28s ease;
}

@keyframes tch-hp-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tch-hp-fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tch-hp-bar-fill,
  .tch-hp-spark-fill,
  .tch-hp-pane.is-on,
  .tch-hp-pop {
    transition: none !important;
    animation: none !important;
  }

  .tch-hp-bars .tch-hp-bar-fill {
    width: var(--tch-w, 0);
  }

  .tch-hp-sparkline .tch-hp-spark-fill {
    height: var(--tch-h, 4%);
  }
}
