/* Overlay launcher: lives only in the Act navigation bar. */
.actbar-inner{width:min(1180px,94vw);margin:auto;display:flex;align-items:stretch;min-width:0}
.actbar-inner .act-tabs{width:auto;margin:0;flex:0 1 auto;min-width:0}
#mandatoryMissionLaunch{position:relative;z-index:1;flex:0 0 118px;align-self:stretch;min-height:40px;display:flex;align-items:center;justify-content:center;gap:8px;margin-left:auto;padding:0 13px 0 11px;border:1px solid #89591b;border-top:0;border-bottom:0;border-radius:0;background:linear-gradient(180deg,#8b5a20 0%,#604018 52%,#4b300f 100%);box-shadow:0 0 18px rgba(199,123,29,.14);color:#f2dfb9;font-weight:800;font-size:11px;letter-spacing:1.1px;cursor:pointer;text-shadow:0 1px 1px rgba(0,0,0,.55);white-space:nowrap}
#mandatoryMissionLaunch:before{content:'NEW';position:absolute;right:3px;top:-8px;padding:2px 5px;border:1px solid #d27b43;border-radius:2px;background:#b6532c;color:#ffe8d5;font-family:Arial,Helvetica,sans-serif;font-size:7px;font-weight:800;line-height:10px;letter-spacing:.7px;box-shadow:0 2px 7px rgba(0,0,0,.35)}
#mandatoryMissionLaunch:hover{filter:brightness(1.13)}
#mandatoryMissionLaunch.is-hidden{display:none}
.pm-launch-icon{display:inline-flex;align-items:center;justify-content:center;width:19px;color:#ead8b5;font-family:Consolas,'Courier New',monospace;font-size:10px;letter-spacing:-2px;transform:rotate(45deg)}
.pm-launch-text{display:inline-block}
@media(max-width:900px){#mandatoryMissionLaunch{flex-basis:106px;margin-left:auto;font-size:10px}}
@media(max-width:640px){.actbar-inner{width:97vw}#mandatoryMissionLaunch{flex-basis:94px;margin-left:auto;padding:0 7px;font-size:9px;letter-spacing:.6px}}


/* SKILL GEMS: đồng bộ 100% kiểu nút OVERLAY */
#pobOverlayLaunch{position:relative;z-index:1;flex:0 0 128px;align-self:stretch;min-height:40px;display:flex;align-items:center;justify-content:center;gap:8px;margin-left:0;padding:0 13px 0 11px;border:1px solid #89591b;border-top:0;border-bottom:0;border-left:0;border-radius:0;background:linear-gradient(180deg,#8b5a20 0%,#604018 52%,#4b300f 100%);box-shadow:0 0 18px rgba(199,123,29,.14);color:#f2dfb9;font-weight:800;font-size:11px;letter-spacing:1.1px;cursor:pointer;text-shadow:0 1px 1px rgba(0,0,0,.55);white-space:nowrap}
#pobOverlayLaunch:before{content:'NEW';position:absolute;right:3px;top:-8px;padding:2px 5px;border:1px solid #d27b43;border-radius:2px;background:#b6532c;color:#ffe8d5;font-family:Arial,Helvetica,sans-serif;font-size:7px;font-weight:800;line-height:10px;letter-spacing:.7px;box-shadow:0 2px 7px rgba(0,0,0,.35)}
#pobOverlayLaunch:hover{filter:brightness(1.13)}
#pobOverlayLaunch .pm-launch-icon{display:inline-flex;align-items:center;justify-content:center;width:19px;color:#ead8b5;font-family:Georgia,serif;font-size:11px;letter-spacing:0;transform:none}
@media(max-width:900px){#pobOverlayLaunch{flex-basis:116px;font-size:10px}}
@media(max-width:640px){#pobOverlayLaunch{flex-basis:104px;padding:0 7px;font-size:9px;letter-spacing:.6px}}


/* ===== LIGHT MODE: Act active + Overlay launcher ===== */
body.light .act-tab.active{
  background:linear-gradient(180deg,#e7dfd3,#d6ccbe) !important;
  color:#65491f !important;
  border-color:#b9aa96 !important;
  box-shadow:inset 0 -3px #b98545 !important;
  text-shadow:none !important;
}

body.light #mandatoryMissionLaunch,
body.light #pobOverlayLaunch{
  border-color:#b9aa96 !important;
  background:linear-gradient(180deg,#f7f1e8 0%,#e9dfd2 55%,#ddd1c2 100%) !important;
  color:#5f4a35 !important;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 2px 7px rgba(77,54,28,.08) !important;
  text-shadow:none !important;
}

body.light #mandatoryMissionLaunch .pm-launch-icon,
body.light #pobOverlayLaunch .pm-launch-icon{
  color:#76562d !important;
}

body.light #mandatoryMissionLaunch:hover,
body.light #pobOverlayLaunch:hover{
  background:linear-gradient(180deg,#fffaf3 0%,#eee3d4 100%) !important;
  color:#7a4d16 !important;
  border-color:#9d7b50 !important;
  filter:none !important;
}


/* Skill Gems now lives inside Overlay only. Hide the old homepage launcher. */
#pobOverlayLaunch{
  display:none !important;
}
