/* Online-Leiste der Website (13.11.2026): "Sitz online". Desktop: unter dem Menü. Handy (<= 900 px): schmal, über dem unteren Menü. js/site-online.js */
#online-leiste { position: fixed; left: 0; right: 0; top: var(--top, 62px); z-index: 49; height: 32px; display: flex; align-items: center; gap: .6rem; padding: 0 clamp(.6rem, 1.4vw, 1.4rem);
  background: rgba(10, 11, 22, .92); border-bottom: 1px solid rgba(230, 182, 85, .35); font-size: .82rem; color: #e9e6f2; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#online-leiste[hidden] { display: none; }
#online-leiste .ol-main { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem; height: 100%; padding: 0 .4rem; background: none; border: 0; color: #f3d596; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
#online-leiste .ol-dot { width: 9px; height: 9px; border-radius: 50%; background: #46d38a; box-shadow: 0 0 8px rgba(70, 211, 138, .8); }
#online-leiste .ol-dot.off { background: #8f8a7d; box-shadow: none; }
#online-leiste .ol-hint { color: #b9b4a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#online-leiste .ol-go { flex: 0 0 auto; min-height: 24px; padding: 0 .8rem; border-radius: 999px; border: 1px solid rgba(230, 182, 85, .6); background: rgba(230, 182, 85, .15); color: #f3d596; font: inherit; font-weight: 700; cursor: pointer; }
#online-leiste .ol-ticker { flex: 1 1 auto; min-width: 0; overflow: hidden; height: 100%; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
#online-leiste .ol-track { display: inline-flex; align-items: center; white-space: nowrap; animation: ol-scroll var(--ol-dur, 30s) linear infinite; will-change: transform; }
#online-leiste .ol-ticker:hover .ol-track, #online-leiste .ol-ticker:focus-within .ol-track { animation-play-state: paused; }
#online-leiste .ol-item { background: none; border: 0; color: #e9e6f2; font: inherit; cursor: pointer; padding: 0 .3rem; min-height: 28px; }
#online-leiste .ol-item:hover { color: #f3d596; text-decoration: underline; }
#online-leiste .ol-sep { color: #c89c43; padding: 0 .8rem; }
@keyframes ol-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { #online-leiste .ol-track { animation: none; } }

#online-popup { position: fixed; z-index: 70; top: calc(var(--top, 62px) + 36px); right: clamp(.6rem, 1.4vw, 1.4rem); width: min(420px, 94vw); max-height: min(70vh, 560px); overflow-y: auto; border-radius: 14px;
  background: #101528; border: 1px solid rgba(230, 182, 85, .55); box-shadow: 0 18px 50px rgba(0, 0, 0, .7); color: #e9e6f2; font-size: .92rem; }
#online-popup[hidden] { display: none; }
#online-popup .ol-head { display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding: .5rem .6rem; border-bottom: 1px solid rgba(255, 255, 255, .09); position: sticky; top: 0; background: #101528; }
#online-popup .ol-tabs { display: flex; gap: .3rem; flex-wrap: wrap; }
#online-popup .ol-tab { min-height: 36px; padding: 0 .8rem; border-radius: 999px; border: 1px solid rgba(230, 182, 85, .35); background: transparent; color: #d8d3c4; font: inherit; font-weight: 700; cursor: pointer; }
#online-popup .ol-tab.on { background: linear-gradient(135deg, #f0be53, #c87c1f); color: #130d03; border-color: transparent; }
#online-popup .ol-title { font-family: 'Cinzel', serif; color: #f3d596; padding: 0 .4rem; }
#online-popup .ol-close { min-width: 36px; min-height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #d8d3c4; font-size: 1rem; cursor: pointer; }
#online-popup .ol-body { padding: .7rem .8rem .9rem; }
#online-popup .ol-list { list-style: none; margin: 0 0 .6rem; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
#online-popup .ol-list li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .5rem .6rem; border-radius: 10px; background: rgba(255, 255, 255, .05); }
#online-popup .ol-sub { color: #9d9888; font-size: .8rem; }
#online-popup .ol-list li.ol-figuren { border: 1px solid rgba(230, 182, 85, .6); background: linear-gradient(135deg, rgba(240, 190, 83, .16), rgba(200, 124, 31, .08)); }
#online-popup .ol-row { display: flex; gap: .5rem; flex-wrap: wrap; margin: .5rem 0; }
#online-popup .ol-btn { min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(230, 182, 85, .5); background: rgba(6, 7, 13, .6); color: #f3d596; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
#online-popup .ol-btn.gold { background: linear-gradient(135deg, #f0be53, #c87c1f); color: #130d03; border-color: transparent; }
#online-popup .ol-btn:disabled { opacity: .5; cursor: default; }
#online-popup .ol-input { width: 100%; min-height: 40px; padding: 0 .8rem; border-radius: 10px; border: 1px solid rgba(230, 182, 85, .5); background: rgba(6, 7, 13, .75); color: #fff; font: inherit; }
#online-popup .ol-msg { min-height: 1.2em; margin: .4rem 0 0; color: #f3d596; font-size: .85rem; }

@media (max-width: 900px) {
  #online-leiste { top: auto; bottom: var(--ol-bottom, 0px); height: 28px; font-size: .74rem; gap: .4rem; padding: 0 .5rem; border-top: 1px solid rgba(230, 182, 85, .35); border-bottom: 0; z-index: 55; }
  #online-leiste .ol-main b { max-width: 38vw; overflow: hidden; text-overflow: ellipsis; }
  #online-popup { top: auto; bottom: calc(var(--ol-bottom, 0px) + 32px); left: .5rem; right: .5rem; width: auto; max-height: 62vh; z-index: 75; }
}
