/* Webová verze: lišta menu (místo nativního menu desktopu), dialogy, lišta oprávnění k médiím. */
.menubar { display: flex; align-items: stretch; height: 100%; margin-left: 6px; user-select: none; }
.menu-top { position: relative; display: flex; align-items: center; padding: 0 9px; font-size: 12.5px; color: #cfcfcf; cursor: default; border-radius: 3px; }
.menu-top:hover, .menu-top.on { background: #2e2e2e; color: #fff; }
.menu-drop { position: absolute; left: 0; top: 100%; min-width: 280px; background: #2b2b2b; border: 1px solid #555; border-radius: 3px; padding: 4px 0; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,.55); }
.menu-drop.sub { left: 100%; top: -5px; display: none; }
.menu-item { position: relative; display: flex; align-items: center; gap: 6px; padding: 4px 14px 4px 6px; font-size: 12.5px; color: #ddd; white-space: nowrap; }
.menu-item:hover { background: var(--accent); color: #fff; }
.menu-item:hover > .menu-drop.sub { display: block; }
.mi-check { width: 14px; text-align: center; }
.mi-label { flex: 1; }
.mi-key { color: var(--dim); margin-left: 24px; font-size: 11.5px; }
.menu-item:hover .mi-key { color: #e8f2ff; }
.mi-sub { color: var(--dim); }
.menu-drop hr { border: 0; border-top: 1px solid #444; margin: 4px 0; }
.web-ask { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; z-index: 500; }
.web-ask-box { background: #2b2b2b; border: 1px solid #555; border-radius: 3px; padding: 18px 20px 14px; min-width: 340px; max-width: 520px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.web-ask-msg { font-size: 14px; color: #fff; margin-bottom: 6px; white-space: pre-wrap; }
.web-ask-det { font-size: 12.5px; color: #bbb; white-space: pre-wrap; margin-bottom: 14px; }
.web-ask-btns { display: flex; justify-content: flex-end; gap: 8px; }
.web-ask-btns button, .relink-bar button { height: 26px; padding: 0 14px; background: #3a3a3a; border: 1px solid #555; border-radius: 3px; color: #eee; cursor: pointer; }
.web-ask-btns button.primary, .relink-bar button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.relink-bar { position: fixed; left: 50%; top: 40px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; background: #2a2f3a; border: 1px solid #4a6fa5; border-radius: 3px; z-index: 300; font-size: 12.5px; color: #e6eefc; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.web-unsupported { position: fixed; left: 0; right: 0; top: 0; z-index: 1000; padding: 12px 16px; background: #7a1d1d; color: #fff; font-size: 14px; text-align: center; }
#bridgeState { display: none; }
