.view[data-route="trends"] {
  max-width: none;
  padding: 0;
  background: #141412;
  color: #f5f1e8;
}
.tr {
  --tr-ink: #f5f1e8;
  --tr-muted: #c0b8aa;
  --tr-line: #403b32;
  --tr-poster: #27251f;
  --tr-rust: #ad4c36;
  --tr-serif: var(--g-font-display, 'Prata', Georgia, serif);
  width: min(100%, 1420px);
  margin-inline: auto;
  padding: clamp(25px, 3vw, 46px) clamp(16px, 5vw, 72px) 70px;
}
.tr a, .tr button, .tr select, .tr summary { -webkit-tap-highlight-color: transparent; }
.tr :is(a, button, select, summary, video):focus-visible {
  outline: 2px solid #f4ba9f;
  outline-offset: 5px;
}
.tr-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tr-line);
  margin-bottom: 22px;
}
.tr-heading h1, .tr-hero h2, .tr-detail h1 {
  margin: 0;
  color: var(--tr-ink);
  font-family: var(--tr-serif);
  font-weight: 400;
  letter-spacing: -.036em;
}
.tr-heading h1 { font-size: clamp(44px, 6vw, 74px); line-height: 1.06; }
.tr-heading p, .tr-desc {
  margin: 0;
  color: var(--tr-muted);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.65;
}
.tr-hero {
  display: grid;
  grid-template-columns: minmax(0, .90fr) minmax(0, 1.1fr);
  grid-template-areas: "intro art";
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--tr-line);
  border-radius: 10px;
  background: #20201c;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.tr-hero[hidden] { display: none; }
.tr-hero-art {
  display: block;
  position: relative;
  grid-area: art;
  isolation: isolate;
  min-height: clamp(285px, 27vw, 405px);
  background: var(--tr-poster);
  overflow: hidden;
}
.tr-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #20201c 0, #20201c00 22%);
}
.tr-hero-art img, .tr-card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tr-hero-art img { position: absolute; inset: 0; object-position: center 62%; }
.tr-hero-art:focus-visible { outline-offset: -7px !important; }
.tr-hero-copy {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 17px;
  padding: clamp(24px, 3.4vw, 46px);
}
.tr-caption {
  margin: 0;
  color: #eab299;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}
.tr-hero h2 { max-width: 14ch; font-size: clamp(31px, 4vw, 58px); line-height: 1.13; }
.tr-desc { max-width: 43ch; }
.tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 19px;
  border-radius: 5px;
  background: var(--tr-rust);
  color: #fff9f1;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
.tr-btn:hover { background: #bd563e; color: #fff; }
.tr-btn svg, .tr-play svg { width: 18px; height: 18px; flex: none; }
.tr-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 0 0 20px;
}
.tr-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-cats button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--tr-line);
  border-radius: 5px;
  background: #201e1b;
  color: var(--tr-muted);
  font: 650 13px/1.2 var(--g-font-ui);
  cursor: pointer;
}
.tr-cats button:hover { border-color: #887466; color: var(--tr-ink); }
.tr-cats button[aria-pressed="true"] { border-color: #efc8ad; background: #f1dfcb; color: #252018; }
.tr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); }
.tr-card {
  display: block;
  min-width: 0;
  color: var(--tr-ink);
  text-decoration: none;
}
.tr-card:hover { color: #fff6e8; }
.tr-card-art {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--tr-line);
  border-radius: 7px;
  background: var(--tr-poster);
}
.tr-card img { transition: transform .25s ease; }
.tr-card:hover img { transform: scale(1.035); }
.tr-play, .tr-time {
  position: absolute;
  display: grid;
  place-items: center;
  color: white;
  background: #141412e6;
}
.tr-play {
  inset-inline-start: 12px;
  inset-block-end: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff44;
  border-radius: 50%;
}
.tr-time {
  padding: 4px 8px;
  inset-block-start: 11px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.4;
}
.tr-time { inset-inline-end: 11px; }
.tr-card-text { padding: 13px 1px 11px; }
.tr-card-text span { color: var(--tr-muted); font-size: 12px; line-height: 1.35; }
.tr-card h2 {
  margin: 5px 0 0;
  font: 400 clamp(19px, 2.4vw, 29px)/1.22 var(--tr-serif);
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.tr-empty { grid-column: 1 / -1; margin: 24px 0; color: var(--tr-muted); }
.tr-back { display: inline-block; padding: 6px 0; color: var(--tr-muted); text-decoration: none; }
.tr-back:hover { color: var(--tr-ink); }
.tr-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 82px);
  margin-top: 24px;
}
.tr-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tr-line);
  border-radius: 9px;
  background: #0a0a09;
}
.tr-preview :is(video, img) {
  display: block;
  width: 100%;
  max-height: min(72vh, 740px);
  object-fit: contain;
}
.tr-preview video:focus-visible { outline-offset: -5px; }
.tr-detail-copy { padding-top: clamp(0px, 3vw, 38px); }
.tr-detail h1 { font-size: clamp(34px, 4.8vw, 67px); line-height: 1.12; margin: 12px 0 14px; }
.tr-facts { margin: 24px 0 0; border-top: 1px solid var(--tr-line); }
.tr-facts div {
  display: grid;
  grid-template-columns: minmax(105px, .5fr) minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--tr-line);
  padding: 13px 0;
  font-size: 14px;
  line-height: 1.45;
}
.tr-facts dt { color: var(--tr-muted); }
.tr-facts dd { margin: 0; }
.tr-launch { margin-top: 20px; }
.tr-quote { color: var(--tr-muted); margin: 0 0 13px; font-size: 14px; }
.tr-form {
  display: grid;
  gap: 12px;
}
.tr-import, .tr-repeat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 18px;
  flex-wrap: wrap;
}
.tr-import {
  padding: 15px;
  border: 1px dashed var(--tr-line);
  border-radius: 7px;
  background: #201e1b;
}
.tr-import p { color: var(--tr-muted); font-size: 13px; margin: 5px 0 0; line-height: 1.4; }
.tr-upload {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #958073;
  border-radius: 5px;
  background: none;
  color: var(--tr-ink);
  cursor: pointer;
}
.tr-upload:focus-within { outline: 2px solid #f4ba9f; outline-offset: 3px; }
.tr-files { margin: 0; padding: 0; list-style: none; }
.tr-files li { display: flex; align-items: center; gap: 8px; color: var(--tr-muted); font-size: 13px; }
.tr-files span { overflow-wrap: anywhere; }
.tr-files button { background: transparent; border: 0; color: var(--tr-ink); min-width: 34px; min-height: 34px; cursor: pointer; }
.tr-files button svg { width: 18px; height: 18px; }
.tr-status { margin: 0; font-size: 13px; }
.tr-warning { color: #ffd0b9; }
.tr-repeat .tr-quote { margin: 0; }
.tr-btn:disabled { opacity: .68; cursor: wait; }
.tr-settings { margin-top: 19px; color: var(--tr-muted); font-size: 14px; line-height: 1.55; }
.tr-settings summary { padding: 5px 0; cursor: pointer; }
.tr-settings p { margin: 8px 0 0; overflow-wrap: anywhere; }
.tr-origin { display: inline-block; margin-top: 12px; color: var(--tr-muted); font-size: 13px; }
@media (max-width: 780px) {
  .tr-heading { flex-direction: column; }
  .tr-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "intro"; }
  .tr-hero-art { min-height: 0; height: clamp(200px, 60vw, 385px); }
  .tr-hero-art::after { background: linear-gradient(0deg, #20201c 0, #20201c00 23%); }
  .tr-hero-copy { gap: 13px; padding: 21px 22px 24px; }
  .tr-hero h2 { max-width: 20ch; }
  .tr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-detail { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tr-preview :is(video, img) { max-height: min(58vh, 520px); }
}
@media (max-width: 767px) {
  .g-tabbar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .tr-card img { transition: none; }
  .tr-card:hover img { transform: none; }
}
