@font-face {
  font-family: "AffGate Content Roboto";
  src: url("m75/roboto-cyrillic.f92ee388273b.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "AffGate Content Roboto";
  src: url("m75/roboto-latin.665db5e157d2.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-024F,U+1E00-1EFF,U+2000-206F,U+20AC,U+2190-2199,U+2212,U+2215;
}

#main > :is(.trend-page, .affgate-home) {
  --ref-ink: #313135;
  --ref-muted: #6a737f;
  --ref-line: #dfe3e9;
  --ref-paper: #fcfcfc;
  --ref-accent: #a82926;
  --ref-font: "AffGate Content Roboto", Roboto, Arial, sans-serif;
  color: var(--ref-ink);
  font: 400 15px/1.4 var(--ref-font);
}

#main > .affgate-home :is(h1,h2,h3):not(.ci-timeline *) {
  letter-spacing: normal;
  font-family: var(--ref-font);
  font-weight: 600;
  color: inherit;
}
.trend-intro p { margin: 0 0 16px; }
.trend-section { margin: 0 0 24px; scroll-margin-top: 85px; }
#main > .trend-page .trend-section > h2 { color: #3f3f3f; font-size: 21px; line-height: 1.3; margin: 0 0 14px; }
#main > .trend-page #serp h2 { margin-bottom: 4px; }
.trend-section#serp > p { margin: 0 0 30px; }

:is(.trend-page, .affgate-home) .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.ref-lock-icon {
  display: inline-block;
  position: relative;
  width: 11px;
  height: 8px;
  margin-top: 4px;
  border-radius: 1px;
  background: currentColor;
  vertical-align: baseline;
  flex: 0 0 auto;
}
.ref-lock-icon::before {
  content: "";
  position: absolute;
  inset: -5px 2px 6px;
  border-radius: 6px 6px 0 0;
  border: 1.5px solid currentColor;
}

.trend-frame { border: 1px solid var(--ref-line); border-radius: 6px 6px 0 0; background: var(--ref-paper); }
.trend-scroll { position: relative; overflow-x: auto; overscroll-behavior-inline: contain; border-radius: 5px 5px 0 0; }
.trend-table {
  min-width: 1080px;
  table-layout: fixed;
  font: 400 14px/1.35 var(--ref-font);
  color: #252a32;
}
.trend-table .trend-identity { width: 17%; }
.trend-table .trend-volume { width: 9%; }
.trend-table .trend-delta { width: 9%; }
.trend-table .trend-history { width: 15%; }
.trend-table :is(td, th) { padding: 0 15px; vertical-align: middle; border-bottom: 1px solid #eceef2; }
.trend-table thead th { height: 44px; background: #f8f9fb; color: #6f7580; font: 600 12px/1.2 var(--ref-font); }
.trend-table thead .trend-sort,
.trend-table thead .trend-sort:hover { display: flex; align-items: center; min-height: 42px; color: inherit; text-decoration: none; user-select: none; }
.trend-table thead .trend-number .trend-sort { justify-content: flex-end; }
.trend-sort span { display: inline-block; min-width: 11px; margin-inline-start: 5px; color: #8b919b; }
.trend-table .trend-idea-column { width: 48px; }
.trend-table .trend-idea-cell { padding-inline: 5px; text-align: center; }
.trend-table tbody :is(td, th) { height: 69px; }
.trend-table tbody th { color: inherit; font: 500 14px/1.35 var(--ref-font); }
.trend-table tbody tr:last-child > * { border-bottom: 0; }
.trend-table .trend-number { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.trend-table .trend-change { color: #8792a2; font-weight: 600; }
:is(.trend-page, .affgate-home) .trend-up { color: #0a9c5e; }
:is(.trend-page, .affgate-home) .trend-down { color: #e23e43; }
.trend-table :is(th,td) a, .trend-geos a { color: inherit; text-decoration: underline; }
.trend-table .trend-identity-link a:is(:hover, :focus-visible) { color: var(--ag-accent); text-decoration: none; }
.trend-geos a:hover { color: #f6bb3e; }
.trend-identity-link { display: flex; align-items: center; gap: 10px; white-space: normal; font-weight: 500; }
.trend-identity-link img { flex: 0 0 auto; object-fit: contain; }
.trend-identity-link a { overflow-wrap: anywhere; }
.trend-private {
  display: inline-block;
  position: relative;
  width: 130px;
  height: 19px;
  vertical-align: middle;
}
.trend-private--country { width: 105px; }
.trend-private::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(110deg,#e3e7ec,#edf0f3 49%,#e0e5eb);
  filter: blur(2px);
}
.trend-plot { color: #ffad1b; }
.trend-plot--secondary { color: #fa3939; }
.trend-table--game .trend-plot--secondary { color: #64cf53; }
.trend-spark { display: block; width: 100%; height: 38px; overflow: visible; }
.trend-spark-control { position: relative; cursor: crosshair; }
.trend-spark-control:focus-visible { outline: 2px solid #ffce17; }
.trend-spark-active::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: var(--trend-point); border-inline-start: 1px solid #777e8a; pointer-events: none; }
.trend-spark-tip { position: fixed; inset: 0 auto auto 0; margin: 0; padding: 5px 8px; border: 0; border-radius: 4px; background: #252a32; color: #fff; font: 12px/1.35 Roboto, system-ui, sans-serif; pointer-events: none; }
.trend-spark-area { fill: currentColor; fill-opacity: .11; }
.trend-spark-line { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.trend-missing { color: var(--ref-muted); }
.trend-empty { background: var(--ref-paper); border: 1px solid var(--ref-line); border-radius: 6px; padding: 15px; }
.trend-lock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 18px;
  min-height: 43px;
  padding: 9px 16px;
  border-top: 1px solid var(--ref-line);
  background: #fafbfc;
  color: #757b85;
  font-size: 13px;
}
.trend-lock p { margin: 0; display: flex; align-items: center; gap: 12px; }
.trend-lock i { color: #e69213; }
.trend-lock a { white-space: nowrap; color: #4a5564; font-weight: 600; text-decoration: underline; }
.trend-lock a:hover { color: #161a20; }
.trend-lock a span { margin-left: 4px; }
.trend-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: var(--ref-muted); font-size: 14px; }
.trend-pagination span { margin-left: 4px; }
.trend-pagination :is(a,button), .trend-geo-more summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 2px solid #d6dae3;
  border-radius: 999px;
  background: #fff;
  color: #323842;
  padding: 8px 12px;
}
.trend-pagination :is(a,button):hover, .trend-geo-more summary:hover { border-color: #f6bb3e; color: #323842; text-decoration: none; }
.trend-pagination button:disabled { opacity: .6; cursor: default; }
.trend-pagination .ref-lock-icon { transform: scale(.8); color: #87909a; }

.trend-geo, .trend-serp-panels {
  padding: 15px;
  background: var(--ref-paper);
  border-radius: 12px;
}
#main > .trend-page .trend-geo h2, #main > .affgate-home #home-trends .trend-geo h2 {
  font: 400 15px/1.4 var(--ref-font);
  margin: 0 0 12px;
}
.trend-geo-layout {
  display: grid;
  grid-template-columns: minmax(200px, 28%) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 370px;
}
.trend-donut {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 300px);
  margin-inline: auto;
}
.trend-donut canvas, .trend-serp-line canvas { max-width: 100%; }
.trend-donut canvas { position: absolute; inset: 0; }
.trend-geo .trend-donut { width: min(100%, 290px); }
.trend-geos { list-style: none; margin: 0; padding: 0; color: #171d25; font-size: 14px; }
.trend-geos li {
  display: grid;
  grid-template-columns: minmax(115px, 19%) minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  min-height: 24px;
  font-weight: 600;
}
.trend-geos li span::before, .trend-series-control span::before {
  content: "";
  display: inline-block;
  background: var(--trend-color);
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.trend-geos strong { text-align: right; font-variant-numeric: tabular-nums; }
.trend-geos progress { display: block; width: 100%; height: 11px; border: 0; border-radius: 3px; background: #edf0f3; accent-color: var(--trend-color); }
.trend-geos progress::-webkit-progress-bar { background: #edf0f3; border-radius: 3px; }
.trend-geos progress::-webkit-progress-value { background: var(--trend-color); border-radius: 3px; }
.trend-geos progress::-moz-progress-bar { background: var(--trend-color); border-radius: 3px; }
.trend-geo-more { margin: 16px 0 0; }
.trend-geo-more summary { margin-bottom: 0; font-size: 14px; }
.trend-geo-more[open] summary { margin-bottom: 12px; }
.trend-geo-more summary::-webkit-details-marker { display: none; }

.trend-serp-panels { margin-bottom: 12px; }
.trend-serp-panel + .trend-serp-panel { margin-top: 26px; }
#main > .trend-page .trend-serp-panel h3 { font-size: 18px; font-weight: 500; margin: 0 0 20px; }
.trend-serp-layout {
  display: grid;
  grid-template-columns: minmax(160px,24%) minmax(145px,18%) minmax(0,1fr);
  gap: 18px;
  align-items: start;
}
.trend-serp-layout .trend-donut { margin-top: 10px; }
.trend-serp-legend { display: grid; gap: 8px; padding: 2px; }
.trend-series-control, .trend-series-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-width: 0;
  text-align: left;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #374151;
  background: #fff;
  padding: 5px 8px;
  font-size: 14px;
}
.trend-series-control span { display: flex; align-items: center; overflow-wrap: anywhere; }
.trend-series-control strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.trend-series-control span::before { width: 12px; height: 12px; }
.trend-series-control[aria-pressed="true"], .trend-series-control:hover, .trend-series-more:hover { border-color: #ffce17; box-shadow: inset 0 0 0 1px #ffce17; }
.trend-series-control[hidden], .trend-series-more[hidden] { display: none; }
.trend-serp-line { position: relative; height: 320px; min-width: 0; }

@media (max-width: 850px) {
  .trend-serp-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .trend-serp-line { grid-column: 1 / -1; height: 270px; }
}
@media (max-width: 760px) {
  .trend-lock { align-items: start; flex-direction: column; padding: 10px 15px; }
  .trend-geo-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: 297px auto; gap: 12px; }
  .trend-geo .trend-donut { width: min(100%, 229px); }
  .trend-geos li { grid-template-columns: minmax(95px, 42%) minmax(0, 1fr) 37px; gap: 8px; }
  .trend-geo-more { margin-top: 10px; }
  .trend-serp-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .trend-serp-line { height: 312px; }
  .trend-serp-layout .trend-donut { margin-top: 6px; }
  .trend-series-control { padding-block: 6px; }
}
