/* v0.5.1 – real per-class HD previews and responsive holo-archive. */
.stellar-picture{
 display:block;position:relative;
 width:100%;min-width:0;
 overflow:hidden;
 background:linear-gradient(145deg,#1b3152,#0a172f);
 border:1px solid #557394;border-radius:10px;
 box-shadow:0 9px 24px #0007,inset 0 0 18px #87eaff10;
}
.stellar-picture img{
 width:100%;height:100%;display:block;
 object-fit:cover;
 transition:filter .2s ease,transform .25s ease;
}
.stellar-picture:hover img{filter:brightness(1.13) contrast(1.05);transform:scale(1.035)}
.stellar-illustrated-card .stellar-picture{height:clamp(100px,15vh,168px);flex:0 0 auto}
.stellar-ship-catalog .stellar-picture{height:clamp(116px,16vh,180px);flex:0 0 auto}
.stellar-modal-art>.stellar-picture{height:clamp(205px,35vh,365px)}
.stellar-ship-showcase .stellar-picture{height:clamp(106px,14vh,178px)}
.stellar-ship-choice .stellar-picture{height:90px;margin-bottom:6px}
.stellar-lab-preview .stellar-picture,.stellar-moon-art .stellar-picture{height:100%}
.stellar-defense-list .stellar-picture{height:140px}
.stellar-gallery .section-head{margin-bottom:16px}
.stellar-gallery-tabs{
 display:flex;flex-wrap:wrap;gap:10px;
 padding:6px 0 18px;
}
.stellar-gallery-tabs .gallery-tab{
 display:inline-flex;align-items:center;gap:6px;
 padding:11px 16px;
 background:linear-gradient(130deg,#1b2f51,#192341);
 border:1px solid #576d9b;
 border-radius:10px;
 color:#c6dbe8;
 font-weight:850;
}
.stellar-gallery-tabs .gallery-tab:hover,
.stellar-gallery-tabs .gallery-tab.selected{
 color:#fff;border-color:#87e7f2;
 background:linear-gradient(135deg,#3c3a73,#1b4564);
 box-shadow:0 4px 20px #60b3ea3f;
}
.stellar-gallery-grid{
 display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;
 align-items:stretch;
}
.stellar-gallery-card{
 min-width:0;display:flex;flex-direction:column;
 text-align:left;padding:8px;
 border:1px solid #50709a;border-radius:13px;
 background:linear-gradient(145deg,#1e304b,#121e36 80%);
 color:#f4f7ff;
 box-shadow:0 9px 23px #05112080;
 transition:border-color .16s,transform .16s,box-shadow .16s;
}
.stellar-gallery-card:hover{
 transform:translateY(-3px);
 border-color:#a4def0;
 box-shadow:0 14px 30px #051120b5,0 0 12px #77e9ec29;
}
.stellar-gallery-card .gallery-card-art{
 width:100%;height:132px;
 border-radius:9px;overflow:hidden;
}
.stellar-gallery-card .gallery-card-art>.stellar-picture{
 height:100%;width:100%;border:0;border-radius:8px;
}
.stellar-gallery-card .gallery-card-info{
 display:flex;flex-direction:column;gap:4px;
 padding:10px 6px 5px;min-width:0;
}
.stellar-gallery-card .gallery-card-info small{
 font-size:9px;letter-spacing:.08em;
 color:#7ee4e6;text-transform:uppercase;font-weight:800;
}
.stellar-gallery-card .gallery-card-info strong{
 font-size:15px;line-height:1.25;font-weight:900;
 color:#f1f6fa;
}
.stellar-gallery-card .gallery-card-info span{
 line-height:1.35;font-size:11px;
 color:#aec5db;
}
.stellar-gallery .gallery-note{
 padding:14px 16px;line-height:1.6;font-size:12px;
 margin-top:15px;border-radius:9px;
 border:1px solid #5d789a;color:#bdcde0;
 background:#0f263d;
}
.gallery-large-picture{
 width:100%;
 display:flex;justify-content:center;
 border-radius:12px;overflow:hidden;
 background:linear-gradient(130deg,#091b36,#132a4b);
}
.gallery-large-picture>.stellar-picture{
 height:min(57dvh,525px);
 max-width:1100px;
 border-color:#84bde0;
 box-shadow:0 11px 31px #000a;
}
@media(max-width:760px){
 .stellar-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .stellar-gallery-card{padding:5px}
 .stellar-gallery-card .gallery-card-art{height:102px}
 .stellar-gallery-card .gallery-card-info strong{font-size:12px}
 .stellar-gallery-card .gallery-card-info span{font-size:9px}
 .stellar-gallery-tabs{gap:5px;padding-bottom:10px}
 .stellar-gallery-tabs .gallery-tab{font-size:10px;padding:8px}
 .stellar-modal-art>.stellar-picture{height:200px}
 .gallery-large-picture>.stellar-picture{height:clamp(200px,37vh,350px)}
}
