/* strxbullion audit (2).pdf: compact quote strip across shared page layouts. */
html[data-theme] .app-shell .app-topbar {
  width:calc(100% - 40px);max-width:1200px;margin-inline:auto;
  height:30px;min-height:0;padding:3px 16px;
}
.app-topbar .ticker {height:22px;line-height:22px}
.app-topbar .ticker-track {gap:24px;padding-right:24px}
.app-topbar .ticker-chip {font-family:var(--font-body,Arial,sans-serif);font-size:12px;line-height:20px}
.starxbullion-insight-heading button:disabled {cursor:wait;opacity:.7}
.starxbullion-platform-notices {margin-top:28px;padding-top:24px;border-top:1px solid var(--border)}
.starxbullion-platform-notices h3 {font-size:17px;margin:0 0 8px;color:var(--text)}
.starxbullion-platform-notices article+article {margin-top:24px}
.starxbullion-platform-notices p {margin:0;font-size:15px;line-height:1.75;color:var(--muted)}
.starxbullion-platform-notices a {color:var(--accent);text-underline-offset:3px}
.rd-blog-link {display:flex;flex-direction:column;height:100%;color:var(--text);text-decoration:none;border-radius:12px}
html[data-theme] .rd-more-page .rd-guide-grid article>.rd-blog-link {margin:0;padding:0;font-weight:400;color:var(--text)}
.rd-blog-link>.starxbullion-link-icon,.rd-blog-back>.starxbullion-link-icon {display:none}
.rd-blog-link:hover h2,.rd-blog-link:hover .rd-blog-read {color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.rd-blog-link:focus-visible {outline:3px solid var(--accent);outline-offset:4px}
.rd-blog-read {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin-top:auto;padding:14px 0 6px;color:var(--accent);font-size:15px;font-weight:700}
html[data-theme] .starxbullion-blog-article.rd-interior {max-width:900px;padding-bottom:64px}
html[data-theme] .starxbullion-blog-article.rd-interior>.page-head {text-align:left;padding-top:36px;margin-bottom:28px}
.starxbullion-blog-article .rd-blog-image {margin:0 0 32px}
.starxbullion-blog-prose {max-width:70ch;margin-inline:auto}
html[data-theme] .starxbullion-blog-prose h2 {font-size:25px;line-height:1.4;margin:32px 0 12px;color:var(--text)}
html[data-theme] .starxbullion-blog-prose p {font-size:17px;line-height:1.85;color:var(--text);margin-bottom:20px}
.starxbullion-blog-article .rd-blog-back {display:inline-flex;align-items:center;min-height:44px;margin-bottom:8px;color:var(--accent)}
.starxbullion-blog-actions {display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
@media(max-width:600px){
  html[data-theme] .app-shell .app-topbar {padding-inline:16px}
  html[data-theme] .starxbullion-blog-prose p {font-size:16px}
}

/* strxbullion audit (4).pdf, 28 November 2026. */

/* Point 3: TDS rows become stacked cards on phones, so no column is clipped. */
@media(max-width:600px){
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-scroll{overflow:visible}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-scroll::before{display:none}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table{display:block;width:100%;min-width:0;border:0}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table>tbody{display:grid;gap:16px}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table>tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px;align-items:end;padding:18px 16px;text-align:left;border:1px solid var(--border-strong);border-radius:12px;background:var(--bg-soft)}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table>tbody>tr>td{display:block;min-width:0;padding:0;border:0;background:none;text-align:left}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table>tbody>tr>td[data-label]::before{content:attr(data-label);display:block;margin-bottom:6px;color:var(--muted);font-size:13px;font-weight:600;line-height:1.4}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table>tbody>tr>td:nth-child(3){grid-column:1/-1}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table input{width:100%;min-width:0;max-width:none;min-height:48px;box-sizing:border-box;font-size:16px}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table .starxbullion-tax-row-amount{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table .starxbullion-tax-row-option{justify-self:end}
  html[data-theme] .starxbullion-tax-tds-card .starxbullion-tax-tds-table .row-remove{width:44px;height:44px}
}

/* Points 2 and 6: Gold Trend card. Legend and quote grid share one left edge. */
@media(max-width:620px){
  html[data-theme] .starxbullion-gold-pie{width:100%;max-width:none;margin:0}
  html[data-theme] .starxbullion-gold-pie-legend{width:100%}
}
/* Floating Back to top lines up with the WhatsApp button instead of sitting 4px off. */
@media(max-width:575px){
  body:not(.starx-live-page) .rd-back-top{right:calc(12px + env(safe-area-inset-right));bottom:calc(76px + env(safe-area-inset-bottom))}
}

/* Point 4: Live Rates Buy and Sell values. */
@keyframes starx-row-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes starx-price-sheen{0%,62%{transform:translateX(-130%)}100%{transform:translateX(130%)}}
@keyframes starx-live-dot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
.starx-live-page .rates-table tbody>tr.product-row{animation:starx-row-in .55s ease-out backwards}
.starx-live-page .rates-table tbody>tr.product-row:nth-child(2){animation-delay:.07s}
.starx-live-page .rates-table tbody>tr.product-row:nth-child(3){animation-delay:.14s}
.starx-live-page .rates-table tbody>tr.product-row:nth-child(4){animation-delay:.21s}
.starx-live-page .rates-table tbody>tr.product-row:nth-child(5){animation-delay:.28s}
.starx-live-page .rates-table tbody>tr.product-row:nth-child(n+6){animation-delay:.35s}
html[data-theme] .starx-live-page .buy-price,html[data-theme] .starx-live-page .sell-price{position:relative;overflow:hidden;border-radius:10px;transition:color .2s ease,background-color .2s ease,box-shadow .7s ease,transform .25s ease}
html[data-theme] .starx-live-page .buy-price{background-image:linear-gradient(180deg,transparent 45%,#22a05a1f)}
html[data-theme] .starx-live-page .sell-price{background-image:linear-gradient(180deg,transparent 45%,#d69b2929)}
.starx-live-page .buy-price::after,.starx-live-page .sell-price::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#ffffff2e 50%,transparent 65%);transform:translateX(-130%);animation:starx-price-sheen 6s ease-in-out infinite}
.starx-live-page .rates-table tbody>tr:nth-child(2) .buy-price::after,.starx-live-page .rates-table tbody>tr:nth-child(2) .sell-price::after{animation-delay:.8s}
.starx-live-page .rates-table tbody>tr:nth-child(3) .buy-price::after,.starx-live-page .rates-table tbody>tr:nth-child(3) .sell-price::after{animation-delay:1.6s}
.starx-live-page .rates-table tbody>tr:nth-child(4) .buy-price::after,.starx-live-page .rates-table tbody>tr:nth-child(4) .sell-price::after{animation-delay:2.4s}
.starx-live-page .rates-table tbody>tr:nth-child(n+5) .buy-price::after,.starx-live-page .rates-table tbody>tr:nth-child(n+5) .sell-price::after{animation-delay:3.2s}
.starx-live-page .rates-table tbody>tr:hover .buy-price,.starx-live-page .rates-table tbody>tr:hover .sell-price{transform:scale(1.04)}
html[data-theme] .starx-live-page .rates-table .buy-price.is-up,html[data-theme] .starx-live-page .rates-table .sell-price.is-up{box-shadow:0 0 0 3px #15944759,0 0 18px #15944766}
html[data-theme] .starx-live-page .rates-table .buy-price.is-down,html[data-theme] .starx-live-page .rates-table .sell-price.is-down{box-shadow:0 0 0 3px #c94b4059,0 0 18px #c94b4066}
.starx-live-page .rates-note>span:last-child::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#22a05a;animation:starx-live-dot 1.6s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){
  .starx-live-page .rates-table tbody>tr.product-row,.starx-live-page .buy-price::after,.starx-live-page .sell-price::after,.starx-live-page .rates-note>span:last-child::before{animation:none}
  .starx-live-page .rates-table tbody>tr:hover .buy-price,.starx-live-page .rates-table tbody>tr:hover .sell-price{transform:none}
}
.starx-live-page.starxbullion-motion-off .rates-table tbody>tr.product-row,.starx-live-page.starxbullion-motion-off .buy-price::after,.starx-live-page.starxbullion-motion-off .sell-price::after,.starx-live-page.starxbullion-motion-off .rates-note>span:last-child::before{animation:none}
.starx-live-page.starxbullion-motion-off .rates-table tbody>tr:hover .buy-price,.starx-live-page.starxbullion-motion-off .rates-table tbody>tr:hover .sell-price{transform:none}
