/* Badulaque — diseño v2 (estilo Play Store, sin serlo). Sin dependencias ni JavaScript; sin estilos en línea (la CSP los prohíbe).
   Fuente: docs/prototipo-rediseno/estilos.css (mismos tokens y resplandores de fondo). */

/* ───────── Tokens ───────── */
:root {
  --bg: #f6f7fb; --text: #161a22; --muted: #5b6575; --line: rgba(22, 26, 34, .11);
  --surface: rgba(22, 26, 34, .05); --surface-2: rgba(22, 26, 34, .085);
  --green: #00bf63; --green-strong: #00a455; --blue: #38b6ff; --pink: #ff66c4;
  --primary: var(--green-strong); --primary-text: #ffffff;
  --grad: linear-gradient(135deg, #00c96a 0%, #19b4c9 55%, #38b6ff 100%);
  --grad-text: linear-gradient(100deg, #ff66c4 0%, #38b6ff 52%, #00bf63 100%);
  --glow-a: rgba(255, 102, 196, .20); --glow-b: rgba(56, 182, 255, .22); --glow-c: rgba(0, 191, 99, .16);
  --ok-bg: rgba(0, 191, 99, .13); --ok-text: #0b6b38; --err-bg: rgba(217, 58, 58, .12); --err-text: #9b1c1c; --warn-bg: rgba(245, 170, 0, .17); --warn-text: #7a5300;
  --header-bg: rgba(246, 247, 251, .72);
  --radius: 16px; --radius-sm: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1016; --text: #e9edf3; --muted: #99a4b3; --line: rgba(233, 237, 243, .12);
    --surface: rgba(233, 237, 243, .06); --surface-2: rgba(233, 237, 243, .105);
    --primary: #17c870; --primary-text: #04210f;
    --glow-a: rgba(255, 102, 196, .13); --glow-b: rgba(56, 182, 255, .14); --glow-c: rgba(0, 191, 99, .12);
    --ok-bg: rgba(23, 200, 112, .16); --ok-text: #86e3ac; --err-bg: rgba(255, 120, 120, .16); --err-text: #ffb4b4; --warn-bg: rgba(243, 210, 122, .16); --warn-text: #f3d27a;
    --header-bg: rgba(12, 16, 22, .72);
  }
}
/* ───────── Base y fondo (los colores difuminados se conservan) ───────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background:
    radial-gradient(900px 480px at 8% -8%, var(--glow-a), transparent 70%),
    radial-gradient(800px 460px at 96% -4%, var(--glow-b), transparent 70%),
    radial-gradient(900px 520px at 50% 108%, var(--glow-c), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
a { color: var(--primary); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
::selection { background: rgba(56, 182, 255, .3); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico-svg { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; vertical-align: -.22em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
main.wrap { flex: 1; padding-top: 18px; padding-bottom: 64px; animation: entrada .4s ease both; }
h1 { font-size: 28px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; margin: 0 0 8px; }
h2 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.005em; margin: 0; }
h3 { font-size: 16px; line-height: 1.4; font-weight: 600; margin: 0; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.4; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; word-break: break-all; }
.grow { flex: 1 1 0; min-width: 0; }
.right { margin-left: auto; }

/* ───────── Cabecera: translúcida, sin borde de tarjeta ───────── */
header.top {
  position: sticky; top: 0; z-index: 20; background: var(--header-bg); box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
}
header.top .wrap { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; transition: transform .25s ease; }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.search { flex: 1 1 360px; max-width: 560px; margin: 0 auto; position: relative; }
.search input[type=text] {
  width: 100%; height: 44px; padding: 0 16px 0 46px; border: 0; border-radius: 999px; background: var(--surface); color: var(--text); font: inherit;
  transition: background .15s, box-shadow .15s;
}
.search input[type=text]::placeholder { color: var(--muted); }
.search input[type=text]:hover { background: var(--surface-2); }
.search input[type=text]:focus { outline: none; background: var(--bg); box-shadow: 0 0 0 2px var(--blue); }
.search .ico-svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
nav.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
nav.menu a, nav.menu button {
  padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font: inherit; font-size: 15px; font-weight: 500;
  background: none; border: 0; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap;
}
nav.menu a:hover, nav.menu button:hover { background: var(--surface); color: var(--text); }
nav.menu a.active { color: var(--primary); background: color-mix(in srgb, var(--green) 14%, transparent); font-weight: 600; }
.user { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.avatar.big { width: 64px; height: 64px; font-size: 26px; }

footer.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 28px 20px 36px; }
footer.foot strong { color: var(--text); }

/* ───────── Botones, chips ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--grad); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: filter .15s, background .15s, transform .1s;
}
.btn:hover { filter: saturate(1.15) brightness(1.04); }
.btn:active { transform: scale(.98); }
.btn.tonal { background: var(--surface); color: var(--text); }
.btn.tonal:hover { background: var(--surface-2); filter: none; }
.btn.text { background: none; color: var(--primary); padding: 0 12px; }
.btn.text:hover { background: color-mix(in srgb, var(--green) 12%, transparent); filter: none; }
.btn.danger { background: #d93a3a; }
.btn.small { min-height: 32px; padding: 0 16px; font-size: 14px; }
.btn.big { min-height: 48px; padding: 0 30px; font-size: 17px; }
.btn.block { width: 100%; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 8px; margin: 0 -20px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--surface); color: var(--text);
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .15s;
}
a.chip:hover { background: var(--surface-2); }
.chip.on { background: color-mix(in srgb, var(--green) 20%, transparent); color: var(--primary); font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface); color: var(--muted); }
.badge.ok { background: var(--ok-bg); color: var(--ok-text); }
.badge.warn { background: var(--warn-bg); color: var(--warn-text); }
.badge.off { background: var(--err-bg); color: var(--err-text); }

/* ───────── Iconos de app (degradado + letra; los reales son imágenes) ───────── */
.ico { --s: 72px; flex: none; width: var(--s); height: var(--s); border-radius: 22%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: calc(var(--s) * .46); line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(140deg, var(--a, #00c96a), var(--b, #38b6ff)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .12); }
.ico.s40 { --s: 40px; } .ico.s48 { --s: 48px; } .ico.s56 { --s: 56px; } .ico.s64 { --s: 64px; } .ico.s96 { --s: 96px; } .ico.s128 { --s: 128px; }
.c0 { --a: #00c96a; --b: #38b6ff; } .c1 { --a: #4f7cff; --b: #7a4dff; } .c2 { --a: #ff66c4; --b: #ff9a4d; } .c3 { --a: #ff5a5a; --b: #ffc83d; }
.c4 { --a: #17b8a6; --b: #6ddc7a; } .c5 { --a: #9b5cff; --b: #ff66c4; } .c6 { --a: #ff8a3d; --b: #ff4d6d; } .c7 { --a: #5b6b84; --b: #2f3b52; }

.plats { display: inline-flex; gap: 6px; color: var(--muted); align-items: center; }
.plats .ico-svg { width: 15px; height: 15px; }
.plats.lg .ico-svg { width: 18px; height: 18px; }

/* ───────── Secciones y carruseles (portada) ───────── */
.section { margin: 26px 0 0; }
.section-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.section-head h2 { flex: 1; }
.section-head a.more { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); text-decoration: none; font-size: 22px; line-height: 1; transition: background .15s, color .15s; }
.section-head a.more:hover { background: var(--surface); color: var(--text); }
.section-sub { color: var(--muted); font-size: 14px; margin: -4px 0 10px; }
.carousel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 20px 14px; margin: 0 -20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.tile { flex: 0 0 auto; width: 112px; scroll-snap-align: start; color: var(--text); text-decoration: none; display: block; }
.tile .ico { --s: 112px; transition: filter .15s, transform .15s; }
.tile:hover .ico { filter: brightness(1.06); transform: scale(1.025); }
.tile .name { margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .meta { margin-top: 3px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ───────── Filas de app (listas) ───────── */
.list { margin: 0; }
.app-row { display: flex; align-items: center; gap: 16px; padding: 12px 8px; margin: 0 -8px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; transition: background .12s; }
.app-row + .app-row { background: linear-gradient(var(--line), var(--line)) 8px 0 / calc(100% - 16px) 1px no-repeat; }
.app-row:hover { background: var(--surface); }
.app-row:hover + .app-row { background-image: none; }
.app-row .txt { flex: 1; min-width: 0; }
.app-row .name { font-weight: 600; font-size: 16px; }
.app-row .desc { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row .meta { color: var(--muted); font-size: 12px; display: flex; gap: 10px; align-items: center; margin-top: 2px; }

/* ───────── Ficha de app ───────── */
.crumbs { font-size: 14px; color: var(--muted); margin: 6px 0 14px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--text); text-decoration: underline; }
.app-head { display: flex; gap: 26px; align-items: flex-start; }
.app-head .info { flex: 1; min-width: 0; padding-top: 4px; }
.app-head h1 { font-size: 32px; line-height: 1.2; }
.app-head .dev { font-weight: 600; text-decoration: none; }
.app-head .dev:hover { text-decoration: underline; }
.verified { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--ok-text); }
.verified .ico-svg { width: 18px; height: 18px; color: var(--green); }
.facts { display: flex; margin: 26px 0 8px; overflow-x: auto; }
.fact { flex: 1 0 auto; min-width: 120px; padding: 4px 20px; text-align: center; }
.fact + .fact { box-shadow: -1px 0 0 var(--line); }
.fact .v { font-size: 17px; font-weight: 600; line-height: 1.4; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; }
/* Un valor con el icono de su plataforma delante (versiones, tamaños, novedades) */
.fv { display: inline-flex; align-items: center; gap: 5px; margin-right: 12px; }
.fact .v .fv { margin-right: 0; }
.fact .k { font-size: 13px; color: var(--muted); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
.stack > section { margin-top: 28px; }
.stack > section:first-child { margin-top: 0; }
.shots { display: flex; gap: 12px; overflow-x: auto; padding: 4px 0 10px; scroll-snap-type: x proximity; }
.shot { flex: 0 0 auto; width: 150px; aspect-ratio: 9 / 19; border-radius: 16px; background: linear-gradient(160deg, var(--a, #00c96a), var(--b, #38b6ff)); position: relative; overflow: hidden; scroll-snap-align: start; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.shot.wide { width: 270px; aspect-ratio: 16 / 10; }
.shot::before { content: ""; position: absolute; left: 12%; right: 12%; top: 12%; height: 9%; border-radius: 8px; background: rgba(255, 255, 255, .55); }
.shot::after { content: ""; position: absolute; left: 12%; right: 30%; top: 28%; bottom: 14%; border-radius: 10px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .4) 0 14px, transparent 14px 26px); }
details.more > summary { cursor: pointer; list-style: none; color: var(--primary); font-weight: 600; margin-top: 4px; width: fit-content; }
details.more > summary::-webkit-details-marker { display: none; }
details.more[open] > summary { margin-bottom: 8px; }
.prose { white-space: pre-line; }
.dl { display: grid; grid-template-columns: 170px 1fr; gap: 0; margin: 0; }
.dl dt, .dl dd { padding: 11px 0; margin: 0; box-shadow: 0 -1px 0 var(--line); }
.dl dt { color: var(--muted); font-size: 14px; }
.dl dt:first-of-type, .dl dd:first-of-type { box-shadow: none; }
.devrow { display: flex; align-items: center; gap: 14px; padding: 6px 0; color: var(--text); text-decoration: none; }
.devrow:hover .nm { text-decoration: underline; }

/* Pestañas de plataforma, sin JavaScript (radios) */
.tabs { display: flex; flex-wrap: wrap; }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs > label { flex: 1; text-align: center; padding: 12px 6px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; box-shadow: inset 0 -1px 0 var(--line); display: flex; justify-content: center; align-items: center; gap: 7px; transition: color .15s, background .15s; border-radius: 12px 12px 0 0; }
.tabs > label:hover { background: var(--surface); color: var(--text); }
.tabs > input:checked + label { color: var(--primary); box-shadow: inset 0 -3px 0 var(--primary); }
.tabs > input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: -2px; }
.tabpanel { display: none; order: 10; flex: 0 0 100%; padding-top: 18px; }
#t-and:checked ~ #p-and, #t-win:checked ~ #p-win, #t-lin:checked ~ #p-lin { display: block; }
.release { padding: 14px 0; }
.release + .release { box-shadow: 0 -1px 0 var(--line); }
.release .top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.release .top strong { font-size: 16px; }
.release p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; font-size: 14px; margin: 8px 0 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }

/* ───────── Avisos, huellas ───────── */
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); margin: 14px 0; }
.callout .ico-svg { width: 22px; height: 22px; margin-top: 1px; }
.callout.ok { background: var(--ok-bg); color: var(--ok-text); } .callout.warn { background: var(--warn-bg); color: var(--warn-text); } .callout.err { background: var(--err-bg); color: var(--err-text); }
.callout p { margin: 0; } .callout p + p { margin-top: 6px; }
.fp { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; word-break: break-all; background: var(--surface); padding: 6px 10px; border-radius: 8px; display: block; margin-top: 6px; color: var(--text); }

/* ───────── Desarrollador ───────── */
.banner { width: 100%; aspect-ratio: 3 / 1; max-height: 260px; border-radius: var(--radius); background: linear-gradient(120deg, #19b4c9 0%, #38b6ff 38%, #ff66c4 100%); position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255, 255, 255, .92); font-weight: 800; font-size: clamp(22px, 5vw, 44px); letter-spacing: -.02em; }
.banner::before { content: ""; position: absolute; inset: -30% 40% -30% -10%; background: radial-gradient(closest-side, rgba(255, 255, 255, .28), transparent); }
.dev-head { display: flex; align-items: center; gap: 18px; margin: 18px 0 6px; }

/* ───────── Invitación ───────── */
.hero { text-align: center; padding: 26px 0 10px; }
.hero .logo { display: block; width: min(46vw, 170px); height: auto; margin: 0 auto 6px; filter: drop-shadow(0 12px 18px rgba(20, 30, 50, .18)); animation: flotar 6s ease-in-out infinite; }
.hero h1 { font-size: clamp(28px, 5.5vw, 44px); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 10px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 620px; margin: 0 auto 18px; }
.ticket { text-align: center; padding: 22px 18px; border-radius: var(--radius); background: var(--surface); margin: 6px auto 8px; max-width: 520px; }
.ticket .label { font-size: 13px; color: var(--muted); }
.code { font: 800 36px/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .14em; margin: 4px 0 0; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 16px 0; }
.dl-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: background .15s; }
.dl-card:hover { background: var(--surface-2); }
.dl-card .h { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.dl-card .h .ico-svg { width: 26px; height: 26px; }
.dl-card.rec { background: color-mix(in srgb, var(--green) 14%, transparent); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--green) 55%, transparent); }
.dl-card .sub { font-size: 13px; color: var(--muted); }
ol.steps { list-style: none; counter-reset: paso; padding: 0; margin: 0; }
ol.steps li { counter-increment: paso; position: relative; padding: 4px 0 16px 50px; min-height: 40px; }
ol.steps li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--grad); }

/* ───────── Panel de administración ───────── */
.page-title { display: flex; align-items: center; gap: 12px; margin: 8px 0 18px; flex-wrap: wrap; }
.page-title h1 { margin: 0; flex: 1; }
.panel-section { margin-top: 30px; }
.panel-section > h2 { margin-bottom: 4px; }
.panel-section > .section-sub { margin-top: 0; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 10px; vertical-align: middle; box-shadow: 0 1px 0 var(--line); }
.table th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: var(--surface); }
.table tbody tr:last-child td { box-shadow: none; }
.scroll { overflow-x: auto; }
label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: 14px; }
input[type=text], input[type=password], input[type=number], textarea, select {
  width: 100%; padding: 12px 14px; border: 0; border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; transition: background .15s, box-shadow .15s;
}
input:hover, textarea:hover, select:hover { background: var(--surface-2); }
input:focus, textarea:focus, select:focus { outline: none; background: var(--bg); box-shadow: 0 0 0 2px var(--blue); }
textarea { min-height: 100px; resize: vertical; }
input[type=file] { width: 100%; padding: 22px 14px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); }
input[type=file]:hover { border-color: var(--blue); }
input[type=checkbox] { accent-color: var(--green); width: 18px; height: 18px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 400; margin: 12px 0; }
.steps-check { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.steps-check li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.steps-check .ico-svg { width: 18px; height: 18px; color: var(--green); }
.steps-check .no .ico-svg { color: #d93a3a; }

/* ───────── Animaciones y adaptación ───────── */
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes entrada { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 920px) {
  .cols { grid-template-columns: 1fr; gap: 28px; }
  .search { order: 3; flex: 1 1 100%; max-width: none; }
  header.top .wrap { flex-wrap: wrap; gap: 8px 12px; }
}
@media (max-width: 600px) {
  h1 { font-size: 24px; } .app-head h1 { font-size: 26px; }
  .app-head { gap: 16px; } .app-head .ico.s128 { --s: 88px; }
  .tile { width: 100px; } .tile .ico { --s: 100px; }
  .dl { grid-template-columns: 120px 1fr; }
  .code { font-size: 28px; }
  nav.menu a.hide-sm, .user span.hide-sm { display: none; }
  .table .hide-sm { display: none; }
}

/* ───────── Complementos ───────── */
.tile .dev { margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy { position: sticky; top: 84px; }
details.more.inline { margin: 8px 0 12px; }
.sig-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.sig-list b { display: block; font-size: 13px; }


/* ───────── Piezas de la web real ───────── */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cap { height: 260px; width: auto; max-width: none; border-radius: 16px; flex: none; scroll-snap-align: start; box-shadow: inset 0 0 0 1px var(--line); }
.cap-wrap { flex: none; }
.app-head .ico { flex: none; }
.appicon { width: 56px; height: 56px; border-radius: 22%; object-fit: cover; background: var(--surface); display: block; flex: none; }
.appicon.big { width: 128px; height: 128px; }
.appicon.empty { display: grid; place-items: center; color: var(--muted); font-size: 11px; text-align: center; }
.tile .appicon { width: 112px; height: 112px; }
.tile .appicon.empty { font-size: 12px; }
.app-row .appicon { width: 56px; height: 56px; }
.notice { color: var(--muted); font-size: 14px; }
.search-form { display: contents; }
.release .btn { margin-top: 2px; }
.release .btn + .btn { margin-left: 8px; }
.empty-state { padding: 34px 0; text-align: center; color: var(--muted); }

/* ───────── Compatibilidad con el panel y las páginas simples ───────── */
.card { margin-bottom: 26px; }
.card.scroll { overflow-x: auto; }
.card + .card { padding-top: 6px; }
.flash { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 500; }
.flash.ok { background: var(--ok-bg); color: var(--ok-text); }
.flash.error { background: var(--err-bg); color: var(--err-text); }
.btn.secondary { background: var(--surface); color: var(--text); }
.btn.secondary:hover { background: var(--surface-2); filter: none; }
.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1 1 260px; }
form.inline { display: inline; margin: 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.grid2 > .card { margin-bottom: 0; }
.qr { width: 240px; height: 240px; display: block; border-radius: var(--radius-sm); padding: 8px; background: #fff; }
.chips.left { justify-content: flex-start; padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
.searchbar { display: flex; gap: 8px; margin-bottom: 14px; }
.searchbar input { flex: 1; }
.login-wrap { max-width: 440px; margin: 18px auto 0; text-align: center; }
.login-wrap .logo { width: 130px; height: auto; margin: 0 auto 6px; display: block; filter: drop-shadow(0 10px 16px rgba(20, 30, 50, .16)); }
.login-wrap form { text-align: left; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 26px; }
.feature { padding: 4px 0; }
.feature .ico-feature { font-size: 30px; line-height: 1; margin-bottom: 8px; display: block; }
.feature h3 { margin: 0 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.hero .chips { justify-content: center; margin: 14px 0 6px; padding: 0; }
.chip.static { cursor: default; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; word-break: break-all; }
.fp-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
select { appearance: auto; }
details.panel > summary { cursor: pointer; font-weight: 600; margin: 10px 0; }
