/* NEXUS Word beta — short-screen and laptop first-visit hotfix.
   Fix documented by user video: header collision, obscured hero, and overlapping input.
   Affects presentation only. Existing handlers, auth, credits and admin roles untouched. */
@media (min-width:821px) and (max-width:1540px){
  .top{gap:8px;padding:10px 14px;min-width:0}
  .mode-shell{min-width:0;max-width:100%;flex:0 1 auto}
  .mode-hint{display:none}
  .account{min-width:0;gap:6px;flex:0 0 auto}
  .account #topNewChat,.account #topJobsBtn,.account #topBuyCredits{display:none!important}
  .account button{white-space:nowrap}
}
@media (min-width:821px) and (max-width:1050px){
  .mode-switch button{padding:8px 8px;font-size:11px}
  .top{padding:9px 10px}
  .account #notificationBtn{padding:8px}
}
@media (max-height:850px){
  .intro{min-height:0!important}
  .aether-hero{min-height:0!important}
}
.main:has(#intro:not([style*="display: none"])) .composer-wrap{
  position:relative;flex:0 0 auto;left:auto;right:auto;bottom:auto;
  width:100%;padding:10px 18px max(11px,env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(7,11,21,0),rgba(7,11,21,.9));
}
.main:has(#intro:not([style*="display: none"])) .stage{
  padding-bottom:24px;scroll-padding-bottom:18px;min-height:0;
}
.main:has(#intro:not([style*="display: none"])) .intro{
  padding-top:20px;padding-bottom:25px;margin:0;
}
.main:has(#intro:not([style*="display: none"])) .aether-hero{
  min-height:0;align-items:center;
}
.main:has(#intro:not([style*="display: none"])) .composer{
  box-shadow:0 8px 28px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.06)
}
@media(max-width:820px){
 .main:has(#intro:not([style*="display: none"])) .composer-wrap{
   padding:8px 10px max(9px,env(safe-area-inset-bottom));
 }
 .main:has(#intro:not([style*="display: none"])) .stage{padding-bottom:16px}
 .intro .aether-showcase{margin-top:15px}
}
@media(max-width:560px){
 .aether-window{max-width:100%}
 .aether-section-heading{margin-top:19px}
 .main:has(#intro:not([style*="display: none"])) .intro{padding-top:21px}
}
