#overlay {z-index:25000;}
#overlay .battle-report-modal {width:min(96vw,570px);max-height:96dvh;overflow:auto;box-sizing:border-box;padding:10px 8px 14px;background:transparent;border:0;box-shadow:none;border-radius:0;}
.battle-report-modal > h2,.battle-report-modal > #score {display:none;}
.battle-report-content {color:white;text-align:center;font-weight:900;text-shadow:0 2px 2px #231022;}
.report-outcome {font-size:20px;margin:0 0 8px;}
.report-banner {position:relative;padding:12px 18px 15px;border-top:5px solid #ffcf50;border-bottom:5px solid #eaa423;box-shadow:inset 5px 0 0 #b16c29,inset -5px 0 0 #b16c29,0 3px 7px #0008;}
.report-banner::before,.report-banner::after {content:'';position:absolute;top:-9px;bottom:-9px;width:12px;border-radius:5px;background:linear-gradient(90deg,#97541f,#ffe673 40%,#d58c22 80%,#7b451c);}
.report-banner::before {left:-3px;}.report-banner::after {right:-3px;}
.report-bot {background:linear-gradient(90deg,#73202d,#942f32 15%,#8d2b31 85%,#591d30);}
.report-player {background:linear-gradient(90deg,#163286,#343bb7 15%,#3037a1 85%,#132c81);}
.report-banner h3 {margin:0 0 10px;font-size:clamp(12px,3.4vw,18px);text-align:right;}
.report-unit {display:grid;grid-template-columns:43px 1fr;align-items:center;gap:12px;margin:6px auto;max-width:400px;text-align:left;}
.report-unit > img {width:41px;height:41px;object-fit:contain;background:linear-gradient(#9d6f73,#2a193a);border:2px solid #fbc448;border-radius:6px;box-shadow:inset 0 0 0 1px #fff1a2,0 2px #5a301e;}
.report-unit-name {display:block;font-size:10px;margin-bottom:3px;}
.report-track {position:relative;height:20px;background:#310b31;border-radius:2px;overflow:hidden;text-align:center;}
.report-track > span {position:absolute;inset:0 auto 0 0;background:linear-gradient(#fff07a 0 15%,#ffcf04 18% 85%,#e4a600 90%);border-radius:2px;}
.report-track b {position:relative;z-index:1;font-size:13px;line-height:20px;color:white;text-shadow:0 1px 2px #361928,1px 0 2px #361928,-1px 0 2px #361928;}
.report-wave {display:flex;align-items:center;gap:10px;margin:10px -5px;font-size:22px;}
.report-wave::before,.report-wave::after {content:'';height:2px;background:#ffc945;flex:1;}
.battle-report-modal #again {margin:16px auto 0;min-width:130px;padding:10px 25px;border:3px solid #70b9f5;border-radius:9px;background:linear-gradient(#2789eb,#2061cd);color:white;font-weight:900;font-size:17px;box-shadow:0 4px #173673;}
@media(max-height:740px) {.report-unit {margin:4px auto;grid-template-columns:34px 1fr;}.report-unit > img {width:32px;height:32px;}.report-banner {padding:8px 16px;}.report-banner h3 {margin-bottom:5px;}.report-unit-name {font-size:9px;}.report-outcome {margin:0 0 4px;}}
