/* Компактная панель зарядов: утверждённый макет charges_battle_b.html. */
.battle-emblems { position: relative; display: block; width: 294px; max-width: 100%; box-sizing: border-box;
    margin: 0 auto; border: 1px solid; border-color: #fff #666 #666 #fff; background: #c5ced5;
    font-family: Arial, sans-serif; font-size: 12px; color: #354451; text-align: left; line-height: normal; }
.battle-emblems-head { position: relative; display: flex; align-items: center; justify-content: flex-end;
    width: calc(100% + 12px); height: 15px; margin: -1px -6px 0; padding: 0 5px; box-sizing: border-box;
    background: url('/assets/i/battle/battle_position.png') center / 100% 15px no-repeat; }
.battle-emblems-title { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 100px; height: 15px;
    background: url('/assets/i/battle/battle_position.png') -8px 0 / 304px 15px no-repeat;
    color: #fff; font-size: 12px; font-weight: bold; line-height: 15px; letter-spacing: 1px; text-align: center;
    text-shadow: -1px -1px 0 #59636a, 1px -1px 0 #59636a, -1px 1px 0 #59636a, 1px 1px 0 #59636a; }
.battle-emblems-mode { position: relative; display: flex; align-items: center; gap: 3px; flex: none;
    font-size: 9px; line-height: 15px; color: #e2e8ed; }
.battle-emblems-mode a { color: #e2e8ed; font-weight: normal; text-decoration: underline; }
.battle-emblems-mode a[aria-current="true"] { color: #fff; font-weight: bold; text-decoration: none; }
.battle-emblems-list { display: flex; margin: 0; padding: 0; list-style: none; }
.battle-emblem-cell { flex: 1 1 0; min-width: 0; box-sizing: border-box; padding: 2px 5px 3px; }
.battle-emblem-cell + .battle-emblem-cell { border-left: 1px solid #a7b3bd; }
.battle-emblem-row { display: flex; align-items: center; gap: 3px; height: 18px; }
.battle-emblem-icon { flex: none; display: block; width: 14px; height: 14px; }
.battle-emblem-name { flex: 1 1 auto; min-width: 0; font-size: 11px; line-height: 14px; white-space: nowrap; }
.battle-emblem-stock { display: flex; align-items: center; justify-content: flex-end; flex: none; min-width: 22px; height: 18px; }
.battle-emblem-available { font-size: 16px; line-height: 18px; font-variant-numeric: tabular-nums; }
.battle-emblems .style-int { color: #bb5500; }
.battle-emblems .style-lovk { color: darkcyan; }
.battle-emblem-use.button-b { --s: .25; display: none; }
.battle-emblems-manual .battle-emblem-use { display: inline-block; }
.battle-emblems-manual .battle-emblem-stock > .battle-emblem-available { display: none; }
.battle-emblem-meta { display: flex; align-items: center; gap: 3px; margin-top: 2px; font-size: 9px; line-height: 10px; color: #4a5b69; }
.battle-emblem-meta span { white-space: nowrap; }
.battle-emblem-meta b { font-variant-numeric: tabular-nums; }
.battle-emblem-progress { flex: 1 1 auto; min-width: 16px; height: 4px; background: #ececec; overflow: hidden; }
.battle-emblem-progress i { display: block; height: 100%; background: #89a66c; }
.battle-emblem-earned { margin-left: 3px; }
.battle-emblem-zero .battle-emblem-available { color: #677886; }
.battle-emblem-zero .battle-emblem-icon { opacity: .55; }
.battle-emblem-limit { flex: 1; font-size: 9px; }
.battle-emblem-selected { background-color: #dce5eb; }
.battle-emblems:not(.battle-emblems-manual) .battle-emblem-active,
.battle-emblems-manual .battle-emblem-selected,
.battle-emblems-manual .battle-emblem-ready {
    background-image: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.42) 50%, transparent 65%);
    background-size: 300% 100%; background-repeat: no-repeat; animation: battle-emblem-shimmer 3s ease-in-out infinite; }
@keyframes battle-emblem-shimmer { 0%,10% { background-position: 100% 0; } 85%,100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
    .battle-emblems .battle-emblem-cell { animation: none !important; background-position: 50% 0; }
}
.battle-emblems-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
