/* Panel Muebles Lunor — estilo neón (morado / rosa) sobre fondo de grafitis, igual a Stream Flary */
:root {
  --bg: #0b0612; --bg2: #120a1c;
  --card: rgba(24, 13, 36, .86); --card2: rgba(36, 20, 52, .9); --card-solid: #1a0f27;
  --linea: rgba(196, 120, 255, .22); --linea2: rgba(196, 120, 255, .38);
  --texto: #F5EEFF; --gris: #B6A6CC; --gris2: #8E7EA6;
  --rosa: #E21FC8; --rosa2: #B4129F; --morado: #9B4DFF; --morado2: #6D28D9; --lila: #D7A6FF;
  --grad: linear-gradient(90deg, #E21FC8 0%, #B935F0 100%);
  --grad-txt: linear-gradient(90deg, #FFFFFF 0%, #F3A6FF 55%, #E04FE0 100%);
  --verde: #22C55E; --verde-bg: rgba(34, 197, 94, .16); --rojo: #F43F5E; --rojo-bg: rgba(244, 63, 94, .15);
  --ambar: #F5A524; --ambar-bg: rgba(245, 165, 36, .14); --azul: #7C9CFF; --azul-bg: rgba(124, 156, 255, .15);
  --b-in: #241634; --b-out: #4A1C5E; --b-owner: #22305A;
  --glow: 0 0 0 1px rgba(226, 31, 200, .35), 0 0 22px rgba(226, 31, 200, .35);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--texto); font-family: var(--font); font-size: 15px; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; background: url('/img/fondo-cel.jpg') center / cover no-repeat; }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,6,18,.80) 0%, rgba(11,6,18,.72) 40%, rgba(11,6,18,.88) 100%); }
@media (min-width: 960px) { body::before { background-image: url('/img/fondo.jpg'); } }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--lila); }
:focus-visible { outline: 2px solid var(--rosa); outline-offset: 2px; }
[hidden] { display: none !important; }
img { max-width: 100%; }
svg.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.muted { color: var(--gris); }
.small { font-size: 13px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }

/* ---------- estructura ---------- */
.shell { display: flex; min-height: 100%; }
.side { display: none; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
.top { position: sticky; top: 0; z-index: 20; background: rgba(13, 7, 22, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); padding: calc(10px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) 10px max(14px, env(safe-area-inset-left, 0px)); display: flex; align-items: center; gap: 10px; min-height: 64px; }
.top .logo-i { width: 42px; height: 42px; }
.top .back { background: none; border: 0; color: var(--texto); padding: 0 4px 0 0; display: grid; place-items: center; }
.top h1 { font-size: 18px; margin: 0; font-weight: 800; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; border: 1px solid var(--linea2); border-radius: 999px; padding: 0 14px; height: 44px; background: rgba(255,255,255,.03); color: var(--gris); }
.top .search input { border: 0; background: none; outline: 0; padding: 0; height: 100%; width: 100%; min-width: 0; color: var(--texto); }
.top .search input::placeholder { color: var(--gris2); }
.ibtn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--rosa); background: rgba(226, 31, 200, .06); color: var(--lila); display: grid; place-items: center; position: relative; flex-shrink: 0; text-decoration: none; box-shadow: 0 0 14px rgba(226, 31, 200, .18); }
.ibtn .badge { position: absolute; top: -6px; right: -4px; }
.page { padding: 16px max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 16px; max-width: 1100px; width: 100%; margin: 0 auto; }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(13, 7, 22, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--linea); display: flex; padding-bottom: env(safe-area-inset-bottom, 0px); }
.nav a { flex: 1; text-align: center; padding: 10px 0 10px; font-size: 12px; font-weight: 700; color: var(--gris); text-decoration: none; position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nav a.on { color: var(--rosa); }
.nav a.on svg { filter: drop-shadow(0 0 6px rgba(226, 31, 200, .7)); }
.badge { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #EF4444; color: #fff; font-size: 11.5px; font-weight: 800; line-height: 18px; text-align: center; }
.nav .badge { position: absolute; top: 4px; left: 54%; }
.logo-i { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 20px; flex-shrink: 0; box-shadow: 0 0 16px rgba(226, 31, 200, .45); }

@media (min-width: 960px) {
  .main { padding-bottom: 0; }
  .nav { display: none; }
  .side { display: flex; flex-direction: column; gap: 3px; width: 248px; flex-shrink: 0; background: rgba(13, 7, 22, .9); border-right: 1px solid var(--linea); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
  .side .logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 17px; padding: 2px 8px 18px; }
  .side a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--gris); text-decoration: none; font-weight: 700; }
  .side a:hover { background: rgba(155, 77, 255, .1); color: var(--texto); }
  .side a.on { background: rgba(226, 31, 200, .14); color: var(--texto); box-shadow: inset 3px 0 0 var(--rosa); }
  .side a .badge { margin-left: auto; }
  .side .wa { margin-top: auto; border-radius: 14px; padding: 12px; font-size: 13px; background: var(--card); border: 1px solid var(--linea); }
  .page { padding: 22px 28px 36px; }
}

/* ---------- componentes ---------- */
.card { background: var(--card); border: 1px solid var(--linea); border-radius: var(--r); padding: 16px; min-width: 0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card h2 { font-size: 15px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; font-weight: 800; }
.card h2 small { font-weight: 600; color: var(--gris); font-size: 12.5px; margin-left: auto; text-align: right; }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gris); }
.grid2 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tiles3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { background: rgba(255,255,255,.03); border: 1px solid var(--linea); border-radius: 16px; padding: 12px 8px; text-align: center; min-width: 0; text-decoration: none; color: inherit; }
.tile small { display: block; color: var(--gris); font-weight: 700; font-size: 12.5px; }
.tile b { display: block; font-size: 19px; margin-top: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.hl { border-color: rgba(226, 31, 200, .55); background: rgba(226, 31, 200, .08); }
.tile.hl b { color: var(--lila); }

.btn { border: 1px solid var(--linea2); border-radius: 12px; padding: 11px 16px; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: rgba(255,255,255,.04); text-decoration: none; color: var(--texto); }
.btn:hover { background: rgba(255,255,255,.08); }
.btn.primary, .btn.ambar { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 0 18px rgba(226, 31, 200, .35); }
.btn.verde { background: var(--verde); color: #04140A; border-color: var(--verde); }
.btn.rojo { background: var(--rojo-bg); color: #FF8DA1; border-color: rgba(244, 63, 94, .45); }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.pill-link { border: 1px solid var(--linea2); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13.5px; color: var(--lila); text-decoration: none; white-space: nowrap; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 800; color: var(--gris); }
.field .hint { font-size: 12px; color: var(--gris2); }
input[type=text], input[type=number], input[type=password], input[type=search], input[type=url], textarea, select {
  width: 100%; border: 1px solid var(--linea2); border-radius: 14px; padding: 12px 14px; background: rgba(10, 5, 18, .7); color: var(--texto); min-width: 0; }
input::placeholder, textarea::placeholder { color: var(--gris2); }
textarea { resize: vertical; min-height: 70px; line-height: 1.45; }
select option { background: var(--card-solid); }
.fields { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .fields.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.check { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.check input { width: 19px; height: 19px; accent-color: var(--rosa); }

.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.chip.fb { background: rgba(155, 77, 255, .18); color: var(--lila); }
.chip.bot { background: var(--verde-bg); color: #6EE7A0; }
.chip.ayuda { background: var(--rojo-bg); color: #FF9FB1; }
.chip.pausa { background: var(--ambar-bg); color: #FFC765; }
.chip.gris { background: rgba(255,255,255,.07); color: var(--gris); }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { white-space: nowrap; border: 1px solid var(--linea2); background: rgba(255,255,255,.03); border-radius: 999px; padding: 9px 16px; font-weight: 800; font-size: 14px; color: var(--texto); }
.tabs button.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 16px rgba(226, 31, 200, .4); }

.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--card-solid); border: 1px solid var(--rosa); color: #fff; padding: 11px 18px; border-radius: 14px; font-weight: 800; z-index: 100; box-shadow: var(--glow); max-width: calc(100% - 32px); text-align: center; }
.toast.error { border-color: var(--rojo); box-shadow: 0 0 20px rgba(244, 63, 94, .4); }
.empty { text-align: center; color: var(--gris); padding: 28px 12px; }
.alert { border-radius: 16px; padding: 13px 15px; font-size: 14px; line-height: 1.45; border: 1px solid var(--linea2); background: var(--card); }
.alert.amar { background: linear-gradient(90deg, rgba(245,165,36,.16), rgba(245,165,36,.06)); border-color: rgba(245, 165, 36, .55); color: #FFE2B0; }
.alert.verde { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .45); color: #B7F5CD; }
.alert.rojo { background: var(--rojo-bg); border-color: rgba(244, 63, 94, .5); color: #FFC2CD; }
.banner { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.banner .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #F59E0B, #F43F5E); color: #fff; flex-shrink: 0; }
.banner .ico.ok { background: linear-gradient(135deg, #22C55E, #14B8A6); }
.banner b { display: block; font-size: 15.5px; }
.banner .go { margin-left: auto; color: #FFC765; font-weight: 900; white-space: nowrap; }

/* ---------- inicio ---------- */
.hello h2 { font-size: 30px; line-height: 1.15; margin: 4px 0 4px; font-weight: 900; letter-spacing: -.3px; text-wrap: balance; }
.hello h2 span { background: var(--grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.earn { border: 1.5px solid rgba(155, 77, 255, .6); background: linear-gradient(160deg, rgba(60, 22, 84, .88), rgba(22, 10, 34, .9)); box-shadow: 0 0 30px rgba(155, 77, 255, .18); }
.earn .big { font-size: 46px; font-weight: 900; letter-spacing: -1px; line-height: 1.05; background: var(--grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; margin: 6px 0 6px; }
.earn .msg { font-weight: 700; line-height: 1.4; }
.spark { width: 100%; height: 120px; display: block; margin: 8px 0 4px; }
.goal { border: 1px solid var(--linea); border-radius: 16px; padding: 14px; background: rgba(10, 5, 18, .45); margin-top: 6px; }
.goal .bar { margin: 12px 0 10px; }
.bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #B794F6, #E21FC8); border-radius: 999px; }

/* ---------- login ---------- */
.login { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: calc(24px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px)); position: relative; }
.login .hero { flex: 0 0 auto; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.brand-big { line-height: .9; }
.brand-big .w1 { display: block; font-family: 'Anton', 'Impact', sans-serif; font-size: clamp(54px, 17vw, 96px); letter-spacing: 1px; text-transform: uppercase; background: linear-gradient(180deg, #FFFFFF 0%, #E9E2F2 45%, #9C93A8 52%, #F7F3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 #2a0f3b) drop-shadow(0 0 18px rgba(226, 31, 200, .45)); transform: rotate(-4deg); }
.brand-big .w2 { display: block; font-family: 'Yellowtail', 'Brush Script MT', cursive; font-size: clamp(54px, 16vw, 92px); color: #FF3FD6; margin-top: -8px; text-shadow: 0 0 18px rgba(226, 31, 200, .8), 0 3px 0 #4a0d45; transform: rotate(-4deg); }
.login .box { width: 100%; max-width: 420px; background: rgba(18, 8, 28, .9); border: 1.5px solid rgba(226, 31, 200, .6); border-radius: 26px; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 0 34px rgba(226, 31, 200, .3); text-align: center; }
.login .shield { width: 74px; height: 74px; margin: 0 auto 4px; border-radius: 50%; border: 2px solid var(--rosa); display: grid; place-items: center; color: #FF7BE6; box-shadow: 0 0 22px rgba(226, 31, 200, .5), inset 0 0 14px rgba(226, 31, 200, .3); }
.login .shield svg { width: 30px; height: 30px; fill: rgba(255,123,230,.25); }
.login h1 { margin: 0; font-size: 26px; font-weight: 900; }
.login .sub { margin: 0; color: #F08BE4; font-weight: 600; }
.inp { display: flex; align-items: center; gap: 10px; border: 1px solid var(--linea2); border-radius: 16px; padding: 0 14px; background: rgba(8, 4, 14, .7); text-align: left; }
.inp input { border: 0 !important; background: none !important; padding: 15px 0 !important; outline: 0; }
.inp .eye { background: none; border: 0; color: var(--gris); padding: 4px; display: grid; }
.login .go { background: var(--grad); color: #fff; border: 0; border-radius: 16px; padding: 16px; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 0 24px rgba(226, 31, 200, .5); }

/* ---------- listas ---------- */
.list { display: flex; flex-direction: column; gap: 12px; }
.item { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--linea); border-left: 4px solid var(--c, var(--linea)); border-radius: 18px; background: var(--card); text-decoration: none; color: inherit; align-items: flex-start; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; flex-shrink: 0; font-size: 15px; }
.item .b { flex: 1; min-width: 0; }
.item .r1 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.item .r1 b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .r1 small { color: var(--gris); font-size: 12.5px; flex-shrink: 0; }
.item p { margin: 3px 0 8px; color: var(--gris); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.menu-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 18px 6px; min-height: 104px; border-radius: 18px; border: 1px solid var(--linea); background: rgba(40, 22, 58, .85); color: var(--texto); text-decoration: none; font-weight: 800; font-size: 13.5px; position: relative; line-height: 1.2; }
.menu-grid a svg { width: 30px; height: 30px; }
.menu-grid a.on { border-color: var(--morado); background: rgba(91, 33, 182, .45); box-shadow: 0 0 18px rgba(155, 77, 255, .35); }
.menu-grid a .badge { position: absolute; top: 8px; right: 10px; }

/* ---------- chats ---------- */
.conv { display: flex; flex-direction: column; background: rgba(12, 6, 20, .82); border-radius: var(--r); border: 1px solid var(--linea); overflow: hidden; min-height: 60vh; }
.msgs { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; max-height: 62vh; }
.m { max-width: 82%; padding: 7px 10px 5px; border-radius: 12px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; font-size: 14.5px; }
.m .t { display: block; text-align: right; font-size: 10.5px; color: rgba(245, 238, 255, .55); margin-top: 2px; }
.m.in { background: var(--b-in); align-self: flex-start; border-top-left-radius: 4px; }
.m.out { background: var(--b-out); align-self: flex-end; border-top-right-radius: 4px; }
.m.owner { background: var(--b-owner); align-self: flex-end; border-top-right-radius: 4px; }
.m.owner .who { display: block; font-size: 11px; font-weight: 800; color: var(--azul); }
.m.img { padding: 3px; }
.m.img img { display: block; width: 180px; height: 180px; object-fit: cover; border-radius: 9px; }
.note { align-self: center; background: rgba(245, 165, 36, .12); border: 1px solid rgba(245, 165, 36, .4); color: #FFD898; font-size: 12px; padding: 5px 11px; border-radius: 10px; text-align: center; max-width: 94%; }
.compose { display: flex; gap: 8px; padding: 10px; background: rgba(20, 10, 32, .95); border-top: 1px solid var(--linea); align-items: flex-end; }
.compose textarea { min-height: 44px; max-height: 140px; border-radius: 22px; padding: 11px 15px; }
.compose .btn { width: 46px; height: 46px; border-radius: 50%; padding: 0; }
.ficha .row2 { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--linea); font-size: 14px; }
.ficha .row2:first-of-type { border-top: 0; }
.ficha .row2 span { color: var(--gris); flex-shrink: 0; }
.ficha .row2 b { text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.chatgrid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.chatgrid .side-col { display: flex; flex-direction: column; gap: 14px; order: -1; }
.chatgrid .side-col .ficha, .chatgrid .side-col .extra { display: none; }
.chatgrid.showficha .side-col .ficha, .chatgrid.showficha .side-col .extra { display: block; }
@media (min-width: 900px) {
  .chatgrid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .chatgrid .side-col { order: 0; }
  .chatgrid .side-col .ficha, .chatgrid .side-col .extra { display: block; }
  .chatgrid .fbtn { display: none; }
  .savebar { bottom: 16px !important; }
}

/* ---------- pedidos ---------- */
.order { display: flex; flex-direction: column; gap: 10px; border-left: 4px solid var(--c, var(--gris)); }
.order .top2 { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.order .price { font-weight: 900; font-size: 19px; white-space: nowrap; }
.order .det { font-size: 14px; color: #DCCFEA; line-height: 1.55; }

/* ---------- fotos ---------- */
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.th { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid var(--linea); padding: 0; }
.th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th .n { position: absolute; top: 5px; left: 5px; background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 900; border-radius: 7px; padding: 1px 7px; }
.th.add { border: 2px dashed var(--linea2); background: rgba(255,255,255,.02); color: var(--lila); font-weight: 800; font-size: 13px; display: grid; place-items: center; text-align: center; cursor: pointer; }
.modal-bg { position: fixed; inset: 0; background: rgba(5, 2, 10, .75); backdrop-filter: blur(4px); z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.modal { background: var(--card-solid); border: 1px solid var(--linea2); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 18px max(16px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 760px) { .modal-bg { align-items: center; } .modal { border-radius: 22px; } }
.modal h3 { margin: 0; font-size: 18px; }
.modal img.big { width: 100%; max-height: 50vh; object-fit: contain; background: rgba(0,0,0,.3); border-radius: 14px; }
.checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 520px) { .checks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- simulador / otros ---------- */
.sim .alb { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 250px; max-width: 100%; }
.sim .alb button { padding: 0; border: 0; aspect-ratio: 1; border-radius: 8px; overflow: hidden; position: relative; background: #0004; }
.sim .alb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sim .alb .more { position: absolute; inset: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 22px; font-weight: 800; display: grid; place-items: center; }
.qr { background: #fff; padding: 14px; border-radius: 16px; display: inline-block; box-shadow: var(--glow); }
.steps { margin: 0; padding-left: 20px; line-height: 1.7; }
.link-row { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--linea); }
.link-row:first-child { border-top: 0; }
.link-row code { font-size: 12px; color: var(--gris); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.origin-row { display: flex; align-items: center; gap: 10px; margin: 9px 0; }
.origin-row span:first-child { width: 112px; font-weight: 800; font-size: 13.5px; }
.origin-row .bar { flex: 1; }
.origin-row span:last-child { width: 96px; text-align: right; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.list-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--linea); }
.list-row:first-of-type { border-top: 0; }
.item .chip, .chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item > div { min-width: 0; }
