@font-face{font-family:'Material Symbols Outlined';font-style:normal;font-weight:400;src:url(material-symbols-outlined.woff2) format('woff2')}
:root{--plate:url(plate-gold.png)}
html[data-metal=silver]{--plate:url(plate-silver.png)}html[data-metal=platinum]{--plate:url(plate-platinum.png)}
.rng,.v2-chart,.v2-date{display:none}
@media (max-width:767px){
/* things the script adds are hidden on wide screens */

/* UI v2 (mobile only, <= 767px). Sample: lives only in docs/ui-v2; nothing here is read by the real build.
   Colours and sizes follow priceofgold-mobile-dev-handoff.txt and the approved mockup. */
@media (max-width:767px){
:root{--navy:#0A1326;--gold:#FFF3D6;--name:#94650A;--badge:#FBF3DE;--badge-t:#684A16;--link:#041D53;--strip:#F7F9FD;--chartbg:#F9FBFD;--cline:#1D476B;
  --up:#008A36;--down:#D50000;--upn:#00E676;--downn:#FF5252;--bd:#D9DFE9;--rowbd:#E3E7EE;--ink:#151C2B;--mut:#4D586B}
html body,html body *:not(svg):not(svg *){font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
html body{background:#fff;color:var(--ink);font-variant-numeric:tabular-nums}
html body .wrap{padding-left:16px;padding-right:16px}
.tick,.mtabs,.wgp,.oth-mhide{display:none!important}

/* header */
.hdr{background:#fff;border-bottom:0;box-shadow:none}
.hdr .wrap{height:62px;display:flex;align-items:center;justify-content:space-between}
html body .hdr .logo .wm-i{fill:var(--navy)}html body .hdr .logo .wm-l{fill:#8A5F10}
.hdr .pick{height:35px;padding:0 10px;border:1px solid #D9DFE9;border-radius:8px;background:#F8FAFD;box-shadow:none;font-size:15px;font-weight:600;gap:6px;color:var(--ink)}
.hdr .pick .f{font-size:15px}

/* date row (built by ui-v2.js) + quote strip */
.hero{padding:0 0 6px;background:#fff;border:0}
.hero:before{display:none}
.hero .strip{margin:0 -16px;padding:0;border:0}
.hero .ms-head{display:none}
.v2-date{background:var(--navy);color:#fff;height:35px;padding:0 16px;display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;white-space:nowrap}
.v2-date i{width:9px;height:9px;border-radius:50%;background:#9AA4AD;flex:none;margin-right:2px}
.v2-date.live i{background:var(--upn);box-shadow:0 0 6px rgba(0,230,118,.6)}
.v2-date b{font-weight:700;color:#C9D1DE}.v2-date.live b{color:var(--upn)}
.v2-date .c{margin-inline-start:auto;color:#9AA6BA;font-size:13px;font-weight:600;letter-spacing:.3px;text-transform:uppercase}
.hero .ms-grid{background:var(--gold);padding:10px 16px 12px;gap:0}
.hero .ms-t{padding:0 6px 0 8px;border-left:1px solid #E8D8AE;min-width:0}
.hero .ms-t:first-child{padding-left:0;border-left:0}
.hero .ms-l{font-size:10.5px;font-weight:600;color:#5A6270;letter-spacing:0;gap:3px;text-transform:uppercase;white-space:nowrap}
.hero .ms-a{font-size:8px}
.hero .ms-v{margin:3px 0 0;padding:1px 8px 1px 6px;border-radius:8px;background:transparent;display:inline-flex}
.hero .ms-v.tick-up{background:#DDF1E6}.hero .ms-v.tick-down{background:#F9DDD8}
.hero .ms-n{font-size:15.5px;font-weight:600;color:var(--ink);letter-spacing:-.1px}
.hero .ms-d,.hero .ms-v small{display:none!important}
.hero .ms-c{font-size:13px;font-weight:600;margin-top:2px}
.hero .ms-c.up,.hero .ms-a.up{color:var(--up)}.hero .ms-c.down,.hero .ms-a.down{color:var(--down)}

/* title */
.hero .h1{display:flex;align-items:center;gap:11px;font-size:24px;line-height:28px;font-weight:600;color:var(--ink);margin:22px 0 16px 5px;letter-spacing:-.2px}
.hero .h1 .fl{font-size:50px;line-height:1;flex:none;margin-right:0}
.hero .h1 .nm{color:var(--name);font-weight:600}

/* main price table + share row = one rounded card */
html body .hero .qt{border:1px solid var(--bd);border-bottom:0;border-radius:8px 8px 0 0;overflow:hidden;background:#fff;box-shadow:none}
.hero .qt table{width:100%;border-collapse:collapse}
.hero .qt .qdt td{background:#fff;color:var(--mut);font-size:12.5px;font-weight:500;padding:0 12px;height:31px;border:0;white-space:nowrap;overflow:hidden;max-width:0;letter-spacing:-.1px;text-overflow:ellipsis}
.hero .qt .qdt .qlive{color:var(--up);font-weight:700;margin-inline-end:3px;font-size:13px;letter-spacing:0;text-transform:none;gap:5px;display:inline-flex;align-items:center}
.hero .qt .qdt .qlive i{background:var(--up);width:8px;height:8px}
.hero .qt .qdt .qlive:not(.on){color:#6B7385}.hero .qt .qdt .qlive:not(.on) i{background:#9AA4AD}
html body .hero .qt .qdt time,html body .hero .qt .qdt bdi{white-space:nowrap;font-weight:500;color:var(--mut);font-size:11.5px}
.hero .qt thead tr:not(.qdt) th{background:var(--navy);color:#fff;padding:9px 12px;height:53px;vertical-align:middle;line-height:1.35}
.hero .qt thead tr:not(.qdt) th:first-child{width:60%;font-size:14.5px;font-weight:400;color:#DCE2EE;text-align:start}
.hero .qt thead .nm{color:#fff;font-weight:600;font-size:16px}
.hero .qt thead .qr{border-inline-start:1px solid #2A3550;text-align:end;font-size:15.5px;font-weight:600;color:#fff}
.hero .qt thead .qr .sar{font-size:0;margin:0}.hero .qt thead .qr .sar:after{content:attr(title);font-size:15.5px}
.hero .qt thead .qr .qrow{display:block;margin-top:2px}
html body .hero .qt .pill{background:transparent!important;padding:0;font-size:14.5px;font-weight:600}
.hero .qt .pill.up{color:var(--upn)}.hero .qt .pill.down{color:var(--downn)}
.hero .qt .qx{display:none}
.hero .qt tbody tr{border-top:1px solid var(--rowbd)}
.hero .qt tbody td{padding:0 12px;height:48px;vertical-align:middle}
.hero .qt .ql{display:flex;align-items:center;gap:12px}
html body .hero .qt .ql .qb{display:inline-flex!important;background:var(--badge);color:var(--badge-t);border:0;box-shadow:none;border-radius:8px;width:41px;height:28px;display:inline-flex;align-items:center;justify-content:center;font-size:13.5px;font-weight:600;flex:none;padding:0}
.hero .qt .qb i{display:none}
.hero .qt .ql>span:last-child{color:var(--ink);font-weight:500;font-size:16px;line-height:1.15}
.hero .qt .ql em{display:block;color:var(--mut);font-style:normal;font-weight:400;font-size:14px;line-height:1.2;margin-top:1px}
html body .hero .qt tbody td.qv{text-align:end;border-inline-start:1px solid var(--rowbd);background:#F9F9FA}
html body .hero .qt tbody td.qv.up{background:#F6FBF8}html body .hero .qt tbody td.qv.down{background:#FDF8F8}
.hero .qt .qv .qn,.hero .qt .qv .js-qp{font-size:20px;font-weight:600;color:var(--ink);letter-spacing:0}
html body .hero .shr{display:flex;align-items:center;gap:4px;border:1px solid var(--bd);border-top:1px solid var(--rowbd);border-radius:0 0 8px 8px;background:linear-gradient(180deg,#E6F6EC 0%,#fff 100%);padding:11px 12px 12px;margin:0;box-shadow:none}
.hero .shr .wa{flex:1;display:flex;align-items:center;gap:10px;background:none;border:0;padding:0;color:var(--link);min-width:0}
.hero .shr .wa i{width:34px;height:34px;border-radius:50%;background:#22C35E;display:grid;place-items:center;flex:none}
.hero .shr .wa b{display:block;font-size:16px;font-weight:600;color:var(--link)}
.hero .shr .wa small{display:block;font-size:14px;color:var(--mut);font-weight:400}
.hero .shr .ib{width:40px;height:42px;border-radius:6px;border:1px solid var(--bd);background:#fff;color:var(--link);box-shadow:none;margin:0}
.hero .srcline{font-size:0;margin:12px 0 0;line-height:1.3}
.hero .srcline span{font-size:14px;color:#5B6577}
.hero .srcline span:first-child:after{content:" \00b7 "}
html body .hero .srcline a{display:block;margin-top:5px;font-size:15px;font-weight:600;color:var(--link)}
.hero .js-dealer{margin-top:0}

/* sections */
html body .sec{padding:0;margin:0}
html body .sec>.wrap{padding-top:28px;padding-bottom:0}
html body .sec h2.caps,html body .sec h2.serif{text-transform:none;font-family:inherit;font-size:20px;font-weight:700;color:var(--ink);letter-spacing:-.2px;line-height:1.25;margin:0 0 6px}
html body .sec .kicker{font-size:14.5px;color:var(--mut);line-height:1.4;margin:0 0 14px}
.kf{background:#fff}
html body .kf .kf-sum{font-size:16px;line-height:21px;color:var(--mut);margin:12px 0 0}
html body .kf .kf-sum b,html body .kf .kf-sum .kf-up,html body .kf .kf-sum .kf-dn{font-weight:400;color:inherit}

/* pale-gold karat badges */
html body .kb,html body .kb.k24,html body .kb.k22,html body .kb.k21,html body .kb.k18,html body .kb.k14,html body .kb.k10,html body .kb.k6{background:var(--badge)!important;color:var(--badge-t)!important;border:0!important;box-shadow:none!important;border-radius:8px;font-weight:600;font-size:13.5px;min-width:40px;height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px}

/* underline tabs */
.hrange,.mini-seg,.rtabs{display:flex;background:var(--strip);border:0!important;border-bottom:1px solid var(--rowbd)!important;border-radius:0;padding:0;margin:0;gap:0;height:43px}
.hrange button,.mini-seg button,.rtabs button{flex:1;display:flex;align-items:center;justify-content:center;background:transparent!important;border:0!important;border-radius:0;padding:0;margin:0;font-size:16px;font-weight:500;color:var(--mut);cursor:pointer;height:43px}
.hrange button>span,.mini-seg button>span,.rtabs button>span{padding:0 6px;height:43px;display:flex;align-items:center;box-sizing:border-box;border-bottom:2px solid transparent;margin-bottom:-1px}
.hrange button[aria-pressed=true],.mini-seg button[aria-pressed=true],.mini-seg button.on,.rtabs button[aria-pressed=true]{color:var(--link)!important;font-weight:700}
.hrange button[aria-pressed=true]>span,.mini-seg button[aria-pressed=true]>span,.mini-seg button.on>span,.rtabs button[aria-pressed=true]>span{border-bottom-color:var(--link)}

/* tables: navy header */
html body .htbl thead th,html body .tbl thead th,html body .rcard thead th{background:var(--navy);color:#fff;font-weight:600;font-size:14.5px;padding:0 12px;height:38px;text-align:start;border:0;text-transform:none;letter-spacing:0}
html body .htbl .n,html body .tbl .p{font-variant-numeric:tabular-nums}

/* history */
.hcard,.tbl{border:1px solid var(--bd);border-radius:8px;overflow:hidden;background:#fff;padding:0;box-shadow:none;margin:0}
.hcard .js-hchart{background:var(--chartbg);padding:14px 12px 0}
.hcard .hhead{display:flex;justify-content:space-between;align-items:flex-start}
.hcard .hhead .hl{font-size:13px;font-weight:600;color:var(--mut);text-transform:uppercase;letter-spacing:.3px}
.hcard .hv{font-size:26px;font-weight:600;color:var(--ink);line-height:1.15;margin-top:3px}
.hcard .hv span{font-size:15px;font-weight:500;color:var(--mut);margin-left:5px}
.hcard .hchg{text-align:end;font-size:17px;font-weight:700;line-height:1.2;margin-top:19px}
.hcard .hchg span{display:block;font-size:13px;font-weight:500;color:var(--mut);margin-top:3px}
.hcard .hchg.down{color:var(--down)}.hcard .hchg.up{color:var(--up)}
.hcard .js-hchart:has(+ .v2-chart) svg,.hcard .js-hchart:has(+ .v2-chart) .haxis{display:none}
.v2-chart{background:var(--chartbg);padding:0 12px 14px}
.v2-chart svg{display:block;width:100%;height:auto;overflow:visible}
.v2-chart .hi{font-size:15px;color:var(--mut);margin:2px 0 0}
.htbl{width:100%;border-collapse:collapse}
.hcard .tbl-wrap{border-top:1px solid var(--bd);margin-top:0}
html body .htbl tbody td{height:44px;padding:0 12px;font-size:15px;font-weight:500;border-top:1px solid var(--rowbd);color:var(--ink)}
.htbl th.n,.htbl td.n{text-align:start}
.htbl th:last-child,.htbl td:last-child{text-align:end!important}
.htbl .mini{display:none}
.htbl td.n.up,.htbl td.n.down{font-weight:700}
.htbl td.n.up{color:var(--up)}.htbl td.n.down{color:var(--down)}
.hnote{font-size:14.5px;color:var(--mut);margin:12px 0 0}
#history .hcard{border-radius:8px}
#history .hcard .tbl-wrap{margin:0}
.hcard>.js-hdata+.tbl-wrap{margin:0}
/* history table is its own card in the mockup */
.hcard .js-hist,.js-hist{display:block}
.js-hist>.hcard{border-radius:8px 8px 0 0;border-bottom:0}

/* compare karats */
.tbl .tbar.top{padding:0;border:0;background:transparent;display:block}
.tbl .tbar .spread{display:none}
.tbl table{width:100%;border-collapse:collapse}
.tbl thead th:nth-child(2){text-align:center}.tbl thead th:last-child{text-align:end}
html body .tbl tbody td{height:50px;padding:0 12px;border-top:1px solid var(--rowbd)}
html body .tbl tbody tr.hl td{background:#fff}
.tbl .kc{display:flex;align-items:center;gap:8px}
.tbl .kc .mini{font-size:14.5px;color:var(--mut)}
.tbl td.p{text-align:center;font-size:20px;font-weight:600;color:var(--ink)}
.tbl td.p .tk{display:none}
.tbl td.c{text-align:end;font-size:16px;font-weight:700;line-height:1.2}
.tbl td.c .mini{display:block;font-size:12.5px;font-weight:600}
.tbl td.c.up,.tbl td.c.up .mini{color:var(--up)}.tbl td.c.down,.tbl td.c.down .mini{color:var(--down)}
.tbl .more{display:block;width:100%;height:44px;background:#fff;border:0;border-top:1px solid var(--rowbd);font-size:16px;font-weight:600;color:var(--link)}

/* social card */
.fol{padding:0}
.fol>.wrap{padding-top:28px}
.fol .card{border:1px solid var(--bd);border-radius:8px;padding:16px;background:#fff;box-shadow:none}
.fol .card .t{font-size:17px;font-weight:700;color:var(--ink);line-height:1.25}
.fol .card .s{font-size:14.5px;color:var(--mut);margin:6px 0 14px}
.fol .bt{display:flex;gap:10px}
.fol .bt a{flex:1;height:44px;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:16px;font-weight:600;border:0}
.fol .fb{background:#1877F2}
.fol .ig{background:linear-gradient(60deg,#F0553A 0%,#C93A6B 55%,#9B2494 100%)}

/* guide cards, about, formula */
.gcards{display:block}
.gcard{border:1px solid var(--bd);border-radius:8px;padding:16px;background:#fff;margin:0 0 12px;box-shadow:none}
.gcard .gi{width:28px;height:28px;border-radius:8px;background:#F7EDD9;color:#7A5410;display:grid;place-items:center;font-size:14px;font-weight:700;margin-bottom:10px}
.gcard h3{font-size:17px;font-weight:700;color:var(--ink);margin:0 0 2px}
.gcard p{font-size:16px;line-height:20px;color:var(--mut);margin:0}
.aboutp,.fxpost{font-size:16px;line-height:19px;color:var(--mut)}
.about>.wrap{padding-top:4px}
.formula{border:1px solid var(--bd);border-radius:8px;overflow:hidden;background:#fff}
.formula .fstep{display:flex;align-items:center;gap:12px;min-height:57px;padding:0 12px;border-top:1px solid var(--rowbd);background:#fff}
.formula .fstep:first-child{border-top:0}
.formula .op{width:30px;height:30px;border-radius:8px;background:#E9F0FA;color:var(--ink);display:grid;place-items:center;font-size:14px;font-weight:700;flex:none}
.formula .fstep.total .op{background:#F7EDD9;color:#7A5410}
.formula .d{flex:1;font-size:14px;color:var(--mut);line-height:1.25}
.formula .d b{display:block;font-size:16px;font-weight:600;color:var(--ink)}
.formula .n{font-size:15.5px;font-weight:600;color:var(--ink)}
.formula .fstep.total .n{color:#8A5A0B;font-weight:700}

/* exchange rows */
.js-fx{display:block}
.js-fx .row{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--bd);border-radius:8px;padding:12px;margin:0 0 12px;background:#fff;box-shadow:none;min-height:56px}
.js-fx .row .a{display:flex;align-items:center;gap:12px}
.js-fx .row .f{font-size:26px}
.js-fx .row .a div{font-size:17px;font-weight:600;color:var(--ink);line-height:1.2}
.js-fx .row .a small,.js-fx .row .v small{display:block;font-size:15px;font-weight:400;color:var(--mut);margin-top:2px}
.js-fx .row .v{font-size:18px;font-weight:700;text-align:end;color:var(--ink)}
.js-fx .row .v small{font-size:15px}

/* calculator + how we calculate cards */
.more-links .rows{display:block}
.more-links .row{display:flex;align-items:flex-start;gap:12px;border-radius:8px;padding:14px 12px;margin:0 0 12px;box-shadow:none;position:relative}
.more-links .row:first-child{background:#EAF0F9;border:0}
.more-links .row:last-child{background:#fff;border:1px solid var(--bd)}
.more-links .row .a{display:flex;align-items:flex-start;gap:12px;flex:1}
.more-links .row .f{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;flex:none;font-size:0}
.more-links .row:first-child .f{background:#fff}.more-links .row:last-child .f{background:#EAF0F9}
.more-links .row .a div{font-size:20px;font-weight:600;color:var(--ink);line-height:1.2}
.more-links .row .a small{display:block;font-size:17px;font-weight:400;color:var(--mut);line-height:1.4;margin-top:8px}
.more-links .row .go{display:none}
.more-links .row:last-child:after{content:"\203A";position:absolute;right:14px;top:12px;font-size:22px;color:var(--link)}
.more-links .row .opn{display:block;margin-top:14px;font-size:17px;font-weight:600;color:var(--link)}

/* breadcrumb + footer */
.crumbs{padding:20px 0 18px}
.crumbs .wrap{font-size:16px;font-weight:500;color:var(--mut)}
.crumbs a{color:var(--link);font-weight:700}
.crumbs .sep{margin:0 8px}
.foot{background:var(--navy);color:#fff;padding:0}
.foot .wrap{padding-top:22px;padding-bottom:26px}
html body .foot .logo .wm-i{fill:#fff}html body .foot .logo .wm-l{fill:#FFD76A}
.foot .langs{font-size:16px;line-height:19px;color:#BCD0EC;margin:14px 0 0}
.foot .langs span{display:block;font-size:17px;font-weight:700;color:#fff;margin-bottom:12px}
.foot .langs b{color:#BCD0EC;font-weight:400}
.foot .langs a{color:#BCD0EC}
.foot .fnote{border-top:1px solid #2A3550;margin-top:18px;padding-top:18px}
.foot .fnote p{font-size:16px;line-height:19px;color:#fff;margin:0 0 14px}
.foot .fnote a{color:#BCD0EC}

/* NEW: today's gold price range */
.rng .rcard{border:1px solid var(--bd);border-radius:8px;overflow:hidden;background:#fff;margin-top:14px}
.rng table{width:100%;border-collapse:collapse;table-layout:fixed}
.rng th{text-align:end}.rng th:first-child,.rng td:first-child{text-align:start}
.rng col.k{width:17%}
.rng td{height:38px;padding:0 12px;text-align:end;border-top:1px solid var(--rowbd);white-space:nowrap;font-size:14.5px;font-weight:600;color:var(--ink)}
.rng td.now{font-size:17.5px;font-weight:700}
.rng td.na{color:#6B7385;font-weight:400}
.rng .rnote{font-size:13px;color:#6B7385;padding:8px 12px;border-top:1px solid var(--rowbd);margin:0}
.rng .rcard thead th{font-size:14.5px}
.rng .rcard thead th{height:38px}
[dir=rtl] .rng th,[dir=rtl] .rng td{text-align:start}

/* round 2 polish */
html body .htbl .mini,html body .htbl td .mini{display:none!important}
html body .htbl thead th{white-space:nowrap;font-size:14px;padding:0 8px 0 12px}
html body .htbl thead th:nth-child(n+2){padding-left:0}
html body .htbl tbody td{font-weight:500}
html body .htbl tbody td:nth-child(n+2){padding-left:0}
html body .htbl td.n.up,html body .htbl td.n.down{font-weight:700;font-size:15px}
html body .tbl td.p,html body .tbl td.p .js-kp{color:var(--ink)!important}
html body .tbl tbody tr td:first-child{box-shadow:none!important;border-left:0!important}
html body .tbl tbody tr.hl td{background:#fff!important}
html body .tbl .more{text-decoration:none!important}
.fol .card .s{font-size:14px}
.gcard{padding:12px}
.gcard .gi{margin-bottom:8px}
.about>.wrap{padding-top:14px!important}
html body .formula .fstep{border:0;border-top:1px solid var(--rowbd)}
html body .formula .fstep:first-child{border-top:0}
html body .formula .fstep.total .n{font-size:15.5px}
.formula .d{font-size:13.5px}
html body .sec .kicker.js-fxat{font-size:13px}
.more-links .row:last-child .a{padding-right:20px}
html body .foot a{text-decoration:none;white-space:normal}
.foot .fnote .fmeta{font-size:16px;line-height:19px;color:#BCD0EC;margin:0 0 14px}
.foot .fnote .fmeta.cp{color:#fff;font-size:15px}
.foot .fnote .fmeta a{color:#BCD0EC}

html body .htbl thead th:first-child,html body .htbl tbody td:first-child{width:24%;padding-left:12px}
html body .htbl thead th:nth-child(2),html body .htbl thead th:nth-child(3),html body .htbl thead th:nth-child(4){width:18%}
html body .hcard{background:var(--chartbg)}
html body .hcard .tbl-wrap{background:#fff}

html[lang=ar] body,html[lang=ar] body *:not(svg):not(svg *){font-family:"Tajawal",-apple-system,"Segoe UI",Arial,sans-serif}
section.ind-faq{display:none!important}
@media (max-width:359px){
.v2-date{font-size:12px;gap:4px;padding:0 12px}.v2-date .c{font-size:11px}
.hero .ms-grid{padding:10px 10px 12px}
.hero .ms-t{padding:0 4px 0 5px}
.hero .ms-l{font-size:9px;gap:2px}
.hero .ms-v{padding:1px 4px 1px 3px;border-radius:6px}
.hero .ms-n{font-size:12.5px;letter-spacing:-.3px}
.hero .ms-c{font-size:11px}
.hero .h1{font-size:21px;line-height:25px;gap:8px;margin-left:0}
.hero .h1 .fl{font-size:40px}
html body .hero .qt .qdt time,html body .hero .qt .qdt bdi{font-size:10.5px;letter-spacing:-.3px}
.hero .qt .qdt td{padding:0 8px}
.hero .qt .ql{gap:8px}
.hero .qt .qb{width:34px;font-size:12px}
.hero .qt .ql>span:last-child{font-size:14px}
.hero .qt .ql em{font-size:12.5px}
.hero .qt thead tr:not(.qdt) th{padding:9px 8px}
.hero .qt tbody td{padding:0 8px}
.hero .qt .qv .qn,.hero .qt .qv .js-qp{font-size:18px}
html body .hero .shr .wa b{font-size:14.5px}
html body .sec .kicker.js-fxat{white-space:normal}
html body .tbl tbody td{padding:0 8px}.tbl td.p{font-size:17px}.tbl .kc{gap:5px}.tbl .kc .mini{font-size:12px}.tbl td.c{font-size:14.5px}
html body .tbl thead th{padding:0 8px;font-size:13px}
}

/* ---- round 3: notes from review ---- */
/* history table = its own 8px card, 12px below the chart card */
html body .js-hist>.hcard{border-radius:8px;border-bottom:1px solid var(--bd);margin:0}
html body .js-hist>.tbl-wrap{border:1px solid var(--bd);border-radius:8px;overflow:hidden;background:#fff;margin-top:12px}
html body .htbl{margin:0}
/* flag as big as the two title lines */
.hero .h1{gap:12px;margin:18px 0 16px 5px}
.hero .h1 .fl{font-size:60px;line-height:1;width:60px;flex:none;display:block}
/* date row: one centre line */
.v2-date,.v2-date *{line-height:1}
.v2-date{height:35px;padding:0 16px;align-items:center}
.v2-date i{margin:0 2px 0 0}
.v2-date span,.v2-date b{display:inline-flex;align-items:center;height:35px}
/* guide icon boxes: square, glyph centred */
.gcard .gi{width:28px;height:28px;min-width:28px;box-sizing:border-box;padding:0;line-height:1;font-size:14px}
.gcard .gi svg{width:15px;height:15px}
/* "Show 14K and 10K" + chevron */
.tbl .more:after{content:"";display:inline-block;width:7px;height:7px;border-right:2px solid var(--link);border-bottom:2px solid var(--link);transform:rotate(45deg);margin:0 0 3px 9px;vertical-align:middle}
.tbl .more[data-open="1"]:after{transform:rotate(225deg);margin-bottom:-2px}
/* no breadcrumb row */
.crumbs{display:none!important}
.foot .wrap{padding-top:24px}
/* exchange cards */
html body .js-fx .row{min-height:56px;padding:9px 12px 9px 14px;margin:0 0 8px;align-items:center}
html body .js-fx .row .a{gap:12px}
html body .js-fx .row .f{font-size:24px;line-height:1;width:28px;text-align:center}
html body .js-fx .row .a div{font-size:17px;line-height:20px;font-weight:600}
html body .js-fx .row .a small{font-size:15px;line-height:18px;margin:0}
html body .js-fx .row .v{font-size:18px;line-height:20px;font-weight:700}
html body .js-fx .row .v small{font-size:14.5px;line-height:18px;margin:0}
html body .sec .kicker.js-fxat{font-size:14.8px;letter-spacing:0}
@media (min-width:375px){html body .sec .kicker.js-fxat{white-space:nowrap}}
html body .sec .kicker.js-fxat{font-size:13px}
html body .htbl thead th{white-space:nowrap!important}
html body .htbl thead th:first-child,html body .htbl tbody td:first-child{width:20%}
html body .htbl thead th:nth-child(2),html body .htbl thead th:nth-child(3),html body .htbl thead th:nth-child(4){width:16%}
html body .more-links>.wrap{padding-top:12px}
/* ---- round 5: works at any window size, with or without the script ---- */
.rng,.v2-chart,.v2-date{display:block}
.v2-date{display:flex}
html body .hero .h1{display:block;position:relative;padding:2px 0 0 72px;min-height:60px;margin:18px 0 16px 5px}
html body .hero .h1 .fl{position:absolute;left:0;top:50%;transform:translateY(-50%);margin:0}
html body .hero .h1 .tt{display:block}
html body .hero .qt .qdt td,html body .hero .qt .qdt td>*{text-align:start!important}
html body .hero .qt thead tr.qdt td{padding-inline-start:15px!important;padding-inline-end:8px}
/* ---- round 4: main table measured against the mockup ---- */
html body .hero .qt thead tr:not(.qdt) th{height:54px;padding:8px 12px 0;box-sizing:border-box;vertical-align:top;line-height:17px}
html body .hero .qt thead tr:not(.qdt) th:first-child{font-size:14px;line-height:17px}
html body .hero .qt thead .nm{font-size:16px;line-height:17px;display:inline-block}
html body .hero .qt thead .qr{position:relative;border-inline-start:0;font-size:15.5px;line-height:17px}
html body .hero .qt thead .qr:before{content:"";position:absolute;inset-inline-start:0;top:10px;bottom:10px;width:1px;background:#2A3550}
html body .hero .qt thead .qr .qrow{margin-top:0;line-height:17px}
html body .hero .qt .pill{line-height:17px;font-size:14px}
html body .hero .qt thead tr.qdt,html body .hero .qt thead tr.qdt td{background:#fff!important}
html body .hero .qt .qdt .qlive{margin-inline-end:0;font-size:14px}
html body .hero .qt .qdt .qlive i,html body .hero .qt .qdt .qlive.on i{background:#2E9B4B;animation:none;opacity:1;box-shadow:none;width:8px;height:8px}
html body .hero .qt .qdt time,html body .hero .qt .qdt bdi{font-variant-numeric:normal;font-size:11.7px;color:#4A5568;font-weight:500;letter-spacing:0}
html body .hero .qt .ql>span:last-child{display:block;line-height:17px;position:relative;top:1.5px}
html body .hero .qt .ql em{line-height:17px;margin:0}
html body .hero .qt tbody td.qv.up{background:#F6FBF8!important}
html body .hero .qt tbody td.qv.down{background:#FDF8F8!important}
html body .hero .qt tbody td.qv{background:#F9F9FA}
/* ---- round 6: sizes and positions read from the mockup by measurement (top section) ---- */
/* navy date row */
html body .v2-date{font-size:11.7px;gap:0}
html body .v2-date i{width:7px;height:7px;margin:0 5.5px 0 0;box-shadow:none}
html body .v2-date b{margin-right:3.5px}
html body .v2-date .c{font-size:10.5px;letter-spacing:0}
/* gold strip */
html body .hero .ms-t{padding-left:7px}
html body .hero .ms-t:first-child{padding-left:0}
html body .hero .ms-l{font-size:9.4px}
html body .hero .ms-a{font-size:6.5px}
html body .hero .ms-v{margin:0 0 0 -4px;padding:1px 6px 1px 4px}
html body .hero .ms-c{font-size:11.1px;margin-top:0}
html body .hero .ms-grid{padding-bottom:7px}
/* title */
html body .hero .h1{margin:21px 0 14px 2.5px;padding-left:74px}
html body .hero .h1 .fl{font-size:67px;width:67px}
/* date row inside the card */
html body .hero .qt thead tr.qdt td{height:31px;box-sizing:border-box;padding:0 8px 2px 8px!important;line-height:14px;vertical-align:middle}
html body .hero .qt .qdt .qlive,html body .hero .qt .qdt time,html body .hero .qt .qdt bdi{line-height:14px}
/* navy header */
html body .hero .qt thead tr:not(.qdt) th{height:55px}
html body .hero .qt thead tr:not(.qdt) th:first-child{font-size:12.4px;padding-left:11px}
html body .hero .qt thead .nm{font-size:14.2px}
html body .hero .qt thead .qr{font-size:12.3px}
html body .hero .qt thead .qr .sar:after{font-size:12.3px}
html body .hero .qt .pill{font-size:11.1px}
/* rows */
html body .hero .qt tbody td{padding-bottom:2px}
html body .hero .qt .ql{gap:9.5px}
html body .hero .qt .qb{font-size:11.3px}
html body .hero .qt .ql>span:last-child{font-size:14.3px;top:3.2px}
html body .hero .qt .ql em{font-size:12.5px}
/* share row */
html body .hero .shr{padding:7px 8px 7px 11px}
html body .hero .shr .wa{gap:9.5px}
html body .hero .shr .wa b{font-size:14.1px}
html body .hero .shr .wa small{font-size:12.3px}
/* intro description kept (not in the mockup): small grey text between the title and the table */
html body .hero .h1{margin-bottom:8px}
html body .hero .intro{display:block;font-size:14px;line-height:19px;font-weight:400;color:var(--mut);margin:0 0 14px;max-width:none}
/* round 6e: tint follows the day's direction; Live sits on the text baseline; value edge */
html body .hero .qt tbody td.qv{animation:none!important}
html body .hero .qt[data-trend="up"] tbody td.qv{background:#F6FBF8!important}
html body .hero .qt[data-trend="down"] tbody td.qv{background:#FDF8F8!important}
html body .hero .qt .qdt .qlive{position:relative;top:1.5px}
html body .hero .qt tbody td.qv{padding-right:13px}
/* round 6d: last top-section nudges + notes (chart text, footer spacing) */
html body .hero .qt thead tr.qdt td{padding-bottom:0!important}
html body .hero .qt tbody td.qv{padding-right:9px}
html body .hero .qt .qv .qn,html body .hero .qt .qv .js-qp{font-size:20.6px}
.v2-chart .hi{color:#3D4759;font-weight:500;font-size:14px}
html body .foot .wrap{padding-top:26px;padding-bottom:30px}
html body .foot .langs{margin-top:20px;line-height:20px}
html body .foot .langs span{margin-bottom:14px}
html body .foot .fnote{margin-top:24px;padding-top:24px}
html body .foot .fnote p,html body .foot .fnote .fmeta{margin-bottom:18px;line-height:20px}
html body .foot .fnote .fmeta.lg{word-spacing:3px}
/* round 6c: date row inside the card */
html body .hero .qt thead tr.qdt td{height:30px}
html body .hero .qt .qdt .qlive{font-size:11.5px}
html body .hero .qt .qdt time,html body .hero .qt .qdt bdi{font-size:11.4px}
/* round 6b: second measurement */
html body .v2-date{font-size:11.5px;padding-bottom:2px}
html body .hero .ms-v{margin:2.5px 0 0 -4px}
html body .hero .ms-c{margin-top:.5px}
html body .hero .h1{margin:22px 0 14px 2px;padding-left:73px;font-size:24.4px}
html body .hero .qt .qb{font-size:10px}
html body .hero .qt .ql>span:last-child{font-size:14px}
/* ---- round 7: review notes (iPhone + Pixel 8a) ---- */
/* flag: text flows beside it, so it can never overlap whatever the phone's emoji width */
html body .hero .h1{display:flow-root;position:static;padding:0;min-height:0;margin:22px 0 8px 2px}
html body .hero .h1 .fl{position:static;transform:none;float:left;width:auto;font-size:67px;line-height:1;margin:-2px 15px 0 0;display:block}
html body .hero .h1 .tt{display:block}
/* main table: one step heavier, text a little larger (Pixel 8a looked small) */
html body .hero .qt thead tr:not(.qdt) th:first-child{font-size:13px;font-weight:500}
html body .hero .qt thead .nm{font-size:15px;font-weight:700}
html body .hero .qt thead .qr{font-size:13px;font-weight:700}
html body .hero .qt thead .qr .sar:after{font-size:13px}
html body .hero .qt .pill{font-size:12px;font-weight:700}
html body .hero .qt .qdt .qlive{font-weight:800}
html body .hero .qt .qdt time,html body .hero .qt .qdt bdi{font-weight:600}
html body .hero .qt .qb{font-size:11px;font-weight:700}
html body .hero .qt .ql>span:last-child{font-size:15px;font-weight:600}
html body .hero .qt .ql em{font-size:13px;font-weight:400;color:#6B7280}
html body .hero .qt .qv .qn,html body .hero .qt .qv .js-qp{font-weight:700}
html body .hero .shr .wa b{font-weight:700}
/* range card: headers right-aligned over their numbers */
html body .rng thead th{text-align:end!important}
html body .rng thead th:first-child{text-align:start!important}
html body .rng td.now{font-weight:700}
/* history table: spacing measured from the mockup (numbers about 12.5px, columns 79 / 65 / 65 / 65) */
html body .htbl{table-layout:auto}
html body .htbl thead th,html body .htbl tbody td{font-size:12.5px}
html body .htbl thead th{font-size:11.5px;font-weight:700;padding:0 0 0 0;white-space:nowrap!important}
html body .htbl thead th:first-child,html body .htbl tbody td:first-child{width:79px;padding-left:12px}
html body .htbl thead th:nth-child(n+2):not(:last-child),html body .htbl tbody td:nth-child(n+2):not(:last-child){width:65px;padding-left:0;padding-right:0}
html body .htbl thead th:last-child,html body .htbl tbody td:last-child{padding-right:12px;text-align:end!important}
html body .htbl td.n.up,html body .htbl td.n.down{font-size:12.5px;font-weight:700}
/* paragraphs in the guide cards: navy */
html body .gcard p{color:#1B2638}
/* "How this price is made": bold values */
html body .formula .n{font-weight:700}
html body .formula .fstep.total .n{font-weight:800}
/* exchange cards: the live site's sizes and spacing (card 63px, lines 21px apart) */
html body .js-fx .row{min-height:63px;padding:11px 16px;margin:0 0 10px;align-items:center}
html body .js-fx .row .a{gap:14px}
html body .js-fx .row .f{font-size:26px;width:30px}
html body .js-fx .row .a div{font-size:16.5px;line-height:21px;font-weight:700}
html body .js-fx .row .a small{font-size:14.5px;line-height:21px;font-weight:400}
html body .js-fx .row .v{font-size:17.5px;line-height:21px;font-weight:700}
html body .js-fx .row .v small{font-size:13px;line-height:21px;font-weight:400}
/* Bid / Ask: Sell Deduction + Buy Charges boxes */
.v2-ba{display:flex;gap:10px;padding:10px 12px;background:#fff;border-bottom:1px solid var(--rowbd)}
.v2-ba[hidden]{display:none}
.v2-ba label{flex:1;display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--mut)}
.v2-ba .qin{display:flex;align-items:center;height:36px;border:1px solid var(--bd);border-radius:6px;padding:0 10px;background:#fff}
.v2-ba input{flex:1;min-width:0;width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:16px;font-weight:600;color:var(--ink);padding:0;text-align:start}
.v2-ba .qin i{font-style:normal;font-size:14px;color:var(--mut)}
/* ---- round 8 ---- */
/* gold strip: bolder, darker labels; no coloured background behind the prices (the arrow next to each label still shows the tick) */
html body .hero .ms-l{font-weight:700;color:#2F3A4D}
html body .hero .ms-v,html body .hero .ms-v.tick-up,html body .hero .ms-v.tick-down{background:transparent!important;padding:0;margin:2px 0 0 1px;border-radius:0}
/* title: bold, closer to the flag */
html body .hero .h1,html body .hero .h1 .nm{font-weight:700}
html body .hero .h1 .fl{margin-right:8px}
/* date line in the card: navy, blinking Live dot */
html body .hero .qt .qdt time,html body .hero .qt .qdt bdi{color:#0A1326}
@keyframes v2blink{0%,100%{opacity:1}50%{opacity:.2}}
html body .hero .qt .qdt .qlive.on i{animation:v2blink 2s ease-in-out infinite!important}
@media (prefers-reduced-motion:reduce){html body .hero .qt .qdt .qlive.on i{animation:none!important}}
/* history table: price columns right-aligned */
html body .htbl thead th:nth-child(n+2),html body .htbl tbody td:nth-child(n+2){text-align:end!important}
html body .htbl thead th:nth-child(n+2):not(:last-child),html body .htbl tbody td:nth-child(n+2):not(:last-child){width:66px;padding-left:0;padding-right:20px}
html body .htbl thead th:last-child,html body .htbl tbody td:last-child{padding-right:12px}
/* compare karats: smaller numbers, bolder percentages */
html body .tbl td.p,html body .tbl td.p .js-kp{font-size:18px}
html body .tbl .kc .mini{font-weight:600;color:#3D4759;font-size:13px}
/* square badges everywhere */
html body .hero .qt .ql .qb{width:38px;height:38px;border-radius:8px;font-size:11px;padding:0}
html body .hero .qt .ql .qb.v2-long{font-size:9px;letter-spacing:-.2px}
html body .hero .qt .ql{gap:12.5px}
html body .tbl .kb{width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;font-size:11px;border-radius:8px}
html body .rng .kb{width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;font-size:10.5px;border-radius:8px}
/* ---- round 9: right-to-left (Arabic) ---- */
html body .hero .h1{white-space:normal;overflow:visible;text-overflow:clip}
html[dir=rtl] body .hero .h1 .fl{float:right;margin:-2px 0 0 8px}
html[dir=rtl] .v2-chart{direction:ltr}
html[dir=rtl] .tbl .more:after{margin:0 9px 3px 0}
html[dir=rtl] body .hero .h1{margin-left:0;margin-right:2px}
html[dir=rtl] body .hero .ms-t{padding:0 8px 0 6px;border-left:0;border-right:1px solid #E8D8AE}
html[dir=rtl] body .hero .ms-t:first-child{padding-right:0;border-right:0}
html[dir=rtl] .rng td,html[dir=rtl] .rng th{text-align:end}
html[dir=rtl] .rng td:first-child,html[dir=rtl] .rng th:first-child{text-align:start}
/* key figures: navy text, bold numbers, green up / red down like the live site */
html body .kf .kf-sum{color:#1B2638}
html body .kf .kf-sum b{font-weight:700;color:#0A1326}
html body .kf .kf-sum .kf-up{font-weight:700;color:var(--up)}
html body .kf .kf-sum .kf-dn{font-weight:700;color:var(--down)}
/* Bid / Ask: this script's own table replaces the page's table while the view is on */
.tbl[data-ba="1"]>table:not(.v2-bat){display:none}
.v2-bat{width:100%;border-collapse:collapse}
/* ---- round 10 ---- */
/* flag no taller than the two title lines, so the intro sits close under the title */
html body .hero .h1{margin-bottom:4px}
html body .hero .h1 .fl{margin:-5px 8px -6px 0}
html[dir=rtl] body .hero .h1 .fl{margin:-5px 0 -6px 8px}
/* history table: padding follows the reading direction (works in Arabic too) */
html body .htbl thead th:first-child,html body .htbl tbody td:first-child{padding-inline-start:12px;padding-inline-end:0;padding-left:revert;padding-right:revert;text-align:start!important}
html body .htbl thead th:nth-child(n+2):not(:last-child),html body .htbl tbody td:nth-child(n+2):not(:last-child){padding-inline-start:0;padding-inline-end:20px;text-align:end!important}
html body .htbl thead th:last-child,html body .htbl tbody td:last-child{padding-inline-start:0;padding-inline-end:12px;text-align:end!important}
/* social buttons: no underline */
html body .fol .bt a{text-decoration:none}
/* calculator + how-we-calculate cards: lighter and smaller */
html body .more-links .row{padding:15px 14px;gap:11px;margin:0 0 12px;border-radius:8px}
html body .more-links .row .a{gap:11px}
html body .more-links .row .f{width:32px;height:32px;border-radius:8px}
html body .more-links .row .a div{font-size:17px;line-height:20px;font-weight:600}
html body .more-links .row .a small{font-size:14px;line-height:18px;margin-top:6px;font-weight:400;display:block}
html body .more-links .row .opn{font-size:14px;line-height:18px;margin-top:22px;font-weight:600}
html body .more-links .row:last-child:after{content:"";width:8px;height:8px;border-right:1.6px solid var(--link);border-top:1.6px solid var(--link);transform:rotate(45deg);right:20px;top:23px;font-size:0}
}

/* ---- round 4: Arabic notes ---- */
/* range table: numbers on the right edge of their column */
html[dir=rtl] body .rcard th,html[dir=rtl] body .rcard td{text-align:right!important}
/* history header keeps the English layout (value left, change right) */
html[dir=rtl] body .hcard .hhead{direction:ltr}
html[dir=rtl] body .hcard .hhead .hl{unicode-bidi:plaintext;text-align:left}
html[dir=rtl] body .hcard .hv{direction:ltr;text-align:left}
html[dir=rtl] body .hcard .hv span{margin:0 0 0 5px}
html[dir=rtl] body .hcard .hchg{direction:ltr;text-align:right}
html[dir=rtl] body .hcard .hchg span{unicode-bidi:plaintext}
/* history table: more room between columns */
html[dir=rtl] body .htbl{table-layout:fixed;width:100%;min-width:0!important}
html[dir=rtl] body .js-hist>.tbl-wrap{overflow-x:hidden}
html[dir=rtl] body .htbl thead th,html[dir=rtl] body .htbl tbody td{padding:0 7px!important;font-size:13px;white-space:nowrap}
html[dir=rtl] body .htbl thead th:first-child,html[dir=rtl] body .htbl tbody td:first-child{width:22%}
html[dir=rtl] body .htbl thead th:nth-child(n+2),html[dir=rtl] body .htbl tbody td:nth-child(n+2){width:17%}
html[dir=rtl] body .htbl thead th:last-child,html[dir=rtl] body .htbl tbody td:last-child{width:27%}
html[dir=rtl] body .htbl thead th{font-size:12.5px}
/* social buttons: same as English (icon left of the Latin name) */
html[dir=rtl] body .fol .bt a{direction:ltr!important;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;font-weight:600!important;gap:8px}
html[dir=rtl] body .fol .bt a svg{order:0}
/* guide cards: chevron points left in RTL, icon box on the right */
html[dir=rtl] body .more-links .row:last-child:after{right:auto;left:20px;transform:rotate(-135deg)}
html[dir=rtl] body .more-links .row:last-child .a{padding-right:0;padding-left:20px}
html[dir=rtl] body .hcard .hv span{unicode-bidi:isolate;display:inline-block}
.ind-card .gi{width:28px;height:28px;min-width:28px;box-sizing:border-box;border-radius:8px;background:#F7EDD9;color:#7A5410;display:grid;place-items:center;font-size:14px;font-weight:700;margin-bottom:10px;padding:0;line-height:1}
.ind-card .gi svg{width:15px;height:15px}
/* English history table: even columns with room between numbers */
html:not([dir=rtl]) body .htbl{table-layout:fixed;width:100%;min-width:0!important}
html:not([dir=rtl]) body .htbl thead th,html:not([dir=rtl]) body .htbl tbody td{padding:0 8px!important;white-space:nowrap}
html:not([dir=rtl]) body .htbl thead th:first-child,html:not([dir=rtl]) body .htbl tbody td:first-child{width:20%;padding-left:12px!important}
html:not([dir=rtl]) body .htbl thead th:nth-child(n+2),html:not([dir=rtl]) body .htbl tbody td:nth-child(n+2){width:18%}
html:not([dir=rtl]) body .htbl thead th:last-child,html:not([dir=rtl]) body .htbl tbody td:last-child{width:26%;padding-right:12px!important}
@media (max-width:359px){html:not([dir=rtl]) body .htbl thead th,html:not([dir=rtl]) body .htbl tbody td{padding:0 4px!important;font-size:12px}html:not([dir=rtl]) body .htbl thead th:first-child,html:not([dir=rtl]) body .htbl tbody td:first-child{padding-left:8px!important;width:19%}html:not([dir=rtl]) body .htbl thead th:nth-child(n+2),html:not([dir=rtl]) body .htbl tbody td:nth-child(n+2){width:18%}html:not([dir=rtl]) body .htbl thead th:last-child,html:not([dir=rtl]) body .htbl tbody td:last-child{width:27%;padding-right:8px!important}}
@media (max-width:375px){html:not([dir=rtl]) body .htbl thead th{font-size:12px}html:not([dir=rtl]) body .htbl thead th:first-child,html:not([dir=rtl]) body .htbl tbody td:first-child{width:19%}html:not([dir=rtl]) body .htbl thead th:nth-child(n+2),html:not([dir=rtl]) body .htbl tbody td:nth-child(n+2){width:17.5%}html:not([dir=rtl]) body .htbl thead th:last-child,html:not([dir=rtl]) body .htbl tbody td:last-child{width:28.5%}}
@media (max-width:339px){html:not([dir=rtl]) body .htbl thead th{font-size:11.5px}html:not([dir=rtl]) body .htbl thead th:first-child,html:not([dir=rtl]) body .htbl tbody td:first-child{width:18%}html:not([dir=rtl]) body .htbl thead th:nth-child(n+2),html:not([dir=rtl]) body .htbl tbody td:nth-child(n+2){width:17%}html:not([dir=rtl]) body .htbl thead th:last-child,html:not([dir=rtl]) body .htbl tbody td:last-child{width:31%}}
/* header row painted once (no 1px seam between the two header cells) */
html body .hero .qt thead tr:not(.qdt){background:var(--navy)}
html body .hero .qt thead tr:not(.qdt) th{background:transparent!important}
/* header band runs edge to edge: no peach line above, no grey line below, card border hidden beside it */
html body .hero .qt{border:1px solid transparent!important;border-bottom:0!important;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(var(--navy),var(--navy)) 0 31px/100% 55px no-repeat border-box,linear-gradient(#D9DFE9,#D9DFE9) border-box!important}
html body .hero .qt .qdt td,html body .hero .qt .qdt th{border-bottom:0!important}
html body .hero .qt tbody tr:first-child{border-top:0!important}
/* Arabic history table: numbers and headings share their right edge */
html[dir=rtl] body .htbl thead th,html[dir=rtl] body .htbl tbody td{text-align:right!important}
html[dir=rtl] body table.htbl thead th:nth-child(n+1):not(.zz),html[dir=rtl] body table.htbl tbody td:nth-child(n+1):not(.zz){text-align:right!important}
/* gold plate badges in the main table; page background light blue-grey (cards stay white) */
html body .hero .qt .ql .qb{background:var(--plate) center/100% 100% no-repeat!important;color:#4A3206!important;font-weight:700!important;text-shadow:0 1px 0 rgba(255,255,255,.35);border-radius:8px}
html body,html body .hdr,html body .hero,html body .sec.kf,html body .sec.paper{background:#FAFBFE!important}
/* ---- round 5: title, flag, sub-title, badges, radius, Rate column ---- */
html body .hero .v2-sub{margin:20px 2px 2px;font-size:13.5px;line-height:18px;font-weight:600;color:var(--name);letter-spacing:0}
html body .hero .h1{display:block!important;position:static!important;padding:0!important;min-height:0!important;margin:0 2px 12px!important;white-space:nowrap!important;font-size:min(5.55vw,22px)!important;line-height:1.25!important;overflow:visible!important}
html body .hero .h1 .tt{display:inline!important}
html body .hero .v2-fi{display:flex;align-items:center;gap:12px;margin:0 0 14px}
html body .hero .v2-fi .fl{position:static!important;float:none!important;transform:none!important;margin:0!important;width:auto!important;flex:none;font-size:46px!important;line-height:1;display:block}
html body .hero .v2-fi .intro{margin:0!important;flex:1;min-width:0}
html body .hero .qt .ql .qb{font-size:13px!important}
html body .hero .qt .ql .qb.v2-long{font-size:10px!important}
html body .hero .qt{border-radius:12px 12px 0 0!important}
html body .hero .shr{border-radius:0 0 12px 12px!important}
html body .hero .qt tbody td.qv.up,html body .hero .qt[data-trend="up"] tbody td.qv{background:#F3FBF6!important}
html body .hero .qt tbody td.qv.down,html body .hero .qt[data-trend="down"] tbody td.qv{background:#FCF6F6!important}
html body .hero .qt .qv .qn,html body .hero .qt .qv .js-qp{color:#000!important}
/* ---- round 6: pill-switch tabs, 12 px cards, white chart, 34 px badges, text karats in the range table ---- */
html body .hrange,html body .mini-seg,html body .rtabs{display:flex!important;height:44px!important;margin:12px!important;padding:3px!important;gap:0!important;background:#EEF1F6!important;border:1px solid #E1E6EF!important;border-radius:999px!important}
html body .hrange button,html body .mini-seg button,html body .rtabs button{flex:1!important;height:36px!important;border-radius:999px!important;background:transparent!important;color:#4A5568!important;font-size:15px!important;font-weight:600!important;padding:0 6px!important;min-width:0}
html body .hrange button>span,html body .mini-seg button>span,html body .rtabs button>span{padding:0!important;height:auto!important;border:0!important;margin:0!important;display:inline}
html body .hrange button[aria-pressed=true],html body .mini-seg button[aria-pressed=true],html body .mini-seg button.on,html body .rtabs button[aria-pressed=true]{background:var(--navy)!important;color:#fff!important;font-weight:700!important}
html body .hrange button[aria-pressed=true]>span,html body .mini-seg button[aria-pressed=true]>span,html body .mini-seg button.on>span,html body .rtabs button[aria-pressed=true]>span{color:#fff!important}
@media (max-width:359px){html body .hrange button,html body .mini-seg button,html body .rtabs button{font-size:13px!important;padding:0 3px!important}}
html body .hcard{background:#fff!important}
html body .hcard,html body .tbl,html body .js-hist>.hcard,html body #history .hcard,html body .js-hist>.tbl-wrap,html body .fol .card,html body .gcard,html body .ind-card,html body .formula,html body .js-fx .row,html body .more-links .row,html body .rng .rcard{border-radius:12px!important}
html body .hero .qt .ql .qb{width:34px!important;height:34px!important;font-size:11.5px!important}
html body .hero .qt .ql .qb.v2-long{font-size:9px!important}
html body .rng .kt{font-size:14.5px;font-weight:600;color:var(--ink);white-space:nowrap}
html body .hcard .js-hchart,html body .hcard .v2-chart{background:#fff!important}
/* round 7: sub-title under the title (navy); English guide cards = Arabic ones */
html body .hero .h1{margin:20px 2px 4px!important}
html body .hero .v2-sub{margin:0 2px 4px!important;color:var(--navy)!important}
html body .hero .shr .ib{border-radius:12px!important}
html[dir=rtl] body .hero .qt thead .qr,html[dir=rtl] body .hero .qt tbody td.qv{text-align:right!important}
html body .gcard{padding:16px 18px!important;border:1px solid #ECE6DA!important;margin:0 0 12px!important}
html body .gcard h3{font-size:16px!important;line-height:24px!important;margin:0 0 6px!important;font-weight:700!important}
html body .gcard p{font-size:14px!important;line-height:21.7px!important;color:#5B6570!important;margin:0!important}
html body .rng table{table-layout:fixed}
html body .rng col.k{width:36%!important}
@media (max-width:375px){html body .rng col.k{width:31%!important}html body .rng .kt{font-size:13.5px}}
@media (max-width:339px){html body .rng td,html body .rng td.now{font-size:14px!important}html body .rng col.k{width:29%!important}html body .rng .kt{font-size:12.5px}}
/* ---- round 8b: names back to 15 px, smaller sub-line, bigger badge numbers ---- */
html body .hero .qt .ql>span:last-child{font-size:15px!important;line-height:17px!important;font-weight:600!important}
html body .hero .qt .ql em{font-size:12px!important}
html body .hero .qt .ql .qb{font-size:14px!important}
html body .hero .qt .ql .qb.v2-long{font-size:10.5px!important}
@media (max-width:339px){html body .hero .qt .ql>span:last-child{font-size:14px!important}html body .hero .qt .ql .qb{font-size:13px!important}}
/* badge and two-line text share the row centre */
html body .hero .qt tbody td:first-child{padding-top:0!important;padding-bottom:0!important;vertical-align:middle!important}
html body .hero .qt .ql>span:last-child{top:0!important}
html body .hero .qt .ql{align-items:center!important}
@media (max-width:339px){html body .hero .qt .ql>span:last-child{font-size:13px!important}html body .hero .qt .ql{gap:6px!important}}
/* lighter lines inside the main table; English badge+text 2 px lower */
html body .hero .qt tbody tr{border-top-color:#EEF1F6!important}
html body .hero .qt tbody td.qv{border-inline-start-color:#EEF1F6!important}
html body .hero .shr{border-top-color:#EEF1F6!important}
html:not([dir=rtl]) body .hero .qt .ql{position:relative;top:2px}
/* ---- round 11: currency picker, compact Bid / Ask row ---- */
html body .hdr .pick{border:1px solid #E1E6EF!important;border-radius:12px!important;background:#fff!important;color:#0A1326!important;font-weight:700!important}
html body .hdr .pick svg{display:none!important}
html body .hdr .pick::after{content:"expand_more";font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';color:#6B7686;margin-inline-start:2px}
html body .v2-ba{flex-wrap:wrap;align-items:center;gap:8px 20px;padding:10px 14px;background:#F8F9FD;border-bottom:1px solid #EEF1F6}
html body .v2-ba label{flex:1 1 auto;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:600;color:#0A1326}
html body .v2-ba .qin{flex:none;width:86px;height:32px;border:1px solid #E1E6EF;border-radius:8px;padding:0 10px;background:#fff}
html body .v2-ba input{font-size:15px}
html body .v2-ba .qin i{color:#6B7686;font-size:13px}
/* Bid / Ask on phones: both boxes in one row */
@media (max-width:767px){
html body .v2-ba{flex-wrap:nowrap;gap:12px;padding:10px 12px}
html body .v2-ba label{flex:1 1 0;min-width:0;gap:6px;font-size:12.5px}
html body .v2-ba .qin{width:64px;padding:0 8px}
}
@media (max-width:359px){html body .v2-ba label{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;white-space:normal}html body .v2-ba .qin{width:100%}}
/* pill switches: pill centred in its track (same gap above and below) */
html body .hrange,html body .mini-seg,html body .rtabs{align-items:center!important}
html body .hrange button,html body .mini-seg button,html body .rtabs button{height:36px!important;min-height:0!important;max-height:36px!important;align-self:center!important}
/* currency picker: light blue fill so it reads as a button */
html body .hdr .pick{background:#EEF4FB!important;border-color:#D9DFE9!important}
/* Material Symbols icons: guide cards, calculator / f(x) cards, search box, link button */
.v2-ms{font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';color:inherit}
html body .gi .v2-ms{font-size:18px}
html body .more-links .row .f .v2-ms{font-size:22px;color:#0A1326}
html body label.search svg{display:none!important}
html body label.search::before{content:"search";font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';color:#6B7686;margin-inline-end:8px}
html body .hero .shr .ib.cpl svg{display:none!important}
html body .hero .shr .ib{display:grid!important;place-items:center}
html body .hero .shr .ib.mor svg{display:block!important;width:20px;height:20px}
html body .hero .shr .ib.cpl::after{content:"link";font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';color:#0A1326}
html body .v2-ms,html[dir=rtl] body .v2-ms{font-family:'Material Symbols Outlined'!important}

/* icon-font ligature text must not widen the box before the font loads (CLS) */
html body .hdr .pick::after,html body .hero .shr .ib.cpl::after{display:inline-block;width:20px;overflow:hidden}

}
@media (min-width:768px){
.rng,.v2-chart{display:block}
:root{--navy:#0A1326;--gold:#FFF3D6;--name:#94650A;--badge:#FBF3DE;--badge-t:#684A16;--link:#041D53;--strip:#F7F9FD;--chartbg:#F9FBFD;--cline:#1D476B;
  --up:#008A36;--down:#D50000;--upn:#00E676;--downn:#FF5252;--bd:#D9DFE9;--rowbd:#E3E7EE;--ink:#151C2B;--mut:#4D586B}
html body .sec h2.caps,html body .sec h2.serif{text-transform:none;font-family:inherit;font-size:20px;font-weight:700;color:var(--ink);letter-spacing:-.2px;line-height:1.25;margin:0 0 6px}
html body .sec .kicker{font-size:14.5px;color:var(--mut);line-height:1.4;margin:0 0 14px}
.kf{background:#fff}
html body .kf .kf-sum{font-size:16px;line-height:21px;color:var(--mut);margin:12px 0 0}
html body .kf .kf-sum b,html body .kf .kf-sum .kf-up,html body .kf .kf-sum .kf-dn{font-weight:400;color:inherit}
html body .kb,html body .kb.k24,html body .kb.k22,html body .kb.k21,html body .kb.k18,html body .kb.k14,html body .kb.k10,html body .kb.k6{background:var(--badge)!important;color:var(--badge-t)!important;border:0!important;box-shadow:none!important;border-radius:8px;font-weight:600;font-size:13.5px;min-width:40px;height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px}
.hrange,.mini-seg,.rtabs{display:flex;background:var(--strip);border:0!important;border-bottom:1px solid var(--rowbd)!important;border-radius:0;padding:0;margin:0;gap:0;height:43px}
.hrange button,.mini-seg button,.rtabs button{flex:1;display:flex;align-items:center;justify-content:center;background:transparent!important;border:0!important;border-radius:0;padding:0;margin:0;font-size:16px;font-weight:500;color:var(--mut);cursor:pointer;height:43px}
.hrange button>span,.mini-seg button>span,.rtabs button>span{padding:0 6px;height:43px;display:flex;align-items:center;box-sizing:border-box;border-bottom:2px solid transparent;margin-bottom:-1px}
.hrange button[aria-pressed=true],.mini-seg button[aria-pressed=true],.mini-seg button.on,.rtabs button[aria-pressed=true]{color:var(--link)!important;font-weight:700}
.hrange button[aria-pressed=true]>span,.mini-seg button[aria-pressed=true]>span,.mini-seg button.on>span,.rtabs button[aria-pressed=true]>span{border-bottom-color:var(--link)}
html body .htbl thead th,html body .tbl thead th,html body .rcard thead th{background:var(--navy);color:#fff;font-weight:600;font-size:14.5px;padding:0 12px;height:38px;text-align:start;border:0;text-transform:none;letter-spacing:0}
html body .htbl .n,html body .tbl .p{font-variant-numeric:tabular-nums}
.hcard,.tbl{border:1px solid var(--bd);border-radius:8px;overflow:hidden;background:#fff;padding:0;box-shadow:none;margin:0}
.hcard .js-hchart{background:var(--chartbg);padding:14px 12px 0}
.hcard .hhead{display:flex;justify-content:space-between;align-items:flex-start}
.hcard .hhead .hl{font-size:13px;font-weight:600;color:var(--mut);text-transform:uppercase;letter-spacing:.3px}
.hcard .hv{font-size:26px;font-weight:600;color:var(--ink);line-height:1.15;margin-top:3px}
.hcard .hv span{font-size:15px;font-weight:500;color:var(--mut);margin-left:5px}
.hcard .hchg{text-align:end;font-size:17px;font-weight:700;line-height:1.2;margin-top:19px}
.hcard .hchg span{display:block;font-size:13px;font-weight:500;color:var(--mut);margin-top:3px}
.hcard .hchg.down{color:var(--down)}
.hcard .hchg.up{color:var(--up)}
.hcard .js-hchart:has(+ .v2-chart) svg,.hcard .js-hchart:has(+ .v2-chart) .haxis{display:none}
.v2-chart{background:var(--chartbg);padding:0 12px 14px}
.v2-chart svg{display:block;width:100%;height:auto;overflow:visible}
.v2-chart .hi{font-size:15px;color:var(--mut);margin:2px 0 0}
.htbl{width:100%;border-collapse:collapse}
.hcard .tbl-wrap{border-top:1px solid var(--bd);margin-top:0}
html body .htbl tbody td{height:44px;padding:0 12px;font-size:15px;font-weight:500;border-top:1px solid var(--rowbd);color:var(--ink)}
.htbl th.n,.htbl td.n{text-align:start}
.htbl th:last-child,.htbl td:last-child{text-align:end!important}
.htbl .mini{display:none}
.htbl td.n.up,.htbl td.n.down{font-weight:700}
.htbl td.n.up{color:var(--up)}
.htbl td.n.down{color:var(--down)}
#history .hcard{border-radius:8px}
#history .hcard .tbl-wrap{margin:0}
.hcard>.js-hdata+.tbl-wrap{margin:0}
.hcard .js-hist,.js-hist{display:block}
.js-hist>.hcard{border-radius:8px 8px 0 0;border-bottom:0}
.tbl .tbar.top{padding:0;border:0;background:transparent;display:block}
.tbl .tbar .spread{display:none}
.tbl table{width:100%;border-collapse:collapse}
.tbl thead th:nth-child(2){text-align:center}
.tbl thead th:last-child{text-align:end}
html body .tbl tbody td{height:50px;padding:0 12px;border-top:1px solid var(--rowbd)}
html body .tbl tbody tr.hl td{background:#fff}
.tbl .kc{display:flex;align-items:center;gap:8px}
.tbl .kc .mini{font-size:14.5px;color:var(--mut)}
.tbl td.p{text-align:center;font-size:20px;font-weight:600;color:var(--ink)}
.tbl td.p .tk{display:none}
.tbl td.c{text-align:end;font-size:16px;font-weight:700;line-height:1.2}
.tbl td.c .mini{display:block;font-size:12.5px;font-weight:600}
.tbl td.c.up,.tbl td.c.up .mini{color:var(--up)}
.tbl td.c.down,.tbl td.c.down .mini{color:var(--down)}
.tbl .more{display:block;width:100%;height:44px;background:#fff;border:0;border-top:1px solid var(--rowbd);font-size:16px;font-weight:600;color:var(--link)}
.fol{padding:0}
.fol>.wrap{padding-top:28px}
.fol .card{border:1px solid var(--bd);border-radius:8px;padding:16px;background:#fff;box-shadow:none}
.fol .card .t{font-size:17px;font-weight:700;color:var(--ink);line-height:1.25}
.fol .card .s{font-size:14.5px;color:var(--mut);margin:6px 0 14px}
.fol .bt{display:flex;gap:10px}
.fol .bt a{flex:1;height:44px;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:16px;font-weight:600;border:0}
.fol .fb{background:#1877F2}
.fol .ig{background:linear-gradient(60deg,#F0553A 0%,#C93A6B 55%,#9B2494 100%)}
.gcards{display:block}
.gcard{border:1px solid var(--bd);border-radius:8px;padding:16px;background:#fff;margin:0 0 12px;box-shadow:none}
.gcard .gi{width:28px;height:28px;border-radius:8px;background:#F7EDD9;color:#7A5410;display:grid;place-items:center;font-size:14px;font-weight:700;margin-bottom:10px}
.gcard h3{font-size:17px;font-weight:700;color:var(--ink);margin:0 0 2px}
.gcard p{font-size:16px;line-height:20px;color:var(--mut);margin:0}
.formula{border:1px solid var(--bd);border-radius:8px;overflow:hidden;background:#fff}
.formula .fstep{display:flex;align-items:center;gap:12px;min-height:57px;padding:0 12px;border-top:1px solid var(--rowbd);background:#fff}
.formula .fstep:first-child{border-top:0}
.formula .op{width:30px;height:30px;border-radius:8px;background:#E9F0FA;color:var(--ink);display:grid;place-items:center;font-size:14px;font-weight:700;flex:none}
.formula .fstep.total .op{background:#F7EDD9;color:#7A5410}
.formula .d{flex:1;font-size:14px;color:var(--mut);line-height:1.25}
.formula .d b{display:block;font-size:16px;font-weight:600;color:var(--ink)}
.formula .n{font-size:15.5px;font-weight:600;color:var(--ink)}
.formula .fstep.total .n{color:#8A5A0B;font-weight:700}
.js-fx{display:block}
.js-fx .row{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--bd);border-radius:8px;padding:12px;margin:0 0 12px;background:#fff;box-shadow:none;min-height:56px}
.js-fx .row .a{display:flex;align-items:center;gap:12px}
.js-fx .row .f{font-size:26px}
.js-fx .row .a div{font-size:17px;font-weight:600;color:var(--ink);line-height:1.2}
.js-fx .row .a small,.js-fx .row .v small{display:block;font-size:15px;font-weight:400;color:var(--mut);margin-top:2px}
.js-fx .row .v{font-size:18px;font-weight:700;text-align:end;color:var(--ink)}
.js-fx .row .v small{font-size:15px}
.more-links .rows{display:block}
.more-links .row{display:flex;align-items:flex-start;gap:12px;border-radius:8px;padding:14px 12px;margin:0 0 12px;box-shadow:none;position:relative}
.more-links .row:first-child{background:#EAF0F9;border:0}
.more-links .row:last-child{background:#fff;border:1px solid var(--bd)}
.more-links .row .a{display:flex;align-items:flex-start;gap:12px;flex:1}
.more-links .row .f{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;flex:none;font-size:0}
.more-links .row:first-child .f{background:#fff}
.more-links .row:last-child .f{background:#EAF0F9}
.more-links .row .a div{font-size:20px;font-weight:600;color:var(--ink);line-height:1.2}
.more-links .row .a small{display:block;font-size:17px;font-weight:400;color:var(--mut);line-height:1.4;margin-top:8px}
.more-links .row .go{display:none}
.more-links .row:last-child:after{content:"\203A";position:absolute;right:14px;top:12px;font-size:22px;color:var(--link)}
.more-links .row .opn{display:block;margin-top:14px;font-size:17px;font-weight:600;color:var(--link)}
.rng .rcard{border:1px solid var(--bd);border-radius:8px;overflow:hidden;background:#fff;margin-top:14px}
.rng table{width:100%;border-collapse:collapse;table-layout:fixed}
.rng th{text-align:end}
.rng th:first-child,.rng td:first-child{text-align:start}
.rng col.k{width:17%}
.rng td{height:38px;padding:0 12px;text-align:end;border-top:1px solid var(--rowbd);white-space:nowrap;font-size:14.5px;font-weight:600;color:var(--ink)}
.rng td.now{font-size:17.5px;font-weight:700}
.rng td.na{color:#6B7385;font-weight:400}
.rng .rnote{font-size:13px;color:#6B7385;padding:8px 12px;border-top:1px solid var(--rowbd);margin:0}
.rng .rcard thead th{font-size:14.5px}
.rng .rcard thead th{height:38px}
[dir=rtl] .rng th,[dir=rtl] .rng td{text-align:start}
html body .htbl .mini,html body .htbl td .mini{display:none!important}
html body .htbl thead th{white-space:nowrap;font-size:14px;padding:0 8px 0 12px}
html body .htbl thead th:nth-child(n+2){padding-left:0}
html body .htbl tbody td{font-weight:500}
html body .htbl tbody td:nth-child(n+2){padding-left:0}
html body .htbl td.n.up,html body .htbl td.n.down{font-weight:700;font-size:15px}
html body .tbl td.p,html body .tbl td.p .js-kp{color:var(--ink)!important}
html body .tbl tbody tr td:first-child{box-shadow:none!important;border-left:0!important}
html body .tbl tbody tr.hl td{background:#fff!important}
html body .tbl .more{text-decoration:none!important}
.fol .card .s{font-size:14px}
.gcard{padding:12px}
.gcard .gi{margin-bottom:8px}
html body .formula .fstep{border:0;border-top:1px solid var(--rowbd)}
html body .formula .fstep:first-child{border-top:0}
html body .formula .fstep.total .n{font-size:15.5px}
.formula .d{font-size:13.5px}
html body .sec .kicker.js-fxat{font-size:13px}
.more-links .row:last-child .a{padding-right:20px}
html body .htbl thead th:first-child,html body .htbl tbody td:first-child{width:24%;padding-left:12px}
html body .htbl thead th:nth-child(2),html body .htbl thead th:nth-child(3),html body .htbl thead th:nth-child(4){width:18%}
html body .hcard{background:var(--chartbg)}
html body .hcard .tbl-wrap{background:#fff}
html body .js-hist>.hcard{border-radius:8px;border-bottom:1px solid var(--bd);margin:0}
html body .js-hist>.tbl-wrap{border:1px solid var(--bd);border-radius:8px;overflow:hidden;background:#fff;margin-top:12px}
html body .htbl{margin:0}
.gcard .gi{width:28px;height:28px;min-width:28px;box-sizing:border-box;padding:0;line-height:1;font-size:14px}
.gcard .gi svg{width:15px;height:15px}
.tbl .more:after{content:"";display:inline-block;width:7px;height:7px;border-right:2px solid var(--link);border-bottom:2px solid var(--link);transform:rotate(45deg);margin:0 0 3px 9px;vertical-align:middle}
.tbl .more[data-open="1"]:after{transform:rotate(225deg);margin-bottom:-2px}
html body .js-fx .row{min-height:56px;padding:9px 12px 9px 14px;margin:0 0 8px;align-items:center}
html body .js-fx .row .a{gap:12px}
html body .js-fx .row .f{font-size:24px;line-height:1;width:28px;text-align:center}
html body .js-fx .row .a div{font-size:17px;line-height:20px;font-weight:600}
html body .js-fx .row .a small{font-size:15px;line-height:18px;margin:0}
html body .js-fx .row .v{font-size:18px;line-height:20px;font-weight:700}
html body .js-fx .row .v small{font-size:14.5px;line-height:18px;margin:0}
html body .sec .kicker.js-fxat{font-size:14.8px;letter-spacing:0}
html body .sec .kicker.js-fxat{font-size:13px}
html body .htbl thead th{white-space:nowrap!important}
html body .htbl thead th:first-child,html body .htbl tbody td:first-child{width:20%}
html body .htbl thead th:nth-child(2),html body .htbl thead th:nth-child(3),html body .htbl thead th:nth-child(4){width:16%}
html body .more-links>.wrap{padding-top:12px}
.v2-chart .hi{color:#3D4759;font-weight:500;font-size:14px}
html body .rng thead th{text-align:end!important}
html body .rng thead th:first-child{text-align:start!important}
html body .rng td.now{font-weight:700}
html body .htbl{table-layout:auto}
html body .htbl thead th,html body .htbl tbody td{font-size:12.5px}
html body .htbl thead th{font-size:11.5px;font-weight:700;padding:0 0 0 0;white-space:nowrap!important}
html body .htbl thead th:first-child,html body .htbl tbody td:first-child{width:79px;padding-left:12px}
html body .htbl thead th:nth-child(n+2):not(:last-child),html body .htbl tbody td:nth-child(n+2):not(:last-child){width:65px;padding-left:0;padding-right:0}
html body .htbl thead th:last-child,html body .htbl tbody td:last-child{padding-right:12px;text-align:end!important}
html body .htbl td.n.up,html body .htbl td.n.down{font-size:12.5px;font-weight:700}
html body .gcard p{color:#1B2638}
html body .formula .n{font-weight:700}
html body .formula .fstep.total .n{font-weight:800}
html body .js-fx .row{min-height:63px;padding:11px 16px;margin:0 0 10px;align-items:center}
html body .js-fx .row .a{gap:14px}
html body .js-fx .row .f{font-size:26px;width:30px}
html body .js-fx .row .a div{font-size:16.5px;line-height:21px;font-weight:700}
html body .js-fx .row .a small{font-size:14.5px;line-height:21px;font-weight:400}
html body .js-fx .row .v{font-size:17.5px;line-height:21px;font-weight:700}
html body .js-fx .row .v small{font-size:13px;line-height:21px;font-weight:400}
.v2-ba{display:flex;gap:10px;padding:10px 12px;background:#fff;border-bottom:1px solid var(--rowbd)}
.v2-ba[hidden]{display:none}
.v2-ba label{flex:1;display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--mut)}
.v2-ba .qin{display:flex;align-items:center;height:36px;border:1px solid var(--bd);border-radius:6px;padding:0 10px;background:#fff}
.v2-ba input{flex:1;min-width:0;width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:16px;font-weight:600;color:var(--ink);padding:0;text-align:start}
.v2-ba .qin i{font-style:normal;font-size:14px;color:var(--mut)}
html body .htbl thead th:nth-child(n+2),html body .htbl tbody td:nth-child(n+2){text-align:end!important}
html body .htbl thead th:nth-child(n+2):not(:last-child),html body .htbl tbody td:nth-child(n+2):not(:last-child){width:66px;padding-left:0;padding-right:20px}
html body .htbl thead th:last-child,html body .htbl tbody td:last-child{padding-right:12px}
html body .tbl td.p,html body .tbl td.p .js-kp{font-size:18px}
html body .tbl .kc .mini{font-weight:600;color:#3D4759;font-size:13px}
html body .tbl .kb{width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;font-size:11px;border-radius:8px}
html body .rng .kb{width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;font-size:10.5px;border-radius:8px}
html[dir=rtl] .v2-chart{direction:ltr}
html[dir=rtl] .tbl .more:after{margin:0 9px 3px 0}
html[dir=rtl] .rng td,html[dir=rtl] .rng th{text-align:end}
html[dir=rtl] .rng td:first-child,html[dir=rtl] .rng th:first-child{text-align:start}
html body .kf .kf-sum{color:#1B2638}
html body .kf .kf-sum b{font-weight:700;color:#0A1326}
html body .kf .kf-sum .kf-up{font-weight:700;color:var(--up)}
html body .kf .kf-sum .kf-dn{font-weight:700;color:var(--down)}
.tbl[data-ba="1"]>table:not(.v2-bat){display:none}
.v2-bat{width:100%;border-collapse:collapse}
html body .htbl thead th:first-child,html body .htbl tbody td:first-child{padding-inline-start:12px;padding-inline-end:0;padding-left:revert;padding-right:revert;text-align:start!important}
html body .htbl thead th:nth-child(n+2):not(:last-child),html body .htbl tbody td:nth-child(n+2):not(:last-child){padding-inline-start:0;padding-inline-end:20px;text-align:end!important}
html body .htbl thead th:last-child,html body .htbl tbody td:last-child{padding-inline-start:0;padding-inline-end:12px;text-align:end!important}
html body .fol .bt a{text-decoration:none}
html body .more-links .row{padding:15px 14px;gap:11px;margin:0 0 12px;border-radius:8px}
html body .more-links .row .a{gap:11px}
html body .more-links .row .f{width:32px;height:32px;border-radius:8px}
html body .more-links .row .a div{font-size:17px;line-height:20px;font-weight:600}
html body .more-links .row .a small{font-size:14px;line-height:18px;margin-top:6px;font-weight:400;display:block}
html body .more-links .row .opn{font-size:14px;line-height:18px;margin-top:22px;font-weight:600}
html body .more-links .row:last-child:after{content:"";width:8px;height:8px;border-right:1.6px solid var(--link);border-top:1.6px solid var(--link);transform:rotate(45deg);right:20px;top:23px;font-size:0}
html[dir=rtl] body .rcard th,html[dir=rtl] body .rcard td{text-align:right!important}
html[dir=rtl] body .hcard .hhead{direction:ltr}
html[dir=rtl] body .hcard .hhead .hl{unicode-bidi:plaintext;text-align:left}
html[dir=rtl] body .hcard .hv{direction:ltr;text-align:left}
html[dir=rtl] body .hcard .hv span{margin:0 0 0 5px}
html[dir=rtl] body .hcard .hchg{direction:ltr;text-align:right}
html[dir=rtl] body .hcard .hchg span{unicode-bidi:plaintext}
html[dir=rtl] body .htbl{table-layout:fixed;width:100%;min-width:0!important}
html[dir=rtl] body .js-hist>.tbl-wrap{overflow-x:hidden}
html[dir=rtl] body .htbl thead th,html[dir=rtl] body .htbl tbody td{padding:0 7px!important;font-size:13px;white-space:nowrap}
html[dir=rtl] body .htbl thead th:first-child,html[dir=rtl] body .htbl tbody td:first-child{width:22%}
html[dir=rtl] body .htbl thead th:nth-child(n+2),html[dir=rtl] body .htbl tbody td:nth-child(n+2){width:17%}
html[dir=rtl] body .htbl thead th:last-child,html[dir=rtl] body .htbl tbody td:last-child{width:27%}
html[dir=rtl] body .htbl thead th{font-size:12.5px}
html[dir=rtl] body .fol .bt a{direction:ltr!important;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;font-weight:600!important;gap:8px}
html[dir=rtl] body .fol .bt a svg{order:0}
html[dir=rtl] body .more-links .row:last-child:after{right:auto;left:20px;transform:rotate(-135deg)}
html[dir=rtl] body .more-links .row:last-child .a{padding-right:0;padding-left:20px}
html[dir=rtl] body .hcard .hv span{unicode-bidi:isolate;display:inline-block}
.ind-card .gi{width:28px;height:28px;min-width:28px;box-sizing:border-box;border-radius:8px;background:#F7EDD9;color:#7A5410;display:grid;place-items:center;font-size:14px;font-weight:700;margin-bottom:10px;padding:0;line-height:1}
.ind-card .gi svg{width:15px;height:15px}
html:not([dir=rtl]) body .htbl{table-layout:fixed;width:100%;min-width:0!important}
html:not([dir=rtl]) body .htbl thead th,html:not([dir=rtl]) body .htbl tbody td{padding:0 8px!important;white-space:nowrap}
html:not([dir=rtl]) body .htbl thead th:first-child,html:not([dir=rtl]) body .htbl tbody td:first-child{width:20%;padding-left:12px!important}
html:not([dir=rtl]) body .htbl thead th:nth-child(n+2),html:not([dir=rtl]) body .htbl tbody td:nth-child(n+2){width:18%}
html:not([dir=rtl]) body .htbl thead th:last-child,html:not([dir=rtl]) body .htbl tbody td:last-child{width:26%;padding-right:12px!important}
html[dir=rtl] body .htbl thead th,html[dir=rtl] body .htbl tbody td{text-align:right!important}
html[dir=rtl] body table.htbl thead th:nth-child(n+1):not(.zz),html[dir=rtl] body table.htbl tbody td:nth-child(n+1):not(.zz){text-align:right!important}
html body .hrange,html body .mini-seg,html body .rtabs{display:flex!important;height:44px!important;margin:12px!important;padding:3px!important;gap:0!important;background:#EEF1F6!important;border:1px solid #E1E6EF!important;border-radius:999px!important}
html body .hrange button,html body .mini-seg button,html body .rtabs button{flex:1!important;height:36px!important;border-radius:999px!important;background:transparent!important;color:#4A5568!important;font-size:15px!important;font-weight:600!important;padding:0 6px!important;min-width:0}
html body .hrange button>span,html body .mini-seg button>span,html body .rtabs button>span{padding:0!important;height:auto!important;border:0!important;margin:0!important;display:inline}
html body .hrange button[aria-pressed=true],html body .mini-seg button[aria-pressed=true],html body .mini-seg button.on,html body .rtabs button[aria-pressed=true]{background:var(--navy)!important;color:#fff!important;font-weight:700!important}
html body .hrange button[aria-pressed=true]>span,html body .mini-seg button[aria-pressed=true]>span,html body .mini-seg button.on>span,html body .rtabs button[aria-pressed=true]>span{color:#fff!important}
html body .hcard{background:#fff!important}
html body .hcard,html body .tbl,html body .js-hist>.hcard,html body #history .hcard,html body .js-hist>.tbl-wrap,html body .fol .card,html body .gcard,html body .ind-card,html body .formula,html body .js-fx .row,html body .more-links .row,html body .rng .rcard{border-radius:12px!important}
html body .rng .kt{font-size:14.5px;font-weight:600;color:var(--ink);white-space:nowrap}
html body .hcard .js-hchart,html body .hcard .v2-chart{background:#fff!important}
html body .gcard{padding:16px 18px!important;border:1px solid #ECE6DA!important;margin:0 0 12px!important}
html body .gcard h3{font-size:16px!important;line-height:24px!important;margin:0 0 6px!important;font-weight:700!important}
html body .gcard p{font-size:14px!important;line-height:21.7px!important;color:#5B6570!important;margin:0!important}
html body .rng table{table-layout:fixed}
html body .rng col.k{width:36%!important}
html body .v2-ba{flex-wrap:wrap;align-items:center;gap:8px 20px;padding:10px 14px;background:#F8F9FD;border-bottom:1px solid #EEF1F6}
html body .v2-ba label{flex:1 1 auto;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:600;color:#0A1326}
html body .v2-ba .qin{flex:none;width:86px;height:32px;border:1px solid #E1E6EF;border-radius:8px;padding:0 10px;background:#fff}
html body .v2-ba input{font-size:15px}
html body .v2-ba .qin i{color:#6B7686;font-size:13px}
html body .hrange,html body .mini-seg,html body .rtabs{align-items:center!important}
html body .hrange button,html body .mini-seg button,html body .rtabs button{height:36px!important;min-height:0!important;max-height:36px!important;align-self:center!important}
.v2-ms{font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';color:inherit}
html body .gi .v2-ms{font-size:18px}
html body .more-links .row .f .v2-ms{font-size:22px;color:#0A1326}
html body .v2-ms,html[dir=rtl] body .v2-ms{font-family:'Material Symbols Outlined'!important}
}
/* UI v2 look layer for desktop (>= 768 px). Layout and measurements stay those of the live desktop page.
   Only colours, radius, lines, badges and tab style follow the mobile v2 design. Lives only in docs/ui-v2. */
@media (min-width:768px){
/* page background (cards stay white) */
html body{background:#FFFFFF}
/* 12 px cards */
html body .hcard,html body .tbl,html body .fol .card,html body .gcard,html body .ind-card,html body .formula,
html body .js-fx .row,html body .more-links .row,html body .hero .qt,html body .rng .rcard,html body .js-hist>.tbl-wrap{border-radius:12px}
html body .hero .shr{border-radius:0 0 12px 12px}
/* main table: lighter lines, black price numbers */
html body .hero .qt tbody tr{border-top-color:#EEF1F6}
html body .hero .qt tbody td.qv,html body .hero .qt tbody td.qx{border-inline-start-color:#EEF1F6}
html body .hero .qt .qv .qn,html body .hero .qt .qv .js-qp{color:#000}
/* gold plate badges in the main table */
html body .hero .qt .ql .qb{background:var(--plate) center/100% 100% no-repeat;color:#4A3206;font-weight:700;border:0;box-shadow:none;border-radius:8px;text-shadow:0 1px 0 rgba(255,255,255,.35)}
html body .hero .qt .qb i{display:none}
/* chart card white */
html body .hcard,html body .hcard .js-hchart,html body .hcard .v2-chart{background:#fff}
}
@media (min-width:768px){
html body .v2-chart svg{width:100%;max-width:440px;height:auto;display:block}
html body .rng .rcard,html body .js-hist .hcard{max-width:100%}
}
@media (min-width:768px){
/* history: chart card and table side by side (as in the mockup) */
html body #history .js-hist{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
html body #history .js-hist>.tbl-wrap{margin:0}
html body .v2-chart svg{max-width:100%}
}
@media (min-width:768px){
/* ---- colours from the mockup (fonts and layout stay live) ---- */
/* price ticker and language bar: navy */
html body .tick,html body .langbar{background:#0A1326}
/* top section: cream-gold strip only, white below */
html body .hero{background:linear-gradient(#FFF3D7 0,#FFF3D7 108px,#FFFFFF 108px)}
/* metal switch, karat pills, unit pills: navy active, cool track */
html body .mtabs{background:#EEF1F6;border-color:#E1E6EF}
html body .mtabs a.on{background:#0A1326}
html body .seg.js-unit{background:#EEF1F6!important;border-color:#E1E6EF!important}
html body .seg.js-unit button[aria-pressed=true],html body .seg.js-unit button.on{background:#0A1326;color:#fff}
html body .chip.on,html body .chip[aria-pressed=true]{background:#0A1326;border-color:#0A1326;color:#fff}
/* main table: navy header band, white date row, Sell Deduction / Buy Charges row in the cool grey */
html body .hero .qt thead th{background:#0A1326}
html body .hero .qt .qdt td,html body .hero .qt .qdt{background:#fff!important}
html body .hero .qt tfoot td{background:#F8F9FD!important;border-color:#E1E6EF!important}
html body .hero .qt .qin{border-color:#E1E6EF}
}
@media (min-width:768px){
/* ---- underline tabs (history range, units, Compare karats) as in the mockup ---- */
html body .rtabs,html body .hrange,html body .mini-seg{height:43px!important;margin:0!important;padding:0!important;gap:0!important;background:#F7F9FD!important;border:0!important;border-bottom:1px solid #EEF1F6!important;border-radius:0!important}
html body .rtabs button,html body .hrange button,html body .mini-seg button{flex:1!important;height:43px!important;border-radius:0!important;background:transparent!important;color:#4A5568!important;font-size:15px!important;font-weight:500!important;padding:0!important}
html body .rtabs button>span,html body .hrange button>span,html body .mini-seg button>span{display:flex!important;align-items:center;height:43px!important;padding:0 8px!important;border:0!important;border-bottom:2px solid transparent!important;margin:0 0 -1px!important;color:inherit!important}
html body .rtabs button[aria-pressed=true],html body .hrange button[aria-pressed=true],html body .mini-seg button[aria-pressed=true],html body .mini-seg button.on{background:transparent!important;color:#0A1326!important;font-weight:700!important}
html body .rtabs button[aria-pressed=true]>span,html body .hrange button[aria-pressed=true]>span,html body .mini-seg button[aria-pressed=true]>span,html body .mini-seg button.on>span{border-bottom-color:#0A1326!important;color:#0A1326!important}
/* history: percent under the change, bold dates, taller rows */
html body #history .hp{display:block;font-size:11px;font-weight:500;line-height:1.2;margin-top:1px}
html body #history table tbody td:first-child{font-weight:600}
html body #history table tbody td{height:46px}
/* chart: labels stay small on the wide card */
html body .v2-chart svg{width:100%;max-width:100%;height:auto}
}
@media (min-width:768px){
html body #history .htbl td .mini{display:block!important;font-size:11px!important;font-weight:500!important;line-height:1.2;margin-top:1px}
}
@media (min-width:768px){
/* gold plate a little smaller */
html body .hero .qt .ql .qb{width:40px!important;height:40px!important;flex-basis:40px!important;font-size:12px!important}
html body .hero .qt .ql .qb.v2-long{font-size:9.5px!important}
/* guide cards in one row */
html body #guide .gcards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
html body #guide .gcard{margin:0}
/* paragraph band: no background */
html body .sec.about,html body .sec.about .aboutp{background:none}
/* sections that sit side by side */
html body .v2-pair{display:grid;gap:32px;max-width:1016px;margin:0 auto;align-items:start}
html body .v2-pair-fx{grid-template-columns:3fr 2fr}
html body .v2-pair-more{grid-template-columns:3fr 2fr}
html body .v2-pair>section{background:none;padding-left:0;padding-right:0;margin:0}
html body .v2-pair>section>.wrap{max-width:none;padding-left:0;padding-right:0}
html body .v2-pair .js-fx{display:grid;grid-template-columns:1fr;gap:12px}
html body .v2-pair-more .js-others{display:grid;grid-template-columns:1fr 1fr;gap:12px}
html body .v2-pair-more .js-others>*{margin:0}
html body .v2-pair-more .more-links .rows{display:block}
html body .v2-pair-more>.more-links{padding-top:0}
}
@media (min-width:768px){
/* Bid / Ask: Sell Deduction and Buy Charges boxes */
html body .v2-ba{flex-wrap:wrap;align-items:flex-start;gap:12px 20px;padding:16px;background:#fff}
html body .v2-ba label{flex:0 0 210px;font-size:13px;gap:6px}
html body .v2-ba .qin{height:42px;border:1px solid #E1E6EF;border-radius:12px;padding:0 14px;background:#fff}
html body .v2-ba .qin:focus-within{border-color:#0A1326;box-shadow:0 0 0 3px rgba(10,19,38,.12)}
html body .v2-ba input{font-size:16px}
html body .v2-bahint{flex:1 1 100%;margin:0;font-size:12.5px;line-height:1.5;color:#5B6570;font-weight:400}
}
@media (min-width:768px){
/* one page background everywhere (cards stay white); only the top strip and the footer keep their colours */
html body .sec,html body .sec.paper,html body .sec.kf,html body .sec.about,html body .sec.wgp,html body .sec.oth-mhide,html body .sec.more-links,html body .fol{background:transparent!important}
/* key figures: full width */
html body .kf .kf-sum,html body .kf p{max-width:none!important}
/* notes under the country tiles: full width, navy links */
html body .v2-notes{max-width:1016px;margin:8px auto 0;padding:16px 0 8px;border-top:1px solid #EEF1F6}
html body .v2-notes p{max-width:none;margin:0 0 8px;font-size:14px;line-height:1.6;color:#4A5568}
html body .v2-notes a{color:#041D53;font-weight:600;text-decoration:none}
html body .v2-notes a:hover{text-decoration:underline}
/* widget: navy button, 12 px preview card with navy header band */
html body .wg-btn{background:#0A1326!important;color:#fff!important;border-radius:12px!important;box-shadow:none!important;border:0!important}
html body .wg-btn:hover{background:#151C2B!important}
html body .pogw{border-radius:12px!important;overflow:hidden}
html body .pogw table thead th{background:#0A1326!important;color:#fff!important}
}
@media (min-width:768px){
/* no cream glow below the strip */
html body .hero::before,html body .hero::after{display:none!important}
/* country search, tiles and "More countries" in the new style */
html body label.search{border:1px solid #E1E6EF!important;border-radius:12px!important;background:#fff!important}
html body label.search input{border-radius:12px!important;font-size:15px!important}
html body a.row.orow{background:#F8F9FD!important;border:1px solid #E1E6EF!important;border-radius:12px!important}
html body a.row.orow .go{color:#0A1326!important;font-weight:700!important}
html body a.omore{background:#fff!important;border:1px solid #E1E6EF!important;border-radius:12px!important;color:#041D53!important;font-weight:700!important}
/* footer: navy, shorter */
html body .foot{background:#0A1326!important;padding:22px 0 26px!important}
html body .foot .logo{margin-bottom:10px}
html body .foot .langs{font-size:13.5px;line-height:1.7;margin:0 0 12px}
html body .foot .fnote{column-count:2;column-gap:56px}
html body .foot .fnote>*{break-inside:avoid;margin:0 0 10px!important;font-size:13.5px!important;line-height:1.55!important}
}
@media (min-width:768px){
/* country tile arrows: Material Symbols chevron, light slate */
html body a.row.orow .go{font-size:0!important;display:inline-flex;align-items:center}
html body a.row.orow .go::after{content:"chevron_right";font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:22px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';color:#6B7686}
html[dir=rtl] body a.row.orow .go::after{content:"chevron_left"}
}
@media (min-width:768px){
/* line under the big price: darker, medium */
html body .sub.js-bigsub{color:#2F3A4D;font-weight:500}
/* Bid / Ask: one compact row like the main table's Sell Deduction row */
html body .v2-ba{padding:10px 16px;gap:8px 28px;background:#F8F9FD}
html body .v2-ba label{flex:none}
html body .v2-bahint{flex:1 1 260px;margin:0;font-size:12px;line-height:1.4;color:#5B6570}
/* footer: paragraph full width, links in rows below it */
html body .foot .fnote{display:flex!important;flex-wrap:wrap;column-count:auto!important;gap:4px 32px}
html body .foot .fnote>*{margin:0 0 8px!important}
html body .foot .fnote>.f1{flex:1 1 100%}
}
@media (min-width:768px){
/* currency picker in the header */
html body .hdr .pick{border:1px solid #E1E6EF!important;border-radius:12px!important;background:#fff!important;color:#0A1326!important;font-weight:700!important}
html body .hdr .pick svg{display:none!important}
html body .hdr .pick::after{content:"expand_more";font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';color:#6B7686;margin-inline-start:2px}
/* Bid / Ask boxes: compact */
html body .v2-ba .qin{height:32px!important;width:86px;border-radius:8px!important;padding:0 10px!important}
html body .v2-ba input{font-size:15px!important}
}
@media (min-width:768px){
/* ---- tables on desktop: faint tint inside the body rows, bold numbers, plain (not dashed) lines ---- */
html body .hero .qt tbody td:not(.qv),html body .rng tbody td,html body .tbl tbody td,html body .v2-bat tbody td{background:#FBFCFE}
html body .hero .qt tbody tr{border-top:1px solid #EEF1F6!important;border-top-style:solid!important}
html body .hero .qt tbody tr:first-child{border-top:0!important}
}
@media (min-width:768px){
/* up / down colours: same green and red as the mobile v2 pair */
:root{--up:#008A36;--down:#D50000}
}
@media (min-width:768px){
/* Rate column tint: a little greener (up) and a matching soft red (down) */
html body .hero .qt tbody td.qv.up,html body .hero .qt[data-trend="up"] tbody td.qv{background:#EAF8F0!important}
html body .hero .qt tbody td.qv.down,html body .hero .qt[data-trend="down"] tbody td.qv{background:#FBEBEA!important}
}
@media (min-width:768px){
/* karat + unit card: light background, same cool border as the other cards */
html body .hero .ctrls{background:#F8F9FD!important;border:1px solid #D9DFE9!important;border-radius:12px!important}
html body .hero .ctrls .chip{background:#fff!important;border-color:#D9DFE9!important}
html body .hero .ctrls .chip.on,html body .hero .ctrls .chip[aria-pressed=true]{background:#0A1326!important;border-color:#0A1326!important}
/* main table: same borders as the Today's-range table */
html body .hero .qt{border-color:#D9DFE9!important}
html body .hero .qt tbody tr{border-top-color:#E3E7EE!important}
html body .hero .qt tbody td.qv,html body .hero .qt tbody td.qx{border-inline-start-color:#E3E7EE!important}
html body .hero .shr,html body .hero .qt tfoot td{border-color:#E3E7EE!important}
/* divider under the cream strip: full browser width */
html body .hero .strip{border-bottom:0!important}
html body .hero{background:linear-gradient(#EADFC8,#EADFC8) 0 107px/100% 1px no-repeat,linear-gradient(#FFF3D7 0,#FFF3D7 108px,#FFFFFF 108px)!important}
}
@media (min-width:768px){
/* currency picker: light blue fill so it reads as a button */
html body .hdr .pick{background:#F8F9FD!important;border-color:#D9DFE9!important}
}
@media (min-width:768px){
/* sub-title under the main title */
html body .hero .v2-sub{margin:2px 0 10px;font-size:15px;line-height:1.4;font-weight:600;color:#0A1326}
}
@media (min-width:768px){
/* unit switch on desktop: white track with the cool border */
html body .seg.js-unit{background:#fff!important;border-color:#D9DFE9!important}
}
@media (min-width:768px){
/* Material Symbols icons: guide cards, calculator / f(x) cards, search box, link button */
.v2-ms{font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';color:inherit}
html body .gi .v2-ms{font-size:18px}
html body .more-links .row .f .v2-ms{font-size:22px;color:#0A1326}
html body label.search svg{display:none!important}
html body label.search::before{content:"search";font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';color:#6B7686;margin-inline-end:8px}
html body .hero .shr .ib.cpl svg{display:none!important}
html body .hero .shr .ib{display:grid!important;place-items:center}
html body .hero .shr .ib.mor svg{display:block!important;width:20px;height:20px}
html body .hero .shr .ib.cpl::after{content:"link";font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';color:#0A1326}
}

/* UI v2: landing page (home) only. Added after the phone and desktop sheets; phones and desktop share it. */
html body .sec.dark{background:transparent!important;color:#0A1326!important}
html body .sec.dark h2.caps{color:#0A1326!important;text-transform:none;font-family:inherit;font-size:20px;font-weight:700;letter-spacing:-.2px;margin:0 0 6px}
html body .sec.dark .kicker{color:#4D586B!important}
html body .src{display:grid;gap:12px;margin-top:14px}
html body .srcc{background:#fff!important;border:1px solid #D9DFE9!important;border-radius:12px!important;padding:16px!important;box-shadow:none!important;color:#0A1326}
html body .srcc .tag{display:inline-block;background:#FFF3D7!important;color:#0A1326!important;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.8px;padding:3px 8px;margin-bottom:10px}
html body .srcc h3{color:#0A1326!important;font-size:16px;font-weight:700;margin:0 0 6px}
html body .srcc p{color:#4D586B!important;font-size:14px;line-height:1.5;margin:0}
html body .srcc a{color:#041D53}
/* "Explore by region" and "Calculators and guides": link chips instead of bullets */
html body .sec ul.rel{list-style:none;padding:0;margin:12px 0 0;display:flex;flex-wrap:wrap;gap:8px}
html body .sec ul.rel li{margin:0;font-size:14.5px;line-height:1.3}
html body .sec ul.rel a{display:inline-block;padding:9px 14px;border:1px solid #D9DFE9;border-radius:999px;background:#fff;color:#0A1326;font-weight:600;text-decoration:none}
html body .sec ul.rel a:hover{background:#F8F9FD}
html body .sec h2.serif{color:#0A1326}
html body[data-page=home]{--up:#007F59;--down:#B83D26}
@media (max-width:767px){
  /* the live site hides the big price on phones; v2 shows it under the title, without a box */
  html body[data-page=home] .hero .big{display:flex!important;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin:0 0 8px;padding:0;background:transparent;border:0;border-radius:0}
  html body[data-page=home] .hero .big .v{font-size:38px;line-height:1.05;font-weight:700;letter-spacing:-.8px;color:#0A1326}
  html body[data-page=home] .hero .big .c{font-size:14px;font-weight:500;color:#4D586B}
  html body[data-page=home] .hero .big .pill{margin-inline-start:0;font-size:13.5px;font-weight:700;padding:4px 10px;border-radius:999px;background:#F1F3F8}
  html body[data-page=home] .hero .big .pill.up{background:#E3F7EF;color:#007F59}
  html body[data-page=home] .hero .big .pill.down{background:#FCE7E2;color:#B83D26}
  html body[data-page=home] .hero .sub{display:block!important;font-size:14px;color:#4D586B;margin:0 0 14px 2px}
}
@media (min-width:768px){
  html body .src{grid-template-columns:repeat(3,1fr)}
}

/* landing page: the live site's red and green for the price changes */
html body[data-page=home] .row .v small.chg.up,html body[data-page=home] .pill.up{color:#007F59}
html body[data-page=home] .row .v small.chg.down,html body[data-page=home] .pill.down{color:#B83D26}
html body[data-page=home] .flash-up{color:#007F59!important}html body[data-page=home] .flash-down{color:#B83D26!important}
/* "Your local price" card and the country cards: table border, no shadow */
html body .suggest{box-shadow:none!important;border:1px solid #D9DFE9!important;background:#fff!important}
html body .js-grid .row,html body .js-cityhits .row,html body .js-others .row{border:1px solid #D9DFE9!important;box-shadow:none!important}
/* search fields (page and country picker): light fill, table border, 12px radius */
html body label.search,html body .sheet .search{background:#F8F9FD!important;border:1px solid #D9DFE9!important;border-radius:12px!important;box-shadow:none!important}
html body label.search input{background:transparent!important}
/* country picker sheet */
html body .sheet .pnl{border-radius:16px 16px 0 0}
html body .sheet .grab{background:#D9DFE9}
html body .sheet h3{color:#0A1326}
html body .sheet .list a:active,html body .sheet .list a:hover{background:#F8F9FD}
html body .sheet .list a.on{background:#EEF1F6}
html body .hdr .pick{background:#F8F9FD!important;border-color:#D9DFE9!important}

/* karat / unit badges: bigger text inside the gold bar (the badge size stays) */
html body .hero .qt .ql .qb{font-size:13.5px!important}
html body .hero .qt .ql .qb.v2-long{font-size:10px!important}
@media (max-width:339px){html body .hero .qt .ql .qb{font-size:12.5px!important}html body .hero .qt .ql .qb.v2-long{font-size:9px!important}}
/* table header cells: both blocks centred on the same line in every language */
html body .hero .qt thead th{vertical-align:middle}
/* Arabic: tab labels sit centred in their pills (Tajawal has a low baseline) */
html[lang=ar] body .hrange button>span,html[lang=ar] body .mini-seg button>span,html[lang=ar] body .rtabs button>span{position:relative;top:-2px;line-height:1.2}
/* no sideways scrolling inside tables and cards */
html body .tbl-wrap,html body .mtbl{overflow-x:visible!important}
/* the exchange-rate line may wrap (other countries' texts are longer than the Saudi one) */
html body .sec .kicker.js-fxat{white-space:normal!important}
/* chip rows wrap instead of scrolling sideways */
html body .chips{flex-wrap:wrap!important;overflow:visible!important}

/* UI v2: silver and platinum pages. Added after the phone and desktop sheets; phones and desktop share it. */
/* unit switch and purity chips: the same pill switch as the gold pages */
html[data-metal] body .hero .ctrls .seg,html[data-metal] body .seg.js-munit{background:#EEF1F6!important;border:1px solid #E1E6EF!important;border-radius:999px!important;padding:3px!important;gap:0!important;box-shadow:none!important}
html[data-metal] body .seg.js-munit button{height:36px;border-radius:999px!important;background:transparent!important;color:#4A5568!important;font-size:15px;font-weight:500;box-shadow:none!important}
html[data-metal] body .seg.js-munit button[aria-pressed=true]{background:#0A1326!important;color:#fff!important;font-weight:700}
html[data-metal] body .hero .ctrls .chip{background:#fff!important;border:1px solid #D9DFE9!important;color:#0A1326!important;box-shadow:none!important}
html[data-metal] body .hero .ctrls .chip[aria-pressed=true]{background:#0A1326!important;border-color:#0A1326!important;color:#fff!important}
/* "How this price is made": even rows, centred content, neutral icon chips */
html[data-metal] body .sec.msc .formula{border:1px solid #D9DFE9;border-radius:12px;overflow:hidden;background:#fff;margin-top:10px}
html[data-metal] body .sec.msc .formula .fstep{display:flex;align-items:center;gap:12px;min-height:0;padding:12px 14px;border:0;border-top:1px solid #E3E7EE;background:#fff}
html[data-metal] body .sec.msc .formula .fstep:first-child{border-top:0}
html[data-metal] body .sec.msc .formula .op{width:30px;height:30px;flex:0 0 30px;margin:0;align-self:center;border-radius:8px;background:#F8F9FD;border:1px solid #E1E6EF;color:#0A1326;font-size:14px;font-weight:700}
html[data-metal] body .sec.msc .formula .fstep.total .op{background:#FFF3D7;border-color:#F0DFB5;color:#0A1326}
html[data-metal] body .sec.msc .formula .d{flex:1;min-width:0;align-self:center;font-size:13px;line-height:1.3;color:#4D586B}
html[data-metal] body .sec.msc .formula .d b{display:block;font-size:15px;font-weight:600;color:#0A1326}
html[data-metal] body .sec.msc .formula .n{align-self:center;font-size:15px;font-weight:700;color:#0A1326}
html[data-metal] body .sec.msc .formula .fstep.total .n{font-size:16px;font-weight:800;color:#0A1326}
html[data-metal] body .sec.msc .fxpost{font-size:13px;color:#4D586B;margin:10px 2px 0}
/* calculator card */
html[data-metal] body .sec.msc .mcalc{background:#fff;border:1px solid #D9DFE9;border-radius:12px;padding:14px;gap:12px;box-shadow:none;margin-top:10px}
html[data-metal] body .sec.msc .cf label{font-size:13px;font-weight:600;color:#0A1326;gap:5px}
html[data-metal] body .sec.msc .cf input,html[data-metal] body .sec.msc .cf select{height:44px;border:1px solid #D9DFE9;border-radius:12px;background:#F8F9FD;color:#0A1326;font-weight:600;box-shadow:none}
html[data-metal] body .sec.msc .mpair .cr,html[data-metal] body .sec.msc .cr{flex:none;display:block;background:#F8F9FD;color:#0A1326;border:1px solid #E1E6EF;border-radius:12px;padding:12px 14px}
html[data-metal] body .sec.msc .cr dl{display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:0 0 8px;font-size:14px}
html[data-metal] body .sec.msc .cr dt{color:#4D586B;font-weight:500}
html[data-metal] body .sec.msc .cr dd{color:#0A1326;font-weight:700;text-align:end;margin:0}
html[data-metal] body .sec.msc .cr .tt{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #E3E7EE;padding-top:10px;color:#4D586B;font-size:14px}
html[data-metal] body .sec.msc .cr .tt span{color:#4D586B}
html[data-metal] body .sec.msc .cr .tt b{color:#0A1326;font-size:20px;font-weight:800}
html[data-metal] body .sec.msc .mpair .mcalc{flex:none}
/* purity table: fits the screen, never scrolls sideways */
html[data-metal] body .mtbl{overflow:visible}
html[data-metal] body .mtbl table{width:100%;table-layout:auto}
@media (max-width:520px){
  html[data-metal] body .mtbl th:nth-child(3),html[data-metal] body .mtbl td:nth-child(3),
  html[data-metal] body .mtbl th:last-child,html[data-metal] body .mtbl td:last-child{display:none}
  html[data-metal] body .mtbl th,html[data-metal] body .mtbl td{padding:10px 6px;font-size:clamp(11px,3.3vw,14px)}
  html[data-metal] body .mtbl th:first-child,html[data-metal] body .mtbl td:first-child{padding-left:10px}
}
/* the rate table takes only the height of its rows */
html[data-metal] body .hero .qt,html[data-metal] body .hero .js-mqt{min-height:0!important}
html[data-metal] body .hero .qt .ql .qb{font-size:13px!important}

/* UI v2: the "What will it cost?" calculator page. Added after the phone and desktop sheets. */
html body[data-page=cost] .sec.paper{background:transparent!important}
html body[data-page=cost] h1.h1{color:#0A1326}
html body[data-page=cost] .kicker{color:#4D586B}
html body[data-page=cost] .card{background:#fff;border:1px solid #D9DFE9;border-radius:12px;box-shadow:none;padding:16px}
html body[data-page=cost] .field label{color:#4D586B;font-weight:600}
html body[data-page=cost] .inp{background:#F8F9FD;border:1px solid #D9DFE9;border-radius:12px;box-shadow:none}
html body[data-page=cost] .inp:focus-within{border-color:#0A1326}
html body[data-page=cost] .inp input,html body[data-page=cost] .inp select{color:#0A1326}
html body[data-page=cost] .inp span{color:#4D586B}
html body[data-page=cost] .tabs{background:#EEF1F6;border:1px solid #E1E6EF;border-radius:999px;padding:3px;gap:0}
html body[data-page=cost] .tabs button{color:#4A5568;font-weight:500;border-radius:999px}
html body[data-page=cost] .tabs button[aria-pressed=true]{background:#0A1326;color:#fff;font-weight:700}
html body[data-page=cost] .chip{background:#fff;border:1px solid #D9DFE9;color:#0A1326;box-shadow:none}
html body[data-page=cost] .chip[aria-pressed=true]{background:#0A1326;border-color:#0A1326;color:#fff}
html body[data-page=cost] .result{background:#F8F9FD;color:#0A1326;border:1px solid #E1E6EF;border-radius:12px;box-shadow:none}
html body[data-page=cost] .result:before{display:none}
html body[data-page=cost] .result .lbl{color:#4D586B}
html body[data-page=cost] .result .tot{color:#0A1326}
html body[data-page=cost] .result dt{color:#4D586B}
html body[data-page=cost] .result dd{color:#0A1326;font-weight:600}
html body[data-page=cost] .note{color:#4D586B}
html body[data-page=cost] .cback a{color:#041D53}

/* UI v2: "Saudi vs your country" comparison pages (the .cor sections) and the baggage-rule cards. All widths. */
/* tola / gram switch: the same grey pill as every other switch */
html body .cor .seg.js-cunit{display:flex;background:#EEF1F6!important;border:1px solid #E1E6EF!important;border-radius:999px!important;padding:3px!important;gap:0!important;box-shadow:none!important;margin:0 0 12px}
html body .cor .seg.js-cunit button{flex:1;height:36px;border-radius:999px!important;background:transparent!important;color:#4A5568!important;font-size:15px;font-weight:500;box-shadow:none!important;border:0!important}
html body .cor .seg.js-cunit button[aria-pressed=true]{background:#0A1326!important;color:#fff!important;font-weight:700}
/* price cards: light, with the table border */
html body .cor .cor-main,html body .cor .cor-fx{background:#fff!important;color:#0A1326!important;border:1px solid #D9DFE9!important;border-radius:12px!important;box-shadow:none!important;padding:12px 14px}
html body .cor .cor-strip small{color:#4D586B!important}
html body .cor .cor-v b{color:#0A1326!important;font-weight:800}
html body .cor .cor-strip i{color:#4D586B!important}
html body .cor .cor-s{color:#4D586B!important}
html body .cor .cor-s b{color:#0A1326!important}
/* comparison table: same border and header as the other v2 tables, light karat column */
html body .cor .cor-tbl{border:1px solid #D9DFE9!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
html body .cor .cor-tbl thead th{background:#0A1326!important;color:#fff!important;vertical-align:middle;height:auto;padding:10px 8px}
html body .cor .cor-tbl tbody th{background:#F8F9FD!important;color:#0A1326!important;border-top:1px solid #E3E7EE!important;border-inline-end:1px solid #E3E7EE!important;font-size:13px;font-weight:700;padding:10px 8px}
html body .cor .cor-tbl tbody td{height:auto;color:#0A1326!important;border-top:1px solid #E3E7EE!important;padding:10px 8px;font-weight:600}
html body .cor .cor-tbl tbody td b{color:#0A1326!important;font-weight:700}
html body .cor .cor-tbl tbody td span,html body .cor .cor-tbl tbody td span b{color:#4D586B!important;font-weight:500}
html body .cor .cor-tbl thead th:nth-child(2),html body .cor .cor-tbl thead th:last-child{text-align:start}
html body .cor .ind-note{color:#4D586B}
/* baggage-rule cards: the table border and radius, no shadow */
html body .ind-cards .ind-card{background:#fff!important;border:1px solid #D9DFE9!important;border-radius:12px!important;box-shadow:none!important}
html body .ind-cards .ind-card h3{color:#0A1326}
html body .ind-cards .ind-card p{color:#4D586B}
html body .cor .cor-fx .cor-v{white-space:nowrap;font-size:19px}
html body .cor .cor-fx .cor-v i{font-size:11.5px}

/* UI v2: desktop additions. Tab bars become the same grey pill switch as on phones; "Gold bars" table sits beside the price range table. */
@media (min-width:768px){
  html body .hrange,html body .mini-seg,html body .rtabs{display:flex!important;height:44px!important;margin:12px!important;padding:3px!important;gap:0!important;background:#EEF1F6!important;border:1px solid #E1E6EF!important;border-radius:999px!important}
  html body .hrange button,html body .mini-seg button,html body .rtabs button{flex:1!important;height:36px!important;border-radius:999px!important;background:transparent!important;color:#4A5568!important;font-size:15px!important;font-weight:600!important;padding:0 6px!important;min-width:0}
  html body .hrange button>span,html body .mini-seg button>span,html body .rtabs button>span{padding:0!important;height:auto!important;border:0!important;margin:0!important;display:inline}
  html body .hrange button[aria-pressed=true],html body .mini-seg button[aria-pressed=true],html body .mini-seg button.on,html body .rtabs button[aria-pressed=true]{background:#0A1326!important;color:#fff!important;font-weight:700!important}
  html body .hrange button[aria-pressed=true]>span,html body .mini-seg button[aria-pressed=true]>span,html body .mini-seg button.on>span,html body .rtabs button[aria-pressed=true]>span{color:#fff!important}
}
/* price range (left) and gold bars (right) side by side */
html body .rng .wrap.rng-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 24px;align-items:start}
html body .rng .rcol,html body .rng .bcol{min-width:0}
@media (max-width:1023px){html body .rng .wrap.rng-two{grid-template-columns:minmax(0,1fr)}html body .rng .bcol{margin-top:24px}}
html body .rng .bcard col.k{width:38%!important}
html body .rng .bcard td{height:34px}
html body .rng .bcard td.now{font-size:16px;font-weight:700}
html body .rng .bcard td.chg{font-weight:600}
html body .rng .bcard td.chg.up{color:var(--up,#007F59)}
html body .rng .bcard td.chg.down{color:var(--down,#B83D26)}
html body .rng .bcard thead th{text-align:end!important}
html body .rng .bcard thead th:first-child{text-align:start!important}
html[dir=rtl] body .rng .bcard td,html[dir=rtl] body .rng .bcard th{text-align:end}
html[dir=rtl] body .rng .bcard td:first-child,html[dir=rtl] body .rng .bcard th:first-child{text-align:start}
/* desktop: bigger karat / unit badges in the rate table */
@media (min-width:768px){
  html body .hero .qt .ql .qb{width:50px!important;height:50px!important;flex:0 0 50px!important;font-size:17px!important;border-radius:10px}
  html body .hero .qt .ql .qb.v2-long{font-size:12.5px!important}
  html[data-metal] body .hero .qt .ql .qb{font-size:17px!important}
}
/* phones: no Gold bars table, no "How this price is made" block, no history table (the chart stays) */
@media (max-width:767px){
  html body .rng .bcol{display:none!important}
  html body section.sec:has(.js-formula){display:none!important}
  html body #history .js-hist>.tbl-wrap,html body #history .hnote{display:none!important}
}
/* logo: the desktop header uses the same colours as the phone one */
html body .hdr .logo .wm-i{fill:#0A1326}
html body .hdr .logo .wm-l{fill:#8A5F10}
/* history chart with no table beside it: full width */
@media (min-width:768px){
  html body #history .js-hist>.hcard:not(:has(~ .tbl-wrap)){grid-column:1 / -1}
}
/* home: "Your local price" card, compact and clearly clickable (navy arrow button, hover and focus states) */
html body .suggest{cursor:pointer;}
html body .suggest svg{flex:0 0 auto;width:36px!important;height:36px!important;padding:9px;box-sizing:border-box;border-radius:50%;background:#0A1326;color:#fff!important}
html body .suggest:focus-visible{outline:2px solid #0A1326;outline-offset:2px}
@media (min-width:768px){
  html body .suggest{width:fit-content;min-width:360px;max-width:520px;padding:10px 12px 10px 14px;gap:12px;margin-top:16px}
  html body .suggest .f{font-size:26px}
  html body .suggest .t b{font-size:16px}
  html body .suggest .t small{font-size:10.5px}
}
/* phones: country rows get the same chevron icon as the desktop tiles (navy), and "More countries" is a text button */
@media (max-width:767px){
  html body :is(.js-grid,.js-cityhits,.js-others) .row .go{font-size:0!important;display:inline-flex;align-items:center;width:auto;height:auto;flex:none;color:#0A1326!important}
  html body :is(.js-grid,.js-cityhits,.js-others) .row .go::after{content:"chevron_right";font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:22px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:'liga';font-feature-settings:'liga';-webkit-font-smoothing:antialiased;color:#0A1326}
  html[dir=rtl] body :is(.js-grid,.js-cityhits,.js-others) .row .go::after{content:"chevron_left"}
  html body a.omore{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#041D53!important;font-size:15px;font-weight:700;padding:10px 0;margin:6px 0 2px}
  html body a.omore span{font-size:16px;color:#041D53}
}

/* "How this price is made": icons in the chips instead of text symbols */
html body .formula .fstep .op{font-size:0!important;line-height:0}
html body .formula .fstep .op::after{content:"";display:block;width:20px;height:20px;background:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}
html body .formula .fstep:nth-child(1) .op::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3v18%22/%3E%3Cpath d=%22M16.5 7.5C15.8 6.3 14.1 5.5 12 5.5c-2.5 0-4.2 1.2-4.2 3 0 4.2 8.7 2 8.7 6.200 0 1.800-1.800 3-4.500 3-2.300 0-4-.9-4.700-2.200%22/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3v18%22/%3E%3Cpath d=%22M16.5 7.5C15.8 6.3 14.1 5.5 12 5.5c-2.5 0-4.2 1.2-4.2 3 0 4.2 8.7 2 8.7 6.200 0 1.800-1.800 3-4.500 3-2.300 0-4-.9-4.700-2.200%22/%3E%3C/svg%3E")}
html body .formula .fstep:nth-child(2) .op::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 4v16M7 20h10M5 7h14%22/%3E%3Cpath d=%22M5 7l-3 7a3 3 0 0 0 6 0z%22/%3E%3Cpath d=%22M19 7l-3 7a3 3 0 0 0 6 0z%22/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 4v16M7 20h10M5 7h14%22/%3E%3Cpath d=%22M5 7l-3 7a3 3 0 0 0 6 0z%22/%3E%3Cpath d=%22M19 7l-3 7a3 3 0 0 0 6 0z%22/%3E%3C/svg%3E")}
html body .formula .fstep:nth-child(3) .op::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 8h15M15 4l4 4-4 4%22/%3E%3Cpath d=%22M20 16H5M9 12l-4 4 4 4%22/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 8h15M15 4l4 4-4 4%22/%3E%3Cpath d=%22M20 16H5M9 12l-4 4 4 4%22/%3E%3C/svg%3E")}
html body .formula .fstep:nth-child(4) .op::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z%22/%3E%3Cpath d=%22M9 12l2 2 4-4%22/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z%22/%3E%3Cpath d=%22M9 12l2 2 4-4%22/%3E%3C/svg%3E")}
html body .formula .fstep:nth-child(5) .op::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%2220%20-960%20960%20960%22%3E%3Cpath%20d=%22M260-361v-40H160v-80h200v-80H200q-17%200-28.5-11.5T160-601v-160q0-17%2011.5-28.5T200-801h60v-40h80v40h100v80H240v80h160q17%200%2028.5%2011.5T440-601v160q0%2017-11.5%2028.5T400-401h-60v40h-80Zm298%20240L388-291l56-56%20114%20114%20226-226%2056%2056-282%20282Z%22/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%2220%20-960%20960%20960%22%3E%3Cpath%20d=%22M260-361v-40H160v-80h200v-80H200q-17%200-28.5-11.5T160-601v-160q0-17%2011.5-28.5T200-801h60v-40h80v40h100v80H240v80h160q17%200%2028.5%2011.5T440-601v160q0%2017-11.5%2028.5T400-401h-60v40h-80Zm298%20240L388-291l56-56%20114%20114%20226-226%2056%2056-282%20282Z%22/%3E%3C/svg%3E")}
/* widget button: the gold of the Gold Price tab on the navy button */
html body .wg-btn{color:#F6D578!important}
/* phones: keep the room of what the script adds after the first paint (price strip, share bar, sub-title), so nothing jumps */
@media (max-width:767px){
  html body .hero .js-strip:not(:has(.v2-date)){min-height:108px}
  html body .hero .js-qt:not(:has(~ .shr))::after{content:"";display:block;height:58px}
  html:not([data-metal]) body .hero .h1:has(.nm):not(:has(+ .v2-sub)){margin-bottom:22px}
}

/* desktop: the purity (karat) and weight (unit) switches sit above the main price number, then the number and its caption, then the rate table */
@media (min-width:768px){
  html body:not([data-page=home]) .hero>.wrap:has(>.big):has(>.ctrls){display:flex;flex-direction:column}
  html body:not([data-page=home]) .hero>.wrap:has(>.big):has(>.ctrls)>.ctrls{order:1;margin:6px 0 4px}
  html body:not([data-page=home]) .hero>.wrap:has(>.big):has(>.ctrls)>.big{order:2;margin-top:10px}
  html body:not([data-page=home]) .hero>.wrap:has(>.big):has(>.ctrls)>.js-bigsub{order:3;margin-bottom:12px}
  html body:not([data-page=home]) .hero>.wrap:has(>.big):has(>.ctrls)>:is(.qt,.shr,.srcline,.js-dealer){order:4}
}

/* desktop: compact control bar (fits its content), karat drop-down, price title and plain change figure */
@media (min-width:768px){
  html body .hero .ctrls{width:fit-content;max-width:100%;align-self:flex-start;align-items:center;gap:8px!important;padding:4px 6px!important;min-height:46px;position:relative}
  html body .hero .ctrls .seg{flex:0 0 auto;height:36px;padding:2px!important}
  html body .hero .ctrls .seg button{flex:0 0 auto;height:30px;padding:0 14px;font-size:14px;min-width:0}
  html body .hero .ctrls:not(.v2-k) .js-karat{visibility:hidden;width:76px;height:36px;overflow:hidden;flex:none}
  html body .hero .ctrls .v2-kbtn{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;height:36px;min-width:76px;padding:0 12px 0 14px;border:1px solid #D9DFE9;border-radius:999px;background:#fff;color:#0A1326;font-family:inherit;font-size:14.5px;font-weight:600;line-height:1;cursor:pointer}
  html body .hero .ctrls .v2-kbtn::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);flex:none}
  html body .hero .ctrls .v2-kbtn:focus-visible{outline:2px solid #0A1326;outline-offset:2px}
  html body .hero .ctrls.v2-k .js-karat{display:none!important}
  html body .hero .ctrls.v2-k.v2-kopen .js-karat{display:flex!important;flex-direction:column;flex-wrap:nowrap;position:absolute;top:calc(100% + 6px);inset-inline-start:0;z-index:30;min-width:128px;padding:6px;gap:2px;background:#fff;border:1px solid #D9DFE9;border-radius:12px;box-shadow:0 8px 24px rgba(10,19,38,.14)}
  html body .hero .ctrls.v2-k .js-karat .chip{height:34px;width:100%;display:flex;align-items:center;justify-content:flex-start;text-align:start;border:0!important;border-radius:8px!important;background:transparent!important;color:#0A1326!important;padding:0 12px;font-size:14.5px;font-weight:600;box-shadow:none!important}
  html body .hero .ctrls.v2-k .js-karat .chip:hover{background:#F1F3F8!important}
  html body .hero .ctrls.v2-k .js-karat .chip[aria-pressed=true]{background:#0A1326!important;color:#fff!important}
  html body:not([data-page=home]) .hero .big{flex-wrap:wrap}
  html body:not([data-page=home]) .hero .big::before{content:attr(data-ptitle);flex:0 0 100%;font-size:22px;font-weight:500;line-height:1.3;color:#2F3A4D;margin-bottom:4px}
  html body:not([data-page=home]) .hero .big:not([data-ptitle])::before{content:"\00a0"}
  html body .hero .big .pill{background:transparent!important;border:0!important;padding:0!important;font-size:22px;font-weight:600}
}
/* policy pages: links are plain gold-ink text links, more room between paragraphs */
html body .meth p a,html body .meth li a{display:inline!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#8A5F10!important;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
html body .meth p a:hover,html body .meth li a:hover{color:#6B4A0C!important;background:transparent!important}
html body .sec .meth p{margin:0 0 16px;line-height:1.75}
html body .sec .meth p.kicker{margin:6px 0 20px}
html body .sec .meth h2.caps{margin:36px 0 12px}
html body .sec .meth ul.rel{display:block;padding:0;margin:0 0 8px;list-style:none}
html body .sec .meth ul.rel li{margin:0 0 14px;font-size:15.5px;line-height:1.75}
html body .sec .meth ul.rel:last-child{display:flex;flex-wrap:wrap;gap:6px 24px}
html body .sec .meth ul.rel:last-child li{margin:0}
/* desktop: no outer box around the control bar (karat drop-down and weight switch stand on their own) */
@media (min-width:768px){
  html body .hero .ctrls.ctrls{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:36px}
}
/* desktop: the Gold / Silver / Platinum tab bar is a little smaller (height, text, icons, padding) */
@media (min-width:768px){
  html body .mtabs.mtabs{padding:4px;gap:4px;border-radius:14px;margin-bottom:16px}
  html body .mtabs.mtabs a{padding:8px 10px;font-size:14.5px;border-radius:10px;gap:8px}
  html body .mtabs.mtabs a svg{width:20px;height:20px}
}
/* "How this price is made": every icon exactly centred in its chip (both directions) */
html body .formula .fstep .op{display:grid!important;place-items:center;justify-content:center;justify-items:center;align-content:center}
html body .formula .fstep .op::after{margin:0!important}

/* range and bars tables: fitted mode. ui-v2.js adds .rf when a long number does not fit its column (ounce, kilogram,
   high-value currencies): columns sized to their content, figures shrunk if needed, sideways scroll as the last resort */
html body .rng .rscr{overflow-x:auto;-webkit-overflow-scrolling:touch}
html body .rng tbody td{font-variant-numeric:tabular-nums}
html body .rng table.rf th,html body .rng table.rf td{padding-inline:var(--rp,8px)!important;white-space:nowrap}
html body .rng table.rf th:first-child,html body .rng table.rf td:first-child{padding-inline-start:var(--re,10px)!important}
html body .rng table.rf th:last-child,html body .rng table.rf td:last-child{padding-inline-end:var(--re,10px)!important}
html body .rng table.rf thead th{font-size:var(--fh,14.5px)!important}
html body .rng table.rf tbody td{font-size:var(--ft,14.5px)!important}
html body .rng table.rf tbody td.now{font-size:var(--fn,14.5px)!important}
html body .rng table.rf .kt{font-size:var(--fk,14.5px)!important}

/* Arabic: the karat / weight label sits in the middle of the gold plate (the Arabic font's capitals and digits ride high in the line) */
html[lang=ar] body .hero .qt .ql .qb{box-sizing:border-box!important;padding-top:.37em!important}
