.market-metals { grid-column: 1 / -1; min-width: 0; }
.market-metals .section-heading { align-items: center; }
.market-metals .section-heading button { margin: 0; }
.metals-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.metals-toolbar label { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 14px; }
.metals-toolbar select { width: auto; max-width: 100%; margin: 0; padding: 8px; border: 1px solid var(--border); border-radius: 9px; background: var(--card); color: var(--text); font: inherit; }
#metals-status { margin-bottom: 12px; overflow-wrap: anywhere; }
.metals-list { display: block; min-width: 0; }
.market-metals .table-scroll { margin: 8px 0 12px; }
.market-metals .table-scroll table.readable-table { table-layout: fixed; font-size: 15px; }
.market-metals .table-scroll table.readable-table :is(th, td) { padding: 9px 6px; text-align: right; }
.market-metals .table-scroll table.readable-table tr > :first-child { width: 28%; text-align: left; }
.market-metals .table-scroll table.readable-table tr > :last-child { width: 28%; }
.market-metals .metal-entry { width: auto; min-height: 44px; font-weight: 600; text-decoration: none; }
.metal-cell-price, .metal-cell-change { font-variant-numeric: tabular-nums; }
.metal-cell-price small, .metal-cell-change small { display: block; font-size: .8em; line-height: 1.5; font-weight: 400; }
.metals-ranking-title { margin: 20px 0 4px; color: var(--accent); font-size: 1.05em; }
#metals-ranking-status { font-size: .85em; line-height: 1.65; overflow-wrap: anywhere; }
html.elder .market-metals .metal-entry { min-height: 52px; }
.metal-card { display: block; width: 100%; min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 16px; text-align: left; color: var(--text); background: linear-gradient(135deg, var(--card), var(--bg)); font: inherit; line-height: 1.65; overflow-wrap: anywhere; }
.metal-card:hover { border-color: var(--accent); }
.metal-card:focus-visible, .metals-toolbar select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.metal-card-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.metal-card-head strong { font-size: 18px; }
.metal-card-head span { font-size: 13px; }
.metal-entry { width: 100%; padding: 0; border: 0; color: var(--accent); background: transparent; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.metal-quote { min-width: 0; line-height: 1.7; overflow-wrap: anywhere; }
.metal-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 10px 0 4px; }
.metal-price strong { font-size: 25px; font-variant-numeric: tabular-nums; }
.metal-quote p, .metal-card small { display: block; margin-top: 6px; font-size: 13px; }
.metal-stale { color: var(--accent); }
.metal-trend { margin: 12px 0; min-width: 0; }
.metal-trend svg { display: block; width: 100%; height: auto; color: var(--accent); }
.metal-trend svg text { fill: var(--dim); font: 14px sans-serif; }
.metal-quote .data-scroll { font-size: 14px; }
.metal-history-note, .metal-history-empty { font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.metal-history-empty { padding: 16px 0; }
.metal-research-body { margin: 16px 0; }
.metal-continue { width: 100%; margin-top: 12px; }
html.elder .metal-card-head strong { font-size: 22px; }
html.elder .metal-trend svg text { font-size: 16px; }
html.elder .metal-quote p, html.elder .metal-card small, html.elder .metal-history-note, html.elder .metal-history-empty, html.elder .metals-toolbar label { font-size: 17px; }
