/* Luzpass · las paletas (generado por logo-generador/gen-paletas.mjs desde paletas.mjs; no se edita a mano).
   Cada bloque redefine las fichas de arriba de portico.css; todo lo demás (vidrio, líneas, sombras) se mezcla de ellas.
   La elegida (blanco) también aplica cuando no hay data-paleta. Volver a la de hoy: ELEGIDA = 'hoy' en paletas.mjs,
   node logo-generador/gen-paletas.mjs y ./publica.sh (o ?paleta=hoy en el teléfono). */
:root[data-paleta="hoy"] {
  --marca: #235761; --marca-luz: #72bec9; --luz-umbral: #fbf3e4; --persona: #9e2e79; --persona-luz: #df90c5;
  --marca-alta-2: #3a7682; --marca-alta: #2f6a75; --marca-baja: #173a41; --marca-honda: #0f2a30; --marca-noche: #0a1a1e;
  --dia-base: #d1dee0; --dia-luz: #f9fcfc; --dia-tinta: #112227; --dia-texto: #3f535a; --dia-etiqueta: #4f6269; --dia-tenue: #72858b;
  --noche-base: #0a1215; --noche-luz: #26383b; --noche-capa: #142024; --noche-tinta: #f1f7f8; --noche-texto: #bccdd1; --noche-etiqueta: #9db1b6; --noche-tenue: #7a8d92;
  --pd-g0: #0a1a1e; --pd-g1: #0a1215;
}
:root[data-paleta="piedra"] {
  --marca: #2b2521; --marca-luz: #d8cdbd; --luz-umbral: #fbf3e4; --persona: #9e2e79; --persona-luz: #df90c5;
  --marca-alta-2: #463f3b; --marca-alta: #3b3530; --marca-baja: #1a1512; --marca-honda: #0e0a08; --marca-noche: #0c0a09;
  --dia-base: #e5dfd6; --dia-luz: #fbf9f5; --dia-tinta: #1e1a17; --dia-texto: #4b443e; --dia-etiqueta: #5c544d; --dia-tenue: #7c746b;
  --noche-base: #121010; --noche-luz: #2a2522; --noche-capa: #1c1917; --noche-tinta: #f5f0e8; --noche-texto: #cfc7bc; --noche-etiqueta: #a89f93; --noche-tenue: #847b70;
  --pd-g0: #0c0a09; --pd-g1: #121010;
}
:root[data-paleta="piedra"][data-fondo="a"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/piedra/fondo-a-dia.webp'); }
:root[data-paleta="piedra"][data-fondo="a"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/piedra/fondo-a-noche.webp'); }
:root[data-paleta="piedra"][data-fondo="b"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/piedra/fondo-b-dia.webp'); }
:root[data-paleta="piedra"][data-fondo="b"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/piedra/fondo-b-noche.webp'); }
:root[data-paleta="piedra"][data-fondo="c"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/piedra/fondo-c-dia.webp'); }
:root[data-paleta="piedra"][data-fondo="c"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/piedra/fondo-c-noche.webp'); }
:root[data-paleta="piedra"][data-fondo="d"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/piedra/fondo-d-dia.webp'); }
:root[data-paleta="piedra"][data-fondo="d"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/piedra/fondo-d-noche.webp'); }
:root[data-paleta="piedra"]:not([data-material="tecali"]) .app[data-rol-actual="caseta"] .fondo .arcos { background-image: url('/assets/paletas/piedra/fondo-c-noche.webp') !important; }
:root[data-paleta="alba"] {
  --marca: #5a3e2f; --marca-luz: #e2cfb0; --luz-umbral: #fbf0d6; --persona: #9e2e79; --persona-luz: #df90c5;
  --marca-alta-2: #795a4a; --marca-alta: #6d4f3e; --marca-baja: #3d2518; --marca-honda: #2b180d; --marca-noche: #170e09;
  --dia-base: #ebe2d2; --dia-luz: #fdfaf3; --dia-tinta: #2a211b; --dia-texto: #564a40; --dia-etiqueta: #66584b; --dia-tenue: #86786a;
  --noche-base: #15100d; --noche-luz: #2f2620; --noche-capa: #1f1813; --noche-tinta: #f6efe4; --noche-texto: #d4c8b8; --noche-etiqueta: #ab9d8b; --noche-tenue: #857766;
  --pd-g0: #170e09; --pd-g1: #15100d;
}
:root[data-paleta="alba"][data-fondo="a"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/alba/fondo-a-dia.webp'); }
:root[data-paleta="alba"][data-fondo="a"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/alba/fondo-a-noche.webp'); }
:root[data-paleta="alba"][data-fondo="b"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/alba/fondo-b-dia.webp'); }
:root[data-paleta="alba"][data-fondo="b"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/alba/fondo-b-noche.webp'); }
:root[data-paleta="alba"][data-fondo="c"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/alba/fondo-c-dia.webp'); }
:root[data-paleta="alba"][data-fondo="c"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/alba/fondo-c-noche.webp'); }
:root[data-paleta="alba"][data-fondo="d"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/alba/fondo-d-dia.webp'); }
:root[data-paleta="alba"][data-fondo="d"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/alba/fondo-d-noche.webp'); }
:root[data-paleta="alba"]:not([data-material="tecali"]) .app[data-rol-actual="caseta"] .fondo .arcos { background-image: url('/assets/paletas/alba/fondo-c-noche.webp') !important; }
:root[data-paleta="salvia"] {
  --marca: #465e3b; --marca-luz: #b8c9a2; --luz-umbral: #f8efd6; --persona: #9e2e79; --persona-luz: #df90c5;
  --marca-alta-2: #627d56; --marca-alta: #57714b; --marca-baja: #2d4224; --marca-honda: #203218; --marca-noche: #121a10;
  --dia-base: #dfe3d6; --dia-luz: #f8faf4; --dia-tinta: #1c221a; --dia-texto: #45503e; --dia-etiqueta: #57624e; --dia-tenue: #77826d;
  --noche-base: #0f1410; --noche-luz: #28302a; --noche-capa: #1a2019; --noche-tinta: #f1f5ea; --noche-texto: #c4ccbb; --noche-etiqueta: #9ca693; --noche-tenue: #7a8472;
  --pd-g0: #121a10; --pd-g1: #0f1410;
}
:root[data-paleta="salvia"][data-fondo="a"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/salvia/fondo-a-dia.webp'); }
:root[data-paleta="salvia"][data-fondo="a"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/salvia/fondo-a-noche.webp'); }
:root[data-paleta="salvia"][data-fondo="b"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/salvia/fondo-b-dia.webp'); }
:root[data-paleta="salvia"][data-fondo="b"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/salvia/fondo-b-noche.webp'); }
:root[data-paleta="salvia"][data-fondo="c"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/salvia/fondo-c-dia.webp'); }
:root[data-paleta="salvia"][data-fondo="c"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/salvia/fondo-c-noche.webp'); }
:root[data-paleta="salvia"][data-fondo="d"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/salvia/fondo-d-dia.webp'); }
:root[data-paleta="salvia"][data-fondo="d"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/salvia/fondo-d-noche.webp'); }
:root[data-paleta="salvia"]:not([data-material="tecali"]) .app[data-rol-actual="caseta"] .fondo .arcos { background-image: url('/assets/paletas/salvia/fondo-c-noche.webp') !important; }
:root[data-paleta="ciruela"] {
  --marca: #6b2140; --marca-luz: #e3a7c0; --luz-umbral: #fff1e8; --persona: #5f44b8; --persona-luz: #b9a6ee;
  --marca-alta-2: #8e3d5c; --marca-alta: #813151; --marca-baja: #490827; --marca-honda: #350019; --marca-noche: #1a060e;
  --dia-base: #ebdfe0; --dia-luz: #fdf9f8; --dia-tinta: #26171d; --dia-texto: #55414a; --dia-etiqueta: #664e59; --dia-tenue: #866f79;
  --noche-base: #140d11; --noche-luz: #2d2026; --noche-capa: #1e151a; --noche-tinta: #f7eef2; --noche-texto: #d6c6cd; --noche-etiqueta: #ad9aa4; --noche-tenue: #86737c;
  --pd-g0: #1a060e; --pd-g1: #140d11;
}
:root[data-paleta="ciruela"][data-fondo="a"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/ciruela/fondo-a-dia.webp'); }
:root[data-paleta="ciruela"][data-fondo="a"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/ciruela/fondo-a-noche.webp'); }
:root[data-paleta="ciruela"][data-fondo="b"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/ciruela/fondo-b-dia.webp'); }
:root[data-paleta="ciruela"][data-fondo="b"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/ciruela/fondo-b-noche.webp'); }
:root[data-paleta="ciruela"][data-fondo="c"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/ciruela/fondo-c-dia.webp'); }
:root[data-paleta="ciruela"][data-fondo="c"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/ciruela/fondo-c-noche.webp'); }
:root[data-paleta="ciruela"][data-fondo="d"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/ciruela/fondo-d-dia.webp'); }
:root[data-paleta="ciruela"][data-fondo="d"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/ciruela/fondo-d-noche.webp'); }
:root[data-paleta="ciruela"]:not([data-material="tecali"]) .app[data-rol-actual="caseta"] .fondo .arcos { background-image: url('/assets/paletas/ciruela/fondo-c-noche.webp') !important; }
:root[data-paleta="tinta"] {
  --marca: #45338f; --marca-luz: #b7aef1; --luz-umbral: #f9f0e0; --persona: #b0266e; --persona-luz: #ec92c4;
  --marca-alta-2: #6051b4; --marca-alta: #5544a7; --marca-baja: #2d1969; --marca-honda: #1f0b51; --marca-noche: #0f0b27;
  --dia-base: #e2e0ec; --dia-luz: #faf9fd; --dia-tinta: #1b1930; --dia-texto: #474460; --dia-etiqueta: #58557a; --dia-tenue: #78759a;
  --noche-base: #0f0e1a; --noche-luz: #272540; --noche-capa: #1a1830; --noche-tinta: #f2f1f9; --noche-texto: #c7c5dc; --noche-etiqueta: #9f9dba; --noche-tenue: #7c7a98;
  --pd-g0: #0f0b27; --pd-g1: #0f0e1a;
}
:root[data-paleta="tinta"][data-fondo="a"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/tinta/fondo-a-dia.webp'); }
:root[data-paleta="tinta"][data-fondo="a"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/tinta/fondo-a-noche.webp'); }
:root[data-paleta="tinta"][data-fondo="b"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/tinta/fondo-b-dia.webp'); }
:root[data-paleta="tinta"][data-fondo="b"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/tinta/fondo-b-noche.webp'); }
:root[data-paleta="tinta"][data-fondo="c"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/tinta/fondo-c-dia.webp'); }
:root[data-paleta="tinta"][data-fondo="c"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/tinta/fondo-c-noche.webp'); }
:root[data-paleta="tinta"][data-fondo="d"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/tinta/fondo-d-dia.webp'); }
:root[data-paleta="tinta"][data-fondo="d"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/tinta/fondo-d-noche.webp'); }
:root[data-paleta="tinta"]:not([data-material="tecali"]) .app[data-rol-actual="caseta"] .fondo .arcos { background-image: url('/assets/paletas/tinta/fondo-c-noche.webp') !important; }
:root[data-paleta="obsidiana"] {
  --marca: #efe3cf; --marca-luz: #efe3cf; --luz-umbral: #fbf3e4; --persona: #df90c5; --persona-luz: #df90c5;
  --marca-alta-2: #4a423b; --marca-alta: #3a332d; --marca-baja: #241f1b; --marca-honda: #17130f; --marca-noche: #0c0a08;
  --dia-base: #14110e; --dia-luz: #2b2621; --dia-tinta: #f5efe5; --dia-texto: #cfc5b7; --dia-etiqueta: #a99e90; --dia-tenue: #847a6e;
  --noche-base: #0c0a08; --noche-luz: #2b2621; --noche-capa: #1a1613; --noche-tinta: #f5efe5; --noche-texto: #cfc5b7; --noche-etiqueta: #a99e90; --noche-tenue: #847a6e;
  --pd-g0: #0c0a08; --pd-g1: #0c0a08;
}
:root[data-paleta="obsidiana"][data-fondo="a"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/obsidiana/fondo-a-dia.webp'); }
:root[data-paleta="obsidiana"][data-fondo="a"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/obsidiana/fondo-a-noche.webp'); }
:root[data-paleta="obsidiana"][data-fondo="b"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/obsidiana/fondo-b-dia.webp'); }
:root[data-paleta="obsidiana"][data-fondo="b"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/obsidiana/fondo-b-noche.webp'); }
:root[data-paleta="obsidiana"][data-fondo="c"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/obsidiana/fondo-c-dia.webp'); }
:root[data-paleta="obsidiana"][data-fondo="c"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/obsidiana/fondo-c-noche.webp'); }
:root[data-paleta="obsidiana"][data-fondo="d"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/obsidiana/fondo-d-dia.webp'); }
:root[data-paleta="obsidiana"][data-fondo="d"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/obsidiana/fondo-d-noche.webp'); }
:root[data-paleta="obsidiana"]:not([data-material="tecali"]) .app[data-rol-actual="caseta"] .fondo .arcos { background-image: url('/assets/paletas/obsidiana/fondo-c-noche.webp') !important; }
:root[data-paleta="obsidiana"] .elige-fondo button i { filter: none; }
:root:not([data-paleta]), :root[data-paleta="blanco"] {
  --marca: #235761; --marca-luz: #72bec9; --luz-umbral: #fbf3e4; --persona: #9e2e79; --persona-luz: #df90c5;
  --marca-alta-2: #3a7682; --marca-alta: #2f6a75; --marca-baja: #173a41; --marca-honda: #0f2a30; --marca-noche: #0a1a1e;
  --dia-base: #f5f5f6; --dia-luz: #ffffff; --dia-tinta: #1a1c1e; --dia-texto: #45494d; --dia-etiqueta: #565b60; --dia-tenue: #777c82;
  --noche-base: #0e0f10; --noche-luz: #2a2c2f; --noche-capa: #1a1c1e; --noche-tinta: #f6f6f7; --noche-texto: #c9ccd0; --noche-etiqueta: #a1a5ab; --noche-tenue: #7d8187;
  --pd-g0: #0a1a1e; --pd-g1: #0e0f10;
}
:root[data-paleta="blanco"][data-fondo="a"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/blanco/fondo-a-dia.webp'); }
:root[data-paleta="blanco"][data-fondo="a"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/blanco/fondo-a-noche.webp'); }
:root[data-paleta="blanco"][data-fondo="b"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/blanco/fondo-b-dia.webp'); }
:root[data-paleta="blanco"][data-fondo="b"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/blanco/fondo-b-noche.webp'); }
:root[data-paleta="blanco"][data-fondo="c"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/blanco/fondo-c-dia.webp'); }
:root[data-paleta="blanco"][data-fondo="c"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/blanco/fondo-c-noche.webp'); }
:root[data-paleta="blanco"][data-fondo="d"]:not([data-material="tecali"]) .fondo .arcos { background-image: url('/assets/paletas/blanco/fondo-d-dia.webp'); }
:root[data-paleta="blanco"][data-fondo="d"]:not([data-material="tecali"]) [data-tema="noche"] .fondo .arcos { background-image: url('/assets/paletas/blanco/fondo-d-noche.webp'); }
:root[data-paleta="blanco"]:not([data-material="tecali"]) .app[data-rol-actual="caseta"] .fondo .arcos { background-image: url('/assets/paletas/blanco/fondo-c-noche.webp') !important; }

/* El selector de paleta en «Ver Luzpass como» (junto al de fondo) */
.elige-paleta { display: grid; gap: 8px; margin: 12px 4px 4px; padding-top: 14px; border-top: 1px solid var(--linea); }
.elige-paleta p { font-family: var(--f-etiqueta); font-weight: var(--p-etiqueta); font-size: var(--s-etiqueta); letter-spacing: var(--e-etiqueta); text-transform: var(--caja-etiqueta); color: var(--etiqueta); }
.elige-paleta .ep-ops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.elige-paleta button { display: grid; gap: 6px; justify-items: center; font-size: 11.5px; font-weight: 600; color: var(--texto); text-align: center; line-height: 1.15; }
.elige-paleta button i { width: 100%; aspect-ratio: 9 / 13; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--linea-2); display: grid; place-items: center; }
.elige-paleta button i::after { content: ''; width: 46%; aspect-ratio: 1; border-radius: 26%; background: var(--ep-marca); box-shadow: 0 2px 6px -2px rgba(0,0,0,.35); }
.elige-paleta button[aria-pressed="true"] { color: var(--tinta); }
.elige-paleta button[aria-pressed="true"] i { box-shadow: inset 0 0 0 1px var(--linea-2), 0 0 0 2.5px var(--marca); }
[data-tema="noche"] .elige-paleta button[aria-pressed="true"] i { box-shadow: 0 0 0 2.5px var(--marca-luz); }
.elige-paleta a { font-size: 12.5px; color: var(--marca); text-underline-offset: 3px; }
[data-tema="noche"] .elige-paleta a { color: var(--marca-luz); }
