/* Zrcadlo displeje NATH 480x320 – vsechna pravidla jen uvnitr #scr (lze vlozit i do hlavni stranky). */
@font-face { font-family: "RobotoD"; src: url("/displej/roboto-400.ttf") format("truetype"); font-weight: 400; }
@font-face { font-family: "RobotoD"; src: url("/displej/roboto-700.ttf") format("truetype"); font-weight: 700; }
#scr { position: relative; width: 480px; height: 320px; overflow: hidden; font-family: "RobotoD", Roboto, Arial, sans-serif; color: #e8eef5;
       border: 10px solid #000; border-radius: 6px; box-sizing: content-box; background: #000; }
#scr * { box-sizing: border-box; }
/* 11. 11. vecer: tlacitko blika jako LED na viku (kalibrace bezi; 300 ms sviti / 300 ms zhasnuto) */
#scr .btn.lit-blink { animation: dm-litblink 0.6s steps(1, end) infinite; }
@keyframes dm-litblink { 50% { filter: brightness(0.35) saturate(0.6); } }
#scr .abs { position: absolute; }
#scr .page { position: absolute; inset: 0; }
#scr .prov { background: linear-gradient(180deg, #05080c 0%, #0d2133 100%); }
#scr .lbl { position: absolute; white-space: nowrap; line-height: 1.17; }
#scr .f14 { font-size: 14px; } #scr .f20 { font-size: 20px; } #scr .f20b { font-size: 20px; font-weight: 700; }
#scr .f24 { font-size: 24px; font-weight: 700; } #scr .f32 { font-size: 32px; font-weight: 700; } #scr .f36 { font-size: 36px; font-weight: 700; }
#scr .btn { position: absolute; border: 2px solid; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
#scr .tile { position: absolute; border: 1px solid #1e3a55; border-radius: 8px; background: #0b1520; }
#scr .bar { position: absolute; left: 0; top: 0; width: 480px; height: 36px; background: #060b11; border-bottom: 1px solid #1d3247; }
#scr .dot { position: absolute; top: 14px; width: 8px; height: 8px; border-radius: 4px; background: #4a5560; }
#scr .chip { position: absolute; left: 146px; top: 7px; width: 92px; height: 22px; border-radius: 11px; border: 1px solid #288cff; background: #0e2a48;
             display: flex; align-items: center; justify-content: center; font-size: 14px; color: #bfe0ff; }
#scr .tabs { position: absolute; left: 0; top: 284px; width: 480px; height: 36px; display: flex; background: #060b11; border-top: 1px solid #1d3247; }
#scr .tabs div { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #4a5866; }
#scr .tabs div.on { color: #eaf6ff; background: #0f3157; box-shadow: inset 0 3px 0 #36aaff; }
#scr .bars { position: absolute; left: 18px; top: 250px; width: 444px; height: 26px; border-bottom: 1px solid #1e3a55; }
#scr .bars i { position: absolute; top: 2px; width: 1px; height: 16px; background: #36aaff; }   /* 4. 11.: kratsi jako na viku */
#scr .bars i.tick { top: 20px; height: 6px; background: #3ddc6a; }   /* zelene znacky 90/180/270 st. */
#scr .bars { overflow: hidden; }   /* 4. 11.: Prubeh - carky ujizdeji pryc za levy okraj */
#scr .bars .roll { position: absolute; inset: 0; will-change: transform; }
#scr .bars i.sw { top: 0; width: 1px; height: 26px; background: #36aaff55; }   /* bezici linka okna 3 s */
#scr .bars i.f { background: #ff4a4a; }   /* misto navic (Profil 360) */
#scr .bars i.cur { top: 0; width: 2px; height: 26px; background: #ffb020; }   /* ryska aktualniho uhlu */
#scr .pop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
#scr .panel { position: absolute; left: 40px; top: 30px; width: 400px; height: 262px; border-radius: 12px; border: 2px solid #ffb020; background: #0b1520; }
#scr .key { position: absolute; border: 1px solid #23415e; border-radius: 8px; background: #0f1c29; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
#scr .pb { position: absolute; top: 100px; width: 30px; height: 38px; border-radius: 6px; border: 2px solid #2a3f55; background: #0b1520; }
#scr .pb.f { border-color: #36aaff; background: #36aaff; }
#scr .flag { position: absolute; top: 8px; width: 46px; height: 32px; border-radius: 5px; border: 1px solid #46505c; background: rgba(14,20,28,.9); display: flex; align-items: center; justify-content: center; }
#scr .flag.on { border: 2px solid #36aaff; }
#scr .big { position: absolute; top: 86px; width: 148px; height: 96px; border: 2px solid; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 12px; }
#scr-info { font-size: 12px; color: #8fa3b6; margin-top: 6px; }
/* karta zrcadla na hlavni strance NATH (kompaktni rozvrzeni, pres oba sloupce) */
#display-mirror { grid-column: 1 / -1; min-width: 0; background: linear-gradient(145deg, #132131, #101a26); border: 1px solid #2a3f52; border-radius: 12px; padding: 12px 14px; }
#display-mirror .dm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
#display-mirror .dm-head h2 { font-size: 15px; margin: 0; color: #e6f0f6; letter-spacing: 0; }
#display-mirror .dm-head a { font-size: 12px; color: #7fd0ff; text-decoration: none; }
