/* ===== CARD PACKS: a red two-screen clamshell to the right of the dex. Lid opens upward on a horizontal hinge. ===== */
.machines{display:flex;flex-direction:column;align-items:center;gap:10px}
/* side by side when the page is wide enough (html.pair is set in index.html, measured after the fit-to-screen zoom) */
html.pair .wrap{max-width:none}
html.pair .machines{flex-direction:row;align-items:center;justify-content:center;gap:0}
html.pair .machines .tiltwrap{flex:0 1 1140px;max-width:1140px;margin:0}
html.pair .dswrap{flex:0 0 600px;margin-left:0;margin-top:-230px}
.dswrap{transition:translate .9s cubic-bezier(.25,.8,.25,1);position:relative;perspective:1300px;perspective-origin:45% 20%;padding:120px 20px 40px;width:580px;max-width:100%}
.dsfloor{position:absolute;left:10%;right:10%;bottom:10px;height:70px;background:#000;border-radius:50%;filter:blur(26px);opacity:.7;pointer-events:none}
.ds{--lidh:262px;position:relative;width:540px;margin:0 auto;transform-style:preserve-3d;transition:translate 1s cubic-bezier(.25,.8,.25,1)}
.ds.closed,.ds.closed *{cursor:pointer}

/* shared shell look (same red as the dex) */
.ds-lid,.ds-base{position:relative;background:linear-gradient(160deg,#e3424f 0%,#c81f2e 38%,#a5161f 100%);
  box-shadow:inset 0 3px 0 #ff9aa2,inset 3px 0 0 #f0646f,inset 0 -5px 0 var(--hinge),inset -3px 0 0 #7d1220}
.ds-lid::after,.ds-base::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(118deg,#ffffff26,#ffffff00 32%)}

/* lid: top screen. Opens with its top leaning back a little (the V), closes forward over the base */
/* the base lies on the "table" (the whole machine is tilted back by JS); the lid stands up from the hinge like an open handheld */
.ds-lid{height:var(--lidh);border-radius:24px 24px 8px 8px;transform-origin:50% 100%;transform-style:preserve-3d;
  transform:rotateX(-50deg);transition:transform 1.1s cubic-bezier(.25,.8,.25,1),height 1.1s cubic-bezier(.25,.8,.25,1),margin-top 1.1s cubic-bezier(.25,.8,.25,1);z-index:2}
/* closed: the lid is as long as hinge + base, so it covers the whole bottom screen */
.ds.closed .ds-lid{transform:rotateX(-180deg);height:calc(var(--lidh) + 54px);margin-top:-54px}
/* open: the back of the lid must never catch clicks meant for the bottom screen */
.ds:not(.closed) .ds-cover{pointer-events:none}
.ds-base{transform-style:preserve-3d}
/* real thickness: stacked layers under each half */
.ds-slab{position:absolute;inset:0;border-radius:inherit;transform-style:preserve-3d;pointer-events:none}
.ds-slab i{position:absolute;inset:0;border-radius:inherit;background:#9c1724;box-shadow:inset 0 0 0 1px #6a0e18}
.ds-slab i:last-child{background:#5a0b14;box-shadow:0 0 40px #000a}
.ds-face{position:absolute;inset:0;border-radius:inherit;backface-visibility:hidden;display:flex;align-items:center;justify-content:center}
.ds-cover{position:absolute;inset:0;border-radius:8px 8px 24px 24px;transform:translateZ(-23px) rotateX(180deg);backface-visibility:hidden;overflow:hidden;
  background:linear-gradient(200deg,#ee5662 0%,#d02736 30%,#b81b2a 65%,#951420 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  box-shadow:inset 0 -3px 0 #ff9aa2,inset 0 4px 0 #6a0e18,0 0 0 1px #6a0e18}
.ds-cover::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(170deg,#ffffff38 0%,#ffffff10 22%,#ffffff00 40%),radial-gradient(120% 70% at 50% 0%,#ffffff1c,#0000 60%)}
.ds-cover .cv-word{position:relative;width:72%;max-width:300px;filter:drop-shadow(0 3px 0 #6a0e18) drop-shadow(0 8px 12px #0007)}
.ds-cover .cv-led{position:absolute;right:30px;bottom:26px;width:7px;height:7px;border-radius:50%;background:#3df08c;box-shadow:0 0 6px #3df08c}
.ds-spk{position:absolute;top:92px;width:46px;height:60px;background:radial-gradient(circle,#5a0b14 1.6px,#0000 2.2px) 0 0/11px 11px;opacity:.9}
.ds-spk.l{left:20px}.ds-spk.r{right:20px}
.ds-cam{position:absolute;top:16px;width:9px;height:9px;border-radius:3px;background:#7d1220;box-shadow:inset 0 1px 1px #0008,0 1px 0 #ff9aa266}
.ds-cam.l{left:140px}.ds-cam.r{right:140px}
.ds-bezel{background:#14161d;border-radius:10px;padding:9px;box-shadow:inset 0 2px 4px #000c,0 1px 0 #ff9aa266,0 -1px 0 #6a0e18}
.ds-face .ds-bezel{width:372px}
.ds-scr{position:relative;overflow:hidden;border-radius:4px;background:radial-gradient(circle at 50% 50%,#182033,#0b0d12 75%);color:#e6e9f0;font-family:var(--f-data);
  box-shadow:inset 0 0 0 1px #000,inset 0 6px 14px #000a}
.ds-scr.top{height:196px}
.ds-scr::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,#0000 0 2px,#0000000f 2px 3px),linear-gradient(118deg,#ffffff10,#ffffff00 35%)}

/* hinge: two knuckles like a clamshell */
.ds-hinge{position:relative;height:18px;margin:-2px 60px;display:flex;justify-content:space-between;z-index:1}
.ds-hinge i{display:block;width:120px;height:18px;border-radius:9px;background:linear-gradient(180deg,#e64552,#a5161f 55%,#6a0e18);box-shadow:0 2px 0 #3d0710,inset 0 2px 0 #ff9aa288}
.ds-hinge i:nth-child(2){width:150px}

/* base: d-pad, bottom screen, buttons */
.ds-base{height:300px;border-radius:8px 8px 26px 26px;display:grid;grid-template-columns:82px 1fr 82px;align-items:center;padding:10px 6px 26px}
.ds-base .ds-bezel{padding:7px}
.ds-scr.bot{height:240px;display:flex;flex-direction:column}
.ds-dpad{display:grid;grid-template-columns:repeat(3,25px);grid-template-rows:repeat(3,25px);justify-self:center}
.ds-dpad button,.ds-dpad span{border:0;background:#22252e;color:#8d93a4;font-size:11px;padding:0;box-shadow:0 3px 0 #0009}
.ds-dpad .u{grid-area:1/2;border-radius:5px 5px 0 0}.ds-dpad .l{grid-area:2/1;border-radius:5px 0 0 5px}.ds-dpad span{grid-area:2/2}.ds-dpad .r{grid-area:2/3;border-radius:0 5px 5px 0}.ds-dpad .d{grid-area:3/2;border-radius:0 0 5px 5px}
.ds-dpad button:active{translate:0 2px;box-shadow:0 1px 0 #0009}
.ds-right{display:flex;flex-direction:column;align-items:center;gap:16px}
.ds-pills{display:flex;flex-direction:column;gap:6px}
.ds-pills button{border:0;border-radius:99px;background:#7e1420;color:#ffc9ce;font:10px var(--f-lcd);letter-spacing:.04em;padding:9px 10px;box-shadow:inset 0 -2px 0 #4f0a13,0 2px 0 #0006}
.ds-pills button[aria-pressed="true"]{background:#ffd23f;color:#3a2600;box-shadow:inset 0 -2px 0 #a77d18,0 0 10px #ffd23f66}
.ds-abxy{position:relative;width:78px;height:78px}
.ds-abxy button{position:absolute;width:29px;height:29px;border-radius:50%;border:0;background:#22252e;color:#c9cedb;font:10px var(--f-lcd);padding:0;box-shadow:0 3px 0 #0009}
.ds-abxy button:active{translate:0 2px;box-shadow:0 1px 0 #0009}
.ds-abxy .x{left:24.5px;top:0}.ds-abxy .y{left:0;top:24.5px}.ds-abxy .a{right:0;top:24.5px;background:#ffd23f;color:#3a2600}.ds-abxy .b{left:24.5px;bottom:0}
.ds-led{position:absolute;left:18px;bottom:6px;display:flex;gap:7px;align-items:center;font:11px var(--f-lcd);color:#fff;letter-spacing:.03em;text-shadow:0 1px 0 #6a0e18}
.ds-led i{width:7px;height:7px;border-radius:50%;background:#3df08c;box-shadow:0 0 6px #3df08c}
.ds-engrave{position:absolute;right:20px;bottom:7px;font:700 11px var(--f-sans,system-ui);letter-spacing:.22em;color:#ffd0d4;opacity:.75;text-shadow:0 1px 0 #6a0e18}

/* top screen: the card viewer */
.dv{position:absolute;inset:0;display:grid;grid-template-columns:132px 1fr;gap:10px;padding:10px}
.dv-art{position:relative;border-radius:6px;background:#0006;display:flex;align-items:center;justify-content:center;overflow:hidden}
.dv-art img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 6px 10px #000a)}
.dv-info{display:flex;flex-direction:column;gap:6px;min-width:0}
.dv-k{font:8px var(--f-lcd);letter-spacing:.08em;color:#bcc4d3;white-space:nowrap}
.dv-name{font:600 13px/1.25 var(--f-sans,system-ui);color:#fff;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.dv-row{display:flex;justify-content:flex-start;gap:6px;font-size:10.5px;border-bottom:1px solid #1d222d;padding-bottom:3px;color:#b4bccb}
.dv-row b{font-weight:500;color:#fff}
.dv-tag{align-self:flex-start;font:9px var(--f-lcd);padding:3px 7px;border-radius:4px;background:#173a2a;color:#3df08c}
.dv-tag.sent{background:#3a2a10;color:#ffd23f}
.dv-nav{margin-top:auto;display:flex;justify-content:space-between;align-items:center;font:9px var(--f-lcd);color:#b4bccb}
.dv-nav a{color:#8fb4ff;text-decoration:none}
.dv-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:18px;font-size:11px;color:#a6abc0;line-height:1.5}
.dv-empty img{width:44px;opacity:.85;animation:dsbob 2.4s ease-in-out infinite}
@keyframes dsbob{50%{translate:0 -5px}}

/* bottom screen: tabs + lists */
.dl-tabs{display:flex;border-bottom:1px solid #1d222d}
.dl-tabs button{flex:1;border:0;background:#0000;color:#b4bccb;font:8.5px var(--f-lcd);letter-spacing:.06em;padding:7px 2px}
.dl-tabs button[aria-selected="true"]{color:#fff;box-shadow:inset 0 -2px 0 #ffd23f}
.dl-tabs b{font-weight:400;color:#ffd23f}
.dl-body{flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#2a3140 #0000}
.dl-row{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:7px 9px;border-bottom:1px solid #161a23;font-size:10px;cursor:pointer;width:100%;background:none;border-left:0;border-right:0;border-top:0;color:inherit;text-align:left;font-family:inherit}
.dl-row:hover,.dl-row.on{background:#ffffff0d}
.dl-row img{width:26px;height:32px;object-fit:cover;border-radius:3px;background:#0006}
.dl-row .t{font-size:12px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#e6e9f0}
.dl-row .s{display:block;color:#aab3c3;font-size:10px;margin-top:1px;overflow:hidden;text-overflow:ellipsis}
.dl-row .s a{color:#8fb4ff;text-decoration:none}
.dl-row .v{color:#3df08c;font-size:11px;text-align:right}
.dl-empty{padding:18px 14px;color:#c3cad8;font-size:12px;line-height:1.5;text-align:center}
.dl-wallet{padding:10px 12px;display:flex;flex-direction:column;gap:7px;font-size:10px}
.dl-wallet .addr{display:flex;gap:6px;align-items:center;justify-content:space-between;background:#0006;border-radius:5px;padding:6px 8px}
.dl-wallet .addr a{color:#8fb4ff;text-decoration:none}
.dl-wallet button{border:0;border-radius:4px;background:#2a3140;color:#e6e9f0;font:8px var(--f-lcd);padding:4px 6px}
.dl-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}
.dl-stats div{background:#0006;border-radius:5px;padding:6px 8px}
.dl-stats b{display:block;font-size:12px;color:#fff;font-weight:600}
.dl-stats span{font:8px var(--f-lcd);color:#c3cad8;letter-spacing:.06em}
.dl-note{color:#7d8597;font-size:9px;line-height:1.45}

/* stacked under the dex on narrower screens; flat and always open on phones */
@media (min-width:901px){html:not(.pair) .dswrap{margin-top:-20px;padding-bottom:80px}}
@media (max-width:900px){
  .dswrap{perspective:none;padding:0 0 20px;width:100%;margin-top:0}
  .ds{width:min(540px,100%);transform:none!important;translate:none!important}
  .ds-lid{transform:none!important}.ds-cover,.dsfloor,.ds-slab{display:none}
  .ds-face .ds-bezel{width:min(372px,80%)}
  .ds-base{grid-template-columns:58px 1fr 58px;padding:12px 6px 28px}
  .ds-spk{display:none}
}
@media (prefers-reduced-motion:reduce){.ds,.ds-lid{transition:none}.dv-empty img{animation:none}}
/* closed: the hinge knuckles show along the top edge of the lid */
.ds-cover .cv-knk{position:absolute;top:-1px;height:13px;border-radius:0 0 7px 7px;background:linear-gradient(180deg,#6a0e18,#a5161f 40%,#e64552);box-shadow:inset 0 -2px 0 #ff9aa288,0 1px 0 #3d0710}
.ds-cover .cv-knk.l{left:60px;width:120px}.ds-cover .cv-knk.r{right:60px;width:150px}
.ds-cover .cv-vent{position:absolute;top:18px;left:22px;display:flex;gap:4px}.ds-cover .cv-vent i{width:3px;height:12px;border-radius:2px;background:#7d1220;box-shadow:inset 0 1px 1px #0008}

/* top screen is one big button: tap to see the card */
button.dv{border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;width:100%;height:100%}
button.dv:focus-visible{outline:2px solid #ffd23f;outline-offset:-2px}
.dv-info .dv-row,.dv-info .dv-k,.dv-info .dv-name,.dv-info .dv-nav{display:flex}
.dv-info .dv-name{display:-webkit-box}
.dl-tabs button{font-size:11px;padding:13px 1px 12px;min-height:44px}
/* new activity glows green for a moment */
@keyframes dsfresh{0%{background:#3df08c55;box-shadow:inset 0 0 0 1px #3df08c,0 0 18px #3df08c88}100%{background:#0000;box-shadow:inset 0 0 0 1px #3df08c00}}
.dl-row.fresh{animation:dsfresh 2.4s ease-out}
.dv.fresh .dv-art{animation:dsfresh 2.4s ease-out;border-radius:6px}
.dl-row.claim{cursor:default}
.dl-row .ic{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#173a2a;color:#3df08c;font-size:13px}
.dl-row.claim .v{color:#3df08c;font-weight:600}
.dl-wallet .addr .dv-k{flex:0 0 auto}
/* card pop-up */
.dsm{display:flex;flex-direction:column;gap:12px}
.dsm-img{max-width:100%;max-height:52vh;object-fit:contain;align-self:center;border-radius:8px;filter:drop-shadow(0 10px 20px #000a)}
.dsm h3{margin:0;font-size:16px}
.dsm a{color:#8fb4ff}

/* more depth: a moving glare on both halves and a soft shadow the lid casts on the base */
.ds-face::before,.ds-base::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(105deg,#ffffff00 30%,#ffffff17 45%,#ffffff00 60%)}
.ds-base{background:linear-gradient(170deg,#e3424f 0%,#c81f2e 30%,#a5161f 100%),radial-gradient(80% 40% at 50% 0%,#0006,#0000 70%)}
.ds-base::after{background:linear-gradient(180deg,#00000055 0%,#0000 22%),linear-gradient(118deg,#ffffff26,#ffffff00 32%)}
.ds.closed .ds-base::after{background:linear-gradient(118deg,#ffffff26,#ffffff00 32%)}

/* the wallet balance also on the closed lid */
.ds-cover .cv-bal{position:absolute;left:22px;bottom:16px;font:10px var(--f-lcd);color:#ffd0d4;letter-spacing:.04em;text-shadow:0 1px 0 #6a0e18}

/* tabs: no focus box, clean underline, whole cell clickable */
.dl-tabs button{cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;user-select:none;position:relative}
.dl-tabs button:hover{color:#cfd5e2;background:#ffffff08}
.dl-tabs button:focus-visible{background:#ffffff10}
.dl-tabs button[aria-selected="true"]{background:#ffd23f12}
.dl-tabs button *{pointer-events:none}
.dl-tabs button:focus,.dl-tabs button:focus-visible,.ds-pills button:focus{outline:none!important}
/* lift the bottom screen and buttons a hair off the base plane: in 3D, Chrome otherwise hit-tests the flat frame instead of what is drawn on it */
.ds:not(.closed) .ds-base .ds-bezel,.ds:not(.closed) .ds-base .ds-dpad,.ds:not(.closed) .ds-base .ds-right{transform:translateZ(1px)}
.ds:not(.closed) .ds-face{transform-style:preserve-3d}.ds:not(.closed) .ds-face .ds-bezel{transform:translateZ(1px)}

/* ALL: scrollable gallery of every ripped card */
.dl-gal{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:8px}
.dl-card{position:relative;display:flex;flex-direction:column;gap:3px;border:1px solid #232a38;background:#0008;border-radius:6px;padding:5px;cursor:pointer;color:#e6e9f0;text-align:left;outline:none;user-select:none}
.dl-card:hover{border-color:#ffd23f88}
.dl-card.on{border-color:#ffd23f;box-shadow:0 0 0 1px #ffd23f55}
.dl-card img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:4px;background:#0b0d12;pointer-events:none}
.dl-card .nm{font-size:9px;line-height:1.25;max-height:2.5em;overflow:hidden;pointer-events:none}
.dl-card .tg{position:absolute;top:8px;left:8px;font:7px var(--f-lcd);letter-spacing:.06em;background:#16a34add;color:#fff;padding:2px 4px;border-radius:3px;pointer-events:none}
.dl-card .tg.out{background:#2563ebdd}
.dl-card.fresh{animation:dsfresh 2.4s ease-out}

/* audio bars, top left of the base above the d-pad (mirrors the dex meter) */
.ds-base .ds-meter{position:absolute;top:14px;left:22px;height:18px;z-index:2;pointer-events:none}
.ds-base .ds-meter i{width:4px;min-height:4px}
.ds.closed .ds-meter{opacity:.5}

/* ALL: fees in / spent on packs strip */
.dl-sum{display:flex;justify-content:space-between;gap:8px;padding:7px 10px 0;font:8px var(--f-lcd);letter-spacing:.06em;color:#c3cad8}
.dl-sum b{font:600 11px var(--f-data);color:#3df08c;letter-spacing:0;margin-left:4px}
.dl-sum span:first-child b{color:#ffd23f}


/* hover zoom: grows from its right edge (toward the middle of the screen) and sits above the dex while zoomed */
.ds{transform-origin:100% 50%}
.dswrap{position:relative;z-index:3}
.dswrap:has(.ds.zoom){z-index:30}

/* D-pad + X: no focus box, a visible press */
.ds-dpad button{cursor:pointer;outline:none!important}
.ds-dpad button:hover{background:#2b2f3a;color:#c3cad8}
.ds-abxy .x{display:grid;place-items:center}
.ds-abxy button{outline:none!important}
.ds-dpad button:focus:not(:focus-visible),.ds-abxy button:focus:not(:focus-visible),.ds-pills button:focus:not(:focus-visible){outline:none;box-shadow:none}
/* top screen: hovering the card lights up a glowing gold border around it */
.dv-art{transition:box-shadow .25s ease,transform .25s ease;box-shadow:0 0 0 1px #ffd23f00}
.dv-art img{transition:filter .25s ease}
.dv:hover .dv-art,.dv:focus-visible .dv-art{box-shadow:0 0 0 2px #ffd23f,0 0 14px 2px #ffd23fb3,0 0 34px 6px #ffd23f55;transform:scale(1.02)}
.dv:hover .dv-art img,.dv:focus-visible .dv-art img{filter:drop-shadow(0 6px 10px #000a) brightness(1.08)}
.dv:hover .dv-art::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,#fff0 30%,#ffffff2e 48%,#fff0 62%);background-size:250% 100%;animation:dvshine 1.2s ease-out 1}
@keyframes dvshine{from{background-position:120% 0}to{background-position:-60% 0}}
/* hover glow: the card on the top screen and every card on the bottom screen light up with a gold border */
.dv-art,.dl-card{transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease}
.dv-art img,.dl-card img{transition:filter .25s ease}
.dv:hover .dv-art,.dv:focus-visible .dv-art{box-shadow:0 0 0 2px #ffd23f,0 0 14px 2px #ffd23fb3,0 0 34px 6px #ffd23f55;transform:scale(1.02)}
.dl-card:hover,.dl-card:focus-visible{border-color:#ffd23f;box-shadow:0 0 0 1px #ffd23f,0 0 12px 1px #ffd23fb3,0 0 26px 4px #ffd23f4d;transform:translateY(-2px)}
.dv:hover .dv-art img,.dl-card:hover img{filter:drop-shadow(0 6px 10px #000a) brightness(1.1)}
.dv:hover .dv-art::after,.dl-card:hover::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,#fff0 30%,#ffffff2e 48%,#fff0 62%);background-size:250% 100%;animation:dvshine 1.1s ease-out 1}
@keyframes dvshine{from{background-position:120% 0}to{background-position:-60% 0}}
.dl-body{padding-top:2px}
/* top screen: no dark box behind the card; the glow hugs the card photo itself */
.dv-art{background:none!important;box-shadow:none!important;overflow:visible!important}
.dv:hover .dv-art,.dv:focus-visible .dv-art{box-shadow:none!important}
.dv-art img{border-radius:5px;border:2px solid #ffd23f00;transition:box-shadow .25s ease,border-color .25s ease,filter .25s ease}
.dv:hover .dv-art img,.dv:focus-visible .dv-art img{border-color:#ffd23f;box-shadow:0 0 12px 2px #ffd23fb3,0 0 30px 6px #ffd23f55}
.dv:hover .dv-art::after{display:none}
.dl-stats.dl-stats2{grid-template-columns:1fr 1fr}.dl-stats2 b{font-size:14px}

/* PACK RIPPED pop-up: same card as NEW LAUNCH, gold accent, tall card art */
.note-card.note-rip{border-color:#ffd23f!important;box-shadow:0 0 0 1px #ffd23f66,0 10px 30px #0008,0 0 22px #ffd23f44}
.note-card.note-rip .nc-txt b{color:#ffd23f}
.note-card.note-rip .nc-art img{object-fit:contain;height:100%;width:auto;max-width:100%}
.note-card.note-rip .nc-art{background:radial-gradient(circle at 50% 40%,#2a3350,#0b0d12 75%);width:40px;height:54px;border-radius:6px}
/* top screen: the whole slab photo always fits inside the screen (it is taller than wide) */
.dv{grid-template-rows:minmax(0,100%)}
.dv-art{min-height:0;height:100%;align-self:stretch}
.dv-art img{box-sizing:border-box;max-height:100%;max-width:100%;height:auto;width:auto;display:block}

/* top screen: who the card was sent to */
.dv-row.dv-sent b{color:#7d8597;font-weight:400}
.dv-row.dv-sent b.on{color:#8fb4ff;font-weight:600}
/* top screen fits: name max 2 lines, compact rows */
.dv-info .dv-name{-webkit-line-clamp:2;line-clamp:2}
.dv-info{gap:4px;overflow:hidden}
.dv-row{padding-bottom:2px}
.dl-card .dx{font:8px var(--f-lcd);letter-spacing:.05em;color:#ffd23f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
/* COPY TX next to who a card was sent to */
.dv-row.dv-sent{align-items:center}
.dv-copy{margin-left:auto;font:8px var(--f-lcd);letter-spacing:.06em;padding:3px 6px;border-radius:4px;background:#1d2a44;color:#8fb4ff;border:1px solid #8fb4ff55;cursor:pointer;white-space:nowrap}
.dv-copy:hover{background:#26375a;color:#fff}

/* FLYWHEEL: each pack buy with its transaction */
.dl-wallet .fw-h{margin:4px 2px 0}
.dl-wallet .fw-buy{gap:8px}
.fw-buy .fw-amt{font-weight:700;color:#ffd23f;min-width:42px}
.fw-buy .fw-when{color:#aab3c3;font-size:10px;flex:1}
.dv-row b.iv,dd.iv{color:#3df08c!important;text-shadow:0 0 8px #3df08c55}
#dsBody img.waiting,#dsTop img.waiting{opacity:.55;animation:dsPulse 1.2s ease-in-out infinite}@keyframes dsPulse{50%{opacity:.25}}
/* bottom screen uses the same fonts as the top screen: card names like the top title, details like the top rows */
.dl-card .nm{font:600 10.5px/1.25 var(--f-sans,system-ui);color:#fff;max-height:2.55em;letter-spacing:0}
.dl-row .t{font-family:var(--f-sans,system-ui);font-weight:600}
.dl-row .s{font-family:var(--f-data)}
.dl-stats b{font-family:var(--f-sans,system-ui);font-weight:700}
