/* /src/styles/gustos.css */
.qz-fondo { padding: 16px; }
.qz {
--qz-fondo: #0a1628;
--qz-tarjeta: #0d1c30;
--qz-borde: #1f3048;
--qz-texto: #f2f5fb;
--qz-texto-2: #c3cbdb;
--qz-texto-3: #8793a8;
--qz-cian: var(--accent-cyan, #00f5d4);
--qz-rosa: var(--accent-pink, #f72585);
width: min(720px, 100%);
height: min(660px, calc(100vh - 32px));
height: min(660px, calc(100dvh - 32px));
display: flex;
flex-direction: column;
background: var(--qz-fondo);
box-shadow: 0 0 0 2px var(--qz-cian), 8px 8px 0 rgba(0, 0, 0, .55), 0 0 60px rgba(0, 245, 212, .12);
color: var(--qz-texto);
font-family: var(--font-ui, 'Fira Sans', system-ui, sans-serif);
}
.qz :where(h2, p, b, small, span, button, input, label, li, ol) { font-family: inherit; letter-spacing: normal; text-transform: none; }
.qz :where(h2, p, ol) { margin: 0; }
.qz .qz-barra { flex: none; padding: 6px 6px 6px 14px; }
.qz .qz-barra > span:first-child { font-family: var(--font-pixel); letter-spacing: .04em; text-transform: uppercase; }
.qz .qz-cerrar {
display: grid;
place-items: center;
width: 30px;
height: 30px;
border: 0;
background: var(--bg-sunken, #070a12);
color: var(--qz-cian);
cursor: pointer;
}
.qz .qz-cerrar:hover { color: #fff; }
.qz-cuerpo { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 26px 8px; }
.qz .qz-progreso {
list-style: none;
padding: 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
}
.qz .qz-progreso li {
display: flex;
align-items: center;
gap: 8px;
padding-top: 10px;
border-top: 3px solid var(--qz-borde);
font-size: 13px;
font-weight: 600;
color: var(--qz-texto-3);
}
.qz .qz-progreso li span {
display: grid;
place-items: center;
width: 22px;
height: 22px;
border-radius: 50%;
background: var(--qz-borde);
color: var(--qz-texto-2);
font-size: 12px;
font-weight: 800;
}
.qz .qz-progreso li.es-hecho { border-color: var(--qz-cian); color: var(--qz-texto-2); }
.qz .qz-progreso li.es-hecho span { background: var(--qz-cian); color: #04121a; }
.qz .qz-progreso li.es-actual { border-color: var(--qz-rosa); color: var(--qz-texto); }
.qz .qz-progreso li.es-actual span { background: var(--qz-rosa); color: #fff; }
.qz .qz-titulo {
margin-top: 20px;
font-size: clamp(24px, 3.2vw, 30px);
font-weight: 800;
line-height: 1.1;
letter-spacing: -.01em;
color: #fff;
outline: none;
}
.qz .qz-sub { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--qz-texto-2); }
.qz-paso { margin-top: 18px; }
.qz-paso[hidden] { display: none; }
.qz .qz-marca {
position: absolute;
top: 8px;
right: 8px;
display: none;
place-items: center;
width: 20px;
height: 20px;
border-radius: 50%;
background: var(--qz-cian);
color: #04121a;
}
.qz [aria-pressed="true"] > .qz-marca { display: grid; }
.qz-tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qz .qz-tipo {
position: relative;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 4px;
padding: 16px;
border: 1.5px solid var(--qz-borde);
border-radius: 10px;
background: var(--qz-tarjeta);
color: var(--qz-texto);
text-align: left;
cursor: pointer;
transition: border-color .12s, background .12s;
}
.qz .qz-tipo-ico { color: var(--qz-cian); margin-bottom: 8px; }
.qz .qz-tipo b { font-size: 18px; font-weight: 800; }
.qz .qz-tipo small { font-size: 13px; color: var(--qz-texto-3); }
.qz .qz-tipo:hover { border-color: #33507a; }
.qz .qz-tipo[aria-pressed="true"] { border-color: var(--qz-cian); background: rgba(0, 245, 212, .07); }
.qz .qz-usos { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--qz-borde); display: grid; gap: 10px; }
.qz .qz-usos li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--qz-texto-2); }
.qz .qz-usos li svg { flex: none; margin-top: 2px; color: var(--qz-cian); }
.qz .qz-usos b { color: var(--qz-texto); font-weight: 700; }
.qz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qz .qz-chip {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 36px;
padding: 0 12px;
border: 1.5px solid var(--qz-borde);
border-radius: 999px;
background: var(--qz-tarjeta);
color: var(--qz-texto);
font-size: 14px;
font-weight: 600;
cursor: pointer;
}
.qz .qz-chip small {
padding: 1px 7px;
border-radius: 999px;
background: rgba(135, 147, 168, .16);
color: var(--qz-texto-3);
font-size: 12px;
font-weight: 700;
}
.qz .qz-chip:hover { border-color: #33507a; }
.qz .qz-chip[aria-pressed="true"] { border-color: var(--qz-cian); background: rgba(0, 245, 212, .1); }
.qz .qz-chip[aria-pressed="true"] small { background: var(--qz-cian); color: #04121a; }
.qz .qz-buscar {
display: flex;
align-items: center;
gap: 10px;
padding: 0 14px;
border: 1.5px solid var(--qz-borde);
border-radius: 8px;
background: var(--bg-sunken, #070a12);
color: var(--qz-texto-3);
}
.qz .qz-buscar:focus-within { border-color: var(--qz-cian); }
.qz .qz-buscar input {
flex: 1;
min-width: 0;
height: 42px;
border: 0;
background: none;
color: var(--qz-texto);
font-size: 15px;
outline: none;
}
.qz-creadores { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qz .qz-creador {
position: relative;
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
padding: 8px 30px 8px 8px;
border: 1.5px solid var(--qz-borde);
border-radius: 10px;
background: var(--qz-tarjeta);
color: var(--qz-texto);
text-align: left;
cursor: pointer;
}
.qz .qz-creador img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #13233c; }
.qz .qz-creador > span:not(.qz-marca) { display: flex; flex-direction: column; min-width: 0; }
.qz .qz-creador b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz .qz-creador small { font-size: 12px; line-height: 1.25; color: var(--qz-texto-3); }
.qz .qz-creador .qz-marca { top: 50%; right: 8px; transform: translateY(-50%); width: 18px; height: 18px; }
.qz .qz-creador:hover { border-color: #33507a; }
.qz .qz-creador[aria-pressed="true"] { border-color: var(--qz-cian); background: rgba(0, 245, 212, .07); }
.qz .qz-vacio { grid-column: 1 / -1; padding: 18px 0; color: var(--qz-texto-3); font-size: 14px; }
.qz-pie {
flex: none;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 14px 26px 18px;
border-top: 1px solid var(--qz-borde);
background: rgba(4, 13, 27, .6);
}
.qz .qz-encajan { font-size: 14px; color: var(--qz-texto-2); line-height: 1.35; }
.qz .qz-encajan b { font-size: 20px; font-weight: 800; color: var(--qz-cian); margin-right: 2px; }
.qz-botones { display: flex; flex: none; gap: 10px; }
.qz .qz-btn {
min-height: 42px;
padding: 0 20px;
border: 2px solid var(--qz-cian);
border-radius: 0;
background: var(--qz-cian);
color: #04121a;
font-size: 15px;
font-weight: 800;
cursor: pointer;
box-shadow: 4px 4px 0 var(--accent-cyan-hondo, #00b89f);
}
.qz .qz-btn:hover { filter: brightness(1.08); }
.qz .qz-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--accent-cyan-hondo, #00b89f); }
.qz .qz-btn--fantasma { background: transparent; color: var(--qz-texto-2); border-color: var(--qz-borde); box-shadow: none; }
.qz .qz-btn--fantasma:hover { color: #fff; border-color: #33507a; filter: none; }
.qz .qz-btn--final { background: var(--accent-pink-relleno, #dc1f78); border-color: var(--accent-pink-relleno, #dc1f78); color: #fff; box-shadow: 4px 4px 0 #8f1350; }
.qz .qz-btn--final:active { box-shadow: 2px 2px 0 #8f1350; }
@media (max-width: 640px) {
.qz-fondo { padding: 0; align-items: stretch; }
.qz { width: 100%; max-height: 100vh; max-height: 100dvh; height: 100dvh; box-shadow: none; }
.qz-cuerpo { padding: 16px 16px 8px; }
.qz .qz-progreso li { font-size: 11px; gap: 6px; }
.qz .qz-progreso li span { width: 20px; height: 20px; font-size: 11px; }
.qz .qz-titulo { margin-top: 16px; }
.qz .qz-sub { font-size: 14px; }
.qz-tipos { grid-template-columns: 1fr; gap: 8px; }
.qz .qz-tipo { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
.qz .qz-tipo-ico { margin: 0; }
.qz .qz-tipo b { font-size: 16px; }
.qz .qz-tipo small { margin-left: auto; padding-right: 26px; }
.qz .qz-tipo .qz-marca { top: 50%; transform: translateY(-50%); }
.qz-creadores { grid-template-columns: 1fr 1fr; }
.qz .qz-creador { padding-right: 26px; }
.qz .qz-creador small { white-space: normal; line-height: 1.25; }
.qz-pie { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 16px 16px; }
.qz-botones { width: 100%; }
.qz .qz-btn { flex: 1; padding: 0 12px; font-size: 14px; }
.qz .qz-btn--fantasma { flex: 0 0 auto; min-width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
.qz .qz-tipo, .qz .qz-chip { transition: none; }
}