/* Waleed Trade V4.21.21 — Professional Market-Impact News Center */
.dashboard-news-ticker{
  grid-column:1/-1;min-height:54px;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(168px,195px) auto;
  align-items:center;gap:10px;padding:0 11px;cursor:pointer;overflow:hidden;border-color:rgba(77,180,255,.18);
  background:linear-gradient(90deg,rgba(9,20,34,.96),rgba(10,24,40,.91));
}
.news-ticker-label{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#e5f3fc;font-size:10.5px;font-weight:950;padding-inline-end:5px}
.news-live-dot{width:7px;height:7px;border-radius:50%;background:#2bdc88;box-shadow:0 0 0 4px rgba(43,220,136,.1);animation:newsPulse 1.8s ease-out infinite}
@keyframes newsPulse{70%{box-shadow:0 0 0 7px rgba(43,220,136,0)}100%{box-shadow:0 0 0 0 rgba(43,220,136,0)}}
.news-ticker-viewport{overflow:hidden;min-width:0;direction:ltr;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.news-ticker-track{width:100%;overflow:hidden;min-width:0}
.ticker-flow{display:flex;align-items:center;width:max-content;animation:newsTickerUnified var(--ticker-duration,42s) linear infinite;will-change:transform}
.ticker-group{display:flex;align-items:center;gap:13px;padding-inline:12px;flex:0 0 auto}
.news-ticker-viewport:hover .ticker-flow{animation-play-state:paused}
@keyframes newsTickerUnified{from{transform:translateX(0)}to{transform:translateX(-33.333333%)}}
.news-ticker-item{display:flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap;direction:rtl;padding:6px 10px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:linear-gradient(135deg,rgba(255,255,255,.052),rgba(255,255,255,.014))}
.news-ticker-item b{color:#f4f8fb;font-size:11px;font-weight:850}.news-ticker-item>strong{font-size:9px;padding:3px 7px;border-radius:999px;color:#91d1ff;background:rgba(52,156,255,.11)}
.news-ticker-item>strong.market-tag{color:#d5e9f8;background:rgba(255,255,255,.055)}
.news-ticker-item em{font-style:normal;font-size:9px;padding:3px 7px;border-radius:999px;font-weight:900}
.news-ticker-item.positive{border-color:rgba(41,216,138,.14)}.news-ticker-item.positive em{color:#41e59a;background:rgba(29,191,122,.12)}
.news-ticker-item.negative{border-color:rgba(255,82,111,.14)}.news-ticker-item.negative em{color:#ff7188;background:rgba(255,72,103,.12)}
.news-ticker-item.caution{border-color:rgba(255,173,53,.14)}.news-ticker-item.caution em{color:#ffbd59;background:rgba(255,165,36,.12)}
.news-ticker-item.neutral{border-color:rgba(88,185,255,.14)}.news-ticker-item.neutral em{color:#8bcfff;background:rgba(52,156,255,.12)}
.news-ticker-item small{color:#8ca1af;font-size:9px}.news-ticker-item u{text-decoration:none;color:#edd37b;font-size:9px;font-weight:900}.ticker-separator{color:#3e647d}
.news-ticker-open{border:0;background:rgba(255,255,255,.055);color:#dbeeff;border-radius:8px;width:28px;height:28px;font-size:18px;display:grid;place-items:center}
.dashboard-mood{height:40px;display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:8px;padding:4px 9px;border-radius:11px;white-space:nowrap;border:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.018));box-shadow:inset 0 1px rgba(255,255,255,.05)}
.dashboard-mood-chart{display:block;width:45px;height:23px}.dashboard-mood-chart svg{width:100%;height:100%;overflow:visible}.dashboard-mood-chart .mood-axis{stroke:rgba(255,255,255,.12);stroke-width:1}.dashboard-mood-chart .mood-line{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.dashboard-mood-chart .mood-dot{fill:currentColor;filter:drop-shadow(0 0 4px currentColor)}
.dashboard-mood-copy{display:flex;flex-direction:column;line-height:1.1}.dashboard-mood-copy small{font-size:8px;color:#9fb3c2}.dashboard-mood-copy b{font-size:12px}.dashboard-mood>em{font-size:10px;font-style:normal;font-weight:950}
.dashboard-mood.positive{color:#39df94;border-color:rgba(57,223,148,.24);background:linear-gradient(135deg,rgba(31,189,120,.16),rgba(20,88,63,.06))}.dashboard-mood.negative{color:#ff687f;border-color:rgba(255,104,127,.24);background:linear-gradient(135deg,rgba(222,55,82,.16),rgba(93,25,42,.06))}.dashboard-mood.caution{color:#ffba4f;border-color:rgba(255,186,79,.24);background:linear-gradient(135deg,rgba(213,139,34,.16),rgba(87,59,20,.06))}.dashboard-mood.neutral{color:#81caff;border-color:rgba(129,202,255,.22);background:linear-gradient(135deg,rgba(50,142,213,.14),rgba(22,58,91,.06))}

.news-page{padding-bottom:40px}.news-page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:11px;padding:0 2px}.news-page-head h2{font-size:24px;margin:0;color:#edf7fd}.news-head-actions{display:flex;align-items:center;gap:10px}.news-head-actions span{font-size:10px;color:var(--muted)}.news-head-actions button{border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text);border-radius:9px;padding:8px 12px;font-weight:850}
.news-market-mood{display:grid;grid-template-columns:minmax(230px,1fr) minmax(280px,1.25fr) 115px;grid-template-areas:"stats main visual";align-items:center;gap:18px;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.012));margin-bottom:12px;overflow:hidden;position:relative;box-shadow:inset 0 1px rgba(255,255,255,.045)}
.news-market-mood:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.34;background:radial-gradient(circle at 48% 40%,currentColor 0,transparent 44%)}
.news-market-mood.positive{color:#38df94;border-color:rgba(56,223,148,.24)}.news-market-mood.negative{color:#ff667f;border-color:rgba(255,102,127,.24)}.news-market-mood.caution{color:#ffb84b;border-color:rgba(255,184,75,.24)}.news-market-mood.neutral{color:#85caff;border-color:rgba(133,202,255,.22)}
.mood-visual{grid-area:visual;position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px}.mood-visual-icon{width:92px;height:50px;border:1px solid color-mix(in srgb,currentColor 28%,transparent);border-radius:13px;padding:7px;background:color-mix(in srgb,currentColor 8%,transparent)}.mood-visual-icon svg{width:100%;height:100%;overflow:visible}.mood-visual-icon .mood-axis{stroke:rgba(255,255,255,.16);stroke-width:1}.mood-visual-icon .mood-line{fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.mood-visual-icon .mood-dot{fill:currentColor;filter:drop-shadow(0 0 6px currentColor)}.mood-visual>span{font-size:9px;color:#d9e7ef;font-weight:900}
.mood-main{grid-area:main;position:relative;z-index:1;text-align:center;display:flex;flex-direction:column;align-items:center}.mood-main>small{font-size:9px;color:#9eb2c1;font-weight:850}.mood-main>strong{font-size:29px;line-height:1.05;margin-top:3px;text-shadow:0 0 18px color-mix(in srgb,currentColor 35%,transparent)}.mood-main>p{font-size:11px;color:#c0d0da;margin:7px 0 0;line-height:1.55}.mood-main>em{margin-top:7px;font-size:9px;font-style:normal;padding:4px 8px;border-radius:999px;color:#dbe8ef;background:rgba(255,255,255,.055)}
.mood-stats{grid-area:stats;position:relative;z-index:1;display:grid;gap:9px}.mood-indices{display:flex;gap:7px;flex-wrap:wrap}.mood-indices>span{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:74px;padding:6px 8px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(255,255,255,.025)}.mood-indices b{font-size:9px;color:#cfdee8}.mood-indices em{font-size:10px;font-style:normal;font-weight:950}.up{color:#42e09a!important}.down{color:#ff6a80!important}.mood-summary-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.mood-summary-stats>span{padding:6px 7px;border-radius:9px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.055);display:flex;align-items:center;justify-content:space-between;gap:5px}.mood-summary-stats small{font-size:8px;color:#93a8b7}.mood-summary-stats b{font-size:9.5px;color:#e5eff5}
.news-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:11px 0}.news-tabs,.news-strength-filters{display:flex;gap:7px}.news-tabs button,.news-strength-filters button{border:1px solid var(--line);background:rgba(255,255,255,.025);color:var(--muted);padding:8px 12px;border-radius:9px;font-weight:850}.news-tabs button.active,.news-strength-filters button.active{color:#fff;background:rgba(24,145,255,.13);border-color:rgba(24,145,255,.35)}.news-tabs span{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.07);font-size:9px;margin-inline-start:5px}.news-period-chip{font-size:9px;color:#91a9b8;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:rgba(255,255,255,.02)}
.news-panel{display:none}.news-panel.active{display:block}.news-list{display:grid;gap:9px}.news-card{position:relative;display:grid;grid-template-columns:5px minmax(0,1fr) minmax(195px,225px);gap:13px;align-items:stretch;padding:12px 13px 12px 9px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(135deg,rgba(255,255,255,.032),rgba(255,255,255,.012));transition:background .18s ease,border-color .18s ease}.news-card:hover{background:linear-gradient(135deg,rgba(255,255,255,.052),rgba(255,255,255,.018))}.news-card .impact-bar{border-radius:99px;background:#6c8598}.news-card.expected-positive .impact-bar{background:#28d88a;box-shadow:0 0 12px rgba(40,216,138,.25)}.news-card.expected-negative .impact-bar{background:#ff526f;box-shadow:0 0 12px rgba(255,82,111,.24)}.news-card.expected-caution .impact-bar{background:#ffad35;box-shadow:0 0 12px rgba(255,173,53,.22)}.news-card.expected-neutral .impact-bar{background:#58b9ff}.news-card-main{min-width:0}.news-card-top{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:6px}.news-symbol,.news-scope,.news-kind,.news-strength,.news-impact,.news-result-status{font-size:9px;border-radius:999px;padding:3px 7px;background:rgba(255,255,255,.05);color:#a9bdcb}.news-symbol{color:#8bd0ff;background:rgba(34,151,255,.1);font-weight:950}.news-scope{color:#d4e5ef}.news-strength.strong{color:#ffd16a;background:rgba(255,180,40,.12)}.news-strength.medium{color:#b8c9d4}.news-impact.positive{color:#41e59a}.news-impact.negative{color:#ff7188}.news-impact.caution{color:#ffbd59}.news-impact.neutral{color:#8bcfff}.news-result-status.done{color:#eed77c;background:rgba(218,181,69,.11);font-weight:900}.news-card h3{font-size:14px;line-height:1.58;margin:0;color:#edf6fb;font-weight:900}.news-card h3 a{color:inherit;text-decoration:none}.news-card h3 a:hover{text-decoration:underline;text-decoration-color:rgba(255,255,255,.28)}.news-card p{font-size:11px;line-height:1.65;color:#9fb3c0;margin:4px 0 0}.news-card-meta{display:flex;gap:12px;align-items:center;margin-top:8px;color:#7890a0;font-size:9px}
.news-card-result{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px;text-align:right;border-right:1px solid rgba(255,255,255,.06);padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.018)}.actual-result-head{display:flex;flex-direction:column;gap:4px}.actual-result-head>span{font-size:9px;color:#92a8b7}.actual-result-head>b{display:flex;align-items:center;gap:7px;font-size:13px}.actual-result-head i{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;font-style:normal;background:rgba(255,255,255,.06)}.actual-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.actual-result-grid>div{display:flex;flex-direction:column;gap:2px;padding:6px 7px;border-radius:8px;border:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.02)}.actual-result-grid span{font-size:8px;color:#879dab}.actual-result-grid strong{font-size:10px}.news-card-result>small{font-size:8.5px;color:#8197a5;line-height:1.45}.news-card-result.actual-positive{border-color:rgba(56,223,148,.18);background:linear-gradient(135deg,rgba(32,189,119,.09),rgba(255,255,255,.012))}.news-card-result.actual-positive .actual-result-head>b,.news-card-result.actual-positive .actual-result-grid strong{color:#40e299}.news-card-result.actual-negative{border-color:rgba(255,102,127,.18);background:linear-gradient(135deg,rgba(222,55,82,.09),rgba(255,255,255,.012))}.news-card-result.actual-negative .actual-result-head>b,.news-card-result.actual-negative .actual-result-grid strong{color:#ff6b82}.news-card-result.actual-caution{border-color:rgba(255,184,75,.18);background:linear-gradient(135deg,rgba(213,139,34,.09),rgba(255,255,255,.012))}.news-card-result.actual-caution .actual-result-head>b,.news-card-result.actual-caution .actual-result-grid strong{color:#ffbb50}.news-card-result.actual-neutral .actual-result-head>b,.news-card-result.actual-neutral .actual-result-grid strong{color:#8bcfff}.news-empty{padding:30px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}
@media(max-width:1040px){.dashboard-news-ticker{grid-template-columns:auto minmax(0,1fr) 155px}.news-ticker-open{display:none}.news-market-mood{grid-template-columns:minmax(210px,1fr) minmax(240px,1.1fr) 100px}.news-card{grid-template-columns:4px minmax(0,1fr) minmax(180px,205px)}}
@media(max-width:820px){.dashboard-news-ticker{grid-template-columns:auto minmax(0,1fr) 135px;gap:7px}.dashboard-mood{grid-template-columns:34px 1fr;padding:4px 7px}.dashboard-mood-chart{width:34px}.dashboard-mood>em{display:none}.news-market-mood{grid-template-columns:1fr 95px;grid-template-areas:"main visual" "stats stats"}.mood-stats{margin-top:2px}.news-card{grid-template-columns:4px minmax(0,1fr)}.news-card-result{grid-column:2;border-right:0;border-top:1px solid rgba(255,255,255,.06)}.news-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.dashboard-news-ticker{grid-template-columns:auto minmax(0,1fr) 118px;padding:0 8px}.news-ticker-label b{font-size:9px}.dashboard-mood{height:36px;grid-template-columns:1fr;text-align:center}.dashboard-mood-chart{display:none}.dashboard-mood-copy small{font-size:7px}.dashboard-mood-copy b{font-size:10px}.news-ticker-item small{display:none}.news-page-head{align-items:flex-start;flex-direction:column}.news-tabs,.news-strength-filters{overflow:auto;max-width:100%}.news-tabs button,.news-strength-filters button{white-space:nowrap}.news-market-mood{grid-template-columns:1fr;grid-template-areas:"visual" "main" "stats"}.mood-main>strong{font-size:25px}.mood-summary-stats{grid-template-columns:repeat(3,1fr)}.news-card h3{font-size:13px}.news-card p{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){.ticker-flow,.news-live-dot{animation:none!important}.news-ticker-viewport{overflow:auto}}
