
html,body{background-color:#000;margin:0;padding:0;position:relative;font-family:"Arial";width:100%;touch-action:none;} #game{position:absolute;left:0;top:0;z-index:0;} #ajaxbar{background:url('media/graphics/loading/ajax-loader.gif') center no-repeat;} #canvas{position:absolute;left:0;top:0;width:100%;height:100%;-ms-interpolation-mode:nearest-neighbor;-webkit-transform:scale3d(1,1,1);z-index:1;} #orientate{position:absolute;float:left;width:100%;height:100%;top:0;left:0;z-index:10002;display:none;} #orientate img{position:absolute;float:left;width:100%;height:100%;} .play{position:absolute;float:left;width:100%;height:100%;z-index:1000;background-color:#fff;left:0;top:0;display:none;} .play img{position:absolute;float:left;width:100%;height:100%;z-index:1000;left:0;top:0;} #nohtml5{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:1002;visibility:hidden;} #nohtml5 img{position:absolute;width:100%;height:100%;} #nohtml5-bubble{position:absolute;bottom:20px;left:50px;width:380px;height:100px;z-index:1002;color:#000;background:rgba(255,255,255,0.75);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;} #nohtml5-text{padding:10px;} .horizontal-seperator{height:10px;width:100%;} @font-face{font-family:'porkys';src:url('media/fonts/porkys.eot');src:url('media/fonts/porkys.eot?#iefix') format('embedded-opentype'),url('media/fonts/porkys.woff2') format('woff2'),url('media/fonts/porkys.woff') format('woff'),url('media/fonts/porkys.ttf') format('truetype'),url('media/fonts/porkys.svg#svgFontName') format('svg');} #MobileAdInGamePreroll,#MobileAdInGamePreroll2,#MobileAdInGamePreroll3{position:absolute;float:left;min-width:320px;z-index:10000;left:0;top:0;display:none;background:rgba(0,0,0,0.7);-webkit-transition:all 0.6s ease;-moz-transition:all 0.6s ease;-o-transition:all 0.6s ease;} #MobileAdInGamePreroll-Box,#MobileAdInGamePreroll2-Box,#MobileAdInGamePreroll3-Box{z-index:10000;position:absolute;width:302px;height:250px;} #MobileAdInGamePreroll-Box-Body,#MobileAdInGamePreroll2-Box-Body,#MobileAdInGamePreroll3-Box-Body{z-index:10000;position:relative;background:transparent;} #MobileAdInGamePreroll-Box-Footer,#MobileAdInGamePreroll2-Box-Footer,#MobileAdInGamePreroll3-Box-Footer{z-index:10000;position:relative;font-size:11px;height:20px;color:#fff;background:transparent;} #MobileAdInGamePreroll-Box-Header,#MobileAdInGamePreroll2-Box-Header,#MobileAdInGamePreroll3-Box-Header{z-index:10000;position:relative;margin-top:-2px;font-size:11px;height:20px;text-align:right;color:#fff;background:transparent;} #MobileAdInGamePreroll-Box-Close,#MobileAdInGamePreroll2-Box-Close,#MobileAdInGamePreroll3-Box-Close{position:absolute;z-index:10005;background-image:url('media/graphics/generic-ad/light/close-button.png');background-repeat:no-repeat;width:22px;height:22px;top:-4px;margin-right:-1px;display:none;} #MobileAdInGameHeader,#MobileAdInGameHeader2,#MobileAdInGameHeader3{display:none;position:absolute;background:transparent;}#MobileAdInGameFooter,#MobileAdInGameFooter2,#MobileAdInGameFooter3{display:none;position:absolute;background:transparent;}#MobileAdInGameEnd,#MobileAdInGameEnd2,#MobileAdInGameEnd3{position:absolute;float:left;min-width:320px;z-index:10000;left:0;top:0;display:none;background:rgba(0,0,0,0.7);-webkit-transition:all 0.6s ease;-moz-transition:all 0.6s ease;-o-transition:all 0.6s ease;} #MobileAdInGameEnd-Box,#MobileAdInGameEnd2-Box,#MobileAdInGameEnd3-Box{z-index:10000;position:absolute;width:302px;height:250px;} #MobileAdInGameEnd-Box-Body,#MobileAdInGameEnd2-Box-Body,#MobileAdInGameEnd3-Box-Body{z-index:10000;position:relative;background:transparent;} #MobileAdInGameEnd-Box-Footer,#MobileAdInGameEnd2-Box-Footer,#MobileAdInGameEnd3-Box-Footer{z-index:10000;position:relative;font-size:11px;height:20px;color:#fff;background:transparent;} #MobileAdInGameEnd-Box-Header,#MobileAdInGameEnd2-Box-Header,#MobileAdInGameEnd3-Box-Header{z-index:10000;position:relative;margin-top:-2px;font-size:11px;height:20px;text-align:right;color:#fff;background:transparent;} #MobileAdInGameEnd-Box-Close,#MobileAdInGameEnd2-Box-Close,#MobileAdInGameEnd3-Box-Close{position:absolute;z-index:10005;background-image:url('media/graphics/generic-ad/light/close-button.png');background-repeat:no-repeat;width:22px;height:22px;top:-4px;margin-right:-1px;display:none;} .ig_debug{position:fixed;left:0;bottom:0;width:100%;background-color:#000;border-top:2px solid #f57401;font-size:12px;color:#fff;z-index:1000;-webkit-user-select:none;display:none;} .ig_debug_panel_menu{height:28px;background:#222;background:-webkit-gradient(linear,left bottom,left top,color-stop(0,#000000),color-stop(1,#333));background:-moz-linear-gradient(center bottom,#000000 0%,#333 100%);background:-o-linear-gradient(#333,#000000);} .ig_debug_panel_menu div{float:left;height:22px;padding:6px 8px 0 8px;border-right:1px solid #333;} .ig_debug_panel_menu .ig_debug_head{font-weight:bold;color:#888;} .ig_debug_menu_item:hover{cursor:pointer;background-color:#fff;color:#000;} .ig_debug_menu_item.active,.ig_debug_menu_item.active:hover{background-color:#000;color:#fff;} .ig_debug_stats{position:absolute;right:0;top:0;float:right;color:#888;border-left:1px solid #333;text-align:right;} .ig_debug_stats span{width:3em;display:inline-block;color:#fff !important;margin-right:0.2em;margin-left:0.3em;font-family:bitstream vera sans mono,courier new;white-space:nowrap;} .ig_debug_panel{height:152px;overflow:auto;position:relative;} .ig_debug_panel canvas{border-bottom:1px solid #444;} .ig_debug_panel .ig_debug_panel{padding:8px;height:auto;float:left;background-color:#000;border-right:2px solid #222;} .ig_debug_option{padding:2px 0 2px 8px;cursor:pointer;} .ig_debug_option:first-child{margin-top:8px;} .ig_debug_option:hover{background-color:#111;} .ig_debug_graph_mark{position:absolute;color:#888;left:4px;font-size:10px;margin-top:-12px;} .ig_debug_legend{color:#ccc;} .ig_debug_label_mark{display:inline-block;width:10px;height:10px;margin-right:4px;-webkit-transition:0.1s linear;-moz-transition:0.1s linear;} .ig_debug_legend_color{display:inline-block;width:6px;height:10px;margin-right:4px;margin-left:16px;} .ig_debug_legend_number{width:3em;display:inline-block;text-align:right;font-family:bitstream vera sans mono,courier new;color:#fff;margin-right:0.2em;} .ig_debug_map_container{position:relative;overflow:hidden;border:1px solid #888;} .ig_debug_map_container canvas{position:absolute;} .ig_debug_map_screen{position:absolute;border:1px solid #f0f;} 

/* ——— VIRUS AVCISI HUD & LEADERBOARD STYLES ——— */
.vhud-topbar {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.vhud-topbar > * {
  pointer-events: auto;
}

.vhud-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  user-select: none;
}

.vhud-back-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  color: #fff;
}

.vhud-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  user-select: none;
}

.vhud-avatar {
  font-size: 16px;
  line-height: 1;
}

.vhud-user-name {
  font-weight: 600;
  color: #f1f5f9;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vhud-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(129, 140, 248, 0.4);
  font-size: 12px;
  font-weight: 500;
  color: #c7d2fe;
}

.vhud-score-pill b {
  font-weight: 700;
  color: #fff;
}

.vhud-login-btn {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  margin-left: 2px;
}

.vhud-login-btn:hover {
  filter: brightness(1.15);
  transform: scale(1.04);
}

.vhud-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  user-select: none;
}

.vhud-lb-toggle-btn {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(202, 138, 4, 0.35));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #fef08a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.vhud-lb-toggle-btn:hover {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.4), rgba(202, 138, 4, 0.5));
  border-color: rgba(250, 204, 21, 0.6);
  transform: translateY(-1px);
}

/* Sidebar for desktop */
.vhud-sidebar {
  display: none;
  position: fixed;
  right: 24px;
  top: 72px;
  width: 290px;
  z-index: 10005;
  pointer-events: auto;
}

@media (min-width: 1120px) {
  .vhud-sidebar {
    display: block;
  }
}

.vhud-sidebar-card {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  color: #fff;
}

.vhud-sidebar-header,
.vhud-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.vhud-sidebar-title,
.vhud-modal-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fef08a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vhud-sidebar-body,
.vhud-modal-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.vhud-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}

.vhud-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.vhud-item--current {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(129, 140, 248, 0.4);
}

.vhud-item-rank {
  font-size: 15px;
  font-weight: 700;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.vhud-item-avatar {
  font-size: 18px;
  flex-shrink: 0;
}

.vhud-item-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vhud-item-score {
  font-size: 13px;
  font-weight: 800;
  color: #38bdf8;
  flex-shrink: 0;
}

.vhud-empty {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  padding: 16px 8px;
}

.vhud-sidebar-footer,
.vhud-modal-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.vhud-sidebar-footer small,
.vhud-modal-footer small {
  color: #94a3b8;
  font-size: 11px;
}

/* Modal Drawer for Mobile */
.vhud-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vhud-modal.vhud-modal--open {
  display: flex;
}

.vhud-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.vhud-modal-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75);
  color: #fff;
  animation: vhudFadeUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes vhudFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.vhud-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #e2e8f0;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
}

.vhud-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Toast */
.vhud-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 10030;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 22px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  white-space: nowrap;
  max-width: 90vw;
  text-overflow: ellipsis;
  overflow: hidden;
}

.vhud-toast--show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.vhud-toast--success {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(6, 78, 59, 0.95);
  color: #bbf7d0;
}

@media (max-width: 600px) {
  .vhud-topbar {
    top: 8px;
    left: 8px;
    right: 8px;
  }
  .vhud-back-text {
    display: none;
  }
  .vhud-back-btn {
    padding: 8px 10px;
  }
  .vhud-user-badge {
    padding: 5px 10px;
    font-size: 12px;
  }
  .vhud-user-name {
    max-width: 80px;
  }
}