/* BoboEdu: screen-stickers.css
   Placed stickers, selection outlines and the floating sticker editor. */

/* Stickers stuck on the screen */
.stickers {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
}
.stk {
  position: absolute;
  width: min(120px, 28vw);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--s, 1));
}
.stk svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.28));
}
.stickers.editing .stk {
  pointer-events: auto;
  cursor: grab;
}
.stickers.editing .stk:active {
  cursor: grabbing;
}
.stickers.editing .stk.sel {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
  border-radius: 14px;
}
.stickerbar {
  position: fixed;
  left: 12px;
  right: 12px;
  margin: 0 auto;
  width: max-content;
  z-index: 45;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100vw - 24px);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 15px;
}
.stickerbar .lbl {
  color: var(--muted);
}
.stickerbar .btn {
  min-height: 40px;
  padding: 6px 12px;
}
.stickerbar .btn.icon {
  min-width: 44px;
  font-size: 18px;
  line-height: 1;
}
.stickerbar .hint {
  flex-basis: 100%;
  text-align: center;
}
