    body {
        font-family: 'Poppins', sans-serif;
        background-color: #ffffff;
        color: #1f2937;
    }


    .hide-scrollbar::-webkit-scrollbar { display: none; }
    .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

    .main-container {
        max-width: 1024px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1rem;
        padding-right: 1rem;
    }


    .progress-ring__circle {
        transition: stroke-dashoffset 0.35s;
        transform: rotate(-90deg);
        transform-origin: 50% 50%;
    }

    .progress-ring__background {
        stroke: #e5e7eb;
    }

    .score-red {
        stroke: var(--color-red);
    }

    .score-orange {
        stroke: var(--color-orange);
    }

    .score-yellow {
        stroke: var(--color-yellow);
    }

    .score-lime {
        stroke: var(--color-lime);
    }

    .score-green {
        stroke: var(--color-green);
    }


    .sendscore-value {
        font-size: 13px !important;

    }

    @media (min-width: 768px) {
        .sendscore-value {
            font-size: 15px !important;

        }
    }


    .sendscore-meter-text {
        font-size: 14px !important;

    }

    @media (min-width: 768px) {
        .sendscore-meter-text {
            font-size: 15px !important;

        }
    }

    @media (min-width: 1024px) {
        .sendscore-meter-text {
            font-size: 16px !important;

        }
    }


    .day-label-text {
        font-size: 12px !important;

    }

    @media (min-width: 768px) {
        .day-label-text {
            font-size: 14px !important;

        }
    }

    @media (min-width: 1024px) {
        .day-label-text {
            font-size: 15px !important;

        }
    }


    .sendscore-circle-container {
        width: 48px;
        height: 48px;
    }

    @media (min-width: 768px) {
        .sendscore-circle-container {
            width: 56px;
            height: 56px;
        }
    }

    @media (min-width: 1024px) {
        .sendscore-circle-container {
            width: 64px;
            height: 64px;
        }
    }


    #crag-location-map {
        height: 380px;
        width: 100%;
        overflow: hidden;
        z-index: 1;
        cursor: default;
    }

    #crag-location-map .leaflet-container {
        cursor: default !important;
    }

    #crag-location-map .custom-crag-marker {
        cursor: pointer !important;
    }

    .crag-marker-tooltip {
        background-color: #111827 !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 8px !important;
        font-family: inherit !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        padding: 4px 8px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    }

    .crag-marker-tooltip::before {
        border-top-color: #111827 !important;
    }





    #crag-location-map img.leaflet-tile {
        mix-blend-mode: normal;
    }



    #crag-location-map .leaflet-bottom.leaflet-right,
    #crag-location-map .leaflet-control-attribution {
        max-width: 100%;
    }

    #crag-location-map .leaflet-control-attribution {
        font-size: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #crag-location-map .leaflet-control-attribution.attrib-clickable {
        cursor: pointer;
    }



    #crag-location-map .leaflet-control-attribution.attrib-expanded,
    #crag-location-map .leaflet-control-attribution:focus-within {
        white-space: normal;
    }

    @media (min-width: 768px) {
        #crag-location-map {
            height: 420px;
        }
    }

    @media (min-width: 1024px) {
        #crag-location-map {
            height: 460px;
        }
    }


    .forecast-label-cell {
        position: relative;
        background-color: white;
    }


    .label-day-separator {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: #d1d5db;
        pointer-events: none;
        z-index: 30;
    }



.sun-shade-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 14px;
    line-height: 1;
}





.crag-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.crag-source-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.crag-source-text {
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
}

.crag-source-badge--confirmed .crag-source-dot {
    background-color: #16a34a;
}

.crag-source-badge--estimated .crag-source-dot {
    background-color: #f59e0b;
}











#ss-sendscore-card {
    --ink:   #111827;
    --body:  #1f2937;
    --muted: #6b7280;
    --hair:  #e5e7eb;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}





#ss-sendscore-card.glow-green {
    box-shadow: 0 0 20px color-mix(in srgb, var(--color-green) 15%, transparent), 0 1px 4px rgba(0, 0, 0, 0.06);
    border-color: color-mix(in srgb, var(--color-green) 30%, transparent);
}
#ss-sendscore-card.glow-lime {
    box-shadow: 0 0 20px color-mix(in srgb, var(--color-lime) 15%, transparent), 0 1px 4px rgba(0, 0, 0, 0.06);
    border-color: color-mix(in srgb, var(--color-lime) 30%, transparent);
}
#ss-sendscore-card.glow-yellow {
    box-shadow: 0 0 20px color-mix(in srgb, var(--color-yellow) 18%, transparent), 0 1px 4px rgba(0, 0, 0, 0.06);
    border-color: color-mix(in srgb, var(--color-yellow) 35%, transparent);
}
#ss-sendscore-card.glow-orange {
    box-shadow: 0 0 20px color-mix(in srgb, var(--color-orange) 15%, transparent), 0 1px 4px rgba(0, 0, 0, 0.06);
    border-color: color-mix(in srgb, var(--color-orange) 30%, transparent);
}
#ss-sendscore-card.glow-red {
    box-shadow: 0 0 20px color-mix(in srgb, var(--color-red) 15%, transparent), 0 1px 4px rgba(0, 0, 0, 0.06);
    border-color: color-mix(in srgb, var(--color-red) 30%, transparent);
}
#ss-sendscore-card.glow-gray {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-color: var(--hair);
}


.card {
    background: #ffffff; border: 1px solid var(--hair); border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); padding: 20px;
}
.card-label { font-size: 11px; color: var(--muted); font-weight: 700; }


.widget-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.widget-head .left { min-width: 0; }
.metric-head { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.metric-val { font-size: 28px; font-weight: 700; line-height: 1; color: var(--ink); }




#ss-sendscore-card .metric-head { align-items: center; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.ss-score-dot { align-self: center; }

.metric-sub { margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--color-gray); }
.qual { text-align: right; flex-shrink: 0; }


.impact-label { font-size: 9px; font-weight: 700; color: var(--color-gray); margin-bottom: 3px; }

.qual .word { font-size: 15px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; }
.qual .word .word-text { color: var(--ink); }
.qual .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.qual .dir { display: inline-flex; align-items: center; gap: 5px; justify-content: flex-end; font-size: 12px; font-weight: 600; color: var(--body); margin-top: 4px; }
.w-green  { color: var(--color-green); }
.w-lime   { color: var(--color-lime); }
.w-yellow { color: var(--color-yellow); }
.w-orange { color: var(--color-orange); }
.w-red    { color: var(--color-red); }
.best-window { margin-top: 14px; font-size: 12px; font-weight: 700; color: currentColor; display: flex; align-items: center; gap: 5px; }








#ss-best-window {
    white-space: nowrap;
}


#ss-sendscore-card .timeline { margin-top: 10px; }

@media (max-width: 767px) {
    #ss-sendscore-card .timeline { margin-top: 8px; }
}

.timeline { position: relative; margin-top: 14px; padding-top: 16px; }
.tl-plot { position: relative; z-index: 4; }



.now-line { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--ink); z-index: 6; transform: translateX(-1px); }
.now-line .lab {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    font-size: 10px; font-weight: 700; color: var(--ink); background: #fff; padding: 0 3px; white-space: nowrap;
}



.now-line.bar { bottom: auto; }


.tl-times { position: relative; height: 14px; margin-top: 6px; }
.tl-times span { position: absolute; transform: translateX(-50%); font-size: 10px; font-weight: 600; color: var(--color-gray); white-space: nowrap; }



.night-bands { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 1; pointer-events: none; }
.night-seg { position: absolute; top: 0; bottom: 0; pointer-events: none; }


.seg-plot { height: 56px; }
.seg-plot .seg-bar { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }


.seg-bar { display: flex; height: 28px; border-radius: 8px; overflow: hidden; position: relative; z-index: 3; }
.seg-bar .seg { flex: 1; }


.seg-now-dot { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); transform: translate(-50%, -50%); z-index: 7; box-shadow: 0 1px 3px rgba(0,0,0,0.25); pointer-events: none; }




#ss-sendscore-card .seg {
    cursor: pointer;
    transition: opacity 0.12s ease;
}
#ss-sendscore-card .seg:hover {
    opacity: 0.72;
}
#ss-sendscore-card .seg.ss-is-selected {
    opacity: 1;
}



.cond-legend {
    display: flex; gap: 14px; align-items: center;
    margin-top: 10px;
}
.cond-legend-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; color: var(--muted);
}
.cond-legend-swatch { display: inline-block; width: 16px; height: 0; }
.cond-legend-rock { border-top: 2.5px solid #6b7280; }
.cond-legend-dew  { border-top: 2px dashed #9ca3af; }



.temp-legend {
    display: flex; gap: 14px; align-items: center;
    margin-top: 10px;
}
.temp-legend-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; color: var(--muted);
}
.temp-legend-swatch { display: inline-block; width: 16px; height: 0; }
.temp-legend-air   { border-top: 2.5px solid #6b7280; }
.temp-legend-feels { border-top: 2px dashed #9ca3af; }


.bar-overlay-svg {
    position: absolute; top: 0; bottom: 0; left: 0; right: 0;
    width: 100%; height: 100%; z-index: 0; pointer-events: none;
}

#ss-rain-card .bar-chart {
    z-index: 0;
}


.rain-legend {
    display: flex; gap: 14px; align-items: center;
    margin-top: 10px;
}
.rain-legend-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; color: var(--muted);
}
.rain-legend-swatch { display: inline-block; width: 16px; height: 10px; border-radius: 2px; }
.rain-legend-bar  { background: rgba(156, 163, 175, 0.3); }
.rain-legend-prob { width: 16px; height: 0; border-radius: 0; border-top: 2.5px solid #6b7280; }


.ss-score-pct {
    font-weight: 700;
    color: var(--ink, #111827);
}

#ss-score-number { color: var(--ink, #111827); }


#ss-verdict {
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 180px;
    text-wrap: balance;
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
    hyphens: manual;
}





@media (min-width: 768px) {
    #ss-verdict { max-width: 280px; }
}

@media (min-width: 1024px) {
    #ss-verdict { max-width: 360px; }
}






#ss-sendscore-card .widget-head { min-height: 58px; align-items: center; }
#ss-sendscore-card .left { flex-shrink: 0; }
#ss-sendscore-card .card-label { white-space: nowrap; }
#ss-sendscore-card .qual { flex-shrink: 1; min-width: 0; align-self: center; }


#ss-now-line,
#ss-now-dot {
    pointer-events: none;
}








#ss-temp-card,
#ss-rain-card,
#ss-hum-card,
#ss-wind-card,
#ss-sun-exp-card,
#ss-rock-card,
#ss-cond-card {
    --ink:   #111827;
    --body:  #1f2937;
    --muted: #6b7280;
    --hair:  #e5e7eb;
}


#ss-cond-card .card-label {
    white-space: nowrap;
}


.bar-chart { display: flex; align-items: flex-end; gap: 2px; height: 90px; position: relative; z-index: 3; }
.bar-chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar-chart .bar { width: 100%; min-height: 3px; border-radius: 3px 3px 0 0; }



.bar-chart .wind-col { position: relative; }
.bar-chart .wind-col .bar { position: absolute; left: 0; bottom: 0; }
.bar-chart .wind-col .gust-bar { background: rgba(156, 163, 175, 0.3); z-index: 1; }
.bar-chart .wind-col .wind-bar { z-index: 2; }
.row-label { font-size: 10px; color: var(--muted); font-weight: 700; margin-top: 10px; }





















.sun-shade-band {
    display: flex; height: 10px; margin-top: 6px; border-radius: 5px; overflow: hidden;



    background: var(--muted, #6b7280);
}
.sun-shade-band .ss-band-seg { flex: 1; height: 100%; }

.sun-shade-band .ss-band-sun { background: #e5e7eb; }
.sun-shade-band .ss-band-shade { background: var(--muted, #6b7280); }


.sun-shade-legend {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10px; font-weight: 600; color: var(--muted);
}
.sun-shade-legend-item {
    display: inline-flex; align-items: center; gap: 4px;
}
.sun-shade-legend-swatch {
    display: inline-block; width: 8px; height: 8px; border-radius: 2px;
}



.sun-shade-legend-sun { background: #e5e7eb; border: 1px solid #d1d5db; }
.sun-shade-legend-shade { background: var(--muted, #6b7280); }


.meta-row { position: relative; height: 14px; margin-top: 6px; }
.meta-row .m { position: absolute; transform: translateX(-50%); font-size: 10px; color: var(--muted); text-align: center; white-space: nowrap; }
.meta-row .m .ws { font-weight: 700; color: var(--body); }



.line-chart .lc-svg { display: block; width: 100%; height: 90px; }


.now-dot {
    position: absolute; width: 12px; height: 12px; border-radius: 50%;
    background: #fff; border: 2.5px solid var(--ink, #111827);
    transform: translate(-50%, -50%); z-index: 7;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}




.y-axis { position: absolute; top: 0; bottom: 0; left: 0; width: 0; z-index: 6; pointer-events: none; }
.y-axis .y-max, .y-axis .y-min, .y-axis .y-mid {
    position: absolute; left: 2px; font-size: 9px; font-weight: 600;
    color: var(--muted); line-height: 1; white-space: nowrap;






    text-shadow: 0 0 3px #fff, 0 0 3px #fff;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 3px;
    padding: 0 2px;
}
.y-axis .y-max { top: 1px; }
.y-axis .y-min { bottom: 1px; }


.y-axis-right { left: auto; right: 0; }
.y-axis-right .y-max, .y-axis-right .y-min, .y-axis-right .y-mid {
    left: auto; right: 2px;
}


.y-axis .y-mid { transform: translateY(-50%); }




.ss-bar-col {
    cursor: pointer;
}


.ss-lc-now-line,
.ss-lc-now-dot {
    pointer-events: none;
}


.dir svg {
    flex-shrink: 0;
}



.meta-row-icons { height: 26px; }
.meta-row-icons .m { top: 50%; transform: translate(-50%, -50%); line-height: 0; }
.meta-row-icons .m svg { display: block; }






.sky-strip { position: relative; }
.sky-strip .sky-ic {
    position: absolute;
    transform: translateX(-50%);
    line-height: 0;
}
.sky-strip--mini { height: 26px; margin-top: 8px; }


.sky-strip--mini .sky-ic svg { display: block; }








.ss-orient-selector-host {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    background: #eef0f3;
    border-radius: 9999px;
    padding: 3px;
    max-width: 100%;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.ss-orient-selector-host::-webkit-scrollbar { display: none; }
.ss-orient-chip {
    position: relative;
    flex: 0 0 auto;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--muted, #6b7280);
    border-radius: 9999px;
    padding: 6px 16px;
    min-width: 40px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.12s ease;
}
.ss-orient-chip:hover { color: var(--body, #374151); }
.ss-orient-chip.is-active {
    background: #ffffff;
    color: var(--ink, #111827);
    box-shadow: 0 1px 2px rgba(0,0,0,0.10);
}
.ss-orient-chip-label { display: block; }




.ss-orient-best-star {
    margin-left: 4px;
    font-size: 11px;
    line-height: 1;
    color: currentColor;
    pointer-events: none;
}


.ss-orient-global {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.ss-orient-global[hidden] { display: none; }
.ss-orient-global-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted, #9ca3af);
    flex-shrink: 0;
}




.ss-orient-sticky {
    position: fixed;
    left: 0; right: 0;
    top: 56px;
    z-index: 40;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

@media (min-width: 768px) {
    .ss-orient-sticky {
        top: 64px;
    }
}

@media (min-width: 1024px) {
    .ss-orient-sticky {
        top: 80px;
    }
}
.ss-orient-sticky[hidden] { display: none; }
.ss-orient-sticky-inner {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 1rem;
}

.ss-sticky-mobile-group {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
}


.ss-sticky-col-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 auto;
    min-width: 0;
}

.ss-sticky-crag-name {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

@media (min-width: 475px) {
    .ss-sticky-crag-name {
        max-width: 220px;
    }
}

.ss-sticky-divider {
    height: 14px;
    width: 1px;
    flex-shrink: 0;
    margin: 0 4px;
}

.ss-sticky-col-center {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #4b5563;
    flex-shrink: 0;
}

.ss-sticky-col-right {
    flex-shrink: 0;
    margin-left: auto;
}

@media (min-width: 768px) {
    .ss-orient-sticky-inner {
        display: grid;
        grid-template-columns: 2fr 1fr 2fr;
        align-items: center;
        gap: 16px;
    }

    .ss-sticky-mobile-group {
        display: contents;
    }

    .ss-sticky-col-left {
        flex: none;
        max-width: 100%;
        grid-column: 1;
    }

    .ss-sticky-crag-name {
        font-size: 11px;
        max-width: 75%;
    }

    .ss-sticky-divider {
        display: none;
    }

    .ss-sticky-col-center {
        flex: none;
        max-width: 100%;
        grid-column: 2;
        justify-self: center;
        font-size: 12px;
    }

    .ss-sticky-col-right {
        flex: none;
        max-width: 100%;
        grid-column: 3;
        justify-self: end;
        margin-left: 0;
    }
}




.row-label-with-control {
    display: flex;
    align-items: center;
    gap: 10px;
}





.ss-orient-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    line-height: 1;
    color: var(--body, #1f2937);
}
.ss-orient-arrow { display: block; color: #6b7280; }
.ss-orient-text { font-size: 9px; font-weight: 700; color: var(--body, #1f2937); }
.ss-orient-dash { color: #d1d5db; font-weight: 700; }


.meta-row-dir { height: 28px; }



.now-line, .now-dot, .night-bands, .night-seg { pointer-events: none; }


.tl-plot {
    cursor: pointer;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}


#forecast-cards-container {
    will-change: transform, opacity;
}

.slide-fade-out-left {
    transform: translate3d(-24px, 0, 0);
    opacity: 0;
    transition: transform 0.15s ease-in, opacity 0.15s ease-in;
}

.slide-fade-out-right {
    transform: translate3d(24px, 0, 0);
    opacity: 0;
    transition: transform 0.15s ease-in, opacity 0.15s ease-in;
}

.slide-fade-in-left {
    transform: translate3d(-24px, 0, 0);
    opacity: 0;
}

.slide-fade-in-right {
    transform: translate3d(24px, 0, 0);
    opacity: 0;
}

.slide-fade-active {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}


#swipe-date-hud {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translate3d(-50%, 20px, 0);
    background: rgba(17, 24, 39, 0.85);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    z-index: 9999;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#swipe-date-hud.swipe-hud-visible {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
}

#swipe-date-hud.swipe-hud-hidden {
    opacity: 0;
    transform: translate3d(-50%, -10px, 0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}






.seg-bar { display: flex; height: 28px; border-radius: 8px; overflow: hidden; position: relative; z-index: 3; }
.seg-bar .seg { flex: 1; cursor: pointer; transition: opacity 0.12s ease; }
.seg-bar .seg:hover { opacity: 0.85; }


.ss-temp-seg-bar,
.ss-rain-seg-bar,
.ss-hum-seg-bar,
.ss-wind-seg-bar,
.ss-sun-seg-bar,
.ss-rock-seg-bar,
.ss-cond-seg-bar {
    height: 8px;
    border-radius: 4px;
    margin-top: 8px;
    margin-bottom: 2px;
}


.hide-factor-bars .ss-temp-seg-bar,
.hide-factor-bars .ss-rain-seg-bar,
.hide-factor-bars .ss-hum-seg-bar,
.hide-factor-bars .ss-wind-seg-bar,
.hide-factor-bars .ss-sun-seg-bar,
.hide-factor-bars .ss-rock-seg-bar,
.hide-factor-bars .ss-cond-seg-bar {
    display: none !important;
}


.ss-orient-sticky-btn {
    height: 26px;
    min-width: 48px;
    border-radius: 9999px;
    padding: 0 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    color: #111827;
    cursor: pointer;
    transition: transform 0.1s ease, border-color 0.15s ease;
    outline: none;
}
.ss-orient-sticky-btn:hover {
    border-color: #9ca3af;
}
.ss-orient-sticky-btn:active {
    transform: scale(0.96);
}

.ss-orient-sticky-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 6px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    min-width: 48px;
}
.ss-orient-sticky-menu[hidden] {
    display: none;
}

.ss-orient-sticky-chip {
    height: 26px;
    border-radius: 9999px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #4b5563;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.1s ease, color 0.1s ease;
    outline: none;
    white-space: nowrap;
}
.ss-orient-sticky-chip:hover {
    background: #f3f4f6;
    color: #111827;
}
.ss-orient-sticky-chip.is-active {
    background: #111827;
    color: #ffffff;
}


.ss-sticky-timeline-wrap {
    position: relative;
    width: 100%;
    max-width: 1024px;
    margin: 8px auto 0 auto;
    padding: 0 1rem;
}
.ss-sticky-seg {
    flex: 1;
    height: 100%;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.ss-sticky-seg:hover {
    opacity: 0.85;
}


#day-selectors {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}


.day-chip {
    min-width: 88px;
    padding: 6px 8px;
    scroll-snap-align: start;
}
.day-chip.is-selected {
    border: 1.5px solid #111827 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
}
.day-chip.is-selected .day-chip-weather {
    color: #111827;
    font-weight: 600;
}




@media (max-width: 767px) {
    .day-chip-premium {
        min-width: 128px;
        padding: 10px 12px;
    }
}







@media (min-width: 768px) and (max-width: 1023px) {
    .day-chip {
        min-width: clamp(104px, 13vw, 132px);
        padding: 12px 16px;
        border-radius: 18px !important;
    }

    .day-chip .day-label-text {
        font-size: 15px !important;
        margin-bottom: 3px !important;
    }

    .day-chip .day-chip-date {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }

    .day-chip-weather {
        font-size: 13px !important;
        margin-top: 8px !important;
    }
}

@media (min-width: 1024px) {
    .day-chip {
        min-width: 140px;
        padding: 16px 20px;
        border-radius: 20px !important;
    }
    
    .day-chip .day-label-text {
        font-size: 16px !important;
        margin-bottom: 4px !important;
    }
    
    .day-chip .day-chip-date {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }
    
    .day-chip-weather {
        font-size: 14px !important;
        margin-top: 10px !important;
    }
}




@media (min-width: 768px) and (max-width: 1023px) {
    .day-chip-premium {
        min-width: 144px;
        padding: 12px 16px;
    }
}
@media (min-width: 1024px) {
    .day-chip-premium {
        min-width: 152px;
    }
}








@media (min-width: 768px) {
    .card-label { font-size: 14px; }
    .metric-val { font-size: 32px; }
    #ss-verdict, .qual .word { font-size: 16px; }

    .metric-sub, .qual .sub, .qual .dir, .best-window { font-size: 14px; }
    .impact-label { font-size: 12px; margin-bottom: 4px; }

    .cond-legend-item, .temp-legend-item, .rain-legend-item,
    .sun-shade-legend, .row-label { font-size: 13px; }
    .crag-source-text { font-size: 12px; }

    .timeline { padding-top: 18px; }
    .now-line .lab { font-size: 12px; top: -18px; }
    .tl-times { height: 16px; }
    .tl-times span { font-size: 12px; }
    .meta-row { height: 16px; }
    .meta-row .m { font-size: 12px; }
    .meta-row-dir { height: 32px; }
    .ss-orient-text { font-size: 12px; }
    .y-axis .y-max, .y-axis .y-min, .y-axis .y-mid { font-size: 12px; }

    .ss-orient-global-label { font-size: 14px; }

    #ss-sticky-orient-desktop-chips .ss-orient-chip { font-size: 14px; }
    #ss-sticky-orient-desktop-chips .ss-orient-best-star { font-size: 12px; }



    .ss-sticky-crag-name, .ss-sticky-col-center { font-size: 14px; }
    .ss-orient-sticky-btn, .ss-orient-sticky-chip { font-size: 13px; height: 32px; padding: 0 12px; }
}
@media (min-width: 1024px) {
    .card-label { font-size: 16px; }
    .metric-val { font-size: 36px; }
    #ss-verdict, .qual .word { font-size: 18px; }
}
