/* The shop layer of the landing: the brand palette and the shop's own sections. Served by the Worker of this flavor only (app/landing/serve.ts); the page links it.
   Palette (sRGB hex; CMYK conversions in notes/landing-build/DIRECTION.md): BLACK #0A0A0A, EARTH #8C7A6B, SAND #C9B8A3, NAVY #1E3A5F, FOG BLUE #6B8AA7. */
html:root.muse,html:root.muse[data-theme]{--paper:#0a0a0a !important;--panel:#14171b !important;--raised:#1d2127 !important;--ink:#f4f1ec !important;--muted:#c9b8a3 !important;--line:#8c7a6b !important;--line-strong:#8c7a6b !important;--art-well:#0f1114 !important;--marker-text:#8fadc8 !important;--on-marker:#0a0a0a !important;--on-cta:#0a0a0a !important;--marker:#6b8aa7 !important;--cta:#6b8aa7 !important;--dash:#8c7a6b !important;--leaf:#14171b !important;--overlay:#0a0a0aee !important;--slab-solid:#1d2127 !important;--sleeve:#f4f1ec38 !important;--gain:#8fadc8 !important;--loss:#c9b8a3 !important}
html:root.muse.T-light,html:root.muse.T-light[data-theme]{--paper:#f4f1ec !important;--panel:#fbfaf7 !important;--raised:#e9e4db !important;--ink:#0a0a0a !important;--muted:#5e574e !important;--line:#8c7a6b !important;--line-strong:#8c7a6b !important;--art-well:#ece7de !important;--marker-text:#1e3a5f !important;--on-marker:#ffffff !important;--on-cta:#fbfaf7 !important;--marker:#1e3a5f !important;--cta:#1e3a5f !important;--dash:#8c7a6b !important;--leaf:#fbfaf7 !important;--overlay:#0a0a0a73 !important;--gain:#1e3a5f !important;--loss:#5e574e !important}

.wordmark .mlg{display:block;height:22px;width:auto}
@media (max-width:379px){.wordmark .mlg{height:18px}}
.jcopy .mlogo{display:grid;justify-items:center;margin:0 0 6px}
.jcopy .mlogo img{width:min(260px,64vw);height:auto}
.slab.sand{--slab:#c9b8a3}.slab.earth{--slab:#8c7a6b}.slab.navy{--slab:#1e3a5f}
.kept .slab{--g:""}

/* hero: three blank cases on the counter line */
.mshelf{position:absolute;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));z-index:1;transform:translateX(-50%);display:flex;gap:16px;align-items:flex-end;pointer-events:none}
.mshelf::after{content:"";position:absolute;left:-30px;right:-30px;bottom:-8px;height:1px;background:var(--line-strong)}
.mshelf i{display:block;position:relative;width:40px;aspect-ratio:5/7;border-radius:5% / 3.6%;background:var(--c,var(--raised));border:1px solid var(--line-strong)}
.mshelf i::before{content:"";position:absolute;left:10%;right:10%;top:7%;height:17%;border-radius:2px;background:color-mix(in srgb,var(--paper) 55%,transparent)}
.mshelf i::after{content:"";position:absolute;left:10%;right:10%;top:30%;bottom:8%;border-radius:2px;background:color-mix(in srgb,var(--paper) 35%,transparent)}
.mshelf .sand{--c:#c9b8a3}.mshelf .navy{--c:#1e3a5f}
@media (max-height:760px){.mshelf{display:none}}

/* 鑑定進度 */
.trk{display:grid;gap:14px}
.trk .pick{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--line)}
.trk .pick .dk{--w:52px}
.trk .note{display:grid;gap:4px}
.trk .note b{font-weight:700}
.trk .note span{color:var(--muted);font-size:.875rem}
.trk .steps{display:grid;gap:0}
.trk .steps li{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:42px;--q:clamp(0,calc((var(--p) - .08 - var(--i) * .14) / .22),1);opacity:var(--q);transform:translateY(calc(10px * (1 - var(--q))))}
.trk .mk{width:12px;height:12px;border-radius:50%;border:2px solid var(--line-strong);justify-self:center}
.trk .dn .mk{background:var(--marker);border-color:var(--marker)}
.trk .now .mk{border-color:var(--marker);box-shadow:0 0 0 4px color-mix(in srgb,var(--marker) 28%,transparent)}
.trk .now .st{font-weight:700}
.trk .next .st{color:var(--muted)}
.trk time{color:var(--muted);font-size:.875rem;font-variant-numeric:tabular-nums}
.trk .now time{color:var(--marker-text);font-weight:600}

/* 百科 with the POP bars: one card. The bars and the rows use the shared 05 and 百科 classes; the engine counts the numbers up (it binds .pop .n anywhere). */
.ency.pop{gap:12px}
.ency.pop .spot{margin-bottom:0}
.ency.pop .chips{margin-top:0}
.ency.pop .foot b{color:var(--marker-text)}
@media (max-width:899px){
 .ency.pop{gap:8px;padding:14px}
 .ency.pop .er{grid-template-columns:auto minmax(0,1fr) auto;gap:8px 10px;padding:8px 0}
 .ency.pop .fs{grid-column:auto;gap:6px}
 .ency.pop .fs .slab{--w:26px}
}
@media (max-width:899px) and (max-height:740px){
 .ency.pop{gap:5px;padding:10px 12px}
 .ency.pop .spot{padding-bottom:8px}.ency.pop .spot .dk{--w:38px}
 .ency.pop .bar .tr{height:12px}
 .ency.pop .er{padding:4px 0}
 .ency.pop .fs .slab{--w:22px}
 .ency.pop .enote{margin-top:2px;padding-top:6px}
}

/* 揭曉: the r9 mechanic 一起掀 at landing size. The final state is the default (covers lifted, digits on the plates, rims on, captions and end line shown, kept row complete): it is what
   JS off, reduced motion and an engine that does not scrub all show. Only html.mo (motion allowed, set by boot.js) with .armed (the skin read a scroll value) gates the pre-hit state. */
#f-reveal .sqs{--q0:clamp(0,calc((var(--p) - .12) / .5),1);position:relative;display:grid;justify-items:center;gap:8px;width:100%;max-width:520px;margin-inline:auto}
.sq-glow{position:absolute;left:0;top:0;width:100%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,#f4f1ec30,transparent 72%);opacity:0;pointer-events:none}
.sq-grid{--sw:clamp(64px,calc((100svh - var(--rvx,505px)) / 2.82),152px);position:relative;display:grid;grid-template-columns:repeat(2,var(--sw));gap:0 28px;justify-content:center}
@media (max-width:420px){.sq-grid{gap:0 16px}}
.sq-slab{--lag:1;--sq:clamp(0,calc((var(--p) - .12) / (.5 * var(--lag))),1);--hd:1.8s;position:relative;width:var(--sw)}
.sq-slab:nth-child(2){--lag:1.04}.sq-slab:nth-child(3){--lag:1.11}.sq-slab:nth-child(4){--lag:1.19}
.sq-slab.nine{--hd:1.1s}.sq-slab.low{--hd:.8s}
.sq-slab.ten{z-index:3}
.sq-case{position:relative;aspect-ratio:320/452;border-radius:7% / 5%;overflow:hidden;container-type:inline-size;box-shadow:0 10px 18px #0007;background:linear-gradient(150deg,#8c7a6b,#0a0a0a 45%,#0a0a0a 70%,#8c7a6b)}
.sq-case::before{content:"";position:absolute;inset:1.8% 2.5%;border-radius:5% / 3.5%;background:#0a0a0a}
.sq-plate{position:absolute;left:5.6%;top:4.4%;width:88.8%;height:14.2%;box-sizing:border-box;display:flex;align-items:center;gap:6cqw;padding:0 6% 0 10%;clip-path:polygon(6% 0,100% 0,94% 100%,0 100%);background:#0a0a0a;border:1px solid #8c7a6b}
.sq-slab.ten .sq-plate{border:1.5px solid #e6c36acc}
.sq-plate b{font-weight:700;font-size:4.6cqw;letter-spacing:.12em;color:#f4f1ec}
.sq-plate span{margin-left:auto;margin-right:18cqw;font-weight:700;font-size:13cqw;line-height:1;letter-spacing:-.03em;color:#f4f1ec}
.sq-slab.ten .sq-plate span,.sq-slab.ten .sq-pop span{background:linear-gradient(#fff3c4,#f0cd76 24%,#c7983a 50%,#8d6318 68%,#b98a2f 86%,#e8c66e);-webkit-background-clip:text;background-clip:text;color:transparent}
.sq-slab.nine .sq-plate span,.sq-slab.nine .sq-pop span{background:linear-gradient(#fff,#e3e8ee 30%,#a9b3be 55%,#838e9a 70%,#dfe5eb);-webkit-background-clip:text;background-clip:text;color:transparent}
.sq-face{position:absolute;left:13.75%;top:22.8%;width:72.5%;height:71.7%;border-radius:4% / 2.8%;background:linear-gradient(165deg,var(--f1,#6b8aa7),var(--f2,#1e3a5f))}
.sq-slab:nth-child(2){--f1:#c9b8a3;--f2:#8c7a6b}.sq-slab:nth-child(3){--f1:#8c7a6b;--f2:#1e3a5f}.sq-slab:nth-child(4){--f1:#6b8aa7;--f2:#8c7a6b}
.sq-shade{position:absolute;inset:0;background:#0a0a0a;opacity:0;pointer-events:none}
.sq-cover{position:absolute;left:0;top:0;width:100%;height:21.6%;background:linear-gradient(160deg,#6b8aa7,#1e3a5f);box-shadow:0 2px 5px #000a;transform:translateY(calc(-106% * var(--sq)));will-change:transform}
.sq-pass{position:absolute;top:-10%;left:0;width:46%;height:120%;background:linear-gradient(100deg,transparent,#f4f1ecb8 50%,transparent);transform:translate3d(-130%,0,0) skewX(-14deg);opacity:0;pointer-events:none}
.sq-ring{position:absolute;left:0;right:0;top:0;aspect-ratio:320/452;border-radius:7% / 5%;box-shadow:inset 0 0 0 1.5px #e6c36ad9,0 0 18px #e6c36a59;opacity:1;transition:opacity .5s;pointer-events:none}
.sq-pop{position:absolute;left:0;right:0;top:0;aspect-ratio:320/452;display:grid;place-items:center;opacity:0;pointer-events:none;filter:drop-shadow(0 6px 14px #000d)}
.sq-pop span{font-weight:700;font-size:calc(var(--sw) * .62);line-height:1;letter-spacing:-.03em;color:#f4f1ec}
.sq-cap{display:block;height:16px;margin-top:2px;font-size:12px;line-height:16px;font-weight:700;letter-spacing:.04em;text-align:center;white-space:nowrap;color:var(--ink);transition:opacity .3s}
.sq-slab.ten .sq-cap{color:#e6c36a}
.sq-mote{position:absolute;left:50%;top:38%;width:3px;height:3px;margin:-1.5px;border-radius:50%;background:#f0cd76;opacity:0;pointer-events:none}
.sq-slab.nine .sq-mote{background:#e3e8ee}
.sq-fb{position:relative;width:100%;height:30px}
.sq-fb>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.sq-hint{opacity:0}
.sq-hint p{font-size:.875rem;line-height:20px;letter-spacing:.04em;color:var(--muted)}
.sq-end{opacity:1}
.sq-end b{font-size:1.1875rem;line-height:30px;font-weight:700;letter-spacing:.08em;color:#f4f1ec}
#f-reveal .kept{display:grid;gap:8px;justify-items:center;width:100%;padding-top:12px;border-top:1px solid var(--line)}
#f-reveal .kr{display:flex;gap:10px}
#f-reveal .kr .slab,#f-reveal .kr .dk{--w:40px}
#f-reveal .kept p,#f-reveal .vid{font-size:.875rem;text-align:center}
#f-reveal .vid{color:var(--muted)}
@media (max-width:899px){html.L-en .sq-grid{--rvx:525px}}
#f-reveal .sqs{gap:4px}#f-reveal .kr .slab,#f-reveal .kr .dk{--w:30px}#f-reveal .kept{gap:4px;padding-top:6px}}
/* the pre-hit state, motion allowed only */
html.mo .sqs.armed:not(.hit) .sq-glow{opacity:calc(var(--q0) * .9);animation:sqbeat .7s ease-out infinite}
html.mo .sqs.armed:not(.hit) .sq-ring,html.mo .sqs.armed:not(.hit) .sq-cap{opacity:0}
html.mo .sqs.armed:not(.hit) .sq-hint{opacity:1}
html.mo .sqs.armed:not(.hit) .sq-end{opacity:0}
html.mo .sqs.armed:not(.hit) .kr .new{opacity:0;transform:translateY(-14px)}
/* the hit: transform and opacity only */
html.mo .sqs.hit .sq-cover{transform:translateY(-106%)}
html.mo .sqs.hit .sq-slab.ten .sq-pop{animation:sqpop10 1.8s cubic-bezier(.2,.9,.25,1)}
html.mo .sqs.hit .sq-slab.nine .sq-pop{animation:sqpop9 1.1s cubic-bezier(.2,.9,.25,1)}
html.mo .sqs.hit .sq-slab.low .sq-pop{animation:sqpop8 .8s cubic-bezier(.2,.9,.25,1)}
html.mo .sqs.hit .sq-slab .sq-shade{--sv:.5;animation:sqshade var(--hd) ease-out}
html.mo .sqs.hit .sq-slab.ten .sq-shade{--sv:.62}
html.mo .sqs.hit .sq-slab.ten{animation:sqten 1.7s ease-out}
html.mo .sqs.hit .sq-slab.ten .sq-pass{--po:1;animation:sqpass .76s .38s ease-in-out both}
html.mo .sqs.hit .sq-slab.nine{animation:sqnine .6s ease-out,sqdim 1.8s ease-out}
html.mo .sqs.hit .sq-slab.nine .sq-pass{--po:.6;animation:sqpass .52s .2s ease-in-out both}
html.mo .sqs.hit .sq-slab.low{animation:sqlow .62s ease-in-out,sqdim 1.8s ease-out}
html.mo .sqs.hit .sq-mote{animation:sqmote var(--ml) var(--md) cubic-bezier(.1,.6,.3,1) both}
html.mo .sqs.hit .sq-hint{animation:sqhide .2s 1.9s both}
html.mo .sqs.hit .sq-end{animation:sqshow .2s 1.9s both}
html.mo .sqs.hit .kr .new{animation:sqdrop .5s 1.9s both}
@keyframes sqbeat{0%{transform:scale(1)}18%{transform:scale(1.07)}37%{transform:scale(1)}100%{transform:scale(1)}}
@keyframes sqpop10{0%{transform:scale(2.6);opacity:0}23%{transform:scale(1);opacity:1}83%{transform:scale(1);opacity:1}100%{transform:scale(.9);opacity:0}}
@keyframes sqpop9{0%{transform:scale(1.8);opacity:0}24%{transform:scale(1);opacity:1}73%{transform:scale(1);opacity:1}100%{transform:scale(.9);opacity:0}}
@keyframes sqpop8{0%{transform:scale(1.3);opacity:0}33%{transform:scale(1);opacity:1}63%{transform:scale(1);opacity:1}100%{transform:scale(.9);opacity:0}}
@keyframes sqshade{0%{opacity:0}15%{opacity:var(--sv)}80%{opacity:var(--sv)}100%{opacity:0}}
@keyframes sqten{0%{transform:scale(1)}18%{transform:scale(1.12)}80%{transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes sqnine{0%{transform:scale(1)}30%{transform:scale(1.05)}100%{transform:scale(1)}}
@keyframes sqlow{0%{transform:none}35%{transform:translateY(4px) rotate(-2.4deg)}100%{transform:none}}
@keyframes sqdim{0%{opacity:1}29%{opacity:1}46%{opacity:.3}83%{opacity:.3}100%{opacity:1}}
@keyframes sqpass{0%{transform:translate3d(-130%,0,0) skewX(-14deg);opacity:0}20%{opacity:var(--po)}80%{opacity:var(--po)}100%{transform:translate3d(330%,0,0) skewX(-14deg);opacity:0}}
@keyframes sqmote{0%{transform:translate(0,0) scale(.6);opacity:0}20%{opacity:.95}70%{opacity:.7}100%{transform:translate(var(--dx),var(--dy)) scale(var(--ms));opacity:0}}
@keyframes sqhide{from{opacity:1}to{opacity:0}}
@keyframes sqshow{from{opacity:0}to{opacity:1}}
@keyframes sqdrop{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.sqs,.sqs *{animation:none !important}.sq-cap,.sq-ring{transition:opacity .15s}}

/* 到店預約 */
.slip{display:grid;gap:10px}
.slip h3{font:700 1.0625rem/1.2 var(--font)}
.slip ul{display:grid}
.slip li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);--q:clamp(0,calc((var(--p) - .1 - var(--i) * .2) / .3),1);opacity:var(--q);transform:translateY(calc(12px * (1 - var(--q))))}
.slip li .slab,.slip li .dk{--w:34px}
.slip .it{display:grid}
.slip .it small{color:var(--muted);font-size:.8125rem}
.slip em{font:600 .9375rem var(--num);font-style:normal;font-variant-numeric:tabular-nums}
.slip .sum{display:flex;justify-content:space-between;font-weight:700;padding-top:2px}
.slip .held{display:grid;gap:2px;--q:clamp(0,calc((var(--p) - .62) / .25),1);opacity:var(--q);transform:translateY(calc(10px * (1 - var(--q))))}
.slip .held b{color:var(--marker-text)}
.slip .held small{color:var(--muted);font-size:.8125rem}

/* 分享: the share image carries the shop wordmark */
.sthd .wm .mlg{display:block;height:13px;width:auto}

/* ---- the VI colour pass, both themes. Tokens above; below, the colours landing.css hard-codes, then the bands that set their own tokens for their subtree.
   Things painted on a canvas by landing.js (the WebGL globe tiles, the binder leaves, the painted box and pack images) have no hook in the skin and keep their own colours. */
/* blank slab bodies rotate NAVY, EARTH, FOG BLUE, SAND; no hue is left */
html.muse :where(.slab,.dk[data-blank]){--slab:#1e3a5f}
html.muse :where(.slab,.dk[data-blank]):nth-child(4n+2){--slab:#8c7a6b}
html.muse :where(.slab,.dk[data-blank]):nth-child(4n+3){--slab:#6b8aa7}
html.muse :where(.slab,.dk[data-blank]):nth-child(4n+4){--slab:#c9b8a3}
/* with motion the engine swaps every DOM slab for a painted image in its own hues and switches the pseudo-elements off (html.sl .slab); the Muse page keeps the drawn VI slab instead */
html.sl.muse .c6 .slab{box-shadow:0 8px 18px rgba(0,0,0,.5)}
html.muse .slab.sand{--slab:#c9b8a3}html.muse .slab.earth{--slab:#8c7a6b}html.muse .slab.navy,html.muse .slab.new{--slab:#1e3a5f}html.muse .kr .slab.new{--slab:#6b8aa7}
html.muse .slab::before{color:#f4f1ec;background:linear-gradient(#0a0a0a73,#0a0a0a73) 8% 30%/40% 13% no-repeat,linear-gradient(#0a0a0a73,#0a0a0a73) 6.5% 68%/28% 13% no-repeat,linear-gradient(#0a0a0a,#0a0a0a) 96.5% 50%/22% 70% no-repeat,linear-gradient(180deg,#f4f1ecd9,#c9b8a3cc)}
html.muse .slab::after{background:linear-gradient(165deg,color-mix(in srgb,var(--slab) 55%,#0a0a0a),color-mix(in srgb,var(--slab) 30%,#0a0a0a)) padding-box,linear-gradient(135deg,#f4f1ec59,#f4f1ec1a) border-box}
:where(html.muse) .dk{background:linear-gradient(160deg,#1e3a5f,#0a0a0a 60%) center/cover}
/* the hero poster tiles (static svg) */
html.muse #poster #s rect:nth-child(1),html.muse #poster #h rect:nth-child(1){fill:#1e3a5f}
html.muse #poster #c rect:nth-child(1){fill:#8c7a6b}
html.muse #poster :is(#s,#c,#h) rect:nth-child(2){fill:#c9b8a3}
html.muse #poster :is(#s,#c) rect:nth-child(3){fill:#0a0a0a}
html.muse #poster #h rect:nth-child(3){fill:#6b8aa7}
/* 幣別 */
html.muse .cv{--fxc:#6b8aa7}html.muse.T-light .cv{--fxc:#1e3a5f}
html.muse .cy{color:#0a0a0a}
/* the split under the total: the VI pair on the bar (FOG BLUE for the card, SAND for the exchange), an EARTH hairline so SAND still reads on paper, labels in plain ink with a swatch of their colour */
html.muse .fg{--gain:#6b8aa7;--fxc:#c9b8a3}
html.muse .fgb i{box-shadow:inset 0 0 0 1px #8c7a6b}
html.muse .fgl b,html.muse .fgl span:last-child b{color:var(--ink)}
html.muse .fgl>span::before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:2px;background:var(--gain);box-shadow:inset 0 0 0 1px #8c7a6b}
html.muse .fgl>span:last-child::before{background:var(--fxc)}
/* verdict-free figures: the profit and loss number is plain ink, since neither flavor of the Muse page says up or down there */
html.muse .sum .pnl b{color:var(--ink)}
/* 開盒 and pack art, the CSS parts (the painted images the engine adds over them keep their own colours) */
:where(html.muse) .jfl{background:#0a0a0a}
:where(html.muse) .jpk{background:linear-gradient(90deg,#1e3a5f 0 48%,#0a0a0a 48% 52%,#1e3a5f 52%) center/100% 100%}
:where(html.muse) .jfr{background:#6b8aa7 center/100% 100%}
:where(html.muse) .jsd{background:#1e3a5f center/100% 100%}
:where(html.muse) .jlo{background:linear-gradient(155deg,#1e3a5f,#6b8aa7 50%,#c9b8a3) center/100% 100%}
:where(html.muse) .pk b{background:linear-gradient(180deg,#1e3a5f,#6b8aa7 55%,#c9b8a3) center/100% 100% no-repeat}
:where(html.muse) .pk i{background:linear-gradient(#c9b8a3,#8c7a6b) center/100% 100% no-repeat}
html.muse .rip{background:radial-gradient(closest-side,#c9b8a300 46%,#c9b8a370 66%,#c9b8a300 100%)}
/* 分享: the story image */
html.muse .story{background:radial-gradient(120% 60% at 50% 0,#1e3a5f 0,transparent 70%),radial-gradient(90% 50% at 50% 100%,#8c7a6b59 0,transparent 75%),linear-gradient(170deg,#0a0a0a,#0a0a0a);color:#f4f1ec}
html.muse .c6 .sl u::before{background:linear-gradient(112deg,transparent 30%,#6b8aa740 42%,#c9b8a333 50%,#f4f1ec30 58%,transparent 70%)}
html.muse .story{--gain:#c9b8a3}
html.muse .stft b.up{color:#c9b8a3}
html.muse .c6:nth-child(2) em{color:#f4f1ec}html.muse .c6:nth-child(3) em{color:#c9b8a3}
/* bands: a band sets its own tokens for everything inside it */
html.muse footer .tlink{color:var(--ink)}
/* round 6 (mock review): one background for the whole page, no navy bands. The closing wordmark is drawn white, so the light theme inks it; the gold under a revealed 10 takes its dark stop on the light page */
html.muse.T-light .jcopy .mlogo img{filter:brightness(0)}
html.muse.T-light .sq-end b{color:var(--ink)}
html.muse.T-light .sq-slab.ten .sq-cap{color:#8d6318}
/* round 7 (owner 11-18): fewer colours on Carte Muse. One neutral page, neutral surfaces and hairlines, one accent (fog blue; navy on the light page).
   Sand and earth are no longer used for text, lines, panels, slab faces or glows. The gold on a revealed 10 is kept as the one grade signal */
html:root.muse.muse.muse{--muted:#a9a8a4 !important;--line:#2c3036 !important;--line-strong:#6f747b !important;--dash:#6f747b !important;--loss:#a9a8a4 !important}
html:root.muse.muse.T-light.T-light{--muted:#5c5b58 !important;--line:#d8d5cf !important;--line-strong:#85827c !important;--dash:#85827c !important;--loss:#5c5b58 !important}
html.muse .sq-slab:nth-child(n){--f1:#6b8aa7;--f2:#1e3a5f}
html.muse .sq-case{background:linear-gradient(150deg,#5d6269,#0a0a0a 45%,#0a0a0a 70%,#5d6269)}
html.muse .sq-plate{border-color:#5d6269}
html.muse .fg{--fxc:var(--muted)}
html.muse .fgb i,html.muse .fgl>span::before{box-shadow:inset 0 0 0 1px var(--line-strong)}
html.muse .story{background:radial-gradient(120% 60% at 50% 0,#1e3a5f 0,transparent 70%),linear-gradient(170deg,#0a0a0a,#0a0a0a);--gain:#8fadc8}
html.muse .stft b.up{color:#8fadc8}
html.muse .c6:nth-child(3) em{color:#f4f1ec}
html.muse .c6 .sl u::before{background:linear-gradient(112deg,transparent 30%,#6b8aa740 42%,#f4f1ec30 54%,transparent 70%)}
:where(html.muse) .jlo{background:linear-gradient(155deg,#1e3a5f,#6b8aa7) center/100% 100%}
:where(html.muse) .pk b{background:linear-gradient(180deg,#1e3a5f,#6b8aa7) center/100% 100% no-repeat}
:where(html.muse) .pk i{background:linear-gradient(#d9d8d4,#8f8e8a) center/100% 100% no-repeat}
html.muse .rip{background:radial-gradient(closest-side,#8fadc800 46%,#8fadc870 66%,#8fadc800 100%)}
html.muse #poster #c rect:nth-child(1){fill:#1e3a5f}
html.muse #poster :is(#s,#c,#h) rect:nth-child(2){fill:#6b8aa7}
/* the reserve slip is a neutral panel like every other card; rows that are not a card get a plain neutral tile where a slab would sit */
.slip li .th{display:block;width:34px;aspect-ratio:5/7;border-radius:4px;background:var(--raised);border:1px solid var(--line)}

/* ---- owner round 11-18 (the globe stays calm while the words are up; the engine tones the globe and the showcase slab, CALM in landing.js). Nothing is drawn between the words and the globe ---- */
html.muse{--tx:#ece5d9}
html.muse.T-light{--tx:#211e1a}
html.muse :is(#copy,#jcopy) :is(h1,h2){color:var(--tx)}
html.muse :is(#copy,#jcopy,#caption,.feat .txt){-webkit-text-stroke:0;text-shadow:none}
html.muse .jcopy h2{text-shadow:none}
/* the inline critical CSS gives the hero words a page-colour glow (.copy h1 / .sub / .fine); on this page nothing is drawn behind the words */
html.muse .copy :is(h1,h2,.sub,.fine){text-shadow:none}
html.muse .jcopy .mlogo img{filter:none}
html.muse.T-light .jcopy .mlogo img{filter:brightness(0)}
/* the slabs that drift down the page are a quiet backdrop all the time: faint and a little soft */
html.muse .dust{filter:opacity(.26) blur(1.2px)}
/* grading: the screen holds, then lets go before the next one arrives (--xo, written by the engine for every section) */
html.muse .feat{--xo:0}
html.muse #f-track{height:250svh}
@media (max-width:899px){html.muse #f-track{height:230svh}}
html.muse.mo .feat .cols{opacity:calc(1 - var(--xo,0) * .92);translate:0 calc(var(--xo,0) * -26px)}
/* 1 hero: the name and one short line, so no room is held for second lines, and the block sits on the middle of the globe at every width */
html.muse #copy h1,html.muse #copy .sub{min-height:0}
html.muse #copy{align-self:start;margin-top:calc(50svh - 108px)}
@media (max-width:899px){html.muse #copy{margin-top:calc(52svh - 78px)}}
/* 7 total value: portfolio data, not one card's chips */
.ov .pf{display:grid;gap:3px}.ov .pf b{font-weight:700}.ov .pf>span{color:var(--muted);font-size:.8125rem}
.alloc{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.alb{display:flex;gap:3px;height:8px}.alb i{flex:0 0 calc(var(--w) * 1% - 2px);border-radius:2px;background:var(--marker)}.alb i:nth-child(2){opacity:.55}.alb i:nth-child(3){opacity:.28}
.all{display:flex;flex-wrap:wrap;gap:4px 14px;color:var(--muted);font-size:.8125rem}.all span{display:inline-flex;align-items:center;gap:5px}.all b{color:var(--ink);font:600 .8125rem/1 var(--num)}
.all i{width:8px;height:8px;border-radius:2px;background:var(--marker)}.all span:nth-child(2) i{opacity:.55}.all span:nth-child(3) i{opacity:.28}
.alg{display:flex;align-items:baseline;gap:8px;font-size:.8125rem;color:var(--muted)}.alg b{margin-left:auto;color:var(--ink);font:700 1rem/1 var(--num);font-variant-numeric:tabular-nums}.alg em{font:600 .8125rem/1 var(--num);font-style:normal;color:var(--marker-text,var(--marker))}
.ov .big{min-width:11.2ch}
/* 6 the count of graded copies is a section of the card's library entry */
.pop .eh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:2px 0 6px;padding-top:10px;border-top:1px solid var(--line)}
.pop .eh b{font-weight:700}.pop .eh span{color:var(--muted);font-size:.8125rem}
/* 8 currencies: every row has the same three columns (rate, currency, amount) with the same edges */
.cv .amt{min-width:226px;justify-items:stretch}
.cv .nat,.cv .hom{display:grid;grid-template-columns:minmax(0,1fr) 44px 96px;align-items:center;gap:8px}
.cv .nat .cy{grid-column:2;width:44px;min-width:0;padding:0}.cv .nat b{grid-column:3;text-align:right}
.cv .hom span{grid-column:1;justify-self:end;margin:0}.cv .hom em{grid-column:2;justify-self:center}.cv .hom b{grid-column:3;text-align:right}
.cv .row.hm .hom em,.cv .row.hm .hom .fxv{display:block}
@media (max-width:899px){.cv .amt{min-width:186px}.cv .nat,.cv .hom{grid-template-columns:minmax(0,1fr) 38px 80px;gap:6px}.cv .nat .cy{width:38px}}
/* 3 grading: eight steps fit the panel and arrive one after another over the pin */
.trk .steps.s8 li{min-height:33px;--q:clamp(0,calc((var(--p) - .05 - var(--i) * .085) / .14),1)}
/* 16 header switches: the same slanted shape as the sign-in button (theme, sound, language), with room between them so no edge crosses another */
.top .thm,.top .snd,.top .lang{position:relative;isolation:isolate;border:0;background:none;border-radius:0}
.top .thm::before,.top .snd::before,.top .lang::before{content:"";position:absolute;inset:0;z-index:-1;border:1px solid var(--line-strong);border-radius:var(--radius);background:color-mix(in srgb,var(--paper) 80%,transparent);transform:skewX(calc(var(--slant) * -1))}
.top .snd[aria-pressed=true]{background:none}.top .snd[aria-pressed=true]::before{background:var(--ink);border-color:var(--ink)}
.top .thm{width:36px}.top .snd{padding:0 12px}.top .lang{padding:3px 5px;height:32px;box-sizing:border-box}
.top .lang button{position:relative;isolation:isolate;border-radius:0;background:none!important;height:100%}
.top .lang button[aria-pressed=true]::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:3px;background:var(--ink);transform:skewX(calc(var(--slant) * -1))}
.top .tnav{gap:14px}
@media (max-width:899px){.top .tnav{gap:9px}.top .thm{width:32px}.top .snd{padding:0 9px}.top .lang{padding:3px 4px}.top .lang button{min-width:28px;padding:0 6px}.top .btn{padding:0 12px}}
@media (max-width:379px){.top .tnav{gap:7px}.top .lang button{min-width:24px;padding:0 4px}}
/* 15 closing: one short line for anyone outside Taiwan */
#jcopy .fine .anyw{display:block;margin-bottom:6px;color:var(--ink)}
