
/* ==========================================================
   EXP EVENT: only ONE clean multiplier hint.
   Old V4.02 badges are blocked in code; hide any already queued
   legacy markers in the event card as a final safeguard.
   ========================================================== */
#world.active .v690-events-card .v095-xp2,
#world.active .v690-events-card .v096-quest-xp2,
#world.active .v690-events-card .v099-xp-event,
#world.active .v690-events-card .v094-event-bonus{
  display:none!important;
}

#world.active .v6115-event-row.purple b{
  color:#bfff86!important;
}
#world.active .v6115-event-row.purple small{
  color:#f0eadb!important;
}
#world.active .v6115-event-row.purple{
  border-color:#735297!important;
  box-shadow:inset 0 0 0 1px rgba(182,93,255,.07)!important;
}

/* ==========================================================
   WORLD BOSS – clean active design
   No giant pseudo-circle, no card scaling.
   ========================================================== */
#world.active .v366-feature.boss.v6115-boss-open::before,
#world.active .v366-feature.boss.v6115-boss-open::after{
  content:none!important;
  display:none!important;
}

@keyframes v6118BossBorderPulse{
  0%,100%{
    border-color:#2fbf57;
    box-shadow:
      0 0 8px rgba(48,220,91,.23),
      inset 0 0 0 1px rgba(112,255,139,.10);
  }
  50%{
    border-color:#70f58c;
    box-shadow:
      0 0 18px rgba(53,229,98,.48),
      inset 0 0 0 1px rgba(155,255,174,.22);
  }
}
@keyframes v6118LiveDot{
  0%,100%{opacity:.45;transform:scale(.82)}
  50%{opacity:1;transform:scale(1.16)}
}

#world.active .v366-feature.boss.v6115-boss-open{
  /* V8.312: a full-card box-shadow/border animation repaints this entire
     tile continuously on Android WebView. Keep the small composited LIVE dot
     animation, but leave the card border static while the event is active. */
  animation:none!important;
  transform:none!important;
  will-change:auto!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 50% 28%,rgba(26,117,49,.13),transparent 42%),
    linear-gradient(180deg,#07110a,#030805)!important;
}

#world.active .v366-feature.boss.v6115-boss-open>h2{
  color:#8cf5a0!important;
  text-shadow:0 1px #000,0 0 8px rgba(94,239,112,.35)!important;
}

#world.active .v6118-boss-art{
  position:relative!important;
  height:99px!important;
  min-height:99px!important;
  border-top:1px solid rgba(101,221,117,.14)!important;
  border-bottom:1px solid #345b35!important;
  background-position:center 34%!important;
  background-size:cover!important;
  filter:saturate(1.18) contrast(1.07) brightness(.92)!important;
  box-shadow:
    inset 0 -20px 24px rgba(2,10,4,.76),
    inset 0 0 22px rgba(43,178,70,.08)!important;
}
#world.active .v6118-boss-art::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,rgba(0,0,0,.04) 0%,rgba(2,10,5,.02) 45%,rgba(2,8,4,.78) 100%)!important;
}

#world.active .v6118-boss-live{
  position:absolute!important;
  z-index:3!important;
  top:6px!important;
  left:7px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  padding:3px 6px!important;
  border:1px solid #61e87b!important;
  border-radius:999px!important;
  background:rgba(4,35,12,.90)!important;
  color:#a9ffb6!important;
  font:950 5px/1 system-ui,sans-serif!important;
  letter-spacing:.05em!important;
  box-shadow:0 2px 8px rgba(0,0,0,.62),0 0 9px rgba(59,226,89,.18)!important;
}
#world.active .v6118-boss-live i{
  width:6px!important;
  height:6px!important;
  border-radius:50%!important;
  background:#55ef72!important;
  box-shadow:0 0 7px #55ef72!important;
  animation:v6118LiveDot 1.05s ease-in-out infinite!important;
}

#world.active .v6118-boss-name{
  min-height:20px!important;
  display:grid!important;
  place-items:center!important;
  padding:4px 3px 2px!important;
  color:#86efa0!important;
  font-size:6.2px!important;
  line-height:1.05!important;
  font-weight:1000!important;
  text-transform:uppercase!important;
  letter-spacing:.03em!important;
}

#world.active .v366-feature.boss.v6115-boss-open .v6115-boss-status{
  min-height:22px!important;
  display:grid!important;
  place-items:center!important;
  padding:2px 4px!important;
  color:#d8e7d5!important;
  font-size:5.4px!important;
  line-height:1.08!important;
  font-weight:850!important;
  animation:none!important;
  text-shadow:none!important;
}

#world.active .v366-feature.boss.v6115-boss-open .v366-go{
  margin-top:3px!important;
  border-color:#4ee36d!important;
  background:linear-gradient(180deg,#2d9d43,#176428)!important;
  color:#fff!important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.18),
    0 0 9px rgba(61,226,91,.20),
    0 2px 5px #000!important;
}

/* Closed state stays quiet and clearly inactive. */
#world.active .v366-feature.boss.v6115-boss-closed .v6118-boss-art{
  filter:grayscale(.35) brightness(.58)!important;
}
#world.active .v366-feature.boss.v6115-boss-closed .v6118-boss-name{
  color:#999f98!important;
}
#world.active .v366-feature.boss.v6115-boss-closed .v6115-boss-status{
  color:#8d928c!important;
}

@media (prefers-reduced-motion: reduce){
  #world.active .v366-feature.boss.v6115-boss-open,
  #world.active .v6118-boss-live i{
    animation:none!important;
  }
}

/* HOME events slot: pictorial event board with active glow. */
#world.active .v690-events-card{
  height:232px!important;
  min-height:232px!important;
  border-color:#8b6630!important;
  background:linear-gradient(180deg,#3a220f,#1d1008)!important;
  overflow:hidden!important;
}
#world.active .v690-events-card>h2{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-height:31px!important;
  margin:0!important;
  color:#f0cb79!important;
}
#world.active .vHome-event-count{
  min-width:15px!important;height:15px!important;padding:0 4px!important;
  display:inline-grid!important;place-items:center!important;
  border:1px solid #a57a38!important;border-radius:999px!important;
  background:#28180c!important;color:#ffd98b!important;
  font:900 6px/1 system-ui,sans-serif!important;font-style:normal!important;
}
#world.active .vHome-events-collage{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:3px!important;
  padding:4px!important;
  min-height:126px!important;
  border-bottom:1px solid rgba(151,108,47,.34)!important;
  background:linear-gradient(180deg,#2a190d,#140b06)!important;
}
#world.active .vHome-event-tile{
  position:relative!important;
  min-width:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:2px!important;
  padding:5px 2px 4px!important;
  border:1px solid #5c4528!important;
  border-radius:7px!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  filter:grayscale(.52) brightness(.52) saturate(.72)!important;
  box-shadow:inset 0 -22px 26px rgba(5,3,2,.78)!important;
}
#world.active .vHome-event-tile::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.10) 45%,rgba(0,0,0,.82) 100%)!important;
}
#world.active .vHome-event-tile.tower{
  background-image:url("assets/world_hero_castle_v691.png")!important;
  background-size:cover!important;
  background-position:center 42%!important;
}
#world.active .vHome-event-tile.xp{background-image:url("assets/v7195-base64/8764f4ec0e55690e78a9.webp")!important}
#world.active .vHome-event-tile.gold{background-image:url("assets/v7195-base64/3571764823579e314f8d.webp")!important}
#world.active .vHome-event-tile.dampf{background-image:url("assets/v7195-base64/264b80b3204ceafccdd4.webp")!important}
#world.active .vHome-event-tile.boss{background-image:url("assets/v7195-base64/39d748bb35fb04aa909c.webp")!important}
#world.active .vHome-event-tile.active{
  filter:grayscale(0) brightness(1.08) saturate(1.25)!important;
  border-color:#e0b55f!important;
  box-shadow:
    inset 0 -22px 26px rgba(5,3,2,.58),
    0 0 10px rgba(244,194,80,.42),
    0 0 18px rgba(103,220,78,.22)!important;
}
#world.active .vHome-event-tile.active::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border:1px solid rgba(181,255,136,.38)!important;
  border-radius:6px!important;
  box-shadow:inset 0 0 16px rgba(112,238,82,.16)!important;
  pointer-events:none!important;
  z-index:1!important;
}
#world.active .vHome-event-tile-icon,
#world.active .vHome-event-tile>b,
#world.active .vHome-event-tile>i{
  position:relative!important;
  z-index:2!important;
}
#world.active .vHome-event-tile-icon{
  font-size:13px!important;
  filter:drop-shadow(0 2px 3px #000)!important;
}
#world.active .vHome-event-tile>b{
  max-width:100%!important;
  overflow:hidden!important;
  color:#efe2bf!important;
  font-size:4.2px!important;
  line-height:1!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
#world.active .vHome-event-tile>i{
  padding:2px 3px!important;
  border-radius:999px!important;
  background:#1c3b17d9!important;
  color:#b9ff9f!important;
  font:950 3.5px/1 system-ui,sans-serif!important;
  font-style:normal!important;
  letter-spacing:.04em!important;
}
#world.active .v6115-events-list{
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  padding:4px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#24160c,#160d07)!important;
}
#world.active .v6115-event-row{
  min-height:25px!important;
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:center!important;
  gap:4px!important;
  padding:3px 4px!important;
  border:1px solid #5c4528!important;
  border-radius:7px!important;
  background:linear-gradient(180deg,#2e1c0f,#191009)!important;
}
#world.active .v6115-event-icon{
  width:20px!important;height:20px!important;
  display:grid!important;place-items:center!important;
  border-radius:6px!important;background:#17100a!important;
  border:1px solid #76552c!important;font-size:11px!important;
}
#world.active .v6115-event-row b{
  display:block!important;margin:0!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#f0d393!important;font-size:5.9px!important;line-height:1.08!important;
}
#world.active .v6115-event-row small{
  display:block!important;margin-top:2px!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#c9c0ad!important;font-size:5.1px!important;line-height:1.08!important;
}
#world.active .v6115-event-row.green{border-color:#4e7742!important}
#world.active .v6115-event-row.purple{border-color:#735297!important}
#world.active .v6115-event-row.gold{border-color:#8f672b!important}
#world.active .v6115-event-row.cyan{border-color:#39797a!important}
#world.active .vHome-event-more{
  min-height:16px!important;
  display:grid!important;place-items:center!important;
  color:#cda85d!important;
  font:900 4.8px/1 system-ui,sans-serif!important;
}
#world.active .v6115-no-events{
  flex:1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  color:#c9b98e!important;
  text-align:center!important;
}
#world.active .v6115-no-events>b{font-size:6px!important;color:#e2c57c!important}
#world.active .v6115-no-events>small{font-size:4.8px!important;color:#9f9686!important}

@media(max-width:390px){
  #world.active .v690-events-card{height:254px!important;min-height:254px!important}
  #world.active .vHome-events-collage{min-height:116px!important;gap:2px!important;padding:3px!important}
  #world.active .vHome-event-tile{padding:4px 1px 3px!important}
  #world.active .vHome-event-tile-icon{font-size:11px!important}
  #world.active .vHome-event-tile>b{font-size:3.8px!important}
}


/* HOME top event strip: full width and horizontal. */
#world.active > .v366-world > .v690-events-card{
  width:100%!important;
  height:auto!important;
  min-height:132px!important;
  display:grid!important;
  grid-template-rows:30px auto auto!important;
  margin:0!important;
  border-radius:12px!important;
}
#world.active > .v366-world > .v690-events-card .vHome-events-collage{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  min-height:58px!important;
  gap:4px!important;
  padding:5px!important;
}
#world.active > .v366-world > .v690-events-card .vHome-event-tile{
  min-height:50px!important;
}
#world.active > .v366-world > .v690-events-card .v6115-events-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:4px!important;
  min-height:32px!important;
}
#world.active > .v366-world > .v690-events-card .vHome-event-more{
  grid-column:1 / -1!important;
}
@media(max-width:430px){
  #world.active > .v366-world > .v690-events-card{
    min-height:126px!important;
  }
  #world.active > .v366-world > .v690-events-card .vHome-events-collage{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    min-height:54px!important;
    gap:2px!important;
    padding:3px!important;
  }
  #world.active > .v366-world > .v690-events-card .vHome-event-tile{
    min-height:48px!important;
    padding:4px 1px 3px!important;
  }
  #world.active > .v366-world > .v690-events-card .vHome-event-tile-icon{font-size:10px!important}
  #world.active > .v366-world > .v690-events-card .vHome-event-tile>b{font-size:3.5px!important}
  #world.active > .v366-world > .v690-events-card .vHome-event-tile>i{font-size:3.1px!important}
  #world.active > .v366-world > .v690-events-card .v6115-events-list{
    grid-template-columns:1fr!important;
  }
}
