/* source/css/style.css */
/* 00 Fonts */
@font-face {
    font-family: "GSC Fira Sans";
    src: url("../design/FiraSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GSC Tiny";
    src: url("../design/04B_03__.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

img.alignleft {
    float:left;margin:0.35em 1.8rem 1rem 0;
}
img.alignright {
    float:right;margin:0.35em 0 1rem 1.8rem;
}
img.aligncenter {
    display:block;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}

/* 01 Theme variables */
:root {
    --gsc-font: "GSC Fira Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --gsc-mono-font: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --gsc-app-bg: #000;
    --gsc-page-bg: #000;
    --gsc-page-text: #e8e8e8;
    --gsc-text-muted: rgba(255,255,255,0.62);
    --gsc-link-text: #f5922d;
    --gsc-link-text-active: #ffb15a;
    --gsc-border: rgba(255,255,255,0.26);
    --gsc-border-soft: rgba(255,255,255,0.10);
    --gsc-focus-color: rgba(245,146,45,0.36);
    --gsc-scrollbar-track: #111111;
    --gsc-scrollbar-thumb: #555555;
    --gsc-scrollbar-thumb-active: #777777;

    --gsc-page-pad-y: 14px;
    --gsc-page-pad-x: 18px;
    --gsc-page-pad-bottom: 82px;
    --gsc-page-max: 900px;
    --gsc-page-font-size: clamp(17.5px, 3.95vw, 20px);
    --gsc-page-line-height: 1.45;
    --gsc-title-size: clamp(28px, 6.5vw, 44px);
    --gsc-title-weight: 400;
    --gsc-title-spacing: 0.01em;

    --gsc-block-gap: 1.45em;

    --gsc-nav-tablet-scale: 1.2;
    --gsc-nav-height: 46px;
    --gsc-nav-button-font-size: 23px;
    --gsc-nav-icon-size: 20.7px;
    --gsc-safe-top: env(safe-area-inset-top, 0px);
    --gsc-safe-right: env(safe-area-inset-right, 0px);
    --gsc-safe-left: env(safe-area-inset-left, 0px);
    --gsc-nav-bg: rgba(5,5,5,0.80);
    --gsc-nav-border: rgba(255,255,255,0.10);
    --gsc-nav-button-bg: rgba(20,20,20,0.72);
    --gsc-nav-button-text: rgba(255,255,255,0.84);
    --gsc-nav-button-active-bg: rgba(255,255,255,0.20);
    --gsc-nav-button-active-text: rgba(255,255,255,0.98);

    --gsc-control-bg: #333;
    --gsc-control-bg-active: #666;
    --gsc-control-text: #eeeeee;
    --gsc-control-border: rgba(255,255,255,0.32);
    --gsc-control-radius: 4px;
    --gsc-control-min-height: 37px;
    --gsc-control-font-size: clamp(15.8px, 3.7vw, 20px);
    --gsc-input-bg: #202020;
    --gsc-input-text: #efefef;
    --gsc-input-font-size: clamp(16.7px, 3.95vw, 22px);

    --gsc-settings-summary-bg: rgba(128,128,128,0.40);
    --gsc-settings-summary-open-bg: rgba(160,160,160,0.9);
    --gsc-settings-summary-text: rgba(255,255,255,0.91);
    --gsc-settings-marker: rgba(255,255,255,0.91);
    --gsc-settings-summary-font-size: clamp(16.7px, 3.95vw, 22px);
    --gsc-settings-row-font-size: clamp(15.8px, 3.8vw, 21px);

    --gsc-status-bg: #050505;
    --gsc-status-text: #e8e8e8; 
    --gsc-status-border: #444444;
    --gsc-status-font-size: 9px;

    --gsc-about-button-min-width: min(340px, 78vw);
    --gsc-about-button-font-size: clamp(17px, 4vw, 22px);

    --gsc-gps-stale-text: rgba(255,255,255,0.42);
    --gsc-gps-stale-active: rgba(255,255,255,0.62);

    --gsc-dial-bg: #151515;
    --gsc-red: #cc0000;
    --gsc-timecontrol-red: rgb(204,0,0);
}

body.gsc-page-light {
    --gsc-app-bg: #fff;
    --gsc-page-bg: #fff;
    --gsc-page-text: #000;
    --gsc-text-muted: rgba(0,0,0,0.62);
    --gsc-border: rgba(0,0,0,0.26);
    --gsc-border-soft: rgba(0,0,0,0.18);
    --gsc-focus-color: rgba(214,112,20,0.28);
    --gsc-scrollbar-track: #eeeeee;
    --gsc-scrollbar-thumb: #9a9a9a;
    --gsc-scrollbar-thumb-active: #777777;

    --gsc-nav-bg: rgba(230,230,230,0.92);
    --gsc-nav-border: rgba(0,0,0,0.18);
    --gsc-nav-button-bg: rgba(240,240,240,0.88);
    --gsc-nav-button-text: rgba(0,0,0,0.82);
    --gsc-nav-button-active-bg: rgba(0,0,0,0.18);
    --gsc-nav-button-active-text: rgba(0,0,0,0.96);

    --gsc-control-bg: #e8e8e8;
    --gsc-control-bg-active: #e0e0e0;
    --gsc-control-text: #000;
    --gsc-input-bg: #f0f0f0;
    --gsc-input-text: #222222;
    --gsc-control-border: rgba(0,0,0,0.30);

    --gsc-settings-summary-bg: rgba(112,112,112,0.60);
    --gsc-settings-summary-open-bg: rgba(60,60,60,0.85);
    --gsc-settings-summary-text: rgba(255,255,255,0.90);
    --gsc-settings-marker: rgba(255,255,255,0.82);

    --gsc-status-bg: #ffffff;
    --gsc-status-text: #222222;
    --gsc-status-border: rgba(0,0,0,0.30);

    --gsc-gps-stale-text: rgba(0,0,0,0.46);
    --gsc-gps-stale-active: rgba(0,0,0,0.66);
}

/* 02 App shell / pages / dial */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--gsc-app-bg);
    color: var(--gsc-page-text);
    font-family: var(--gsc-font);
}

html[dir="rtl"],
html[dir="rtl"] body {
    direction: ltr;
}

html[dir="rtl"] #app {
    direction: rtl;
}

a {
    color: var(--gsc-link-text);
}

a:visited {
    color: var(--gsc-link-text);
}

a:active {
    color: var(--gsc-link-text-active);
}

.about-action-button,
.about-action-button:visited,
.about-action-button:active {
    color: var(--gsc-control-text);
}

#app {
    position: fixed;
    inset: 0;
}

body:not([data-page="dial"]) #app {
    inset: 0 0 var(--gsc-nav-height) 0;
}

.page {
    position: absolute;
    inset: 0;
    overflow: auto;
    box-sizing: border-box;
    padding: 18px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.page.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

#page-dial {
    padding: 0;
    overflow: hidden;
}

#dial {
    display: block;
    direction: ltr;
    width: 100vw;
    height: 100%;
    background: var(--gsc-dial-bg);
    touch-action: none;
    user-select: none;
}

#dialRootTime {
    position: absolute;
    left: calc(24px + var(--gsc-safe-left));
    right: calc(24px + var(--gsc-safe-right));
    top: 18vh;
    z-index: 35;
    box-sizing: border-box;
    pointer-events: none;
    text-align: center;
    font-family: var(--gsc-font);
    font-size: 16px;
    line-height: 1.18;
    color: var(--gsc-red);
    text-shadow: none;
    overflow-wrap: anywhere;
    white-space: pre-line;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

#dialRootTime.is-empty {
    display: none;
}

#dialRootTime.is-agni {
    font-family: var(--gsc-mono-font);
    color: rgb(107,107,107);
}

#dialRootTime.is-agni.is-night {
    color: rgb(189,189,189);
}

#dialRootTime.is-hint {
    color: var(--gsc-red);
    line-height: 1.45;
}

body.gsc-dial-photo-day #dialRootTime.is-hint,
body.gsc-dial-photo-day #dialWelcomeHint a {
    color: #9c1015;
}

#dialRootTime.is-timecontrol {
    font-family: var(--gsc-mono-font);
    color: var(--gsc-timecontrol-red);
}

#dialAgniTime {
    position: absolute;
    left: calc(24px + var(--gsc-safe-left));
    right: calc(24px + var(--gsc-safe-right));
    bottom: var(--gsc-dial-agni-bottom);
    z-index: 35;
    box-sizing: border-box;
    pointer-events: none;
    text-align: center;
    font-family: var(--gsc-font);
    font-size: var(--gsc-dial-agni-font-size, 15px);
    line-height: 1.2;
    color: rgb(130,130,130);
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

#dialAgniTime.is-night {
    color: rgb(135,135,135);
}

#dialAgniTime.is-enlarged {
    font-size: var(--gsc-dial-agni-font-size-enlarged, 22px);
}

#dialAgniTime.is-empty,
body.gsc-timecontrol-active #dialAgniTime {
    display: none;
}

.timecontrol-date {
    color: var(--gsc-timecontrol-red);
}

.timecontrol-date .grey {
    color: rgb(128,128,128);
}

/* 03 Navigation */
#nav {
    display: none;
    position: fixed;
    direction: ltr;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--gsc-nav-height);
    box-sizing: border-box;
    padding: 0 var(--gsc-safe-right) 0 var(--gsc-safe-left);
    grid-template-columns: repeat(6, 1fr);
    background: var(--gsc-nav-bg);
    border-top: 1px solid var(--gsc-nav-border);
    z-index: 100;
}

body[data-page]:not([data-page="dial"]) #nav {
    display: grid;
}

#nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    background: var(--gsc-nav-button-bg);
    color: var(--gsc-nav-button-text);
    border: 0;
    border-right: 1px solid var(--gsc-nav-border);
    font-family: var(--gsc-font);
    font-size: var(--gsc-nav-button-font-size);
    line-height: 1;
    font-weight: 520;
}

#nav button:last-child {
    border-right: 0;
}

#nav button[data-page="dial"] {
    font-size: clamp(24px, 8vw, 31px);
    font-weight: 400;
}

#nav button.active {
    background: var(--gsc-nav-button-active-bg);
    color: var(--gsc-nav-button-active-text);
    font-weight: 650;
}

body.gsc-timecontrol-active[data-page]:not([data-page="dial"]) #nav button:first-child {
    background: var(--gsc-timecontrol-red);
    color: #ffffff;
}

/* 04 Dial overlays */
#dialWelcomeHint {
    position: absolute;
    top: calc(47px + var(--gsc-safe-top));
    left: calc(40px + var(--gsc-safe-left));
    z-index: 45;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100vw - 130px - var(--gsc-safe-left) - var(--gsc-safe-right));
    padding: 11px 40px 12px 15px;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 9px;
    background: rgba(58,58,62,0.96);
    color: #f2f2f2;
    font-family: var(--gsc-font);
    font-size: 15px;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(0,0,0,0.42);
}

#dialWelcomeHint[hidden] {
    display: none;
}

body.gsc-page-light #dialWelcomeHint {
    border-color: rgba(0,0,0,0.12);
    background: rgba(193,203,213,0.88);
    color: #24292D;
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
}

#dialWelcomeHint a {
    display: block;
    margin-top: 4px;
    color: var(--gsc-red);
}

#dialWelcomeClose {
    position: absolute;
    top: 3px;
    right: 4px;
    border: 0;
    padding: 0;
    width: 28px;
    height: 28px;
    background: transparent;
    color: #f2f2f2;
    font-size: 23px;
    cursor: pointer;
}

body.gsc-page-light #dialWelcomeClose {
    color: #24292D;
}

.dial-welcome-close-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

#gpsStaleNotice {
    display: none;
    position: absolute;
    top: calc(7px + var(--gsc-safe-top));
    left: 40%;
    transform: translateX(-50%);
    z-index: 42;
    box-sizing: border-box;
    max-width: 42vw;
    min-width: 86px;
    min-height: 24px;
    padding: 2px 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--gsc-gps-stale-text);
    font-family: var(--gsc-font);
    font-size: 11px;
    line-height: 1.12;
    text-align: center;
    white-space: normal;
    cursor: pointer;
}

#gpsStaleNotice:not([hidden]) {
    display: block;
}

#gpsStaleNotice .gps-stale-link {
    text-decoration: underline;
    text-underline-offset: 2px;
}

#gpsStaleNotice:active {
    color: var(--gsc-gps-stale-active);
}

body[data-page]:not([data-page="dial"]):not([data-page="data"]) #fullscreenButton {
    display: none;
}

#fullscreenButton {
    position: absolute;
    top: 7px;
    left: calc(8px + var(--gsc-safe-left));
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 27px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    color: rgba(255,255,255,0.62);
    background: rgba(0,0,0,0.14);
    font-size: 15px;
    line-height: 1;
    text-align: center;
}


#fullscreenButton.is-fullscreen-missing {
    color: var(--gsc-timecontrol-red);
    background: rgba(0,0,0,0.34);
    border-color: rgba(255,255,255,0.42);
}

#fullscreenButton:active {
    background: rgba(255,255,255,0.10);
}

#dialInfoButton,
#timeControlButton {
    position: absolute;
    right: calc(var(--gsc-dial-button-right, 8px) + var(--gsc-safe-right));
    z-index: 40;
    display: grid;
    place-items: center;
    width: var(--gsc-dial-button-size, 30px);
    height: var(--gsc-dial-button-size, 30px);
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 999px;
    color: rgba(255,255,255,0.72);
    background: rgba(0,0,0,0.18);
    font-size: var(--gsc-dial-button-font-size, 18px);
    line-height: 1;
    text-align: center;
}

#dialInfoButton {
    bottom: var(--gsc-dial-button-bottom, 6px);
}

#timeControlButton {
    bottom: calc(var(--gsc-dial-button-bottom, 6px) + var(--gsc-dial-button-size, 30px) + var(--gsc-dial-button-gap, 4px));
}

#dialInfoButton:active,
#timeControlButton:active {
    background: rgba(255,255,255,0.12);
}

#timeControlButton.is-active {
    color: #ffffff;
    background: var(--gsc-timecontrol-red);
    border-color: var(--gsc-timecontrol-red);
}

#timeControlButton .dial-button-icon {
    display: block;
    width: var(--gsc-dial-button-icon-size, 17px);
    height: var(--gsc-dial-button-icon-size, 17px);
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

#nav .nav-clock-icon {
    display: block;
    width: var(--gsc-nav-icon-size);
    height: var(--gsc-nav-icon-size);
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

#timeControlBorder {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 110;
    box-sizing: border-box;
    border: 3px solid var(--gsc-timecontrol-red);
    pointer-events: none;
}

body.gsc-timecontrol-active #timeControlBorder:not([hidden]) {
    display: block;
}

@media (min-width: 760px) and (pointer: fine) {
    #fullscreenButton {
        min-width: 27px;
        width: 27px;
        height: 23px;
        padding: 0;
        font-size: 13px;
    }
}

/* 05 Shared text pages S.1-S.4 */
#page-data,
#page-settings,
#page-manual,
#page-about {
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: var(--gsc-page-pad-y);
    padding-right: calc(var(--gsc-page-pad-x) + var(--gsc-safe-right));
    padding-bottom: var(--gsc-page-pad-bottom);
    padding-left: calc(var(--gsc-page-pad-x) + var(--gsc-safe-left));
    background: var(--gsc-page-bg);
    color: var(--gsc-page-text);
    font-size: var(--gsc-page-font-size);
    line-height: var(--gsc-page-line-height);
    font-weight: 400;
}

body.is-fullscreen #page-data,
body.is-fullscreen #page-settings,
body.is-fullscreen #page-manual,
body.is-fullscreen #page-about {
    padding-top: calc(var(--gsc-page-pad-y) + 1.45em);
}

#page-data > *,
#page-settings > *,
#page-manual > *,
#page-about > .textpage {
    max-width: var(--gsc-page-max);
    margin-left: auto;
    margin-right: auto;
}

#page-about > .textpage {
    width: 100%;
    box-sizing: border-box;
}

.textpage {
    line-height: var(--gsc-page-line-height);
}

.page-title {
    margin: 0.65em 0 0.9em;
    text-align: center;
    font-size: var(--gsc-title-size);
    line-height: 1.08;
    font-weight: var(--gsc-title-weight);
    letter-spacing: var(--gsc-title-spacing);
}

.text-block {
    margin: 0 0 var(--gsc-block-gap);
    line-height: var(--gsc-page-line-height);
}

.text-block:empty {
    display: none;
}

#page-data p,
#page-settings p,
#page-manual p,
#page-about p {
    text-align: justify;
}

.page p a {
    color: inherit;
    text-decoration: underline;
}

#locDataText p,
#objDataText p,
#legend0Text p,
#manualText p,
#settingsHelpText p,
#aboutPrivacyText p,
#aboutWebText p {
    margin: 0 0 var(--gsc-block-gap);
}

#locDataText p:last-child,
#objDataText p:last-child,
#legend0Text p:last-child,
#manualText p:last-child,
#settingsHelpText p:last-child,
#aboutPrivacyText p:last-child,
#aboutWebText p:last-child {
    margin-bottom: 0;
}

#locDataText,
#objDataText,
#legend0Text,
#manualText,
#aboutPrivacyText,
#aboutWebText,
#page4StatusLog,
#settingsHelpText {
    font-size: inherit;
    line-height: inherit;
}

#locDataText .meta,
#objDataText .meta,
#legend0Text .meta,
#manualText .meta,
#settingsHelpText .meta,
#aboutPrivacyText .meta,
#aboutWebText .meta {
    color: #808080;
    font-style: italic;
}

#locDataText,
#objDataText,
#legend0Text {
    white-space: normal;
}

#objDataText .gsc-data-weather-shortlink,
#objDataText .gsc-data-weather-shortlink:visited,
#objDataText .gsc-data-weather-shortlink:active {
    color: inherit;
    text-decoration: underline;
}

#settingsHelpText h2,
#manualText h2,
#aboutPrivacyText h2,
#aboutWebText h2 {
    margin: 0 0 0.55em;
    text-align: center;
    font-size: 1.18em;
    line-height: 1.18;
    font-weight: 400;
}

.app-section-title {
    margin: 0 0 0.55em;
    text-align: start;
    font-size: 1.18em;
    line-height: 1.18;
    font-weight: 400;
}

.info-lang-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 0.45em;
    margin: 0 0 0.75em;
    font-size: 0.9em;
    line-height: 1.2;
}


.hint,
#page-settings .hint {
    color: var(--gsc-text-muted);
}

.gps-hint-unchecked {
    color: var(--gsc-red);
}

/* 06 Shared controls */
#page-settings input:not([type="checkbox"]),
#page-settings select,
#page-settings button,
.about-action-button,
.info-lang-select {
    box-sizing: border-box;
    min-height: var(--gsc-control-min-height);
    border: 1px solid var(--gsc-control-border);
    border-radius: var(--gsc-control-radius);
    background: var(--gsc-control-bg);
    color: var(--gsc-control-text);
    font-family: var(--gsc-font);
    font-size: var(--gsc-control-font-size);
    font-weight: 400;
}

#page-settings input:not([type="checkbox"]) {
    display: block;
    width: 100%;
    max-width: none;
    margin: 10px 0 0;
    padding: 10px 16px;
    background: var(--gsc-input-bg);
    color: var(--gsc-input-text);
    font-size: var(--gsc-input-font-size);
    line-height: 1.1;
}

#page-settings select,
.info-lang-select {
    display: inline-block;
    width: auto;
    min-width: 160px;
    margin: 0;
    padding: 8px 10px;
}

#timezoneSelect {
    direction: ltr;
}

#page-settings button {
    margin: 0;
    padding: 7px 15px;
    min-width: 68px;
}

#page-settings button:active,
.about-action-button:active {
    background: var(--gsc-control-bg-active);
}

#page-settings button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.setting-disabled {
    opacity: 0.48;
}

#page-settings .setting-disabled select,
#page-settings .setting-disabled input,
#page-settings .setting-disabled button {
    cursor: not-allowed;
}

/* 07 Settings page */
#page-settings .settings-group {
    width: min(100%, var(--gsc-page-max));
    box-sizing: border-box;
    margin: 0 auto 4px;
    padding: 0;
    border: 1px solid var(--gsc-border);
    border-radius: 0;
    background: transparent;
}

#page-settings .settings-group:last-of-type {
    border-bottom: 1px solid var(--gsc-border);
}

#page-settings .settings-group > summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42em;
    box-sizing: border-box;
    padding: 10px 1.7em;
    list-style: none;
    cursor: pointer;
    text-align: center;
    -webkit-tap-highlight-color: var(--gsc-focus-color);
    background: var(--gsc-settings-summary-bg);
    color: var(--gsc-settings-summary-text);
    font-size: var(--gsc-settings-summary-font-size);
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: 0.015em;
}

#page-settings .settings-group > summary::-webkit-details-marker {
    display: none;
}

#page-settings .settings-group > summary::before {
    content: "▸";
    position: absolute;
    inset-inline-start: 0.62em;
    width: 1em;
    color: var(--gsc-settings-marker);
}

#page-settings .settings-group[open] > summary {
    background: var(--gsc-settings-summary-open-bg);
}

#page-settings .settings-group[open] > summary::before {
    content: "▾";
}

html[dir="rtl"] #page-settings .settings-group:not([open]) > summary::before {
    content: "◂";
}

#page-settings .settings-group > summary:focus-visible,
#page-settings button:focus-visible,
#page-settings input:focus-visible,
#page-settings select:focus-visible {
    outline: 2px solid var(--gsc-focus-color);
    outline-offset: 2px;
}

#page-settings .settings-content {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 4px 2px 8px;
    color: var(--gsc-page-text);
}

#page-settings .setting-label,
#page-settings .setting-row,
#page-settings .hint {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

#page-settings .setting-label,
#page-settings .setting-row {
    font-size: var(--gsc-settings-row-font-size);
    font-weight: 400;
    letter-spacing: 0;
    color: var(--gsc-page-text);
}

#page-settings .settings-content .hint {
    color: var(--gsc-text-muted);
}

#page-settings .setting-row > span[data-tx]::after,
#page-settings .setting-location-caption > span[data-tx]::after {
    content: ":";
}

#page-settings .setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 38px;
    margin: 0 0 3px;
    line-height: 1.25;
}

#page-settings .setting-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--gsc-control-border);
    border-radius: 3px;
    background: var(--gsc-input-bg);
    color: var(--gsc-control-text);
    transform: none;
    align-self: center;
}

#page-settings .setting-row input[type="checkbox"]::before {
    content: "";
    width: 12px;
    height: 7px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-1px, -1px) rotate(-45deg) scale(0);
    transform-origin: center;
}

#page-settings .setting-row input[type="checkbox"]:checked {
    background: var(--gsc-control-bg-active);
}

#page-settings .setting-row input[type="checkbox"]:checked::before {
    transform: translate(-1px, -1px) rotate(-45deg) scale(1);
}

#page-settings .setting-label {
    display: block;
    margin: 4px 0 6px;
    line-height: 1.25;
}

#page-settings .setting-location-caption {
    display: block;
    margin: 0 0 4px;
}

#page-settings .setting-input-action {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

#page-settings .setting-input-action input {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

#page-settings .setting-input-action button {
    flex: 0 0 auto;
    margin: 0;
}

#page-settings .setting-location-actions {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0 0;
}

#page-settings .setting-location-actions button {
    flex: 1 1 0;
    min-width: 0;
}

#page-settings .map-message {
    margin: 8px 0 0;
    text-align: center;
}

#page-settings .map-box {
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0 0;
}

#page-settings .map-box[hidden] {
    display: none;
}

#locationMap {
    width: 100%;
    height: min(56vh, 420px);
    min-height: 280px;
    box-sizing: border-box;
    border: 1px solid var(--gsc-border);
    background: var(--gsc-control-bg);
    overflow: hidden;
}

#page-settings .map-info {
    margin: 8px 0 0;
    text-align: center;
}

.leaflet-container {
    font-family: var(--gsc-font);
}


#settingsHelpText {
    width: min(100%, var(--gsc-page-max));
    box-sizing: border-box;
    margin-top: var(--gsc-block-gap);
    margin-left: auto;
    margin-right: auto;
}

#settingsHelpText > .page-title {
    margin: 1.25em 0 1em;
}

/* 08 Data / status page */
#page4StatusLog {
    margin: 0 0 28px 0;
}

#statusLogTitle {
    margin: 0 0 0.55em 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

#statusLogText {
    display: block;
    direction: ltr;
    width: 100%;
    min-height: 504px;
    max-height: 84vh;
    box-sizing: border-box;
    padding: 10px;
    resize: vertical;
    background: var(--gsc-status-bg);
    color: var(--gsc-status-text);
    border: 1px solid var(--gsc-status-border);
    font-family: var(--gsc-mono-font);
    font-size: var(--gsc-status-font-size);
    line-height: 1.2;
}

/* 09 About / manual specifics */
#aboutProgramText,
.about-program-box {
    margin: 0 auto var(--gsc-block-gap);
    text-align: center;
    font-size: 1.12em;
    line-height: 1.42;
}

#aboutProgramText p,
.about-program-box p {
    text-align: center;
}

.about-link-row {
    margin: 1.45em 0 1.45em;
    text-align: center;
}

.about-action-button {
    display: inline-block;
    min-width: var(--gsc-about-button-min-width);
    padding: 11px 18px;
    font-size: var(--gsc-about-button-font-size);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.gsc-info-page .info-action-button,
.gsc-info-page .info-action-button:visited,
.gsc-info-page .info-action-button:active {
    color: var(--gsc-control-text);
}

.gsc-info-page .info-action-button {
    box-sizing: border-box;
    display: block;
    width: fit-content;
    min-width: var(--gsc-about-button-min-width);
    min-height: var(--gsc-control-min-height);
    margin: 1.45em auto;
    padding: 11px 18px;
    border: 1px solid var(--gsc-control-border);
    border-radius: var(--gsc-control-radius);
    background: #21420a;
    font-family: var(--gsc-font);
    font-size: var(--gsc-about-button-font-size);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: none;
}

.gsc-info-page .info-link-block a {
    color: inherit;
    text-decoration: underline;
}


/* Dark/light scrollbars */
html,
body,
.page,
#page-data,
#page-settings,
#page-manual,
#page-about,
#statusLogText {
    scrollbar-width: thin;
    scrollbar-color: var(--gsc-scrollbar-thumb) var(--gsc-scrollbar-track);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.page::-webkit-scrollbar,
#page-data::-webkit-scrollbar,
#page-settings::-webkit-scrollbar,
#page-manual::-webkit-scrollbar,
#page-about::-webkit-scrollbar,
#statusLogText::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.page::-webkit-scrollbar-track,
#page-data::-webkit-scrollbar-track,
#page-settings::-webkit-scrollbar-track,
#page-manual::-webkit-scrollbar-track,
#page-about::-webkit-scrollbar-track,
#statusLogText::-webkit-scrollbar-track {
    background: var(--gsc-scrollbar-track);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.page::-webkit-scrollbar-thumb,
#page-data::-webkit-scrollbar-thumb,
#page-settings::-webkit-scrollbar-thumb,
#page-manual::-webkit-scrollbar-thumb,
#page-about::-webkit-scrollbar-thumb,
#statusLogText::-webkit-scrollbar-thumb {
    background: var(--gsc-scrollbar-thumb);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.page::-webkit-scrollbar-thumb:hover,
#page-data::-webkit-scrollbar-thumb:hover,
#page-settings::-webkit-scrollbar-thumb:hover,
#page-manual::-webkit-scrollbar-thumb:hover,
#page-about::-webkit-scrollbar-thumb:hover,
#statusLogText::-webkit-scrollbar-thumb:hover {
    background: var(--gsc-scrollbar-thumb-active);
}

/* 10 Media queries */
@media (min-width: 760px) {
    :root {
        --gsc-nav-height: calc(46px * var(--gsc-nav-tablet-scale));
        --gsc-nav-button-font-size: calc(23px * var(--gsc-nav-tablet-scale));
        --gsc-nav-icon-size: calc(20.7px * var(--gsc-nav-tablet-scale));
    }
}

@media (min-width: 760px) {
    #page-data,
    #page-settings,
    #page-manual,
    #page-about {
        padding-top: 18px;
        padding-left: calc(28px + var(--gsc-safe-left));
        padding-right: calc(28px + var(--gsc-safe-right));
    }

    body.is-fullscreen #page-data,
    body.is-fullscreen #page-settings,
    body.is-fullscreen #page-manual,
    body.is-fullscreen #page-about {
        padding-top: calc(18px + 1.45em);
    }
}



/* source/css/weather.css */
@font-face {
    font-family: "GSC Weather Icons";
    src: url("../design/wicons.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.gsc-weather-icon-inline {
    font-family: "GSC Weather Icons";
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    vertical-align: -0.06em;
}

.gsc-weather-data {
    --gsc-weather-sun: #C08024;
    --gsc-weather-clarity: #2B3C67;
    --gsc-weather-clarity-frame: #7C7765;
    --gsc-weather-daily-sun: #d2aa20;
    --gsc-weather-daily-grey: #787878;
    --gsc-weather-past-bg: rgba(255,255,255,0.16);
    --gsc-weather-rain: #6F93D6;
    --gsc-weather-snow: #707070;
    --gsc-weather-wind: #606060;
    --gsc-weather-grey: #707070;
    --gsc-weather-day-grey: #B8B8B8;
    --gsc-weather-sungrey: #808080;
    --gsc-weather-line: rgba(255,255,255,0.22);
    --gsc-weather-line-mid: rgba(255,255,255,0.38);
    --gsc-weather-hour-grid-line: rgba(255,255,255,0.14);
    --gsc-weather-hour-grid-sub: rgba(255,255,255,0.14);
    --gsc-weather-hour-grid-mid: rgba(255,255,255,0.46);
    --gsc-weather-line-strong: rgba(255,255,255,0.68);
    --gsc-weather-chart-row-height: 1.288em;
    --gsc-weather-chart-icon-size: 1em;
    --gsc-weather-chart-left-width: 0.82em;
    --gsc-weather-daily-plot-height: 10.12em;
    margin: 0 0 var(--gsc-block-gap);
    line-height: 1.15;
}

body.gsc-page-light .gsc-weather-data {
    --gsc-weather-sun: #D8742C;
    --gsc-weather-clarity: #D2ECFC;
    --gsc-weather-clarity-frame: #999999;
    --gsc-weather-daily-sun: #f2c931;
    --gsc-weather-daily-grey: #e0e0e0;
    --gsc-weather-past-bg: rgba(0,0,0,0.045);
    --gsc-weather-rain: #345CA3;
    --gsc-weather-snow: #B0B0B0;
    --gsc-weather-wind: #C0C0C0;
    --gsc-weather-grey: #B0B0B0;
    --gsc-weather-day-grey: #484848;
    --gsc-weather-sungrey: #808080;
    --gsc-weather-line: rgba(0,0,0,0.16);
    --gsc-weather-line-mid: rgba(0,0,0,0.33);
    --gsc-weather-hour-grid-line: rgba(0,0,0,0.10);
    --gsc-weather-hour-grid-sub: rgba(0,0,0,0.09);
    --gsc-weather-hour-grid-mid: rgba(0,0,0,0.40);
    --gsc-weather-line-strong: rgba(0,0,0,0.62);
}

.gsc-weather-data.is-chart-height-125 {
    --gsc-weather-chart-row-height: 1.61em;
    --gsc-weather-chart-icon-size: 1.25em;
    --gsc-weather-chart-left-width: 1.12em;
    --gsc-weather-daily-plot-height: 12.65em;
}

.gsc-weather-data.is-chart-height-150 {
    --gsc-weather-chart-row-height: 1.932em;
    --gsc-weather-chart-icon-size: 1.5em;
    --gsc-weather-chart-left-width: 1.33em;
    --gsc-weather-daily-plot-height: 15.18em;
}

.gsc-weather-data.is-chart-height-125 .gsc-weather-chart-left > span:not(.gsc-weather-left-top) {
    transform: translateY(0.08em);
}

.gsc-weather-data.is-chart-height-150 .gsc-weather-chart-left > span:not(.gsc-weather-left-top) {
    transform: translateY(0.12em);
}

.gsc-weather-data.is-grey .gsc-weather-chart {
    opacity: 0.62;
}

.gsc-weather-location-hint {
    margin: 0 0 1.95em;
    color: var(--gsc-red);
    font-style: italic;
    line-height: 1.15;
}

.gsc-weather-chart {
    display: grid;
    direction: ltr;
    grid-template-columns: var(--gsc-weather-chart-left-width) minmax(0, 1fr);
    column-gap: 0.26em;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.42em;
}

.gsc-weather-chart.has-followup {
    margin-bottom: 0.22em;
}

.gsc-weather-radar-hint {
    margin: 0 0 1.42em;
    color: #808080;
    font-family: inherit;
    font-size: 1em;
    line-height: 1.15;
    text-align: start;
}

.gsc-weather-daily-summary {
    margin: var(--gsc-block-gap) 0 1.42em;
    color: var(--gsc-weather-day-grey);
    line-height: 1.15;
}

.gsc-weather-temperature-event {
    margin: var(--gsc-block-gap) 0 1.42em;
    color: var(--gsc-weather-day-grey);
    line-height: var(--gsc-page-line-height);
}

.gsc-weather-temperature-symbol {
    display: inline-block;
}

.gsc-weather-temperature-fresh {
    color: var(--gsc-weather-day-grey);
}

.gsc-weather-temperature-event.is-warm .gsc-weather-temperature-symbol {
    color: var(--gsc-weather-sun);
    opacity: 0.95;
}

.gsc-weather-temperature-event.is-cold .gsc-weather-temperature-symbol {
    color: var(--gsc-weather-rain);
    opacity: 0.95;
}

.gsc-weather-temperature-event.is-strong .gsc-weather-temperature-symbol {
    font-weight: 700;
}


.gsc-weather-daily-details {
    margin: var(--gsc-block-gap) 0 1.42em;
}

.gsc-weather-daily-toggle {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-inline-end: 1.1em;
    border: 0;
    background: transparent;
    font: inherit;
    line-height: inherit;
    text-align: start;
    cursor: pointer;
}

.gsc-weather-daily-toggle::after {
    content: "▸";
    position: absolute;
    inset-inline-end: 0;
    top: -0.12em;
    font-size: 1.2em;
}

.gsc-weather-daily-details.is-open > .gsc-weather-daily-toggle::after {
    content: "▾";
}

html[dir="rtl"] .gsc-weather-daily-details:not(.is-open) > .gsc-weather-daily-toggle::after {
    content: "◂";
}

.gsc-weather-daily-chart {
    position: relative;
    direction: ltr;
    width: 100%;
    margin-top: 0.45em;
    overflow: visible;
}

.gsc-weather-daily-provider {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;
    color: var(--gsc-weather-grey);
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.gsc-weather-daily-provider > .gsc-weather-provider-link,
.gsc-weather-daily-provider > .gsc-weather-provider-link:visited,
.gsc-weather-daily-provider > .gsc-weather-provider-link:hover,
.gsc-weather-daily-provider > .gsc-weather-provider-link:active {
    display: block;
}

.gsc-weather-daily-past-boundary {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1.5px;
    transform: translateX(-0.75px);
    background: var(--gsc-page-bg);
    pointer-events: none;
    z-index: 1;
}

.gsc-weather-daily-plot {
    position: relative;
    width: 100%;
    height: var(--gsc-weather-daily-plot-height);
    overflow: hidden;
}

.gsc-weather-daily-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 0.78em;
    height: 1.2em;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gsc-page-text);
    font: inherit;
    font-size: 0.96em;
    line-height: 1;
    opacity: 0.7;
    cursor: pointer;
    transform: translateY(-50%);
}

.gsc-weather-daily-nav::before {
    content: "";
    position: absolute;
    inset: -0.7em;
}

.gsc-weather-daily-nav:hover,
.gsc-weather-daily-nav:focus-visible {
    opacity: 0.9;
}

.gsc-weather-daily-nav.is-prev {
    left: 0;
    text-align: right;
    transform: translate(calc(-100% - 0.08em), -50%);
}

.gsc-weather-daily-nav.is-next {
    right: 0;
    text-align: left;
    transform: translate(calc(100% + 0.08em), -50%);
}

.gsc-weather-daily-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: var(--gsc-weather-daily-grid-line-width);
    background: var(--gsc-weather-line);
    opacity: 0.24;
    pointer-events: none;
    z-index: 0;
}

.gsc-weather-daily-grid-line.is-2 {
    opacity: 0.29;
}

.gsc-weather-daily-grid-line.is-5 {
    opacity: 0.34;
}

.gsc-weather-daily-grid-line.is-10 {
    background: var(--gsc-weather-line-strong);
    opacity: 0.26;
}


.gsc-weather-daily-column {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 11.11111111%;
    z-index: 0;
}

.gsc-weather-daily-column.is-past,
.gsc-weather-daily-weekday.is-past {
    background: var(--gsc-weather-past-bg);
}

.gsc-weather-daily-plot > svg {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}


.gsc-weather-daily-temp-line {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.gsc-weather-daily-temp-line.is-max {
    stroke: var(--gsc-weather-sun);
}

.gsc-weather-daily-temp-line.is-min {
    stroke: var(--gsc-weather-rain);
}

.gsc-weather-daily-point {
    position: absolute;
    width: 0.32em;
    height: 0.32em;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.gsc-weather-daily-point.is-max {
    background: var(--gsc-weather-sun);
    color: var(--gsc-weather-sun);
}

.gsc-weather-daily-point.is-min {
    background: var(--gsc-weather-rain);
    color: var(--gsc-weather-rain);
}

.gsc-weather-daily-point > span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72em;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.gsc-weather-daily-point.is-max > span {
    bottom: 0.66em;
}

.gsc-weather-daily-point.is-min > span {
    top: 0.66em;
}

.gsc-weather-daily-weekdays,
.gsc-weather-daily-sun-row {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(9, minmax(0, 1fr));
}

.gsc-weather-daily-weekdays {
    margin-top: 0;
    color: var(--gsc-weather-day-grey);
    font-size: 0.72em;
    line-height: 1.2;
    text-align: center;
}

.gsc-weather-daily-weekday {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.08em 0 0.1em;
}

.gsc-weather-daily-sun-wrap {
    position: relative;
    overflow: visible;
}

.gsc-weather-daily-sun-row {
    gap: 1px;
    margin-top: 0.14em;
}

.gsc-weather-daily-sun-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.55em;
    overflow: hidden;
    background: var(--gsc-weather-daily-sun);
}

.gsc-weather-daily-sun-cell[data-weather-daily-popup] {
    cursor: help;
}

.gsc-weather-daily-popup {
    position: fixed;
    z-index: 1000;
    transform: translate(-50%, calc(-100% - 0.35em));
    padding: 0.35em 0.5em;
    border: 1px solid var(--gsc-status-border);
    border-radius: 0.25em;
    background: var(--gsc-status-bg);
    line-height: 1.15;
    white-space: nowrap;
    pointer-events: none;
    margin: 0;
}

.gsc-weather-daily-sun-cell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gsc-weather-daily-grey);
    opacity: calc(1 - var(--sun));
}

.gsc-weather-daily-field-icon {
    position: relative;
    top: 0.06em;
    z-index: 1;
    font-family: "GSC Weather Icons";
    font-size: 0.92em;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    color: var(--gsc-page-text);
}

.gsc-weather-daily-field-icon.is-dry {
    color: #000;
}

.gsc-weather-daily-field-icon.is-rain {
    color: #345CA3;
}

.gsc-weather-daily-field-icon.is-black {
    color: #000;
}

.gsc-weather-daily-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--gsc-page-bg);
    opacity: 0.5;
    pointer-events: none;
    z-index: 3;
}

body.gsc-page-light .gsc-weather-daily-fade {
    opacity: 0.6;
}

.gsc-weather-daily-rain-total,
.gsc-weather-daily-rain-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 8%;
    pointer-events: none;
}

.gsc-weather-daily-rain-total {
    box-sizing: border-box;
    border: var(--gsc-weather-precip-outline-width) solid #345CA3;
    background: transparent;
    z-index: 3;
}

.gsc-weather-daily-rain-bar {
    background: #345CA3;
    z-index: 2;
}

.gsc-weather-daily-chart.is-faded .gsc-weather-daily-plot,
.gsc-weather-daily-chart.is-faded .gsc-weather-daily-weekdays,
.gsc-weather-daily-chart.is-faded .gsc-weather-daily-sun-row {
    opacity: 0.62;
}

.gsc-weather-radar-hint-link,
.gsc-weather-radar-hint-link:visited,
.gsc-weather-radar-hint-link:hover,
.gsc-weather-radar-hint-link:active,
.gsc-weather-radar-provider-link,
.gsc-weather-radar-provider-link:visited,
.gsc-weather-radar-provider-link:hover,
.gsc-weather-radar-provider-link:active {
    color: currentColor;
}

.gsc-weather-radar-hint-link {
    text-decoration: underline;
}

.gsc-weather-radar-provider-separator {
    white-space: pre;
}

.gsc-weather-radar-provider-link {
    font-family: "GSC Tiny";
    font-size: 0.30em;
    line-height: 1;
    text-decoration: none;
    vertical-align: 0.08em;
}

.gsc-weather-chart-left,
.gsc-weather-chart-day {
    display: grid;
    grid-template-rows: 1.25em repeat(3, var(--gsc-weather-chart-row-height));
    row-gap: 0.16em;
}

.gsc-weather-chart.has-snow .gsc-weather-chart-left,
.gsc-weather-chart.has-snow .gsc-weather-chart-day {
    grid-template-rows: 1.25em repeat(4, var(--gsc-weather-chart-row-height));
}

.gsc-weather-chart-left {
    align-items: center;
}

.gsc-weather-chart-left > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: var(--gsc-weather-chart-icon-size);
    line-height: 1;
    text-align: center;
    opacity: 0.86;
    color: var(--gsc-page-text);
}

.gsc-weather-chart-left > span.gsc-weather-left-top {
    opacity: 0;
}

.gsc-weather-chart-left > span.gsc-weather-left-top.is-old {
    opacity: 0.86;
}

.gsc-weather-stale-icon {
    display: block;
    width: 0.82em;
    height: 0.82em;
    overflow: visible;
}

.gsc-weather-stale-fill {
    fill: currentColor;
    stroke: none;
}

.gsc-weather-stale-ring {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}


.gsc-weather-chart-days {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    overflow: hidden;
}

.gsc-weather-chart-day {
    position: relative;
    min-width: 0;
    padding: 0;
}

.gsc-weather-chart-day.is-past {
    background: var(--gsc-weather-past-bg);
}

.gsc-weather-chart-day.is-day-0 {
    background: none;
}

.gsc-weather-chart-day.is-day-0::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.25em;
    bottom: 0;
    width: var(--gsc-weather-past-end, 0%);
    background: var(--gsc-weather-past-bg);
    pointer-events: none;
}

.gsc-weather-chart-day:first-child {
    border-left: var(--gsc-weather-grid-line-strong-width) solid var(--gsc-weather-line-strong);
}

.gsc-weather-chart-day + .gsc-weather-chart-day {
    border-left: var(--gsc-weather-grid-line-strong-width) solid var(--gsc-weather-line-strong);
}

.gsc-weather-chart-day:last-child {
    border-right: var(--gsc-weather-grid-line-width) solid var(--gsc-weather-line);
}

.gsc-weather-chart-day::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(1.25em + 0.16em);
    bottom: 0;
    background:
        linear-gradient(to right, transparent calc(var(--gsc-weather-grid-1, 200%) - var(--gsc-weather-grid-1-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-1-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-1, 200%) - var(--gsc-weather-grid-1-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-1-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-1, 200%) + var(--gsc-weather-grid-1-half, var(--gsc-weather-grid-line-half))), transparent calc(var(--gsc-weather-grid-1, 200%) + var(--gsc-weather-grid-1-half, var(--gsc-weather-grid-line-half)))),
        linear-gradient(to right, transparent calc(var(--gsc-weather-grid-2, 200%) - var(--gsc-weather-grid-2-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-2-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-2, 200%) - var(--gsc-weather-grid-2-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-2-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-2, 200%) + var(--gsc-weather-grid-2-half, var(--gsc-weather-grid-line-half))), transparent calc(var(--gsc-weather-grid-2, 200%) + var(--gsc-weather-grid-2-half, var(--gsc-weather-grid-line-half)))),
        linear-gradient(to right, transparent calc(var(--gsc-weather-grid-3, 200%) - var(--gsc-weather-grid-3-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-3-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-3, 200%) - var(--gsc-weather-grid-3-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-3-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-3, 200%) + var(--gsc-weather-grid-3-half, var(--gsc-weather-grid-line-half))), transparent calc(var(--gsc-weather-grid-3, 200%) + var(--gsc-weather-grid-3-half, var(--gsc-weather-grid-line-half)))),
        linear-gradient(to right, transparent calc(var(--gsc-weather-grid-4, 200%) - var(--gsc-weather-grid-4-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-4-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-4, 200%) - var(--gsc-weather-grid-4-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-4-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-4, 200%) + var(--gsc-weather-grid-4-half, var(--gsc-weather-grid-line-half))), transparent calc(var(--gsc-weather-grid-4, 200%) + var(--gsc-weather-grid-4-half, var(--gsc-weather-grid-line-half)))),
        linear-gradient(to right, transparent calc(var(--gsc-weather-grid-5, 200%) - var(--gsc-weather-grid-5-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-5-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-5, 200%) - var(--gsc-weather-grid-5-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-5-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-5, 200%) + var(--gsc-weather-grid-5-half, var(--gsc-weather-grid-line-half))), transparent calc(var(--gsc-weather-grid-5, 200%) + var(--gsc-weather-grid-5-half, var(--gsc-weather-grid-line-half)))),
        linear-gradient(to right, transparent calc(var(--gsc-weather-grid-6, 200%) - var(--gsc-weather-grid-6-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-6-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-6, 200%) - var(--gsc-weather-grid-6-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-6-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-6, 200%) + var(--gsc-weather-grid-6-half, var(--gsc-weather-grid-line-half))), transparent calc(var(--gsc-weather-grid-6, 200%) + var(--gsc-weather-grid-6-half, var(--gsc-weather-grid-line-half)))),
        linear-gradient(to right, transparent calc(var(--gsc-weather-grid-7, 200%) - var(--gsc-weather-grid-7-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-7-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-7, 200%) - var(--gsc-weather-grid-7-half, var(--gsc-weather-grid-line-half))), var(--gsc-weather-grid-7-color, var(--gsc-weather-line)) calc(var(--gsc-weather-grid-7, 200%) + var(--gsc-weather-grid-7-half, var(--gsc-weather-grid-line-half))), transparent calc(var(--gsc-weather-grid-7, 200%) + var(--gsc-weather-grid-7-half, var(--gsc-weather-grid-line-half))));
    clip-path: inset(0 calc(100% - var(--gsc-weather-grid-end, 100%)) 0 0);
    pointer-events: none;
}

.gsc-weather-chart-title {
    position: relative;
    z-index: 1;
    align-self: stretch;
    display: flex;
    align-items: end;
    justify-content: flex-start;
    box-sizing: border-box;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    padding-left: 0.2em;
    padding-right: 0.18em;
    padding-bottom: 0.10em;
    border-bottom: var(--gsc-weather-grid-line-strong-width) solid var(--gsc-weather-line);
}

.gsc-weather-chart-line {
    min-width: 0;
}
.gsc-weather-chart-line.is-radar-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.gsc-weather-row-hours {
    display: grid;
    grid-template-columns: repeat(24, minmax(1px, 1fr));
    align-items: end;
    height: 100%;
    gap: 0;
}

.gsc-weather-hour-cell {
    position: relative;
    display: block;
    height: 100%;
    min-width: 1px;
}

.gsc-weather-hour-cell > span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: max(1px, var(--h));
    opacity: 0.95;
}

.gsc-weather-hour-cell.is-zero > span {
    height: var(--gsc-weather-grid-line-width);
    opacity: 0.34;
}

.gsc-weather-hour-cell.is-cut > span {
    display: none;
}

.gsc-weather-hour-cell.has-total::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--ht);
    box-sizing: border-box;
    border: var(--gsc-weather-precip-outline-width) solid;
    background: transparent;
    pointer-events: none;
}

.gsc-weather-chart-line.is-sun .gsc-weather-hour-cell.has-clarity::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--hclarity);
    background: var(--gsc-weather-clarity);
    box-sizing: border-box;
    border-top: 1px solid var(--gsc-weather-clarity-frame);
    border-left: var(--hclarity-left, 1px) solid var(--gsc-weather-clarity-frame);
    border-right: var(--hclarity-right, 1px) solid var(--gsc-weather-clarity-frame);
}
.gsc-weather-chart-line.is-sun .gsc-weather-hour-cell > span {
    background: var(--gsc-weather-sun);
    opacity: 1;
}
.gsc-weather-chart-line.is-sun .gsc-weather-hour-cell.is-zero > span { opacity: 0.34; }
.gsc-weather-chart-line.is-sun .gsc-weather-hour-cell[data-weather-hour-tooltip] { cursor: help; }

.gsc-weather-hour-tooltip {
    position: fixed;
    z-index: 1000;
    transform: translate(-50%, calc(-100% - 0.35em));
    padding: 0.25em 0.45em;
    border: 1px solid var(--gsc-status-border);
    border-radius: 0.25em;
    background: var(--gsc-status-bg);
    color: var(--gsc-status-text);
    line-height: 1.15;
    white-space: nowrap;
    pointer-events: none;
}
.gsc-weather-chart-line.is-rain .gsc-weather-hour-cell > span { background: var(--gsc-weather-rain); }
.gsc-weather-chart-line.is-rain .gsc-weather-hour-cell.has-total::after { border-color: var(--gsc-weather-rain); }
.gsc-weather-chart-line.is-snow .gsc-weather-hour-cell > span { background: var(--gsc-weather-snow); }
.gsc-weather-chart-line.is-snow .gsc-weather-hour-cell.has-total::after { border-color: var(--gsc-weather-snow); }
.gsc-weather-chart-line.is-wind .gsc-weather-hour-cell > span { background: var(--gsc-weather-wind); }




.gsc-weather-now-marker {
    position: absolute;
    top: calc(1.25em + 0.16em);
    bottom: 0;
    width: 1.2px;
    margin-left: -0.6px;
    background: currentColor;
    opacity: 0.82;
    pointer-events: none;
    z-index: 3;
}

.gsc-weather-now-marker::before {
    content: "";
    position: absolute;
    bottom: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    border-left: 0.24em solid transparent;
    border-right: 0.24em solid transparent;
    border-top: calc(0.57em + 2px) solid currentColor;
}

.gsc-weather-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.6em, 1fr));
    gap: 0.9em 0.5em;
    margin: 0 0 var(--gsc-block-gap);
}

.gsc-weather-data.has-daily-summary .gsc-weather-cards {
    margin-bottom: 0;
}

.gsc-weather-card {
    min-width: 0;
    line-height: 1.32;
}

.gsc-weather-card.is-day-card {
    color: var(--gsc-weather-day-grey);
}

.gsc-weather-card-title {
    margin-bottom: 0.18em;
    white-space: nowrap;
}

.gsc-weather-card.is-now {
    color: var(--gsc-weather-grey);
}

.gsc-weather-card.is-day2-grey {
    color: var(--gsc-weather-grey);
}

.gsc-weather-suntext {
    color: var(--gsc-weather-sungrey);
    opacity: 1;
}

.gsc-weather-card.is-day2-grey .gsc-weather-suntext {
    color: inherit;
}

.gsc-weather-wicon,
.gsc-weather-card-icons {
    font-family: "GSC Weather Icons";
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0.04em;
}

.gsc-weather-card-icons {
    display: inline-flex;
    direction: ltr;
    gap: 0.08em;
    align-items: baseline;
    vertical-align: baseline;
    margin-left: 0.16em;
}

.gsc-weather-provider-link,
.gsc-weather-provider-link:visited,
.gsc-weather-provider-link:hover,
.gsc-weather-provider-link:active {
    display: inline-block;
    color: currentColor;
    text-decoration: none;
    font-family: "GSC Tiny";
    font-size: 2.2px;
    line-height: 1;
    vertical-align: 0.08em;
    opacity: 0.72;
}

.gsc-weather-provider-link > span {
    text-decoration: none;
}


