/* responsive.css
   Querformat/Tablet: Fenster in Spalten statt untereinander */
/* ===== Querformat: Fenster breit und niedrig, Inhalt in Spalten statt untereinander (Hochformat bleibt wie es war) ===== */
.cols{display:block}
/* Schließen-Knopf sitzt in der Ecke; der Titel reserviert die Zeile dafür (alle Ausrichtungen) */
dialog>.x{transform:translateY(-8px)}
dialog h2{min-height:46px;display:flex;align-items:center;justify-content:center}
@media(orientation:landscape){
 dialog{width:min(96vw,760px);max-height:94dvh;padding:12px 20px}
 dialog h2{font-size:1.2rem;margin:0 0 8px}
 .btns{margin-top:8px}
 /* Optionen: Aufbau quer steht seit v426 OP in optionen.css */
 /* Zauberladen: Figur mit Plätzen links, Auswahl rechts (v410 LD1, Aufbau in dialogs.css) */
 #sdlg{width:min(97vw,1040px)}
 #sdlg h3{margin:8px 0 6px}
 #sdlg .sg{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px}
 #sdlg .card{min-height:92px;padding:6px 4px}#sdlg .card .ic{width:40px;height:40px}
 /* Rangliste: Tabelle links, Anmeldung rechts */
 /* Rangliste/Profil: Aufbau seit v429 RLF in fenster.css */
 .lb td{padding:4px 8px}
 /* Aussehen und Profil: Vorschau links, Auswahl/Werte rechts */
 /* Aussehen: Aufbau seit v427 AU in fenster.css */
 .row{margin:4px 0}
 /* Level geschafft: kompakt */
 #ddlg{width:min(92vw,520px)}
}
@media(orientation:landscape) and (max-height:480px){
 dialog{padding:8px 16px}
 dialog h2{font-size:1.05rem;margin:0 0 4px;min-height:40px}
 dialog label{margin:4px 0}
 .x{width:38px;height:38px}
 #sdlg .card{min-height:78px;gap:2px}#sdlg .card .ic{width:34px;height:34px}.cnm{font-size:.8rem}
 .row button.sw{width:36px;height:36px}
 .row b{width:74px}
 .lb td{padding:2px 6px;font-size:.9rem}
}
/* v123: Querformat breit genug -> Aufgabe sitzt in der Kopfzeile zwischen Stats und Hamburger (direkt unter der XP-Leiste).
   .top wird per display:contents aufgelöst, damit Herzen/Stats/Panel/Hamburger Spalten EINES Grids sind; das Menü hängt dann am .hud. */
@media(orientation:landscape) and (min-width:760px){
 .hud{--hp:10px;padding-left:var(--hp);padding-right:var(--hp);grid-template-columns:auto auto auto auto minmax(0,1fr) auto auto;align-items:center;column-gap:6px}
 .hud .xp{grid-column:1/-1}
 .hud .top{display:contents}
 .hud #hearts,.hud #st,.hud #pw,.hud #co,.hud #rsb,.hud #hb,.hud .panel{grid-row:2}
 .hud #hearts{grid-column:1}.hud #st{grid-column:2}.hud #pw{grid-column:3}.hud #co{grid-column:4}
 .hud .panel{grid-column:5;min-width:0;margin:0}
 .hud #rsb{grid-column:6;margin:0}.hud #hb{grid-column:7}
 #menu{right:var(--hp)}
}
