/* Owned by STREAMLINE: js/qol.js helpers (key help, boss timer bars, raid warnings, notes, lobby QR). WoW 1.12 addon look. */
.qol-help { position: fixed; inset: 0; z-index: 9000; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; }
.qol-help.hidden, .qol-bars.hidden, .qol-qr.hidden { display: none; }
.qol-hbox { position: relative; width: min(640px, 92vw); max-height: 86vh; overflow: auto; padding: 14px 20px 18px; background: rgba(8, 6, 4, .94); border: 2px solid #7a5c2e; border-radius: 6px; color: #e8dcc0; font: 13px/1.45 FrizQT, 'Friz Quadrata TT', Georgia, serif; box-shadow: 0 0 24px #000; }
.qol-hbox h2 { margin: 6px 0 8px; color: #ffd100; font-size: 17px; font-weight: normal; text-shadow: 1px 1px 0 #000; }
.qol-hx { position: absolute; right: 10px; top: 6px; cursor: pointer; color: #ffd100; font-size: 20px; }
.qol-keys { display: grid; grid-template-columns: max-content 1fr; gap: 3px 16px; }
.qol-keys b { color: #fff; font-weight: normal; white-space: nowrap; }
.qol-opts { display: grid; gap: 4px; }
.qol-opts select { margin-left: 6px; background: #1a140c; color: #e8dcc0; border: 1px solid #7a5c2e; }
.qol-bars { position: fixed; right: 12px; top: 214px; width: 240px; z-index: 40; pointer-events: none; font: 12px FrizQT, 'Friz Quadrata TT', Georgia, serif; }
.qol-obj { color: #ffd100; text-shadow: 1px 1px 0 #000; margin-bottom: 4px; text-align: right; text-wrap: balance; }
.qol-bar { position: relative; height: 18px; margin-bottom: 3px; background: rgba(0, 0, 0, .65); border: 1px solid #000; box-shadow: 0 0 0 1px #5a4a2a; }
.qol-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#e0a000, #a86400); }
.qol-bar.soon i { background: linear-gradient(#e03000, #901800); }
.qol-bar span, .qol-bar em { position: absolute; top: 1px; color: #fff; text-shadow: 1px 1px 0 #000; font-style: normal; }
.qol-bar span { left: 5px; } .qol-bar em { right: 5px; }
.qol-rw { position: fixed; left: 0; right: 0; top: max(22%, var(--lfl-bot, 0px)); z-index: 60; pointer-events: none; text-align: center; }
.qol-rwl { color: #ff2020; font: 26px FrizQT, 'Friz Quadrata TT', Georgia, serif; text-shadow: 2px 2px 0 #000; transition: opacity 1s; }
.qol-note { position: fixed; left: 50%; bottom: 150px; transform: translateX(-50%); z-index: 60; pointer-events: none; color: #ffd100; font: 16px FrizQT, 'Friz Quadrata TT', Georgia, serif; text-shadow: 1px 1px 0 #000; transition: opacity 1s; }
.qol-rwl.out, .qol-note.out { opacity: 0; }
.qol-qr { display: flex; align-items: center; gap: 10px; margin: 6px 0; color: #e8dcc0; font-size: 12px; }
.qol-qr svg { border: 2px solid #7a5c2e; }
@media (max-width: 700px) { .qol-bars { top: auto; bottom: 120px; width: 170px; } .qol-rwl { font-size: 20px; } }
.qol-sess { color: #9d9d9d; margin-top: 8px; } .qol-obj small { color: #c8b890; }
.qol-welcome { position: fixed; left: 16px; bottom: 48px; z-index: 50; width: 300px; padding: 10px 14px; background: rgba(8, 6, 4, .92); border: 2px solid #7a5c2e; border-radius: 6px; color: #e8dcc0; font: 13px/1.4 FrizQT, 'Friz Quadrata TT', Georgia, serif; }
.qol-welcome.inpane { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; width: auto; background: #0c0906; }
.qol-welcome b { color: #ffd100; font-weight: normal; } .qol-welcome ol { margin: 6px 0 8px 18px; padding: 0; }
.qol-hint { position: fixed; left: 50%; top: 76px; transform: translateX(-50%); z-index: 60; pointer-events: none; max-width: clamp(260px, calc(100vw - 420px), 560px); box-sizing: border-box; text-align: center; text-wrap: balance; padding: 6px 14px; background: rgba(0, 0, 0, .6); color: #fff; font: 15px FrizQT, 'Friz Quadrata TT', Georgia, serif; text-shadow: 1px 1px 0 #000; transition: opacity 1s; }
.qol-hint.out { opacity: 0; }
.qol-edge { position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at center, rgba(200, 0, 0, 0) 58%, rgba(200, 0, 0, 0.28) 80%, rgba(170, 0, 0, 0.6) 100%); transition: opacity .4s; }
.qol-edge.on { animation: qolPulse 1s ease-in-out infinite; }
@keyframes qolPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .qol-edge.on { animation: none; opacity: .8; } }
.qol-row { margin: 6px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .qol-ver { color: #c8b890; }
.qol-buffs { margin-top: 4px; text-align: center; }
html.qol-bigcursor, html.qol-bigcursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M2 2 L2 34 L11 25 L17 38 L23 35 L17 22 L30 22 Z' fill='%23ffd100' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") 2 2, auto !important; }
.qol-trk { margin: 2px 0 6px; padding: 2px 4px; text-align: left; text-shadow: 1px 1px 0 #000; }
.qol-trk-h { display: flex; justify-content: space-between; gap: 8px; }
.qol-trk-h b { color: #ffd100; font-weight: normal; font-size: 13px; }
.qol-trk-h em { color: #fff; font-style: normal; }
.qol-trk-o { color: #fff; margin-left: 6px; }
.qol-bar.qol-ev i { background: linear-gradient(#3fa0e0, #1d5a9a); }
.qol-rwl.quest { color: #ffd100; }
