#author-trends {
  --trends-surface: #191c22;
  background: var(--media);
  color: var(--media-ink);
  font-family: var(--font-display);
}
#top > #author-trends { padding-block: 0; }
#author-trends .trends-title { color: inherit; }
.trends-layout {
  display: grid;
  grid-template-columns: minmax(0,.72fr) minmax(0,1.66fr);
  align-items: center;
  column-gap: clamp(34px,5vw,96px);
  width: min(100%,2100px);
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(48px,5.5vw,88px) clamp(34px,5.3vw,106px);
}
.trends-emblem {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 0 20px;
  padding: 10px;
  border-radius: 12px;
  background: var(--kit-coral-bright);
  color: var(--media-ink);
}
.trends-art {
  display: grid;
  grid-template-areas: "mosaic mosaic" "summary signal";
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 26px clamp(20px,2vw,38px);
  align-items: center;
}
.trends-title {
  margin: 0;
  font-size: clamp(38px,3.85vw,71px);
  font-weight: 700;
  line-height: 1.015;
  letter-spacing: -.055em;
}
.trends-title span { display: block; }
.trends-mosaic {
  grid-area: mosaic;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  grid-template-rows: repeat(12,minmax(0,1fr));
  gap: clamp(13px,1.12vw,21px);
  height: clamp(420px,38vw,690px);
}
.trends-portrait {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  background: var(--trends-surface);
}
.trends-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.trends-portrait figcaption {
  position: absolute;
  inset: auto auto 9px 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 9px);
  padding: 4px 8px;
  border-radius: 100px;
  color: #fff;
  background: #101216b8;
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
}
.trends-sport { grid-area: 1 / 1 / 8 / 2; border-radius: 48% 48% 14px 14px / 27% 27% 14px 14px; }
.trends-sport img { object-position: 53% 33%; }
.trends-food { grid-area: 8 / 1 / 13 / 2; border-radius: 14px 14px 28% 28% / 14px 14px 20% 20%; }
.trends-food img { object-position: 44% 29%; }
.trends-fashion { grid-area: 2 / 2 / 10 / 3; border-radius: 14px 14px 38% 38% / 14px 14px 20% 20%; }
.trends-fashion :is(img, video) { object-position: 51% 38%; }
.trends-ugc { grid-area: 10 / 2 / 13 / 3; }
.trends-ugc :is(img, video) { object-position: center 38%; }
.trends-beauty { grid-area: 1 / 3 / 7 / 4; border-radius: 37% 37% 14px 14px / 24% 24% 14px 14px; }
.trends-beauty img { object-position: center 35%; }
.trends-tech { grid-area: 8 / 3 / 13 / 4; }
.trends-tech img { object-position: center 45%; }
.trends-travel { grid-area: 2 / 4 / 8 / 5; }
.trends-travel img { object-position: 64% 30%; }
.trends-craft { grid-area: 8 / 4 / 13 / 5; border-radius: 14px 14px 40% 40% / 14px 14px 26% 26%; }
.trends-craft img { object-position: center 42%; }
.trends-dance { grid-area: 1 / 5 / 5 / 6; border-radius: 40% 40% 14px 14px / 27% 27% 14px 14px; }
.trends-dance img { object-position: center 33%; }
.trends-gaming { grid-area: 5 / 5 / 9 / 6; }
.trends-gaming img { object-position: center 34%; }
.trends-learning { grid-area: 9 / 5 / 13 / 6; }
.trends-learning img { object-position: center 42%; }
.trends-summary {
  grid-area: summary;
  display: grid;
  gap: 5px;
  color: var(--media-ink);
  font-size: clamp(14px,1.01vw,18px);
  line-height: 1.4;
}
.trends-summary p { margin: 0; }
.trends-summary [data-i18n="trendsBenefit"] { color: var(--media-ink); font-weight: 500; }
.trends-signal {
  grid-area: signal;
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  align-items: start;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 13px;
  background: var(--trends-surface);
}
.trends-signal img { display: block; width: 30px; height: 30px; }
.trends-signal p { margin-bottom: 0; line-height: 1.38; font-weight: 400; }
.trends-signal-meta { font-size: 11px; color: var(--media-muted); }
.trends-signal .trends-signal-title { margin-top: 3px; font-size: 14px; font-weight: 550; }
.trends-signal-draft { margin-top: 5px; color: var(--media-muted); font-size: 13px; }
.trends-signal-draft strong { margin-right: 5px; color: var(--media-ink); font-weight: 500; }
@media (max-width: 1100px) and (min-width: 761px) {
  .trends-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.35fr); gap: 25px; }
  .trends-title { font-size: 38px; }
  .trends-mosaic { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
  .trends-portrait figcaption { font-size: 10px; padding-inline: 5px; }
  .trends-art { grid-template-areas: "mosaic" "summary" "signal"; grid-template-columns: minmax(0,1fr); gap: 18px; }
}
@media (max-width: 1100px) { .trends-additional { display: none; } }
@media (max-width: 760px) {
  .trends-layout {
    --mobile-gutter: 23px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100svh;
    padding-block: max(44px, calc(env(safe-area-inset-top) + 16px)) max(37px, calc(env(safe-area-inset-bottom) + 9px));
    padding-inline: var(--mobile-gutter);
  }
  .trends-title { font-size: clamp(36px,9.6vw,53px); letter-spacing: -.045em; line-height: 1.04; }
  .trends-emblem { width: 36px; height: 36px; padding: 7px; border-radius: 10px; margin-bottom: 12px; }
  .trends-art {
    flex: 1;
    grid-template-areas: "summary" "mosaic" "signal";
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto auto minmax(0,1fr);
    align-items: start;
    row-gap: 26px;
    margin-top: 13px;
  }
  .trends-summary {
    display: grid;
    gap: 2px;
    color: var(--media-muted);
    font-size: 16px;
    line-height: 1.4;
  }
  .trends-mosaic {
    grid-template-columns: repeat(3,minmax(0,1fr));
    grid-template-rows: minmax(0,1fr) minmax(0,1fr) minmax(0,.92fr);
    gap: 15px 13px;
    height: clamp(320px,101vw,414px);
    margin-inline: calc(-1 * var(--mobile-gutter));
    padding-inline: 12px;
  }
  .trends-sport { grid-area: 1 / 1 / 2 / 2; }
  .trends-beauty { grid-area: 1 / 2 / 2 / 3; border-radius: 14px; }
  .trends-ugc { grid-area: 1 / 3 / 2 / 4; border-radius: 37% 37% 14px 14px / 27% 27% 14px 14px; }
  .trends-ugc :is(img, video) { object-position: center 36%; }
  .trends-fashion { grid-area: 2 / 1 / 4 / 2; }
  .trends-food { grid-area: 2 / 2 / 3 / 3; border-radius: 14px; }
  .trends-tech { grid-area: 3 / 2 / 4 / 3; }
  .trends-travel { grid-area: 2 / 3 / 3 / 4; border-radius: 14px 14px 28% 28% / 14px 14px 19% 19%; }
  .trends-craft { grid-area: 3 / 3 / 4 / 4; }
  .trends-portrait figcaption { bottom: 7px; padding: 4px 7px; }
  .trends-signal {
    align-self: end;
    width: 100%;
    padding: 0;
    gap: 12px;
    border-radius: 0;
    background: transparent;
    grid-template-columns: 28px minmax(0,1fr);
  }
  .trends-signal img { width: 28px; height: 28px; }
  .trends-signal .trends-signal-title { font-size: 15px; }
  .trends-signal p { margin-bottom: 0; line-height: 1.46; }
  .trends-signal-draft { margin-top: 7px; font-size: 13px; }
}
@media (max-width: 360px) {
  .trends-layout { --mobile-gutter: 16px; padding-block: 31px 24px; }
  .trends-title { font-size: 34px; }
  .trends-mosaic { gap: 11px 9px; height: 310px; padding-inline: 10px; }
  .trends-portrait figcaption { padding-inline: 5px; font-size: 10px; }
  .trends-art { margin-top: 14px; row-gap: 20px; }
  .trends-emblem { width: 34px; height: 34px; padding: 6px; }
}

.trends-wave-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.trends-tech .trends-wave-video { object-position: center 45%; }
.trends-craft .trends-wave-video { object-position: center 42%; }
.trends-wave-video[data-wave-frame] { opacity: 1; }
.trends-wave-play {
  position: absolute;
  inset: auto 7px 7px auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--media-line);
  background: var(--media);
  color: var(--media-ink);
}
.trends-wave-play[hidden] { display: none; }
.trends-wave-play:focus-visible { outline: 2px solid var(--kit-coral-bright); outline-offset: -3px; }
.trends-portrait:has(.trends-wave-play:not([hidden])) figcaption { left: 7px; transform: none; }
@media (max-width: 360px) {
  .trends-portrait:has(.trends-wave-play:not([hidden])) figcaption { bottom: 55px; }
}
