/* page styles: account.html (cabinet) */
.cab-main{padding:36px 20px 70px}
.cab-head{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap;margin-bottom:18px}
.cab-head h1{font-size:clamp(30px,4vw,44px);line-height:1.1}
.cab-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.sub{color:var(--ink-2)}
.banner{border-radius:var(--radius-sm);padding:12px 16px;margin-bottom:14px;font-size:14px;border:1px solid var(--line);background:var(--surface)}
.banner.alert{background:#fff3d6;border-color:#ecd59a}
.cab-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:0;margin-bottom:26px}
@media(max-width:860px){.cab-stats{grid-template-columns:1fr 1fr}}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow)}
.stat .n{font-family:var(--serif);font-size:24px;font-weight:800;font-variant-numeric:tabular-nums}
.stat .l{font-size:12.5px;color:var(--ink-3)}
#spark{width:100%;height:46px;display:block}
#spark path.line{fill:none;stroke:var(--copper);stroke-width:2.2;stroke-linejoin:round}
#spark path.area{fill:url(#sparkFill)}
.gain{color:var(--ok)}.loss{color:var(--bad)}
.sec-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.sec-row h2{font-size:26px}
.row-actions{display:flex;gap:8px}
.cabinet,.sets,.ledger,.lists{padding:22px 0}
.add{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 14px;margin-bottom:18px;align-items:end}
.add .wide{grid-column:span 2}
@media(max-width:760px){.add{grid-template-columns:1fr 1fr}}
/* drawers */
.drawer{background:linear-gradient(#6b4527,#4e3019);border-radius:14px;padding:12px;margin-bottom:16px;box-shadow:inset 0 2px 0 rgba(255,255,255,.12),0 8px 20px rgba(43,33,24,.25)}
.drawer>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;color:#f6e2c4;font-family:var(--serif);font-size:18px;font-weight:700;padding:4px 8px 10px}
.drawer>summary::-webkit-details-marker{display:none}
.drawer>summary .pull{width:54px;height:10px;border-radius:6px;background:linear-gradient(#d9b46a,#8f6a2a);box-shadow:0 2px 0 rgba(0,0,0,.35)}
.drawer.is-empty .drawer-head{display:flex;justify-content:space-between;align-items:center;color:#f6e2c4;font-family:var(--serif);font-size:18px;font-weight:700;padding:4px 8px 10px}
.drawer.is-empty .drawer-head .pull{width:54px;height:10px;border-radius:6px;background:linear-gradient(#d9b46a,#8f6a2a);box-shadow:0 2px 0 rgba(0,0,0,.35)}
/* velvet tray: deep oxblood pile (fractal noise) with a soft nap highlight; sized to content in fixed columns */
.tray{--cols:5;position:relative;border-radius:10px;padding:18px;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 30% 0%,rgba(255,160,150,.10),transparent 60%),
    linear-gradient(170deg,#4a1418,#2a0a0d 70%,#1c0608);
  box-shadow:inset 0 8px 18px rgba(0,0,0,.65),inset 0 -2px 0 rgba(255,255,255,.05)}
.drawer[open] .tray{animation:pull .55s var(--ease-out)}
@keyframes pull{from{transform:translateY(-10px);opacity:.3}}
/* each slot is a coin-shaped recess pressed into the velvet */
.slotc{position:relative;border-radius:12px;padding:12px 8px 12px;text-align:center;color:#f1dfc3;perspective:700px;min-height:192px;transition:background var(--dur-2) var(--ease-out)}
.slotc .recess{position:absolute;left:50%;top:10px;width:116px;height:116px;margin-left:-58px;border-radius:50%;
  background:radial-gradient(circle at 50% 38%,#21070a 0,#2e0b0f 58%,#451317 74%,transparent 76%);
  box-shadow:inset 0 7px 12px rgba(0,0,0,.85),inset 0 -2px 3px rgba(255,170,160,.10),0 1px 0 rgba(255,190,180,.08)}
.slotc .coin{position:relative;margin:6px auto 12px;cursor:pointer;transition:transform .7s var(--ease-out);filter:drop-shadow(0 6px 6px rgba(0,0,0,.55))}
.slotc .coin.turned{transform:rotateY(180deg)}
.slotc .coin .back{display:grid;place-items:center;padding:12px;font-size:11px;line-height:1.35;background:radial-gradient(circle at 40% 35%,#5a3a22,#2b190c);color:#f3dfbf}
.slotc .nm{position:relative;font-size:13px;font-weight:700;line-height:1.3;padding:0 22px}
.slotc .vv{position:relative;font-size:12px;color:#e8c98c;font-variant-numeric:tabular-nums}
.ghost-slot{min-height:192px}
.ghost-slot .recess{opacity:.9}
.slotc.leaving{animation:leave .8s var(--ease-out) forwards}
@keyframes leave{to{transform:translateY(40px) scale(.6);opacity:0}}
/* metallic sprites (baked from the 3D coin material) */
.spr{position:absolute;inset:-11%;border-radius:50%;background:url(/img/coins/atlas.webp) calc(var(--i) * 20%) 0/600% 100% no-repeat;display:grid;place-items:center}
.spr b{font-family:var(--serif);font-weight:800;font-size:24px;color:rgba(40,40,44,.55);text-shadow:0 1px 0 rgba(255,255,255,.55),0 -1px 0 rgba(0,0,0,.25);letter-spacing:-.01em}
.spr[style*="--i:5"] b{color:rgba(80,58,16,.6)}
.spr b.yr{position:absolute;right:16%;bottom:24%;font-size:0;width:0;height:0;overflow:hidden}
/* hover / tap action sheet */
.slotc .more{position:absolute;top:2px;right:2px;width:44px;height:44px;font-size:20px;border-radius:50%;border:1px solid rgba(232,201,140,.35);background:rgba(20,6,8,.55);color:#f1dfc3;font-size:18px;line-height:1;cursor:pointer;opacity:.75;transition:opacity var(--dur-1),transform var(--dur-1) var(--ease-out),background var(--dur-1)}
.slotc .more:hover,.slotc .more:focus-visible,.slotc.open .more{opacity:1;background:#8a4a17}
.slotc .sheet{position:absolute;left:6px;right:6px;bottom:6px;z-index:3;display:grid;gap:2px;padding:6px;border-radius:12px;background:linear-gradient(#3a2414,#22150b);border:1px solid #8a4a17;box-shadow:0 14px 30px rgba(0,0,0,.55);
  opacity:0;visibility:hidden;transform:translateY(10px) scale(.97);transform-origin:bottom center;transition:opacity var(--dur-1) var(--ease-out),transform var(--dur-2) var(--ease-spring),visibility 0s linear var(--dur-2)}
.slotc .sheet [role=menuitem]{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:6px 10px;border:0;border-radius:8px;background:none;color:#f8e7cd;font:600 13px/1.2 var(--sans);text-align:left;text-decoration:none;cursor:pointer}
.slotc .sheet [role=menuitem]:hover,.slotc .sheet [role=menuitem]:focus-visible{background:rgba(200,104,44,.28);outline:none}
.slotc .sheet .danger{color:#ffb4a6}
.ic{width:14px;height:14px;border-radius:50%;flex:none;background:#c8682c}
.ic.list{border-radius:3px;background:#e8c98c}.ic.rm{background:none;border:2px solid #ffb4a6;width:12px;height:12px}
.slotc.open .sheet{opacity:1;visibility:visible;transform:none;transition-delay:0s}
@media(hover:hover){.slotc:not(.ghost-slot):hover{background:rgba(255,190,170,.05)}.slotc:hover .more{opacity:1}}
/* empty cabinet CTA laid over the ghost recesses */
.tray-cta{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;text-align:center;gap:8px;padding:20px;color:#f6e2c4;background:radial-gradient(60% 70% at 50% 50%,rgba(28,6,8,.88),rgba(28,6,8,.35) 80%,transparent);border-radius:10px}
.tray-cta .serif{font-size:clamp(22px,2.6vw,30px);font-weight:800;color:#fff1dc}
.tray-cta p{max-width:40ch;color:#f1dfc3}
/* flight placeholder from the grader (grade → cabinet view transition) */
#flyIn{display:flex;align-items:center;gap:14px;margin:0 0 14px;padding:10px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
#flyIn .coin{--size:72px}
#flyIn[hidden]{display:none}
/* sample sparkline */
.spark-stat{position:relative}
.spark-stat.is-sample svg{opacity:.38;filter:grayscale(.6)}
.spark-stat.is-sample .line{stroke-dasharray:4 4}
.sample-tag{position:absolute;top:10px;left:12px;font:800 10px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#8a4a17;border:1.5px solid #c8682c;border-radius:4px;padding:3px 6px;background:#fff7ea}
/* sets */
.set-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.set{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.set h3{font-size:18px;margin-bottom:4px}
.set .bar{height:8px;background:var(--bg-2);border-radius:99px;overflow:hidden;margin:8px 0 12px}
.set .bar i{display:block;height:100%;background:linear-gradient(90deg,var(--cu-rb),var(--gold));width:0;transition:width 1.2s var(--ease-out)}
.set ul{list-style:none;display:grid;grid-template-columns:1fr;gap:4px;font-size:13.5px}
.set li{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:4px 0;border-bottom:1px dashed var(--line)}
.set li.have{color:var(--ok);font-weight:650}
.set li .btn{min-height:30px;padding:3px 9px;font-size:12px}
.inline-form{display:flex;gap:8px;margin:10px 0}
.alert-form{display:grid;align-items:end;margin-top:10px}
.alert-form .field{margin:0}
.plain-list{list-style:none;margin-top:10px}
.plain-list li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}
.lists .panel h2{font-size:21px}
table{width:100%;border-collapse:collapse;font-size:14px;background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
th,td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line)}
th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-3);background:var(--bg-2)}
.ledger-row.new{animation:ink 1.4s ease-out}
@keyframes ink{from{background:#fff3d6}}
/* sell ceremony: ledger card (cotton paper, deckled edge, serif rules) */
.ceremony{position:fixed;inset:0;background:radial-gradient(80% 70% at 50% 40%,rgba(40,24,12,.55),rgba(20,12,6,.82));display:grid;place-items:center;z-index:300;padding:16px;animation:cerIn var(--dur-2) var(--ease-out)}
.ceremony[hidden]{display:none}
.ceremony.leaving{animation:cerOut .42s var(--ease-in) forwards}
@keyframes cerIn{from{opacity:0}}@keyframes cerOut{to{background:transparent}}
.ledger-card{position:relative;width:min(560px,100%);padding:34px 36px 26px;color:#2b2118;text-align:left;
  filter:drop-shadow(0 24px 40px rgba(0,0,0,.45));animation:cardIn .55s var(--ease-strike) both}
.ledger-card::before{content:"";position:absolute;inset:0;z-index:-1;clip-path:var(--deckle,none);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .32  0 0 0 0 .2  0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    radial-gradient(130% 90% at 50% 0,#fffaf0,#f6ebd5 70%,#ecdcbd);}
.ledger-card{isolation:isolate}
@keyframes cardIn{from{opacity:0;transform:translateY(26px) rotate(-1.5deg) scale(.96)}}
.ledger-card.folding{animation:fold .42s var(--ease-in) forwards}
@keyframes fold{to{opacity:0;transform:perspective(900px) translateY(60px) rotateX(58deg) scale(.92)}}
.lc-head{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:end;padding-bottom:12px;margin-bottom:16px;border-bottom:3px double #8a4a17}
.lc-title{grid-column:1;font-size:32px;font-weight:800;letter-spacing:-.01em;line-height:1}
.lc-no{grid-column:2;grid-row:1/3;font:600 11px/1.2 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:#8a4a17;text-align:right;align-self:start}
.lc-no b{display:block;font-family:var(--serif);font-size:22px;letter-spacing:0;color:#2b2118}
.lc-org{grid-column:1;font:italic 13px/1.2 var(--serif);color:#6b5642}
.lc-body{display:grid;grid-template-columns:132px 1fr;gap:22px;align-items:start}
.cer-coin{width:132px;filter:drop-shadow(0 8px 10px rgba(60,30,10,.35))}
.cer-coin .face:has(.spr){background:none;box-shadow:none}
.lc-item{display:grid;grid-template-columns:78px 1fr;gap:8px;align-items:baseline;padding:6px 0;border-bottom:1px solid rgba(138,74,23,.28);margin:0}
.lc-k,.lc-line label{font:700 10.5px/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#8a6a4e}
.lc-v{font-size:17px;font-weight:700}
.lc-line{display:grid;grid-template-columns:78px auto 1fr;gap:6px 8px;align-items:center;padding:10px 0 4px;border-bottom:1.5px solid #2b2118}
.lc-line:has(input[type=date]){grid-template-columns:78px 1fr}
.ledger-card .lc-line input{box-shadow:none;-moz-appearance:textfield;appearance:textfield;border:0;background:transparent;font:700 22px/1.2 var(--serif);color:#2b2118;padding:2px 0;min-height:40px;width:100%;outline:none;border-radius:0}
.ledger-card .lc-line input[type=date]{font-size:17px}
.lc-line:focus-within{border-bottom-color:#c8682c;box-shadow:0 2px 0 #c8682c}
.lc-dollar{font:700 22px var(--serif);color:#8a4a17}
.cer-btns{display:flex;gap:8px;margin-top:20px}
.lc-foot{margin:18px 0 0;padding-top:10px;border-top:1px solid rgba(138,74,23,.28);font:italic 12.5px/1.4 var(--serif);color:#6b5642}
@media(max-width:520px){.ledger-card{padding:28px 20px 20px}.lc-body{grid-template-columns:1fr}.cer-coin{width:96px;margin:0 auto}.cer-coin .coin{--size:96px!important}.lc-title{font-size:26px}}
/* flight + stamp */
.flyer{position:fixed;z-index:320;pointer-events:none;will-change:transform}
.flyer .coin{width:100%!important;height:100%!important}
.stamp{position:fixed;left:50%;top:50%;z-index:330;transform:translate(-50%,-50%) rotate(-14deg) scale(3.2);opacity:0;font-family:var(--serif);font-weight:800;font-size:30px;letter-spacing:.1em;color:#b3261e;border:4px solid #b3261e;border-radius:10px;padding:0 14px;pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E")}
.stamp.hit{animation:stamp .5s var(--ease-strike) forwards}
.stamp.lift{animation:stampLift .4s var(--ease-in) forwards}
@keyframes stamp{60%{opacity:1;transform:translate(-50%,-50%) rotate(-14deg) scale(.9)}100%{opacity:.94;transform:translate(-50%,-50%) rotate(-14deg) scale(1)}}
@keyframes stampLift{from{opacity:.94;transform:translate(-50%,-50%) rotate(-14deg) scale(1)}to{opacity:0;transform:translate(-50%,-50%) rotate(-14deg) scale(1.05)}}
.ledger.thud{animation:thud .35s linear}
@keyframes thud{25%{transform:translateY(3px)}55%{transform:translateY(-1px)}}
.sold-cell{white-space:nowrap}
.mini-stamp{display:inline-block;margin-left:10px;font:800 10px/1 var(--serif);letter-spacing:.12em;color:#b3261e;border:1.5px solid #b3261e;border-radius:3px;padding:2px 5px;transform:rotate(-8deg);opacity:.85}
.ledger-row.stamped .mini-stamp{animation:miniIn .5s .25s var(--ease-strike) both}
@keyframes miniIn{from{opacity:0;transform:rotate(-8deg) scale(2.4)}}
.slotc .coin .face:has(.spr),#flyIn .face:has(.spr),.flyer .face:has(.spr){background:none;box-shadow:none}
@media (prefers-reduced-motion:reduce){.stamp.hit{animation:vt-fade .2s linear forwards;opacity:.94;transform:translate(-50%,-50%) rotate(-14deg)}.stamp.lift{animation:none;opacity:0}
  .ledger-card,.ledger-card.folding,.ceremony,.ceremony.leaving,.drawer[open] .tray,.slotc.leaving,.ledger.thud,.ledger-row.stamped .mini-stamp{animation:none}
  .slotc .sheet{transition:opacity .1s linear;transform:none}}
.ledger-card .lc-line input::-webkit-inner-spin-button,.ledger-card .lc-line input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

/* reserve space while the cabinet loads (CLS) */
#drawers:has(>p.empty:only-child){min-height:460px}
.stamp.measure{transform:none;visibility:hidden;animation:none}
/* price alerts: two even columns so selects never clip their labels */
.alert-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.alert-form .field:first-child{grid-column:1/-1}
.alert-form .field select,.alert-form .field input{width:100%;min-width:0;text-overflow:ellipsis}
.alert-form>.btn{grid-column:1/-1;justify-self:start}
/* stat tiles: values never wrap */
.stat .n{white-space:nowrap;font-size:clamp(19px,2vw,24px);overflow:hidden;text-overflow:ellipsis}
/* sparkline: baseline axis, start date + current value, unmistakable SAMPLE */
#spark .axis{stroke:#cdbba0;stroke-width:1;vector-effect:non-scaling-stroke}
.spark-axis{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--ink-3);margin:3px 0 2px;font-variant-numeric:tabular-nums}
.spark-axis .v{font-weight:800;color:var(--ink-2)}
.spark-stat.is-sample .spark-axis .v{color:#8a4a17;letter-spacing:.06em}
.sample-tag{top:8px;left:auto;right:8px}
/* collapsed-drawer hint */
.dr-hint{margin-left:auto;margin-right:14px;display:inline-flex;align-items:center;gap:8px;font:600 12.5px/1 var(--sans);color:#e8c98c;opacity:.85}
.dr-hint .chev{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform var(--dur-2) var(--ease-out)}
.drawer[open] .dr-hint .chev{transform:rotate(-135deg) translate(-2px,-1px)}
.drawer[open] .h-open,.drawer:not([open]) .h-close{display:none}
.drawer:not([open])>summary{padding-bottom:4px}
@media(hover:hover){.drawer>summary:hover .dr-hint{opacity:1}.drawer:not([open])>summary:hover .chev{transform:rotate(45deg) translateY(1px)}}
/* SAMPLE: solid copper badge + "SAMPLE · not your data" caption (no watermark over the line) */
.spark-stat.is-sample .sample-tag{z-index:2;font-size:11px;padding:4px 8px;color:#fff;background:#a4521c;border-color:#a4521c;box-shadow:0 2px 6px rgba(120,60,20,.25)}
/* v7: real type photos (undated reverse) in cabinet slots */
.real{position:absolute;inset:0;border-radius:50%;display:block}
.real picture,.real img{display:block;width:100%;height:100%;border-radius:50%}
.real img{filter:drop-shadow(0 2px 3px rgba(40,22,8,.45))}
.real b.yr{position:absolute;font-size:0;width:0;height:0;overflow:hidden}
.slotc .coin .face:has(.real),#flyIn .face:has(.real),.flyer .face:has(.real),.cer-coin .face:has(.real),.coin .face:has(.realc),.coin .face:has(.noph){background:none;box-shadow:none}
.dl-check{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}
/*@dark*/
:root[data-theme="dark"] .banner.alert{background:#2b2310}
:root[data-theme="dark"] .drawer{box-shadow:inset 0 2px 0 rgba(255,255,255,0.12),0 8px 20px rgba(43,33,24,0.25)}
:root[data-theme="dark"] .tray{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 30% 0%,rgba(255,160,150,0.1),transparent 60%),
    linear-gradient(170deg,#4a1418,#2a0a0d 70%,#1c0608);box-shadow:inset 0 8px 18px rgba(0,0,0,.65),inset 0 -2px 0 rgba(255,255,255,0.05)}
:root[data-theme="dark"] .slotc .recess{box-shadow:inset 0 7px 12px rgba(0,0,0,.85),inset 0 -2px 3px rgba(255,170,160,0.1),0 1px 0 rgba(255,190,180,0.08)}
:root[data-theme="dark"] .spr b{color:rgba(231,231,233,1);text-shadow:0 1px 0 rgba(255,255,255,0.55),0 -1px 0 rgba(0,0,0,.25)}
:root[data-theme="dark"] .spr[style*="--i:5"] b{color:rgba(244,234,213,1)}
:root[data-theme="dark"] .slotc .more{border:1px solid rgba(232,201,140,0.35);background:rgba(20,6,8,0.55)}
:root[data-theme="dark"] .slotc .sheet [role=menuitem]:hover,:root[data-theme="dark"] .slotc .sheet [role=menuitem]:focus-visible{background:rgba(200,104,44,0.28)}
:root[data-theme="dark"] .ic.rm{border:2px solid #612e25}
@media(hover:hover){:root[data-theme="dark"] .slotc:not(.ghost-slot):hover{background:rgba(59,31,22,1)}}
:root[data-theme="dark"] .tray-cta{background:radial-gradient(60% 70% at 50% 50%,rgba(28,6,8,0.88),rgba(28,6,8,0.35) 80%,transparent)}
:root[data-theme="dark"] .sample-tag{color:#edd0b8;background:#231b0d}
:root[data-theme="dark"] .set .bar i{background:linear-gradient(90deg,#a5582a,var(--gold))}
:root[data-theme="dark"] .ceremony{background:radial-gradient(80% 70% at 50% 40%,rgba(40,24,12,0.55),rgba(20,12,6,0.82))}
:root[data-theme="dark"] .ledger-card{color:#f2ece7}
:root[data-theme="dark"] .ledger-card::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .32  0 0 0 0 .2  0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    radial-gradient(130% 90% at 50% 0,#211a0d,#2e2512 70%,#3b2e16)}
:root[data-theme="dark"] .lc-no{color:#edd0b8}
:root[data-theme="dark"] .lc-no b{color:#f2ece7}
:root[data-theme="dark"] .lc-org{color:#dbcfc4}
:root[data-theme="dark"] .lc-item{border-bottom:1px solid rgba(138,74,23,0.28)}
:root[data-theme="dark"] .lc-k,:root[data-theme="dark"] .lc-line label{color:#d4c3b3}
:root[data-theme="dark"] .ledger-card .lc-line input{color:#f2ece7}
:root[data-theme="dark"] .lc-dollar{color:#edd0b8}
:root[data-theme="dark"] .lc-foot{border-top:1px solid rgba(138,74,23,0.28);color:#dbcfc4}
:root[data-theme="dark"] .stamp{color:#e8a7a3}
:root[data-theme="dark"] .mini-stamp{color:#e8a7a3}
:root[data-theme="dark"] .spark-stat.is-sample .spark-axis .v{color:#edd0b8}
:root[data-theme="dark"] .spark-stat.is-sample .sample-tag{box-shadow:0 2px 6px rgba(120,60,20,0.25)}
/*/@dark*/
