
/* Remove the old quest introduction completely. */
#quests > .hero-card{display:none!important}

/* The old black-board card stays alive only as a hidden render/handler host. */
#quests .v387-legacy-board{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#quests .v387-legacy-board > .section-title,
#quests .v387-legacy-board > #questList,
#quests .v387-legacy-board > #refreshQuests{
  display:none!important;
}

/* One compact quest giver header, no fake placeholder portrait. */
#quests .v386-mira{
  min-height:0!important;
  padding:15px!important;
  border-radius:16px!important;
}
#quests .v386-mira::before{opacity:.75}
#quests .v386-mira-art{display:none!important}
#quests .v386-mira-copy{
  margin-left:0!important;
  text-align:left;
}
#quests .v386-kicker{
  font-size:7.5px!important;
  line-height:1.3;
}
#quests .v386-mira-name{
  margin:4px 0 7px!important;
  font-size:22px!important;
}
#quests .v386-bubble{
  max-width:none!important;
  padding:10px 12px!important;
  font-size:10.5px!important;
  line-height:1.4!important;
}
#quests .v386-tabs{
  margin-top:10px!important;
  gap:6px!important;
}
#quests .v386-tab{
  padding:8px 5px!important;
  font-size:8px!important;
  line-height:1.2!important;
}
#quests .v386-tab small{
  font-size:6.5px!important;
}

/* Quest list starts immediately below Mira. */
#quests .v386-shell{gap:12px!important}
#quests .v386-list{gap:12px!important}

/* Scenes stay readable without wasting vertical space. */
#quests .v386-scene{
  min-height:142px!important;
  padding:13px!important;
}
#quests .v386-title{
  font-size:18px!important;
  max-width:100%!important;
}
#quests .v386-desc{
  max-width:100%!important;
  font-size:10px!important;
}

/* Cleaner rewards / metadata for narrow phones. */
#quests .v386-card-body{
  padding:11px!important;
  gap:9px!important;
}
#quests .v386-box{
  padding:8px 5px!important;
}
#quests .v386-box b{
  font-size:10.5px!important;
  overflow:hidden;
  text-overflow:ellipsis;
}
#quests .v386-start{
  min-height:50px!important;
  font-size:15px!important;
}

/* Keep "new quests" functionality, but in our new design. */
#quests .v387-refresh{
  width:100%;
  min-height:43px;
  border:1px solid #385440;
  border-radius:13px;
  background:#0b150d;
  color:#cbd7cc;
  font-size:9px;
  font-weight:900;
}
#quests .v387-refresh:active{transform:translateY(1px)}

@media(max-width:390px){
  #quests .v386-meta,
  #quests .v386-rewards{
    gap:5px!important;
  }
  #quests .v386-box b{font-size:9.5px!important}
  #quests .v386-box span{font-size:6.3px!important}
  #quests .v386-start{font-size:14px!important}
}
