/* Client issue (2026-12-04): Kelly Hansome -- forum thread page "Share on my timeline" /
   "Pin thread" / "Report" button row (celebisland.com/forums/thread/202) renders as an odd
   light/beige box that does not match the rest of the dark page.

   Real root cause: forum pages (layout/forum/*.phtml) have never been through the CI
   redesign sweep -- there is no ci-forum.css at all, so these buttons still use the legacy
   WoWonder .btn-default class exactly as shipped. style.css sets .btn-default's background
   to a light #ebeef0 (line 72); the only override to a dark background lives in dark.css
   (#3d3d3d), but container.phtml only emits dark.css's <link> when the LEGACY
   `$_COOKIE['mode'] == 'night'` cookie is set (app_start.php defaults that cookie to "day").
   The rest of the page looks dark through an entirely different, newer mechanism --
   tokens.css's :root is dark by default -- which is completely independent of that legacy
   cookie. So for any visitor who never flipped the old night-mode toggle (confirmed live:
   a fresh request gets `set-cookie: mode=day` and dark.css is never linked at all), these
   buttons fall back to style.css's plain light fill while everything around them is dark,
   which is exactly the mismatch in Kelly's screenshot. Every other modernized page avoids
   this because it has its own ci-*.css file restyling .btn-default unconditionally (see
   ci-settings.css's `.wow_sett_content .btn-default` rule) -- forum pages never got one.

   Fix: the same two-property override already used for .btn-default elsewhere in the CI
   redesign (ci-settings.css), scoped to the real forum button instances (Share/Pin/Report
   on showthread.phtml, the Share button on forumdisplay.phtml, and the "Load more" buttons
   on every forum listing page -- same underlying .btn-default class, same bug). Loaded
   unconditionally in container.phtml's <head> alongside the other ci-*.css files, so it
   never depends on the legacy night-mode cookie. */

/* showthread.phtml: Share on my timeline / Pin thread / Report, all three inside the
   thread header's .tag_forum_main_hdr wrapper. */
.tag_forum_main_hdr .btn.btn-default,
/* showthread.phtml: Load more (replies) within an open thread */
#load-thread-replies,
/* showthread.phtml: Report modal's Cancel button */
#report_forum_content .btn-default,
/* mythreads.phtml: Load more (My Threads) */
.forum-posts-load,
/* mymessages.phtml: Load more (My Replies) */
.load-my-replies,
/* members.phtml: Load more (forum members list) */
#forum-mbrs-load,
/* forum.phtml: Load more (forum home/section list) */
#hren,
/* forumdisplay.phtml: Share on my timeline, inside the room header's .wow_thread_head wrapper */
.wow_thread_head .btn.btn-default {
  background: var(--ci-surface-2) !important;
  color: var(--ci-text-2) !important;
}
