/* Originale GIF-Masken bleiben im Modern-Theme unsichtbar. Die alte Schichtenfolge
   (Temperaturflächen -> GIF-Konturen/Pumpe -> Geräte/Beschriftungen) bleibt erhalten. */
#zirk,#okrl,#historic-storage-top,#historic-storage-bottom { display:none; }
html:is([data-appearance="original"],[data-appearance="luna"],[data-appearance="classic"]) #hevi-pipes { display:none!important; }
html:is([data-appearance="original"],[data-appearance="luna"],[data-appearance="classic"]) #zirk,
html:is([data-appearance="original"],[data-appearance="luna"],[data-appearance="classic"]) #okrl { display:block; }
html:is([data-appearance="original"],[data-appearance="luna"],[data-appearance="classic"]) :is(.ztempo,.ztempko,.ztempu,.ztempv,.temphr) { opacity:1!important; }

/* Pocket-PC/XP-Messtechnik: klare Bitmapdarstellung und kleine helle Messfelder mit
   den damals typischen dünnen, blau eingefassten Eingabefeldkanten. */
html[data-appearance="luna"] #container { background:#fff!important; }
html[data-appearance="luna"] :is(#t_fsk,#t_spo,#t_spu,#t_hkr) { color:#000; background:#fff; border:1px solid #7f9db9; box-shadow:inset 1px 1px #d6dfe8; font:bold 1.9vw "Hevi Tahoma",Tahoma,Arial,sans-serif; line-height:1.2; padding:.12vw .18vw; }
html[data-appearance="luna"] :is(#p_pfs,#p_kwh) { background:#ece9d8; color:#003399; border:1px solid #7f9db9; font:bold 2vw "Hevi Tahoma",Tahoma,Arial,sans-serif; padding:.1vw; }
html[data-appearance="luna"] #p_kwh { top:23vw; }
html[data-appearance="luna"] :is(#zirk,#okrl,#ofen,#puffer,#kessel,#feuer,#kfeuer) { image-rendering:auto; filter:none!important; }

/* 1996: Rastergrafik statt Vektor-Rundungen; Rechteckanzeigen mit MS-Sans-Serif/Courier,
   zweigeteilte Speicherfläche und einfache Volltonleitungen. Keine CSS-Flussanimation. */
html[data-appearance="classic"] #container { background:#c0c0c0!important; }
html[data-appearance="classic"] :is(#zirk,#okrl,#ofen,#puffer,#kessel,#feuer,#kfeuer) { image-rendering:pixelated; filter:none!important; }
html[data-appearance="classic"] :is(#t_fsk,#t_spo,#t_spu,#t_hkr,#p_pfs,#p_kwh) { color:#000; background:#fff; border:2px inset #ddd; font:bold 2vw "Courier New",monospace; line-height:1.2; padding:.1vw; box-shadow:none; }
html[data-appearance="classic"] #p_kwh { top:23vw; }
html[data-appearance="classic"] #ptemp { background-image:none!important; }
html[data-appearance="classic"] .ztempv { background-image:none!important; }
html[data-appearance="classic"] #historic-storage-top,html[data-appearance="classic"] #historic-storage-bottom { display:block; position:absolute; left:0; width:100%; height:50%; z-index:0; }
html[data-appearance="classic"] #historic-storage-top { top:0; }
html[data-appearance="classic"] #historic-storage-bottom { bottom:0; border-top:1px solid #808080; }
html[data-appearance="classic"] #t_spo,html[data-appearance="classic"] #t_spu { z-index:1; }

/* Klassik nutzt die mitgelieferte Windows-95-Schrift auch innerhalb der Messfelder. */
html[data-appearance="classic"] :is(#t_fsk,#t_spo,#t_spu,#t_hkr,#p_pfs,#p_kwh) { font-family:"W95FA","Courier New",monospace; }

/* Messfelder liegen innerhalb der historischen Bitmapgeraete, nicht ueber deren Rand.
   Ihre Breite ist ein Anteil der Grafik, damit Desktop und PDA exakt gleich skalieren. */
html:is([data-appearance="luna"],[data-appearance="classic"]) #t_fsk { left:2.8vw; width:14.2vw; box-sizing:border-box; }
html:is([data-appearance="luna"],[data-appearance="classic"]) #t_spo,
html:is([data-appearance="luna"],[data-appearance="classic"]) #t_spu { left:.8vw; width:16.2vw; box-sizing:border-box; }
html:is([data-appearance="luna"],[data-appearance="classic"]) #p_pfs,
html:is([data-appearance="luna"],[data-appearance="classic"]) #p_kwh { left:32.8vw; width:16.2vw; box-sizing:border-box; }
html:is([data-appearance="luna"],[data-appearance="classic"]) #t_hkr { left:63vw; width:15.5vw; box-sizing:border-box; }
html[data-appearance="original"] #ventctrl input { font-size:1.5vw!important; padding:.3vw!important; }
