/* Zima Web — mismo sistema visual que la extensión y la app del celular */
:root {
	--bg: #f4f6f9; --card: #ffffff; --line: #e8ecf1; --ink: #10151d; --mut: #7b8594; --soft: #a0a8b4; --chip: #f1f4f7;
	--ok: #16a34a; --bad: #e5484d; --warn-bg: #fff7e0; --warn-line: #f3dc9b; --warn-ink: #7a5300;
	--acc: #5fd0ff; --acc-ink: #062433; --acc-mid: #46b9ec; --acc-soft: #e6f6fe; --acc-dark: #0a7fb8;
	--shadow: 0 12px 28px rgba(20, 40, 70, .08);
	--box: rgba(255, 255, 255, .93);
	color-scheme: light;
}
:root[data-theme="dark"] {
	--bg: #0b0f15; --card: #121821; --line: #1f2833; --ink: #eef2f6; --mut: #8b95a3; --soft: #5d6774; --chip: #1a222c;
	--warn-bg: #2a2210; --warn-line: #5a4a1a; --warn-ink: #f3d27a;
	--acc-soft: #10293a; --acc-dark: #7fd8ff;
	--shadow: 0 12px 28px rgba(0, 0, 0, .35);
	--box: rgba(12, 20, 28, .86);
	color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, select { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grow { flex: 1; }
.up { color: var(--ok) !important; } .dn { color: var(--bad) !important; }
.note { font-size: 11.5px; color: var(--soft); margin: 10px 0 0; text-align: center; line-height: 1.45; }
.note.left { text-align: left; }
.err { color: var(--bad); font-size: 12.5px; margin: 10px 0 0; line-height: 1.4; }
.warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); font-size: 12.5px; border-radius: 12px; padding: 9px 11px; margin: 8px 0 0; line-height: 1.4; }
.center-t { text-align: center; }
.badge-test { background: #fff4d6; color: #8a6100; border: 1px solid #f3dc9b; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
:root[data-theme="dark"] .badge-test { background: #2a2210; color: #f3d27a; border-color: #5a4a1a; }
.z-bg { position: absolute; pointer-events: none; opacity: .24; }
.z-bg svg { width: 100%; height: 100%; stroke: none; }
.coin { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12px; background: #9aa3af; object-fit: cover; overflow: hidden; }
img.coin { background: var(--chip); }
.coin.sm { width: 24px; height: 24px; font-size: 9.5px; }
.coin.xs { width: 20px; height: 20px; font-size: 9px; }
.skel { height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--chip), var(--line), var(--chip)); background-size: 200% 100%; animation: sk 1.2s infinite; margin: 14px 0; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { padding: 18px 12px; border: 1.5px dashed var(--line); border-radius: 14px; font-size: 13px; color: var(--mut); text-align: center; line-height: 1.5; }

/* ================= Entrada ================= */
#entry { display: flex; min-height: 100vh; }
.e-left { position: relative; width: 44%; max-width: 680px; margin: 18px; border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, #7fd8ff, #2fa6df); color: #062433; padding: 44px 48px; display: flex; flex-direction: column; }
.e-left::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(118deg, rgba(255,255,255,.12) 0 1.5px, transparent 1.5px 22px); }
.e-left .z-bg { right: -90px; bottom: -60px; width: 560px; height: 560px; }
.brand { position: relative; display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.e-left h1 { position: relative; font-size: clamp(40px, 4.2vw, 58px); line-height: 1.02; margin: auto 0 18px; font-weight: 900; letter-spacing: -1.5px; }
.e-left p { position: relative; font-size: 18px; max-width: 440px; margin: 0 0 26px; opacity: .85; line-height: 1.45; }
.ticks { position: relative; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ticks span { display: flex; gap: 10px; align-items: center; }
.ticks i { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.45); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.e-right { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; padding: 80px 16px 60px; }
.e-top { position: absolute; top: 26px; right: 34px; display: flex; align-items: center; gap: 12px; }
.lang-sel { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); font-weight: 600; }
.lang-sel select, .menu select { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; font-weight: 700; }
.e-box { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 36px 34px; box-shadow: var(--shadow); }
.e-box h2 { margin: 0 0 6px; font-size: 30px; font-weight: 900; letter-spacing: -.5px; }
.sub { margin: 0 0 22px; color: var(--mut); font-size: 14.5px; line-height: 1.45; }
.big-btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 17px; border-radius: 16px; font-size: 15.5px; margin-bottom: 12px; border: 1.5px solid var(--line); background: var(--card); text-align: left; transition: box-shadow .15s, transform .08s; }
.big-btn:hover { box-shadow: var(--shadow); }
.big-btn:active { transform: scale(.99); }
.big-btn.primary { background: #2fa6df; border-color: #2fa6df; color: #fff; box-shadow: 0 10px 22px rgba(47,166,223,.3); }
.big-btn .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-dark); font-size: 20px; flex: none; }
.big-btn.primary .ic { background: rgba(255,255,255,.25); color: #fff; }
.big-btn .tx { flex: 1; display: flex; flex-direction: column; }
.big-btn .tx b { font-weight: 800; }
.big-btn small { font-size: 12.5px; opacity: .75; margin-top: 2px; }
.big-btn .ar { opacity: .6; font-size: 20px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--soft); font-size: 12.5px; margin: 18px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.dl { display: flex; gap: 10px; }
.dl a, .dl span { flex: 1; text-align: center; padding: 10px; border-radius: 12px; background: var(--chip); font-size: 13px; font-weight: 700; color: var(--mut); text-decoration: none; }
.dl a { color: var(--ink); }
.safe { margin-top: 22px; display: flex; gap: 10px; font-size: 12.5px; color: var(--mut); line-height: 1.45; background: rgba(22,163,74,.07); border: 1px solid rgba(22,163,74,.22); border-radius: 14px; padding: 12px 14px; }
.safe i { font-style: normal; font-size: 16px; }
.e-foot { position: absolute; bottom: 22px; font-size: 12px; color: var(--soft); }
.e-foot a { text-decoration: none; }

/* ================= Ventanas ================= */
.ov { position: fixed; inset: 0; background: rgba(5, 8, 12, .5); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px 26px 22px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.modal h3 { margin: 0 0 4px; font-size: 21px; font-weight: 900; }
.modal .sub { margin-bottom: 16px; font-size: 13.5px; }
.modal .x { position: absolute; top: 14px; right: 16px; font-size: 26px; color: var(--soft); line-height: 1; }
.small-note { font-size: 12px; color: var(--mut); margin: 12px 0 0; line-height: 1.45; }
.steps { margin: 0 0 18px; padding-left: 20px; font-size: 14px; line-height: 1.75; }
.w { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: 10px; font-weight: 700; text-align: left; background: var(--card); }
.w:hover { border-color: var(--acc-mid); background: var(--acc-soft); }
.w img, .w .l { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.w .l { display: grid; place-items: center; color: #fff; font-weight: 900; background: #6b7482; }
.w .tag { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(22,163,74,.12); color: var(--ok); }
.w.busy { opacity: .6; pointer-events: none; }
.ok-ic { width: 60px; height: 60px; border-radius: 50%; background: rgba(22,163,74,.12); color: var(--ok); font-size: 30px; font-weight: 900; display: grid; place-items: center; margin: 4px auto 12px; }
.btn-sec { padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 800; }
.btn-sec.wide { display: block; width: 100%; margin-top: 8px; border: 0; color: var(--mut); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--card); padding: 11px 18px; border-radius: 12px; font-size: 13.5px; font-weight: 700; z-index: 70; box-shadow: var(--shadow); }
.pick .field { margin: 12px 0 8px; }
.pick-list { max-height: 420px; overflow: auto; margin: 0 -8px; }
.pick-list h5 { margin: 12px 8px 4px; font-size: 11.5px; color: var(--mut); text-transform: uppercase; letter-spacing: .04em; }
.pick-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 8px; border-radius: 12px; text-align: left; }
.pick-row:hover, .pick-row.on { background: var(--chip); }
.pick-row .n { flex: 1; min-width: 0; }
.pick-row .n b { display: block; font-size: 14px; }
.pick-row .n small { display: block; font-size: 11.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-row .v { text-align: right; font-size: 13px; font-weight: 700; }
.review .chg-box { border: 1px solid var(--line); border-radius: 16px; padding: 2px 12px; margin-bottom: 10px; }
.review .crow { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.review .crow:last-child { border: 0; }
.review .crow .n { flex: 1; font-weight: 700; }
.review .crow .v { text-align: right; }
.review .crow .v b { display: block; font-size: 15px; }
.review .crow .v small { color: var(--mut); font-size: 12px; }
.okb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--ok); background: rgba(22,163,74,.1); border-radius: 12px; padding: 10px 12px; margin: 12px 0 2px; }
.badb { color: var(--bad); background: rgba(229,72,77,.1); }
.loading-box { display: flex; align-items: center; gap: 10px; padding: 24px 4px; color: var(--mut); font-weight: 600; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--acc-mid); animation: rot .8s linear infinite; flex: none; }
@keyframes rot { to { transform: rotate(360deg); } }
.btns { display: flex; gap: 10px; margin-top: 16px; }
.btns > * { flex: 1; margin: 0 !important; }

/* ================= Panel ================= */
#app { display: flex; min-height: 100vh; }
.rail { width: 78px; background: var(--card); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 16px 0; gap: 4px; position: sticky; top: 0; height: 100vh; flex: none; z-index: 5; }
.rail-logo { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px; }
.ri { width: 62px; padding: 9px 0; border-radius: 13px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--mut); }
.ri svg { width: 21px; height: 21px; }
.ri small { font-size: 10.5px; font-weight: 600; }
.ri:hover { background: var(--chip); }
.ri.on { background: var(--acc-soft); color: var(--acc-dark); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 14px 20px 20px; }
.top { display: flex; align-items: center; gap: 10px; min-height: 46px; margin-bottom: 14px; flex-wrap: wrap; position: relative; z-index: 10; }
.acc-wrap, .search-wrap { position: relative; }
.pill { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--acc-soft); color: var(--acc-dark); font-weight: 800; }
.pill i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--acc), var(--acc-mid)); }
.net { display: flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 999px; background: rgba(22,163,74,.12); color: var(--ok); font-weight: 700; font-size: 12px; }
.search { display: flex; align-items: center; gap: 8px; width: min(420px, 34vw); height: 38px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); padding: 0 12px; color: var(--soft); margin-left: 6px; }
.search svg { width: 16px; height: 16px; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search:focus-within { border-color: var(--acc-mid); }
.price-pill { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.price-pill small { font-weight: 700; font-size: 11.5px; }
.ib { width: 38px; height: 38px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--mut); }
.ib svg { width: 18px; height: 18px; }
.ib:hover { color: var(--ink); }
.ib.spinning svg { animation: rot .8s linear infinite; }
.menu { position: absolute; top: 46px; left: 0; z-index: 30; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 36px rgba(0,0,0,.14); padding: 6px; min-width: 290px; }
.menu .mi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 10px; text-align: left; font-size: 13.5px; }
.menu .mi:hover, .menu .mi.on { background: var(--chip); }
.menu .mi i { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.menu code { font-size: 11.5px; color: var(--mut); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu .colors { display: grid; grid-template-columns: repeat(8, 22px); gap: 8px; padding: 8px 10px 10px; }
.menu .colors button { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.menu .colors button.on { box-shadow: 0 0 0 2px var(--ink); }
.menu .lbl { font-size: 11.5px; font-weight: 700; color: var(--mut); padding: 6px 10px 0; }
.search-menu { width: 100%; min-width: 0; left: 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; min-width: 0; }
h3 { margin: 0; font-size: 15px; font-weight: 800; }
h3 small { color: var(--soft); font-weight: 700; font-size: 13px; }
.hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.lnk { font-size: 12px; font-weight: 700; color: var(--acc-dark); white-space: nowrap; }
.page { flex: 1; min-height: 0; }
.cols { display: grid; grid-template-columns: 320px minmax(0, 1fr) 376px; gap: 16px; align-items: start; }

/* Columna de monedas */
.row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 6px; border-radius: 12px; text-align: left; }
button.row:hover { background: var(--chip); }
.row .n { flex: 1; min-width: 0; }
.row .n b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .n small { display: block; font-size: 11.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .v { text-align: right; min-width: 0; max-width: 46%; }
.row .v b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .v small { display: block; font-size: 11.5px; color: var(--mut); white-space: nowrap; }
.spark { flex: none; }
.tag-pump { font-size: 9.5px; font-weight: 800; color: #7a4d00; background: #fff1d6; border-radius: 6px; padding: 1px 5px; margin-left: 5px; vertical-align: 1px; }

/* Centro */
.center { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.acct { position: relative; border-radius: 24px; padding: 20px 22px 18px; background: linear-gradient(135deg, var(--acc), var(--acc-mid)); color: var(--acc-ink); overflow: hidden; box-shadow: 0 12px 28px rgba(20,40,70,.16); }
.acct::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(118deg, rgba(255,255,255,.13) 0 1.5px, transparent 1.5px 20px); pointer-events: none; }
.acct .z-bg { right: -26px; top: -46px; width: 300px; height: 300px; }
.acct > :not(.z-bg) { position: relative; }
.a-top { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; opacity: .85; }
.eye svg { width: 17px; height: 17px; }
.a-big { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 2px; flex-wrap: wrap; }
.a-big b { font-size: 44px; font-weight: 900; letter-spacing: -1px; }
.a-big span { font-size: 15px; font-weight: 700; opacity: .78; }
.a-big .a-ch { font-size: 12.5px; font-weight: 800; background: rgba(255,255,255,.45); padding: 3px 8px; border-radius: 8px; opacity: 1; }
.a-addr { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; background: rgba(255,255,255,.4); padding: 5px 10px; border-radius: 10px; font: 700 12px ui-monospace, Menlo, Consolas, monospace; }
.a-addr svg { width: 13px; height: 13px; }
.a-acts { display: flex; gap: 22px; margin-top: 16px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }
.act b { font-weight: 700; }
.act span { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.42); display: grid; place-items: center; transition: background .15s; }
.act:hover span { background: rgba(255,255,255,.6); }
.act svg { width: 20px; height: 20px; }
.chg { font-size: 12.5px; margin-left: 6px; }
.rng { display: flex; gap: 4px; background: var(--chip); padding: 3px; border-radius: 10px; }
.rng button { padding: 4px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 800; color: var(--mut); }
.rng button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.plot { position: relative; height: 160px; margin-top: 6px; }
.plot svg { width: 100%; height: 100%; display: block; }
.plot .loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--soft); font-size: 13px; }
.tip { position: absolute; top: 0; transform: translateX(-50%); background: var(--ink); color: var(--card); font-size: 11.5px; font-weight: 800; padding: 5px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; text-align: center; }
.tip small { display: block; font-weight: 500; opacity: .7; }
.tx-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 15px; font-weight: 800; }
.tx-ic.swap { background: var(--acc-soft); color: var(--acc-dark); }
.tx-ic.received { background: rgba(22,163,74,.12); color: var(--ok); }
.tx-ic.sent { background: rgba(229,72,77,.12); color: var(--bad); }
.tx-ic.other { background: var(--chip); color: var(--mut); }
a.row { text-decoration: none; }
a.row:hover { background: var(--chip); }
.fail-tag { font-size: 10px; font-weight: 800; color: var(--bad); background: rgba(229,72,77,.12); border-radius: 6px; padding: 1px 5px; margin-left: 5px; }

/* Panel derecho */
.side { position: sticky; top: 14px; }
.seg { display: flex; background: var(--chip); border-radius: 13px; padding: 4px; margin-bottom: 14px; }
.seg button { flex: 1; padding: 8px; border-radius: 10px; font-weight: 800; color: var(--mut); }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.slip { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mut); margin-bottom: 10px; }
.slip button { padding: 4px 9px; border-radius: 8px; background: var(--chip); font-weight: 800; font-size: 11.5px; color: var(--ink); }
.slip button.on { background: var(--acc); color: var(--acc-ink); }
.swapbox { position: relative; background: linear-gradient(135deg, var(--acc), var(--acc-mid)); padding: 8px; border-radius: 20px; }
.sb { background: var(--box); border-radius: 15px; padding: 12px 13px; }
.sb + .sb { margin-top: 8px; }
.sb-l { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--mut); font-weight: 600; min-height: 22px; }
.sb-r { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.sb-r input, .sb-r output { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 28px; font-weight: 900; padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.sb-r input::placeholder { color: var(--soft); }
.cchip { display: flex; align-items: center; gap: 7px; background: var(--card); border-radius: 999px; padding: 5px 10px 5px 5px; font-weight: 800; font-size: 13px; box-shadow: 0 1px 3px rgba(0,0,0,.12); flex: none; max-width: 150px; }
.cchip span.s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcts { display: flex; gap: 5px; }
.pcts button { font-size: 11px; font-weight: 800; background: var(--acc-soft); color: var(--acc-dark); padding: 3px 7px; border-radius: 7px; }
.paste { font-size: 11px; font-weight: 700; color: var(--mut); background: var(--chip); padding: 3px 8px; border-radius: 7px; }
.flip { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; background: var(--card); border: 3px solid var(--acc-mid); display: grid; place-items: center; color: var(--acc-dark); font-weight: 900; font-size: 14px; z-index: 2; }
.kvs { margin-top: 10px; }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--mut); padding: 7px 0; border-bottom: 1px dashed var(--line); }
.kv b { color: var(--ink); text-align: right; }
.go { display: block; width: 100%; margin-top: 12px; background: var(--acc); color: var(--acc-ink); text-align: center; font-weight: 800; padding: 12px; border-radius: 14px; text-decoration: none; transition: filter .15s; }
.go:hover:not(:disabled) { filter: brightness(1.04); }
.go:disabled { opacity: .45; cursor: default; }
.ref { margin-top: 14px; }
.ref h4 { margin: 0 0 4px; font-size: 13px; }
.rr { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.rr .n { flex: 1; min-width: 0; }
.rr .n b { display: block; font-size: 13px; }
.rr .n .ct { display: inline-flex; align-items: center; gap: 4px; font: 600 10.5px ui-monospace, Menlo, Consolas, monospace; color: var(--mut); background: var(--chip); padding: 2px 6px; border-radius: 6px; }
.rr .n .ct button, .rr .n .ct a { color: var(--mut); text-decoration: none; font-size: 11px; }
.rr .p { text-align: right; }
.rr .p b { display: block; font-size: 13px; }
.rr .p small { font-size: 11px; font-weight: 700; color: var(--mut); }
.lab { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--mut); margin: 12px 0 6px; }
.field { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); outline: none; text-align: left; }
.field:focus { border-color: var(--acc-mid); }
.field.picker { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.field.picker .grow + span { color: var(--mut); font-weight: 600; font-size: 12.5px; }
.mini { font-size: 11.5px; font-weight: 800; color: var(--acc-dark); background: var(--acc-soft); padding: 3px 9px; border-radius: 8px; }
.hint { display: block; font-size: 12px; color: var(--mut); margin-top: 6px; }
.resolved { margin-top: 8px; background: rgba(22,163,74,.07); border: 1px solid rgba(22,163,74,.22); border-radius: 12px; padding: 9px 11px; }
.resolved small { font-size: 11.5px; color: var(--ok); font-weight: 700; }
.resolved code, code.full { display: block; font: 600 12px ui-monospace, Menlo, Consolas, monospace; word-break: break-all; line-height: 1.5; }
.rc-tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--line); margin-top: 14px; }
.rc-tabs button { padding: 7px 0 9px; font-weight: 800; color: var(--mut); font-size: 13px; }
.rc-tabs button.on { color: var(--ink); box-shadow: inset 0 -2.5px 0 var(--acc-mid); }
.rc-list { max-height: 210px; overflow: auto; margin-top: 4px; }
.rc-list .row { padding: 8px 4px; }
.rc-list .av { width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--chip); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--mut); }
.rc-list .empty { margin-top: 8px; padding: 12px; font-size: 12.5px; }
.qr { display: grid; place-items: center; padding: 8px 0 12px; }
.qr svg { width: 220px; height: 220px; border-radius: 16px; stroke: none; }
code.full { background: var(--chip); border-radius: 12px; padding: 10px 12px; text-align: center; }

/* ================= NFTs ================= */
.ph { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.ph h1 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.3px; }
.nft-page { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 16px; align-items: start; }
.stats { display: flex; gap: 10px; }
.st { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 9px 14px; min-width: 104px; text-align: left; }
.st b { display: block; font-size: 20px; }
.st small { color: var(--mut); font-size: 12px; font-weight: 600; }
.st.on { border-color: var(--acc-mid); background: var(--acc-soft); }
.fil { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.fil button { padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 12.5px; }
.fil button.on { background: var(--ink); color: var(--card); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.nc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-align: left; transition: transform .12s, box-shadow .15s; }
.nc:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.nc.on { border-color: var(--acc-mid); box-shadow: 0 0 0 2px var(--acc-mid); }
.nc .im { position: relative; aspect-ratio: 1; background: var(--chip); display: grid; place-items: center; color: var(--soft); font-size: 12px; font-weight: 700; overflow: hidden; }
.nc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ktag { position: absolute; top: 8px; left: 8px; background: rgba(16,21,29,.75); color: #fff; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.cap { padding: 10px 12px; }
.cap b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap small { display: block; color: var(--mut); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.det { position: sticky; top: 14px; }
.det .big { border-radius: 16px; overflow: hidden; aspect-ratio: 1; margin-bottom: 12px; background: var(--chip); display: grid; place-items: center; color: var(--soft); }
.det .big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.det h2 { margin: 0; font-size: 19px; font-weight: 900; }
.det .meta { color: var(--mut); margin: 4px 0 0; font-size: 13px; }
.det .desc { font-size: 13px; color: var(--mut); line-height: 1.5; margin: 10px 0 0; max-height: 90px; overflow: auto; }
.attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.at { background: var(--chip); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.at small { display: block; color: var(--mut); font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at b { font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.det .btns2 { display: flex; gap: 8px; margin-top: 12px; }
.det .btns2 > * { flex: 1; margin: 0; text-align: center; padding: 11px; border-radius: 13px; font-weight: 800; text-decoration: none; }
.det .btns2 .b2 { border: 1.5px solid var(--line); }
.nft-send-head { display: flex; align-items: center; gap: 12px; margin: 10px 0 2px; }
.nft-send-head img, .nft-send-head .ph-img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--chip); flex: none; }

/* ================= Apps ================= */
.apps-page { max-width: 1100px; }
.apps-page > .sub { margin-top: -6px; max-width: 640px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.app-card { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; text-decoration: none; transition: transform .12s, box-shadow .15s; }
.app-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.app-ico { position: relative; width: 48px; height: 48px; border-radius: 14px; flex: none; overflow: hidden; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 18px; }
.app-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.app-card .n { flex: 1; min-width: 0; }
.app-card .n b { display: block; font-size: 14.5px; }
.app-card .n small { display: block; font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card .ext { color: var(--soft); font-size: 16px; }
.app-tag { display: inline-block; font-size: 10.5px; font-weight: 800; color: var(--acc-dark); background: var(--acc-soft); border-radius: 6px; padding: 1px 6px; margin-top: 4px; }
.app-open { margin-top: 18px; max-width: 640px; }
.app-open-row { display: flex; gap: 8px; margin-top: 10px; }
.app-open-row .go { width: auto; margin: 0; padding: 11px 20px; }

/* ================= Historial ================= */
.hist-page { max-width: 860px; }
.ghost-btn { display: block; width: 100%; padding: 12px; margin-top: 8px; border-radius: 12px; font-weight: 800; color: var(--acc-dark); }
.day { font-size: 11.5px; font-weight: 800; color: var(--mut); text-transform: uppercase; letter-spacing: .04em; margin: 14px 6px 4px; }
.day:first-child { margin-top: 2px; }

/* ================= Pantallas más chicas ================= */
@media (max-width: 1280px) {
	.cols { grid-template-columns: minmax(0, 1fr) 360px; }
	.col-coins { grid-column: 1 / -1; order: 3; }
	.nft-page { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 920px) {
	#entry { flex-direction: column; }
	.e-left { width: auto; max-width: none; min-height: 360px; padding: 32px 28px; }
	.e-left h1 { margin-top: 36px; }
	.e-right { padding: 16px 16px 70px; }
	.e-top { position: static; margin-bottom: 14px; }
	.rail { position: fixed; bottom: 0; top: auto; left: 0; right: 0; width: auto; height: 64px; flex-direction: row; justify-content: space-around; padding: 0 6px; border-right: 0; border-top: 1px solid var(--line); }
	.rail-logo, .rail .grow { display: none; }
	.ri { padding: 6px 0; }
	.main { padding: 12px 16px 84px; }
	.cols, .nft-page { grid-template-columns: minmax(0, 1fr); }
	.side, .det { position: static; }
	.search-wrap, .price-pill, .top .badge-test { display: none; }
	.a-big b { font-size: 36px; }
	.a-acts { gap: 14px; }
	.stats { width: 100%; }
	.st { flex: 1; min-width: 0; }
}
