/* Toolbar */
.wlu-toolbar {
  position: absolute;
  z-index: 9999;
  display: none;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--wlu-toolbar-radius, 12px);
  border: 1px solid var(--wlu-toolbar-border, #e5e7eb);
  box-shadow: 0 12px 34px rgba(0,0,0,var(--wlu-toolbar-shadow, .18));
  background: var(--wlu-toolbar-bg, #fff);
  font-size: 14px;
  line-height: 1;
}
.wlu-btn {
  appearance: none;
  border: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--wlu-accent, #ffd34d);
  font-weight: 600;
  cursor: pointer;
  transition: transform .06s ease, filter .2s ease;
}
.wlu-btn:active { transform: translateY(1px); }
.wlu-btn:hover { filter: brightness(0.95); }

/* Underline mode */
.wlu-underline {
  background-image: linear-gradient(
    to bottom,
    transparent calc(100% - (var(--wlu-underline-height-em, .24em) + 1px)),
    var(--wlu-accent, #ffd34d) 0
  );
  background-size: 1px calc(1em + var(--wlu-underline-height-em, .24em));
  background-repeat: repeat-x;
  background-position: 0 100%;
  position: relative;
  padding: 0 .02em;
}

/* Highlight mode */
.wlu-mark {
  background: var(--wlu-highlight-bg, #fff4a3);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.03);
  border-radius: 3px;
  position: relative;
  padding: 0 .1em;
}

/* Delete chip */
.wlu-x {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.wlu-underline:hover .wlu-x,
.wlu-mark:hover .wlu-x { opacity: 1; }

/* Lists */
.wlu-list { list-style: disc; margin-left: 20px; }
.wlu-list .wlu-count { color: #666; font-size: 12px; }
.wlu-on-post { margin-left: 20px; }
