/* NanoCast demo, Udgam Labs brand: ink ground, ivory text, one accent family (sky), no gradients or shadows. */ :root { --ink: #1C1B18; --ink-surface: #26241F; --ink-80: #3F3C36; --ink-muted: #8F8A7E; --ivory: #F3EFE6; --ivory-80: #C9C3B6; --sky-deep: #345C9E; --sky: #9DB9E6; --sky-tint: #DFE8F7; --sky-light: #B9CEF0; --panel: rgba(38, 36, 31, 0.92); --r-small: 12px; --r-card: 28px; } * { box-sizing: border-box; margin: 0; padding: 0; } [hidden] { display: none !important; } ::-webkit-scrollbar { width: 5px; height: 5px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--ink-80); border-radius: 999px; } html, body { width: 100%; height: 100%; overflow: hidden; background: var(--ink); color: var(--ivory); font-family: 'Figtree', 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; } #globe-container { position: fixed; inset: 0; cursor: grab; } #globe-container:active { cursor: grabbing; } .panel { background: var(--panel); border-radius: var(--r-card); } select, button, input { font: inherit; color: var(--ivory); } a { color: var(--sky-light); } /* Top bar */ #topbar { position: fixed; top: 14px; left: 14px; right: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; z-index: 20; pointer-events: none; } #topbar > * { pointer-events: auto; } .brand { padding: 12px 20px 14px; } .brand .kind { display: inline-block; border-radius: 999px; background: var(--sky-tint); color: var(--ink); padding: 2px 10px; font-size: 12px; font-weight: 500; } .brand h1 { font-family: 'Newsreader', Georgia, serif; font-weight: 500; letter-spacing: -0.02em; font-size: 30px; line-height: 1.05; margin: 6px 0 2px; } .brand .sub { font-size: 13px; color: var(--ivory-80); } .status-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .pill { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: var(--panel); color: var(--ivory-80); display: inline-flex; align-items: center; gap: 6px; } .pill strong { color: var(--ivory); font-weight: 600; } /* Left rail */ #left-panel { position: fixed; top: 132px; left: 14px; width: 284px; max-height: calc(100vh - 222px); overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; z-index: 15; } .section-label { font-size: 12px; font-weight: 500; color: var(--ivory-80); margin-bottom: 6px; } #scenario-select { width: 100%; padding: 8px 12px; border-radius: var(--r-small); background: var(--ink-80); border: 0; font-size: 13px; outline: none; cursor: pointer; } #scenario-desc { font-size: 12px; line-height: 1.45; color: var(--ivory-80); margin-top: 6px; } .primary-btn { width: 100%; padding: 10px 14px; border: 0; border-radius: 999px; background: var(--ivory); color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; } .primary-btn:hover:not(:disabled) { background: #FFFFFF; } .primary-btn:disabled { opacity: 0.55; cursor: wait; } .primary-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; } .progress-wrap { margin-top: 8px; display: none; } .progress-wrap.active { display: block; } .progress-track { height: 6px; border-radius: 999px; background: var(--ink-80); overflow: hidden; } .progress-fill { height: 100%; width: 0%; background: var(--sky); border-radius: 999px; transition: width 0.06s linear; } .progress-text { font-size: 11px; color: var(--ivory-80); margin-top: 4px; display: flex; justify-content: space-between; } .layer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; } .layer-btn { padding: 6px 10px; font-size: 12px; font-weight: 500; cursor: pointer; text-align: left; border: 0; border-radius: 999px; background: var(--ink-80); color: var(--ivory); } .layer-btn:hover { background: #4A463F; } .layer-btn.active { background: var(--sky-tint); color: var(--ink); } .toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; padding: 3px 0; } .toggle-row input { accent-color: var(--sky); cursor: pointer; flex-shrink: 0; } .legend-bar { height: 9px; border-radius: 999px; margin-top: 3px; } .legend-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--ivory-80); margin-top: 4px; } .links { font-size: 12px; color: var(--ivory-80); line-height: 1.6; } .links .by { display: flex; align-items: center; gap: 8px; margin-top: 8px; } .links .by img { height: 18px; width: auto; display: block; } /* Right panel: place and time */ #pin-panel { position: fixed; top: 132px; right: 14px; width: 344px; max-height: calc(100vh - 222px); overflow-y: auto; padding: 18px; z-index: 15; display: flex; flex-direction: column; gap: 10px; } .search-wrap { position: relative; } .search-row { display: flex; gap: 6px; } #city-input { flex: 1; padding: 8px 14px; font-size: 13px; outline: none; background: var(--ink-80); border: 0; border-radius: 999px; } #city-input:focus { outline: 2px solid var(--sky); } .go-btn { padding: 0 16px; font-size: 13px; font-weight: 600; cursor: pointer; border: 0; border-radius: 999px; background: var(--ivory); color: var(--ink); } .go-btn:hover { background: #FFFFFF; } .fine { font-size: 11px; color: var(--ink-muted); margin-top: 6px; } .city-dropdown { position: absolute; top: 40px; left: 0; right: 0; overflow: hidden; z-index: 40; display: none; background: var(--ink-surface); border-radius: var(--r-small); border: 1px solid var(--ink-80); } .city-dropdown.open { display: block; } .city-opt { padding: 8px 12px; font-size: 12.5px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--ink-80); } .city-opt:last-child { border-bottom: none; } .city-opt:hover { background: var(--ink-80); } .city-opt .ctry { color: var(--ink-muted); font-size: 11.5px; } .quick-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; } .chip { padding: 3px 10px; font-size: 11.5px; font-weight: 500; cursor: pointer; border: 0; border-radius: 999px; background: var(--ink-80); color: var(--ivory); } .chip:hover { background: #4A463F; } .chip.active { background: var(--sky-tint); color: var(--ink); } .time-picker-wrap { padding: 10px 12px; border-radius: var(--r-small); background: var(--ink-surface); } .time-picker-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .mini-label { font-size: 11.5px; color: var(--ivory-80); font-weight: 500; } .mini-lead { font-size: 12px; font-weight: 600; color: var(--sky-light); } #forecast-datetime { width: 100%; padding: 7px 10px; font-size: 12.5px; outline: none; color-scheme: dark; background: var(--ink-80); border: 0; border-radius: var(--r-small); } #forecast-datetime:focus { outline: 2px solid var(--sky); } .pin-results { display: flex; flex-direction: column; gap: 10px; } .pin-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; } .pin-coords { font-family: 'Newsreader', Georgia, serif; font-weight: 500; font-size: 20px; line-height: 1.2; } .pin-sub { font-size: 11px; color: var(--ivory-80); margin-top: 2px; } .cond-badge { font-size: 11.5px; font-weight: 500; padding: 3px 10px; white-space: nowrap; border-radius: 999px; background: var(--sky-tint); color: var(--ink); } .pin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .stat-box { padding: 8px 9px; cursor: pointer; border-radius: var(--r-small); background: var(--ink-surface); } .stat-box:hover { background: var(--ink-80); } .stat-box.active { background: var(--sky-tint); color: var(--ink); } .stat-box .k { font-size: 11px; color: var(--ivory-80); font-weight: 500; } .stat-box.active .k, .stat-box.active .v-sub { color: var(--ink); } .stat-box .v { font-family: 'Newsreader', Georgia, serif; font-size: 18px; font-weight: 500; margin-top: 2px; } .stat-box .v-sub { font-size: 10.5px; color: var(--ivory-80); margin-top: 1px; } .chart-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 0; } .chart-meta { font-size: 11px; font-weight: 500; color: var(--ivory-80); } .rollout-cta { font-size: 12px; padding: 8px 12px; text-align: center; border-radius: var(--r-small); background: var(--ink-surface); color: var(--ivory-80); } #meteogram-svg { width: 100%; height: 110px; display: block; cursor: crosshair; } .daily-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 4px; } .day-card { padding: 5px 4px; text-align: center; cursor: pointer; border-radius: var(--r-small); background: var(--ink-surface); } .day-card:hover { background: var(--ink-80); } .day-card.active { background: var(--sky-tint); color: var(--ink); } .day-card .d-lbl { font-size: 10px; color: var(--ivory-80); font-weight: 500; } .day-card .d-hi { font-size: 12px; font-weight: 600; margin-top: 2px; } .day-card .d-lo { font-size: 11px; color: var(--ivory-80); } .day-card .d-rn { font-size: 10px; color: var(--sky-light); margin-top: 1px; } .day-card.active .d-lbl, .day-card.active .d-lo, .day-card.active .d-rn { color: var(--ink); } /* Timeline */ #timeline-bar { position: fixed; bottom: 14px; left: 14px; right: 14px; padding: 10px 18px; display: flex; align-items: center; gap: 14px; z-index: 15; border-radius: 999px; } .play-btn { width: 36px; height: 36px; font-size: 13px; cursor: pointer; flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 999px; background: var(--ivory); color: var(--ink); } .play-btn:hover { background: #FFFFFF; } .time-readout { min-width: 172px; flex-shrink: 0; } .time-readout .lead { font-size: 14px; font-weight: 600; } .time-readout .utc { font-size: 11px; color: var(--ivory-80); } #step-slider { flex: 1; accent-color: var(--sky); cursor: pointer; } .hint { font-size: 11.5px; color: var(--ivory-80); white-space: nowrap; } .note { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 50; max-width: 420px; padding: 18px 22px; border-radius: var(--r-card); background: var(--ivory); color: var(--ink); font-size: 14px; line-height: 1.5; } @media (max-width: 960px) { #left-panel { width: 240px; } #pin-panel { width: 300px; } .hint { display: none; } }