@media (max-width: 600px){
  body{font-size:15px}.ju-topbar{display:grid;gap:14px;padding:16px}.ju-back{width:max-content}.ju-userbox{text-align:left;grid-template-columns:1fr 1fr;gap:8px}.ju-userbox .ghost-btn{grid-column:1 / -1}.ju-shell{width:94vw;margin-top:16px}.panel{border-radius:18px;padding:16px}.hero-panel,.grid.two,.form-grid,.chat-layout{grid-template-columns:1fr}.tabs{position:sticky;top:0;z-index:5;background:rgba(2,7,11,.9);padding:10px 0}.tab{flex:1 1 45%;padding:10px 8px}.cards{grid-template-columns:1fr}.search-row,.message-form{grid-template-columns:1fr}.profile-card .cover{height:120px}.chat-list-panel{order:1}.chat-window-panel{order:2}.messages{min-height:290px;max-height:410px}.msg{max-width:94%}.avatar-picker-row{grid-template-columns:1fr 70px}.avatar-preview{width:70px;height:70px}.about-image-preview{min-height:180px}.card-actions .secondary-btn,.card-actions .primary-btn,.card-actions .danger-btn{flex:1 1 100%}
}
@media (max-width: 600px){
  .random-panel{display:grid}.random-profile-box .cover{height:150px}.random-actions .primary-btn,.random-actions .secondary-btn,.random-actions .danger-btn{flex:1 1 100%}.blocked-item{grid-template-columns:42px 1fr}.blocked-item img{width:42px;height:42px}.blocked-item .secondary-btn{grid-column:1 / -1;width:100%}.ju-footer{display:grid;gap:10px;width:94vw;border-radius:18px}.ju-footer nav{justify-content:flex-start}.notice-card{font-size:.93rem}.notice-summary .badge{flex:1 1 45%;text-align:center}.tabs .tab{font-size:.92rem}
}


.voice-panel { align-items: stretch; flex-direction: column; }
.voice-actions { width: 100%; }
.voice-actions button { flex: 1 1 120px; }
.voice-bubble audio { max-width: 100%; }

@media (max-width: 640px){.ju-userbox{grid-template-columns:42px 1fr;min-width:0;width:100%;text-align:left}.top-avatar{width:42px;height:42px;border-radius:13px}.chat-participants{grid-template-columns:1fr}.chat-person{grid-template-columns:46px 1fr}.chat-person img{width:46px;height:46px}.msg-row{max-width:100%}.msg-person-img{width:34px;height:34px;border-radius:11px}.chat-item{grid-template-columns:42px 1fr}.chat-item-avatar{width:42px;height:42px}}


/* v3.7: Voice-Visualizer mobil */
@media (max-width: 640px){
  .voice-live{grid-template-columns:42px 1fr;gap:9px}.voice-orb{width:42px;height:42px}.voice-live-meta{grid-column:1 / -1;text-align:left}.voice-bars{min-width:0;width:100%;gap:4px}.voice-bars i{width:5px}
}

/* v3.8 legal pages mobile */
.legal-nav{justify-content:flex-start}.legal-card{font-size:.95rem}.legal-card h1{font-size:1.65rem}.legal-card h2{font-size:1.2rem}

/* v3.9 Online-Kontakte mobile */
@media (max-width: 720px){.online-contacts-head{align-items:flex-start;flex-direction:column}.online-contact{width:100%;max-width:none}.online-contacts{display:grid;grid-template-columns:1fr}.online-mini{display:flex;gap:8px;flex-wrap:wrap}.presence-badge{font-size:.78rem}.chat-header .presence-badge{display:inline-flex;margin-top:6px}.online-contacts-panel{padding:10px}}

/* v4.0 Jarvis Connect mobile */
@media (max-width: 720px){.ju-page-grid{display:grid;grid-template-columns:1fr;width:94vw;margin:16px auto 44px}.ju-page-grid>.ju-shell{width:100%;margin:0}.connect-sticky{position:relative;top:auto;border-radius:18px;padding:15px}.connect-me-card{grid-template-columns:46px 1fr}.connect-me-card img{width:46px;height:46px;border-radius:14px}.connect-online-list{grid-template-columns:1fr}.connect-games{grid-template-columns:1fr}.connect-actions .primary-btn,.connect-actions .secondary-btn{flex:1 1 100%}.chat-header-card{grid-template-columns:48px 1fr}.chat-header-img{width:48px;height:48px;border-radius:14px}.interest-orbs{gap:6px}.orb,.orb-count{font-size:.78rem;padding:5px 8px}}

/* v4.1 mobile: Connect wird kompakt unter dem Inhalt */
@media (max-width: 720px){
  body .ju-page-grid{display:grid;grid-template-columns:1fr;width:94vw;margin:16px auto 44px;gap:14px}
  body .connect-aside{width:100%;justify-self:stretch}
  .connect-sticky{max-height:none;overflow:visible}
  .connect-games{grid-template-columns:1fr!important}
  .connect-orb-button{width:76px;height:76px;font-size:1.8rem}
  .chat-person-img,.chat-person-img.image-placeholder{width:46px;height:46px;border-radius:14px}
  .msg-person-img.image-placeholder{width:34px;height:34px;border-radius:11px}
}

/* v4.8 Mobile Signal-Karten */
@media (max-width:760px){
  .signal-panel{margin-top:16px;padding-top:14px}
  .signal-head{grid-template-columns:40px 1fr}
  .signal-avatar{width:40px;height:40px;border-radius:12px}
  .connect-signal-list .signal-card{font-size:.92rem}
}
