/* Bakgrundsmusik från LiveCollab (inc/lc-music.php, assets/js/lc-music.js): av/på-knappen nere till vänster och en liten etikett bredvid. */
.gs-lcm { position: fixed; left: 16px; bottom: 16px; z-index: 9990; display: flex; align-items: center; gap: 10px; font-family: inherit; }
.gs-lcm-btn { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center;
  background: #ffffff; color: #6b6f82; box-shadow: 0 2px 10px rgba(12, 56, 94, .25); transition: background .2s, color .2s, transform .15s; }
.gs-lcm-btn:hover { transform: scale(1.06); }
.gs-lcm-btn:focus-visible { outline: 3px solid #0c385e; outline-offset: 2px; }
.gs-lcm.on .gs-lcm-btn { background: #68c4be; color: #ffffff; }
.gs-lcm.heard .gs-lcm-btn { animation: gs-lcm-pulse 2.4s ease-out infinite; }
.gs-lcm.wait .gs-lcm-btn { opacity: .85; }
@keyframes gs-lcm-pulse { 0% { box-shadow: 0 0 0 0 rgba(104, 196, 190, .55); } 70% { box-shadow: 0 0 0 12px rgba(104, 196, 190, 0); } 100% { box-shadow: 0 0 0 0 rgba(104, 196, 190, 0); } }
@media (prefers-reduced-motion: reduce) { .gs-lcm.heard .gs-lcm-btn { animation: none; } }
/* Hello Elementor's reset colours every button on hover/focus (#c36): our own states */
.gs-lcm .gs-lcm-btn:hover, .gs-lcm .gs-lcm-btn:focus { background: #ffffff; color: #0c385e; }
.gs-lcm.on .gs-lcm-btn:hover, .gs-lcm.on .gs-lcm-btn:focus { background: #68c4be; color: #ffffff; }

/* the label: shown while the music starts, when it wants a tap, a while after it starts, and while hovered (only with the music on) */
.gs-lcm-pill { display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 90px); box-sizing: border-box; background: #ffffff; color: #222d31;
  border-radius: 999px; padding: 8px 14px; font-size: 13px; line-height: 1.3; box-shadow: 0 2px 10px rgba(12, 56, 94, .2);
  visibility: hidden; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.gs-lcm.on.peek .gs-lcm-pill, .gs-lcm.on:hover .gs-lcm-pill, .gs-lcm.on:focus-within .gs-lcm-pill { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.gs-lcm-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gs-lcm-link { flex: 0 0 auto; color: #0c385e; font-weight: 600; text-decoration: none; white-space: nowrap; }
.gs-lcm-link:hover, .gs-lcm-link:focus { text-decoration: underline; color: #0c385e; }
/* the room page in the frame plays the sound and is not seen – except its "Start the sound" button when Safari wants a tap */
.gs-lcm-tap { position: fixed; left: -9999px; bottom: 0; width: 1px; height: 1px; overflow: hidden; }
.gs-lcm-tap iframe { display: block; width: 100%; height: 100%; border: 0; }
.gs-lcm.tap .gs-lcm-pill { border-radius: 16px; flex-wrap: wrap; padding: 10px 12px; width: min(280px, calc(100vw - 90px)); }
.gs-lcm.tap .gs-lcm-text { white-space: normal; flex-basis: 100%; }
.gs-lcm.tap .gs-lcm-link { display: none; }
.gs-lcm.tap .gs-lcm-tap { position: static; width: 100%; height: 42px; border-radius: 999px; }
@media (max-width: 480px) { .gs-lcm { left: 12px; bottom: 12px; } }
@media print { .gs-lcm { display: none; } }
