/* Home scene – weather card + view navigator, matching the site's new style. 2026-11 */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&display=swap");

#parallax-container {
    --hc-glass: rgba(22, 30, 27, .52);
    --hc-line: rgba(247, 244, 238, .16);
    --hc-ink: #f7f4ee;
    --hc-peach: #e2a77f;
    --hc-edge: max(40px, calc((100% - 1200px) / 2));   /* same right edge as the menu and sections */
    --hc-bottom: 30px;
}

/* ---------------- view navigator (bottom centre) ---------------- */
body .parallax-nav {
    display: none;
}
@media (min-width: 900px) {
    body .parallax-nav {
        display: flex;
        align-items: center;
        gap: 6px;
        left: 50%;
        right: auto;
        bottom: var(--hc-bottom);
        width: auto;
        height: auto;
        margin: 0;
        padding: 6px;
        transform: translateX(-50%);
        border: 1px solid var(--hc-line);
        border-radius: 999px;
        background: var(--hc-glass);
        -webkit-backdrop-filter: blur(12px) saturate(1.2);
        backdrop-filter: blur(12px) saturate(1.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    }
}
body .parallax-nav > .px-left,
body .parallax-nav > .px-right {
    float: none;
    position: static;
    width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 50%;
    font-size: 18px;
    color: var(--hc-ink);
    text-align: center;
    cursor: pointer;
    transition: background-color .25s ease, opacity .3s ease, transform .2s ease;
}
body .parallax-nav > .px-left:hover,
body .parallax-nav > .px-right:hover { background: rgba(247, 244, 238, .14); }
body .parallax-nav > .px-left:active,
body .parallax-nav > .px-right:active { transform: scale(.92); }
body .parallax-nav > .is-off { opacity: .3; pointer-events: none; }
body .parallax-nav > div:focus-visible,
body .parallax-nav .hc-dots button:focus-visible { outline: 2px solid var(--hc-peach); outline-offset: 2px; }

body .parallax-nav > .hc-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    float: none;
    position: static;
    width: auto;
    height: 38px;
    line-height: normal;
    padding: 0 6px;
    cursor: default;
}
.hc-dots button {
    flex: 0 0 auto;
    min-width: 7px;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(247, 244, 238, .45);
    cursor: pointer;
    transition: width .35s ease, background-color .35s ease;
}
.hc-dots button:hover { background: rgba(247, 244, 238, .8); }
.hc-dots button.is-active { width: 22px; background: var(--hc-peach); }

/* ---------------- weather card (bottom right, aligned to the content edge) ---------------- */
body .tdpc-widget {
    display: none;
}
@media (min-width: 900px) {
    body .tdpc-widget {
        display: block;
        left: auto;
        right: var(--hc-edge);
        bottom: var(--hc-bottom);
        width: auto;
        padding: 0;
    }
}
body #weather {
    display: inline-block;
    padding: 8px 18px 8px 8px;
    border: 1px solid var(--hc-line);
    border-radius: 16px;
    background: var(--hc-glass);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    color: var(--hc-ink);
}
body #weather div.aw-widget-current,
body #weather div.aw-widget-current-inner,
body #weather div.aw-widget-content,
body #weather .aw-current-weather,
body #weather .aw-current-weather-inner {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: none !important;
    border: 0 !important;
}
body #weather .aw-current-weather-inner { display: flex !important; align-items: center; gap: 4px; }
body #weather .aw-current-weather-inner h3 { display: none !important; }
body #weather .aw-icon {
    float: none !important;
    flex: 0 0 52px;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    background-size: 150% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
/* temperature on the left, "Cloudy" over the time on the right */
body #weather p.aw-temp-time-desc {
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    text-align: left !important;
    font-family: Manrope, "Helvetica Neue", Arial, sans-serif !important;
    color: var(--hc-ink) !important;
}
body #weather .aw-temperature-today {
    grid-row: 1 / span 2;
    display: block;
    width: auto !important;
    height: auto !important;
    padding-right: 14px;
    border-right: 1px solid var(--hc-line);
}
body #weather .aw-temperature-today,
body #weather .aw-temperature-today b {
    font-family: Manrope, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    color: var(--hc-ink) !important;
}
body #weather .aw-temperature-today sup { position: relative !important; top: -.55em !important; vertical-align: baseline !important; font-size: .5em !important; margin-left: 1px; }
body #weather p.aw-temp-time-desc .aw-weather-description {
    grid-column: 2;
    grid-row: 1;
    display: block;
    width: auto !important;
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    color: var(--hc-ink) !important;
}
body #weather p.aw-temp-time-desc time {
    grid-column: 2;
    grid-row: 2;
    display: block;
    width: auto !important;
    margin: 3px 0 0 !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(247, 244, 238, .7) !important;
}
body #weather .aw-toggle, body #weather .aw-get-widget-footer, body #weather a.aw-widget-legal { display: none !important; }

/* sound button sits on the same right edge */
body a#audio_control { right: var(--hc-edge) !important; }

@media (prefers-reduced-motion: reduce) {
    .hc-dots button, body .parallax-nav > div { transition: none; }
}

/* ---------------- home page: menu bar below the scene, sticky after it ---------------- */
body.home.tdn-below { padding-top: 0 !important; }
body.tdn-below .tdn { position: absolute; }
body.tdn-below .tdn.is-stuck { position: fixed; top: 0; }
body.admin-bar.tdn-below .tdn.is-stuck { top: 32px; }
/* full size while it sits under the scene; it slims down only once stuck */
body.tdn-below .tdn:not(.is-stuck) .tdn__bar { height: var(--tdn-h); box-shadow: none; }
body.tdn-below .tdn:not(.is-stuck) .tdn__logo img { height: 58px; }
@media (max-width: 980px) {
    body.tdn-below .tdn:not(.is-stuck) .tdn__logo img { height: 50px; }
    body.admin-bar.tdn-below .tdn.is-stuck { top: 46px; }
}

/* own weather card (Open-Meteo): icon · temperature · condition over time. 2026-11-18 */
body #weather.tdw {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px 12px 16px;
    font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
    color: var(--hc-ink);
    white-space: nowrap;
}
body #weather.tdw .tdw__icon { display: flex; color: var(--hc-peach); }
body #weather.tdw .tdw__icon svg { width: 30px; height: 30px; stroke-width: 1.4; }
body #weather.tdw .tdw__t {
    padding-right: 14px;
    border-right: 1px solid var(--hc-line);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.02em;
}
body #weather.tdw .tdw__t sup { position: relative; top: -.85em; margin-left: 2px; font-size: .38em; font-weight: 500; letter-spacing: .02em; vertical-align: baseline; }
body #weather.tdw .tdw__meta { display: flex; flex-direction: column; gap: 4px; }
body #weather.tdw .tdw__d { font-size: 14px; font-weight: 500; line-height: 1.2; }
body #weather.tdw .tdw__time { font-size: 10px; font-weight: 600; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 244, 238, .62); }
