.dynamic-featured-image {
  height: auto;
}

.tte-safety-notice,
.tte-disclosure {
  border-left: 5px solid #6f42c1;
  background: #f5f1fb;
  padding: 22px 24px;
  margin: 0 0 30px;
}

.tte-safety-notice h2,
.tte-disclosure h2 {
  margin-top: 0;
}

.tte-article-figure {
  margin: 32px 0;
}

.tte-article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.tte-article-figure figcaption {
  color: #555;
  font-size: 0.9rem;
  margin-top: 10px;
}

article.type-post .entry-content h2,
article.type-post .entry-content h3 {
  scroll-margin-top: 24px;
}

.tte-heading-anchor {
  display: inline-block;
  margin-left: 0.35em;
  color: #6f42c1;
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  text-decoration: none;
  transform: translateY(-0.05em);
  transition: opacity 150ms ease;
}

article.type-post .entry-content h2:hover > .tte-heading-anchor,
article.type-post .entry-content h3:hover > .tte-heading-anchor,
.tte-heading-anchor:focus-visible {
  opacity: 1;
}

.tte-heading-anchor:hover,
.tte-heading-anchor:focus-visible {
  color: #47227d;
  text-decoration: underline;
}

@media (hover: none) {
  .tte-heading-anchor {
    opacity: 0.65;
  }
}

.tte-peptide-article h1,
.tte-peptide-article article.type-post .entry-content h2,
.tte-peptide-article article.type-post .entry-content h3,
.tte-spotify-agent-article h1,
.tte-spotify-agent-article article.type-post .entry-content h2,
.tte-spotify-agent-article article.type-post .entry-content h3,
.tte-deepseek-article h1,
.tte-deepseek-article article.type-post .entry-content h2,
.tte-deepseek-article article.type-post .entry-content h3 {
  text-transform: none !important;
}

.tte-model-table-wrap {
  margin: 30px 0 10px;
  overflow-x: auto;
}

.tte-model-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.tte-model-table th,
.tte-model-table td {
  padding: 13px 14px;
  border: 1px solid #d9d3e5;
  text-align: left;
}

.tte-model-table thead th {
  background: #292330;
  color: #fff;
}

.tte-model-table tbody th {
  font-weight: 600;
}

.tte-model-table .tte-model-highlight {
  background: #f0eafb;
}

.tte-chart-note {
  color: #5d5863;
  font-size: 0.88rem;
}

.tte-agent-stack {
  display: grid;
  gap: 10px;
  margin: 30px 0;
}

.tte-agent-stack > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid #d9d3e5;
  background: #faf8fd;
}

.tte-agent-stack span {
  color: #4e4a55;
}

.tte-agent-category-card {
  background: #f4f0fb;
  border-left: 6px solid #6f42c1;
}

@media (max-width: 560px) {
  .tte-agent-stack > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Standalone homepage */
.tte-home {
  --home-ink: #19191d;
  --home-paper: #f7f8fb;
  --home-white: #ffffff;
  --home-purple: #7049d8;
  --home-lavender: #e9e2ff;
  --home-cyan: #bdeef2;
  --home-line: #d9dce5;
  margin: 0;
  color: var(--home-ink);
  background: var(--home-paper);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

.tte-home *,
.tte-home *::before,
.tte-home *::after {
  box-sizing: border-box;
}

.tte-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.tte-home a {
  color: inherit;
}

.tte-home h1,
.tte-home h2,
.tte-home h3,
.tte-home .home-brand,
.tte-home .home-nav,
.tte-home .home-kicker,
.tte-home .home-primary-link,
.tte-home .home-topic-board,
.tte-home .home-card-meta,
.tte-home .home-text-link,
.tte-home .home-section-heading > p,
.tte-home .home-section-heading-row > a,
.tte-home .home-principle > p,
.tte-home .home-principle > a,
.tte-home .home-footer nav {
  font-family: Inter, Arial, sans-serif;
}

.tte-home h1,
.tte-home h2,
.tte-home h3,
.tte-home p {
  margin-top: 0;
}

.tte-home h1,
.tte-home h2,
.tte-home h3 {
  text-transform: none;
}

.home-skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--home-white);
  border: 2px solid var(--home-ink);
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  transform: translateY(-150%);
}

.home-skip-link:focus {
  transform: translateY(0);
}

.home-header {
  width: min(1240px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--home-line);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--home-ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.home-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-nav a {
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.home-nav a:hover,
.home-nav a:focus-visible {
  border-color: var(--home-purple);
}

.tte-home main {
  overflow: hidden;
}

.home-hero {
  width: min(1240px, calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
  padding: 92px 0 104px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
}

.home-hero-copy {
  min-width: 0;
}

.home-kicker {
  margin-bottom: 22px;
  color: var(--home-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(54px, 6.8vw, 104px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.home-hero h1 span {
  display: block;
  color: var(--home-purple);
}

.home-intro {
  max-width: 650px;
  margin-bottom: 34px;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.38;
}

.home-primary-link,
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.home-primary-link span,
.home-text-link span {
  color: var(--home-purple);
  font-size: 20px;
  transition: transform 160ms ease;
}

.home-primary-link:hover span,
.home-primary-link:focus-visible span {
  transform: translateY(4px);
}

.home-text-link:hover span,
.home-text-link:focus-visible span {
  transform: translateX(4px);
}

.home-topic-board {
  position: relative;
  background: var(--home-ink);
  color: var(--home-white);
  border-top: 9px solid var(--home-purple);
  box-shadow: 18px 18px 0 var(--home-cyan);
}

.home-topic-board > p {
  padding: 23px 28px 18px;
  margin: 0;
  color: #c9c9d1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-topic-board > a {
  min-height: 106px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  border-top: 1px solid #3d3d45;
  text-decoration: none;
}

.home-topic-board > a span {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.home-topic-board > a small {
  grid-column: 1;
  margin-top: 3px;
  color: #bcbcc6;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 16px;
}

.home-topic-board > a b {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--home-cyan);
  font-size: 24px;
  transition: transform 160ms ease;
}

.home-topic-board > a:hover,
.home-topic-board > a:focus-visible {
  background: #28282f;
}

.home-topic-board > a:hover b,
.home-topic-board > a:focus-visible b {
  transform: translate(4px, -4px);
}

.home-feature,
.home-guides {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.home-feature {
  padding: 94px 0 118px;
  border-top: 1px solid var(--home-line);
}

.home-section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.home-section-heading > p {
  margin-bottom: 12px;
  color: var(--home-purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.home-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  background: var(--home-white);
  border: 1px solid var(--home-line);
}

.home-feature-image {
  min-height: 540px;
  padding: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f1eff7;
}

.home-feature-image img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
  transition: transform 250ms ease;
}

.home-feature-image:hover img,
.home-feature-image:focus-visible img {
  transform: scale(1.018);
}

.home-feature-copy {
  padding: clamp(38px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-card-meta {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
  color: #656572;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-card-meta a {
  padding: 5px 8px;
  color: #44248e;
  background: var(--home-lavender);
  text-decoration: none;
}

.home-card-meta time {
  white-space: nowrap;
}

.home-feature-copy h3 {
  margin-bottom: 24px;
  font-size: clamp(31px, 3.4vw, 50px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.home-feature-copy h3 a,
.home-guide-card h3 a {
  text-decoration: none;
}

.home-feature-copy h3 a:hover,
.home-feature-copy h3 a:focus-visible,
.home-guide-card h3 a:hover,
.home-guide-card h3 a:focus-visible {
  color: var(--home-purple);
}

.home-feature-copy > p:not(.home-card-meta) {
  margin-bottom: 28px;
  color: #414149;
  font-size: 19px;
}

.home-guides {
  padding: 110px 0;
  border-top: 1px solid var(--home-line);
}

.home-section-heading-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.home-section-heading-row > div {
  max-width: 790px;
}

.home-section-heading-row > a {
  flex: 0 0 auto;
  padding-bottom: 7px;
  font-size: 13px;
  font-weight: 750;
  text-underline-offset: 5px;
}

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

.home-guide-card {
  overflow: hidden;
  background: var(--home-white);
  border: 1px solid var(--home-line);
}

.home-guide-card > div {
  padding: 28px 30px 32px;
}

.home-guide-image {
  display: block;
  overflow: hidden;
  background: #e8e9ee;
}

.home-guide-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 240ms ease;
}

.home-guide-image:hover img,
.home-guide-image:focus-visible img {
  transform: scale(1.025);
}

.home-guide-card h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.home-guide-card > div > p:last-child {
  margin-bottom: 0;
  color: #51515b;
}

.home-guide-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
}

.home-guide-card-wide .home-guide-image img {
  height: 100%;
  min-height: 340px;
}

.home-guide-card-wide > div {
  padding: clamp(34px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-principle {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 110px;
  padding: clamp(42px, 6vw, 82px);
  color: var(--home-ink);
  background: var(--home-cyan);
}

.home-principle > p {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-principle blockquote {
  max-width: 920px;
  margin: 0 0 30px;
  font-size: clamp(36px, 5.2vw, 74px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.home-principle > a {
  font-size: 13px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.home-footer {
  padding: 56px max(24px, calc((100% - 1240px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  color: var(--home-white);
  background: var(--home-ink);
}

.home-brand-footer {
  color: var(--home-white);
}

.home-brand-footer img {
  filter: grayscale(1) brightness(2.4);
}

.home-footer p {
  margin: 0;
  color: #bfbfc8;
  font-size: 16px;
}

.home-footer nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
}

.home-footer nav a {
  color: var(--home-white);
}

.tte-home a:focus-visible {
  outline: 3px solid var(--home-purple);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .home-header {
    padding: 18px 0;
    align-items: flex-start;
  }

  .home-nav {
    max-width: 440px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px 20px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding: 74px 0 95px;
  }

  .home-topic-board {
    width: calc(100% - 18px);
  }

  .home-feature-card,
  .home-guide-card-wide {
    grid-template-columns: 1fr;
  }

  .home-feature-image {
    min-height: 0;
  }

  .home-guide-card-wide .home-guide-image img {
    min-height: 0;
  }

  .home-footer {
    grid-template-columns: 1fr auto;
  }

  .home-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .tte-home {
    font-size: 17px;
  }

  .home-header,
  .home-hero,
  .home-feature,
  .home-guides,
  .home-principle {
    width: min(100% - 32px, 1240px);
  }

  .home-header {
    min-height: 76px;
  }

  .home-brand span {
    display: none;
  }

  .home-brand img {
    width: 42px;
    height: 42px;
  }

  .home-nav {
    gap: 4px 14px;
    font-size: 11px;
    min-width: 0;
  }

  .home-nav a {
    white-space: nowrap;
  }

  .home-nav a:nth-child(2),
  .home-nav a:nth-child(3),
  .home-nav a:nth-child(4) {
    display: none;
  }

  .home-hero {
    min-height: 0;
    padding: 62px 0 82px;
    gap: 56px;
  }

  .home-hero h1 {
    max-width: 100%;
    font-size: clamp(44px, 12vw, 52px);
    letter-spacing: -0.065em;
  }

  .home-intro {
    font-size: 20px;
  }

  .home-topic-board {
    box-shadow: 10px 10px 0 var(--home-cyan);
  }

  .home-topic-board > a {
    min-height: 92px;
    padding: 18px 22px;
  }

  .home-feature {
    padding: 74px 0 88px;
  }

  .home-feature-image {
    padding: 22px;
  }

  .home-feature-copy {
    padding: 32px 24px 38px;
  }

  .home-guides {
    padding: 84px 0;
  }

  .home-section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .home-guide-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-guide-card,
  .home-guide-card-wide {
    grid-column: auto;
    display: block;
  }

  .home-guide-card > div,
  .home-guide-card-wide > div {
    padding: 26px 22px 30px;
  }

  .home-principle {
    margin-bottom: 74px;
    padding: 42px 24px;
  }

  .home-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-footer .home-brand span {
    display: inline;
  }

  .home-footer p {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tte-home *,
  .tte-home *::before,
  .tte-home *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.tte-ai-guides {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
  border-top: 1px solid var(--home-line);
}

.tte-ai-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 42px;
  font-size: 14px;
  font-weight: 700;
}

.tte-ai-topic-links a { text-underline-offset: 5px; }
.tte-ai-topic { margin-top: 36px; }
.tte-ai-topic > h3 { margin-bottom: 18px; font-size: 23px; scroll-margin-top: 24px; }
.tte-ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tte-ai-card { padding: 26px; border: 1px solid var(--home-line); background: var(--home-white); }
.tte-ai-card h3 { margin-bottom: 14px; font-size: 24px; line-height: 1.18; letter-spacing: -0.025em; }
.tte-ai-card h3 a { text-decoration: none; }
.tte-ai-card h3 a:hover, .tte-ai-card h3 a:focus-visible { color: var(--home-purple); text-decoration: underline; }
.tte-ai-card > p:last-child { margin: 0; color: #51515b; font-size: 16px; }
.tte-ai-card .home-card-meta { margin-bottom: 14px; }

.tte-guide-main { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 38px 0 80px; }
.tte-guide-breadcrumb { color: #575762; font-size: 14px; margin-bottom: 44px; }
.tte-guide-breadcrumb a { text-underline-offset: 4px; }
.tte-guide-heading { max-width: 970px; padding-bottom: 42px; border-bottom: 1px solid var(--home-line); }
.tte-guide-heading h1 { margin: 0 0 22px; font-size: clamp(36px, 5.1vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em; }
.tte-guide-deck { max-width: 850px; font-size: 22px; line-height: 1.45; color: #414149; }
.tte-guide-meta { margin: 20px 0 0; font-size: 14px; color: #575762; }
.tte-guide-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; padding-top: 42px; }
.tte-guide-toc { align-self: start; }
.tte-guide-toc h2 { margin-bottom: 16px; font-size: 15px; font-weight: 800; }
.tte-guide-toc ol { padding-left: 20px; margin: 0; font-size: 14px; line-height: 1.45; }
.tte-guide-toc li { margin-bottom: 12px; }
.tte-guide-toc a { color: #51515b; text-decoration: none; }
.tte-guide-toc a:hover, .tte-guide-toc a:focus-visible { color: var(--home-purple); text-decoration: underline; }
.tte-guide-content { min-width: 0; font-size: 18px; line-height: 1.72; }
.tte-guide-content p { margin: 0 0 22px; }
.tte-guide-content h2 { margin: 42px 0 18px; font-size: 30px; line-height: 1.18; font-weight: 750; letter-spacing: -0.025em; scroll-margin-top: 24px; }
.tte-guide-content h3 { margin: 30px 0 14px; font-size: 23px; line-height: 1.25; }
.tte-guide-content ul, .tte-guide-content ol { padding-left: 24px; margin: 0 0 24px; }
.tte-guide-content li { margin-bottom: 9px; }
.tte-guide-content a { color: #4f26bb; text-underline-offset: 3px; overflow-wrap: anywhere; }
.tte-guide-content pre { padding: 22px; margin-bottom: 26px; background: #202027; color: #fafafa; border-radius: 4px; overflow-x: auto; font-size: 14px; line-height: 1.6; white-space: pre; }
.tte-guide-content code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.88em; overflow-wrap: anywhere; }
.tte-guide-content blockquote { padding: 20px 24px; margin: 24px 0; border-left: 4px solid var(--home-purple); background: #eeeaf8; }
.tte-guide-table { overflow-x: auto; margin: 26px 0; }
.tte-guide-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.tte-guide-table th, .tte-guide-table td { padding: 14px; border: 1px solid var(--home-line); text-align: left; vertical-align: top; }
.tte-guide-table th { background: #eeeaf8; }
.tte-guide-sources { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--home-line); }
.tte-guide-sources > p { font-size: 14px; color: #575762; }
.tte-guide-sources ul { font-size: 16px; }
.tte-guide-related { margin-top: 68px; padding-top: 36px; border-top: 1px solid var(--home-line); }
.tte-guide-related > h2 { font-size: 32px; margin-bottom: 24px; }
.tte-guide-related .tte-ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .tte-ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tte-guide-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 680px) {
  .tte-ai-guides { width: calc(100% - 32px); padding: 46px 0 58px; }
  .tte-ai-grid, .tte-guide-related .tte-ai-grid { grid-template-columns: 1fr; }
  .tte-ai-card { padding: 22px; }
  .tte-guide-main { width: calc(100% - 32px); padding-top: 24px; }
  .tte-guide-breadcrumb { margin-bottom: 30px; }
  .tte-guide-deck { font-size: 19px; }
  .tte-guide-layout { display: block; padding-top: 26px; }
  .tte-guide-toc { padding: 22px; margin-bottom: 32px; background: #eeeaf8; }
  .tte-guide-content { font-size: 17px; }
  .tte-guide-content h2 { font-size: 27px; }
  .tte-guide-content pre { padding: 16px; }
}

/* Guide components: advisory panel, terminals, callouts, steps, accordions */
.tte-guide-content .tte-advisory { margin: 0 0 48px; background: #fff; border: 1px solid #e8cfcc; border-radius: 8px; overflow: hidden; }
.tte-advisory-band { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 15px 26px; background: #b42318; color: #fff; font-family: Inter, Arial, sans-serif; }
.tte-guide-content .tte-sev { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.tte-sev strong { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; }
.tte-sev span { font-size: 15px; font-weight: 500; opacity: 0.92; }
.tte-guide-content .tte-advisory-facts { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.tte-guide-content .tte-advisory-facts li { position: relative; margin: 0; padding-left: 15px; }
.tte-advisory-facts li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.75); }
.tte-advisory-body { padding: 26px 26px 24px; }
.tte-guide-content .tte-advisory-lead { margin: 0 0 24px; font-size: 21px; line-height: 1.5; color: #19191d; }
.tte-advisory-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.tte-advisory-split > div { padding: 15px 18px; border-radius: 6px; font-size: 16px; line-height: 1.55; }
.tte-guide-content .tte-advisory-split p { margin: 0; }
.tte-yes { background: #fdf1f0; box-shadow: inset 3px 0 0 #b42318; }
.tte-no { background: #eef6f0; box-shadow: inset 3px 0 0 #1d7a3c; }
.tte-guide-content .tte-advisory h3 { margin: 0 0 6px; font: 700 15px/1.3 Inter, Arial, sans-serif; letter-spacing: 0; }
.tte-guide-content .tte-yes h3 { color: #9b1c14; }
.tte-guide-content .tte-no h3 { color: #17602d; }
.tte-guide-content ol.tte-advisory-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 10px 0 22px; padding: 0; list-style: none; counter-reset: adv; border: 1px solid var(--home-line); border-radius: 6px; }
.tte-guide-content .tte-advisory-steps li { position: relative; counter-increment: adv; margin: 0; padding: 14px 14px 15px 50px; border-left: 1px solid var(--home-line); font-family: Inter, Arial, sans-serif; }
.tte-guide-content .tte-advisory-steps li:first-child { border-left: 0; }
.tte-advisory-steps li:hover { background: #f6f3fe; }
.tte-advisory-steps li::before { content: counter(adv); position: absolute; left: 15px; top: 15px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--home-purple); color: #fff; font: 700 13px/1 Inter, Arial, sans-serif; }
.tte-guide-content .tte-advisory-steps a { display: block; color: #19191d; font-size: 15.5px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.tte-advisory-steps a::after { content: ""; position: absolute; inset: 0; }
.tte-guide-content .tte-advisory-steps a:hover { color: var(--home-purple); }
.tte-advisory-steps a:focus-visible { outline: none; }
.tte-advisory-steps li:has(a:focus-visible) { outline: 2px solid var(--home-purple); outline-offset: -2px; }
.tte-advisory-steps span { display: block; margin-top: 3px; color: #5d5d68; font-size: 13.5px; line-height: 1.4; }
.tte-guide-content .tte-advisory-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0; color: #3b3b44; font: 500 14px/1.5 Inter, Arial, sans-serif; }
.tte-advisory-status b { color: #19191d; font-weight: 700; }
.tte-advisory-status em { margin-left: auto; color: #6a6a75; font-style: normal; }
.tte-dot { display: inline-flex; align-items: center; gap: 6px; }
.tte-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.tte-dot-ok::before { background: #1d7a3c; }
.tte-dot-wait::before { background: #d08a00; }

.tte-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font: 700 12.5px/1.4 Inter, Arial, sans-serif; white-space: nowrap; }
.tte-badge-fixed { background: #dff3e4; color: #17602d; }
.tte-badge-testing { background: #fff1cc; color: #7a5200; }
.tte-badge-open { background: #fde2e1; color: #9b1c18; }

.tte-guide-content .tte-term { position: relative; margin: 0 0 26px; background: #1c1d24; border-radius: 8px; overflow: hidden; }
.tte-guide-content .tte-term pre { margin: 0; padding: 18px 92px 18px 20px; background: none; border-radius: 0; color: #ececf1; font-size: 14px; line-height: 1.6; }
.tte-term .tte-ln::before { content: "$ "; color: #a48cf0; user-select: none; }
.tte-term .tte-cm { color: #8a8ea0; }
.tte-term-out { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.tte-term-out > span { display: block; padding: 0 20px; color: #8a8ea0; font: 600 12px/1.4 Inter, Arial, sans-serif; }
.tte-guide-content .tte-term-out pre { padding-top: 6px; padding-right: 20px; color: #b9bdcc; }
.tte-term figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px 0 20px; background: #25262f; border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: #c3c6d4; font: 600 13px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.tte-guide-content .tte-file pre { padding-right: 20px; }
.tte-codebox { position: relative; margin-bottom: 26px; }
.tte-guide-content .tte-codebox > pre { margin: 0; padding-right: 92px; }
.tte-copy { position: absolute; top: 16px; right: 12px; height: 27px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 5px; background: #2a2b35; color: #d6d7e0; font: 600 12px/1 Inter, Arial, sans-serif; cursor: pointer; }
.tte-codebox > .tte-copy { top: 20px; }
.tte-term figcaption .tte-copy { position: static; }
.tte-copy:hover { background: #353643; color: #fff; }
.tte-copy:focus-visible { outline: 2px solid #a48cf0; outline-offset: 2px; }

.tte-guide-content .tte-callout { margin: 26px 0; padding: 16px 20px 16px 20px; border-left: 4px solid; border-radius: 0 6px 6px 0; font-size: 17px; line-height: 1.6; }
.tte-guide-content .tte-callout > :last-child { margin-bottom: 0; }
.tte-guide-content .tte-callout p { margin-bottom: 8px; }
.tte-callout-title { display: block; margin-bottom: 4px; font: 700 15.5px/1.4 Inter, Arial, sans-serif; }
.tte-guide-content .tte-callout-warn { background: #fff7e6; border-color: #d99a00; }
.tte-guide-content .tte-callout-info { background: #f1edfc; border-color: var(--home-purple); }
.tte-guide-content .tte-callout-bad { background: #fdeeed; border-color: #b42318; }

.tte-guide-content ol.tte-steps { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: tte-step; }
.tte-guide-content ol.tte-steps > li { position: relative; counter-increment: tte-step; margin: 0 0 22px; padding: 0 0 22px 56px; border-bottom: 1px solid var(--home-line); }
.tte-guide-content ol.tte-steps > li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.tte-guide-content ol.tte-steps > li::before { content: counter(tte-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--home-purple); color: #fff; font: 700 16px/1 Inter, Arial, sans-serif; }
.tte-guide-content .tte-steps h3 { margin: 4px 0 12px; font-size: 21px; }
.tte-guide-content details.tte-distro { margin: 0 0 10px; background: #fff; border: 1px solid var(--home-line); border-radius: 8px; }
.tte-guide-content details.tte-distro > summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font: 700 16.5px/1.35 Inter, Arial, sans-serif; cursor: pointer; list-style: none; }
.tte-guide-content details.tte-distro > summary::-webkit-details-marker { display: none; }
.tte-guide-content details.tte-distro > summary .tte-badge { margin-left: auto; }
.tte-guide-content details.tte-distro > summary::after { content: "+"; width: 18px; color: var(--home-purple); font-size: 22px; font-weight: 400; line-height: 1; text-align: center; }
.tte-guide-content details.tte-distro > summary:not(:has(.tte-badge))::after { margin-left: auto; }
.tte-guide-content details.tte-distro[open] > summary::after { content: "−"; }
.tte-guide-content details.tte-distro[open] > summary { border-bottom: 1px solid var(--home-line); }
.tte-guide-content details.tte-distro > summary:focus-visible { outline: 2px solid var(--home-purple); outline-offset: 2px; border-radius: 8px; }
.tte-distro-body { padding: 18px 18px 2px; }
.tte-guide-content .tte-distro-body .tte-term { margin-bottom: 16px; }
.tte-guide-content .tte-guide-table td code { overflow-wrap: normal; white-space: nowrap; font-size: 0.85em; }
.tte-guide-content .tte-faq h3 { margin: 26px 0 8px; font-size: 20px; }
.tte-guide-toc nav { position: sticky; top: 24px; }

@media (max-width: 680px) {
  .tte-advisory-band { padding: 14px 18px; }
  .tte-guide-content .tte-advisory-facts { margin-left: 0; }
  .tte-advisory-body { padding: 20px 18px; }
  .tte-guide-content .tte-advisory-lead { font-size: 19px; }
  .tte-advisory-split { grid-template-columns: 1fr; }
  .tte-guide-content ol.tte-advisory-steps { grid-template-columns: 1fr; }
  .tte-guide-content .tte-advisory-steps li { border-left: 0; border-top: 1px solid var(--home-line); }
  .tte-guide-content .tte-advisory-steps li:first-child { border-top: 0; }
  .tte-advisory-status em { margin-left: 0; width: 100%; }
  .tte-guide-content .tte-term pre { padding: 15px 84px 15px 16px; font-size: 13px; }
  .tte-guide-content .tte-file pre, .tte-guide-content .tte-term-out pre { padding-right: 16px; }
  .tte-guide-content .tte-term:not(.tte-file) > pre, .tte-guide-content .tte-codebox > pre { padding-right: 78px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .tte-term-out > span { padding: 0 16px; }
  .tte-copy { top: 13px; }
  .tte-codebox > .tte-copy { top: 14px; }
  .tte-guide-content ol.tte-steps > li { padding-left: 44px; }
  .tte-guide-content ol.tte-steps > li::before { top: 2px; width: 30px; height: 30px; font-size: 15px; }
  .tte-guide-content ol.tte-steps > li > :not(h3) { margin-left: -44px; }
  .tte-guide-table table.tte-status-table { min-width: 0; font-size: 14.5px; }
  .tte-guide-table .tte-status-table th, .tte-guide-table .tte-status-table td { padding: 10px 8px; }
  .tte-status-table .tte-badge { padding: 3px 8px; font-size: 11.5px; }
  .tte-guide-toc nav { position: static; }
}
@media (prefers-reduced-motion: reduce) { .tte-guide-content * { scroll-behavior: auto; } }

/* Site chrome: header and footer shared by the homepage and guides */
.tte-home .site-header { background: var(--home-paper); border-bottom: 1px solid var(--home-line); }
.site-header-inner { display: flex; align-items: center; gap: 24px; width: min(1160px, calc(100% - 48px)); min-height: 72px; margin: 0 auto; }
.tte-home .site-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--home-ink); font: 800 19px/1 Inter, Arial, sans-serif; letter-spacing: -0.02em; text-decoration: none; }
.tte-home .site-brand img { width: 38px; height: 38px; border-radius: 50%; }
.site-nav { display: flex; gap: 2px; margin-left: auto; font: 600 14.5px/1 Inter, Arial, sans-serif; }
.tte-home .site-nav a { padding: 9px 12px; border-radius: 6px; color: #3b3b44; text-decoration: none; white-space: nowrap; }
.tte-home .site-nav a:hover { background: #eaecf3; color: var(--home-ink); }
.tte-home .site-find { display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 9px 15px 9px 13px; border: 1.5px solid var(--home-ink); border-radius: 999px; color: var(--home-ink); font: 700 14px/1 Inter, Arial, sans-serif; text-decoration: none; }
.tte-home .site-find:hover { background: var(--home-ink); color: #fff; }
.tte-home .site-header a:focus-visible, .tte-home .site-footer a:focus-visible { outline: 2px solid var(--home-purple); outline-offset: 3px; }

.tte-home .site-footer { margin: 0; padding: 0; background: var(--home-ink); color: #d9dae3; }
.site-footer-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 56px; width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 34px; }
.tte-home .site-brand-footer { color: #fff; }
.tte-home .site-footer-about p { max-width: 40ch; margin: 18px 0 0; color: #b8bac7; font-size: 16px; line-height: 1.7; }
.tte-home .site-footer h2 { margin: 2px 0 16px; color: #fff; font: 700 14px/1.3 Inter, Arial, sans-serif; letter-spacing: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer-topics ul { columns: 2; column-gap: 28px; }
.site-footer li { margin: 0 0 10px; break-inside: avoid; }
.tte-home .site-footer li a { display: inline-flex; align-items: center; gap: 10px; color: #d9dae3; font: 500 15px/1.4 Inter, Arial, sans-serif; text-decoration: none; }
.tte-home .site-footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer li i { flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--topic); }
.tte-home .site-footer-legal { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #9a9caa; font: 500 13.5px/1.4 Inter, Arial, sans-serif; }

@media (max-width: 960px) {
  .site-nav a:nth-child(n+3):not(:last-child) { display: none; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .site-header-inner { flex-wrap: wrap; gap: 0 12px; width: calc(100% - 32px); min-height: 0; padding-top: 12px; }
  .tte-home .site-brand { font-size: 17px; }
  .tte-home .site-brand img { width: 34px; height: 34px; }
  .tte-home .site-find { order: 2; margin-left: auto; padding: 8px 13px 8px 11px; font-size: 13.5px; }
  .site-nav { order: 3; width: calc(100% + 32px); margin: 10px -16px 0; padding: 0 10px 8px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a:nth-child(n+3):not(:last-child) { display: inline-block; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 34px; width: calc(100% - 32px); padding: 48px 0 28px; }
}

/* Homepage: magazine front page with typographic covers */
.mg-wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding-bottom: 96px; }
.mg-swatch { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--topic); }
.mg-intro { padding: 44px 0 30px; }
.tte-home.mg .mg-intro h1 { max-width: 24ch; margin: 0; font: 800 clamp(30px, 3.5vw, 44px)/1.06 Inter, Arial, sans-serif; letter-spacing: -0.032em; }
.tte-home .mg-intro p { max-width: 62ch; margin: 12px 0 0; color: #4d4d59; font-size: 18px; line-height: 1.6; }

.mg-cover { container-type: inline-size; display: block; overflow: hidden; border-radius: 8px; }
.mg-cover-in { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 10; padding: 7cqw 7cqw 6.5cqw; background: color-mix(in srgb, var(--topic) 13%, #ffffff); color: color-mix(in srgb, var(--topic) 80%, #000000); font-family: Inter, Arial, sans-serif; }
.mg-cover-topic { font-size: max(11px, 4.6cqw); font-weight: 650; line-height: 1.2; }
.mg-cover-word { display: block; font-weight: 900; line-height: 0.92; letter-spacing: -0.045em; text-wrap: balance; }
.mg-w-xl { font-size: 36cqw; }
.mg-w-l { font-size: 22cqw; }
.mg-w-m { font-size: 16.5cqw; }
.mg-w-s { font-size: 13.2cqw; }
.mg-w-xs { font-size: 10.8cqw; }
.mg-w-xxs { font-size: 8.4cqw; letter-spacing: -0.035em; }
.mg-cover-lead .mg-cover-in { aspect-ratio: 16 / 9; background: var(--topic); color: #ffffff; }
.mg-cover-lead .mg-cover-topic { font-size: max(13px, 2.6cqw); opacity: 0.9; }
.mg-cover-lead .mg-w-xxs { font-size: 9.6cqw; }

.tte-home .mg-meta { display: inline-flex; align-items: center; gap: 8px; color: #3b3b44; font: 600 13.5px/1.3 Inter, Arial, sans-serif; }
.mg-meta time { margin-left: 8px; color: #6a6b78; font-weight: 500; }

.mg-front { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 52px; padding-bottom: 60px; border-bottom: 1px solid var(--home-line); }
.tte-home .mg-feature-link { display: block; border-radius: 8px; text-decoration: none; }
.tte-home .mg-feature-link:hover .mg-cover-in { background: color-mix(in srgb, var(--topic) 88%, #000000); }
.mg-feature-copy { padding-top: 20px; }
.tte-home.mg .mg-feature h2 { max-width: 26ch; margin: 10px 0 12px; font: 800 clamp(26px, 2.8vw, 38px)/1.1 Inter, Arial, sans-serif; letter-spacing: -0.028em; }
.tte-home .mg-feature h2 a { text-decoration: none; }
.tte-home .mg-feature h2 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.tte-home .mg-feature-copy p { max-width: 60ch; margin: 0; color: #3e3e48; font-size: 18px; line-height: 1.62; }

.tte-home.mg .mg-side h2 { margin: 0 0 4px; padding-bottom: 12px; border-bottom: 2px solid var(--home-ink); font: 800 20px/1.2 Inter, Arial, sans-serif; letter-spacing: -0.015em; }
.mg-side ol { margin: 0; padding: 0; list-style: none; }
.mg-side li { display: flex; flex-direction: column; gap: 7px; padding: 17px 0 18px; border-bottom: 1px solid var(--home-line); }
.tte-home .mg-side li > a { color: var(--home-ink); font: 700 18px/1.3 Inter, Arial, sans-serif; letter-spacing: -0.01em; text-decoration: none; }
.tte-home .mg-side li > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tte-home .mg-side-all { display: inline-block; margin-top: 18px; color: var(--home-purple); font: 700 15px/1.3 Inter, Arial, sans-serif; text-underline-offset: 4px; }

.mg-library { padding-top: 52px; scroll-margin-top: 16px; }
.mg-library-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.tte-home.mg .mg-library-head h2 { margin: 0; font: 800 clamp(28px, 3vw, 38px)/1.05 Inter, Arial, sans-serif; letter-spacing: -0.03em; }
.mg-search { width: min(420px, 100%); }
.mg-search label { display: block; margin-bottom: 7px; color: #4d4d59; font: 600 13.5px/1.3 Inter, Arial, sans-serif; }
.tte-home .mg-search input { width: 100%; margin: 0; padding: 12px 18px 12px 44px; border: 1.5px solid var(--home-ink); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='5.75' fill='none' stroke='%2319191d' stroke-width='2'/%3E%3Cpath d='m13 13 4.5 4.5' stroke='%2319191d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 17px 50% / 17px 17px; color: var(--home-ink); font: 500 16.5px/1.3 Inter, Arial, sans-serif; outline: none; -webkit-appearance: none; appearance: none; }
.tte-home .mg-search input::placeholder { color: #8b8c99; opacity: 1; }
.tte-home .mg-search input:focus { border-color: var(--home-purple); box-shadow: 0 0 0 3px #ded5fb; }
.tte-home .mg-search-status { position: absolute; margin: 6px 0 0 18px; color: #4d4d59; font: 500 13.5px/1.4 Inter, Arial, sans-serif; }
.mg-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 4px; }
.tte-home .mg-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; border: 1px solid var(--home-line); border-radius: 999px; background: #fff; color: var(--home-ink); font: 600 13.5px/1.2 Inter, Arial, sans-serif; text-decoration: none; }
.tte-home .mg-jump a:hover { border-color: var(--home-ink); }

.mg-shelf { margin-top: 48px; scroll-margin-top: 16px; }
.mg-shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 11px; border-bottom: 2px solid var(--topic); }
.tte-home.mg .mg-shelf-head h3 { display: flex; align-items: center; gap: 11px; margin: 0; font: 800 23px/1.2 Inter, Arial, sans-serif; letter-spacing: -0.02em; }
.mg-shelf-head h3 .mg-swatch { width: 14px; height: 14px; border-radius: 4px; }
.mg-shelf-head small { color: #6a6b78; font: 500 14px/1 Inter, Arial, sans-serif; }
.mg-shelf ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; margin: 0; padding: 0; list-style: none; }
.tte-home .mg-card a { display: block; border-radius: 8px; color: var(--home-ink); text-decoration: none; }
.tte-home .mg-card a:hover .mg-cover-in { background: color-mix(in srgb, var(--topic) 22%, #ffffff); }
.mg-card-title { display: -webkit-box; margin-top: 12px; overflow: hidden; font: 700 16.5px/1.32 Inter, Arial, sans-serif; letter-spacing: -0.01em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tte-home .mg-card a:hover .mg-card-title { text-decoration: underline; text-underline-offset: 3px; }
.mg-card time { display: block; margin-top: 6px; color: #6a6b78; font: 500 13px/1.3 Inter, Arial, sans-serif; }
.tte-home.mg a:focus-visible { outline: 2px solid var(--home-purple); outline-offset: 4px; }
.tte-home .mg-empty { margin: 36px 0 0; padding: 20px 22px; border: 1px dashed #b9bccb; border-radius: 8px; background: #fff; color: #3b3b44; font: 500 16px/1.5 Inter, Arial, sans-serif; }
.mg-card[hidden], .mg-shelf[hidden], .mg-empty[hidden], .mg-search[hidden] { display: none; }

@media (max-width: 960px) {
  .mg-front { grid-template-columns: 1fr; gap: 36px; }
  .mg-shelf ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .mg-wrap { width: calc(100% - 32px); padding-bottom: 64px; }
  .mg-intro { padding: 28px 0 22px; }
  .tte-home .mg-intro p { font-size: 16.5px; }
  .mg-front { padding-bottom: 40px; }
  .mg-library { padding-top: 40px; }
  .mg-search { width: 100%; }
  .tte-home .mg-search-status { position: static; margin: 8px 0 0 4px; }
  .mg-jump { flex-wrap: nowrap; width: calc(100% + 32px); margin: 22px -16px 0; padding: 2px 16px 6px; overflow-x: auto; scrollbar-width: none; }
  .mg-jump::-webkit-scrollbar { display: none; }
  .tte-home .mg-jump a { flex: none; }
  .mg-shelf { margin-top: 38px; }
  .mg-shelf ul { display: flex; gap: 16px; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
  .mg-shelf ul::-webkit-scrollbar { display: none; }
  .mg-card { flex: 0 0 68%; scroll-snap-align: start; }
}
.mg-shelf .mg-cover-topic { display: none; }
.mg-shelf .mg-cover-in { justify-content: flex-end; }

/* WordPress-era pages in the current design: old posts, archives, About, 404 */
.tte-guide-content .tte-age-note { margin: 0 0 30px; padding: 16px 20px; border: 1px solid #ecd9a6; border-left: 4px solid #b98900; border-radius: 6px; background: #fdf8ea; color: #4a3f22; font-size: 16px; line-height: 1.55; }
.tte-guide-content .tte-age-note strong { color: #3a3012; }
.tte-guide-content .tte-legacy-hero { margin: 0 0 34px; }
.tte-guide-content .tte-legacy-hero img { display: block; width: 100%; height: auto; border-radius: 8px; }
.tte-guide-content figure { margin: 30px 0; }
.tte-guide-content img { max-width: 100%; height: auto; border-radius: 6px; }
.tte-guide-content figcaption { margin-top: 10px; color: #575762; font-size: 14px; line-height: 1.5; }
.tte-guide-content hr { margin: 40px 0; border: 0; border-top: 1px solid var(--home-line); }
.tte-guide-content h4 { margin: 24px 0 10px; font-size: 19px; line-height: 1.3; }
.tte-guide-content .tte-legacy-embed { padding: 16px 20px; border: 1px solid var(--home-line); border-radius: 6px; background: #fff; font-size: 16px; }
.tte-guide-content .tte-legacy-embed a { font-weight: 700; }
.tte-legacy-page .tte-guide-heading h1 { text-transform: none; }
.tte-simple-page .tte-guide-heading { border-bottom: 0; padding-bottom: 8px; }
.tte-simple-page .tte-page-content { max-width: 760px; padding-top: 8px; }
.tte-simple-page .tte-guide-content h2 { margin-top: 34px; font-size: 26px; }
.tte-notfound-links { display: flex; flex-wrap: wrap; gap: 12px; }
.tte-guide-content .tte-notfound-links a { padding: 11px 18px; border: 1px solid var(--home-ink); border-radius: 999px; color: var(--home-ink); font: 700 15px/1 Inter, Arial, sans-serif; text-decoration: none; }
.tte-guide-content .tte-notfound-links a:first-child { background: var(--home-ink); color: #fff; }

.lp-main { padding-top: 38px; }
.lp-head { max-width: 760px; padding-bottom: 8px; }
.tte-home.mg .lp-head h1 { margin: 0 0 12px; font: 800 clamp(34px, 4.4vw, 54px)/1.04 Inter, Arial, sans-serif; letter-spacing: -0.04em; }
.tte-home .lp-head p { margin: 0; color: #414149; font-size: 19px; line-height: 1.5; }
.tte-home .lp-head .lp-count { margin-top: 14px; color: #6a6b78; font: 500 14px/1.3 Inter, Arial, sans-serif; }
.lp-grid { margin-top: 34px; }
.mg-shelf.lp-grid .mg-cover-topic { display: block; }
.mg-shelf.lp-grid .mg-cover-in { justify-content: space-between; }
@media (max-width: 680px) {
  .lp-main { padding-top: 24px; }
  .tte-home .lp-head p { font-size: 17px; }
  .mg-shelf.lp-grid ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; width: auto; margin: 0; padding: 0; overflow: visible; }
  .mg-shelf.lp-grid .mg-card { flex: none; }
  .mg-shelf.lp-grid .mg-card-title { font-size: 15px; }
}
