#qh-konsole { display:none; }
#stage.quer-handy { width:var(--qw, 952px) !important; height:440px !important; }
#stage.quer-handy #lobby { padding:5px 10px 6px; }
#stage.quer-handy .lo-kopf { gap:8px; padding-bottom:4px; margin-bottom:5px; }
#stage.quer-handy .lo-kopf-r { margin-left:6px; gap:6px; }
#stage.quer-handy .lo-kopf-r .kb, #stage.quer-handy .lo-kopf-r .kb-ic { min-height:50px; min-width:50px; }
#stage.quer-handy .lo-mitte { gap:10px; }
#stage.quer-handy .lo-spieler { width:250px; }
#stage.quer-handy .lo-tabs button { min-height:50px; }
#stage.quer-handy #chatwin { min-height:56px; }
#stage.quer-handy #chatin, #stage.quer-handy #pmin { min-height:50px; margin-top:5px; }
#stage.quer-handy .lo-start { flex:2.2 1 0; margin-top:6px; }
#stage.quer-handy .lo-kacheln { gap:6px; }
#stage.quer-handy .lo-kachel { min-height:50px; padding:5px 12px; gap:2px; }
#stage.quer-handy .lo-hinweis { margin-top:3px; }
#stage.quer-handy .it { min-height:50px; }
#stage.quer-handy #tisch { width:auto !important; flex:1; min-width:0; padding:5px 66px 5px 8px; gap:4px; }
#stage.quer-handy #qh-konsole { display:flex; position:absolute; right:6px; top:6px; bottom:6px; width:54px; z-index:82; flex-direction:column;
  align-items:center; justify-content:center; gap:6px; padding:6px 2px; font-size:12px; font-weight:800; }
#stage.quer-handy #qh-konsole .sgzi { width:22px; height:22px; }
#stage.quer-handy #qh-konsole span { writing-mode:vertical-rl; transform:rotate(180deg); letter-spacing:.08em; }
#stage.quer-handy #konsole { position:absolute; top:37px; bottom:37px; right:66px; border-radius:10px; width:310px; z-index:81; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain;
  background:linear-gradient(to bottom, rgba(16,12,9,.95), rgba(10,8,6,.96)); border-left:1px solid rgba(255,236,200,.2); box-shadow:-10px 0 24px rgba(0,0,0,.5);
  transform:translateX(calc(100% + 70px)); visibility:hidden; transition:transform .22s ease, visibility 0s linear .22s; }
#stage.quer-handy.konsole-auf #konsole { transform:none; visibility:visible; transition:transform .22s ease; }
#stage.quer-handy #konsole :is(button, input, select) { min-height:50px; }
#stage.quer-handy #konsole .kb-ic { min-width:50px; }
#stage.quer-handy #konsole .k-zugliste { flex:1 1 0; height:auto; min-height:50px; }
#stage.quer-handy #konsole .k-chat { height:70px; }
#stage.quer-handy .leiste :is(button, .kb, .kb-ic) { min-height:50px; }
:root[data-theme="light"] #stage.quer-handy #konsole { background:linear-gradient(to bottom, rgba(250,245,236,.97), rgba(240,232,218,.97)); }
#stage.quer-handy #vorspann .vs-box { width:min(97%, 920px); max-width:none; max-height:calc(100% - 6px); overflow-y:auto; overscroll-behavior:contain;
  display:grid; grid-template-columns:auto minmax(0, 1fr) auto minmax(0, 1fr); gap:6px 10px; align-items:center; padding:8px 12px; }
#stage.quer-handy #vorspann :is(#vs-gegnerblock, .vs-zwei, .vs-zwei > div, .vs-box > div:not([class]):not([id]), #vs-artblock, .vs-reihe):not([hidden]) { display:contents; }
#stage.quer-handy #vorspann .vs-titel { grid-column:1 / -1; margin:0; }
#stage.quer-handy #vorspann .vs-label { margin:0; max-width:118px; }
#stage.quer-handy #vorspann .vs-liste { margin:0; }
#stage.quer-handy #vorspann :is(.vs-regeln, .vs-farbe, .vs-info, .vs-los, .vs-uebern) { grid-column:span 2; margin:0; }
#stage.quer-handy #vorspann button { min-height:50px; }
#stage.quer-handy #vorspann .vs-liste button { padding-left:2px; padding-right:2px; hyphens:auto; -webkit-hyphens:auto; overflow-wrap:anywhere; }
#stage.quer-handy :is(#zugkasten, #erklaer, #auftrag, #abrechnung, #en-zurueck, #einf, #vorhang) :is(button, .kb) { min-height:50px; }
#stage.quer-handy :is(.zk-tasten, .ek-tasten, .tasten-hinweis) { display:none; }
#stage.quer-handy #einf .ef-box { width:min(94%, 680px); max-height:calc(100% - 8px); display:flex; flex-direction:column; }
#stage.quer-handy #einf #ef-text { flex:1 1 auto; min-height:0; overflow-y:auto; }
#stage.quer-handy #einf :is(.ef-aus, #ef-los) { flex:none; }
#stage.quer-handy #einf .ef-aus { min-height:50px; display:flex; align-items:center; gap:8px; }
#stage.quer-handy #einf .ef-aus input { flex:none; width:50px; height:50px; margin:-6px 0; }
#stage.quer-handy .lzahl .klein { font-size:12px; }
#stage.quer-handy #konsole .k-leiste { position:sticky; bottom:-8px; z-index:2; margin:0 -8px -8px; padding:5px 8px 8px; background:rgba(12,9,7,.96); }
:root[data-theme="light"] #stage.quer-handy #konsole .k-leiste { background:rgba(244,236,222,.97); }
#stage.quer-handy :is(#lo-ich, #lo-hilfe, .lo-label, .lo-hinweis, .lo-raum) { font-size:12px; }
#stage.quer-handy #konsole :is(.k-modus, .k-regel, #k-stand-l, .k-blocklabel, .k-knoepfe button, .k-knoepfe .kb, .bl-x, .k-block small) { font-size:12px; }
#stage.quer-handy .leiste .lname { font-size:12px; }
#stage.quer-handy #vorspann :is(.vs-label, .vs-liste button, .vs-liste button span) { font-size:12px; }

#stage.hoch .lo-kopf-r :is(.kb, .kb-ic) { min-height:var(--hz, 52px); min-width:var(--hz, 52px); }
#stage.hoch :is(.lo-tabs button, #chatin, #pmin, .lo-kachel, .it) { min-height:var(--hz, 52px); }
#stage.hoch :is(#lo-ich, #lo-hilfe, .lo-label, .lo-hinweis, .lo-raum, .lo-kachel small, .it, .it .elo) { font-size:var(--hs, 12px); }
#stage.hoch #vorspann button { min-height:var(--hz, 52px); }
#stage.hoch #vorspann :is(.vs-label, .vs-liste button, .vs-liste button span, .vs-info, .vs-info b, .vs-regeln, .vs-regeln button, .vs-farbe button) { font-size:var(--hs, 12px); }
#stage.hoch :is(#vs-zeitlabel, #vs-tausch) { font-size:var(--hs, 12px); }
#stage.hoch #vorspann .vs-box { max-height:calc(100% - 8px); overflow-y:auto; overscroll-behavior:contain; }
#stage.hoch #vorspann .vs-liste button { hyphens:auto; -webkit-hyphens:auto; overflow-wrap:anywhere; }
#stage.hoch #einf .ef-box { max-height:calc(100% - 8px); display:flex; flex-direction:column; }
#stage.hoch #einf #ef-text { flex:1 1 auto; min-height:0; overflow-y:auto; }
#stage.hoch #einf :is(.ef-aus, #ef-los) { flex:none; }
#stage.hoch #einf .ef-aus { min-height:var(--hz, 52px); display:flex; align-items:center; gap:8px; font-size:var(--hs, 12px); }
#stage.hoch #einf .ef-aus input { flex:none; width:var(--hz, 52px); height:var(--hz, 52px); margin:-6px 0; }
#stage.hoch :is(#zugkasten, #erklaer, #auftrag, #abrechnung, #en-zurueck, #einf, #vorhang, #ende, #pop) :is(button, .kb) { min-height:var(--hz, 52px); }
#stage.hoch :is(.zk-tasten, .ek-tasten, .tasten-hinweis) { display:none; }
#stage.hoch .leiste :is(button, .kb, .kb-ic) { min-height:var(--hz, 52px); }
#stage.hoch .leiste :is(.lname, .klein) { font-size:var(--hs, 12px); }
#stage.hoch #konsole { overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; }
#stage.hoch #konsole > * { flex-shrink:0; }
#stage.hoch #konsole :is(button, input, select) { min-height:var(--hz, 52px); }
#stage.hoch #konsole :is(.kb-ic, .k-leiste button) { min-width:var(--hz, 52px); }
#stage.hoch #konsole .k-zugliste { flex:none; height:auto; max-height:none; min-height:var(--hz, 52px); }
#stage.hoch #konsole .k-leiste { position:sticky; bottom:-8px; z-index:2; margin:0 -8px -8px; padding:5px 8px 8px; background:rgba(12,9,7,.96); }
:root[data-theme="light"] #stage.hoch #konsole .k-leiste { background:rgba(244,236,222,.97); }
#stage.hoch #k-stand-l { font-size:var(--hs, 12px); }
#stage.hoch #konsole :is(.k-modus, .k-regel, .k-blocklabel, .k-knoepfe button, .k-knoepfe .kb, .k-leiste .kb, .bl-x, .k-block th,
  .k-block td, .zl, .zl-leer, .zl .nr, .k-leiste button) { font-size:var(--hs, 12px); }
#stage.hoch #konsole .k-block small { font-size:calc(var(--hs, 12px) + 1px); }
