[hidden] { display: none !important; }
/* 3D prohlížeč 6IT Reality: barvy a písmo podle 6it-ui (tokeny opsané, stránka je bez Reactu) */
:root { --bg: #0e1013; --panel: rgba(20,23,28,.86); --line: rgba(255,255,255,.14); --text: #eef0f2; --text2: #a9b0b9; --accent: #8B7CF6; --value: #B9AEFF; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font: 400 14px/1.4 Outfit, system-ui, -apple-system, sans-serif; -webkit-tap-highlight-color: transparent; }
#cv { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#top { position: fixed; top: max(10px, env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
#title { font-weight: 600; font-size: 16px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
#varInfo { font-size: 12px; color: var(--text2); text-shadow: 0 1px 6px rgba(0,0,0,.7); }
#varInfo b { color: var(--text); font-weight: 600; }
.bar { position: fixed; left: 8px; right: 8px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bar::-webkit-scrollbar { display: none; }
#views { top: calc(max(10px, env(safe-area-inset-top)) + 46px); }
#ctl { bottom: max(8px, env(safe-area-inset-bottom)); }
.bar button, #tools button { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 500 13px Outfit, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.bar button.on { background: rgba(139,124,246,.2); border-color: var(--accent); color: var(--value); }
.bar span { display: contents; }
.bar .sep { display: block; flex: 0 0 1px; background: var(--line); margin: 4px 2px; }
#tools { position: fixed; right: 8px; bottom: calc(max(8px, env(safe-area-inset-bottom)) + 62px); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; max-width: calc(100% - 16px); }
#tools button { background: var(--panel); }
#toolMsg { font-size: 12px; color: var(--text2); background: var(--panel); border-radius: 8px; padding: 2px 8px; }
#toolMsg:empty { display: none; }
#walkHint { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(max(8px, env(safe-area-inset-bottom)) + 62px); font-size: 12px; color: var(--text2); background: var(--panel); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
@media (pointer: coarse) { #walkHint { display: none; } }
#joy { position: fixed; left: 18px; bottom: calc(max(8px, env(safe-area-inset-bottom)) + 70px); width: 110px; height: 110px; border-radius: 50%; background: rgba(20,23,28,.55); border: 1px solid var(--line); touch-action: none; }
#joyKnob { position: absolute; left: 35px; top: 35px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.75); pointer-events: none; }
#warn { position: fixed; left: 12px; right: 12px; top: 40%; text-align: center; background: var(--panel); padding: 14px; border-radius: 12px; }
#badge { position: fixed; right: 12px; top: max(12px, env(safe-area-inset-top)); font-size: 11px; color: var(--text2); text-shadow: 0 1px 6px rgba(0,0,0,.7); pointer-events: none; max-width: 45%; text-align: right; }
@media (max-width: 600px) { #badge { display: none; } }
