/* jellyqda drift & play · css/18-smartphone.css
   Smartphone-Ansicht (unter 680 px): Leiste unten, schmalere Kopfzeile.
   Steht absichtlich am Ende, damit diese Regeln gewinnen.
   Die CSS-Dateien werden in Nummern-Reihenfolge geladen: spätere Regeln gewinnen. */

.bnav { display: none; }
@media (max-width: 680px) {
  nav.tabs { display: none; }
  .top-in { padding-bottom: 8px; }
  .brand { gap: 6px; }
  .brand svg { width: 28px; height: 28px; }
  .iconbtn { width: 34px; height: 34px; border-radius: 9px; }
  .lvl { display: none; }
  .brand b { font-size: 16px; line-height: 1.05; }
  .brand b .q { display: block; font-size: 12.5px; }
  .brand svg.logo { width: 30px; height: 30px; }
  .bnav { display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 4px max(4px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(4px, env(safe-area-inset-left, 0px)); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .bnav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0 4px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 700; border-radius: 10px; }
  .bnav a svg { width: 23px; height: 23px; }
  .bnav a.on { color: var(--accent); background: var(--accent-soft); }
  .bnav .nbadge { position: absolute; top: 1px; right: calc(50% - 22px); min-width: 17px; height: 17px; font-size: 10.5px; }
  main { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); padding-top: 14px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .hero { grid-template-columns: 1fr; gap: 14px; }
  .hero h1 { font-size: 26px; }
  .buddy-tank { width: 100%; height: 210px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis > :last-child:nth-child(odd) { grid-column: span 2; }
  .gtree { max-height: 62vh; min-height: 340px; }
  .gside { position: static; }
  .gscreen { padding: 12px; border-radius: 14px; }
  .subnav { width: 100%; }
  .subnav a { flex: 1; text-align: center; padding: 7px 6px; font-size: 13px; }
  .tank.big { height: 300px; }
  .incubator { grid-template-columns: repeat(2, 1fr); }
  .incu-glass { width: 104px; height: 104px; }
  .jgrid { grid-template-columns: repeat(2, 1fr); }
  .layout-skill aside { order: 2; }
  .sheet { width: 100%; }
}

/* Lernspiele auf dem Handy */
@media (max-width: 680px) {
  .expgrid { grid-template-columns: minmax(0, 1fr); }
  .journey { padding: 64px 24px 12px; }
  .shelf { grid-template-columns: repeat(4, 1fr); }
  .daily { flex-wrap: wrap; }
}
