/* CSR235 0.4.9 — readable Black & Gold, a shared C coin and optional motion.
   Font floors are shared with ALL three structural/theme stylesheets.
   No CSS scale / zoom tricks. The app's trading and scheduler code is unchanged. */
:root {
  --ui-min: 16px;
  --text-muted: #bbb7ad;
  --gold-muted: #c1ab7d;
  --coin-cycle: 3.9s;
}
body.mobile-ui { --ui-min: 15px; }
body.desktop-ui { --ui-min: 16px; }
body { font-size: var(--ui-min); line-height: 1.75; }
small, th, .note, .field small, .chart-footnotes { line-height: 1.75; }
.eyebrow, .nav-caption, .dialog-eyebrow, .auth-brand, .hero-tag { letter-spacing: .09em; }
.button { min-height: 46px; line-height: 1.5; }
.button.small { min-height: 42px; line-height: 1.5; }
.button-row, .form-actions { flex-wrap: wrap; }
.button-row .button, .form-actions .button { white-space: normal; }
input,select,textarea { min-height: 48px; line-height: 1.55; }
.field { gap: 9px; }
.field small { margin-top: 1px; }
.check-field, .check-field.field { line-height: 1.85; padding: 16px; }
input[type="checkbox"], .field input[type="checkbox"], .check-field input { width: 22px; min-width: 22px; max-width: 22px; height: 22px; min-height: 22px; flex-basis: 22px; margin-top: 3px; }
.card-heading h2, .order-action-card .card-heading h2 { font-size: 21px; line-height: 1.5; }
.card-heading { flex-wrap: wrap; gap: 14px; }
.card-heading p { margin-top: 6px; }
.table-scroll { max-width: 100%; overflow-x: auto; }
th, td { padding: 16px 20px; }
th { white-space: nowrap; }
.table-foot { flex-wrap: wrap; gap: 8px 20px; padding: 16px 22px; }
.channel i { width: 42px; height: 38px; flex: 0 0 42px; }
.channel small { line-height: 1.6; }
.kpi { min-height: 160px; padding: 22px; }
.kpi-note { margin-top: 12px; line-height: 1.65; }
.kpi-title { margin-bottom: 13px; }
.kpi-value { line-height: 1.3; overflow-wrap: anywhere; }
.quote-strip { flex-wrap: wrap; gap: 10px 26px; }
.quote-strip b { font-size: 18px; }
.card-body p + p { margin-top: 14px; }
.result-item b { overflow-wrap: anywhere; }
.provider-results>div { flex-wrap: wrap; gap: 12px; }
.provider-results small { flex-basis: 100%; }
.market-counts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.market-counts b { font-size: 19px; line-height: 1.5; overflow-wrap: anywhere; }
pre, .mono, code { font-size: var(--ui-min); }
/* Keep navigation usable after the minimum font is raised. */
.shell { grid-template-columns: 284px minmax(0,1fr); }
.sidebar { display: flex; flex-direction: column; padding: 27px 22px 22px; overflow-y: auto; height: 100dvh; }
.sidebar .brand { gap: 14px; margin: 0 0 19px; }
.brand-wordmark { font-size: 28px; min-width: 0; }
.brand-wordmark small { font-size: var(--ui-min); line-height: 1.35; letter-spacing: .07em; margin-top: 8px; max-width: 168px; color: var(--text-muted); }
.sidebar-caption { margin: 0 0 21px; padding: 0 0 20px; line-height: 1.7; }
.nav-caption { margin: 0 10px 18px; gap: 8px; }
.nav-caption span { letter-spacing: 0; }
.sidebar nav { flex-shrink: 0; }
.nav-button { min-height: 55px; padding: 13px 11px; gap: 10px; }
.nav-index { opacity: 1; color: var(--text-muted); }
.sidebar-bottom { position: static; margin-top: auto; padding-top: 22px; flex-shrink: 0; }
.sidebar-bottom small { line-height: 1.8; }
.topbar { height: auto; min-height: 92px; padding: 18px 28px; flex-wrap: wrap; gap: 12px 20px; }
.header-identity { display: flex; align-items: center; gap: 13px; min-width: 0; }
.breadcrumb { line-height: 1.65; }
.breadcrumb span { padding: 0 10px; }
.top-actions { flex-wrap: wrap; gap: 9px 14px; white-space: normal; }
.top-actions select { min-height: 40px; font-size: var(--ui-min); }
.user-pill { padding: 7px 11px; white-space: normal; line-height: 1.5; max-width: 260px; }
.text-button { min-height: 40px; }
.motion-toggle { border: 1px solid var(--border); border-radius: 7px; padding: 6px 10px; color: var(--text-secondary); font-size: var(--ui-min); line-height: 1.5; }
.motion-toggle:hover { border-color: var(--gold-muted); }
.motion-toggle[aria-pressed="true"] { color: var(--gold-light); }
.motion-toggle:disabled { opacity: 1; color: var(--text-muted); border-style: dashed; }
main { padding: 26px 28px 24px; }
.demo-banner { align-items: flex-start; padding: 13px 16px; line-height: 1.75; }
.demo-banner .badge { flex-shrink: 0; }
.page-title { gap: 18px; }
.page-title p { line-height: 1.75; }
.account-toolbar { flex-wrap: wrap; gap: 12px 20px; padding: 18px 20px; }
.account-toolbar select { min-height: 46px; font-size: var(--ui-min); max-width: 100%; }
.account-context { flex: 1 1 250px; line-height: 1.75; }
/* Order date remains the strongest piece of information on the page. */
.order-hero { padding: 32px; gap: 25px; }
.order-hero h2 { font-size: 20px; margin-top: 15px; }
.hero-date { font-size: 56px; line-height: 1.25; }
.hero-date span { display: inline-block; font-size: 18px; }
.hero-meta { min-width: 220px; max-width: 40%; gap: 14px; }
.hero-meta strong, .hero-meta span { line-height: 1.65; }
.history-toolbar { flex-wrap: wrap; padding: 17px 20px; }
.history-controls { flex-wrap: wrap; }
.history-controls input { width: 185px; max-width: 185px; min-height: 44px; font-size: 16px; }
.history-toolbar>select { max-width: 100%; min-height: 44px; font-size: 16px; }
.history-controls .button { min-height: 44px; }
.history-title b { line-height: 1.6; }
.history-title small { margin-top: 4px; }
.chart-range { flex-wrap: wrap; }
.chart-range button { min-height: 42px; padding: 8px 13px; }
.chart-legend { gap: 12px 24px; line-height: 1.7; }
.cash-scale { flex-wrap: wrap; }
.chart-readout { gap: 8px 17px; line-height: 1.8; }
.chart-readout strong { font-size: 18px; }
.chart-window-header { flex-wrap: wrap; gap: 12px; }
.chart-window-header strong { font-size: 20px; line-height: 1.55; }
.chart-window-header small { line-height: 1.7; }
.chart-nav-heading, .chart-page-row { flex-wrap: wrap; gap: 10px; }
.chart-page-row>span { order: 3; flex-basis: 100%; text-align: center; }
.chart-track-dates { line-height: 1.6; }
.chart-scope-note { line-height: 1.8; }
.chart-axis { font-size: var(--ui-min); }
.price-chart svg { display: block; width: 100%; height: auto; }
/* Rounded-square gold coin; lettering is a path inside the local SVG. */
.csr-coin { display: inline-flex; position: relative; width: 46px; height: 46px; flex: 0 0 46px; align-items: center; justify-content: center; vertical-align: middle; isolation: isolate; pointer-events: none; }
.csr-coin>img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; filter: drop-shadow(0 3px 5px #0008); }
.coin-medium { width: 60px; height: 60px; flex-basis: 60px; }
.coin-large { width: 88px; height: 88px; flex-basis: 88px; }
.coin-loader { width: 58px; height: 58px; flex-basis: 58px; }
.csr-coin::after { content: ''; position: absolute; inset: 7% 9% 10%; border-radius: 23%; background: linear-gradient(116deg,transparent 30%,#fff2cf00 40%,#fff9dfb0 49%,#fff2cf18 57%,transparent 65%); background-size: 350% 100%; background-position: 120% 0; opacity: 0; pointer-events: none; }
.coin-spark { position: absolute; width: 11%; height: 11%; color: #fff2c4; background: currentColor; clip-path: polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%); opacity: 0; pointer-events: none; }
.spark-one { top: 15%; right: 16%; }
.spark-two { bottom: 16%; left: 17%; width: 8%; height: 8%; }
@keyframes coin-sweep { 0%,58% { opacity: 0; background-position: 120% 0; } 63% { opacity: .5; } 77% { opacity: .4; background-position: -20% 0; } 81%,100% { opacity: 0; background-position: -20% 0; } }
@keyframes coin-sparkle { 0%,72%,84%,100% { opacity: 0; transform: scale(.65); } 77% { opacity: .75; transform: scale(1); } }
html[data-logo-motion="on"] .csr-coin::after { animation: coin-sweep var(--coin-cycle) ease-in-out infinite; }
html[data-logo-motion="on"] .coin-spark { animation: coin-sparkle var(--coin-cycle) ease-in-out infinite; }
html[data-logo-motion="on"] .spark-two { animation-delay: .4s; }
html[data-logo-hidden="true"] .csr-coin::after, html[data-logo-hidden="true"] .coin-spark { animation-play-state: paused; }
.loading::before { content: none; animation: none; }
.loading { display: flex; align-items: center; justify-content: center; gap: 18px; line-height: 1.85; padding: 38px 22px; }
.loading>span:last-child { max-width: 650px; text-align: left; }
.modal-title-lockup { display: flex; align-items: center; gap: 13px; min-width: 0; }
.modal-title-lockup>div { min-width: 0; }
.modal-header h2 { line-height: 1.5; overflow-wrap: anywhere; }
.dialog-eyebrow { margin-bottom: 5px; }
.modal-close { flex-shrink: 0; width: 42px; height: 42px; }
#modal { width: min(840px,calc(100vw - 36px)); }
.modal-body { padding: 26px; }
.auth-stage { width: min(1220px,100%); grid-template-columns: 1.08fr 1fr; }
.auth-layout { padding: 42px 30px; }
.auth-story { padding: 38px; }
.auth-signature { gap: 18px; }
.auth-signature .brand-wordmark { font-size: 37px; }
.auth-signature .brand-wordmark small { max-width: 270px; font-size: 16px; line-height: 1.6; }
.auth-story-copy { padding: 48px 0; }
.auth-story-copy .eyebrow { letter-spacing: .09em; }
.auth-story h2 { font-size: 41px; }
.auth-story-foot { flex-wrap: wrap; line-height: 1.75; letter-spacing: .05em; }
.auth-attributes { line-height: 1.8; }
.auth-card { padding: 42px 38px 30px; }
.auth-card h1 { font-size: 28px; }
.auth-brand { flex-wrap: wrap; letter-spacing: .08em; }
.auth-card .field input { min-height: 53px; }
.auth-edition { flex-wrap: wrap; }
.auth-motion { margin-top: 18px; display: flex; justify-content: flex-end; }
@media (min-width: 820px) and (max-width: 1250px) {
 .shell { grid-template-columns: 256px minmax(0,1fr); }
 .sidebar { padding-left: 18px; padding-right: 18px; }
 .brand-wordmark { font-size: 25px; }
 .brand-wordmark small { letter-spacing: .025em; }
 .two-col,.profile-grid { grid-template-columns: 1fr; }
 .kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .order-hero { flex-wrap: wrap; }
 .hero-meta { max-width: none; width: 100%; border-left: 0; padding-left: 0; border-top: 1px solid #5e5339; padding-top: 17px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
 .hero-date { font-size: 46px; }
 main { padding: 24px 22px; }
 .topbar { padding: 16px 22px; }
 .user-pill { max-width: none; overflow: visible; white-space: normal; }
}
/* Handheld: floor 15px; inputs remain >=16px to avoid focus zoom. */
.mobile-ui .header-identity { display: none; }
.mobile-ui .topbar { align-items: flex-start; gap: 12px; }
.mobile-ui .mobile-brand { font-size: 29px; }
.mobile-ui .top-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 9px; }
.mobile-ui .top-actions select, .mobile-ui .top-actions .text-button { font-size: var(--ui-min); min-height: 40px; }
.mobile-ui .top-actions select { font-size: 16px; }
.mobile-ui .mobile-nav button { font-size: 15px; min-height: 52px; padding: 12px 13px; }
.mobile-ui .demo-banner { display: block; line-height: 1.8; }
.mobile-ui .demo-banner .badge { margin: 0 8px 6px 0; }
.mobile-ui .page-title { flex-wrap: wrap; align-items: flex-start; }
.mobile-ui .page-title p { max-width: none; }
.mobile-ui .page-title .button { min-height: 44px; }
.mobile-ui .account-toolbar { padding: 14px; }
.mobile-ui .account-toolbar select, .mobile-ui .history-controls input, .mobile-ui .history-toolbar select { font-size: 16px; min-height: 44px; }
.mobile-ui .account-toolbar .button { font-size: 15px; min-height: 44px; }
.mobile-ui .account-context { font-size: 15px; }
.mobile-ui .order-hero { padding: 24px 20px; }
.mobile-ui .order-hero h2 { font-size: 19px; }
.mobile-ui .hero-date { font-size: clamp(33px,9vw,44px); line-height: 1.3; }
.mobile-ui .hero-date span { margin: 7px 0 0; display: block; font-size: 16px; }
.mobile-ui .hero-meta { max-width: none; min-width: 0; padding-left: 0; grid-template-columns: 1fr; }
.mobile-ui .hero-meta strong, .mobile-ui .hero-meta span { font-size: 15px; }
.mobile-ui .kpi { min-height: 150px; padding: 18px 14px; }
.mobile-ui .kpi-value { font-size: clamp(20px,5.5vw,27px); line-height: 1.4; }
.mobile-ui .kpi-title,.mobile-ui .kpi-note,.mobile-ui .kpi-value span { font-size: 15px; }
.mobile-ui .card-heading h2,.mobile-ui .order-action-card .card-heading h2 { font-size: 20px; }
.mobile-ui .card-heading .button { min-height: 42px; }
.mobile-ui .v4-order-tile { column-gap: 14px; row-gap: 6px; }
.mobile-ui .v4-order-tile>div { min-width: 0; }
.mobile-ui .v4-order-tile b { font-size: 24px; }
.mobile-ui .v4-order-tile small,.mobile-ui .v4-order-tile .channel small { font-size: 15px; }
.mobile-ui .chart-range { width: 100%; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.mobile-ui .chart-range button { min-height: 44px; font-size: 15px; padding: 8px 3px; }
.mobile-ui .chart-readout strong { font-size: 17px; }
.mobile-ui .chart-window-header strong { font-size: 19px; }
.mobile-ui .chart-window-header>.button,.mobile-ui .chart-page-row .button { font-size: 15px; min-height: 44px; }
.mobile-ui .chart-nav-heading span { width: 100%; }
.mobile-ui .chart-page-row { justify-content: space-between; }
.mobile-ui .chart-page-row>span { width: 100%; }
.mobile-ui .chart-step { min-width: 42px; }
.mobile-ui .result-grid { grid-template-columns: 1fr; }
.mobile-ui .market-counts { grid-template-columns: 1fr; }
.mobile-ui .market-counts b { font-size: 18px; }
.mobile-ui .form-actions .button { min-height: 48px; }
.mobile-ui .modal-header { gap: 12px; padding: 18px 16px; }
.mobile-ui .modal-title-lockup { gap: 10px; }
.mobile-ui .modal-title-lockup .coin-small { width: 38px; height: 38px; flex-basis: 38px; }
.mobile-ui .modal-header h2 { font-size: 22px; }
.mobile-ui .dialog-eyebrow { font-size: 15px; letter-spacing: .025em; }
.mobile-ui input:not([type="checkbox"]):not([type="range"]),.mobile-ui select,.mobile-ui textarea { font-size: 16px; }
.mobile-ui footer { font-size: 15px; line-height: 1.8; }
@media (max-width: 819px) {
 :root { --ui-min: 15px; }
 .auth-layout { padding: 18px 14px; }
 .auth-stage { display: block; }
 .auth-story { padding: 28px 24px; }
 .auth-signature .coin-large { width: 68px; height: 68px; flex-basis: 68px; }
 .auth-signature .brand-wordmark { font-size: 29px; }
 .auth-signature .brand-wordmark small { font-size: 15px; line-height: 1.4; letter-spacing: .035em; }
 .auth-story-copy { padding: 25px 0 0; }
 .auth-story h2 { font-size: 29px; }
 .auth-card, .mobile-ui .auth-card { padding: 28px 24px; }
 .auth-card h1 { font-size: 25px; }
 .auth-brand { gap: 10px; letter-spacing: .035em; }
 .auth-edition { gap: 8px; }
}
@media (max-width: 370px) {
 .mobile-ui .top-actions { gap: 7px; }
 .motion-toggle { padding: 6px 8px; }
 .mobile-ui .history-controls { gap: 6px; }
 .mobile-ui .kpi { padding: 16px 10px; }
 .mobile-ui .modal-title-lockup .coin-small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
 html[data-logo-motion] .csr-coin::after, html[data-logo-motion] .coin-spark { animation: none !important; opacity: 0; }
}
@media print {
 .motion-toggle { display: none !important; }
 .csr-coin::after,.coin-spark { animation: none !important; display: none; }
 .sidebar { display: none !important; }
 .shell { display: block; }
}

/* 0.4.9 — luminous gold. All effects share the existing browser-local switch. */
.csr-coin { overflow: visible; }
.csr-coin>img { position: relative; z-index: 1; }
.csr-coin::after { z-index: 3; inset: 7% 9% 10%; background: linear-gradient(116deg,transparent 25%,#ffe8a800 35%,#fff9da66 42%,#ffffffed 49%,#ffe3a27a 55%,transparent 68%); background-size: 330% 100%; }
.coin-halo { position: absolute; z-index: 0; inset: -18%; border-radius: 35%; background: radial-gradient(ellipse,#eac66c66 0%,#cc9b3a33 34%,#cfaa560a 57%,transparent 71%); opacity: 0; transform: scale(.84); }
.coin-rim { position: absolute; z-index: 2; inset: 6% 7% 9%; border-radius: 24%; border: 1px solid #fff1b2; box-shadow: 0 0 8px #ffcc6580,inset 0 0 6px #ffda8040; opacity: 0; }
.coin-letter-shine { position: absolute; z-index: 4; inset: 0; -webkit-mask: url('/static/c-shine-mask.svg?v=0.4.9') center/contain no-repeat; mask: url('/static/c-shine-mask.svg?v=0.4.9') center/contain no-repeat; background: linear-gradient(116deg,transparent 20%,#e6b656a6 41%,#fff7daf2 49%,#e6b65699 57%,transparent 76%); background-size: 300% 100%; opacity: 0; }
.coin-spark { z-index: 5; width: 20%; height: 20%; color: #fff9de; filter: drop-shadow(0 0 3px #ffce6d); }
.spark-one { top: 5%; right: 7%; }
.spark-two { bottom: 10%; left: 8%; width: 15%; height: 15%; }
.spark-three { top: 36%; right: 0; width: 11%; height: 11%; }
@keyframes coin-sweep { 0% { opacity: 0; background-position: 120% 0; } 7% { opacity: .95; } 25% { opacity: .85; background-position: -20% 0; } 30%,100% { opacity: 0; background-position: -20% 0; } }
@keyframes coin-sparkle { 0%,32%,100% { opacity: 0; transform: scale(.2) rotate(-18deg); } 13% { opacity: .72; transform: scale(.8) rotate(0); } 21% { opacity: 1; transform: scale(1.25) rotate(12deg); } }
@keyframes coin-halo-pulse { 0%,100% { opacity: .22; transform: scale(.88); } 19% { opacity: .92; transform: scale(1.07); } 48% { opacity: .34; transform: scale(.94); } 72% { opacity: .73; transform: scale(1.02); } }
@keyframes coin-rim-pulse { 0%,100% { opacity: .16; } 20% { opacity: .93; } 48% { opacity: .28; } 73% { opacity: .67; } }
@keyframes coin-c-highlight { 0%,17% { opacity: 0; background-position: 120% 0; } 26% { opacity: .85; } 42% { opacity: .8; background-position: -20% 0; } 48%,100% { opacity: 0; background-position: -20% 0; } }
html[data-logo-motion="on"] .coin-halo { animation: coin-halo-pulse var(--coin-cycle) ease-in-out infinite; }
html[data-logo-motion="on"] .coin-rim { animation: coin-rim-pulse var(--coin-cycle) ease-in-out infinite; }
html[data-logo-motion="on"] .coin-letter-shine { animation: coin-c-highlight var(--coin-cycle) ease-in-out infinite; }
html[data-logo-motion="on"] .spark-two { animation-delay: 1.1s; }
html[data-logo-motion="on"] .spark-three { animation-delay: 2.3s; }
html[data-logo-hidden="true"] .csr-coin::after, html[data-logo-hidden="true"] .csr-coin>span { animation-play-state: paused; }
.auth-story .financial-motto { max-width: 470px; font-size: 46px; line-height: 1.19; letter-spacing: -.025em; overflow-wrap: normal; }
.auth-story .financial-motto em { display: block; margin-top: 9px; }
.mobile-ui .auth-story .financial-motto { font-size: 32px; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
 html[data-logo-motion] .csr-coin::after, html[data-logo-motion] .csr-coin>span { animation: none !important; opacity: 0 !important; }
}
@media print { .csr-coin::after,.csr-coin>span { animation: none !important; display: none; } }

/* The lower chart shares X coordinates/viewport with the price chart, not its Y units. */
.realized-panel { border-top: 1px solid #b699582e; margin: 14px 22px 0; padding: 25px 0 8px; }
.realized-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.realized-heading h3 { font-size: 22px; margin: 0 0 7px; color: #f1e7d1; }
.realized-heading p { font-size: var(--ui-min); margin: 0; color: var(--text-muted); line-height: 1.7; }
.realized-kpi { text-align: right; min-width: 165px; }
.realized-kpi>span { display: block; color: var(--text-muted); font-size: var(--ui-min); }
.realized-kpi>strong { display: block; font-size: 28px; color: #edd29b; font-variant-numeric: tabular-nums; line-height: 1.45; }
.realized-chart { width: calc(100% + 44px); margin-left: -22px; padding: 0 22px; box-sizing: border-box; }
.realized-chart svg { display: block; width: 100%; height: auto; }
.realized-chart .chart-axis { font-size: var(--ui-min); }
.realized-area { fill: #d7b67a; opacity: .085; }
.realized-line { stroke: #e2c084; stroke-width: 2.5; fill: none; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.realized-zero { stroke: #c8c0ad; stroke-dasharray: 4 5; opacity: .58; stroke-width: 1; vector-effect: non-scaling-stroke; }
.realized-day-dot { fill: #d6b475; stroke: #10120f; stroke-width: 1; }
.realized-cursor-point { fill: #f5dfad; stroke: #121410; stroke-width: 2; }
.realized-readout { margin: 0; padding: 14px 0; border-top: 1px solid #c0a4681f; font-size: var(--ui-min); }
.realized-panel .realized-positive { color: #eed195; }
.realized-panel .realized-negative { color: #f4a3a1; }
.realized-panel .realized-neutral { color: #ddd7c8; }
.realized-footnote { color: var(--text-muted); font-size: var(--ui-min); line-height: 1.8; margin: 0; }
.mobile-ui .realized-panel { margin-left: 14px; margin-right: 14px; padding-top: 20px; }
.mobile-ui .realized-chart { width: calc(100% + 28px); margin-left: -14px; padding-left: 14px; padding-right: 14px; }
.mobile-ui .realized-heading { gap: 14px; }
.mobile-ui .realized-heading h3 { font-size: 21px; }
.mobile-ui .realized-kpi { text-align: left; }
.mobile-ui .realized-kpi>strong { font-size: 27px; }
@media print { .realized-panel { break-inside: avoid; } .realized-line { stroke: #806521; } .realized-zero { stroke: #888; } }
.realized-chart { padding-left: 20px; padding-right: 20px; }
.mobile-ui .realized-chart { padding-left: 4px; padding-right: 4px; }
.realized-loss-area { fill: #de8585; }
.realized-loss-line { stroke: #eca1a1; }
.realized-chart svg { touch-action: pan-y; }
.realized-panel .realized-readout { margin: 0 0 12px; padding: 12px 14px; }

/* v0.4.9: a shorter, optional 4.5-second jewelry glint. No page-wide flashes. */
.spark-four { bottom: 4%; right: 24%; width: 12%; height: 12%; }
html[data-logo-motion="on"] .spark-four { animation-delay: 3.45s; }
.coin-rim { box-shadow: 0 0 10px #ffcc6590,inset 0 0 7px #ffda8050; }
.coin-halo { background: radial-gradient(ellipse,#eac66c77 0%,#cc9b3a3b 34%,#cfaa5610 57%,transparent 71%); }
