Files
PolyWeather/frontend/components/dashboard/FutureForecastModal.module.css
T
2569718930@qq.com 80ca892611 回退 debTemps 首尾填充,修复 canvas CSS 无尺寸导致的图表缩塌
- 首尾填充会画成水平直线不反映预测,回退;past_days=1 已从后端补齐全天数据
- canvas 保留 width/height:100% 但去掉 !important,Chart.js 自管分辨率
2026-05-16 22:05:09 +08:00

1794 lines
37 KiB
CSS

/* Future forecast modal chrome and evidence panels. */
.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: var(--color-accent-secondary);
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: var(--color-accent-secondary);
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: var(--color-accent-secondary);
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: var(--color-accent-secondary);
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: #22C55E;
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-panel-loading) {
min-height: 120px;
border-radius: 14px;
background:
linear-gradient(
90deg,
rgba(255, 255, 255, 0.03),
rgba(77, 163, 255, 0.08),
rgba(255, 255, 255, 0.03)
);
background-size: 220% 100%;
animation: future-panel-loading 1.4s ease-in-out infinite;
}
@keyframes future-panel-loading {
0% {
background-position: 100% 0;
}
100% {
background-position: -100% 0;
}
}
.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: var(--color-accent-secondary);
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: var(--color-accent-secondary);
}
.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%, var(--color-accent-secondary) 100%);
}
.root :global(.future-v2-pace-meter-fill.neutral) {
background: linear-gradient(90deg, #6B7A90 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) {
display: block;
width: 100%;
height: 100%;
}
.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-forward-stats) {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}
.root :global(.future-forward-stat-card) {
min-width: 0;
overflow: hidden;
padding: 16px 18px;
border: 1px solid var(--border-subtle);
border-radius: 14px;
background: linear-gradient(
180deg,
rgba(34, 211, 238, 0.075) 0%,
rgba(255, 255, 255, 0.025) 100%
);
box-shadow: 0 16px 42px rgba(2, 6, 23, 0.18);
}
.root :global(.future-forward-stat-card .label) {
display: block;
margin-bottom: 8px;
overflow: hidden;
color: var(--text-muted);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.05em;
line-height: 1.25;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: nowrap;
}
.root :global(.future-forward-stat-card .val) {
display: block;
overflow: hidden;
color: var(--text-primary);
font-size: clamp(24px, 3vw, 34px);
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.05;
text-overflow: ellipsis;
white-space: nowrap;
}
.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%, var(--color-text-secondary) 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: #22C55E;
}
.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-forward-stats) {
grid-template-columns: repeat(2, minmax(0, 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: 1200px) {
.root :global(.future-trend-grid) {
grid-template-columns: repeat(2, minmax(0, 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-forward-stats) {
gap: 10px;
}
.root :global(.future-forward-stat-card) {
border-radius: 12px;
padding: 12px;
}
.root :global(.future-forward-stat-card .label) {
font-size: 10px;
}
.root :global(.future-forward-stat-card .val) {
font-size: 24px;
}
.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;
}
}
@media (max-width: 480px) {
.root :global(.future-forward-stats) {
grid-template-columns: 1fr;
}
}
/* ══════════════════════════════════════════════════════════════
LIGHT-MODE OVERRIDES — future-v2 decision card components
These classes use dark hardcoded backgrounds (rgba(2,6,23,…))
which are correct for dark theme but must be overridden in light.
══════════════════════════════════════════════════════════════ */
html.light .root :global(.future-v2-meteorology-brief) {
background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(255, 255, 255, 0.92));
border-color: rgba(37, 99, 235, 0.18);
}
html.light .root :global(.future-v2-anchor-source) {
background: #dbeafe;
border-color: rgba(59, 130, 246, 0.32);
color: #1d4ed8;
}
html.light .root :global(.future-v2-meteorology-copy h3) {
color: #0f172a;
}
html.light .root :global(.future-v2-meteorology-meta span) {
background: #eef2f7;
border-color: rgba(148, 163, 184, 0.3);
color: #334155;
}
html.light .root :global(.future-v2-decision-anchor) {
background: #ffffff;
border-color: rgba(37, 99, 235, 0.18);
}
html.light .root :global(.future-v2-decision-anchor strong) {
color: #0f172a;
}
html.light .root :global(.future-v2-decision-anchor small) {
color: #2563eb;
}
html.light .root :global(.future-v2-decision-grid div) {
background: #ffffff;
border-color: rgba(37, 99, 235, 0.16);
}
html.light .root :global(.future-v2-decision-grid strong) {
color: #0369a1;
}
html.light .root :global(.future-v2-meteorology-paths div) {
background: #ffffff;
border-color: rgba(37, 99, 235, 0.16);
}
html.light .root :global(.future-v2-meteorology-paths span) {
color: #475569;
}
html.light .root :global(.future-v2-meteorology-paths strong) {
color: #0369a1;
}
html.light .root :global(.future-v2-hero-temp) {
color: #0f172a;
text-shadow: none;
}
html.light .root :global(.future-v2-hero-divider) {
background: rgba(15, 23, 42, 0.14);
}
html.light .root :global(.future-v2-hero-obs) {
color: #334155;
}
html.light .root :global(.future-v2-card) {
background: rgba(255, 255, 255, 0.72);
border-color: rgba(125, 171, 214, 0.28);
}
html.light .root :global(.future-v2-focus-card) {
background: linear-gradient(180deg, rgba(219, 234, 254, 0.4) 0%, rgba(255, 255, 255, 0.72) 100%);
}
html.light .root :global(.future-v2-support-card) {
background: linear-gradient(180deg, rgba(226, 232, 240, 0.4) 0%, rgba(255, 255, 255, 0.72) 100%);
}
html.light .root :global(.future-v2-hero-card) {
background: linear-gradient(180deg, rgba(219, 234, 254, 0.5) 0%, rgba(255, 255, 255, 0.72) 100%);
}
html.light .root :global(.future-v2-pace-card) {
background: linear-gradient(180deg, rgba(239, 246, 255, 0.72) 0%, rgba(255, 255, 255, 0.72) 100%);
}
html.light .root :global(.future-v2-mini-item) {
background: rgba(255, 255, 255, 0.82);
border-color: rgba(148, 163, 184, 0.28);
}
html.light .root :global(.future-v2-mini-item strong) {
color: #0f172a;
}
html.light .root :global(.future-v2-pace-signal-card) {
background: rgba(255, 255, 255, 0.82);
border-color: rgba(148, 163, 184, 0.28);
}
html.light .root :global(.future-v2-pace-delta.neutral) {
color: #475569;
}
html.light .root :global(.future-v2-daylight) {
background: linear-gradient(180deg, rgba(254, 243, 199, 0.5) 0%, rgba(255, 255, 255, 0.4) 100%);
border-color: rgba(245, 158, 11, 0.24);
}
html.light .root :global(.future-v2-daylight-bar) {
background: linear-gradient(
90deg,
rgba(226, 232, 240, 0.9) 0%,
rgba(186, 230, 253, 0.5) 15%,
rgba(253, 224, 71, 0.45) 50%,
rgba(186, 230, 253, 0.4) 85%,
rgba(226, 232, 240, 0.9) 100%
);
}
html.light .root :global(.future-v2-daylight-head strong) {
color: #b45309;
}
html.light .root :global(.future-v2-signal-meter) {
background: rgba(15, 23, 42, 0.08);
}
html.light .root :global(.future-v2-signal-tag) {
background: rgba(15, 23, 42, 0.05);
border-color: rgba(15, 23, 42, 0.12);
color: #475569;
}
html.light .root :global(.intraday-scene-shell) {
background: linear-gradient(180deg, rgba(219, 234, 254, 0.3) 0%, rgba(255, 255, 255, 0.5) 100%);
border-color: rgba(37, 99, 235, 0.16);
}
html.light .root :global(.intraday-scene-legend) {
background: rgba(248, 250, 252, 0.82);
border-top-color: rgba(148, 163, 184, 0.22);
}
/* ── Sync strip / refresh lock chip ── */
html.light .root :global(.future-v2-sync-chip) {
background: rgba(240, 253, 250, 0.82);
border-color: rgba(16, 185, 129, 0.22);
}
html.light .root :global(.future-v2-sync-strip-compact .future-v2-sync-chip) {
background: rgba(255, 255, 255, 0.72);
}
html.light .root :global(.future-v2-refresh-lock) {
background: rgba(255, 255, 255, 0.96);
border-color: rgba(14, 165, 233, 0.28);
box-shadow: 0 8px 24px rgba(40, 70, 110, 0.12);
}
html.light .root :global(.future-v2-refresh-lock strong) {
color: #0f172a;
}
@keyframes spin { to { transform: rotate(360deg); } }