/* Homepage mobile improvements: desktop styles remain untouched. */
.install-app-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px; padding: 10px; background: #e6ffff; border-bottom: 2px solid #7dd;
  color: #064b68; font: 600 14px Arial, sans-serif;
}
.install-app-bar[hidden], #install-help[hidden] { display: none !important; }
.install-app-button {
  border: 1px solid #23729a; border-radius: 6px; padding: 10px 14px;
  color: #fff; background: #156d99; font: bold 14px Arial, sans-serif;
  cursor: pointer;
}
.install-app-button:focus-visible { outline: 3px solid #0a3a54; outline-offset: 2px; }
#install-help { display:block; width:100%; text-align:center; font-size:13px; font-weight:normal; }
@media (max-width: 700px) {
  body { display:block; padding:0; }
  .container { width:100%; max-width:none; min-height:100dvh; border:0; }
  .header { padding:12px 8px; }
  .header img { display:block; width:100%; max-width:100%; height:auto; }
  .main-layout { display:block; min-height:0; }
  .sidebar { width:100%; border-right:0; border-bottom:2px solid #7dd; padding:8px; }
  .nav-menu { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
  .nav-menu li { margin:0; min-width:0; }
  .nav-menu a { padding:10px 4px; font-size:12px; overflow-wrap:anywhere; }
  .content-area { min-width:0; }
  .main-content { min-width:0; padding:12px; }
  .animation-box { min-height:0; padding:8px; }
  .animation-box video { display:block; width:100%; height:auto; max-width:100%; }
  .info-grid { grid-template-columns:1fr; gap:8px; }
  .footer { padding:12px 8px; font-size:12px; }
}
@media (max-width: 365px) {
  .nav-menu { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
