:root { --font-main: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; /* Light mode */ --bg-main: #f8f9fa; --bg-subtle: #eef2f6; --card-bg: #ffffff; --panel-bg: rgba(255, 255, 255, 0.88); --panel-border: rgba(19, 23, 34, 0.12); --text-main: #131722; --text-muted: #667085; --text-inverse: #ffffff; --accent-blue: #4f6f95; --accent-blue-hover: #435f7f; --accent-blue-glow: rgba(79, 111, 149, 0.24); --accent-green: #3f7f6b; --status-green: #3f7f6b; --status-green-glow: rgba(63, 127, 107, 0.24); --status-red: #b64e5a; --status-red-glow: rgba(182, 78, 90, 0.24); --status-yellow: #b48c3a; --status-yellow-glow: rgba(180, 140, 58, 0.22); --status-amber: #ba7517; --status-amber-glow: rgba(186, 117, 23, 0.25); --headlines-max-height: 310px; --logo-grad-start: #1f2838; --logo-grad-end: #71839c; --logo-highlight-start: #4f6f95; --logo-highlight-end: #6f8eb2; --input-bg: rgba(255, 255, 255, 0.95); --input-border: rgba(19, 23, 34, 0.15); --btn-disabled-bg: #aab4c2; --btn-disabled-text: #f2f4f7; --spinner-track: rgba(255, 255, 255, 0.35); --spinner-head: #ffffff; --glow-color: rgba(79, 111, 149, 0.10); --shadow-panel: 0 8px 28px rgba(17, 24, 39, 0.10); --shadow-hover: 0 14px 32px rgba(17, 24, 39, 0.14); --light-bulb-off: #c8d1de; --trend-badge-bg: rgba(79, 111, 149, 0.08); --headline-bg: rgba(19, 23, 34, 0.04); --chart-bg: rgba(19, 23, 34, 0.04); --chart-border: rgba(19, 23, 34, 0.10); --scrollbar-track: rgba(19, 23, 34, 0.08); --scrollbar-thumb: rgba(19, 23, 34, 0.24); --scrollbar-thumb-hover: rgba(19, 23, 34, 0.34); --timeframe-active-text: #1a73e8; --timeframe-active-bg: rgba(26, 115, 232, 0.12); --timeframe-hover-bg: rgba(26, 115, 232, 0.08); --nav-bg: rgba(255, 255, 255, 0.84); --nav-link-bg-hover: rgba(79, 111, 149, 0.10); } [data-theme="dark"] { --bg-main: #131722; --bg-subtle: #0f141d; --card-bg: #1e222d; --panel-bg: rgba(30, 34, 45, 0.88); --panel-border: rgba(209, 212, 220, 0.13); --text-main: #d1d4dc; --text-muted: #8d95a8; --text-inverse: #f4f6fa; --accent-blue: #6b8ab0; --accent-blue-hover: #5d7ca0; --accent-blue-glow: rgba(107, 138, 176, 0.28); --accent-green: #4f927d; --status-green: #4f927d; --status-green-glow: rgba(79, 146, 125, 0.28); --status-red: #c05d69; --status-red-glow: rgba(192, 93, 105, 0.28); --status-yellow: #c19d4d; --status-yellow-glow: rgba(193, 157, 77, 0.24); --logo-grad-start: #f3f5fa; --logo-grad-end: #a8b1c2; --logo-highlight-start: #7d9cc2; --logo-highlight-end: #90aacc; --input-bg: rgba(15, 20, 29, 0.78); --input-border: rgba(209, 212, 220, 0.18); --btn-disabled-bg: #4b5568; --btn-disabled-text: #c8ceda; --spinner-track: rgba(209, 212, 220, 0.30); --spinner-head: #d1d4dc; --glow-color: rgba(107, 138, 176, 0.12); --shadow-panel: 0 10px 32px rgba(0, 0, 0, 0.35); --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.40); --light-bulb-off: #3c4558; --trend-badge-bg: rgba(107, 138, 176, 0.12); --headline-bg: rgba(255, 255, 255, 0.04); --chart-bg: rgba(255, 255, 255, 0.03); --chart-border: rgba(209, 212, 220, 0.12); --scrollbar-track: rgba(209, 212, 220, 0.10); --scrollbar-thumb: rgba(209, 212, 220, 0.26); --scrollbar-thumb-hover: rgba(209, 212, 220, 0.36); --timeframe-active-text: #8ab4f8; --timeframe-active-bg: rgba(138, 180, 248, 0.18); --timeframe-hover-bg: rgba(138, 180, 248, 0.12); --nav-bg: rgba(30, 34, 45, 0.84); --nav-link-bg-hover: rgba(107, 138, 176, 0.14); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-main); background: var(--bg-main); color: var(--text-main); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; position: relative; } .glow-bg { position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 50% 50%, var(--glow-color) 0%, transparent 55%); z-index: -1; pointer-events: none; } .glass-panel { background: var(--panel-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--panel-border); border-radius: 16px; box-shadow: var(--shadow-panel); } .top-nav { position: sticky; top: 0; z-index: 20; padding: 0.9rem 1.5rem 0.4rem; } .top-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0.75rem 1rem; border: 1px solid var(--panel-border); border-radius: 14px; background: var(--nav-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; } .nav-brand { text-decoration: none; font-size: 1.2rem; font-weight: 800; letter-spacing: 0.2px; color: var(--text-main); } .brand-highlight { color: var(--accent-blue); } .nav-actions { display: flex; align-items: center; gap: 0.6rem; } .theme-toggle { border: 1px solid var(--panel-border); background: transparent; color: var(--text-main); border-radius: 999px; padding: 0.35rem 0.7rem 0.35rem 0.45rem; font-size: 0.86rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; transition: background 0.2s ease, border-color 0.2s ease; } .theme-toggle:hover { background: var(--nav-link-bg-hover); border-color: var(--accent-blue); } .theme-toggle-track { width: 34px; height: 20px; border-radius: 999px; border: 1px solid var(--panel-border); background: var(--bg-subtle); display: inline-flex; align-items: center; padding: 2px; } .theme-toggle-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent-blue); transform: translateX(0); transition: transform 0.2s ease; } [data-theme="dark"] .theme-toggle-thumb { transform: translateX(14px); } .nav-link, .nav-signup { text-decoration: none; font-size: 0.9rem; font-weight: 600; border-radius: 10px; padding: 0.5rem 0.8rem; transition: background 0.2s ease, border-color 0.2s ease; } .nav-link { color: var(--text-main); border: 1px solid var(--panel-border); } .nav-link:hover { background: var(--nav-link-bg-hover); border-color: var(--accent-blue); } .nav-signup { color: var(--text-inverse); border: 1px solid var(--accent-blue); background: var(--accent-blue); } .nav-signup:hover { background: var(--accent-blue-hover); border-color: var(--accent-blue-hover); } header { text-align: center; padding: 2.6rem 1rem 2rem; } .logo { display: flex; align-items: center; justify-content: center; font-size: 3.5rem; font-weight: 900; letter-spacing: -2px; } .logo h1 { background: linear-gradient(135deg, var(--logo-grad-start) 0%, var(--logo-grad-end) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; margin: 0; } .logo .highlight { background: linear-gradient(135deg, var(--logo-highlight-start) 0%, var(--logo-highlight-end) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; } .subtitle { color: var(--text-muted); font-size: 1.08rem; margin-top: 0.5rem; font-weight: 400; } .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; flex: 1; width: 100%; } .search-section { position: relative; /* establish positioned stacking context */ z-index: 2; /* sit above dashboard card stacking contexts */ padding: 2rem; text-align: center; max-width: 700px; width: 90vw; margin: 0 auto 3rem; transition: transform 0.3s ease; } .search-section h2 { margin-bottom: 1.5rem; font-size: 1.5rem; font-weight: 600; } .search-box { display: flex; gap: 1rem; position: relative; } .search-box input { flex: 1; padding: 1rem 1.5rem; border-radius: 12px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text-main); font-size: 1.1rem; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; text-transform: uppercase; } .search-box input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 3px var(--accent-blue-glow); } .search-box button { padding: 1rem 2rem; border-radius: 12px; border: none; background: var(--accent-blue); color: var(--text-inverse); font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; display: flex; align-items: center; justify-content: center; min-width: 150px; } .search-box button:hover { background: var(--accent-blue-hover); box-shadow: 0 0 0 3px var(--accent-blue-glow); transform: translateY(-1px); } .search-box button:disabled { background: var(--btn-disabled-bg); color: var(--btn-disabled-text); cursor: not-allowed; transform: none; box-shadow: none; } .spinner { width: 20px; height: 20px; border: 3px solid var(--spinner-track); border-radius: 50%; border-top-color: var(--spinner-head); animation: spin 1s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } .hidden { display: none !important; } .error-msg { color: var(--status-red); margin-top: 1rem; font-size: 0.95rem; } .dashboard { position: relative; animation: fadeIn 0.5s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .dashboard-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--panel-border); } .dashboard-header h2 { font-size: 2.5rem; font-weight: 800; } .time-stamp { color: var(--text-muted); font-size: 0.9rem; } .cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; } .dashboard-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; align-items: stretch; margin-bottom: 1.5rem; } /* ── Explicit grid placement for each dashboard card ── */ .engine-light-card { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; } .price-card { grid-column: 2; grid-row: 1; } /* Headlines spans both rows in the third column */ .headlines-card { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; overflow: hidden; /* No fixed max-height - JS will set it dynamically to match left columns. Fallback max-height if JS is unavailable or has not run yet. */ max-height: var(--headlines-card-height, 480px); } .sentiment-card { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; } .llm-card { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; overflow: visible; } /* Engine indicator centred vertically inside Risk card */ .engine-light-card .engine-indicator { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; } /* Sentiment meter centred vertically inside Sentiment card */ .sentiment-card .sentiment-meter { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 120px; } /* LLM Insights: scrollable content area */ .llm-card .llm-info { flex: 1; min-height: 160px; overflow-y: auto; } .llm-loading-pulse { animation: llmPulse 1.4s ease-in-out infinite; } @keyframes llmPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.2; } } /* Headlines: fixed title, scrollable list */ .headlines-card h3 { flex-shrink: 0; } .headlines-card .headlines-list { flex: 1 1 0; overflow-y: auto; padding-right: 0.25rem; min-height: 0; } /* Predicted price: RED for uptrend, GREEN for downtrend (contrarian risk signal) */ #predicted-price.price-up { color: var(--status-red); text-shadow: 0 0 14px var(--status-red-glow); } #predicted-price.price-down { color: var(--status-green); text-shadow: 0 0 14px var(--status-green-glow); } /* LLM price colours */ .llm-price-up { color: var(--status-red); font-weight: 600; } .llm-price-down { color: var(--status-green); font-weight: 600; } .llm-price-flat { color: var(--text-main); font-weight: 600; } /* LLM sub-label colours */ .llm-trend-up { font-size: 0.82em; color: var(--status-red); opacity: 0.85; } .llm-trend-down { font-size: 0.82em; color: var(--status-green); opacity: 0.85; } .llm-trend-flat { font-size: 0.82em; color: var(--text-muted); } /* Five-grade investment signal badges */ .signal-badge { display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-top: 0.5rem; } .signal-strong-buy { background: rgba(16, 185, 129, 0.18); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); } .signal-buy { background: rgba(34, 197, 94, 0.14); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.25); } .signal-hold { background: rgba(156, 163, 175, 0.14); color: #9ca3af; border: 1px solid rgba(156, 163, 175, 0.25); } .signal-sell { background: rgba(239, 68, 68, 0.14); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.25); } .signal-strong-sell { background: rgba(220, 38, 38, 0.18); color: #dc2626; border: 1px solid rgba(220, 38, 38, 0.3); } .prediction-result { position: relative; cursor: help; } .prediction-tooltip { position: absolute; z-index: 200; background: var(--card-bg); border: 1px solid var(--panel-border); border-radius: 12px; padding: 14px 16px; max-width: 380px; min-width: 260px; max-height: 320px; overflow-y: auto; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease; } .prediction-tooltip.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; } .prediction-tooltip::-webkit-scrollbar { width: 4px; } .prediction-tooltip::-webkit-scrollbar-track { background: transparent; } .prediction-tooltip::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 2px; } .prediction-tooltip { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.15) transparent; } .prediction-tooltip .tooltip-model { font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--text-main); } .prediction-tooltip .tooltip-details { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; display: flex; gap: 8px; flex-wrap: wrap; } .prediction-tooltip .tooltip-reasoning { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; border-top: 1px solid var(--panel-border); padding-top: 8px; } .card { padding: 1.5rem; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; } .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); } .card h3 { font-size: 1rem; color: var(--text-muted); font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; } .engine-indicator { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; gap: 1.5rem; } .light-bulb { width: 100px; height: 100px; border-radius: 50%; background: var(--light-bulb-off); transition: all 0.5s ease; } .status-green .light-bulb { background: var(--status-green); box-shadow: 0 0 34px var(--status-green-glow); } .status-yellow .light-bulb { background: var(--status-yellow); box-shadow: 0 0 34px var(--status-yellow-glow); animation: pulseAlert 2s infinite; } .status-red .light-bulb { background: var(--status-red); box-shadow: 0 0 46px var(--status-red-glow); animation: pulseDanger 1s infinite; } @keyframes pulseDanger { 0% { transform: scale(1); box-shadow: 0 0 24px var(--status-red-glow); } 50% { transform: scale(1.04); box-shadow: 0 0 52px var(--status-red-glow); } 100% { transform: scale(1); box-shadow: 0 0 24px var(--status-red-glow); } } @keyframes pulseAlert { 0% { box-shadow: 0 0 20px var(--status-yellow-glow); } 50% { box-shadow: 0 0 40px var(--status-yellow-glow); } 100% { box-shadow: 0 0 20px var(--status-yellow-glow); } } #light-status { font-size: 1.5rem; font-weight: 700; } .status-green #light-status { color: var(--status-green); } .status-yellow #light-status { color: var(--status-yellow); } .status-red #light-status { color: var(--status-red); } .price-info { display: flex; flex-direction: column; gap: 1.5rem; flex: 1; justify-content: center; } .price-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--panel-border); } .price-row.highlight { border-bottom: none; padding-bottom: 0; } .price-row.highlight .value { color: var(--accent-blue); font-size: 2.2rem; text-shadow: 0 0 18px var(--accent-blue-glow); } .price-row .label { color: var(--text-muted); } .price-row .value { font-size: 1.5rem; font-weight: 700; } .trend-badge { margin-top: 1.5rem; padding: 0.75rem; text-align: center; border-radius: 8px; font-weight: 600; background: var(--trend-badge-bg); } .accuracy-row { font-size: 0.82rem; opacity: 0.85; } .accuracy-high { color: var(--status-green); } .accuracy-medium { color: #f59e0b; } .accuracy-low { color: var(--status-red); } .sentiment-meter { text-align: center; margin-bottom: 1.5rem; } .score-display { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; } .score-positive { color: var(--status-green); text-shadow: 0 0 18px var(--status-green-glow); } .score-negative { color: var(--status-red); text-shadow: 0 0 18px var(--status-red-glow); } .score-neutral { color: var(--text-main); } .sentiment-desc { color: var(--text-muted); font-size: 0.95rem; } .headlines-section h4 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; font-weight: 600; } .headlines-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(209,212,220,0.2) transparent; } .headlines-list::-webkit-scrollbar { width: 4px; } .headlines-list::-webkit-scrollbar-track { background: transparent; } .headlines-list::-webkit-scrollbar-thumb { background: rgba(209,212,220,0.2); border-radius: 99px; } .headline-item { padding: 8px 10px; background: var(--headline-bg); border-left: 2px solid var(--accent-blue); border-radius: 0 6px 6px 0; margin-bottom: 5px; display: flex; flex-direction: column; gap: 3px; transition: background 0.15s ease; } .headline-item:hover { background: rgba(107, 138, 176, 0.08); } .headline-item--no-url { border-left-color: rgba(107, 138, 176, 0.3); opacity: 0.72; } .headline-item--geo { border-left-color: var(--status-amber, #ba7517); } .headline-item--macro { border-left-color: var(--status-amber, #ba7517); opacity: 0.92; } .headline-tag { display: inline-block; font-size: 9px; line-height: 1; padding: 2px 5px; border-radius: 3px; background: rgba(186, 117, 23, 0.18); color: #ba7517; white-space: nowrap; margin-left: auto; flex-shrink: 0; align-self: center; } .headlines-scroll-hint { font-size: 9px; color: var(--text-muted); text-align: center; padding: 3px 0 0; margin: 2px 0 0; opacity: 0; transition: opacity 0.2s; pointer-events: none; flex-shrink: 0; line-height: 1; border-top: none; } .headlines-scroll-hint.visible { opacity: 0.6; } .headline-item--empty { font-style: italic; color: var(--text-muted); border-left-color: transparent; opacity: 0.7; } .headline-title { font-size: 0.88rem; font-weight: 500; line-height: 1.38; color: var(--text-main); text-decoration: none; display: block; } a.headline-title:hover { color: var(--accent-blue); } .headline-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .headline-date { font-size: 0.78rem; color: var(--text-muted); flex-shrink: 0; } .headline-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); opacity: 0.5; flex-shrink: 0; } .headline-source { font-size: 0.78rem; color: var(--accent-blue); opacity: 0.8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .headline-source--none { color: var(--text-muted); font-style: italic; } .headlines-list::-webkit-scrollbar { width: 6px; } .headlines-list::-webkit-scrollbar-track { background: var(--scrollbar-track); border-radius: 999px; } .headlines-list::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 999px; } .headlines-list::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); } footer { text-align: center; padding: 2rem; color: var(--text-muted); font-size: 0.85rem; border-top: 1px solid var(--panel-border); margin-top: auto; } footer p { margin-bottom: 0.5rem; } .chart-card { margin-top: 2rem; width: 100%; display: flex; flex-direction: column; } .chart-timeframe-hint { font-size: 0.78rem; color: var(--text-muted); margin: 0 0 0.5rem; } .chart-controls-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 0.7rem; } .chart-timeframes { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; } .chart-forecast-confidence { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; opacity: 0.85; white-space: nowrap; } .timeframe-btn { border: none; background: transparent; color: var(--text-muted); border-radius: 999px; padding: 0.36rem 0.62rem; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.01em; cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease; } .timeframe-btn:hover { color: var(--timeframe-active-text); background: var(--timeframe-hover-bg); } .timeframe-btn.active { color: var(--timeframe-active-text); background: var(--timeframe-active-bg); } .timeframe-btn:focus-visible { outline: none; color: var(--timeframe-active-text); background: var(--timeframe-active-bg); } /* Timeframe button loading pulse */ .timeframe-btn.is-loading { position: relative; color: var(--accent-blue); pointer-events: none; } .timeframe-btn.is-loading::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 14px; height: 2px; background: var(--accent-blue); border-radius: 1px; animation: btnPulse 0.8s ease-in-out infinite; } @keyframes btnPulse { 0%, 100% { opacity: 0.3; width: 10px; } 50% { opacity: 1; width: 18px; } } /* ── Risk Horizon Selector (inside Market Prediction card) ── */ .risk-horizon-selector { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; } .horizon-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; } .horizon-buttons { display: flex; flex-wrap: wrap; gap: 0.3rem; } .horizon-btn { border: 1px solid var(--panel-border); background: transparent; color: var(--text-muted); border-radius: 999px; padding: 0.28rem 0.6rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.01em; cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; white-space: nowrap; } .horizon-btn:hover { color: var(--timeframe-active-text); background: var(--timeframe-hover-bg); border-color: var(--timeframe-active-text); } .horizon-btn.active { color: var(--timeframe-active-text); background: var(--timeframe-active-bg); border-color: var(--timeframe-active-text); } .horizon-btn:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; } .horizon-btn:disabled { opacity: 0.5; cursor: not-allowed; } @media (max-width: 480px) { .horizon-btn { padding: 0.22rem 0.44rem; font-size: 0.7rem; } } #advanced-chart { width: 100%; box-sizing: border-box; } .chart-container { width: 100%; box-sizing: border-box; display: flex; justify-content: center; align-items: center; min-height: 300px; padding: 1rem; background: var(--chart-bg); border-radius: 8px; border: 1px solid var(--chart-border); overflow: visible; min-width: 0; } .chart-container .tv-lightweight-charts { width: 100%; box-sizing: border-box; border-radius: 8px; overflow: visible; } /* Chart loading overlay */ .chart-loading-overlay { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; background: rgba(19, 23, 34, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; } [data-theme="light"] .chart-loading-overlay { background: rgba(248, 249, 250, 0.65); } .chart-loading-overlay.is-active { opacity: 1; pointer-events: auto; } .chart-loading-spinner { width: 32px; height: 32px; border: 3px solid rgba(107, 138, 176, 0.25); border-top-color: var(--accent-blue, #6b8ab0); border-radius: 50%; animation: spin 0.8s linear infinite; } .chart-loading-text { font-size: 0.85rem; font-weight: 600; color: var(--text-muted, #8d95a8); letter-spacing: 0.3px; } /* Prediction panel updating overlay */ .prediction-updating { position: relative; } .prediction-updating::after { content: 'Updating prediction\2026'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(19, 23, 34, 0.7); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); border-radius: inherit; color: var(--accent-blue); font-size: 0.88rem; font-weight: 600; font-family: var(--font-main); z-index: 5; animation: fadeIn 0.15s ease-out; } [data-theme="light"] .prediction-updating::after { background: rgba(255, 255, 255, 0.75); } .chart-placeholder { color: var(--text-muted); font-style: italic; opacity: 0.8; } .feedback-fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 45; border: 1px solid var(--accent-blue); border-radius: 999px; background: var(--nav-link-bg-hover); color: var(--accent-blue); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.01em; padding: 0.58rem 0.9rem; cursor: pointer; box-shadow: var(--shadow-panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; } .feedback-fab:hover { background: var(--accent-blue); color: var(--text-inverse); transform: translateY(-1px); box-shadow: var(--shadow-hover); } .feedback-fab:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-blue-glow), var(--shadow-panel); } .feedback-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); } .feedback-modal-card { width: min(560px, 100%); background: var(--card-bg); border: 1px solid var(--panel-border); border-radius: 16px; box-shadow: var(--shadow-hover); padding: 1.1rem 1.1rem 1rem; } .feedback-modal-card h3 { margin: 0 0 0.8rem; font-size: 1.15rem; color: var(--text-main); } .feedback-textarea { width: 100%; min-height: 140px; resize: vertical; border: 1px solid var(--input-border); border-radius: 12px; background: var(--input-bg); color: var(--text-main); padding: 0.85rem 0.95rem; font-size: 0.95rem; font-family: inherit; line-height: 1.45; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .feedback-textarea::placeholder { color: var(--text-muted); } .feedback-textarea:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 3px var(--accent-blue-glow); } .feedback-modal-actions { margin-top: 0.85rem; display: flex; justify-content: flex-end; gap: 0.6rem; } .feedback-btn { border-radius: 10px; padding: 0.54rem 0.9rem; font-size: 0.9rem; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; } .feedback-btn:hover { transform: translateY(-1px); } .feedback-btn-secondary { background: transparent; color: var(--text-main); border-color: var(--panel-border); } .feedback-btn-secondary:hover { background: var(--nav-link-bg-hover); border-color: var(--accent-blue); } .feedback-btn-primary { background: var(--accent-blue); color: var(--text-inverse); border-color: var(--accent-blue); } .feedback-btn-primary:hover { background: var(--accent-blue-hover); border-color: var(--accent-blue-hover); } /* --- ENHANCED MOBILE RESPONSIVE DESIGN --- */ @media (max-width: 768px) { /* Navbar adjustments */ .top-nav { padding: 0.7rem 0.8rem 0.4rem; } .top-nav-inner { flex-direction: column; align-items: stretch; gap: 0.75rem; } .nav-actions { justify-content: space-between; /* Spread evenly on mobile */ flex-wrap: wrap; } /* Typography & Header scaling */ header { padding: 1.5rem 1rem; /* Reduce vertical padding */ } .logo { font-size: 2.5rem; /* Scale down from 3.5rem */ } .dashboard-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 1.5rem; } .dashboard-header h2 { font-size: 2rem; /* Scale down ticker text */ } /* Search Box */ .search-section { padding: 1.5rem 1rem; width: calc(100% - 2rem); max-width: none; } .search-box { flex-direction: column; } .search-box button { width: 100%; /* Full width tap-target for thumbs */ } /* Layout Grid — single column on mobile */ .dashboard-3col { grid-template-columns: 1fr; grid-template-rows: none; } /* Reset explicit placements so cards stack naturally */ .engine-light-card, .price-card, .headlines-card, .sentiment-card, .llm-card { grid-column: auto; grid-row: auto; } .headlines-card { max-height: none; overflow: visible; } .headlines-card .headlines-list { max-height: 360px; flex: none; } .search-box button { padding: 0.8rem 1.5rem; } } /* ============================================================ Ticker input validation states ============================================================ */ /* -- Input wrapper (positions clear btn + indicator) -- */ .input-wrapper { position: relative; flex: 1; display: flex; } .input-wrapper input { width: 100%; padding-right: 3rem; /* room for clear btn */ } /* -- Clear button (× inside the field) -- Use .search-box .ticker-clear (specificity 0,2,0) to beat .search-box button (0,1,1) which would otherwise apply the "Analyze Risk" button's padding/background/min-width. */ .search-box .ticker-clear { /* Positioning: float inside the input, right edge */ position: absolute; right: 0.625rem; top: 50%; transform: translateY(-50%); /* Size: 20px circle */ width: 20px; height: 20px; min-width: 0; padding: 0; flex: none; /* Appearance: subtle semi-transparent circle */ background: rgba(255, 255, 255, 0.12); border: none; border-radius: 50%; color: rgba(255, 255, 255, 0.55); cursor: pointer; /* Layout: centre the SVG icon */ display: flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; box-shadow: none; } .search-box .ticker-clear:hover { background: rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.9); transform: translateY(-50%) scale(1.1); box-shadow: none; } .search-box .ticker-clear:active { transform: translateY(-50%) scale(0.9); } /* -- Small inline validation indicator (spinner / checkmark) -- */ .ticker-val-indicator { position: absolute; right: 2.2rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; } /* spinning ring while remote validation is running */ .ticker-val-indicator.is-spinning { border: 2px solid var(--accent-blue-glow); border-top-color: var(--accent-blue); border-radius: 50%; animation: spin 0.8s linear infinite; } /* -- Input border states -- */ #ticker-input.ticker-input--error { border-color: var(--status-red); box-shadow: 0 0 0 3px var(--status-red-glow); } #ticker-input.ticker-input--validating { border-color: var(--accent-blue); box-shadow: 0 0 0 3px var(--accent-blue-glow); } #ticker-input.ticker-input--valid { border-color: var(--status-green); box-shadow: 0 0 0 3px var(--status-green-glow); } #ticker-input.ticker-input--warn { border-color: var(--status-yellow); box-shadow: 0 0 0 3px var(--status-yellow-glow); } /* -- Validation hint area below the search box -- */ .validation-hint { margin-top: 0.6rem; text-align: left; } .validation-msg { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 0.4rem; } .validation-msg--error { color: var(--status-red); } .validation-msg--success { color: var(--status-green); } .validation-msg--warn { color: var(--status-yellow); } .validation-msg--info { color: var(--text-muted); } /* -- Suggestion chips -- */ .suggestion-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.25rem; } .suggestion-chip { padding: 0.25rem 0.75rem; border-radius: 999px; border: 1px solid var(--panel-border); background: var(--bg-subtle); color: var(--accent-blue); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: background 0.2s ease, box-shadow 0.2s ease; } .suggestion-chip:hover { background: var(--accent-blue); color: var(--text-inverse); box-shadow: 0 0 0 2px var(--accent-blue-glow); } /* ============================================================ Error banner ============================================================ */ @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideUp { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10px); } } .error-banner { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; max-width: 700px; margin: 0 auto 1.25rem; padding: 0.9rem 1.2rem; border-radius: 12px; background: rgba(182, 78, 90, 0.12); border: 1px solid var(--status-red); color: var(--status-red); opacity: 0; transform: translateY(-10px); transition: opacity 0.28s ease, transform 0.28s ease; } .error-banner.is-visible { opacity: 1; transform: translateY(0); } .error-banner-body { flex: 1; min-width: 0; } .error-banner-text { display: block; font-size: 0.93rem; font-weight: 600; margin-bottom: 0.35rem; } .error-banner-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; } .error-banner-retry { padding: 0.3rem 0.8rem; border-radius: 8px; border: 1px solid var(--status-red); background: transparent; color: var(--status-red); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: background 0.2s ease; } .error-banner-retry:hover { background: var(--status-red); color: var(--text-inverse); } .error-banner-dismiss { background: none; border: none; cursor: pointer; color: var(--status-red); font-size: 1.3rem; line-height: 1; padding: 0.1rem 0.2rem; opacity: 0.7; transition: opacity 0.2s ease; } .error-banner-dismiss:hover { opacity: 1; } /* Yellow / amber — service degradation warnings */ .error-banner[data-banner-type="warning"] { background: rgba(245, 158, 11, 0.10); border-color: var(--status-yellow, #f59e0b); color: var(--status-yellow, #f59e0b); } .error-banner[data-banner-type="warning"] .error-banner-retry { border-color: var(--status-yellow, #f59e0b); color: var(--status-yellow, #f59e0b); } .error-banner[data-banner-type="warning"] .error-banner-retry:hover { background: var(--status-yellow, #f59e0b); color: var(--text-inverse, #fff); } .error-banner[data-banner-type="warning"] .error-banner-dismiss { color: var(--status-yellow, #f59e0b); } /* Gray / muted — rate-limit notices */ .error-banner[data-banner-type="muted"] { background: rgba(120, 120, 140, 0.10); border-color: var(--text-muted); color: var(--text-muted); } .error-banner[data-banner-type="muted"] .error-banner-retry, .error-banner[data-banner-type="muted"] .error-banner-dismiss { border-color: var(--text-muted); color: var(--text-muted); } /* ============================================================ Analysis progress steps ============================================================ */ .analysis-progress { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 0.5rem; max-width: 700px; margin: 0 auto 1.25rem; padding: 0.8rem 1.2rem; border-radius: 12px; background: var(--bg-subtle); border: 1px solid var(--panel-border); } .progress-step { display: flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); transition: color 0.3s ease; } .progress-step + .progress-step::before { content: '→'; color: var(--text-muted); font-size: 0.75rem; margin-right: 0.5rem; } .progress-step.is-done { color: var(--status-green); } .progress-step.is-active { color: var(--accent-blue); font-weight: 700; } .prog-icon { font-size: 0.8rem; } /* ============================================================ Skeleton loader ============================================================ */ @keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } } .skeleton-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 700px; margin: 0 auto 1.5rem; } @media (max-width: 640px) { .skeleton-grid { grid-template-columns: 1fr; } } .skeleton-card { border-radius: 12px; border: 1px solid var(--panel-border); background: var(--card-bg); padding: 1.2rem; min-height: 120px; display: flex; flex-direction: column; gap: 0.75rem; } .skeleton-card--tall { min-height: 180px; } .skeleton-line, .skeleton-block { border-radius: 6px; background: linear-gradient( 90deg, var(--bg-subtle) 25%, var(--panel-border) 50%, var(--bg-subtle) 75% ); background-size: 400px 100%; animation: shimmer 1.4s ease-in-out infinite; } .skeleton-line { height: 14px; width: 55%; } .skeleton-block { height: 48px; } /* ============================================================ Screen-reader only utility ============================================================ */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* ============================================================ Ticker autocomplete dropdown ============================================================ */ .ticker-dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 1000; list-style: none; margin: 0; padding: 4px 0; /* Glass effect — matches the app's dark theme */ background: color-mix(in srgb, var(--panel-bg) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--panel-border); border-radius: 10px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25); max-height: 280px; overflow-y: auto; /* Fade-in when dropdown opens */ animation: dropdownFadeIn 0.15s ease-out; } .ticker-dropdown.hidden { display: none; } @keyframes dropdownFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } } /* Scrollbar styling */ .ticker-dropdown::-webkit-scrollbar { width: 6px; } .ticker-dropdown::-webkit-scrollbar-track { background: transparent; } .ticker-dropdown::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 3px; } .ticker-dropdown-item { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.55rem 0.9rem; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.04); transition: background 0.12s ease; } .ticker-dropdown-item:last-child { border-bottom: none; } .ticker-dropdown-item:hover, .ticker-dropdown-item[aria-selected="true"] { background: rgba(255, 255, 255, 0.08); } .ticker-dropdown-ticker { font-weight: 700; font-size: 0.9rem; color: var(--text-main); min-width: 3.5rem; letter-spacing: 0.02em; flex-shrink: 0; } .ticker-dropdown-name { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* ───────────────────────────────────────────────────── Recommended For You – Stock Recommendations ───────────────────────────────────────────────────── */ .recommended-section { margin-top: 20px; margin-bottom: 24px; } .recommended-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 0 2px; } .rec-title { font-size: 15px; font-weight: 600; color: var(--text-primary, #e8e8ec); letter-spacing: -0.2px; margin: 0; text-transform: none; } .rec-subtitle { font-size: 12px; color: var(--text-muted, #5e5e72); font-weight: 400; display: block; margin-top: 2px; } .rec-nav { display: flex; gap: 6px; } .rec-nav-btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text-secondary, #9a9aad); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; font-family: inherit; transition: all 0.15s ease; padding: 0; } .rec-nav-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); color: var(--text-primary, #e8e8ec); } .rec-nav-btn:disabled { opacity: 0.3; cursor: default; } /* Scroll container */ .rec-scroll-wrapper { position: relative; } .rec-scroll { display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; } .rec-scroll::-webkit-scrollbar { display: none; } /* Individual recommendation card */ .rec-card { flex: 0 0 180px; min-width: 180px; scroll-snap-align: start; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; padding: 14px 16px 12px; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; position: relative; overflow: hidden; } .rec-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background 0.2s ease; } .rec-card:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); transform: translateY(-2px); } .rec-card:hover::before { background: var(--accent, #3b82f6); } .rec-card.rec-positive:hover::before { background: #22c55e; } .rec-card.rec-negative:hover::before { background: #ef4444; } .rec-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; } .rec-ticker { font-size: 14px; font-weight: 700; color: var(--text-primary, #e8e8ec); letter-spacing: -0.3px; } .rec-change-badge { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px; letter-spacing: 0.2px; line-height: 1.4; } .rec-change-badge.rec-badge-positive { background: rgba(34, 197, 94, 0.1); color: #22c55e; } .rec-change-badge.rec-badge-negative { background: rgba(239, 68, 68, 0.1); color: #ef4444; } .rec-change-badge.rec-badge-neutral { background: rgba(245, 158, 11, 0.1); color: #f59e0b; } .rec-name { font-size: 11px; color: var(--text-muted, #5e5e72); margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Sparkline chart area */ .rec-sparkline { width: 100%; height: 40px; margin-bottom: 10px; position: relative; } .rec-sparkline canvas { display: block; width: 100%; height: 100%; } .rec-price-row { display: flex; align-items: baseline; justify-content: space-between; } .rec-price { font-size: 15px; font-weight: 600; color: var(--text-primary, #e8e8ec); } .rec-price-change { font-size: 11px; font-weight: 500; } .rec-price-change.rec-ch-positive { color: #22c55e; } .rec-price-change.rec-ch-negative { color: #ef4444; } .rec-price-change.rec-ch-neutral { color: #f59e0b; } /* Loading skeleton for recommendation cards */ .rec-card-skeleton { flex: 0 0 180px; min-width: 180px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; padding: 14px 16px 12px; pointer-events: none; } .rec-skel-line { height: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.05); animation: rec-skeleton-pulse 1.5s ease-in-out infinite; } .rec-skel-line.w60 { width: 60%; } .rec-skel-line.w40 { width: 40%; margin-top: 6px; } .rec-skel-block { width: 100%; height: 40px; border-radius: 6px; margin: 10px 0; background: rgba(255, 255, 255, 0.03); animation: rec-skeleton-pulse 1.5s ease-in-out infinite; animation-delay: 0.3s; } .rec-skel-price { height: 14px; width: 50%; border-radius: 4px; background: rgba(255, 255, 255, 0.05); animation: rec-skeleton-pulse 1.5s ease-in-out infinite; animation-delay: 0.6s; } @keyframes rec-skeleton-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } /* Light theme overrides */ [data-theme="light"] .rec-card { background: rgba(0, 0, 0, 0.02); border-color: rgba(0, 0, 0, 0.08); } [data-theme="light"] .rec-card:hover { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.12); } [data-theme="light"] .rec-nav-btn { background: rgba(0, 0, 0, 0.03); border-color: rgba(0, 0, 0, 0.1); } [data-theme="light"] .rec-nav-btn:hover:not(:disabled) { background: rgba(0, 0, 0, 0.06); } [data-theme="light"] .rec-title { color: #1a1a2e; } [data-theme="light"] .rec-subtitle { color: #6b7280; } [data-theme="light"] .rec-ticker { color: #111827; } [data-theme="light"] .rec-name { color: #6b7280; } [data-theme="light"] .rec-price { color: #111827; } [data-theme="light"] .rec-price-change.rec-ch-positive { color: #16a34a; } [data-theme="light"] .rec-price-change.rec-ch-negative { color: #dc2626; } [data-theme="light"] .rec-price-change.rec-ch-neutral { color: #d97706; } [data-theme="light"] .rec-change-badge.rec-badge-positive { background: rgba(22, 163, 74, 0.1); color: #16a34a; } [data-theme="light"] .rec-change-badge.rec-badge-negative { background: rgba(220, 38, 38, 0.1); color: #dc2626; } [data-theme="light"] .rec-change-badge.rec-badge-neutral { background: rgba(217, 119, 6, 0.1); color: #d97706; } [data-theme="light"] .rec-nav-btn { color: #4b5563; } [data-theme="light"] .rec-nav-btn:hover:not(:disabled) { color: #111827; } [data-theme="light"] .rec-card-skeleton { background: rgba(0, 0, 0, 0.02); border-color: rgba(0, 0, 0, 0.08); } [data-theme="light"] .rec-skel-line, [data-theme="light"] .rec-skel-price { background: rgba(0, 0, 0, 0.06); } [data-theme="light"] .rec-skel-block { background: rgba(0, 0, 0, 0.03); } /* Responsive */ @media (max-width: 640px) { .rec-card { flex: 0 0 156px; min-width: 156px; padding: 12px 14px 10px; } .rec-card-skeleton { flex: 0 0 156px; min-width: 156px; } .rec-ticker { font-size: 13px; } .rec-price { font-size: 14px; } }