/* One line-icon family. Decorative SVG never becomes a nested click target. */
.app-ds .ui-icon { width: 20px; height: 20px; stroke-width: 1.8; }
.app-ds .ui-icon, .app-ds .ui-icon * { pointer-events: none; }
.app-ds .btn .ui-icon { width: 18px; height: 18px; }
.app-ds .ad-ic .ui-icon { width: 16px; height: 16px; }
.app-ds .ad-row.ad-skip .ad-ic { color: var(--muted); background: var(--surface-2); }
.app-ds .ad-row.ad-log .ad-ic { color: var(--primary-dark); background: var(--ds-yellow-soft); }
.app-ds .ad-row.ad-chat .ad-ic { color: #fff; background: var(--primary); }
.app-ds .ad-row.ad-cheer .ad-ic { color: var(--primary); background: var(--primary-soft); }
.app-ds .ft-reward-h > .ui-icon { color: var(--primary); vertical-align: -.25em; margin-inline-end: 3px; }
.app-ds .ft-cheers .card-head .ui-icon { color: var(--primary); }
.app-ds .ft-badges .ui-icon { width: 16px; height: 16px; }
.app-ds .month-tag > .ui-icon { vertical-align: middle; }

/* Keep the entire original text node as the translation key. An opaque
   cover and a masked SVG replace only its decorative emoji prefix. */
.app-ds :where(#fb-up, #fb-down, .ui-clock) {
  position: relative;
  --ui-prefix-surface: var(--surface);
}
.app-ds :where(#fb-up, #fb-down, .ui-clock)::before,
.app-ds :where(#fb-up, #fb-down, .ui-clock)::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.app-ds :where(#fb-up, #fb-down)::before {
  width: 1.5em;
  height: 1.5em;
  background: var(--ui-prefix-surface);
}
.app-ds :where(#fb-up, #fb-down)::after {
  width: 1.16em;
  height: 1.16em;
  inset-inline-start: .1em;
  background: currentColor;
  mask: var(--ui-prefix-icon) center / contain no-repeat;
  -webkit-mask: var(--ui-prefix-icon) center / contain no-repeat;
}
.app-ds #fb-up { --ui-prefix-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2010v11H3V10h4ZM7%2020h10a2%202%200%200%200%202-1.6l1.2-7A2%202%200%200%200%2018.2%209H14l.5-4a2%202%200%200%200-3.7-1L7%2010Z%22%2F%3E%3C%2Fsvg%3E"); }
.app-ds #fb-down { --ui-prefix-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2014V3H3v11h4ZM7%204h10a2%202%200%200%201%202%201.6l1.2%207a2%202%200%200%201-2%202.4H14l.5%204a2%202%200%200%201-3.7%201L7%2014Z%22%2F%3E%3C%2Fsvg%3E"); }
.app-ds .step-meta .ui-clock { --ui-prefix-surface: var(--surface-2); --ui-prefix-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2213%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22M12%209v4l3%202M9%202h6M12%202v3M18%205l2%202%22%2F%3E%3C%2Fsvg%3E"); }
.app-ds .step-meta .ui-clock::before {
  inset-inline-start: 7px;
  width: 1.25em;
  height: 1.5em;
  background: var(--ui-prefix-surface);
}
.app-ds .step-meta .ui-clock::after {
  inset-inline-start: 8px;
  width: 1.1em;
  height: 1.1em;
  background: currentColor;
  mask: var(--ui-prefix-icon) center / contain no-repeat;
  -webkit-mask: var(--ui-prefix-icon) center / contain no-repeat;
}
