#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:40px; }
#stage.quer-handy #chatin, #stage.quer-handy #pmin { min-height:50px; margin-top:5px; }
#stage.quer-handy .lo-start { flex:none; margin-top:6px; }
#stage.quer-handy .lo-kacheln { gap:6px; grid-auto-rows:auto; grid-template-columns:repeat(3, 1fr); }
#stage.quer-handy .lo-start > .lo-label { display:none; }
#stage.quer-handy .lo-kachel.lo-weiter { flex-direction:row; align-items:center; justify-content:flex-start; gap:12px; }
#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 #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; }
#qh-status { display:none; }
#stage.quer-handy #partie { flex-direction:row; }
#stage.quer-handy #brettspalte { width:auto !important; height:440px !important; flex:1 1 auto; min-width:0; padding:4px 66px 4px 8px !important; gap:3px; justify-content:center; }
#stage.quer-handy #brettspalte .leiste { width:100%; max-width:760px; height:36px; font-size:13px; }
#stage.quer-handy .leiste .lname { font-size:13px; max-width:220px; }
#stage.quer-handy .leiste :is(.lelo, .lzahl .klein, .lzahl .vorn, .lsonder) { font-size:13px; }
#stage.quer-handy .leiste .luhr { font-size:15px; }
#stage.quer-handy #qh-status { display:block; width:100%; max-width:760px; flex:none; margin:0; min-height:30px; padding:4px 10px; font-size:13px; line-height:1.25;
  text-align:center; cursor:pointer; }
#stage.quer-handy #qh-status .st-unter { display:inline; margin-left:8px; font-size:13px; }
#stage.quer-handy #konsole #status { display:none; }
#stage.quer-handy #konsole { padding:8px; }
#stage.quer-handy #konsole :is(.k-status, .k-zugliste, .k-chat, .zl, .zl span, .rs-auf, .rs-auf p, .rs-stand, .rs-stufen, .rs-stufen button) { font-size:13px; }
#stage.quer-handy #konsole .k-knoepfe { grid-template-columns:1fr 1fr; }
#stage.quer-handy #endeleiste .kb { min-height:50px; font-size:13px; }
#stage.quer-handy #hinweisband { font-size:15px; }
#stage.quer-handy #vorspann .vs-box { grid-template-columns:180px repeat(3, minmax(0, 1fr)); gap:6px 10px; }
#stage.quer-handy #vorspann .vs-label { grid-column:1; max-width:180px; }
#stage.quer-handy #vorspann .vs-liste { grid-column:span 3; }
#stage.quer-handy #vorspann .vs-liste button { hyphens:manual; -webkit-hyphens:manual; overflow-wrap:normal; }
#stage.quer-handy #vorspann .vs-x { min-width:50px; }
#stage.quer-handy #qh-status { min-height:50px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; }
#stage.quer-handy #vorspann button, #stage.quer-handy #vorspann .vs-x { min-height:54px; }
#stage.quer-handy #vorspann .vs-x { min-width:54px; }
#stage.quer-handy #vorspann .vs-box { padding:6px 12px; gap:5px 10px; }
#stage.quer-handy #vorspann .vs-titel { font-size:13px; }
#stage.quer-handy #vorspann :is(.vs-info, .vs-farbe, .vs-farbe span, #vs-farbe-txt) { font-size:13px; }
#stage.quer-handy #konsole :is(button, input, select), #stage.quer-handy #endeleiste .kb, #stage.quer-handy .leiste :is(button, .kb, .kb-ic) { min-height:54px; }
#stage.quer-handy #konsole .kb-ic { min-width:54px; }
#stage.quer-handy #qh-konsole { width:58px; }
#stage.quer-handy #qh-status { min-height:54px; }
#stage.quer-handy .ovl .kx { min-width:54px; min-height:54px; }
#stage.quer-handy #brettspalte { display:grid !important; grid-template-columns:minmax(0, 1fr) 300px; grid-template-rows:auto minmax(0, 1fr) auto;
  column-gap:10px; row-gap:6px; align-items:center; justify-items:center; }
#stage.quer-handy #brettspalte > * { grid-column:1; grid-row:1 / 4; }
#stage.quer-handy #brettspalte > #leiste-oben { grid-column:2; grid-row:1; }
#stage.quer-handy #brettspalte > #qh-status { grid-column:2; grid-row:2; align-self:center; }
#stage.quer-handy #brettspalte > #leiste-unten { grid-column:2; grid-row:3; }
#stage.quer-handy #brettspalte > .leiste { width:100%; max-width:none; height:auto; min-height:54px; flex-wrap:wrap; row-gap:2px; padding-top:4px; padding-bottom:4px; }
#stage.quer-handy #brettspalte > .leiste .lzahl { flex-basis:100%; order:3; }
#stage.quer-handy #brettspalte > #qh-status { max-width:none; min-height:54px; }
#stage.quer-handy #vorspann { position:fixed; inset:0; z-index:40; border-radius:0; }
#stage.quer-handy #vorspann .vs-box { max-height:calc(100% - 8px); }
#stage.quer-handy #vorspann :is(.vs-liste button, .vs-liste button span, .vs-label, #vs-tausch, .vs-ab, .vs-los) { font-size:13.5px; }
#stage.quer-handy #vorspann :is(#vs-tausch, .vs-ab, .vs-los) { width:auto; white-space:nowrap; }
#stage.quer-handy #konsole .k-blaettern { grid-template-columns:54px 54px 1fr 54px 54px; }
#stage.quer-handy #konsole .k-blaettern button { min-width:54px; }
#stage.quer-handy #qh-konsole { font-size:13.5px; }
#stage.quer-handy #konsole :is(.k-blaettern button, .k-blaettern span, #bl-info) { font-size:13px; }
#stage.quer-handy #konsole #k-farben { display:flex; gap:6px; }
#stage.quer-handy #konsole #k-farben button { min-width:54px; flex:1; }
#stage.quer-handy #konsole { width:370px; }
#stage.quer-handy #konsole .k-leiste { flex-wrap:wrap; row-gap:5px; height:auto; }
#stage.quer-handy #konsole .k-icons { width:100%; justify-content:space-between; }
#stage.quer-handy #konsole .k-leiste .kb-hw { font-size:13px; }
#stage.quer-handy #konsole .k-icons { flex-wrap:wrap; justify-content:flex-start; gap:4px; }
#stage.quer-handy #konsole .k-icons > * { flex:0 0 54px !important; width:54px !important; }
#stage.quer-handy .kb-text, #stage.quer-handy .kb-text :is(h3, b, li, p, code, figcaption, small) { font-size:13px; }
#stage.quer-handy .lo-tabs button { min-height:54px; font-size:13px; }
#stage.quer-handy :is(.ar-z b, .ar-z span, .ar-z em, .st-kopf span, .st-block h3, .st-zeile, .st-w, .st-li, .st-li em, .st-klein, .gb-s span, .gb-w span, .gb-w em, .ei-zeile > span, .ei-hinweis, .ei-wahl button) { font-size:13px; }
#stage.quer-handy :is(.ei-wahl button, .ar-z) { min-height:54px; }
#stage.quer-handy .ei-wahl button { min-width:54px; }
#stage.quer-handy .ar-z { flex-shrink:0; }
#stage.quer-handy #vorspann .vs-box { gap:4px 10px; padding:4px 12px; }
#stage.quer-handy #vorspann .vs-titel { margin:0; line-height:1.1; }
#stage.quer-handy #einst .karte { max-width:940px; width:94%; display:grid; grid-template-columns:1fr 1fr; column-gap:18px; align-items:start; }
#stage.quer-handy #einst .karte > .kh, #stage.quer-handy #einst .karte > .ei-hinweis { grid-column:1 / -1; }
#stage.quer-handy #einst .ei-zeile { padding:4px 0; }
#stage.quer-handy #einst .ei-zeile > span { padding-top:14px; }
#stage.quer-handy #einst .karte { max-height:calc(100% - 8px); overflow-y:auto; padding-top:8px; padding-bottom:8px; row-gap:0; }
#stage.quer-handy #einst .kh { padding-bottom:4px; }
#stage.quer-handy #einst .ei-zeile { grid-template-columns:104px 1fr; gap:6px; padding:3px 0; }
#stage.quer-handy #einst .ei-wahl { gap:4px; }
#stage.quer-handy #einst .ei-wahl button { padding:0 8px; }
#stage.quer-handy #einst .ei-hinweis { margin:2px 0; }
#stage.quer-handy :is(.st-kopf span, .st-block h3 small, .gb h3 small, small) { font-size:13px; }
#stage.quer-handy .st-form i { font-size:13px; width:26px; height:26px; }
.st-form i.n { background:#dc2626; }
#stage.quer-handy #ende-btns { display:grid !important; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:6px; }
#stage.quer-handy #ende-btns button { min-height:54px; font-size:13px; margin:0 !important; padding:4px 6px; line-height:1.15; }
#stage.quer-handy #ende-x { min-width:54px; min-height:54px; }
#stage.quer-handy #ende :is(.mo-kopf, small, .mo-kachel span, .mo-tipp, .mo-text) { font-size:13px; }
#stage.quer-handy .ovl { z-index:90; }
#stage.quer-handy .ende-karte { width:920px; max-width:94%; }
#stage.quer-handy #ende .karte.ende-karte { width:920px !important; max-width:94% !important; }
#stage.quer-handy #ende .mo-tisch.mo-zwei .mo-kacheln { grid-template-columns:repeat(4, minmax(0, 1fr)); }
#stage.quer-handy #ende #ende-x { min-width:54px; min-height:54px; width:54px; height:54px; }
#stage.quer-handy #konsole { height:auto !important; }
#stage.quer-handy #ende .karte.ende-karte { width:1000px !important; max-width:96% !important; padding-top:10px; padding-bottom:10px; }
#stage.quer-handy #ende-btns { grid-template-columns:repeat(auto-fit, minmax(140px, 1fr)) !important; }
#stage.quer-handy #ende .mo-kacheln { margin:6px 0 4px; }
#stage.quer-handy #ende .mo-mehr > summary { min-height:54px; display:flex; align-items:center; justify-content:center; }
#ende .mo-rang-kopf { background:linear-gradient(#6b4f12, var(--mo-band2, #9c1f16)); }
#stage.quer-handy :is(.kurve p, .ende-wende h3, .ende-wende p, .ende-wende span, .ende-wende b, #ende-unter, .ende-stand) { font-size:13px; }
#stage.quer-handy .ende-wende button { min-height:54px; }
#stage.quer-handy #brettspalte > .sgzl { grid-column:2; grid-row:2; align-self:stretch; width:100%; max-height:100%; min-height:0; margin:0; overflow-y:auto;
  overscroll-behavior:contain; padding:8px 58px 8px 10px; }
#stage.quer-handy #brettspalte:has(> .sgzl) > #qh-status { display:none; }
#stage.quer-handy #brettspalte > .sgzl :is(.sgzl-kopf, .sgzl-text, .sgzl-titel) { font-size:13.5px; }
#stage.quer-handy #brettspalte > .sgzl .sgzl-weiter { min-height:54px; font-size:13.5px; }
#stage.quer-handy #brettspalte > .sgzl .sgzl-x { width:54px; height:54px; }
#stage.quer-handy #pop-btns :is(button, .kb) { min-height:54px; font-size:14px; }
#stage.quer-handy #konsole :is(.zl-leer, #b-hilfe) { font-size:13px; }
#stage.quer-handy :is(#zugkasten, #erklaer, #auftrag, #abrechnung, #en-zurueck, #einf, #vorhang) :is(button, .kb) { min-height:54px; }
#stage:not(.quer-handy) #qh-status { display:none; }
