/* Adaptación del diseño aprobado a catálogo real y CSP sin handlers inline. */
main#content{max-width:none;margin:0;padding:0;min-height:65vh}main#content.wrap{max-width:1200px;margin:auto;padding:24px 20px}header.header{padding:0}.header .official-brand{min-height:62px}.header .official-brand img{max-width:100%;height:100%}.links a{padding:9px 10px;border-radius:10px;color:#344966;font-size:13px}.links a:hover,.links a[aria-current=page]{background:#edf4ff;color:#2563eb}.ls-remote-art{display:flex;min-height:156px;align-items:center;justify-content:center;font-size:54px;background:#e8f3ff;color:#142b52}.art-1{background:#e5f8ed}.art-2{background:#fff0ca}.art-3{background:#f0e9ff}.art-4{background:#e2f5f5}.art-5{background:#ffece8}.category-tile{cursor:pointer;text-align:center}.category-tile span{display:block;font-size:37px}.hero .wrap{width:100%;padding-block:32px}.hero form{display:flex;max-width:650px;align-items:center;gap:8px;flex-wrap:wrap}.hero form input{flex:1;min-width:0}.hero .outline{display:inline-flex;align-items:center;min-height:44px}.hero .green{color:white}.hero .primary{min-height:44px}.card .content .outline{display:inline-block;margin-top:8px}.card li{font-size:13px}.storage-panel{margin:18px 0}.footer .links{justify-content:flex-start}.footer nav a{color:#dfe7f3}.footer #update-app{margin:12px 0}.validation-note{padding:8px 14px;background:#fff4d8;color:#714c10;text-align:center;font-size:13px}.card h3 a:focus-visible,.outline:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #e4a934;outline-offset:3px}a.primary,a.outline{display:inline-block}#rules .rule{white-space:normal}#rules p{white-space:pre-wrap}.rule-0{background:#fef3c7}.rule-1{background:#dcfce7}.rule-2{background:#fee2e2}.rule-3{background:#dbeafe}.cards.list{display:block}.cards.list .card{display:grid;grid-template-columns:minmax(140px,25%) minmax(0,1fr);margin-block:12px}.cards.list .ls-remote-art{height:100%}.ls-touch-nav a.ls-touch-tab{display:flex}.filters label{display:flex;flex-direction:column}.actions button,.fav-overlay{min-height:44px}.fav-overlay{width:44px}.skip:focus{z-index:60}.ls-touch-filter-extras{display:contents}#status{max-width:1200px}footer{padding-bottom:32px}.section h2{line-height:1.3}.hero input:focus-visible{outline:3px solid #f59e0b}.grid>*,.grid3>*,.cards>*{min-width:0}.card p,.panel p,.panel li,.preserve{overflow-wrap:anywhere}.ls-touch-nav button{background:transparent}.ls-touch-nav .ls-touch-tab[aria-current=page]{background:#e8f1ff}.ls-touch-more button{color:#1d3455}.primary:disabled{opacity:.55}.ls-review-stars{display:flex;gap:5px;flex-wrap:wrap}
@media(max-width:950px){.header .links{display:flex;justify-content:center;flex-wrap:wrap}.header .nav{flex-wrap:wrap;gap:4px}.header .links{flex-basis:100%}.grid,.cards.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.header .links{display:none}.header .nav{justify-content:center}.grid,.grid3,.cards.grid{grid-template-columns:minmax(0,1fr)}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:clamp(30px,8vw,42px)}.hero .wrap{padding-block:24px}main#content.wrap{padding:18px 14px}.hero form input{flex-basis:100%}.hero form button{margin-bottom:8px}.collection-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cards.list .card{grid-template-columns:minmax(95px,30%) minmax(0,1fr)}.card .content{padding:14px}.ls-remote-art{min-height:150px}.card h3{font-size:17px}.card p{font-size:14px}.footer{margin-bottom:0;padding-bottom:26px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.fav-overlay:hover{transform:none}}
.hero h1{color:#fff}.category-tile{color:var(--text)}.category-tile strong{display:block;font-size:14px;line-height:1.4}.category-tile{min-height:130px}.hero .wrap>p{color:#fff}
.card{padding:0;margin:0}#featured>.grid{grid-template-columns:minmax(0,1fr)}#featured>.grid>.card{display:grid;grid-template-columns:minmax(200px,32%) minmax(0,1fr)}#featured .ls-remote-art{height:100%;min-height:230px;font-size:84px}#featured .card .content{padding:22px}#featured .card h3{font-size:23px}@media(max-width:720px){#featured>.grid>.card{display:block}#featured .ls-remote-art{min-height:155px;font-size:54px}#featured .card .content{padding:14px}}

/* INC-012 — Vista Lista compacta para el catálogo y Mi colección.
   La cuadrícula permanece sin cambios. La imagen no puede determinar la altura
   de la fila ni estirarse con estilos heredados de la tarjeta grande. */
#content .cards.list{
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:12px;
}
#content .cards.list > .card{
 display:grid;
 grid-template-columns:clamp(112px,20%,190px) minmax(0,1fr);
 align-items:stretch;
 min-height:146px;
 margin:0;
 overflow:hidden;
}
#content .cards.list > .card .image-wrap{
 position:relative;
 min-width:0;
 width:100%;
 min-height:0;
 height:100%;
 max-height:220px;
 overflow:hidden;
}
#content .cards.list > .card .ls-remote-art{
 width:100%;
 height:100%;
 min-height:0;
 font-size:42px;
}
#content .cards.list > .card .image-wrap img{
 display:block;
 width:100%;
 height:100%;
 max-height:220px;
 object-fit:cover;
}
#content .cards.list > .card .content{
 min-width:0;
 padding:14px 18px;
}
@media(max-width:720px){
 #content .cards.list > .card{
  grid-template-columns:minmax(92px,30%) minmax(0,1fr);
  min-height:128px;
 }
 #content .cards.list > .card .image-wrap,
 #content .cards.list > .card .image-wrap img{max-height:195px}
 #content .cards.list > .card .content{padding:12px}
}
