/* The StarX gold and silver identity on ivory/white surfaces. */
:root,html[data-theme],html[data-theme="light"]{
  --bg:#faf7ef;--bg-soft:#f3eee2;--panel:#fff;--panel-solid:#f0eadb;--hover:#f2e7c9;
  --hero-end:#eadbb6;--border:#d6c9ac;--border-strong:#ad8833;--text:#332e25;--muted:#696052;
  --accent:#875b0d;--accent-strong:#674408;--accent2:#b4851b;--accent3:#677884;
  --starxbullion-gold:#a87816;--starxbullion-gold-dark:#875b0d;--starxbullion-ivory:#fff;
  --starxbullion-text:#332e25;--starxbullion-muted:#696052;--starxbullion-line:#d6c9ac;
  --background:var(--bg);--surface:var(--panel);--gold:#875b0d;--gold-border:#c5a761;
  --wine:var(--text);--pink-border:var(--border);--up:#17633b;--down:#a52b35;--up-bg:#e3f3e9;--down-bg:#fbe8e9;
  --up-border:#91bea2;--down-border:#d7a0a6;color-scheme:light;
  --header-surface:linear-gradient(110deg,#fff,#f8f1df 60%,#edf0f2);--footer-surface:#f0ece2;
  --table-heading:#3b2e12;--table-heading-surface:#e9d89f;--table-product-surface:#dab959;
  --table-row:#fff;--table-row-alt:#fffcf4;--table-row-hover:#faf4e4;--quote-color:#332e25;
  --gold-card-surface:linear-gradient(135deg,#fff8e5,#fff);--silver-card-surface:linear-gradient(135deg,#edf1f3,#fff);
}
html[data-appearance="silver"]{
  --bg:#edf1f5;--bg-soft:#e5ebf1;--panel:#fff;--panel-solid:#dde5ed;--hero-end:#dae2ea;
  --text:#263645;--muted:#586777;--accent:#805609;--border:#c2ccd6;--border-strong:#8e9da9;--hover:#e4eaf0;
  --header-surface:linear-gradient(110deg,#f8fafc,#edf2f7 60%,#dde5ec);--footer-surface:#e3e9ef;
  --table-heading:#304355;--table-heading-surface:#dce4ed;--table-product-surface:#cad5df;
  --table-row:#fff;--table-row-alt:#f4f7fa;--table-row-hover:#edf2f7;--quote-color:#263645;
  --gold-card-surface:linear-gradient(135deg,#f8f6ef,#fff);--silver-card-surface:linear-gradient(135deg,#e5edf4,#fff);
}
html{font-size:17px}
body,html[data-theme] body{color:var(--text);background:var(--bg);font:17px/1.65 Arial,Helvetica,sans-serif}
html[data-theme] .aurora-field{background:radial-gradient(ellipse at 10% 0,#e4c36e18,transparent 55%),var(--bg)}
html[data-theme] .app-sidebar,html[data-theme] .app-footer{
  --text:inherit;--muted:inherit;--accent:inherit;--border:inherit;--panel:inherit;--hover:inherit;
  color:var(--text);background:var(--header-surface);box-shadow:none;
}
html[data-theme] .app-sidebar{border-bottom:1px solid var(--border-strong)}
html[data-theme] .app-topbar{--text:inherit;--muted:inherit;--accent:inherit;--panel:inherit;--hover:inherit;background:var(--panel-solid);color:var(--text);box-shadow:none}
html[data-theme] .app-footer{border-top:1px solid var(--border-strong);background:var(--footer-surface)}
/* Scale the lockup to its container; crop only the original image's wordmark. */
.starxbullion-brand-lockup{display:flex;align-items:center;gap:3%;width:100%;height:80px;container-type:inline-size;overflow:visible;text-align:left}
.starxbullion-brand-emblem{position:relative;display:block;flex:0 0 25%;aspect-ratio:56/74;overflow:hidden}
html[data-theme] .starxbullion-brand-emblem .reference-logo{position:absolute;left:0;top:0;width:400%!important;max-width:none!important;height:auto!important;aspect-ratio:auto;filter:none;object-fit:contain}
.starxbullion-brand-wordmark{display:block;flex:1;min-width:0;white-space:nowrap;font:800 clamp(14px,11cqi,27px)/1.15 Arial,Helvetica,sans-serif;letter-spacing:-.03em;color:#393b3c}
.starxbullion-brand-wordmark>span{color:#b7891d}
.starxbullion-brand-wordmark small{display:block;margin-top:6px;font:700 clamp(4px,2.8cqi,7px)/1.4 Arial,sans-serif;letter-spacing:.06em;color:#656562}
.app-footer .mark-row{width:232px;max-width:100%}
.app-footer .starxbullion-brand-lockup{height:76px}
.starxbullion-header .starxbullion-menu-link,.starxbullion-header .starxbullion-menu-trigger{font-size:15px;gap:7px;padding:10px}
html[data-theme] .starxbullion-menu-account .starxbullion-menu-link,html[data-theme] .btn.primary,html[data-theme] .pill-btn.accent{background:#d9b44d;color:#312509;border-color:#a87e22;box-shadow:none}
html[data-theme] .starxbullion-submenu{background:#fff;box-shadow:0 8px 24px #73613b20}
html[data-theme] .theme-toggle{color:var(--accent);background:var(--bg-soft)}
html[data-appearance="silver"] .theme-toggle[data-theme-toggle]{background:#dce5ee;border-color:#6c8090;color:#304355}
.app-content{font-size:17px}
.app-content .page-head h1{font-size:32px;line-height:1.25}
.app-content .page-head p,.app-content p,.app-content li,.app-content .copy,.app-content .copy p{font-size:17px;line-height:1.75}
.app-content h2,.panel-title{font-size:23px;line-height:1.4}
.app-content h3{font-size:20px;line-height:1.45}
.app-content .btn,.app-content button,.field input,.field select,.field textarea,.kyc-form input,.kyc-form select,.kyc-form textarea{font-size:17px}
.field span,.field>span,.field-help,.consent,.kyc-review p,.review-details dt,.review-details dd,.action-status,.empty-state,.starxbullion-service-state{font-size:16px;line-height:1.65}
.app-content .data-table th,.app-content .data-table td,.starxbullion-tax-tds-table th,.starxbullion-tax-tds-table td,.starxbullion-tax-tds-table input{font-size:16px}
.app-content .data-table th,.app-content .data-table td{padding:14px 12px}
.app-content .segmented button,.app-content .tax-summary,.app-content .tax-actions,.app-content .trade-comment,.app-content .trade-comment-label{font-size:16px}
html[data-theme] .glass,html[data-theme] .message-card,html[data-theme] .bank-card,html[data-theme] .starxbullion-tax-tds-card,html[data-theme] .commodity-shell{background:#fff;color:var(--text);box-shadow:none}
html[data-theme] .starxbullion-tax-tds-table>thead>tr>th{background:#e6ce87;color:#372a10}
html[data-theme] .field input,html[data-theme] .field select,html[data-theme] .field textarea{background:#fff;color:var(--text)}
html[data-theme] .home-slider{background:linear-gradient(110deg,#fffdf4ee,#fffdf466 65%,#eadbb666);box-shadow:none}
.home-slide-copy>p:not(.home-script),.home-section p,.home-section .home-lead{font-size:18px;line-height:1.8}
.home-slide .home-script{font-size:19px}
.home-actions .btn{font-size:17px}
.home-slider-controls,.home-slider-controls #homeAutoplay,.home-slide-hint{font-size:15px}
.ticker-chip{font-size:15px}
.home-section-nav a,.home-text-link,.home-steps a,.home-service-links small,.home-facts dt,.home-facts dd,.home-visit address{font-size:16px}
html[data-theme] .home-bullion,html[data-theme] .home-visit,html[data-theme] .trade-strip,html[data-theme] .closing-banner{background:var(--bg-soft)}
.app-footer .footer-brand-col>p,.app-footer .starxbullion-footer-address,.app-footer .starxbullion-footer-contact-meta a,.app-footer .acc-body a,.app-footer .starxbullion-app-downloads-label{font-size:15px;line-height:1.75}
.app-footer .footer-contact-col h2,.app-footer .footer-acc summary,.app-footer .starxbullion-contact-pair a{font-size:17px}
.app-footer .footer-bottom{font-size:14px}
.app-footer .acc-body a{white-space:normal}
html[data-theme] .app-footer .footer-social>a,html[data-theme] .app-footer .footer-social>span{background:#fff9ec;color:#875b0d}
.starxbullion-privacy p,.starxbullion-privacy li,.starxbullion-privacy li p{font-size:18px;line-height:1.9}
.starxbullion-privacy h2{font-size:23px}
.contact-grid .contact-row strong,.contact-grid .starxbullion-registration-details,.contact-grid .business-location-note,.contact-grid .starxbullion-contact-help{font-size:16px;line-height:1.7}
.contact-grid [data-starxbullion-phone],.contact-grid [data-starxbullion-whatsapp],.contact-grid [data-starxbullion-email]{font-size:17px}
.starxbullion-message-date,.starxbullion-message-state,.verify-note,.field-help,.form-note{font-size:16px;line-height:1.7}
.starxbullion-gold-overview>p,.starxbullion-gold-quotes dt,.starxbullion-gold-pie figcaption,.starxbullion-gold-pie-legend,.starxbullion-gold-range>p,.starxbullion-gold-overview [role=status],.starxbullion-trend-note,.starxbullion-trend-status{font-size:16px;line-height:1.7}
.starxbullion-gold-overview h2{font-size:24px}
.starxbullion-gold-quotes dd{font-size:28px}
html[data-theme] .starx-live-page{background:var(--bg);color:var(--text)}
.starx-live-page .rates-page.container-fluid{max-width:1100px}
html[data-theme] .starx-live-page .market-card{background:var(--gold-card-surface);color:var(--text);border-color:var(--border-strong);box-shadow:none}
html[data-theme] .starx-live-page .silver-card{background:var(--silver-card-surface);border-color:#a6b2ba}
.starx-live-page .market-card::before{display:none}
html[data-theme] .starx-live-page .market-heading h2,html[data-theme] .starx-live-page .market-range,html[data-theme] .starx-live-page .range-label,html[data-theme] .starx-live-page .day-range{color:var(--text)}
.starx-live-page .market-heading h2{font-size:19px;font-weight:700;white-space:normal}
html[data-theme] .starx-live-page .market-price{color:#725016;font-size:42px;text-shadow:none}
html[data-theme] .starx-live-page .silver-card .market-price{color:#4f616e}
html[data-theme] .starx-live-page .market-summary .market-price.is-up{color:#fff;background:#159447}
html[data-theme] .starx-live-page .market-summary .market-price.is-down{color:#fff;background:#c94b40}
.starx-live-page .market-range{font-size:16px;gap:12px}
.starx-live-page .range-label{font-size:13px;letter-spacing:.04em}
.starx-live-page .rates-table-wrap.table-responsive{width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain}
.starx-live-page .rates-table.table{width:100%;max-width:none;min-width:0;table-layout:auto}
.starx-live-page .rates-table .product-column{width:44%}
.starx-live-page .rates-table .buy-column,.starx-live-page .rates-table .sell-column{width:28%}
html[data-theme] .starx-live-page .rates-table.table>thead>tr>th{background:var(--table-heading-surface);color:var(--table-heading);font-size:19px}
html[data-theme="light"] .starx-live-page .rates-table.table>thead>tr>th:not(:first-child){color:var(--table-heading)}
html[data-theme] .starx-live-page .rates-table.table>thead>tr>th:first-child::before{background:var(--table-product-surface);box-shadow:none}
html[data-theme] .starx-live-page .rates-table.table>tbody>tr{background:var(--table-row)}
html[data-theme] .starx-live-page .rates-table.table>tbody>tr:nth-child(even){background:var(--table-row-alt)}
html[data-theme] .starx-live-page .rates-table.table>tbody>tr:hover{background:var(--table-row-hover)}
html[data-theme] .starx-live-page .rates-table.table>tbody>tr>th,html[data-theme] .starx-live-page .rates-table.table>tbody>tr>td{color:var(--text);border-color:var(--border);box-shadow:none;height:auto;min-height:82px;padding:14px 18px}
.starx-live-page .rates-table .product-label{min-width:0;overflow-wrap:anywhere}
.starx-live-page .rates-table.table>tbody>tr>th{font-size:21px;font-weight:600}
html[data-theme] .starx-live-page .buy-price,html[data-theme] .starx-live-page .sell-price{color:var(--quote-color);font-size:35px;text-shadow:none;white-space:nowrap}
/* Match Aurica's compact price badges, with reserved padding to prevent row jumps. */
.starx-live-page .buy-price,.starx-live-page .sell-price,.starx-live-page .market-price{padding:2px 5px;border-radius:5px;outline:0;transition:color .2s ease,background-color .2s ease;transform-origin:center}
.starx-live-page .buy-price::before,.starx-live-page .sell-price::before,.starx-live-page .market-price::before{display:none}
html[data-theme] .starx-live-page .rates-table .is-up{background:#159447;color:#fff}
html[data-theme] .starx-live-page .rates-table .is-down{background:#c94b40;color:#fff}
@media(prefers-reduced-motion:reduce){.starx-live-page .buy-price,.starx-live-page .sell-price,.starx-live-page .market-price{transition:none}}
.starx-live-page.starxbullion-motion-off .buy-price,.starx-live-page.starxbullion-motion-off .sell-price,.starx-live-page.starxbullion-motion-off .market-price{transition:none}
.starx-live-page .day-range{font-size:17px}
.starx-live-page .rates-note{font-size:14px;line-height:1.6;color:var(--muted);flex-wrap:wrap}
.starx-live-page .table-watermark{mix-blend-mode:multiply}
.starx-live-page .table-watermark img{filter:grayscale(1);opacity:.055}
html[data-theme] .starx-live-page .rates-table-wrap{color:var(--text)}
.starxbullion-table-hint{display:none}
.starxbullion-table-hint:not([hidden]){display:block;font-size:15px;color:var(--muted);margin:0 0 8px}
.starxbullion-table-hint[hidden]{display:none}
.starxbullion-marquee{font-size:16px}
.starxbullion-marquee-toggle{font-size:15px;min-height:44px}
html[data-theme] .starxbullion-market-modal{background:#fff;color:var(--text)}
.starxbullion-rate-intro{background:radial-gradient(ellipse at 50% 55%,#efe1b9,#fffdf7 65%);color:#332e25}
.starxbullion-rate-intro-logo{width:250px}
.starxbullion-rate-intro-status{font-size:22px;color:#875b0d}
.starxbullion-rate-intro-copy,.starxbullion-rate-intro-skip{font-size:16px;color:#696052}
.starxbullion-rate-intro-chart .intro-chart-line{stroke:#997018}
.starxbullion-sales-title{font-size:27px}
.starxbullion-sales-copy,.starxbullion-sales-field label,.starxbullion-sales-support,.starxbullion-sales-status{font-size:16px}
.starxbullion-sales-submit{font-size:17px}
.starxbullion-sales-direct{font-size:14px}
.starxbullion-sales-field input{font-size:17px}
@media(max-width:1150px){.app-footer .footer-navigation{gap:28px}.app-footer .footer-grid{gap:32px}}
@media(max-width:900px){
  .starxbullion-brand-lockup{height:60px}
  .starxbullion-brand-wordmark small{margin-top:4px}
  .starxbullion-header .starxbullion-menu-link,.starxbullion-header .starxbullion-menu-trigger{font-size:15px;padding:10px 8px}
  .app-content .page-head h1{font-size:29px}
}
@media(max-width:620px){
  .app-content{padding-inline:18px}
  .app-content .page-head{gap:12px}
  .app-content .page-head h1{font-size:27px}
  .app-content .page-head .btn{min-width:88px;font-size:16px;padding:10px}
  .starx-live-page .rates-page.container-fluid{width:calc(100% - 24px)}
  .starx-live-page .market-summary.row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 12px;gap:8px}
  .starx-live-page .market-summary.row::before,.starx-live-page .market-summary.row::after{display:none}
  .starx-live-page .market-summary>.col-xs-4{width:auto;padding:0;min-width:0}
  .starx-live-page .market-card{padding:12px 6px}
  .starx-live-page .market-heading h2{font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
  html[data-theme] .starx-live-page .market-price{font-size:clamp(23px,6vw,32px);margin:10px 0}
  .starx-live-page .market-range{font-size:12px;gap:8px;flex-wrap:wrap}
  .starx-live-page .range-label{font-size:11px}
  .starx-live-page .rates-table-wrap.table-responsive{overflow-x:auto;overscroll-behavior-inline:contain}
  .starx-live-page .rates-table .product-column{width:40%}
  .starx-live-page .rates-table .buy-column,.starx-live-page .rates-table .sell-column{width:30%}
  .starx-live-page .rates-table.table>thead>tr>th{padding:10px 6px;font-size:16px}
  html[data-theme] .starx-live-page .rates-table.table>tbody>tr>th,html[data-theme] .starx-live-page .rates-table.table>tbody>tr>td{padding:12px 6px}
  .starx-live-page .rates-table.table>tbody>tr>th{font-size:clamp(14px,3.8vw,18px)}
  .starx-live-page .product-name{gap:6px}
  .starx-live-page .product-name img{width:24px;height:24px}
  html[data-theme] .starx-live-page .buy-price,html[data-theme] .starx-live-page .sell-price{font-size:clamp(19px,5vw,28px)}
  .starx-live-page .day-range{font-size:14px}
  .starx-live-page .rates-note{font-size:14px}
  .app-footer .footer-grid{padding-inline:24px}
  .starxbullion-gold-quotes dd{font-size:24px}
}
@media(max-height:500px){.starxbullion-rate-intro-logo .starxbullion-brand-lockup{height:52px}.starxbullion-rate-intro-copy{font-size:14px}.starxbullion-rate-intro-status{font-size:19px}.starxbullion-rate-intro-skip{font-size:14px;margin-top:10px}}
@media(max-width:360px){.home-slider-controls{left:18px;gap:8px}.home-slider-controls #homeAutoplay{padding-inline:8px}}
@media(max-width:380px){.starx-live-page .product-name img{display:none}}
/* Desktop dealer board: one aligned table, with no horizontal scrolling. */
@media(min-width:901px){
  .starx-live-page .rates-page.container-fluid{width:calc(100% - 32px);max-width:970px;margin-block:8px}
  .starx-live-page .market-summary.row{margin-bottom:8px}
  .starx-live-page .market-card{padding:8px 16px}
  .starx-live-page .market-heading{min-height:32px;gap:8px}
  .starx-live-page .market-icon{width:32px;height:32px}
  html[data-theme] .starx-live-page .market-price{font-size:36px;margin-block:4px}
  .starx-live-page .market-range{padding-top:4px;font-size:15px;line-height:1.3}
  .starx-live-page .range-label{font-size:12px}
  .starx-live-page .rates-table-wrap.table-responsive{overflow:clip;border:1px solid var(--border-strong);border-radius:12px;background:var(--table-row)}
  .starx-live-page .rates-table.table{table-layout:fixed;width:100%;max-width:100%;border-spacing:0}
  .starx-live-page .rates-table .product-column{width:44%}
  .starx-live-page .rates-table .buy-column,.starx-live-page .rates-table .sell-column{width:28%}
  html[data-theme] .starx-live-page .rates-table.table>thead>tr>th{height:40px;padding:8px 16px;border:0;font-size:16px;font-weight:700;letter-spacing:.04em}
  html[data-theme] .starx-live-page .rates-table.table>thead>tr>th:first-child{border-radius:10px 0 0 0;background:var(--table-heading-surface)}
  html[data-theme] .starx-live-page .rates-table.table>thead>tr>th:first-child::before{display:none}
  html[data-theme] .starx-live-page .rates-table.table>thead>tr>th:last-child{border-radius:0 10px 0 0}
  html[data-theme] .starx-live-page .rates-table.table>tbody>tr>th,
  html[data-theme] .starx-live-page .rates-table.table>tbody>tr>td{height:auto;min-height:0;padding:6px 16px;border:0;border-bottom:1px solid var(--border);border-radius:0;vertical-align:middle}
  html[data-theme] .starx-live-page .rates-table.table>tbody>tr:last-child>th,
  html[data-theme] .starx-live-page .rates-table.table>tbody>tr:last-child>td{border-bottom:0}
  html[data-theme] .starx-live-page .rates-table.table>tbody>tr:last-child>th{border-radius:0 0 0 10px}
  html[data-theme] .starx-live-page .rates-table.table>tbody>tr:last-child>td:last-child{border-radius:0 0 10px 0}
  .starx-live-page .rates-table.table>tbody>tr>th{font-size:18px;font-weight:600;line-height:1.5}
  .starx-live-page .product-name{gap:12px;min-width:0}
  .starx-live-page .product-name img{width:36px;height:36px}
  .starx-live-page .product-label,.starx-live-page .product-link{min-width:0;overflow-wrap:anywhere;white-space:normal}
  html[data-theme] .starx-live-page .buy-price,html[data-theme] .starx-live-page .sell-price{font-size:clamp(24px,2.1vw,30px);line-height:1.15;margin-bottom:2px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:0}
  .starx-live-page .day-range{font-size:14px;line-height:1.4;color:var(--muted)}
}
