/* The Dznye Wallet app (wallet.dznye.com), on top of style.css. An app, not a document: a fixed bar, one view at a time,
   a tab bar (bottom on phones, centred at the top on wide screens), and sheets that slide up for sending and receiving. */
body.app { min-height: 100dvh; overscroll-behavior: none; }
body.app section + section::before { display: none; }

/* ---------- the bar ---------- */
.abar { position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 12px; height: calc(58px + env(safe-area-inset-top));
	padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
	background: linear-gradient(#faf7ffc7, #faf7ff80); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid #28194612; }
.abar .brand b { color: var(--dim); }
.abar .right { justify-self: end; display: flex; align-items: center; gap: 6px; }
.chipname { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--edge); background: #ffffff8c; font: 400 11px var(--mono); letter-spacing: 0.06em; color: var(--fg); cursor: pointer; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- tabs: centred in the bar on wide screens, a bar at the bottom on phones ---------- */
.tabs { display: flex; gap: 2px; }
.tabs a { position: relative; display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 12px; color: var(--dim); text-decoration: none; font: 400 11px/1 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; transition: color 0.25s; }
.tabs a svg { display: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tabs a:hover, .tabs a.on { color: var(--fg); }
.tabs a[hidden] { display: none; } /* a tab a chain does not have (Earn, without the Sun) */
.tabs a.on::after { content: ''; position: absolute; left: 50%; bottom: 8px; width: 8px; height: 8px; margin-left: -4px; background: var(--fg); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: spin 6s linear infinite; }
.btabs { display: none; }
@media (max-width: 760px) {
	.abar { grid-template-columns: 1fr auto; }
	.abar .tabs { display: none; }
	.btabs { position: fixed; inset: auto 0 0; z-index: 40; display: grid !important; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 0 0 env(safe-area-inset-bottom);
		background: linear-gradient(#faf7ff99, #faf7ffe6); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-top: 1px solid #28194612; }
	.btabs a { flex-direction: column; justify-content: center; gap: 5px; height: 62px; font-size: 9px; letter-spacing: 0.14em; }
	.btabs a svg { display: block; }
	.btabs a.on::after { bottom: auto; top: 4px; width: 6px; height: 6px; margin-left: -3px; }
	.live span { display: none; }
}

/* ---------- views ---------- */
.views { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: calc(88px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 120px max(16px, env(safe-area-inset-left)); }
@media (max-width: 760px) { .views { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }
.view { display: none; animation: in 0.6s var(--ease) both; }
.view.on { display: block; }
@keyframes in { from { opacity: 0; transform: translateY(12px); } }
.vh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 12px; }
.vh h2 { margin: 0; font-size: 1.6rem; }
.vh .kick { margin: 0; }
.block2 { margin-top: 36px; }

/* ---------- home: the balance, four actions, what you hold, what happened ---------- */
.bal { text-align: center; padding: 26px 0 8px; }
.bal .who { display: inline-flex; align-items: center; gap: 8px; font: 400 10px var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); }
.bal .num { font: 400 clamp(3.2rem, 12vw, 5.2rem)/1 var(--serif); letter-spacing: -0.03em; margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.bal .num small { font: 400 12px var(--mono); letter-spacing: 0.2em; color: var(--dim); margin-left: 8px; vertical-align: middle; }
.bal .addr { font: 400 11px var(--mono); color: var(--dim); letter-spacing: 0.04em; cursor: pointer; border: 0; background: none; padding: 4px 8px; }
.bal .addr:hover { color: var(--fg); }
.acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 520px; margin: 26px auto 0; }
.act { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 4px 13px; text-decoration: none; cursor: pointer; color: var(--fg); font: 400 9.5px var(--mono); letter-spacing: 0.2em; text-transform: uppercase;
	border: 1px solid var(--edge); background: var(--sweep) -120% 0/250% 100% no-repeat, linear-gradient(165deg, #ffffffd1, #ffffff6b); box-shadow: inset 0 1px 0 #fffffff2, inset 0 0 12px #ffffff8c, 0 10px 28px -20px #6e8cd2b3;
	transition: background-position 0.8s var(--ease), transform 0.25s var(--ease), border-color 0.25s; }
.act:hover { background-position: 120% 0, 0 0; transform: translateY(-2px); border-color: #1c162880; }
.act svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.act.primary { background: linear-gradient(112deg, #fff0, #ffffffa6 45%, #fff0 60%) -150% 0/250% 100% no-repeat, var(--foil); border-color: #1c16288c; }

/* a list of rows in one glass pane */
.list { position: relative; background: linear-gradient(160deg, #ffffff9e, #ffffff47); border: 1px solid #ffffff99; box-shadow: inset 0 1px 0 #ffffffd9, 0 24px 60px -34px #82aaff80; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.li:last-child { border-bottom: 0; }
.li .ic { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--edge); background: #ffffffb3; font: 400 10px var(--mono); letter-spacing: 0.04em; }
.li .ic.sol { background: linear-gradient(135deg, #e7fff6, #efe6ff); }
.li .t { min-width: 0; }
.li .t b { display: block; font-weight: 400; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .t i { display: block; font-style: normal; font-size: 10.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .v { text-align: right; font: 400 1.15rem/1.2 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.li .v i { display: block; font: 400 10px var(--mono); font-style: normal; color: var(--dim); letter-spacing: 0.06em; }
.li.empty { grid-template-columns: 1fr; color: var(--dim); font-size: 11.5px; }
.feed .li { grid-template-columns: 1fr auto; font-size: 11.5px; }
.feed .li .when { font-size: 10px; color: var(--dim); white-space: nowrap; }
.feed .li a { color: var(--fg); }

/* ---------- sheets: slide up from the bottom (phones) or open in the middle (wide) ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: #2819461f; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade 0.25s both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; z-index: 61; left: 50%; bottom: 0; width: min(560px, 100vw); max-height: 92dvh; overflow-y: auto; transform: translateX(-50%); padding: 22px 22px calc(24px + env(safe-area-inset-bottom));
	background: linear-gradient(165deg, #fffffff2, #faf7ffeb); border: 1px solid var(--edge); border-bottom: 0; box-shadow: 0 -30px 80px -30px #6e8cd299; animation: up 0.42s var(--ease) both; }
@keyframes up { from { transform: translate(-50%, 40px); opacity: 0; } }
@media (min-width: 761px) { .sheet { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-bottom: 1px solid var(--edge); animation: pop 0.35s var(--ease) both; } @keyframes pop { from { opacity: 0; transform: translate(-50%, -48%) scale(0.98); } } }
.sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sheet-h h2 { margin: 0; font-size: 1.7rem; }
.x { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; font: 300 22px/1 var(--mono); color: var(--dim); }
.x:hover { color: var(--fg); }
.sheet .btn.wide, .btn.wide { width: 100%; margin-top: 18px; }
.center { text-align: center; }
.qrbox { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 16px 0 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--edge); margin: 14px 0 4px; }
.seg button { height: 38px; border: 0; background: #ffffff66; font: 400 10px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); cursor: pointer; }
.seg button.on { background: var(--foil); color: var(--fg); }

/* ---------- start: no account in this browser yet ---------- */
.start { text-align: center; padding-top: 6vh; }
.start h1 { margin: 18px auto 14px; max-width: 12ch; }
.start .lead { margin: 0 auto 28px; }
.start .card { text-align: left; max-width: 460px; margin: 12px auto 0; }
.start .btn.wide { margin-top: 0; }
.mark { width: 56px; height: 56px; margin: 0 auto; background: var(--foil); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: spin 14s linear infinite; }
.filebtn { position: relative; overflow: hidden; }
.filebtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; height: 100%; }

/* ---------- pay: one card in the middle ---------- */
.paybox { max-width: 520px; margin: 4vh auto 0; }
.paybox .card { padding: 26px; text-align: center; }
.paybox .big { margin: 10px 0 6px; }
.payways { margin: 14px 0 6px; text-align: left; display: grid; gap: 2px; max-height: 52vh; overflow-y: auto; }
.payways .pw-g { font: 400 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin: 10px 2px 4px; }
.payways button { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 1px solid transparent; border-radius: 12px; background: none; font: inherit; color: var(--fg); text-align: left; cursor: pointer; }
.payways button .orb-s { width: 34px; height: 34px; }
.payways button .t { display: grid; min-width: 0; } .payways button .t i { font-style: normal; font-size: 12px; color: var(--dim); }
.payways button .v { text-align: right; display: grid; font-variant-numeric: tabular-nums; } .payways button .v i { font-style: normal; font-size: 12px; color: var(--dim); }
.payways button[aria-checked='true'] { border-color: color-mix(in srgb, var(--fg) 40%, transparent); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.payways button:disabled { opacity: 0.42; cursor: not-allowed; }
.payways .tag { margin-left: 6px; }
.shrink { flex: 0 0 auto !important; }
.card > .small:first-child { margin-top: 0; }
.start .lead { font: 400 clamp(1.1rem, 2vw, 1.3rem)/1.6 var(--serif); letter-spacing: 0; color: var(--ink2); max-width: 520px; }
a.li { cursor: pointer; transition: background-color 0.2s; }
a.li:hover { background: #ffffff66; }
a.li.sel { box-shadow: inset 2px 0 0 var(--fg); background: #ffffff8c; }
.li .v i.up { color: var(--mint); } .li .v i.down { color: var(--pink); }

/* =====================================================================================================
   The app look (2026-11-15): dznye.com's glass, made into a wallet. A 3D glass card that leans toward the pointer,
   round glass buttons, token orbs, a studio light that follows you, foil sweeps and sparkles. Icons, not words.
   ===================================================================================================== */
/* the studio lights, as on dznye.com */
.lamps { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lamp { position: absolute; left: 0; top: 0; pointer-events: none; border-radius: 50%; will-change: transform; }
.lamp.key { width: 70vmax; height: 70vmax; transform: translate(-20vmax, -30vmax); background: radial-gradient(closest-side, #fffbf0f2, #fff8e880 30%, #fff8e800); transition: transform 1.2s var(--ease); }
.lamp.rim { width: 60vmax; height: 60vmax; transform: translate(calc(100vw - 28vmax), calc(50vh - 30vmax)); background: radial-gradient(closest-side, #c8e2ffcc, #c8e2ff00); }

/* bar: the mark alone; tabs are icons */
.abar .brand svg.mk { height: 28px; }
.tabs a { padding: 0 16px; }
.tabs a svg { display: block; width: 21px; height: 21px; }
.live span { display: none; }
@media (max-width: 760px) { .btabs a { height: 60px; } .btabs a svg { width: 23px; height: 23px; } .btabs a.on::after { top: 6px; } }

/* round icon buttons and small icon links */
.iconbtn { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--edge); background: linear-gradient(165deg, #ffffffd9, #ffffff73); color: var(--fg); cursor: pointer; border-radius: 50%; text-decoration: none; transition: transform 0.25s var(--ease), border-color 0.25s; }
.iconbtn:hover { transform: translateY(-1px) rotate(-6deg); border-color: #1c162880; }
.iconbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn.refresh { display: none; }
.hi { width: 14px; height: 14px; fill: none; stroke: var(--dim); stroke-width: 1.4; }

/* ---------- home: the 3D glass card ---------- */
.home { padding-top: 6px; }
.stage { position: relative; perspective: 900px; margin: 6px auto 0; max-width: 420px; padding: 18px 8px 10px; }
/* the card is one object in 3D: .slab turns (drag to spin, tap to turn over), its two faces carry the glass. Nothing on
   it can be selected, so a drag never catches text; buttons and links on it still work. */
.slab {
	--rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%;
	position: relative; aspect-ratio: 1.586; border-radius: 22px; cursor: grab; touch-action: pan-y;
	-webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
	transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform 0.6s var(--ease);
	animation: float 7s ease-in-out infinite;
}
.slab.held { cursor: grabbing; transition: none; animation-play-state: paused; }
.slab:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; }
.slab * { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.face {
	position: absolute; inset: 0; border-radius: 22px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
	-webkit-backface-visibility: hidden; backface-visibility: hidden;
	background:
		radial-gradient(ellipse 80% 70% at var(--gx) var(--gy), #ffffffd9, #ffffff00 70%),
		linear-gradient(112deg, hsla(195, 95%, 82%, 0.55), hsla(255, 90%, 86%, 0.5) 32%, hsla(320, 95%, 86%, 0.5) 64%, hsla(40, 98%, 86%, 0.55)),
		linear-gradient(165deg, #ffffffb3, #ffffff40);
	border: 1px solid #ffffffcc; outline: 1px solid #1c16281f; outline-offset: -1px;
	box-shadow: inset 0 1px 0 #fff, inset 0 0 26px #ffffff8c, 0 40px 80px -36px #6e78d2a6, 0 12px 30px -20px #ff7eb966;
}
.face.back { transform: rotateY(180deg); }
.face.back .turn { margin-left: auto; font: 400 15px var(--mono); color: #4b4456; }
.addrs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; position: relative; align-content: center; flex: 1; padding-top: 6px; }
.addr-row { display: grid; grid-template-columns: 1fr 22px; grid-template-rows: auto auto; align-items: center; column-gap: 4px; min-width: 0; }
.addr-row b { grid-column: 1; font: 400 8px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: #4b4456; }
.addr-row .code { grid-column: 1; font: 400 11px/1.2 var(--mono); letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fg); }
.addr-row.none .code { color: #8a8394; font-size: 9px; }
.addr-row button { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; padding: 0; border-radius: 7px; border: 1px solid #1c162833; background: #ffffff99; cursor: pointer; display: grid; place-items: center; font: 400 12px var(--mono); color: var(--fg); }
.addr-row button svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.addr-row button.done { background: #c9f5e2; }
.lockscreen { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: #f7f4fbf2; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.lockscreen .card { width: min(360px, 100%); }

@keyframes float { 50% { translate: 0 -6px; } }
/* sparkle grain and a foil band that sweeps across now and then */
.face::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M20 18l1 4 4 1-4 1-1 4-1-4-4-1 4-1z'/%3E%3Cpath d='M86 64l.8 3 3 .8-3 .8-.8 3-.8-3-3-.8 3-.8z'/%3E%3Cpath d='M52 100l.6 2.4 2.4.6-2.4.6-.6 2.4-.6-2.4-2.4-.6 2.4-.6z'/%3E%3C/g%3E%3C/svg%3E"); }
.glint { position: absolute; inset: -30% -60%; pointer-events: none; background: linear-gradient(105deg, #fff0 42%, #ffffffd9 50%, #d2e6ff66 54%, #fff0 62%); transform: translateX(-60%); animation: glint 6.5s 1.2s var(--ease) infinite; }
@keyframes glint { 0%, 70% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.slab-top { display: flex; align-items: center; gap: 10px; position: relative; }
.slab-mk svg.mk { height: 24px; display: block; }
.slab-mk svg.mk .d { fill: none; stroke: var(--fg); stroke-width: 4; }
.slab-mk svg.mk .s { fill: url(#mkf); stroke: var(--fg); stroke-width: 0.9; transform-box: fill-box; transform-origin: center; animation: mkspin 9s var(--ease) infinite; }
.slab .who { font: 400 10px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: #4b4456; }
.slab .addr { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #1c162833; background: #ffffff8c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316121c' stroke-width='1.5'%3E%3Crect x='8' y='8' width='12' height='12' rx='1'/%3E%3Cpath d='M16 8V4H4v12h4'/%3E%3C/svg%3E") center/15px no-repeat; cursor: pointer; font-size: 0; color: transparent; padding: 0; transition: transform 0.2s, background-color 0.3s; }
.slab .addr:active { transform: scale(0.9); }
.slab .addr.done { background-color: #c9f5e2; }
.slab .num { position: relative; font: 400 clamp(2.8rem, 12vw, 3.9rem)/1 var(--serif); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 #fff; }
.slab .num small { font: 400 11px var(--mono); letter-spacing: 0.24em; color: #4b4456; margin-left: 8px; vertical-align: middle; }
.slab-foot { display: flex; align-items: center; justify-content: space-between; position: relative; }
.slab-foot .hash { color: #4b4456; }
.chips { display: flex; }
.chips i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #fff; margin-left: -5px; box-shadow: 0 2px 6px -2px #0003; }
.chips .c-dz { background: conic-gradient(from 210deg, #8fdcf5, #b9a8ff, #ff9fd0, #ffd58a, #8fdcf5); }
.chips .c-sol { background: linear-gradient(135deg, #9945ff, #19fb9b); }
/* rays and sparkles around the card */
.stage .burst { position: absolute; inset: -20% -10%; pointer-events: none; z-index: -1; opacity: 0.85;
	background: repeating-conic-gradient(#fff0 0deg, #ffffffb3 2.6deg, #fff0 5.2deg, #fff0 11deg); filter: blur(1px);
	-webkit-mask: radial-gradient(circle, #0000 16%, #000c 32%, #0005 48%, #0000 66%); mask: radial-gradient(circle, #0000 16%, #000c 32%, #0005 48%, #0000 66%);
	animation: spin 60s linear infinite; }
.spk { position: absolute; width: 14px; height: 14px; background: var(--foil); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 3.4s var(--ease) infinite; pointer-events: none; }
.spk.s1 { top: 4px; right: 2px; } .spk.s2 { bottom: 22px; left: -4px; width: 10px; height: 10px; animation-delay: 1.1s; } .spk.s3 { top: 46%; right: -8px; width: 8px; height: 8px; animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { opacity: 0.2; transform: scale(0.6) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(90deg); } }

/* ---------- round glass actions ---------- */
.acts.round { display: flex; justify-content: center; gap: clamp(14px, 5vw, 26px); max-width: none; margin: 18px auto 26px; }
.acts.round .act { width: 60px; height: 60px; padding: 0; border-radius: 50%; display: grid; place-items: center; gap: 0; }
.acts.round .act svg { width: 23px; height: 23px; }
.acts.round .act:active { transform: scale(0.92); }
.acts.round .act.primary { box-shadow: inset 0 1px 0 #fff, 0 14px 30px -14px #a078e6b3; }

/* ---------- tokens: orbs and rows ---------- */
.tokens { margin-top: 10px; border-radius: 18px; overflow: hidden; }
.tokens .li { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 12px 16px; }
.orb-s { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--sans); color: #fff; text-shadow: 0 1px 2px #0004; position: relative; overflow: hidden;
	background: radial-gradient(circle at 32% 28%, #ffffffb3, #fff0 42%), linear-gradient(135deg, hsl(var(--h, 260), 85%, 72%), hsl(calc(var(--h, 260) + 60), 85%, 64%)); box-shadow: inset 0 -3px 8px #0002, 0 6px 14px -8px hsl(var(--h, 260), 70%, 40%); }
.orb-s.dzy { background: radial-gradient(circle at 32% 28%, #ffffffcc, #fff0 42%), conic-gradient(from 210deg, #8fdcf5, #b9a8ff, #ff9fd0, #ffd58a, #8fdcf5); color: #16121c; text-shadow: none; }
.orb-s.sol { background: radial-gradient(circle at 32% 28%, #ffffff99, #fff0 42%), linear-gradient(135deg, #9945ff, #19fb9b); }
.orb-s.tron { background: radial-gradient(circle at 32% 28%, #ffffff99, #fff0 42%), linear-gradient(135deg, #ff060a, #c4001d); }
.orb-s.btc { background: radial-gradient(circle at 32% 28%, #ffffff99, #fff0 42%), linear-gradient(135deg, #f7931a, #ffb75a); }
.orb-s.eth { background: radial-gradient(circle at 32% 28%, #ffffff99, #fff0 42%), linear-gradient(135deg, #627eea, #8fa4f5); }
.orb-s.usdc { background: radial-gradient(circle at 32% 28%, #ffffff99, #fff0 42%), linear-gradient(135deg, #2775ca, #5aa0f0); }
.tokens .li .t b { font: 500 13.5px var(--sans); letter-spacing: 0; }
.tokens .li .v { font: 400 1.2rem/1.2 var(--serif); }
#sol-addr { cursor: pointer; }

/* ---------- activity ---------- */
.feedhead { justify-content: space-between; margin: 28px 2px 10px; }
.feed { border-radius: 18px; overflow: hidden; }
.feed .li { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; }
.feed .li .fi { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #ffffffb3; border: 1px solid var(--line); }
.feed .li .fi svg { width: 15px; height: 15px; fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feed .li .fi.in { background: #dcf8ec; } .feed .li .fi.out { background: #ffe6f1; }
.loading { display: block; height: 12px; width: 60%; border-radius: 6px; background: linear-gradient(90deg, #ffffff66, #ffffffe6, #ffffff66) 0 0/200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- welcome: the mark in a glass orb ---------- */
.start { padding-top: 8vh; }
.start .orb { position: relative; width: 150px; height: 150px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center;
	background: radial-gradient(circle at 35% 28%, #fffffff2, #ffffff59 46%, #ffffff1a 70%), linear-gradient(135deg, #cdeffb, #e3dcff 45%, #ffe0f0 75%, #fff0d4);
	border: 1px solid #ffffffd9; box-shadow: inset 0 -10px 30px #b9a8ff40, inset 0 2px 0 #fff, 0 40px 80px -30px #8c78e6a6; animation: float 7s ease-in-out infinite; }
.start .orb .rays { position: absolute; inset: -60%; z-index: -1; background: repeating-conic-gradient(#fff0 0deg, #ffffffbf 2.6deg, #fff0 5.2deg, #fff0 11deg); -webkit-mask: radial-gradient(circle, #0000 22%, #000 34%, #0000 64%); mask: radial-gradient(circle, #0000 22%, #000 34%, #0000 64%); animation: spin 50s linear infinite; }
.start .orb svg.mk { width: 70px; height: auto; }
/* the orb is pale in both themes, so its mark is always dark ink (the page's text colour turns white at night) */
.start .orb svg.mk .d { fill: none; stroke: #16121c; stroke-width: 4; }
.start .orb svg.mk .s { fill: url(#mkf); stroke: #16121c; stroke-width: 0.9; transform-box: fill-box; transform-origin: center; animation: mkspin 9s var(--ease) infinite; }
.start h1 { font-size: clamp(2.4rem, 8vw, 3.4rem); margin: 22px auto 26px; }
.start h1::before, .start h1::after { display: none; }
.startbtns { display: grid; gap: 10px; max-width: 340px; margin: 0 auto; }
.startbtns .btn { height: 50px; }

/* ---------- send: a big amount ---------- */
.bigamt { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 14px 0 18px; }
.bigamt input { width: 60%; height: auto; border: 0 !important; background: none !important; box-shadow: none !important; text-align: right; font: 400 clamp(2.6rem, 11vw, 3.6rem)/1.1 var(--serif); letter-spacing: -0.02em; padding: 0; }
.bigamt select { width: auto; height: 36px; font-size: 12px; }
.sheet input + input, .sheet input + p + input { margin-top: 10px; }
.sheet { border-radius: 22px 22px 0 0; }
@media (min-width: 761px) { .sheet { border-radius: 22px; } }

/* softer corners everywhere in the app: it is a phone app, not a page */
body.app .card, body.app .list, body.app .scroll:has(> .table), body.app details.more, body.app input, body.app select, body.app .seg { border-radius: 14px; }
body.app .seg { overflow: hidden; }
body.app .btn { border-radius: 12px; }
body.app .startbtns .btn, body.app .sheet .btn.wide, body.app .paybox .btn { border-radius: 14px; }
body.app h2 { font-size: 1.7rem; }

/* moving between tabs: a soft cross-fade */
::view-transition-old(root) { animation: vt-out 0.18s ease both; }
::view-transition-new(root) { animation: vt-in 0.36s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.99); filter: blur(3px); } }
@keyframes vt-in { from { opacity: 0; transform: scale(1.01); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) { .slab, .start .orb, .glint, .spk, .stage .burst { animation: none !important; } }

/* nothing decorative may widen the page on a phone */
html:has(body.app), body.app { overflow-x: hidden; overflow-x: clip; } /* hidden first: older iPhones do not know clip */
.stage .burst { inset: -20% 0; }
.lamp { max-width: none; contain: strict; }
.tokens + .tokens { margin-top: 8px; }
/* a store on a name's page: a shelf of products, each with its price and Buy */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.shelf .item { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.shelf .item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.shelf .item p { margin: 0; }
.shelf .buyrow { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; }
/* a stream: what it pays, then its buttons on a line of their own */
.tokens .li.st { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
.tokens .li.st .cta { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; margin: 0; }
/* a coin's page and the rows that open it */
.tokens .li[data-coin] { cursor: pointer; }
.coin-top { margin: 4px 0 10px; }
.coin-top b { font: 400 2.2rem/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.coin-top .up, .dim.small.up { color: var(--mint); } .coin-top .down, .dim.small.down { color: var(--pink); }
#coin-chart .chart { width: 100%; height: 180px; display: block; }
.small-h { font: 400 10px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin: 16px 0 4px; }
/* no wallet yet: the page opens as usual; making or restoring one comes up over it when an action is tapped (app.js: openJoin) */
.view.start.join { display: block; position: fixed; inset: 0; z-index: 80; overflow-y: auto; margin: 0; padding: calc(56px + env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom)); background: #f7f4fbf2; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.join-x { display: none; }
.view.start.join .join-x { display: grid; position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 16px; z-index: 1; }
body.joining { overflow: hidden; }
body.joining .views { z-index: 85; } /* the views make their own layer: lift it over the header while the overlay is up */

/* ---------- "more of Dznye": the guide, the tools and the rest, one tap behind the wallet ---------- */
.more-menu { position: relative; }
.more-menu summary { list-style: none; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #1c162833; background: #ffffff8c; font: 400 16px/1 var(--mono); }
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu nav { position: absolute; right: 0; top: 42px; z-index: 30; display: grid; min-width: 190px; padding: 6px; border-radius: 14px; border: 1px solid #1c16281f; background: #fffffff2; box-shadow: 0 20px 40px -20px #6e78d2a6; }
.more-menu nav a { padding: 9px 12px; border-radius: 10px; font: 400 12px var(--mono); letter-spacing: 0.06em; color: var(--fg); text-decoration: none; }
.more-menu nav a:hover { background: #f1eef8; }
@media (prefers-reduced-motion: reduce) { .slab { transition: none; animation: none; } }
.chips .c-eth { background: linear-gradient(135deg, #627eea, #c0cbf6); }
.chips .c-btc { background: linear-gradient(135deg, #f7931a, #ffd08a); }

/* ---------- the trade chart: candles from real trades ---------- */
.chartbox { margin: 8px 0 14px; }
.chartbox .chart.candles { width: 100%; height: 220px; display: block; border-radius: 14px; background: #ffffff8c; border: 1px solid #1c16281f; }
.seg.small { margin-bottom: 8px; display: flex; flex-wrap: nowrap; gap: 4px; grid-template-columns: none; }
.seg.small button { flex: 1; }
.seg.small button { padding: 4px 10px; font-size: 11px; }

/* USDT, and the card's dollar line */
.orb-s.usdt { background: linear-gradient(135deg, #26a17b, #7fd8b9); color: #fff; }
.slab .usd { position: relative; font: 400 10px var(--mono); letter-spacing: 0.06em; color: #4b4456; margin-top: -6px; }

.more-menu .theme-btn { text-align: left; padding: 9px 12px; border: 0; border-top: 1px solid var(--line); background: none; font: 400 12px var(--mono); letter-spacing: 0.06em; color: var(--fg); cursor: pointer; }

/* the card's number (2026-11-16): a calmer size; 2 decimals, the decimals smaller and quieter; tap it for all six */
.slab .num { font-size: clamp(2rem, 8.4vw, 2.7rem); letter-spacing: -0.02em; cursor: zoom-in; transition: font-size 0.25s var(--ease); }
.slab .num .dec { font-size: 0.58em; opacity: 0.62; letter-spacing: 0; }
.slab .num.full { font-size: clamp(2.2rem, 9.2vw, 3rem); cursor: zoom-out; }
.slab .num.full .dec { opacity: 0.8; }
.li .v .dec { font-size: 0.72em; opacity: 0.6; }
/* the burst behind the card is held still too (it turned under the card's glass, which re-blurred it every frame) */
.stage .burst { animation: none; }

/* Buy DZY and Earn DZY under the card; the buy sheet's quick amounts and result; the ways to earn (2026-11-16) */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; margin: 4px auto 18px; }
.quick .btn { justify-content: center; text-align: center; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.chips button { flex: 1 1 60px; height: 38px; border: 1px solid var(--edge); border-radius: 999px; background: transparent; color: var(--fg); font: 400 12px var(--mono); letter-spacing: 0.06em; cursor: pointer; }
.chips button.on { background: var(--foil); border-color: transparent; color: #16121c; }
.get { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; }
.get span { font: 400 10px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.get b { font: 400 clamp(1.8rem, 7vw, 2.3rem)/1.1 var(--serif); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 6px 0 12px; }
.way { display: block; padding: 14px 16px; border: 1px solid var(--edge); border-radius: 16px; text-decoration: none; color: var(--fg); }
.way b { display: block; font: 400 1.2rem var(--serif); margin-bottom: 4px; }
.way span { font-size: 0.88rem; color: var(--dim); }
.way:hover { background: #ffffff10; }

/* the deposit address warning (2026-11-17) */
.warnbox { margin: 12px 0 6px; padding: 12px 14px; border: 1px solid var(--amber); border-radius: 14px; font-size: 0.88rem; line-height: 1.45; }
.warnbox b { color: var(--amber); font-weight: 600; }
#buy-mode { margin-top: 10px; }

/* DZY's page: the converter (2026-11-17) */
.conv { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; }
.conv label { font: 400 10px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.conv input { flex: 1 1 auto; min-width: 0; max-width: 180px; }
#coin-x .cta { margin: 12px 0 4px; }
#cx-rows .t i { white-space: normal; overflow: visible; text-overflow: clip; }

/* starter credit (2026-11-17) */
.card.credit { max-width: 520px; margin: 0 auto 16px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
.card.credit p { margin: 0; }
.card.credit #credit-text { font-size: 12px; line-height: 1.5; }
.card.credit .credit-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.card.credit .credit-terms, .card.credit #credit-msg { grid-column: 1 / -1; }
.card.credit .credit-terms summary { font: 400 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; color: var(--dim, #6b6478); }
.card.credit .credit-terms p { margin-top: 6px; }
.card.credit #credit-msg:empty { display: none; }
@media (max-width: 480px) { .card.credit { grid-template-columns: 1fr; } .card.credit .credit-acts { justify-content: flex-start; } }

/* the safe file's PIN step (2026-11-17) */
.card.safe { max-width: 440px; margin: 16px auto 0; padding: 16px; text-align: left; display: grid; gap: 10px; }
.card.safe p { margin: 0; }
.madepin { display: grid; gap: 8px; }
.madepin code { font: 500 1.25rem/1.4 var(--mono); letter-spacing: 0.06em; text-align: center; padding: 12px; border: 1px dashed var(--edge); border-radius: 12px; user-select: all; }

/* sign-up's username, the Me jump bar (2026-11-17) */
.namein { display: flex; align-items: center; gap: 6px; }
.namein span { font: 400 1.2rem var(--mono); color: var(--dim); }
.namein input { flex: 1; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.jump a { padding: 6px 12px; border: 1px solid var(--edge); border-radius: 999px; font: 400 11px var(--mono); letter-spacing: 0.06em; text-decoration: none; color: var(--fg); }
.jump a:hover { background: #ffffff14; }
#my-wallets .li { cursor: copy; }
/* list rows that are buttons (wallets): look like every other row */
.list button.li { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; font: inherit; color: inherit; cursor: pointer; }
.list button.li:last-child { border-bottom: 0; }
.list button.li.sel { background: #ffffff10; }

/* the card's back, like a real card (2026-11-17): the stripe, the signature strip, six addresses */
.face.back { padding: 0 0 14px; justify-content: flex-start; gap: 10px; }
.face.back .stripe { display: block; position: relative; height: 15%; min-height: 26px; margin-top: 7%; background: linear-gradient(180deg, #3a3346, #17131d 55%, #2a2433); box-shadow: inset 0 1px 0 #ffffff26, inset 0 -1px 0 #0006; }
.face.back .sign { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 20px; padding: 5px 10px; border-radius: 6px; background: repeating-linear-gradient(-45deg, #ffffffd9 0 6px, #f4eefbd9 6px 12px); border: 1px solid #1c16281a; }
.face.back .sign .who { font: 400 9.5px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: #3b3447; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.face.back .sign .turn { margin-left: auto; font: 400 14px var(--mono); color: #4b4456; }
.face.back .addrs { margin: 0 20px; padding: 0; flex: 1; align-content: space-evenly; gap: 2px 14px; }
.face.back .addr-row b { font-size: 7.5px; }
.face.back .addr-row .code { font-size: 10.5px; }
.face.back .addr-row button { width: 20px; height: 20px; border-radius: 6px; }
@media (max-width: 380px) { .face.back .addrs { margin: 0 14px; gap: 2px 10px; } .face.back .sign { margin: 0 14px; } .face.back .addr-row .code { font-size: 9.5px; } }

/* home: what one coin buys in DZY (2026-11-17) */
.rates { max-width: 520px; margin: 14px auto 16px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 16px; background: #ffffff0f; }
.rates-head { display: flex; justify-content: space-between; gap: 10px; font: 400 9.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.rates-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; margin-top: 10px; }
.rate { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rate b { font: 500 11px var(--mono); letter-spacing: 0.08em; }
.rate i { font: 400 12.5px var(--mono); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 380px) { .rates-row { grid-template-columns: repeat(2, 1fr); } }

/* the wallet's buttons and the buy sheet, calmer (2026-11-17) */
body.app .btn { height: 46px; border-radius: 14px; letter-spacing: 0.14em; font-weight: 500; border-color: #1c162829; }
body.app .btn.primary { border-color: transparent; box-shadow: inset 0 1px 0 #ffffffe6, 0 0 0 1px #1c16281a, 0 12px 28px -16px #a078e6b3; }
body.app .btn.primary:hover:not(:disabled) { border-color: transparent; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #1c162833, 0 16px 34px -16px #a078e6d9; }
body.app .btn:focus-visible, body.app .seg button:focus-visible, body.app .chips button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
body.app .seg { border: 0; border-radius: 999px; padding: 4px; gap: 4px; background: #1c16280f; }
body.app .seg button { height: 36px; border-radius: 999px; background: transparent; letter-spacing: 0.12em; transition: background 0.2s, color 0.2s; }
body.app .seg button.on { background: var(--foil); color: #16121c; box-shadow: 0 6px 16px -10px #a078e6; }
body.app .chips button { height: 36px; letter-spacing: 0.04em; transition: background 0.2s, border-color 0.2s; }
.qrbox { margin: 14px 0 4px; padding: 18px 16px 14px; border: 1px solid var(--line); border-radius: 20px; background: #ffffff80; }
.qrbox .qr { padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px -22px #6e78d2; line-height: 0; }
.qrbox .hash { max-width: 34ch; margin: 2px auto 0; font-size: 11.5px; word-break: break-all; cursor: copy; }
.qrbox .hash:hover { color: var(--fg); }
.warnbox { position: relative; margin: 14px 0 6px; padding: 11px 14px 11px 40px; border: 0; border-radius: 14px; background: #f5a6231a; font: 400 12px/1.55 var(--mono); color: var(--ink2); }
.warnbox::before { content: '!'; position: absolute; left: 13px; top: 11px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--mono); color: #fff; background: var(--amber, #c77a00); }
.warnbox b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--amber, #a86400); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) .qrbox { background: #ffffff08; }
	:root:not([data-theme='light']) body.app .seg { background: #ffffff0f; }
	:root:not([data-theme='light']) .warnbox { background: #f5a6231f; color: var(--fg); }
	:root:not([data-theme='light']) body.app .seg button:not(.on) { background: transparent; }
	:root:not([data-theme='light']) a.li.sel { background: #ffffff12; } /* the light-mode highlight is near white: unreadable under white text */
}
:root[data-theme='dark'] a.li.sel { background: #ffffff12; }
:root[data-theme='dark'] .qrbox { background: #ffffff08; }
:root[data-theme='dark'] body.app .seg { background: #ffffff0f; }
:root[data-theme='dark'] .warnbox { background: #f5a6231f; color: var(--fg); }
:root[data-theme='dark'] body.app .seg button:not(.on) { background: transparent; }

/* coins, points and checking (launchpad.js) */
.btn.small { padding: 7px 14px; font-size: 11px; min-height: 0; }
.vh:has(> .btn) { align-items: center; }
#pt-list .li:has(.btn) { grid-template-columns: 34px minmax(0, 1fr) auto auto; }
.stats.tight { margin-top: 10px; gap: 6px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats.tight .stat { padding: 8px 10px; }
.stats.tight .stat b { font-size: 1.05rem; }
#lp-list .li .v i, #pt-list .li .v i { white-space: nowrap; }
#ck-box label { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
@media (max-width: 420px) { .stats.tight { grid-template-columns: 1fr 1fr; } }

/* the exchange (exchange.js) */
.li.xc { grid-template-columns: 40px minmax(0, 1fr) auto; }
.li.xc .xc-acts { grid-column: 2 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.li.xc .xc-acts:empty { display: none; }
.li.xc .t b i { font-style: normal; font-size: 11px; }
.xc-floor .xc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.xc-floor .xc-stats span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xc-floor .xc-stats i { font-style: normal; font-size: 11px; color: var(--dim, inherit); opacity: .8; }
.xc-floor .xc-stats b { font-size: 18px; overflow-wrap: anywhere; }
.xc-floor .xc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.xc-floor .xc-row input, .xc-floor .xc-row select { min-width: 0; }
label.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
label.check input { width: auto; margin-top: 2px; }

/* one-tap swap (swap.js) */
.swapcard { display: flex; flex-direction: column; gap: 8px; }
.swapcard .sw-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.swapcard select { min-width: 0; }
.swapcard .sw-flip { align-self: center; font-size: 18px; }

/* the card's total, in the chosen currency (coin.js money) */
.slab .num .cur { appearance: none; -webkit-appearance: none; border: 0; background: rgba(255,255,255,.55); color: #4b4456; font: 400 11px var(--mono); letter-spacing: 0.16em; padding: 3px 8px; border-radius: 999px; margin-left: 10px; vertical-align: middle; cursor: pointer; }
.slab .num .cur:focus-visible { outline: 2px solid #4b4456; }
.slab .num #h-total { overflow-wrap: anywhere; }

/* send to anyone on any chain: where they can be paid */
.where { display: flex; flex-wrap: wrap; gap: 6px; font: 400 11px var(--mono); }
.where:empty { display: none; }
.where .ok, .where .no { padding: 3px 8px; border-radius: 999px; }
.where .ok { background: color-mix(in srgb, #2f9e6a 14%, transparent); }
.where .no { opacity: .55; text-decoration: line-through; }
.where .goes { flex-basis: 100%; overflow-wrap: anywhere; line-height: 1.5; }
.warn { color: #b3261e; font-weight: 600; }
.slab .num select.cur { display: inline-block; width: auto; min-width: 0; height: auto; min-height: 0; line-height: 1.4; box-shadow: none; margin-top: 0; padding: 3px 10px; }

/* Up or Down (rounds.js) */
.ud-pools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ud-pools span { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.45); }
.ud-pools i { font-style: normal; font-size: 11px; opacity: .75; }
.ud-pools b { font-size: 16px; overflow-wrap: anywhere; }
.ud-go { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* a row with no icon: its text takes the icon's column too */
.li > .t:first-child { grid-column: 1 / 3; }

/* questions and NFT orders (predict.js) */
#pm-ask, #nf-form { display: flex; flex-direction: column; gap: 8px; }
#pm-ask .xc-row, #nf-form .xc-row { display: grid; grid-template-columns: minmax(0, 1fr) 0 auto; gap: 8px; align-items: center; }
#nf-form .sw-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
/* section headings: small italic serif, a gem, and a hairline that fades out. Quiet, not loud. */
.vh { margin: 30px 0 10px; }
.vh h2 { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; font: italic 400 1.15rem/1.15 var(--serif); letter-spacing: 0.01em; color: var(--fg); }
.vh h2::before { content: ''; flex: none; width: 5px; height: 5px; transform: rotate(45deg); background: linear-gradient(135deg, #b9a7ff, #ffb8d9 55%, #ffe0b0); box-shadow: 0 0 6px rgba(201, 170, 255, 0.55); }
.vh h2::after { content: ''; flex: 1; min-width: 24px; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--fg) 20%, transparent), transparent); }

/* sub-tabs: one feature per screen (subtabs.js) */
.subtabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 8px -16px 4px; padding: 6px 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
.subtabs::-webkit-scrollbar { display: none; }
.subtabs button { flex: none; position: relative; border: 0; background: none; padding: 8px 12px 10px; font: 400 10px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); cursor: pointer; transition: color 0.25s; white-space: nowrap; }
.subtabs button:hover { color: var(--fg); }
.subtabs button.on { color: var(--fg); }
.subtabs button::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 0; height: 1px; background: linear-gradient(90deg, #b9a7ff, #ffb8d9, #ffe0b0); transition: width 0.3s, left 0.3s; }
.subtabs button.on::after { left: 12px; width: calc(100% - 24px); }
.subtabs button:focus-visible { outline: 1px solid var(--fg); outline-offset: -2px; }
.pane > .vh:first-child { margin-top: 18px; }

/* =====================================================================
   THE WALLET IN GLASS (2026-11-18): like dznye.com, not embossed. White glass by day and black glass by night, each
   with a faint rainbow-foil sheen like holographic paper and a hairline edge; tighter spacing; secondary text a little
   darker so it reads; long notes folded to two lines (tap to open). The guide and other documents keep their own look.
   ===================================================================== */
:root {
	--pane: linear-gradient(112deg, hsla(200, 95%, 80%, 0) 8%, hsla(200, 95%, 82%, 0.13) 30%, hsla(275, 90%, 86%, 0.13) 50%, hsla(330, 95%, 88%, 0.12) 70%, hsla(330, 95%, 88%, 0) 92%) 0 0 / 100% 100% no-repeat, linear-gradient(170deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.66));
	--pane-edge: rgba(28, 22, 40, 0.12);
	--pane-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 14px 34px -26px rgba(90, 110, 190, 0.5);
	--pane-dim: #5d5669;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) {
		--pane: linear-gradient(112deg, hsla(200, 95%, 70%, 0) 8%, hsla(200, 95%, 72%, 0.07) 30%, hsla(275, 90%, 76%, 0.08) 50%, hsla(330, 95%, 78%, 0.07) 70%, hsla(330, 95%, 78%, 0) 92%) 0 0 / 100% 100% no-repeat, linear-gradient(170deg, rgba(24, 21, 32, 0.86), rgba(10, 9, 14, 0.78));
		--pane-edge: rgba(235, 225, 255, 0.11); --pane-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 40px -28px rgba(0, 0, 0, 0.9); --pane-dim: #b3aac4;
	}
}
:root[data-theme='dark'] {
	--pane: linear-gradient(112deg, hsla(200, 95%, 70%, 0) 8%, hsla(200, 95%, 72%, 0.07) 30%, hsla(275, 90%, 76%, 0.08) 50%, hsla(330, 95%, 78%, 0.07) 70%, hsla(330, 95%, 78%, 0) 92%) 0 0 / 100% 100% no-repeat, linear-gradient(170deg, rgba(24, 21, 32, 0.86), rgba(10, 9, 14, 0.78));
	--pane-edge: rgba(235, 225, 255, 0.11); --pane-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 40px -28px rgba(0, 0, 0, 0.9); --pane-dim: #b3aac4;
}
body.app { --dim: var(--pane-dim); }
html:root body.app :is(.card, .list, .scroll:has(> .table), details.more, .sheet, .rates, .qrbox, .note, .stat, .glass) {
	background: var(--pane); border: 1px solid var(--pane-edge); box-shadow: var(--pane-shadow); border-radius: 12px;
	-webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
}
body.app .sheet { border-radius: 16px 16px 0 0; }
@media (min-width: 761px) { body.app .sheet { border-radius: 16px; } }
body.app .card { padding: 14px 16px; }
body.app .li { padding: 11px 14px; gap: 10px; }
body.app .vh { margin: 22px 0 8px; }
body.app .btn { height: 42px; border-radius: 10px; letter-spacing: 0.16em; font-size: 10.5px; }
body.app input, body.app select { border-radius: 10px; }
body.app label { font-size: 10px; letter-spacing: 0.18em; color: var(--dim); }
body.app .bigamt input { font-size: clamp(2.2rem, 9vw, 3rem); }
body.app .ud-pools span { background: none; border: 1px solid var(--pane-edge); border-radius: 10px; }
/* long notes: two lines, tap to read the rest */
body.app .card p.dim.small, body.app .view > p.dim.small, body.app .pane > p.dim.small {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; font-size: 11px; line-height: 1.55;
}
body.app p.dim.small.open { display: block; -webkit-line-clamp: unset; overflow: visible; cursor: default; }

/* TYPE (2026-11-18): no geometric mono for reading. Every word in the wallet is Newsreader, a warm serif drawn for small
   sizes: interface words as spaced serif capitals, sentences in plain serif, figures of even width. Addresses, hashes
   and codes stay in mono, where telling 0 from O matters. */
body.app { --mono: 'Newsreader', Georgia, 'Times New Roman', serif; font: 400 14.5px/1.5 var(--serif); letter-spacing: 0.005em; font-variant-numeric: tabular-nums lining-nums; }
body.app :is(.btn, label, .subtabs button, .tabs a, .kick, .rate b, .rates-head, .chipname, .ri-h, summary) { font-weight: 500; letter-spacing: 0.12em; }
body.app .btn { font-size: 11.5px; }
body.app label, body.app .rates-head, body.app .subtabs button, body.app summary { font-size: 11px; }
body.app :is(p, .small, .li .t i, .msg, .quote) { letter-spacing: 0.005em; }
body.app .li .t b { font-weight: 500; font-size: 15px; }
body.app .li .t i { font-size: 12.5px; font-style: italic; }
body.app .rate i, body.app .li .v { font-size: 14px; }
body.app input, body.app select, body.app textarea { font: 400 15px/1.3 var(--serif); letter-spacing: 0.01em; }
body.app :is(.code, .hash, .addr, #h-short, #sol-addr, .madepin code, code, .where .goes b, input[spellcheck='false'], #ask-link, #link-text) { font-family: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
body.app { --sans: 'Newsreader', Georgia, 'Times New Roman', serif; }

/* HOME, TIDY (2026-11-18): one column, one width: the alert, the two buttons and the deck line up edge to edge */
body.app .quick, body.app #chain-alert, body.app .deck { max-width: 560px; margin-left: auto; margin-right: auto; }
body.app .quick { margin-top: 6px; margin-bottom: 12px; }
body.app #chain-alert { margin-bottom: 12px; }
.deck { position: relative; margin-bottom: 16px; }
.deck-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; }
.deck-track::-webkit-scrollbar { display: none; }
.deck-track > * { flex: 0 0 100%; scroll-snap-align: start; margin: 0 !important; max-width: none !important; min-height: 118px; box-sizing: border-box; }
.deck-track > .rates { display: flex; flex-direction: column; justify-content: center; }
.deck-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.deck-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: var(--edge); cursor: pointer; transition: width 0.3s var(--ease), background 0.3s; }
.deck-dots button.on { width: 18px; border-radius: 3px; background: linear-gradient(90deg, #b9a7ff, #ffb8d9, #ffe0b0); }
.deck-dots button:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
/* the whole home column at one width */
body.app section[data-view='home'] > :is(.list, .quick, .deck, .warnbox, .vh, .rates) { max-width: 560px; margin-left: auto; margin-right: auto; }
body.app section[data-view='home'] > .refresh { display: block; margin-left: auto; margin-right: max(0px, calc(50% - 280px)); }
.deck-dots button { background: color-mix(in srgb, var(--fg) 22%, transparent); }

/* a coin's page: one row of actions, the same for every coin (DZY adds Buy and Earn) */
.coin-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.coin-acts .btn { flex: 1 1 0; min-width: 72px; height: 38px; padding: 0 10px; }
#coin-dzy .deck { margin: 4px 0 14px; }

/* what this browser checked on the other chains: quiet when all is well */
.chains-ok { max-width: 560px; margin: 6px auto 0; font-size: 11px; letter-spacing: 0.04em; color: var(--dim); }
body.app section[data-view='home'] > #chains-alert { max-width: 560px; margin-left: auto; margin-right: auto; }

/* the home card under DZY: buy or earn, the welcome offer, DZY's price (one at a time) */
.deck-act { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.deck-act p { margin: 0; }
.deck-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.deck-btns .btn { height: 38px; }
.deck-price { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; text-align: center; }
.deck-price b { font: 400 2rem/1.1 var(--serif); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
body.app section[data-view='home'] > .deck { margin-top: 10px; }

/* the home card fits in one row the size of the DZY row above it: one line of words, small buttons at the side */
#h-deck .deck-track > * { min-height: 58px; padding: 9px 14px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
#h-deck .deck-track > * > p { margin: 0; min-width: 0; font-size: 13px; line-height: 1.35; }
#h-deck .deck-btns, #h-deck .credit-acts { display: flex; gap: 6px; flex: none; }
#h-deck .deck-btns .btn, #h-deck .credit-acts .btn { height: 32px; padding: 0 12px; font-size: 10.5px; }
#h-deck #credit-terms, #h-deck #credit-msg:empty { display: none; }
#h-deck #credit-msg { flex-basis: 100%; }
#h-deck .credit { flex-wrap: wrap; }
#h-deck .deck-price { flex-direction: row; }
.dp-now { display: flex; flex-direction: column; line-height: 1.15; }
.dp-now i { font-style: normal; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.dp-now b { font: 400 1.35rem/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.dp-since { display: grid; grid-template-columns: auto auto; gap: 1px 12px; font-size: 11.5px; text-align: right; font-variant-numeric: tabular-nums; }
.dp-since i { grid-column: 1 / -1; font-style: italic; font-size: 10.5px; color: var(--dim); }
.dp-since .up { color: var(--good); } .dp-since .down { color: var(--bad); }
@media (max-width: 420px) { .dp-since { grid-template-columns: auto auto; font-size: 11px; } #h-deck .deck-track > * > p { font-size: 12.5px; } }
#h-deck .deck-track > * { min-height: 62px; padding-top: 7px; padding-bottom: 7px; } /* the DZY row's own height */
.dp-since { grid-template-columns: repeat(4, auto); gap: 0 10px; line-height: 1.35; }
@media (max-width: 420px) { .dp-since { grid-template-columns: repeat(4, auto); gap: 0 7px; font-size: 10.5px; } }
@media (max-width: 480px) {
	.dp-since { grid-template-columns: repeat(2, auto); gap: 0 8px; font-size: 10.5px; line-height: 1.3; }
	.dp-since i { display: none; } /* "since launch" stays in its tooltip; the price slide keeps the DZY row's height */
	#h-deck .deck-track > * > p { font-size: 12px; }
	#h-deck .deck-btns .btn, #h-deck .credit-acts .btn { padding: 0 10px; }
}

/* the coins as one list: DZY's row joins the other chains' rows below it, edge to edge */
body.app section[data-view='home'] > #h-deck { margin: 4px auto 14px; }
body.app section[data-view='home'] > #h-assets { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
body.app section[data-view='home'] > #h-assets + #solana { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
body.app section[data-view='home'] > #h-assets .li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 480px) { .wide-only { display: none; } }
#h-deck .credit { flex-wrap: nowrap; position: relative; }
#h-deck #credit-msg:not(:empty) { position: absolute; left: 14px; right: 14px; bottom: 2px; font-size: 10.5px; margin: 0; }

/* the card's back: a flat black strip, a plain signature bar, clear text (dark ink by day, light ink by night) */
.face.back { --back-ink: #16121c; --back-dim: #3b3447; --back-strip: #111014; --back-btn: rgba(255, 255, 255, 0.85); --back-btn-edge: rgba(28, 22, 40, 0.3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .face.back { --back-ink: #f3eefc; --back-dim: #b9b1c8; --back-strip: #000; --back-btn: rgba(255, 255, 255, 0.08); --back-btn-edge: rgba(230, 215, 255, 0.28); } }
:root[data-theme='dark'] .face.back { --back-ink: #f3eefc; --back-dim: #b9b1c8; --back-strip: #000; --back-btn: rgba(255, 255, 255, 0.08); --back-btn-edge: rgba(230, 215, 255, 0.28); }
.face.back .stripe { background: var(--back-strip) !important; box-shadow: none !important; }
.face.back .sign { background: rgba(255, 255, 255, 0.92) !important; box-shadow: none !important; border: 0 !important; }
.face.back .sign .who { font: 500 11px var(--serif) !important; letter-spacing: 0.14em; color: #16121c !important; }
.face.back .sign .turn { color: #16121c !important; }
html:root .face.back .addr-row b { font: 500 9px var(--serif); letter-spacing: 0.14em; color: var(--back-dim); }
html:root .face.back .addr-row .code { font-size: 11.5px; color: var(--back-ink); }
html:root .face.back .addr-row button { background: var(--back-btn); border-color: var(--back-btn-edge); color: var(--back-ink); }
.dp-since i { display: none; }

/* swap: the chain it arrives on, beside "You get" */
.swapcard .sw-get { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.swapcard .sw-on { display: inline-flex; align-items: center; gap: 6px; }
.swapcard .sw-on label { margin: 0; }
.swapcard .sw-on select { width: auto; height: 30px; padding: 0 26px 0 10px; font-size: 12px; }

/* a warning in one line; the whole story behind Details */
.warnbox .alert-more { margin-left: 6px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--amber, #a86400); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.warnbox .alert-long { display: grid; gap: 4px; margin-top: 8px; font-size: 11.5px; opacity: 0.9; }
.warnbox .alert-long[hidden] { display: none; }

/* ---------- motion, the way an iPhone app moves: quick to start, long soft landing; nothing at all with Reduce Motion ---------- */
:root { --spring: cubic-bezier(0.32, 0.72, 0, 1); --press: cubic-bezier(0.3, 0, 0.5, 1); }
body.app .sheet:not([hidden]) { animation: sheet-in 0.52s var(--spring) both; }
body.app .sheet.out { animation: sheet-out 0.23s var(--press) both; pointer-events: none; }
@keyframes sheet-in { from { transform: translate(-50%, 100%); } }
@keyframes sheet-out { to { transform: translate(-50%, 100%); } }
@media (min-width: 761px) {
	body.app .sheet:not([hidden]) { animation: sheet-pop 0.42s var(--spring) both; }
	body.app .sheet.out { animation: sheet-unpop 0.2s var(--press) both; }
	@keyframes sheet-pop { from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); } }
	@keyframes sheet-unpop { to { opacity: 0; transform: translate(-50%, -49%) scale(0.97); } }
}
body.app .scrim { -webkit-backdrop-filter: blur(6px) saturate(1.2); backdrop-filter: blur(6px) saturate(1.2); animation: fade 0.35s var(--spring) both; }
body.app .scrim.out { animation: unfade 0.23s var(--press) both; }
@keyframes unfade { to { opacity: 0; } }
body.app .sheet:focus { outline: none; }
/* a press you can feel */
body.app :is(.btn, .act, .iconbtn, .seg button, .subtabs button, .tabs a, .li[data-coin], button.li) { transition: transform 0.22s var(--spring), background-color 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s; }
body.app :is(.btn, .act, .iconbtn, .seg button, .subtabs button, .li[data-coin], button.li):active { transform: scale(0.97); transition-duration: 0.08s; }
/* a view's rows rise in, one after another, when it opens (not when its numbers refresh) */
body.app [data-view].entering :is(.list > *, .card, .deck, .vh) { animation: rise 0.6s var(--spring) both; }
body.app [data-view].entering .list > :nth-child(2) { animation-delay: 30ms; } body.app [data-view].entering .list > :nth-child(3) { animation-delay: 60ms; }
body.app [data-view].entering .list > :nth-child(4) { animation-delay: 90ms; } body.app [data-view].entering .list > :nth-child(5) { animation-delay: 120ms; }
body.app [data-view].entering .list > :nth-child(n+6) { animation-delay: 150ms; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
/* messages arrive softly */
body.app .msg:not(:empty) { animation: fade 0.3s var(--spring) both; }
/* keyboard users always see where they are */
body.app :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	body.app *, body.app *::before, body.app *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* the card's moments (app.js cardMoment): signing in, sending, receiving */
.slab.spin { transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1) !important; }
.slab.hello { animation: hello 1.2s var(--spring) both, float 7s 1.2s ease-in-out infinite; }
@keyframes hello {
	0% { opacity: 0; translate: 0 34px; scale: 0.92; rotate: 1 0 0 28deg; }
	45% { opacity: 1; translate: 0 -6px; scale: 1.01; rotate: 1 0 0 -8deg; }
	70% { translate: 0 2px; rotate: 1 0 0 4deg; }
	100% { translate: 0 0; scale: 1; rotate: 1 0 0 0deg; }
}
.stage { isolation: isolate; }
.stage.glow::before { content: ''; position: absolute; inset: 8% 4%; z-index: -1; border-radius: 32px; pointer-events: none; background: radial-gradient(closest-side, #8ff0cfcc, #b9a4ff66 60%, transparent); filter: blur(22px); animation: glowp 1.6s var(--spring) both; }
@keyframes glowp { 0% { opacity: 0; scale: 0.8; } 35% { opacity: 1; } 100% { opacity: 0; scale: 1.18; } }

/* move coins in: four steps, one question each */
#movein .sheet-h { gap: 8px; } #movein .sheet-h h2 { margin-right: auto; }
.mi-back { font-size: 22px; }
.mi-dots { display: flex; gap: 6px; margin: 4px 0 16px; }
.mi-dots i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); transition: background 0.4s var(--spring); }
.mi-dots i.on { background: var(--fg); }
#movein h3 { margin: 0 0 12px; font: 400 1.25rem/1.3 var(--serif); text-transform: none; letter-spacing: 0; color: var(--fg); outline: none; }
#movein [data-step]:not([hidden]) { animation: rise 0.45s var(--spring) both; }
.mi-addr { font: 500 15px/1.5 'Geist Mono', ui-monospace, monospace !important; letter-spacing: 0.06em; word-spacing: 0.2em; max-width: 300px; margin: 10px auto 0; }
.mi-only { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--amber, #a86400); }
.mi-wait { display: grid; place-items: center; height: 90px; }
.mi-spin { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--fg); animation: spin 0.9s linear infinite; }
.mi-done { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #fff; background: var(--good, #2fa36b); animation: popin 0.5s var(--spring) both; }
@keyframes popin { from { transform: scale(0.4); opacity: 0; } }

/* making a wallet: two steps, one question each */
.card.safe .sm-dots { display: flex; gap: 6px; margin-bottom: 4px; }
.card.safe .sm-dots i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); transition: background 0.4s var(--spring); }
.card.safe .sm-dots i.on { background: var(--fg); }
.card.safe [data-sm-step] { display: grid; gap: 10px; }
.card.safe [data-sm-step][hidden] { display: none; }
.card.safe [data-sm-step]:not([hidden]) { animation: rise 0.45s var(--spring) both; }
.sm-q { margin: 0; font: 400 1.35rem/1.25 var(--serif); text-transform: none; letter-spacing: 0; color: var(--fg); }
.linkbtn { justify-self: center; padding: 6px 4px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sm-row { display: flex; justify-content: space-between; align-items: center; }
.card.safe label.check { display: flex; gap: 8px; align-items: center; }
#sm-name-msg.ok { color: var(--good, #2fa36b); }

/* a node on a computer: the line to paste */
.nodecard { display: grid; gap: 10px; }
.nr-cmd { margin: 0; padding: 12px; border-radius: 12px; border: 1px solid var(--edge); background: color-mix(in srgb, var(--fg) 5%, transparent); overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.nr-cmd code { font: 12px/1.5 'Geist Mono', ui-monospace, monospace; }
/* node mode: one calm screen, shard turning, for a phone left on the charger */
.nodemode { position: fixed; inset: 0; z-index: 95; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; background: radial-gradient(ellipse 80% 60% at 50% 35%, #2a2140, #0a090d 70%); color: #f3eefc; animation: fade 0.5s var(--spring) both; }
.nodemode[hidden] { display: none; }
.nm-shard svg { width: 92px; height: 92px; filter: drop-shadow(0 0 18px #8ff0cf88); animation: nm-turn 9s ease-in-out infinite; }
@keyframes nm-turn { 0%, 100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(10deg) translateY(-6px); } }
.nodemode h2 { margin: 6px 0 0; font: 400 1.6rem var(--serif); color: #f3eefc; }
.nm-big { margin: 0; font: 400 1.15rem var(--serif); }
.nm-line { margin: 0; max-width: 300px; font-size: 13px; color: #b9b1c8; }
.nodemode .btn { max-width: 260px; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .nm-shard svg { animation: none; } }

/* cold wallets: watched, never signed for here */
.cold-row { flex-wrap: wrap; }
.cold-acts { display: flex; gap: 6px; flex-basis: 100%; justify-content: flex-end; }
.cold-add { display: grid; gap: 10px; margin-top: 10px; }

/* Me: a wallet row with its own Hide / Show; hidden ones folded away */
.wrow { display: flex; align-items: center; gap: 8px; padding: 0; }
.wrow .wcopy { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.wrow .wtoggle { flex: none; margin-right: 10px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--edge); background: transparent; font: 500 11px var(--serif); color: var(--dim); cursor: pointer; }
.wrow.hid { opacity: 0.7; }
.hidwallets summary { font-size: 13px; color: var(--dim); }

/* the private vault */
#vault-body { display: grid; gap: 10px; }
#vault-note { display: grid; gap: 8px; }
#vault-text { min-height: 90px; font: 13px/1.5 'Geist Mono', ui-monospace, monospace; resize: vertical; }
.vnote summary { display: flex; justify-content: space-between; gap: 10px; cursor: pointer; }
.vnote summary i { color: var(--dim); font-size: 12px; }
.vtext { margin: 10px 0; padding: 10px; border-radius: 10px; border: 1px solid var(--edge); white-space: pre-wrap; word-break: break-word; font: 13px/1.5 'Geist Mono', ui-monospace, monospace; user-select: text; }

/* one list for the coins of every chain, ordered by rankCoins (value, then last used) */
#h-coins { display: flex; flex-direction: column; }
#h-coins > .tokens:not([hidden]) { display: contents; }
#h-coins .li { border-bottom: 1px solid var(--line); margin-bottom: -1px; }

/* the wallet's own questions (ask.js): a yes/no, a PIN, or a key to copy, instead of the browser's pop-ups */
dialog.ask { max-width: min(420px, calc(100vw - 32px)); width: 100%; padding: 0; border: 1px solid var(--edge); border-radius: 18px; background: linear-gradient(165deg, #fffffff2, #faf7ffeb); color: var(--fg); box-shadow: 0 30px 80px -30px #6e8cd299; }
dialog.ask::backdrop { background: #1a14262e; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.ask .ask-in { display: grid; gap: 12px; padding: 18px; margin: 0; }
dialog.ask .ask-text { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.5; }
dialog.ask input { width: 100%; box-sizing: border-box; }
dialog.ask .ask-show { font: 12px/1.4 'Geist Mono', ui-monospace, monospace; }
dialog.ask .cta { display: flex; gap: 8px; justify-content: flex-end; margin: 0; }

/* the buy form: DZY's price right at the top (exchange.js priceLine) */
.xb-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: -4px 0 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--edge); }
.xb-price b { font: 400 1.15rem/1.2 var(--serif); }
.xb-price i { font-style: normal; color: var(--dim); font-size: 12px; }
.xb-price span { margin-left: auto; color: var(--dim); font-size: 12.5px; }

/* the buy form: the coin next to the amount, and what the wallet holds of it, with Max */
.bigamt .unit { font: 400 1.3rem var(--serif); color: var(--dim); }
#xb-have { margin: -10px 0 8px; }
#xb-have .linkbtn { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* the buy form's switch between typing the paying coin or DZY */
#xb-flip { margin: -12px 0 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--edge); background: transparent; font: 500 12px var(--serif); color: var(--dim); cursor: pointer; }

/* Earn: the summary card and its quick buttons */
.earnhero { display: grid; justify-items: center; gap: 4px; margin: 6px 0 16px; padding: 22px 18px 18px; border-radius: 24px; border: 1px solid var(--edge); background: linear-gradient(160deg, #ffffffb0, #f6efffa0); text-align: center; }
.eh-k { font: 500 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.eh-total { font: 400 clamp(2.2rem, 9vw, 3rem)/1.1 var(--serif); }
.eh-usd { font-size: 13px; color: var(--dim); min-height: 1em; }
.eh-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 4px; }
.eh-chip { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--edge); font-size: 12px; color: var(--dim); }
.eh-chip.on { color: var(--fg); border-color: transparent; background: linear-gradient(90deg, #d9f4ff, #efe2ff, #ffe3f1); }
.eh-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; margin-top: 12px; }
.qa { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border: 0; background: none; font: 500 12px var(--sans); color: var(--fg); text-decoration: none; cursor: pointer; }
.qa svg { width: 44px; height: 44px; padding: 12px; border-radius: 50%; border: 1px solid var(--edge); background: #ffffffc0; box-sizing: border-box; }

/* Me in tabs, iOS-style segmented control */
.segtabs { position: sticky; top: 64px; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin: 10px 0 16px; padding: 3px; border-radius: 12px; background: #5a46821a; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.segtabs button { padding: 8px 4px; border: 0; border-radius: 9px; background: none; font: 500 12.5px var(--sans); color: var(--dim); cursor: pointer; }
.segtabs button.on { background: #fff; color: var(--fg); box-shadow: 0 1px 3px #0000001f; }
.mt-off { display: none !important; }

/* Buy: from an exchange, in three steps */
.fromex { display: grid; gap: 8px; margin-top: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--edge); }
.fromex .steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.45; }
.fromex #fx-addr { word-break: break-all; text-align: left; }
.fromex .chips a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--edge); font-size: 12.5px; color: var(--fg); text-decoration: none; }
/* home: coins just arrived, one tap to buy DZY with them */
.arrived { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(90deg, #d9f4ff, #efe2ff, #ffe3f1); font-size: 13.5px; }

/* iOS-style pass (2026-11-19): words under the icons, labels under the round buttons, a press you can feel */
.tabs a .tl { display: inline; }
.btabs a .tl { font: 500 10px/1 var(--sans); letter-spacing: 0; text-transform: none; }
@media (min-width: 761px) { .tabs a svg { display: none; } }
.acts.round { margin-bottom: 40px; }
.acts.round .act { position: relative; }
.acts.round .act::after { content: attr(title); position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 11.5px var(--sans); letter-spacing: 0; text-transform: none; color: var(--fg); }
body.app :is(.btn, .act, .qa, .iconbtn, .li[data-coin], button.li, .segtabs button):active { transform: scale(0.97); }
.tokens .li .t i { font-style: normal; font-size: 12px; color: var(--dim); }
.qa svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#e-stats { display: none; } /* the summary card says the same, clearer */

/* Final update, step 1 (2026-11-20): five tabs (Home, Transfer, Exchange, Store, Earn); Me is the round picture at the top right */
.chipname.avatar { width: 36px; height: 36px; min-width: 36px; padding: 0; justify-content: center; border-radius: 50%; border: 1px solid var(--edge); font: 600 15px/1 var(--sans); letter-spacing: 0; color: #1c1628; background: linear-gradient(135deg, #d9f4ff, #efe2ff 50%, #ffe3f1) !important; }
.chipname.avatar.on { box-shadow: 0 0 0 2px var(--bg, #fff), 0 0 0 4px #a078e6; }
.abar .right { gap: 8px; }
@media (max-width: 760px) { .btabs a { min-width: 0; } .btabs a .tl { font-size: 10.5px; } }
.lead { margin: 0 0 16px; max-width: 46ch; display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
#store-box[open] > summary { list-style: none; }
.vh:has(> p) { flex-wrap: wrap; }
.vh > p { position: static !important; flex: 1 0 100%; margin: 2px 0 0; display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }

/* Creators (2026-11-20): the page at /@name, tips, things for sale (creator.js) */
.segtabs { grid-template-columns: repeat(5, 1fr); }
.cr-hero { display: grid; justify-items: center; gap: 10px; margin: 18px 0 14px; text-align: center; }
.cr-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--edge); box-shadow: 0 12px 30px -16px #a078e6aa; }
.cr-letter { display: grid; place-items: center; font: 600 38px var(--sans); color: #1c1628; background: linear-gradient(135deg, #d9f4ff, #efe2ff 50%, #ffe3f1); }
.cr-name { margin: 4px 0 0; font: italic 400 1.6rem/1.1 var(--serif); }
.cr-bio { margin: 0; max-width: 42ch; font-size: 14.5px; line-height: 1.5; }
.cr-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cr-links .chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--edge); font-size: 13px; color: var(--fg); text-decoration: none; }
.cr-acts { display: flex; gap: 10px; margin-top: 4px; }
.cr-goal { margin: 12px 0; }
.cr-goal-h { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.cr-bar { height: 10px; margin: 10px 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--fg) 10%, transparent); overflow: hidden; }
.cr-bar i { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, #9fdcff, #c7a8ff, #ffb8d9); }
.cr-tips { display: grid; gap: 4px; margin: 8px 0 16px; padding: 10px 14px; border-left: 2px solid #c7a8ff; }
.cr-tips p { margin: 0; }
.cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.cr-item { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--edge); border-radius: 16px; background: color-mix(in srgb, var(--fg) 3%, transparent); color: var(--fg); text-align: left; cursor: pointer; font: inherit; }
.cr-item img, .cr-ic { width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover; }
.cr-ic { display: grid; place-items: center; font-size: 34px; background: linear-gradient(135deg, #d9f4ff, #efe2ff 50%, #ffe3f1); color: #1c1628; }
.cr-item b { font-size: 14px; line-height: 1.25; }
.cr-price, .it-price { font-size: 13.5px; font-weight: 600; }
.cr-price i, .it-price i { font-style: normal; font-weight: 400; color: var(--dim); }
.it-cover { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; }
.sealed-text { white-space: pre-wrap; word-break: break-word; }
.pf-pay { margin-top: 10px; }
#page-form textarea { width: 100%; box-sizing: border-box; font: inherit; }

/* layout fixes (2026-11-20): the Buy sheet's ⇅ chip and "You have …" line no longer overlap; the avatar and ⋯ match */
#xb-flip { margin: 6px 0 8px; }
#xb-have { margin: 0 0 12px; line-height: 1.5; }
.more-menu summary { width: 36px; height: 36px; box-sizing: border-box; }
.chipname.avatar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* ===== Creators, round 2 (2026-11-20): themed pages, blocks, players, funnel, market ===== */
.segtabs { grid-template-columns: repeat(4, 1fr); }
/* a creator page is its own little world: a theme sets its colours (Neon night is the default: cyberpunk x anime, minimal) */
.cr-page { --c-bg: #07060d; --c-card: #ffffff0d; --c-line: #ffffff1f; --c-fg: #f1ecff; --c-dim: #a99fc4; --c-a: #00f0ff; --c-b: #ff2bd6; --c-c: #8b5cff;
	position: relative; isolation: isolate; overflow: hidden; margin: 8px -4px 14px; padding: 0 18px 22px; border-radius: 26px; color: var(--c-fg); background: var(--c-bg);
	box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--c-b) 60%, transparent), inset 0 0 0 1px var(--c-line); }
.cr-page::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 90% 50% at 15% 0%, color-mix(in srgb, var(--c-a) 22%, transparent), transparent 60%), radial-gradient(ellipse 80% 50% at 100% 30%, color-mix(in srgb, var(--c-b) 20%, transparent), transparent 60%),
		linear-gradient(color-mix(in srgb, var(--c-a) 7%, transparent) 1px, transparent 1px) 0 0/100% 28px, linear-gradient(90deg, color-mix(in srgb, var(--c-a) 6%, transparent) 1px, transparent 1px) 0 0/28px 100%; }
.cr-page::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, #ffffff06 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.cr-theme-sakura { --c-bg: #1a0f17; --c-card: #ffffff0f; --c-line: #ffd1e81f; --c-fg: #fff0f7; --c-dim: #d6a9c0; --c-a: #ff9ecf; --c-b: #ffd1e8; --c-c: #b98cff; }
.cr-theme-sunset { --c-bg: #160b0b; --c-card: #ffffff0e; --c-line: #ffb38a26; --c-fg: #fff3ea; --c-dim: #d9ab92; --c-a: #ff8a3d; --c-b: #ff3d7f; --c-c: #ffd23d; }
.cr-theme-mono { --c-bg: #0b0b0c; --c-card: #ffffff0b; --c-line: #ffffff22; --c-fg: #f4f4f4; --c-dim: #a0a0a0; --c-a: #ffffff; --c-b: #9a9a9a; --c-c: #ffffff; }
.cr-theme-light { --c-bg: #fbf9ff; --c-card: #ffffff; --c-line: #1c16281a; --c-fg: #1c1628; --c-dim: #6d6480; --c-a: #7b5cff; --c-b: #ff5ca8; --c-c: #00b8d9; }
.cr-theme-light::after, .cr-theme-mono::before { display: none; }
.cr-loading { min-height: 320px; display: grid; place-items: center; }
.cr-banner { display: block; width: calc(100% + 36px); margin: 0 -18px; height: 150px; object-fit: cover; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.cr-banner-none { background: linear-gradient(120deg, color-mix(in srgb, var(--c-a) 35%, transparent), color-mix(in srgb, var(--c-b) 35%, transparent), color-mix(in srgb, var(--c-c) 30%, transparent)); background-size: 200% 100%; animation: crflow 9s ease-in-out infinite alternate; }
.cr-page .cr-hero { margin: -58px 0 16px; position: relative; z-index: 1; }
.cr-page .cr-photo { width: 104px; height: 104px; border: 2px solid var(--c-bg); box-shadow: 0 0 0 2px var(--c-a), 0 0 28px color-mix(in srgb, var(--c-a) 55%, transparent); }
.cr-page .cr-letter { color: var(--c-bg); background: linear-gradient(135deg, var(--c-a), var(--c-c) 55%, var(--c-b)); }
.cr-page .cr-name { position: relative; color: var(--c-fg); font: 700 1.55rem/1.1 var(--sans); letter-spacing: 0.01em; text-shadow: 0 0 18px color-mix(in srgb, var(--c-a) 45%, transparent); }
.cr-page .cr-name::before, .cr-page .cr-name::after { content: none; }
.cr-theme-cyber .cr-name::before, .cr-theme-cyber .cr-name::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cr-theme-cyber .cr-name::before { color: var(--c-a); animation: crglitch 6s infinite steps(1); }
.cr-theme-cyber .cr-name::after { color: var(--c-b); animation: crglitch 6s 0.08s infinite steps(1) reverse; }
.cr-page .cr-bio { color: var(--c-fg); opacity: 0.9; }
.cr-page .cr-dim, .cr-page .small.cr-dim { color: var(--c-dim); }
.cr-page .cr-links .chip { color: var(--c-fg); border-color: var(--c-line); background: var(--c-card); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.cr-page .cr-links .chip:hover { border-color: var(--c-a); box-shadow: 0 0 14px color-mix(in srgb, var(--c-a) 40%, transparent); transform: translateY(-1px); }
.cr-page .btn { color: var(--c-fg); border-color: var(--c-line); background: var(--c-card); }
.cr-page .btn.primary { color: #0b0814; border: 0; background: linear-gradient(100deg, var(--c-a), var(--c-c) 50%, var(--c-b)); background-size: 200% 100%; }
.cr-glow { animation: crglow 2.8s ease-in-out infinite, crflow 6s ease-in-out infinite alternate; }
.cr-page .cr-goal { margin: 4px 0 14px; padding: 14px 16px; border-radius: 18px; background: var(--c-card); border: 1px solid var(--c-line); }
.cr-page .cr-bar { background: color-mix(in srgb, var(--c-fg) 10%, transparent); }
.cr-page .cr-bar i { width: 0; background: linear-gradient(90deg, var(--c-a), var(--c-c), var(--c-b)); box-shadow: 0 0 12px color-mix(in srgb, var(--c-a) 60%, transparent); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.cr-page .cr-tips { border-left-color: var(--c-b); font-size: 13px; color: var(--c-dim); }
.cr-page .cr-tips b { color: var(--c-fg); }
.cr-body { display: grid; gap: 12px; margin: 6px 0 14px; }
.cr-link { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-fg); text-decoration: none; text-align: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.cr-link span { font: 600 15px var(--sans); }
.cr-link i { font: 400 11.5px var(--mono); font-style: normal; color: var(--c-dim); }
.cr-link:hover { transform: translateY(-2px) scale(1.01); border-color: var(--c-a); box-shadow: 0 10px 30px -14px color-mix(in srgb, var(--c-a) 80%, transparent); }
.cr-block { display: grid; gap: 6px; }
.cr-cap { margin: 0; font-size: 13px; color: var(--c-dim); }
.cr-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--c-line); background: #000; }
.cr-frame.cr-audio { aspect-ratio: auto; height: 152px; }
.cr-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cr-img { width: 100%; border-radius: 16px; border: 1px solid var(--c-line); display: block; }
.cr-text { margin: 0; padding: 4px; white-space: pre-wrap; line-height: 1.55; font-size: 14.5px; }
.cr-h { margin: 18px 0 10px; font: 500 11px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-dim); }
.cr-page .cr-item { border-color: var(--c-line); background: var(--c-card); color: var(--c-fg); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.cr-page .cr-item:hover, .cr-grid.mk .cr-item:hover { transform: translateY(-3px); border-color: var(--c-a, #a078e6); box-shadow: 0 14px 34px -18px color-mix(in srgb, var(--c-a, #a078e6) 80%, transparent); }
.cr-item.big { grid-template-columns: 96px 1fr; grid-template-rows: auto auto 1fr; column-gap: 12px; align-items: start; }
.cr-item.big img, .cr-item.big .cr-ic { grid-row: 1 / 4; width: 96px; }
.cr-page .cr-ic { background: linear-gradient(135deg, var(--c-a), var(--c-c) 55%, var(--c-b)); color: var(--c-bg); }
.cr-kind, .cr-by { font-size: 12px; color: var(--c-dim, var(--dim)); }
.cr-page .cr-price i { color: var(--c-dim); }
.cr-foot { margin: 18px 0 0; text-align: center; font-size: 11.5px; color: var(--c-dim); }
.cr-foot a { color: var(--c-a); }
/* the page's foot: its name, verified on the chain (a link to it on the explorer) */
.cr-foot .cr-verified { display: inline-flex; align-items: center; gap: 6px; color: var(--c-dim); text-decoration: none; }
.cr-foot .cr-verified:hover { color: var(--c-fg); }
.cr-foot .cr-tick { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; font-size: 9px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #3aa0ff, #8b5cff); }
/* things arrive one after another */
.cr-page .cr-hero > *, .cr-page .cr-goal, .cr-page .cr-tips, .cr-body > *, .cr-page .cr-grid > * { animation: crup 0.6s cubic-bezier(.2, .8, .2, 1) both; }
.cr-body > :nth-child(2), .cr-page .cr-grid > :nth-child(2) { animation-delay: 0.06s; }
.cr-body > :nth-child(3), .cr-page .cr-grid > :nth-child(3) { animation-delay: 0.12s; }
.cr-body > :nth-child(4), .cr-page .cr-grid > :nth-child(4) { animation-delay: 0.18s; }
.cr-body > :nth-child(n+5), .cr-page .cr-grid > :nth-child(n+5) { animation-delay: 0.24s; }
.cr-page .cr-hero > :nth-child(2) { animation-delay: 0.05s; }
.cr-page .cr-hero > :nth-child(3) { animation-delay: 0.1s; }
.cr-page .cr-hero > :nth-child(n+4) { animation-delay: 0.15s; }
.cr-page .cr-acts .cr-glow { animation: crup 0.6s 0.15s both, crglow 2.8s 0.8s ease-in-out infinite, crflow 6s ease-in-out infinite alternate; }
@keyframes crup { from { opacity: 0; transform: translateY(12px); } }
@keyframes crflow { to { background-position: 100% 0; } }
@keyframes crglow { 50% { box-shadow: 0 0 26px color-mix(in srgb, var(--c-b) 70%, transparent); } }
@keyframes crglitch { 0%, 91%, 100% { opacity: 0; transform: none; } 92% { opacity: 0.8; transform: translate(-2px, 1px); clip-path: inset(10% 0 55% 0); } 94% { opacity: 0.8; transform: translate(2px, -1px); clip-path: inset(60% 0 8% 0); } 96% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cr-page *, .cr-page::before, .cr-page *::before, .cr-page *::after { animation: none !important; transition: none !important; } }

/* the creator's own tools */
.cr-start .cr-url { display: block; margin: 6px 0 10px; font: 600 17px var(--sans); color: var(--fg); word-break: break-all; }
.cr-start .sw-row { align-items: center; gap: 6px; }
.cr-start .at { font: 600 18px var(--sans); color: var(--dim); }
.cr-srcs, .tip-amts { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-srcs .chip, .tip-amts .chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--edge); background: transparent; font: 500 12.5px var(--sans); color: var(--fg); cursor: pointer; }
.tip-amts { justify-content: center; margin: 6px 0 12px; }
.funnel { display: flex; align-items: center; justify-content: space-between; gap: 4px; text-align: center; }
.funnel div { display: grid; gap: 2px; flex: 1; }
.funnel b { font: 600 22px var(--sans); }
.funnel span { font-size: 11px; color: var(--dim); }
.funnel i { color: var(--dim); font-style: normal; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin: 14px 0 8px; }
.spark i { flex: 1; min-height: 4%; border-radius: 4px 4px 0 0; background: linear-gradient(#c7a8ff, #9fdcff); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2 { display: flex; justify-content: space-between; gap: 8px; margin: 4px 0; }
.row2 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { padding: 4px 9px; border-radius: 999px; font-size: 11.5px; background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--dim); white-space: nowrap; }
.tag.ok { background: #2fbf7126; color: #1f9d5c; }
.mk-bar { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 4px 0 14px; }
.cr-grid.mk .cr-item { border-radius: 18px; }
.check { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-size: 13.5px; }
.vh .seg.small { margin-left: auto; }
#sell-items .cta { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } .funnel b { font-size: 19px; } }

/* creators polish */
#bl-list .li.bl, #sell-items .li.st, #bought .li.st, #mk-queue .li.st, #mk-live .li.st { display: flex; align-items: center; gap: 10px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
#bl-list .li.bl .t, #sell-items .li.st .t, #bought .li.st .t, #mk-queue .li.st .t, #mk-live .li.st .t { flex: 1; min-width: 0; }
#bl-list .li.bl .t i, #sell-items .li.st .t i { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#bl-list .cta, #sell-items .cta, #bought .cta, #mk-queue .cta, #mk-live .cta { display: flex; gap: 6px; margin: 0; }
#bl-list .cta .btn { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; }
#sell-items .li.st .v { white-space: nowrap; }
@media (max-width: 480px) { #sell-items .li.st { flex-wrap: wrap; } #sell-items .li.st .cta { width: 100%; justify-content: flex-start; } }
#st-days button { padding: 6px 10px; font-size: 10.5px; letter-spacing: 0.08em; }
.vh:has(#st-days) .kick { white-space: nowrap; }
#cr-name-form { display: flex; align-items: center; gap: 8px; }
#cr-name-form input { flex: 1; min-width: 0; margin: 0; }
#cr-name-form .btn { flex: none; }
.cr-frame.cr-audio { height: 152px; background: transparent; border: 0; border-radius: 12px; }
.cr-start .cta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.funnel span { line-height: 1.25; }

/* ===== Creators, round 3 (2026-11-20): studio with live preview, guide, gallery pictures, pay with any coin ===== */
/* the studio: on a wide screen the page shows live beside the tools, like a phone on the desk */
.cr-phone { display: none; }
@media (min-width: 1100px) {
	.views:has([data-view="store"].on .pane[data-pane="page"]:not([hidden])) { max-width: 1180px; }
	.cr-studio { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 32px; align-items: start; }
	.cr-phone { display: block; position: sticky; top: 84px; }
	.cr-phone-frame { height: calc(100vh - 120px); max-height: 820px; overflow: auto; padding: 14px 10px; border-radius: 42px; background: #0d0b14; box-shadow: 0 0 0 1px #ffffff1a, 0 0 0 9px #1a1724, 0 40px 90px -40px #5b3fb0aa; scrollbar-width: none; }
	.cr-phone-frame::-webkit-scrollbar { display: none; }
	.cr-phone .cr-page { margin: 0; border-radius: 30px; min-height: 100%; }
	.cr-preview-btn { display: none; }
}
.cr-preview .cr-item, .cr-preview a { cursor: default; }
.previewsheet { max-height: 92vh; overflow: auto; }
.previewsheet .cr-page { margin: 0; }
.cr-empty { text-align: center; padding: 18px 0; }

/* the guide: six steps, one button each */
.guide { display: grid; gap: 10px; }
.guide-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; }
.guide-h span { font-size: 12px; color: var(--dim); }
.guide-bar { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--fg) 8%, transparent); overflow: hidden; }
.guide-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #00f0ff, #8b5cff, #ff2bd6); transition: width 0.8s var(--ease, ease); }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.guide-list li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; }
.guide-list li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--edge); font: 600 11.5px var(--sans); color: var(--dim); }
.guide-list li.ok span { border: 0; color: #fff; background: linear-gradient(135deg, #00d0e8, #8b5cff); }
.guide-list li.ok b { color: var(--dim); font-weight: 400; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--fg) 25%, transparent); }
.guide-list li b { font-weight: 500; }

/* pictures from the gallery */
.pick-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: end; margin-top: 4px; }
.pick-row > div { min-width: 0; }
.pick-line { display: flex; gap: 8px; align-items: center; }
.pick-line input:not([type=file]) { flex: 1; min-width: 0; margin: 0; }
.pick { flex: none; cursor: pointer; }
.pick.busy { opacity: 0.5; pointer-events: none; }
.thumb { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 12px; border: 1px solid var(--edge); }
.thumb.round { border-radius: 50%; }
.thumb.wide { width: 96px; height: 40px; border-radius: 8px; }
.thumb[hidden] { display: none; }

/* paying with any coin */
.pay-h { margin: 14px 0 6px; }
.pay-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 6px 0 12px; }
.pay-opt { display: grid; gap: 1px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--edge); background: transparent; text-align: left; color: var(--fg); cursor: pointer; font: inherit; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.pay-opt b { font: 600 14px var(--sans); }
.pay-opt span { font: 500 12.5px var(--mono); }
.pay-opt i { font-style: normal; font-size: 11px; color: var(--dim); }
.pay-opt.on { border-color: #8b5cff; box-shadow: 0 0 0 1px #8b5cff, 0 8px 22px -12px #8b5cff; background: color-mix(in srgb, #8b5cff 7%, transparent); }
.pay-opt.short { opacity: 0.45; cursor: not-allowed; }
.pay-add { grid-column: 1 / -1; font-size: 13px; color: var(--fg); text-align: center; padding: 6px; }
.tip-amts { display: grid; grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); gap: 8px; margin: 4px 0 10px; }
.tip-amts .chip { display: grid; gap: 2px; padding: 12px 6px; border-radius: 14px; font: 600 15px var(--sans); }
.tip-amts .chip i { font: 400 11px var(--sans); font-style: normal; color: var(--dim); }
.tip-amts .chip.on { border-color: #8b5cff; box-shadow: 0 0 0 1px #8b5cff; }
#tipsheet input { margin-bottom: 8px; }
/* a buyer's three steps */
.steps3 { display: flex; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; counter-reset: s; }
.steps3 li { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--dim); counter-increment: s; }
.steps3 li::before { content: counter(s); width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--edge); font: 600 10.5px var(--sans); }
.steps3 li.on { color: var(--fg); font-weight: 600; }
.steps3 li.on::before { border-color: #8b5cff; color: #8b5cff; }
.steps3 li.done::before { content: '✓'; border: 0; color: #fff; background: linear-gradient(135deg, #00d0e8, #8b5cff); }
.it-cover { width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #d9f4ff, #efe2ff 50%, #ffe3f1); }
.it-cover img { width: 100%; height: 100%; object-fit: cover; }
.it-cover .cr-ic { width: auto; aspect-ratio: auto; background: none; font-size: 44px; }
.it-by { margin: 10px 0 2px; font-size: 13px; color: var(--dim); }
.it-about { margin: 6px 0; font-size: 14px; line-height: 1.5; }
.it-price { font: 600 22px var(--sans); margin: 8px 0 4px; }
.it-price i { font: 400 14px var(--sans); }
/* quiet, short words */
.empty-note { margin: 0; padding: 16px; font-size: 13px; color: var(--dim); text-align: center; }
.list.tokens > p { white-space: normal; overflow-wrap: anywhere; }
.hint { margin: -4px 0 8px; font-size: 12px; color: var(--dim); min-height: 1em; }
.earned { margin: 6px 0 12px; font-size: 13px; color: var(--dim); }
.earned b { font: 600 18px var(--sans); color: var(--fg); margin-right: 4px; }
#cr-name-form .at { font: 600 18px var(--sans); color: var(--dim); }
.two-way select { font-weight: 600; }
.cr-start details.more { margin-top: 4px; }
.cr-start details.more .cr-srcs { margin-top: 8px; }

/* guide rows: one line each */
.guide { display: block; }
.guide-h { margin-bottom: 8px; }
.guide-bar { margin-bottom: 8px; }
.guide-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; min-height: 36px; }
.guide-list li b { flex: 1; min-width: 0; }
.guide-list .btn.small { flex: none; padding: 5px 14px; min-height: 0; height: auto; line-height: 1.4; }

/* paying a creator from any other wallet: their own address on each chain */
.direct-pay { margin-top: 10px; }
.direct-pay .hint { margin: 8px 0; }
.direct { padding: 10px 0; border-top: 1px solid var(--line); }
.direct-h { display: grid; gap: 1px; margin-bottom: 6px; }
.direct-h b { font-size: 13.5px; }
.direct-h i { font-style: normal; font-size: 11.5px; color: var(--dim); }
.direct-row { display: flex; gap: 6px; align-items: center; }
.direct-row code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.direct-qr { display: grid; place-items: center; padding: 10px 0 2px; }

/* the six coins a buyer pays with; one that is short opens Add money */
.pay-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
a.pay-opt.short { opacity: 0.6; cursor: pointer; text-decoration: none; border-style: dashed; }
a.pay-opt.short:hover { opacity: 0.9; }
.pay-opt b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pay-opt em { font: 600 9.5px var(--sans); font-style: normal; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 6px; border-radius: 99px; color: #0b0814; background: linear-gradient(90deg, #00f0ff, #c7a8ff); }

/* checkout from any wallet or exchange (checkout.js) */
.pay-opt.ext { opacity: 1; border-style: solid; cursor: pointer; text-align: left; font: inherit; color: var(--fg); background: transparent; }
.pay-opt.ext i { color: #7b5cff; }
.co { margin: 4px 0 12px; padding: 14px; border-radius: 18px; border: 1px solid var(--edge); background: color-mix(in srgb, var(--fg) 3%, transparent); }
.co-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 14.5px; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: var(--dim); text-decoration: underline; cursor: pointer; }
.co-nets { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.co-nets .chip { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--edge); background: transparent; font: 600 13.5px var(--sans); color: var(--fg); cursor: pointer; }
.co-nets .chip:disabled { opacity: 0.5; }
.co-amt { display: flex; align-items: center; gap: 8px; font: 700 26px/1.2 var(--mono); letter-spacing: -0.01em; }
.co-amt b { font: 600 15px var(--sans); }
.co-amt .btn { margin-left: auto; }
.co-net { margin: 2px 0 10px; font-size: 12.5px; color: #c2410c; }
.co-qr { display: grid; place-items: center; padding: 12px; margin: 6px auto; width: fit-content; border-radius: 16px; background: #fff; }
.co-to { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.co-to code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 12px; }
.co-status { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; font-size: 13px; color: var(--dim); }
.co-status.busy { color: var(--fg); }
.co-status.ok { color: #1f9d5c; font-weight: 600; }
.co-ex { margin-top: 8px; }
.receipt { margin-top: 12px; display: grid; gap: 6px; }
.receipt .cta { display: flex; gap: 8px; flex-wrap: wrap; }
.co-status .loading { flex: none; width: 16px; height: 16px; }

/* paying straight from the buyer's wallet (walletpay.js) */
.co-wallets { display: grid; gap: 8px; margin: 6px 0 4px; }
.co-wallet { display: flex; align-items: center; justify-content: center; gap: 10px; }
.co-wallet img { width: 22px; height: 22px; border-radius: 6px; }
.co-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; font-size: 11.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; }
.co-or::before, .co-or::after { content: ""; flex: 1; height: 1px; background: var(--edge); }
.co-apps { display: grid; gap: 8px; margin: 6px 0; font-size: 13px; }
.co-apps > div { display: flex; flex-wrap: wrap; gap: 8px; }
.co-apps .chip { padding: 9px 14px; border-radius: 12px; border: 1px solid var(--edge); color: var(--fg); text-decoration: none; font-weight: 600; }

/* supporters on a creator page */
.cr-sup { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin: 4px 0 12px; }
.cr-sup-one { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 16px; background: var(--c-card); border: 1px solid var(--c-line); text-align: center; animation: crup 0.6s both; }
.cr-sup-one.top { border-color: var(--c-a); box-shadow: 0 0 18px color-mix(in srgb, var(--c-a) 35%, transparent); }
.cr-sup-av { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font: 700 17px var(--sans); color: var(--c-bg); background: linear-gradient(135deg, var(--c-a), var(--c-c) 55%, var(--c-b)); }
.cr-sup-one b { font-size: 12.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-sup-one i { font-style: normal; font-size: 12px; color: var(--c-dim); }
.cr-page .cr-tips i { font-style: normal; color: var(--c-dim); }
.steps-list { margin: 8px 0; padding-left: 20px; display: grid; gap: 4px; font-size: 13.5px; }
#cr-obs .pick-line { margin: 8px 0; }
#cr-obs .btn { margin-top: 4px; }

.co-nets .chip { display: grid; gap: 2px; text-align: left; }
.co-nets .chip i { font: 400 11px var(--sans); font-style: normal; color: var(--dim); }

/* Pay with DZY */
.pay-opt.dzy { border-color: #8b5cff; border-style: solid; }
.pay-opt.dzy i { color: #8b5cff; }
.co-nets .chip.on { border-color: #8b5cff; box-shadow: 0 0 0 1px #8b5cff; }
#dz-pay { display: grid; gap: 8px; margin-top: 10px; }
.dz-own input { flex: 1; min-width: 0; margin: 0; }

/* the pay page: four big buttons (creator.js GROUPS) */
.pg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.pg-b { position: relative; display: grid; justify-items: start; gap: 3px; min-height: 108px; padding: 14px; border-radius: 20px; border: 1px solid var(--edge); background: color-mix(in srgb, var(--fg) 3%, transparent); color: var(--fg); text-align: left; cursor: pointer; font: inherit;
	transition: transform 0.25s var(--spring, ease), border-color 0.2s, box-shadow 0.25s, background 0.25s; animation: pg-in 0.5s cubic-bezier(.2, .8, .2, 1) both; }
.pg-b:nth-child(2) { animation-delay: 0.05s; } .pg-b:nth-child(3) { animation-delay: 0.1s; } .pg-b:nth-child(4) { animation-delay: 0.15s; }
.pg-b:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px #8b5cff; border-color: #8b5cff; }
.pg-b:active { transform: scale(0.97); }
.pg-ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font: 700 19px var(--sans); color: #fff; margin-bottom: 4px; }
.pg-usd .pg-ic { background: linear-gradient(135deg, #26a17b, #2775ca); }
.pg-eth .pg-ic { background: linear-gradient(135deg, #627eea, #8a92b2); }
.pg-sol .pg-ic { background: linear-gradient(135deg, #9945ff, #14f195); }
.pg-dzy .pg-ic { background: linear-gradient(135deg, #00f0ff, #8b5cff 55%, #ff2bd6); }
.pg-dzy { border-color: #8b5cff66; background: linear-gradient(135deg, #00f0ff0d, #ff2bd60d); }
.pg-b b { font: 650 16px var(--sans); }
.pg-b i { font: 400 11.5px/1.35 var(--sans); font-style: normal; color: var(--dim); }
.pg-b em { position: absolute; top: 10px; right: 10px; font: 600 10px var(--sans); font-style: normal; padding: 3px 7px; border-radius: 99px; color: #0b0814; background: linear-gradient(90deg, #00f0ff, #c7a8ff); }
.co-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.co-pair { display: grid; gap: 2px; padding: 12px; border-radius: 16px; border: 1px solid var(--edge); background: transparent; text-align: left; color: var(--fg); cursor: pointer; font: inherit; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; animation: pg-in 0.4s both; }
.co-pair:hover { border-color: #8b5cff; transform: translateY(-1px); box-shadow: 0 10px 24px -16px #8b5cff; }
.co-pair:active { transform: scale(0.97); }
.co-pair:disabled { opacity: 0.5; }
.co-pair b { font: 650 15px var(--sans); }
.co-pair span { font-size: 13px; }
.co-pair i { font: 400 11px var(--sans); font-style: normal; color: var(--dim); }
.co-more summary { font-size: 13px; }
.pg-now { margin: 8px 0; }
.co { animation: pg-in 0.35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pg-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@media (max-width: 360px) { .pg, .co-pairs { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pg-b, .co-pair, .co { animation: none; } }

/* posting, galleries, collections */
.post-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 30; display: none; align-items: center; gap: 6px; padding: 13px 20px; border: 0; border-radius: 99px; font: 650 15px var(--sans); color: #0b0814; cursor: pointer;
	background: linear-gradient(100deg, #00f0ff, #8b5cff 55%, #ff2bd6); background-size: 200% 100%; box-shadow: 0 14px 34px -12px #8b5cffcc; animation: crflow 6s ease-in-out infinite alternate, pg-in 0.5s both; transition: transform 0.2s; }
.post-fab span { font-size: 20px; line-height: 1; }
.post-fab:active { transform: scale(0.94); }
[data-view="store"].on .post-fab { display: inline-flex; }
@media (min-width: 761px) { .post-fab { bottom: 32px; } }
.post-pick { display: grid; place-items: center; aspect-ratio: 1; border-radius: 20px; overflow: hidden; cursor: pointer; border: 1.5px dashed var(--edge); background: color-mix(in srgb, var(--fg) 3%, transparent); margin-bottom: 10px; }
.post-pick img { width: 100%; height: 100%; object-fit: cover; animation: pg-in 0.4s both; }
.post-pick span { display: grid; justify-items: center; gap: 6px; color: var(--dim); font-size: 14px; }
.post-pick span b { font-size: 36px; font-weight: 300; color: var(--fg); }
#post-cap { width: 100%; box-sizing: border-box; font: inherit; }
.post-mode { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px 0; }
.post-ns { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 8px; }
.post-ns .chip { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--edge); background: transparent; font: 600 13px var(--sans); color: var(--fg); cursor: pointer; }
.post-ns .chip.on { border-color: #8b5cff; box-shadow: 0 0 0 1px #8b5cff; }
.cr-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 -4px 16px; }
.cr-gal-one { position: relative; aspect-ratio: 1; padding: 0; border: 0; overflow: hidden; border-radius: 6px; background: var(--c-card, #0001); cursor: pointer; animation: pg-in 0.5s both; }
.cr-gal-one img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s cubic-bezier(.2, .8, .2, 1); }
.cr-gal-one:hover img { transform: scale(1.06); }
.cr-gal-tag, .cr-gal-ed { position: absolute; left: 6px; bottom: 6px; padding: 3px 7px; border-radius: 99px; font: 650 11px var(--sans); color: #fff; background: #000a; backdrop-filter: blur(6px); }
.cr-gal-ed { left: auto; right: 6px; top: 6px; bottom: auto; background: linear-gradient(90deg, #00f0ffcc, #ff2bd6cc); color: #0b0814; }
.cr-gal.coll { margin: 0 0 12px; }
.lightbox img { width: 100%; border-radius: 14px; display: block; }

/* =====================================================================
   PERPS, BINANCE-STYLE (2026-11-20): market chips with today's change, a candle chart, big Long / Short, Market / Limit,
   size with 25-50-75-Max, a leverage slider, take profit / stop loss, positions with profit and loss.
   ===================================================================== */
.pp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 8px; }
.pp-title { font: 700 20px var(--sans, system-ui); letter-spacing: -0.01em; }
.pp-price { font: 700 22px var(--mono); transition: color 0.3s; }
.pp-price.up, .pp-coin i.up, .pp-pnl.up { color: #0ecb81; }
.pp-price.down, .pp-coin i.down, .pp-pnl.down { color: #f6465d; }
.pp-head select { max-width: 46%; }
.pp-coins { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.pp-coins::-webkit-scrollbar { display: none; }
.pp-coin { flex: 0 0 auto; display: grid; gap: 2px; text-align: left; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--pane-edge); background: var(--pane); color: var(--fg); cursor: pointer; transition: transform 0.18s var(--ease), border-color 0.2s; animation: in 0.4s var(--ease) both; }
.pp-coin:hover { transform: translateY(-2px); }
.pp-coin.on { border-color: #7b5cff; box-shadow: 0 0 0 1px #7b5cff inset; }
.pp-coin b { font-size: 13px; } .pp-coin span { font: 500 12px var(--mono); } .pp-coin i { font: 600 11px var(--mono); font-style: normal; }
.pp-chartbox { border: 1px solid var(--pane-edge); border-radius: 12px; background: var(--pane); padding: 8px; margin-bottom: 12px; }
.pp-ints { display: flex; gap: 4px; align-items: center; margin-bottom: 6px; }
.pp-ints button, .pp-kinds button, .pp-pcts button, .pp-q button { border: 1px solid transparent; background: none; color: var(--dim); padding: 5px 10px; border-radius: 8px; font: 600 12px var(--mono); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.12s; }
.pp-ints button:active, .pp-pcts button:active, .pp-q button:active { transform: scale(0.94); }
.pp-ints button.on, .pp-kinds button.on { color: var(--fg); background: #7b5cff22; border-color: #7b5cff55; }
.pp-ints span { margin-left: auto; }
#pp-chart { display: block; width: 100%; height: 260px; }
@media (min-width: 761px) { #pp-chart { height: 340px; } }
.pp-form { display: grid; gap: 8px; }
.pp-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--pane-edge); }
.pp-sides button { border: 0; padding: 12px; font: 700 14px var(--sans, system-ui); background: transparent; color: var(--dim); cursor: pointer; transition: background 0.25s, color 0.25s; }
.pp-sides button[data-side='long'].on { background: #0ecb81; color: #fff; }
.pp-sides button[data-side='short'].on { background: #f6465d; color: #fff; }
.pp-kinds { display: flex; gap: 4px; align-items: center; }
.pp-kinds span { margin-left: auto; }
.pp-amt { display: flex; align-items: center; gap: 8px; border: 1px solid var(--pane-edge); border-radius: 10px; padding: 0 12px; }
.pp-amt input { border: 0 !important; background: none !important; box-shadow: none !important; font: 600 20px var(--mono); padding: 10px 0; flex: 1; min-width: 0; }
.pp-amt span { font: 600 12px var(--mono); color: var(--dim); }
.pp-pcts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pp-pcts button { border-color: var(--pane-edge); }
.pp-levrow { display: flex; justify-content: space-between; align-items: center; }
.pp-levrow b { font: 700 15px var(--mono); color: #f0b90b; }
#pp-lev { width: 100%; accent-color: #f0b90b; }
.pp-tpsl summary { cursor: pointer; font-weight: 600; font-size: 13px; padding: 6px 0; }
.pp-tpsl[open] { display: grid; gap: 6px; }
.pp-tprow { display: grid; gap: 6px; }
.pp-q { display: flex; gap: 4px; flex-wrap: wrap; }
.pp-q button { border-color: var(--pane-edge); }
.pp-quote { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--dim); min-height: 18px; }
.pp-quote b { color: var(--fg); font-family: var(--mono); }
.pp-go { height: 48px !important; font-size: 13px !important; color: #fff !important; border: 0 !important; transition: background 0.25s, transform 0.12s, box-shadow 0.25s; }
.pp-go.long { background: #0ecb81 !important; box-shadow: 0 10px 24px -14px #0ecb81; }
.pp-go.short { background: #f6465d !important; box-shadow: 0 10px 24px -14px #f6465d; }
.pp-go:active { transform: scale(0.98); }
.pp-acct { padding: 12px 14px; display: grid; gap: 8px; margin-top: 12px; }
.pp-bal { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.pp-bal b { font-family: var(--mono); }
.pp-pos { border-left: 3px solid #0ecb81; padding: 8px 10px; border-radius: 8px; background: #0ecb810d; display: grid; gap: 6px; animation: in 0.4s var(--ease) both; }
.pp-pos.short { border-color: #f6465d; background: #f6465d0d; }
.pp-tag { font: 600 11px var(--mono); padding: 2px 6px; border-radius: 6px; background: #0ecb8122; color: #0ecb81; }
.pp-pos.short .pp-tag { background: #f6465d22; color: #f6465d; }
.pp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: 11px; color: var(--dim); }
.pp-grid span { display: grid; } .pp-grid b { color: var(--fg); font: 600 12px var(--mono); }
.pp-pnl { font: 700 16px var(--mono); } .pp-pnl i { font-style: normal; font-size: 12px; opacity: 0.8; }
.pp-ord { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
html:root body.app input#pp-lev { border: 0; background: none; box-shadow: none; padding: 0; height: 28px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pp-tpl { color: #0ecb81 !important; } .pp-tpl.sl { color: #f6465d !important; }
#pp-msg:empty { display: none; }
html:root body.app input#pp-lev { -webkit-appearance: none; appearance: none; height: 6px; margin: 10px 0; border-radius: 6px; background: linear-gradient(90deg, #f0b90b var(--fill, 20%), var(--pane-edge) var(--fill, 20%)); }
#pp-lev::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #f0b90b; box-shadow: 0 2px 8px #0003; cursor: grab; transition: transform 0.15s; }
#pp-lev::-webkit-slider-thumb:active { transform: scale(1.15); }
#pp-lev::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #f0b90b; }

/* =====================================================================
   MOTION, EVERYWHERE (2026-11-20): panes slide in when a sub-tab changes, list rows arrive one after another, a done
   message pops, cards lift under the mouse, chips and pills press. All off for people who ask for less motion.
   ===================================================================== */
body.app .pane:not([hidden]) { animation: pane-in 0.42s var(--ease) both; }
@keyframes pane-in { from { opacity: 0; transform: translateX(10px); } }
body.app .list > :is(.li, a.li, button.li, .pp-pos, .pp-ord) { animation: row-in 0.42s var(--ease) both; }
body.app .list > :nth-child(2) { animation-delay: 0.03s; } body.app .list > :nth-child(3) { animation-delay: 0.06s; }
body.app .list > :nth-child(4) { animation-delay: 0.09s; } body.app .list > :nth-child(5) { animation-delay: 0.12s; }
body.app .list > :nth-child(6) { animation-delay: 0.15s; } body.app .list > :nth-child(n + 7) { animation-delay: 0.18s; }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }
body.app .msg.ok:not(:empty) { animation: ok-pop 0.45s var(--spring, var(--ease)) both; }
body.app .msg.err:not(:empty) { animation: err-shake 0.4s var(--ease) both; }
@keyframes ok-pop { 0% { opacity: 0; transform: scale(0.9); } 60% { transform: scale(1.03); } }
@keyframes err-shake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
@media (hover: hover) and (min-width: 761px) {
	body.app :is(.card, .cr-card, .pg-b, .co-pair):not(form) { transition: transform 0.25s var(--ease), box-shadow 0.25s; }
	body.app :is(.cr-card, .pg-b, .co-pair):hover { transform: translateY(-2px); }
}
body.app :is(.chip, .pp-coin, .pp-sides button, .pp-kinds button, summary):active { transform: scale(0.96); }
body.app .btn:disabled { opacity: 0.6; cursor: progress; }
@media (prefers-reduced-motion: reduce) {
	body.app .pane, body.app .list > *, body.app .msg, body.app .card, body.app .pp-coin, body.app .pp-pos { animation: none !important; transition: none !important; }
}
.pay-list > .pg, .pay-list.pg-on > * { grid-column: 1 / -1; width: 100%; }
.pg { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* =====================================================================
   SHARING (2026-11-20): one sheet for a page, an item or a purchase. The story picture on top, then big round
   buttons: X, Instagram Story, WhatsApp, Telegram, copy, more. Name hints: free, taken, premium.
   ===================================================================== */
.sharesheet .sh-card { display: grid; place-items: center; margin: 4px auto 14px; width: min(220px, 52vw); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #0b0814, #2a0b2e); box-shadow: 0 24px 50px -26px #8b5cff; animation: sh-in 0.5s var(--ease) both; }
.sharesheet .sh-card img { width: 100%; height: 100%; object-fit: cover; animation: fade 0.4s both; }
@keyframes sh-in { from { opacity: 0; transform: translateY(14px) rotate(-2deg) scale(0.96); } }
.sh-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sh-b { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; border: 1px solid var(--pane-edge, var(--edge)); background: color-mix(in srgb, var(--fg) 3%, transparent); color: var(--fg); font: 600 12px var(--sans, system-ui); text-decoration: none; cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.2s; animation: row-in 0.4s var(--ease) both; }
.sh-b:nth-child(2) { animation-delay: 0.04s; } .sh-b:nth-child(3) { animation-delay: 0.08s; } .sh-b:nth-child(4) { animation-delay: 0.12s; } .sh-b:nth-child(5) { animation-delay: 0.16s; } .sh-b:nth-child(6) { animation-delay: 0.2s; }
.sh-b:hover { transform: translateY(-2px); } .sh-b:active { transform: scale(0.95); }
.sh-b i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font: 700 20px var(--sans, system-ui); font-style: normal; color: #fff; background: #3a3550; }
.sh-x i { background: #000; } .sh-wa i { background: #25d366; } .sh-tg i { background: #229ed9; }
.sh-ig i { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.it-share { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--pane-edge, var(--edge)); background: none; color: var(--fg); font: 600 12px var(--sans, system-ui); cursor: pointer; transition: transform 0.18s, background 0.2s; }
.it-share svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.it-share:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); } .it-share:active { transform: scale(0.95); }
.msg.name-hint.ok { color: #0e9f6e; } .msg.name-hint.err { color: #e5484d; }
.msg.name-hint.premium { color: #b07b00; font-weight: 600; background: linear-gradient(90deg, #f0b90b1f, #ff2bd614); padding: 8px 10px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .sharesheet .sh-card, .sh-b { animation: none; } }
.btn.brag { margin: 4px 0 12px; animation: ok-pop 0.5s var(--spring, var(--ease)) both, crglow 2.4s ease-in-out 0.6s 2; }

/* =====================================================================
   CREATOR PAGES, INSTAGRAM-STYLE, WITH THEMES (2026-11-20). A profile header (ringed photo, posts / drops / supporters),
   tabs (Posts, Links, Shop, Fans), a 3-across grid where paid posts show a lock and their price, and tiles each in
   their own colour and size. Original styles with vector art behind (no one else's characters or logos): Kawaii pastel
   (bows, hearts), Candy doll (bubblegum pink), Dreamy clouds, Matcha mochi, Neo Tokyo, Comic hero, Midnight steel,
   Ember. What moves on top (hearts, petals, bolts...) is pagefx.js.
   ===================================================================== */
.cr-page > * { position: relative; z-index: 1; }
.cr-ig .cr-hero { justify-items: stretch; text-align: left; gap: 8px; margin-top: -46px; }
.cr-ig-top { display: flex; align-items: flex-end; gap: 16px; }
.cr-ring { flex: none; padding: 3px; border-radius: 50%; background: conic-gradient(from var(--ring-a, 0deg), var(--c-a), var(--c-b), var(--c-c), var(--c-a)); animation: ring-turn 6s linear infinite; }
@property --ring-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ring-turn { to { --ring-a: 360deg; } }
.cr-ig .cr-ring .cr-photo { display: grid; place-items: center; width: 92px; height: 92px; border: 3px solid var(--c-bg); box-shadow: none; font: 800 36px var(--sans); }
.cr-stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding-bottom: 10px; text-align: center; }
.cr-stat b { display: block; font: 750 19px var(--sans); color: var(--c-fg); }
.cr-stat span { font-size: 12px; color: var(--c-dim); }
.cr-ig .cr-name { font-size: 1.3rem; margin: 6px 0 0; }
.cr-og { margin-left: 6px; font-size: 0.9em; background: linear-gradient(90deg, var(--c-a), var(--c-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cr-ig .cr-links { justify-content: flex-start; }
.cr-ig .cr-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cr-ig .cr-acts .btn { width: 100%; }
.cr-tabs { position: relative; display: flex; margin: 10px -18px 2px; border-top: 1px solid var(--c-line); }
.cr-tabs button { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 12px 4px; border: 0; background: none; color: var(--c-dim); font: 600 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: color 0.25s; }
.cr-tabs button.on { color: var(--c-fg); }
.cr-tabs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cr-tabline { position: absolute; top: -1px; height: 2px; left: calc(100% / var(--of, 4) * var(--n, 0)); width: calc(100% / var(--of, 4)); background: linear-gradient(90deg, var(--c-a), var(--c-b)); transition: left 0.35s var(--ease); }
.cr-tab { animation: pane-in 0.35s var(--ease) both; padding-top: 8px; }
.cr-gal-tag { display: inline-flex; align-items: center; gap: 4px; }
.cr-gal-tag svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; }
@media (max-width: 420px) { .cr-tabs button span { display: none; } .cr-stat b { font-size: 17px; } }

/* tiles: two across; wide and big take the row, half sits side by side; each may have its own colour */
.cr-tiles { grid-template-columns: 1fr 1fr; }
.cr-tiles > * { grid-column: span 2; min-width: 0; }
.cr-tiles > .z-half { grid-column: span 1; }
.cr-tiles > .cr-link.z-half { padding: 14px 10px; }
.cr-tiles > .cr-link.z-big { padding: 30px 18px; }
.cr-tiles > .cr-link.z-big span { font-size: 19px; }
.cr-tiles > .cr-text.z-big { font-size: 18px; }
.cr-page .cr-tile[class*=' tc-'] { border-color: var(--t-edge); background: var(--t-bg); color: var(--t-fg); }
.cr-page .cr-tile[class*=' tc-'] i, .cr-page .cr-tile[class*=' tc-'] .cr-cap { color: color-mix(in srgb, var(--t-fg) 65%, transparent); }
.cr-page .cr-text.cr-tile[class*=' tc-'], .cr-page .cr-block.cr-tile[class*=' tc-'] { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--t-edge); }
.tc-pink { --t-bg: linear-gradient(135deg, #ffd1e8, #ffb3d6); --t-fg: #5a1840; --t-edge: #ff8cc6; }
.tc-lilac { --t-bg: linear-gradient(135deg, #e6dcff, #cdb8ff); --t-fg: #35206b; --t-edge: #a98bff; }
.tc-mint { --t-bg: linear-gradient(135deg, #d4fbe8, #aef0d0); --t-fg: #134a33; --t-edge: #5fd6a2; }
.tc-sky { --t-bg: linear-gradient(135deg, #d6efff, #aedcff); --t-fg: #123d63; --t-edge: #5db5f5; }
.tc-peach { --t-bg: linear-gradient(135deg, #ffe4d1, #ffc7a6); --t-fg: #5e2b12; --t-edge: #ff9f6b; }
.tc-lemon { --t-bg: linear-gradient(135deg, #fff6c2, #ffe680); --t-fg: #574500; --t-edge: #f2c200; }
.tc-cherry { --t-bg: linear-gradient(135deg, #ff4d6d, #c9184a); --t-fg: #fff; --t-edge: #ff8fa3; }
.tc-ink { --t-bg: linear-gradient(135deg, #1b1b22, #0b0b10); --t-fg: #f4f4f8; --t-edge: #3a3a48; }
.tc-glass { --t-bg: #ffffff22; --t-fg: var(--c-fg); --t-edge: #ffffff55; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* the style picker: a little swatch of each style */
.pg-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin: 4px 0 10px; }
.pg-sw { display: grid; gap: 6px; justify-items: center; padding: 10px 6px 8px; border-radius: 14px; border: 2px solid transparent; background: var(--c-bg); color: var(--c-fg); font: 600 11px var(--sans, system-ui); cursor: pointer; box-shadow: inset 0 0 0 1px var(--c-line); transition: transform 0.18s var(--ease), border-color 0.2s; animation: row-in 0.35s var(--ease) both; }
.pg-sw i { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--c-a), var(--c-b), var(--c-c), var(--c-a)); box-shadow: 0 0 14px color-mix(in srgb, var(--c-a) 50%, transparent); }
.pg-sw:hover { transform: translateY(-2px); }
.pg-sw.on { border-color: var(--c-a); transform: scale(1.04); }
.bl-sel { width: auto !important; max-width: 92px; height: 30px; padding: 0 6px !important; font-size: 12px !important; }
.li.bl .cta { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
@media (prefers-reduced-motion: reduce) { .cr-ring, .pg-sw { animation: none; } }
/* a creator's page fills the screen from the top: no gap above it */
body.app .view[data-view="profile"] { padding-top: 6px; }

/* =====================================================================
   CREATOR PAGES, SOFT AND MINIMAL (2026-11-20). Mix and match: a colour (7 soft, 6 dark), a faint pattern, one of
   four card types, and colours that may drift slowly. The words and cards stay the wallet's own; nothing busy behind.
   ===================================================================== */
.bg-cloud { --g1: #f4f8ff; --g2: #eaf1fc; --g3: #f7f3ff; --c-a: #7aa7ff; --c-b: #c3a6ff; --c-pat: #9db7e6; }
.bg-blush { --g1: #fff5f8; --g2: #ffe8ef; --g3: #fff5ef; --c-a: #ff8fb3; --c-b: #ffc2d4; --c-pat: #f2a3bc; }
.bg-lilac { --g1: #f7f3ff; --g2: #ebe4ff; --g3: #faf1ff; --c-a: #9f8bff; --c-b: #d4c4ff; --c-pat: #b8a6ef; }
.bg-mint { --g1: #f2fbf6; --g2: #e2f6ec; --g3: #f6fbf0; --c-a: #3fbf88; --c-b: #a6e6c8; --c-pat: #8fd2b0; }
.bg-peach { --g1: #fff7f0; --g2: #ffe9da; --g3: #fff3f1; --c-a: #ff9461; --c-b: #ffc9a8; --c-pat: #f0b08b; }
.bg-sky { --g1: #f1f8ff; --g2: #e0f0fe; --g3: #f3fbff; --c-a: #4aa8ec; --c-b: #a9d8fb; --c-pat: #98c4ea; }
.bg-cream { --g1: #fffcf5; --g2: #faf3e4; --g3: #fffaf1; --c-a: #c39a4d; --c-b: #e8d3a3; --c-pat: #d8c497; }
.bg-noir { --g1: #0c0c0f; --g2: #16161c; --g3: #0e0e12; --c-a: #f2f2f5; --c-b: #9a9aa6; --c-pat: #ffffff; --c-on: #0c0c0f; }
.bg-crimson { --g1: #120709; --g2: #210a10; --g3: #0d0607; --c-a: #ff3b4f; --c-b: #ff8a95; --c-pat: #ff3b4f; }
.bg-midnight { --g1: #0a0f1c; --g2: #101a34; --g3: #0a1020; --c-a: #6ea8ff; --c-b: #a9c8ff; --c-pat: #6ea8ff; }
.bg-plum { --g1: #120a18; --g2: #1f112b; --g3: #110a17; --c-a: #c084fc; --c-b: #f0abfc; --c-pat: #c084fc; }
.bg-forest { --g1: #08120d; --g2: #0f1f17; --g3: #08110c; --c-a: #4ade80; --c-b: #a7f3d0; --c-pat: #4ade80; --c-on: #062012; }
.bg-gold { --g1: #0d0b07; --g2: #19140b; --g3: #0c0a06; --c-a: #e8c26a; --c-b: #f5dfa3; --c-pat: #e8c26a; --c-on: #1a1408; }

.cr-page.cr-soft { --c-fg: #2b2236; --c-dim: #7a6f88; --c-card: #ffffffb3; --c-line: #2b22361a; --c-surface: #ffffff; --pat-o: 0.32; --c-c: var(--c-b);
	background: linear-gradient(160deg, var(--g1), var(--g2) 50%, var(--g3)); color: var(--c-fg); box-shadow: 0 24px 60px -42px #2b223666, inset 0 0 0 1px var(--c-line); }
.cr-page.cr-soft.dark { --c-fg: #f3f0f7; --c-dim: #a7a2b2; --c-card: #ffffff0d; --c-line: #ffffff17; --c-surface: #ffffff0f; --pat-o: 0.07; box-shadow: 0 24px 60px -36px #000, inset 0 0 0 1px var(--c-line); }
.cr-page.cr-soft::after { display: none; }
.cr-page.cr-soft::before { background: none; }
.cr-page.cr-soft:not(.pat-none)::before { background: var(--c-pat); opacity: var(--pat-o); -webkit-mask: var(--pat) 0 0 / var(--pat-s) repeat; mask: var(--pat) 0 0 / var(--pat-s) repeat; }
.cr-page.cr-soft.move { background-size: 260% 260%; animation: cr-drift 22s ease-in-out infinite alternate; }
@keyframes cr-drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
/* the patterns: simple shapes, very faint */
.pat-dots { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='9' cy='9' r='1.4'/%3E%3C/svg%3E"); --pat-s: 18px 18px; }
.pat-hearts { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M12 16c-2.5-2.5-6.5.8-3.4 4l3.4 3.4 3.4-3.4c3.1-3.2-.9-6.5-3.4-4z'/%3E%3Cpath d='M34 36c-1.8-1.8-4.6.6-2.4 2.8l2.4 2.4 2.4-2.4c2.2-2.2-.6-4.6-2.4-2.8z'/%3E%3C/svg%3E"); --pat-s: 44px 44px; }
.pat-stars { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M10 4l1.4 4.6L16 10l-4.6 1.4L10 16l-1.4-4.6L4 10l4.6-1.4z'/%3E%3Cpath d='M30 25l.9 2.6 2.6.9-2.6.9-.9 2.6-.9-2.6-2.6-.9 2.6-.9z'/%3E%3C/svg%3E"); --pat-s: 40px 40px; }
.pat-clouds { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='64'%3E%3Cpath d='M18 26a7 7 0 0 1 13-3 6 6 0 0 1 10 5H14a4 4 0 0 1 4-2z'/%3E%3Cpath d='M64 54a6 6 0 0 1 11-2.6 5 5 0 0 1 8.5 4.2H61a3.5 3.5 0 0 1 3-1.6z'/%3E%3C/svg%3E"); --pat-s: 96px 64px; }
.pat-grid { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Cpath d='M0 .5h26M.5 0v26' stroke='%23000' fill='none'/%3E%3C/svg%3E"); --pat-s: 26px 26px; }
.pat-waves { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16'%3E%3Cpath d='M0 8c5-5 15-5 20 0s15 5 20 0' stroke='%23000' stroke-width='1.3' fill='none'/%3E%3C/svg%3E"); --pat-s: 40px 16px; }
.pat-checks { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Crect width='14' height='28' fill-opacity='.5'/%3E%3Crect width='28' height='14' fill-opacity='.5'/%3E%3C/svg%3E"); --pat-s: 28px 28px; }

/* the words: the wallet's own, calm (no glows) */
.cr-soft .cr-name { text-shadow: none; letter-spacing: 0; }
.cr-soft .cr-name::before, .cr-soft .cr-name::after { content: none !important; }
.cr-soft .cr-photo { box-shadow: none !important; }
.cr-soft .cr-ring { padding: 2.5px; animation-duration: 14s; }
.cr-soft .cr-letter { background: linear-gradient(135deg, var(--c-a), var(--c-b)); color: var(--c-on, #fff); }
.cr-soft .cr-banner-none { display: block; height: 90px; background: none; }
.cr-soft .btn.primary { color: var(--c-on, #fff); background: linear-gradient(100deg, var(--c-a), color-mix(in srgb, var(--c-a) 70%, var(--c-b))); text-shadow: none; }
.cr-soft .cr-glow { animation: none !important; box-shadow: 0 10px 24px -14px var(--c-a); }
.cr-soft .cr-acts .cr-glow { animation: crup 0.5s 0.1s both !important; }
.cr-soft .cr-bar i { background: linear-gradient(90deg, var(--c-a), var(--c-b)); box-shadow: none; }
.cr-soft .cr-gal-ed { background: var(--c-a); color: var(--c-on, #fff); }

/* four card types, for links, items, goal, pin, socials, supporters and buttons */
.cr-soft :is(.cr-link, .cr-item, .cr-goal, .cr-pin, .cr-sup-one, .cr-soc, .cr-text.cr-tile, .btn:not(.primary)) { transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s; }
.cr-soft.card-glass :is(.cr-link, .cr-item, .cr-goal, .cr-pin, .cr-sup-one, .cr-soc, .btn:not(.primary)) { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cr-soft.card-solid :is(.cr-link, .cr-item, .cr-goal, .cr-pin, .cr-sup-one, .cr-soc, .btn:not(.primary)) { background: var(--c-surface); border: 1px solid transparent; border-radius: 18px; box-shadow: 0 8px 22px -16px #0005; }
.cr-soft.card-outline :is(.cr-link, .cr-item, .cr-goal, .cr-pin, .cr-sup-one, .cr-soc, .btn:not(.primary)) { background: transparent; border: 1.5px solid color-mix(in srgb, var(--c-fg) 22%, transparent); border-radius: 14px; box-shadow: none; }
.cr-soft.card-round :is(.cr-link, .cr-item, .cr-goal, .cr-pin, .cr-sup-one, .btn:not(.primary)) { background: color-mix(in srgb, var(--c-a) 13%, var(--c-surface)); border: 1px solid transparent; border-radius: 26px; }
.cr-soft.card-round .cr-link, .cr-soft.card-round .btn { border-radius: 999px; }
.cr-soft.card-round .cr-soc { background: color-mix(in srgb, var(--c-a) 13%, var(--c-surface)); border: 1px solid transparent; }
.cr-soft .cr-link:hover, .cr-soft .cr-item:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c-a) 50%, transparent); box-shadow: 0 12px 26px -18px var(--c-a); }
.cr-soft .cr-link i, .cr-soft .cr-kind { color: var(--c-dim); }

/* socials: round icons, with followers */
.cr-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-soc { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 7px; border-radius: 999px !important; color: var(--c-fg); text-decoration: none; font: 600 12.5px var(--sans); }
.cr-soc svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: color-mix(in srgb, var(--c-a) 18%, transparent); color: var(--c-a); fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.cr-soc span { display: inline-flex; gap: 5px; align-items: baseline; }
.cr-soc i { font: 600 11px var(--mono); font-style: normal; color: var(--c-dim); }
.cr-soc:hover { transform: translateY(-1px); }

/* a pinned support */
.cr-pin { margin: 4px 0 12px; padding: 12px 14px; }
.cr-pin-h { font: 600 10.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-a); }
.cr-pin p { margin: 4px 0 0; }
.cr-pin-msg { font-size: 15px; line-height: 1.45; }

/* the look picker in the studio */
.pg-sw { background: linear-gradient(160deg, var(--g1), var(--g3)); color: #2b2236; box-shadow: inset 0 0 0 1px #2b22361a; }
.pg-sw.dark { color: #f3f0f7; box-shadow: inset 0 0 0 1px #ffffff1a; }
.pg-sw i { background: linear-gradient(135deg, var(--c-a), var(--c-b)); box-shadow: none; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.pg-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--edge, #0002); background: none; color: var(--fg); font: 500 12px var(--sans, system-ui); cursor: pointer; transition: border-color 0.2s, transform 0.15s; }
.pg-chip.on { border-color: #8b5cff; box-shadow: 0 0 0 1px #8b5cff inset; }
.pg-chip:active { transform: scale(0.96); }
.pg-chip > i { width: 24px; height: 24px; border-radius: 50%; background: #8b5cff; -webkit-mask: var(--pat, none) 0 0 / var(--pat-s, auto) repeat; mask: var(--pat, none) 0 0 / var(--pat-s, auto) repeat; opacity: 0.7; }
.pg-chip > i.pat-none { -webkit-mask: none; mask: none; background: none; border: 1.5px dashed #8b5cff80; opacity: 1; }
.pg-chip > i.pg-card { -webkit-mask: none; mask: none; opacity: 1; width: 26px; height: 18px; border-radius: 5px; background: #8b5cff22; border: 1px solid #8b5cff55; }
.pg-chip > i.card-solid { background: #fff; border-color: transparent; box-shadow: 0 2px 6px #0003; }
.pg-chip > i.card-outline { background: none; border: 1.5px solid #8b5cff; }
.pg-chip > i.card-round { border-radius: 99px; background: #8b5cff33; border-color: transparent; }
@media (prefers-reduced-motion: reduce) { .cr-page.cr-soft.move { animation: none; } }
.cr-soft.cr-ig .cr-ring .cr-photo { border-color: var(--g1); }
.cr-page.cr-soft { --c-bg: var(--g1); }
.pp-zero { margin: 14px 0 0; font-size: 12.5px; color: var(--dim); }
.pp-zero b { color: #0ecb81; font-weight: 700; }

/* offline: the installed wallet opened with what this device kept (app.js offlineNote) */
.offline-note { margin: 12px 0 6px; padding: 10px 14px 10px 34px; position: relative; border-radius: 14px; background: color-mix(in srgb, var(--ink2, #5d5669) 9%, transparent); font: 400 12px/1.55 var(--mono); color: var(--ink2); }
.offline-note::before { content: ''; position: absolute; left: 14px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber, #c77a00); }
/* the install card (home deck): the app's own icon, what it is, one button */
#h-deck .install { justify-content: flex-start; }
#h-deck .install .inst-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1px var(--edge), 0 6px 14px -8px rgba(90, 70, 160, 0.45); }
#h-deck .install .inst-t { flex: 1; display: flex; flex-direction: column; gap: 1px; }
#h-deck .install .inst-t b { font: 600 13px/1.25 var(--sans); letter-spacing: 0; }
#h-deck .install .inst-t span { font-size: 12px; line-height: 1.35; color: var(--ink2); }
#h-deck .install.how .inst-t span { color: var(--fg); }
#h-deck .install .deck-btns .btn { min-width: 84px; }

/* Use with apps (apps.js) */
.apps-steps { margin: 4px 0 14px; padding-left: 20px; font-size: 13px; line-height: 1.5; color: var(--ink2); }
.apps-steps li { margin: 3px 0; }
.apps-uri { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.apps-uri input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12px; }
.wc-app, .wc-s { display: flex; align-items: center; gap: 12px; }
.wc-app { margin: 6px 0 12px; }
.wc-app img, .wc-s img, .wc-noicon { width: 40px; height: 40px; border-radius: 11px; flex: none; object-fit: cover; box-shadow: 0 0 0 1px var(--edge); }
.wc-noicon { display: grid; place-items: center; font: 600 16px var(--mono); color: var(--ink2); }
.wc-app > span, .wc-s > span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.wc-app b, .wc-s b { font-weight: 600; }
.wc-app i, .wc-s i { font-style: normal; font-size: 12px; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; }
.wc-ok { font: 500 11px var(--mono); color: #2f9e62; }
.wc-bad { font: 600 11px var(--mono); color: #d23b2f; }
.wc-lines p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.45; }
.wc-lines p.wc-raw { white-space: pre-wrap; word-break: break-word; max-height: 180px; overflow: auto; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ink2, #5d5669) 8%, transparent); font: 400 11px/1.5 var(--mono); }
#wcask.danger .sheet-h h2 { color: #d23b2f; }
#wcask-warn p { margin: 0 0 4px; }
#wcask-pinrow { margin: 8px 0 10px; }
.wc-cam { position: relative; margin: 0 0 10px; border-radius: 14px; overflow: hidden; background: #000; }
.wc-cam video { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.wc-cam [data-cam-stop] { position: absolute; right: 10px; bottom: 10px; }
.scanbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#scan .wc-cam { margin-top: 4px; }
.scan-pic { margin: 4px 0 6px; cursor: pointer; }
.co-qrmode { display: flex; justify-content: center; gap: 6px; margin: 10px 0 2px; }
.co-qrmode button { height: 28px; padding: 0 12px; border: 1px solid var(--edge); border-radius: 14px; background: none; color: var(--ink2); font: 500 10.5px var(--mono); letter-spacing: 0.06em; cursor: pointer; }
.co-qrmode button.on { background: var(--fg); border-color: var(--fg); color: var(--bg, #fff); }
.co-qrnote { margin: 4px auto 10px; max-width: 340px; text-align: center; font-size: 12px; line-height: 1.45; color: var(--ink2); }
.send-from { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; }
.send-from label { margin: 0; flex: none; font: 500 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink2); }
.send-from select { flex: 1; min-width: 0; }
.send-speed { margin: 2px 0 10px; }
.send-speed .seg { grid-template-columns: 1fr 1fr 1fr; margin: 0 0 6px; }
.send-speed .seg button { height: 32px; }
#send-fee { display: block; min-height: 1.2em; }

/* How it pays (earn.js charts) */
#ec-box { display: grid; gap: 12px; }
.ec { padding: 16px 16px 12px; border-radius: 20px; background: var(--pane, #ffffff8c); border: 1px solid var(--pane-edge, #1c16281f); }
.ec > b { display: block; font: 400 1.15rem/1.2 var(--serif); margin-bottom: 4px; }
.ec-chart { margin-top: 8px; }
.ec-chart .chart, .ec-svg { width: 100%; height: auto; display: block; overflow: visible; }
.ec-chart .chart { height: 160px; }
.ec-v { font: 600 12px var(--mono); fill: currentColor; }
.ec-k { font: 400 11px var(--mono); fill: currentColor; opacity: 0.6; }
.ec-mark { stroke: currentColor; stroke-opacity: 0.3; stroke-dasharray: 3 4; }

/* ---------- the page builder (studio.js, 2026-11-21): the page itself, tap to change, hold to move, + to add ---------- */
.st-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0 4px; }
.st-bar .cr-url { font: 600 14px var(--sans); color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.st-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.st-btns .btn { height: 34px; padding: 0 12px; }
.st-tip { margin: 4px 0 10px; font-size: 12.5px; color: var(--dim); text-align: center; }
.st-tip b { color: var(--fg); }
.st-canvas { max-width: 480px; margin: 0 auto; }
.st-canvas .cr-page { margin: 0; border-radius: 26px; min-height: 60vh; padding-bottom: 90px; }
.st-add { position: fixed; z-index: 31; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 8px; padding: 14px 26px; border: 0; border-radius: 99px; font: 650 16px var(--sans); color: #fff; cursor: pointer;
	background: linear-gradient(135deg, #8b5cff, #ff2bd6); box-shadow: 0 14px 34px -12px #8b5cffcc, inset 0 1px 0 #ffffff55; transition: transform 0.15s; }
.st-add span { font-size: 22px; line-height: 1; }
.st-add:active { transform: translateX(-50%) scale(0.94); }
body:has([data-view="store"].on .pane[data-pane="page"]:not([hidden]) #st-wrap:not([hidden])):not(:has(.sheet:not([hidden]))) > .st-add { display: inline-flex; }
[data-view="store"]:has(.pane[data-pane="page"]:not([hidden])) .post-fab { display: none !important; }
@media (min-width: 761px) { .st-add { bottom: 32px; } }
.st-msg { position: fixed; z-index: 70; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -160%); max-width: min(92vw, 420px); margin: 0; padding: 10px 16px; border-radius: 99px; background: #16121cee; color: #fff !important; font-size: 13.5px; box-shadow: 0 10px 30px -10px #000a; transition: transform 0.3s ease; pointer-events: none; }
.st-msg.on { transform: translate(-50%, 0); }
/* off, or with nothing to say, it is not there at all (a moving page could otherwise bring an empty capsule into view) */
.st-msg:not(.on), .st-msg:empty { visibility: hidden; transition: transform 0.3s ease, visibility 0s 0.3s; }
.st-msg.err { background: #b3261eee; }
.st-more { margin: 22px auto 120px; max-width: 480px; }
.st-more > summary { cursor: pointer; }

/* edit mode: each block is a tap target; a held one lifts and follows the finger */
.cr-edit { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.cr-edit img, .cr-edit a { -webkit-user-drag: none; -webkit-touch-callout: none; }
.cr-edit .cr-frame iframe, .cr-edit video { pointer-events: none; }
.cr-edit .bk { position: relative; border-radius: 18px; outline: 1.5px dashed transparent; outline-offset: 4px; transition: outline-color 0.2s, transform 0.18s, box-shadow 0.18s; cursor: pointer; min-width: 0; }
.cr-edit .bk > * { margin: 0; }
.cr-edit .bk:hover { outline-color: color-mix(in srgb, var(--c-a) 60%, transparent); }
.cr-edit .bk:active { transform: scale(0.985); }
.cr-edit .bk.lift { z-index: 5; transform: scale(1.04); outline-color: var(--c-b); box-shadow: 0 24px 50px -18px #000c; }
.st-canvas.dragging { touch-action: none; }
.st-canvas.dragging .bk:not(.lift) { opacity: 0.7; }
.cr-tiles > .bk { grid-column: span 2; }
.cr-tiles > .bk.z-half { grid-column: span 1; }
.cr-tiles > .bk > .cr-tile { height: 100%; box-sizing: border-box; }
.cr-edit [data-bk="head"] { position: relative; border-radius: 22px; outline: 1.5px dashed color-mix(in srgb, var(--c-dim) 45%, transparent); outline-offset: 6px; cursor: pointer; }
.bk-pen { position: absolute; top: 8px; right: 8px; padding: 3px 9px; border: 1px solid var(--c-line); border-radius: 99px; font: 600 10.5px var(--sans); background: var(--c-card); color: var(--c-dim); pointer-events: none; }
.bk-empty { display: grid; gap: 6px; margin: 18px 0; padding: 26px 18px; border-radius: 20px; border: 1.5px dashed var(--c-line); text-align: center; color: var(--c-dim); }
.bk-empty b { color: var(--c-fg); font-size: 16px; }
.bk-empty i { font-style: normal; font-weight: 700; color: var(--c-fg); }

/* the new blocks */
.cr-blocks { margin-top: 4px; }
.cr-card { display: grid; gap: 10px; padding: 16px; border-radius: 18px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-fg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); min-width: 0; }
.cr-card-h { font: 650 16px var(--sans); }
.cr-card .cr-h { margin: 0; }
.cr-card .cr-tips { margin: 0; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-chips .chip { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--c-line); background: transparent; color: var(--c-fg); font: 600 14px var(--sans); cursor: pointer; }
.cr-card textarea, .cr-card input { width: 100%; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--c-line); background: color-mix(in srgb, var(--c-fg) 5%, transparent); color: var(--c-fg); padding: 10px 12px; font: 15px var(--sans); }
.cr-subrow { display: flex; gap: 8px; }
.cr-subrow input { flex: 1; min-width: 0; height: 44px; }
.cr-subrow .btn { flex: none; }
.cr-sub .msg a { color: inherit; font-weight: 700; }
.cr-file { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-fg); text-decoration: none; min-width: 0; }
.cr-file-ic { flex: none; display: grid; place-items: center; width: 44px; height: 52px; border-radius: 10px; background: color-mix(in srgb, var(--c-b) 22%, transparent); }
.cr-file-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cr-file b { display: block; font: 600 15px var(--sans); }
.cr-file i { font: 400 11.5px var(--mono); font-style: normal; color: var(--c-dim); }
.cr-vid { width: 100%; border-radius: 16px; background: #000; display: block; max-height: 80vh; }
.cr-img.r-45 { aspect-ratio: 4 / 5; object-fit: cover; }
.cr-img.r-11 { aspect-ratio: 1; object-fit: cover; }
.cr-img.r-169 { aspect-ratio: 16 / 9; object-fit: cover; }
.cr-imgbtn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.cr-shopb { min-width: 0; }
.cr-v2 .cr-item.big img { aspect-ratio: 4 / 5; }

/* the + sheet and a block's options */
.bk-addsheet .kick { margin: 14px 0 8px; }
.bk-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk-type { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--pane-edge, var(--edge)); background: color-mix(in srgb, var(--fg) 3%, transparent); color: var(--fg); text-align: left; cursor: pointer; font: inherit; min-width: 0; }
.bk-type:active { transform: scale(0.97); }
.bk-ic { grid-row: span 2; font-size: 22px; line-height: 1; }
.bk-type b { font-size: 14px; }
.bk-type i { font-style: normal; font-size: 11.5px; color: var(--dim); line-height: 1.3; }
.bk-editsheet label { display: block; margin-top: 12px; }
.bk-pick { margin: 10px 0 4px; }
.bk-drop { display: grid; place-items: center; width: min(100%, 300px); margin: 0 auto; border-radius: 16px; border: 1.5px dashed var(--edge); overflow: hidden; cursor: pointer; background: color-mix(in srgb, var(--fg) 4%, transparent); }
.bk-drop.r-45 { aspect-ratio: 4 / 5; }
.bk-drop.r-11 { aspect-ratio: 1; }
.bk-drop.r-169 { aspect-ratio: 16 / 9; }
.bk-drop img { width: 100%; height: 100%; object-fit: cover; }
.bk-drop span { display: grid; gap: 4px; text-align: center; color: var(--dim); font-size: 14px; }
.bk-drop span b { font-size: 34px; font-weight: 300; color: var(--fg); }
.bk-drop.busy { opacity: 0.6; }
.bk-seg { display: flex !important; margin: 10px 0 4px; }
.bk-seg button { flex: 1; }
.bk-colors { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.bk-col { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--edge); background: var(--t-bg, conic-gradient(from 0deg, #ffd1e8, #e6dcff, #d4fbe8, #fff6c2, #ffd1e8)); cursor: pointer; }
.bk-col.on { outline: 2.5px solid var(--fg); outline-offset: 2px; }
.bk-look .kick { margin-top: 14px; }
.bk-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.bk-kinds button { display: grid; gap: 2px; padding: 10px; border-radius: 12px; border: 1px solid var(--edge); background: transparent; color: var(--fg); text-align: left; cursor: pointer; font: inherit; }
.bk-kinds button.on { border-color: transparent; background: var(--foil, #e9e0ff); color: #16121c; }
.bk-kinds b { font-size: 13.5px; }
.bk-kinds i { font-style: normal; font-size: 11px; opacity: 0.75; }
.bk-pdf { display: flex; gap: 8px; align-items: center; }
.bk-pdf input { flex: 1; min-width: 0; }
.bk-pdfbtn { margin-top: 6px; }
.bk-item { display: flex; gap: 12px; align-items: center; }
.bk-item img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.bk-item i { display: block; font-style: normal; color: var(--dim); }
.bk-editsheet #bk-save { margin-top: 18px; }
.bk-actions { display: flex; gap: 8px; margin-top: 10px; }
.bk-actions .btn { flex: 1; }
.btn.danger { color: #d93a3a; }

/* a tile's own colour wins over the page's card style (glass, solid, outline) */
.cr-page.cr-page .cr-tile[class*=' tc-'] { border-color: var(--t-edge); background: var(--t-bg); color: var(--t-fg); }
.cr-page.cr-page .cr-tile[class*=' tc-'] :is(i, .cr-dim, .cr-card-h) { color: inherit; }
.cr-page.cr-page .cr-card :is(input, textarea) { background: color-mix(in srgb, var(--c-fg) 5%, transparent); color: var(--c-fg); border: 1px solid var(--c-line); box-shadow: none; }
.cr-page .cr-card .msg:empty { display: none; }
/* a picture for sale, on its own: big, in 4:5, like a post */
.cr-v2 .cr-block > .cr-item.big:has(img) { grid-template-columns: 1fr; }
.cr-v2 .cr-block > .cr-item.big:has(img) img { grid-row: auto; width: 100%; height: auto; aspect-ratio: 4 / 5; }

/* pictures as posts in a row you swipe (2026-11-21): small 4:5 cards, each with its own button, Buy on the ones for sale */
.cr-rail, .cr-socrail { grid-column: 1 / -1; display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cr-rail::-webkit-scrollbar, .cr-socrail::-webkit-scrollbar { display: none; }
.cr-rail > * { flex: 0 0 min(58%, 220px); scroll-snap-align: start; min-width: 0; }
.cr-post { display: flex; flex-direction: column; height: 100%; border-radius: 16px; overflow: hidden; background: var(--c-card); border: 1px solid var(--c-line); box-sizing: border-box; }
.cr-post .cr-imgbtn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #0002; cursor: pointer; }
.cr-post img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cr-post-b { display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; padding: 8px 10px 10px; }
.cr-post-b p { margin: 0; font-size: 13px; line-height: 1.3; color: var(--c-fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cr-post-btn { display: grid; place-items: center; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--c-line); background: transparent; color: var(--c-fg); font: 600 12.5px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-post-btn.buy { border: 0; color: #fff; background: linear-gradient(135deg, #8b5cff, #ff2bd6); box-shadow: 0 8px 18px -10px #ff2bd6; }
.cr-post .cr-gal-tag, .cr-post .cr-gal-ed { font-size: 11px; }
.cr-edit .cr-rail > .bk { flex: 0 0 min(58%, 220px); }
.cr-edit .bk-post > .cr-post { height: 100%; }

/* socials as cards: the platform's colours, the @name, followers, one button */
.cr-socs { grid-column: 1 / -1; min-width: 0; }
.cr-socs .cr-h { margin: 6px 0 8px; }
.cr-sc { flex: 0 0 min(44%, 180px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 12px; border-radius: 18px; color: #fff; text-decoration: none; background: var(--sc, linear-gradient(135deg, var(--c-b), var(--c-c))); box-shadow: 0 12px 26px -16px #0009, inset 0 1px 0 #ffffff33; min-width: 0; box-sizing: border-box; }
.cr-sc svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cr-sc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cr-sc-top b { font: 650 14px var(--sans); }
.cr-sc-h { font: 500 12.5px var(--mono); opacity: 0.92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-sc-f { font-size: 12px; opacity: 0.9; }
.cr-sc-f b { font: 700 19px var(--sans); }
.cr-sc-go { align-self: flex-start; margin-top: 6px; padding: 6px 14px; border-radius: 99px; background: #ffffff30; font: 650 12px var(--sans); }
.cr-sc:active { transform: scale(0.97); }
.so-instagram { --sc: linear-gradient(140deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5); }
.so-youtube { --sc: linear-gradient(140deg, #ff3b3b, #c4001a); }
.so-tiktok { --sc: linear-gradient(140deg, #111 55%, #25f4ee 80%, #fe2c55); }
.so-x, .so-threads { --sc: linear-gradient(140deg, #2a2a2e, #000); }
.so-twitch { --sc: linear-gradient(140deg, #a970ff, #6441a5); }
.so-discord { --sc: linear-gradient(140deg, #7983f5, #5865f2); }
.so-spotify { --sc: linear-gradient(140deg, #1ed760, #0f8a3c); }
.so-soundcloud { --sc: linear-gradient(140deg, #ff8800, #ff3300); }
.so-facebook { --sc: linear-gradient(140deg, #3b8cff, #1559c9); }
.so-snapchat { --sc: linear-gradient(140deg, #fffc00, #ffd400); }
.so-kick { --sc: linear-gradient(140deg, #53fc18, #2bb800); }
.cr-sc.so-snapchat, .cr-sc.so-kick { color: #111; }
.so-github { --sc: linear-gradient(140deg, #3d444d, #1b1f24); }
.so-linkedin { --sc: linear-gradient(140deg, #2d8ae6, #0a66c2); }
.so-patreon { --sc: linear-gradient(140deg, #ff6a70, #e8323a); }
.bk-soc { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.bk-soc input[data-soc-u] { flex: 1; min-width: 0; }
.bk-soc input[data-soc-f] { flex: 0 0 92px; }
.bk-soc .x { flex: none; }
#bf-soc-add { margin-top: 10px; }

/* minimal pass (2026-11-21): quiet cards, thin icons, one accent; colour comes from the creator's pictures, not the chrome */
.cr-sc { flex: 0 0 min(42%, 170px); gap: 2px; padding: 12px 14px; border-radius: 16px; color: var(--c-fg); background: var(--c-card); border: 1px solid var(--c-line); box-shadow: none; }
.cr-sc.cr-sc { color: var(--c-fg); }
.cr-sc svg { width: 16px; height: 16px; stroke-width: 1.6; opacity: 0.75; }
.cr-sc-top { gap: 6px; margin-bottom: 6px; font: 500 11.5px var(--sans); color: var(--c-dim); }
.cr-sc-top span { flex: 1; }
.cr-sc-top i { font-style: normal; opacity: 0.5; }
.cr-sc-h { font: 600 14px var(--sans); opacity: 1; }
.cr-sc-f { font-size: 11.5px; color: var(--c-dim); opacity: 1; }
.cr-sc:hover { border-color: color-mix(in srgb, var(--c-fg) 30%, transparent); }

.cr-post { border-radius: 14px; }
.cr-post-b { gap: 4px; padding: 8px 10px 10px; }
.cr-post-b p { font-size: 13px; font-weight: 500; }
.cr-post-ed { font: 500 11px var(--sans); color: var(--c-dim); }
.cr-post-btn { height: 32px; margin-top: 4px; border-radius: 8px; font: 600 12px var(--sans); letter-spacing: 0; }
.cr-post-btn.buy { background: var(--c-fg); color: var(--c-bg); box-shadow: none; }
.cr-verb { font-style: normal; font: 600 11px var(--sans); margin-left: 4px; padding: 2px 7px; border-radius: 99px; border: 1px solid var(--c-line); }

.bk-types { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--pane-edge, var(--edge)); border-radius: 14px; overflow: hidden; }
.bk-type { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--pane-edge, var(--edge)); border-radius: 0; background: transparent; }
.bk-type:last-child { border-bottom: 0; }
.bk-type b { grid-column: 1; font-weight: 600; }
.bk-type i { grid-column: 1; }
.bk-plus { grid-column: 2; grid-row: 1 / 3; align-self: center; font: 300 22px var(--sans); color: var(--dim); }
.bk-type:active { transform: none; background: color-mix(in srgb, var(--fg) 6%, transparent); }

.st-add { padding: 12px 22px; font: 600 15px var(--sans); color: #fff; background: var(--fg, #16121c); box-shadow: 0 10px 26px -12px #0008; }
:root[data-theme='dark'] .st-add { color: #16121c; background: #f3eefc; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .st-add { color: #16121c; background: #f3eefc; } }
.cr-v2 .cr-card .btn.primary { background: var(--c-fg); color: var(--c-bg); border: 0; box-shadow: none; letter-spacing: 0.08em; }
.cr-v2 .cr-card .btn.primary::before, .cr-v2 .cr-card .btn.primary::after { display: none; }
.cr-v2 .cr-file-ic { background: transparent; border: 1px solid var(--c-line); }

/* one-line tips (tips.js): small, friendly, never in the way */
.fun { position: relative; margin: 10px 0; padding: 9px 12px 9px 30px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; color: var(--dim); background: color-mix(in srgb, var(--fg) 4%, transparent); border: 1px dashed color-mix(in srgb, var(--fg) 14%, transparent); }
.fun::before { content: '💡'; position: absolute; left: 10px; top: 8px; font-size: 12px; filter: grayscale(0.3); }
.fun:empty, .fun[hidden] { display: none; }
.fun { transition: opacity 0.4s ease, transform 0.4s ease; }
.fun.fun-out { opacity: 0; transform: translateY(-4px); }
.st-tip.fun { text-align: left; max-width: 480px; margin: 6px auto 12px; }
.lockscreen .fun { margin-top: 14px; }

.co-vault { margin: 8px 0; padding: 9px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; color: var(--dim); border: 1px solid var(--edge); }
.co-vault a { color: inherit; font-weight: 600; }

.co-pair.off { opacity: 0.45; cursor: not-allowed; }
#st-sol code { font-size: 11px; overflow-wrap: anywhere; }

/* a visitor with no wallet: join, or pay from Binance or another wallet */
.join-card { display: grid; gap: 2px; margin: 4px 0 10px; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #8b5cff, #ff2bd6); box-shadow: 0 10px 24px -14px #8b5cff; }
.join-card b { font: 650 15.5px var(--sans); }
.join-card i { font-style: normal; font-size: 12px; opacity: 0.9; }
.pg-or { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; font-size: 12px; color: var(--dim); }
.pg-or::before, .pg-or::after { content: ''; flex: 1; height: 1px; background: var(--edge); }
.co-request { margin-bottom: 8px; }
.co-qrbox > summary { cursor: pointer; }

/* the payment, step by step (2026-11-22): one thing to read, one thing to tap */
#it-steps, #itemsheet .fun { display: none; }
.it-start { margin-top: 4px; height: 52px; font-size: 13px; }
.join-link { display: block; margin: 10px 0 2px; text-align: center; font-size: 12.5px; color: var(--dim); text-decoration: none; }
.join-link b { color: var(--fg); }
#it-body.it-small .it-cover { max-height: 120px; overflow: hidden; border-radius: 14px; }
#it-body.it-small .it-about, #it-body.it-small .it-share { display: none; }
.pm-h, .co-h { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; }
.pm-h b, .co-h b { font: 650 16px var(--sans); }
.co-back { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--edge); background: transparent; color: var(--fg); font-size: 20px; line-height: 1; cursor: pointer; }
.pm { display: grid; border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; }
.pm-row { display: flex; align-items: center; gap: 12px; padding: 14px; border: 0; border-bottom: 1px solid var(--edge); background: transparent; color: var(--fg); text-align: left; cursor: pointer; font: inherit; }
.pm-row:last-child { border-bottom: 0; }
.pm-row:active { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.pm-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--edge); font: 600 15px var(--sans); }
.pm-t { display: grid; flex: 1; gap: 1px; min-width: 0; }
.pm-t b { font: 600 15px var(--sans); }
.pm-t i { font-style: normal; font-size: 12px; color: var(--dim); }
.pm-go { font-size: 20px; color: var(--dim); }
.co-pairs { display: grid; gap: 0; border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; }
.co-pair { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--edge); border-radius: 0; background: transparent; text-align: left; }
.co-pair:last-child { border-bottom: 0; }
.co-pair b { grid-row: 1 / 3; align-self: center; min-width: 48px; }
.co-pair i { font-style: normal; font-size: 12px; color: var(--dim); }
.co-big { display: grid; justify-items: center; gap: 2px; width: 100%; margin: 4px 0 14px; padding: 16px; border: 1px solid var(--edge); border-radius: 16px; background: color-mix(in srgb, var(--fg) 3%, transparent); color: var(--fg); cursor: pointer; font: inherit; }
.co-big b { font: 700 30px var(--sans); letter-spacing: -0.01em; }
.co-big span { font: 600 14px var(--sans); }
.co-big i { font-style: normal; font-size: 12px; color: var(--dim); }
.co-note { margin: 8px 0; text-align: center; font-size: 13px; color: var(--dim); }
.co-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 6px 0 10px; }
#co-qr { display: grid; place-items: center; margin: 6px auto 0; padding: 10px; width: fit-content; border-radius: 14px; background: #fff; }
.co-to { display: flex; align-items: center; gap: 8px; margin: 12px 0 6px; }
.co-to span { font-size: 12px; color: var(--dim); }
.co-to code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.co-status { text-align: center; font-size: 12.5px; color: var(--dim); margin: 10px 0; }
.co-help { margin-top: 8px; border: 0 !important; background: none !important; box-shadow: none !important; }
.co-help > summary { text-align: center; font-size: 12.5px; color: var(--dim); cursor: pointer; list-style: none; text-decoration: underline; }
.co-steps { margin: 10px 0; padding-left: 20px; font-size: 13px; line-height: 1.7; }
.co-self { display: block; margin: 12px auto 0; font-size: 12.5px; }
.co-pairs { grid-template-columns: 1fr !important; }
.pm-h, .co-h { justify-content: flex-start !important; }
.co-h .linkbtn { margin-left: auto; }

/* the page's last section: recent purchases, then the Dznye banner */
.cr-recent { margin-top: 8px; }
.cr-rec { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--c-line); }
.cr-rec:last-child { border-bottom: 0; }
.cr-rec-t { display: grid; flex: 1; min-width: 0; }
.cr-rec-t b { font: 600 13.5px var(--sans); }
.cr-rec-t i { font-style: normal; font-size: 12px; color: var(--c-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-rec em { font-style: normal; font-size: 11px; color: var(--c-dim); flex: none; }
.cr-promo { display: grid; gap: 4px; margin: 18px 0 4px; padding: 16px; border-radius: 18px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #16121c, #3a2468); box-shadow: 0 12px 30px -18px #000c; }
.cr-promo-k { font: 600 10.5px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }
.cr-promo-l { font: 650 17px var(--sans); min-height: 1.3em; transition: opacity 0.35s, transform 0.35s; }
.cr-promo-l.out { opacity: 0; transform: translateY(-4px); }
.cr-promo-go { font: 600 12.5px var(--sans); color: #e9d8ff; }
.cr-post-btn.yours { background: transparent; border: 1px solid var(--c-fg); color: var(--c-fg); }

.cr-verify { display: grid; gap: 3px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid; }
.cr-verify.ok { border-color: #3fbf88; background: #3fbf8818; }
.cr-verify.no { border-color: #e5484d; background: #e5484d14; }
.cr-verify b { font: 650 14px var(--sans); }
.cr-verify span { font-size: 12.5px; color: var(--c-dim); }

/* quiet top-bar buttons (scan, me): an outline, never a bright disc */
.chipname.avatar { background: transparent !important; border: 1px solid var(--edge) !important; color: var(--fg) !important; box-shadow: none !important; }
.chipname.avatar:hover { background: color-mix(in srgb, var(--fg) 6%, transparent) !important; }
.chipname.avatar.on { box-shadow: 0 0 0 2px color-mix(in srgb, var(--fg) 30%, transparent) !important; }
/* the one line under each payment step */
.pay-sub { margin: -6px 0 12px; font-size: 12px; color: var(--dim); }

/* a block page is the whole profile: the page is the personal space, nothing hangs under it */
[data-view="profile"].cr-full .pf-pay, [data-view="profile"].cr-full #pf-send, [data-view="profile"].cr-full #pf-store { display: none !important; }
.cr-v2 .cr-stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.pg-row3 { grid-template-columns: 1fr 1fr 1fr !important; }
/* posts: a share icon on each; one or two posts fill the row instead of leaving it empty */
.cr-post { position: relative; }
.cr-post-share { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #0007; color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cr-post-share svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-rail:not(:has(> :nth-child(3))) > * { flex-basis: calc(50% - 5px); }
.cr-rail:has(> :only-child) { justify-content: center; }
.cr-rail:has(> :only-child) > * { flex-basis: min(70%, 280px); }

/* =====================================================================
   ALLYRA (2026-11-22): the art exchange. A slab is a graded card: its label (title, rarity), its grade in shards, the art,
   then who made it and, small, the price. The edge takes the colour of its rarity. Three lines, one column on a phone.
   ===================================================================== */
.al-defs { position: absolute; }
.al-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 14px; }
.al-top h2 { margin: 0; font: italic 400 2rem/1 var(--serif); }
.al-acts, .ep-two { display: flex; gap: 8px; }
.al-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.al-cats { display: flex; gap: 6px; flex: 1 1 300px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.al-cats::-webkit-scrollbar { display: none; }
.al-cats .chip { flex: none; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--edge); background: transparent; color: var(--dim); font: 500 13px var(--sans); cursor: pointer; }
.al-cats .chip.on { color: var(--fg); border-color: #a078e6; box-shadow: 0 0 0 1px #a078e6; }
.al-bar input { flex: 0 1 200px; min-width: 120px; }
.al-rail { scroll-padding-left: 16px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.al-rail::-webkit-scrollbar { display: none; }
.al-rail .empty-note { margin: 12px 0; }
.al-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; padding: 14px 0; }
.al-grid .empty-note { grid-column: 1 / -1; }
.slb { flex: none; display: grid; gap: 8px; align-content: start; padding: 0; border: 0; background: none; color: var(--fg); text-align: left; font: inherit; cursor: pointer; scroll-snap-align: start; }
html body.app .slb .psa { --w: 152px; width: auto; gap: 7px; padding: 8px; cursor: inherit; touch-action: auto; user-select: auto; position: relative; overflow: hidden; transition: transform 0.35s var(--spring), box-shadow 0.35s; }
.al-grid .slb, .al-grid .slb .psa-l, .al-grid .slb .psa-c { width: 100%; min-width: 0; } html body.app .al-grid .slb .psa { min-width: 0; }
.slb .psa-l { padding: 5px 8px; } .slb .psa-l b { font-size: 12px; } .slb .psa-l .psa-g b { font-size: 16px; } .slb .psa-l i { font-size: 9.5px; }
.slb .psa:is(.r-one, .r-ultra, .r-rare)::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, #ffffff66 45%, color-mix(in srgb, var(--e) 26%, transparent) 52%, transparent 66%) 120% 0 / 260% 100% no-repeat; transition: background-position 0.9s var(--ease); mix-blend-mode: soft-light; }
.slb-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px; font-size: 12px; } .slb-f i { font-style: normal; color: var(--dim); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .slb-f b { font: 500 12px var(--sans); white-space: nowrap; }
@media (hover: hover) { .slb:hover .psa { transform: translateY(-4px); } .slb:hover .psa::after { background-position: -40% 0; } }
.slb:focus-visible { outline: none; } .slb:focus-visible .psa { outline: 2px solid #a078e6; outline-offset: 2px; }
/* open places: the same slab, its wave softened, its edge dashed */
.psa.r-ph { border-style: dashed; border-color: var(--edge); } .psa-c canvas { display: block; width: 100%; height: 100%; opacity: 0.6; filter: blur(2px); }
.slb-up { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fffc; color: #16121c; font: 400 22px/1 var(--sans); }
/* shards: dznye.com's rating */
.shd { display: flex; align-items: center; gap: 12px; margin: 8px 0 14px; }
.shd-s { display: flex; gap: 2px; }
.shd-s .sh { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; padding: 0; cursor: pointer; }
.shd-s .sh > svg, .shd-s > svg { width: 24px; height: 24px; overflow: visible; transition: transform 0.35s var(--ease); }
.shd-s .sh:hover > svg { transform: scale(1.18) rotate(-8deg); }
.shd-s .e { fill: color-mix(in srgb, var(--fg) 5%, #ffffff80); } .shd-s .o { fill: none; stroke: color-mix(in srgb, var(--fg) 38%, transparent); stroke-width: 0.7; } .shd-s .f { fill: none; stroke: #fff; stroke-opacity: 0.8; stroke-width: 0.6; }
:root[data-theme='dark'] .shd-s .e { fill: #ffffff14; }
.shd-v { font: 500 13px var(--sans); color: var(--dim); } .shd-v i { font-style: normal; opacity: 0.7; }
/* one piece: a graded card, trading-card size (63 by 88, its loose corners 3 mm of it), in a clear slab */
html body.app #piecesheet { width: min(430px, 100vw); }
#piecesheet .sheet-h { justify-content: flex-end; gap: 10px; margin: -6px 0 8px; } #piecesheet .sheet-h h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ap-auto { margin-right: auto; padding: 7px 13px; border: 1px solid var(--edge); border-radius: 99px; background: transparent; color: var(--dim); font: 500 12.5px var(--sans); cursor: pointer; } .ap-auto b { font-weight: 600; } .ap-auto[aria-checked='true'] { color: var(--fg); border-color: #a078e6; box-shadow: 0 0 0 1px #a078e6; }
.ap-stage { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ap-nav { flex: none; width: 38px; height: 38px; border: 1px solid var(--edge); border-radius: 50%; background: transparent; color: var(--fg); font: 400 20px/1 var(--sans); cursor: pointer; } .ap-nav[hidden] { visibility: hidden; display: block; }
.psa { --w: min(224px, 56vw, calc((92dvh - 300px) * 0.63)); --e: color-mix(in srgb, var(--fg) 22%, transparent); flex: none; display: grid; gap: 9px; padding: 10px; border-radius: 14px; border: 1px solid #ffffffb0; background: linear-gradient(150deg, #ffffffd0, #ffffff66 45%, #f3ecffb0); box-shadow: 0 0 0 1px #1c162818, inset 0 0 0 1px #ffffff90, 0 26px 44px -28px #3a2166aa; touch-action: pan-y; cursor: grab; user-select: none; transition: transform 0.3s var(--spring); }
.psa.drag { transition: none; cursor: grabbing; } .psa.from-r { animation: psa-r 0.34s var(--ease) both; } .psa.from-l { animation: psa-l 0.34s var(--ease) both; } @keyframes psa-r { from { opacity: 0; transform: translateX(46px) rotate(2deg); } } @keyframes psa-l { from { opacity: 0; transform: translateX(-46px) rotate(-2deg); } }
.psa.r-one { --e: #d8a62a; } .psa.r-ultra { --e: #ff7ab3; } .psa.r-rare { --e: #a078e6; } .psa.r-limited { --e: #5f9bff; }
.psa-l { width: var(--w); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 7px; border: 1.5px solid var(--e); background: #fff; color: #16121c; } .psa-l span { min-width: 0; display: grid; } .psa-l b { font: 600 13px/1.2 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .psa-l i { font: 500 10.5px/1.2 var(--sans); font-style: normal; color: #6c6579; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .psa-g { flex: none; text-align: right; } .psa-l .psa-g b { font: 600 19px/1 var(--serif); }
.psa-c { position: relative; width: var(--w); aspect-ratio: 63 / 88; overflow: hidden; border-radius: 4.8% / 3.5%; background: #0b0a0f; box-shadow: 0 1px 0 #ffffff80, 0 5px 12px -6px #0008; }
.psa-c img { position: absolute; display: block; pointer-events: none; -webkit-user-drag: none; } .psa-c .ap-bg { inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(16px) brightness(0.75); } .psa-c .ap-img { inset: 0; width: 100%; height: 100%; object-fit: cover; } .psa-c .ap-img.whole { object-fit: contain; }
.ap-bar { width: 120px; height: 2px; margin: 12px auto 0; border-radius: 2px; overflow: hidden; } .ap-bar i { display: block; height: 100%; background: linear-gradient(90deg, #8fd3ff, #a078e6, #ff8fc4); transform: scaleX(0); transform-origin: left; } .ap-bar i.run { animation: ap-run 4s linear both; } @keyframes ap-run { to { transform: scaleX(1); } }
#ap-body { text-align: center; } #ap-body .shd { justify-content: center; gap: 6px; margin: 4px 0 2px; } #ap-body .shd-s .sh { width: 36px; height: 36px; } #ap-body .shd-s .sh > svg, #ap-body .shd-s > svg { width: 22px; height: 22px; }
html body.app .ap-line { margin: 0 0 10px; font-size: 13px; color: var(--dim); } html body.app .ap-about { margin: 10px 0 0; font-size: 13px; color: var(--dim); } html body.app #ap-body .btn.wide { margin: 0 0 8px; }
.ap-asks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2px 0 8px; } .ap-asks .chip { padding: 7px 13px; border-radius: 99px; border: 1px solid var(--edge); background: transparent; color: var(--fg); font: 500 12.5px var(--sans); cursor: pointer; }
.ap-more { display: flex; justify-content: center; gap: 20px; margin-top: 6px; } .ap-sell { margin: 4px 0; text-align: left; } .ap-pay:empty { display: none; } html body.app #ap-msg { text-align: center; } html body.app #ap-msg:empty { display: none; }
.al-ar { display: inline-flex; gap: 6px; } .al-ar button { width: 30px; height: 30px; border: 1px solid var(--edge); border-radius: 50%; background: transparent; color: var(--fg); font: 400 16px/1 var(--sans); cursor: pointer; } @media (hover: none) { .al-ar { display: none; } }
@media (max-width: 480px) { .ap-stage { gap: 6px; } .ap-nav { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { .psa, .psa.from-r, .psa.from-l { animation: none; transition: none; } }
:root[data-theme='dark'] .psa { border-color: #ffffff2a; background: linear-gradient(150deg, #ffffff1f, #ffffff0a 45%, #c9b6ff1c); box-shadow: 0 0 0 1px #0006, inset 0 0 0 1px #ffffff14, 0 26px 44px -24px #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .psa { border-color: #ffffff2a; background: linear-gradient(150deg, #ffffff1f, #ffffff0a 45%, #c9b6ff1c); box-shadow: 0 0 0 1px #0006, inset 0 0 0 1px #ffffff14, 0 26px 44px -24px #000; } }
/* the buy sheet: the art as it is, never cut to a strip */
#itemsheet .it-cover { aspect-ratio: auto; height: min(30dvh, 260px); grid-template: 100% / 100%; } #itemsheet .it-cover img { min-height: 0; object-fit: contain; }
#it-body.it-small .it-cover { height: 110px; }
/* Earn */
.ep-pools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 6px; } .ep-pool { display: grid; gap: 1px; padding: 12px 10px; border-radius: 14px; border: 1px solid var(--edge); } .ep-pool b { font: 600 20px/1 var(--serif); } .ep-pool span { font: 500 13px var(--sans); } .ep-pool i { font: 400 11px/1.25 var(--sans); color: var(--dim); } .ep-pool.on { border-color: #19c98b; box-shadow: 0 0 0 1px #19c98b; }
.ep-step { padding: 14px 0; border-top: 1px solid var(--line); } .ep-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; } .ep-h b { font: 600 15px var(--sans); } .ep-h i { font: 500 13px var(--sans); color: var(--dim); font-style: normal; } .ep-step.done .ep-h b::after { content: ' ✓'; color: #19a974; }
html body.app #ep input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 14px 0; padding: 0; border: 0; border-radius: 6px; background: linear-gradient(90deg, #bfe6ff, #c9b6ff, #ffb3d9); box-shadow: none; cursor: pointer; }
html body.app #ep input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #a078e6; }
html body.app #ep input[type='range']::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #a078e6; } .ep-step .hint { margin: 4px 0 10px; }
@media (max-width: 480px) { .ep-pools { grid-template-columns: repeat(2, 1fr); } .acts.round { gap: 10px; } .acts.round .act { width: 54px; height: 54px; } .al-bar input { flex: 1 1 100%; } html body.app .al-rail .slb .psa { --w: 136px; } }
@media (prefers-reduced-motion: reduce) { .slb .psa, .slb .psa::after, .shd-s svg { transition: none; } }

/* files: what was picked, what was opened, a song's preview button */
.post-file-row { margin: 10px 0 4px; font: 500 14px var(--sans); text-align: center; overflow-wrap: anywhere; }
.dzf-out { margin-top: 10px; font-size: 13px; color: var(--dim); } .dzf-v { display: block; width: 100%; max-height: 60dvh; border-radius: 12px; background: #0b0a0f; } audio.dzf-v { background: none; } img.dzf-v { object-fit: contain; } .dzf-acts { display: flex; gap: 8px; margin-top: 10px; }
.psa-c video { position: absolute; pointer-events: none; background: #0b0a0f; } .psa-c video[hidden] { display: none; }
.ap-listen { position: absolute; inset: auto 0 12px; margin: 0 auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fffd; color: #16121c; font-size: 16px; cursor: pointer; } .ap-listen[hidden] { display: none; }

/* the card's frame in the post sheet; the camera */
.post-pick { aspect-ratio: 16 / 9; } .post-pick[hidden] { display: none; }
.post-frame { display: grid; justify-items: center; gap: 10px; } .post-frame[hidden] { display: none; } .post-frame canvas { width: min(210px, 54vw); aspect-ratio: 63 / 88; border-radius: 4.8% / 3.5%; box-shadow: 0 0 0 1px var(--edge), 0 18px 34px -24px #000; touch-action: none; cursor: grab; background: #0b0a0f; }
.post-fit { display: flex; align-items: center; gap: 12px; } html body.app .post-fit input[type='range'] { width: 110px; padding: 0; margin: 0; border: 0; accent-color: #a078e6; } html body.app .post-fit input[hidden] { display: none; }
.post-src { display: flex; justify-content: center; gap: 8px; margin: 10px 0 2px; } .post-src [hidden] { display: none; }
.ap-cap { margin: 8px 0 0; font-size: 12.5px; color: var(--dim); } .ap-cap b { color: #19a974; } .ap-cap i { display: block; font-style: normal; font-size: 11.5px; opacity: 0.8; } .ap-cap[hidden] { display: none; }
.cam { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: #0b0a0f; color: #fff; } .cam[hidden] { display: none; }
.cam-view { position: relative; flex: 1; min-height: 0; overflow: hidden; display: grid; place-items: center; } .cam-view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .cam-view video.flip { transform: scaleX(-1); }
.cam-guide { position: relative; pointer-events: none; height: min(84%, 124vw); aspect-ratio: 63 / 88; border-radius: 4.8% / 3.5%; box-shadow: 0 0 0 2px #fffa, 0 0 0 200vmax #0007; }
.cam-msg { margin: 0; padding: 6px 20px; min-height: 1.6em; text-align: center; font-size: 13px; }
.cam-ctl { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 6px 20px calc(22px + env(safe-area-inset-bottom)); } .cam-ctl button { min-width: 88px; height: 46px; border: 1px solid #fff6; border-radius: 99px; background: #0006; color: #fff; font: 500 14px var(--sans); cursor: pointer; } .cam-ctl .big { min-width: 0; width: 68px; height: 68px; border-radius: 50%; border: 5px solid #fff; background: #fff5; }
.cam-x { position: absolute; z-index: 2; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #0007; color: #fff; font-size: 22px; cursor: pointer; }

/* the camera button beside Create; the quality slider */
.al-cam { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--edge); border-radius: 12px; background: transparent; color: var(--fg); cursor: pointer; } .al-cam svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; } .al-cam:active { transform: scale(0.95); }
.post-q[hidden] { display: none; } .post-q { margin: 8px 0 0; } .post-q label { display: flex; justify-content: space-between; } html body.app .post-q input[type='range'] { width: 100%; padding: 0; border: 0; margin: 6px 0; accent-color: #a078e6; } .post-size { text-align: center; } .post-size:empty { display: none; }
html body.app :is(.post-q, .post-fit) input[type='range'] { -webkit-appearance: none; appearance: none; height: 6px; margin: 12px 0; border-radius: 6px; background: linear-gradient(90deg, #bfe6ff, #c9b6ff, #ffb3d9); box-shadow: none; cursor: pointer; }
html body.app :is(.post-q, .post-fit) input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #a078e6; }
html body.app :is(.post-q, .post-fit) input[type='range']::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #a078e6; }

.al-acts { align-items: center; } html body.app .al-acts .btn { margin: 0; }


/* the seal: authentic (a real NFT, or a confirmed Capture). A small iridescent rosette with a check, nothing to read */
.seal { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 5px; vertical-align: -2px; } .seal[hidden] { display: none; }
.seal svg { width: 14px; height: 14px; overflow: visible; } .seal .r { fill: url(#shard); stroke: #7b5fd6; stroke-width: 0.6; } .seal .c { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slb .seal { width: 12px; height: 12px; margin-left: 4px; } .slb .seal svg { width: 12px; height: 12px; }
/* Capture: where it is being taken; the place a capture was taken, in the viewer */
.cam-where { position: absolute; z-index: 2; top: max(18px, env(safe-area-inset-top)); left: 16px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: 99px; background: #0008; font-size: 12px; }
.cam-where svg, .ap-place svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; } .cam-where[data-on=yes] svg { stroke: #6ee7a8; } .cam-where[data-on=no] svg { stroke: #ff8a8a; }
.cam-ctl button:disabled { opacity: .4; }
html body.app .ap-place { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 8px; font-size: 12px; color: var(--dim); text-decoration: none; } html body.app .ap-place[hidden] { display: none; }
/* a locked wallet, open to look: amounts are dashes, coins say "Tap to see" */
#unlock-later { margin-top: 8px; } body.peek .peek-li .t i { opacity: .7; }
/* Receive: the amount, coin and note as one small group, then the buttons */
html body.app #receive .ask-opts { display: grid; grid-template-columns: 1fr 112px; gap: 8px; margin: 14px 0 10px; }
html body.app #receive .ask-opts :is(input, select) { margin: 0; height: 40px; min-height: 0; padding: 0 12px; font-size: 14px; border-radius: 12px; }
html body.app #receive .ask-opts #ask-for { grid-column: 1 / -1; }
html body.app #receive .ask-btns { display: flex; gap: 8px; } html body.app #receive .ask-btns .btn { flex: 1; margin: 0; }
html body.app #add .add-from { margin: 0 0 12px; }
/* Add money, sent in: coin, network, then a small QR */
html body.app #add .add-pick { margin: 12px 0 0; } html body.app #add .add-ask { margin: 0 0 8px; text-align: center; font-size: 13px; color: var(--dim); }
html body.app #add .add-pick .chips { gap: 6px; margin: 0 0 8px; justify-content: center; } html body.app #add .add-pick .chips button { flex: 0 1 auto; height: 32px; padding: 0 12px; font-size: 11px; }
html body.app #add .add-nets { padding-top: 8px; border-top: 1px solid var(--line); }
html body.app #add .add-to { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 6px 0 0; }
html body.app #add .add-qr { padding: 10px; border-radius: 14px; background: #fff; line-height: 0; } html body.app #add .add-qr svg { width: 150px; height: 150px; }
html body.app #add #add-addr { margin: 0; font-size: 12px; word-break: break-all; } html body.app #add .add-warn { margin: 0; font-size: 12px; color: var(--dim); text-align: center; }
/* Send: the amount with a coin pill, what is there to send, and the coin list */
html body.app #send .bigamt { align-items: center; margin: 12px 0 2px; }
html body.app #send .sel-quiet { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
html body.app #send .coinpick { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: #ffffff10; color: var(--fg); cursor: pointer; }
html body.app #send .coinpick .orb-s, html body.app #send .coinlist .orb-s { width: 30px; height: 30px; font-size: 12px; }
html body.app #send .coinpick .cp-t { display: grid; text-align: left; line-height: 1.15; } html body.app #send .coinpick .cp-t b { font: 500 14px var(--sans); } html body.app #send .coinpick .cp-t i { font: 400 10px var(--sans); font-style: normal; color: var(--dim); }
html body.app #send .coinpick .cp-v { font-size: 14px; color: var(--dim); margin-top: -6px; }
html body.app #send .send-have { margin: 0 0 14px; text-align: center; font-size: 12px; color: var(--dim); min-height: 1.2em; }
html body.app #send .coinlist { margin: -6px 0 14px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--card, #ffffff0d); max-height: 300px; overflow: auto; }
html body.app #send .coinlist .cl-g { padding: 8px 10px 4px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
html body.app #send .coinlist button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 0; border-radius: 12px; background: none; color: var(--fg); cursor: pointer; text-align: left; }
html body.app #send .coinlist button:hover, html body.app #send .coinlist button[aria-selected=true] { background: #ffffff14; }
html body.app #send .coinlist .t { flex: 1; display: grid; line-height: 1.2; } html body.app #send .coinlist .t b { font: 500 14px var(--sans); } html body.app #send .coinlist .t i { font-size: 11px; font-style: normal; color: var(--dim); }
html body.app #send .coinlist .v { font: 400 13px var(--mono); }
html body.app #send .send-linknote { margin: 6px 0 0; text-align: center; font-size: 11px; }
/* Transfer: two boxes, give and get, each with the amount and coin on one line */
html body.app .swapcard { gap: 0; padding: 12px; }
html body.app .swapcard .sw-box { padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; background: #ffffff08; }
html body.app .swapcard .sw-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
html body.app .swapcard .sw-head > label { margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
html body.app .swapcard .sw-main { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; }
html body.app .swapcard .sw-main input, html body.app .swapcard .sw-est { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0 !important; background: none !important; box-shadow: none !important; font: 400 2rem/48px var(--serif); color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.app .swapcard .sw-est { color: var(--dim); } html body.app .swapcard .sw-est.on { color: var(--fg); }
html body.app .swapcard select.sw-coin { flex: none; width: auto; max-width: 52%; height: 38px; padding: 0 30px 0 14px; border-radius: 999px; font-size: 13px; }
html body.app .swapcard .sw-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 22px; font-size: 12px; color: var(--dim); }
html body.app .swapcard .sw-foot #sw-max { font-size: 12px; padding: 0; }
html body.app .swapcard .sw-flip { position: relative; z-index: 1; align-self: center; width: 36px; height: 36px; margin: -10px 0; border: 1px solid var(--line); border-radius: 12px; background: Canvas; color: var(--fg); }
html body.app .swapcard #sw-from-other, html body.app .swapcard #sw-to-other { margin: 6px 0 4px; }
html body.app .swapcard .sw-quote { margin: 10px 4px 0; min-height: 1.2em; color: var(--dim); font-size: 12px; }
html body.app .swapcard > .btn.primary { margin-top: 10px; } html body.app .swapcard #sw-fee { margin: 8px 4px 0; font-size: 11px; } html body.app .swapcard #sw-pin { margin-top: 10px; }
/* DZY on Solana (Transfer) */
html body.app .wz { margin-top: 14px; } html body.app .wz-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } html body.app .wz-h span { font-size: 12px; color: var(--dim); }
html body.app .wz p.dim { margin: 4px 0 10px; } html body.app .wz-btns { display: flex; gap: 8px; margin-top: 8px; } html body.app .wz-btns .btn { flex: 1; margin: 0; }
/* a card on its side: 88 by 63 */
html body.app .psa.side .psa-c, html body.app #ap-card.side .psa-c { aspect-ratio: 88 / 63; }
html body.app .post-frame canvas.side { width: min(300px, 78vw); aspect-ratio: 88 / 63; }
html body.app .post-fit #post-side { margin-bottom: 6px; }
/* Sell: what you sell, as three buttons; a card's shape; a tidy photo row */
html body.app #sell-form .sell-types { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; }
html body.app #sell-form .sell-card p { margin: 0 0 12px; }
html body.app #sell-form .sell-shapes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
html body.app #sell-form .sell-shapes button { display: grid; justify-items: center; gap: 8px; padding: 14px 8px 10px; border: 1px solid var(--line); border-radius: 16px; background: none; color: var(--fg); font: 600 13px var(--sans); cursor: pointer; }
html body.app #sell-form .sell-shapes button.on { border-color: transparent; box-shadow: 0 0 0 2px #b9a8ff; }
html body.app #sell-form .shp { display: block; height: 58px; aspect-ratio: 63 / 88; border-radius: 6px; background: linear-gradient(135deg, #8fdcf5, #b9a8ff 45%, #ff9fd0 75%, #ffd58a); }
html body.app #sell-form .shp.side { height: 42px; aspect-ratio: 88 / 63; margin-top: 8px; margin-bottom: 8px; }
html body.app #sell-form .pick-row { align-items: center; } html body.app #sell-form .pick-row:has(> .thumb[hidden]) { grid-template-columns: 1fr; }
html body.app #sell-form .pick-row .thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
html body.app #sell-form .pick-line .btn.pick { flex: none; }
/* cards you could hold: bigger in the rails; a graded label's QR (to the piece on the chain); the viewer's scannable one */
html body.app .slb .psa { --w: 196px; } @media (max-width: 480px) { html body.app .al-rail .slb .psa { --w: 164px; } }
html body.app .psa-l .psa-q { flex: none; display: grid; width: 26px; height: 26px; margin-left: -2px; } html body.app .psa-l .psa-q svg { width: 100%; height: 100%; display: block; }
html body.app .slb .psa-l .psa-q { width: 22px; height: 22px; }
html body.app .ap-qr { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; color: var(--fg); text-decoration: none; }
html body.app .ap-qr-c { flex: none; padding: 6px; border-radius: 10px; background: #fff; line-height: 0; } html body.app .ap-qr-c svg { width: 96px; height: 96px; }
html body.app .ap-qr b { display: block; font-size: 13px; } html body.app .ap-qr i { display: block; margin-top: 3px; font-size: 11.5px; font-style: normal; color: var(--dim); }
/* Sell, one step at a time */
html body.app #sell-form .sstep { display: none; } html body.app #sell-form[data-step="1"] .sstep[data-s="1"], html body.app #sell-form[data-step="2"] .sstep[data-s="2"], html body.app #sell-form[data-step="3"] .sstep[data-s="3"] { display: block; }
html body.app #sell-form:not([data-step="card"]) #sell-card { display: none; } html body.app #sell-form[data-step="card"] #sell-card { display: block; } html body.app #sell-form[data-step="card"] .sell-plain { display: none; }
html body.app #sell-form .sell-plain[hidden] { display: block; } html body.app #sell-form[data-step="card"] .sell-plain[hidden] { display: none; }
html body.app .sell-steps { display: flex; gap: 6px; margin: 0 0 14px; } html body.app .sell-steps i { flex: 1; padding-top: 7px; border-top: 3px solid var(--line); font: 600 10.5px var(--sans); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
html body.app .sell-steps i.on { border-image: linear-gradient(90deg, #8fdcf5, #b9a8ff, #ff9fd0) 1; color: var(--fg); }
html body.app .sell-q { margin: 0 0 12px; font: 600 17px var(--sans); }
html body.app #sell-form .sell-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; background: none; }
html body.app #sell-form .sell-types button { display: grid; justify-items: start; gap: 4px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--fg) 3%, transparent); color: var(--fg); text-align: left; font: inherit; cursor: pointer; }
html body.app #sell-form .sell-types button:hover { border-color: #b9a8ff; }
html body.app #sell-form .sell-types b { font: 600 14px var(--sans); letter-spacing: 0; text-transform: none; } html body.app #sell-form .sell-types span { font-size: 11.5px; color: var(--dim); letter-spacing: 0; text-transform: none; }
html body.app #sell-form .st-ic { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 10px; font: 700 14px var(--sans); font-style: normal; color: #16121c; background: linear-gradient(135deg, #8fdcf5, #b9a8ff 55%, #ff9fd0); }
html body.app #sell-form .st-ic.card { width: 24px; height: 34px; border-radius: 4px; }
html body.app #sell-form .sell-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; } html body.app #sell-form .sell-nav .btn { margin: 0; min-width: 96px; }
@media (max-width: 480px) { html body.app #sell-form .sell-types { grid-template-columns: 1fr; } html body.app #sell-form .sell-types button { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; } html body.app #sell-form .st-ic { grid-row: span 2; margin: 0; } }
/* Business: the same steps as Sell, its own form */
html body.app #biz-form .sstep { display: none; } html body.app #biz-form[data-step="1"] .sstep[data-s="1"], html body.app #biz-form[data-step="2"] .sstep[data-s="2"], html body.app #biz-form[data-step="3"] .sstep[data-s="3"] { display: block; }
html body.app #biz-form .sell-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
html body.app #biz-form .sell-types button { display: grid; justify-items: start; gap: 4px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--fg) 3%, transparent); color: var(--fg); text-align: left; font: inherit; cursor: pointer; }
html body.app #biz-form .sell-types button:hover { border-color: #b9a8ff; } html body.app #biz-form .sell-types b { font: 600 14px var(--sans); letter-spacing: 0; text-transform: none; } html body.app #biz-form .sell-types span { font-size: 11.5px; color: var(--dim); }
html body.app #biz-form .st-ic { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 10px; font: 700 16px var(--sans); font-style: normal; color: #16121c; background: linear-gradient(135deg, #8fdcf5, #b9a8ff 55%, #ff9fd0); }
html body.app #biz-form .sell-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; } html body.app #biz-form .sell-nav .btn { margin: 0; min-width: 96px; }
html body.app .biz-dayset { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; } html body.app .biz-dayset button, html body.app .biz-days button, html body.app .biz-times button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; background: none; color: var(--dim); font: 600 12px var(--sans); cursor: pointer; }
html body.app .biz-dayset button.on, html body.app .biz-days button.on, html body.app .biz-times button.on { border-color: transparent; background: linear-gradient(135deg, #8fdcf5, #b9a8ff 55%, #ff9fd0); color: #16121c; }
html body.app .biz-times button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
html body.app .biz-pick { margin: 12px 0 4px; } html body.app .biz-days, html body.app .biz-times { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 8px; } html body.app .biz-times { flex-wrap: wrap; overflow: visible; }
@media (max-width: 480px) { html body.app #biz-form .sell-types { grid-template-columns: 1fr; } html body.app #biz-form .sell-types button { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px; } html body.app #biz-form .st-ic { grid-row: span 2; margin: 0; } }
/* a business page: its offers as a clear list */
.cr-bizlist { display: grid; gap: 8px; margin: 4px 0 12px; }
.cr-biz { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 14px; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-card); color: var(--c-fg); text-align: left; font: inherit; cursor: pointer; }
.cr-biz:hover { border-color: var(--c-a); }
.cr-biz .cb-t { flex: 1; min-width: 0; display: grid; gap: 3px; } .cr-biz .cb-t b { font: 600 15px var(--sans); } .cr-biz .cb-t i { font-size: 12px; font-style: normal; color: var(--c-dim); } .cr-biz .cb-t span { font-size: 12px; color: var(--c-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-biz .cb-p { flex: none; display: grid; justify-items: end; gap: 6px; } .cr-biz .cb-p b { font: 600 15px var(--sans); } .cr-biz .cb-p em { padding: 5px 12px; border-radius: 99px; font: 600 12px var(--sans); font-style: normal; color: #16121c; background: linear-gradient(135deg, #8fdcf5, #b9a8ff 55%, #ff9fd0); }
html body.app .biz-days button { flex: none; white-space: nowrap; }
/* Business: tidy rows */
html body.app #biz-form .pick-row { align-items: center; } html body.app #biz-form .pick-row:has(> .thumb[hidden]) { grid-template-columns: 1fr; }
html body.app #biz-form .pick-row .thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
html body.app #biz-note-hint { margin: 8px 0 0; } html body.app #biz-note-hint:empty { display: none; }
html body.app :is(#biz-log, #biz-items) .small-h { padding: 12px 14px 4px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
html body.app :is(#biz-log, #biz-items) .li i { font-style: normal; }
/* a creator page's "Pay with any crypto" QR */
.cr-payqr { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 12px; border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-card); color: var(--c-fg); text-decoration: none; }
.cr-payqr-c { flex: none; padding: 6px; border-radius: 12px; background: #fff; line-height: 0; } .cr-payqr-c svg { width: 96px; height: 96px; }
.cr-payqr-t { display: grid; gap: 4px; } .cr-payqr-t b { font: 600 15px var(--sans); } .cr-payqr-t i { font-size: 12px; font-style: normal; letter-spacing: .04em; color: var(--c-dim); } .cr-payqr-t span { font-size: 11.5px; color: var(--c-dim); }
/* Business: first steps, offer actions, and nothing floating over the lists */
[data-view="store"]:has(.pane[data-pane="biz"]:not([hidden])) .post-fab { display: none !important; }
html body.app .biz-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; counter-reset: s; }
html body.app .biz-how li { counter-increment: s; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--fg) 4%, transparent); font-size: 12px; color: var(--dim); }
html body.app .biz-how li::before { content: counter(s); display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; font: 700 11px var(--sans); color: #16121c; background: linear-gradient(135deg, #8fdcf5, #b9a8ff 55%, #ff9fd0); }
html body.app .biz-how li b { color: var(--fg); }
html body.app .biz-offer .v { display: grid; justify-items: end; gap: 4px; } html body.app .biz-acts { display: flex; gap: 10px; } html body.app .biz-acts .linkbtn { padding: 0; font-size: 11.5px; }
html body.app .biz-offer.paused .t b { color: var(--dim); }
@media (max-width: 480px) { html body.app .biz-how { grid-template-columns: 1fr; } }
/* a shop's free days, one quiet line */
html body.app .shop-due { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; font-size: 12.5px; color: var(--dim); background: color-mix(in srgb, var(--fg) 4%, transparent); }
html body.app .shop-due .linkbtn { padding: 0; font: inherit; color: var(--fg); text-decoration: underline; }
/* the name shortens; the seal stays whole beside it */
html body.app .psa-l b:has(> .nm) { display: flex; align-items: center; min-width: 0; } html body.app .psa-l b > .nm { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } html body.app .psa-l b > .seal { display: inline-grid; flex: none; } html body.app .psa-l b > .seal[hidden] { display: none; }
/* the PIN was typed once when this tab opened the wallet (locker.js rememberPin): payments ask for it no more */
body.pin-open [data-spendpin] { display: none !important; }
/* what an amount is worth, and All (swap.js, app.js sendWorth) */
html body.app .swapcard .sw-foot .sw-usd { margin-right: auto; color: var(--ink2, var(--dim)); }
html body.app #send .send-have .send-usd { color: var(--ink2, var(--dim)); }
html body.app #send .send-have #send-all { font-size: 12px; padding: 0 0 0 6px; }
/* Send: the network it pays on, said plainly; a pasted address (an exchange) is told it must be that network */
#send-where .netline { display: block; margin: 8px 0 2px; font-size: 13px; }
#send-where .netwarn { display: block; margin: 4px 0; font-size: 12px; color: var(--gold, #c08a1e); }
/* the DZY index card (exchange.js renderIndex) */
.xi .xi-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.xi .xi-top b { font: 400 2rem/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.xi .list { margin: 0 0 10px; }
/* the DZY tab: one coin, one price, one chart, one place to get it (exchange.js renderDzy) */
.dzx { text-align: center; padding: 8px 0 4px; }
.dzx-h { display: flex; align-items: center; justify-content: center; gap: 8px; font: 500 13px var(--mono); letter-spacing: .18em; }
.dzx-price { margin: 10px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dzx-price b { font: 400 clamp(2.4rem, 9vw, 3.4rem)/1.05 var(--serif); font-variant-numeric: tabular-nums; }
.dzx #dzx-days { justify-content: center; margin: 6px auto 8px; }
.dzx-chart .chart { width: 100%; height: 200px; display: block; }
.dzx-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 10px; }
.dzx-how { max-width: 520px; margin: 0 auto 10px; }
/* the DZY price as it moves (exchange.js liveTick): a short flash up or down */
.dzx-price b.up { animation: dzx-up 1.2s var(--ease) both; } .dzx-price b.down { animation: dzx-down 1.2s var(--ease) both; }
@keyframes dzx-up { 0% { color: var(--mint); } 100% { color: inherit; } } @keyframes dzx-down { 0% { color: var(--pink); } 100% { color: inherit; } }
@media (prefers-reduced-motion: reduce) { .dzx-price b.up, .dzx-price b.down { animation: none; } }

/* ---------- the final polish (24 Nov 2026) ---------- */
/* a warning about Dznye and one about the other chains sit together as one box, not two */
#chain-alert:not([hidden]) + #chains-alert:not([hidden]) { margin-top: 0; border-top: 1px dashed color-mix(in srgb, currentColor 25%, transparent); border-top-left-radius: 0; border-top-right-radius: 0; }
#chain-alert:not([hidden]):has(+ #chains-alert:not([hidden])) { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* a row's second line wraps onto two lines before it is cut (an address with what it is for) */
.li .t i { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; overflow-wrap: anywhere; }
/* the DZY tab: rises in, and its chart draws itself */
body.app [data-pane="exchange"]:not([hidden]) .dzx > * { animation: rise 0.55s var(--ease) both; }
body.app [data-pane="exchange"]:not([hidden]) .dzx > :nth-child(2) { animation-delay: 0.05s; } body.app [data-pane="exchange"]:not([hidden]) .dzx > :nth-child(3) { animation-delay: 0.1s; }
body.app [data-pane="exchange"]:not([hidden]) .dzx > :nth-child(4) { animation-delay: 0.15s; } body.app [data-pane="exchange"]:not([hidden]) .dzx > :nth-child(n + 5) { animation-delay: 0.2s; }
.dzx-chart .chart path[fill="none"] { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 1.2s var(--ease) 0.15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dzx-price b, #h-total { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { body.app [data-pane="exchange"] .dzx > *, .dzx-chart .chart path[fill="none"] { animation: none !important; stroke-dashoffset: 0; } }
/* a heading that only repeats its sub-tab steps aside (subtabs.js); its row goes too when nothing else is in it */
.vh h2.dup { display: none; }
.vh:has(> h2.dup):not(:has(> :not(h2, .dup))) { display: none; }

/* ---------- everything stays inside its box, at any width (the final polish) ---------- */
/* coin icons: always round, never squeezed (a list row's first column is 34px: the icon fits it) */
.orb-s { flex: none; aspect-ratio: 1 / 1; min-width: 0; }
.li > .orb-s, .li > span.orb-s { width: 34px; height: 34px; font-size: 12px; }
/* long words, addresses and names break before they leave their box */
body.app :is(p, label, .msg, .warnbox, .hint, .small, .card, .sheet, .li .t, .co-h, .vh, h1, h2, h3) { overflow-wrap: break-word; min-width: 0; }
body.app :is(.hash, code, .addr, .goes b) { overflow-wrap: anywhere; word-break: break-word; }
/* rows of things share the width instead of pushing each other out */
body.app :is(.cta, .row, .deck-btns, .dzx-acts, .sw-head, .sw-foot, .xc-row, .bigamt, .send-from, .namein) > * { min-width: 0; }
body.app .btn { max-width: 100%; white-space: normal; text-wrap: balance; overflow-wrap: anywhere; }
/* a number column never pushes a row wider than the screen; its small second line may wrap */
.li .v { min-width: 0; max-width: 48vw; } .li .v i { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 380px) { .li { gap: 10px; padding: 12px 12px; } .li .v { font-size: 1rem; } .dzx-price b { font-size: 2.2rem; } }

/* ---------- prices in quiet colours: minimal, never shouting ---------- */
:root { --up: #3d7f68; --down: #a8566e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --up: #7fbfa6; --down: #d595a8; } }
:root[data-theme='dark'] { --up: #7fbfa6; --down: #d595a8; }
:is(.li .v i, .coin-top, .dim.small, .dp-since, #dzx-move, #h-usd, .usd) :is(.up, .down), .li .v i:is(.up, .down), .dim.small:is(.up, .down), #dzx-move:is(.up, .down) { color: var(--up); }
:is(.li .v i, .coin-top, .dim.small, .dp-since, #dzx-move, #h-usd, .usd) .down, .li .v i.down, .dim.small.down, #dzx-move.down { color: var(--down); }
.pp-price.up, .pp-coin i.up, .pp-pnl.up { color: var(--up); } .pp-price.down, .pp-coin i.down, .pp-pnl.down { color: var(--down); }
@keyframes dzx-up { 0% { color: var(--up); } 100% { color: inherit; } } @keyframes dzx-down { 0% { color: var(--down); } 100% { color: inherit; } }

/* ---------- moving between tabs: the new view slides softly in ---------- */
body.app .view.on { animation: view-in 0.38s var(--ease) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { body.app .view.on, body.app .pane:not([hidden]) { animation: none; } }
/* a row that scrolls sideways fades at its edge, so it is clear there is more */
body.app :is(#al-cats, .pp-coins) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); scroll-padding-inline: 16px; }

/* ---------- creators, selling and business: the app's own glass, calm type and line icons (the final polish) ---------- */
/* the question: the app's italic serif, not shouted */
html body.app :is(#sell-form, #biz-form) .sell-q { margin: 6px 0 14px; font: italic 400 clamp(1.3rem, 3.6vw, 1.65rem)/1.2 var(--serif); letter-spacing: -0.01em; text-transform: none; color: var(--fg); }
/* each choice: a pane of frosted glass that lifts a little, and wears the foil when chosen */
html body.app :is(#sell-form, #biz-form) .sell-types button {
	position: relative; gap: 3px; padding: 16px 14px; border: 1px solid var(--edge); border-radius: 18px; color: var(--fg); text-align: left;
	background: linear-gradient(160deg, color-mix(in srgb, #fff 62%, transparent), color-mix(in srgb, #fff 28%, transparent));
	-webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
	box-shadow: 0 1px 0 #ffffffb3 inset, 0 10px 24px -18px rgba(70, 50, 130, 0.45);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
html body.app :is(#sell-form, #biz-form) .sell-types button:hover { transform: translateY(-2px); border-color: color-mix(in srgb, #b9a8ff 55%, var(--edge)); box-shadow: 0 1px 0 #ffffffb3 inset, 0 16px 30px -18px rgba(70, 50, 130, 0.55); }
html body.app :is(#sell-form, #biz-form) .sell-types button:is(.on, [aria-pressed="true"]) { border-color: transparent; background: linear-gradient(160deg, color-mix(in srgb, #fff 70%, transparent), color-mix(in srgb, #fff 40%, transparent)) padding-box, linear-gradient(135deg, #8fdcf5, #b9a8ff 45%, #ff9fd0 75%, #ffd58a) border-box; }
html body.app :is(#sell-form, #biz-form) .sell-types b { font: 400 1.05rem/1.25 var(--serif); letter-spacing: 0; text-transform: none; color: var(--fg); }
html body.app :is(#sell-form, #biz-form) .sell-types span { font-size: 12px; line-height: 1.4; color: var(--dim); }
/* the icons: thin lines in a small glass circle, like the buttons on Home */
html body.app :is(#sell-form, #biz-form) .st-ic { width: 38px; height: 38px; margin-bottom: 8px; border-radius: 50%; color: var(--fg); background: radial-gradient(circle at 32% 28%, #ffffffe6, #ffffff59 60%); border: 1px solid var(--edge); box-shadow: 0 6px 14px -10px rgba(70, 50, 130, 0.5); font: inherit; }
html body.app :is(#sell-form, #biz-form) .st-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
html body.app :is(#sell-form, #biz-form) .st-ic.card { width: 38px; height: 38px; border-radius: 50%; }
/* the three steps: quiet glass, with a small foil number */
html body.app .biz-how li { background: color-mix(in srgb, #fff 40%, transparent); border: 1px solid var(--line); line-height: 1.45; }
html body.app .biz-how li::before { color: #16121c; background: linear-gradient(135deg, #8fdcf5, #b9a8ff 50%, #ff9fd0); font: 500 10.5px var(--sans); }
html body.app .biz-how li b { font-weight: 500; }
/* the steps bar above (What · Details · Price) in the app's small capitals */
html body.app .sell-steps i { font: 400 10px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
html body.app .sell-steps i.on { color: var(--fg); }
/* an empty list says what will be in it, instead of a blank box */
html body.app :is(#biz-log, #biz-items, #sell-items):empty { display: grid; place-items: center; min-height: 72px; }
html body.app #biz-log:empty::before { content: 'Orders and bookings show here as they come in.'; }
html body.app #biz-items:empty::before { content: 'What you offer shows here once you add it.'; }
html body.app #sell-items:empty::before { content: 'What you sell shows here once you add it.'; }
html body.app :is(#biz-log, #biz-items, #sell-items):empty::before { font-size: 12.5px; color: var(--dim); padding: 18px; text-align: center; }
/* dark: the same glass, from the night side */
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) body.app :is(#sell-form, #biz-form) :is(.sell-types button, .st-ic), :root:not([data-theme='light']) body.app .biz-how li { background: linear-gradient(160deg, #ffffff12, #ffffff06); box-shadow: 0 1px 0 #ffffff14 inset, 0 12px 26px -18px #000; } }
:root[data-theme='dark'] body.app :is(#sell-form, #biz-form) :is(.sell-types button, .st-ic), :root[data-theme='dark'] body.app .biz-how li { background: linear-gradient(160deg, #ffffff12, #ffffff06); box-shadow: 0 1px 0 #ffffff14 inset, 0 12px 26px -18px #000; }
:root[data-theme='dark'] body.app :is(#sell-form, #biz-form) .sell-types button:is(.on, [aria-pressed="true"]) { background: linear-gradient(160deg, #ffffff1c, #ffffff0a) padding-box, linear-gradient(135deg, #8fdcf5, #b9a8ff 45%, #ff9fd0 75%, #ffd58a) border-box; }
@media (prefers-reduced-motion: reduce) { html body.app :is(#sell-form, #biz-form) .sell-types button { transition: none; } html body.app :is(#sell-form, #biz-form) .sell-types button:hover { transform: none; } }
/* (fix) an empty list's line runs the full width, centred */
html body.app :is(#biz-log, #biz-items, #sell-items):empty { display: block; min-height: 0; }
html body.app :is(#biz-log, #biz-items, #sell-items):empty::before { display: block; }
/* the Post button wears the app's pastel foil, like every main button: no loud blue */
body.app .post-fab { color: #16121c; font-weight: 500; background: linear-gradient(100deg, #8fdcf5, #b9a8ff 40%, #ff9fd0 72%, #ffd58a); box-shadow: inset 0 1px 0 #ffffffe6, 0 0 0 1px #1c16281a, 0 14px 30px -14px #a078e6b3; }
/* an empty row (\"No offers yet…\") spans the whole row, not the icon's narrow column */
body.app .li.empty { display: block; grid-column: 1 / -1; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--dim); padding: 18px 16px; }
/* Allyra's holder on the golden ratio (1 : 1.618): the label gets the room a real graded label has, the card stays the
   collectors' 63 x 88 (so a sealed real card later matches it exactly) */
/* Allyra's holder, locked to the golden ratio at any size (1 : 1.618): the picture keeps its size and the collectors'
   63 : 88; the holder takes the golden shape around it, and the label takes the extra height */
html body.app .slb .psa { aspect-ratio: 1000 / 1618; grid-template-rows: minmax(0, 1fr) auto; align-content: stretch; }
.slb .psa-l { min-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; }
.slb .psa-l span { gap: 2px; }

/* ---------- a card's seal: six pieces held by its backers (allyra.js crestOf) ---------- */
@property --pc-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
/* the label wears an elemental ring that turns slowly, and a glow inside it that grows with each piece held (--n: 0 to 6) */
.psa-l.crest { position: relative; isolation: isolate; border-color: transparent;
	background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--pc-a), #c98b5a, #e8c25a, #eef4fa, #8fdcf5, #b48cff, #e06ab0, #3fd0c4, #c98b5a) border-box;
	animation: pc-turn 9s linear infinite; }
.psa-l.crest[data-n="0"] { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(var(--e), var(--e)) border-box; animation: none; }
.psa-l.crest::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
	background: radial-gradient(120% 140% at 8% 50%, color-mix(in srgb, #ffd58a calc(var(--n) * 7%), transparent), transparent 60%),
		radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, #b48cff calc(var(--n) * 6%), transparent), transparent 65%),
		radial-gradient(90% 120% at 70% 100%, color-mix(in srgb, #8fdcf5 calc(var(--n) * 6%), transparent), transparent 65%); }
/* all six: the seal is complete, and a soft light sweeps across the label */
.psa-l.crest[data-n="6"]::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 35%, #ffffffb3 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: pc-sweep 4.5s ease-in-out infinite; }
@keyframes pc-turn { to { --pc-a: 360deg; } }
@keyframes pc-sweep { 0%, 55% { background-position: -150% 0; } 100% { background-position: 150% 0; } }
/* the crest: a small wax disc with a turning rune ring, six petals and a jewel */
.psa-crest { flex: none; width: 22px; height: 22px; margin-right: -2px; filter: drop-shadow(0 1px 1.5px #2a1d4466); }
.slb .psa-crest { width: clamp(16px, 9.5%, 24px); height: auto; aspect-ratio: 1; }
.psa-crest svg { display: block; width: 100%; height: 100%; overflow: visible; }
.psa-crest .pc-w { fill: #1d1528; }
.psa-crest .pc-r circle { fill: none; stroke: #e8dcff; stroke-width: 0.7; stroke-dasharray: 0.35 0.65; }
.psa-crest .pc-r { transform-origin: 12px 12px; animation: pc-spin 16s linear infinite; }
.psa-crest .pc-p { stroke: #ffffff66; stroke-width: 0.45; stroke-dasharray: 1 1; }
.psa-crest .pc-p.on { stroke: #ffffffcc; stroke-dasharray: none; animation: pc-breathe 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * 0.5s); }
.psa-crest .pc-j { stroke: #fff; stroke-width: 0.5; transform-origin: 12px 12px; animation: pc-pulse 2.8s ease-in-out infinite; }
.psa-l.crest[data-n="0"] .pc-j { fill: #ffffff33; animation: none; }
@keyframes pc-spin { to { transform: rotate(360deg); } }
@keyframes pc-breathe { 0%, 100% { opacity: 0.78; } 50% { opacity: 1; } }
@keyframes pc-pulse { 0%, 100% { transform: scale(0.9); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .psa-l.crest, .psa-l.crest::after, .psa-crest .pc-r, .psa-crest .pc-p.on, .psa-crest .pc-j { animation: none; } }
/* the glowing edge reads at a glance: a thicker ring and a stronger glow; no emblem */
.psa-l.crest { border-width: 2px; }
.psa-l.crest::before { background: radial-gradient(120% 150% at 6% 50%, color-mix(in srgb, #ffd58a calc(var(--n) * 12%), transparent), transparent 62%),
	radial-gradient(90% 130% at 100% 0%, color-mix(in srgb, #b48cff calc(var(--n) * 11%), transparent), transparent 66%),
	radial-gradient(90% 130% at 72% 100%, color-mix(in srgb, #8fdcf5 calc(var(--n) * 11%), transparent), transparent 66%); }
.psa-l.crest:is([data-n="3"], [data-n="4"], [data-n="5"]) { box-shadow: 0 0 10px -3px #b48cff99; }
.psa-l.crest[data-n="6"] { box-shadow: 0 0 14px -2px #e06ab0aa, 0 0 22px -6px #8fdcf5cc; }
/* one or two pieces: the ring just turns slowly, with no glow or halo */
.psa-l.crest:is([data-n="1"], [data-n="2"]) { animation-duration: 16s; box-shadow: none; }
.psa-l.crest:is([data-n="1"], [data-n="2"])::before { content: none; }

/* ---------- the glowing edge in dznye.com's own rainbow (its foil: cyan, violet, pink, cream, with mint), never darker ---------- */
.psa-l[data-rt]:not(.crest):not([data-rt="0"]) { background: var(--rt-tint); }
html body.app .psa-l.crest { background: var(--rt-tint, linear-gradient(#fff, #fff)) padding-box, conic-gradient(from var(--pc-a), hsl(195 90% 78%), hsl(255 85% 80%), hsl(320 90% 80%), hsl(40 95% 78%), hsl(150 70% 78%), hsl(195 90% 78%)) border-box; }
html body.app .psa-l.crest[data-n="0"] { background: var(--rt-tint, linear-gradient(#fff, #fff)) padding-box, linear-gradient(var(--e), var(--e)) border-box; }
/* the glow inside the edge and the halo around it: the same pastels, a little richer as pieces are held */
html body.app .psa-l.crest::before { background: radial-gradient(120% 150% at 6% 50%, color-mix(in srgb, hsl(40 95% 78%) calc(var(--n) * 9%), transparent), transparent 62%),
	radial-gradient(90% 130% at 100% 0%, color-mix(in srgb, hsl(255 85% 80%) calc(var(--n) * 9%), transparent), transparent 66%),
	radial-gradient(90% 130% at 72% 100%, color-mix(in srgb, hsl(195 90% 78%) calc(var(--n) * 9%), transparent), transparent 66%); }
html body.app .psa-l.crest:is([data-n="3"], [data-n="4"], [data-n="5"]) { box-shadow: 0 0 12px -3px color-mix(in srgb, hsl(255 85% 80%) 80%, transparent), 0 0 16px -6px color-mix(in srgb, hsl(195 90% 78%) 70%, transparent); }
html body.app .psa-l.crest[data-n="6"] { box-shadow: 0 0 14px -2px color-mix(in srgb, hsl(320 90% 80%) 80%, transparent), 0 0 22px -6px color-mix(in srgb, hsl(195 90% 78%) 85%, transparent), 0 0 28px -10px color-mix(in srgb, hsl(40 95% 78%) 80%, transparent); }
html body.app .psa-l.crest:is([data-n="1"], [data-n="2"]) { box-shadow: none; }

/* the inside of the label: a faint (20%) gradient, its own random angle and colours per card; more colours as the rating climbs, the full rainbow at a full rating */
@media print { .psa-l.crest, .psa-l.crest::before, .psa-l.crest::after { animation: none !important; } .psa-l { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.psa-l[data-rt="0"]:not(.crest) { background: var(--rt-tint); }

/* one amount of colour inside every label, everywhere (New, Trending, the viewer): the same three-colour faint gradient at
   11%; only its angle and colour order differ, per card (--ga, --gh); the rating no longer changes it */
.psa-l { --rt-tint: linear-gradient(calc(var(--ga, 180) * 1deg), color-mix(in srgb, hsl(calc(var(--gh, 0) + 195) 90% 76%) 11%, #fff) 0%, color-mix(in srgb, hsl(calc(var(--gh, 0) + 255) 90% 76%) 11%, #fff) 50%, color-mix(in srgb, hsl(calc(var(--gh, 0) + 320) 90% 76%) 11%, #fff) 100%); }
.psa-l:not(.crest) { background: var(--rt-tint); }
/* the inside is the same on every label: no glow that grows with the pieces (the pieces show on the ring and the halo) */
html body.app .psa-l.crest::before, .psa-l.crest::before { content: none !important; background: none !important; }

/* the post sheet, grouped (2026-11-24; the lower half regrouped on the 25th, at the end of this file): price, resale and how many in one box; quality last; who pays the fee; then Post */
.post-box { display: grid; gap: 4px; margin: 4px 0 12px; padding: 4px 14px 12px; border: 1px solid var(--edge); border-radius: 16px; background: color-mix(in srgb, var(--fg) 3%, transparent); } .post-box[hidden], .post-box [hidden] { display: none; }
.post-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .post-two:has(> [hidden]) { grid-template-columns: 1fr; }
html body.app .post-box select, html body.app .post-box input { width: 100%; box-sizing: border-box; margin: 0; }
.post-usd { position: relative; } .post-usd > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; font-size: 15px; }
html body.app .post-usd input { padding-left: 27px; }
.post-ns { align-items: center; margin: 0; }
html body.app .post-ns #post-n { flex: 0 0 76px; width: 76px; height: 36px; padding: 0 10px; border-radius: 99px; text-align: center; }
.post-box #post-hint { margin: 8px 0 0; line-height: 1.45; }
.post-q { margin: 0 2px 6px; }
.post-pay { margin: 0 0 14px; } .post-pay[hidden] { display: none; } .post-pay > label { margin-top: 6px; }
.post-pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html body.app .post-pill { position: relative; display: grid; gap: 1px; margin: 0; padding: 8px 30px 8px 13px; border: 1px solid var(--edge); border-radius: 14px; cursor: pointer; background: color-mix(in srgb, var(--fg) 3%, transparent); }
html body.app .post-pill::after { content: '▾'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 12px; pointer-events: none; }
html body.app .post-pill:focus-within { border-color: #8b5cff; box-shadow: 0 0 0 1px #8b5cff; }
.post-pill > span { font: 500 9.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
html body.app .post-pill select { -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--fg); font: 600 13.5px var(--sans); text-overflow: ellipsis; cursor: pointer; }
html body.app .post-pill select option { color: #16121c; }
.post-pay .post-size { margin: 8px 2px 0; text-align: left; } .post-size.err { color: #e5484d; }
@media (max-width: 420px) { .post-pay-row { grid-template-columns: 1fr; } }
@media (max-width: 330px) { .post-two { grid-template-columns: 1fr; } }

/* ---------- Allyra as a gallery (2026-11-24) ----------
   Each line is a wall of eight, 4 × 2 (2 × 4 on a phone), turned by its arrows: nothing hangs half off the edge. Every card
   is the same frame: its label on top, its picture filling the rest (standing or sideways alike). The label is a plain
   white wall label, and its edge tells how people rate it: solid colour, no gradients: unrated a hairline; then bronze,
   silver, gold, sapphire, and a full rating ruby with a double rule. Stripes at the label's left count the same steps. */
html body.app #al-lines .al-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 26px; overflow: visible; margin: 0; padding: 20px 0 34px; scroll-snap-type: none; }
#al-lines .slb, #al-lines .slb .psa-l, #al-lines .slb .psa-c { width: 100%; min-width: 0; } html body.app #al-lines .slb .psa { --w: 100%; width: 100%; min-width: 0; }
html body.app .slb .psa { grid-template-rows: auto minmax(0, 1fr); border-radius: 8px; }
html body.app .slb .psa .psa-c, html body.app .slb .psa.side .psa-c { aspect-ratio: auto; height: 100%; min-height: 0; border-radius: 3px; }
html body.app .slb .psa-c .ap-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html body.app #al .slb .psa-l, html body.app #al .slb .psa-l.crest { --rt: color-mix(in srgb, #16121c 16%, transparent); --k: 0; position: relative; padding: 7px 9px 7px calc(10px + var(--k) * 5px); border: 1px solid var(--rt); border-radius: 4px; background: #fff; box-shadow: none; animation: none; }
html body.app #al .slb .psa-l[data-rt="1"] { --rt: #b07f4f; --k: 1; border-width: 1.5px; }
html body.app #al .slb .psa-l[data-rt="2"] { --rt: #8e99a6; --k: 2; border-width: 1.5px; }
html body.app #al .slb .psa-l[data-rt="3"] { --rt: #c49a1c; --k: 3; border-width: 1.5px; }
html body.app #al .slb .psa-l[data-rt="4"] { --rt: #2c63c4; --k: 4; border-width: 1.5px; }
html body.app #al .slb .psa-l[data-rt="5"] { --rt: #a3123a; --k: 4; border-width: 1.5px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--rt); }
html body.app #al .slb .psa-l::after { content: ''; position: absolute; z-index: 1; inset: auto; animation: none; left: 6px; top: 7px; bottom: 7px; width: calc(var(--k) * 5px - 2px); background: repeating-linear-gradient(90deg, var(--rt) 0 3px, transparent 3px 5px); border-radius: 1px; }
html body.app #al .slb .psa-l[data-rt="0"]::after, html body.app #al .slb .psa-l:not([data-rt])::after { content: none; }
/* on the wall the label says only the name, the kind and the rating: the chain QR is in the open card */
html body.app #al-lines .slb .psa-q { display: none; } html body.app #al .slb .psa-l[data-rt="0"] .psa-g { display: none; }
.slb-f { padding: 4px 3px 0; } .slb-f i { font: italic 400 13px var(--serif); } .slb-f b { font: 500 10.5px var(--mono); letter-spacing: 0.08em; }
.al-ar button:disabled { opacity: 0.3; cursor: default; }

/* an open place: an empty frame on the wall, the same size as a card: a thin dark frame, a white mat with a bevelled
   window, nothing in it. Hung straight. */
.slb-fr { display: block; width: 100%; aspect-ratio: 1000 / 1618; box-sizing: border-box; padding: 7px; border-radius: 4px; background: #1c1920; box-shadow: inset 0 0 0 1px #ffffff12, 0 1px 0 #ffffff10, 0 20px 32px -24px #000b; transition: transform 0.35s var(--spring, ease), box-shadow 0.35s; }
.slb-mat { position: relative; height: 100%; box-sizing: border-box; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 12%; background: #f6f4f0; box-shadow: inset 0 1px 3px #0000002e; color: #4a4450; text-align: center; }
.slb-mat::after { content: ''; position: absolute; inset: 11% 13%; border: 1px solid #00000012; box-shadow: inset 1px 1px 0 #ffffffcc, inset -1px -1px 0 #00000010, -1px -1px 0 #00000014, 1px 1px 0 #ffffff; pointer-events: none; }
.slb-plus { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #16121c33; font: 300 20px/1 var(--sans); color: #16121c99; transition: border-color 0.3s, color 0.3s; }
.slb-mat b { position: relative; z-index: 1; font: italic 400 13.5px/1.25 var(--serif); letter-spacing: 0.01em; color: #6b6474; }
@media (hover: hover) { .slb-open:hover .slb-fr { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #ffffff18, 0 26px 38px -24px #000c; } .slb-open:hover .slb-plus { border-color: #16121c80; color: #16121c; } }
.slb-open:focus-visible .slb-fr { outline: 2px solid #a078e6; outline-offset: 3px; }
:root[data-theme='dark'] .slb-fr { background: #0b0a0e; box-shadow: inset 0 0 0 1px #ffffff1c, 0 20px 34px -22px #000; }
:root[data-theme='dark'] .slb-mat { background: #1d1a23; box-shadow: inset 0 1px 4px #00000080; color: #cfc8da; }
:root[data-theme='dark'] .slb-mat::after { border-color: #ffffff12; box-shadow: inset 1px 1px 0 #ffffff0d, inset -1px -1px 0 #00000055, -1px -1px 0 #00000066, 1px 1px 0 #ffffff0d; }
:root[data-theme='dark'] .slb-plus { border-color: #ffffff38; color: #ffffffaa; } :root[data-theme='dark'] .slb-mat b { color: #a79fb3; }
@media (hover: hover) { :root[data-theme='dark'] .slb-open:hover .slb-plus { border-color: #ffffff80; color: #fff; } }
@media (max-width: 700px) { html body.app #al-lines .al-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; } }
@media (prefers-reduced-motion: reduce) { .slb-fr { transition: none; } }

/* ---------- the cards as white glass (2026-11-24), the way dznye.com draws glass, flat ----------
   Almost white frosted glass with a cyan / rose fringe at its side edges. Where the pointer is, a highlight lifts and
   the holographic foil band follows it (allyra.js sets --sx --sy --bx). The better people rate a card (data-rk 0 to 5),
   the more the glass shows: 0 clear; 1 a little glitter; 2 more, and the edge fringe; 3 the foil band drifts across by
   itself and stars pop now and then; 4 brighter; 5 a soft halo and a third star. Nothing turns in 3D. */
.slb[data-rk] { position: relative; --ir: 0; --gl: 0; --sp: 0.35; }
.slb[data-rk="1"] { --gl: 0.18; --ir: 0.1; } .slb[data-rk="2"] { --gl: 0.28; --ir: 0.16; } .slb[data-rk="3"] { --gl: 0.36; --ir: 0.24; }
.slb[data-rk="4"] { --gl: 0.46; --ir: 0.32; } .slb[data-rk="5"] { --gl: 0.56; --ir: 0.42; }
html body.app #al .slb[data-rk] .psa { isolation: isolate; border: 1px solid #ffffff; background: radial-gradient(ellipse 95% 70% at var(--sx, 28%) var(--sy, 8%), rgb(255 255 255 / calc(var(--sp) * 0.9)), rgb(255 255 255 / 0) 72%), linear-gradient(152deg, #fffffff5, #ffffffc8 46%, #f5f1ffe6); box-shadow: 0 0 0 1px #1c162812, inset 0 1px 0 #fff, inset 0 0 0 1px #ffffffcc, 0 22px 40px -28px #3a2166a0; transition: transform 0.35s var(--spring, ease), box-shadow 0.35s; }
html body.app #al .slb[data-rk] .psa.lit { --sp: 1; }
html body.app #al .slb:is([data-rk="2"], [data-rk="3"], [data-rk="4"], [data-rk="5"]) .psa { box-shadow: 0 0 0 1px #1c162812, inset 1.5px 0 0 #9fe3ffb0, inset -1.5px 0 0 #ffb8dcb0, inset 0 1px 0 #fff, 0 22px 40px -28px #3a2166a0; }
html body.app #al .slb[data-rk="5"] .psa { box-shadow: 0 0 0 1px #1c162812, inset 1.5px 0 0 #9fe3ffd0, inset -1.5px 0 0 #ffb8dcd0, inset 0 1px 0 #fff, 0 0 26px -8px #c9b6ffb0, 0 0 40px -14px #9fe3ffb0, 0 22px 40px -28px #3a2166a0; }
/* glitter: fine points of light in the glass, lifting where the pointer is */
html body.app #al .slb[data-rk] .psa::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: calc(var(--gl) * (0.55 + var(--sp) * 0.6)); mix-blend-mode: screen; transition: opacity 0.4s;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='7' cy='12' r='.9'/%3E%3Ccircle cx='31' cy='4' r='.6'/%3E%3Ccircle cx='55' cy='19' r='1.1'/%3E%3Ccircle cx='79' cy='9' r='.7'/%3E%3Ccircle cx='18' cy='38' r='.6'/%3E%3Ccircle cx='44' cy='47' r='.9'/%3E%3Ccircle cx='70' cy='36' r='.6'/%3E%3Ccircle cx='86' cy='58' r='1'/%3E%3Ccircle cx='9' cy='66' r='1'/%3E%3Ccircle cx='35' cy='74' r='.7'/%3E%3Ccircle cx='61' cy='83' r='.9'/%3E%3Ccircle cx='77' cy='77' r='.5'/%3E%3C/g%3E%3Cg fill='%23bfe9ff'%3E%3Ccircle cx='24' cy='22' r='.8'/%3E%3Ccircle cx='66' cy='60' r='.8'/%3E%3C/g%3E%3Cg fill='%23ffd1ea'%3E%3Ccircle cx='50' cy='31' r='.7'/%3E%3Ccircle cx='14' cy='86' r='.7'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 90px 90px; }
/* the holographic foil band: it follows the pointer, and on a card rated 3 or more it drifts across by itself */
html body.app #al .slb[data-rk] .psa::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 1; transition: none;
	background: linear-gradient(112deg, rgb(255 255 255 / 0) 22%, hsl(195 95% 80% / var(--ir)) 33%, hsl(255 95% 84% / var(--ir)) 43%, hsl(320 95% 85% / var(--ir)) 53%, hsl(40 95% 82% / var(--ir)) 63%, rgb(255 255 255 / 0) 74%) var(--bx, 110%) 0 / 300% 100% no-repeat; }
html body.app #al .slb:is([data-rk="3"], [data-rk="4"], [data-rk="5"]) .psa:not(.lit)::after { animation: slb-foil 9s ease-in-out infinite; animation-delay: calc(var(--gh, 0) * -0.03s); }
html body.app #al .slb[data-rk="5"] .psa:not(.lit)::after { animation-duration: 6s; }
@keyframes slb-foil { 0%, 100% { background-position: 110% 0; } 50% { background-position: -10% 0; } }
@media (hover: hover) { html body.app #al .slb[data-rk]:hover .psa { transform: translateY(-5px); } }
/* stars around the glass */
.slb-st { position: absolute; z-index: 4; width: 15px; height: 15px; pointer-events: none; opacity: 0; scale: 0; filter: drop-shadow(0 0 3px var(--sc)); animation: slb-pop 4.6s ease-in-out infinite; }
.slb-st svg { display: block; width: 100%; height: 100%; } .slb-st path { fill: #fff; stroke: var(--sc); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.slb-st.s1 { right: -5px; top: 9%; --sc: #8fa9c4; animation-delay: calc(var(--gh, 0) * -0.02s); }
.slb-st.s2 { left: -4px; top: 46%; width: 10px; height: 10px; --sc: #7fbfc6; animation-delay: calc(var(--gh, 0) * -0.02s - 1.6s); }
.slb-st.s3 { right: 6%; top: 74%; width: 12px; height: 12px; --sc: #a3a0c8; animation-delay: calc(var(--gh, 0) * -0.02s - 3s); }
.slb[data-rk="5"] .slb-st { animation-duration: 3.4s; }
@media (hover: hover) { .slb:hover .slb-st { animation-duration: 1.7s; } }
@keyframes slb-pop { 0%, 70%, 100% { opacity: 0; scale: 0; rotate: 0deg; } 80% { opacity: 1; scale: 1; rotate: 45deg; } 90% { opacity: 0; scale: 0.2; rotate: 90deg; } }
/* night: the same glass, frosted white over the dark wall */
:root[data-theme='dark'] body.app #al .slb[data-rk] .psa { border-color: #ffffff38; background: radial-gradient(ellipse 95% 70% at var(--sx, 28%) var(--sy, 8%), rgb(255 255 255 / calc(var(--sp) * 0.22)), rgb(255 255 255 / 0) 72%), linear-gradient(152deg, #ffffff30, #ffffff14 46%, #d9ccff24); }
:root[data-theme='dark'] body.app #al .slb[data-rk="0"] .psa, :root[data-theme='dark'] body.app #al .slb[data-rk="1"] .psa { box-shadow: 0 0 0 1px #0007, inset 0 1px 0 #ffffff30, 0 22px 40px -24px #000; }
@media (prefers-reduced-motion: reduce) { .slb-st { display: none; } html body.app #al .slb[data-rk] .psa::after { animation: none !important; } }
/* the glitter lives in the glass around the picture, never over the art; only the foil band crosses the whole card */
html body.app #al .slb[data-rk] .psa::before { z-index: 1; }
html body.app #al .slb[data-rk] .psa > .psa-c { position: relative; z-index: 2; }
html body.app #al .slb[data-rk] .psa > .psa-l { z-index: 2; }
html body.app #al .slb[data-rk] .psa::after { z-index: 3; }

/* ---------- the wall label's edge (2026-11-24, second pass) ----------
   No stripes: the label's own rectangle carries it. Its edge colour steps up with how much people like the card
   (bronze, silver, gold, sapphire, ruby). Once people own pieces, the edge becomes a soft gradient of the held pieces'
   colours. It glows a little, and a little more as pieces fill and the card gets popular (--gw 0 to 1, from
   allyra.js); never much. Inside: a faint tint of the edge colour and a slow shine passing now and then. */
html body.app #al .slb .psa-l, html body.app #al .slb .psa-l.crest { padding: 7px 9px; border-width: 1.5px; overflow: hidden;
	background: linear-gradient(115deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 0.85) 45%, rgb(255 255 255 / 0) 60%) -160% 0 / 250% 100% no-repeat, linear-gradient(160deg, color-mix(in srgb, var(--rt) 9%, #fff), #fff 65%) padding-box;
	box-shadow: 0 0 calc(2px + var(--gw, 0) * 10px) calc(var(--gw, 0) * 1px) color-mix(in srgb, var(--rt) calc(var(--gw, 0) * 55%), transparent);
	animation: slb-shine 7s ease-in-out infinite; animation-delay: calc(var(--gh, 0) * -0.02s); }
html body.app #al .slb .psa-l[data-rt="0"] { --rt: #b9b2c6; border-width: 1px; }
html body.app #al .slb .psa-l[data-rt="5"] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--rt), 0 0 calc(4px + var(--gw, 0) * 12px) color-mix(in srgb, var(--rt) calc(20% + var(--gw, 0) * 45%), transparent); }
html body.app #al .slb .psa-l::after, html body.app #al .slb .psa-l::before { content: none !important; }
/* pieces held: the edge is the pieces' gradient */
html body.app #al .slb .psa-l.crest:not([data-n="0"]) { border-color: transparent;
	background: linear-gradient(115deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 0.85) 45%, rgb(255 255 255 / 0) 60%) -160% 0 / 250% 100% no-repeat padding-box, linear-gradient(160deg, color-mix(in srgb, var(--rt) 9%, #fff), #fff 65%) padding-box, var(--pg) border-box;
	box-shadow: 0 0 calc(3px + var(--gw, 0) * 12px) calc(var(--gw, 0) * 1px) rgb(190 160 255 / calc(0.15 + var(--gw, 0) * 0.45)); }
@keyframes slb-shine { 0%, 62% { background-position: -160% 0, 0 0, 0 0; } 82%, 100% { background-position: 260% 0, 0 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { html body.app #al .slb .psa-l { animation: none; } }
/* the agreed sizes: the holder is the golden ratio (1 : 1.618) and the picture inside is the card's own 63 : 88, so an
   uploaded card is never cropped; the label takes what is left. A sideways card keeps its picture filling the rest. */
html body.app .slb .psa:not(.side) { grid-template-rows: minmax(0, 1fr) auto; }
html body.app .slb .psa:not(.side) .psa-c { aspect-ratio: 63 / 88; height: auto; }
html body.app #al .slb .psa:not(.side) .psa-l { padding-top: 0; padding-bottom: 0; align-items: center; }

/* ---------- a lucky copy's edge (2026-11-24) ----------
   One copy in every 1,000 mints on Allyra gets 1 of 36 looks (allyra-layer.ts; allyra.js sets --l1 --l2 --l3 and data-lf,
   the kind of edge 0 to 5). No names, no order: the edge itself is the only hint. Its colours drift slowly round it. */
html body.app #al .slb .psa-l.luck.luck { border-color: transparent; border-width: 2px; background-size: 250% 100%, auto, 200% 100%; background-repeat: no-repeat;
	background-image: linear-gradient(115deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 0.85) 45%, rgb(255 255 255 / 0) 60%), linear-gradient(160deg, color-mix(in srgb, var(--l2) 10%, #fff), #fff 70%), linear-gradient(110deg, var(--l1), var(--l2) 25%, var(--l3) 50%, var(--l2) 75%, var(--l1));
	background-origin: border-box; background-clip: padding-box, padding-box, border-box;
	box-shadow: 0 0 calc(6px + var(--gw, 0) * 8px) -2px color-mix(in srgb, var(--l2) 70%, transparent);
	animation: slb-luck 9s linear infinite; }
html body.app #al .slb .psa-l.luck.luck[data-lf="1"] { box-shadow: inset 0 0 0 1px var(--l2), 0 0 10px -3px color-mix(in srgb, var(--l2) 70%, transparent); }
html body.app #al .slb .psa-l.luck.luck[data-lf="2"] { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--l3), 0 0 12px -4px var(--l3); }
html body.app #al .slb .psa-l.luck.luck[data-lf="4"] { box-shadow: 0 0 14px -3px var(--l1), inset 0 0 6px -2px var(--l3); }
@keyframes slb-luck { from { background-position: -160% 0, 0 0, 0 0; } to { background-position: -160% 0, 0 0, 200% 0; } }
@media (prefers-reduced-motion: reduce) { html body.app #al .slb .psa-l.luck.luck { animation: none; } }

/* the shines loop without a break (2026-11-24): every sweep starts and ends fully off the card, so the jump back happens
   where nobody sees it; the pointer only moves the highlight and never cuts into a running sweep; a lucky edge's colours
   repeat, and move by exactly one repeat, so the loop has no seam */
html body.app #al .slb:is([data-rk="3"], [data-rk="4"], [data-rk="5"]) .psa::after, html body.app #al .slb:is([data-rk="3"], [data-rk="4"], [data-rk="5"]) .psa:not(.lit)::after { background-position: -25% 0; animation: slb-foil2 9s linear infinite; animation-delay: calc(var(--gh, 0) * -0.03s); }
html body.app #al .slb[data-rk="5"] .psa::after, html body.app #al .slb[data-rk="5"] .psa:not(.lit)::after { animation-duration: 6.5s; }
@keyframes slb-foil2 { 0%, 45% { background-position: -25% 0; } 100% { background-position: 125% 0; } }
html body.app #al .slb:is([data-rk="0"], [data-rk="1"], [data-rk="2"]) .psa::after { background-position: var(--bx, 125%) 0; transition: background-position 0.5s ease-out; }
html body.app #al .slb:is([data-rk="0"], [data-rk="1"], [data-rk="2"]) .psa:not(.lit)::after { --bx: 125%; }
html body.app #al .slb .psa-l.luck.luck { background-repeat: no-repeat, no-repeat, repeat-x; }
@keyframes slb-luck { from { background-position: -160% 0, 0 0, 0% 0; } to { background-position: -160% 0, 0 0, 200% 0; } }

/* ---------- the pieces of a card, beside it in the viewer (pieces.js) ---------- */
.ap-pieces:empty { display: none; }
.pc, .pc-off { margin: 14px 0 6px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 14px; background: color-mix(in srgb, var(--fg) 3%, transparent); }
.pc-off { display: grid; gap: 8px; } .pc-off > span { font-size: 12.5px; color: var(--dim); line-height: 1.45; } .pc-off .pick-line { display: flex; gap: 8px; } .pc-off input { flex: 1; min-width: 0; margin: 0; }
.pc-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; } .pc-h b { font: italic 400 17px var(--serif); } .pc-h span { font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.pc-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid color-mix(in srgb, var(--fg) 7%, transparent); }
.pc-gem { flex: none; width: 14px; height: 14px; transform: rotate(45deg); border-radius: 3px; border: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); background: transparent; }
.pc-row.held .pc-gem { border-color: transparent; box-shadow: 0 0 8px -2px var(--pcg); background: var(--pcg); }
.pc-row[data-piece="0"] { --pcg: linear-gradient(135deg, #f0c27a, #c9d3dd, #8fdcff, #c27cff); } .pc-row[data-piece="1"] { --pcg: #b9c3ce; } .pc-row[data-piece="2"] { --pcg: #dcb54c; }
.pc-row[data-piece="3"] { --pcg: #e2ecf4; } .pc-row[data-piece="4"] { --pcg: #8fdcff; } .pc-row[data-piece="5"] { --pcg: #c27cff; }
.pc-row.held[data-piece="0"] .pc-gem { background: linear-gradient(135deg, #f0c27a, #c9d3dd, #8fdcff, #c27cff); box-shadow: 0 0 8px -2px #c27cff; }
.pc-row.held:not([data-piece="0"]) .pc-gem { box-shadow: 0 0 8px -2px var(--pcg); }
.pc-n { flex: 1; min-width: 0; display: grid; } .pc-n b { font-size: 13.5px; } .pc-n i { font-style: normal; font-size: 11.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-p { font: 500 11.5px var(--mono); color: var(--dim); white-space: nowrap; } .pc-row .btn.small { white-space: nowrap; font-size: 10.5px; }
.pc .hint { margin: 8px 0 0; font-size: 11.5px; line-height: 1.45; }

/* the card's full quality on the chain, and Renew (keep.js) */
.ap-keep:empty { display: none; }
.kp { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 0; font-size: 12.5px; color: var(--dim); } .kp b { color: var(--fg); font-weight: 600; }

/* Allyra's line under its name: a gallery's engraved plaque, quiet and sure of itself */
.al-name { display: grid; gap: 4px; min-width: 0; } .al-name h2 { margin: 0; }
.al-tag { position: relative; margin: 0; padding-top: 7px; font: italic 400 14px/1.35 var(--serif); letter-spacing: 0.02em; color: color-mix(in srgb, var(--fg) 72%, transparent); }
.al-tag::before { content: ''; position: absolute; left: 0; top: 0; width: 34px; height: 1px; background: linear-gradient(90deg, #c9a95c, transparent); }
@media (max-width: 480px) { .al-tag { font-size: 12.5px; } }

/* the card's title in the post sheet: one printable line (32 characters), with what is left counted down */
.post-title { position: relative; margin-bottom: 8px; } html body.app .post-title input { width: 100%; box-sizing: border-box; margin: 0; padding-right: 44px; font: italic 400 16px var(--serif); }
.post-title span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 500 10.5px var(--mono); color: var(--dim); pointer-events: none; }

/* a card's title is one line, always whole (18 characters at most): allyra.js shrinks the type a little for a title of
   unusually wide letters, never cuts it with dots */
html body.app #al .slb .psa-l b > .nm, html body.app #ap-card #ap-name { text-overflow: clip; }
/* the wall label, fixed: the title in one size on one line, and a square kept on the right for the rating (on a printed
   card, its QR). Nothing in it grows or shrinks; titles are short enough to fit (post.js TITLE_MAX) */
html body.app #al .slb .psa-l { display: flex; align-items: center; gap: 8px; }
html body.app #al .slb .psa-l > span:first-of-type { flex: 1 1 auto; min-width: 0; }
html body.app #al .slb .psa-l b > .nm { font-size: 11px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: clip; }
html body.app #al .slb .psa-l .psa-g, html body.app #al .slb .psa-l[data-rt="0"] .psa-g { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin: 0; padding: 0; border: 1px solid color-mix(in srgb, var(--rt) 60%, transparent); border-radius: 3px; }
html body.app #al .slb .psa-l .psa-g b { font: 600 11px/1 var(--sans); }
html body.app #al .slb .psa-l { gap: 6px; } html body.app #al .slb .psa-l .psa-g, html body.app #al .slb .psa-l[data-rt="0"] .psa-g { width: 24px; height: 24px; }
.post-title span.ok { color: #19a974; } .post-title span.err { color: #e5484d; }
html body.app #al .slb .psa-l, html body.app #al .slb .psa-l.crest { padding-left: 7px; padding-right: 7px; gap: 5px; } html body.app #al .slb .psa-l .psa-g, html body.app #al .slb .psa-l[data-rt="0"] .psa-g { width: 22px; height: 22px; }

/* the post sheet's lower half (2026-11-25): one kind of box for every section, the months and the picture quality as
   compact rows, small wallet and coin pills, and one total line that says what posting costs */
html body.app .post-box { margin: 0 0 10px; padding: 10px 14px 12px; }
.post-sec { gap: 6px; } .post-sec .hint { margin: 0; font-size: 11.5px; line-height: 1.4; }
.post-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html body.app .post-row > label { margin: 0; }
html body.app .post-row select { width: auto; min-width: 118px; flex: none; margin: 0; padding-top: 7px; padding-bottom: 7px; }
.post-row > b { font: 600 13px var(--sans); }
html body.app .post-sec.post-q { margin: 0 0 10px; } html body.app .post-sec.post-q input[type='range'] { margin: 10px 0 2px; }
.post-pay { margin: 4px 0 12px; } .post-pay-row { gap: 8px; }
html body.app .post-pill { padding: 6px 28px 6px 11px; border-radius: 12px; }
html body.app .post-pill select { font-size: 12.5px; }
.post-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 10px 2px 0; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); }
.post-total > span { font: 500 10.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
html body.app .post-total .post-size { margin: 0; font: 600 13.5px var(--sans); color: var(--fg); text-align: right; } .post-total .post-size.err { color: #e5484d; }
.post-total .post-size:empty::after { content: '—'; color: var(--dim); }
/* the card's framing controls wrap on a narrow screen instead of running past the sheet's edge */
.post-fit { flex-wrap: wrap; justify-content: center; row-gap: 8px; max-width: 100%; }

/* a card in the buy sheet: the same card as on the wall, standing (63 : 88) or on its side, never cropped into a strip */
#itemsheet .it-cover.card { background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--fg) 6%, transparent), transparent 70%); }
#itemsheet .it-cover.card img { width: auto; height: 100%; max-width: 100%; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 4.8% / 3.5%; box-shadow: 0 0 0 1px #ffffff40, 0 16px 30px -18px #000a; }
#itemsheet .it-cover.card.side img { aspect-ratio: 88 / 63; height: auto; width: min(100%, calc(min(30dvh, 260px) * 88 / 63)); }

/* ---------- bone, not neon (2026-11-26) ----------
   The neon cyan-to-magenta was the app's old accent and fights the gallery look. Its places now wear bone: warm ivory,
   soft parchment, a muted gold-beige edge, dark ink. Neon stays only for the rarest moments (a lucky mint's edge). */
:root { --bone: #f3ede1; --bone-2: #e4d9c4; --bone-3: #cbb994; --ink: #1c1812; }
.guide-bar i { background: linear-gradient(90deg, var(--bone-3), var(--bone-2), var(--bone)); }
.pay-opt em, .pg-b em, .cr-gal-ed { color: var(--ink); background: linear-gradient(135deg, var(--bone), var(--bone-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bone-3) 70%, transparent); }
.pg-dzy .pg-ic { background: linear-gradient(135deg, var(--bone), var(--bone-2) 55%, var(--bone-3)); color: var(--ink); }
.pg-dzy { border-color: color-mix(in srgb, var(--bone-3) 55%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--bone) 8%, transparent), color-mix(in srgb, var(--bone-3) 8%, transparent)); }
.post-fab, .st-add, .cr-post-btn.buy, .join-card { color: var(--ink); background: linear-gradient(135deg, var(--bone), var(--bone-2) 60%, var(--bone-3)); background-size: 100% 100%; animation: none; box-shadow: inset 0 0 0 1px #ffffff80, 0 14px 30px -14px #00000080; }
.join-card * { color: inherit; }

.sharesheet .sh-card.four { aspect-ratio: 4 / 5; width: min(300px, 70vw); }

/* ---------- the viewer's card in 3D (2026-11-26) ----------
   The same card, made a slab: it leans toward the pointer (up to 16 and 12 degrees) and the light moves over its glass;
   glass layers behind it give it thickness.
   CSS 3D only: nothing to download, drawn by the graphics chip. No leaning for reduced motion or touch. */
.ap-stage { perspective: 1300px; }
.ap-turn { position: relative; display: grid; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
html body.app .ap-turn > #ap-card { position: relative; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform-style: flat;
	background-image: radial-gradient(ellipse 80% 60% at var(--lx, 30%) var(--ly, 15%), #ffffff55, #ffffff00 70%), linear-gradient(150deg, #ffffffd0, #ffffff66 45%, #f3ecffb0); }
:root[data-theme='dark'] body.app .ap-turn > #ap-card { background-image: radial-gradient(ellipse 80% 60% at var(--lx, 30%) var(--ly, 15%), #ffffff26, #ffffff00 70%), linear-gradient(150deg, #ffffff1f, #ffffff0a 45%, #c9b6ff1c); }
.ap-depth { position: absolute; inset: 0; border-radius: 14px; transform: translateZ(-12px); pointer-events: none; background: linear-gradient(150deg, #ffffff40, #ffffff14); box-shadow: inset 0 0 0 1px #ffffff50; }
.ap-depth i { position: absolute; inset: 0; border-radius: inherit; background: inherit; box-shadow: inherit; }
.ap-depth i:first-child { transform: translateZ(4px); } .ap-depth i:last-child { transform: translateZ(8px); }
@media (prefers-reduced-motion: reduce) { .ap-turn { transition: none; } }

/* the wall's cards in 3D too: the one under the pointer leans toward it (up to 14 and 10 degrees) as it lifts, the light
   following; it settles back when the pointer leaves. Only that card moves. No leaning for reduced motion or touch. */
#al-lines .slb[data-ally] { perspective: 900px; }
html body.app #al-lines .slb[data-rk] .psa { transform-origin: 50% 50%; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s; }
@media (hover: hover) { html body.app #al-lines .slb[data-rk]:hover .psa { transform: translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.12s ease-out, box-shadow 0.35s; } }
@media (prefers-reduced-motion: reduce) { html body.app #al-lines .slb[data-rk]:hover .psa { transform: translateY(-4px); } }

/* the cards answer a click in 3D (2026-11-26): on the wall the card presses in under the finger, tipping toward it; the
   big card then swings up into view, from lying back to standing. Nothing for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	html body.app #al-lines .slb[data-rk]:active .psa { transform: translateY(-1px) scale(0.965) rotateX(calc(var(--rx, 0deg) * 1.6)) rotateY(calc(var(--ry, 0deg) * 1.6)); transition: transform 0.09s ease-out, box-shadow 0.2s; }
	html body.app .ap-turn > #ap-card.rise { animation: ap-rise 0.62s cubic-bezier(0.2, 0.9, 0.25, 1.05) both; }
}
@keyframes ap-rise { from { opacity: 0; transform: translateY(46px) rotateX(38deg) scale(0.86); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
/* the big card's entrance, made a show (2026-11-26): it swings in from the side like a door, edge first, overshoots a
   touch and settles; as it lands a band of light sweeps across its glass. Next and back turn it in from that side too.
   All CSS, on the graphics chip; nothing for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	html body.app .ap-turn > #ap-card.rise { animation: ap-swing 1s cubic-bezier(0.16, 0.84, 0.24, 1) both; transform-origin: 50% 50%; }
	html body.app .ap-turn > #ap-card.from-r { animation: ap-in-r 0.62s cubic-bezier(0.16, 0.84, 0.24, 1) both; }
	html body.app .ap-turn > #ap-card.from-l { animation: ap-in-l 0.62s cubic-bezier(0.16, 0.84, 0.24, 1) both; }
	html body.app .ap-turn > #ap-card:is(.rise, .from-r, .from-l)::after { content: ''; position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light;
		background: linear-gradient(105deg, #fff0 30%, #ffffffd0 47%, #ffffff 50%, #ffffffd0 53%, #fff0 70%) 140% 0 / 260% 100% no-repeat; animation: ap-glint 0.85s 0.38s cubic-bezier(0.3, 0.6, 0.3, 1) both; }
	html body.app .ap-turn > #ap-card:is(.from-r, .from-l)::after { animation-delay: 0.18s; animation-duration: 0.6s; }
	html body.app .ap-turn > #ap-card.from-l::after { animation-name: ap-glint-l; }
}
@keyframes ap-swing {
	0% { opacity: 0; transform: translateX(-110px) translateZ(-160px) rotateY(-74deg) rotateZ(-5deg) scale(0.9); }
	18% { opacity: 1; }
	56% { transform: translateX(10px) translateZ(0) rotateY(10deg) rotateZ(0.8deg) scale(1.01); }
	78% { transform: translateX(-3px) rotateY(-3deg) rotateZ(-0.2deg) scale(1); }
	100% { opacity: 1; transform: none; }
}
@keyframes ap-in-r { 0% { opacity: 0; transform: translateX(90px) translateZ(-80px) rotateY(-42deg) scale(0.94); } 30% { opacity: 1; } 65% { transform: translateX(-6px) rotateY(5deg); } 100% { opacity: 1; transform: none; } }
@keyframes ap-in-l { 0% { opacity: 0; transform: translateX(-90px) translateZ(-80px) rotateY(42deg) scale(0.94); } 30% { opacity: 1; } 65% { transform: translateX(6px) rotateY(-5deg); } 100% { opacity: 1; transform: none; } }
@keyframes ap-glint { from { background-position: 140% 0; opacity: 1; } 85% { opacity: 1; } to { background-position: -40% 0; opacity: 0; } }
@keyframes ap-glint-l { from { background-position: -40% 0; opacity: 1; } 85% { opacity: 1; } to { background-position: 140% 0; opacity: 0; } }

/* ---------- Dznye Pay (payment.dznye.com): a layer with its own small shell, in the wallet's look ---------- */
body.layer { min-height: 100vh; }
.pay-top { display: flex; align-items: center; justify-content: space-between; max-width: 960px; margin: 0 auto; padding: 18px 20px; }
.pay-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); text-decoration: none; font: 600 16px var(--sans); }
.pay-brand svg.mk { height: 24px; width: auto; display: block; }
.pay-brand svg.mk .d { fill: none; stroke: var(--fg); stroke-width: 4; }
.pay-brand svg.mk .s { fill: url(#mkf); stroke: var(--fg); stroke-width: 0.9; }
.pay-top nav { display: flex; gap: 20px; }
.pay-top nav a { color: var(--dim); text-decoration: none; font-size: 14px; }
.pay-top nav a[aria-current], .pay-top nav a:hover { color: var(--fg); }
.pay-main { max-width: 960px; margin: 0 auto; padding: 4px 20px 72px; }
.pay-narrow { max-width: 440px; margin: 4vh auto 0; }
.pay-hero h1 { font: 400 clamp(2.2rem, 6vw, 3.6rem)/1.05 var(--serif); letter-spacing: -0.02em; margin: 9vh 0 14px; }
.pay-hero p { color: var(--dim); max-width: 460px; font-size: 1.05rem; line-height: 1.55; }
.pay-title { font: 400 clamp(1.8rem, 4vw, 2.4rem)/1.1 var(--serif); margin: 4vh 0 10px; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.pay-row input, .pay-row select { flex: 1 1 140px; min-width: 0; }
.pay-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 56px 0; }
.pay-points .card b { display: block; font: 400 1.25rem var(--serif); margin-bottom: 4px; }
.pay-points .card span { color: var(--dim); font-size: 13px; }
.pay-block { margin: 36px 0; }
.pay-block h2, .pay-head h2 { font: 400 1.35rem var(--serif); margin: 0 0 12px; }
.pay-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pay-more { margin: 10px 0; }
.pay-more > summary { cursor: pointer; color: var(--dim); font-size: 13px; padding: 6px 0; }
.pay-more[open] > summary { color: var(--fg); }
.pay-more input { display: block; width: 100%; margin: 8px 0; }
.pay-linkbox { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.pay-linkbox svg { background: #fff; padding: 6px; border-radius: 10px; display: block; }
.pay-linkbox code, .pay-copyline code { font-size: 12px; overflow-wrap: anywhere; }
.pay-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.pay-stats .card span { display: block; color: var(--dim); font-size: 12px; }
.pay-stats .card b { font: 400 1.6rem var(--serif); }
.pay-list { padding: 4px 0 !important; }
.pay-item { border-bottom: 1px solid var(--line); }
.pay-item:last-child { border-bottom: 0; }
.pay-item > summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
.pay-item > summary::-webkit-details-marker { display: none; }
.pay-item > summary small { color: var(--dim); font-weight: 400; }
.pay-item > .pay-linkbox { padding: 0 16px 14px; margin: 0; }
.pay-sale { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.pay-sale:last-child { border-bottom: 0; }
.pay-sale i { display: block; font-style: normal; color: var(--dim); font-size: 12px; }
.pay-sale em { font-style: normal; font-size: 11px; color: var(--dim); white-space: nowrap; }
.pay-sale em.ok { color: #1f9d5c; }
.pay-verified { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 5px; vertical-align: -2px; border-radius: 50%; font-size: 9px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #3aa0ff, #8b5cff); }
.pay-co { text-align: center; padding: 26px 22px !important; }
.pay-shop { margin: 0 0 8px; font-size: 15px; }
.pay-price { font: 400 clamp(2.4rem, 9vw, 3.2rem)/1.05 var(--serif); margin: 4px 0 6px; }
.pay-price small { font-size: 0.4em; color: var(--dim); }
.pay-wallet { display: flex !important; flex-direction: column; gap: 2px; margin: 18px 0 6px; padding: 14px !important; }
.pay-wallet span { font-size: 11px; opacity: 0.75; }
.pay-coins { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 6px; margin-top: 8px; }
.pay-coins .btn { display: flex; flex-direction: column; gap: 1px; padding: 9px 6px; }
.pay-coins .btn span { font-size: 10px; opacity: 0.7; }
.pay-coins .btn i { font-style: normal; font-size: 10px; color: #1f9d5c; }
.pay-copyline { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 4px 0; min-width: 0; }
.pay-copyline input { flex: 1; min-width: 0; }
.pay-amt { font: 400 1.5rem var(--serif); font-variant-numeric: tabular-nums; }
.pay-co .pn-qr { display: grid; place-items: center; margin: 14px 0; }
.pay-co .pn-qr svg { background: #fff; padding: 8px; border-radius: 12px; max-width: 100%; height: auto; }
.pay-ok { color: #1f9d5c; font-weight: 600; margin: 6px 0; }
.pay-code { font: 500 clamp(1.5rem, 6vw, 2rem) var(--mono); letter-spacing: 0.06em; margin: 4px 0; }
.pay-foot { text-align: center; margin-top: 14px; }
.pay-steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 22px; margin: 28px 0; }
.pay-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.pay-steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font: 500 13px var(--mono); }
.pay-steps h2 { font: 400 1.2rem var(--serif); margin: 2px 0 6px; }
.pay-doc pre { overflow-x: auto; font-size: 12px; }
@media (max-width: 560px) { .pay-stats { grid-template-columns: 1fr 1fr; } .pay-stats .card:last-child { grid-column: 1 / -1; } }
/* the wallet's way into Dznye Pay: Creators → Business → Merchant */
.biz-merchant { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--fg); text-decoration: none; }
.biz-merchant .orb-s { width: 34px; height: 34px; flex: none; }
.biz-merchant b { display: block; } .biz-merchant i { display: block; font-style: normal; color: var(--dim); font-size: 12px; }
.biz-merchant > span:last-child { margin-left: auto; color: var(--dim); }
/* (Dznye Pay: lists are one column; sections keep the shell's own spacing, not the chain site's) */
body.layer .pay-main section { padding: 0; }
body.layer .pay-list { display: block !important; }
body.layer .pay-item, body.layer .pay-sale { width: 100%; }
body.layer .pay-sale > span { flex: 1; min-width: 0; }
body.layer .pay-item > summary > span { flex: 1; min-width: 0; }
/* Dznye Pay: three steps, everywhere */
.pay-3 { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; counter-reset: s; }
.pay-3 li { counter-increment: s; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--dim); letter-spacing: 0.04em; }
.pay-3 li::before { content: counter(s); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); font: 500 10px var(--mono); }
.pay-3 li + li { padding-left: 10px; border-left: 1px solid var(--line); }
.pay-3 li.on { color: var(--fg); } .pay-3 li.on::before { background: var(--fg); color: var(--bg, #fff); border-color: var(--fg); }
.pay-3 li.past::before { content: '✓'; background: #2fbf7133; color: #1f9d5c; border-color: transparent; }
.pay-setup { justify-content: flex-start; margin: 4px 0 6px; }
.pay-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin: 56px 0 10px; }
.pay-two h2 { font: 400 1.25rem var(--serif); margin: 0 0 6px; }
.pay-steps.small { gap: 12px; margin: 12px 0 0; }
.pay-steps.small b { display: block; font-weight: 600; font-size: 14px; }
.pay-steps.small span { color: var(--dim); font-size: 12px; }
.pay-fine { margin: 0 0 40px; }
/* the pay screen: another token on a 0x chain */
.pay-addtok { margin: 6px 0 12px; text-align: left; }
.pay-addtok > summary { cursor: pointer; color: var(--dim); font-size: 13px; padding: 6px 0; }
.pay-addtok .row { display: flex; gap: 8px; margin: 8px 0; } .pay-addtok .row select { flex: 0 0 38%; } .pay-addtok .row input { flex: 1; min-width: 0; }

/* ---------- the wall comes alive (2026-11-26) ----------
   Cards are dealt onto the wall one after another in 3D (up from below at first, in from the side when you turn the
   wall), each overshooting a touch and settling. A band of light sweeps across a picture when the pointer arrives. The
   empty frames answer too: the plus turns and the frame lifts. CSS only; nothing for reduced motion. */
#al-lines .slb { perspective: 900px; }
@media (prefers-reduced-motion: no-preference) {
	#al-lines .slb:is(.deal-up, .deal-r, .deal-l) > :is(.psa, .slb-fr) { animation: slb-deal-up 0.78s cubic-bezier(0.16, 0.84, 0.24, 1) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
	#al-lines .slb.deal-r > :is(.psa, .slb-fr) { animation-name: slb-deal-r; animation-duration: 0.66s; animation-delay: calc(var(--i, 0) * 45ms); }
	#al-lines .slb.deal-l > :is(.psa, .slb-fr) { animation-name: slb-deal-l; animation-duration: 0.66s; animation-delay: calc(var(--i, 0) * 45ms); }
	#al-lines .slb:is(.deal-up, .deal-r, .deal-l) > .slb-f { animation: slb-cap 0.5s ease-out backwards; animation-delay: calc(var(--i, 0) * 60ms + 0.3s); }
	html body.app #al-lines .slb[data-ally] .psa-c::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light;
		background: linear-gradient(110deg, #fff0 32%, #ffffffc0 46%, #fff 50%, #ffffffc0 54%, #fff0 68%) 160% 0 / 260% 100% no-repeat; }
	@media (hover: hover) { html body.app #al-lines .slb[data-ally]:hover .psa-c::after { background-position: -60% 0; transition: background-position 0.95s cubic-bezier(0.3, 0.6, 0.3, 1); } }
	.slb-plus { transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.2), border-color 0.25s, color 0.25s; }
	@media (hover: hover) { .slb-open:hover .slb-plus { transform: rotate(90deg) scale(1.12); } }
	.slb-open:active .slb-fr { transform: translateY(-1px) scale(0.97); transition: transform 0.09s ease-out; }
}
@keyframes slb-deal-up { 0% { opacity: 0; transform: translateY(38px) translateZ(-90px) rotateX(42deg); } 55% { opacity: 1; transform: translateY(-4px) rotateX(-5deg); } 100% { opacity: 1; transform: none; } }
@keyframes slb-deal-r { 0% { opacity: 0; transform: translateX(46px) translateZ(-90px) rotateY(-55deg); } 55% { opacity: 1; transform: translateX(-3px) rotateY(6deg); } 100% { opacity: 1; transform: none; } }
@keyframes slb-deal-l { 0% { opacity: 0; transform: translateX(-46px) translateZ(-90px) rotateY(55deg); } 55% { opacity: 1; transform: translateX(3px) rotateY(-6deg); } 100% { opacity: 1; transform: none; } }
@keyframes slb-cap { from { opacity: 0; transform: translateY(6px); } }
/* the motion spread through its whole time (the curve set per stage, not squeezed into the first one): the wall's deal and
   the viewer's swing glide in, overshoot and settle evenly */
@media (prefers-reduced-motion: no-preference) {
	#al-lines .slb:is(.deal-up, .deal-r, .deal-l) > :is(.psa, .slb-fr), html body.app .ap-turn > #ap-card:is(.rise, .from-r, .from-l) { animation-timing-function: linear; }
}
@keyframes slb-deal-up { 0% { opacity: 0; transform: translateY(38px) translateZ(-90px) rotateX(42deg); animation-timing-function: cubic-bezier(0.25, 0.6, 0.35, 1); } 30% { opacity: 1; } 60% { transform: translateY(-4px) rotateX(-5deg); animation-timing-function: cubic-bezier(0.45, 0, 0.35, 1); } 100% { opacity: 1; transform: none; } }
@keyframes slb-deal-r { 0% { opacity: 0; transform: translateX(46px) translateZ(-90px) rotateY(-55deg); animation-timing-function: cubic-bezier(0.25, 0.6, 0.35, 1); } 30% { opacity: 1; } 60% { transform: translateX(-3px) rotateY(6deg); animation-timing-function: cubic-bezier(0.45, 0, 0.35, 1); } 100% { opacity: 1; transform: none; } }
@keyframes slb-deal-l { 0% { opacity: 0; transform: translateX(-46px) translateZ(-90px) rotateY(55deg); animation-timing-function: cubic-bezier(0.25, 0.6, 0.35, 1); } 30% { opacity: 1; } 60% { transform: translateX(3px) rotateY(-6deg); animation-timing-function: cubic-bezier(0.45, 0, 0.35, 1); } 100% { opacity: 1; transform: none; } }
@keyframes ap-swing {
	0% { opacity: 0; transform: translateX(-110px) translateZ(-160px) rotateY(-74deg) rotateZ(-5deg) scale(0.9); animation-timing-function: cubic-bezier(0.25, 0.6, 0.35, 1); }
	20% { opacity: 1; }
	56% { transform: translateX(10px) translateZ(0) rotateY(10deg) rotateZ(0.8deg) scale(1.01); animation-timing-function: cubic-bezier(0.45, 0, 0.4, 1); }
	80% { transform: translateX(-3px) rotateY(-3deg) rotateZ(-0.2deg) scale(1); animation-timing-function: cubic-bezier(0.45, 0, 0.4, 1); }
	100% { opacity: 1; transform: none; }
}
@keyframes ap-in-r { 0% { opacity: 0; transform: translateX(90px) translateZ(-80px) rotateY(-42deg) scale(0.94); animation-timing-function: cubic-bezier(0.25, 0.6, 0.35, 1); } 30% { opacity: 1; } 65% { transform: translateX(-6px) rotateY(5deg); animation-timing-function: cubic-bezier(0.45, 0, 0.4, 1); } 100% { opacity: 1; transform: none; } }
@keyframes ap-in-l { 0% { opacity: 0; transform: translateX(-90px) translateZ(-80px) rotateY(42deg) scale(0.94); animation-timing-function: cubic-bezier(0.25, 0.6, 0.35, 1); } 30% { opacity: 1; } 65% { transform: translateX(6px) rotateY(-5deg); animation-timing-function: cubic-bezier(0.45, 0, 0.4, 1); } 100% { opacity: 1; transform: none; } }
/* the light bands a little brighter, so the sweep reads on any art (soft light was lost on mid tones) */
@media (prefers-reduced-motion: no-preference) {
	html body.app #al-lines .slb[data-ally] .psa-c::after, html body.app .ap-turn > #ap-card:is(.rise, .from-r, .from-l)::after { mix-blend-mode: overlay; }
}
