/* /record page stylesheet (site unify r1). The record objects, nothing of the shell. */
/* /record on the new shell, one indigo sheet (owner, 16.11): heading with the seal engraving, the record at the last root (counts,
   the root of the last bell, how a seal reaches the chain) and the lookup open the page; the wallet record, the top of the record, the
   root on chain and Pay as you go follow on the same field to the colophon. These are the rules of the live page's own objects (its
   inline <style>, the record rules of pages-v1.css), with the old faces replaced by the kit roles through --sans, --serif, --mono and
   --qn-disp, and every colour a kit token (--ink, --muted, --rule, --wash, --paper) so it follows the field. The tier materials
   (chips, cells, plaques: opaque metal by nature) come unchanged from the live /tier-materials.css. */

/* tokens: the record's names mapped onto the shell's, declared on main and again on the field so they follow it */
body.qu .rc,body.qu .rc .qu-open{--white:var(--paper);--paint:var(--ink);--ink-80:color-mix(in srgb,var(--ink) 80%,transparent);--ink-60:var(--muted);--ink-24:var(--rule);
  --ink-06:color-mix(in srgb,var(--ink) 6%,transparent);--paint-08:color-mix(in srgb,var(--ink) 8%,transparent);--tier-ink:var(--ink)}
body.qu .rc{--verdigris:#5EA592;--ember:#F1F4FF;--bronze:#C3C4D8}   /* the old header.css values for dark grounds (.qh,.hero,.ink) */
body.qu .rc [hidden]{display:none!important}
body.qu .rc .pv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* the first screen: heading and engraving on one row */
body.qu .rc .pv-record-opening{display:flex;align-items:center;justify-content:space-between;gap:24px}
body.qu .rc .pv-record-opening h1{margin:0}
body.qu .rc .pv-record-seal{display:block;flex:0 1 auto;width:220px;height:220px;max-width:42%;object-fit:contain;filter:brightness(0) invert(96%);margin:-8px 0 -8px auto}
@media(max-width:860px){body.qu .rc .pv-record-seal{width:180px;height:180px}}
@media(max-width:640px){body.qu .rc .pv-record-seal{width:128px;height:128px}}

/* the record at the last root: counts, the last root, and the four steps */
body.qu .rc .s-hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px 48px;align-items:start;margin:24px 0 0;padding:24px 0 0;border-top:1px solid var(--rule)}
body.qu .rc .s-hero .facts{display:grid;grid-template-columns:1fr 1fr;gap:16px 32px;align-content:start}
body.qu .rc .s-hero .f{display:flex;flex-direction:column;gap:6px}
body.qu .rc .s-hero .f>b{display:block;min-height:64px;font:500 clamp(44px,5vw,72px)/1 var(--mono);font-stretch:100%;letter-spacing:-.05em;font-variant-numeric:tabular-nums;color:var(--ink)}
body.qu .rc .s-hero .f:not(.last)>span{min-height:44px;font:400 15px/1.45 var(--sans);color:var(--muted)}
body.qu .rc .s-hero .f.last{grid-column:1/-1;display:block;padding-top:16px;border-top:1px solid var(--rule)}
body.qu .rc .s-hero .f.last .k{display:block}
body.qu .rc .s-hero #s-bell{display:block;margin:8px 0 10px;min-height:62px;font:300 clamp(19px,1.6vw,22px)/1.4 var(--serif);color:var(--ink);text-wrap:pretty}
body.qu .rc .s-hero #s-bell b{font-family:var(--mono);font-weight:500}
body.qu .rc .s-hero #s-bell .up{color:var(--verdigris);font-variant-numeric:tabular-nums}
body.qu .rc .s-hero #s-root{display:block;margin:0 0 8px;min-height:20px;font:400 13px/1.55 var(--mono);color:var(--muted);overflow-wrap:anywhere}
@media(max-width:1200px){body.qu .rc .s-hero #s-root{min-height:40px}}
@media(max-width:400px){body.qu .rc .s-hero #s-root{min-height:60px}}
body.qu .rc .s-hero .links{display:flex;flex-wrap:wrap;gap:0 24px}
body.qu .rc .s-hero .links a{display:inline-flex;align-items:center;min-height:44px;font:450 16px/1.4 var(--sans)}
body.qu .rc .s-scheme{margin:0;padding-left:24px;border-left:1px solid var(--rule)}
body.qu .rc .s-scheme summary{display:flex;align-items:center;gap:10px;min-height:44px;font:500 12px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--ink);cursor:pointer;list-style:none}
body.qu .rc .s-scheme summary::-webkit-details-marker{display:none}
body.qu .rc .s-scheme summary::after{content:"";flex:none;width:7px;height:10px;background:currentColor;clip-path:polygon(0 0,35% 0,100% 50%,35% 100%,0 100%,65% 50%)}
body.qu .rc .s-scheme[open] summary::after{width:10px;height:7px;clip-path:polygon(0 0,50% 65%,100% 0,100% 35%,50% 100%,0 35%)}
body.qu .rc .s-scheme[open] summary{margin-bottom:4px}
body.qu .rc .s-scheme svg{display:block;width:100%;height:auto;font-family:var(--sans)}
body.qu .rc .s-scheme .t{font-size:16px;font-weight:600;fill:var(--ink)}
body.qu .rc .s-scheme .s{font-size:13px;font-weight:400;fill:var(--muted)}
body.qu .rc .s-scheme .no{font:500 13px var(--mono);fill:var(--paper)}
@media(max-width:900px){body.qu .rc .s-hero{grid-template-columns:1fr}body.qu .rc .s-scheme{max-width:360px;padding:16px 0 0;border-left:0;border-top:1px solid var(--rule)}}
@media(max-width:640px){body.qu .rc .s-hero .facts{gap:12px 18px}body.qu .rc .s-hero .f>b{font-size:40px;min-height:46px}body.qu .rc .s-hero .f:not(.last)>span{min-height:62px;font-size:14px}body.qu .rc .s-hero #s-bell{font-size:18px;min-height:76px}body.qu .rc .s-scheme svg{max-height:320px}}

/* the lede shown for a translated page, and the lookup */
body.qu .rc .head>.lede{margin:24px 0 0;max-width:62ch;font:300 clamp(18px,1.5vw,21px)/1.45 var(--serif);color:var(--muted)}
body.qu .rc .look{display:flex;gap:10px;margin:28px 0 0;max-width:720px}
body.qu .rc .look input{flex:1;min-width:0;min-height:48px;box-sizing:border-box;padding:12px 14px;border:1px solid var(--rule);border-radius:0;background:color-mix(in srgb,var(--ink) 6%,transparent);color:var(--ink);font:400 15px var(--mono);font-stretch:100%}
body.qu .rc .look input::placeholder{color:var(--muted);opacity:1}
body.qu .rc .look input:focus-visible{outline:2px solid var(--qn-ice);outline-offset:2px}
body.qu .rc .look .qu-btn-fill{min-height:48px;padding:0 22px}
body.qu .rc .msg{margin:12px 0 0;min-height:1.5em;max-width:66ch;font:400 14px/1.5 var(--sans);color:var(--muted)}
body.qu .rc .msg:empty{margin-top:8px}
body.qu .rc .msg a{color:inherit}
@media(max-width:640px){body.qu .rc .look{flex-direction:column}body.qu .rc .look input{font-size:14px}}

/* small buttons on the record (copy, share, retry) */
body.qu .rc .mini{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid var(--rule);border-radius:0;background:transparent;color:var(--ink);font:400 12px/1 var(--mono);text-transform:uppercase;letter-spacing:.08em;cursor:pointer}
@media(hover:hover){body.qu .rc .mini:hover{border-color:var(--ink)}}
@media(max-width:640px){body.qu .rc .mini{min-height:44px}}
body.qu .rc #lookup-retry{margin-top:10px}

/* a wallet's record */
body.qu .rc #rec{margin:0 0 8px}
body.qu .rc .who{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 24px;padding-top:16px;border-top:2px solid var(--ink)}
body.qu .rc .who h2{margin:0}
body.qu .rc .who .addr{font:400 14px var(--mono);color:var(--ink);overflow-wrap:anywhere}
body.qu .rc .who .tag{font:500 11px var(--mono);letter-spacing:.1em;text-transform:uppercase;padding:4px 8px;border:1px solid var(--tier-diamond);color:var(--ink)}
body.qu .rc .who .tag.olympian{border-color:var(--tier-olympian)}
body.qu .rc #sharebox{margin-top:18px;max-width:600px}
body.qu .rc #sharecv{display:block;width:100%;height:auto}
body.qu .rc #sharebox p{margin:10px 0 0;font:400 14px/1.5 var(--sans);color:var(--muted)}
body.qu .rc .shareactions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
body.qu .rc .shareactions :is(button,a){display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--rule);background:transparent;color:var(--ink);font:400 12px/1 var(--mono);text-transform:uppercase;letter-spacing:.08em;text-decoration:none;cursor:pointer}
body.qu .rc .shareactions button:disabled{opacity:.45;cursor:wait}
@media(hover:hover){body.qu .rc .shareactions :is(button,a):hover{border-color:var(--ink)}}
body.qu .rc .strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:18px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
body.qu .rc .strip>div{padding:14px 18px 14px 0}
body.qu .rc .strip>div+div{padding-left:18px;border-left:1px solid var(--rule)}
body.qu .rc .strip .caps{display:block;font:500 12px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
body.qu .rc .strip b{display:block;margin-top:8px;font:500 clamp(28px,2.4vw,34px)/1 var(--mono);letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--ink)}
body.qu .rc .strip b small{margin-left:8px;font:400 12px var(--mono);letter-spacing:0;color:var(--muted)}
body.qu .rc .strip .sub{display:block;margin-top:8px;font:400 13px/1.45 var(--sans);color:var(--muted)}
body.qu .rc .strip .sub .bdg{display:inline-block;margin:2px 6px 0 0;padding:2px 7px;border:1px solid var(--rule);font:500 10.5px var(--mono);letter-spacing:.04em;font-style:normal;color:var(--ink)}
body.qu .rc .fam{margin-top:36px}
body.qu .rc .fam h3{display:flex;justify-content:space-between;gap:12px;margin:0 0 12px;font:500 12px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
body.qu .rc .fam h3 span{font-weight:400;letter-spacing:0;text-transform:none}
body.qu .rc .seals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.qu .rc .seal{position:relative;display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:start;padding:20px;border:1px solid var(--rule);background:transparent;--t:var(--muted)}
body.qu .rc .seal .ring{position:absolute;inset:5px;border:1px solid var(--rule);opacity:.45;pointer-events:none}
body.qu .rc .seal img{width:56px;height:56px;filter:brightness(0) invert(96%)}   /* the seal engravings are ink line art: drawn light on the sheet, as the opening engraving */
body.qu .rc .seal.t0 img{opacity:.28}
body.qu .rc .seal.t1{--t:var(--tier-copper)}body.qu .rc .seal.t2{--t:var(--tier-silver)}body.qu .rc .seal.t3{--t:var(--tier-gold)}body.qu .rc .seal.t4{--t:var(--tier-diamond)}body.qu .rc .seal.t5{--t:var(--tier-olympian)}
body.qu .rc .seal b{display:block;font:600 18px/1.2 var(--sans);color:var(--ink)}
body.qu .rc .seal .tier{display:flex;align-items:center;gap:7px;margin-top:6px;font:500 11px var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--t)}
body.qu .rc .seal .tier i{width:8px;height:8px;border-radius:50%;background:var(--t)}
body.qu .rc .seal.t0 .tier{color:var(--muted)}body.qu .rc .seal.t0 .tier i{background:var(--rule)}
body.qu .rc .seal .tier-count{display:block;margin-top:4px;font:400 12px var(--mono);color:var(--muted)}
body.qu .rc .seal .meter{grid-column:1/3;display:grid;grid-template-columns:repeat(10,1fr);gap:3px;margin-top:8px}
body.qu .rc .seal .meter i{height:6px;border:1px solid var(--rule)}
body.qu .rc .seal .meter i.on{background:var(--t);border-color:var(--t)}
body.qu .rc .seal small{grid-column:1/3;display:flex;justify-content:space-between;gap:10px;margin-top:2px;padding-top:8px;border-top:1px solid var(--rule);font:400 12px/1.45 var(--sans);color:var(--muted)}
body.qu .rc .seal small em{font:400 12px var(--mono);font-style:normal;color:var(--ink)}
body.qu .rc .seal.lock{border-style:dashed}body.qu .rc .seal.lock b,body.qu .rc .seal.lock .tier{color:var(--muted)}body.qu .rc .seal.lock .tier i{background:var(--rule)}
body.qu .rc .seal .line{display:none}
body.qu .rc .secret{margin:10px 0 0;font:400 14px/1.5 var(--sans);color:var(--muted)}
body.qu .rc .empty{margin:0 0 24px;padding:14px 0;max-width:72ch;border-block:1px solid var(--rule);font:400 17px/1.5 var(--sans);color:var(--ink)}
body.qu .rc .empty b{font-family:var(--mono);font-weight:500}
@media(max-width:860px){body.qu .rc .seals{grid-template-columns:1fr 1fr}body.qu .rc .strip{grid-template-columns:1fr 1fr}body.qu .rc .strip>div:nth-child(3){padding-left:0;border-left:0}body.qu .rc .strip>div:nth-child(n+3){border-top:1px solid var(--rule)}}
@media(max-width:640px){body.qu .rc .seals{gap:10px}body.qu .rc .seal{grid-template-columns:40px 1fr;gap:10px;padding:14px;cursor:pointer}body.qu .rc .seal img{width:40px;height:40px}body.qu .rc .seal b{font-size:16px}body.qu .rc .seal .tier{font-size:10px}
  body.qu .rc .seal .meter,body.qu .rc .seal small{display:none}body.qu .rc .seal.open .meter{display:grid}body.qu .rc .seal.open small{display:flex}body.qu .rc .seal.open .line{display:none}
  body.qu .rc .seal .line{display:block;grid-column:1/3;margin-top:2px;font:400 12px/1.4 var(--sans);color:var(--muted)}}

/* the root on chain */
body.qu .rc .root{margin-top:44px;padding-top:18px;border-top:2px solid var(--ink)}
body.qu .rc .root dl{display:grid;grid-template-columns:max-content 1fr;gap:8px 18px;margin:0}
body.qu .rc .root dd{margin:0;font:400 13px/1.5 var(--mono);color:var(--ink);overflow-wrap:anywhere}
body.qu .rc .root dd a{color:inherit}
body.qu .rc .root .hash{font-size:14px}
body.qu .rc .verify{margin-top:18px;border:1px solid var(--rule)}
body.qu .rc .verify .bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;padding:8px 12px;border-bottom:1px solid var(--rule);font:400 14px/1.5 var(--sans);color:var(--muted)}
body.qu .rc .verify .bar a{color:var(--ink)}
body.qu .rc .verify pre{margin:0;border:0;white-space:pre-wrap;overflow-wrap:anywhere}
body.qu .rc #record-uncovered{margin:12px 0 0;font:400 14px/1.5 var(--sans);color:var(--muted)}
@media(max-width:640px){body.qu .rc .root dl{grid-template-columns:1fr}body.qu .rc .root dt{margin-top:6px}}

/* Pay as you go, separately: the tiles payg-summary builds */
body.qu .rc #payg{margin-top:56px;padding-top:24px;border-top:1px solid var(--ink)}
body.qu .rc #payg .tot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 24px;padding:0;border-bottom:1px solid var(--rule)}
body.qu .rc #payg .tot>div{display:grid;grid-template-rows:auto 1fr auto;row-gap:8px;padding:18px 14px;border-left:1px solid var(--rule)}
body.qu .rc #payg .tot>div:nth-child(3n+1){padding-left:0;border-left:0}
body.qu .rc #payg .tot .k{align-self:start;min-height:3.2em;font:500 12px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
body.qu .rc #payg .tot b{align-self:end;min-height:44px;margin:0;font:500 clamp(28px,2.4vw,34px)/1.3 var(--mono);letter-spacing:-.03em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:var(--ink)}
body.qu .rc #payg .tot b .sk{display:inline-block;width:4ch;height:.8em;background:var(--ink-06);vertical-align:-.05em}
body.qu .rc #payg .tot b.na{display:flex;align-items:flex-end;font:450 16px/1.4 var(--sans);letter-spacing:0;color:var(--muted)}
body.qu .rc #payg .tot small{min-height:3.2em;font:400 13px/1.5 var(--sans);color:var(--muted)}
body.qu .rc #payg number-flow{--number-flow-mask-height:.18em}
body.qu .rc #payg .ch2-margin-note{display:block;font:400 13px/1.5 var(--sans)}
body.qu .rc #payg .ch2-burn-wallet{font:400 13px/1.8 var(--mono);overflow-wrap:anywhere}
body.qu .rc #payg .ch2-batches{list-style:none;margin:24px 0;padding:0}
body.qu .rc #payg .ch2-batches li{padding:18px 0;border-top:1px solid var(--rule);font:400 13px/1.8 var(--mono)}
body.qu .rc #payg .ch2-batches a{display:inline-flex;align-items:center;min-height:44px;margin:8px 0;padding:0 12px;border:1px solid var(--ink);text-decoration:none}
@media(min-width:1601px){body.qu .rc #payg .tot{grid-template-columns:repeat(6,minmax(0,1fr))}body.qu .rc #payg .tot>div:nth-child(4){padding-left:14px;border-left:1px solid var(--rule)}}
@media(max-width:640px){body.qu .rc #payg .tot{grid-template-columns:1fr}body.qu .rc #payg .tot>div{padding:18px 0;border-left:0;border-top:1px solid var(--rule)}body.qu .rc #payg .tot>div:first-child{border-top:0}body.qu .rc #payg .tot .k,body.qu .rc #payg .tot small{min-height:0}}

/* SHIM (kit/REQUESTS.md 09:05Z): site.css and rc.css lay out any .grid as columns; the record's ranking list is a block */
body.qu .rc #top .grid{display:block;grid-template-columns:none;gap:0}
/* SHIM (kit/REQUESTS.md 09:05Z): home-nous.js appends an "app" chip inside the first <b> of a link to /seat; in the ghost row that <b> is the rank */
body.qu .rc #top .row.ghost .qn-app{display:none}

/* the top of the record: the plaques are metal with their own ink in both themes; the top keeps its reserved height until record-top.js lands */
body.qu .rc #top .plq{--ink:#180b51;--ink-24:rgba(24,11,81,.24);--ink-60:rgba(24,11,81,.6);--tier-ink:#180b51;color:#180b51}
body.qu .rc #top[aria-busy="true"]{min-height:1800px;animation:top-free 0s 8s forwards}
@keyframes top-free{to{min-height:0}}

/* one sheet: the small engravings (seal icons in the filter chips, the bell in the bell line) are ink line art, drawn light */
body.qu .rc #top .cat button img,body.qu .rc #top .bellline img{filter:brightness(0) invert(96%)}

/* tap targets on a phone: the controls of the top of the record and the standalone links reach 44 px (links inside a sentence or a value keep the line) */
@media(max-width:640px){
  body.qu .rc #top :is(.btn,.tabs button,.cat button,.me .cta){min-height:44px}
  body.qu .rc #payg>a,body.qu .rc .verify .bar a{display:inline-flex;align-items:center;min-height:44px}
}

/* the live record-top.css (base.sha1): its plaque face and serif figures swapped for the kit roles */
/* 16.10 (owner via hq, A2 from the 13.10 sketch): the top of the record. plaques on generated metal with a moving light, the bell line
   with its replay, the chase, the goal box after Look up, the seal chips, Rising, the ghost row. sentence case throughout */

#top{margin-top:32px;padding-top:18px;border-top:1.5px solid var(--ink);--g-dot:var(--tier-gold);--g-text:var(--tier-ink);--plaque:var(--qn-disp);--spring:linear(0,.0817,.2672,.4818,.6758,.8263,.9292,.9915,1.0236,1.0352,1.0345,1.0277,1.0189,1.0108,1.0044,1,.9975,.9965,.9965,.9969,.9976,.9983,.999,.9995,.9998,1)}
#top h2{margin:0}
#top .sub{margin-top:6px;font:12px/1.6 var(--mono);color:var(--ink-60);max-width:80ch}
#top button{font:inherit;color:inherit;cursor:pointer}
#top .btn{font:500 12px var(--mono);padding:8px 12px;border:1px solid var(--ink-24);border-radius:2px;background:var(--white);color:var(--ink);transition:transform 160ms cubic-bezier(.23,1,.32,1),border-color .15s}
#top .btn:active{transform:scale(.97)} @media (hover:hover){#top .btn:hover{border-color:var(--ink)}}
#top .btn:focus-visible,#top .row:focus-visible,#top .cat button:focus-visible,#top .tabs button:focus-visible{outline:1.5px solid var(--ink);outline-offset:2px}

/* the bell line: what the last bell changed, the next bell, the replay */
#top .bellline{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:16px;padding:12px 14px;border:1px solid var(--ink-24);border-radius:2px;background:transparent;transition:border-color .3s,box-shadow .3s}
#top .bellline img{width:28px;height:28px}
#top .bellline .what{flex:1 1 420px;font:13px/1.5 var(--mono)} #top .bellline .what b{font-weight:500} #top .bellline .what .up{color:var(--verdigris)}
#top .bellline .next{font:13px var(--mono);color:var(--ink)} #top .bellline .next b{font-weight:500}
#top .bellline .replay{display:inline-flex;align-items:center;gap:8px}
#top .bellline .replay i{display:inline-block;width:0;height:0;border-left:7px solid currentColor;border-top:4.5px solid transparent;border-bottom:4.5px solid transparent}
#top .bellline.live{border-color:var(--ink);box-shadow:0 0 0 3px var(--paint-08)}

/* Rank one is taller in the middle; material follows the highest seal tier. */
#top .podium{margin-top:22px}
#top .chase{margin:0 0 12px;font:13px/1.5 var(--mono);color:var(--ink-60);transition:opacity .3s} #top .chase b{color:var(--ink);font-weight:500} #top .chase.was{opacity:.35}
#top .pod{display:grid;grid-template-columns:1fr 1.18fr 1fr;gap:18px;align-items:end;perspective:1400px}
#top .plq{all:unset;box-sizing:border-box;position:relative;display:block;border-radius:3px;overflow:hidden;color:var(--ink);cursor:pointer;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.8,.2,1);box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 -1px 0 rgba(24,11,81,.25) inset,0 10px 24px -14px rgba(24,11,81,.5)}
#top .plq:focus-visible{outline:1.5px solid var(--ink);outline-offset:3px}
#top .plq .mat{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
#top .plq.s .mat{filter:saturate(.9);transform:scale(1.09)} #top .plq.c .mat{transform:scale(1.06)} #top .plq.g .mat{transform:scale(1.04)}

#top .plq .in{position:relative;z-index:2;padding:22px 26px;display:grid;grid-template-columns:auto 1fr;gap:4px 16px;align-items:start}
#top .plq .num{grid-row:1/4;font:800 72px/1 var(--plaque);font-stretch:62%;letter-spacing:-.02em;color:rgba(24,11,81,.88);text-shadow:1px 1px 0 rgba(255,255,255,.55),-1px -1px 0 rgba(24,11,81,.35)}
#top .plq .nm{font:600 22px/1.15 var(--sans);text-shadow:1px 1px 0 rgba(255,255,255,.45);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#top .plq .held{margin-top:2px;font:12px var(--mono);color:var(--ink)}
#top .plq .held b{font:500 28px/1 var(--mono);letter-spacing:-.03em;color:var(--ink);margin-right:6px;text-shadow:1px 1px 0 rgba(255,255,255,.5)}
#top .plq .tierc{margin-top:8px;display:inline-flex;align-items:center;gap:7px;font:500 11px var(--mono);color:var(--ink)} #top .plq .tierc i{width:8px;height:8px;border-radius:50%;background:var(--tc);box-shadow:0 0 0 1px rgba(255,255,255,.5)}
#top .plq .strip2{grid-column:1/3;margin-top:12px}
#top .plq .streak{grid-column:1/3;display:flex;justify-content:space-between;gap:10px;font:11px var(--mono);color:var(--ink);border-top:1px solid rgba(24,11,81,.3);padding-top:8px;margin-top:8px}
#top .plq.g{min-height:250px} #top .plq.s,#top .plq.c{min-height:214px}
#top .plq.g .num{font-size:88px}
#top .pod .plq.s{transform:rotateY(7deg) rotateX(2deg)} #top .pod .plq.c{transform:rotateY(-7deg) rotateX(2deg)} #top .pod .plq.g{transform:rotateX(3deg)}
#top .pod.was .plq .held b,#top .pod.was .plq .strip2,#top .pod.was .plq .tierc{opacity:.35}

/* the goal box after Look up */
#top .me{margin-top:22px;padding:14px 16px;border:1px solid var(--ink);border-radius:2px;max-width:760px}
#top .me .l1{font:13px/1.5 var(--mono)} #top .me .l1 b{font-weight:500}
#top .goal{display:grid;grid-template-columns:repeat(17,1fr);gap:4px;margin-top:10px;max-width:420px}
#top .goal i{position:relative;height:16px;border:1px solid var(--ink-24);border-radius:1px} #top .goal i.on{border-color:transparent}
#top .goal i.need{border:1.5px dashed var(--ink);animation:topneed 2s ease-in-out 3}
#top .goal i[data-to]{box-shadow:-2px 0 0 var(--ink)} #top .goal i[data-to]::before{content:attr(data-to);position:absolute;left:-2px;top:-17px;font:500 10px var(--mono);color:var(--ink-60);white-space:nowrap}
#top .goal{margin-top:24px}
@keyframes topneed{0%,100%{background:transparent}50%{background:var(--paint-08)}}
#top .me .l2{margin-top:8px;font:12px/1.6 var(--mono);color:var(--ink-60)} #top .me .l2 b{color:var(--ink);font-weight:500} #top .me .l2 a{color:var(--ink);margin-left:6px}
#top .me .cta{margin-top:12px;display:inline-flex;align-items:center;gap:8px;font:500 12px var(--mono);padding:9px 12px;border:1.5px solid var(--ink);border-radius:2px;background:var(--ink);color:var(--white);text-decoration:none;transition:transform 160ms cubic-bezier(.23,1,.32,1)} #top .me .cta:active{transform:scale(.97)}

/* tabs and the seal chips */
#top .tabs{display:flex;gap:4px;margin-top:26px;border-bottom:1px solid var(--ink-24)}
#top .tabs button{font:500 12px var(--mono);padding:8px 12px;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:none;color:var(--ink-60)}
#top .tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--ink)}
#top .cat{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
#top .cat button{display:inline-flex;align-items:center;gap:7px;font:12px var(--mono);padding:5px 9px 5px 6px;border:1px solid var(--ink-24);border-radius:2px;background:var(--white);transition:transform 160ms cubic-bezier(.23,1,.32,1)}
#top .cat button img{width:18px;height:18px;opacity:.8} #top .cat button small{color:var(--ink-60);font-size:11px}
#top .cat button:active{transform:scale(.97)} @media (hover:hover){#top .cat button:hover{border-color:var(--ink)}} #top .cat button[aria-pressed=true]{border-color:var(--ink);background:var(--paint-08)}
#top .cat .clear{border-style:dashed}

/* the rows */
#top .grid{position:relative;margin-top:14px;font:13px var(--mono);font-variant-numeric:tabular-nums}
#top .hd,#top .row{display:grid;grid-template-columns:72px minmax(0,1fr) 300px 96px 132px;column-gap:16px;align-items:center}
#top .hd{font:500 11px var(--mono);color:var(--ink-60);padding:0 0 8px 8px;border-bottom:1px solid var(--ink-24)}
#top .row{all:unset;box-sizing:border-box;position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) 300px 96px 132px;column-gap:16px;align-items:center;width:100%;padding:10px 0 10px 8px;border-bottom:1px solid var(--ink-24);color:var(--ink);font:13px var(--mono);font-variant-numeric:tabular-nums;background:var(--white);cursor:pointer}
@media (hover:hover){#top .row:hover{background:var(--ink-06)}} #top .row.mine{background:var(--paint-08)} #top .row.mine .wl span{font-weight:600}
#top .row.dim{opacity:.3} #top .row.was .ct,#top .row.was .strip2,#top .row.was .tr{opacity:.35}
#top .rk{display:flex;align-items:baseline;gap:8px} #top .rk b,#top .rk number-flow{font-weight:500;min-width:2ch}
#top .mv{font-size:11px;color:var(--ink-60);display:inline-block} #top .mv.up{color:var(--verdigris)} #top .mv.down{color:var(--ember)}
#top .mv.flash{animation:topflash 1.2s ease-out 1}
@keyframes topflash{0%{transform:scale(1)}20%{transform:scale(1.5);text-shadow:0 0 10px currentColor}100%{transform:scale(1)}}
#top .wl{min-width:0;display:flex;align-items:baseline;gap:10px;white-space:nowrap} #top .wl span{overflow:hidden;text-overflow:ellipsis} #top .wl small{font-size:11px;color:var(--ink-60)}
#top .wl .first{font:500 10.5px var(--mono);padding:2px 5px;border:1px solid var(--g-text);color:var(--g-text);border-radius:2px;overflow:visible}
#top .strip2{display:flex;align-items:center;gap:3px} #top .strip2 i{position:relative;flex:0 0 10px;height:14px;border:1px solid var(--ink-24);border-radius:1px;transition:background .3s,border-color .3s} #top .strip2 i.on{border-color:transparent}
#top .strip2 i.rare::after{content:"";position:absolute;left:50%;top:-5px;width:3px;height:3px;margin-left:-1.5px;border-radius:50%;background:var(--ink)}
#top .strip2 i.new{animation:topcell .9s cubic-bezier(.2,.9,.3,1.2) 1}
@keyframes topcell{0%{transform:scale(2.2);opacity:0}60%{transform:scale(.9);opacity:1}100%{transform:scale(1)}}
#top .strip2 em{font-style:normal;font-size:11px;color:var(--ink-60);margin-left:6px;white-space:nowrap}
#top #top-rows{position:relative}
#top .bellline .replay:disabled{cursor:default;border-color:var(--ink)}
#top .row.ghost{border:1px dashed var(--ink-24);border-radius:2px;margin-top:8px;background:transparent;color:var(--ink-60);text-decoration:none}
#top .row.ghost .rk b{color:var(--ink-24)} #top .row.ghost .wl span{color:var(--ink)} #top .row.ghost .strip2 i{border-style:dashed} #top .row.ghost .tierc{color:var(--ink-60)}
#top .row.ghost .wl>span{flex:none} #top .row.ghost .wl small{min-width:0;overflow:hidden;text-overflow:ellipsis}
#top .plq .tierc{white-space:nowrap} @media (max-width:1180px){#top .plq .tierc .full{display:none}}
@media (hover:hover){#top .row.ghost:hover{border-color:var(--ink);color:var(--ink)}}
#top .empty2{padding:18px 8px;font:12px var(--mono);color:var(--ink-60);border-bottom:1px solid var(--ink-24)}
#top .more{margin-top:14px}

@media (prefers-reduced-motion:reduce){#top *{animation:none!important;transition-property:opacity,border-color,background-color!important}}

@media (max-width:860px){
#top .hd,#top .row{grid-template-columns:56px minmax(0,1fr) 84px 100px;column-gap:10px}#top .hd .hs,#top .row .strip2{grid-column:2}#top .row .strip2{grid-row:2;margin-top:6px}#top .hd .hs{display:none}#top .row .ct{grid-row:1;grid-column:3}#top .row .tr{grid-row:1;grid-column:4}#top .hd .hc{grid-column:3}#top .hd .ht{grid-column:4}
#top .pod{grid-template-columns:1fr 1fr;gap:10px}#top .pod .plq.g{grid-column:1/3;grid-row:1}#top .pod .plq.s,#top .pod .plq.c{grid-row:2}#top .plq.s,#top .plq.c{min-height:170px}#top .plq .in{padding:14px 16px 20px}#top .plq .num{font-size:52px}#top .plq.g .num{font-size:66px}#top .plq .nm{font-size:19px}#top .plq .held b{font-size:24px}
#top .pod .plq.s,#top .pod .plq.c,#top .pod .plq.g{transform:none}#top .plq.g{min-height:0}#top .plq .streak span+span{display:none}#top .plq .streak{margin-top:10px}
#top .bellline{padding:10px 12px}#top .plq.g .in{padding:24px 30px 28px}#top .bellline .replay{width:100%;justify-content:center}#top .plq .tierc .full{display:none}#top .cat{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}#top .cat button{flex:0 0 auto}}
@media (max-width:640px){
#top .bellline img{display:none}#top .grid,#top .row{font-size:12px}#top .hd,#top .row{grid-template-columns:40px minmax(0,1fr) 70px 88px;column-gap:8px}#top .hd{font-size:11px;white-space:nowrap}#top .tierc{font-size:11px;gap:5px}#top .rk{flex-direction:column;gap:0}#top .strip2{gap:2px}#top .strip2 i{flex-basis:7px;height:11px}#top .wl{flex-direction:column;gap:0}#top .wl small{font-size:11px}#top .plq .strip2 i{flex-basis:8px;height:12px}
#top .row.ghost{grid-template-columns:40px minmax(0,1fr);row-gap:4px}#top .row.ghost .strip2,#top .row.ghost .ct,#top .row.ghost .tr{display:none}#top .row.ghost .wl{white-space:normal}
#top .plq.s .in,#top .plq.c .in{grid-template-columns:1fr;gap:2px}#top .plq.s .num,#top .plq.c .num{grid-row:auto;font-size:40px}#top .plq.s .who,#top .plq.c .who{font-size:17px}#top .plq.s .held b,#top .plq.c .held b{font-size:20px}#top .plq.s .strip2,#top .plq.c .strip2{grid-column:1}#top .plq.s .streak,#top .plq.c .streak{grid-column:1}#top .plq.s .strip2 i,#top .plq.c .strip2 i{flex-basis:6px;height:10px}#top .plq.s .strip2,#top .plq.c .strip2{gap:1.5px}}

/* 18.11 wallet score, step 1 (owner ok): the record read out loud (#ws, filled by /late/record-score.mjs) */
body.qu .rc .ws{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,380px);gap:32px 56px;align-items:start;margin:28px 0 32px;padding:24px 0 28px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
body.qu .rc .ws.ws-none{grid-template-columns:minmax(0,1fr);margin-top:0;border-top:0;padding-top:0}
body.qu .rc .ws-main{min-width:0;max-width:760px}
body.qu .rc .ws-k{display:block;margin:0 0 10px;font:500 12px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
body.qu .rc .ws-k2{margin-top:16px}
body.qu .rc .ws-h{margin:0 0 14px}
body.qu .rc .ws-rank{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin:0}
body.qu .rc .ws-rank b{font:800 clamp(72px,7.4vw,112px)/.86 var(--qn-disp);font-stretch:62%;letter-spacing:-.01em;color:#e09a62;font-variant-numeric:tabular-nums}
body.qu .rc .ws-rank span{font:300 clamp(20px,1.8vw,26px)/1.3 var(--serif);font-style:italic;color:var(--ink)}
body.qu .rc .ws-norank span{font-style:normal;color:var(--muted)}
body.qu .rc .ws-read,body.qu .rc .ws-lede{margin:14px 0 18px;max-width:62ch;font:400 17px/1.5 var(--sans);color:var(--ink)}
body.qu .rc .ws-lede b{font-family:var(--mono);font-weight:500}
body.qu .rc .ws-seals{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
body.qu .rc .ws-chip{display:inline-flex;align-items:baseline;gap:10px;padding:7px 11px;border:1px solid var(--tier-edge);background:var(--tier-surface,var(--tier-base));color:var(--tier-fg)}
body.qu .rc .ws-chip b{font:500 15px/1.25 var(--sans)}
body.qu .rc .ws-chip span{font:500 12px/1.25 var(--mono);text-transform:uppercase;letter-spacing:.08em}
body.qu .rc .ws-how{margin:0 0 4px;padding:0 0 0 22px;max-width:62ch;font:400 16px/1.5 var(--sans);color:var(--ink)}
body.qu .rc .ws-how li{padding:3px 0}
body.qu .rc .ws-how li::marker{font-family:var(--mono);color:var(--muted)}
body.qu .rc .ws-proj{margin:24px 0 0;padding:18px 0 0;border-top:1px solid var(--rule)}
body.qu .rc .ws-proj[aria-busy]{opacity:.6}
body.qu .rc .ws-proj-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
body.qu .rc .ws-proj-h .ws-k{margin:0}
body.qu .rc .ws-bells{display:flex}
body.qu .rc .ws-bells .mini{min-width:44px;justify-content:center;font-variant-numeric:tabular-nums}
body.qu .rc .ws-bells .mini+.mini{margin-left:-1px}
body.qu .rc .ws-bells .mini[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
body.qu .rc .ws-proj-line{margin:12px 0 0;max-width:62ch;font:300 clamp(19px,1.6vw,22px)/1.45 var(--serif);color:var(--ink)}
body.qu .rc .ws-proj-line b{font:500 .86em var(--mono);font-variant-numeric:tabular-nums}
body.qu .rc .ws-note{margin:14px 0 0;max-width:68ch;font:400 14px/1.5 var(--sans);color:var(--muted)}
body.qu .rc .ws-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:24px 0 0}
body.qu .rc .ws-cta .qu-btn-fill{flex:none}
body.qu .rc .ws-dc{margin:0;max-width:44ch;font:400 15px/1.5 var(--sans);color:var(--muted)}
body.qu .rc .ws-dc a{color:var(--ink)}
body.qu .rc .ws-card{margin:0;min-width:0}
body.qu .rc .ws-card canvas{display:block;width:100%;height:auto;aspect-ratio:1;background:#180b51}
body.qu .rc .ws-card figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:12px}
body.qu .rc .ws-card figcaption span{font:400 14px/1.4 var(--sans);text-transform:none;letter-spacing:0;color:var(--muted)}
@media(max-width:900px){
body.qu .rc .ws{grid-template-columns:minmax(0,1fr);gap:24px}
body.qu .rc .ws-card{max-width:420px}
}
@media(max-width:700px){
body.qu .rc .ws-k,body.qu .rc .ws-chip span,body.qu .rc .ws-note,body.qu .rc .ws .mini{font-size:14px}
body.qu .rc .ws-read,body.qu .rc .ws-lede,body.qu .rc .ws-how{font-size:16px}
body.qu .rc .ws-cta .qu-btn-fill{flex:1 1 100%;justify-content:center;font-size:14px}
}
