Files
PolyWeather/frontend/components/dashboard/Dashboard.module.css
T
2026-04-23 04:38:05 +08:00

7147 lines
147 KiB
CSS

/* ──────────────────────────────────────────────────────────
PolyWeather Map — Premium Dark Theme
────────────────────────────────────────────────────────── */
.root {
/* ── Palette (bridged from globals.css unified tokens) ── */
--bg-primary: #030711;
--bg-secondary: #09111d;
--bg-card: #0b1422;
--bg-glass: rgba(8, 15, 27, 0.78);
--border-glass: rgba(120, 146, 176, 0.18);
--border-subtle: rgba(120, 146, 176, 0.1);
/* Text */
--text-primary: var(--color-text-primary);
--text-secondary: var(--color-text-secondary);
--text-muted: var(--color-text-muted);
/* Accents — upgraded primary cyan to match new token */
--accent-cyan: #22d3ee;
--accent-blue: #3b82f6;
--accent-green: #34d399;
--accent-orange: #f59e0b;
--accent-red: #fb7185;
--accent-yellow: #fbbf24;
--accent-purple: #7c3aed;
/* Risk colors */
--risk-high: var(--color-risk-high);
--risk-medium: var(--color-risk-medium);
--risk-low: var(--color-risk-low);
/* Spacing — aligned with global layout tokens */
--panel-width: 560px;
--header-height: 72px;
--sidebar-width: 240px;
/* Effects — using global elevation tokens */
--glass-blur: 20px;
--shadow-lg: var(--shadow-elevation-3);
--shadow-glow-cyan: var(--shadow-glow-accent);
--shadow-glow-blue: var(--shadow-glow-secondary);
--transition: all var(--transition-base);
}
/* ── Reset & Base ── */
.root :global(*),
.root :global(*::before),
.root :global(*::after) {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.root {
font-family:
"Inter",
-apple-system,
BlinkMacSystemFont,
sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
overflow: hidden;
height: 100vh;
width: 100vw;
background-image:
radial-gradient(circle at 18% 18%, rgba(30, 64, 175, 0.1), transparent 24%),
radial-gradient(
circle at 82% 12%,
rgba(8, 145, 178, 0.08),
transparent 20%
),
linear-gradient(180deg, #040914 0%, #02050d 100%);
}
:global(html.light) .root {
--bg-primary: #edf5ff;
--bg-secondary: #f7fbff;
--bg-card: #ffffff;
--bg-glass: rgba(248, 252, 255, 0.84);
--border-glass: rgba(48, 77, 112, 0.18);
--border-subtle: rgba(48, 77, 112, 0.1);
--text-primary: #0b1726;
--text-secondary: #42546c;
--text-muted: #6b7b91;
background: #edf5ff;
color: #0b1726;
background-image:
radial-gradient(circle at 18% 18%, rgba(14, 165, 233, 0.16), transparent 25%),
radial-gradient(circle at 82% 12%, rgba(59, 130, 246, 0.12), transparent 22%),
linear-gradient(180deg, #f8fbff 0%, #e9f3ff 100%);
}
:global(html.light) .root :global(.header),
:global(html.light) .root :global(.city-list),
:global(html.light) .root :global(.home-intelligence-panel.full),
:global(html.light) .root :global(.home-opportunity-strip),
:global(html.light) .root :global(.home-summary-card),
:global(html.light) .root :global(.opportunity-card),
:global(html.light) .root :global(.home-deb-card),
:global(html.light) .root :global(.home-card-section) {
background: rgba(255, 255, 255, 0.86);
color: #0b1726;
border-color: rgba(48, 77, 112, 0.18);
}
:global(html.light) .root :global(.map) {
background: #dbeafe;
filter: saturate(0.95) brightness(1.12);
}
/* ── Map ── */
.root :global(.map) {
position: absolute;
top: calc(var(--header-height) + 16px);
right: 392px;
bottom: 164px;
left: calc(var(--sidebar-width) + 22px);
z-index: 1;
overflow: hidden;
border: 1px solid rgba(115, 137, 161, 0.16);
border-radius: 24px;
background: #040912;
box-shadow:
0 32px 100px rgba(0, 0, 0, 0.5),
inset 0 1px 0 rgba(255, 255, 255, 0.04),
inset 0 0 0 1px rgba(34, 211, 238, 0.04);
}
.root :global(.home-map-toolbar) {
position: fixed;
top: calc(var(--header-height) + 30px);
right: 412px;
z-index: 930;
display: flex;
align-items: center;
gap: 10px;
}
.root :global(.home-map-header) {
position: fixed;
top: calc(var(--header-height) + 28px);
left: calc(var(--sidebar-width) + 42px);
z-index: 930;
display: flex;
align-items: center;
}
.root :global(.home-map-title) {
display: flex;
flex-direction: column;
gap: 4px;
}
.root :global(.home-map-title strong) {
color: #f8fafc;
font-size: 15px;
font-weight: 750;
}
.root :global(.home-map-title span) {
color: rgba(148, 163, 184, 0.76);
font-size: 11px;
font-weight: 600;
}
.root :global(.home-map-modes) {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 4px;
border-radius: 14px;
border: 1px solid rgba(115, 137, 161, 0.18);
background: rgba(6, 12, 22, 0.88);
backdrop-filter: blur(16px);
}
.root :global(.home-map-modes button),
.root :global(.home-map-expand) {
border: none;
color: rgba(203, 213, 225, 0.88);
background: transparent;
cursor: pointer;
font: inherit;
transition: var(--transition);
}
.root :global(.home-map-modes button) {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 10px 14px;
border-radius: 10px;
font-size: 12px;
font-weight: 700;
}
.root :global(.home-map-modes button.active) {
background: linear-gradient(
180deg,
rgba(28, 100, 242, 0.76),
rgba(31, 72, 184, 0.76)
);
color: #f8fafc;
box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}
.root :global(.home-map-modes button:hover),
.root :global(.home-map-expand:hover) {
color: #f8fafc;
background: rgba(30, 41, 59, 0.72);
}
.root :global(.home-map-expand) {
width: 38px;
height: 38px;
border-radius: 12px;
border: 1px solid rgba(115, 137, 161, 0.18);
background: rgba(6, 12, 22, 0.88);
backdrop-filter: blur(16px);
display: inline-flex;
align-items: center;
justify-content: center;
}
.root :global(.home-map-legend) {
position: fixed;
left: 50%;
bottom: 196px;
transform: translateX(-50%);
z-index: 930;
display: flex;
align-items: center;
gap: 12px;
padding: 8px 14px;
border-radius: 14px;
border: 1px solid rgba(115, 137, 161, 0.18);
background: rgba(6, 12, 22, 0.86);
backdrop-filter: blur(16px);
}
.root :global(.home-map-legend span) {
color: rgba(203, 213, 225, 0.82);
font-size: 10px;
font-weight: 700;
}
.root :global(.home-map-legend-bar) {
width: 178px;
height: 8px;
border-radius: 999px;
background: linear-gradient(
90deg,
#2563eb,
#06b6d4,
#22c55e,
#eab308,
#ef4444
);
}
.root :global(.home-map-legend-values) {
display: flex;
align-items: center;
gap: 8px;
}
.root :global(.home-map-legend-values span) {
color: rgba(148, 163, 184, 0.72);
font-size: 9px;
}
.weatherAura {
position: absolute;
inset: 0;
z-index: 2;
pointer-events: none;
opacity: 0.96;
mix-blend-mode: screen;
overflow: hidden;
}
.weatherAura :global(canvas) {
width: 100%;
height: 100%;
display: block;
opacity: 0.94;
filter: saturate(1.05) blur(0.3px);
}
.weatherAuraScrim {
position: absolute;
inset: 0;
background:
linear-gradient(
180deg,
rgba(3, 8, 19, 0.64) 0%,
rgba(5, 10, 20, 0.16) 24%,
rgba(4, 8, 18, 0.1) 54%,
rgba(3, 6, 14, 0.42) 100%
),
radial-gradient(
circle at 50% 60%,
rgba(34, 211, 238, 0.08) 0%,
rgba(92, 142, 255, 0) 48%
);
}
.weatherAura[data-reduced-motion="true"] :global(canvas) {
display: none;
}
.root :global(.map .leaflet-tile),
.root :global(.map .leaflet-marker-icon),
.root :global(.map .leaflet-marker-shadow),
.root :global(.map .leaflet-container img),
.root :global(.map .leaflet-container svg) {
max-width: none !important;
max-height: none !important;
}
.root :global(.map .leaflet-tile) {
width: 256px !important;
height: 256px !important;
}
/* Remove Leaflet default styling for cleaner look */
.root :global(.leaflet-control-attribution) {
background: var(--bg-glass) !important;
color: var(--text-muted) !important;
backdrop-filter: blur(8px);
border: 1px solid var(--border-subtle) !important;
font-size: 10px !important;
border-radius: 6px !important;
padding: 2px 8px !important;
}
.root :global(.leaflet-control-attribution a) {
color: var(--text-secondary) !important;
}
.root :global(.leaflet-control-zoom) {
border: none !important;
box-shadow: var(--shadow-lg) !important;
}
.root :global(.leaflet-control-zoom a) {
background: var(--bg-glass) !important;
color: var(--text-primary) !important;
backdrop-filter: blur(12px) !important;
border: 1px solid var(--border-glass) !important;
width: 36px !important;
height: 36px !important;
line-height: 36px !important;
font-size: 16px !important;
border-radius: 8px !important;
transition: var(--transition);
}
.root :global(.leaflet-control-zoom a:hover) {
background: rgba(99, 102, 241, 0.2) !important;
border-color: var(--accent-blue) !important;
}
/* ── Header ── */
.root :global(.header) {
position: fixed;
top: 0;
left: 0;
right: 0;
height: var(--header-height);
z-index: 1000;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding: 0 16px;
background: rgba(7, 11, 18, 0.94);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border-glass);
}
.root :global(.brand) {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
}
.root :global(.brand-mark) {
width: 28px;
height: 28px;
border-radius: 9px;
border: 1px solid rgba(34, 211, 238, 0.28);
background:
radial-gradient(
circle at 30% 30%,
rgba(34, 211, 238, 0.24),
transparent 52%
),
linear-gradient(180deg, rgba(11, 22, 40, 0.96), rgba(6, 13, 24, 0.96));
display: inline-flex;
align-items: center;
justify-content: center;
box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.08);
}
.root :global(.brand-mark i) {
width: 13px;
height: 13px;
border-radius: 999px;
border: 2px solid #22d3ee;
position: relative;
}
.root :global(.brand-mark i::before),
.root :global(.brand-mark i::after) {
content: "";
position: absolute;
inset: -4px;
border-radius: 999px;
border: 1px solid rgba(34, 211, 238, 0.34);
}
.root :global(.brand-mark i::after) {
inset: -8px;
border-color: rgba(59, 130, 246, 0.18);
}
.root :global(.brand h1) {
font-size: 18px;
font-weight: 800;
letter-spacing: -0.03em;
background: linear-gradient(
135deg,
var(--accent-cyan) 0%,
var(--accent-blue) 100%
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.root :global(.subtitle) {
font-size: 11px;
font-weight: 500;
color: var(--text-muted);
letter-spacing: 0.04em;
opacity: 0.8;
}
.root :global(.header-nav) {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
flex: 1 1 auto;
min-width: 0;
}
.root :global(.header-nav-link) {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 12px 18px;
border-radius: 10px;
color: rgba(203, 213, 225, 0.82);
text-decoration: none;
font-size: 14px;
font-weight: 550;
transition: var(--transition);
position: relative;
}
.root :global(.header-nav-link:hover) {
color: #f8fafc;
background: rgba(30, 41, 59, 0.44);
}
.root :global(.header-nav-link.active) {
color: #f8fafc;
background: transparent;
box-shadow: none;
}
.root :global(.header-nav-link.active::after) {
content: "";
position: absolute;
left: 18px;
right: 18px;
bottom: 4px;
height: 2px;
border-radius: 999px;
background: var(--accent-cyan);
}
.root :global(.header-right) {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.root :global(.lang-switch) {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px;
border-radius: 10px;
border: 1px solid var(--border-glass);
background: var(--bg-glass);
}
.root :global(.lang-btn) {
border: none;
background: transparent;
color: var(--text-muted);
font-size: 11px;
font-weight: 600;
line-height: 1;
padding: 6px 8px;
border-radius: 7px;
cursor: pointer;
transition: var(--transition);
}
.root :global(.lang-btn:hover) {
color: var(--text-primary);
background: rgba(99, 102, 241, 0.12);
}
.root :global(.lang-btn.active) {
color: var(--text-primary);
background: rgba(0, 229, 255, 0.12);
box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.2);
}
.root :global(.live-badge) {
display: flex;
align-items: center;
gap: 5px;
padding: 4px 10px;
border-radius: 9999px;
background: rgba(34, 197, 94, 0.08);
border: 1px solid rgba(34, 197, 94, 0.22);
font-size: 10px;
font-weight: 700;
color: var(--accent-green);
letter-spacing: 1.2px;
text-transform: uppercase;
}
.root :global(.pulse-dot) {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--accent-green);
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%,
100% {
opacity: 1;
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
}
50% {
opacity: 0.7;
box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
}
}
.root :global(.refresh-btn) {
width: 32px;
height: 32px;
border-radius: 8px;
border: 1px solid var(--border-glass);
background: rgba(13, 19, 33, 0.6);
color: var(--text-secondary);
cursor: pointer;
transition: all 150ms ease;
display: flex;
align-items: center;
justify-content: center;
}
.root :global(.refresh-btn:hover) {
background: rgba(0, 229, 255, 0.1);
border-color: rgba(0, 229, 255, 0.3);
color: var(--accent-cyan);
}
.root :global(.refresh-btn.spinning) {
animation: spin 1s linear infinite;
}
.root :global(.header-utility-btn) {
min-width: 32px;
height: 32px;
padding: 0 12px;
border-radius: 8px;
border: 1px solid rgba(115, 137, 161, 0.18);
background: rgba(8, 15, 27, 0.82);
color: rgba(226, 232, 240, 0.8);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
text-decoration: none;
font-size: 12px;
font-weight: 650;
transition: var(--transition);
}
.root :global(.header-utility-btn:hover) {
color: #f8fafc;
border-color: rgba(34, 211, 238, 0.34);
background: rgba(11, 22, 40, 0.94);
}
.root :global(.header-utility-btn.active) {
color: #f8fafc;
border-color: rgba(59, 130, 246, 0.34);
}
.root :global(.header-utility-btn.more) {
padding: 0;
width: 32px;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* ── City List Sidebar ── */
.root :global(.city-list) {
position: fixed;
top: calc(var(--header-height) + 12px);
left: 12px;
width: var(--sidebar-width);
max-height: calc(100vh - var(--header-height) - 24px);
z-index: 900;
background: var(--bg-glass);
backdrop-filter: blur(var(--glass-blur));
border: 1px solid var(--border-glass);
border-radius: 18px;
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: var(--shadow-lg);
}
.root :global(.city-list-header) {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 16px 10px;
border-bottom: 1px solid var(--border-subtle);
font-size: 13px;
font-weight: 700;
color: var(--text-primary);
letter-spacing: -0.01em;
}
.root :global(.city-search) {
display: flex;
align-items: center;
gap: 8px;
margin: 0 14px 12px;
padding: 10px 12px;
border-radius: 12px;
border: 1px solid rgba(115, 137, 161, 0.14);
background: rgba(6, 12, 22, 0.82);
color: rgba(148, 163, 184, 0.86);
}
.root :global(.city-search input) {
width: 100%;
border: none;
outline: none;
background: transparent;
color: #f8fafc;
font: inherit;
font-size: 13px;
}
.root :global(.city-search input::placeholder) {
color: rgba(148, 163, 184, 0.72);
}
.root :global(.city-count) {
background: rgba(99, 102, 241, 0.2);
color: var(--accent-blue);
font-size: 11px;
font-weight: 700;
font-variant-numeric: tabular-nums;
padding: 2px 8px;
border-radius: 9999px;
border: 1px solid rgba(99, 102, 241, 0.15);
}
.root :global(.city-list-items) {
overflow-y: auto;
flex: 1;
padding: 0 6px 8px;
}
.root :global(.city-list-items::-webkit-scrollbar) {
width: 4px;
}
.root :global(.city-list-items::-webkit-scrollbar-track) {
background: transparent;
}
.root :global(.city-list-items::-webkit-scrollbar-thumb) {
background: var(--border-glass);
border-radius: 2px;
}
.root :global(.sidebar-footer) {
border-top: 1px solid var(--border-subtle);
padding: 10px 12px;
color: rgba(148, 163, 184, 0.72);
font-size: 10px;
line-height: 1.55;
}
.root :global(.city-group) {
border: 1px solid rgba(115, 137, 161, 0.12);
border-radius: 14px;
background: rgba(10, 17, 30, 0.48);
margin-bottom: 8px;
overflow: hidden;
}
.root :global(.city-group:last-child) {
margin-bottom: 0;
}
.root :global(.city-group-header) {
width: 100%;
border: none;
background: rgba(15, 28, 47, 0.56);
color: var(--text-secondary);
display: flex;
align-items: center;
justify-content: space-between;
padding: 7px 10px;
cursor: pointer;
font-family: inherit;
transition: background 150ms ease;
}
.root :global(.city-group-header:hover) {
background: rgba(18, 34, 55, 0.82);
}
.root :global(.city-group-title) {
display: flex;
align-items: center;
gap: 6px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.4px;
text-transform: uppercase;
}
.root :global(.city-group-indicator) {
width: 3px;
height: 14px;
border-radius: 2px;
flex-shrink: 0;
}
.root :global(.city-group-indicator.high) {
background: var(--risk-high);
box-shadow: 0 0 6px rgba(239, 68, 68, 0.3);
}
.root :global(.city-group-indicator.medium) {
background: var(--risk-medium);
box-shadow: 0 0 6px rgba(245, 158, 11, 0.3);
}
.root :global(.city-group-indicator.low) {
background: var(--risk-low);
box-shadow: 0 0 6px rgba(34, 197, 94, 0.3);
}
.root :global(.city-group-indicator.other) {
background: var(--text-muted);
opacity: 0.5;
}
.root :global(.city-group-meta) {
display: inline-flex;
align-items: center;
gap: 8px;
}
.root :global(.city-group-count) {
min-width: 18px;
height: 18px;
border-radius: 9px;
padding: 0 6px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(99, 102, 241, 0.26);
color: var(--text-primary);
font-size: 10px;
font-weight: 700;
}
.root :global(.city-group-arrow) {
font-size: 11px;
color: var(--text-muted);
transform: rotate(-90deg);
transition: transform 0.2s ease;
}
.root :global(.city-group-arrow.expanded) {
transform: rotate(0deg);
}
.root :global(.city-group-items) {
padding: 4px;
}
.root :global(.city-group.collapsed .city-group-items) {
display: none;
}
.root :global(.city-item) {
width: 100%;
display: flex;
flex-direction: column;
gap: 4px;
padding: 8px 10px;
border-radius: 10px;
cursor: pointer;
transition: var(--transition);
border: 1px solid transparent;
background: transparent;
color: inherit;
font-family: inherit;
text-align: left;
}
.root :global(.city-item:hover) {
background: rgba(10, 26, 44, 0.84);
border-color: rgba(34, 211, 238, 0.18);
box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.03);
}
.root :global(.city-item.active) {
background:
linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(30, 64, 175, 0.1)),
rgba(9, 18, 32, 0.92);
border-color: rgba(34, 211, 238, 0.24);
box-shadow:
0 0 20px rgba(34, 211, 238, 0.08),
inset 0 0 0 1px rgba(34, 211, 238, 0.08);
}
.root :global(.city-item-main) {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
}
.root :global(.city-item .city-name-text) {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
}
.root :global(.city-item-info) {
display: flex;
justify-content: space-between;
align-items: center;
padding-left: 20px; /* Align with name text, after the dot */
font-size: 10px;
color: var(--text-muted);
}
.root :global(.city-item .city-max-info) {
color: var(--accent-blue);
font-weight: 500;
}
.root :global(.city-item .city-deviation-info) {
font-weight: 600;
}
.root :global(.city-item .city-deviation-cold) {
color: #38bdf8;
}
.root :global(.city-item .city-deviation-hot) {
color: #f59e0b;
}
.root :global(.city-item .city-deviation-normal) {
color: #22d3ee;
}
.root :global(.city-item .city-deviation-info.strong) {
text-shadow: 0 0 10px rgba(56, 189, 248, 0.18);
}
.root :global(.city-item .city-deviation-hot.strong) {
text-shadow: 0 0 10px rgba(245, 158, 11, 0.24);
}
.root :global(.city-item .risk-dot) {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
.root :global(.city-item .risk-dot.high) {
background: var(--risk-high);
box-shadow: 0 0 6px var(--risk-high);
}
.root :global(.city-item .risk-dot.medium) {
background: var(--risk-medium);
box-shadow: 0 0 6px var(--risk-medium);
}
.root :global(.city-item .risk-dot.low) {
background: var(--risk-low);
box-shadow: 0 0 6px var(--risk-low);
}
.root :global(.city-clock-icon) {
display: inline-block;
vertical-align: -1px;
margin-right: 3px;
opacity: 0.6;
}
.root :global(.city-item .city-temp) {
margin-left: auto;
font-size: 13px;
font-weight: 700;
font-variant-numeric: tabular-nums;
color: var(--accent-cyan);
opacity: 0;
transition: opacity 200ms ease;
}
.root :global(.city-item .city-temp.loaded) {
opacity: 1;
}
/* ── Homepage Intelligence Layer ── */
.root :global(.home-intelligence-panel) {
position: fixed;
top: calc(var(--header-height) + 16px);
right: 18px;
bottom: 20px;
width: min(360px, calc(100vw - var(--sidebar-width) - 56px));
z-index: 890;
display: flex;
flex-direction: column;
gap: 16px;
padding: 18px;
overflow: hidden;
border: 1px solid rgba(34, 211, 238, 0.18);
border-radius: 24px;
background:
radial-gradient(
circle at 18% 0%,
rgba(34, 211, 238, 0.16),
transparent 32%
),
radial-gradient(
circle at 100% 20%,
rgba(59, 130, 246, 0.18),
transparent 34%
),
linear-gradient(155deg, rgba(5, 12, 25, 0.86), rgba(12, 19, 35, 0.78));
backdrop-filter: blur(24px) saturate(130%);
box-shadow:
0 28px 80px rgba(0, 0, 0, 0.42),
inset 0 1px 0 rgba(255, 255, 255, 0.06);
animation: home-panel-enter 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.root :global(.home-panel-glow) {
position: absolute;
inset: -28% -30% auto auto;
width: 260px;
height: 260px;
border-radius: 999px;
background: radial-gradient(
circle,
rgba(34, 211, 238, 0.18),
transparent 62%
);
pointer-events: none;
}
.root :global(.home-panel-kicker),
.root :global(.home-panel-airport),
.root :global(.home-signal-label),
.root :global(.home-pro-card span),
.root :global(.opportunity-strip-heading span) {
color: rgba(148, 163, 184, 0.92);
font-size: 10px;
font-weight: 800;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.root :global(.home-panel-kicker) {
position: relative;
display: inline-flex;
align-items: center;
gap: 8px;
}
.root :global(.home-panel-pulse) {
width: 8px;
height: 8px;
border-radius: 999px;
background: var(--accent-cyan);
box-shadow: 0 0 18px rgba(34, 211, 238, 0.7);
animation: pulse 2s ease-in-out infinite;
}
.root :global(.home-panel-city) {
position: relative;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
}
.root :global(.home-panel-city h2) {
margin-top: 6px;
color: #f8fafc;
font-size: clamp(28px, 4vw, 42px);
font-weight: 900;
line-height: 0.92;
letter-spacing: -0.07em;
}
.root :global(.home-risk-badge) {
flex-shrink: 0;
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 26px;
border-radius: 999px;
padding: 5px 10px 5px 8px;
border: 1px solid rgba(148, 163, 184, 0.2);
background: rgba(9, 18, 36, 0.58);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
color: rgba(226, 232, 240, 0.88);
font-size: 10px;
font-weight: 900;
letter-spacing: 0.01em;
white-space: nowrap;
}
.root :global(.home-risk-badge::before) {
content: "";
width: 6px;
height: 6px;
border-radius: 999px;
background: currentColor;
opacity: 0.88;
box-shadow: 0 0 8px color-mix(in srgb, currentColor 24%, transparent);
}
.root :global(.home-risk-badge.high) {
border-color: rgba(248, 113, 113, 0.34);
color: #fda4af;
background: rgba(69, 10, 10, 0.32);
}
.root :global(.home-risk-badge.medium) {
border-color: rgba(251, 191, 36, 0.3);
color: #fcd34d;
background: rgba(67, 36, 6, 0.28);
}
.root :global(.home-risk-badge.low) {
border-color: rgba(52, 211, 153, 0.28);
color: #86efac;
background: rgba(7, 47, 35, 0.28);
}
.root :global(.home-panel-subtitle) {
max-width: 310px;
color: rgba(203, 213, 225, 0.78);
font-size: 13px;
line-height: 1.6;
}
.root :global(.home-metric-grid) {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.root :global(.home-metric-card) {
min-height: 86px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 12px;
padding: 13px;
border: 1px solid rgba(148, 163, 184, 0.13);
border-radius: 18px;
background: rgba(2, 6, 23, 0.36);
}
.root :global(.home-metric-card.primary) {
background:
linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.08)),
rgba(2, 6, 23, 0.42);
border-color: rgba(34, 211, 238, 0.24);
}
.root :global(.home-metric-card span) {
color: rgba(148, 163, 184, 0.86);
font-size: 11px;
font-weight: 700;
}
.root :global(.home-metric-card strong) {
color: #f8fafc;
font-size: 24px;
font-weight: 900;
letter-spacing: -0.06em;
}
.root :global(.home-signal-card) {
display: grid;
grid-template-columns: 48px 1fr;
gap: 14px;
padding: 14px;
border: 1px solid rgba(34, 211, 238, 0.16);
border-radius: 20px;
background: rgba(8, 13, 27, 0.48);
}
.root :global(.home-signal-line) {
display: flex;
align-items: flex-end;
justify-content: center;
gap: 5px;
height: 68px;
}
.root :global(.home-signal-line span) {
width: 7px;
border-radius: 999px;
background: linear-gradient(180deg, #22d3ee, #3b82f6);
opacity: 0.88;
animation: home-signal-wave 1.8s ease-in-out infinite;
}
.root :global(.home-signal-line span:nth-child(1)) {
height: 32px;
}
.root :global(.home-signal-line span:nth-child(2)) {
height: 56px;
animation-delay: 180ms;
}
.root :global(.home-signal-line span:nth-child(3)) {
height: 42px;
animation-delay: 360ms;
}
.root :global(.home-signal-card strong) {
display: block;
margin: 5px 0 4px;
color: #e2e8f0;
font-size: 15px;
}
.root :global(.home-signal-card p) {
color: rgba(148, 163, 184, 0.9);
font-size: 12px;
line-height: 1.55;
}
.root :global(.home-pro-card) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 14px;
border: 1px solid rgba(251, 191, 36, 0.26);
border-radius: 20px;
background:
linear-gradient(135deg, rgba(251, 191, 36, 0.1), transparent 60%),
rgba(15, 23, 42, 0.52);
}
.root :global(.home-pro-card.active) {
border-color: rgba(34, 211, 238, 0.28);
background:
linear-gradient(135deg, rgba(34, 211, 238, 0.12), transparent 60%),
rgba(15, 23, 42, 0.52);
}
.root :global(.home-pro-card strong) {
display: block;
margin-top: 5px;
color: #f8fafc;
font-size: 12px;
line-height: 1.45;
}
.root :global(.home-pro-card a),
.root :global(.home-pro-card button) {
flex-shrink: 0;
border: 1px solid rgba(34, 211, 238, 0.32);
border-radius: 999px;
background: rgba(34, 211, 238, 0.1);
color: #a5f3fc;
cursor: pointer;
font: inherit;
font-size: 12px;
font-weight: 800;
padding: 8px 12px;
text-decoration: none;
transition:
transform 160ms ease,
border-color 160ms ease,
background 160ms ease;
}
.root :global(.home-pro-card a:hover),
.root :global(.home-pro-card button:hover) {
transform: translateY(-1px);
border-color: rgba(34, 211, 238, 0.62);
background: rgba(34, 211, 238, 0.16);
}
.root :global(.home-intelligence-panel.full) {
bottom: 18px;
width: min(372px, calc(100vw - var(--sidebar-width) - 56px));
gap: 14px;
overflow-y: auto;
border-color: rgba(34, 211, 238, 0.22);
background:
radial-gradient(
circle at 100% 0%,
rgba(37, 99, 235, 0.18),
transparent 38%
),
radial-gradient(
circle at 0% 100%,
rgba(34, 211, 238, 0.06),
transparent 32%
),
linear-gradient(165deg, rgba(3, 10, 22, 0.96), rgba(5, 18, 38, 0.94));
box-shadow:
inset 1px 0 0 rgba(255, 255, 255, 0.04),
-10px 0 34px rgba(0, 0, 0, 0.18);
}
.root :global(.home-intelligence-panel.full::-webkit-scrollbar) {
width: 4px;
}
.root :global(.home-intelligence-panel.full::-webkit-scrollbar-thumb) {
background: rgba(34, 211, 238, 0.28);
border-radius: 999px;
}
/* Close button removed — panel always visible */
.root :global(.home-panel-header-left) {
display: inline-flex;
align-items: center;
gap: 8px;
}
.root :global(.home-panel-live-indicator) {
width: 7px;
height: 7px;
border-radius: 999px;
background: #22c55e;
box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
animation: pulse 2s ease-in-out infinite;
}
.root :global(.home-panel-header) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(115, 137, 161, 0.12);
}
.root :global(.home-focus-title) {
color: rgba(226, 232, 240, 0.92);
font-size: 10px;
font-weight: 800;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.root :global(.home-why-link) {
border: 1px solid rgba(96, 165, 250, 0.22);
border-radius: 999px;
padding: 4px 10px;
background: rgba(96, 165, 250, 0.06);
color: #93c5fd;
cursor: pointer;
font: inherit;
font-size: 10px;
font-weight: 700;
transition: all 180ms ease;
}
.root :global(.home-why-link:hover) {
border-color: rgba(96, 165, 250, 0.42);
background: rgba(96, 165, 250, 0.12);
color: #bfdbfe;
}
.root :global(.home-top-opportunity-label) {
display: inline-flex;
align-self: flex-start;
align-items: center;
gap: 7px;
padding: 5px 8px;
border: 1px solid rgba(34, 211, 238, 0.18);
border-radius: 999px;
background: rgba(8, 145, 178, 0.1);
color: #67e8f9;
font-size: 10px;
font-weight: 900;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.root :global(.home-top-opportunity-label::before) {
content: "";
width: 6px;
height: 6px;
border-radius: 999px;
background: #22c55e;
box-shadow: 0 0 12px rgba(34, 197, 94, 0.72);
}
.root :global(.home-card-titlebar) {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 14px;
}
.root :global(.home-card-titlebar h2) {
color: #f8fafc;
font-size: 22px;
font-weight: 900;
line-height: 1;
letter-spacing: -0.045em;
}
.root :global(.home-card-titlebar p),
.root :global(.home-card-meta-row) {
color: rgba(148, 163, 184, 0.88);
font-size: 12px;
font-weight: 650;
}
.root :global(.home-card-titlebar p) {
margin-top: 7px;
}
.root :global(.home-card-meta-row) {
display: flex;
align-items: center;
gap: 8px;
}
.root :global(.home-card-live-dot) {
width: 6px;
height: 6px;
border-radius: 999px;
background: #22c55e;
box-shadow: 0 0 12px rgba(34, 197, 94, 0.72);
}
.root :global(.home-weather-hero) {
display: grid;
grid-template-columns: minmax(0, 1fr) 130px;
gap: 14px;
align-items: center;
padding: 16px;
border: 1px solid rgba(34, 211, 238, 0.14);
border-radius: 18px;
background:
radial-gradient(circle at 88% 24%, rgba(245, 158, 11, 0.12), transparent 24%),
linear-gradient(180deg, rgba(8, 16, 30, 0.62), rgba(4, 10, 22, 0.36));
}
.root :global(.home-weather-main strong) {
display: block;
color: #f8fafc;
font-size: 62px;
font-weight: 900;
line-height: 0.96;
letter-spacing: -0.08em;
}
.root :global(.home-weather-label),
.root :global(.home-weather-sub),
.root :global(.home-weather-stat span),
.root :global(.home-weather-stat small) {
display: block;
color: rgba(148, 163, 184, 0.88);
font-size: 12px;
}
.root :global(.home-weather-label) {
margin-bottom: 8px;
color: #67e8f9;
font-size: 10px;
font-weight: 900;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.root :global(.home-weather-sub) {
margin-top: 10px;
}
.root :global(.home-weather-side) {
display: grid;
justify-items: end;
gap: 10px;
}
.root :global(.home-weather-icon) {
position: relative;
width: 88px;
height: 76px;
}
.root :global(.home-weather-stat) {
min-width: 118px;
padding: 9px 10px;
border: 1px solid rgba(148, 163, 184, 0.12);
border-radius: 12px;
background: rgba(2, 8, 18, 0.35);
text-align: right;
}
.root :global(.home-weather-stat strong) {
display: block;
margin-top: 3px;
color: #f8fafc;
font-size: 18px;
font-weight: 900;
}
.root :global(.home-weather-stat small) {
margin-top: 2px;
font-size: 10px;
}
.root :global(.home-weather-icon .sun),
.root :global(.home-weather-icon .mist),
.root :global(.home-weather-icon .wind),
.root :global(.home-weather-icon .bolt) {
position: absolute;
}
.root :global(.home-weather-icon .sun) {
top: 8px;
left: 6px;
width: 26px;
height: 26px;
border-radius: 999px;
background: radial-gradient(circle, #fde68a 0%, #f59e0b 70%, #f97316 100%);
box-shadow:
0 0 0 7px rgba(251, 191, 36, 0.12),
0 0 22px rgba(245, 158, 11, 0.26);
}
.root :global(.home-weather-icon .cloud) {
position: absolute;
border-radius: 999px;
background: linear-gradient(180deg, #b8c4d2, #64748b);
filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}
.root :global(.home-weather-icon .cloud-a) {
left: 10px;
top: 24px;
width: 70px;
height: 30px;
}
.root :global(.home-weather-icon .cloud-b) {
left: 31px;
top: 10px;
width: 37px;
height: 37px;
}
.root :global(.home-weather-icon .rain) {
position: absolute;
top: 58px;
width: 4px;
height: 13px;
border-radius: 999px;
background: #38bdf8;
transform: rotate(18deg);
}
.root :global(.home-weather-icon .rain-a) {
left: 29px;
}
.root :global(.home-weather-icon .rain-b) {
left: 48px;
}
.root :global(.home-weather-icon .rain-c) {
left: 67px;
}
.root :global(.home-weather-icon .mist) {
left: 20px;
width: 46px;
height: 2px;
border-radius: 999px;
background: rgba(191, 219, 254, 0.85);
box-shadow: 0 0 10px rgba(148, 163, 184, 0.18);
}
.root :global(.home-weather-icon .mist-a) {
top: 58px;
}
.root :global(.home-weather-icon .mist-b) {
top: 64px;
left: 28px;
width: 38px;
}
.root :global(.home-weather-icon .wind) {
left: 20px;
width: 44px;
height: 2px;
border-radius: 999px;
background: linear-gradient(
90deg,
rgba(125, 211, 252, 0),
rgba(125, 211, 252, 0.92)
);
}
.root :global(.home-weather-icon .wind::after) {
content: "";
position: absolute;
right: -3px;
top: -1px;
width: 9px;
height: 4px;
border-top: 2px solid rgba(125, 211, 252, 0.92);
border-right: 2px solid rgba(125, 211, 252, 0.92);
border-radius: 0 8px 0 0;
}
.root :global(.home-weather-icon .wind-a) {
top: 28px;
}
.root :global(.home-weather-icon .wind-b) {
top: 42px;
left: 30px;
width: 34px;
}
.root :global(.home-weather-icon .bolt) {
top: 44px;
left: 20px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 2px solid transparent;
border-top: 18px solid #fbbf24;
transform: skewX(-16deg);
filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.32));
}
.root :global(.home-weather-icon .bolt::after) {
content: "";
position: absolute;
left: -5px;
top: -4px;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 2px solid transparent;
border-top: 12px solid #fde047;
transform: translateX(5px) translateY(8px);
}
.root :global(.home-weather-icon.weather-clear .cloud),
.root :global(.home-weather-icon.weather-clear .rain),
.root :global(.home-weather-icon.weather-clear .mist),
.root :global(.home-weather-icon.weather-clear .wind),
.root :global(.home-weather-icon.weather-clear .bolt) {
display: none;
}
.root :global(.home-weather-icon.weather-partly .rain),
.root :global(.home-weather-icon.weather-partly .mist),
.root :global(.home-weather-icon.weather-partly .wind),
.root :global(.home-weather-icon.weather-partly .bolt) {
display: none;
}
.root :global(.home-weather-icon.weather-cloudy .sun),
.root :global(.home-weather-icon.weather-cloudy .rain),
.root :global(.home-weather-icon.weather-cloudy .mist),
.root :global(.home-weather-icon.weather-cloudy .wind),
.root :global(.home-weather-icon.weather-cloudy .bolt) {
display: none;
}
.root :global(.home-weather-icon.weather-rain .sun),
.root :global(.home-weather-icon.weather-rain .mist),
.root :global(.home-weather-icon.weather-rain .wind),
.root :global(.home-weather-icon.weather-rain .bolt) {
display: none;
}
.root :global(.home-weather-icon.weather-storm .sun),
.root :global(.home-weather-icon.weather-storm .mist),
.root :global(.home-weather-icon.weather-storm .wind) {
display: none;
}
.root :global(.home-weather-icon.weather-mist .sun),
.root :global(.home-weather-icon.weather-mist .rain),
.root :global(.home-weather-icon.weather-mist .wind),
.root :global(.home-weather-icon.weather-mist .bolt) {
display: none;
}
.root :global(.home-weather-icon.weather-wind .sun),
.root :global(.home-weather-icon.weather-wind .rain),
.root :global(.home-weather-icon.weather-wind .mist),
.root :global(.home-weather-icon.weather-wind .bolt) {
display: none;
}
.root :global(.home-max-so-far) {
grid-column: 2;
color: rgba(203, 213, 225, 0.86);
font-size: 12px;
text-align: right;
}
.root :global(.home-max-so-far strong) {
display: block;
margin-top: 4px;
font-size: 16px;
letter-spacing: -0.03em;
}
.root :global(.home-max-so-far small) {
color: rgba(148, 163, 184, 0.9);
font-size: 11px;
}
.root :global(.home-deb-card),
.root :global(.home-card-section) {
border-radius: 14px;
border: 1px solid rgba(115, 137, 161, 0.12);
background: linear-gradient(
180deg,
rgba(8, 16, 30, 0.88),
rgba(6, 12, 24, 0.74)
);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.04),
0 2px 8px rgba(0, 0, 0, 0.18);
transition: border-color 200ms ease;
}
.root :global(.home-deb-card:hover),
.root :global(.home-card-section:hover) {
border-color: rgba(34, 211, 238, 0.18);
}
.root :global(.home-deb-card) {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 10px;
padding: 12px 14px;
}
.root :global(.home-deb-card span),
.root :global(.home-card-section h3) {
color: #67e8f9;
font-size: 12px;
font-weight: 850;
}
.root :global(.home-deb-card small),
.root :global(.home-card-section h3 small) {
color: rgba(148, 163, 184, 0.82);
font-weight: 700;
}
.root :global(.home-deb-card strong) {
display: inline-block;
margin-top: 9px;
color: #f8fafc;
font-size: 26px;
font-weight: 900;
letter-spacing: -0.055em;
}
.root :global(.home-deb-card em) {
margin-left: 10px;
color: #f87171;
font-size: 12px;
font-style: normal;
font-weight: 850;
}
.root :global(.home-market-metrics svg) {
width: 100%;
height: 42px;
}
.root :global(.home-market-metrics polyline) {
fill: none;
stroke: #18e6d4;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2.2;
}
.root :global(.home-card-section) {
padding: 12px 14px;
}
.root :global(.home-card-section h3) {
margin-bottom: 10px;
color: rgba(226, 232, 240, 0.94);
}
.root :global(.home-card-section.intraday) {
border-color: rgba(34, 211, 238, 0.2);
background:
radial-gradient(circle at 0% 35%, rgba(34, 211, 238, 0.12), transparent 44%),
linear-gradient(180deg, rgba(7, 14, 26, 0.94), rgba(9, 17, 30, 0.82));
}
.root :global(.home-intraday-chart) {
position: relative;
padding: 6px 0 0;
}
.root :global(.home-intraday-chart svg) {
width: 100%;
height: 78px;
}
.root :global(.home-intraday-chart line) {
stroke: rgba(115, 137, 161, 0.14);
stroke-width: 0.9;
}
.root :global(.home-intraday-chart polyline) {
fill: none;
stroke: #22d3ee;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.22));
}
.root :global(.home-intraday-chart circle) {
fill: #38bdf8;
stroke: rgba(15, 23, 42, 0.92);
stroke-width: 1.6;
filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.28));
}
.root :global(.home-intraday-hotspot) {
position: absolute;
width: 18px;
height: 18px;
transform: translate(-50%, -50%);
border: 0;
border-radius: 999px;
background: transparent;
cursor: pointer;
}
.root :global(.home-intraday-hotspot:focus-visible) {
outline: 1px solid rgba(34, 211, 238, 0.6);
outline-offset: 1px;
}
.root :global(.home-intraday-tooltip) {
position: absolute;
transform: translate(-50%, -100%);
pointer-events: none;
display: inline-flex;
flex-direction: column;
gap: 2px;
padding: 6px 8px;
border: 1px solid rgba(34, 211, 238, 0.22);
border-radius: 10px;
background: rgba(7, 15, 28, 0.96);
box-shadow: 0 10px 26px rgba(2, 6, 23, 0.34);
white-space: nowrap;
}
.root :global(.home-intraday-tooltip strong) {
color: #f8fafc;
font-size: 12px;
font-weight: 900;
}
.root :global(.home-intraday-tooltip span) {
color: rgba(148, 163, 184, 0.88);
font-size: 10px;
font-weight: 700;
}
.root :global(.home-intraday-reports) {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 7px;
margin-top: 8px;
}
.root :global(.home-intraday-reports span) {
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
padding: 7px 8px;
border: 1px solid rgba(34, 211, 238, 0.12);
border-radius: 10px;
background: rgba(2, 8, 18, 0.55);
}
.root :global(.home-intraday-reports b) {
color: rgba(148, 163, 184, 0.9);
font-size: 10px;
font-weight: 800;
}
.root :global(.home-intraday-reports strong) {
color: #e0f2fe;
font-size: 11px;
font-weight: 900;
}
.root :global(.home-card-section.forecast) {
border-color: rgba(99, 102, 241, 0.24);
}
.root :global(.home-forecast-grid) {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 8px;
}
.root :global(.home-forecast-item) {
min-width: 0;
padding: 10px 8px;
border: 1px solid rgba(148, 163, 184, 0.14);
border-radius: 12px;
background: rgba(15, 23, 42, 0.5);
text-align: center;
}
.root :global(.home-forecast-item span) {
display: block;
color: rgba(148, 163, 184, 0.84);
font-size: 10px;
font-weight: 800;
}
.root :global(.home-forecast-item strong) {
display: block;
margin-top: 6px;
color: #f8fafc;
font-size: 16px;
font-weight: 900;
letter-spacing: -0.04em;
}
.root :global(.home-model-stack) {
display: flex;
flex-wrap: wrap;
gap: 7px;
}
.root :global(.home-model-stack span) {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 6px 8px;
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 6px;
background: rgba(15, 23, 42, 0.72);
color: rgba(226, 232, 240, 0.92);
font-size: 11px;
font-weight: 800;
}
.root :global(.home-model-stack i),
.root :global(.key-signals i.active) {
width: 6px;
height: 6px;
border-radius: 999px;
background: #22c55e;
box-shadow: 0 0 10px rgba(34, 197, 94, 0.62);
}
.root :global(.home-card-section.probability) {
border-color: rgba(251, 113, 133, 0.18);
background:
radial-gradient(circle at 100% 0%, rgba(251, 113, 133, 0.08), transparent 42%),
linear-gradient(180deg, rgba(7, 14, 26, 0.94), rgba(9, 17, 30, 0.82));
}
.root :global(.home-probability-list),
.root :global(.home-probability-ladder) {
display: grid;
gap: 8px;
}
.root :global(.home-probability-row),
.root :global(.home-probability-ladder-row) {
display: grid;
grid-template-columns: 58px minmax(0, 1fr) 42px;
align-items: center;
gap: 9px;
color: rgba(226, 232, 240, 0.95);
font-size: 12px;
font-weight: 850;
}
.root :global(.home-probability-row div),
.root :global(.home-probability-track) {
position: relative;
height: 14px;
overflow: hidden;
border-radius: 999px;
background: rgba(115, 137, 161, 0.12);
}
.root :global(.home-probability-row i),
.root :global(.home-probability-track i) {
position: absolute;
inset: 0 auto 0 0;
border-radius: inherit;
background: linear-gradient(90deg, #3b82f6, #18e6d4);
box-shadow: 0 0 10px rgba(34, 211, 238, 0.14);
}
.root :global(.home-probability-row:nth-child(3) i),
.root :global(.home-probability-ladder-row:nth-child(3) i) {
background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.root :global(.home-probability-row:nth-child(n + 4) i),
.root :global(.home-probability-ladder-row:nth-child(n + 4) i) {
background: linear-gradient(90deg, #ef4444, #fb7185);
}
.root :global(.home-probability-row strong),
.root :global(.home-probability-ladder-row strong) {
position: relative;
z-index: 1;
display: block;
color: #f8fafc;
font-size: 12px;
line-height: 1;
text-align: right;
}
.root :global(.home-probability-threshold) {
color: rgba(226, 232, 240, 0.95);
font-size: 12px;
font-weight: 900;
}
.root :global(.home-card-empty) {
color: rgba(148, 163, 184, 0.9);
font-size: 12px;
line-height: 1.5;
}
.root :global(.home-card-section.market) {
position: relative;
border-color: rgba(34, 211, 238, 0.16);
}
.root :global(.home-card-section.market.locked) {
border-color: rgba(251, 191, 36, 0.28);
}
.root :global(.home-market-header),
.root :global(.home-market-ticket),
.root :global(.home-market-prices),
.root :global(.home-market-metrics) {
display: flex;
align-items: center;
}
.root :global(.home-market-header),
.root :global(.home-market-ticket) {
justify-content: space-between;
gap: 10px;
}
.root :global(.home-market-header span) {
color: rgba(148, 163, 184, 0.88);
font-size: 11px;
font-weight: 750;
}
.root :global(.home-market-ticket) {
margin-top: 8px;
}
.root :global(.home-market-question strong) {
display: block;
color: #f8fafc;
font-size: 15px;
}
.root :global(.home-market-question span) {
display: block;
margin-top: 3px;
color: rgba(148, 163, 184, 0.8);
font-size: 11px;
}
.root :global(.home-market-prices) {
gap: 6px;
}
.root :global(.home-market-prices span) {
border-radius: 7px;
padding: 7px 9px;
font-size: 12px;
font-weight: 900;
}
.root :global(.home-market-prices .yes) {
color: #67e8f9;
background: rgba(8, 145, 178, 0.2);
}
.root :global(.home-market-prices .no) {
color: #fca5a5;
background: rgba(127, 29, 29, 0.24);
}
.root :global(.home-market-metrics) {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr)) 94px;
gap: 8px;
margin-top: 10px;
}
.root :global(.home-market-metrics span) {
color: rgba(148, 163, 184, 0.84);
font-size: 11px;
}
.root :global(.home-market-metrics strong) {
display: block;
margin-top: 3px;
color: #22c55e;
font-size: 13px;
}
.root :global(.home-market-lock) {
display: inline-flex;
margin-top: 10px;
color: #fde68a;
font-size: 12px;
font-weight: 850;
text-decoration: none;
}
.root :global(.key-signals) {
border-color: transparent;
background: transparent;
padding: 0 4px;
}
.root :global(.key-signals ul) {
display: grid;
gap: 7px;
list-style: none;
}
.root :global(.key-signals li) {
display: flex;
align-items: center;
justify-content: space-between;
color: rgba(203, 213, 225, 0.88);
font-size: 12px;
}
.root :global(.key-signals i) {
width: 8px;
height: 8px;
border-radius: 999px;
background: rgba(148, 163, 184, 0.42);
}
.root :global(.key-signals i.amber.active) {
background: #f59e0b;
box-shadow: 0 0 10px rgba(245, 158, 11, 0.62);
}
.root :global(.key-signals p) {
margin-top: 9px;
color: rgba(100, 116, 139, 0.9);
font-size: 11px;
}
.root :global(.home-intelligence-panel.full .home-pro-card) {
margin-top: 0;
}
.root :global(.home-opportunity-strip) {
position: fixed;
left: calc(var(--sidebar-width) + 22px);
right: 392px;
bottom: 18px;
z-index: 880;
display: flex;
flex-direction: column;
gap: 12px;
padding: 12px;
border: 1px solid rgba(148, 163, 184, 0.14);
border-radius: 22px;
background:
radial-gradient(
circle at 8% 50%,
rgba(34, 211, 238, 0.12),
transparent 32%
),
rgba(7, 13, 25, 0.76);
backdrop-filter: blur(20px) saturate(130%);
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
animation: opportunity-strip-enter 580ms cubic-bezier(0.16, 1, 0.3, 1) 120ms
both;
}
.root :global(.home-summary-grid) {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.root :global(.home-summary-card) {
min-height: 106px;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 14px 16px;
border-radius: 16px;
border: 1px solid rgba(148, 163, 184, 0.14);
background: rgba(8, 15, 28, 0.7);
}
.root :global(.home-summary-card-head) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.root :global(.home-summary-card-head strong) {
color: #f8fafc;
font-size: 14px;
font-weight: 760;
line-height: 1.2;
}
.root :global(.home-summary-card-head span) {
color: #60a5fa;
font-size: 10px;
font-weight: 700;
}
.root :global(.home-summary-card-body) {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
align-items: end;
}
.root :global(.home-summary-stat) {
display: flex;
flex-direction: column;
gap: 4px;
}
.root :global(.home-summary-stat b) {
color: #f8fafc;
font-size: 28px;
font-weight: 850;
line-height: 1;
letter-spacing: -0.04em;
}
.root :global(.home-summary-stat span) {
color: rgba(148, 163, 184, 0.82);
font-size: 10px;
font-weight: 650;
}
.root :global(.home-summary-stat b.accent-red) {
color: #fb7185;
}
.root :global(.home-summary-stat b.accent-amber) {
color: #fbbf24;
}
.root :global(.home-summary-stat b.accent-green) {
color: #4ade80;
}
.root :global(.home-summary-stat b.accent-cyan) {
color: #22d3ee;
}
.root :global(.opportunity-strip-heading) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 2px 4px;
}
.root :global(.opportunity-strip-heading > div) {
display: flex;
flex-direction: column;
gap: 5px;
}
.root :global(.opportunity-strip-heading strong) {
color: #f8fafc;
font-size: 15px;
line-height: 1.25;
}
.root :global(.opportunity-view-all) {
color: #60a5fa;
text-decoration: none;
font-size: 12px;
font-weight: 700;
}
.root :global(.opportunity-card-grid) {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.root :global(.opportunity-card-grid.top-opportunities) {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.root :global(.opportunity-card) {
position: relative;
min-width: 0;
display: flex;
flex-direction: column;
gap: 9px;
min-height: 132px;
padding: 14px;
border: 1px solid rgba(148, 163, 184, 0.14);
border-radius: 16px;
background:
radial-gradient(
circle at 100% 0%,
rgba(30, 64, 175, 0.12),
transparent 32%
),
rgba(10, 16, 28, 0.84);
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
transition:
transform 160ms ease,
border-color 160ms ease,
background 160ms ease;
}
.root :global(.opportunity-card:hover) {
transform: translateY(-2px);
border-color: rgba(34, 211, 238, 0.32);
background:
radial-gradient(
circle at 100% 0%,
rgba(30, 64, 175, 0.18),
transparent 32%
),
rgba(15, 23, 42, 0.92);
}
.root :global(.opportunity-card-header),
.root :global(.opportunity-card-footer) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.root :global(.opportunity-price-pair) {
display: inline-flex;
align-items: center;
gap: 10px;
}
.root :global(.opportunity-rank) {
width: 24px;
height: 24px;
border-radius: 999px;
border: 1px solid rgba(148, 163, 184, 0.24);
display: inline-flex;
align-items: center;
justify-content: center;
color: #f8fafc;
font-size: 12px;
font-weight: 800;
flex-shrink: 0;
}
.root :global(.opportunity-pill) {
margin-left: auto;
padding: 4px 8px;
border-radius: 999px;
font-size: 10px;
font-weight: 800;
border: 1px solid rgba(148, 163, 184, 0.18);
color: rgba(226, 232, 240, 0.86);
}
.root :global(.opportunity-pill.high) {
color: #fda4af;
border-color: rgba(251, 113, 133, 0.26);
}
.root :global(.opportunity-pill.medium) {
color: #fbbf24;
border-color: rgba(251, 191, 36, 0.24);
}
.root :global(.opportunity-pill.low) {
color: #4ade80;
border-color: rgba(74, 222, 128, 0.24);
}
.root :global(.opportunity-city) {
overflow: hidden;
color: #f8fafc;
font-size: 13px;
font-weight: 850;
text-overflow: ellipsis;
white-space: nowrap;
}
.root :global(.opportunity-meta) {
overflow: hidden;
color: rgba(203, 213, 225, 0.88);
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
min-height: 16px;
}
.root :global(.opportunity-yes) {
color: #22d3ee;
font-size: 12px;
font-weight: 800;
}
.root :global(.opportunity-no) {
color: #fda4af;
font-size: 12px;
font-weight: 800;
}
.root :global(.opportunity-edge) {
color: rgba(34, 211, 238, 0.9);
font-size: 18px;
font-weight: 800;
}
.root :global(.opportunity-sparkline) {
width: 100%;
height: 28px;
margin-top: auto;
}
.root :global(.opportunity-sparkline polyline) {
fill: none;
stroke: #18e6d4;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.22));
}
/* Market-closed opportunity card — dimmed state */
.root :global(.opportunity-card.market-closed) {
opacity: 0.6;
border-style: dashed;
}
.root :global(.opportunity-card.market-closed:hover) {
opacity: 0.82;
}
.root :global(.opportunity-market-status) {
color: rgba(251, 191, 36, 0.8);
font-size: 10px;
font-weight: 700;
}
@keyframes home-panel-enter {
from {
opacity: 0;
transform: translate3d(24px, 0, 0) scale(0.98);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0) scale(1);
}
}
@keyframes opportunity-strip-enter {
from {
opacity: 0;
transform: translate3d(0, 22px, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
@keyframes home-signal-wave {
0%,
100% {
transform: scaleY(0.72);
opacity: 0.68;
}
50% {
transform: scaleY(1);
opacity: 1;
}
}
@media (max-width: 1360px) {
.root :global(.map) {
right: 18px;
}
.root :global(.home-intelligence-panel) {
display: none;
}
.root :global(.home-opportunity-strip) {
right: 18px;
}
}
@media (max-width: 1020px) {
.root :global(.map) {
left: 18px;
bottom: 188px;
}
.root :global(.home-opportunity-strip) {
left: 18px;
grid-template-columns: 1fr;
}
.root :global(.opportunity-card-grid) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 720px) {
.root :global(.map) {
inset: var(--header-height) 0 0;
border-radius: 0;
border-left: 0;
border-right: 0;
}
.root :global(.home-opportunity-strip) {
display: none;
}
}
/* ── Detail Panel ── */
.root :global(.detail-panel) {
position: fixed;
top: 0;
right: 0;
width: var(--panel-width);
height: 100vh;
z-index: 950;
background: linear-gradient(
180deg,
rgba(10, 14, 26, 0.92) 0%,
rgba(15, 23, 42, 0.95) 100%
);
backdrop-filter: blur(24px);
border-left: 1px solid var(--border-glass);
box-shadow: -10px 0 60px rgba(0, 0, 0, 0.5);
transform: translateX(100%);
transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
display: flex;
flex-direction: column;
overflow: hidden;
}
.root :global(.detail-panel.visible) {
transform: translateX(0);
}
.root :global(.panel-header) {
padding: 20px 20px 16px;
border-bottom: 1px solid var(--border-subtle);
position: relative;
flex-shrink: 0;
}
.root :global(.panel-close) {
position: absolute;
top: 16px;
right: 16px;
width: 32px;
height: 32px;
border-radius: 8px;
border: 1px solid var(--border-glass);
background: transparent;
color: var(--text-muted);
font-size: 14px;
cursor: pointer;
transition: var(--transition);
display: flex;
align-items: center;
justify-content: center;
}
.root :global(.panel-close:hover) {
background: rgba(248, 113, 113, 0.15);
border-color: var(--accent-red);
color: var(--accent-red);
}
.root :global(.panel-title-area h2) {
font-size: 22px;
font-weight: 700;
letter-spacing: -0.02em;
margin-bottom: 6px;
}
.root :global(.panel-loading-hint) {
display: inline-flex;
align-items: center;
gap: 8px;
margin-bottom: 10px;
padding: 6px 10px;
border-radius: 999px;
border: 1px solid rgba(34, 211, 238, 0.18);
background: rgba(12, 24, 42, 0.78);
color: var(--accent-cyan);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.2px;
}
.root :global(.panel-loading-spinner) {
width: 10px;
height: 10px;
border-radius: 999px;
border: 2px solid rgba(34, 211, 238, 0.22);
border-top-color: rgba(34, 211, 238, 0.92);
animation: loading-spin 0.8s linear infinite;
}
.root :global(.panel-meta) {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.root :global(.city-loading-toast) {
position: fixed;
top: 78px;
left: 50%;
transform: translateX(-50%);
z-index: 1200;
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 14px;
border-radius: 999px;
border: 1px solid rgba(34, 211, 238, 0.18);
background: linear-gradient(
180deg,
rgba(10, 18, 34, 0.94),
rgba(10, 18, 34, 0.82)
);
box-shadow:
0 18px 40px rgba(2, 6, 23, 0.38),
0 0 0 1px rgba(34, 211, 238, 0.04) inset;
backdrop-filter: blur(18px);
pointer-events: none;
}
.root :global(.city-loading-dot) {
width: 10px;
height: 10px;
border-radius: 999px;
background: var(--accent-cyan);
box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
animation: city-loading-pulse 1.35s ease-out infinite;
}
.root :global(.city-loading-copy) {
color: var(--text-primary);
font-size: 12px;
font-weight: 600;
letter-spacing: 0.25px;
}
.root :global(.pro-locked) {
filter: grayscale(0.8) opacity(0.7);
position: relative;
}
.root :global(.pro-locked::after) {
content: "PRO";
position: absolute;
top: -4px;
right: -4px;
background: var(--accent-blue);
color: white;
font-size: 7px;
padding: 1px 3px;
border-radius: 3px;
font-weight: 900;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.root :global(.risk-badge) {
font-size: 11px;
font-weight: 600;
padding: 3px 10px;
border-radius: 6px;
letter-spacing: 0.5px;
}
.root :global(.risk-badge.high) {
background: rgba(239, 68, 68, 0.15);
color: var(--risk-high);
border: 1px solid rgba(239, 68, 68, 0.3);
}
.root :global(.risk-badge.medium) {
background: rgba(245, 158, 11, 0.15);
color: var(--risk-medium);
border: 1px solid rgba(245, 158, 11, 0.3);
}
.root :global(.risk-badge.low) {
background: rgba(34, 197, 94, 0.15);
color: var(--risk-low);
border: 1px solid rgba(34, 197, 94, 0.3);
}
.root :global(.local-time) {
font-size: 12px;
color: var(--text-muted);
font-variant-numeric: tabular-nums;
}
.root :global(.panel-body) {
overflow-y: auto;
flex: 1;
position: relative;
padding: 0 20px 24px;
}
.root :global(.panel-sync-blocker) {
position: sticky;
top: 0;
z-index: 6;
display: flex;
align-items: center;
gap: 10px;
margin: 0 0 12px;
padding: 12px 14px;
border: 1px solid rgba(34, 211, 238, 0.22);
border-radius: 8px;
background: rgba(8, 16, 30, 0.96);
color: var(--text-primary);
box-shadow: 0 14px 34px rgba(2, 6, 23, 0.38);
backdrop-filter: blur(18px);
font-size: 12px;
font-weight: 650;
line-height: 1.45;
}
.root :global(.panel-content-stale) {
opacity: 0.28;
pointer-events: none;
user-select: none;
}
.root :global(.panel-content-stale canvas) {
visibility: hidden;
}
.root :global(.panel-body::-webkit-scrollbar) {
width: 4px;
}
.root :global(.panel-body::-webkit-scrollbar-thumb) {
background: var(--border-glass);
border-radius: 2px;
}
.root :global(.panel-body section) {
padding: 18px 0;
border-bottom: 1px solid var(--border-subtle);
}
.root :global(.panel-body section:last-child) {
border-bottom: none;
}
.root :global(.panel-body section.detail-scenery-card) {
padding: 0;
margin: 18px 0;
}
.root :global(.panel-body h3) {
font-size: 13px;
font-weight: 600;
color: var(--text-secondary);
margin-bottom: 12px;
letter-spacing: 0.3px;
}
/* ── Hero Section ── */
.root :global(.hero-section) {
text-align: center;
padding-top: 12px !important;
}
.root :global(.hero-weather) {
font-size: 13px;
font-weight: 600;
color: var(--accent-cyan);
margin-bottom: -4px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.root :global(.hero-temp) {
display: flex;
align-items: flex-start;
justify-content: center;
gap: 2px;
margin-bottom: 2px;
}
.root :global(.hero-max-time) {
font-size: 10px;
font-weight: 500;
color: var(--text-muted);
margin-bottom: 16px;
min-height: 12px;
}
.root :global(.hero-value) {
font-size: 56px;
font-weight: 800;
letter-spacing: -0.04em;
line-height: 1;
background: linear-gradient(135deg, #fff 30%, var(--accent-cyan));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.root :global(.hero-unit) {
font-size: 20px;
font-weight: 400;
color: var(--text-muted);
margin-top: 8px;
}
.root :global(.hero-details) {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
margin-bottom: 12px;
}
.root :global(.hero-item) {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border-subtle);
border-radius: 10px;
padding: 10px 8px;
text-align: center;
}
.root :global(.hero-item .label) {
display: block;
font-size: 10px;
color: var(--text-muted);
margin-bottom: 4px;
}
.root :global(.hero-item .value) {
display: block;
font-size: 16px;
font-weight: 700;
color: var(--text-primary);
font-variant-numeric: tabular-nums;
}
.root :global(.hero-item .value.highlight) {
color: var(--accent-cyan);
text-shadow: 0 0 12px rgba(34, 211, 238, 0.3);
}
.root :global(.hero-sub) {
font-size: 12px;
color: var(--text-muted);
display: flex;
justify-content: center;
gap: 16px;
flex-wrap: wrap;
}
.root :global(.hero-sub span) {
white-space: nowrap;
}
/* ── Chart Section ── */
.root :global(.chart-wrapper) {
height: 180px;
position: relative;
background: rgba(255, 255, 255, 0.02);
border-radius: 12px;
border: 1px solid var(--border-subtle);
padding: 12px;
}
.root :global(.chart-legend) {
display: flex;
justify-content: center;
gap: 16px;
margin-top: 8px;
font-size: 11px;
color: var(--text-muted);
}
/* ── Probability Bars ── */
.root :global(.prob-bars) {
display: flex;
flex-direction: column;
gap: 8px;
}
.root :global(.prob-calibration-head) {
display: grid;
gap: 6px;
margin-bottom: 4px;
padding: 10px;
border: 1px solid rgba(34, 211, 238, 0.16);
border-radius: 8px;
background: rgba(15, 23, 42, 0.26);
}
.root :global(.prob-calibration-head > div) {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.root :global(.prob-calibration-head strong) {
color: var(--text-primary);
font-size: 13px;
font-weight: 800;
}
.root :global(.prob-calibration-head p) {
margin: 0;
color: var(--text-muted);
font-size: 11px;
line-height: 1.45;
}
.root :global(.prob-source-chip) {
display: inline-flex;
align-items: center;
min-height: 22px;
padding: 3px 8px;
border: 1px solid rgba(34, 211, 238, 0.28);
border-radius: 8px;
color: #67e8f9;
background: rgba(34, 211, 238, 0.08);
font-size: 11px;
font-weight: 900;
}
.root :global(.prob-row) {
display: flex;
align-items: center;
gap: 10px;
}
.root :global(.prob-label) {
width: 80px;
font-size: 13px;
font-weight: 600;
font-variant-numeric: tabular-nums;
text-align: right;
flex-shrink: 0;
}
.root :global(.prob-bar-track) {
flex: 1;
height: 28px;
background: rgba(255, 255, 255, 0.04);
border-radius: 8px;
overflow: hidden;
position: relative;
}
.root :global(.prob-bar-fill) {
height: 100%;
border-radius: 8px;
transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
display: flex;
align-items: center;
padding-left: 10px;
font-size: 12px;
font-weight: 600;
color: white;
min-width: 40px;
}
.root :global(.prob-bar-fill.rank-0) {
background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}
.root :global(.prob-bar-fill.rank-1) {
background: linear-gradient(
90deg,
rgba(99, 102, 241, 0.6),
rgba(34, 211, 238, 0.5)
);
}
.root :global(.prob-bar-fill.rank-2) {
background: rgba(99, 102, 241, 0.3);
}
.root :global(.prob-bar-fill.rank-3) {
background: rgba(99, 102, 241, 0.15);
}
.root :global(.prob-market-inline) {
min-width: 120px;
text-align: right;
font-size: 12px;
font-weight: 700;
border-radius: 999px;
padding: 4px 10px;
letter-spacing: 0.02em;
font-variant-numeric: tabular-nums;
}
.root :global(.prob-market-inline.yes) {
color: #4ade80;
background: rgba(74, 222, 128, 0.12);
border: 1px solid rgba(74, 222, 128, 0.3);
}
.root :global(.prob-market-inline.no) {
color: #fb7185;
background: rgba(251, 113, 133, 0.12);
border: 1px solid rgba(251, 113, 133, 0.26);
}
.root :global(.prob-distribution-panel) {
display: grid;
gap: 8px;
padding: 10px;
border: 1px solid rgba(148, 163, 184, 0.14);
border-radius: 8px;
background: rgba(15, 23, 42, 0.24);
}
.root :global(.prob-distribution-head) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 2px;
}
.root :global(.prob-distribution-head span) {
color: var(--cyan);
font-size: 11px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.root :global(.prob-distribution-head em) {
color: var(--text-muted);
font-size: 11px;
font-style: normal;
}
.root :global(.prob-price-card) {
display: grid;
gap: 8px;
padding: 10px;
border: 1px solid rgba(34, 211, 238, 0.16);
border-radius: 8px;
background: rgba(8, 20, 32, 0.52);
}
.root :global(.prob-price-head) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.root :global(.prob-price-head span) {
color: var(--cyan);
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.root :global(.prob-price-head strong) {
color: var(--text-primary);
font-size: 13px;
font-weight: 800;
}
.root :global(.prob-price-grid) {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 8px;
}
.root :global(.prob-price-grid > div) {
display: grid;
gap: 3px;
min-width: 0;
padding: 8px;
border: 1px solid rgba(148, 163, 184, 0.12);
border-radius: 8px;
background: rgba(15, 23, 42, 0.45);
}
.root :global(.prob-price-grid span),
.root :global(.prob-price-grid em),
.root :global(.prob-price-card p) {
color: var(--text-muted);
font-size: 11px;
font-style: normal;
line-height: 1.35;
}
.root :global(.prob-price-grid strong) {
color: var(--text-primary);
font-size: 13px;
font-weight: 800;
font-variant-numeric: tabular-nums;
}
.root :global(.prob-price-card p) {
margin: 0;
}
.root :global(.prob-model-hint) {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 10px;
padding: 7px 9px;
border: 1px solid rgba(148, 163, 184, 0.14);
border-radius: 8px;
background: rgba(15, 23, 42, 0.22);
}
.root :global(.prob-model-hint span) {
color: var(--cyan);
font-size: 11px;
font-weight: 800;
}
.root :global(.prob-model-hint strong) {
color: var(--text-secondary);
font-size: 11px;
font-weight: 800;
}
.root :global(.prob-model-hint em) {
color: var(--text-muted);
font-size: 11px;
font-style: normal;
}
/* ── Model Bars ── */
.root :global(.model-bars) {
display: flex;
flex-direction: column;
gap: 8px;
}
.root :global(.model-row) {
display: flex;
align-items: center;
gap: 10px;
font-size: 12px;
}
.root :global(.model-name) {
width: 80px;
text-align: right;
color: var(--text-muted);
font-weight: 500;
flex-shrink: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.root :global(.model-row-rich) {
align-items: flex-start;
}
.root :global(.model-row-rich .model-name) {
width: 118px;
white-space: normal;
line-height: 1.25;
}
.root :global(.model-row-rich .model-name strong) {
display: block;
color: var(--text-primary);
font-size: 12px;
}
.root :global(.model-row-rich .model-name span) {
display: block;
margin-top: 2px;
color: var(--text-muted);
font-size: 10px;
font-weight: 500;
}
.root :global(.model-stack-summary) {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 2px;
}
.root :global(.model-stack-summary span) {
border: 1px solid rgba(148, 163, 184, 0.16);
border-radius: 6px;
background: rgba(15, 23, 42, 0.5);
color: var(--text-secondary);
font-size: 11px;
padding: 5px 8px;
}
.root :global(.model-stack-summary strong) {
color: var(--text-primary);
font-weight: 800;
}
.root :global(.model-group) {
display: flex;
flex-direction: column;
gap: 6px;
padding: 8px;
border-left: 2px solid rgba(148, 163, 184, 0.26);
background: rgba(15, 23, 42, 0.28);
border-radius: 6px;
}
.root :global(.model-group-cyan) {
border-left-color: rgba(34, 211, 238, 0.75);
}
.root :global(.model-group-blue) {
border-left-color: rgba(96, 165, 250, 0.75);
}
.root :global(.model-group-amber) {
border-left-color: rgba(245, 158, 11, 0.8);
}
.root :global(.model-group-heading) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
color: var(--accent-cyan);
font-size: 10px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.root :global(.model-group-heading em) {
color: var(--text-muted);
font-style: normal;
letter-spacing: 0;
}
.root :global(.model-bar-track) {
flex: 1;
height: 20px;
background: rgba(255, 255, 255, 0.03);
border-radius: 6px;
position: relative;
overflow: hidden;
}
.root :global(.model-bar-fill) {
height: 100%;
border-radius: 6px;
background: linear-gradient(
90deg,
rgba(14, 165, 233, 0.72),
rgba(34, 211, 238, 0.92)
);
transition: width 0.6s ease-out;
}
.root :global(.model-bar-fill.deb) {
background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
box-shadow: 0 0 8px rgba(34, 211, 238, 0.3);
}
.root :global(.model-bar-value) {
position: absolute;
top: 50%;
right: 8px;
z-index: 3;
transform: translateY(-50%);
color: var(--text-primary);
font-size: 11px;
font-weight: 800;
line-height: 1;
max-width: calc(100% - 12px);
overflow: visible;
pointer-events: none;
text-align: right;
text-shadow: 0 1px 2px rgba(2, 6, 23, 0.9);
white-space: nowrap;
}
.root :global(.model-bar-value.deb) {
color: #ecfeff;
}
.root :global(.model-deb-line) {
position: absolute;
top: 0;
bottom: 0;
width: 2px;
background: var(--accent-cyan);
box-shadow: 0 0 6px var(--accent-cyan);
z-index: 2;
}
/* ── Forecast Table ── */
.root :global(.forecast-table) {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 8px;
}
.root :global(.forecast-inline-note) {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 10px;
padding: 8px 10px;
border: 1px solid rgba(34, 211, 238, 0.18);
border-radius: 8px;
color: var(--text-secondary);
background: rgba(34, 211, 238, 0.06);
font-size: 12px;
line-height: 1.45;
}
.root :global(.forecast-inline-note::before) {
content: "";
width: 8px;
height: 8px;
flex: 0 0 auto;
border-radius: 999px;
background: #22d3ee;
box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
animation: pulseGlow 1.25s ease-in-out infinite;
}
.root :global(.forecast-day) {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border-subtle);
border-radius: 10px;
padding: 10px;
text-align: center;
transition: var(--transition);
}
.root :global(.forecast-day:hover) {
border-color: var(--border-glass);
background: rgba(255, 255, 255, 0.05);
}
.root :global(.forecast-day .f-date) {
font-size: 11px;
color: var(--text-muted);
margin-bottom: 4px;
}
.root :global(.forecast-day .f-temp) {
font-size: 18px;
font-weight: 700;
color: var(--text-primary);
}
.root :global(.forecast-day.today) {
border-color: var(--accent-blue);
background: rgba(99, 102, 241, 0.08);
}
.root :global(.forecast-day.today .f-date) {
color: var(--accent-cyan);
}
.root :global(.forecast-day.selected) {
border-color: var(--accent-cyan);
background: rgba(34, 211, 238, 0.1);
box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}
.root :global(.forecast-day.selected .f-date) {
color: var(--accent-cyan);
}
.root :global(.forecast-day-sync) {
cursor: wait;
opacity: 0.76;
background: linear-gradient(
90deg,
rgba(15, 23, 42, 0.86),
rgba(30, 41, 59, 0.72),
rgba(15, 23, 42, 0.86)
);
background-size: 220% 100%;
animation: panelSkeletonSweep 1.35s ease-in-out infinite;
}
.root :global(.forecast-day-sync .f-temp) {
color: var(--text-muted);
}
@keyframes panelSkeletonSweep {
0% {
background-position: 120% 0;
}
100% {
background-position: -120% 0;
}
}
@media (max-width: 720px) {
.root :global(.forecast-table) {
display: flex;
gap: 10px;
overflow-x: auto;
padding-bottom: 4px;
scroll-snap-type: x proximity;
}
.root :global(.forecast-table::-webkit-scrollbar) {
height: 6px;
}
.root :global(.forecast-table::-webkit-scrollbar-thumb) {
background: rgba(148, 163, 184, 0.32);
border-radius: 999px;
}
.root :global(.forecast-day) {
flex: 0 0 112px;
min-width: 112px;
scroll-snap-align: start;
}
}
.root :global(.sun-info) {
margin-top: 10px;
font-size: 12px;
color: var(--text-muted);
display: flex;
gap: 16px;
justify-content: center;
}
/* ── AI Section ── */
.root :global(.ai-box) {
background: rgba(99, 102, 241, 0.06);
border: 1px solid rgba(99, 102, 241, 0.15);
border-radius: 12px;
padding: 16px;
font-size: 13px;
line-height: 1.7;
color: var(--text-secondary);
white-space: pre-wrap;
word-break: break-word;
}
.root :global(.ai-placeholder) {
color: var(--text-muted);
font-style: italic;
}
/* ── Risk Section ── */
.root :global(.risk-info) {
font-size: 12px;
color: var(--text-secondary);
line-height: 1.8;
word-break: break-word; /* 确保数字和英文长句也能折行 */
white-space: normal;
}
.root :global(.risk-info .risk-row) {
display: flex;
gap: 8px;
align-items: flex-start;
}
.root :global(.risk-info .risk-label) {
color: var(--text-muted);
min-width: 60px;
flex-shrink: 0;
}
/* ── Nearby Markers ── */
.root :global(.nearby-marker) {
display: flex;
align-items: center;
gap: 8px;
background: rgba(13, 17, 28, 0.85);
color: var(--text-primary);
border: 1px solid rgba(34, 211, 238, 0.25);
border-radius: 12px;
padding: 5px 12px;
font-size: 11px;
font-weight: 500;
box-shadow:
0 4px 16px rgba(0, 0, 0, 0.6),
inset 0 0 10px rgba(34, 211, 238, 0.05);
white-space: nowrap;
backdrop-filter: blur(12px);
pointer-events: none;
animation: markerFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
transition: border-color 0.3s ease;
}
.root :global(.nearby-marker:hover) {
border-color: var(--accent-cyan);
}
.root :global(.nearby-name) {
color: rgba(255, 255, 255, 0.6);
font-weight: 400;
max-width: 120px;
overflow: hidden;
text-overflow: ellipsis;
}
.root :global(.nearby-temp) {
font-weight: 800;
color: var(--accent-cyan);
font-size: 13px;
text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}
.root :global(.nearby-unit) {
font-weight: 600;
font-size: 10px;
color: var(--accent-cyan);
opacity: 0.8;
margin-left: 1px;
}
.root :global(.wind-info) {
display: flex;
align-items: center;
gap: 5px;
margin-left: 4px;
padding-left: 8px;
border-left: 1.5px solid rgba(255, 255, 255, 0.15);
}
.root :global(.wind-arrow) {
display: inline-block;
font-size: 14px;
color: var(--accent-green);
text-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}
.root :global(.wind-speed) {
font-size: 10px;
font-weight: 700;
color: var(--text-primary);
font-variant-numeric: tabular-nums;
}
@keyframes markerFadeIn {
from {
opacity: 0;
transform: translateY(5px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ── Custom Map Markers ── */
.root :global(.city-marker) {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
/* Remove transition: transform to avoid fighting with Leaflet's own positioning */
}
.root :global(.city-marker:hover) {
transform: scale(1.15);
z-index: 1000 !important;
}
.root :global(.marker-bubble) {
min-width: 44px;
padding: 4px 10px;
border-radius: 14px;
font-family: "Inter", sans-serif;
font-size: 13px;
font-weight: 700;
text-align: center;
color: white;
white-space: nowrap;
position: relative;
box-shadow:
0 6px 18px rgba(0, 0, 0, 0.42),
0 0 0 1px rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.14);
}
.root :global(.marker-bubble::after) {
content: "";
position: absolute;
bottom: -6px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid;
border-top-color: inherit;
}
.root :global(.marker-bubble.risk-high) {
background: linear-gradient(135deg, #991b1b, #fb7185);
border-color: rgba(251, 113, 133, 0.42);
box-shadow:
0 6px 18px rgba(0, 0, 0, 0.42),
0 0 22px rgba(251, 113, 133, 0.18);
}
.root :global(.marker-bubble.risk-high::after) {
border-top-color: #ef4444;
}
.root :global(.marker-bubble.risk-medium) {
background: linear-gradient(135deg, #9a3412, #f59e0b);
border-color: rgba(245, 158, 11, 0.42);
box-shadow:
0 6px 18px rgba(0, 0, 0, 0.42),
0 0 22px rgba(245, 158, 11, 0.16);
}
.root :global(.marker-bubble.risk-medium::after) {
border-top-color: #f59e0b;
}
.root :global(.marker-bubble.risk-low) {
background: linear-gradient(135deg, #065f46, #22c55e);
border-color: rgba(74, 222, 128, 0.42);
box-shadow:
0 6px 18px rgba(0, 0, 0, 0.42),
0 0 22px rgba(74, 222, 128, 0.14);
}
.root :global(.marker-bubble.risk-low::after) {
border-top-color: #10b981;
}
.root :global(.marker-name) {
font-size: 10px;
font-weight: 600;
color: rgba(255, 255, 255, 0.85);
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
margin-top: 2px;
white-space: nowrap;
}
/* Marker glow animation for selected city */
.root :global(.city-marker.selected .marker-bubble) {
animation: markerGlow 2s ease-in-out infinite;
}
@keyframes markerGlow {
0%,
100% {
box-shadow:
0 6px 18px rgba(0, 0, 0, 0.42),
0 0 24px rgba(34, 211, 238, 0.12);
}
50% {
box-shadow:
0 6px 26px rgba(0, 0, 0, 0.46),
0 0 20px rgba(34, 211, 238, 0.24),
0 0 46px rgba(34, 211, 238, 0.14);
}
}
/* ── Loading Overlay ── */
.root :global(.loading-overlay) {
position: fixed;
inset: 0;
z-index: 2000;
background: radial-gradient(
circle at 50% 50%,
rgba(8, 14, 32, 0.76) 0%,
rgba(4, 8, 22, 0.9) 44%,
rgba(2, 6, 20, 0.96) 100%
);
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(12px);
}
.root :global(.loading-card) {
display: flex;
flex-direction: column;
align-items: center;
gap: 22px;
min-width: 240px;
padding: 28px 32px;
border-radius: 28px;
background: linear-gradient(
180deg,
rgba(10, 18, 36, 0.78) 0%,
rgba(8, 14, 30, 0.62) 100%
);
border: 1px solid rgba(92, 142, 255, 0.16);
box-shadow:
0 24px 90px rgba(0, 0, 0, 0.42),
inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.root :global(.loading-clouds) {
position: relative;
width: 220px;
height: 26px;
overflow: hidden;
}
.root :global(.loading-cloud) {
position: absolute;
top: 0;
height: 18px;
border-radius: 999px;
background:
radial-gradient(
circle at 30% 50%,
rgba(186, 230, 253, 0.22),
transparent 54%
),
linear-gradient(
180deg,
rgba(148, 163, 184, 0.28) 0%,
rgba(71, 85, 105, 0.1) 100%
);
filter: blur(0.3px);
box-shadow:
0 6px 24px rgba(56, 189, 248, 0.06),
inset 0 1px 0 rgba(255, 255, 255, 0.08);
animation: cloud-drift 6.8s ease-in-out infinite;
}
.root :global(.loading-cloud-1) {
left: 12px;
width: 76px;
}
.root :global(.loading-cloud-2) {
right: 8px;
top: 7px;
width: 98px;
opacity: 0.75;
animation-delay: -2.6s;
}
.root :global(.loading-windfield) {
position: relative;
width: 220px;
height: 30px;
overflow: hidden;
opacity: 0.9;
}
.root :global(.loading-windline) {
position: absolute;
left: -28%;
height: 1px;
border-radius: 999px;
background: linear-gradient(
90deg,
rgba(34, 211, 238, 0) 0%,
rgba(103, 232, 249, 0.5) 22%,
rgba(125, 211, 252, 0.9) 55%,
rgba(34, 211, 238, 0) 100%
);
filter: blur(0.2px);
animation: wind-shift 2.8s linear infinite;
}
.root :global(.loading-windline-1) {
top: 4px;
width: 124px;
}
.root :global(.loading-windline-2) {
top: 13px;
width: 176px;
animation-delay: -0.9s;
opacity: 0.82;
}
.root :global(.loading-windline-3) {
top: 22px;
width: 142px;
animation-delay: -1.6s;
opacity: 0.66;
}
.root :global(.loading-copy) {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
text-align: center;
}
.root :global(.loading-copy strong) {
font-size: 13px;
font-weight: 700;
letter-spacing: 0.22em;
text-transform: uppercase;
color: rgba(103, 232, 249, 0.92);
}
.root :global(.loading-copy span) {
max-width: 240px;
font-size: 13px;
font-weight: 500;
line-height: 1.55;
color: rgba(203, 213, 225, 0.82);
}
.root :global(.loading-radar) {
position: relative;
width: 108px;
height: 108px;
border-radius: 50%;
background: radial-gradient(
circle,
rgba(22, 78, 99, 0.16) 0%,
rgba(7, 18, 36, 0.08) 48%,
rgba(5, 10, 22, 0.02) 76%,
transparent 100%
);
box-shadow:
inset 0 0 0 1px rgba(56, 189, 248, 0.12),
0 0 40px rgba(34, 211, 238, 0.08);
}
.root :global(.loading-radar-core) {
position: absolute;
top: 50%;
left: 50%;
width: 14px;
height: 14px;
border-radius: 50%;
background: radial-gradient(circle, #67e8f9 0%, #0891b2 100%);
transform: translate(-50%, -50%);
box-shadow:
0 0 12px rgba(34, 211, 238, 0.65),
0 0 28px rgba(59, 130, 246, 0.25);
}
.root :global(.loading-radar-ring) {
position: absolute;
inset: 0;
border-radius: 50%;
border: 1px solid rgba(56, 189, 248, 0.14);
}
.root :global(.loading-radar-ring-1) {
transform: scale(0.62);
}
.root :global(.loading-radar-ring-2) {
transform: scale(0.88);
}
.root :global(.loading-radar-sweep) {
position: absolute;
inset: 6px;
border-radius: 50%;
background: conic-gradient(
from 90deg,
rgba(34, 211, 238, 0) 0deg,
rgba(34, 211, 238, 0) 260deg,
rgba(34, 211, 238, 0.3) 312deg,
rgba(96, 165, 250, 0.06) 360deg
);
mask: radial-gradient(circle, transparent 0 22px, #000 23px);
animation: radar-sweep 2.4s linear infinite;
}
.root :global(.loading-radar-blip) {
position: absolute;
width: 8px;
height: 8px;
border-radius: 50%;
background: rgba(253, 224, 71, 0.92);
box-shadow: 0 0 12px rgba(253, 224, 71, 0.45);
animation: radar-blip 1.8s ease-in-out infinite;
}
.root :global(.loading-radar-blip-1) {
top: 26px;
right: 24px;
animation-delay: 0.15s;
}
.root :global(.loading-radar-blip-2) {
bottom: 25px;
left: 20px;
background: rgba(74, 222, 128, 0.9);
box-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
animation-delay: 0.9s;
}
.root :global(.loading-thermals) {
display: flex;
align-items: end;
gap: 8px;
height: 28px;
}
.root :global(.loading-thermal) {
width: 10px;
border-radius: 999px;
background: linear-gradient(
180deg,
rgba(251, 191, 36, 0.15) 0%,
rgba(251, 146, 60, 0.8) 55%,
rgba(239, 68, 68, 0.9) 100%
);
box-shadow: 0 0 18px rgba(251, 146, 60, 0.18);
animation: thermal-rise 1.5s ease-in-out infinite;
transform-origin: center bottom;
}
.root :global(.loading-thermal-1) {
height: 11px;
animation-delay: 0s;
}
.root :global(.loading-thermal-2) {
height: 22px;
animation-delay: 0.2s;
}
.root :global(.loading-thermal-3) {
height: 16px;
animation-delay: 0.42s;
}
.root :global(.loading-thermal-4) {
height: 25px;
animation-delay: 0.68s;
}
.root :global(.loading-drizzle) {
position: relative;
width: 220px;
height: 26px;
overflow: hidden;
opacity: 0.88;
}
.root :global(.loading-drizzle-drop) {
position: absolute;
top: -2px;
width: 2px;
height: 16px;
border-radius: 999px;
background: linear-gradient(
180deg,
rgba(125, 211, 252, 0) 0%,
rgba(125, 211, 252, 0.9) 100%
);
box-shadow: 0 0 8px rgba(56, 189, 248, 0.12);
animation: drizzle-fall 1.35s linear infinite;
}
.root :global(.loading-drizzle-drop-1) {
left: 38px;
animation-delay: -0.1s;
}
.root :global(.loading-drizzle-drop-2) {
left: 76px;
height: 18px;
animation-delay: -0.52s;
}
.root :global(.loading-drizzle-drop-3) {
left: 112px;
height: 14px;
animation-delay: -0.92s;
}
.root :global(.loading-drizzle-drop-4) {
left: 156px;
height: 17px;
animation-delay: -0.38s;
}
.root :global(.loading-drizzle-drop-5) {
left: 192px;
height: 13px;
animation-delay: -0.74s;
}
.root :global(.loading-overlay.hidden) {
display: none;
}
.root :global(.loading-spinner) {
width: 48px;
height: 48px;
border: 2px solid rgba(34, 211, 238, 0.1);
border-top-color: var(--accent-cyan);
border-radius: 50%;
animation: loading-spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}
@keyframes loading-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes city-loading-pulse {
0% {
transform: scale(0.92);
box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.44);
}
70% {
transform: scale(1);
box-shadow: 0 0 0 10px rgba(34, 211, 238, 0);
}
100% {
transform: scale(0.92);
box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
}
}
@keyframes radar-sweep {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes radar-blip {
0%,
100% {
opacity: 0.2;
transform: scale(0.72);
}
40% {
opacity: 1;
transform: scale(1);
}
60% {
opacity: 0.9;
transform: scale(1.18);
}
}
@keyframes wind-shift {
from {
transform: translateX(0);
opacity: 0;
}
18% {
opacity: 0.9;
}
82% {
opacity: 0.78;
}
to {
transform: translateX(145%);
opacity: 0;
}
}
@keyframes thermal-rise {
0%,
100% {
transform: scaleY(0.78);
opacity: 0.72;
}
50% {
transform: scaleY(1.14);
opacity: 1;
}
}
@keyframes cloud-drift {
0%,
100% {
transform: translateX(0);
opacity: 0.7;
}
50% {
transform: translateX(12px);
opacity: 0.95;
}
}
@keyframes drizzle-fall {
0% {
transform: translateY(-3px);
opacity: 0;
}
20% {
opacity: 0.9;
}
100% {
transform: translateY(18px);
opacity: 0;
}
}
/* ── Nearby Stations (Premium Glassmorphism) ── */
.root :global(.nearby-marker-premium) {
display: flex;
align-items: center;
gap: 10px;
background: rgba(10, 14, 26, 0.75);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 999px; /* Pill shape */
padding: 5px 14px 5px 10px;
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.4),
inset 0 1px 1px rgba(255, 255, 255, 0.05);
pointer-events: none;
animation: nearby-fade-in 0.4s ease-out;
white-space: nowrap;
}
.root :global(.nearby-marker-shell) {
display: inline-block;
will-change: transform;
}
@keyframes nearby-fade-in {
from {
opacity: 0;
transform: scale(0.9) translateY(4px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}
.root :global(.nearby-pulse) {
position: relative;
width: 12px;
height: 12px;
flex-shrink: 0;
}
.root :global(.pulse-core) {
position: absolute;
top: 50%;
left: 50%;
width: 6px;
height: 6px;
background: var(--accent-cyan);
border-radius: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 0 8px var(--accent-cyan);
}
.root :global(.pulse-ring) {
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
border: 1.5px solid var(--accent-cyan);
border-radius: 50%;
transform: translate(-50%, -50%);
animation: sonar-pulse 2s infinite cubic-bezier(0, 0.2, 0.8, 1);
opacity: 0;
}
@keyframes sonar-pulse {
0% {
transform: translate(-50%, -50%) scale(0.5);
opacity: 0.8;
}
100% {
transform: translate(-50%, -50%) scale(2.5);
opacity: 0;
}
}
.root :global(.nearby-content) {
display: flex;
flex-direction: column;
line-height: 1.1;
}
.root :global(.nearby-label) {
font-size: 9px;
font-weight: 700;
text-transform: uppercase;
color: var(--text-muted);
letter-spacing: 0.05em;
}
.root :global(.nearby-stats) {
display: flex;
align-items: baseline;
gap: 2px;
}
.root :global(.nearby-temp-val) {
font-size: 13px;
font-weight: 800;
color: var(--text-primary);
text-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}
.root :global(.nearby-temp-unit) {
font-size: 10px;
color: var(--text-muted);
}
.root :global(.nearby-time) {
display: flex;
align-items: center;
gap: 4px;
margin-top: 3px;
font-size: 11px;
font-weight: 700;
color: rgba(203, 213, 225, 0.95);
white-space: nowrap;
}
.root :global(.nearby-time span + span)::before {
content: "·";
margin-right: 4px;
color: rgba(148, 163, 184, 0.55);
}
.root :global(.nearby-time.is-stale) {
color: #fbbf24;
}
.root :global(.nearby-wind) {
display: flex;
align-items: center;
gap: 4px;
padding-left: 10px;
margin-left: 2px;
border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.root :global(.nearby-wind .wind-arrow) {
font-size: 12px;
color: var(--accent-cyan);
text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}
.root :global(.nearby-wind .wind-val) {
font-size: 11px;
font-weight: 600;
color: var(--text-secondary);
}
/* ── Trend badge ── */
.root :global(.trend-badge) {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 10px;
border-radius: 6px;
font-size: 11px;
font-weight: 600;
}
.root :global(.trend-badge.rising) {
background: rgba(34, 197, 94, 0.12);
color: var(--accent-green);
border: 1px solid rgba(34, 197, 94, 0.25);
}
.root :global(.trend-badge.falling) {
background: rgba(248, 113, 113, 0.12);
color: var(--accent-red);
border: 1px solid rgba(248, 113, 113, 0.25);
}
.root :global(.trend-badge.stagnant) {
background: rgba(251, 191, 36, 0.12);
color: var(--accent-yellow);
border: 1px solid rgba(251, 191, 36, 0.25);
}
.root :global(.trend-badge.mixed) {
background: rgba(167, 139, 250, 0.12);
color: var(--accent-purple);
border: 1px solid rgba(167, 139, 250, 0.25);
}
.root :global(.dead-market) {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 10px;
border-radius: 6px;
font-size: 11px;
font-weight: 700;
background: rgba(248, 113, 113, 0.15);
color: var(--accent-red);
border: 1px solid rgba(248, 113, 113, 0.3);
animation: deadPulse 2s ease-in-out infinite;
}
@keyframes deadPulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.6;
}
}
/* ── Responsive ── */
@media (max-width: 1100px) {
.root {
--panel-width: 460px;
}
.root :global(.hero-value) {
font-size: 52px;
}
}
@media (max-width: 768px) {
.root :global(.header) {
height: auto;
min-height: var(--header-height);
align-items: flex-start;
gap: 10px;
padding: 10px 12px;
}
.root :global(.brand) {
align-items: flex-start;
gap: 8px;
min-width: 0;
}
.root :global(.header-right) {
flex: 1 1 auto;
justify-content: flex-end;
flex-wrap: wrap;
gap: 8px;
min-width: 0;
}
.root :global(.lang-switch) {
order: 1;
}
.root :global(.account-btn),
.root :global(.info-btn) {
padding: 6px 10px;
font-size: 12px;
}
.root :global(.live-badge) {
order: 4;
padding: 4px 10px;
white-space: nowrap;
}
.root :global(.refresh-btn) {
order: 5;
}
.root :global(.city-list) {
display: flex;
top: auto;
left: 8px;
right: 8px;
bottom: 8px;
width: auto;
max-height: min(36vh, 320px);
border-radius: 14px;
z-index: 920;
}
.root :global(.detail-panel) {
width: 100%;
}
.root {
--panel-width: 100%;
}
.root :global(.city-list-header) {
padding: 12px 14px;
font-size: 14px;
}
.root :global(.city-list-items) {
padding: 6px;
}
.root :global(.city-group-header) {
padding: 8px 9px;
}
.root :global(.city-item) {
padding: 8px 9px;
}
.root :global(.city-item .city-name-text),
.root :global(.city-item .city-temp) {
font-size: 12px;
}
.root :global(.city-item-info) {
padding-left: 18px;
flex-wrap: wrap;
row-gap: 4px;
}
.root :global(.panel-header) {
padding: 16px 16px 14px;
}
}
@media (max-width: 600px) {
.root :global(.header) {
flex-direction: column;
align-items: stretch;
gap: 8px;
padding: 8px 10px;
}
.root :global(.brand) {
justify-content: space-between;
width: 100%;
}
.root :global(.subtitle) {
display: none;
}
.root :global(.brand h1) {
font-size: 16px;
}
.root :global(.header-right) {
width: 100%;
justify-content: flex-start;
gap: 6px;
}
.root :global(.lang-switch) {
margin-right: auto;
}
.root :global(.account-btn),
.root :global(.info-btn) {
min-height: 34px;
padding: 6px 9px;
font-size: 11px;
}
.root :global(.account-btn span),
.root :global(.info-btn span) {
max-width: 88px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.root :global(.live-badge) {
padding: 4px 8px;
font-size: 10px;
letter-spacing: 0.6px;
}
.root :global(.refresh-btn) {
width: 34px;
height: 34px;
font-size: 16px;
}
.root :global(.hero-value) {
font-size: 42px;
}
.root :global(.hero-details) {
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}
.root :global(.hero-item .value) {
font-size: 14px;
}
.root :global(.city-list) {
left: 6px;
right: 6px;
bottom: 6px;
max-height: min(40vh, 300px);
}
.root :global(.city-list-header) {
padding: 10px 12px;
}
.root :global(.city-group-title) {
font-size: 11px;
}
.root :global(.city-item-main) {
gap: 6px;
}
.root :global(.city-item-info) {
font-size: 9px;
}
.root :global(.panel-header) {
padding: 14px 14px 12px;
}
.root :global(.city-marker:hover) {
transform: none;
}
.root :global(.marker-bubble) {
min-width: 48px;
min-height: 32px;
padding: 6px 10px;
}
.root :global(.marker-name) {
font-size: 11px;
}
.root :global(.prob-price-grid) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.root :global(.prob-price-head) {
align-items: flex-start;
flex-direction: column;
}
}
/* ── History Modal ── */
.root :global(.history-btn) {
background: rgba(34, 211, 238, 0.1);
color: var(--accent-cyan);
border: 1px solid rgba(34, 211, 238, 0.3);
padding: 4px 10px;
border-radius: 6px;
font-size: 11px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
margin-left: 8px;
}
.root :global(.history-btn:hover) {
background: rgba(34, 211, 238, 0.2);
border-color: var(--accent-cyan);
}
.root :global(.history-btn:disabled) {
opacity: 0.45;
cursor: not-allowed;
}
.root :global(.modal-overlay) {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(2, 6, 23, 0.75);
backdrop-filter: blur(12px);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
}
.root :global(.modal-content) {
background: #111827;
border: 1px solid var(--border-subtle);
border-radius: 16px;
width: 100%;
max-width: 700px;
max-height: calc(100vh - 48px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
overflow: hidden;
}
.root :global(.modal-content.history-modal) {
width: min(96vw, 1180px);
max-width: 1180px;
max-height: calc(100vh - 32px);
}
.root :global(.modal-header) {
padding: 16px 20px;
border-bottom: 1px solid var(--border-subtle);
display: flex;
justify-content: space-between;
align-items: center;
}
.root :global(.modal-header h2) {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
margin: 0;
min-width: 0;
}
.root :global(.future-modal-title-with-actions) {
display: flex;
align-items: center;
gap: 12px;
}
.root :global(.future-refresh-btn) {
background: transparent;
border: none;
cursor: pointer;
color: var(--text-muted);
display: flex;
align-items: center;
justify-content: center;
padding: 6px;
border-radius: 6px;
transition: all 0.2s ease;
}
.root :global(.future-refresh-btn:hover) {
color: var(--accent-cyan);
background: rgba(34, 211, 238, 0.1);
}
.root :global(.future-refresh-btn.spinning svg) {
animation: spin 1s linear infinite;
color: var(--accent-cyan);
}
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
.root :global(.modal-close) {
background: none;
border: none;
font-size: 20px;
color: var(--text-muted);
cursor: pointer;
transition: color 0.2s;
}
.root :global(.modal-close:hover) {
color: var(--accent-red);
}
.root :global(.modal-body) {
padding: 20px;
overflow-y: auto;
}
/* Keep scroll behavior but hide visual scrollbar in today's/future analysis modal */
.root :global(.modal-content.large.future-modal .modal-body) {
-ms-overflow-style: none;
scrollbar-width: none;
}
.root
:global(.modal-content.large.future-modal .modal-body::-webkit-scrollbar) {
width: 0;
height: 0;
}
.root :global(.history-modal .modal-body) {
padding: 24px 28px 28px;
}
.root :global(.history-stats) {
display: flex;
gap: 12px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.root :global(.h-stat-card) {
flex: 1;
min-width: 110px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border-subtle);
border-radius: 8px;
padding: 12px;
text-align: center;
}
.root :global(.h-stat-card .label) {
display: block;
font-size: 11px;
color: var(--text-muted);
margin-bottom: 4px;
}
.root :global(.h-stat-card .val) {
display: block;
font-size: 18px;
font-weight: 700;
color: var(--text-primary);
}
.root :global(.h-stat-card .h-stat-note) {
display: block;
margin-top: 6px;
font-size: 11px;
color: var(--text-muted);
line-height: 1.35;
}
.root :global(.history-chart-wrapper) {
position: relative;
height: 300px;
width: 100%;
}
.root :global(.history-modal .history-stats) {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
margin-bottom: 24px;
}
.root :global(.history-modal .h-stat-card) {
min-width: 0;
padding: 16px 18px;
border-radius: 12px;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.035) 0%,
rgba(255, 255, 255, 0.02) 100%
);
}
.root :global(.history-modal .h-stat-card .label) {
font-size: 12px;
margin-bottom: 8px;
}
.root :global(.history-modal .h-stat-card .val) {
font-size: 32px;
line-height: 1.1;
letter-spacing: -0.02em;
}
.root :global(.history-modal .history-chart-wrapper) {
height: 420px;
border: 1px solid var(--border-subtle);
border-radius: 12px;
background: rgba(255, 255, 255, 0.02);
padding: 12px 14px 8px;
}
.root :global(.history-modal .history-chart-wrapper canvas) {
width: 100% !important;
height: 100% !important;
}
.root :global(.history-modal .history-modal-loading) {
display: flex;
align-items: center;
justify-content: center;
min-height: 420px;
}
.root :global(.history-modal .history-fetch-loading) {
display: flex;
flex-direction: column;
align-items: center;
gap: 18px;
width: min(100%, 420px);
padding: 24px 26px;
border-radius: 24px;
border: 1px solid rgba(96, 165, 250, 0.16);
background: linear-gradient(
180deg,
rgba(10, 18, 36, 0.72) 0%,
rgba(8, 14, 30, 0.5) 100%
);
box-shadow:
0 18px 48px rgba(0, 0, 0, 0.28),
inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.root :global(.history-modal .history-fetch-scan) {
position: relative;
width: 84px;
height: 84px;
border-radius: 50%;
background: radial-gradient(
circle,
rgba(14, 165, 233, 0.08) 0%,
rgba(14, 165, 233, 0.02) 62%,
transparent 100%
);
}
.root :global(.history-modal .history-fetch-ring) {
position: absolute;
inset: 0;
border-radius: 50%;
border: 1px solid rgba(56, 189, 248, 0.16);
}
.root :global(.history-modal .history-fetch-ring-1) {
transform: scale(0.7);
}
.root :global(.history-modal .history-fetch-ring-2) {
transform: scale(0.92);
}
.root :global(.history-modal .history-fetch-sweep) {
position: absolute;
inset: 5px;
border-radius: 50%;
background: conic-gradient(
from 120deg,
rgba(34, 211, 238, 0) 0deg,
rgba(34, 211, 238, 0.04) 220deg,
rgba(56, 189, 248, 0.78) 300deg,
rgba(253, 224, 71, 0.32) 332deg,
rgba(34, 211, 238, 0) 360deg
);
animation: history-fetch-spin 2.2s linear infinite;
}
.root :global(.history-modal .history-fetch-core) {
position: absolute;
top: 50%;
left: 50%;
width: 12px;
height: 12px;
border-radius: 50%;
transform: translate(-50%, -50%);
background: rgba(103, 232, 249, 0.95);
box-shadow: 0 0 18px rgba(34, 211, 238, 0.42);
}
.root :global(.history-modal .history-fetch-bars) {
display: flex;
align-items: end;
gap: 7px;
height: 22px;
}
.root :global(.history-modal .history-fetch-bar) {
width: 8px;
border-radius: 999px;
background: linear-gradient(
180deg,
rgba(250, 204, 21, 0.18) 0%,
rgba(251, 146, 60, 0.9) 100%
);
animation: history-fetch-pulse 1.6s ease-in-out infinite;
}
.root :global(.history-modal .history-fetch-bar-1) {
height: 10px;
}
.root :global(.history-modal .history-fetch-bar-2) {
height: 18px;
animation-delay: 0.18s;
}
.root :global(.history-modal .history-fetch-bar-3) {
height: 14px;
animation-delay: 0.34s;
}
.root :global(.history-modal .history-fetch-bar-4) {
height: 20px;
animation-delay: 0.5s;
}
.root :global(.history-modal .history-fetch-lines) {
position: relative;
width: 180px;
height: 22px;
overflow: hidden;
}
.root :global(.history-modal .history-fetch-line) {
position: absolute;
left: -26%;
height: 1px;
border-radius: 999px;
background: linear-gradient(
90deg,
rgba(34, 211, 238, 0) 0%,
rgba(125, 211, 252, 0.72) 48%,
rgba(34, 211, 238, 0) 100%
);
animation: history-fetch-flow 2.4s linear infinite;
}
.root :global(.history-modal .history-fetch-line-1) {
top: 4px;
width: 122px;
}
.root :global(.history-modal .history-fetch-line-2) {
top: 11px;
width: 168px;
animation-delay: -0.8s;
}
.root :global(.history-modal .history-fetch-line-3) {
top: 18px;
width: 138px;
animation-delay: -1.4s;
}
.root :global(.history-modal .history-fetch-copy) {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
text-align: center;
}
.root :global(.history-modal .history-fetch-copy strong) {
font-size: 12px;
font-weight: 700;
letter-spacing: 0.16em;
text-transform: uppercase;
color: rgba(103, 232, 249, 0.94);
}
.root :global(.history-modal .history-fetch-copy span) {
max-width: 300px;
font-size: 12px;
line-height: 1.5;
color: rgba(203, 213, 225, 0.82);
}
@keyframes history-fetch-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes history-fetch-pulse {
0%,
100% {
transform: scaleY(0.86);
opacity: 0.8;
}
50% {
transform: scaleY(1.08);
opacity: 1;
}
}
@keyframes history-fetch-flow {
from {
transform: translateX(0);
}
to {
transform: translateX(150%);
}
}
.root :global(.history-modal .history-peak-reference) {
margin-top: 18px;
padding: 14px 16px;
border: 1px solid rgba(148, 163, 184, 0.14);
border-radius: 16px;
background: rgba(15, 23, 42, 0.42);
}
.root :global(.history-modal .history-model-reference) {
margin-top: 18px;
padding: 14px 16px;
border: 1px solid rgba(34, 211, 238, 0.18);
border-radius: 16px;
background: rgba(8, 47, 73, 0.2);
}
.root :global(.history-modal .history-peak-reference-title) {
color: var(--text-primary);
font-size: 14px;
font-weight: 700;
margin-bottom: 10px;
}
.root :global(.history-modal .history-model-reference-scroll) {
display: grid;
gap: 8px;
max-height: 360px;
overflow-y: auto;
padding-right: 6px;
scrollbar-width: thin;
scrollbar-color: rgba(34, 211, 238, 0.5) rgba(15, 23, 42, 0.32);
}
.root :global(.history-modal .history-peak-reference-scroll) {
display: grid;
gap: 8px;
max-height: 360px;
overflow-y: auto;
padding-right: 6px;
scrollbar-width: thin;
scrollbar-color: rgba(96, 165, 250, 0.5) rgba(15, 23, 42, 0.32);
}
.root
:global(.history-modal .history-peak-reference-scroll::-webkit-scrollbar) {
width: 8px;
}
.root
:global(
.history-modal .history-peak-reference-scroll::-webkit-scrollbar-track
) {
background: rgba(15, 23, 42, 0.32);
border-radius: 999px;
}
.root
:global(
.history-modal .history-peak-reference-scroll::-webkit-scrollbar-thumb
) {
background: linear-gradient(
180deg,
rgba(56, 189, 248, 0.72) 0%,
rgba(96, 165, 250, 0.52) 100%
);
border-radius: 999px;
}
.root :global(.history-modal .history-peak-reference-row) {
display: grid;
grid-template-columns: minmax(72px, 88px) 1fr;
gap: 10px;
padding: 10px 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.03);
}
.root :global(.history-modal .history-model-reference-row) {
display: grid;
grid-template-columns: minmax(72px, 88px) 1fr;
gap: 10px;
padding: 10px 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.03);
}
.root :global(.history-modal .history-peak-reference-date) {
color: var(--text-secondary);
font-size: 12px;
font-weight: 700;
}
.root :global(.history-modal .history-model-reference-body) {
display: grid;
gap: 8px;
min-width: 0;
}
.root :global(.history-modal .history-model-reference-summary) {
display: flex;
flex-wrap: wrap;
gap: 10px 14px;
color: var(--text-secondary);
font-size: 12px;
}
.root :global(.history-modal .history-model-reference-summary strong) {
color: var(--text-primary);
}
.root :global(.history-modal .history-model-reference-models) {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 6px;
}
.root :global(.history-modal .history-model-reference-model) {
display: grid;
gap: 3px;
min-width: 0;
padding: 8px 10px;
border: 1px solid rgba(148, 163, 184, 0.12);
border-radius: 8px;
background: rgba(15, 23, 42, 0.38);
color: var(--text-secondary);
font-size: 11px;
}
.root :global(.history-modal .history-model-name) {
overflow: hidden;
color: var(--accent-cyan);
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.root :global(.history-modal .history-model-error) {
color: var(--text-muted);
}
.root :global(.history-modal .history-peak-reference-meta) {
color: var(--text-secondary);
font-size: 12px;
line-height: 1.7;
}
@media (max-width: 980px) {
.root :global(.history-modal .modal-body) {
padding: 18px;
}
.root :global(.history-modal .history-stats) {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.root :global(.history-modal .history-chart-wrapper) {
height: 360px;
}
.root :global(.history-modal .history-modal-loading) {
min-height: 340px;
}
.root :global(.history-modal .history-fetch-loading) {
width: min(100%, 360px);
}
.root :global(.history-modal .history-peak-reference-scroll) {
max-height: 320px;
}
.root :global(.history-modal .history-model-reference-scroll) {
max-height: 320px;
}
.root :global(.history-modal .history-model-reference-models) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.root :global(.modal-content) {
border-radius: 14px;
max-height: calc(100vh - 16px);
}
.root :global(.modal-content.history-modal),
.root :global(.modal-content.large.future-modal) {
width: min(100vw - 12px, 100%);
max-width: none;
}
.root :global(.modal-header) {
padding: 14px 14px 12px;
align-items: flex-start;
gap: 12px;
}
.root :global(.modal-header h2) {
font-size: 15px;
line-height: 1.35;
}
.root :global(.modal-body) {
padding: 14px;
}
.root :global(.history-modal .history-stats) {
grid-template-columns: 1fr;
}
.root :global(.history-modal .h-stat-card .val) {
font-size: 28px;
}
.root :global(.history-modal .history-chart-wrapper) {
height: 300px;
padding: 8px 10px 6px;
}
.root :global(.history-modal .history-modal-loading) {
min-height: 280px;
}
.root :global(.history-modal .history-fetch-loading) {
width: 100%;
padding: 18px 16px;
}
.root :global(.history-modal .history-fetch-lines) {
width: 150px;
}
.root :global(.history-modal .history-fetch-scan) {
width: 72px;
height: 72px;
}
.root :global(.history-modal .history-peak-reference) {
padding: 12px;
}
.root :global(.history-modal .history-model-reference) {
padding: 12px;
}
.root :global(.history-modal .history-peak-reference-scroll) {
max-height: 260px;
padding-right: 2px;
}
.root :global(.history-modal .history-model-reference-scroll) {
max-height: 260px;
padding-right: 2px;
}
.root :global(.history-modal .history-peak-reference-row) {
grid-template-columns: 1fr;
gap: 6px;
}
.root :global(.history-modal .history-model-reference-row) {
grid-template-columns: 1fr;
gap: 6px;
}
.root :global(.history-modal .history-model-reference-models) {
grid-template-columns: 1fr;
}
}
/* ── Info Button ── */
.root :global(.account-btn) {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 6px 12px;
border-radius: 8px;
border: 1px solid rgba(34, 211, 238, 0.34);
background: rgba(34, 211, 238, 0.08);
color: var(--accent-cyan);
font-size: 12px;
font-weight: 700;
letter-spacing: 0.02em;
text-decoration: none;
transition: var(--transition);
}
.root :global(.account-btn:hover) {
background: rgba(34, 211, 238, 0.16);
border-color: rgba(34, 211, 238, 0.62);
color: #f8fbff;
transform: translateY(-1px);
}
.root :global(.account-renew-badge) {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 10px;
border-radius: 999px;
border: 1px solid rgba(245, 158, 11, 0.34);
background: rgba(245, 158, 11, 0.1);
color: #fbbf24;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.01em;
text-decoration: none;
transition: var(--transition);
}
.root :global(.account-renew-badge:hover) {
background: rgba(245, 158, 11, 0.18);
border-color: rgba(245, 158, 11, 0.6);
color: #fff6d5;
transform: translateY(-1px);
}
.root :global(.account-renew-badge.expired) {
border-color: rgba(239, 68, 68, 0.34);
background: rgba(239, 68, 68, 0.12);
color: #fca5a5;
}
.root :global(.trial-promo-badge) {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 12px;
border-radius: 999px;
border: 1px solid rgba(34, 211, 238, 0.28);
background: rgba(34, 211, 238, 0.1);
color: #a5f3fc;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.01em;
text-decoration: none;
transition: var(--transition);
}
.root :global(.trial-promo-badge:hover) {
background: rgba(34, 211, 238, 0.16);
border-color: rgba(34, 211, 238, 0.45);
color: #ecfeff;
transform: translateY(-1px);
}
.root :global(.info-btn) {
background: rgba(99, 102, 241, 0.1);
border: 1px solid rgba(99, 102, 241, 0.3);
color: var(--accent-blue);
padding: 6px 14px;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
display: flex;
align-items: center;
gap: 6px;
}
.root :global(.info-btn:hover) {
background: rgba(99, 102, 241, 0.2);
border-color: var(--accent-blue);
transform: translateY(-1px);
}
.root :global(.info-btn.active) {
background: rgba(34, 211, 238, 0.14);
border-color: rgba(34, 211, 238, 0.42);
color: #e0fbff;
}
/* ── Guide Modal Customizations ── */
.root :global(.modal-content.large) {
max-width: 900px;
}
.root :global(.modal-content.large.future-modal) {
width: min(96vw, 1720px);
max-width: 1720px;
}
.root :global(.future-modal-body) {
position: relative;
display: flex;
flex-direction: column;
gap: 14px;
padding-right: 14px;
}
.root :global(.future-modal-body-refreshing > :not(.future-v2-refresh-lock)) {
opacity: 0.18;
filter: blur(1px);
pointer-events: none;
user-select: none;
}
.root :global(.future-v2-refresh-lock) {
position: sticky;
top: 0;
z-index: 20;
display: flex;
align-items: flex-start;
gap: 12px;
padding: 14px 16px;
border: 1px solid rgba(34, 211, 238, 0.34);
border-radius: 8px;
background: rgba(8, 13, 24, 0.96);
box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}
.root :global(.future-v2-refresh-lock strong) {
display: block;
color: #e0faff;
font-size: 14px;
font-weight: 900;
}
.root :global(.future-v2-refresh-lock p) {
margin: 5px 0 0;
color: var(--text-secondary);
font-size: 12px;
line-height: 1.55;
}
.root :global(.future-v2-refresh-spinner) {
width: 18px;
height: 18px;
flex: 0 0 auto;
margin-top: 1px;
border: 2px solid rgba(34, 211, 238, 0.18);
border-top-color: #22d3ee;
border-radius: 999px;
animation: spin 0.8s linear infinite;
}
.root :global(.future-v2-sync-strip) {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 10px;
}
.root :global(.future-v2-sync-strip-compact) {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 8px;
}
.root :global(.future-v2-sync-strip-compact .future-v2-sync-chip) {
padding: 8px 10px;
border-radius: 8px;
background: rgba(15, 23, 42, 0.62);
}
.root :global(.future-v2-sync-strip-compact .future-v2-sync-copy span) {
display: none;
}
.root :global(.future-v2-meteorology-brief) {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
gap: 14px;
padding: 16px;
border: 1px solid rgba(34, 211, 238, 0.22);
border-radius: 8px;
background: linear-gradient(
180deg,
rgba(8, 47, 73, 0.42),
rgba(15, 23, 42, 0.78)
);
}
.root :global(.future-v2-meteorology-copy) {
display: grid;
gap: 9px;
min-width: 0;
}
.root :global(.future-v2-anchor-row) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-width: 0;
}
.root :global(.future-v2-anchor-source) {
display: inline-flex;
align-items: center;
min-height: 24px;
padding: 4px 8px;
border: 1px solid rgba(34, 211, 238, 0.28);
border-radius: 8px;
background: rgba(8, 47, 73, 0.36);
color: #67e8f9;
font-size: 11px;
font-weight: 800;
line-height: 1.25;
white-space: nowrap;
}
.root :global(.future-v2-meteorology-copy h3) {
margin: 0;
color: #f8fafc;
font-size: 18px;
font-weight: 800;
line-height: 1.35;
letter-spacing: 0;
}
.root :global(.future-v2-anchor-rule) {
margin: 0;
max-width: 860px;
color: var(--text-muted);
font-size: 12px;
line-height: 1.55;
}
.root :global(.future-v2-meteorology-meta) {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.root :global(.future-v2-meteorology-meta span) {
min-height: 26px;
display: inline-flex;
align-items: center;
padding: 5px 8px;
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
background: rgba(15, 23, 42, 0.62);
color: #cbd5e1;
font-size: 12px;
line-height: 1.35;
}
.root :global(.future-v2-decision-rail) {
display: grid;
grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.35fr);
gap: 10px;
min-width: 0;
}
.root :global(.future-v2-decision-anchor) {
min-width: 0;
padding: 12px;
border: 1px solid rgba(96, 165, 250, 0.2);
border-radius: 8px;
background: rgba(2, 6, 23, 0.5);
}
.root :global(.future-v2-decision-anchor span),
.root :global(.future-v2-decision-grid span) {
display: block;
color: var(--text-muted);
font-size: 11px;
line-height: 1.3;
}
.root :global(.future-v2-decision-anchor strong) {
display: block;
margin-top: 8px;
color: #f8fafc;
font-size: 14px;
font-weight: 800;
line-height: 1.35;
letter-spacing: 0;
}
.root :global(.future-v2-decision-anchor small) {
display: block;
margin-top: 6px;
color: #67e8f9;
font-size: 11px;
font-weight: 700;
line-height: 1.3;
}
.root :global(.future-v2-decision-grid) {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
min-width: 0;
}
.root :global(.future-v2-decision-grid div) {
min-width: 0;
padding: 10px;
border: 1px solid rgba(34, 211, 238, 0.18);
border-radius: 8px;
background: rgba(2, 6, 23, 0.5);
}
.root :global(.future-v2-decision-grid strong) {
display: block;
margin-top: 7px;
color: #67e8f9;
font-size: 18px;
font-weight: 800;
line-height: 1;
letter-spacing: 0;
}
.root :global(.future-v2-meteorology-paths) {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.root :global(.future-v2-meteorology-paths div) {
min-width: 0;
padding: 12px;
border: 1px solid rgba(34, 211, 238, 0.18);
border-radius: 8px;
background: rgba(2, 6, 23, 0.5);
}
.root :global(.future-v2-meteorology-paths span) {
display: block;
color: var(--text-muted);
font-size: 11px;
line-height: 1.3;
}
.root :global(.future-v2-meteorology-paths strong) {
display: block;
margin-top: 8px;
color: #67e8f9;
font-size: 22px;
font-weight: 800;
line-height: 1;
letter-spacing: 0;
}
.root :global(.future-v2-sync-chip) {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 11px 12px;
border-radius: 12px;
border: 1px solid rgba(52, 211, 153, 0.16);
background: rgba(16, 185, 129, 0.06);
}
.root :global(.future-v2-sync-chip.syncing) {
border-color: rgba(34, 211, 238, 0.2);
background: rgba(34, 211, 238, 0.07);
}
.root :global(.future-v2-sync-dot) {
width: 9px;
height: 9px;
border-radius: 999px;
background: #34d399;
margin-top: 5px;
flex: 0 0 auto;
box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}
.root :global(.future-v2-sync-chip.syncing .future-v2-sync-dot) {
background: #22d3ee;
box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
animation: pulseGlow 1.25s ease-in-out infinite;
}
.root :global(.future-v2-sync-copy) {
display: grid;
gap: 4px;
min-width: 0;
}
.root :global(.future-v2-sync-copy strong) {
color: var(--text-primary);
font-size: 12px;
font-weight: 700;
line-height: 1.3;
}
.root :global(.future-v2-sync-copy span) {
color: var(--text-muted);
font-size: 11px;
line-height: 1.45;
}
@keyframes pulseGlow {
0%,
100% {
opacity: 0.9;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.08);
}
}
.root :global(.future-v2-layout) {
display: grid;
grid-template-columns: 360px minmax(0, 1fr);
gap: 14px;
align-items: start;
}
.root :global(.future-v2-left) {
display: grid;
gap: 12px;
}
.root :global(.future-v2-right) {
display: grid;
gap: 14px;
}
.root :global(.future-v2-card) {
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--border-subtle);
border-radius: 14px;
padding: 14px;
}
.root :global(.future-v2-card-head) {
display: grid;
gap: 6px;
}
.root :global(.future-v2-card-kicker) {
color: var(--text-muted);
font-size: 11px;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.root :global(.future-v2-focus-card) {
background: linear-gradient(
180deg,
rgba(34, 211, 238, 0.08) 0%,
rgba(255, 255, 255, 0.02) 100%
);
}
.root :global(.future-v2-support-card) {
background: linear-gradient(
180deg,
rgba(148, 163, 184, 0.08) 0%,
rgba(255, 255, 255, 0.02) 100%
);
}
.root :global(.future-v2-hero-card) {
background: linear-gradient(
180deg,
rgba(99, 102, 241, 0.12) 0%,
rgba(255, 255, 255, 0.02) 100%
);
}
.root :global(.future-v2-hero-title) {
margin: 0;
font-size: 18px;
font-weight: 700;
color: var(--text-primary);
letter-spacing: -0.01em;
}
.root :global(.future-v2-hero-main) {
display: flex;
align-items: center;
gap: 14px;
margin-top: 14px;
}
.root :global(.future-v2-hero-temp) {
font-size: 56px;
font-weight: 800;
letter-spacing: -0.04em;
line-height: 1;
color: #f8fafc;
text-shadow: 0 10px 30px rgba(34, 211, 238, 0.14);
}
.root :global(.future-v2-hero-divider) {
width: 1px;
height: 56px;
background: rgba(255, 255, 255, 0.12);
}
.root :global(.future-v2-hero-weather) {
display: grid;
gap: 4px;
font-size: 15px;
color: var(--text-secondary);
}
.root :global(.future-v2-hero-icon) {
display: inline-flex;
align-items: center;
line-height: 1;
}
.root :global(.future-v2-hero-obs) {
margin-top: 10px;
color: var(--text-secondary);
font-size: 26px;
font-weight: 500;
font-variant-numeric: tabular-nums;
}
.root :global(.future-v2-daylight) {
margin-top: 14px;
padding: 12px 12px 10px;
border-radius: 12px;
border: 1px solid rgba(245, 158, 11, 0.14);
background: linear-gradient(
180deg,
rgba(245, 158, 11, 0.08) 0%,
rgba(34, 211, 238, 0.04) 100%
);
}
.root :global(.future-v2-daylight-head) {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}
.root :global(.future-v2-daylight-head span) {
color: var(--text-muted);
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.root :global(.future-v2-daylight-head strong) {
color: #fde68a;
font-size: 12px;
font-weight: 700;
}
.root :global(.future-v2-daylight-bar) {
position: relative;
height: 12px;
border-radius: 999px;
background: linear-gradient(
90deg,
rgba(15, 23, 42, 0.85) 0%,
rgba(56, 189, 248, 0.18) 15%,
rgba(250, 204, 21, 0.24) 50%,
rgba(56, 189, 248, 0.16) 85%,
rgba(15, 23, 42, 0.85) 100%
);
overflow: hidden;
}
.root :global(.future-v2-daylight-bar::before) {
content: "";
position: absolute;
inset: 0;
width: var(--daylight-progress, 0%);
background: linear-gradient(
90deg,
rgba(34, 211, 238, 0.22) 0%,
rgba(250, 204, 21, 0.4) 70%,
rgba(251, 146, 60, 0.5) 100%
);
}
.root :global(.future-v2-daylight-bar::after) {
content: "";
position: absolute;
top: 50%;
left: var(--daylight-progress, 0%);
width: 14px;
height: 14px;
border-radius: 50%;
background: radial-gradient(circle, #fff7cc 0%, #facc15 65%, #fb923c 100%);
box-shadow:
0 0 0 3px rgba(250, 204, 21, 0.16),
0 0 18px rgba(250, 204, 21, 0.22);
transform: translate(-50%, -50%);
}
.root :global(.future-v2-daylight-times) {
margin-top: 8px;
display: flex;
justify-content: space-between;
color: var(--text-secondary);
font-size: 11px;
}
.root :global(.future-v2-mini-grid) {
margin-top: 14px;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.root :global(.future-v2-mini-grid.future-v2-mini-grid-tight) {
margin-top: 8px;
}
.root :global(.future-v2-mini-item) {
border-radius: 10px;
border: 1px solid var(--border-subtle);
background: rgba(255, 255, 255, 0.025);
padding: 10px;
display: grid;
gap: 4px;
}
.root :global(.future-v2-signal-item) {
gap: 8px;
}
.root :global(.future-v2-signal-head) {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
}
.root :global(.future-v2-mini-item span) {
color: var(--text-muted);
font-size: 11px;
}
.root :global(.future-v2-mini-item strong) {
color: var(--text-primary);
font-size: 23px;
line-height: 1.15;
font-weight: 700;
}
.root :global(.future-v2-signal-tag) {
font-style: normal;
font-size: 10px;
font-weight: 700;
line-height: 1;
padding: 5px 8px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.04);
color: var(--text-secondary);
}
.root :global(.future-v2-signal-tag.cyan) {
color: #67e8f9;
border-color: rgba(34, 211, 238, 0.22);
background: rgba(34, 211, 238, 0.08);
}
.root :global(.future-v2-signal-tag.blue) {
color: #93c5fd;
border-color: rgba(96, 165, 250, 0.22);
background: rgba(96, 165, 250, 0.08);
}
.root :global(.future-v2-signal-tag.amber) {
color: #fbbf24;
border-color: rgba(251, 191, 36, 0.22);
background: rgba(251, 191, 36, 0.08);
}
.root :global(.future-v2-signal-meter) {
position: relative;
height: 7px;
border-radius: 999px;
overflow: hidden;
background: rgba(255, 255, 255, 0.06);
}
.root :global(.future-v2-signal-fill) {
height: 100%;
border-radius: inherit;
background: linear-gradient(
90deg,
rgba(203, 213, 225, 0.25) 0%,
rgba(255, 255, 255, 0.32) 100%
);
}
.root :global(.future-v2-signal-fill.cyan) {
background: linear-gradient(90deg, #155e75 0%, #22d3ee 100%);
}
.root :global(.future-v2-signal-fill.blue) {
background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}
.root :global(.future-v2-signal-fill.amber) {
background: linear-gradient(90deg, #b45309 0%, #f59e0b 100%);
}
.root :global(.future-v2-pace-card) {
background:
radial-gradient(
circle at top right,
rgba(34, 211, 238, 0.12) 0%,
rgba(15, 23, 42, 0) 42%
),
linear-gradient(
180deg,
rgba(8, 15, 28, 0.96) 0%,
rgba(255, 255, 255, 0.02) 100%
);
}
.root :global(.future-v2-pace-head) {
margin-top: 12px;
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 10px;
}
.root :global(.future-v2-pace-kicker) {
color: var(--text-muted);
font-size: 11px;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.root :global(.future-v2-pace-delta) {
margin-top: 10px;
font-size: 34px;
font-weight: 800;
letter-spacing: -0.04em;
line-height: 1.05;
}
.root :global(.future-v2-pace-delta.warm) {
color: #fbbf24;
}
.root :global(.future-v2-pace-delta.cold) {
color: #67e8f9;
}
.root :global(.future-v2-pace-delta.neutral) {
color: #e2e8f0;
}
.root :global(.future-v2-pace-summary) {
margin-top: 8px;
color: var(--text-secondary);
font-size: 12px;
line-height: 1.55;
}
.root :global(.future-v2-pace-signal-grid) {
margin-top: 12px;
display: grid;
gap: 10px;
}
.root :global(.future-v2-pace-signal-card) {
border-radius: 10px;
border: 1px solid var(--border-subtle);
background: rgba(255, 255, 255, 0.025);
padding: 10px;
display: grid;
gap: 8px;
}
.root :global(.future-v2-pace-signal-note) {
color: var(--text-secondary);
font-size: 12px;
line-height: 1.5;
}
.root :global(.future-v2-pace-meter) {
position: relative;
height: 10px;
margin-top: 12px;
border-radius: 999px;
overflow: hidden;
background: linear-gradient(
90deg,
rgba(34, 211, 238, 0.12) 0%,
rgba(255, 255, 255, 0.06) 46%,
rgba(255, 255, 255, 0.06) 54%,
rgba(251, 191, 36, 0.12) 100%
);
}
.root :global(.future-v2-pace-meter-midline) {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 1px;
background: rgba(255, 255, 255, 0.2);
transform: translateX(-50%);
z-index: 1;
}
.root :global(.future-v2-pace-meter-fill) {
position: absolute;
top: 0;
left: var(--pace-left, 46%);
width: var(--pace-width, 8%);
bottom: 0;
border-radius: inherit;
}
.root :global(.future-v2-pace-meter-fill.warm) {
background: linear-gradient(90deg, #b45309 0%, #fbbf24 100%);
}
.root :global(.future-v2-pace-meter-fill.cold) {
background: linear-gradient(90deg, #0f766e 0%, #67e8f9 100%);
}
.root :global(.future-v2-pace-meter-fill.neutral) {
background: linear-gradient(90deg, #475569 0%, #cbd5e1 100%);
}
.root :global(.intraday-scene-shell) {
margin-top: 12px;
margin-bottom: 10px;
border-radius: 14px;
border: 1px solid rgba(99, 102, 241, 0.14);
background: radial-gradient(
circle at 50% 18%,
rgba(34, 211, 238, 0.14) 0%,
rgba(255, 255, 255, 0.02) 48%,
rgba(255, 255, 255, 0.015) 100%
);
overflow: hidden;
}
.root :global(.intraday-scene-frame) {
height: 196px;
}
.root :global(.intraday-scene-frame canvas) {
width: 100%;
height: 100%;
display: block;
}
.root :global(.intraday-scene-legend) {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
padding: 10px 12px 12px;
border-top: 1px solid rgba(255, 255, 255, 0.06);
background: rgba(2, 6, 23, 0.18);
}
.root :global(.intraday-scene-chip) {
display: flex;
align-items: flex-start;
gap: 8px;
min-width: 0;
}
.root :global(.intraday-scene-chip-dot) {
width: 8px;
height: 8px;
border-radius: 50%;
margin-top: 5px;
box-shadow: 0 0 10px currentColor;
flex: 0 0 auto;
}
.root :global(.intraday-scene-chip-copy) {
min-width: 0;
display: grid;
gap: 2px;
}
.root :global(.intraday-scene-chip-copy strong) {
color: var(--text-primary);
font-size: 11px;
font-weight: 700;
}
.root :global(.intraday-scene-chip-copy span) {
color: var(--text-secondary);
font-size: 11px;
line-height: 1.35;
}
.root :global(.future-v2-card-title) {
margin: 0;
color: var(--text-primary);
font-size: 13px;
font-weight: 700;
letter-spacing: 0.02em;
}
.root :global(.future-v2-stack) {
margin-top: 14px;
display: grid;
gap: 12px;
}
.root :global(.future-v2-subpanel) {
border: 1px solid var(--border-subtle);
border-radius: 12px;
background: rgba(255, 255, 255, 0.025);
padding: 12px;
}
.root :global(.future-v2-subpanel-title) {
margin: 0;
color: var(--text-primary);
font-size: 12px;
font-weight: 700;
letter-spacing: 0.02em;
}
.root :global(.future-v2-market-v3) {
margin-top: 16px;
display: flex;
flex-direction: column;
gap: 16px;
position: relative;
}
.root :global(.future-v2-market-card) {
background:
radial-gradient(
circle at top right,
rgba(34, 197, 94, 0.08) 0%,
rgba(15, 23, 42, 0) 40%
),
linear-gradient(
180deg,
rgba(7, 16, 26, 0.96) 0%,
rgba(255, 255, 255, 0.02) 100%
);
}
.root :global(.market-layer-loading-overlay) {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(15, 23, 42, 0.6);
backdrop-filter: blur(2px);
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 8px;
color: var(--accent-cyan);
font-size: 13px;
font-weight: 500;
}
.root :global(.market-sub-title) {
color: var(--text-secondary);
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 8px;
font-weight: 600;
}
.root :global(.market-layer-target) {
background: rgba(34, 211, 238, 0.04);
border: 1px solid rgba(34, 211, 238, 0.15);
border-radius: 8px;
padding: 12px;
}
.root :global(.market-target-header) {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
font-size: 13px;
color: var(--text-secondary);
}
.root :global(.market-target-bucket) {
font-size: 16px;
color: var(--text-primary);
font-weight: 700;
}
.root :global(.market-edge-box) {
background: rgba(15, 23, 42, 0.4);
border-radius: 6px;
padding: 10px;
}
.root :global(.market-edge-header) {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
font-size: 12px;
color: var(--text-primary);
font-weight: 600;
}
.root :global(.market-edge-val) {
font-size: 15px;
font-weight: 700;
}
.root :global(.market-edge-val.positive) {
color: var(--accent-green);
}
.root :global(.market-edge-val.negative) {
color: var(--text-secondary);
}
.root :global(.market-edge-compare) {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
border-top: 1px solid rgba(255, 255, 255, 0.06);
padding-top: 8px;
}
.root :global(.edge-stat) {
display: flex;
flex-direction: column;
gap: 2px;
}
.root :global(.edge-label) {
font-size: 10px;
color: var(--text-muted);
}
.root :global(.edge-value) {
font-size: 13px;
color: var(--text-secondary);
font-weight: 600;
}
.root :global(.market-layer-book),
.root :global(.market-layer-context) {
padding: 0 4px;
}
.root :global(.market-book-row),
.root :global(.market-context-row) {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 13px;
padding: 6px 0;
border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.root :global(.market-book-row:last-child),
.root :global(.market-context-row:last-child) {
border-bottom: none;
}
.root :global(.book-label),
.root :global(.market-context-row span) {
color: var(--text-secondary);
}
.root :global(.book-quote strong),
.root :global(.market-context-row strong) {
color: var(--text-primary);
font-weight: 600;
}
.root :global(.book-quote span) {
color: var(--text-muted);
font-size: 11px;
}
.root :global(.book-spread) {
color: var(--text-muted);
font-size: 11px;
}
.root :global(.mt-3) {
margin-top: 12px;
}
.root :global(.future-v2-market-signal) {
margin-top: 10px;
padding: 8px 10px;
border-radius: 10px;
background: rgba(34, 211, 238, 0.08);
border: 1px solid rgba(34, 211, 238, 0.22);
color: var(--accent-cyan);
font-size: 12px;
font-weight: 600;
}
.root :global(.future-v2-main-chart) {
min-height: 340px;
}
.root :global(.future-v2-chart-thresholds) {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.root :global(.future-v2-chart-thresholds span) {
min-height: 26px;
display: inline-flex;
align-items: center;
padding: 5px 8px;
border: 1px solid rgba(34, 211, 238, 0.16);
border-radius: 8px;
background: rgba(8, 47, 73, 0.24);
color: #cbd5e1;
font-size: 12px;
line-height: 1.35;
}
.root :global(.future-v2-meteorology-grid) {
display: grid;
grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
gap: 12px;
}
.root :global(.future-v2-evidence-list) {
display: grid;
gap: 8px;
}
.root :global(.future-v2-evidence-row) {
padding: 10px;
border: 1px solid rgba(148, 163, 184, 0.14);
border-left-width: 3px;
border-radius: 8px;
background: rgba(15, 23, 42, 0.5);
}
.root :global(.future-v2-evidence-row.cyan) {
border-left-color: #22d3ee;
}
.root :global(.future-v2-evidence-row.amber) {
border-left-color: #f59e0b;
}
.root :global(.future-v2-evidence-row.blue) {
border-left-color: #60a5fa;
}
.root :global(.future-v2-evidence-head) {
display: flex;
justify-content: space-between;
gap: 10px;
align-items: flex-start;
}
.root :global(.future-v2-evidence-head strong) {
color: #f8fafc;
font-size: 13px;
line-height: 1.35;
}
.root :global(.future-v2-evidence-head span) {
color: var(--text-muted);
font-size: 11px;
line-height: 1.35;
text-align: right;
}
.root :global(.future-v2-evidence-row p) {
margin: 7px 0 0;
color: var(--text-secondary);
font-size: 12px;
line-height: 1.55;
}
.root :global(.future-v2-rule-list) {
display: grid;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}
.root :global(.future-v2-rule-list li) {
position: relative;
padding-left: 16px;
color: var(--text-secondary);
font-size: 12px;
line-height: 1.55;
}
.root :global(.future-v2-rule-list li::before) {
content: "";
position: absolute;
left: 0;
top: 0.65em;
width: 6px;
height: 6px;
border-radius: 999px;
background: #22d3ee;
}
.root
:global(.future-v2-rule-panel:nth-child(2) .future-v2-rule-list li::before) {
background: #f59e0b;
}
.root :global(.future-v2-model-note) {
margin-top: 12px;
padding-top: 10px;
border-top: 1px solid rgba(148, 163, 184, 0.14);
color: var(--text-muted);
font-size: 12px;
line-height: 1.55;
}
.root :global(.future-modal-section) {
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--border-subtle);
border-radius: 14px;
padding: 14px;
}
.root :global(.future-modal-section h3) {
margin: 0 0 14px;
font-size: 14px;
font-weight: 700;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 8px;
}
.root :global(.section-inline-icon) {
display: inline-flex;
width: 16px;
height: 16px;
align-items: center;
justify-content: center;
color: var(--accent-cyan);
flex: 0 0 16px;
}
.root :global(.section-inline-icon svg) {
width: 16px;
height: 16px;
}
.root :global(.future-modal-grid) {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.root :global(.future-chart-wrapper) {
height: 220px;
}
.root :global(.future-prob-bars .prob-bar-fill) {
min-width: 56px;
}
.root :global(.future-trend-grid) {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.root :global(.future-trend-card) {
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 12px;
background: rgba(255, 255, 255, 0.025);
}
.root :global(.future-trend-label) {
display: block;
color: var(--text-muted);
font-size: 11px;
margin-bottom: 6px;
}
.root :global(.future-trend-value) {
display: block;
color: var(--text-primary);
font-size: 17px;
font-weight: 700;
}
.root :global(.future-trend-meter) {
position: relative;
height: 8px;
margin-top: 10px;
border-radius: 999px;
overflow: hidden;
background: rgba(255, 255, 255, 0.06);
}
.root :global(.future-trend-meter.center) {
background: linear-gradient(
90deg,
rgba(56, 189, 248, 0.1) 0%,
rgba(255, 255, 255, 0.05) 48%,
rgba(255, 255, 255, 0.05) 52%,
rgba(245, 158, 11, 0.1) 100%
);
}
.root :global(.future-trend-meter-midline) {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 1px;
background: rgba(255, 255, 255, 0.18);
transform: translateX(-50%);
z-index: 1;
}
.root :global(.future-trend-meter-fill) {
position: absolute;
top: 0;
left: 0;
bottom: 0;
border-radius: inherit;
background: linear-gradient(90deg, #334155 0%, #94a3b8 100%);
}
.root :global(.future-trend-meter-fill.warm) {
background: linear-gradient(90deg, #b45309 0%, #f59e0b 100%);
}
.root :global(.future-trend-meter-fill.cold) {
background: linear-gradient(90deg, #0f766e 0%, #22d3ee 100%);
}
.root :global(.future-trend-note) {
margin-top: 6px;
color: var(--text-secondary);
font-size: 12px;
line-height: 1.45;
}
.root :global(.future-trend-summary-muted) {
color: var(--text-muted);
border: 1px dashed rgba(148, 163, 184, 0.18);
background: rgba(255, 255, 255, 0.018);
}
.root :global(.future-trend-card-empty) {
background: linear-gradient(
180deg,
rgba(148, 163, 184, 0.05) 0%,
rgba(255, 255, 255, 0.02) 100%
);
}
.root :global(.future-subsection-title) {
color: var(--text-primary);
font-size: 0.95rem;
font-weight: 700;
margin-top: 18px;
}
.root :global(.future-trend-value.warm) {
color: #34d399;
}
.root :global(.future-trend-value.cold) {
color: #f59e0b;
}
.root :global(.future-text-block) {
color: var(--text-secondary);
font-size: 13px;
line-height: 1.7;
}
.root :global(.future-text-block strong) {
color: var(--text-primary);
}
.root :global(.future-front-score) {
display: grid;
gap: 12px;
}
.root :global(.future-front-bar) {
position: relative;
height: 10px;
border-radius: 999px;
background: linear-gradient(
90deg,
rgba(56, 189, 248, 0.4) 0%,
rgba(56, 189, 248, 0.4) 30%,
rgba(255, 255, 255, 0.06) 45%,
rgba(255, 255, 255, 0.06) 55%,
rgba(245, 158, 11, 0.4) 70%,
rgba(245, 158, 11, 0.4) 100%
);
overflow: hidden;
}
.root :global(.future-front-bar::after) {
content: "";
position: absolute;
top: 50%;
left: var(--score-position, 50%);
width: 14px;
height: 14px;
border-radius: 999px;
background: var(--text-primary);
transform: translate(-50%, -50%);
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
z-index: 2;
transition: left 0.5s ease;
}
.root :global(.future-front-meta) {
display: flex;
flex-wrap: wrap;
gap: 10px;
font-size: 12px;
color: var(--text-secondary);
}
.root :global(.future-front-pill) {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 10px;
border-radius: 999px;
border: 1px solid var(--border-subtle);
background: rgba(255, 255, 255, 0.03);
}
@media (max-width: 960px) {
.root :global(.future-v2-meteorology-brief),
.root :global(.future-v2-meteorology-grid) {
grid-template-columns: 1fr;
}
.root :global(.future-v2-meteorology-paths) {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.root :global(.future-v2-decision-rail) {
grid-template-columns: 1fr;
}
.root :global(.future-v2-decision-grid) {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.root :global(.future-v2-layout) {
grid-template-columns: 1fr;
}
.root :global(.future-v2-mini-item strong) {
font-size: 18px;
}
.root :global(.future-v2-daylight-head) {
flex-direction: column;
align-items: flex-start;
}
.root :global(.future-modal-grid),
.root :global(.future-trend-grid) {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.root :global(.future-modal-body) {
gap: 12px;
padding-right: 0;
}
.root :global(.future-v2-meteorology-brief) {
padding: 12px;
}
.root :global(.future-v2-meteorology-paths) {
grid-template-columns: 1fr;
}
.root :global(.future-v2-anchor-row) {
align-items: flex-start;
flex-direction: column;
}
.root :global(.future-v2-decision-grid) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.root :global(.future-v2-meteorology-copy h3) {
font-size: 16px;
}
.root :global(.future-v2-card),
.root :global(.future-modal-section) {
border-radius: 12px;
padding: 12px;
}
.root :global(.future-v2-hero-main) {
align-items: flex-start;
gap: 12px;
}
.root :global(.future-v2-hero-temp) {
font-size: 44px;
}
.root :global(.future-v2-hero-divider) {
height: 44px;
}
.root :global(.future-v2-hero-obs) {
font-size: 18px;
}
.root :global(.future-v2-mini-grid) {
grid-template-columns: 1fr;
}
.root :global(.future-v2-mini-item strong) {
font-size: 20px;
}
.root :global(.future-v2-signal-head) {
flex-direction: column;
align-items: flex-start;
}
.root :global(.future-v2-main-chart) {
min-height: 280px;
}
.root :global(.future-chart-wrapper) {
height: 190px;
}
.root :global(.future-trend-card) {
padding: 10px;
}
.root :global(.future-v2-subpanel) {
padding: 10px;
}
.root :global(.intraday-scene-frame) {
height: 174px;
}
.root :global(.intraday-scene-legend) {
grid-template-columns: 1fr;
}
.root :global(.future-trend-value) {
font-size: 16px;
}
.root :global(.future-trend-note),
.root :global(.future-text-block) {
font-size: 12px;
line-height: 1.6;
}
.root :global(.future-subsection-title) {
font-size: 0.9rem;
margin-top: 14px;
}
.root :global(.future-front-meta) {
gap: 8px;
}
.root :global(.future-front-pill) {
width: 100%;
justify-content: center;
}
.root :global(.detail-grid) {
grid-template-columns: 1fr;
}
.root :global(.detail-mini-chart) {
height: 170px;
}
.root :global(.detail-source-link) {
padding: 10px 12px;
align-items: flex-start;
flex-direction: column;
}
.root :global(.detail-source-label) {
text-align: left;
}
}
@media (max-width: 1200px) {
.root :global(.future-trend-grid) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.root :global(.guide-grid) {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 16px;
padding: 4px;
}
.root :global(.guide-card) {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 16px;
transition: var(--transition);
}
.root :global(.guide-card:hover) {
background: rgba(255, 255, 255, 0.05);
border-color: var(--border-glass);
}
.root :global(.guide-card h3) {
font-size: 15px;
font-weight: 700;
color: var(--accent-cyan);
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 8px;
}
.root :global(.guide-card p) {
font-size: 13px;
line-height: 1.6;
color: var(--text-secondary);
margin-bottom: 0;
}
.root :global(.guide-card b) {
color: var(--text-primary);
}
.root :global(.guide-footer) {
margin-top: 24px;
padding-top: 16px;
border-top: 1px solid var(--border-subtle);
text-align: center;
font-size: 11px;
color: var(--text-muted);
}
.root :global(.detail-grid) {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.root :global(.detail-card) {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 12px;
}
.root :global(.detail-source-list) {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
}
.root :global(.detail-source-note) {
margin: 8px 0 12px;
color: var(--text-muted);
font-size: 12px;
line-height: 1.6;
}
.root :global(.detail-source-link) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 14px;
border-radius: 12px;
border: 1px solid var(--border-subtle);
background: rgba(255, 255, 255, 0.03);
color: var(--text-main);
text-decoration: none;
transition:
background 0.18s ease,
border-color 0.18s ease,
transform 0.18s ease;
}
.root :global(.detail-source-link:hover) {
background: rgba(34, 211, 238, 0.08);
border-color: rgba(34, 211, 238, 0.28);
transform: translateY(-1px);
}
.root :global(.detail-source-kind) {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.12em;
color: var(--accent-cyan);
text-transform: uppercase;
flex-shrink: 0;
}
.root :global(.detail-source-label) {
font-size: 13px;
font-weight: 600;
color: var(--text-main);
text-align: right;
}
.root :global(.detail-label) {
display: block;
color: var(--text-muted);
font-size: 11px;
margin-bottom: 6px;
}
.root :global(.detail-value) {
display: block;
color: var(--text-primary);
font-size: 14px;
font-weight: 700;
line-height: 1.5;
word-break: break-word;
}
.root :global(.profile-lead) {
color: var(--text-secondary);
font-size: 13px;
line-height: 1.7;
}
.root :global(.detail-mini-chart-wrap) {
display: grid;
gap: 8px;
}
.root :global(.detail-mini-chart) {
position: relative;
height: 190px;
border: 1px solid var(--border-subtle);
border-radius: 12px;
background: rgba(255, 255, 255, 0.02);
padding: 10px;
}
.root :global(.detail-mini-chart canvas) {
width: 100% !important;
height: 100% !important;
}
.root :global(.detail-mini-meta) {
color: var(--text-muted);
font-size: 11px;
line-height: 1.55;
}
.root :global(.insight-list) {
display: grid;
gap: 10px;
}
.root :global(.insight-item) {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 12px;
}
.root :global(.insight-title) {
color: var(--accent-cyan);
font-size: 12px;
font-weight: 700;
margin-bottom: 6px;
}
.root :global(.insight-text) {
color: var(--text-secondary);
font-size: 13px;
line-height: 1.65;
}
.root :global(.detail-scenery-card) {
position: relative;
min-height: 210px;
border-radius: 16px;
overflow: hidden;
border: 1px solid var(--border-subtle);
background:
linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.78)),
rgba(255, 255, 255, 0.03);
}
.root :global(.detail-scenery-image) {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.root :global(.detail-scenery-overlay) {
position: relative;
z-index: 1;
min-height: 210px;
padding: 18px;
display: flex;
flex-direction: column;
justify-content: space-between;
background: linear-gradient(
180deg,
rgba(2, 6, 23, 0.08) 0%,
rgba(2, 6, 23, 0.86) 100%
);
}
.root :global(.detail-scenery-copy),
.root :global(.detail-scenery-fallback) {
display: flex;
flex-direction: column;
gap: 6px;
}
.root :global(.detail-scenery-fallback) {
min-height: 210px;
padding: 18px;
justify-content: flex-end;
background:
radial-gradient(
circle at top left,
rgba(34, 211, 238, 0.12),
transparent 34%
),
linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.96));
}
.root :global(.detail-scenery-kicker) {
color: rgba(226, 232, 240, 0.78);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.root :global(.detail-scenery-title) {
color: #fff;
font-size: 22px;
font-weight: 800;
letter-spacing: -0.03em;
text-shadow: 0 6px 22px rgba(2, 6, 23, 0.42);
}
.root :global(.detail-scenery-subtitle) {
max-width: 320px;
color: rgba(226, 232, 240, 0.9);
font-size: 13px;
line-height: 1.6;
text-shadow: 0 2px 10px rgba(2, 6, 23, 0.45);
}
.root :global(.detail-scenery-credit) {
align-self: flex-start;
color: rgba(226, 232, 240, 0.9);
font-size: 11px;
text-decoration: none;
padding: 6px 10px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.14);
background: rgba(2, 6, 23, 0.35);
backdrop-filter: blur(10px);
}
.root :global(.detail-scenery-credit:hover) {
border-color: rgba(34, 211, 238, 0.4);
color: #fff;
}