/* ==========================================================================
   NOVA Gaming Community — MyBB 1.8.4x theme                    nova.css
   Generated from theme/css/src/nova/*.css by tools/build_theme.py

   Order:  00 variables · 05 base · 10 typography · 20 layout · 30 header · 32 navigation
           40 hero · 50 forums + categories · 55 sidebar · 60 cards · 65 forms · 70 modal
           75 posts · 76 profile · 77 members · 78 auth · 80 footer · 85 effects
           90 responsive · 95 animations · 99 utilities
   Page stylesheets (usercp.css, modcp.css, showthread.css, star_ratings.css, thread_status.css)
   replace the stock MyBB files of the same name, so an inherited parent theme can never leak in.

   RULES  1. Dimensions / motion / type live in the mode-independent :root block.
          2. Colours live ONLY in the dark and light blocks (both are complete).
          3. Components read tokens, never literal colours.
   ========================================================================== */

/* ---- 1. Mode-independent tokens (never redefined by the colour mode) ---- */
:root {
	/* Layout: ONE width variable drives header, navigation, hero, content, sidebar, UCP, profile, lists, posts, footer.
	   nova.js sets it from the Forum width setting (fixed px / percent / fluid). */
	--nova-forum-width: 1480px;
	--nova-gutter: 28px;
	--nova-side: 410px;
	--nova-gap: 18px;
	--nova-header-h: 66px;
	--nova-nav-h: 46px;
	--nova-topbar-h: 112px;          /* measured by nova.js; used for sticky offsets */
	--nova-sticky-top: 0px;          /* 0 for a normal header, topbar height for a sticky header */
	--nova-hero-min: 250px;

	/* Appearance switches (set by nova.js) */
	--nova-r: 1;                     /* 1 rounded, 0 square */
	--nova-fs: 14px;                 /* base font size, 12-20px */
	--nova-radius-sm: calc(6px * var(--nova-r));
	--nova-radius-md: calc(10px * var(--nova-r));
	--nova-radius-lg: calc(14px * var(--nova-r));
	--nova-radius-xl: calc(18px * var(--nova-r));
	--nova-radius-pill: calc(999px * var(--nova-r));

	/* Motion */
	--nova-ease: cubic-bezier(.22, .8, .24, 1);
	--nova-dur-fast: 120ms;
	--nova-dur: 180ms;
	--nova-dur-slow: 320ms;
	--nova-transition: var(--nova-dur) var(--nova-ease);

	/* Type */
	--nova-font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--nova-font-display: var(--nova-font);
	--nova-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	/* Stacking order */
	--nova-z-fx: 800;
	--nova-z-top: 880;
	--nova-z-fab: 900;
	--nova-z-topbar: 100;
	--nova-z-dropdown: 120;

	/* Hero artwork (the optional plugin / Custom CSS overrides these) */
	--nova-hero-image: url(../../../images/nova/hero.webp);
	--nova-hero-image-2x: url(../../../images/nova/hero@2x.webp);
	--nova-hero-fallback: #06121f;

	/* Legacy aliases: older rules and third-party Custom CSS keep working. */
	--nova-bg: var(--nova-page-bg);
	--nova-bg-2: var(--nova-surface-2);
	--nova-panel: var(--nova-surface);
	--nova-panel-2: var(--nova-surface-2);
	--nova-card: var(--nova-card-bg);
	--nova-raised: var(--nova-surface-3);
	--nova-accent-2: var(--nova-accent-soft);
	--nova-green: var(--nova-success);
	--nova-wrap: var(--nova-forum-width);
}

/* ---- 2. Dark colours (default) ---- */
:root,
:root[data-nova-theme="dark"] {
	color-scheme: dark;

	--nova-page-bg: #050b14;
	--nova-page-bg-image: radial-gradient(1200px 520px at 50% -140px, rgba(18, 110, 200, .16), transparent 70%);
	--nova-surface: #091522;           /* panels, containers */
	--nova-surface-2: #0b1928;         /* sub-headers, raised strips */
	--nova-surface-3: #10233a;         /* wells, chips, track backgrounds */
	--nova-surface-elevated: #0d1d2f;  /* dropdowns, popovers, modals */
	--nova-forum-bg: #0a1624;          /* forum cards */
	--nova-forum-bg-hover: #0d1c2e;
	--nova-card-bg: #0d1b2a;
	--nova-input-bg: #06101c;
	--nova-code-bg: #040a12;
	--nova-overlay: rgba(2, 6, 12, .72);

	--nova-border: rgba(56, 151, 230, .18);
	--nova-border-strong: rgba(56, 151, 230, .38);
	--nova-divider: rgba(120, 170, 220, .10);
	--nova-row-hover: rgba(var(--nova-accent-rgb), .07);
	--nova-row-alt: rgba(255, 255, 255, .012);

	--nova-text: #f4f8fc;
	--nova-text-secondary: #a7b5c6;
	--nova-text-muted: #7f90a5;

	--nova-accent: var(--acc-d);
	--nova-accent-soft: var(--acc-d2);
	--nova-accent-hover: var(--acc-dh);
	--nova-accent-rgb: var(--acc-drgb);
	--nova-accent-contrast: #ffffff;
	--nova-btn: var(--acc-dbtn);
	--nova-btn-hover: var(--acc-dbtnh);
	--nova-link: var(--acc-dlink);

	--nova-success: #3fe08f;
	--nova-danger: #ff6a80;
	--nova-warning: #ffb84d;
	--nova-success-rgb: 63, 224, 143;
	--nova-danger-rgb: 255, 106, 128;
	--nova-ug-green: #3fe08f;          /* stock usergroup name colours, lifted for dark surfaces */
	--nova-ug-magenta: #ee70f2;
	--nova-ug-red: #ff7389;
	--nova-ug-blue: #78aaff;
	--nova-ug-black: #f4f8fc;
	--nova-hero-line: rgba(255, 255, 255, .22);
	--nova-hero-line-soft: rgba(255, 255, 255, .12);
	--nova-hero-dot: rgba(255, 255, 255, .25);
	--nova-hero-ok: #3fe08f;
	--nova-hero-ok-rgb: 63, 224, 143;
	--nova-text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
	--nova-on-swatch: #04101c;
	--nova-text-shadow-sm: 0 1px 12px rgba(0, 0, 0, .6);
	--nova-xmas-wire: #3b7a5a;
	--nova-xmas-1: #ff4d5e;
	--nova-xmas-2: #ffc94d;
	--nova-xmas-3: #3be39a;
	--nova-xmas-4: #4db5ff;
	--nova-xmas-snow: #f6f9fc;
	--nova-spark: 255, 214, 150;      /* hero sparks: warm white-gold, used as rgb triplet by nova.js */
	--nova-warning-rgb: 255, 184, 77;
	--nova-shine: rgba(255, 255, 255, .28);

	--nova-shadow: 0 20px 50px rgba(0, 0, 0, .35);
	--nova-shadow-sm: 0 6px 18px rgba(0, 0, 0, .28);
	--nova-glow: 0 0 0 1px rgba(var(--nova-accent-rgb), .45), 0 0 18px rgba(var(--nova-accent-rgb), .18);

	/* Header + navigation */
	--nova-header-bg: linear-gradient(180deg, #07111d, #050b14);
	--nova-nav-bg: linear-gradient(180deg, #08131f, #06101b);
	--nova-header-border: var(--nova-border);
	--nova-header-text: #f4f8fc;
	--nova-header-text-2: #c3d2e2;
	--nova-header-text-muted: #9fb4c9;
	--nova-header-field-bg: rgba(2, 8, 16, .62);
	--nova-header-hover: rgba(var(--nova-accent-rgb), .10);

	/* Hero: cinematic and dark in BOTH modes, so its text colours are fixed here on purpose */
	--nova-hero-shade: linear-gradient(90deg, rgba(5, 11, 20, .92) 0%, rgba(5, 11, 20, .62) 46%, rgba(5, 11, 20, .25) 100%),
		linear-gradient(180deg, rgba(5, 11, 20, .15) 0%, rgba(5, 11, 20, 0) 55%, var(--nova-page-bg) 100%);
	--nova-on-hero: #ffffff;
	--nova-on-hero-2: #dce7f2;
	--nova-on-hero-muted: #9fb4c9;
	--nova-hero-glass: rgba(7, 17, 29, .78);
	--nova-hero-glass-2: rgba(5, 11, 20, .55);
}

/* ---- 3. Light colours (independent and complete: no dark value is borrowed) ---- */
:root[data-nova-theme="light"] {
	color-scheme: light;

	--nova-page-bg: #eaf0f7;
	--nova-page-bg-image: radial-gradient(1200px 520px at 50% -140px, rgba(10, 122, 217, .12), transparent 70%);
	--nova-surface: #ffffff;
	--nova-surface-2: #f4f8fc;
	--nova-surface-3: #e8eff7;
	--nova-surface-elevated: #ffffff;
	--nova-forum-bg: #ffffff;
	--nova-forum-bg-hover: #f5f9fd;
	--nova-card-bg: #ffffff;
	--nova-input-bg: #ffffff;
	--nova-code-bg: #f1f6fb;
	--nova-overlay: rgba(10, 30, 60, .45);

	--nova-border: rgba(14, 70, 130, .16);
	--nova-border-strong: rgba(14, 90, 170, .38);
	--nova-divider: rgba(14, 70, 130, .09);
	--nova-row-hover: rgba(var(--nova-accent-rgb), .07);
	--nova-row-alt: rgba(14, 70, 130, .025);

	--nova-text: #0b1a2b;
	--nova-text-secondary: #38506a;
	--nova-text-muted: #475c74;

	--nova-accent: var(--acc-l);
	--nova-accent-soft: var(--acc-l2);
	--nova-accent-hover: var(--acc-lh);
	--nova-accent-rgb: var(--acc-lrgb);
	--nova-accent-contrast: #ffffff;
	--nova-btn: var(--acc-lbtn);
	--nova-btn-hover: var(--acc-lbtnh);
	--nova-link: var(--acc-llink);

	--nova-success: #0a7a48;
	--nova-danger: #c4243b;
	--nova-warning: #8f5a00;
	--nova-success-rgb: 10, 122, 72;
	--nova-danger-rgb: 196, 36, 59;
	--nova-ug-green: #0a7a48;
	--nova-ug-magenta: #a300a3;
	--nova-ug-red: #c4243b;
	--nova-ug-blue: #1a4fd1;
	--nova-ug-black: #0b1a2b;
	--nova-hero-line: rgba(255, 255, 255, .22);
	--nova-hero-line-soft: rgba(255, 255, 255, .12);
	--nova-hero-dot: rgba(255, 255, 255, .25);
	--nova-hero-ok: #3fe08f;
	--nova-hero-ok-rgb: 63, 224, 143;
	--nova-text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
	--nova-on-swatch: #04101c;
	--nova-text-shadow-sm: 0 1px 12px rgba(0, 0, 0, .6);
	--nova-xmas-wire: #3b7a5a;
	--nova-xmas-1: #ff4d5e;
	--nova-xmas-2: #ffc94d;
	--nova-xmas-3: #3be39a;
	--nova-xmas-4: #4db5ff;
	--nova-xmas-snow: #b9cfe4;
	--nova-spark: 255, 214, 150;      /* hero sparks: warm white-gold, used as rgb triplet by nova.js */
	--nova-warning-rgb: 143, 90, 0;
	--nova-shine: rgba(255, 255, 255, .8);

	--nova-shadow: 0 18px 44px rgba(20, 50, 90, .16);
	--nova-shadow-sm: 0 6px 16px rgba(20, 50, 90, .10);
	--nova-glow: 0 0 0 1px rgba(var(--nova-accent-rgb), .5), 0 0 14px rgba(var(--nova-accent-rgb), .14);

	--nova-header-bg: linear-gradient(180deg, #ffffff, #f6f9fd);
	--nova-nav-bg: linear-gradient(180deg, #f6f9fd, #eef3f9);
	--nova-header-border: var(--nova-border);
	--nova-header-text: #0b1a2b;
	--nova-header-text-2: #30475f;
	--nova-header-text-muted: #475c74;
	--nova-header-field-bg: #eef3f9;
	--nova-header-hover: rgba(var(--nova-accent-rgb), .10);

	--nova-hero-shade: linear-gradient(90deg, rgba(4, 12, 24, .88) 0%, rgba(4, 12, 24, .58) 48%, rgba(4, 12, 24, .22) 100%),
		linear-gradient(180deg, rgba(4, 12, 24, .1) 0%, rgba(4, 12, 24, 0) 60%, var(--nova-page-bg) 100%);
	--nova-on-hero: #ffffff;
	--nova-on-hero-2: #dce7f2;
	--nova-on-hero-muted: #b9cbdd;
	--nova-hero-glass: rgba(7, 17, 29, .78);
	--nova-hero-glass-2: rgba(5, 11, 20, .55);
}

:root {
/* Icon masks (generated from tools/icons.py) */
	--nova-ico-home: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M3%2011%2012%203l9%208v9a1%201%200%200%201-1%201h-5v-6H9v6H4a1%201%200%200%201-1-1Z%22/%3E%3C/svg%3E);
	--nova-ico-forum: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M21%2011.5a8.4%208.4%200%200%201-9%208.4%208.6%208.6%200%200%201-3.8-.9L3%2020l1.2-4.5A8.4%208.4%200%200%201%203%2011.5%208.5%208.5%200%200%201%2012%203a8.5%208.5%200%200%201%209%208.5Z%22/%3E%3C/svg%3E);
	--nova-ico-server: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%223%22%20y=%224%22%20width=%2218%22%20height=%226%22%20rx=%221.6%22/%3E%3Crect%20x=%223%22%20y=%2214%22%20width=%2218%22%20height=%226%22%20rx=%221.6%22/%3E%3Cpath%20d=%22M7%207h.01M7%2017h.01%22/%3E%3C/svg%3E);
	--nova-ico-members: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%229%22%20cy=%228%22%20r=%223.4%22/%3E%3Cpath%20d=%22M2.6%2020c.6-3.6%203.2-5.5%206.4-5.5s5.8%201.9%206.4%205.5%22/%3E%3Ccircle%20cx=%2217.4%22%20cy=%229%22%20r=%222.5%22/%3E%3Cpath%20d=%22M17%2014.6c2.4.2%204.2%201.7%204.6%204.4%22/%3E%3C/svg%3E);
	--nova-ico-store: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M3%204h2.5l2.2%2010.2a1.5%201.5%200%200%200%201.5%201.2h8a1.5%201.5%200%200%200%201.4-1L20.5%208H6.2%22/%3E%3Ccircle%20cx=%2210%22%20cy=%2219.5%22%20r=%221.4%22/%3E%3Ccircle%20cx=%2217%22%20cy=%2219.5%22%20r=%221.4%22/%3E%3C/svg%3E);
	--nova-ico-media: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%223%22%20y=%224%22%20width=%2218%22%20height=%2216%22%20rx=%222%22/%3E%3Ccircle%20cx=%229%22%20cy=%2210%22%20r=%221.8%22/%3E%3Cpath%20d=%22m21%2016-5-5-8%208%22/%3E%3C/svg%3E);
	--nova-ico-news: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M6%203h8l4%204v14H6Z%22/%3E%3Cpath%20d=%22M14%203v4h4M9%2012h6M9%2016h6%22/%3E%3C/svg%3E);
	--nova-ico-support: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%223.5%22/%3E%3Cpath%20d=%22m5.6%205.6%203.9%203.9m5%205%203.9%203.9m0-12.8-3.9%203.9m-5%205-3.9%203.9%22/%3E%3C/svg%3E);
	--nova-ico-discord: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%222.5%22%20y=%227%22%20width=%2219%22%20height=%2211%22%20rx=%225%22/%3E%3Cpath%20d=%22M7%2010.5v4M5%2012.5h4M15.5%2011.5h.01M18%2013.5h.01%22/%3E%3C/svg%3E);
	--nova-ico-search: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2211%22%20cy=%2211%22%20r=%227%22/%3E%3Cpath%20d=%22m21%2021-4.3-4.3%22/%3E%3C/svg%3E);
	--nova-ico-plus: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%205v14M5%2012h14%22/%3E%3C/svg%3E);
	--nova-ico-bell: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M6%208a6%206%200%200%201%2012%200c0%207%203%209%203%209H3s3-2%203-9%22/%3E%3Cpath%20d=%22M10.3%2021a1.9%201.9%200%200%200%203.4%200%22/%3E%3C/svg%3E);
	--nova-ico-mail: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%223%22%20y=%225%22%20width=%2218%22%20height=%2214%22%20rx=%222%22/%3E%3Cpath%20d=%22m3%207%209%206%209-6%22/%3E%3C/svg%3E);
	--nova-ico-chevron-down: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m6%209%206%206%206-6%22/%3E%3C/svg%3E);
	--nova-ico-chevron-right: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m9%206%206%206-6%206%22/%3E%3C/svg%3E);
	--nova-ico-chevron-up: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m18%2015-6-6-6%206%22/%3E%3C/svg%3E);
	--nova-ico-chevron-left: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m15%206-6%206%206%206%22/%3E%3C/svg%3E);
	--nova-ico-arrow-right: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M5%2012h14m-6-6%206%206-6%206%22/%3E%3C/svg%3E);
	--nova-ico-arrow-up: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%2019V5m-6%206%206-6%206%206%22/%3E%3C/svg%3E);
	--nova-ico-sun: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%224%22/%3E%3Cpath%20d=%22M12%202v2M12%2020v2M4.9%204.9l1.4%201.4M17.7%2017.7l1.4%201.4M2%2012h2M20%2012h2M4.9%2019.1l1.4-1.4M17.7%206.3l1.4-1.4%22/%3E%3C/svg%3E);
	--nova-ico-moon: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M21%2013.2A8.5%208.5%200%201%201%2010.8%203a6.8%206.8%200%200%200%2010.2%2010.2Z%22/%3E%3C/svg%3E);
	--nova-ico-activity: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M3%2012h4l3-8%204%2016%203-8h4%22/%3E%3C/svg%3E);
	--nova-ico-rules: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M9%204h6v3H9z%22/%3E%3Cpath%20d=%22M7%205H6a1%201%200%200%200-1%201v14a1%201%200%200%200%201%201h12a1%201%200%200%200%201-1V6a1%201%200%200%200-1-1h-1M9%2014l2%202%204-4%22/%3E%3C/svg%3E);
	--nova-ico-menu: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M4%207h16M4%2012h16M4%2017h16%22/%3E%3C/svg%3E);
	--nova-ico-close: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m6%206%2012%2012M18%206%206%2018%22/%3E%3C/svg%3E);
	--nova-ico-user: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%228%22%20r=%224%22/%3E%3Cpath%20d=%22M4%2021c.8-4.2%204-6%208-6s7.2%201.8%208%206%22/%3E%3C/svg%3E);
	--nova-ico-logout: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M9%204H5a1%201%200%200%200-1%201v14a1%201%200%200%200%201%201h4M16%208l4%204-4%204M20%2012H9%22/%3E%3C/svg%3E);
	--nova-ico-settings: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M4%207h10M18%207h2M4%2017h2M10%2017h10%22/%3E%3Ccircle%20cx=%2216%22%20cy=%227%22%20r=%222%22/%3E%3Ccircle%20cx=%228%22%20cy=%2217%22%20r=%222%22/%3E%3C/svg%3E);
	--nova-ico-megaphone: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M3%2011v3a1%201%200%200%200%201%201h2l5%204V6L6%2010H4a1%201%200%200%200-1%201Z%22/%3E%3Cpath%20d=%22M15%209.5a4%204%200%200%201%200%205M18%207a8%208%200%200%201%200%2010%22/%3E%3C/svg%3E);
	--nova-ico-book: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M4%205a2%202%200%200%201%202-2h13v16H6a2%202%200%200%200-2%202Z%22/%3E%3Cpath%20d=%22M4%2021V5M9%207h6%22/%3E%3C/svg%3E);
	--nova-ico-shield: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%203%204.5%206v6c0%204.5%203.1%207.7%207.5%209%204.4-1.3%207.5-4.5%207.5-9V6Z%22/%3E%3C/svg%3E);
	--nova-ico-trophy: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M8%204h8v5a4%204%200%200%201-8%200ZM8%206H4a3%203%200%200%200%203%204M16%206h4a3%203%200%200%201-3%204M12%2013v4M8%2021h8M10%2017h4%22/%3E%3C/svg%3E);
	--nova-ico-lock: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%225%22%20y=%2211%22%20width=%2214%22%20height=%229%22%20rx=%222%22/%3E%3Cpath%20d=%22M8%2011V8a4%204%200%200%201%208%200v3%22/%3E%3C/svg%3E);
	--nova-ico-link: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M10%2014a4%204%200%200%200%205.7%200l3-3a4%204%200%200%200-5.7-5.7l-1%201M14%2010a4%204%200%200%200-5.7%200l-3%203a4%204%200%200%200%205.7%205.7l1-1%22/%3E%3C/svg%3E);
	--nova-ico-gamepad: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%222.5%22%20y=%227%22%20width=%2219%22%20height=%2211%22%20rx=%225%22/%3E%3Cpath%20d=%22M7%2010.5v4M5%2012.5h4M15.5%2011.5h.01M18%2013.5h.01%22/%3E%3C/svg%3E);
	--nova-ico-calendar: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%223.5%22%20y=%225%22%20width=%2217%22%20height=%2215%22%20rx=%222%22/%3E%3Cpath%20d=%22M3.5%2010h17M8%203v4M16%203v4%22/%3E%3C/svg%3E);
	--nova-ico-star: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m12%203%202.7%205.6%206.1.9-4.4%204.3%201%206.1L12%2017l-5.4%202.9%201-6.1L3.2%209.5l6.1-.9Z%22/%3E%3C/svg%3E);
	--nova-ico-wrench: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M14.7%206.3a4%204%200%200%200-5.4%205.2L3.5%2017.3a1.9%201.9%200%200%200%202.7%202.7l5.8-5.8a4%204%200%200%200%205.2-5.4l-2.6%202.6-2.2-.4-.4-2.2Z%22/%3E%3C/svg%3E);
	--nova-ico-youtube: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%222.5%22%20y=%225.5%22%20width=%2219%22%20height=%2213%22%20rx=%224%22/%3E%3Cpath%20d=%22m10%209.5%205%202.5-5%202.5Z%22/%3E%3C/svg%3E);
	--nova-ico-instagram: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%223%22%20y=%223%22%20width=%2218%22%20height=%2218%22%20rx=%225%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%224%22/%3E%3Cpath%20d=%22M17.3%206.7h.01%22/%3E%3C/svg%3E);
	--nova-ico-x: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m4%204%2016%2016M20%204%204%2020%22/%3E%3C/svg%3E);
	--nova-ico-twitch: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M5%203%203%207v13h5v2h3l2-2h4l5-5V3Z%22/%3E%3Cpath%20d=%22M15%208v4M10%208v4%22/%3E%3C/svg%3E);
	--nova-ico-rss: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M5%205a14%2014%200%200%201%2014%2014M5%2011a8%208%200%200%201%208%208%22/%3E%3Ccircle%20cx=%226%22%20cy=%2218%22%20r=%221.2%22/%3E%3C/svg%3E);
	--nova-ico-check: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m5%2012%205%205%209-10%22/%3E%3C/svg%3E);
	--nova-ico-gear: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12.22%202h-.44a2%202%200%200%200-2%202v.18a2%202%200%200%201-1%201.73l-.43.25a2%202%200%200%201-2%200l-.15-.08a2%202%200%200%200-2.73.73l-.22.38a2%202%200%200%200%20.73%202.73l.15.1a2%202%200%200%201%201%201.72v.51a2%202%200%200%201-1%201.74l-.15.09a2%202%200%200%200-.73%202.73l.22.38a2%202%200%200%200%202.73.73l.15-.08a2%202%200%200%201%202%200l.43.25a2%202%200%200%201%201%201.73V20a2%202%200%200%200%202%202h.44a2%202%200%200%200%202-2v-.18a2%202%200%200%201%201-1.73l.43-.25a2%202%200%200%201%202%200l.15.08a2%202%200%200%200%202.73-.73l.22-.39a2%202%200%200%200-.73-2.73l-.15-.08a2%202%200%200%201-1-1.74v-.5a2%202%200%200%201%201-1.74l.15-.09a2%202%200%200%200%20.73-2.73l-.22-.38a2%202%200%200%200-2.73-.73l-.15.08a2%202%200%200%201-2%200l-.43-.25a2%202%200%200%201-1-1.73V4a2%202%200%200%200-2-2z%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%223%22/%3E%3C/svg%3E);
	--nova-ico-dot: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%223%22/%3E%3C/svg%3E);
}
/* ---- Accent presets (generated by tools/accents.py: every filled button >= 4.5:1 with white text, every accent text >= 4.5:1 on its surface) ---- */
:root, :root[data-nova-accent="blue"] { --acc-d: #08a9ff; --acc-d2: #31b7ff; --acc-dh: #31b7ff; --acc-dbtn: #007bc1; --acc-dbtnh: #00649d; --acc-dlink: #1cb0ff; --acc-drgb: 8, 169, 255; --acc-l: #006ead; --acc-l2: #0081cc; --acc-lh: #005b8e; --acc-lbtn: #007bc1; --acc-lbtnh: #00649d; --acc-llink: #006ead; --acc-lrgb: 0, 110, 173; }
:root[data-nova-accent="cyan"] { --acc-d: #12c8ff; --acc-d2: #3bd1ff; --acc-dh: #3bd1ff; --acc-dbtn: #007aa3; --acc-dbtnh: #005f7f; --acc-dlink: #26cdff; --acc-drgb: 18, 200, 255; --acc-l: #007299; --acc-l2: #0089b8; --acc-lh: #005b7a; --acc-lbtn: #007aa3; --acc-lbtnh: #005f7f; --acc-llink: #007299; --acc-lrgb: 0, 114, 153; }
:root[data-nova-accent="teal"] { --acc-d: #19c4b0; --acc-d2: #23e3cc; --acc-dh: #23e3cc; --acc-dbtn: #128578; --acc-dbtnh: #0e665c; --acc-dlink: #1bd6c0; --acc-drgb: 25, 196, 176; --acc-l: #107368; --acc-l2: #148e80; --acc-lh: #0c5850; --acc-lbtn: #128578; --acc-lbtnh: #0e665c; --acc-llink: #107368; --acc-lrgb: 16, 115, 104; }
:root[data-nova-accent="emerald"] { --acc-d: #21d483; --acc-d2: #3de197; --acc-dh: #3de197; --acc-dbtn: #178353; --acc-dbtnh: #126540; --acc-dlink: #2bde8d; --acc-drgb: 33, 212, 131; --acc-l: #157a4e; --acc-l2: #19945f; --acc-lh: #11603d; --acc-lbtn: #178353; --acc-lbtnh: #126540; --acc-llink: #157a4e; --acc-lrgb: 21, 122, 78; }
:root[data-nova-accent="amber"] { --acc-d: #ffb84d; --acc-d2: #ffc876; --acc-dh: #ffc876; --acc-dbtn: #a26100; --acc-dbtnh: #7e4c00; --acc-dlink: #ffc061; --acc-drgb: 255, 184, 77; --acc-l: #985b00; --acc-l2: #b76d00; --acc-lh: #794900; --acc-lbtn: #a26100; --acc-lbtnh: #7e4c00; --acc-llink: #985b00; --acc-lrgb: 152, 91, 0; }
:root[data-nova-accent="orange"] { --acc-d: #ff8a3d; --acc-d2: #ffa366; --acc-dh: #ffa366; --acc-dbtn: #c44e00; --acc-dbtnh: #a04000; --acc-dlink: #ff9651; --acc-drgb: 255, 138, 61; --acc-l: #b04600; --acc-l2: #cf5200; --acc-lh: #913a00; --acc-lbtn: #c44e00; --acc-lbtnh: #a04000; --acc-llink: #b04600; --acc-lrgb: 176, 70, 0; }
:root[data-nova-accent="red"] { --acc-d: #f2506a; --acc-d2: #f5768a; --acc-dh: #f5768a; --acc-dbtn: #e91334; --acc-dbtnh: #c8102d; --acc-dlink: #f3637a; --acc-drgb: 242, 80, 106; --acc-l: #ce102e; --acc-l2: #ea1234; --acc-lh: #b20e28; --acc-lbtn: #e91334; --acc-lbtnh: #c8102d; --acc-llink: #ce102e; --acc-lrgb: 206, 16, 46; }
:root[data-nova-accent="rose"] { --acc-d: #ff6bb0; --acc-d2: #ff94c6; --acc-dh: #ff94c6; --acc-dbtn: #e8006f; --acc-dbtnh: #c4005e; --acc-dlink: #ff7fbb; --acc-drgb: 255, 107, 176; --acc-l: #ca0060; --acc-l2: #e9006f; --acc-lh: #ab0051; --acc-lbtn: #e8006f; --acc-lbtnh: #c4005e; --acc-llink: #ca0060; --acc-lrgb: 202, 0, 96; }
:root[data-nova-accent="violet"] { --acc-d: #9a8cff; --acc-d2: #beb5ff; --acc-dh: #beb5ff; --acc-dbtn: #6d5aff; --acc-dbtnh: #4d36ff; --acc-dlink: #aca0ff; --acc-drgb: 154, 140, 255; --acc-l: #5b46ff; --acc-l2: #7665ff; --acc-lh: #4027ff; --acc-lbtn: #6d5aff; --acc-lbtnh: #4d36ff; --acc-llink: #5b46ff; --acc-lrgb: 91, 70, 255; }
:root[data-nova-accent="fuchsia"] { --acc-d: #d95cf0; --acc-d2: #e281f3; --acc-dh: #e281f3; --acc-dbtn: #bf15dc; --acc-dbtnh: #a312bb; --acc-dlink: #dd6ff2; --acc-drgb: 217, 92, 240; --acc-l: #af13ca; --acc-l2: #c716e6; --acc-lh: #9710ae; --acc-lbtn: #bf15dc; --acc-lbtnh: #a312bb; --acc-llink: #af13ca; --acc-lrgb: 175, 19, 202; }

/* ==========================================================================
   05 RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	background-color: var(--nova-page-bg);
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nova-sticky-top) + 16px);
	scrollbar-gutter: stable;
}

body {
	margin: 0;
	background: var(--nova-page-bg-image), var(--nova-page-bg);
	background-attachment: fixed;
	color: var(--nova-text);
	font-family: var(--nova-font);
	font-size: var(--nova-fs);
	line-height: 1.5;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0 0 .8em; }
img { max-width: 100%; height: auto; border: 0; }
hr { border: 0; border-top: 1px solid var(--nova-divider); margin: 14px 0; height: 0; background: none; }
table { border-collapse: separate; border-spacing: 0; font-size: inherit; }
form { margin: 0; }
::selection { background: rgba(var(--nova-accent-rgb), .35); color: var(--nova-text); }

a:link, a:visited { color: var(--nova-link); text-decoration: none; transition: color var(--nova-transition); }
a:hover, a:active { color: var(--nova-accent-hover); text-decoration: none; }
:focus-visible { outline: 2px solid var(--nova-accent); outline-offset: 2px; border-radius: var(--nova-radius-sm); }

.nova-container { min-width: 0; color: var(--nova-text); text-align: left; overflow-x: clip; font-family: var(--nova-font); }
.nova-content { background: none; padding: 20px 0 24px; overflow: visible; width: auto; }
.nova-page--index .nova-content { padding-top: 0; }
.nova-skip { position: absolute; left: 12px; top: -60px; z-index: calc(var(--nova-z-topbar) + 50); background: var(--nova-btn); color: var(--nova-accent-contrast); padding: 10px 16px; border-radius: var(--nova-radius-md); font-weight: 600; transition: top var(--nova-transition); }
a.nova-skip:link, a.nova-skip:visited { color: var(--nova-accent-contrast); }
.nova-skip:focus { top: 10px; }
.nova-i { width: 1.15em; height: 1.15em; flex: 0 0 auto; stroke: currentColor; fill: none; vertical-align: -0.2em; }
.nova-muted { color: var(--nova-text-muted); }

/* ---- Custom scrollbar: minimal, accent aware, both modes ---- */
html { scrollbar-width: thin; scrollbar-color: rgba(var(--nova-accent-rgb), .55) transparent; }
@supports selector(::-webkit-scrollbar) {
	html { scrollbar-width: auto; scrollbar-color: auto; }
	::-webkit-scrollbar { width: 11px; height: 11px; }
	::-webkit-scrollbar-track { background: var(--nova-page-bg); }
	::-webkit-scrollbar-thumb { background: rgba(var(--nova-accent-rgb), .42); border: 3px solid var(--nova-page-bg); border-radius: var(--nova-radius-pill); background-clip: padding-box; min-height: 40px; transition: background var(--nova-transition); }
	::-webkit-scrollbar-thumb:hover { background: rgba(var(--nova-accent-rgb), .78); background-clip: padding-box; }
	::-webkit-scrollbar-thumb:active { background: var(--nova-accent); background-clip: padding-box; }
	::-webkit-scrollbar-corner { background: transparent; }
	.nova-modal ::-webkit-scrollbar-track { background: transparent; }
	.nova-modal ::-webkit-scrollbar-thumb { border-color: transparent; }
}
.nova-modal * { scrollbar-width: thin; scrollbar-color: rgba(var(--nova-accent-rgb), .5) transparent; }
@supports selector(::-webkit-scrollbar) { .nova-modal * { scrollbar-width: auto; scrollbar-color: auto; } }

/* ==========================================================================
   10 TYPOGRAPHY — Inter (variable, self-hosted, latin + latin-ext incl. Romanian)
   Scale (at the default 14px base, all sizes follow the font-size setting):
     page title 28 · section title 20 · card title 15 · body 14 · meta 12 · micro 10.5
   Weights used: 400 body · 500 UI · 600 titles · 700 numbers and buttons
   ========================================================================== */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(../../../images/nova/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(../../../images/nova/fonts/inter-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body { font-feature-settings: "cv11", "ss03"; font-variant-numeric: normal; }
h1, h2, h3, h4, .nova-brand__name, .nova-hero__title { font-family: var(--nova-font-display); font-weight: 650; letter-spacing: -0.01em; }
strong, b, th { font-weight: 650; }
.smalltext { font-size: calc(var(--nova-fs) * 0.8571); }
.largetext { font-size: calc(var(--nova-fs) * 1.1429); font-weight: 650; }
.nova-num, .nova-stat__value, td[class*="nova"] strong, .pagination a, .nova-badge, .nova-count { font-variant-numeric: tabular-nums; }
code, pre, .codeblock code { font-family: var(--nova-font-mono); }

/* ==========================================================================
   20 LAYOUT — one width variable for the whole site
   --nova-forum-width is set by the Forum width setting (fixed px · percent · fluid).
   Every major container below reads it, so nothing can disagree with the header.
   The hero sits inside .wrapper, so it inherits the same box; only its background layer is full-bleed.
   ========================================================================== */
.nova-header__inner,
.nova-nav__inner,
.nova-footer__inner,
.nova-wrap,
.wrapper {
	width: min(100%, var(--nova-forum-width));
	max-width: 100%;
	min-width: 0;
	margin-inline: auto;
	padding-inline: var(--nova-gutter);
}
.wrapper.nova-wrap { float: none; }

/* Homepage: main column + sidebar. The sidebar is sticky on wide screens (see 55-sidebar). */
.nova-home { display: grid; grid-template-columns: minmax(0, 1fr) var(--nova-side); gap: var(--nova-gap); align-items: start; padding-top: 14px; }
.nova-home__main, .nova-home__side { min-width: 0; }

/* Guest / member visibility without JavaScript (MyBB renders the uid) */
.nova-container[data-nova-uid="0"] .nova-only-member { display: none; }
.nova-container:not([data-nova-uid="0"]) .nova-only-guest { display: none; }
.nova-container[data-nova-regs="1"] .nova-regs { display: none; }

/* ==========================================================================
   30 HEADER — the top bar wraps header + navigation so the pair can be sticky together
   Header position setting:  data-nova-header="sticky"  (default: normal flow)
   ========================================================================== */
.nova-topbar { position: relative; z-index: var(--nova-z-topbar); }
:root[data-nova-header="sticky"] .nova-topbar { position: sticky; top: 0; box-shadow: var(--nova-shadow-sm); }

.nova-header { position: relative; background: var(--nova-header-bg); border-bottom: 1px solid var(--nova-header-border); color: var(--nova-header-text); }
.nova-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--nova-header-h); }

/* Brand */
.nova-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; min-width: 0; text-decoration: none; }
a.nova-brand:link, a.nova-brand:visited { color: var(--nova-header-text); }
.nova-brand__mark { width: 48px; height: 48px; object-fit: contain; display: block; flex: 0 0 auto; filter: drop-shadow(0 0 10px rgba(var(--nova-accent-rgb), .35)); transition: filter var(--nova-transition); }
a.nova-brand:hover .nova-brand__mark { filter: drop-shadow(0 0 14px rgba(var(--nova-accent-rgb), .6)); }
.nova-brand__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.nova-brand__name { font-size: calc(var(--nova-fs) * 1.5); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--nova-header-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.nova-brand__name.is-split { font-size: calc(var(--nova-fs) * 1.8571); max-width: none; }
.nova-brand__sub { margin-top: 5px; font-size: calc(var(--nova-fs) * 0.6786); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--nova-header-text-muted); white-space: nowrap; }

/* Search */
.nova-search { position: relative; display: flex; align-items: center; flex: 0 1 316px; min-width: 150px; margin-left: 26px; }
.nova-search__icon { position: absolute; left: 13px; font-size: calc(var(--nova-fs) * 1.2143); color: var(--nova-header-text-muted); pointer-events: none; }
.nova-search input.nova-search__input, .nova-search input[type="search"] { width: 100%; height: 38px; padding: 0 86px 0 40px; background: var(--nova-header-field-bg); border: 1px solid var(--nova-header-border); border-radius: var(--nova-radius-md); color: var(--nova-header-text); font-size: calc(var(--nova-fs) * 0.9286); -webkit-appearance: none; appearance: none; }
.nova-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.nova-search__input::placeholder { color: var(--nova-header-text-muted); }
.nova-search__input:hover { border-color: var(--nova-border-strong); }
.nova-search input.nova-search__input:focus { border-color: var(--nova-accent); box-shadow: 0 0 0 3px rgba(var(--nova-accent-rgb), .25); }
.nova-search__kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); padding: 3px 7px; font: 600 calc(var(--nova-fs) * 0.75)/1 var(--nova-font); letter-spacing: .06em; color: var(--nova-header-text-muted); background: var(--nova-header-hover); border: 1px solid var(--nova-header-border); border-radius: calc(5px * var(--nova-r)); pointer-events: none; transition: opacity var(--nova-transition); }
.nova-search:focus-within .nova-search__kbd { opacity: .4; }

/* Actions */
.nova-header__actions { margin-left: auto; display: flex; align-items: center; }
.nova-actions { display: flex; align-items: center; gap: 10px; }
.nova-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-radius: var(--nova-radius-md); color: var(--nova-header-text-2); background: transparent; border: 1px solid transparent; cursor: pointer; transition: background var(--nova-transition), border-color var(--nova-transition), color var(--nova-transition); }
a.nova-icon-btn:link, a.nova-icon-btn:visited { color: var(--nova-header-text-2); }
.nova-icon-btn:hover, a.nova-icon-btn:hover { background: var(--nova-header-hover); border-color: var(--nova-border-strong); color: var(--nova-header-text); }
.nova-icon-btn .nova-i { font-size: calc(var(--nova-fs) * 1.4286); }
.nova-badge { position: absolute; top: 1px; right: 0; display: none; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--nova-radius-pill); background: var(--nova-btn); color: var(--nova-accent-contrast); font: 700 calc(var(--nova-fs) * 0.75)/18px var(--nova-font); text-align: center; box-shadow: 0 0 0 2px var(--nova-surface); }
.nova-badge.is-on { display: block; }

/* Light / dark switch */
.nova-theme-toggle { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--nova-header-border); border-radius: var(--nova-radius-pill); background: var(--nova-header-field-bg); margin-left: 4px; }
.nova-theme-toggle__btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: var(--nova-radius-pill); border: 0; background: transparent; color: var(--nova-header-text-muted); cursor: pointer; padding: 0; transition: background var(--nova-transition), color var(--nova-transition); }
.nova-theme-toggle__btn .nova-i { font-size: calc(var(--nova-fs) * 1.1429); }
.nova-theme-toggle__btn:hover { color: var(--nova-header-text); }
.nova-theme-toggle__btn[aria-pressed="true"] { background: rgba(var(--nova-accent-rgb), .2); color: var(--nova-header-text); box-shadow: inset 0 0 0 1px var(--nova-border-strong); }

/* Dropdowns on <details> (work without JavaScript) */
.nova-dd { position: relative; }
.nova-dd > summary { list-style: none; cursor: pointer; }
.nova-dd > summary::-webkit-details-marker { display: none; }
.nova-dd__caret { font-size: calc(var(--nova-fs) * 1); opacity: .8; transition: transform var(--nova-transition); }
.nova-dd[open] > summary .nova-dd__caret { transform: rotate(180deg); }
.nova-dd__menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: var(--nova-z-dropdown); min-width: 210px; padding: 6px; background: var(--nova-surface-elevated); border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-md); box-shadow: var(--nova-shadow); transform-origin: top; animation: nova-menu-in var(--nova-dur) var(--nova-ease); }
.nova-dd__menu--end { left: auto; right: 0; transform-origin: top right; }
.nova-dd__item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--nova-radius-sm); font-size: calc(var(--nova-fs) * 0.9286); font-weight: 500; text-decoration: none; transition: background var(--nova-transition), color var(--nova-transition); }
a.nova-dd__item:link, a.nova-dd__item:visited { color: var(--nova-text-secondary); }
.nova-dd__item .nova-i { font-size: calc(var(--nova-fs) * 1.2143); color: var(--nova-accent); }
a.nova-dd__item:hover, a.nova-dd__item:focus-visible { background: rgba(var(--nova-accent-rgb), .14); color: var(--nova-text); }
a.nova-dd__item--danger .nova-i { color: var(--nova-danger); }
a.nova-dd__item--danger:hover { background: rgba(var(--nova-danger-rgb), .12); }

/* User chip */
.nova-user__btn { display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 4px; border-radius: var(--nova-radius-pill); border: 1px solid transparent; color: var(--nova-header-text); transition: background var(--nova-transition), border-color var(--nova-transition); }
.nova-user__btn:hover, .nova-user[open] .nova-user__btn { background: var(--nova-header-hover); border-color: var(--nova-border-strong); }
.nova-user__meta { display: flex; flex-direction: column; line-height: 1.2; max-width: 130px; }
.nova-user__name { font-size: calc(var(--nova-fs) * 0.9286); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nova-user__status { display: inline-flex; align-items: center; gap: 6px; font-size: calc(var(--nova-fs) * 0.7857); color: var(--nova-header-text-muted); }
.nova-dot { width: 7px; height: 7px; border-radius: calc(50% * var(--nova-r)); background: var(--nova-success); box-shadow: 0 0 8px rgba(var(--nova-success-rgb), .6); display: inline-block; }
.nova-avatar { position: relative; display: inline-block; width: 40px; height: 40px; flex: 0 0 auto; border-radius: calc(50% * var(--nova-r)); overflow: hidden; background: var(--nova-surface-3) url(../../../images/nova/avatar-placeholder.svg) center / cover no-repeat; border: 2px solid rgba(var(--nova-accent-rgb), .55); box-shadow: var(--nova-glow); }
.nova-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nova-avatar--lg { width: 84px; height: 84px; border-radius: var(--nova-radius-xl); }
.nova-menu-toggle { display: none; margin-left: auto; }
.nova-menu-toggle__close { display: none; }
.nova-menu-toggle[aria-expanded="true"] .nova-menu-toggle__open { display: none; }
.nova-menu-toggle[aria-expanded="true"] .nova-menu-toggle__close { display: inline; }

/* ==========================================================================
   32 NAVIGATION
   ========================================================================== */
.nova-nav { position: relative; background: var(--nova-nav-bg); border-bottom: 1px solid var(--nova-header-border); }
.nova-nav__inner { display: flex; align-items: center; gap: 12px; min-height: var(--nova-nav-h); }
.nova-nav__list { display: flex; align-items: stretch; flex: 1 1 0; gap: 2px; margin: 0; padding: 0; list-style: none; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.nova-nav__list::-webkit-scrollbar { display: none; }
.nova-nav__item { display: flex; flex: 0 0 auto; margin: 0; }
.nova-nav__link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: var(--nova-nav-h); padding: 0 14px; font-size: calc(var(--nova-fs) * 0.8929); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: color var(--nova-transition), background var(--nova-transition); }
a.nova-nav__link:link, a.nova-nav__link:visited { color: var(--nova-header-text-2); }
.nova-nav__link .nova-i { font-size: calc(var(--nova-fs) * 1.1429); opacity: .85; transition: color var(--nova-transition), transform var(--nova-transition); }
a.nova-nav__link:hover { color: var(--nova-header-text); background: var(--nova-header-hover); }
a.nova-nav__link:hover .nova-i { transform: translateY(-1px); color: var(--nova-accent); }
.nova-nav__desc { display: none; }
.nova-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--nova-accent); border-radius: calc(2px * var(--nova-r)) calc(2px * var(--nova-r)) 0 0; transform: scaleX(0); transition: transform var(--nova-dur-slow) var(--nova-ease); }
a.nova-nav__link:hover::after { transform: scaleX(.4); }
a.nova-nav__link.is-active, a.nova-nav__link[aria-current="page"] { color: var(--nova-header-text); background: linear-gradient(180deg, transparent, rgba(var(--nova-accent-rgb), .13)); }
.nova-nav__link.is-active .nova-i, .nova-nav__link[aria-current="page"] .nova-i { color: var(--nova-accent); opacity: 1; }
.nova-nav__link.is-active::after, .nova-nav__link[aria-current="page"]::after { transform: scaleX(1); box-shadow: 0 0 12px rgba(var(--nova-accent-rgb), .7); }
.nova-nav__cta { flex: 0 0 auto; }

/* Sub menu: icons only (labels stay for screen readers and tooltips) */
:root[data-nova-subnav="icons"] #nova-nav .nova-nav__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:root[data-nova-subnav="icons"] #nova-nav .nova-nav__link { padding-inline: 18px; }
:root[data-nova-subnav="icons"] #nova-nav .nova-nav__link .nova-i { font-size: calc(var(--nova-fs) * 1.4286); opacity: 1; }
:root[data-nova-subnav="icons"] #nova-nav .nova-nav__link:hover::before { content: attr(title); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: var(--nova-z-dropdown); padding: 5px 10px; background: var(--nova-surface-elevated); color: var(--nova-text); border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-sm); font-size: calc(var(--nova-fs) * 0.8571); letter-spacing: .03em; text-transform: none; font-weight: 600; white-space: nowrap; pointer-events: none; }
:root[data-nova-subnav="icons"] .nova-nav__list { overflow: visible; }

/* ==========================================================================
   40 HERO — cinematic banner, event spotlight, hero sparks
   The hero is dark in both colour modes; its text uses the --nova-on-hero tokens.
   ========================================================================== */
.nova-hero {
	position: relative; isolation: isolate;
	min-height: var(--nova-hero-min);
	color: var(--nova-on-hero);
}
/* full-bleed artwork + bottom rule: drawn as a layer wider than the content box, so the content stays aligned with the rest of the site */
.nova-hero::before {
	content: ""; position: absolute; z-index: -2; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
	background-color: var(--nova-hero-fallback);
	background-image: var(--nova-hero-shade), var(--nova-hero-image);
	background-size: cover; background-position: center 38%; background-repeat: no-repeat;
	border-bottom: 1px solid var(--nova-border);
}
@media (-webkit-min-device-pixel-ratio: 1.6), (min-resolution: 150dpi) {
	.nova-hero::before { background-image: var(--nova-hero-shade), var(--nova-hero-image-2x); }
}
.nova-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 361px); align-items: center; gap: 40px; padding-block: 22px 26px; min-height: var(--nova-hero-min); position: relative; }
.nova-hero__inner:not(:has(.nova-spotlight)) { grid-template-columns: minmax(0, 1fr); }
.nova-hero__copy { max-width: 780px; }
.nova-hero__kicker { margin: 0 0 6px; font-size: calc(var(--nova-fs) * 1); font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--nova-accent-soft); }
.nova-hero__title { margin: 0 0 14px; line-height: .98; text-transform: uppercase; color: var(--nova-on-hero); text-shadow: var(--nova-text-shadow); }
.nova-hero__title-main { display: block; font-size: clamp(38px, 5.2vw, 56px); font-weight: 750; letter-spacing: .01em; overflow-wrap: anywhere; }
.nova-hero__title-sub { display: block; margin-top: 4px; font-size: clamp(22px, 3.2vw, 36px); font-weight: 650; letter-spacing: .035em; color: var(--nova-on-hero-2); }
.nova-hero__text { margin: 0 0 18px; max-width: 560px; font-size: calc(var(--nova-fs) * 0.9643); line-height: 1.6; color: var(--nova-on-hero-2); text-shadow: var(--nova-text-shadow-sm); }
.nova-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nova-hero .nova-btn--ghost { background: var(--nova-hero-glass-2); color: var(--nova-on-hero); border-color: var(--nova-hero-line); }
.nova-hero .nova-btn--ghost:hover { background: rgba(var(--nova-accent-rgb), .22); border-color: var(--nova-accent); }

/* Sparks: a tiny canvas drawn by nova.js (about two dozen points, paused off-screen, disabled for reduced motion) */
.nova-hero__sparks { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: .9; overflow: hidden; }
.nova-hero__sparks canvas { display: block; width: 100%; height: 100%; }
:root[data-nova-sparks="off"] .nova-hero__sparks { display: none; }

/* Event spotlight */
.nova-spotlight { background: var(--nova-hero-glass); border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-lg); padding: 14px 14px 12px; box-shadow: var(--nova-shadow); backdrop-filter: blur(6px); color: var(--nova-on-hero); }
.nova-spotlight__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.nova-spotlight__title { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: calc(var(--nova-fs) * 0.8571); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--nova-on-hero); }
.nova-spotlight__title .nova-i { color: var(--nova-accent-soft); font-size: calc(var(--nova-fs) * 1); }
.nova-tag { display: inline-block; padding: 3px 8px; border-radius: var(--nova-radius-sm); font: 700 calc(var(--nova-fs) * 0.7143)/1.2 var(--nova-font); letter-spacing: .08em; text-transform: uppercase; color: var(--nova-hero-ok); background: rgba(var(--nova-hero-ok-rgb, 63, 224, 143), .12); border: 1px solid rgba(var(--nova-hero-ok-rgb, 63, 224, 143), .35); }
.nova-spotlight__slide { display: none; grid-template-columns: 38% minmax(0, 1fr); gap: 14px; border: 1px solid var(--nova-hero-line-soft); border-radius: var(--nova-radius-md); overflow: hidden; background: var(--nova-hero-glass-2); }
.nova-spotlight__slide.is-active { display: grid; animation: nova-fade var(--nova-dur-slow) var(--nova-ease); }
.nova-spotlight:not(.is-enhanced) .nova-spotlight__slide:first-of-type { display: grid; }
.nova-spotlight__media { min-height: 130px; background: var(--nova-surface-3) url(../../../images/nova/event-placeholder.svg) center / cover no-repeat; }
.nova-spotlight__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nova-spotlight__body { padding: 14px 14px 14px 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.nova-spotlight__name { margin: 0; font-size: calc(var(--nova-fs) * 1.1429); font-weight: 650; color: var(--nova-on-hero); line-height: 1.25; }
.nova-spotlight__date { font-size: calc(var(--nova-fs) * 0.8929); color: var(--nova-on-hero-muted); }
.nova-spotlight__desc { margin: 4px 0 8px; font-size: calc(var(--nova-fs) * 0.8214); line-height: 1.45; color: var(--nova-on-hero-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nova-spotlight__body .nova-btn { align-self: flex-start; padding: 8px 18px; font-size: calc(var(--nova-fs) * 0.8214); }
.nova-spotlight__dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.nova-spotlight__dot { width: 26px; height: 4px; border-radius: var(--nova-radius-sm); border: 0; padding: 0; background: var(--nova-hero-dot); cursor: pointer; transition: background var(--nova-transition), width var(--nova-transition); }
.nova-spotlight__dot.is-active { background: var(--nova-accent-soft); width: 34px; }

/* Header banner switched off by the visitor */
:root[data-nova-hero="off"] .nova-hero { display: none; }
:root[data-nova-hero="off"] .nova-home { padding-top: 22px; }

/* ==========================================================================
   50 FORUMS — categories (collapsible) and forum cards
   Markup: .nova-cat > .nova-cat__head (+ toggle button) + .nova-cat__body > .nova-cat__inner > .nova-forum-row*
   The collapse is animated with grid-template-rows (0fr <-> 1fr); the state is stored by nova.js.
   ========================================================================== */
.nova-forums { display: grid; gap: 24px; margin-bottom: 24px; }

/* ---- Category ---- */
.nova-cat { min-width: 0; }
.nova-cat__head { display: flex; align-items: center; gap: 12px; padding: 0 2px 10px; }
.nova-cat__mark { width: 4px; align-self: stretch; min-height: 28px; flex: 0 0 auto; border-radius: var(--nova-radius-pill); background: linear-gradient(180deg, var(--nova-accent), rgba(var(--nova-accent-rgb), .25)); }
.nova-cat__title { min-width: 0; flex: 1 1 auto; }
.nova-cat__title h2 { font-size: calc(var(--nova-fs) * 0.9286); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nova-cat__title h2 a:link, .nova-cat__title h2 a:visited { color: var(--nova-text); }
.nova-cat__title h2 a:hover { color: var(--nova-accent-hover); }
.nova-cat__desc { margin: 2px 0 0; font-size: calc(var(--nova-fs) * 0.8571); color: var(--nova-text-muted); }
.nova-cat__desc:empty { display: none; }
.nova-cat__toggle { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--nova-border); border-radius: var(--nova-radius-md); background: var(--nova-surface); color: var(--nova-text-secondary); cursor: pointer; transition: background var(--nova-transition), border-color var(--nova-transition), color var(--nova-transition); }
.nova-cat__toggle:hover { border-color: var(--nova-accent); color: var(--nova-accent); background: rgba(var(--nova-accent-rgb), .08); }
.nova-cat__toggle .nova-i { font-size: calc(var(--nova-fs) * 1.2857); transition: transform var(--nova-dur-slow) var(--nova-ease); }
.nova-cat.is-collapsed .nova-cat__toggle .nova-i { transform: rotate(-180deg); }

.nova-cat__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--nova-dur-slow) var(--nova-ease), opacity var(--nova-dur-slow) var(--nova-ease), visibility 0s linear 0s; }
.nova-cat__inner { min-height: 0; overflow: hidden; display: grid; gap: 10px; padding: 2px 2px 4px; margin: -2px; }
.nova-cat.is-collapsed .nova-cat__body { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows var(--nova-dur-slow) var(--nova-ease), opacity var(--nova-dur) var(--nova-ease), visibility 0s linear var(--nova-dur-slow); }
.nova-cat.is-collapsed .nova-cat__head { padding-bottom: 0; }
.nova-cat--sub .nova-cat__head { padding-bottom: 10px; }

/* ---- Forum card ---- */
.nova-forum-row { --nova-col-stats: 168px; --nova-col-last: 280px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--nova-col-stats) var(--nova-col-last); align-items: center; gap: 0 18px; padding: 14px 18px; background: var(--nova-forum-bg); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); transition: background var(--nova-transition), border-color var(--nova-transition), transform var(--nova-transition), box-shadow var(--nova-transition); }
.nova-forum-row::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 var(--nova-radius-sm) var(--nova-radius-sm) 0; background: var(--nova-accent); opacity: 0; transform: scaleY(.4); transition: opacity var(--nova-transition), transform var(--nova-transition); }
.nova-forum-row:hover { background: var(--nova-forum-bg-hover); border-color: var(--nova-border-strong); transform: translateY(-1px); box-shadow: var(--nova-shadow-sm), 0 0 0 1px rgba(var(--nova-accent-rgb), .12); }
.nova-forum-row:hover::before, .nova-forum-row:has(.forum_on)::before { opacity: 1; transform: scaleY(1); }
.nova-forum-row__main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nova-forum-row__text { min-width: 0; }
.nova-forum-row__title { font-size: calc(var(--nova-fs) * 1.0714); font-weight: 650; line-height: 1.3; letter-spacing: -0.005em; }
.nova-forum-row__title a:link, .nova-forum-row__title a:visited { color: var(--nova-text); }
.nova-forum-row__title a:hover { color: var(--nova-accent-hover); }
.nova-forum-row__title .smalltext { margin-left: 8px; font-weight: 400; color: var(--nova-text-muted); }
.nova-forum-row__desc { margin-top: 3px; font-size: calc(var(--nova-fs) * 0.8929); line-height: 1.5; color: var(--nova-text-muted); }
.nova-forum-row__desc a:link, .nova-forum-row__desc a:visited { color: var(--nova-text-secondary); }
.nova-forum-row__desc a:hover { color: var(--nova-accent-hover); }

/* counters: two metric wells */
.nova-forum-row__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nova-forum-row__stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 8px 6px; min-width: 0; background: var(--nova-surface-2); border: 1px solid var(--nova-divider); border-radius: var(--nova-radius-md); text-align: center; }
.nova-forum-row__stat .nova-num { font-size: calc(var(--nova-fs) * 1.0714); font-weight: 700; color: var(--nova-text); line-height: 1.2; white-space: nowrap; }
.nova-forum-row__stat::after { content: attr(data-label); font-size: calc(var(--nova-fs) * 0.7143); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--nova-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nova-forum-row__stat > span:not(.nova-num) { font-size: calc(var(--nova-fs) * 0.7857); color: var(--nova-warning); }

.nova-forum-row__last { min-width: 0; padding-left: 18px; border-left: 1px solid var(--nova-divider); }
.nova-forum-row__subs { grid-column: 1 / -1; min-width: 0; }
.nova-forum-row__subs:empty { display: none; }

/* ---- Forum icon tile: REAL read / unread / locked / redirect state from MyBB ---- */
.forum_status, .nova-forum-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: var(--nova-radius-md); border: 1px solid var(--nova-border); background: linear-gradient(160deg, rgba(var(--nova-accent-rgb), .14), rgba(var(--nova-accent-rgb), .03)); cursor: default; vertical-align: middle; transition: border-color var(--nova-transition), box-shadow var(--nova-transition); }
.forum_status::before { content: ""; width: 24px; height: 24px; background: var(--nova-forum-ico-color, var(--nova-accent)); -webkit-mask: var(--nova-forum-ico, var(--nova-ico-forum)) center / contain no-repeat; mask: var(--nova-forum-ico, var(--nova-ico-forum)) center / contain no-repeat; opacity: .75; transition: opacity var(--nova-transition); }
.forum_on { border-color: var(--nova-border-strong); box-shadow: 0 0 16px rgba(var(--nova-accent-rgb), .2); cursor: pointer; }
.forum_on::before { opacity: 1; }
.forum_on::after { content: ""; position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: calc(50% * var(--nova-r)); background: var(--nova-accent-soft); border: 2px solid var(--nova-forum-bg); box-shadow: 0 0 10px rgba(var(--nova-accent-rgb), .8); }
.forum_offclose { --nova-forum-ico: var(--nova-ico-lock); --nova-forum-ico-color: var(--nova-text-muted); background: var(--nova-surface-3); border-color: var(--nova-divider); }
.forum_offlink { --nova-forum-ico: var(--nova-ico-link); }
.nova-forum-row:has(.nova-lastpost--none) .forum_status:not(.forum_on) { opacity: .72; }
.forum_legend { margin: 6px 0 0; padding: 12px 4px; }
.forum_legend .forum_status { width: 20px; height: 20px; border-radius: var(--nova-radius-sm); }
.forum_legend .forum_status::before { width: 11px; height: 11px; }
.forum_legend .forum_on::after { width: 7px; height: 7px; top: -2px; right: -2px; border-width: 1px; }
.forum_legend dt, .thread_legend dt { display: inline-block; vertical-align: middle; margin: 0; }
.forum_legend dd, .thread_legend dd { margin: 0 14px 0 6px; display: inline-block; color: var(--nova-text-muted); }
.thread_legend { margin: 6px 0 0; padding: 12px 4px; }

/* ---- Subforums: 3-column grid under the forum ---- */
.nova-subgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; margin: 12px 0 2px 62px; padding-top: 12px; border-top: 1px dashed var(--nova-divider); font-size: calc(var(--nova-fs) * 0.8929); color: var(--nova-text-muted); }
.nova-subgrid__label { grid-column: 1 / -1; font-size: calc(var(--nova-fs) * 0.75); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nova-text-muted); }
.nova-sub { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 7px 11px; border: 1px solid var(--nova-divider); border-radius: var(--nova-radius-md); background: rgba(var(--nova-accent-rgb), .04); transition: border-color var(--nova-transition), background var(--nova-transition), transform var(--nova-transition); }
.nova-sub:hover { border-color: var(--nova-border-strong); background: rgba(var(--nova-accent-rgb), .1); transform: translateY(-1px); }
.nova-sub a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.nova-sub a:link, .nova-sub a:visited { color: var(--nova-text-secondary); }
.nova-sub a:hover { color: var(--nova-text); }
.subforumicon { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: calc(50% * var(--nova-r)); background: var(--nova-text-muted); vertical-align: middle; }
.subforum_minion { background: var(--nova-accent-soft); box-shadow: 0 0 8px rgba(var(--nova-accent-rgb), .8); }
.subforum_minioffclose { background: var(--nova-danger); opacity: .7; }
.subforum_miniofflink { background: var(--nova-warning); opacity: .7; }
.nova-sub .subforum_minion + a { color: var(--nova-text); }

/* ---- Last post ---- */
.nova-lastpost { display: flex; align-items: center; gap: 11px; min-width: 0; }
.nova-lastpost__avatar { position: relative; width: 38px; height: 38px; flex: 0 0 auto; border-radius: calc(50% * var(--nova-r)); overflow: hidden; background: rgba(var(--nova-accent-rgb), .08); border: 1px solid var(--nova-border); }
.nova-lastpost__avatar::before { content: ""; position: absolute; inset: 9px; background: var(--nova-accent); opacity: .7; -webkit-mask: var(--nova-ico-user) center / contain no-repeat; mask: var(--nova-ico-user) center / contain no-repeat; }
.nova-lastpost__avatar:has(img)::before { content: none; }
.nova-lastpost__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nova-lastpost__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.nova-lastpost__title { font-size: calc(var(--nova-fs) * 0.8929); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nova-lastpost__title:link, .nova-lastpost__title:visited { color: var(--nova-text); }
.nova-lastpost__title:hover { color: var(--nova-accent-hover); }
.nova-lastpost__meta, .nova-lastpost__date { font-size: calc(var(--nova-fs) * 0.7857); color: var(--nova-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nova-lastpost__meta a:link, .nova-lastpost__meta a:visited { color: var(--nova-text-secondary); }
.nova-lastpost--none { display: block; font-size: calc(var(--nova-fs) * 0.8571); color: var(--nova-text-muted); }

/* ---- Visitor option: forum density and forum icons ---- */
:root[data-nova-density="compact"] .nova-forum-row { padding-block: 8px; }
:root[data-nova-density="compact"] .nova-forums { gap: 16px; }
:root[data-nova-density="compact"] .nova-cat__inner { gap: 6px; }
:root[data-nova-density="compact"] .forum_status { width: 36px; height: 36px; border-radius: var(--nova-radius-sm); }
:root[data-nova-density="compact"] .forum_status::before { width: 19px; height: 19px; }
:root[data-nova-density="compact"] .nova-forum-row__desc { font-size: calc(var(--nova-fs) * 0.8571); }
:root[data-nova-density="compact"] .nova-forum-row__stat { padding-block: 5px; }
:root[data-nova-density="compact"] .nova-lastpost__avatar { width: 30px; height: 30px; }
:root[data-nova-density="compact"] .trow1, :root[data-nova-density="compact"] .trow2 { padding-block: 8px; }
:root[data-nova-icons="off"] .forum_status { width: 12px; height: 12px; border: 0; border-radius: calc(50% * var(--nova-r)); background: var(--nova-text-muted); opacity: .6; box-shadow: none; }
:root[data-nova-icons="off"] .forum_on { background: var(--nova-accent-soft); opacity: 1; box-shadow: 0 0 10px rgba(var(--nova-accent-rgb), .8); }
:root[data-nova-icons="off"] .forum_offclose { background: var(--nova-danger); }
:root[data-nova-icons="off"] .forum_status::before, :root[data-nova-icons="off"] .forum_status::after { display: none; }
:root[data-nova-icons="off"] .forum_legend .forum_status { width: 10px; height: 10px; }
:root[data-nova-icons="off"] .nova-forum-row__main { gap: 14px; }
:root[data-nova-icons="off"] .nova-subgrid { margin-left: 26px; }

/* ==========================================================================
   55 SIDEBAR — sticky on wide screens, stacked below the content on tablet / mobile
   Sticky is pure CSS: it sticks below the (optionally sticky) top bar, stays inside .nova-home
   (so it can never overlap the footer) and scrolls internally if it is taller than the viewport.
   ========================================================================== */
.nova-home__side { display: flex; flex-direction: column; gap: var(--nova-gap); align-self: start; position: sticky; top: calc(var(--nova-sticky-top) + 16px); max-height: calc(100vh - var(--nova-sticky-top) - 32px); max-height: calc(100dvh - var(--nova-sticky-top) - 32px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 2px; margin: -2px; scrollbar-width: thin; }
.nova-home__side > * { flex: 0 0 auto; min-width: 0; }
:root[data-nova-sticky-side="off"] .nova-home__side { position: static; max-height: none; overflow: visible; }
:root[data-nova-sidebar="off"] .nova-home__side { display: none; }
:root[data-nova-sidebar="off"] .nova-home { grid-template-columns: minmax(0, 1fr); }

/* Widgets (sidebar) ------------------------------------------------------------------------------------ */
.nova-widget { background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); overflow: hidden; }
.nova-widget__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 0; }
.nova-widget__head h2 { display: inline-flex; align-items: center; gap: 9px; font-size: calc(var(--nova-fs) * 0.8571); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--nova-text); }
.nova-widget__head h2 .nova-i { color: var(--nova-accent); font-size: calc(var(--nova-fs) * 1.0714); }
.nova-widget__more { font-size: calc(var(--nova-fs) * 0.8214); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nova-widget__body { padding: 14px 18px 18px; }

.nova-userpanel__profile { display: flex; align-items: center; gap: 16px; }
.nova-userpanel__id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nova-userpanel__name { font-size: calc(var(--nova-fs) * 1.2857); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.nova-userpanel__name:link, .nova-userpanel__name:visited { color: var(--nova-text); }
.nova-userpanel__group { display: inline-block; align-self: flex-start; padding: 3px 9px; font-size: calc(var(--nova-fs) * 0.75); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nova-accent); background: rgba(var(--nova-accent-rgb), .1); border: 1px solid var(--nova-border-strong); border-radius: calc(4px * var(--nova-r)); }
.nova-userpanel .nova-user__status { color: var(--nova-text-muted); }
.nova-userpanel__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 16px 0; padding: 12px 0; border-block: 1px solid var(--nova-divider); }
.nova-userpanel__facts > div { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.nova-userpanel__facts > div + div { padding-left: 16px; border-left: 1px solid var(--nova-divider); }
.nova-userpanel__facts dt { font-size: calc(var(--nova-fs) * 0.75); letter-spacing: .09em; text-transform: uppercase; color: var(--nova-text-muted); }
.nova-userpanel__facts dd { margin: 0; font-size: calc(var(--nova-fs) * 1.2857); font-weight: 700; font-variant-numeric: tabular-nums; }
.nova-userpanel__actions { display: grid; gap: 10px; }
.nova-userpanel__member .nova-userpanel__actions { grid-template-columns: 1fr 1fr; }
.nova-userpanel__member .nova-userpanel__actions .nova-btn:first-child { grid-column: 1 / -1; }
.nova-userpanel__welcome { font-size: calc(var(--nova-fs) * 1.1429); font-weight: 700; margin-bottom: 4px; }

/* News widget (filled by the optional nova_theme plugin from a news forum) ------------------------------- */
.nova-news__list { margin: 0; padding: 4px 18px 14px; list-style: none; }
.nova-news__item { display: flex; align-items: center; gap: 14px; padding: 9px 0; }
.nova-news__item + .nova-news__item { border-top: 1px solid var(--nova-divider); }
.nova-news__thumb { width: 64px; height: 48px; flex: 0 0 auto; border-radius: calc(6px * var(--nova-r)); overflow: hidden; background: var(--nova-surface-3) url(../../../images/nova/news-placeholder.svg) center / cover; border: 1px solid var(--nova-border); }
.nova-news__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nova-news__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nova-news__title { font-size: calc(var(--nova-fs) * 0.9286); font-weight: 600; line-height: 1.3; }
.nova-news__title:link, .nova-news__title:visited { color: var(--nova-text); }
.nova-news__title:hover { color: var(--nova-accent-hover); }
.nova-news__date { font-size: calc(var(--nova-fs) * 0.8214); color: var(--nova-text-muted); }

/* Server status widget (only rendered when a real data source is registered) -------------------------------- */
.nova-servers__list { margin: 0; padding: 12px 18px 16px; list-style: none; display: grid; gap: 12px; }
.nova-server { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 14px; border: 1px solid var(--nova-border); border-radius: var(--nova-radius-md); background: var(--nova-surface-2); }
.nova-server__name { font-weight: 700; font-size: calc(var(--nova-fs) * 1); }
.nova-server__game { grid-column: 1; font-size: calc(var(--nova-fs) * 0.8214); color: var(--nova-text-muted); }
.nova-server__state { grid-row: 1; grid-column: 2; font-size: calc(var(--nova-fs) * 0.7857); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nova-success); }
.nova-server__state.is-off { color: var(--nova-danger); }
.nova-server__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: calc(var(--nova-fs) * 0.8571); color: var(--nova-text-secondary); font-variant-numeric: tabular-nums; }
.nova-server__actions { grid-column: 1 / -1; margin-top: 6px; }


/* Sidebar lists (latest threads, top posters) + misc ------------------------------------------------------------- */
.nova-list, .nova-rank { margin: 0; padding: 6px 18px 14px; list-style: none; }
.nova-list__item { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; }
.nova-list__item + .nova-list__item, .nova-rank__item + .nova-rank__item { border-top: 1px solid var(--nova-divider); }
.nova-list__title { font-size: calc(var(--nova-fs) * 0.9286); font-weight: 600; line-height: 1.35; }
.nova-list__title:link, .nova-list__title:visited { color: var(--nova-text); }
.nova-list__title:hover { color: var(--nova-accent-hover); }
.nova-list__meta { font-size: calc(var(--nova-fs) * 0.8214); color: var(--nova-text-muted); }
.nova-rank__item { display: grid; grid-template-columns: 22px 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; }
.nova-rank__n { font-size: calc(var(--nova-fs) * 0.8571); font-weight: 800; color: var(--nova-text-muted); text-align: center; font-variant-numeric: tabular-nums; }
.nova-rank__item:nth-child(-n + 3) .nova-rank__n { color: var(--nova-accent); }
.nova-rank__name { font-size: calc(var(--nova-fs) * 0.9286); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nova-rank__count { font-size: calc(var(--nova-fs) * 0.8571); font-weight: 700; color: var(--nova-text-secondary); font-variant-numeric: tabular-nums; }
.nova-widget .nova-people { padding: 0; }
.nova-widget .nova-person__name small { display: block; margin: 0; }
.nova-count { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: calc(999px * var(--nova-r)); background: rgba(var(--nova-accent-rgb), .14); color: var(--nova-accent); font-size: calc(var(--nova-fs) * 0.7857); font-weight: 700; letter-spacing: 0; }
.nova-stat__link { display: flex; align-items: center; gap: 12px; color: inherit !important; width: 100%; }
.nova-stat:has(.nova-stat__link) { padding: 0; }
.nova-stat__link { padding: 12px 18px; }

/* ==========================================================================
   60 CARDS — statistics bar, info cards (online / legend / birthdays), people chips,
              group legend, partner marquee, quick links
   ========================================================================== */
/* Statistics -------------------------------------------------------------------------------------- */
.nova-stats { background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); margin-bottom: 18px; }
.nova-stats__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.nova-stat { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-width: 0; position: relative; }
.nova-stat + .nova-stat::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--nova-divider); }
.nova-stat__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: calc(10px * var(--nova-r)); border: 1px solid var(--nova-border); background: rgba(var(--nova-accent-rgb), .07); color: var(--nova-accent); }
.nova-stat__icon .nova-i { font-size: calc(var(--nova-fs) * 1.5714); }
.nova-stat__body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.nova-stat__value { font-size: calc(var(--nova-fs) * 1.0714); font-weight: 700; color: var(--nova-text); font-variant-numeric: tabular-nums; }
.nova-stat__label { margin-top: 3px; font-size: calc(var(--nova-fs) * 0.75); letter-spacing: .07em; text-transform: uppercase; color: var(--nova-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nova-stat.is-empty { display: none; }

/* Info cards ----------------------------------------------------------------------------------------- */
.nova-info { margin-bottom: 18px; }
.nova-info__grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 18px; align-items: stretch; }
.nova-card { display: flex; flex-direction: column; min-width: 0; background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); overflow: hidden; }
.nova-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 14px 18px; border-bottom: 1px solid var(--nova-divider); background: linear-gradient(180deg, var(--nova-surface-2), var(--nova-surface)); }
.nova-card__head h2 { display: inline-flex; align-items: center; gap: 9px; font-size: calc(var(--nova-fs) * 0.8571); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--nova-text); }
.nova-card__head h2 .nova-i { color: var(--nova-accent); font-size: calc(var(--nova-fs) * 1.1429); }
.nova-card__more { font-size: calc(var(--nova-fs) * 0.75); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.nova-card__body { padding: 14px 18px 18px; flex: 1 1 auto; }
.nova-card__note { margin: 0 0 12px; font-size: calc(var(--nova-fs) * 0.8571); color: var(--nova-text-muted); }
.nova-card__body > .nova-card__note:last-child { margin: 0; }
.nova-card--birthdays:not(.nova-card--nobday) ~ .nova-card--nobday { display: none; }
.nova-info__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 12px 6px 0; font-size: calc(var(--nova-fs) * 0.8571); color: var(--nova-text-muted); }
.nova-info__links a { margin-left: 12px; }
.nova-info__stats a:link, .nova-info__stats a:visited { font-weight: 600; }

/* People chips (names + avatars). font-size:0 hides MyBB's comma separators between items. */
.nova-people { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0; line-height: 0; }
.nova-people > * { font-size: calc(var(--nova-fs) * 0.8929); line-height: 1.3; }
.nova-people--stack { flex-direction: column; flex-wrap: nowrap; }
.nova-person { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 4px 12px 4px 4px; border-radius: calc(999px * var(--nova-r)); background: rgba(var(--nova-accent-rgb), .06); border: 1px solid var(--nova-divider); transition: border-color var(--nova-transition), background var(--nova-transition), transform var(--nova-transition); }
a.nova-person:hover, .nova-person:hover { border-color: var(--nova-border-strong); background: rgba(var(--nova-accent-rgb), .12); }
.nova-person__av { position: relative; display: inline-block; width: 28px; height: 28px; flex: 0 0 auto; border-radius: calc(50% * var(--nova-r)); overflow: hidden; background: var(--nova-surface-3) url(../../../images/nova/avatar-placeholder.svg) center / cover no-repeat; border: 1.5px solid rgba(var(--nova-accent-rgb), .5); }
.nova-person__av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nova-person__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.nova-person__name small { margin-left: 5px; font-size: calc(var(--nova-fs) * 0.7857); font-weight: 500; color: var(--nova-text-muted); }
.nova-card--birthdays .nova-person { position: relative; padding-right: 14px; }
.nova-card--birthdays .nova-person__av { border-color: var(--nova-warning); box-shadow: 0 0 0 3px rgba(var(--nova-warning-rgb), .14); animation: nova-bday 2.6s ease-in-out infinite; }
.nova-people__more { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: calc(999px * var(--nova-r)); border: 1px dashed var(--nova-border-strong); color: var(--nova-text-muted); font-size: calc(var(--nova-fs) * 0.8571); font-weight: 600; }
.nova-card--online .nova-people { align-content: flex-start; }

/* Group legend (markup supplied by the optional nova_theme plugin) ----------------------------------------- */
.nova-legend { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nova-legend__item { --i: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border: 1px solid var(--nova-divider); border-radius: var(--nova-radius-md); background: rgba(var(--nova-accent-rgb), .035); opacity: 0; transform: translateX(-10px); animation: nova-rise .55s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); transition: border-color var(--nova-transition), background var(--nova-transition), transform var(--nova-transition); }
.nova-legend__item:hover { border-color: var(--nova-border-strong); background: rgba(var(--nova-accent-rgb), .1); transform: translateX(3px); }
.nova-legend__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: calc(10px * var(--nova-r)); color: var(--nova-accent); background: rgba(var(--nova-accent-rgb), .1); border: 1px solid var(--nova-border); overflow: hidden; }
.nova-legend__icon .nova-i { font-size: calc(var(--nova-fs) * 1.2857); transition: transform .3s ease; }
.nova-legend__item:hover .nova-legend__icon .nova-i { transform: scale(1.18) rotate(-6deg); }
.nova-legend__icon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, var(--nova-shine) 50%, transparent 65%); transform: translateX(-120%); animation: nova-shine 5.5s ease-in-out infinite; animation-delay: calc(var(--i) * 450ms + 1.2s); }
.nova-legend__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(var(--nova-fs) * 0.9286); font-weight: 700; }
.nova-legend__count { padding: 2px 9px; border-radius: calc(999px * var(--nova-r)); background: var(--nova-surface-2); border: 1px solid var(--nova-divider); font-size: calc(var(--nova-fs) * 0.7857); font-weight: 700; color: var(--nova-text-muted); font-variant-numeric: tabular-nums; }


/* Partner communities: continuous right-to-left marquee --------------------------------------------------------- */
.nova-partners { display: flex; align-items: center; gap: 0; margin-bottom: 18px; background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); overflow: hidden; }
.nova-partners__label { flex: 0 0 auto; padding: 0 20px; align-self: stretch; display: inline-flex; align-items: center; font-size: calc(var(--nova-fs) * 0.75); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nova-text-muted); border-right: 1px solid var(--nova-divider); background: linear-gradient(90deg, var(--nova-surface-2), var(--nova-surface)); }
.nova-partners__viewport { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); }
.nova-partners__rail { display: flex; width: max-content; animation: nova-marquee var(--nova-marquee-time, 38s) linear infinite; will-change: transform; }
.nova-partners__list { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; margin: 0; padding: 0 7px; list-style: none; }
.nova-partner { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 8px; border: 1px solid var(--nova-border); border-radius: calc(999px * var(--nova-r)); background: rgba(var(--nova-accent-rgb), .045); font-size: calc(var(--nova-fs) * 0.9286); font-weight: 700; letter-spacing: .02em; white-space: nowrap; color: var(--nova-text) !important; transition: border-color var(--nova-transition), background var(--nova-transition), box-shadow var(--nova-transition); }
a.nova-partner:hover { border-color: var(--nova-accent); background: rgba(var(--nova-accent-rgb), .12); box-shadow: var(--nova-glow); }
.nova-partner__logo { width: 28px; height: 28px; border-radius: calc(50% * var(--nova-r)); object-fit: cover; background: var(--nova-surface-3); border: 1px solid var(--nova-border); flex: 0 0 auto; }
.nova-partner__mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: calc(50% * var(--nova-r)); background: rgba(var(--nova-accent-rgb), .16); color: var(--nova-accent); font-size: calc(var(--nova-fs) * 0.8571); font-weight: 800; border: 1px solid var(--nova-border); flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) {
	.nova-partners__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.nova-partners__rail { animation: none; width: auto; }
	.nova-legend__item { opacity: 1; transform: none; animation: none; }
	.nova-legend__icon::after { animation: none; }
}


/* Quick links -------------------------------------------------------------------------------------------- */
.nova-quick { background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); margin-bottom: 18px; }
.nova-quick__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.nova-quick .nova-nav__item { position: relative; }
.nova-quick .nova-nav__item + .nova-nav__item::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--nova-divider); }
.nova-quick .nova-nav__link { display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-areas: "i l" "i d"; align-items: center; column-gap: 12px; row-gap: 1px; width: 100%; height: auto; padding: 16px 16px; color: var(--nova-text) !important; letter-spacing: .06em; font-size: calc(var(--nova-fs) * 0.8214); }
.nova-quick .nova-nav__link .nova-i { grid-area: i; font-size: calc(var(--nova-fs) * 2); color: var(--nova-accent); opacity: 1; justify-self: center; }
.nova-quick .nova-nav__label { grid-area: l; align-self: end; }
.nova-quick .nova-nav__desc { grid-area: d; display: block; align-self: start; font-size: calc(var(--nova-fs) * 0.7857); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--nova-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nova-quick .nova-nav__link:hover { background: var(--nova-row-hover); color: var(--nova-text) !important; }
.nova-quick .nova-nav__link.is-active::after, .nova-quick .nova-nav__link[aria-current="page"]::after { display: none; }

/* ==========================================================================
   65 FORMS + LEGACY MYBB COMPONENTS
   MyBB's own classes (tborder, thead, tcat, trow1/2, button, textbox, popup_menu ...) restyled with tokens so
   every stock template and third-party plugin page follows the colour mode.
   ========================================================================== */
/* ---- Forms ------------------------------------------------------------- */
input.textbox, input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="number"], input[type="search"], input[type="date"],
textarea, select, .textbox {
	background: var(--nova-input-bg);
	color: var(--nova-text);
	border: 1px solid var(--nova-border);
	border-radius: var(--nova-radius-md);
	padding: 8px 11px;
	font: inherit;
	font-size: calc(var(--nova-fs) * 0.9286);
	line-height: 1.4;
	max-width: 100%;
	transition: border-color var(--nova-transition), box-shadow var(--nova-transition);
}
textarea { width: 100%; resize: vertical; min-height: 90px; }
select { padding-right: 28px; }
input.textbox:hover, textarea:hover, select:hover { border-color: var(--nova-border-strong); }
input.textbox:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="search"]:focus, textarea:focus, select:focus {
	outline: none; border-color: var(--nova-accent); box-shadow: 0 0 0 3px rgba(var(--nova-accent-rgb), .22);
}
::placeholder { color: var(--nova-text-muted); opacity: 1; }
input.textbox.error, input.error, textarea.error, select.error { border-color: var(--nova-danger); }
input.valid, textarea.valid, select.valid { border-color: var(--nova-success); }
label.error { color: var(--nova-danger); font-size: calc(var(--nova-fs) * 0.8571); display: block; margin-top: 4px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--nova-accent); width: 15px; height: 15px; vertical-align: -3px; }
fieldset { border: 1px solid var(--nova-border); border-radius: var(--nova-radius-md); padding: 12px 14px; margin: 0 0 10px; background: var(--nova-surface-2); min-width: 0; }
fieldset legend { padding: 0 6px; font-weight: 600; color: var(--nova-text); }
fieldset.trow2, fieldset.trow1 { background: var(--nova-surface-2); }
fieldset.align_right { text-align: right; }

/* ---- Buttons: .nova-btn, MyBB's .button / input buttons ---- */
.nova-btn, input.button, button.button, a.button, input[type="submit"], input[type="button"], input[type="reset"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--nova-btn); color: var(--nova-accent-contrast);
	border: 1px solid transparent; border-radius: var(--nova-radius-sm);
	padding: 8px 16px; font: inherit; font-size: calc(var(--nova-fs) * 0.8929); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background var(--nova-transition), box-shadow var(--nova-transition), border-color var(--nova-transition), transform var(--nova-transition);
}
a.nova-btn:link, a.nova-btn:visited, a.button:link, a.button:visited { color: var(--nova-accent-contrast); text-decoration: none; }
.nova-btn:hover, input.button:hover, button.button:hover, a.button:hover, input[type="submit"]:hover, input[type="button"]:hover, a.nova-btn:hover { background: var(--nova-btn-hover); box-shadow: var(--nova-glow); color: var(--nova-accent-contrast); }
.nova-btn:active, input.button:active, a.button:active, input[type="submit"]:active { transform: translateY(1px); }
a.button span { display: inline; padding: 0; background: none; }
a.button.small_button, input.button.small_button { padding: 5px 10px; font-size: calc(var(--nova-fs) * 0.8214); }
input[type="reset"], input.button.secondary, a.nova-btn.nova-btn--ghost, a.nova-btn.nova-btn--outline, button.nova-btn--ghost, .nova-btn.nova-btn--ghost, .nova-btn.nova-btn--outline, summary.nova-btn--outline {
	background: rgba(var(--nova-accent-rgb), .06); color: var(--nova-text); border-color: var(--nova-border-strong);
}
a.nova-btn.nova-btn--ghost:link, a.nova-btn.nova-btn--ghost:visited, a.nova-btn.nova-btn--outline:link, a.nova-btn.nova-btn--outline:visited { color: var(--nova-text); }
input[type="reset"]:hover, input.button.secondary:hover, .nova-btn.nova-btn--ghost:hover, .nova-btn.nova-btn--outline:hover, a.nova-btn.nova-btn--ghost:hover { background: rgba(var(--nova-accent-rgb), .14); border-color: var(--nova-accent); box-shadow: none; color: var(--nova-text); }
.nova-header .nova-btn--ghost, .nova-header .nova-btn--outline { color: var(--nova-header-text); }
a.nova-header .nova-btn--ghost:link { color: var(--nova-header-text); }
.nova-btn--sm { padding: 7px 14px; font-size: calc(var(--nova-fs) * 0.8571); }
.nova-btn--lg { padding: 13px 22px; font-size: calc(var(--nova-fs) * 0.9286); }
.nova-btn--block { display: flex; width: 100%; }
.nova-btn .nova-i { font-size: calc(var(--nova-fs) * 1.1429); }
input[disabled], button[disabled] { opacity: .5; cursor: not-allowed; }
/* ---- Legacy MyBB table classes become NOVA panels ------------------------ */
.tborder {
	width: 100%; background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg);
	overflow: hidden; margin: 0 0 18px; box-shadow: var(--nova-shadow-sm);
}
.tfixed { table-layout: fixed; word-wrap: break-word; }
.thead {
	background: linear-gradient(180deg, var(--nova-surface-2), var(--nova-surface)); color: var(--nova-text);
	padding: 13px 18px; border-bottom: 1px solid var(--nova-border); font-size: calc(var(--nova-fs) * 0.9286); letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
	position: relative;
}
.thead strong, .thead .smalltext { font-size: calc(var(--nova-fs) * 0.9286); font-weight: 700; }
.thead:first-child::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--nova-accent); border-radius: 0 calc(3px * var(--nova-r)) calc(3px * var(--nova-r)) 0; }
.thead a:link, .thead a:visited { color: var(--nova-text); }
.thead a:hover { color: var(--nova-accent-hover); }
.thead select { font-size: calc(var(--nova-fs) * 0.8571); padding: 4px 8px; }
.tcat { background: var(--nova-surface-2); color: var(--nova-text-muted); padding: 9px 18px; border-bottom: 1px solid var(--nova-divider); font-size: calc(var(--nova-fs) * 0.7857); letter-spacing: .09em; text-transform: uppercase; font-weight: 700; }
.tcat a:link, .tcat a:visited { color: var(--nova-text-secondary); }
.tcat .smalltext, .tcat strong { font-size: calc(var(--nova-fs) * 0.7857); }
.trow1, .trow2, .trow_shaded, .trow_sep { padding: 12px 18px; border-bottom: 1px solid var(--nova-divider); color: var(--nova-text); background: transparent; }
.trow2, .trow_shaded { background: var(--nova-row-alt); }
.trow_sep { background: var(--nova-surface-2); color: var(--nova-text-secondary); font-weight: 600; }
tr:last-child > .trow1, tr:last-child > .trow2, tr:last-child > td.trow1 { border-bottom: 0; }
tr.inline_row:hover > td, tr.trow_hover:hover > td { background: var(--nova-row-hover); }
td.no_bottom_border { border-bottom: 0; }
tr.trow_selected td, td.trow_selected { background: rgba(var(--nova-accent-rgb), .12); color: var(--nova-text); }
.tfoot { background: var(--nova-surface-2); color: var(--nova-text-secondary); padding: 10px 18px; border-top: 1px solid var(--nova-border); }
.tfoot a:link, .tfoot a:visited { color: var(--nova-link); }
.bottommenu { background: var(--nova-surface-2); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-md); color: var(--nova-text-secondary); padding: 10px 14px; }
.largetext { font-size: calc(var(--nova-fs) * 1.1429); font-weight: 700; }
.selectall { background: var(--nova-surface-2); border-bottom: 1px solid var(--nova-divider); }
.separator { margin: 5px 0; padding: 0; height: 0; border: 0; border-top: 1px solid var(--nova-divider); }
.scaleimages img { max-width: 100%; }
img.attachment { border: 1px solid var(--nova-border); border-radius: var(--nova-radius-sm); padding: 2px; }
.smilie, .smilie_pointer { vertical-align: middle; }
.highlight, .subject_new { font-weight: 700; }
.highlight { background: rgba(var(--nova-warning-rgb), .2); color: inherit; padding: 0 2px; border-radius: calc(3px * var(--nova-r)); }

/* ---- Messages ------------------------------------------------------------ */
.pm_alert, .red_alert, .high_warning, .moderate_warning, .low_warning, .imminent_banned, .high_banned, .moderate_banned, .low_banned,
div.error, .success_message, .error_message {
	border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-md); background: var(--nova-surface-2);
	padding: 11px 16px; margin: 0 0 16px; color: var(--nova-text); font-size: calc(var(--nova-fs) * 0.9286);
}
.pm_alert { border-left: 3px solid var(--nova-accent); }
.pm_alert .float_right img { filter: invert(.8); }
.red_alert, .high_warning, .imminent_banned, .high_banned, div.error, .error_message { border-left: 3px solid var(--nova-danger); background: rgba(var(--nova-danger-rgb), .08); }
.moderate_warning, .moderate_banned, .low_warning, .low_banned { border-left: 3px solid var(--nova-warning); background: rgba(var(--nova-warning-rgb), .08); }
.success_message { border-left: 3px solid var(--nova-success); background: rgba(var(--nova-success-rgb), .08); }
.red_alert a:link, .red_alert a:visited { color: var(--nova-danger); font-weight: 700; }
div.error { padding: 12px 16px; }
div.error p { margin: 0 0 6px; }
div.error p em { font-weight: 700; font-style: normal; color: var(--nova-danger); }
div.error ul { margin: 6px 0 0; padding-left: 22px; }
.offline { color: var(--nova-text-muted); }

/* ---- Breadcrumb ---------------------------------------------------------- */
.navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 0 0 16px; font-size: calc(var(--nova-fs) * 0.8929); color: var(--nova-text-secondary); }
.navigation a:link, .navigation a:visited { color: var(--nova-text-secondary); }
.navigation a:hover { color: var(--nova-accent-hover); }
.navigation .active { color: var(--nova-text); font-weight: 600; }
.nova-crumb-sep { color: var(--nova-text-muted); }
.nova-page--index .navigation { display: none; }

/* ---- Pagination ---------------------------------------------------------- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0; font-size: calc(var(--nova-fs) * 0.8929); color: var(--nova-text-muted); }
.tcat .pagination, .thead .pagination { margin: 0; }
.pagination .pages { margin-right: 6px; font-weight: 600; }
.pagination a:link, .pagination a:visited, .pagination .pagination_current {
	display: inline-flex; min-width: 32px; height: 32px; padding: 0 10px; align-items: center; justify-content: center;
	border: 1px solid var(--nova-border); border-radius: var(--nova-radius-sm); background: var(--nova-surface); color: var(--nova-text-secondary);
	text-decoration: none; font-weight: 600; transition: all var(--nova-transition);
}
.pagination a:hover { border-color: var(--nova-accent); color: var(--nova-text); background: rgba(var(--nova-accent-rgb), .12); }
.pagination .pagination_current, .pagination a.pagination_current:link, .pagination a.pagination_current:visited { background: var(--nova-btn); border-color: transparent; color: var(--nova-accent-contrast); }
.pagination .go_page img, .pagination_breadcrumb_link { cursor: pointer; filter: invert(.75); }
.drop_go_page, .pagination_breadcrumb { background: var(--nova-surface-2); border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-md); padding: 10px; box-shadow: var(--nova-shadow); }
.thread_legend dd, .forum_legend dd { margin: 0 14px 0 6px; display: inline-block; color: var(--nova-text-muted); }
.forum_legend, .thread_legend { margin: 6px 0 0; padding: 12px 4px; }

/* ---- Quote / code ---------------------------------------------------------- */
blockquote { margin: 12px 0; padding: 10px 16px; background: var(--nova-surface-2); border: 1px solid var(--nova-border); border-left: 3px solid var(--nova-accent); border-radius: var(--nova-radius-md); color: var(--nova-text-secondary); }
blockquote cite { display: block; font-style: normal; font-weight: 700; color: var(--nova-text); border-bottom: 1px solid var(--nova-divider); padding-bottom: 6px; margin-bottom: 8px; font-size: calc(var(--nova-fs) * 0.8929); }
blockquote cite > span { float: right; font-weight: 400; font-size: calc(var(--nova-fs) * 0.8214); color: var(--nova-text-muted); }
blockquote cite span.highlight { float: none; font-weight: 700; }
.codeblock { background: var(--nova-code-bg); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-md); margin: 12px 0; padding: 0; overflow: hidden; }
.codeblock .title { background: var(--nova-surface-2); border-bottom: 1px solid var(--nova-border); padding: 7px 14px; font-weight: 700; font-size: calc(var(--nova-fs) * 0.8214); letter-spacing: .06em; text-transform: uppercase; color: var(--nova-text-muted); }
.codeblock code { display: block; padding: 12px 14px; overflow: auto; max-height: 420px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: calc(var(--nova-fs) * 0.8929); color: var(--nova-text); white-space: pre; }

/* ---- Popup menus / modal / jGrowl ------------------------------------------ */
.popup_menu { background: var(--nova-surface-2); border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-md); box-shadow: var(--nova-shadow); padding: 6px; z-index: 9000; }
.popup_menu .popup_item_container { margin: 0; }
.popup_menu .popup_item { display: block; padding: 7px 12px; border-radius: var(--nova-radius-sm); color: var(--nova-text-secondary); font-size: calc(var(--nova-fs) * 0.9286); }
.popup_menu .popup_item:hover, .popup_menu a.popup_item:hover { background: rgba(var(--nova-accent-rgb), .14); color: var(--nova-text); }
.modal { background: var(--nova-surface); color: var(--nova-text); border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-lg); padding: 0; box-shadow: var(--nova-shadow); max-width: 520px; width: 92%; overflow: hidden; }
.modal a.close-modal { top: 10px; right: 10px; }
.blocker { background-color: var(--nova-overlay); }
.jGrowl .jGrowl-notification, .jGrowl .jGrowl-closer { background: var(--nova-surface-2) !important; color: var(--nova-text) !important; border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-md); box-shadow: var(--nova-shadow); }
.jGrowl-notification .jGrowl-header { color: var(--nova-accent); font-weight: 700; }
.spinner, .modal_spinner { filter: hue-rotate(160deg); }

/* ---- Polls ------------------------------------------------------------------ */
.pollbar { background: linear-gradient(90deg, var(--nova-btn), var(--nova-accent-soft)); height: 10px; border-radius: calc(6px * var(--nova-r)); border: 0; min-width: 2px; }
.pollbar .percent { display: none; }
.poll_votedfor { font-weight: 700; color: var(--nova-accent); }
.quick_jump { background: none; width: 16px; height: 16px; display: inline-block; vertical-align: middle; }
.posticons_label { font-weight: 700; }

/* ---- Reputation / warnings -------------------------------------------------- */
.reputation_positive, ._plus { color: var(--nova-success); font-weight: 700; }
.reputation_negative, ._minus { color: var(--nova-danger); font-weight: 700; }
.reputation_neutral, ._neutral { color: var(--nova-text-muted); font-weight: 700; }
.trow_reputation_positive { background: rgba(var(--nova-success-rgb), .08); }
.trow_reputation_negative { background: rgba(var(--nova-danger-rgb), .08); }
.repbox { font-size: calc(var(--nova-fs) * 1.1429); padding: 4px 8px; border-radius: var(--nova-radius-sm); border: 1px solid var(--nova-border); }

/* ---- Editor (SCEditor) -------------------------------------------------------- */
.editor, .sceditor-container { border: 1px solid var(--nova-border) !important; border-radius: var(--nova-radius-md) !important; background: var(--nova-input-bg) !important; }
.sceditor-container iframe, .sceditor-container textarea { background: var(--nova-input-bg) !important; color: var(--nova-text) !important; }
.sceditor-toolbar { background: var(--nova-surface-2) !important; border-bottom: 1px solid var(--nova-border) !important; }
.sceditor-button:hover, .sceditor-button.active { background: rgba(var(--nova-accent-rgb), .18) !important; border-color: var(--nova-border-strong) !important; }
.sceditor-button div { filter: invert(.82) hue-rotate(180deg); }
.sceditor-dropdown { background: var(--nova-surface-2) !important; border: 1px solid var(--nova-border-strong) !important; color: var(--nova-text) !important; border-radius: var(--nova-radius-md); }
.sceditor-dropdown a { color: var(--nova-text) !important; }
.sceditor-dropdown a:hover { background: rgba(var(--nova-accent-rgb), .16) !important; }
.sceditor-container.sourceMode, .sceditor-container .sceditor-group { background: none !important; }
.editor_control_bar { background: var(--nova-surface-2); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-sm); padding: 6px; }

/* ---- Select2 (used by multi-selects in ModCP / UserCP) ---------------------------- */
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple, .select2-dropdown, .select2-search--dropdown .select2-search__field {
	background: var(--nova-input-bg); border-color: var(--nova-border); color: var(--nova-text);
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--nova-text); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--nova-btn); }
.select2-container--default .select2-selection--multiple .select2-selection__choice { background: var(--nova-surface-2); border-color: var(--nova-border-strong); color: var(--nova-text); }

/* Select2 v3 (memberlist, send PM, ModCP) */
.select2-container .select2-choice, .select2-container-multi .select2-choices { background: var(--nova-input-bg) !important; border: 1px solid var(--nova-border) !important; border-radius: var(--nova-radius-md) !important; color: var(--nova-text) !important; box-shadow: none !important; background-image: none !important; }
.select2-container .select2-choice .select2-arrow { background: transparent !important; border-left: 1px solid var(--nova-border) !important; }
.select2-container .select2-choice > .select2-chosen, .select2-container-multi .select2-choices .select2-search-field input { color: var(--nova-text) !important; }
.select2-container-multi .select2-choices .select2-search-choice { background: var(--nova-surface-2) !important; border: 1px solid var(--nova-border-strong) !important; color: var(--nova-text) !important; box-shadow: none !important; }
.select2-drop, .select2-drop-active { background: var(--nova-surface-2) !important; color: var(--nova-text) !important; border: 1px solid var(--nova-border-strong) !important; box-shadow: var(--nova-shadow) !important; }
.select2-search input, .select2-drop .select2-input { background: var(--nova-input-bg) !important; color: var(--nova-text) !important; border: 1px solid var(--nova-border) !important; }
.select2-results .select2-result-label { color: var(--nova-text); }
.select2-results .select2-highlighted { background: var(--nova-btn) !important; color: var(--nova-accent-contrast) !important; }
.select2-results .select2-no-results, .select2-results .select2-searching { background: transparent !important; color: var(--nova-text-muted); }
/* ---- Debug (only shown when board debug is on) --------------------------------------- */
#debug { font-size: calc(var(--nova-fs) * 0.7857); color: var(--nova-text-muted); padding: 12px 0; text-align: center; }

/* ---- Stock usergroup name colours were designed for light pages: map them to mode-aware tokens (inline styles force !important) ---- */
span[style*="color: green"], span[style*="color:green"] { color: var(--nova-ug-green) !important; }
span[style*="color: #CC00CC"], span[style*="color: #cc00cc"], span[style*="color:#CC00CC"] { color: var(--nova-ug-magenta) !important; }
span[style*="color: red"], span[style*="color:red"] { color: var(--nova-ug-red) !important; }
span[style*="color: blue"], span[style*="color: #0000FF"], span[style*="color: #0000ff"] { color: var(--nova-ug-blue) !important; }
span[style*="color: #000000"], span[style*="color: black"] { color: var(--nova-ug-black) !important; }
.online { color: var(--nova-success); font-weight: 700; }

/* ---- Links inside running text are underlined (WCAG 1.4.1: not distinguished by colour alone) ---- */
.pm_alert a, .red_alert a, .nova-profile__status a, fieldset a, .smalltext a, .post_body a, .signature a, td > a:not([class]), p a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(var(--nova-accent-rgb), .45); }
.thead a, .tcat a, .nova-nav a, .nova-footer a, .popup_menu a, a.button, .pagination a, .nova-forum-row a, .nova-lastpost a, .navigation a, .postbit_buttons a, .nova-sub a, .nova-person a, .nova-widget a, .nova-card a, .nova-ucp-nav a, .nova-member a, .thread_legend a { text-decoration: none; }
.thread_legend .nova-legend-item { display: inline-block; margin: 0 14px 0 0; color: var(--nova-text-muted); }
.thread_legend .nova-legend-item .thread_status { margin-right: 6px; }

/* Browser autofill must not paint white boxes in dark mode */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill {
	-webkit-text-fill-color: var(--nova-text);
	caret-color: var(--nova-text);
	box-shadow: 0 0 0 1000px var(--nova-input-bg) inset;
	transition: background-color 9999s ease-out 0s;
}

/* ---- MyBB's own expander (img.expander) on pages that keep the stock markup ---- */
.expcolimage { position: relative; width: 26px; height: 26px; flex: 0 0 auto; float: right; }
.expcolimage::before { content: ""; position: absolute; inset: 3px; background: var(--nova-text-muted); -webkit-mask: var(--nova-ico-chevron-down) center / contain no-repeat; mask: var(--nova-ico-chevron-down) center / contain no-repeat; transition: transform var(--nova-transition), background var(--nova-transition); pointer-events: none; }
.expcolimage:hover::before { background: var(--nova-accent); }
.expcolimage img.expander { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.thead_collapsed .expcolimage::before, .tcat_collapse_collapsed .expcolimage::before { transform: rotate(-90deg); }
.thead_collapsed { border-bottom-color: transparent; }

/* ==========================================================================
   70 MODAL — theme settings dialog, floating settings button, MyBB's quick-login modal
   The settings dialog has a FIXED size and fixed UI typography (it does not follow the font-size
   setting), so changing a setting can never resize or move it. It is a native <dialog>:
   one element, one backdrop, focus trap and Esc handling by the browser.
   ========================================================================== */
.nova-fab { position: fixed; right: 22px; bottom: 22px; z-index: var(--nova-z-fab); display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 0; border-radius: 50%; border: 1px solid var(--nova-border-strong); background: var(--nova-surface-elevated); color: var(--nova-accent); cursor: pointer; box-shadow: var(--nova-shadow); transition: transform var(--nova-transition), background var(--nova-transition), color var(--nova-transition); }
.nova-fab .nova-i { width: 24px; height: 24px; transition: transform var(--nova-dur-slow) var(--nova-ease); }
.nova-fab:hover { background: var(--nova-btn); color: var(--nova-accent-contrast); transform: translateY(-2px); }
.nova-fab:hover .nova-i { transform: rotate(90deg); }
.nova-fab:focus-visible { outline-offset: 3px; }

html.nova-modal-open { overflow: hidden; }

.nova-modal { box-sizing: border-box; padding: 0; margin: auto; border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-lg); background: var(--nova-surface-elevated); color: var(--nova-text); width: min(580px, calc(100vw - 24px)); height: min(720px, calc(100vh - 24px)); height: min(720px, calc(100dvh - 24px)); max-width: none; max-height: none; overflow: hidden; box-shadow: 0 0 0 100vmax var(--nova-overlay); font: 400 13px/1.45 var(--nova-font); }
.nova-modal[open] { display: flex; flex-direction: column; }
.nova-modal.nova-enter { animation: nova-pop var(--nova-dur-slow) var(--nova-ease); }
.nova-modal.is-closing { animation: nova-pop-out var(--nova-dur) var(--nova-ease) forwards; }
.nova-modal::backdrop { background: transparent; }
.nova-modal { filter: none; }
.nova-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto; padding: 16px 20px; border-bottom: 1px solid var(--nova-border); background: var(--nova-surface-2); }
.nova-modal__head h2 { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; }
.nova-modal__head h2 .nova-i { color: var(--nova-accent); font-size: 20px; }
.nova-modal__close { color: var(--nova-text-secondary); border-color: var(--nova-border); background: transparent; }
.nova-modal__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 8px; }
.nova-modal__foot { display: flex; justify-content: space-between; gap: 10px; flex: 0 0 auto; padding: 14px 20px; border-top: 1px solid var(--nova-border); background: var(--nova-surface-2); }
.nova-modal .nova-btn { font-size: 12px; }

.nova-set { padding: 14px 0; }
.nova-set + .nova-set { border-top: 1px solid var(--nova-divider); }
.nova-set__title { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nova-text-muted); }
.nova-set__row { padding: 7px 0; }
.nova-set__label { margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--nova-text-secondary); }
.nova-set__hint { margin: 8px 0 0; font-size: 12px; color: var(--nova-warning); }

.nova-segs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 3px; border: 1px solid var(--nova-border); border-radius: var(--nova-radius-md); background: var(--nova-input-bg); }
.nova-seg { padding: 8px 10px; border: 0; border-radius: calc(var(--nova-radius-md) - calc(2px * var(--nova-r))); background: transparent; color: var(--nova-text-secondary); font: 600 13px var(--nova-font); cursor: pointer; transition: background var(--nova-transition), color var(--nova-transition); }
.nova-seg:hover { color: var(--nova-text); background: rgba(var(--nova-accent-rgb), .08); }
.nova-seg[aria-pressed="true"] { background: var(--nova-btn); color: var(--nova-accent-contrast); box-shadow: var(--nova-shadow-sm); }

.nova-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.nova-swatch { position: relative; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: var(--swatch); cursor: pointer; box-shadow: 0 0 0 1px var(--nova-border-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--nova-on-swatch); transition: transform var(--nova-transition), box-shadow var(--nova-transition); }
.nova-swatch .nova-i { width: 17px; height: 17px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity var(--nova-transition), transform var(--nova-transition); }
.nova-swatch:hover { transform: scale(1.08); }
.nova-swatch[aria-pressed="true"] { border-color: var(--nova-surface-elevated); box-shadow: 0 0 0 2px var(--swatch), 0 0 14px var(--swatch); }
.nova-swatch[aria-pressed="true"] .nova-i { opacity: 1; transform: none; }
.nova-swatch--custom { background: conic-gradient(#ff5a5a, #ffd24d, #4dff88, #4dd2ff, #8f6bff, #ff5ad2, #ff5a5a); }
.nova-custom { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.nova-custom[hidden] { display: none; }
.nova-custom input[type="color"] { width: 44px; height: 34px; padding: 2px; border-radius: var(--nova-radius-sm); cursor: pointer; }
.nova-custom input[type="text"] { width: 110px; font: 600 13px var(--nova-font-mono); text-transform: uppercase; }
.nova-custom__msg { font-size: 12px; color: var(--nova-danger); }

/* iOS-style switches */
.nova-switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; padding: 3px 0; }
.nova-switch__text { font-size: 13.5px; font-weight: 500; color: var(--nova-text); }
.nova-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nova-switch__track { position: relative; flex: 0 0 auto; width: 48px; height: 28px; border-radius: 999px; background: var(--nova-surface-3); border: 1px solid var(--nova-border-strong); transition: background .22s ease, border-color .22s ease; }
.nova-switch__track::after { content: ""; position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--nova-text); box-shadow: var(--nova-shadow-sm); transition: transform .24s var(--nova-ease), background .22s ease; }
.nova-switch input:checked + .nova-switch__track { background: var(--nova-btn); border-color: var(--nova-btn); }
.nova-switch input:checked + .nova-switch__track::after { transform: translateX(20px); background: var(--nova-accent-contrast); }
.nova-switch input:focus-visible + .nova-switch__track { outline: 2px solid var(--nova-accent); outline-offset: 2px; }
.nova-switch input:disabled + .nova-switch__track { opacity: .45; }

/* font-size slider */
.nova-range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--nova-text-secondary); }
.nova-range__top output { font-weight: 700; color: var(--nova-accent); font-variant-numeric: tabular-nums; }
.nova-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; padding: 0; border: 0; border-radius: 6px; background: linear-gradient(90deg, var(--nova-accent) var(--fill, 25%), var(--nova-surface-3) var(--fill, 25%)); cursor: pointer; }
.nova-range:focus { box-shadow: none; }
.nova-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--nova-text); border: 3px solid var(--nova-accent); box-shadow: var(--nova-shadow-sm); cursor: grab; }
.nova-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--nova-text); border: 3px solid var(--nova-accent); box-shadow: var(--nova-shadow-sm); cursor: grab; }
.nova-range:focus-visible { outline: 2px solid var(--nova-accent); outline-offset: 6px; }
.nova-range__ticks { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 6px; color: var(--nova-text-muted); line-height: 1; }

/* MyBB's own quick-login modal (jquery.modal) */
.modal { background: var(--nova-surface-elevated); color: var(--nova-text); border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-lg); padding: 0; box-shadow: var(--nova-shadow); max-width: 520px; width: 92%; overflow: hidden; display: none; }
.modal .tborder { margin: 0; border: 0; box-shadow: none; border-radius: 0; }
.modal a.close-modal { top: 10px; right: 10px; }

/* ==========================================================================
   75 POSTS — thread list, topic view, postbit, topic header, polls, attachments
   ========================================================================== */
/* ---- Thread list (forumdisplay / search / UserCP subscriptions) --------------------------------- */
.thread_status { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: calc(9px * var(--nova-r)); background: rgba(var(--nova-accent-rgb), .05); border: 1px solid var(--nova-divider); font-size: 0; vertical-align: middle; }
.thread_status::before { content: ""; width: 16px; height: 16px; background: var(--nova-text-muted); -webkit-mask: var(--nova-ico-forum) center / contain no-repeat; mask: var(--nova-ico-forum) center / contain no-repeat; }
.thread_status[class*="new"] { border-color: var(--nova-border-strong); background: rgba(var(--nova-accent-rgb), .12); box-shadow: 0 0 12px rgba(var(--nova-accent-rgb), .18); }
.thread_status[class*="new"]::before { background: var(--nova-accent); }
.thread_status[class*="hot"]::before { -webkit-mask-image: var(--nova-ico-star); mask-image: var(--nova-ico-star); }
.thread_status[class*="close"]::before { -webkit-mask-image: var(--nova-ico-lock); mask-image: var(--nova-ico-lock); }
.thread_status.movefolder::before { -webkit-mask-image: var(--nova-ico-arrow-right); mask-image: var(--nova-ico-arrow-right); }
.thread_status[class*="dot_"]::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 9px; height: 9px; border-radius: calc(50% * var(--nova-r)); background: var(--nova-success); border: 2px solid var(--nova-surface); }
.thread_start_datetime { color: var(--nova-text-muted); }
.inline_row .author a, td .author { color: var(--nova-text-secondary); }
.lastpost.smalltext { color: var(--nova-text-muted); }
.subject_new a:link, .subject_new a:visited, .subject_new a { font-weight: 700; }
.threadlist_sticky, .forumdisplay_sticky { background: rgba(var(--nova-accent-rgb), .045); }
.sticky_prefix, .thread_prefix { color: var(--nova-accent); font-weight: 700; }
td.forumdisplay_regular, td.forumdisplay_sticky { border-bottom: 1px solid var(--nova-divider); }
img.attachment_icon, .attachment_count img { filter: invert(.55); }
.nova-page--forumdisplay .tborder td img[src*="icons/"], .nova-page--search_results_threads .tborder td img[src*="icons/"] { vertical-align: middle; }

/* ---- Topic view (postbit) ----------------------------------------------------------------------- */
div#posts_container { padding: 0; background: transparent; }
#posts { display: block; }
.post { display: grid; grid-template-columns: 216px minmax(0, 1fr); grid-template-areas: "author content" "author controls"; background: var(--nova-surface); border-bottom: 1px solid var(--nova-border); position: relative; }
.post:last-child { border-bottom: 0; }
.post_author { grid-area: author; padding: 20px 16px; text-align: center; background: linear-gradient(180deg, var(--nova-surface-2), var(--nova-surface)); border-right: 1px solid var(--nova-divider); border-bottom: 0; float: none; width: auto; min-width: 0; overflow-wrap: anywhere; }
.post.classic .post_author { border-right: 1px solid var(--nova-divider); }
.post .post_author div.author_avatar { float: none; margin: 0 auto 12px; }
.post .post_author div.author_avatar img { width: 88px; height: 88px; max-width: 100%; object-fit: cover; border-radius: calc(18px * var(--nova-r)); border: 2px solid rgba(var(--nova-accent-rgb), .5); box-shadow: 0 0 18px rgba(var(--nova-accent-rgb), .2); padding: 0; background: var(--nova-surface-3); }
.post .post_author div.author_information { float: none; padding: 0; text-align: center; }
.post .post_author div.author_information .largetext { font-size: calc(var(--nova-fs) * 1.0714); }
.post .post_author .buddy_status { vertical-align: middle; }
.post .post_author div.author_statistics { margin-top: 12px; padding: 10px 0 0; border-top: 1px solid var(--nova-divider); font-size: calc(var(--nova-fs) * 0.8571); line-height: 1.7; color: var(--nova-text-muted); text-align: left; }
.post .post_author div.author_statistics a { color: var(--nova-text-secondary); }
.post_content { grid-area: content; padding: 0; min-width: 0; float: none; width: auto; }
.post .post_head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 22px; border-bottom: 1px solid var(--nova-divider); font-size: calc(var(--nova-fs) * 0.8571); color: var(--nova-text-muted); }
.post .post_head span.post_date { color: var(--nova-text-muted); }
.post .post_head span.edited_post { font-size: calc(var(--nova-fs) * 0.7857); color: var(--nova-text-muted); }
.post .post_head .subject_new, .post .post_head strong a { font-size: calc(var(--nova-fs) * 1); color: var(--nova-text); }
.post_body { padding: 20px 22px; font-size: calc(var(--nova-fs) * 1); line-height: 1.7; min-height: 90px; overflow-wrap: anywhere; color: var(--nova-text); }
.post_body a:link, .post_body a:visited { color: var(--nova-link); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(var(--nova-accent-rgb), .4); }
.post_body img { max-width: 100%; border-radius: var(--nova-radius-sm); }
.post_content .signature { margin: 4px 22px 14px; padding-top: 12px; border-top: 1px dashed var(--nova-border); font-size: calc(var(--nova-fs) * 0.8571); color: var(--nova-text-muted); max-height: 160px; overflow: hidden; }
.post .post_meta { padding: 0 22px 10px; font-size: calc(var(--nova-fs) * 0.7857); color: var(--nova-text-muted); }
.post .post_meta a { color: var(--nova-text-muted); }
.post_controls { grid-area: controls; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 18px; background: var(--nova-surface-2); border-top: 1px solid var(--nova-divider); clear: both; }
.post_controls::after { content: none; }
div.postbit_buttons { display: flex; flex-wrap: wrap; gap: 6px; float: none; }
.postbit_buttons > a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; font-size: calc(var(--nova-fs) * 0.8214); font-weight: 600; letter-spacing: .03em; color: var(--nova-text-secondary); background: transparent; border: 1px solid var(--nova-border); border-radius: var(--nova-radius-sm); text-decoration: none; background-image: none; transition: all var(--nova-transition); }
.postbit_buttons > a > span { background: none; padding: 0; display: inline; }
.postbit_buttons > a:hover, .postbit_buttons > a:focus-visible { color: var(--nova-text); border-color: var(--nova-accent); background: rgba(var(--nova-accent-rgb), .12); }
.postbit_buttons a.postbit_quote:hover, .postbit_buttons a.postbit_multiquote_on { background: var(--nova-btn); color: var(--nova-accent-contrast); border-color: transparent; }
.postbit_buttons a.postbit_qdelete:hover, .postbit_buttons a.postbit_report:hover, .postbit_buttons a.postbit_delete_pm:hover { border-color: var(--nova-danger); color: var(--nova-danger); background: rgba(var(--nova-danger-rgb), .1); }
.post.unapproved_post { background: rgba(var(--nova-warning-rgb), .05); }
.post.unapproved_post .post_author, .post.classic.unapproved_post .post_author { background: rgba(var(--nova-warning-rgb), .07); }
.post.unapproved_post .post_controls { background: rgba(var(--nova-warning-rgb), .06); }
.post.deleted_post { background: rgba(var(--nova-danger-rgb), .05); }
.post.deleted_post .postbit_mirage { display: none; }
.ignored_post, .deleted_post_hidden, .deleted_post_collapsed { background: var(--nova-surface-2); padding: 14px 20px; border-bottom: 1px solid var(--nova-border); color: var(--nova-text-muted); }
.ignored_post .show_ignored_post, .deleted_post_collapsed .show_deleted_post { margin-top: 8px; }
.post.highlight, .post.post_highlight { box-shadow: inset 3px 0 0 var(--nova-accent); }
ul.thread_tools, ul.thread_tools li { list-style: none; padding: 0; margin: 0; }
ul.thread_tools { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 6px 0 14px; }
ul.thread_tools li { padding-left: 0; background: none; font-size: calc(var(--nova-fs) * 0.8571); }
.showthread_spinner { width: 100%; text-align: center; padding: 20px; }
.nova-page--showthread table.tfixed { table-layout: fixed; }
#quickreply_e .trow1, #quickreply_e .trow2 { padding: 14px 18px; }
.nova-page--showthread .thead > .float_right { margin-left: 12px; }

/* ---- Forum rules / moderated by / users browsing / quick jump -------------------------------------------------------- */
.nova-page--forumdisplay #content .smalltext > .float_right { margin-left: 10px; }
#forum_rules, .forum_rules { margin-bottom: 14px; }
.quick_jump { background: none; }
select.quick_jump, #jump { max-width: 100%; }
.nova-page--forumdisplay .pagination, .nova-page--showthread .pagination { margin-top: 6px; }
a.new_thread_button, a.new_reply_button { background: var(--nova-btn); }
a.closed_button, a.closed_button:link, a.closed_button:visited { background: var(--nova-surface-3); color: var(--nova-text-muted); cursor: default; }
a.closed_button:hover { background: var(--nova-surface-3); box-shadow: none; }

/* ---- Attachments / polls / reputation ------------------------------------------------------------------------------------ */
.post_body fieldset, .post_content fieldset { margin: 12px 22px; }
.attachment, .post_content .attachment { font-size: calc(var(--nova-fs) * 0.8929); }
.post_content fieldset legend { font-size: calc(var(--nova-fs) * 0.8571); text-transform: uppercase; letter-spacing: .08em; color: var(--nova-text-muted); }
#pollbox_e td, .tborder td.trow1 .pollbar { vertical-align: middle; }

/* ---- Printable / archive helper -------------------------------------------------------------------------------------------- */
.nova-page--printthread { background: var(--nova-surface); color: var(--nova-text); }

/* ---- Star ratings (thread ratings) ----------------------------------------------------------------- */
.star_rating, .star_rating li a:hover, .star_rating .current_rating, .inline_rating { background: url(../../../images/star_rating.png) left -1000px repeat-x; vertical-align: middle; }
.star_rating { position: relative; width: 80px; height: 16px; overflow: hidden; list-style: none; margin: 0; padding: 0; background-position: left top; }
td .star_rating { margin: auto; }
.star_rating li { display: inline; }
.star_rating li a, .star_rating .current_rating { position: absolute; text-indent: -1000px; height: 16px; line-height: 16px; outline: none; overflow: hidden; border: none; top: 0; left: 0; }
.star_rating_notrated li a:hover { background-position: left bottom; }
.star_rating li a.one_star { width: 20%; z-index: 6; } .star_rating li a.two_stars { width: 40%; z-index: 5; } .star_rating li a.three_stars { width: 60%; z-index: 4; }
.star_rating li a.four_stars { width: 80%; z-index: 3; } .star_rating li a.five_stars { width: 100%; z-index: 2; }
.star_rating .current_rating { z-index: 1; background-position: left center; }
.inline_rating { float: left; padding-right: 5px; }

/* ==========================================================================
   76 PROFILE (member.php?action=profile) — cover image comes from --nova-cover-image when the cover plugin is active
   ========================================================================== */
.nova-profile { position: relative; margin-bottom: 18px; background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); overflow: hidden; }
.nova-profile__cover { height: 150px; background-color: var(--nova-hero-fallback); background-image: var(--nova-hero-shade), var(--nova-cover-image, var(--nova-hero-image)); background-size: cover; background-position: center 40%; background-repeat: no-repeat; border-bottom: 1px solid var(--nova-border); }
.nova-profile__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 20px; padding: 0 28px; margin-top: -52px; position: relative; }
.nova-profile__avatar { width: 128px; height: 128px; flex: 0 0 auto; border-radius: calc(calc(26px * var(--nova-r)) * var(--nova-r)); overflow: hidden; background: var(--nova-surface-3) url(../../../images/nova/avatar-placeholder.svg) center / cover no-repeat; border: 3px solid var(--nova-surface); box-shadow: 0 0 0 2px rgba(var(--nova-accent-rgb), .6), 0 0 28px rgba(var(--nova-accent-rgb), .3); }
.nova-profile__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; max-width: none; }
.nova-profile__id { padding-bottom: 6px; min-width: 0; }
.nova-profile__name { font-size: calc(var(--nova-fs) * 2); font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.nova-profile__title { margin: 4px 0 8px; color: var(--nova-text-secondary); font-size: calc(var(--nova-fs) * 0.9643); }
.nova-profile__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nova-profile__status { padding-bottom: 10px; font-size: calc(var(--nova-fs) * 0.8929); color: var(--nova-text-muted); text-align: right; }
.nova-profile__status-label { margin-right: 4px; }
.nova-profile__facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 20px 0 0; padding: 0; border-top: 1px solid var(--nova-divider); }
.nova-profile__facts > div { padding: 14px 28px; min-width: 0; }
.nova-profile__facts > div + div { border-left: 1px solid var(--nova-divider); }
.nova-profile__facts dt { font-size: calc(var(--nova-fs) * 0.75); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--nova-text-muted); }
.nova-profile__facts dd { margin: 3px 0 0; font-size: calc(var(--nova-fs) * 1); font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.nova-profile__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 28px; }
.nova-profile__actions:not(:empty) { padding-block: 0 18px; }
.nova-profile__actions > * { display: inline-flex; }
.nova-profile__actions a, .nova-profile__actions input { display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-sm); font-size: calc(var(--nova-fs) * 0.8571); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--nova-text); background: rgba(var(--nova-accent-rgb), .06); }
.nova-profile__actions a:hover { border-color: var(--nova-accent); background: rgba(var(--nova-accent-rgb), .15); }
.nova-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.nova-profile-grid__col { min-width: 0; }
.nova-profile-grid__col > br { display: none; }
td.nova-k, .nova-profile-card tr > td:first-child { width: 34%; color: var(--nova-text-muted); }
.nova-profile-card tr > td:first-child strong { font-weight: 600; color: inherit; }
td.nova-k strong { font-weight: 600; }
.nova-page--member_profile .nova-profile__avatar img[src*="avatar"] { max-width: none; height: 100%; }
@media (max-width: 959px) {
	.nova-profile__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nova-profile__facts > div { padding: 12px 20px; }
	.nova-profile__facts > div:nth-child(odd) { border-left: 0; }
	.nova-profile__facts > div:nth-child(n + 3) { border-top: 1px solid var(--nova-divider); }
	.nova-profile-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
	.nova-profile__head { grid-template-columns: auto minmax(0, 1fr); padding: 0 18px; gap: 14px; }
	.nova-profile__avatar { width: 92px; height: 92px; }
	.nova-profile__status { grid-column: 1 / -1; text-align: left; padding-bottom: 0; }
	.nova-profile__name { font-size: calc(var(--nova-fs) * 1.5714); }
	.nova-profile__actions { padding-inline: 18px; }
}

/* ==========================================================================
   77 MEMBERS — member list grid, online, stats, team
   ========================================================================== */
/* ---- Member list ------------------------------------------------------------------------------------------ */
.nova-members-head { margin-bottom: 16px; padding: 20px 24px 14px; background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); }
.nova-members-head__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.nova-members-head h1 { display: inline-flex; align-items: center; gap: 10px; font-size: calc(var(--nova-fs) * 1.4286); font-weight: 700; }
.nova-members-head h1 .nova-i { color: var(--nova-accent); font-size: calc(var(--nova-fs) * 1.5714); }
.nova-alpha { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 12px; }
.nova-alpha a { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border: 1px solid var(--nova-divider); border-radius: var(--nova-radius-sm); font-size: calc(var(--nova-fs) * 0.8571); font-weight: 700; color: var(--nova-text-secondary); transition: all var(--nova-transition); }
.nova-alpha a:hover { border-color: var(--nova-accent); background: rgba(var(--nova-accent-rgb), .12); color: var(--nova-text); }
.nova-sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px solid var(--nova-divider); font-size: calc(var(--nova-fs) * 0.8929); }
.nova-sortbar__label { margin-right: 4px; font-size: calc(var(--nova-fs) * 0.75); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nova-text-muted); }
.nova-sortbar a { padding: 5px 12px; border-radius: calc(999px * var(--nova-r)); border: 1px solid var(--nova-divider); font-weight: 600; color: var(--nova-text-secondary); transition: all var(--nova-transition); }
.nova-sortbar a:hover { border-color: var(--nova-accent); color: var(--nova-text); background: rgba(var(--nova-accent-rgb), .1); }
.nova-member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0 0 18px; align-items: stretch; }
.nova-member { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "av body" "stats stats" "dates dates"; gap: 12px 14px; align-content: start; padding: 16px; background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); transition: border-color var(--nova-transition), transform var(--nova-transition), box-shadow var(--nova-transition); }
.nova-member:hover { border-color: var(--nova-border-strong); transform: translateY(-2px); box-shadow: var(--nova-shadow-sm), 0 0 22px rgba(var(--nova-accent-rgb), .12); }
.nova-member__avatar { grid-area: av; display: block; width: 64px; height: 64px; border-radius: calc(calc(16px * var(--nova-r)) * var(--nova-r)); overflow: hidden; background: var(--nova-surface-3) url(../../../images/nova/avatar-placeholder.svg) center / cover no-repeat; border: 2px solid rgba(var(--nova-accent-rgb), .5); }
.nova-member__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nova-member__body { grid-area: body; min-width: 0; align-self: center; }
.nova-member__name { font-size: calc(var(--nova-fs) * 1.0714); font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nova-member__title { margin: 2px 0 6px; font-size: calc(var(--nova-fs) * 0.8571); color: var(--nova-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nova-member__badges { display: flex; flex-wrap: wrap; gap: 4px; min-height: 1px; }
.nova-member__stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); }
.nova-member__dates { margin: 0; display: grid; gap: 4px; }
.nova-member__dates > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.nova-member__dates dd { font-size: calc(var(--nova-fs) * 0.8571); font-weight: 500; text-align: right; color: var(--nova-text-secondary); }
.nova-member__stats { grid-area: stats; padding: 10px 0; border-block: 1px solid var(--nova-divider); }
.nova-member__dates { grid-area: dates; gap: 8px; }
.nova-member__stats > div, .nova-member__dates > div { min-width: 0; }
.nova-member__stats > div { min-width: 0; padding-left: 10px; border-left: 1px solid var(--nova-divider); }
.nova-member__stats > div:first-child { padding-left: 0; border-left: 0; }
.nova-member dt { font-size: calc(var(--nova-fs) * 0.6786); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--nova-text-muted); }
.nova-member dd { margin: 2px 0 0; font-size: calc(var(--nova-fs) * 0.9286); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nova-member__stats dd { font-size: calc(var(--nova-fs) * 1.1429); }
.nova-empty { padding: 28px; text-align: center; color: var(--nova-text-muted); background: var(--nova-surface); border: 1px dashed var(--nova-border-strong); border-radius: var(--nova-radius-lg); grid-column: 1 / -1; }
.nova-form-actions { padding: 14px 0 4px; }

@media (max-width: 599px) {
	.nova-thread-head { padding: 16px 18px; }
	.nova-thread-head__title { font-size: calc(var(--nova-fs) * 1.2857); }
	.nova-member-grid { grid-template-columns: minmax(0, 1fr); }
	.nova-members-head { padding: 16px 16px 12px; }
}

.nova-sort-dir { display: inline-flex; vertical-align: middle; margin-left: 3px; color: var(--nova-accent); }
.nova-sort-dir .nova-i { font-size: calc(var(--nova-fs) * 0.9286); }
.nova-sortbar .nova-sort-dir { padding: 0; border: 0; background: none; }
th .nova-sort-dir, .tcat .nova-sort-dir { margin-left: 4px; }

/* ==========================================================================
   78 AUTH + UTILITY PAGES — login, register, lost password, errors, redirect
   ========================================================================== */
/* ---- Authentication & utility pages (login, register, lost password…) ---------------------------------------------- */
.nova-page--member_login .nova-wrap > form, .nova-page--member_lostpw .nova-wrap > form, .nova-page--member_resetpassword .nova-wrap > form,
.nova-page--member_activate .nova-wrap > form, .nova-page--member_resendactivation .nova-wrap > form { max-width: 520px; margin: 28px auto 0; }
.nova-page--member_login .nova-wrap > div.error, .nova-page--member_lostpw .nova-wrap > div.error, .nova-page--member_login .nova-wrap > .pm_alert { max-width: 520px; margin-inline: auto; }
.nova-page--member_login .tborder td.trow1, .nova-page--member_login .tborder td.trow2 { display: block; padding: 12px 20px; border: 0; }
.nova-page--member_login .tborder tr { display: block; }
.nova-page--member_login .tborder td.thead { display: block; width: 100%; }
.nova-page--member_login .tborder td.thead::before { top: 14px; }
.nova-page--member_login .nova-wrap > form > div[align="center"], .nova-page--member_register .nova-wrap form div[align="center"] { padding: 4px 0 10px; }
.nova-page--member_login .tborder td input.textbox { width: 100%; }
.nova-page--member_login .tborder td[colspan="2"] { text-align: center; }
.nova-page--member_register .nova-wrap > form, .nova-page--member_register_agreement .nova-wrap > form { max-width: 880px; margin-inline: auto; }
.nova-page--member_register .tborder td.trow1, .nova-page--member_register .tborder td.trow2 { vertical-align: top; }
.nova-page--member_register input.textbox, .nova-page--member_register select { max-width: 360px; width: 100%; }
.nova-page--member_register_agreement .tborder td.trow1 { line-height: 1.65; }
.nova-page--error .nova-wrap > table.tborder, .nova-page--error .nova-wrap > .tborder { max-width: 720px; margin: 26px auto; }
.nova-error { max-width: 640px; margin: 28px auto; text-align: center; padding: 40px 28px; background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); }
.nova-error__icon { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: calc(16px * var(--nova-r)); background: rgba(var(--nova-danger-rgb), .1); color: var(--nova-danger); border: 1px solid rgba(var(--nova-danger-rgb), .4); margin-bottom: 14px; }
.nova-error__icon .nova-i { font-size: calc(var(--nova-fs) * 2); }
.nova-error h1 { font-size: calc(var(--nova-fs) * 1.4286); margin-bottom: 10px; }
.nova-error__msg { color: var(--nova-text-secondary); font-size: calc(var(--nova-fs) * 1); }
.nova-error__msg ul { text-align: left; display: inline-block; margin: 8px 0 0; }
.nova-error__actions { margin-top: 20px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.nova-redirect { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.nova-redirect__card { width: min(440px, 100%); text-align: center; background: var(--nova-surface); border: 1px solid var(--nova-border-strong); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow); padding: 30px 26px 22px; }
.nova-redirect__card h1 { font-size: calc(var(--nova-fs) * 0.9286); letter-spacing: .1em; text-transform: uppercase; color: var(--nova-text-muted); margin-bottom: 12px; }
.nova-redirect__msg { font-size: calc(var(--nova-fs) * 1.0714); color: var(--nova-text); margin: 0 0 18px; }
.nova-redirect__bar { height: 3px; border-radius: calc(2px * var(--nova-r)); background: var(--nova-divider); overflow: hidden; margin-bottom: 14px; }
.nova-redirect__bar::after { content: ""; display: block; height: 100%; width: 100%; background: var(--nova-accent); transform-origin: left; animation: nova-redirect 2s linear forwards; }
body.nova-page--redirect { background: var(--nova-page-bg); }

/* ==========================================================================
   80 FOOTER
   ========================================================================== */
/* Footer ---------------------------------------------------------------------------------------------------- */
.nova-footer { padding: 6px 0 28px; margin-top: 10px; background: none; color: var(--nova-text-secondary); }
.nova-footer__inner { max-width: var(--nova-wrap); margin: 0 auto; padding: 0 var(--nova-gutter); }
.nova-footer__card { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .8fr)) minmax(0, 1.4fr); gap: 28px; padding: 26px 28px; background: var(--nova-surface); border: 1px solid var(--nova-border); border-radius: var(--nova-radius-lg); box-shadow: var(--nova-shadow-sm); }
.nova-footer__card:not(:has(.nova-newsletter)) { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .8fr)); }
.nova-footer__brand { min-width: 0; }
.nova-footer .nova-brand__name { color: var(--nova-text); font-size: calc(var(--nova-fs) * 2); }
:root[data-nova-theme="light"] .nova-footer .nova-brand { color: var(--nova-text) !important; }
:root[data-nova-theme="light"] .nova-footer .nova-brand__sub { color: var(--nova-text-muted); }
.nova-footer__about { margin: 14px 0 12px; font-size: calc(var(--nova-fs) * 0.8929); line-height: 1.6; color: var(--nova-text-muted); max-width: 340px; }
.nova-footer__title { margin: 0 0 12px; font-size: calc(var(--nova-fs) * 0.8214); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nova-text); }
.nova-footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.nova-footer__list li { margin: 0; }
.nova-footer__list a:link, .nova-footer__list a:visited { color: var(--nova-text-muted); font-size: calc(var(--nova-fs) * 0.8929); }
.nova-footer__list a:hover { color: var(--nova-accent-hover); }
.nova-footer__list a.nova-nav__link:link, .nova-footer__list a.nova-nav__link:visited { all: unset; cursor: pointer; color: var(--nova-text-muted) !important; font-size: calc(var(--nova-fs) * 0.8929); display: inline; }
.nova-footer__list a.nova-nav__link:hover { color: var(--nova-accent-hover) !important; }
.nova-footer__list a.nova-nav__link:focus-visible { outline: 2px solid var(--nova-accent-soft); outline-offset: 2px; }
.nova-footer__list .nova-nav__link .nova-i, .nova-footer__list .nova-nav__desc { display: none; }
.nova-footer__list .nova-nav__item { display: block; }
.nova-footer__list .nova-nav__label { text-transform: none; letter-spacing: 0; font-weight: 400; }
.nova-social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nova-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--nova-border); border-radius: var(--nova-radius-sm); color: var(--nova-text-secondary); transition: all var(--nova-transition); }
.nova-social a:hover { border-color: var(--nova-accent); color: var(--nova-accent); background: rgba(var(--nova-accent-rgb), .08); }
.nova-social .nova-i { font-size: calc(var(--nova-fs) * 1.2143); }
.nova-newsletter__text { margin: 0 0 10px; font-size: calc(var(--nova-fs) * 0.8929); color: var(--nova-text-muted); }
.nova-newsletter__row { display: flex; gap: 10px; }
.nova-newsletter__row input[type="email"] { flex: 1 1 auto; min-width: 0; }
.nova-footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 6px 0; font-size: calc(var(--nova-fs) * 0.8571); color: var(--nova-text-muted); }
.nova-footer__copy { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.nova-footer__copy a:link, .nova-footer__copy a:visited { color: var(--nova-text-secondary); }
.nova-footer__tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-right: 66px; }
.nova-footer__tools .language, .nova-footer__tools .theme { display: inline-block; }
.nova-footer__tools select { padding: 5px 26px 5px 9px; font-size: calc(var(--nova-fs) * 0.8571); }
.nova-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.nova-legal a:link, .nova-legal a:visited { color: var(--nova-text-muted); }
.nova-legal a:hover { color: var(--nova-accent-hover); }

/* ==========================================================================
   85 EFFECTS — back-to-top button, Xmas decorations, snow / rain canvas
   (hero sparks live in 40-hero; the custom scrollbar in 05-base)
   ========================================================================== */

/* ---- Back to top: hidden until the page is scrolled, then slides in above the settings button ---- */
.nova-top { position: fixed; right: 22px; bottom: 84px; z-index: var(--nova-z-top); display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid transparent; border-radius: var(--nova-radius-pill); background: var(--nova-btn); color: var(--nova-accent-contrast); cursor: pointer; box-shadow: var(--nova-shadow); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity var(--nova-dur-slow) var(--nova-ease), transform var(--nova-dur-slow) var(--nova-ease), visibility 0s linear var(--nova-dur-slow), background var(--nova-transition); }
.nova-top[hidden] { display: inline-flex; }
.nova-top.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.nova-top:hover { background: var(--nova-btn-hover); transform: translateY(-3px); box-shadow: var(--nova-glow); }
.nova-top .nova-i { width: 22px; height: 22px; transition: transform var(--nova-transition); }
.nova-top:hover .nova-i { transform: translateY(-2px); }
:root[data-nova-top="off"] .nova-top { display: none; }

/* ---- Xmas decorations: garland under the navigation, Santa hat on the logo, snow caps on categories ---- */
.nova-xmas { position: absolute; left: 0; right: 0; top: 100%; height: 30px; z-index: var(--nova-z-dropdown); pointer-events: none; overflow: hidden; }
.nova-xmas::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 16px; background: var(--nova-xmas-wire); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='16'%3E%3Cpath d='M0 1 Q23 20 46 1 T92 1' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 92px 16px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='16'%3E%3Cpath d='M0 1 Q23 20 46 1 T92 1' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 92px 16px; }
.nova-bulb { position: absolute; width: 10px; height: 15px; margin: 6px 0 0 -5px; border-radius: 50% 50% 55% 55%; animation: nova-twinkle 2.4s ease-in-out infinite; }
.nova-bulb::before { content: ""; position: absolute; left: 2px; top: -4px; width: 6px; height: 5px; background: var(--nova-xmas-wire); border-radius: calc(1px * var(--nova-r)); }
.nova-bulb--0 { background: var(--nova-xmas-1); color: var(--nova-xmas-1); }
.nova-bulb--1 { background: var(--nova-xmas-2); color: var(--nova-xmas-2); }
.nova-bulb--2 { background: var(--nova-xmas-3); color: var(--nova-xmas-3); }
.nova-bulb--3 { background: var(--nova-xmas-4); color: var(--nova-xmas-4); }
:root[data-nova-xmas="on"] .nova-header .nova-brand { position: relative; }
:root[data-nova-xmas="on"] .nova-header .nova-brand::before { content: ""; position: absolute; left: -4px; top: -6px; width: 34px; height: 30px; z-index: 2; transform: rotate(-16deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 36'%3E%3Cpath d='M4 28C6 12 16 3 30 4c-4 5-3 12-1 24Z' fill='%23d6283c'/%3E%3Cpath d='M2 26c8 4 24 4 34-1l2 6c-12 6-30 5-38 0Z' fill='%23f6f9fc'/%3E%3Ccircle cx='31' cy='5' r='4.4' fill='%23f6f9fc'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
:root[data-nova-xmas="on"] .nova-hero__kicker::after { content: " \2744"; }
:root[data-nova-xmas="on"] .nova-cat__head { position: relative; }
:root[data-nova-xmas="on"] .nova-cat__head::after { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 6px; background: radial-gradient(circle at 8px 0, var(--nova-xmas-snow) 6px, transparent 7px) 0 0 / 22px 6px repeat-x; opacity: .85; pointer-events: none; }
:root[data-nova-xmas="on"] .nova-page:not(.nova-page--index) .nova-content { padding-top: 40px; }

/* ---- Snow / rain canvas (one element, created and removed by nova.js) ---- */
.nova-fx { position: fixed; left: 0; top: 0; z-index: var(--nova-z-fx); pointer-events: none; }

/* ---- Busy state after submit (does not disable fields, so MyBB receives every value) ---- */
.is-busy { cursor: progress; opacity: .75; }
.is-busy::after { content: ""; width: 12px; height: 12px; margin-left: 8px; border: 2px solid rgba(var(--nova-accent-rgb), .45); border-top-color: currentColor; border-radius: calc(50% * var(--nova-r)); animation: nova-spin .7s linear infinite; }
input.is-busy::after { content: none; }

/* ==========================================================================
   90 RESPONSIVE
   Desktop >= 1536 · Laptop 1200-1535 · Tablet 768-1199 · compact header < 960 · Mobile < 768 · Small < 480
   Colours never change here; only layout does.
   ========================================================================== */

/* ---- Laptop ---- */
@media (max-width: 1535px) {
	:root { --nova-side: 372px; --nova-gutter: 24px; }
	.nova-forum-row { --nova-col-stats: 150px; --nova-col-last: 248px; }
}

/* ---- Tablet ---- */
@media (max-width: 1199px) {
	:root { --nova-hero-min: 0px; --nova-gutter: 20px; }
	.nova-home { grid-template-columns: minmax(0, 1fr); }
	.nova-home__side { position: static; max-height: none; overflow: visible; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; padding: 0; margin: 0; }
	.nova-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 30px; }
	.nova-spotlight { max-width: 520px; }
	.nova-stats__list { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nova-stat:nth-child(3n + 1)::before { display: none; }
	.nova-stat:nth-child(n + 4) { border-top: 1px solid var(--nova-divider); }
	.nova-quick__list { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nova-quick .nova-nav__item:nth-child(3n + 1)::before { display: none; }
	.nova-quick .nova-nav__item:nth-child(n + 4) { border-top: 1px solid var(--nova-divider); }
	.nova-info__grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nova-footer__card, .nova-footer__card:not(:has(.nova-newsletter)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nova-footer__brand { grid-column: 1 / -1; }
	.nova-search { flex-basis: 260px; margin-left: 12px; }
	.nova-user__meta { display: none; }
	.nova-forum-row { grid-template-columns: minmax(0, 1fr) var(--nova-col-stats); gap: 12px 18px; }
	.nova-forum-row__last { grid-column: 1 / -1; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--nova-divider); }
	.nova-partners__label { padding-inline: 14px; }
}

/* ---- Compact header + menu panel ---- */
@media (max-width: 959px) {
	.nova-header__inner { flex-wrap: wrap; gap: 10px 12px; padding-block: 10px; }
	.nova-brand__name { font-size: calc(var(--nova-fs) * 1.4286); max-width: 200px; }
	.nova-brand__name.is-split { font-size: calc(var(--nova-fs) * 1.5714); }
	.nova-header__actions { order: 2; margin-left: auto; }
	.nova-menu-toggle { display: inline-flex; order: 3; margin-left: 0; color: var(--nova-header-text); border-color: var(--nova-header-border); }
	.nova-search { order: 4; flex: 1 1 100%; margin: 0; }
	.nova-nav__inner { padding-inline: 12px; flex-wrap: wrap; }
	.nova-nav__list { flex-direction: column; width: 100%; padding: 6px 0; overflow: visible; }
	.nova-nav__link { width: 100%; height: 46px; padding-inline: 12px; }
	.nova-nav__link::after { left: 0; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; border-radius: 0 calc(3px * var(--nova-r)) calc(3px * var(--nova-r)) 0; transform: scaleY(0); }
	a.nova-nav__link:hover::after { transform: scaleY(.5); }
	.nova-nav__link.is-active::after, .nova-nav__link[aria-current="page"]::after { transform: scaleY(1); }
	.nova-nav__cta { margin: 4px 0 12px; width: 100%; }
	html.nova-js .nova-nav { display: none; }
	html.nova-js .nova-nav.is-open { display: block; max-height: calc(100vh - var(--nova-header-h) - 24px); max-height: calc(100dvh - var(--nova-header-h) - 24px); overflow-y: auto; }
	.nova-create { display: none; }
	/* sticky header on small screens: the search row folds away once the page is scrolled */
	:root[data-nova-header="sticky"] .nova-topbar.is-scrolled .nova-search { display: none; }
	:root[data-nova-header="sticky"] .nova-topbar.is-scrolled .nova-header__inner { padding-block: 6px; }
	:root[data-nova-subnav="icons"] #nova-nav .nova-nav__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
	:root[data-nova-subnav="icons"] #nova-nav .nova-nav__link:hover::before { content: none; }
	.post { grid-template-columns: minmax(0, 1fr); grid-template-areas: "author" "content" "controls"; }
	.post_author { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 4px 14px; text-align: left; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--nova-divider); }
	.post .post_author div.author_avatar { grid-row: 1 / span 2; margin: 0; }
	.post .post_author div.author_avatar img { width: 64px; height: 64px; border-radius: var(--nova-radius-md); }
	.post .post_author div.author_information { text-align: left; }
	.post .post_author div.author_statistics { grid-column: 1 / -1; margin-top: 6px; padding-top: 8px; display: block; columns: 2; column-gap: 18px; }
	.post .post_author div.author_statistics .float_right, .post .post_author div.author_statistics .float_left { float: none; display: inline; }
	.post_body { padding: 16px; }
	.post .post_head { padding: 10px 16px; }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
	:root { --nova-gutter: 14px; }
	/* the percentage / fixed width settings never shrink the layout below the screen on phones */
	.nova-header__inner, .nova-nav__inner, .nova-footer__inner, .nova-wrap, .wrapper { width: 100%; }
	.nova-content { padding-top: 14px; }
	.nova-hero__inner { padding-block: 24px 26px; }
	.nova-hero__text { font-size: calc(var(--nova-fs) * 0.9286); }
	.nova-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nova-stat { padding: 12px 14px; }
	.nova-stat:nth-child(3n + 1)::before { display: block; }
	.nova-stat:nth-child(2n + 1)::before { display: none; }
	.nova-stat:nth-child(n + 3) { border-top: 1px solid var(--nova-divider); }
	.nova-stat__icon { width: 38px; height: 38px; }
	.nova-quick__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nova-quick .nova-nav__item:nth-child(3n + 1)::before { display: block; }
	.nova-quick .nova-nav__item:nth-child(2n + 1)::before { display: none; }
	.nova-quick .nova-nav__item:nth-child(n + 3) { border-top: 1px solid var(--nova-divider); }
	.nova-home__side { grid-template-columns: minmax(0, 1fr); }
	.nova-info__grid { grid-template-columns: minmax(0, 1fr); }
	.nova-partners__label { display: none; }
	.nova-forum-row { padding: 14px 16px; }
	.nova-forum-row__stats { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nova-forum-row__main .forum_status { width: 42px; height: 42px; }
	.nova-subgrid { margin-left: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nova-footer__card, .nova-footer__card:not(:has(.nova-newsletter)) { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px 18px; }
	.nova-footer__bar { flex-direction: column; align-items: flex-start; }
	.nova-footer__tools { padding-right: 0; }
	.nova-wrap table.tborder, .nova-wrap .tborder.tfixed { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.nova-wrap table.tborder.tfixed { table-layout: auto; }
	.nova-wrap table.tborder td.trow1 input.textbox, .nova-wrap table.tborder td.trow2 input.textbox { max-width: 100%; }
	.thead, .tcat, .trow1, .trow2 { padding-inline: 12px; }
	.navigation { padding-bottom: 12px; }
	.post_controls { padding: 10px 12px; }
	.nova-cat__head { gap: 10px; }
}

/* ---- Small mobile ---- */
@media (max-width: 479px) {
	.nova-brand__mark { width: 40px; height: 40px; }
	.nova-brand__name { font-size: calc(var(--nova-fs) * 1.2857); max-width: 150px; }
	.nova-brand__name.is-split { font-size: calc(var(--nova-fs) * 1.4286); }
	.nova-hero__actions { flex-direction: column; align-items: stretch; }
	.nova-hero__actions .nova-btn { width: 100%; }
	.nova-spotlight__slide, .nova-spotlight__slide.is-active { grid-template-columns: minmax(0, 1fr); }
	.nova-spotlight__media { min-height: 130px; }
	.nova-spotlight__body { padding: 0 14px 14px; }
	.nova-actions { gap: 6px; }
	.nova-actions--guest .nova-btn { padding: 7px 10px; }
	.nova-theme-toggle { display: none; }
	.nova-userpanel__profile { flex-direction: column; align-items: flex-start; }
	.nova-footer__card, .nova-footer__card:not(:has(.nova-newsletter)) { grid-template-columns: minmax(0, 1fr); }
	.nova-newsletter__row { flex-direction: column; }
	.nova-subgrid { grid-template-columns: minmax(0, 1fr); }
	.pagination a, .pagination .pagination_current { min-width: 36px; height: 36px; }
	.nova-fab { right: 14px; bottom: 14px; width: 46px; height: 46px; }
	.nova-top { right: 14px; bottom: 72px; width: 42px; height: 42px; }
	.nova-modal__body { padding-inline: 16px; }
	.nova-segs { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Very small screens: keep every box inside the viewport ---- */
@media (max-width: 380px) {
	.nova-stats__list, .nova-quick__list { grid-template-columns: minmax(0, 1fr); }
	.nova-stat:nth-child(n + 2), .nova-quick .nova-nav__item:nth-child(n + 2) { border-top: 1px solid var(--nova-divider); }
	.nova-stat::before, .nova-quick .nova-nav__item::before { display: none; }
}

/* ---- Forced colours / high contrast ---- */
@media (forced-colors: active) {
	.nova-btn, input.button, a.button { border: 1px solid ButtonText; }
	.nova-nav__link.is-active::after { background: Highlight; box-shadow: none; }
	.forum_status::before, .thread_status::before { background: CanvasText; }
}

/* ---- Print ---- */
@media print {
	body { background: #fff; color: #000; }
	.nova-topbar, .nova-footer, .nova-hero, .nova-home__side, .nova-quick, .nova-skip, .postbit_buttons, .post_controls, .nova-stats, .nova-fab, .nova-top, .nova-fx, .nova-xmas, .nova-modal { display: none; }
	.nova-home { display: block; }
	.tborder, .post, .nova-forum-row { box-shadow: none; border-color: #999; background: #fff; color: #000; }
	a { color: #000; text-decoration: underline; }
}

/* ==========================================================================
   95 ANIMATIONS — short, smooth, subtle. Everything non-essential is disabled for
   prefers-reduced-motion and by the "Animations" setting (data-nova-motion="off").
   ========================================================================== */
@keyframes nova-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nova-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes nova-rise-x { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes nova-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes nova-pop-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes nova-menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes nova-spin { to { transform: rotate(360deg); } }
@keyframes nova-twinkle { 0%, 100% { opacity: 1; box-shadow: 0 0 10px 2px currentColor; } 50% { opacity: .35; box-shadow: 0 0 3px 0 currentColor; } }
@keyframes nova-shine { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
@keyframes nova-bday { 0%, 100% { box-shadow: 0 0 0 3px rgba(var(--nova-warning-rgb), .14); } 50% { box-shadow: 0 0 0 6px rgba(var(--nova-warning-rgb), .04), 0 0 14px rgba(var(--nova-warning-rgb), .35); } }
@keyframes nova-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nova-redirect { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Hero: staggered entrance */
.nova-hero__kicker, .nova-hero__title, .nova-hero__text, .nova-hero__actions, .nova-spotlight { animation: nova-rise .6s var(--nova-ease) both; }
.nova-hero__title { animation-delay: .06s; }
.nova-hero__text { animation-delay: .12s; }
.nova-hero__actions { animation-delay: .18s; }
.nova-spotlight { animation-delay: .24s; }

/* Homepage content above the fold rises in with a short stagger (sections further down are not animated, so nothing waits to appear) */
.nova-cat, .nova-widget, .nova-stats { animation: nova-rise .5s var(--nova-ease) both; }
.nova-cat:nth-child(2), .nova-widget:nth-child(2) { animation-delay: .06s; }
.nova-cat:nth-child(3), .nova-widget:nth-child(3) { animation-delay: .12s; }
.nova-cat:nth-child(n + 4), .nova-widget:nth-child(n + 4) { animation-delay: .18s; }
.nova-legend__item { opacity: 0; animation: nova-rise-x .55s var(--nova-ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
.nova-legend__icon::after { animation: nova-shine 5.5s ease-in-out infinite; animation-delay: calc(var(--i) * 450ms + 1.2s); }
.nova-card--birthdays .nova-person__av { animation: nova-bday 2.6s ease-in-out infinite; }
.nova-partners__rail { animation: nova-marquee var(--nova-marquee-time, 40s) linear infinite; will-change: transform; }
.nova-partners__viewport:hover .nova-partners__rail, .nova-partners__viewport:focus-within .nova-partners__rail { animation-play-state: paused; }
.nova-redirect__bar::after { animation: nova-redirect 2s linear forwards; }

/* Cross-document page transition (Chromium 126+; ignored elsewhere) */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }
}

/* ---- Reduced motion: system preference or the Animations switch ---- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms; animation-iteration-count: 1; animation-delay: 0s; transition-duration: .001ms; scroll-behavior: auto; }
	.nova-partners__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.nova-partners__rail { animation: none; width: auto; }
	.nova-partners__list[aria-hidden="true"] { display: none; }
	.nova-legend__item { opacity: 1; transform: none; }
	.nova-hero__sparks { display: none; }
	.nova-cat__body, .nova-ucp-group__body { transition: none; }
}
:root[data-nova-motion="off"] *, :root[data-nova-motion="off"] *::before, :root[data-nova-motion="off"] *::after { animation: none; transition: none; scroll-behavior: auto; }
:root[data-nova-motion="off"] .nova-legend__item { opacity: 1; transform: none; }
:root[data-nova-motion="off"] .nova-partners__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
:root[data-nova-motion="off"] .nova-partners__rail { width: auto; }
:root[data-nova-motion="off"] .nova-partners__list[aria-hidden="true"] { display: none; }
:root[data-nova-motion="off"] .nova-hero__sparks { display: none; }

/* ==========================================================================
   99 UTILITIES + VISITOR SWITCHES
   Attributes on <html> are written by the early-init script and nova.js from the visitor's saved options
   (falling back to the site defaults). They only change dimensions / effects, never colours.
   ========================================================================== */
.nova-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.float_left { float: left; }
.float_right { float: right; }
.clear { clear: both; }
.hidden { display: none; float: none; width: 1%; }
.hiddenrow { display: none; }
.nova-js [hidden] { display: none; }

/* rounded corners: every radius token multiplies by --nova-r */
:root[data-nova-rounded="off"] { --nova-r: 0; }
/* shadows off: tokens become none (focus rings are separate and always stay) */
:root[data-nova-shadows="off"] { --nova-shadow: none; --nova-shadow-sm: none; --nova-glow: none; }

/* first paint of a remembered collapsed state must not animate */
.nova-cat.nova-instant .nova-cat__body, .nova-ucp-group.nova-instant .nova-ucp-group__body, .nova-cat.nova-instant .nova-cat__toggle .nova-i, .nova-ucp-group.nova-instant .nova-ucp-group__chev { transition: none; }


/* DOORGRID - Animated Royal Blue Usernames */
.dg-steel {
    display: inline-block;
    font-weight: 800;
    color: #0B6623;

    /* Animated reflection over solid Royal Blue */
    background-image:
        linear-gradient(
            110deg,
            transparent 40%,
            rgba(169, 192, 255, 0.95) 50%,
            transparent 60%
        ),
        linear-gradient(
            #0B6623,
            #0B6623
        );

    background-size: 260% 100%, 100% 100%;
    background-position: 160% 0, 0 0;
    background-repeat: no-repeat;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: dg-steel-sweep 2.3s ease-in-out infinite;
}

/* Moving light reflection */
@keyframes dg-steel-sweep {
    0% {
        background-position: 160% 0, 0 0;
}

58% {
        background-position: -160% 0, 0 0;
}

100% {
        background-position: -160% 0, 0 0;
}


}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .dg-steel {
        animation: none;
}


}

/* ==========================================
   DOORGRID - Digital Glitch Usernames
   ========================================== */

.dg-glitch {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: #800517;
    white-space: nowrap;
    animation: dg-glitch-flicker 4s infinite;
}

/* Duplicate text layers for glitch distortion */
.dg-glitch::before,
.dg-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
}

/* Cyan digital interference */
.dg-glitch::before {
    color: #57D9FF;
    text-shadow: -1px 0 #57D9FF;
    animation: dg-glitch-cyan 4s steps(1, end) infinite;
}

/* Red digital interference */
.dg-glitch::after {
    color: #FF3B6B;
    text-shadow: 1px 0 #FF3B6B;
    animation: dg-glitch-red 4s steps(1, end) infinite;
}

/* Main text flicker */
@keyframes dg-glitch-flicker {
    0%, 17%, 19%, 64%, 66%, 100% {
        text-shadow: none;
        transform: translateX(0);
}

18% {
        text-shadow:
            -1px 0 #57D9FF,
            1px 0 #FF3B6B;
        transform: translateX(1px);
}

65% {
        text-shadow:
            2px 0 #57D9FF,
            -2px 0 #FF3B6B;
        transform: translateX(-1px);
}


}

/* Upper and middle glitch strips */
@keyframes dg-glitch-cyan {
    0%, 16%, 20%, 63%, 68%, 100% {
        opacity: 0;
        transform: translateX(0);
}

17% {
        opacity: 0.9;
        clip-path: inset(5% 0 65% 0);
        transform: translateX(-3px);
}

18% {
        opacity: 0.8;
        clip-path: inset(35% 0 35% 0);
        transform: translateX(3px);
}

19% {
        opacity: 0;
}

64% {
        opacity: 0.85;
        clip-path: inset(15% 0 55% 0);
        transform: translateX(2px);
}

66% {
        opacity: 0.7;
        clip-path: inset(55% 0 15% 0);
        transform: translateX(-2px);
}

67% {
        opacity: 0;
}


}

/* Lower glitch strips */
@keyframes dg-glitch-red {
    0%, 17%, 21%, 64%, 69%, 100% {
        opacity: 0;
        transform: translateX(0);
}

18% {
        opacity: 0.8;
        clip-path: inset(60% 0 5% 0);
        transform: translateX(3px);
}

19% {
        opacity: 0.9;
        clip-path: inset(25% 0 45% 0);
        transform: translateX(-2px);
}

20% {
        opacity: 0;
}

65% {
        opacity: 0.75;
        clip-path: inset(45% 0 25% 0);
        transform: translateX(-3px);
}

67% {
        opacity: 0.9;
        clip-path: inset(70% 0 5% 0);
        transform: translateX(2px);
}

68% {
        opacity: 0;
}


}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .dg-glitch,
    .dg-glitch::before,
    .dg-glitch::after {
        animation: none;
}

.dg-glitch::before,
    .dg-glitch::after {
        display: none;
}


}

/* ==========================================
   DOORGRID - Electric Arc Usernames
   ========================================== */

.dg-electric {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: #FF7900;
    white-space: nowrap;
    isolation: isolate;

    animation: dg-electric-glow 3s steps(1, end) infinite;
}

/* Electric light flashing through the letters */
.dg-electric::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: transparent;
    pointer-events: none;

    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(100, 210, 255, 0.3) 43%,
        #FFFFFF 50%,
        rgba(100, 210, 255, 0.5) 57%,
        transparent 65%
    );

    background-size: 250% 100%;
    background-position: 150% 0;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    opacity: 0;
    animation: dg-electric-flash 3s ease-in-out infinite;
}

/* Thin jagged lightning arc */
.dg-electric::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;

    background: #B9F4FF;

    clip-path: polygon(
        0% 48%,
        18% 34%,
        30% 55%,
        43% 24%,
        55% 50%,
        68% 35%,
        82% 62%,
        100% 40%,
        82% 69%,
        68% 42%,
        55% 57%,
        43% 31%,
        30% 62%,
        18% 41%,
        0% 55%
    );

    filter: drop-shadow(0 0 3px #00BFFF);
    opacity: 0;

    animation: dg-electric-arc 3s steps(1, end) infinite;
}

/* Main text glow */

@keyframes dg-electric-glow {
    0%, 18%, 22%, 57%, 61%, 100% {
        text-shadow: 0 0 2px rgba(255, 121, 0, 0.3);
}

19%, 20%, 58%, 59% {
        text-shadow:
            0 0 3px #FFFFFF,
            0 0 6px #FF7900,
            0 0 10px rgba(255, 121, 0, 0.6);
}

21%, 60% {
        text-shadow: 0 0 5px #FFB347;
}


}

/* White/blue energy travels across the letters */
@keyframes dg-electric-flash {
    0%, 17% {
        opacity: 0;
        background-position: 150% 0;
}

19% {
        opacity: 0.9;
}

23% {
        opacity: 0;
        background-position: -150% 0;
}

56% {
        opacity: 0;
        background-position: 150% 0;
}

58% {
        opacity: 0.75;
}

62% {
        opacity: 0;
        background-position: -150% 0;
}

100% {
        opacity: 0;
}


}

/* Lightning appears in short bursts */
@keyframes dg-electric-arc {
    0%, 17%, 21%, 57%, 61%, 100% {
        opacity: 0;
        transform: translateX(0);
}

18%, 20% {
        opacity: 0.65;
        transform: translateX(-1px);
}

19% {
        opacity: 0.9;
        transform: translateX(1px);
}

58%, 60% {
        opacity: 0.55;
        transform: translateX(1px);
}

59% {
        opacity: 0.8;
        transform: translateX(-1px);
}


}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .dg-electric,
    .dg-electric::before,
    .dg-electric::after {
        animation: none;
}

.dg-electric::before,
    .dg-electric::after {
        display: none;
}


}

/* ==========================================
   DOORGRID - Animated Member Outline
   ========================================== */

.dg-member-outline {
    position: relative;
    display: inline-block;
    isolation: isolate;
    z-index: 0;

    font-weight: 700;
    color: #D8DEE5;
    white-space: nowrap;
}

/* Orange outline BEHIND the original letters */
.dg-member-outline::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: -1;

    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    white-space: nowrap;

    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.2px #FF7900;

    pointer-events: none;

    animation: dg-outline-trace 3s linear infinite;
}

/* Reveal the outline from left to right */
@keyframes dg-outline-trace {
    0% {
        clip-path: inset(0 100% 0 0);
}

80% {
        clip-path: inset(0 0 0 0);
}

95% {
        clip-path: inset(0 0 0 0);
}

100% {
        clip-path: inset(0 0 0 100%);
}


}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .dg-member-outline::after {
        animation: none;
        clip-path: none;
}


}

