/* Styles for the snow screen. Same frame as the other info screens. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url("/weather/screen/assets/fonts/roboto-latin.woff2") format("woff2"); }
html { font-size: 20px; }
:root { --bg: #eeece6; --panel: #ffffff; --panel-2: #f5f4f0; --ink: #14161b; --muted: #555c68; --rule: #dcd9d1; --warn: #a85800; --logo: #001489;
  --snow: #0a6fb8; --rock: #b9b3a6; --white: #dfeaf5; --zero: #b3261e; }
html.dark { --bg: #0d0f13; --panel: #161a22; --panel-2: #1d222b; --ink: #f4f5f7; --muted: #a3abb9; --rule: #2a303b; --warn: #ffb020; --logo: #ffffff;
  --snow: #5fb4f0; --rock: #4a4f58; --white: #dfeaf5; --zero: #ff8a80; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body { overflow: hidden; }
#stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden;
  font-family: Roboto, system-ui, sans-serif; font-variant-numeric: tabular-nums; display: grid; grid-template-columns: 1920px; grid-template-rows: 92px 1fr 43.2px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid var(--rule); }
.title { display: flex; align-items: center; gap: 23px; }
.logo { height: 2.9rem; aspect-ratio: 441 / 120; flex: none; background: var(--logo);
  -webkit-mask: url("/weather/screen/ecolint-logo.png") center / contain no-repeat; mask: url("/weather/screen/ecolint-logo.png") center / contain no-repeat; }
.hdr-sep { width: 2px; height: 2.6rem; background: var(--rule); flex: none; }
.title h1 { margin: 0; line-height: 1; font-size: 2.5rem; font-weight: 900; letter-spacing: -0.02em; }
.title .date { font-size: 1.5rem; color: var(--muted); font-weight: 500; }
.badge { font-size: 1.3rem; font-weight: 900; letter-spacing: 0.08em; color: var(--bg); background: var(--warn); border-radius: 0.5rem; padding: 0.3rem 0.8rem; align-self: center; }
.clock { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.02em; }
.clock .secs { font-size: 1.5rem; color: var(--muted); margin-left: 0.3rem; font-weight: 600; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 38px; font-size: 1.05rem; color: var(--muted); border-top: 1px solid var(--rule); white-space: nowrap; overflow: hidden; }
footer.stale #status { color: var(--warn); font-weight: 800; }

main { display: grid; grid-template-columns: 1262px 1fr; gap: 26px; padding: 26px 38px; min-height: 0; }
.box { background: var(--panel); border: 1px solid var(--rule); border-radius: 1.3rem; overflow: hidden; }
.label { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.holding { grid-column: 1 / -1; display: grid; place-items: center; font-size: 2.3rem; font-weight: 700; color: var(--muted); }

/* The table: a row a resort, lowest top first. */
.board { height: 892px; display: grid; grid-template-rows: auto repeat(8, 1fr); padding: 0.6rem 1.3rem 0.4rem; }
.row { display: grid; grid-template-columns: 15.4rem 6.4rem 8.8rem 13.2rem 1fr; gap: 1.3rem; align-items: center; border-top: 1px solid var(--rule); min-height: 0; }
.row.head { border-top: 0; font-size: 1.02rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); padding: 0.5rem 0 0.4rem; }
.row .name { font-size: 1.75rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; white-space: nowrap; }
.row .name .flag { height: 1.25rem; width: auto; vertical-align: -0.12rem; margin-right: 0.55rem; }
.row .name small { display: block; font-size: 0.98rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 0.2rem; }
.row .big { font-size: 2.3rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.row .big small { font-size: 1.15rem; font-weight: 700; color: var(--muted); margin-left: 0.2rem; letter-spacing: 0; }
.row .sub { font-size: 1rem; font-weight: 600; color: var(--muted); margin-top: 0.2rem; white-space: nowrap; }
.row .mid { font-size: 1.4rem; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.row .mid.none { color: var(--muted); font-weight: 600; font-size: 1.2rem; }
.row .mid.snowing { color: var(--snow); }
.av { display: flex; align-items: center; gap: 0.7rem; }
.av .n { width: 2.7rem; height: 2.7rem; flex: none; border-radius: 0.6rem; display: grid; place-items: center; font-size: 1.7rem; font-weight: 900; color: #14161b; border: 2px solid rgba(0,0,0,0.25); }
.av .l1 { background: #ccff66; } .av .l2 { background: #ffff00; } .av .l3 { background: #ff9900; } .av .l4 { background: #ff0000; color: #fff; } .av .l5 { background: #7a0019; color: #fff; }
.av .w { font-size: 1.15rem; font-weight: 800; line-height: 1.1; } .av .w small { display: block; font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.av.none .w { color: var(--muted); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }

/* Beside it: each resort from its base to its top, and where the freezing level cuts across. */
.side { display: grid; grid-template-rows: 1fr auto; gap: 20px; height: 892px; min-height: 0; }
.line { padding: 1rem 1.2rem 0.6rem; display: grid; grid-template-rows: auto 1fr; min-height: 0; }
.line svg { display: block; width: 100%; height: 100%; }
.line .axis { font: 600 15px Roboto, system-ui, sans-serif; fill: var(--muted); }
.line .rname { font: 800 15px Roboto, system-ui, sans-serif; fill: var(--ink); }
.line .zero { stroke: var(--zero); stroke-width: 4; } .line .zero.tom { stroke-dasharray: 10 8; stroke-width: 3; opacity: 0.7; }
.line .zlabel { font: 900 17px Roboto, system-ui, sans-serif; fill: var(--zero); paint-order: stroke; stroke: var(--panel); stroke-width: 6px; stroke-linejoin: round; }
.note { padding: 0.9rem 1.2rem; font-size: 1.08rem; line-height: 1.35; font-weight: 500; color: var(--muted); }
.note b { color: var(--ink); }
