/* Phase 3.6.3/3.6.4 UI overrides: dedicated Misi, fixed DEV control, immersive login */
.devQuickBtn{border:1px solid #f3c84b;background:#2b2410;color:#ffd95a;font:900 11px/1 system-ui;border-radius:10px;padding:8px 9px;margin-right:7px;letter-spacing:.08em;box-shadow:0 0 0 1px #0005 inset}.devQuickBtn.hidden{display:none}
.devOverlay{position:fixed;inset:0;z-index:300;background:#020712cc;backdrop-filter:blur(8px);display:flex;align-items:flex-end;justify-content:center;padding:16px}.devOverlay.hidden{display:none}.devModal{width:min(100%,620px);max-height:88dvh;overflow:auto;position:relative;border-radius:24px 24px 16px 16px}.devModal .devPanel{margin:0}.devClose{position:absolute;right:12px;top:10px;z-index:2;width:36px;height:36px;border-radius:50%;border:1px solid #405273;background:#101a2d;color:#fff;font-size:25px;line-height:1}.dev-open{overflow:hidden}
.hubQuickGrid{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}.hubQuickCard{border:1px solid #263d61;background:#101c31;color:#fff;border-radius:18px;padding:14px;display:grid;grid-template-columns:44px 1fr 18px;align-items:center;text-align:left;gap:10px;font:inherit}.hubQuickCard b{display:block;font-size:15px}.hubQuickCard small{display:block;color:#95a7c4;margin-top:3px}.hubQuickIcon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#1c3153;color:#ffd95a;font-size:20px}.hubQuickCard.coach{background:linear-gradient(135deg,#18224b,#312064)}.hubQuickCard.mission{background:linear-gradient(135deg,#102849,#12395a)}.hubQuickCard.treasure{background:linear-gradient(135deg,#312310,#463814)}
body[data-screen="missions"] #missions{padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 24px)}
@media(min-width:601px){.hubQuickGrid{grid-template-columns:repeat(3,1fr)}.devOverlay{align-items:center}.devModal{border-radius:24px}}

/* One locked pet scale for every standby/attack asset. Pet stays below hero scale. */
.battlePet{
  left:25%;
  bottom:7%;
  width:auto;
  min-width:0;
  max-width:none;
  height:84px;
  aspect-ratio:1 / 1;
  overflow:visible;
}
.battlePet .battle-pet-frame,
.battlePet img{
  position:absolute;
  left:50%;
  bottom:0;
  width:auto;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:contain;
  object-position:center bottom;
}
@media(min-width:601px){
  .battlePet{left:25%;bottom:7%;height:108px}
}
@media(min-width:1025px){
  .battlePet{left:25%;bottom:7%;height:122px}
}
