/* Flash loading window (js/loader.js) */
/* SPECIAL TANKS loading screen (js/loader.js) */
.stl { position: fixed; inset: 0; z-index: 60; background: #070405 center / cover no-repeat; overflow: hidden; transition: opacity .35s ease; user-select: none; }
.stl[hidden] { display: none; }
.stl.out { opacity: 0; pointer-events: none; }
.stl > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stl.photo { background: #000 center / cover no-repeat; }
/* compact: a small framed window over the lobby (garage / battle list); no transform so the bar's fixed position
   stays relative to the viewport */
.stl.compact { inset: auto; left: calc(50% - 320px); top: calc(50% - 180px); width: 640px; height: 360px;
  border: 2px solid #5a5a5e; border-radius: 6px; box-shadow: 0 0 0 1px #000, 0 10px 40px rgba(0,0,0,.8), 0 0 30px rgba(255,30,20,.25); }
.stl.photo > canvas, .stl.photo .stl-title, .stl.photo .stl-vig { display: none; }
/* (owner 2026-11-25) the loading slideshow: the game's tip pictures (589 x 225, the Flash loader tips) cross-fading every
   2 s in the middle of the Tanki Infinity loading art, above the bar */
.stl-slides { display: none; } /* (owner 2026-11-25) removed: the loading art alone */
.stl-s { position: absolute; left: 50%; top: 73.2%; width: min(360px, 26vh * 589 / 225, 80vw); aspect-ratio: 589 / 225; transform: translate(-50%, -50%);
  background: center / contain no-repeat; opacity: 0; transition: opacity .5s ease; filter: drop-shadow(0 8px 22px rgba(0,0,0,.85)); }
.stl.compact .stl-s { width: 70%; top: 52%; }
.stl-cap { position: absolute; left: 24px; bottom: 18px; color: #fff; font: 700 22px 'PT Sans', Tahoma, sans-serif; letter-spacing: .08em;
  text-transform: uppercase; text-shadow: 0 2px 6px #000; transition: opacity .4s; }
.stl.compact .stl-cap { left: 12px; bottom: 8px; font-size: 15px; }
.stl.photo .stl-bottom { transform: none; left: 0; top: 0; bottom: auto; width: 0; } /* a transform would trap position: fixed */
.stl.photo .stl-load { display: none; } /* the artwork has its own "LOADING..." */
.stl.photo .stl-bar { background: #0c0c0e; border: 1px solid #6d6d72; border-radius: 999px; box-sizing: border-box; overflow: visible; }
.stl.photo .stl-fill { border-radius: 999px; }
.stl-vig { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 45%, rgba(0,0,0,.75) 100%); pointer-events: none; }
.stl-title { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); text-align: center; pointer-events: none;
  font-family: Impact, 'Arial Black', 'Franklin Gothic Heavy', sans-serif; line-height: .9; white-space: nowrap; }
.stl-crown { width: 90px; height: 26px; margin: 0 auto 6px; background: linear-gradient(#e6e6e6, #8a8a8a);
  clip-path: polygon(0 100%, 8% 30%, 28% 70%, 50% 0, 72% 70%, 92% 30%, 100% 100%); filter: drop-shadow(0 0 6px rgba(255,40,30,.6)); }
.stl-a { font-size: clamp(52px, 9vw, 132px); letter-spacing: .04em; transform: skewX(-8deg);
  background: linear-gradient(180deg, #ffffff 0%, #d9d9d9 38%, #7b7b7b 52%, #e8e8e8 70%, #9a9a9a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1.5px #1a1a1a; filter: drop-shadow(0 4px 0 #2a0505) drop-shadow(0 0 18px rgba(255,30,20,.55)); }
.stl-b { font-size: clamp(60px, 11vw, 160px); margin-top: -.08em; letter-spacing: .06em; font-style: italic; transform: skewX(-12deg) rotate(-3deg);
  background: linear-gradient(180deg, #ff5a4a 0%, #e01010 45%, #8a0303 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1.5px #2a0000; filter: drop-shadow(0 0 10px rgba(255,20,10,.9)) drop-shadow(0 0 30px rgba(255,0,0,.55)); }
.stl-bottom { position: absolute; left: 50%; bottom: 9%; width: min(560px, 80vw); transform: translateX(-50%); text-align: center; pointer-events: none; }
.stl-load { color: #e8dcdc; font: 600 16px 'PT Sans', Tahoma, sans-serif; letter-spacing: .55em; margin-bottom: 12px; text-shadow: 0 0 8px rgba(255,40,30,.6); }
.stl-load span { animation: stl-dots 1.2s steps(4) infinite; display: inline-block; width: 2.2em; overflow: hidden; vertical-align: bottom; text-align: left; }
@keyframes stl-dots { from { width: 0; } to { width: 2.2em; } }
.stl-bar { position: relative; height: 12px; border-radius: 6px; background: rgba(20,6,6,.85); border: 1px solid rgba(255,60,50,.35); box-shadow: inset 0 0 8px #000; }
.stl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: linear-gradient(90deg, #7a0303, #e01414 60%, #ff4b3a);
  box-shadow: 0 0 12px rgba(255,30,20,.9), 0 0 26px rgba(255,0,0,.5); }
.stl-glow { position: absolute; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,170,.95) 0, rgba(255,60,40,.6) 30%, rgba(255,0,0,0) 70%); }
.stl-msg { margin-top: 10px; color: #ffb3a8; font: 13px 'PT Sans', Tahoma, sans-serif; min-height: 16px; }

.ldr { position: fixed; left: 251px; top: 191px; width: 608px; height: 281px; z-index: 60; }
.ldr-tip:not([src]) { display: none; }
.ldr[hidden] { display: none; }
.ldr > * { position: absolute; }
.ldr-win { left: 0; top: 0; }
.ldr-tip { left: 8px; top: 9px; width: 589px; height: 225px; }
.ldr-bar { left: 10px; top: 239px; width: 585px; height: 30px; }
.ldr-bar > i { position: absolute; top: 0; height: 30px; }
.ldr-bar .l { left: 0; width: 6px; background: url(../img/loader/bar_l.png); }
.ldr-bar .c { left: 6px; width: 573px; background: url(../img/loader/bar_c.png) repeat-x; }
.ldr-bar .r { left: 579px; width: 6px; background: url(../img/loader/bar_r.png); }
.ldr-bar .line { left: 2px; top: 2px; height: 26px; width: 0; background: url(../img/loader/line.png) 0 0 / 100% 100%; mix-blend-mode: overlay; }
.ldr-bar .blick { left: 2px; top: 2px; height: 26px; width: 0; background: url(../img/loader/blick.png) repeat-x; mix-blend-mode: plus-lighter; opacity: .5; }
.ldr-msg { left: 0; right: 0; top: 290px; text-align: center; color: #b9c2b0; font: 13px MyriadPro, Tahoma, sans-serif; }

/* Supplies bar in battle (js/battle/supplies.js) */
/* InventoryModel: x = stageW/2 - 40*5/2 - 33, y = stageH - 50; hidden until an item with count > 0 arrives */
.sup-panel { position: absolute; left: calc(50% - 133px); top: calc(100% - 50px); visibility: hidden; pointer-events: none; z-index: 5; }
.sup-panel.on { visibility: visible; }
.sup-panel:not(.on) * { visibility: hidden !important; }
.sup-slot { position: absolute; top: 0; width: 40px; height: 40px; }
.sup-in { position: absolute; left: 0; top: 0; width: 40px; height: 40px; } /* normal blend: real Flash shows dark slots (user reference) */
.sup-art, .sup-icons { position: absolute; left: 0; top: 0; width: 40px; height: 40px; }
.sup-art > *, .sup-icons > *, .sup-lock { position: absolute; left: 0; top: 0; }
.sup-ind { width: 40px; height: 40px; display: none; }
.sup-lb { position: absolute; left: 0; top: 0; padding: 2px; color: #fff; }  /* controls.Label: 2 px TextField gutter */
.sup-num { font-size: 10px; }
.sup-qty { filter: var(--glow); }

/* Yellow battle notice (gold box soon / taken): MessageColor.YELLOW */
.h-notice { position: absolute; left: 0; right: 0; top: 40px; text-align: center; font-size: 17px; line-height: 18px; pointer-events: none; }
.h-notice > div { padding: 0 2px; transition: opacity 1s linear; text-shadow: 0 0 2px #2a1800, 0 0 3px #2a1800, 1px 1px 1px rgba(0,0,0,.6); }
.h-notice .n-gold { color: #ffa21a; }
.h-notice .n-good { color: #4be436; }
.h-notice .n-bad { color: #c4e236; }
.h-notice .n-info { color: #f0f0f0; }
.h-notice > .fade { opacity: 0; }

/* Self-destruct indicator (js/battle/selfdestruct.js): BlackRoundRect + skull + LabelBase 16 */
.sd-box { position: fixed; z-index: 6; pointer-events: none; }
.sd-box[hidden] { display: none; }
.sd-box > * { position: absolute; }
.sd-box .c { width: 8px; height: 8px; background: url(../img/hud/black_corner.png); }
.sd-box .tl { left: 0; top: 0; }
.sd-box .tr { right: 0; top: 0; transform: rotate(90deg); }
.sd-box .br { right: 0; bottom: 0; transform: rotate(180deg); }
.sd-box .bl { left: 0; bottom: 0; transform: rotate(270deg); }
.sd-box .f { background: rgba(0, 0, 0, .6); }
.sd-box .m { left: 8px; right: 8px; top: 0; bottom: 0; }
.sd-box .l { left: 0; width: 8px; top: 8px; bottom: 8px; }
.sd-box .r { right: 0; width: 8px; top: 8px; bottom: 8px; }
.sd-box .lb { font-size: 16px; padding: 2px; color: #fff; white-space: pre; }

/* In-battle chat (js/battle/chat.js) */
/* Esc / P window (battle.js pause()) - owner: exactly the Flash dialog ("Leave the battle? ..." Yes / No) */
.pause-screen { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25); pointer-events: auto; }
.pause-screen[hidden] { display: none; }
/* the same Yes / No question outside a battle's own view (app.js askYesNo: the top bar's red X) */
.pause-screen.ask-global { position: fixed; z-index: 10000; }
.pause-screen .ps-box { min-width: 345px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 17px 16px 14px;
  color: #fff; text-align: center; border: 1px solid #8d8d8d; border-radius: 2px;
  background-color: #4b4b4b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .45 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #646464, #484848);
  box-shadow: inset 0 0 0 1px #2c2c2c, 0 2px 10px rgba(0,0,0,.6); }
.pause-screen .ps-msg { font: 700 13px Tahoma, Verdana, sans-serif; text-shadow: 0 1px 1px rgba(0,0,0,.7); white-space: nowrap; margin-bottom: 21px; }
.pause-screen .ps-btns { display: flex; gap: 7px; justify-content: center; }
.pause-screen .ps-btn { width: 93px; height: 24px; line-height: 22px; box-sizing: border-box; cursor: pointer; user-select: none;
  font: 700 12px Tahoma, Verdana, sans-serif; color: #fff; text-shadow: 0 1px 1px #000;
  border: 1px solid #a8a8a8; border-radius: 3px;
  background: linear-gradient(180deg, #6e6e6e 0%, #3e3e3e 48%, #262626 52%, #1c1c1c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.6); }
.pause-screen .ps-btn:hover { background: linear-gradient(180deg, #7c7c7c 0%, #4a4a4a 48%, #303030 52%, #262626 100%); }
.pause-screen .ps-btn:active { background: linear-gradient(180deg, #1c1c1c, #3e3e3e); }
.pause-screen:not(.asking) .ps-yes { display: none; }

/* above the overdrive indicator (78 px icon at bottom 12 + its "N %" label): it used to cover it (owner) */
.bchat { position: absolute; left: 10px; bottom: 128px; width: 420px; max-width: 45vw; pointer-events: none; z-index: 6; }
.bchat > * { position: relative !important; }
/* owner: messages stay, a bit bigger and brighter, with the sender's rank icon */
.bchat-line { color: #ffffff; font: 600 15px/19px MyriadPro, Tahoma, sans-serif; text-shadow: 0 0 2px #000, 0 1px 2px #000, 0 0 4px rgba(0,0,0,.8); padding: 1px 0; word-wrap: break-word; white-space: normal; }
.bchat-rank { height: 13px; width: auto; vertical-align: -1px; margin-right: 4px; filter: drop-shadow(0 0 1px #000); }
.bchat-line.sys { color: #ffef3a; }
.bchat-team { color: #c8c8c8; }
.bchat-in { display: flex; align-items: center; gap: 6px; margin-top: 4px; padding: 3px 6px; background: rgba(0, 0, 0, .6); border: 1px solid rgba(18, 255, 0, .5); border-radius: 2px; pointer-events: auto; }
.bchat-in[hidden] { display: none; }
.bchat-in > * { position: relative !important; }
.bchat-to { color: #12ff00; font-size: 12px; }
.bchat-in input { flex: 1; background: transparent; border: 0; outline: 0; color: #fff; font: 13px MyriadPro, sans-serif; }

/* Team score / control points (js/battle/modes.js) */
.team-score { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); padding: 2px 14px; background: rgba(0, 0, 0, .55); border-radius: 3px; font: 700 22px MyriadPro, sans-serif; text-shadow: 0 0 3px #000; pointer-events: none; }
.team-score > * { position: relative !important; }
.team-score .r { color: #ff5a4d; } .team-score .bl { color: #4da6ff; } .team-score .s { color: #fff; margin: 0 8px; }
.cp-bar { position: absolute; left: 50%; top: 76px; transform: translateX(-50%); display: flex; gap: 4px; pointer-events: none; }
.cp-bar .cp { position: relative !important; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; color: #fff; font: 700 13px MyriadPro, sans-serif; background: rgba(200, 200, 200, .6); }
.cp-bar .cp.red { background: #d9352a; } .cp-bar .cp.blue { background: #2a7bd9; }

/* Shop window (js/shop.js) */
.shop-body { color: #fff; font-size: 12px; }
.shop-body * { position: relative !important; }
.shop-desc { color: #9ad89a; margin: 4px 4px 10px; line-height: 1.35; }
.shop-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-item { width: 160px; height: 110px; padding: 8px; box-sizing: border-box; border: 1px solid rgba(18, 255, 0, .35); border-radius: 3px; background: rgba(0, 0, 0, .3); display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; }
.shop-item.promo { width: 330px; }
.si-title { font-size: 14px; color: #fff; }
.si-sub { color: #12ff00; }
.si-code { width: 90%; background: rgba(0, 0, 0, .5); border: 1px solid #2fc42a; color: #fff; padding: 3px 6px; font: 13px MyriadPro, sans-serif; outline: 0; }
.si-btn { cursor: pointer; padding: 5px 22px; border-radius: 3px; color: #fff; text-shadow: 1px 1px 1px rgba(0, 0, 0, .7); background: linear-gradient(#5bc33c, #2f8a1d); border: 1px solid #1c5c10; }
.si-btn:hover { background: linear-gradient(#6dd64c, #379c22); }
.si-btn:active { transform: translateY(1px); }
.shop-empty { color: #9ad89a; padding: 20px; }

/* Container prizes */
.gar-prizes { color: #fff; overflow-y: auto; }
.gar-prizes * { position: relative !important; }
.gp-title { font-size: 18px; text-align: center; margin: 6px 0 12px; }
.gp-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gp-item { width: 120px; text-align: center; font-size: 12px; color: #12ff00; }
.gp-item img { display: block; width: 110px; height: 80px; object-fit: contain; margin: 0 auto 4px; }
/* (owner 2026-11-26) crystal piles and "100 of All Supplies" 27 % bigger (lootbox.js bigPrize) */
.gp-item.gp-big { width: 140px; }
.gp-item.gp-big img { width: 140px; height: 102px; }

/* Settings applied in battle */
.no-fps .h-fps, .no-dmg .dmg-num, .no-chat .bchat-log { display: none !important; }

/* Shaft sniping sight */
.battle-hud.sniping::before, .battle-hud.sniping::after { content: ''; position: absolute; left: 50%; top: 50%; pointer-events: none; }
.battle-hud.sniping::before { width: 70px; height: 70px; margin: -36px 0 0 -36px; border: 2px solid rgba(255, 80, 40, .85); border-radius: 50%; }
.battle-hud.sniping::after { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #ff5028; border-radius: 50%; box-shadow: 0 0 6px #ff5028; }

/* Damage numbers over tanks */
.dmg-num { position: absolute; color: #ffef3a; font: 700 15px MyriadPro, sans-serif; text-shadow: 0 0 3px #000, 0 0 2px #000; pointer-events: none; transform: translate(-50%, -100%); white-space: nowrap; }
.dmg-num.heal { color: #4dff4d; }
.dmg-num.crit { color: #ff5a2a; font-size: 18px; }

/* Garage screen of the native client (js/garage.js) - OGTanks garage art and numbers (img/ogtanks/garage/) */
/* garage opened from a battle: the left half shows the running battle; a click there returns to it */
.gar-return { position: absolute; cursor: pointer; pointer-events: auto; background: transparent; }
.gar-return:hover { background: rgba(255, 255, 255, 0.04); }
.gar-return > span { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 6px 14px;
  background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(89, 255, 50, 0.5); border-radius: 3px; color: #59ff32;
  font: 14px MyriadPro, Tahoma, sans-serif; white-space: nowrap; pointer-events: none; }
.gar-canvas { overflow: hidden; background: #000 url(../img/loading-bg-nobar.jpg) center / cover no-repeat; }
.gar-canvas canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; cursor: grab; }
/* disabled buttons: DefaultButton has its own Flash "off" art (flash.css), the OGTanks kinds below too */
.b3.off:not(.def):not(.bbb):not(.oggrey):not(.oggold):not(.oggreen):not(.ogcat):not(.ogcatsel) { opacity: .45; filter: grayscale(1); }

/* ---- OGTanks big buttons (H50ButtonSkin: 7 px caps + 201 px middle, 50 high): grey, gold (Speed up), green;
   disabled = the outline skin. Caption 14 px with DropShadow(1, 45, black .7) */
.b3.oggrey > .l { background-image: url(../img/ogtanks/garage/btn/grey50_up_l.png); }
.b3.oggrey > .c { background-image: url(../img/ogtanks/garage/btn/grey50_up_c.png); }
.b3.oggrey > .r { background-image: url(../img/ogtanks/garage/btn/grey50_up_r.png); }
.b3.oggrey:hover > .l { background-image: url(../img/ogtanks/garage/btn/grey50_over_l.png); }
.b3.oggrey:hover > .c { background-image: url(../img/ogtanks/garage/btn/grey50_over_c.png); }
.b3.oggrey:hover > .r { background-image: url(../img/ogtanks/garage/btn/grey50_over_r.png); }
.b3.oggrey:active > .l { background-image: url(../img/ogtanks/garage/btn/grey50_down_l.png); }
.b3.oggrey:active > .c { background-image: url(../img/ogtanks/garage/btn/grey50_down_c.png); }
.b3.oggrey:active > .r { background-image: url(../img/ogtanks/garage/btn/grey50_down_r.png); }
.b3.oggold > .l { background-image: url(../img/ogtanks/garage/btn/gold50_up_l.png); }
.b3.oggold > .c { background-image: url(../img/ogtanks/garage/btn/gold50_up_c.png); }
.b3.oggold > .r { background-image: url(../img/ogtanks/garage/btn/gold50_up_r.png); }
.b3.oggold:hover > .l { background-image: url(../img/ogtanks/garage/btn/gold50_over_l.png); }
.b3.oggold:hover > .c { background-image: url(../img/ogtanks/garage/btn/gold50_over_c.png); }
.b3.oggold:hover > .r { background-image: url(../img/ogtanks/garage/btn/gold50_over_r.png); }
.b3.oggold:active > .l { background-image: url(../img/ogtanks/garage/btn/gold50_down_l.png); }
.b3.oggold:active > .c { background-image: url(../img/ogtanks/garage/btn/gold50_down_c.png); }
.b3.oggold:active > .r { background-image: url(../img/ogtanks/garage/btn/gold50_down_r.png); }
.b3.oggreen > .l { background-image: url(../img/ogtanks/garage/btn/green50_up_l.png); }
.b3.oggreen > .c { background-image: url(../img/ogtanks/garage/btn/green50_up_c.png); }
.b3.oggreen > .r { background-image: url(../img/ogtanks/garage/btn/green50_up_r.png); }
.b3.oggreen:hover > .l { background-image: url(../img/ogtanks/garage/btn/green50_over_l.png); }
.b3.oggreen:hover > .c { background-image: url(../img/ogtanks/garage/btn/green50_over_c.png); }
.b3.oggreen:hover > .r { background-image: url(../img/ogtanks/garage/btn/green50_over_r.png); }
.b3.oggreen:active > .l { background-image: url(../img/ogtanks/garage/btn/green50_down_l.png); }
.b3.oggreen:active > .c { background-image: url(../img/ogtanks/garage/btn/green50_down_c.png); }
.b3.oggreen:active > .r { background-image: url(../img/ogtanks/garage/btn/green50_down_r.png); }
.b3.oggrey.off > .l, .b3.oggold.off > .l, .b3.oggreen.off > .l { background-image: url(../img/ogtanks/garage/btn/off50_up_l.png) !important; }
.b3.oggrey.off > .c, .b3.oggold.off > .c, .b3.oggreen.off > .c { background-image: url(../img/ogtanks/garage/btn/off50_up_c.png) !important; }
.b3.oggrey.off > .r, .b3.oggold.off > .r, .b3.oggreen.off > .r { background-image: url(../img/ogtanks/garage/btn/off50_up_r.png) !important; }
.b3.oggrey > .lbl, .b3.oggold > .lbl, .b3.oggreen > .lbl { top: 0 !important; height: 50px; padding: 0; text-shadow: none; }
.b3 .g-b1, .b3 .g-b2 { position: absolute !important; left: 0; right: 0; text-align: center; white-space: nowrap; color: #fff;
  font: 14px/18px MyriadPro, Tahoma, sans-serif; text-shadow: 1px 1px 1px rgba(0, 0, 0, .7); }
.b3 .g-b2 { font-size: 12px; line-height: 16px; }
.b3.off .g-b1 { color: #d8d8d8; }
/* CrystalLabel: amount + the 9x11 crystal 5 px after it */
.og-cry { display: inline-block; white-space: nowrap; }
.og-cry i { display: inline-block; width: 9px; height: 11px; margin-left: 5px; vertical-align: -1px; background: url(../img/ogtanks/garage/crystal.png) no-repeat; }
.b3 .g-rlock { color: #ff4e00; margin-left: 5px; }
.b3 .g-rkicon { position: relative !important; display: inline-block; width: 12px; height: 12px; vertical-align: -2px; margin-left: 2px; }

/* ---- category buttons (IconButton skin: 7 px caps + middle, 30 high; selected = disabled skin), 20x20 icons at (5,5) */
.b3.ogcat > .l { background-image: url(../img/ogtanks/garage/btn/cat_up_l.png?v=20261125); }
.b3.ogcat > .c { background-image: url(../img/ogtanks/garage/btn/cat_up_c.png?v=20261125); }
.b3.ogcat > .r { background-image: url(../img/ogtanks/garage/btn/cat_up_r.png?v=20261125); }
.b3.ogcat:hover > .l { background-image: url(../img/ogtanks/garage/btn/cat_over_l.png?v=20261125); }
.b3.ogcat:hover > .c { background-image: url(../img/ogtanks/garage/btn/cat_over_c.png?v=20261125); }
.b3.ogcat:hover > .r { background-image: url(../img/ogtanks/garage/btn/cat_over_r.png?v=20261125); }
.b3.ogcat:active > .l { background-image: url(../img/ogtanks/garage/btn/cat_down_l.png?v=20261125); }
.b3.ogcat:active > .c { background-image: url(../img/ogtanks/garage/btn/cat_down_c.png?v=20261125); }
.b3.ogcat:active > .r { background-image: url(../img/ogtanks/garage/btn/cat_down_r.png?v=20261125); }
.b3.ogcatsel { cursor: default; }
.b3.ogcatsel > .l { background-image: url(../img/ogtanks/garage/btn/cat_sel_l.png?v=20261125); }
.b3.ogcatsel > .c { background-image: url(../img/ogtanks/garage/btn/cat_sel_c.png?v=20261125); }
.b3.ogcatsel > .r { background-image: url(../img/ogtanks/garage/btn/cat_sel_r.png?v=20261125); }
.b3.ogcatsel:active > .lbl, .b3.ogcatsel:active > img { transform: none; }
.b3.ogcat > .lbl, .b3.ogcatsel > .lbl { font-size: 12px; color: #fff; }
.gar-tabico { width: 20px; height: 20px; }

/* ---- INFORMATION (ItemInfoPanel) */
.gar-info { color: #fff; font: 12px MyriadPro, Tahoma, sans-serif; line-height: 1.3; }
.gar-info .og-top, .gar-info .og-flow, .gar-info .og-flow * { position: relative !important; }
.gar-info .og-top > * { position: absolute !important; }
.gar-info .og-name { font-size: 18px; line-height: 22px; color: #05d218; white-space: nowrap; padding: 2px; }
.gar-info .og-strip { pointer-events: none; }
.gar-info .og-strip > * { position: absolute !important; top: 0; bottom: 0; background-size: 100% 100%; background-repeat: no-repeat; }
.gar-info .og-strip > i { width: 7px; left: 0; }
.gar-info .og-strip > i.r { left: auto; right: 0; transform: scaleX(-1); }
.gar-info .og-strip > b { left: 7px; right: 7px; }
.gar-info .og-tile { width: 32px; height: 32px; }
.gar-info .og-ico { width: 29px; height: 29px; pointer-events: auto !important; }
.gar-info .og-res { width: 41px; height: 41px; pointer-events: auto !important; }
/* ItemPropertyIcon value: 10 px under the tile (white for items without upgrades) */
.gar-info .og-pval { width: 80px; text-align: center; font-size: 10px; line-height: 13px; color: #fff; white-space: nowrap; }
/* ModInfoRow: 17 px rows, 12 px values centred in their column */
.gar-info .og-val { height: 17px; line-height: 17px; text-align: center; white-space: nowrap; color: #fff; font-size: 12px; }
.gar-info .og-val.cur { font-weight: 600; }
.gar-info .og-cost { text-align: right; }
.gar-info .og-badge { width: 17px; height: 13px; }
.gar-info .og-rk { width: 12px; height: 12px; }
.gar-info .og-dia { width: 9px; height: 11px; }
/* selected row: 4x17 cap + 1x17 middle + mirrored cap */
.gar-info .og-rowsel { height: 17px; pointer-events: none; }
.gar-info .og-rowsel > * { position: absolute !important; top: 0; height: 17px; }
.gar-info .og-rowsel > i { left: 0; width: 4px; background: url(../img/ogtanks/garage/row_sel_cap.png) no-repeat; }
.gar-info .og-rowsel > i:last-child { left: auto; right: 0; transform: scaleX(-1); }
.gar-info .og-rowsel > b { left: 4px; right: 4px; background: url(../img/ogtanks/garage/row_sel_middle.png) repeat-x; }
/* description: preview at x 11, text (12 px #05D218) 5 px after it; without the picture full width at x 9 */
.gar-info .og-descrow { display: flex; gap: 5px; align-items: flex-start; margin: 0 0 9px 11px; }
.gar-info .og-descrow.nopic { margin-left: 9px; }
.gar-info .g-big { flex: 0 0 auto; max-width: 48%; height: auto; }
.gar-info .g-desc { flex: 1; color: #05d218; font-size: 12px; line-height: 15px; padding: 2px; }
.gar-info .g-sec { font-size: 18px; color: #05d218; margin: 4px 0 4px 9px; }
.gar-info .g-desc + .g-sec, .gar-info .og-flow > .g-desc { margin-left: 9px; }
.gar-info .og-flow > .g-box { margin-left: 11px; }

/* NumStepper: TankInput (5/1/5 x 30) + the 20x31 up / down button */
.gar-stepper { position: absolute; }
.gar-stepper input { position: absolute; left: 0; top: 0; width: 55px; height: 30px; border: 0; padding: 0 4px; color: #fff; text-align: center;
  font: 12px MyriadPro, Tahoma, sans-serif; outline: none; box-sizing: border-box;
  background: url(../img/ogtanks/garage/input_l.png) left top no-repeat, url(../img/ogtanks/garage/input_r.png) right top no-repeat,
    url(../img/ogtanks/garage/input_c.png) 5px 0 / calc(100% - 10px) 30px no-repeat; }
.gar-arrows { position: absolute; left: 56px; top: 0; width: 20px; height: 31px; background: url(../img/ogtanks/garage/stepper_up.png) no-repeat; }
.gar-arrows:hover { background-image: url(../img/ogtanks/garage/stepper_over.png); }
.gar-arrows:active { background-image: url(../img/ogtanks/garage/stepper_down.png); }
.gar-arrows i { position: absolute; left: 0; width: 20px; height: 15px; cursor: pointer; }
.gar-arrows i.up { top: 0; } .gar-arrows i.dn { top: 16px; }

/* ---- item strip: green inner, "Search items" TankInput 190 x 30 (#A7A9AC hint, hidden while typing) */
.gar-search { position: absolute; box-sizing: border-box; padding: 0 5px; border: 0; color: #fff; font: 12px MyriadPro, Tahoma, sans-serif; outline: none;
  background: url(../img/ogtanks/garage/input_l.png) left top no-repeat, url(../img/ogtanks/garage/input_r.png) right top no-repeat,
    url(../img/ogtanks/garage/input_c.png) 5px 0 / calc(100% - 10px) 30px no-repeat; }
.gar-search::placeholder { color: #a7a9ac; }
.gar-search:focus::placeholder { color: transparent; }
.gar-cards { overflow-x: auto; overflow-y: hidden; white-space: nowrap; scrollbar-width: none; cursor: grab; }
.gar-cards::-webkit-scrollbar { display: none; }
.gar-cards.dragging { cursor: grabbing; user-select: none; }
.gar-cards.dragging * { pointer-events: none; }
/* GarageList: TileList columnWidth 203 / rowHeight 130, cards are the 200x130 GarageItemBackground bitmaps */
.gar-card { position: relative !important; display: inline-block; vertical-align: top; width: 200px; height: 130px; margin: 0 3px 0 0; cursor: pointer; white-space: normal;
  background: url(../img/ogtanks/garage/card_normal.png) 0 0 no-repeat; }
.gar-card.k-normal.sel { background-image: url(../img/ogtanks/garage/card_normal_sel.png); }
.gar-card.k-installed { background-image: url(../img/ogtanks/garage/card_installed.png); }
.gar-card.k-installed.sel { background-image: url(../img/ogtanks/garage/card_installed_sel.png); }
.gar-card.k-off { background-image: url(../img/ogtanks/garage/card_off.png); }
.gar-card.k-off.sel { background-image: url(../img/ogtanks/garage/card_off_sel.png); }
.gar-card > * { position: absolute; }
.gar-card .gar-pic { top: 18px; }
/* LabelBase 12 px at (3,3); colours: shop 0x59FF32, owned/supplies 0xAAD08A, locked 0xC0C0C0 */
.gar-card .gar-name, .gar-card .gar-price, .gar-card .gar-count { color: #59ff32; font-size: 12px; line-height: 15px; padding: 2px; white-space: nowrap; }
.gar-card.k-installed .gar-name, .gar-card.k-installed .gar-price, .gar-card.k-installed .gar-count { color: #aad08a; }
.gar-card.k-off .gar-name, .gar-card.k-off .gar-price, .gar-card.k-off .gar-count { color: #c0c0c0; }
.gar-card .gar-name { left: 3px; top: 1px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.gar-card .gar-price { right: 17px; top: 1px; }
.gar-card .gar-dia { width: 9px; height: 11px; }
.gar-card .g-mods { width: 36px; height: 7px; }
.gar-card .gar-rank { left: 135px; top: 65px; }
.gar-card .gar-count { left: 15px; top: 98px; font-size: 16px; line-height: 19px; }
.gar-card .gar-mframe { width: 196px; height: 126px; pointer-events: none; }
/* green scroll line under the cards (OGTanks green ScrollTrack: two 1 px #11F400 lines 5 px apart at alpha .29,
   the #12FF00 thumb 2 px between them); garage.js: click / drag it to scroll the list */
.gar-scroll { position: absolute; box-sizing: border-box; cursor: pointer; touch-action: none;
  border-top: 1px solid rgba(17, 244, 0, .29); border-bottom: 1px solid rgba(17, 244, 0, .29); }
.gar-scroll::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }
.gar-scroll i { position: absolute; top: 1px; height: 2px; background: #12ff00; }

/* ---- Upgrade window (SelectUpgradeWindow) */
.og-upg { pointer-events: none; color: #fff; font: 12px MyriadPro, Tahoma, sans-serif; }
.og-upg > * { position: absolute; }
.og-upg .og-tile { width: 32px; height: 32px; }
.og-upg .og-ico { width: 29px; height: 29px; }
.og-upg .og-res { width: 41px; height: 41px; }
.og-upg .og-uname, .og-upg .og-uval, .og-upg .og-udelta { line-height: 18px; margin-top: 5px; white-space: nowrap; padding: 0 2px; }
.og-upg .og-uarrow { width: 49px; height: 18px; }
.og-upg .og-udelta { color: #fff; font-size: 11px; }
.og-upg .og-uprog { height: 50px; }
/* progress: 5 px cap + 1 px middle (48 high) at (1,1), blend alpha .35 */
.og-upg .og-ubar { height: 48px; opacity: .35; }
.og-upg .og-ubar > * { position: absolute; top: 0; height: 48px; }
.og-upg .og-ubar > i { left: 0; width: 5px; background: url(../img/ogtanks/garage/progress_l.png) no-repeat; }
.og-upg .og-ubar > i.r { left: auto; right: 0; transform: scaleX(-1); }
.og-upg .og-ubar > b { left: 5px; background: url(../img/ogtanks/garage/progress_c.png) repeat-x; }
.og-upg .og-uprogtxt { line-height: 18px; padding: 0 2px; white-space: nowrap; }
.og-upg .og-utimer { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.og-upg .og-utimer img { position: relative !important; width: 25px; height: 25px; }
.og-upg .og-utimer b { position: relative; font-weight: normal; }

/* battle chat: a nick can be clicked (vote menu, chat.js voteMenu) */
.bchat .bchat-name { pointer-events: auto; cursor: pointer; }
.bchat .bchat-name:hover { text-decoration: underline; }

/* XT badge on XT item cards (TO-Assets Icons/Skins/XT) */
.gar-xt { position: absolute; width: 32px; height: 32px; pointer-events: none; }


/* the Protection tab's 3-slot panel (garage.js placeSlotPanel, owner 2026-11-26 screenshot of Tanki's garage):
   dark green inner window, green "Protection" title, 3 bright-edged green squares; empty = dotted plate */
.gar-slotpanel { position: absolute; background: #0b2408; border: 1px solid #1f4a14; border-radius: 3px; box-shadow: inset 0 0 0 1px #050f03; }
/* (#stage div / img are absolute by default: the panel's own parts flow - the 3 slots stacked on one spot before) */
.gar-slotpanel .gsp-title, .gar-slotpanel .gsp-row { position: relative !important; }
.gar-slotpanel .gsp-slot { position: relative !important; flex: none; }
.gar-slotpanel .gsp-slot img, .gar-slotpanel .gsp-slot i { position: static !important; display: block; }
.gar-slotpanel .gsp-slot b { position: absolute !important; }
.gar-slotpanel .gsp-title { text-align: center; color: #2ee016; font-size: 19px; line-height: 26px; margin-top: 2px; }
.gar-slotpanel .gsp-row { display: flex; justify-content: center; gap: 12px; }
.gsp-slot { position: relative; width: 92px; height: 92px; box-sizing: border-box; background: #0f6b06; border: 3px solid #59ff32; border-radius: 5px;
  box-shadow: inset 0 0 0 2px #0a4d03; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gsp-slot.empty { cursor: default; }
.gsp-slot.empty i { width: 50px; height: 42px; opacity: .55;
  background: radial-gradient(circle, #0a4503 2.6px, transparent 3px) 0 0 / 10px 10.5px; }
.gsp-slot img { width: 84px; height: 81px; object-fit: contain; }
/* a slotted module: only its weapon symbol on the green slot (owner 2026-11-26), glowing a little */
.gsp-slot img.sym { width: 60px; height: 60px; filter: drop-shadow(0 0 4px rgba(0,0,0,.6)); }
.gsp-slot b { position: absolute; right: -2px; top: -4px; width: 18px; height: 18px; line-height: 16px; text-align: center; font-weight: normal;
  font-size: 15px; color: #fff; background: #7a1d10; border: 1px solid #ff7a52; border-radius: 50%; display: none; }
.gsp-slot:hover b { display: block; }

/* Zero = 3 protection slots (garage.js slotsHtml, owner 2026-11-26) */
.gar-info .g-slots { display: flex; gap: 6px; margin: 2px 11px 8px; }
.g-slot { flex: 1; min-width: 0; padding: 6px 4px; background: rgba(0,0,0,.35); border: 1px solid #3f7a2a; border-radius: 3px; text-align: center; }
.g-slot.empty { border-style: dashed; border-color: rgba(255,255,255,.25); }
.g-slot .g-slotpic { display: block; width: 56px; height: 54px; margin: 0 auto 3px; object-fit: contain; }
.g-slot.empty .g-slotpic { line-height: 54px; font-size: 30px; color: rgba(255,255,255,.35); }
.g-slotname { font-size: 12px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-slotprot { font-size: 11px; color: #9ad27c; min-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-slotbtn { margin-top: 4px; padding: 2px 10px; font: 12px inherit; color: #fff; background: #2c6e19; border: 1px solid #59ff32; border-radius: 3px; cursor: pointer; }
.g-slotbtn.rm { background: #6e2a19; border-color: #ff7a52; }
.g-slotbtn.off { opacity: .4; cursor: default; }
.gar-info .g-slotlist { margin: 2px 11px 8px; }
.g-slotrow { display: flex; align-items: center; gap: 8px; padding: 3px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #fff; }
.g-slotrow img { width: 37px; height: 36px; object-fit: contain; flex: none; }
.g-slotrow span { flex: 1; min-width: 0; }
.g-slotrow small { display: block; color: #9ad27c; font-size: 11px; }
.g-slotrow .g-slotbtn { margin: 0; }
.g-slotnone { font-size: 12px; color: #c0c0c0; padding: 4px; }

/* container "Possible contents" (garage.js renderInfo): rows coloured like the LootBoxCategory lights */
.g-box { margin: 4px 0 6px; padding: 4px 6px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 3px; }
.g-boxrow { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 17px; }
.g-boxrow i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 4px currentColor; flex: none; }
.g-boxrow span { flex: 1; }
.g-boxrow b { font-weight: normal; opacity: .85; }
.lb-common { color: #ffffff; }
.lb-rare { color: #4aa6ff; }
.lb-epic { color: #c45bff; }
.lb-legendary { color: #ffa526; }
.lb-exotic { color: #ff4b3b; }

/* prize names in the 'You received' window keep their rarity colour */
.gp-item span.lb-common { color: #ffffff; } .gp-item span.lb-rare { color: #4aa6ff; } .gp-item span.lb-epic { color: #c45bff; } .gp-item span.lb-legendary { color: #ffa526; } .gp-item span.lb-exotic { color: #ff4b3b; } .gp-item span.lb-uncommon { color: #7dff5a; }


/* Promo code box at the bottom of the shop window (js/promo-box.js, admin-website promo codes 2026-11-24) */
.shop-promo { position: absolute !important; left: 14px; bottom: 13px; right: 125px; height: 28px; display: flex; align-items: center; gap: 8px; color: #fff; font: 12px MyriadPro, sans-serif; z-index: 2; }
.shop-promo * { position: relative !important; }
.shop-promo .sp-label { color: #59ff32; white-space: nowrap; }
.shop-promo .sp-code { width: 150px; height: 24px; box-sizing: border-box; text-transform: uppercase; letter-spacing: 1px; }
.shop-promo .sp-btn { padding: 4px 16px; white-space: nowrap; }
.shop-promo .sp-btn.busy { opacity: .6; pointer-events: none; }
.shop-promo .sp-msg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #ccc; }
.shop-promo .sp-msg.ok { color: #59ff32; }
.shop-promo .sp-msg.bad { color: #ff6b5b; }