* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: transparent; font-family: 'Segoe UI', system-ui, sans-serif; color: #fff; overflow: hidden; }
.hidden { display: none !important; }
.wrap { position: absolute; left: 0; top: 0; }

.q { width: 400px; border-radius: 16px; overflow: hidden;
  background: rgba(18,14,38,.92); border: 1px solid rgba(160,120,255,.3);
  box-shadow: 0 10px 40px rgba(0,0,0,.5); }

.q .hd { display: flex; align-items: center; gap: 10px; padding: 11px 16px;
  background: linear-gradient(90deg,#3a2560 0%, #7a3a6e 100%); }
.q .hd .pb { width: 20px; height: 20px; border-radius: 50%; position: relative;
  background: linear-gradient(#ee1c26 0 50%, #f4f4f4 50% 100%); border: 2px solid #141414; }
.q .hd .pb::after { content: ''; position: absolute; inset: 0; margin: auto; width: 6px; height: 6px; border-radius: 50%; background: #f4f4f4; border: 2px solid #141414; }
.q .hd .ti { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.q .hd .cnt { margin-left: auto; font-size: 12px; font-weight: 700; color: #e6c8ff; background: rgba(0,0,0,.25); padding: 3px 10px; border-radius: 20px; }
.q .body { padding: 14px 16px; }

.cur { background: linear-gradient(90deg, rgba(255,207,74,.14), rgba(255,207,74,.02));
  border: 1px solid rgba(255,207,74,.45); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.cur .nm { font-size: 26px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.cur .nm .a { color: #ffcf4a; }
.cur .it { margin-top: 6px; display: flex; flex-direction: column; gap: 3px; }
.cur .it span { font-size: 16px; font-weight: 700; color: #ffe9a8; }
.cur .it span b { color: #fff; }

.nxt { display: flex; flex-direction: column; gap: 6px; }
.nxt .lab { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #8a80b8; margin-bottom: 2px; }
.nxt .row { display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.04); }
.nxt .row .p { color: #9b7fe0; font-weight: 800; font-size: 13px; }
.nxt .row .n { flex: 1; font-size: 15px; font-weight: 700; color: #d7d0f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nxt .row .i { margin-left: auto; font-size: 12px; color: #8a90b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nxt .more { font-size: 12px; font-weight: 700; color: #8a80b8; text-align: center; padding: 5px 0 2px; }
.cur .it .mi { color: #9b8fd0 !important; font-size: 13px !important; font-weight: 700; font-style: italic; margin-top: 2px; }

/* ===== Režim battlu — zoznam mien na streame ===== */
.q.battle .hd .ti { text-transform: none; letter-spacing: .01em; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wait { font-size: 13px; color: #b9a8ff; text-align: center; margin-bottom: 10px; }
.names { display: flex; flex-direction: column; gap: 5px; }
.names .brow { display: flex; align-items: baseline; gap: 10px; padding: 6px 11px; border-radius: 8px; background: rgba(255,255,255,.04); }
.names .brow .p { color: #9b7fe0; font-weight: 800; font-size: 14px; min-width: 26px; }
.names .brow .n { font-size: 16px; font-weight: 700; color: #e7e0ff; }
.names .brow.is-cur { background: linear-gradient(90deg, rgba(255,207,74,.16), rgba(255,207,74,.02)); border: 1px solid rgba(255,207,74,.5); }
.names .brow.is-cur .p { color: #ffcf4a; }
.names .brow.is-cur .n { color: #fff; flex: 1; }
.names .brow .tag { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffcf4a; background: rgba(255,207,74,.14); border: 1px solid rgba(255,207,74,.4); border-radius: 999px; padding: 2px 8px; }
.names .more { font-size: 12px; font-weight: 700; color: #8a80b8; text-align: center; padding: 5px 0 2px; }

.idle { text-align: center; color: #555a7a; font-size: 15px; padding: 20px; font-family: system-ui, sans-serif; }
