/* STAR EMPIRE v0.6.80 – fully factual planetary battle dossier.
   Shared by battle log cards and reports reached from notifications. */
.battle-v080{
 display:grid;gap:13px;margin:7px 0;padding:13px;
 color:#e8efff;border:1px solid #6986ae;
 border-radius:13px;background:linear-gradient(140deg,#10243b,#1b213c 62%,#1a263b);
 box-shadow:inset 0 1px #a2c5e31a;
 min-width:0;max-width:100%;overflow-wrap:anywhere;
}
.battle-v080>*{min-width:0}
.battle-v080 h3,.battle-v080 h4,.battle-v080 h5,.battle-v080 p{margin:0}
.battle-v080 h4{font-size:14px;color:#dcdeff}
.battle-v080 h5{font-size:12px;color:#bde5f4}
.battle-v080-header{display:flex;gap:12px;align-items:flex-start;
 justify-content:space-between;flex-wrap:wrap;
 border-bottom:1px solid #456281;padding-bottom:10px}
.battle-v080-header small{display:block;color:#99bed4;letter-spacing:.11em;
 font-size:10px;font-weight:750;margin-bottom:5px}
.battle-v080-header h3{font-size:clamp(17px,2vw,24px);color:#fff;
 font-weight:850;line-height:1.25}
.battle-v080-header p{font-size:12px;color:#b8cddd;margin-top:5px}
.battle-v080-result{display:inline-flex;align-items:center;
 font-size:11px;font-weight:850;padding:8px 10px;border-radius:8px;
 border:1px solid #b2a6a3;white-space:normal}
.battle-v080-result.success{background:#183e38;border-color:#6ad2ad;
 color:#b0ffe2}
.battle-v080-result.danger{background:#4e2836;border-color:#eb768e;
 color:#ffd9db}
.battle-v080-parties{display:flex;flex-wrap:wrap;gap:6px 15px;
 padding:4px 0}
.battle-v080-parties p{font-size:12px;color:#bdd7e9}
.battle-v080-parties strong{color:#fff}
.battle-v080-overview,.battle-v080-tactics,.battle-v080-stages,
.battle-v080-effects{display:grid;gap:9px;padding:11px;
 border:1px solid #536b8d;border-radius:9px;background:#11263ded}
.battle-v080-overview>p{font-size:12px;line-height:1.55;color:#cbd8e7}
.battle-v080-tiles{display:grid;
 grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr));gap:6px}
.battle-v080-tiles>div{display:flex;flex-direction:column;gap:4px;
 padding:10px 8px;border:1px solid #50658a;border-radius:8px;
 background:linear-gradient(125deg,#202e52,#192e41)}
.battle-v080-tiles small{font-size:10px;color:#a9c9e3}
.battle-v080-tiles strong{font-size:17px;font-variant-numeric:tabular-nums;
 color:#f2f5ff}
.battle-v080-tiles>div:nth-child(3) strong,
.battle-v080-tiles>div:nth-child(4) strong{color:#ffc1be}
.battle-v080-manifest-grid{display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.battle-v080-side{display:grid;align-content:start;gap:9px;
 background:#162c46;border:1px solid #5a7ba2;border-radius:9px;
 padding:10px;min-width:0}
.battle-v080-side h4{padding-bottom:6px;border-bottom:1px solid #526989}
.battle-v080-side-summaries{display:flex;gap:5px;flex-wrap:wrap}
.battle-v080-side-summaries span{font-size:10px;background:#243e5a;
 border:1px solid #516b8a;border-radius:5px;padding:5px 6px}
.battle-v080-side-summaries strong{color:#fff}
.battle-v080-ships{display:grid;gap:7px}
.battle-v080-ship{display:flex;align-items:center;gap:9px;
 background:#13263b;border:1px solid #405878;border-radius:7px;
 padding:6px;min-width:0}
.battle-v080-ship>img,.battle-v080-ship>svg,.battle-v080-ship>.ship-card-image{
 flex:none;width:62px;height:43px;max-width:62px;
 object-fit:cover;border-radius:5px}
.battle-v080-ship>div{display:grid;gap:4px;min-width:0}
.battle-v080-ship strong{font-size:12px;color:#dceffd}
.battle-v080-ship small{font-size:11px;color:#b7cfe3;line-height:1.45}
.battle-v080-ship em{color:#ffb1b2;font-style:normal;font-weight:800}
.battle-v080-muted{font-size:11px!important;
 color:#abbfd1!important;line-height:1.5!important}
.battle-v080-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.battle-v080-stat{display:grid;gap:3px;padding:8px;
 background:#142f4a;border:1px solid #467295;border-radius:7px}
.battle-v080-stat small{font-size:10px;color:#a7cede}
.battle-v080-stat strong{font-size:13px;color:#fff}
.battle-v080-stat span{font-size:11px;color:#cee0ef}
.battle-v080-tactics>p,.battle-v080-effects>p{font-size:12px;color:#d1dfeb;line-height:1.5}
.battle-v080-stage{display:grid;gap:5px;padding:8px 0;
 border-bottom:1px solid #3b5474}
.battle-v080-stage:last-child{border-bottom:0}
.battle-v080-stage>div:first-child{display:flex;justify-content:space-between;
 gap:8px;flex-wrap:wrap}
.battle-v080-stage strong{font-size:12px}
.battle-v080-stage span,.battle-v080-stage small{font-size:11px;color:#c7d5e7}
.battle-v080-track{height:7px;overflow:hidden;border-radius:5px;
 background:#533e56;border:1px solid #6e5479}
.battle-v080-track>span{display:block;height:100%;
 border-radius:5px;background:linear-gradient(90deg,#61cdd5,#acbdff)}
.battle-v080-rounds{display:grid;gap:8px;padding:12px;
 background:#11263e;border:1px solid #6985a9;border-radius:9px}
.battle-v080-rounds summary{cursor:pointer;color:#d4dbff;
 font-weight:800;font-size:13px;line-height:1.5}
.battle-v080-rounds summary:hover{color:#fff}
.battle-v080-round-list{display:grid;gap:8px;margin-top:8px}
.battle-v080-round{display:grid;gap:8px;padding:10px;
 background:#1b304d;border:1px solid #577ba0;border-radius:8px}
.battle-v080-round>p{font-size:12px;color:#dceaf7;line-height:1.55}
.battle-v080-round-title{display:flex;justify-content:space-between;
 align-items:center;gap:6px;flex-wrap:wrap}
.battle-v080-round-title strong{color:#f2edff;font-size:13px}
.battle-v080-broken{border-radius:5px;border:1px solid #d89081;
 background:#482b3a;color:#ffc9b9;padding:4px 6px;font-size:10px;font-weight:800}
.battle-v080-facts{display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0}
.battle-v080-facts>div{display:grid;gap:3px;background:#132943;
 border:1px solid #416389;border-radius:6px;padding:7px;min-width:0}
.battle-v080-facts dt{color:#add3e6;font-size:10px}
.battle-v080-facts dd{margin:0;color:#ecf8ff;font-size:11px;
 font-weight:750;overflow-wrap:anywhere}
.battle-v080-special{color:#d8c3ff!important}
.battle-v080-milestone{color:#a0f4cc!important;font-weight:750}
.battle-v080-manifest{display:flex;gap:5px;flex-wrap:wrap}
.battle-v080-manifest>span{font-size:11px;background:#243857;
 border:1px solid #537296;border-radius:6px;padding:6px 8px;
 color:#d9e7fa}
.battle-v080-manifest strong{color:#fff}
.battle-v080 .combat-tactical-abilities{margin:0}
#chatModalMount .combat-chat-view .battle-v080{margin:6px 0}
@media(max-width:770px){
 .battle-v080-manifest-grid{grid-template-columns:1fr}
 .battle-v080-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .battle-v080{padding:10px;gap:10px}
}
@media(max-width:425px){
 .battle-v080-header{gap:7px}
 .battle-v080-header h3{font-size:18px}
 .battle-v080-tiles{gap:5px}
 .battle-v080-tiles>div{padding:8px 6px}
 .battle-v080-tiles strong{font-size:14px}
 .battle-v080-overview,.battle-v080-tactics,.battle-v080-stages,
 .battle-v080-effects,.battle-v080-rounds{padding:8px}
 .battle-v080-facts{grid-template-columns:1fr 1fr}
 .battle-v080-ship>img,.battle-v080-ship>svg{width:46px;height:35px}
}

.battle-v080-tiles>div>span{font-size:11px;color:#b7cfe9;line-height:1.5}
