/* Captured real-world cartography in every style; no live thumbnail maps. */
.theme-art[data-preview-state]{position:relative;overflow:hidden;isolation:isolate;background:#e4f5ed}
.theme-art .real-location-map{display:block;width:100%;height:100%;object-fit:cover;object-position:center;image-rendering:auto}
.theme-art .real-location-route{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}
.theme-art .preview-vehicle-badge{position:absolute;z-index:3;top:10px;right:10px;display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffff91;border-radius:13px;background:#e6fffae8;box-shadow:0 3px 14px #06312d45;backdrop-filter:blur(6px);pointer-events:none}
.theme-art .preview-vehicle-badge img{display:block;width:37px;height:37px;object-fit:contain}
.theme-art .preview-vehicle-frontier{background:#493522e5;border-color:#c9a675}
.theme-art .preview-vehicle-kawaii{background:#fff4f9f2;border-color:#f2b8d6}
.theme-art .preview-vehicle-neon{background:#1d1238eb;border-color:#ff5cbb;box-shadow:0 0 13px #ff2f8966}
.theme-art .preview-vehicle-atomic{background:#f5e6c8ec;border-color:#be9b6a}
.theme-art .preview-vehicle-block{background:#243e28ec;border-color:#85b763}
.theme-art .preview-vehicle-block img{image-rendering:pixelated}
.theme-art .preview-vehicle-coral{background:#fff0e5ee;border-color:#75d3dc}
.theme-art .preview-vehicle-tactical{background:#2b3429ef;border-color:#a3a88b}
.theme-art .preview-vehicle-nightops{background:#102318f2;border-color:#5a9b63}
.theme-art .preview-vehicle-wasteland{background:#1c2a1cef;border-color:#9d9f6d}
@media(max-width:900px){.theme-art .preview-vehicle-badge{top:6px;right:6px;width:36px;height:36px;border-radius:10px}.theme-art .preview-vehicle-badge img{width:28px;height:28px}}
.theme-art.art-frontier[data-preview-state]{background:#ead7b4}
.theme-art.art-kawaii[data-preview-state]{background:#fff1eb}
.theme-art.art-neon[data-preview-state]{background:#1c1234}
.theme-art.art-atomic[data-preview-state]{background:#f5eedc}
.theme-art.art-block[data-preview-state]{background:#b5d486}
.theme-art .fictional-map{display:block;width:100%;height:100%;overflow:hidden}
.theme-art .fictional-poi{filter:drop-shadow(0 3px 2px rgba(26,83,77,.42))}
.theme-art.art-frontier .fictional-poi{filter:drop-shadow(0 2px 1px rgba(76,49,29,.6))}
.theme-art.art-kawaii .fictional-poi{filter:drop-shadow(0 2px 2px rgba(157,78,110,.38))}
.theme-art.art-neon .fictional-poi{filter:drop-shadow(0 0 6px rgba(255,81,179,.9))}
.theme-art.art-atomic .fictional-poi{filter:drop-shadow(0 2px 2px rgba(78,59,39,.3))}
.theme-art.art-block .fictional-poi{filter:drop-shadow(2px 3px 0 rgba(51,87,39,.58))}
.theme-art.art-neon .fictional-route-layer{filter:drop-shadow(0 0 4px #ff56af) drop-shadow(0 0 9px #ff56af88)}
.theme-art.art-block .fictional-route-layer{filter:drop-shadow(2px 2px 0 #49673c55)}
.theme-art.art-aero[data-preview-state]:after{
  content:'';pointer-events:none;position:absolute;inset:0;
  background:linear-gradient(166deg,rgba(255,255,255,.33) 0,transparent 32%,rgba(0,140,170,.08) 100%);
}
.theme-art.art-frontier[data-preview-state]:after{
  content:'';pointer-events:none;position:absolute;inset:0;
  background:url('./assets/textures/frontier-parchment-seamless-512.png') repeat;
  background-size:190px;opacity:.3;mix-blend-mode:multiply;
  box-shadow:inset 0 0 20px rgba(107,71,35,.23);
}
.theme-art.art-kawaii[data-preview-state]:after{
  content:'';pointer-events:none;position:absolute;inset:0;
  box-shadow:inset 0 0 18px rgba(255,179,207,.34);
}
.theme-art.art-neon[data-preview-state]:after{
  content:'';pointer-events:none;position:absolute;inset:0;
  box-shadow:inset 0 0 26px rgba(255,66,165,.35);
  background:linear-gradient(145deg,rgba(241,58,167,.08),transparent 47%,rgba(21,226,226,.07));
}
.theme-art.art-atomic[data-preview-state]:after{
  content:'';pointer-events:none;position:absolute;inset:0;
  box-shadow:inset 0 0 21px rgba(140,90,46,.17);
  background:linear-gradient(160deg,rgba(255,254,224,.18),transparent 50%,rgba(39,157,146,.04));
}
.theme-art.art-block[data-preview-state]:after{
  content:'';pointer-events:none;position:absolute;inset:0;
  box-shadow:inset 0 0 15px rgba(58,99,48,.24);
  background:linear-gradient(145deg,#fff8bd12,transparent 64%,#2b704f19);
}
@media(min-width:901px){
  .theme-dock{width:min(96vw,1120px)}
  .theme-card{height:204px}
  .theme-art{height:128px;flex-basis:128px}
}
/* Nine full scenes form a balanced 3×3 gallery, without a stranded last card. */
@media(min-width:901px){
  body[data-theme] .theme-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  body[data-theme] .theme-card{height:246px}
  body[data-theme] .theme-art{height:174px;flex-basis:174px}
  body[data-theme] .theme-dock{max-height:calc(100dvh - 32px);overflow-y:auto}
}
