/* Pair, token, FAQ and 404 pages — G «Wide» over E material (cases, gold only on money): full width, fluid padding, Mona Sans. */
.pg{padding:clamp(24px,2vw,52px) var(--px) clamp(64px,5vw,128px)}
.crumb{display:inline-flex;align-items:center;gap:8px;font-size:var(--t-small);color:var(--muted)}
.crumb:hover{color:#fff}.crumb .ic{width:1em;height:1em;transform:rotate(180deg)}
.phd{margin-top:clamp(18px,1.4vw,32px);display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.phd__l{display:flex;align-items:center;gap:clamp(14px,1.1vw,24px);min-width:0;font-size:var(--t-h1)}
.phd__l .coin{font-size:1em}
.phd h1{font:500 var(--t-h1)/1.05 var(--font-display);letter-spacing:-.03em;color:var(--head);display:flex;align-items:center;gap:.35em;flex-wrap:wrap}
.phd h1 .dex{font-size:14px}
.phd p{margin-top:8px;font-size:var(--t-body);color:var(--muted)}
.nf{display:flex;align-items:center;gap:10px;height:clamp(40px,2.5vw,54px);padding:0 1.1em;border-radius:9999px;border:1px solid var(--edge);font-size:var(--t-small);color:var(--muted);white-space:nowrap}
.nf b{font-weight:500;color:var(--head);display:inline-block;min-width:5.6em}

.rates{margin-top:clamp(20px,1.6vw,40px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);gap:1px;background:var(--line)}
.rates>div{background:var(--case);padding:clamp(20px,1.6vw,36px);min-height:clamp(160px,11vw,260px);display:flex;flex-direction:column}
.rates .lb{display:flex;align-items:center;gap:10px;font-size:var(--t-small);color:var(--muted)}
.rates .rv{margin-top:clamp(16px,1.2vw,28px);height:1em;font:400 clamp(30px,2.4vw,60px)/1 var(--sans);letter-spacing:-.03em;color:var(--head);font-variant-numeric:proportional-nums;white-space:nowrap}
.rates .sd{margin-top:auto;padding-top:14px;display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:var(--t-small);color:var(--text)}
.sdp{height:1.7em;padding:0 .7em;border-radius:9999px;border:1px solid var(--edge);display:inline-flex;align-items:center;font-weight:500;font-size:14px;color:var(--head)}
.rates .net .rv{font-size:clamp(38px,3.1vw,80px)}
.rates .net .gd{margin-top:12px;height:1.2em;font-size:var(--t-lead);font-variant-numeric:proportional-nums}
.rates .net .pb{margin-top:auto;padding-top:14px;font-size:var(--t-small);color:var(--dim)}
.cta2{margin-top:clamp(16px,1.2vw,28px);display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.cta2 .risk2{margin-left:auto;font-size:var(--t-small);color:var(--dim);max-width:52ch;text-align:right;text-wrap:pretty}
.two{margin-top:var(--gap);display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:var(--gap);align-items:stretch}

/* 24 settled hours chart */
.ch{padding:clamp(16px,1.2vw,28px) clamp(20px,1.5vw,32px) clamp(18px,1.4vw,32px)}
.ch .ph{margin:calc(-1 * clamp(16px,1.2vw,28px)) calc(-1 * clamp(20px,1.5vw,32px)) 0;padding:0 clamp(20px,1.5vw,32px)}
.ch__read{min-height:3em;display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px;padding:8px 0;font-size:var(--t-small);color:var(--dim)}
.ch__read b{color:var(--head);font-weight:500}
.ch__read i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:8px;vertical-align:0}
.ch svg{display:block;width:100%;height:clamp(220px,16vw,400px);overflow:visible}
.ch .axis{stroke:var(--line2);stroke-width:1}
.ch .grid{stroke:rgba(255,255,255,.05);stroke-width:1}
.ch .bar{fill:url(#gbar)}.ch .bar.neg{fill:rgba(239,138,127,.55)}.ch .bar.dim{opacity:.35}
.ch .lhl{fill:none;stroke:#97fce4;stroke-width:1.6;opacity:.8}.ch .llt{fill:none;stroke:#e2e3e9;stroke-width:1.6;opacity:.7;stroke-dasharray:3 3}
.ch .tx{font-size:14px;fill:var(--dim)}
.ch .hit{fill:transparent;cursor:crosshair}
.ch__f{margin-top:14px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:var(--t-small);line-height:1.5;color:var(--dim)}
.ch__f b{color:var(--head);font-weight:500}
.ch .empty{height:calc(clamp(220px,16vw,400px) + 25.2px)}

.st .kv2{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:clamp(16px,1.4vw,32px);padding:6px clamp(20px,1.5vw,32px) 16px}
.st .kv2>span{height:clamp(46px,3vw,64px);display:flex;align-items:center;border-bottom:1px solid var(--line);font-size:var(--t-body);color:var(--text);white-space:nowrap}
.st .kv2>span:nth-child(3n+2),.st .kv2>span:nth-child(3n){justify-content:flex-end;font-weight:500;color:var(--head)}
.st .kv2>.hd2{gap:6px}
.st .kv2>span:nth-last-child(-n+3){border-bottom:0}

.pa .row2{display:grid;grid-template-columns:minmax(0,1fr) 12em;column-gap:16px;align-items:center;min-height:clamp(66px,4vw,96px);padding:12px clamp(20px,1.5vw,32px);border-bottom:1px solid var(--line);font-size:var(--t-num)}
.pa .row2:last-child{border-bottom:0}
.pa .row2>span:nth-child(2){text-align:right}
.pa b{display:block;font-weight:500;line-height:1.25;color:var(--head)}
.pa small{display:flex;gap:6px;margin-top:6px;font-size:14px;line-height:1.3;color:var(--dim)}
.pa .row2>span:nth-child(n+2) small{justify-content:flex-end}
.st-live{color:var(--champ)!important}

/* token */
.tk-h{max-width:min(100%,64ch)}
.tk-h h1{margin-top:clamp(12px,1vw,24px);font:500 var(--t-sec)/1.02 var(--font-display);letter-spacing:-.035em;color:var(--head);text-wrap:balance}
.tk-h p{margin-top:clamp(14px,1.1vw,28px);font-size:var(--t-lead);line-height:1.5;color:var(--text);max-width:52ch;text-wrap:pretty}
.tt{margin-top:clamp(28px,2.2vw,56px)}
.tt table{width:100%;border-collapse:collapse}
.tt th,.tt td{height:clamp(56px,3.6vw,80px);padding:0 clamp(16px,1.4vw,32px);border-bottom:1px solid var(--line);text-align:center;font-size:var(--t-body);color:var(--text);white-space:nowrap}
.tt th:first-child,.tt td:first-child{text-align:left;white-space:normal}
.tt thead th{height:auto;padding-top:clamp(20px,1.6vw,36px);padding-bottom:clamp(16px,1.3vw,28px);vertical-align:bottom;font-weight:400}
.tt thead th b{display:block;font:500 clamp(20px,1.5vw,36px)/1 var(--sans);letter-spacing:-.02em;color:var(--head)}
.tt thead th small{display:block;margin-top:10px;font-size:var(--t-small);color:var(--muted)}
.tt thead th:first-child{font-size:var(--t-small);color:var(--muted)}
.tt tbody tr:last-child td{border-bottom:0}
.tt td[data-v=y]{color:var(--head)}.tt td[data-v=n]{color:var(--dim)}

.tg3{margin-top:var(--gap);display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap);align-items:stretch}
.tg3 .case{padding:clamp(22px,1.8vw,40px)}
.tg3 h3,.tg3 .h3{font:500 var(--t-h2)/1.2 var(--sans);letter-spacing:-.02em;color:var(--head);display:flex;align-items:center;gap:8px}
.tg3 p{text-wrap:balance;margin-top:12px;font-size:var(--t-body);line-height:1.55;color:var(--text)}
.ca{margin-top:16px;display:flex;align-items:center;gap:10px;min-height:3.2em;padding:0 6px 0 16px;border-radius:10px;border:1px solid var(--edge);background:var(--well);font-size:var(--t-small);line-height:1.4;color:var(--head);word-break:break-all}
.ca button{margin-left:auto;flex:none;height:2.6em;padding:0 1em;border-radius:8px;background:#fff;color:#111;font-weight:500;font-size:var(--t-small)}
.ca--wait{color:var(--muted);padding:12px 16px;word-break:normal}
.yt .kv{margin-top:14px;border-top:1px solid var(--line)}
.yt .kv>div{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:3.2em;border-bottom:1px solid var(--line);font-size:var(--t-body);color:var(--text)}
.yt .kv>div:last-child{border-bottom:0}
.yt .kv b{font-weight:500;color:var(--head)}
.yt .bw{margin-top:16px}
.yt .msg{margin-top:12px;font-size:var(--t-small);color:var(--dim);min-height:1.5em}

/* token cards (A7): the landing's tier cards, compact — name, metal value, unit, two lines; Whale with the gold edge */
.tk3{margin-top:clamp(28px,2.2vw,56px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.tkc{padding:clamp(22px,1.8vw,36px);display:flex;flex-direction:column}
.tkc__n{font:500 clamp(19px,1.4vw,22px)/1 var(--sans);letter-spacing:-.025em;color:var(--head)}
.tkc__v{margin-top:clamp(14px,1.1vw,22px);font:500 clamp(40px,3.2vw,56px)/1.05 var(--sans);letter-spacing:-.035em;align-self:flex-start;background:var(--gold);-webkit-background-clip:text;background-clip:text;color:transparent}
.tkc__p{margin-top:10px;font-size:var(--t-small);color:var(--muted)}
.tkc ul{list-style:none;margin-top:clamp(16px,1.3vw,26px);border-top:1px solid var(--line)}
.tkc li{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:1.4;color:var(--text)}
.tkc li:last-child{border-bottom:0}
.tkc li::before{content:"";width:6px;height:6px;border-radius:50%;background:#2e3038;margin-top:.55em;flex:none}
.tkc--h li::before,.tkc--w li::before{background:var(--champ)}
.tkc--w{background:linear-gradient(201deg,#1a1814 10%,#0d0c0b 70%)!important;box-shadow:inset 0 0 0 1px rgba(255,240,204,.55)}
.tk-ca{margin-top:16px;grid-template-columns:minmax(0,1fr) auto}.tk-ca .cas__l{display:none}
#ca-box{scroll-margin-top:96px}
.lnk-u{color:var(--text);text-decoration:underline;text-decoration-color:var(--edge);text-underline-offset:4px}.lnk-u:hover{color:#fff}
.tk-ca__n{font-size:var(--t-small)!important;color:var(--dim)!important}
.tk-x{margin-top:16px}.tk-x .xlogo{width:14px;height:14px}
.yt .kv>div>span:first-child{white-space:nowrap}
.tt thead th small{white-space:nowrap}

/* faq */
.fq{margin-top:clamp(28px,2.2vw,56px);max-width:min(100%,72ch);border-top:1px solid var(--line)}
.fq details{border-bottom:1px solid var(--line)}
.fq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:clamp(64px,4vw,96px);padding:14px 0;font:500 clamp(18px,1.3vw,30px)/1.35 var(--sans);letter-spacing:-.02em;color:var(--head)}
.fq summary::-webkit-details-marker{display:none}
.fq summary::after{content:"+";font-size:1.2em;line-height:1;color:var(--dim);flex:none;transition:transform .25s}
.fq details[open] summary::after{transform:rotate(45deg)}
.fq details p{padding:0 40px 22px 0;font-size:var(--t-body);line-height:1.6;color:var(--text);max-width:64ch}

/* 404 */
.nf404{min-height:calc(100vh - 64px - 300px);display:flex;align-items:center}

@media (max-width:1060px){
  .two{grid-template-columns:minmax(0,1fr)}
  .tg3{grid-template-columns:minmax(0,1fr)}
  .tk3{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:760px){
  .st .kv2 .nm{display:none}
  .st .kv2>span:nth-child(3n+1){white-space:normal;line-height:1.3}
  .rates{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rates .net{grid-column:1/-1}
  .rates>div{min-height:140px;padding:16px}
  .rates .rv{font-size:26px}.rates .net .rv{font-size:38px}
  .cta2 .bw,.cta2 .bo{flex:1}.cta2 .risk2{margin-left:0;text-align:left}
  .ch{padding:14px}.ch .ph{margin:-14px -14px 0;padding:0 14px}
  .ch__read{gap:12px}
  .pa .row2{grid-template-columns:minmax(0,1fr) auto;padding:12px 14px}.pa .row2>span:nth-child(2){display:none}
  .tt{overflow:hidden}.tt th,.tt td{padding:0 8px;font-size:14px;white-space:normal}.tt th:first-child,.tt td:first-child{padding-left:14px}.tt th:last-child,.tt td:last-child{padding-right:14px}
  .tt thead th b{font-size:17px}.tt thead th small{font-size:14px}
}

/* chart axes in HTML (audit v2 S5: SVG text stretched with the plot) */
.chw{position:relative;padding-left:3.6em;padding-bottom:1.8em;font-size:14px;color:var(--dim)}
.chw .ya{position:absolute;left:0;width:3.2em;text-align:right;transform:translateY(-50%)}
.chw .xa{position:absolute;bottom:0;transform:translateX(-50%);white-space:nowrap}
.pgap{display:flex;justify-content:space-between;gap:12px;padding:12px clamp(20px,1.5vw,32px) 0;font-size:var(--t-body);color:var(--text)}.pgap b{font-weight:500;color:var(--head)}
.pa .hd3{display:grid;grid-template-columns:minmax(0,1fr) 12em;column-gap:16px;padding:10px clamp(20px,1.5vw,32px);border-bottom:1px solid var(--line);font-size:var(--t-small);color:var(--muted)}
.pa .hd3>span:nth-child(n+2){text-align:right}
@media (max-width:760px){.pa .hd3{grid-template-columns:minmax(0,1fr) auto;padding:10px 14px}}

/* C6: in the narrow rate cards on phones the half carries the exchange's mark; the name is already in the card's head (no «Hyperli…») */
@media (max-width:760px){.rates .sd .nw{display:none}}

/* ---- audit v7 round 1 (frontend) ---- */
/* seo M7 / security M7: the pair's h1 is the name alone; the dex and class badges sit beside it */
.phd__t{display:flex;align-items:center;gap:.35em;flex-wrap:wrap}.phd__t .dex{font-size:14px}
.phd h1{display:block}
/* geometry S7: the exchange caption under a rate wraps inside its cell (768) instead of running into the next one */
.rates>div{min-width:0}
.rates .sd{white-space:normal;flex-wrap:wrap;row-gap:4px;min-width:0}.rates .sd .nw{min-width:0}
/* visual C-8 / geometry S6: /token tiers table on phones — one block per feature: the name, then the three tiers under the tier heads */
@media (max-width:600px){
  .tt{overflow:visible}
  .tt table,.tt thead,.tt tbody{display:block}
  .tt tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line)}
  .tt tbody tr:last-child{border-bottom:0}
  .tt th,.tt td{height:auto;min-height:44px;padding:10px 6px!important;border-bottom:0;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;font-size:14px}
  .tt thead th{flex-direction:column;justify-content:flex-end;padding-top:18px!important;padding-bottom:14px!important}
  .tt thead th:first-child{display:none}
  .tt td:first-child{grid-column:1/-1;display:block;text-align:left;min-height:0;padding:14px 14px 0!important;color:var(--head);font-weight:500}
  .tt colgroup{display:none}
}
/* visual C-9: the token's first screen carries the gold action (the landing's final CTA), the headline breaks between sentences only */
.tk-h h1{font-size:clamp(34px,3.2vw,60px)}
.tk-h h1 .snt{white-space:nowrap}
@media (max-width:420px){.tk-h h1 .snt{white-space:normal}}
.tk-cta{margin-top:clamp(18px,1.4vw,28px);display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.tk-cta .cta{height:56px;padding:0 30px;border-radius:999px;display:inline-flex;align-items:center;gap:12px;font:600 17px/1 var(--sans);letter-spacing:-.02em;color:#1b1608;position:relative;isolation:isolate;
  background:linear-gradient(103deg,#ae9357,#fff0cc 45%,#c9a961 80%);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 0 1px rgba(255,240,204,.3);transition:transform .4s cubic-bezier(.16,1,.3,1)}
.tk-cta .cta .xlogo{width:15px;height:15px;fill:currentColor}
.tk-cta .cta .ar{font-size:19px;transition:transform .4s cubic-bezier(.16,1,.3,1)}.tk-cta .cta:hover .ar{transform:translateX(4px)}.tk-cta .cta:active{transform:scale(.98)}
@media (max-width:560px){.tk-cta .cta{width:100%;justify-content:center}}
/* visual C-10: «Everything in …, plus» leads the Holder and Whale lists */
.tkc li.tkc__inc{color:var(--head);font-weight:500}.tkc li.tkc__inc::before{background:#ae9357}
/* a11y M9: «Fees pay back in …» on /pair reads (≥ 4.5:1) */
.rates .net .pb{color:#8a8d99}
/* geometry S12 on /pair: panel title and caption on one baseline, the line centred in the head */
.ch .ph,.st .ph,.pa .ph{flex-wrap:wrap;align-items:baseline;align-content:center}
.ch .ph .r,.st .ph .r,.pa .ph .r{flex:1 1 0;text-align:right}
.phd__t{align-items:baseline}
/* geometry S11 on /pair (phones): one 16 px side padding for every panel head and row */
@media (max-width:760px){
  .ch{padding:14px 16px}.ch .ph{margin:-14px -16px 0;padding:0 16px}
  .st .ph,.pa .ph{padding-left:16px;padding-right:16px}
  .pa .row2,.pa .hd3{padding-left:16px;padding-right:16px}
}
/* geometry S7 (tablets): the exchange's name sits under the half in both rate cells, on one left edge */
@media (min-width:761px) and (max-width:1060px){.rates .sd{flex-direction:column;align-items:flex-start}}
/* the alerts list on /pair (phones): one column, nothing reserved for the hidden one */
@media (max-width:760px){.pa .row2{grid-template-columns:minmax(0,1fr)}}
/* data S6: the pair as last read while its exchange is out — the line under the name says which side and when */
.phd p.stl{color:var(--hb)}
.rates.is-stale .rv{color:#8a8d99}
/* perf R-1: the pair page's skeleton side badge keeps its height, never shows a side before the data says which */
.rates .sd--sk{visibility:hidden}
/* geometry S-r2-1 / M1: a panel head starts on the same x as its rows — the rows' clamp on wide screens, one 16 px on phones */
.st .ph,.pa .ph{padding-left:clamp(20px,1.5vw,32px);padding-right:clamp(20px,1.5vw,32px)}
@media (max-width:760px){.st .ph,.pa .ph,.st .pgap,.st .kv2{padding-left:16px;padding-right:16px}}
/* data N2 */
.pa__settle{padding:12px clamp(20px,1.5vw,32px);border-bottom:1px solid var(--line);font-size:var(--t-small);line-height:1.45;color:var(--dim)}
@media (max-width:760px){.pa__settle{padding-left:16px;padding-right:16px}}
/* visual М-17: each rate carries its unit, quieter than the number */
.rates .rv .u{margin-left:.25em;font-size:.42em;letter-spacing:0;color:#8a8d99;vertical-align:.12em}   /* a11y N3: ≥ 4.5:1 on the case */
.chw .ya{white-space:nowrap}
.chw{padding-left:4.4em}.chw .ya{width:4em}
.tkc__note{margin-top:12px;font-size:14px;line-height:1.45;color:#8a8d99}
