/* Battle Pass window (js/battlepass.js), Tanki Online 2019 "Challenges" look with its own art (ui/battlepass/to/) */
.toast { white-space: pre-line; text-align: center; }
.bp-win > .lbl, .bp-win > .b3 { position: absolute; }
.bp-win img { pointer-events: none; }

/* tier plate: green screen in a metal frame, the tier 42 px bold, "Tier" 15 px, both #59FF32 */
.bp-plate { background: url(../ui/battlepass/to/tier_plate.png) no-repeat; }
.bp-platenum { left: 0; right: 0; top: 2px; text-align: center; color: #59ff32; font: 700 42px/44px 'MyriadPro', Tahoma, sans-serif; text-shadow: 0 0 6px rgba(89, 255, 50, .45); }
.bp-platetxt { left: 0; right: 0; top: 45px; text-align: center; color: #59ff32; font: 15px/16px 'MyriadPro', Tahoma, sans-serif; }

/* stars bar: the 585 x 24 background / fill stretched to the width, the fill cut to the progress */
.bp-starbar { background: url(../ui/battlepass/to/bar_bg.png) 0 0 / 100% 100% no-repeat; overflow: hidden; border-radius: 3px; }
.bp-starfill { left: 0; top: 0; bottom: 0; width: 0; background: url(../ui/battlepass/to/bar_fill.png) 0 0 / auto 100% repeat-x; transition: width .4s; }
.bp-barstar { left: 8px; top: 6px; width: 13px; height: 12px; }
.bp-bartxt { left: 26px; right: 8px; top: 4px; color: #fff; font: 700 13px/16px 'MyriadPro', Tahoma, sans-serif; white-space: pre; text-shadow: 0 1px 2px #000; }
.bp-timer { background: rgba(0, 0, 0, .45); border: 1px solid #3d6b2a; border-radius: 3px; box-sizing: border-box; }
.bp-timertxt { left: 26px; right: 4px; top: 4px; color: #fff; font: 12px/15px 'MyriadPro', Tahoma, sans-serif; white-space: pre; text-align: center; }

.bp-badge { width: 106px; height: 69px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }

/* the tier track */
.bp-scroll { overflow-x: auto; overflow-y: hidden; }
.bp-scroll::-webkit-scrollbar { height: 8px; }
.bp-scroll::-webkit-scrollbar-thumb { background: #3c7a26; border-radius: 4px; }
.bp-scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, .35); border-radius: 4px; }
.bp-col > .lbl { position: absolute; }
.bp-colbg { left: 0; top: 0; width: 192px; height: 319px; }
.bp-col.locked .bp-colbg { filter: brightness(.55) saturate(.7); }
.bp-blink { animation: bp-blink 1.2s steps(1) infinite; }
@keyframes bp-blink { 50% { color: #05d118; } }
.bp-cell { overflow: hidden; }
.bp-cell > .lbl { position: absolute; }
.bp-cellbg { left: 0; top: 0; width: 100%; height: 100%; }
.bp-cell .lbl.bp-name { white-space: pre-wrap; word-wrap: break-word; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.bp-cell .lbl.bp-count { text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.bp-cell.premium .lbl.bp-name, .bp-cell.premium .lbl.bp-count { text-shadow: 0 1px 2px #6b3d00, 0 0 3px #6b3d00; }
.bp-pic { object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.bp-lock { left: 0; top: 0; width: 100%; height: 100%; }
.bp-check { width: 15px; height: 14px; }
.bp-cell.claimed .bp-pic { opacity: .55; }
.bp-cell.ready { box-shadow: inset 0 0 0 2px #59ff32, inset 0 0 14px rgba(89, 255, 50, .6); border-radius: 6px; animation: bp-ready 1.6s ease-in-out infinite; }
.bp-cell.premium.ready { box-shadow: inset 0 0 0 2px #fff3a0, inset 0 0 14px rgba(255, 210, 60, .8); }
@keyframes bp-ready { 50% { filter: brightness(1.15); } }
.bp-end > .lbl { position: absolute; }
.bp-finish { width: 280px; height: 120px; }
.bp-end:not(.done) .bp-finish { filter: grayscale(.8) brightness(.6); }
.bp-win .lbl.bp-tip { text-overflow: ellipsis; }

/* Battle Pass button in the top panel, next to the Missions star: TO's premium badge (gold star on a red ribbon) */
.sbtn img.bp-topicon { width: 24px; height: 14px; }
