/* Line icons drawn with CSS masks (Oct 24, 2026). They replace the Unicode symbols that some phones showed as color
   emoji (heart, menu, close). Each icon takes the text color, so it follows every theme and state. */
.ic,button.menu::after,dialog .close::after,.built-lightbox [data-close]::after,[data-save]::before,#saved-only+span::before{
  content:"";display:inline-block;width:1.05em;height:1.05em;vertical-align:-.16em;background:currentColor;flex:none;
  -webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
button.menu::after{margin-left:.45em;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E")}
dialog .close::after,.built-lightbox [data-close]::after{margin-left:.4em;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")}
[data-save]::before,#saved-only+span::before{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E")}
[data-save][aria-pressed="true"]::before{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E")}
.save-detail::before,#saved-only+span::before{margin-right:.45em}

/* Header "Saved" count (Oct 24, 2026): a small round badge beside the word, hidden until a home is saved. */
.saved-count{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:6px;padding:0 6px;border-radius:999px;
  background:#f5ecd9;color:#33271d;font:600 12px/1 Arial,sans-serif!important;letter-spacing:0!important;vertical-align:1px;box-sizing:border-box}
.saved-count[data-empty]{display:none}
