/* Havera Outline Icons mapped onto SMF 2.1 icon classes (26 Nov 2026). SMF draws icons as a ::before sprite;
   we swap the sprite for a CSS mask of the SVG so the icon uses the text colour (light/dark, hover). */
.main_icons::before{background-size:auto}
.main_icons.home::before{background:currentColor!important;-webkit-mask:url("../images/icons/home.svg") center/contain no-repeat;mask:url("../images/icons/home.svg") center/contain no-repeat}
.main_icons.search::before{background:currentColor!important;-webkit-mask:url("../images/icons/search.svg") center/contain no-repeat;mask:url("../images/icons/search.svg") center/contain no-repeat}
.main_icons.admin::before{background:currentColor!important;-webkit-mask:url("../images/icons/admin.svg") center/contain no-repeat;mask:url("../images/icons/admin.svg") center/contain no-repeat}
.main_icons.administration::before{background:currentColor!important;-webkit-mask:url("../images/icons/admin.svg") center/contain no-repeat;mask:url("../images/icons/admin.svg") center/contain no-repeat}
.main_icons.moderate::before{background:currentColor!important;-webkit-mask:url("../images/icons/moderate.svg") center/contain no-repeat;mask:url("../images/icons/moderate.svg") center/contain no-repeat}
.main_icons.calendar::before{background:currentColor!important;-webkit-mask:url("../images/icons/calendar.svg") center/contain no-repeat;mask:url("../images/icons/calendar.svg") center/contain no-repeat}
.main_icons.mlist::before{background:currentColor!important;-webkit-mask:url("../images/icons/members.svg") center/contain no-repeat;mask:url("../images/icons/members.svg") center/contain no-repeat}
.main_icons.members::before{background:currentColor!important;-webkit-mask:url("../images/icons/members.svg") center/contain no-repeat;mask:url("../images/icons/members.svg") center/contain no-repeat}
.main_icons.people::before{background:currentColor!important;-webkit-mask:url("../images/icons/members.svg") center/contain no-repeat;mask:url("../images/icons/members.svg") center/contain no-repeat}
.main_icons.help::before{background:currentColor!important;-webkit-mask:url("../images/icons/help.svg") center/contain no-repeat;mask:url("../images/icons/help.svg") center/contain no-repeat}
.main_icons.login::before{background:currentColor!important;-webkit-mask:url("../images/icons/login.svg") center/contain no-repeat;mask:url("../images/icons/login.svg") center/contain no-repeat}
.main_icons.regcenter::before{background:currentColor!important;-webkit-mask:url("../images/icons/register.svg") center/contain no-repeat;mask:url("../images/icons/register.svg") center/contain no-repeat}
.main_icons.signup::before{background:currentColor!important;-webkit-mask:url("../images/icons/register.svg") center/contain no-repeat;mask:url("../images/icons/register.svg") center/contain no-repeat}
.main_icons.logout::before{background:currentColor!important;-webkit-mask:url("../images/icons/logout.svg") center/contain no-repeat;mask:url("../images/icons/logout.svg") center/contain no-repeat}
.main_icons.inbox::before{background:currentColor!important;-webkit-mask:url("../images/icons/messages.svg") center/contain no-repeat;mask:url("../images/icons/messages.svg") center/contain no-repeat}
.main_icons.personal_message::before{background:currentColor!important;-webkit-mask:url("../images/icons/messages.svg") center/contain no-repeat;mask:url("../images/icons/messages.svg") center/contain no-repeat}
.main_icons.pm::before{background:currentColor!important;-webkit-mask:url("../images/icons/messages.svg") center/contain no-repeat;mask:url("../images/icons/messages.svg") center/contain no-repeat}
.main_icons.alerts::before{background:currentColor!important;-webkit-mask:url("../images/icons/alerts.svg") center/contain no-repeat;mask:url("../images/icons/alerts.svg") center/contain no-repeat}
.main_icons.profile::before{background:currentColor!important;-webkit-mask:url("../images/icons/profile.svg") center/contain no-repeat;mask:url("../images/icons/profile.svg") center/contain no-repeat}
.main_icons.profile_sm::before{background:currentColor!important;-webkit-mask:url("../images/icons/profile.svg") center/contain no-repeat;mask:url("../images/icons/profile.svg") center/contain no-repeat}
.main_icons.sticky::before{background:currentColor!important;-webkit-mask:url("../images/icons/topic-sticky.svg") center/contain no-repeat;mask:url("../images/icons/topic-sticky.svg") center/contain no-repeat}
.main_icons.lock::before{background:currentColor!important;-webkit-mask:url("../images/icons/topic-locked.svg") center/contain no-repeat;mask:url("../images/icons/topic-locked.svg") center/contain no-repeat}
.main_icons.poll::before{background:currentColor!important;-webkit-mask:url("../images/icons/topic-poll.svg") center/contain no-repeat;mask:url("../images/icons/topic-poll.svg") center/contain no-repeat}
.main_icons.move::before{background:currentColor!important;-webkit-mask:url("../images/icons/topic-moved.svg") center/contain no-repeat;mask:url("../images/icons/topic-moved.svg") center/contain no-repeat}
.main_icons.replied::before{background:currentColor!important;-webkit-mask:url("../images/icons/topic-mine.svg") center/contain no-repeat;mask:url("../images/icons/topic-mine.svg") center/contain no-repeat}
.main_icons.hot::before{background:currentColor!important;-webkit-mask:url("../images/icons/topic-hot.svg") center/contain no-repeat;mask:url("../images/icons/topic-hot.svg") center/contain no-repeat}
.main_icons.recent_posts::before{background:currentColor!important;-webkit-mask:url("../images/icons/topic.svg") center/contain no-repeat;mask:url("../images/icons/topic.svg") center/contain no-repeat}
.main_icons.posts::before{background:currentColor!important;-webkit-mask:url("../images/icons/topic.svg") center/contain no-repeat;mask:url("../images/icons/topic.svg") center/contain no-repeat}
.main_icons.quote::before{background:currentColor!important;-webkit-mask:url("../images/icons/quote.svg") center/contain no-repeat;mask:url("../images/icons/quote.svg") center/contain no-repeat}
.main_icons.quote_selected::before{background:currentColor!important;-webkit-mask:url("../images/icons/quote.svg") center/contain no-repeat;mask:url("../images/icons/quote.svg") center/contain no-repeat}
.main_icons.reply_button::before{background:currentColor!important;-webkit-mask:url("../images/icons/reply.svg") center/contain no-repeat;mask:url("../images/icons/reply.svg") center/contain no-repeat}
.main_icons.modify_button::before{background:currentColor!important;-webkit-mask:url("../images/icons/edit.svg") center/contain no-repeat;mask:url("../images/icons/edit.svg") center/contain no-repeat}
.main_icons.quick_edit_button::before{background:currentColor!important;-webkit-mask:url("../images/icons/edit.svg") center/contain no-repeat;mask:url("../images/icons/edit.svg") center/contain no-repeat}
.main_icons.remove_button::before{background:currentColor!important;-webkit-mask:url("../images/icons/delete.svg") center/contain no-repeat;mask:url("../images/icons/delete.svg") center/contain no-repeat}
.main_icons.delete::before{background:currentColor!important;-webkit-mask:url("../images/icons/delete.svg") center/contain no-repeat;mask:url("../images/icons/delete.svg") center/contain no-repeat}
.main_icons.split_button::before{background:currentColor!important;-webkit-mask:url("../images/icons/split.svg") center/contain no-repeat;mask:url("../images/icons/split.svg") center/contain no-repeat}
.main_icons.warn_button::before{background:currentColor!important;-webkit-mask:url("../images/icons/report.svg") center/contain no-repeat;mask:url("../images/icons/report.svg") center/contain no-repeat}
.main_icons.error::before{background:currentColor!important;-webkit-mask:url("../images/icons/report.svg") center/contain no-repeat;mask:url("../images/icons/report.svg") center/contain no-repeat}
.main_icons.like::before{background:currentColor!important;-webkit-mask:url("../images/icons/like.svg") center/contain no-repeat;mask:url("../images/icons/like.svg") center/contain no-repeat}
.main_icons.unlike::before{background:currentColor!important;-webkit-mask:url("../images/icons/like.svg") center/contain no-repeat;mask:url("../images/icons/like.svg") center/contain no-repeat}
.main_icons.www::before{background:currentColor!important;-webkit-mask:url("../images/icons/website.svg") center/contain no-repeat;mask:url("../images/icons/website.svg") center/contain no-repeat}
.main_icons.mail::before{background:currentColor!important;-webkit-mask:url("../images/icons/email.svg") center/contain no-repeat;mask:url("../images/icons/email.svg") center/contain no-repeat}
.main_icons.im_on::before{background:currentColor!important;-webkit-mask:url("../images/icons/online.svg") center/contain no-repeat;mask:url("../images/icons/online.svg") center/contain no-repeat}
.main_icons.im_off::before{background:currentColor!important;-webkit-mask:url("../images/icons/offline.svg") center/contain no-repeat;mask:url("../images/icons/offline.svg") center/contain no-repeat}
.main_icons.stats::before{background:currentColor!important;-webkit-mask:url("../images/icons/stats.svg") center/contain no-repeat;mask:url("../images/icons/stats.svg") center/contain no-repeat}
.main_icons.watch::before{background:currentColor!important;-webkit-mask:url("../images/icons/notify.svg") center/contain no-repeat;mask:url("../images/icons/notify.svg") center/contain no-repeat}
.main_icons.notify::before{background:currentColor!important;-webkit-mask:url("../images/icons/notify.svg") center/contain no-repeat;mask:url("../images/icons/notify.svg") center/contain no-repeat}
.main_icons.read_button::before{background:currentColor!important;-webkit-mask:url("../images/icons/mark-read.svg") center/contain no-repeat;mask:url("../images/icons/mark-read.svg") center/contain no-repeat}
.main_icons.print::before{background:currentColor!important;-webkit-mask:url("../images/icons/print.svg") center/contain no-repeat;mask:url("../images/icons/print.svg") center/contain no-repeat}
.main_icons.rss::before{background:currentColor!important;-webkit-mask:url("../images/icons/rss.svg") center/contain no-repeat;mask:url("../images/icons/rss.svg") center/contain no-repeat}
.main_icons.feed::before{background:currentColor!important;-webkit-mask:url("../images/icons/rss.svg") center/contain no-repeat;mask:url("../images/icons/rss.svg") center/contain no-repeat}
.main_icons.attachment::before{background:currentColor!important;-webkit-mask:url("../images/icons/attachment.svg") center/contain no-repeat;mask:url("../images/icons/attachment.svg") center/contain no-repeat}
.main_icons.share::before{background:currentColor!important;-webkit-mask:url("../images/icons/share.svg") center/contain no-repeat;mask:url("../images/icons/share.svg") center/contain no-repeat}
.main_icons.post_options::before{background:currentColor!important;-webkit-mask:url("../images/icons/more.svg") center/contain no-repeat;mask:url("../images/icons/more.svg") center/contain no-repeat}
.main_icons.drafts::before{background:currentColor!important;-webkit-mask:url("../images/icons/edit.svg") center/contain no-repeat;mask:url("../images/icons/edit.svg") center/contain no-repeat}
.main_icons.frenemy::before{background:currentColor!important;-webkit-mask:url("../images/icons/members.svg") center/contain no-repeat;mask:url("../images/icons/members.svg") center/contain no-repeat}
.main_icons.history::before{background:currentColor!important;-webkit-mask:url("../images/icons/calendar.svg") center/contain no-repeat;mask:url("../images/icons/calendar.svg") center/contain no-repeat}
/* Online / offline: colour by state */
.main_icons.im_on::before{color:var(--hv-green)}.main_icons.im_off::before{color:var(--hv-muted)}
/* Main menu: slightly larger icons */
.dropmenu>li>a .main_icons::before{width:18px;height:18px}
/* Board index icons: keep the theme's rounded tile, replace its drawn bubble with the SVG icon.
   SMF 2.1 states: board_on / board_on2 = new posts, board_off = read, board_redirect = link board. */
.board_icon a{background-image:none!important;display:flex!important;align-items:center;justify-content:center;color:var(--hv-green)}
.board_icon a::after{display:none!important}
.board_icon a::before{content:""!important;position:static!important;transform:none!important;border:0!important;width:26px!important;height:26px!important;background:currentColor!important;-webkit-mask:url("../images/icons/board-read.svg") center/contain no-repeat;mask:url("../images/icons/board-read.svg") center/contain no-repeat}
.board_icon a.board_on,.board_icon a.board_on2{background-color:var(--hv-accent-soft)!important;border-color:var(--hv-accent)!important;color:var(--hv-accent)}
.board_icon a.board_on::before,.board_icon a.board_on2::before{-webkit-mask-image:url("../images/icons/board-new.svg");mask-image:url("../images/icons/board-new.svg")}
.board_icon a.board_redirect::before{-webkit-mask-image:url("../images/icons/board-redirect.svg");mask-image:url("../images/icons/board-redirect.svg")}
@media (max-width:720px){.board_icon a::before{width:22px!important;height:22px!important}}
/* Category collapse / expand */
.toggle_up::before,.toggle_down::before{background:currentColor!important;-webkit-mask:url("../images/icons/collapse.svg") center/contain no-repeat;mask:url("../images/icons/collapse.svg") center/contain no-repeat}
.toggle_down::before{-webkit-mask-image:url("../images/icons/expand.svg");mask-image:url("../images/icons/expand.svg")}
/* Theme switch: sun / moon icons instead of text glyphs */
#havera-theme-toggle{font-size:0}
#havera-theme-toggle::before{content:"";width:20px;height:20px;display:block;margin:auto;background:currentColor;-webkit-mask:url("../images/icons/theme-dark.svg") center/contain no-repeat;mask:url("../images/icons/theme-dark.svg") center/contain no-repeat}
:root[data-havera-theme="dark"] #havera-theme-toggle::before{-webkit-mask-image:url("../images/icons/theme-light.svg");mask-image:url("../images/icons/theme-light.svg")}
/* Poster contact icons (website / PM with online state / e-mail): a little larger in the narrow column */
.poster .im_icons .main_icons::before,.poster li .main_icons.www::before,.poster li .main_icons.mail::before{width:19px;height:19px}
.poster .im_icons ul,.poster ul.im_icons{gap:4px 14px;align-items:center}
/* Light Portal menu: Журнал / Форум / Блог (portal reuses SMF icon classes home / im_on / replies) */
.button_portal .main_icons::before{-webkit-mask-image:url("../images/icons/journal.svg")!important;mask-image:url("../images/icons/journal.svg")!important;color:inherit}
.button_home .main_icons::before{background:currentColor!important;color:inherit!important;-webkit-mask:url("../images/icons/forum.svg") center/contain no-repeat!important;mask:url("../images/icons/forum.svg") center/contain no-repeat!important}
.button_blog .main_icons::before{background:currentColor!important;-webkit-mask:url("../images/icons/blog.svg") center/contain no-repeat!important;mask:url("../images/icons/blog.svg") center/contain no-repeat!important}
