.ftt-ticker {
  position: sticky;
  top: 66px;
  z-index: 180;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(111,161,164,.14), transparent 24%),
    var(--ink-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  box-shadow: 0 10px 30px -26px rgba(0,0,0,.9);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ftt-ticker__inner {
  width: min(var(--ftt-shell-max), calc(100% - (var(--ftt-shell-gutter) * 2)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.ftt-ticker::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--steel), var(--steel-2));
  box-shadow: 0 0 20px rgba(111,161,164,.22);
}

.ftt-ticker-region {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, color-mix(in srgb, var(--steel) 14%, var(--ink-2)), var(--ink-2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 8px 18px 7px 0;
  border-bottom: 1px solid var(--line);
}

.ftt-ticker-switch,
.ftt-ticker-location,
.ftt-ticker-info {
  font-family: var(--mono);
  text-transform: uppercase;
}

.ftt-ticker-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--steel);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}

.ftt-ticker-switch span:first-child {
  color: var(--steel-2);
  font-size: 12px;
  line-height: 1;
}

.ftt-ticker-switch:hover,
.ftt-ticker-switch:focus-visible {
  color: var(--bone);
}

.ftt-ticker-location {
  min-height: 44px;
  padding: 0 4px;
  color: var(--sand);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
}

.ftt-ticker-location:hover,
.ftt-ticker-location:focus-visible,
.ftt-ticker-location.is-resolving {
  color: var(--steel);
}

.ftt-ticker-info {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--sand);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  opacity: .76;
  transform: translateY(-50%);
  transition: color .16s ease, border-color .16s ease, opacity .16s ease;
}

.ftt-ticker-info:hover,
.ftt-ticker-info:focus-visible {
  color: var(--steel);
  border-color: rgba(111,161,164,.5);
  opacity: 1;
}

.ftt-ticker-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: min(260px, calc(100vw - 32px));
  padding: 6px;
  background: color-mix(in srgb, var(--panel) 94%, black);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--steel);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.ftt-ticker-dropdown button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  color: var(--bone);
  background: transparent;
  border: 0;
  border-radius: var(--r);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-align: left;
  transition: background-color 120ms ease, color 120ms ease;
}

.ftt-ticker-dropdown button span {
  color: var(--steel);
  font-size: 9px;
  letter-spacing: .08em;
}

.ftt-ticker-dropdown button[data-region-child] {
  padding-left: calc(10px + var(--ftt-shell-gutter));
  color: var(--sand);
}

.ftt-ticker-dropdown button.is-active {
  background: rgba(111,161,164,.1);
}

.ftt-ticker-dropdown button:not(:disabled):hover,
.ftt-ticker-dropdown button:not(:disabled):focus-visible {
  color: var(--sand);
  background: color-mix(in srgb, var(--steel) 22%, transparent);
  box-shadow: inset 3px 0 0 var(--accent);
}

.ftt-ticker-dropdown button:not(:disabled):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.ftt-ticker-dropdown button:disabled {
  color: var(--muted);
}

.ftt-ticker-dropdown button:disabled span {
  color: var(--muted-2);
}

.ftt-ticker-strip {
  position: relative;
  min-width: 0;
  overflow: hidden;
  scrollbar-width: none;
  isolation: isolate;
  touch-action: pan-y;
}

.ftt-ticker-strip::-webkit-scrollbar {
  display: none;
}

.ftt-ticker-strip::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  background: linear-gradient(90deg, transparent, var(--ink-2) 76%);
  pointer-events: none;
}

.ftt-ticker-track {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.ftt-ticker-group {
  display: flex;
  flex: 0 0 auto;
  min-width: max-content;
}

.ftt-ticker-item {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: auto auto;
  grid-template-areas:
    "name wind"
    "temp status";
  align-items: end;
  column-gap: 12px;
  row-gap: 2px;
  min-width: 164px;
  padding: 9px 16px 10px;
  scroll-snap-align: start;
  border-right: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--mono);
  transition: background .16s ease, color .16s ease;
  -webkit-font-smoothing: antialiased;
}

.ftt-ticker-item[hidden] { display: none !important; }

.ftt-ticker-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,161,164,.3), transparent);
  opacity: 0;
  transition: opacity .16s ease;
}

.ftt-ticker-item:hover {
  background: rgba(111,161,164,.08);
}

.ftt-ticker-item--alert {
  background: linear-gradient(180deg, rgba(255,179,0,.14), rgba(183,28,28,.12));
  border-right-color: rgba(255,179,0,.34);
}

.ftt-ticker-item--alert-ftt {
  background: linear-gradient(180deg, rgba(249,115,22,.14), rgba(154,63,6,.1));
  border-right-color: rgba(249,115,22,.32);
  box-shadow: inset 0 0 0 1px rgba(249,115,22,.16);
}

.ftt-ticker-item--alert:hover {
  background: linear-gradient(180deg, rgba(255,179,0,.2), rgba(183,28,28,.16));
}

.ftt-ticker-item--alert-ftt:hover {
  background: linear-gradient(180deg, rgba(249,115,22,.2), rgba(154,63,6,.14));
}

.ftt-ticker-item:hover::before {
  opacity: 1;
}

.ftt-ticker-name {
  grid-area: name;
  overflow: hidden;
  color: var(--bone);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.ftt-ticker-temp {
  grid-area: temp;
  color: var(--bone);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: .95;
}

.ftt-ticker-status {
  grid-area: status;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  padding-bottom: 2px;
  color: var(--amber);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ftt-ticker-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.ftt-ticker-status--hot { color: var(--danger); }
.ftt-ticker-status--prime { color: var(--sage); }
.ftt-ticker-status--cold { color: var(--steel); }
.ftt-ticker-status--mild { color: var(--amber); }

.ftt-ticker-wind {
  grid-area: wind;
  align-self: start;
  justify-self: end;
  color: var(--bone-dim);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.ftt-ticker-wind--calm { color: #8EA0AF; }
.ftt-ticker-wind--mild { color: var(--amber); }
.ftt-ticker-wind--high { color: var(--danger); }

.ftt-ticker-alert {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  overflow: hidden;
  color: #FFD36A;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.ftt-ticker-alert span {
  color: #FFB300;
  text-shadow: 0 0 12px rgba(255,179,0,.45);
}
.ftt-ticker-alert--ftt {
  color: #FFB65C;
}
.ftt-ticker-alert--ftt span {
  color: #F97316;
  text-shadow: 0 0 12px rgba(249,115,22,.45);
}

@keyframes ftt-ticker-marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (min-width: 760px) {
  .ftt-ticker__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ftt-ticker-region {
    width: 286px;
    padding-right: 18px;
    border-right: 1px solid var(--line-2);
    border-bottom: 0;
  }
}

@media (max-width: 759px) {
  .ftt-ticker {
    top: 66px;
  }

  .ftt-ticker-item {
    min-width: 152px;
  }
}

.ftt-ticker-track {
  animation: ftt-ticker-marquee 52s linear infinite;
  animation-duration: var(--ftt-ticker-duration, 52s);
}
.ftt-ticker:hover .ftt-ticker-track,
.ftt-ticker:focus-within .ftt-ticker-track,
.ftt-ticker.is-paused .ftt-ticker-track {
  animation-play-state: paused;
}
.ftt-ticker.is-scrub-resuming:not(.is-paused) .ftt-ticker-track {
  animation-play-state: running;
}
@media (prefers-reduced-motion: reduce) {
  .ftt-ticker-track {
    animation: none;
    transform: translate3d(0, 0, 0);
  }

  .ftt-ticker-dropdown button {
    transition: none;
  }
}

.ftt-mobile-cats { border-bottom: 1px solid var(--line-2); }
.ftt-mobile-cats summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 13px 4px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--bone);
}
.ftt-mobile-cats summary::-webkit-details-marker { display: none; }
.ftt-mobile-cats summary::after {
  content: "+"; font-family: var(--mono); font-size: 18px; color: var(--accent-text, var(--accent));
  transition: transform .15s ease;
}
.ftt-mobile-cats[open] summary::after { content: "\2212"; }
.ftt-mobile-cats-list { display: grid; padding: 2px 0 8px 12px; }
.ftt-mobile-cats-list a {
  min-height: 42px; display: flex; align-items: center;
  padding: 9px 4px !important;
  font-family: var(--sans) !important; font-size: 14px !important;
  font-weight: 600 !important; text-transform: none !important;
  letter-spacing: 0 !important; color: var(--sand) !important;
  border-bottom: 1px solid var(--line) !important;
}
.ftt-mobile-cats-list a:last-child { border-bottom: 0 !important; }
.ftt-mobile-cats-list a:hover { color: var(--bone) !important; }

.ftt-ticker-item .ftt-ticker-temp { font-weight: 700; transition: color .2s ease; }

.ftt-ticker-item--b1 .ftt-ticker-temp { color: #7FA8FF; }
.ftt-ticker-item--b2 .ftt-ticker-temp { color: #5CB0EE; }
.ftt-ticker-item--b3 .ftt-ticker-temp { color: #46C7CE; }
.ftt-ticker-item--b4 .ftt-ticker-temp { color: #5BD07A; }
.ftt-ticker-item--b5 .ftt-ticker-temp { color: #E6CA4E; }
.ftt-ticker-item--b6 .ftt-ticker-temp { color: #F49A3A; }
.ftt-ticker-item--b7 .ftt-ticker-temp { color: #F25C3A; }
.ftt-ticker-item--b8 .ftt-ticker-temp { color: #EF3D32; }
.ftt-ticker-item--na .ftt-ticker-temp { color: var(--muted); }

body {
  --ftt-nav-height: 68px;
  --ftt-shell-gutter: 14px;
  --ftt-nav-padding-x: 14px;
  --ftt-logo-width: 42px;
  --ftt-ticker-top: var(--ftt-nav-height);
  --ftt-ticker-region-pad-y: 8px;
  --ftt-ticker-region-pad-x: 16px;
  --ftt-ticker-item-padding-y: 10px;
  --ftt-ticker-item-padding-x: 14px;
  --ftt-ticker-item-min-width: 156px;
  --ftt-ticker-name-size: 10.5px;
  --ftt-ticker-temp-size: 24px;
  --ftt-ticker-wind-size: 8.5px;
  --ftt-ticker-readings-gap: 10px;
}

body.is-scrolled {
  --ftt-nav-height: 52px;
  --ftt-logo-width: 36px;
  --ftt-ticker-region-pad-y: 5px;
  --ftt-ticker-region-pad-x: 12px;
  --ftt-ticker-item-padding-y: 6px;
  --ftt-ticker-item-padding-x: 12px;
  --ftt-ticker-item-min-width: 138px;
  --ftt-ticker-name-size: 9px;
  --ftt-ticker-temp-size: 17px;
  --ftt-ticker-wind-size: 7px;
  --ftt-ticker-readings-gap: 8px;
}

.ftt-nav {
  top: 0;
  min-height: var(--ftt-nav-height);
  padding-inline: var(--ftt-nav-padding-x);
  transition: min-height .22s ease, padding .22s ease, background-color .22s ease, backdrop-filter .22s ease;
}

.ftt-logo img {
  width: var(--ftt-logo-width);
  max-height: calc(var(--ftt-nav-height) - 18px);
  transition: width .22s ease, max-height .22s ease;
}

.ftt-ticker {
  top: var(--ftt-ticker-top);
  transition: top .22s ease, box-shadow .22s ease;
}

.ftt-ticker-region {
  background: linear-gradient(90deg, color-mix(in srgb, var(--steel) 14%, var(--ink-2)), var(--ink-2));
  padding: var(--ftt-ticker-region-pad-y) var(--ftt-ticker-region-pad-x) calc(var(--ftt-ticker-region-pad-y) - 1px) calc(var(--ftt-ticker-region-pad-x) + 2px);
  transition: padding .22s ease;
}

.ftt-ticker-switch {
  font-size: 10px;
}

.ftt-ticker-location {
  font-size: 9px;
}

.ftt-ticker-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  width: max-content;
  min-width: var(--ftt-ticker-item-min-width);
  padding: var(--ftt-ticker-item-padding-y) var(--ftt-ticker-item-padding-x);
  transition: background .16s ease, color .16s ease, padding .22s ease, min-width .22s ease;
}

.ftt-ticker-name {
  display: block;
  font-size: var(--ftt-ticker-name-size);
}

.ftt-ticker-readings {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--ftt-ticker-readings-gap);
  width: 100%;
}

.ftt-ticker-temp {
  display: inline-block;
  font-size: var(--ftt-ticker-temp-size);
  flex: 0 0 auto;
  transition: font-size .22s ease, color .2s ease;
}

.ftt-ticker-wind {
  display: inline-block;
  margin-left: auto;
  font-size: max(11px, var(--ftt-ticker-wind-size));
  text-align: right;
  transition: font-size .22s ease;
}

.ftt-cat-icon{
  width:32px;height:32px;flex:0 0 auto;display:inline-block;
  color:var(--cat-icon-color, var(--bone));
  opacity:.94;transition:opacity .18s ease, transform .18s ease;
}

.ftt-category-tile:hover .ftt-cat-icon {
  opacity:1;transform:translateY(-1px);
}

@media (min-width: 760px) {
  body {
    --ftt-nav-height: 72px;
    --ftt-shell-gutter: 20px;
    --ftt-nav-padding-x: max(var(--ftt-shell-gutter), calc((100vw - var(--ftt-shell-max)) / 2));
    --ftt-logo-width: 48px;
    --ftt-ticker-region-pad-y: 8px;
    --ftt-ticker-region-pad-x: 18px;
    --ftt-ticker-item-padding-y: 10px;
    --ftt-ticker-item-padding-x: 16px;
    --ftt-ticker-item-min-width: 172px;
    --ftt-ticker-name-size: 10px;
    --ftt-ticker-temp-size: 22px;
    --ftt-ticker-wind-size: 8px;
  }

  body.is-scrolled {
    --ftt-nav-height: 58px;
    --ftt-logo-width: 44px;
    --ftt-ticker-region-pad-y: 5px;
    --ftt-ticker-region-pad-x: 16px;
    --ftt-ticker-item-padding-y: 6px;
    --ftt-ticker-item-padding-x: 14px;
    --ftt-ticker-item-min-width: 150px;
    --ftt-ticker-name-size: 8.5px;
    --ftt-ticker-temp-size: 18px;
    --ftt-ticker-wind-size: 7px;
  }

  .ftt-ticker-region {
    padding-left: 0;
    padding-right: 18px;
  }
}
