/* Shared by dashboard and demo-trade. Single source for card backgrounds. */
:root{--ih-card-surface:radial-gradient(circle at 88% 5%,rgba(46,169,201,.18),transparent 28%),radial-gradient(circle at 5% 100%,rgba(230,156,77,.13),transparent 32%),linear-gradient(145deg,#102b41 0%,#071c2d 54%,#04131f 100%)}
.card,.ih-asset-talk,.panel,.account,.holding-group,.pnl-overview,.notice{background:var(--ih-card-surface)!important;background-size:165% 165%!important;background-position:50% 50%!important}
.ih-asset-talk .at-bubble,.ih-asset-talk .mask .at-bubble{background:var(--ih-card-surface)!important;background-size:165% 165%!important;background-position:50% 50%!important}

/* Match the index cards rainbow top edge on the market comic. */
.ih-asset-talk{position:relative;isolation:isolate;overflow:hidden}
.ih-asset-talk:before{content:'';position:absolute;z-index:2;left:0;right:0;top:0;height:4px;pointer-events:none;background-image:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.15) 18%,#fff 48%,rgba(255,255,255,.24) 70%,transparent 100%),linear-gradient(90deg,#ff5b6e 0%,#ff9d45 15%,#ffe064 29%,#65e2a5 43%,#51d6e7 57%,#4f96ff 71%,#9d72ff 85%,#f06ed4 100%);background-size:34% 100%,220% 100%;background-repeat:no-repeat,repeat-x;background-position:-55% 0,0% 0;box-shadow:0 0 10px rgba(92,215,238,.48),0 0 18px rgba(241,117,203,.2);animation:demoRainbowRail 8s linear infinite}
@keyframes demoRainbowRail{from{background-position:-55% 0,0% 0}to{background-position:155% 0,220% 0}}
@media(prefers-reduced-motion:reduce){.ih-asset-talk:before{animation:none;background-position:50% 0,45% 0}}

/* User requirement: identical SOLID card backgrounds, no gradient or light overlays. */
:root{--ih-card-surface:#071c2d;--dashboard-surface:#071c2d}
.card,.ih-asset-talk,.panel,.account,.holding-group,.pnl-overview,.notice,.ih-asset-talk .at-bubble,.ih-asset-talk .mask .at-bubble,.holding-heading,.position-total,.table-wrap,thead,.market-pnl-comparison tfoot{background:#071c2d!important;background-image:none!important}
.card:after,.ih-asset-talk:after,.panel:after,.account:after,.holding-group:after,.pnl-overview:after{content:none!important;background:none!important;animation:none!important}

.ih-asset-talk{font-size:18px!important}.ih-asset-talk h2{font-size:24px!important}.ih-asset-talk .at-bubble,.ih-asset-talk .at-bubble p,.ih-asset-talk .at-news{font-size:18px!important}.ih-asset-talk .at-name,.ih-asset-talk .at-date{font-size:13px!important}
