.ws-live {
    --ws-live-orange: #F2A11D;
    --ws-live-orange-tint: #FBEEDC;
    --ws-live-green: #76B729;
    --ws-live-ink: #1f2937;
    --ws-live-muted: #6b7280;
    --ws-live-line: #e5e7eb;
    --ws-live-online: #AACD4C;
    /* site's brand green — matches the CTA buttons */
    --ws-live-offline: #9ca3af;
    --ws-live-topbar-bg: #f2f2f2;
    box-sizing: border-box;
    font-family: 'Cabinet Grotesk';
    color: var(--ws-live-ink);
}

.ws-live *,
.ws-live *::before,
.ws-live *::after {
    box-sizing: border-box;
    font-family: 'Cabinet Grotesk';
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.ws-live--notice {
    padding: 16px 18px;
    text-align: center;
    color: var(--ws-live-muted);
    background: #f9fafb;
    border: 1px solid var(--ws-live-line);
    border-radius: 12px;
}

.ws-live__title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
}

.ws-live__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ws-live-offline);
    flex: none;
}

.ws-live__dot.is-online {
    background: var(--ws-live-online);
    animation: ws-live-pulse 2s ease-out infinite;
}

.ws-live__dot.is-offline {
    background: var(--ws-live-offline);
}

@keyframes ws-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(170, 205, 76, 0.55);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(170, 205, 76, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(170, 205, 76, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-live__dot.is-online {
        animation: none;
    }
}

/* Widget layout */

.ws-live--widget {
    max-width: 420px;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .12);
    font-family: 'Cabinet Grotesk';
    margin: 0px 0px 10px 0px;
}

.ws-live__header {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--ws-live-orange);
    color: #fff;
    padding: 8px 16px;
}

.ws-live__badge {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--ws-live-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-live__temp {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-right: auto;
}

.ws-live__temp-num {
    color: #000;
    font-family: 'Cabinet Grotesk';
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    /* 24px */
}

.ws-live__temp-unit {
    font-size: 13px;
    font-weight: 700;
    color: #17140f;
    position: relative;
    top: 2px;
}

.ws-live__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.ws-live__location {
    font-size: 18px;
    font-weight: 700;
    color: #17140f;
}

.ws-live__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #17140f;
}

.ws-live__body {
    padding: 16px;
}

.ws-live__grid {
    display: grid;
    grid-template-columns: 10fr 8fr;
    gap: 12px;
}

.ws-live__cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ws-live__icon {
    display: flex;
    width: 33px;
    height: 33px;
    padding: 7.5px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    background: var(--Background-Darker, #F7EAD4);
}

.ws-live__icon svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.ws-live__icon svg path {
    fill: var(--Branding-Orange, #F39200);
}

.ws-live__cell-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ws-live__cell-label {
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    font-family: 'Cabinet Grotesk';
}

.ws-live__cell-value {
    color: #000;
    font-family: 'Cabinet Grotesk';
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.ws-live__cell-unit {
    color: #000;
    font-family: 'Cabinet Grotesk';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.ws-live__link {
    display: inline-flex;
    padding: 7.5px 15.5px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    background: var(--Branding-Green, #95C11F);
}

.ws-live__cta {
    color: var(--Text-Default, #000);
    font-family: "Cabinet Grotesk";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    /* 18.2px */
    letter-spacing: 0.14px;
    text-decoration: none;
}

.ws-live__link:hover,
.ws-live__link:focus {
    background: #689f24;
}

@media (max-width: 420px) {
    .ws-live--widget {
        max-width: 100%;
    }

    /* .ws-live__grid {
        grid-template-columns: 1fr;
    } */
}

/* Topbar layout */

.ws-live--topbar {
    display: flex;
    align-items: stretch;
    gap: 17px;
    width: 100%;
    /* height: 48px; */
    /* background: #fff; */
    /* border-bottom: 1px solid var(--ws-live-line); */
    /* overflow: hidden; */
}

.ws-live__viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ws-live__viewport::-webkit-scrollbar {
    display: none;
}

.ws-live__track {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
    padding: 0;
    width: max-content;
    white-space: nowrap;
}

.ws-live__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ws-live-ink);
    flex: none;
}

.ws-live__item--status {
    font-weight: 700;
    gap: 8px;
}

.ws-live__item-icon {
    color: var(--ws-live-green);
    display: flex;
}

.ws-live__item-label {
    color: var(--ws-live-muted);
}

.ws-live__item-value {
    font-weight: 700;
    color: var(--ws-live-ink);
}

.ws-live__divider {
    flex: none;
    width: 1px;
    height: 22px;
    background: #355030;
}

/* Topbar slider */
.ws-live--topbar .ws-live__viewport {
    position: relative;
    overflow: hidden;
}

.ws-live--topbar .ws-live__track {
    display: flex;
    width: max-content;
}

/* Only start scrolling once live.js has measured a stable (post-webfont)
   width and duplicated the content — starting any earlier risks the
   webfont swap resizing the track underneath the running animation. */
.ws-live--topbar .ws-live__track.is-scrolling {
    animation: ws-live-scroll 25s linear infinite;
}

/* Pause when hover */
.ws-live--topbar .ws-live__viewport:hover .ws-live__track {
    animation-play-state: paused;
}

.ws-live--topbar .ws-live__item,
.ws-live--topbar .ws-live__item-label,
.ws-live--topbar .ws-live__item-value,
.ws-live--topbar .ws-live__item--status {
    color: #355030;
    font-weight: 400;
}

/* Edge fade: transparent over the content, fading to the topbar
   background at the viewport edges so items don't cut off sharply. */
.ws-live--topbar .ws-live__viewport::before,
.ws-live--topbar .ws-live__viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    z-index: 1;
    pointer-events: none;
}

.ws-live--topbar .ws-live__viewport::before {
    left: 0;
    background: linear-gradient(to left, transparent 0%, var(--ws-live-topbar-bg) 100%);
}

.ws-live--topbar .ws-live__viewport::after {
    right: 0;
    background: linear-gradient(to right, transparent 0%, var(--ws-live-topbar-bg) 100%);
}

@keyframes ws-live-scroll {
    from {
        transform: translateX(0);
    }

    to {
        /* Fixed pixel distance (set by live.js), not a percentage — a
           percentage recalculates against the track's live width, which
           shifts when the webfont swaps in and would otherwise make the
           loop visibly speed up mid-animation. */
        transform: translateX(var(--ws-live-track-shift, -50%));
    }
}

/* ---------------------------------------------------------------
   Skeleton placeholders for the widget / topbar
   --------------------------------------------------------------- */
.ws-live .ws-skel {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, #eeeeea 25%, #f6f6f2 37%, #eeeeea 63%);
    background-size: 400% 100%;
    animation: ws-skel-shimmer 1.4s ease-in-out infinite;
}

@keyframes ws-skel-shimmer {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-live .ws-skel {
        animation: none;
    }
}

.ws-live .ws-skel-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.ws-live__skeleton {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px 0;
}

.ws-live__skeleton-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ws-live__skeleton-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ws-live__skeleton-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    flex: 1;
}

.ws-live .ws-skel--badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex: none;
}

.ws-live .ws-skel--temp {
    width: 92px;
    height: 34px;
}

.ws-live .ws-skel--icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    flex: none;
}

.ws-live .ws-skel--label {
    width: 70%;
    height: 11px;
}

.ws-live .ws-skel--value {
    width: 45%;
    height: 16px;
}

.ws-live__skeleton--topbar {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 22px;
    overflow: hidden;
}

.ws-live .ws-skel--topbar-item {
    width: 118px;
    height: 16px;
    flex: none;
}

.ws-live__notice {
    padding: 10px 14px;
    font-size: 13px;
    color: #6b7280;
}