/* Atlas 15.1: mission-specific imagery on Heist HQ cards.
   Uses the existing 15 individual local original Elario scenes.  These are
   source-labeled illustrations, not verified game screenshots or gameplay maps.
   Upgrade them to approved premium artworks without changing URLs/card layout. */
body.j119-heists .card .j151-heist-cover{
  display:block;
  width:calc(100% + 34px);
  max-width:calc(100% + 34px);
  height:auto;
  margin:-17px -17px 6px;
  aspect-ratio:16/7.2;
  object-fit:cover;
  object-position:center;
  background:#130b23;
  border-bottom:1px solid #ac6bba;
  box-shadow:0 6px 18px #09031555;
}
body.j119-heists .cards .card{isolation:isolate;min-width:0}
body.j119-heists .cards .card:hover .j151-heist-cover{filter:brightness(1.1)}
@media(max-width:580px){
 body.j119-heists .card .j151-heist-cover{aspect-ratio:16/8.8}
}

.heist-finder{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem 1.2rem;margin-bottom:1rem;padding:.9rem 1rem;color:#fff3e5;background:#291733;border:1px solid #82568c;border-radius:12px}
.heist-finder label{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}
.heist-finder input[type=search]{width:min(16rem,100%);min-height:40px;border:1px solid #906398;border-radius:8px;background:#190f25;color:#fff;padding:.5rem}
.heist-finder button{color:#ffe1aa;background:#422846;border:1px solid #ab83a4;border-radius:8px;padding:.5rem}
.heist-finder[hidden],.heist-finder button[hidden],.cards .card[hidden]{display:none}
.cards .card small:not([hidden]){display:block;color:#ffdb9e;margin-block:.45rem}

/* Atlas 29.6 · resumable, device-only heist planning. No new progress keys. */
.j297-heist-resume{margin:0 0 16px;padding:clamp(15px,2.5vw,24px);border:1px solid #d9a16d;border-radius:17px;background:linear-gradient(125deg,#352044,#180e28 85%);color:#fff7e8;min-width:0}
.j297-heist-resume[hidden]{display:none!important}
.j297-resume-heading h2{margin:0;color:#ffdd9c;font:850 clamp(20px,2.5vw,27px)/1.2 system-ui}
.j297-resume-heading p{color:#e9d5e7;line-height:1.5;font-size:13px;margin:7px 0 13px}
.j297-resume-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}
.j297-resume-card{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:108px;padding:13px 15px;border:1px solid #a67ba9;border-radius:12px;background:#2b193b;color:#fdf4eb;text-decoration:none;overflow-wrap:anywhere}
.j297-resume-card strong{font:800 15px/1.25 system-ui;color:#ffdfad}
.j297-resume-card small{font:500 12px/1.45 system-ui;color:#e9d9e5}
.j297-resume-card span{margin-top:auto;color:#ffe0a0;font:750 12px/1.4 system-ui}
.j297-resume-card:hover{border-color:#ffe0a0;background:#402750}
.j297-resume-card:focus-visible{outline:3px solid #ffe3a8;outline-offset:3px}

.heist-finder select,.heist-finder button,.j297-resume-more{min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #ab83a4;border-radius:9px;background:#28183b;color:#ffe2ab;font:inherit}.heist-finder input[type=search]{min-height:44px}.heist-finder :focus-visible,.j297-resume-more:focus-visible{outline:3px solid #ffe3a8;outline-offset:2px}.j297-resume-more{margin-top:12px;cursor:pointer}.j297-resume-more[hidden],#heistEmpty[hidden]{display:none!important}@media(max-width:580px){.heist-finder label:not(:has(input[type=checkbox])){flex:1 1 100%;display:grid;min-width:0}.heist-finder input[type=search],.heist-finder select{width:100%}}
