
/* ===== V4.29 Stable: focused mobile polish, hero intentionally untouched ===== */

/* Replace only the contaminated card artwork. */
#world.active .v349-card.quest .v349-art{
  background-image:url("assets/v7195-base64/339aefdcaf6d14c723b1.webp")!important;
}
#world.active .v349-card.dungeon .v349-art{
  background-image:url("assets/v7195-base64/c3026185b4833d81b5e9.webp")!important;
}
#world.active .v349-card.grow .v349-art{
  background-image:url("assets/v7195-base64/1fc51cb69f42f04daecd.webp")!important;
}
#world.active .v349-feature.boss .v349-feature-art{
  background-image:url("assets/v7195-base64/28e44aa3276038ef0872.webp")!important;
}
#world.active .v349-feature.book .v349-feature-art{
  background-image:url("assets/v7195-base64/145298215b1b7ed53710.webp")!important;
}

/* Compact cards: less empty black space on phones. */
@media(max-width:599px){
  #world.active .v349-primary{
    align-items:stretch!important;
    gap:5px!important;
  }
  #world.active .v349-card{
    min-height:0!important;
    height:auto!important;
    display:flex!important;
    flex-direction:column!important;
  }
  #world.active .v349-art{
    height:88px!important;
    flex:0 0 88px!important;
    background-position:center 58%!important;
  }
  #world.active .v349-cardbody{
    margin:0!important;
    padding:7px 5px 7px!important;
    display:flex!important;
    flex:1!important;
    flex-direction:column!important;
  }
  #world.active .v349-card h2{
    margin:0 0 3px!important;
    font-size:11px!important;
    line-height:1.1!important;
  }
  #world.active .v349-card p{
    min-height:19px!important;
    margin:2px 0 4px!important;
    font-size:6.2px!important;
    line-height:1.3!important;
  }
  #world.active .v349-status{
    min-height:26px!important;
    margin-top:auto!important;
    font-size:7px!important;
    line-height:1.2!important;
  }
  #world.active .v349-card .v349-btn{
    min-height:30px!important;
    margin-top:3px!important;
  }

  /* Lower row: titles must stay inside their cards. */
  #world.active .v349-lower{
    align-items:stretch!important;
    gap:5px!important;
  }
  #world.active .v349-panel{
    min-height:0!important;
    height:auto!important;
  }
  #world.active .v349-feature{
    padding-top:0!important;
  }
  #world.active .v349-feature-art{
    height:84px!important;
    flex:0 0 84px!important;
    background-position:center 54%!important;
  }
  #world.active .v349-feature h2{
    position:relative!important;
    margin:0!important;
    padding:6px 4px 2px!important;
    font-size:9px!important;
    line-height:1.12!important;
    white-space:normal!important;
  }
  #world.active .v349-feature p{
    margin:2px 4px!important;
    min-height:20px!important;
    font-size:6px!important;
    line-height:1.25!important;
  }
  #world.active .v349-feature .v349-status{
    min-height:22px!important;
    margin:0 4px!important;
  }
  #world.active .v349-feature .v349-btn{
    margin:4px 5px 7px!important;
    min-height:29px!important;
  }

  /* Tagesziele also become denser. */
  #world.active .v349-goals-title{
    padding:8px 7px 4px!important;
  }
  #world.active .v349-goals{
    gap:5px!important;
    padding:4px 6px 7px!important;
  }
  #world.active .v349-goal{
    grid-template-columns:18px 1fr!important;
    gap:4px!important;
    padding-bottom:4px!important;
  }
  #world.active .v349-goal i{font-size:13px!important}
  #world.active .v349-goal b,
  #world.active .v349-goal span{font-size:5.7px!important}

  /* One clean single-row dock. Never wrap. */
  #world.active .v349-dock{
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    grid-auto-flow:column!important;
    overflow:hidden!important;
    gap:0!important;
  }
  #world.active .v349-dock > button{
    min-width:0!important;
    width:auto!important;
    padding:3px 0!important;
    font-size:5.2px!important;
    overflow:hidden!important;
  }
  #world.active .v349-dock > button .ico{
    font-size:17px!important;
  }

  /* Footer should finish soon after the dashboard, not create a huge empty block. */
  #v337LegalFooter{
    margin:14px 8px 4px!important;
    padding:12px 8px!important;
    min-height:0!important;
    line-height:1.45!important;
    font-size:8px!important;
  }
}

/* Harz Dealer belongs in the hamburger dropdown, not in the bottom world dock. */
#world .v349-dock [data-v341-harz-menu],
#world .v349-dock [data-v337-harz-dealer]{
  display:none!important;
}
