:root{--navy:#031126;--navy-2:#0a294d;--gold:#bd9240;--gold-light:#f3d985;--gold-dark:#8e6826;--green:#124f08;--red:#aa2a34;--paper:#fbfbfa;--ink:#111827;--muted:#5b6675;--line:#d8bd7d;--shadow:0 18px 48px rgba(0,0,0,.36);--shell-bg:linear-gradient(180deg,#f8f7f2,#ebe5d8);--glow:0 0 14px rgba(243,217,133,.65);--glow-soft:0 0 8px rgba(243,217,133,.45)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;margin:0;color:var(--ink);background:var(--navy);font-family:"Segoe UI",Arial,sans-serif;line-height:1.55}a{color:var(--gold-dark);text-decoration:none}a:hover{color:#694915}button,input,select,textarea{font:inherit}:focus-visible{outline:3px solid #e5b950;outline-offset:3px}.skip-link{position:fixed;top:-60px;left:12px;z-index:9999;padding:10px 16px;color:#fff;background:var(--navy)}.skip-link:focus{top:12px}.site-header{position:relative;overflow:hidden;color:#fff;background:linear-gradient(rgba(2,12,29,.32),rgba(2,12,29,.68)),var(--shell-bg) center/cover}.site-header:before{position:absolute;right:0;bottom:0;left:0;height:3px;z-index:11;background:linear-gradient(90deg,transparent,rgba(243,217,133,.75),transparent);content:"";animation:header-line 5s ease-in-out infinite;box-shadow:0 0 18px rgba(189,146,64,.8)}.brand-area{display:flex;min-height:0;align-items:center;justify-content:center;padding:6px 16px 8px;flex-direction:column}.brand-logo{display:block;width:min(236px,64vw);max-height:78px;object-fit:contain;mix-blend-mode:screen;filter:drop-shadow(0 10px 22px rgba(0,0,0,.44))}.brand-registered{margin:6px 0 0;color:#f6e5b8;font-size:.66rem;font-weight:700;letter-spacing:.12em;line-height:1.2;text-align:center;text-transform:uppercase;text-shadow:0 2px 6px rgba(0,0,0,.55)}.main-navbar{position:relative;z-index:10;border-block:1px solid #805d21;background:linear-gradient(90deg,#987026,#f2d881 50%,#987026);box-shadow:0 4px 12px rgba(0,0,0,.3)}.nav-shell,.content-shell,.footer-shell{width:min(1120px,100%);margin:auto}.nav-shell{display:flex;align-items:center;width:min(1180px,100%);padding:0 16px}.mobile-brand{display:none;padding:13px 0;color:var(--navy);font-weight:900;letter-spacing:.08em}.menu-toggle{display:none;margin-left:auto;border:1px solid rgba(3,17,38,.5);border-radius:4px;background:transparent;padding:7px 10px;color:var(--navy);font-weight:800}.main-menu{display:flex;flex-wrap:nowrap;justify-content:center;width:100%;margin:0;padding:0;list-style:none}.main-menu li{flex:0 0 auto}.main-menu a{display:flex;align-items:center;justify-content:center;gap:.35em;position:relative;padding:15px 7px;color:#101827;font-size:.72rem;font-weight:800;white-space:nowrap;text-align:center;text-transform:uppercase;letter-spacing:.01em;transition:color .35s ease,background .4s ease,box-shadow .4s ease,text-shadow .35s ease,transform .35s ease}.main-menu a:hover,.main-menu a:focus,.main-menu a.active{color:#fff;background:linear-gradient(120deg,#14406f,#0a294d 55%,#12355f);text-shadow:0 0 10px rgba(255,255,255,.85);box-shadow:0 6px 18px rgba(0,0,0,.35),0 0 22px rgba(243,217,133,.5),inset 0 0 12px rgba(243,217,133,.18);transform:translateY(-1px)}.page-main{min-height:52vh;padding:36px 14px 54px;background:linear-gradient(rgba(2,13,30,.88),rgba(2,13,30,.94)),var(--shell-bg) center top/cover fixed}.page-hero,.content-panel,.rates-board{margin-inline:auto;border:1px solid rgba(211,174,92,.82);border-radius:14px;background:var(--paper);box-shadow:var(--shadow)}.page-hero{width:min(1120px,100%);overflow:hidden}.hero-heading,.board-heading{padding:30px 24px;color:#fff;background:linear-gradient(100deg,rgba(3,17,38,.97),rgba(8,38,72,.91)),var(--shell-bg) center 49%/cover;text-align:center}.hero-heading h1,.board-heading h1{margin:0;color:var(--gold-light);font-size:clamp(1.55rem,3vw,2.25rem);font-weight:850;text-transform:uppercase;letter-spacing:.09em}.hero-heading p,.board-heading p{max-width:720px;margin:8px auto 0;color:#f8edd0}.hero-body{padding:clamp(22px,4vw,48px)}.content-panel{width:min(970px,100%);padding:clamp(20px,4vw,42px)}.section-heading{margin:0 0 12px;color:var(--navy);font-size:clamp(1.25rem,2.5vw,1.75rem)}.lead-copy{color:#374151;font-size:1.05rem}.gold-divider{width:90px;height:4px;margin:14px 0 24px;border:0;background:linear-gradient(90deg,var(--gold-dark),var(--gold-light))}.feature-grid,.info-grid,.action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.feature-card,.info-card,.form-card{height:100%;padding:22px;border:1px solid #d8bd7d;border-radius:10px;background:#fff;box-shadow:0 5px 16px rgba(46,35,12,.08)}.feature-card h2,.info-card h2,.form-card h2{margin:0 0 10px;color:var(--navy);font-size:1.1rem}.feature-icon{display:grid;width:42px;height:42px;margin-bottom:15px;place-items:center;border-radius:50%;color:var(--navy);background:linear-gradient(135deg,#b78930,#f2dc92);font-weight:900}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.btn-gold,.btn-navy,.btn-danger,.btn-quiet,.btn-buy{display:inline-flex;min-height:44px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:6px;padding:9px 18px;font-weight:800;cursor:pointer}.btn-gold{color:var(--navy);background:linear-gradient(105deg,#b98b33,#f1db91 48%,#b58935)}.btn-gold:hover{color:var(--navy);filter:brightness(1.05)}.btn-navy{color:#fff;background:var(--navy-2)}.btn-navy:hover{color:#fff;background:#0d3869}.btn-danger{color:#fff;background:var(--red)}.btn-quiet{color:var(--navy);border-color:#b58a38;background:#fff}.btn-gold:disabled,.btn-navy:disabled,.btn-danger:disabled{cursor:not-allowed;opacity:.55}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-group{margin-bottom:15px}.form-group.full{grid-column:1/-1}.form-label{display:block;margin-bottom:6px;color:#243044;font-size:.9rem;font-weight:800}.form-control,.form-select{width:100%;min-height:44px;border:1px solid #aeb6c2;border-radius:6px;padding:9px 11px;color:var(--ink);background:#fff}.form-control:focus,.form-select:focus{border-color:var(--gold-dark);box-shadow:0 0 0 3px rgba(189,146,64,.18);outline:0}.help-text{margin-top:5px;color:var(--muted);font-size:.8rem}.status{margin:14px 0 0;border-left:4px solid #65758b;border-radius:4px;padding:11px 13px;color:#273142;background:#edf1f5}.status:empty{display:none}.status.success{border-color:#26743a;color:#184f28;background:#e8f6ec}.status.error{border-color:var(--red);color:#7f1d28;background:#fcebed}.status.warning{border-color:#b7791f;color:#734a0d;background:#fff7df}.toast-region{position:fixed;right:16px;bottom:16px;z-index:9999;display:grid;max-width:min(380px,calc(100vw - 32px));gap:8px}.app-toast{border-left:5px solid var(--gold);border-radius:6px;padding:12px 16px;color:#fff;background:#0b1b32;box-shadow:0 8px 24px rgba(0,0,0,.35)}.app-toast.error{border-color:#e14956}.app-toast.success{border-color:#45a85b}.table-wrap{overflow-x:auto;border:1px solid #c9a85b;border-radius:10px;background:#fff}.data-table{width:100%;min-width:680px;border-collapse:collapse}.data-table th{padding:12px 14px;color:var(--navy);background:linear-gradient(105deg,#b98b33,#f1db91 48%,#b58935);text-align:left}.data-table td{padding:12px 14px;border-bottom:1px solid #e4d4ad}.data-table tbody tr:nth-child(even){background:#fffcf4}.buy-text{color:#19713a;font-weight:800}.sell-text,.low{color:var(--red)!important;font-weight:800}.empty-state{padding:30px;text-align:center;color:var(--muted)}.auth-note{border:1px solid #d9c184;border-radius:8px;padding:12px 14px;background:#fff9e9}.site-footer{color:#dfe6f1;border-top:1px solid #9d772f;background:linear-gradient(rgba(1,8,19,.86),rgba(2,12,27,.96)),var(--shell-bg) center bottom/cover}.footer-main{padding:44px 14px 32px;background:linear-gradient(rgba(2,11,25,.78),rgba(2,11,25,.94)),var(--shell-bg) center/cover}.footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}.footer-block h2{margin:0 0 12px;color:var(--gold-light);font-size:1rem;text-transform:uppercase;letter-spacing:.06em}.footer-block p,.footer-block a{color:#c5cfde;font-size:.88rem;line-height:1.8}.footer-block a:hover{color:var(--gold-light)}.footer-icon{display:grid;width:34px;height:34px;margin-bottom:12px;place-items:center;border:1px solid var(--gold);border-radius:50%;color:var(--gold-light);background:rgba(3,17,38,.35);transition:transform .35s ease,box-shadow .4s ease,border-color .35s ease}.footer-icon:hover{transform:translateY(-3px) rotate(6deg);border-color:var(--gold-light);box-shadow:0 0 18px rgba(189,146,64,.8)}.footer-links{margin:0;padding:0;list-style:none}.footer-links a{display:inline-flex;align-items:center;gap:8px;transition:color .35s ease,text-shadow .35s ease,transform .3s ease}.footer-links a:hover{color:var(--gold-light);text-shadow:0 0 10px rgba(243,217,133,.9);transform:translateX(4px)}.copyright{padding:14px;color:var(--navy);background:linear-gradient(90deg,#987026,#eed27f 50%,#987026);font-size:.78rem;font-weight:800;text-align:center}.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}.reveal.is-visible{opacity:1;transform:none}.rates-board{width:970px;max-width:100%;overflow:hidden}.board-heading{padding:20px 24px 16px}.board-heading h1{font-size:clamp(1.45rem,3vw,2rem)}.rate-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;border-bottom:1px solid var(--line);background:#fff}.category-tabs{display:flex;flex:1}.category-tab{position:relative;flex:1;border:0;padding:13px 10px;color:#101827;background:#fff;font-size:1rem;font-weight:850;text-transform:uppercase;cursor:pointer}.category-tab.active{color:var(--gold-dark)}.category-tab.active:after{position:absolute;right:18%;bottom:0;left:18%;height:4px;border-radius:4px 4px 0 0;background:linear-gradient(90deg,var(--gold-dark),var(--gold-light),var(--gold-dark));content:""}.connection-state{min-width:150px;color:var(--muted);font-size:.78rem;text-align:right}.rates-content{padding:16px}.ticker-bar{overflow:hidden;margin-bottom:14px;border:1px solid #d8bd7d;border-radius:6px;padding:8px 12px;color:#f6e4ab;background:var(--navy);white-space:nowrap}.marquee-track{display:inline-flex;white-space:nowrap;animation:marquee-scroll 32s linear infinite;will-change:transform}.marquee-track .ticker-text{display:inline-block;margin-right:50px}.ticker-bar:hover .marquee-track{animation-play-state:paused}@keyframes marquee-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.market-card,.trade-card{overflow:hidden;border:1px solid #c9a85b;border-radius:10px;background:#fff;box-shadow:0 4px 14px rgba(48,38,14,.08)}.gold-title{margin:0;padding:12px 8px;color:#111827;background:linear-gradient(105deg,#b98b33,#f1db91 48%,#b58935);font-size:1rem;font-weight:850;text-align:center;text-transform:uppercase}.market-card-body{padding:25px 14px 17px}.primary-rate{display:block;width:min(172px,100%);margin:auto;padding:10px 8px;border-radius:6px;color:#173f0f;font-size:clamp(1.5rem,3.2vw,2rem);font-weight:850;line-height:1;text-align:center;font-variant-numeric:tabular-nums}.primary-rate.highlight,.quote-value,.sell-box{color:#173f0f;background:#fff}.high-low,.sell-range{display:flex;justify-content:space-between;gap:8px;margin-top:24px;color:#314237;font-size:.76rem;font-weight:750;white-space:nowrap}.trade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.bid-ask-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:17px 14px 20px}.quote-label{margin-bottom:9px;font-weight:850;text-align:center;text-transform:uppercase}.quote-value{padding:10px 5px;border-radius:6px;font-size:clamp(1.2rem,3vw,1.65rem);font-weight:850;line-height:1;text-align:center;font-variant-numeric:tabular-nums}.quote-meta{margin-top:13px;color:#31533d;font-size:.78rem;font-weight:750;text-align:center}.products-section{margin-top:20px}.rates-table{width:100%;min-width:570px;margin:0;border-collapse:collapse;table-layout:fixed}.rates-table thead th{padding:14px 20px;border:0;color:#111827;background:linear-gradient(105deg,#b98b33,#f1db91 48%,#b58935);font-weight:850;text-transform:uppercase}.rates-table thead th:first-child{width:60%}.rates-table thead th:last-child{width:40%;text-align:center}.rates-table tbody th,.rates-table tbody td{padding:14px 20px;border-bottom:0;vertical-align:middle}.rates-table tbody tr:last-child>*{border-bottom:0}.rates-table tbody tr:nth-child(even){background:#fffcf4}.product-button{width:100%;border:0;padding:0;color:#000;background:transparent;font-weight:850;text-align:left;text-transform:uppercase;cursor:pointer}.product-row{cursor:pointer}.rates-table tbody tr.product-row:hover{background:#fdf2d7}.rates-table tbody tr.product-row:hover td .sell-box{background:#fffdf7}.product-row.is-disabled{cursor:not-allowed;opacity:.55}.product-button:hover{color:var(--gold-dark)}.product-button:disabled{color:#6b7280;cursor:not-allowed;opacity:.72}.quote-meta[data-low]{color:var(--red)!important}.quote-meta[data-high]{color:#31533d!important}.side-option input:focus-visible+span{outline:3px solid #e5b950;outline-offset:3px}.sell-box{min-width:150px;border-radius:6px;padding:8px 10px;font-size:1.35rem;font-weight:850;line-height:1;text-align:center;font-variant-numeric:tabular-nums}.sell-range{margin-top:7px;font-size:.72rem}.static-note{margin:13px 0 0;color:#69717e;font-size:.76rem;text-align:center}.order-summary{margin-bottom:20px;border-left:5px solid var(--gold);padding:14px 16px;background:#fff8e4}.side-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px}.side-option input{position:absolute;opacity:0}.side-option span{display:block;border:2px solid #b8c0ca;border-radius:7px;padding:11px;text-align:center;font-weight:850;cursor:pointer}.side-option input:checked+span{border-color:var(--green);color:#fff;background:var(--green)}.side-option.sell input:checked+span{border-color:var(--red);background:var(--red)}.calculator-result{margin-top:18px;border-radius:8px;padding:20px;color:#fff;background:var(--navy);text-align:center}.calculator-result strong{display:block;color:var(--gold-light);font-size:clamp(1.6rem,4vw,2.4rem)}.bank-details{margin:0}.bank-details div{display:grid;grid-template-columns:180px 1fr;border-bottom:1px solid #e1d2ad;padding:12px 0}.bank-details dt{font-weight:850}.bank-details dd{margin:0}.legal-copy h2{margin-top:28px;color:var(--navy);font-size:1.2rem}.legal-copy li{margin-bottom:8px}
@media(max-width:1150px){.main-menu a{padding-inline:4px;font-size:.62rem}}@media(max-width:1000px){.main-menu a{padding-inline:2px;font-size:.58rem}}
@media(max-width:900px){.mobile-brand,.menu-toggle{display:block}.main-menu{display:none;width:100%;padding:6px 0 12px}.main-menu.open{display:block}.nav-shell{flex-wrap:wrap}.main-menu a{padding:11px 14px;font-size:.78rem}.feature-grid,.info-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.brand-area{min-height:140px}.brand-logo{max-height:110px}}
@media(max-width:700px){.page-main{padding:20px 7px 34px;background-attachment:scroll}.page-hero,.content-panel,.rates-board{border-radius:9px}.hero-body,.rates-content{padding:14px}.summary-grid,.trade-grid,.feature-grid,.info-grid,.footer-grid{grid-template-columns:1fr}.footer-grid{gap:26px}.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.bank-details div{grid-template-columns:1fr}.rate-toolbar{display:block}.connection-state{margin-top:8px;text-align:center}.brand-area{min-height:120px}.brand-logo{width:min(200px,78vw);max-height:95px}.high-low{margin-top:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}
.message-item{height:100%;padding:20px 22px;border:1px solid #d8bd7d;border-radius:10px;background:#fff;box-shadow:0 5px 16px rgba(46,35,12,.08)}.message-item p{margin:0;color:var(--ink)}.message-item .message-date{margin-top:8px;color:var(--muted);font-size:.85rem;font-style:italic}
.tds-totals{margin-top:18px;padding:16px 18px;border:1px solid #d8bd7d;border-radius:10px;background:#fff8e4}.tds-totals dl{margin:0}.tds-totals div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #e7d6a8}.tds-totals div:last-child{border-bottom:0;font-size:1.05rem;font-weight:850}.tds-totals dt{color:#5f4c1d;font-weight:700}.tds-totals dd{margin:0;color:#111827;font-weight:800;font-variant-numeric:tabular-nums}.tds-totals div:last-child dd{color:var(--green)}
.select-cell{width:64px;text-align:center}.row-checkbox{width:20px;height:20px;cursor:pointer;accent-color:var(--gold-dark)}.coin-note{color:var(--muted);font-size:.85rem}
/* ===== Glow + animated Font Awesome icons (header & footer menus) ===== */
.nav-icon{font-size:.95em;color:#8a6a1f;animation:icon-glow 2.8s ease-in-out infinite;transition:transform .4s ease,color .35s ease,filter .4s ease}.main-menu li:nth-child(2n) .nav-icon{animation-delay:.45s}.main-menu li:nth-child(3n) .nav-icon{animation-delay:.9s}.main-menu a:hover .nav-icon,.main-menu a:focus .nav-icon,.main-menu a.active .nav-icon{color:var(--gold-light);transform:scale(1.18);animation-duration:1.6s}@keyframes icon-glow{0%,100%{filter:drop-shadow(0 0 1px rgba(243,217,133,0));transform:scale(1)}50%{filter:drop-shadow(0 0 10px rgba(243,217,133,.95));transform:scale(1.14)}}@keyframes header-line{0%,100%{opacity:.4}50%{opacity:1}}
.footer-icon i{font-size:.95rem;animation:icon-glow 3.2s ease-in-out infinite}.footer-block:nth-child(2n) .footer-icon i{animation-delay:.6s}.footer-block:nth-child(3n) .footer-icon i{animation-delay:1.2s}.footer-links a i{font-size:.72rem;color:#cdb068;animation:icon-glow 3s ease-in-out infinite}
.brand-registered{display:flex;align-items:center;justify-content:center;gap:7px}.brand-registered i{color:var(--gold-light);animation:icon-glow 4s ease-in-out infinite}.copyright{display:flex;align-items:center;justify-content:center;gap:8px}
/* ===== Smooth glow transitions on buttons & cards ===== */
.btn-gold,.btn-navy,.btn-danger,.btn-quiet{transition:transform .3s ease,box-shadow .35s ease,filter .3s ease,border-color .3s ease,color .3s ease,background .3s ease}.btn-gold:hover{transform:translateY(-2px);filter:brightness(1.07);box-shadow:0 12px 28px rgba(189,146,64,.55),0 0 16px rgba(243,217,133,.45)}.btn-navy:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(10,41,77,.6),0 0 16px rgba(120,170,230,.35)}.feature-card,.info-card,.market-card,.trade-card,.form-card{transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease}.feature-card:hover,.info-card:hover,.market-card:hover,.trade-card:hover,.form-card:hover{transform:translateY(-3px);border-color:var(--gold);box-shadow:0 14px 32px rgba(189,146,64,.3),0 0 14px rgba(243,217,133,.25)}
/* ===== Mobile menu icon alignment ===== */
@media(max-width:900px){.mobile-brand{display:flex;align-items:center;gap:9px}.menu-toggle{display:flex;align-items:center;justify-content:center;gap:7px;transition:box-shadow .3s ease,transform .3s ease}.menu-toggle:hover{border-color:var(--gold-dark);box-shadow:0 0 10px rgba(189,146,64,.6);transform:translateY(-1px)}}

/* ===== Shared bg.png header and footer artwork ===== */
:root{--chrome-bg:url("../../bg.png")}
.site-header{background-color:#031126;background-image:var(--chrome-bg);background-repeat:no-repeat;background-position:center 66%;background-size:cover}
.brand-area{background:linear-gradient(90deg,rgba(1,8,20,.22),rgba(3,17,38,.04) 50%,rgba(1,8,20,.22))}
.site-footer{background-color:#020b19;background-image:var(--chrome-bg);background-repeat:no-repeat;background-position:center 64%;background-size:cover}
.footer-main{background:rgba(2,11,25,.62)}
@media(max-width:900px){.site-header{background-position:center 68%}.site-footer{background-position:center 62%}.footer-main{background:rgba(2,11,25,.68)}}
@media(max-width:700px){.site-header{background-position:center 70%}.site-footer{background-position:center 60%}.footer-main{background:rgba(2,11,25,.72)}}

/* ===== bg.png header and footer only ===== */
:root{--shell-bg:linear-gradient(180deg,#f8f7f2,#ebe5d8);--chrome-bg:url("../../bg.png")}
body{background-color:#f2eee5;background-image:none;background-attachment:scroll}
.site-header{min-height:150px!important;background-color:#031126!important;background-image:url("../../bg.png")!important;background-repeat:no-repeat!important;background-position:center 70%!important;background-size:cover!important}
.brand-area{min-height:102px!important;padding:6px 16px 8px!important;background:linear-gradient(90deg,rgba(1,8,20,.16),rgba(3,17,38,.02) 50%,rgba(1,8,20,.16))!important}
.brand-logo{width:min(236px,64vw)!important;max-height:78px!important}
.page-main{background-color:#f2eee5!important;background-image:linear-gradient(180deg,#f8f7f2 0%,#eee8dc 100%)!important;background-attachment:scroll!important}
.hero-heading,.board-heading{background-color:#082543!important;background-image:linear-gradient(105deg,#031126,#0a294d 52%,#031126)!important;background-position:center!important;background-size:auto!important}
.site-footer{background-color:#020b19!important;background-image:url("../../bg.png")!important;background-repeat:no-repeat!important;background-position:center 62%!important;background-size:cover!important}
.footer-main{background:rgba(2,11,25,.48)!important}
.footer-block h2,.footer-block p,.footer-block a{text-shadow:0 2px 5px rgba(0,0,0,.9)}
@media(max-width:900px){.site-header{min-height:118px!important;background-position:center 68%!important}.brand-area{min-height:78px!important}.brand-logo{width:min(210px,60vw)!important;max-height:58px!important}.site-footer{background-position:center 60%!important}.footer-main{background:rgba(2,11,25,.54)!important}}
@media(max-width:700px){.site-header{min-height:104px!important;background-position:center 66%!important}.brand-area{min-height:70px!important;padding:8px 12px 8px!important}.brand-logo{width:min(180px,64vw)!important;max-height:52px!important}.site-footer{background-position:center 58%!important}.footer-main{background:rgba(2,11,25,.58)!important}}

/* ===== Rate change red/green toggle ===== */
.primary-rate.is-up,.quote-value.is-up,.sell-box.is-up{background:#dff4e3;color:#0c7a2e;box-shadow:inset 0 0 0 2px rgba(12,122,46,.85)}
.primary-rate.is-down,.quote-value.is-down,.sell-box.is-down{background:#fbe3e5;color:#b3262f;box-shadow:inset 0 0 0 2px rgba(179,38,47,.85)}
.primary-rate,.quote-value,.sell-box{transition:background .45s ease,color .45s ease,box-shadow .45s ease}

/* ===== Single-box login ===== */
.login-wrap{display:flex;justify-content:center}.login-box{width:min(430px,100%)}.login-box .login-title{display:flex;align-items:center;justify-content:center;gap:9px;margin:-22px -22px 20px;padding:13px 12px;border-radius:10px 10px 0 0;color:#212121;font-size:1.05rem;font-weight:800;letter-spacing:.06em;text-align:center;background:linear-gradient(180deg,#f8de7a,#efd06b 45%,#d3a93f);box-shadow:inset 0 -2px 0 rgba(139,99,24,.55)}.login-box .btn-gold{width:100%;margin-bottom:12px}.login-box .btn-gold + .btn-gold{margin-top:14px}.login-box .status{margin-top:16px}


/* Live rates: compact desktop density and mobile app layout */
body[data-page="rates"] .page-main {
  padding: 12px 10px 20px;
}

body[data-page="rates"] .rates-board {
  width: min(1120px, 100%);
}

body[data-page="rates"] .rate-toolbar {
  gap: 6px;
  padding: 6px 12px;
}

body[data-page="rates"] .category-tab {
  padding: 7px 10px;
}

body[data-page="rates"] .rates-content {
  padding: 9px 10px 10px;
}

body[data-page="rates"] .ticker-bar {
  margin-bottom: 7px;
  padding: 5px 10px;
}

body[data-page="rates"] .summary-grid,
body[data-page="rates"] .trade-grid {
  gap: 8px;
}

body[data-page="rates"] .gold-title {
  padding: 7px 8px;
}

body[data-page="rates"] .market-card-body {
  padding: 9px 12px 10px;
}

body[data-page="rates"] .primary-rate {
  padding: 5px 8px;
}

body[data-page="rates"] .high-low {
  margin-top: 7px;
}

body[data-page="rates"] .trade-grid {
  margin-top: 8px;
}

body[data-page="rates"] .bid-ask-grid {
  gap: 9px;
  padding: 9px 12px 10px;
}

body[data-page="rates"] .quote-label {
  margin-bottom: 4px;
}

body[data-page="rates"] .quote-value {
  padding: 6px 5px;
}

body[data-page="rates"] .quote-meta {
  margin-top: 5px;
}

body[data-page="rates"] .products-section {
  margin-top: 8px;
}

body[data-page="rates"] .section-heading {
  margin: 0 0 3px;
}

body[data-page="rates"] .gold-divider {
  margin: 5px 0 8px;
}

body[data-page="rates"] .rates-table thead th,
body[data-page="rates"] .rates-table tbody th,
body[data-page="rates"] .rates-table tbody td {
  padding: 6px 14px;
}

body[data-page="rates"] .sell-box {
  padding: 4px 8px;
  font-size: 1.3rem;
}

body[data-page="rates"] .sell-range {
  margin-top: 2px;
}

body[data-page="rates"] .empty-state {
  padding: 16px;
}

body[data-page="rates"] .static-note {
  margin: 6px 0 0;
}

body[data-page="rates"] .status {
  margin-top: 6px;
  padding: 6px 10px;
}

@media (max-width: 700px) {
  body[data-page="rates"] {
    background-attachment: fixed;
  }

  body[data-page="rates"] .page-main {
    padding: 6px 4px 12px;
  }

  body[data-page="rates"] .rates-board {
    width: 100%;
    border-radius: 10px;
    box-shadow: none;
  }

  body[data-page="rates"] .rate-toolbar {
    align-items: center;
    padding: 6px 8px;
  }

  body[data-page="rates"] .category-tabs {
    width: 100%;
  }

  body[data-page="rates"] .category-tab {
    flex: 1 1 50%;
    min-height: 38px;
    padding: 6px 8px;
  }

  body[data-page="rates"] .connection-state {
    width: 100%;
    text-align: center;
  }

  body[data-page="rates"] .rates-content {
    padding: 6px;
  }

  body[data-page="rates"] .ticker-bar {
    margin-bottom: 6px;
    border-radius: 7px;
    font-size: .76rem;
  }

  body[data-page="rates"] .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  body[data-page="rates"] .summary-grid .gold-title {
    padding: 6px 2px;
    font-size: clamp(.68rem, 3vw, .86rem);
  }

  body[data-page="rates"] .summary-grid .market-card-body {
    padding: 7px 3px;
  }

  body[data-page="rates"] .summary-grid .primary-rate {
    padding: 4px 1px;
    font-size: clamp(.9rem, 4.4vw, 1.25rem);
  }

  body[data-page="rates"] .summary-grid .high-low {
    display: grid;
    gap: 2px;
    margin-top: 5px;
    font-size: clamp(.58rem, 2.45vw, .72rem);
  }

  body[data-page="rates"] .trade-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 6px;
  }

  body[data-page="rates"] .trade-card .gold-title {
    padding: 6px;
  }

  body[data-page="rates"] .bid-ask-grid {
    padding: 7px 8px;
  }

  body[data-page="rates"] .products-section {
    margin-top: 7px;
  }

  body[data-page="rates"] .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  body[data-page="rates"] .rates-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  body[data-page="rates"] .rates-table thead {
    display: none;
  }

  body[data-page="rates"] .rates-table tbody {
    display: grid;
    gap: 6px;
  }

  body[data-page="rates"] .rates-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(118px, 42%);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #c9a85b;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(44, 29, 8, .1);
  }

  body[data-page="rates"] .rates-table tbody th,
  body[data-page="rates"] .rates-table tbody td {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    min-width: 0;
    padding: 7px 8px;
    border: 0;
  }

  body[data-page="rates"] .rates-table .empty-state {
    grid-column: 1 / -1;
    padding: 14px 8px;
  }

  body[data-page="rates"] .product-button,
  body[data-page="rates"] .sell-box {
    width: 100%;
    min-width: 0;
  }

  body[data-page="rates"] .sell-box {
    padding: 5px 6px;
    font-size: 1.2rem;
  }

  body[data-page="rates"] .static-note {
    font-size: .72rem;
    line-height: 1.35;
  }
}
.btn-buy{color:#fff;background:#1b7001;border-color:#0f4d00}.btn-buy:hover{color:#fff;filter:brightness(1.12)}
.btn-danger:hover{color:#fff;filter:brightness(1.12)}.btn-buy:disabled,.btn-danger:disabled,.btn-navy:disabled{opacity:.65;cursor:not-allowed}.order-tabs{max-width:420px;margin:6px 0 18px;border:1px solid #d9c17b;border-radius:8px;overflow:hidden}
.booking-message{margin-bottom:16px}
.bookmark-link{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-left:8px;color:#b8860b;font-size:.85rem;vertical-align:-3px;border:1px solid rgba(184,134,11,.35);border-radius:8px;text-decoration:none;transition:color .2s,background .2s}.bookmark-link:hover{color:#fff;background:#b8860b}body[data-page="rates"] .hero-heading{background:linear-gradient(100deg,rgba(3,17,38,.97),rgba(8,38,72,.91)),var(--shell-bg) center 49%/cover}
.market-modal{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:18px}.market-modal[hidden]{display:none}.market-modal-backdrop{position:absolute;inset:0;background:rgba(3,12,26,.78)}.market-modal-dialog{position:relative;width:min(560px,100%);max-height:82vh;overflow:auto;color:#fff;background:linear-gradient(100deg,#041126,#08264a);border:1px solid #b8860b;border-radius:12px;box-shadow:0 24px 60px rgba(0,0,0,.5);animation:modal-pop .25s ease}.market-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #b8860b;background:rgba(184,134,11,.16)}.market-modal-title{margin:0;color:#f6e4ab;font-size:1.1rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.market-modal-close{flex:none;width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:#ffe9b5;font-size:1.5rem;line-height:1;cursor:pointer}.market-modal-close:hover{background:#b8860b;color:#fff}.market-modal-body{padding:18px;color:#f8edd0;line-height:1.6}.market-modal-body a{color:var(--gold-light)}@keyframes modal-pop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.rk-band{margin:0;padding:24px 16px;color:#fff;background:#563e13;border-block:1px solid #e5b950;text-align:center;font-size:clamp(1.35rem,3vw,1.9rem);font-weight:850;letter-spacing:.12em;text-transform:uppercase}.rk-box{max-width:960px;margin:34px auto;padding:28px 30px;color:#141414;background:#fff;border:4px solid #563e13;border-radius:10px;box-shadow:0 10px 26px rgba(0,0,0,.18);line-height:1.8;font-size:1.05rem}.rk-box h1,.rk-box h2{color:#563e13;font-weight:700;margin:8px 0 12px}.rk-box p{margin:0 0 14px}.rk-box a{color:#8a6110}.rk-box .bank-details dd{color:#141414}body[data-page="about"] .page-main,body[data-page="privacy"] .page-main{padding:0;background:linear-gradient(180deg,rgba(2,12,29,.96),rgba(8,38,72,.97))}

/* ===== Live-rates table palette matched to theme.jpeg ===== */
body[data-page="rates"] .rates-board{width:970px;max-width:100%;border:2px solid #a87928;background:#fffdf8}
.rates-board .market-card,
.rates-board .trade-card,
.rates-board .table-wrap{border:1px solid #a87928;box-shadow:0 5px 16px rgba(88,57,9,.14)}
.rates-board .gold-title,
.rates-board .rates-table thead th{color:#07172d!important;background-color:#cba451!important;background-image:linear-gradient(180deg,#f1dda0 0%,#d6b55f 43%,#b98b34 100%)!important;border-color:#a87928!important;border-bottom:2px solid #8c641f!important;text-shadow:0 1px 0 rgba(255,255,255,.45)}
.rates-board .gold-title{border-bottom:1px solid #a87928!important}
.rates-board .rates-table{border-collapse:separate;border-spacing:0;background:#fff}
.rates-board .rates-table thead th:first-child{border-right:1px solid #a87928!important}
.rates-board .rates-table tbody th,
.rates-board .rates-table tbody td{border-bottom:1px solid #d2b36a!important}
.rates-board .rates-table tbody th{border-right:1px solid #d2b36a!important}
.rates-board .rates-table tbody tr:last-child th,
.rates-board .rates-table tbody tr:last-child td{border-bottom:0!important}
.rates-board .rates-table tbody tr:nth-child(even){background:#fff8e7}
.rates-board .rates-table tbody tr:hover{background:#fff1c9}
.rates-board .category-tab{border-bottom:1px solid #cba451}
.rates-board .category-tab.active:after{background:linear-gradient(90deg,#8c641f,#edcf78,#8c641f)}
@media(max-width:700px){body[data-page="rates"] .rates-board{border-width:1px}.rates-board .rates-table thead th,.rates-board .rates-table tbody th,.rates-board .rates-table tbody td{padding:12px 14px}}

/* ===== Product / Sell table: separate card rows like theme.jpeg ===== */
body[data-page="rates"] .products-section>.table-wrap{overflow-x:auto!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body[data-page="rates"] .products-section .rates-table{width:100%;min-width:570px;border-collapse:separate!important;border-spacing:0 10px!important;padding:0 2px;background:transparent!important}
body[data-page="rates"] .products-section .rates-table thead th{padding:11px 18px!important;border-top:1px solid #a87928!important;border-bottom:2px solid #8c641f!important;background:linear-gradient(180deg,#f1dda0 0%,#d6b55f 43%,#b98b34 100%)!important;color:#07172d!important;font-weight:850;text-transform:uppercase}
body[data-page="rates"] .products-section .rates-table thead th:first-child{border-left:1px solid #a87928!important;border-right:1px solid #a87928!important;border-radius:9px 0 0 9px}
body[data-page="rates"] .products-section .rates-table thead th:last-child{border-right:1px solid #a87928!important;border-radius:0 9px 9px 0;text-align:center}
body[data-page="rates"] .products-section .rates-table tbody tr{background:transparent!important;filter:drop-shadow(0 3px 5px rgba(70,45,8,.13))}
body[data-page="rates"] .products-section .rates-table tbody th,
body[data-page="rates"] .products-section .rates-table tbody td{padding:10px 16px!important;border-top:1px solid #bd9644!important;border-bottom:1px solid #bd9644!important;background:#fff!important;vertical-align:middle}
body[data-page="rates"] .products-section .rates-table tbody th{border-left:1px solid #bd9644!important;border-right:1px solid #e0c989!important;border-radius:9px 0 0 9px}
body[data-page="rates"] .products-section .rates-table tbody td{border-right:1px solid #bd9644!important;border-radius:0 9px 9px 0}
body[data-page="rates"] .products-section .rates-table tbody tr:hover>th,
body[data-page="rates"] .products-section .rates-table tbody tr:hover>td{background:#fff4d3!important}
body[data-page="rates"] .products-section .rates-table .empty-state{border:1px solid #bd9644!important;border-radius:9px!important;background:#fff!important;text-align:center}
body[data-page="rates"] .products-section .product-button{color:#0b263f;font-size:1rem;font-weight:850;letter-spacing:.01em}
body[data-page="rates"] .products-section .sell-box{border:0;border-radius:6px}
@media(max-width:700px){body[data-page="rates"] .products-section .rates-table{min-width:0;border-spacing:0!important;padding:0}body[data-page="rates"] .products-section .rates-table thead{display:block!important;margin-bottom:7px}body[data-page="rates"] .products-section .rates-table thead tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(118px,42%)}body[data-page="rates"] .products-section .rates-table thead th{display:block;width:auto!important;padding:8px!important}body[data-page="rates"] .products-section .rates-table tbody{gap:7px}body[data-page="rates"] .products-section .rates-table tbody tr{overflow:visible;border:0!important;border-radius:0;background:transparent!important;box-shadow:none;filter:drop-shadow(0 2px 4px rgba(70,45,8,.13))}body[data-page="rates"] .products-section .rates-table tbody th,body[data-page="rates"] .products-section .rates-table tbody td{padding:8px!important}body[data-page="rates"] .products-section .product-button{font-size:.84rem}}

/* ===== Product / Sell cards: no middle vertical divider ===== */
body[data-page="rates"] .products-section .rates-table thead th:first-child{border-right:0!important}
body[data-page="rates"] .products-section .rates-table thead th+th{border-left:0!important}
body[data-page="rates"] .products-section .rates-table tbody th{border-right:0!important}
body[data-page="rates"] .products-section .rates-table tbody td{border-left:0!important}
body[data-page="rates"] .products-section .rates-table .empty-state{border:1px solid #bd9644!important}

.site-header{min-height:150px!important;background-color:#031126!important;background-image:url("../../bg.png")!important;background-repeat:no-repeat!important;background-position:center 66%!important;background-size:cover!important}

.sales-enquiry-popup{position:fixed;right:22px;bottom:94px;z-index:10000;width:min(340px,calc(100vw - 30px));padding:24px;background:linear-gradient(160deg,#0b2440,#041126);border:1px solid #b8860b;border-radius:14px;box-shadow:0 18px 46px rgba(0,0,0,.64);opacity:0;visibility:hidden;transform:translateY(16px);pointer-events:none;transition:opacity .28s ease,transform .38s cubic-bezier(.22,1,.36,1),visibility 0s linear .38s}.sales-enquiry-popup.show{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition-delay:0s}.sales-enquiry-close{position:absolute;top:8px;right:8px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#f6e4ab;font-size:1.55rem;line-height:1;cursor:pointer}.sales-enquiry-close:hover{background:rgba(212,175,55,.1);color:#fff}.sales-enquiry-title{margin:0 36px 6px 0;color:#f6e4ab;font-family:"Segoe UI",Arial,sans-serif;font-size:1.25rem;font-weight:800}.sales-enquiry-copy{margin:0 0 18px;color:#c9c9c9;font-size:.82rem;line-height:1.55}.sales-enquiry-label{display:block;margin:0 0 5px;color:#f6e4ab;font-size:.76rem;font-weight:600}.sales-enquiry-input{display:block;width:100%;height:44px;margin:0 0 13px;padding:10px 12px;border:1px solid rgba(212,175,55,.35);border-radius:8px;background:#061a33;color:#fff;font:inherit;font-size:.9rem;transition:border-color .2s ease,box-shadow .2s ease}.sales-enquiry-input::placeholder{color:#858585}.sales-enquiry-input:focus{outline:none;border-color:#e5b950;box-shadow:0 0 0 3px rgba(229,185,80,.6)}.sales-enquiry-submit{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:2px;padding:10px 16px;border:0;border-radius:8px;background:linear-gradient(180deg,#f8e295 0%,#d4af37 55%,#b8860b 100%);color:#1a1300;font:inherit;font-size:.86rem;font-weight:800;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}.sales-enquiry-submit:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(212,175,55,.34)}.sales-enquiry-submit:disabled{cursor:wait;opacity:.6;transform:none;box-shadow:none}.sales-enquiry-close:focus-visible,.sales-enquiry-submit:focus-visible{outline:3px solid rgba(229,185,80,.6);outline-offset:2px}.sales-enquiry-status{min-height:19px;margin:9px 0 -4px;color:#c9c9c9;font-size:.76rem;line-height:1.5}.sales-enquiry-status.error{color:#ff7777}.sales-enquiry-status.success{color:#5ee888}@media(max-width:575px){.sales-enquiry-popup{right:12px;bottom:calc(86px + env(safe-area-inset-bottom));width:calc(100vw - 24px);padding:20px}}@media(prefers-reduced-motion:reduce){.sales-enquiry-popup,.sales-enquiry-popup.show{transition:none;transform:none}}

/* ===== Small-device rate spacing: preserve desktop-like alignment ===== */
@media(max-width:700px){
  body[data-page="rates"] .summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  body[data-page="rates"] .summary-grid .primary-rate{width:calc(100% - 8px)!important;max-width:100%;margin-inline:auto;padding-inline:2px!important;font-size:clamp(.86rem,4vw,1.18rem)!important;white-space:nowrap}
  body[data-page="rates"] .summary-grid .high-low{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;width:100%;gap:2px;margin-top:6px!important;font-size:clamp(.48rem,1.65vw,.68rem)!important;line-height:1.25}
  body[data-page="rates"] .summary-grid .high-low>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:clip}
  body[data-page="rates"] .summary-grid .high-low>span:first-child{text-align:left}
  body[data-page="rates"] .summary-grid .high-low>span:last-child{text-align:right}
  body[data-page="rates"] .trade-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body[data-page="rates"] .bid-ask-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important;padding:8px 12px 9px!important}
  body[data-page="rates"] .bid-ask-grid>div{min-width:0}
  body[data-page="rates"] .quote-value{width:calc(100% - 4px);max-width:100%;margin-inline:2px;padding-inline:3px!important;font-size:clamp(.95rem,4.5vw,1.28rem)!important;white-space:nowrap}
  body[data-page="rates"] .quote-meta{min-width:0;margin-top:6px!important;padding-inline:2px;font-size:clamp(.58rem,2vw,.72rem);white-space:nowrap;overflow:hidden}
  body[data-page="rates"] .products-section .rates-table thead tr,
  body[data-page="rates"] .products-section .rates-table tbody tr{grid-template-columns:minmax(0,1fr) minmax(126px,44%)!important}
  body[data-page="rates"] .products-section .rates-table thead th:first-child,
  body[data-page="rates"] .products-section .rates-table tbody th{padding:9px 8px 9px 11px!important}
  body[data-page="rates"] .products-section .rates-table thead th:last-child,
  body[data-page="rates"] .products-section .rates-table tbody td{padding:9px 12px 9px 8px!important}
  body[data-page="rates"] .products-section .sell-box{width:100%!important;max-width:100%;margin:0!important;padding:6px 5px!important;font-size:clamp(.95rem,4.4vw,1.16rem)!important;white-space:nowrap}
  body[data-page="rates"] .products-section .sell-range{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;width:100%;gap:4px;margin-top:4px!important;padding-inline:2px;font-size:clamp(.54rem,1.9vw,.68rem)!important;line-height:1.25}
  body[data-page="rates"] .products-section .sell-range>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:clip}
  body[data-page="rates"] .products-section .sell-range>span:first-child{text-align:left}
  body[data-page="rates"] .products-section .sell-range>span:last-child{text-align:right}
}
@media(max-width:380px){
  body[data-page="rates"] .rates-content{padding-inline:5px!important}
  body[data-page="rates"] .products-section .rates-table thead tr,
  body[data-page="rates"] .products-section .rates-table tbody tr{grid-template-columns:minmax(0,1fr) minmax(124px,44%)!important}
  body[data-page="rates"] .products-section .rates-table thead th:last-child,
  body[data-page="rates"] .products-section .rates-table tbody td{padding-right:10px!important}
}
