/* ═══════════════════════════════════════════════════════════════════════
   Print2Link: cole o print, marque e mande o link (views/layouts/print2link.eta, apps/print2link*.eta)
   Escuro e quente (laranja e amarelo, cores de --accent e --accent-2 vindas do catálogo). Mobile-first.
   O movimento comum (confete, pop, tremida) vem de juice.css.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
	--bg: #0b0806;
	--bg-2: #140e0a;
	--ink: #f8f0e8;
	--ink-2: #cdbfb1;
	--ink-3: #9f9082; /* 5,9:1 sobre o fundo: passa AA */
	--line: rgb(255 255 255 / .1);
	--line-2: rgb(255 255 255 / .18);
	--glass: rgb(255 255 255 / .045);
	--danger: #fb7185;
	--ok: #4ade80;
	--radius: 18px;
	--font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
	color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--font); overflow-x: hidden; }
a { color: inherit; }
h1, h2, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #1a0f05; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-3); font-size: .92rem; }
.lead { color: var(--ink-2); max-width: 54ch; }

/* ───────── fundo ───────── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 50% -10%, #1d1209 0%, var(--bg) 60%); }
.bg i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .22; will-change: transform; animation: p-drift 26s ease-in-out infinite alternate; }
.bg i:first-child { left: -20vmax; top: -22vmax; background: var(--accent); }
.bg i:last-child { right: -24vmax; bottom: -28vmax; background: var(--accent-2); opacity: .13; animation-duration: 32s; animation-direction: alternate-reverse; }
@keyframes p-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(4vmax, 3vmax) scale(1.08); } }

/* ───────── topo e rodapé ───────── */
.top { position: sticky; top: 0; z-index: 20; background: rgb(11 8 6 / .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 1.15rem; }
.brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #1a0f05; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 20px -6px var(--accent); }
.brand__mark .i { width: 22px; height: 22px; stroke-width: 2; }
.brand__name b { color: var(--accent-2); }
.top__tools { display: flex; align-items: center; gap: 8px; }
.tool { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); transition: background .15s, color .15s, border-color .15s; }
.tool:hover { color: var(--ink); border-color: var(--line-2); }
.tool[aria-pressed="false"] { color: var(--ink-3); background: transparent; }
.tool[aria-pressed="false"] .i { opacity: .45; }
.tool[aria-pressed="true"] { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent-2) 50%, transparent); background: color-mix(in srgb, var(--accent-2) 10%, transparent); }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); font-weight: 600; font-size: .9rem; text-decoration: none; transition: color .15s, border-color .15s; }
.pill:hover { color: var(--ink); border-color: var(--line-2); }

.main { flex: 1; padding-block: 28px 56px; outline: none; }
.notice { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); }
.foot { border-top: 1px solid var(--line); color: var(--ink-3); font-size: .88rem; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px max(22px, env(safe-area-inset-bottom)); }
.foot a { color: var(--ink-2); }

/* ───────── botões ───────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--glass); color: var(--ink); font-weight: 650; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: transform .12s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover:not(:disabled) { background: rgb(255 255 255 / .09); border-color: rgb(255 255 255 / .3); }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn--primary { border-color: transparent; color: #1a0f05; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 28px -10px var(--accent); }
.btn--primary:hover:not(:disabled) { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 88%, white), color-mix(in srgb, var(--accent-2) 88%, white)); border-color: transparent; box-shadow: 0 14px 34px -10px var(--accent); }
.btn--big { min-height: 50px; padding-inline: 24px; font-size: 1.02rem; }
.btn--danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.btn--danger:hover:not(:disabled) { background: color-mix(in srgb, var(--danger) 14%, transparent); border-color: var(--danger); }
.ibtn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 11px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); text-decoration: none; transition: transform .12s, color .15s, background .15s, border-color .15s; }
.ibtn:hover:not(:disabled) { color: var(--ink); border-color: var(--line-2); background: rgb(255 255 255 / .09); }
.ibtn:active:not(:disabled) { transform: scale(.92); }
.ibtn:disabled { opacity: .35; cursor: not-allowed; }
.ibtn--danger:hover:not(:disabled), .ibtn--danger.is-armed { color: #fff; background: var(--danger); border-color: var(--danger); }

/* ───────── cartões ───────── */
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); padding: 20px; }
.panel__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel__head h2 { font-size: 1.05rem; letter-spacing: -.01em; }
.count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent-2); font: 700 .78rem var(--mono); }
.empty { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--ink-3); font-size: .92rem; }
.empty .i { margin-top: 2px; color: var(--ink-3); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 20px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass); }
.alert--warn { border-color: color-mix(in srgb, var(--accent-2) 55%, transparent); background: color-mix(in srgb, var(--accent-2) 9%, transparent); }
.alert .i { margin-top: 2px; color: var(--accent-2); }
.field-error { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--danger) 55%, transparent); background: color-mix(in srgb, var(--danger) 10%, transparent); color: #ffd5db; }
.label { display: block; margin: 0 0 8px; font-size: .84rem; font-weight: 650; color: var(--ink-2); letter-spacing: .01em; }
.orb { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; color: var(--accent-2); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.orb .i { width: 30px; height: 30px; }
.orb--ok { color: #0d1f12; background: var(--ok); border-color: transparent; box-shadow: 0 0 0 8px color-mix(in srgb, var(--ok) 18%, transparent); }
.expiry { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); font-size: .92rem; }
.expiry b { font: 700 1rem var(--mono); color: var(--accent-2); font-variant-numeric: tabular-nums; }
.center-card { max-width: 520px; margin: 40px auto 0; text-align: center; }
.center-card h1 { font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 10px; }
.center-card .lead { margin: 0 auto 22px; }

/* ───────── começo ───────── */
.hero { text-align: center; padding: 8px 0 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); font-size: .86rem; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 70%, transparent); animation: p-pulse 2.2s ease-out infinite; }
@keyframes p-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.hero__title { margin: 18px auto 12px; font-size: clamp(2.1rem, 7.4vw, 3.9rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 58ch; margin: 0 auto; color: var(--ink-2); font-size: clamp(1rem, 2.6vw, 1.15rem); }

.drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: clamp(28px, 6vw, 52px) 20px; margin-bottom: 18px; border-radius: 26px; border: 2px dashed var(--line-2); background: radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%), var(--glass); text-align: center; transition: border-color .2s, background .2s, transform .2s; outline: none; }
.drop:hover, .drop:focus-visible { border-color: color-mix(in srgb, var(--accent) 70%, transparent); }
.drop__corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--accent); opacity: .9; }
.drop__corner--a { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 9px; }
.drop__corner--b { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 9px; }
.drop__corner--c { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 9px; }
.drop__corner--d { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 9px; }
.drop__keys { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--ink-3); font-weight: 700; }
kbd { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); border-bottom-width: 4px; background: rgb(255 255 255 / .08); color: var(--ink); font: 700 1rem var(--mono); animation: p-key 3.2s ease-in-out infinite; }
.drop__keys kbd:last-child { animation-delay: .25s; }
@keyframes p-key { 0%, 70%, 100% { transform: none; border-bottom-width: 4px; } 80% { transform: translateY(3px); border-bottom-width: 1px; background: color-mix(in srgb, var(--accent) 30%, transparent); } }
.drop__title { font-size: clamp(1.25rem, 3.6vw, 1.7rem); font-weight: 750; letter-spacing: -.02em; }
.drop__hint { color: var(--ink-3); max-width: 44ch; }
.drop__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.drop__error { max-width: 60ch; margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--danger) 55%, transparent); background: color-mix(in srgb, var(--danger) 10%, transparent); color: #ffd5db; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); font-size: .9rem; }
.facts .i { color: var(--accent-2); }

.layout { display: grid; gap: 18px; }
.history__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.history__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: rgb(255 255 255 / .03); animation: p-in .35s ease-out backwards; }
@keyframes p-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.history__thumb { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; background: #000; border: 1px solid var(--line); }
.history__thumb--empty { display: grid; place-items: center; color: var(--ink-3); }
.history__body { min-width: 0; }
.history__link { display: block; font: 700 .95rem var(--mono); color: var(--accent-2); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history__link:hover { text-decoration: underline; }
.history__meta { margin-top: 2px; color: var(--ink-3); font-size: .8rem; line-height: 1.45; }
.history__left { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.history__actions { display: flex; gap: 6px; }
.usage { align-self: start; color: var(--ink-2); border-color: var(--line); background: var(--glass); border-radius: var(--radius); font-size: .95rem; }
.usage__item dd { font-family: var(--mono); }

/* ───────── editor ───────── */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); }
.toolbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.toolbar__group + .toolbar__group { padding-left: 14px; border-left: 1px solid var(--line); }
.toolbar__history { margin-left: auto; }
.tbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--ink-2); font-weight: 650; font-size: .9rem; transition: transform .12s, background .15s, color .15s, border-color .15s; }
.tbtn:hover { background: rgb(255 255 255 / .07); color: var(--ink); }
.tbtn[aria-checked="true"] { color: #1a0f05; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 22px -10px var(--accent); }
.toolbar__colors button { position: relative; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 2px solid rgb(255 255 255 / .28); background: var(--c); transition: transform .12s; }
.toolbar__colors button:hover { transform: scale(1.12); }
.toolbar__colors button[aria-checked="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #fff; transform: scale(1.08); }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; border: 1px solid var(--line); background: rgb(255 255 255 / .05); }
.seg button { display: inline-grid; place-items: center; min-width: 38px; min-height: 36px; padding: 0 12px; border-radius: 9px; border: 0; background: transparent; color: var(--ink-2); font-weight: 650; font-size: .84rem; }
.seg button:hover { color: var(--ink); background: rgb(255 255 255 / .07); }
.seg button[aria-checked="true"] { background: rgb(255 255 255 / .94); color: #1a0f05; }
.seg i { display: block; width: 24px; height: var(--w); border-radius: 99px; background: currentColor; }
.hint { margin: 12px 4px 10px; min-height: 1.55em; color: var(--ink-2); font-size: .92rem; }

.stage { display: grid; justify-content: center; padding: clamp(10px, 3vw, 22px); border-radius: 20px; border: 1px solid var(--line); overflow: auto;
	background: conic-gradient(#1b1411 25%, #150f0c 0 50%, #1b1411 0 75%, #150f0c 0) 0 0 / 22px 22px; }
.canvas-wrap { position: relative; display: block; width: fit-content; max-width: 100%; line-height: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px -24px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .14); }
#flat { display: block; width: auto; height: auto; max-width: 100%; max-height: min(74vh, 980px); }
#overlay { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.stage[data-tool="text"] #overlay { cursor: text; }
.stage.is-actual { justify-content: start; }
.stage.is-actual .canvas-wrap { max-width: none; }
.stage.is-actual #flat { max-width: none; max-height: none; width: calc(var(--iw) * 1px); }
.shine { position: absolute; pointer-events: none; opacity: 0; border: 2px solid var(--accent-2); border-radius: 4px; background: linear-gradient(110deg, transparent 15%, rgb(255 255 255 / .55) 50%, transparent 85%) -150% 0 / 250% 100% no-repeat; }
.shine.is-on { animation: p-shine .75s ease-out; }
@keyframes p-shine { 0% { opacity: 1; background-position: 150% 0; } 70% { opacity: 1; } 100% { opacity: 0; background-position: -50% 0; } }
.text-input { position: absolute; z-index: 3; min-width: 9ch; padding: 0 .25em; border: 2px dashed #fff; border-radius: 6px; background: rgb(0 0 0 / .45); font-family: var(--font); font-weight: 700; line-height: 1.25; outline: none; text-shadow: 0 1px 2px rgb(0 0 0 / .6); }
.actionbar { position: sticky; bottom: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: rgb(20 14 10 / .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.actionbar__info { color: var(--ink-2); font: 500 .86rem var(--mono); }
.actionbar__buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ───────── enviando e pronto ───────── */
.up { max-width: 520px; margin: 30px auto 0; text-align: center; }
.up h2 { margin-bottom: 18px; font-size: 1.4rem; letter-spacing: -.02em; }
.bar { height: 12px; margin-bottom: 12px; border-radius: 99px; background: rgb(255 255 255 / .1); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(0); transition: transform .18s linear; }
.up .muted { margin-bottom: 18px; min-height: 1.4em; font-variant-numeric: tabular-nums; }
.done__head { display: grid; justify-items: center; gap: 4px; margin-bottom: 22px; text-align: center; }
.done__head h2 { margin-bottom: 8px; font-size: clamp(1.5rem, 4.4vw, 2.1rem); letter-spacing: -.03em; }
.done__grid { display: grid; gap: 18px; align-items: start; }
.done__preview { margin: 0; padding: 10px; border-radius: 18px; border: 1px solid var(--line); background: conic-gradient(#1b1411 25%, #150f0c 0 50%, #1b1411 0 75%, #150f0c 0) 0 0 / 20px 20px; }
.done__preview img { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; border-radius: 8px; }
.copy-row { display: flex; gap: 10px; margin-bottom: 18px; }
.copy-row input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgb(0 0 0 / .35); color: var(--accent-2); font: 700 .95rem var(--mono); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); color: var(--ink-2); font-weight: 600; font-size: .86rem; transition: color .15s, border-color .15s, transform .12s; }
.chip:hover { color: var(--ink); border-color: var(--accent); }
.chip:active { transform: scale(.96); }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }

/* ───────── tela de quem recebe ───────── */
.receive { display: grid; gap: 18px; justify-items: center; }
.receive__head { display: grid; justify-items: center; gap: 12px; text-align: center; }
.receive__head h1 { font-size: clamp(1.7rem, 5.4vw, 2.6rem); letter-spacing: -.035em; }
.shot { margin: 0; width: 100%; padding: 10px; border-radius: 20px; border: 1px solid var(--line); text-align: center; background: conic-gradient(#1b1411 25%, #150f0c 0 50%, #1b1411 0 75%, #150f0c 0) 0 0 / 22px 22px; box-shadow: 0 30px 80px -40px rgb(0 0 0 / .9); }
.shot a { display: inline-block; max-width: 100%; line-height: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.shot img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(64vh, 900px); transition: filter .9s ease, opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.shot.is-developing img { filter: grayscale(1) blur(16px) brightness(1.5); opacity: .55; transform: scale(1.04); }
.shot__gone { padding: 60px 20px; line-height: 1.5; color: var(--ink-2); }
.receive__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; width: 100%; }
.receive__stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .92rem; }
.receive__stats li { display: inline-flex; align-items: center; gap: 8px; }
.receive__stats b { font: 800 1.05rem var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.receive__stats .i { color: var(--accent-2); }
.receive__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ───────── arrastar e soltar, avisos ───────── */
.dropveil { position: fixed; inset: 0; z-index: 9000; display: none; place-items: center; padding: 20px; background: rgb(11 8 6 / .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.dropveil.is-on { display: grid; }
.dropveil > div { display: grid; justify-items: center; gap: 12px; padding: clamp(32px, 8vw, 72px) clamp(28px, 9vw, 96px); border: 3px dashed var(--accent); border-radius: 30px; background: color-mix(in srgb, var(--accent) 8%, transparent); font-size: 1.5rem; }
.dropveil .i { width: 56px; height: 56px; color: var(--accent-2); }
.toasts { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 9500; display: grid; gap: 8px; width: min(440px, 100% - 24px); transform: translateX(-50%); pointer-events: none; }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgb(28 20 15 / .96); box-shadow: 0 16px 40px -12px rgb(0 0 0 / .8); font-size: .92rem; animation: p-toast .3s cubic-bezier(.3, 1.4, .5, 1) backwards; }
.toast .i { margin-top: 2px; color: var(--ok); }
.toast--error { border-color: color-mix(in srgb, var(--danger) 60%, transparent); }
.toast--error .i { color: var(--danger); }
.toast.is-leaving { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
@keyframes p-toast { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* ───────── telas largas ───────── */
@media (min-width: 900px) {
	.layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
	.done__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.toolbar__group + .toolbar__group { padding-left: 0; border-left: 0; }
	.toolbar__history { margin-left: auto; }
	.tbtn { padding: 0 12px; }
	.tbtn:not([aria-checked="true"]) span { display: none; } /* no celular só a ferramenta escolhida mostra o nome: sobra espaço para a imagem */
	.actionbar__info { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.actionbar__buttons { flex-wrap: nowrap; }
	.actionbar__buttons .btn { padding-inline: 14px; }
	#createButton { flex: 1; }
	.hero { padding-bottom: 18px; }
	.history__item { grid-template-columns: 56px 1fr; }
	.history__thumb { width: 56px; height: 40px; }
	.history__actions { grid-column: 1 / -1; justify-content: flex-end; }
	.actionbar { border-radius: 16px; }
	.actionbar__buttons { width: 100%; }
	.copy-row { flex-direction: column; }
	.top__tools .pill { display: none; }
}
@media (pointer: coarse) {
	.toolbar__colors button { width: 40px; height: 40px; }
	.toolbar__colors { gap: 8px; }
	.seg button { min-height: 44px; min-width: 44px; }
}

/* ───────── menos movimento ───────── */
html[data-motion="reduced"] .bg i,
html[data-motion="reduced"] .pulse,
html[data-motion="reduced"] kbd,
html[data-motion="reduced"] .history__item,
html[data-motion="reduced"] .toast { animation: none; }
html[data-motion="reduced"] .shine { display: none; }
html[data-motion="reduced"] .shot img { transition: none; }
html[data-motion="reduced"] .shot.is-developing img { filter: none; opacity: 1; transform: none; }
html[data-motion="reduced"] .btn, html[data-motion="reduced"] .ibtn, html[data-motion="reduced"] .chip, html[data-motion="reduced"] .bar i { transition: none; }
@media (prefers-reduced-motion: reduce) {
	.bg i, .pulse, kbd, .history__item, .toast, .shine { animation: none; }
	.shine { display: none; }
	.shot img { transition: none; }
	.shot.is-developing img { filter: none; opacity: 1; transform: none; }
}
