@font-face {
    font-family: "ForgeHub Pixel CN";
    src: url("../fonts/Cubic_11.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "ForgeHub Pixel Latin";
    src: url("../fonts/fusion-pixel-12px-proportional-sc-latin-400-normal.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

:root {
    --font-sans: "Montserrat", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    --font-display: "Montserrat", "Noto Sans SC", Arial, sans-serif;
    --bg: #0d1020;
    --bg-elevated: #15192b;
    --surface: #171a28;
    --surface-2: #202536;
    --surface-3: #2b3146;
    --panel: #171a28;
    --panel-strong: #252b3f;
    --panel-soft: #111625;
    --ink: #f0edf7;
    --ink-soft: #c9c3d8;
    --ink-faint: #918aa5;
    --line: #343a52;
    --line-soft: rgba(255, 255, 255, .08);
    --brand: #5ba8d8;
    --brand-strong: #7cc7f2;
    --accent: #f2a65a;
    --accent-strong: #ffc46f;
    --success: #58c3a3;
    --danger: #e35d5b;
    --sidebar: #101426;
    --sidebar-soft: #171c31;
    --sidebar-line: rgba(255, 255, 255, .09);
    --sidebar-text: #f0edf7;
    --sidebar-muted: rgba(240, 237, 247, .62);
    --shadow: 0 22px 54px rgba(0, 0, 0, .32);
    --shadow-soft: 0 14px 34px rgba(0, 0, 0, .24);
    --radius: 8px;
    --container: 1360px;
    --pixel-line: #5b526f;
    --pixel-shadow: #2d2940;
    --pixel-bg-image: url("../images/pixel-forum-bg.png");
}

body.forgehub-pixel-farm {
    --font-sans: "ForgeHub Pixel CN", "ForgeHub Pixel Latin", "Microsoft YaHei", monospace;
    --font-display: "ForgeHub Pixel CN", "ForgeHub Pixel Latin", "Microsoft YaHei", monospace;
    --bg: #dfe7ef;
    --bg-elevated: #cbd8ea;
    --surface: #fff6e3;
    --surface-2: #f3d79e;
    --surface-3: #dba765;
    --panel: #fff0ca;
    --panel-strong: #efbf72;
    --panel-soft: #dbe8f6;
    --ink: #27243a;
    --ink-soft: #5f5a72;
    --ink-faint: #665d78;
    --line: var(--pixel-line);
    --line-soft: rgba(91, 82, 111, .32);
    --brand: #3b78c2;
    --brand-strong: #2f6fb3;
    --accent: #d9783c;
    --accent-strong: #f2a65a;
    --success: #4aa88d;
    --danger: #b7503b;
    --sidebar: #edf2f7;
    --sidebar-soft: #f7dfb6;
    --sidebar-line: rgba(91, 82, 111, .34);
    --sidebar-text: #27243a;
    --sidebar-muted: #6b6680;
    --shadow: 0 6px 0 var(--pixel-line);
    --shadow-soft: 0 4px 0 rgba(91, 82, 111, .72);
    --radius: 4px;
    background:
        linear-gradient(180deg, rgba(223, 231, 239, .9), rgba(255, 246, 227, .94)),
        var(--pixel-bg-image);
    background-attachment: fixed, fixed;
    background-position: center top;
    background-size: cover, cover;
    color: var(--ink);
    font-family: var(--font-sans);
    image-rendering: pixelated;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

body.forgehub-pixel-farm :where(
    .brand-text,
    .nav-link,
    .button,
    button,
    input,
    select,
    textarea,
    .page-hero__title,
    .section-heading h2,
    .thread-item__title,
    .post-card__title,
    .article-title,
    .widget h2,
    .resource-meta-grid,
    .resource-actions,
    .download-list__item,
    .post-card__badge,
    .thread-item__category,
    .post-card__category,
    .tag-row a,
    .node-pill,
    .topic-row__rank,
    .page-numbers
) {
    font-family: "ForgeHub Pixel CN", "ForgeHub Pixel Latin", "Microsoft YaHei", monospace;
}

body.forgehub-pixel-farm :where(
    .stat-value,
    .thread-item__count,
    .post-card__meta,
    .post-card__badge,
    .resource-meta-grid strong,
    .download-list__item strong,
    .download-list__item span,
    .topic-row__rank,
    .page-numbers,
    .comment-count,
    .favorite-count,
    .like-count,
    .view-count
) {
    font-family: "ForgeHub Pixel Latin", "ForgeHub Pixel CN", monospace;
    font-variant-numeric: tabular-nums;
}

body.forgehub-pixel-farm *,
body.forgehub-pixel-farm *::before,
body.forgehub-pixel-farm *::after {
    border-radius: 0 !important;
}

body.forgehub-pixel-farm .site-header {
    border-bottom: 4px solid var(--pixel-line);
    background: #343a63;
    color: #fff6e3;
    backdrop-filter: none;
}

body.forgehub-pixel-farm .site-header .brand strong,
body.forgehub-pixel-farm .site-header .brand small,
body.forgehub-pixel-farm .site-header .nav-link {
    color: #fff6e3;
    text-shadow: none;
}

body.forgehub-pixel-farm .brand__mark,
body.forgehub-pixel-farm .page-hero__icon,
body.forgehub-pixel-farm .section-heading__icon,
body.forgehub-pixel-farm .board-card__icon {
    border: 3px solid var(--pixel-line);
    background: #f0b45a;
    box-shadow: 3px 3px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .right-rail,
body.forgehub-pixel-farm .content-feed,
body.forgehub-pixel-farm .welcome-panel,
body.forgehub-pixel-farm .thread-item,
body.forgehub-pixel-farm .post-card,
body.forgehub-pixel-farm .article-body,
body.forgehub-pixel-farm .attachment-box,
body.forgehub-pixel-farm .comment-box,
body.forgehub-pixel-farm .composer,
body.forgehub-pixel-farm .empty-state,
body.forgehub-pixel-farm .widget,
body.forgehub-pixel-farm .signal-panel,
body.forgehub-pixel-farm .board-card {
    border: 3px solid var(--pixel-line);
    background-color: var(--surface);
    box-shadow: 5px 5px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .page-hero,
body.forgehub-pixel-farm .notice-band {
    border: 3px solid var(--pixel-line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .5), transparent 42%),
        #dbe8f6;
    box-shadow: 5px 5px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .page-hero::before,
body.forgehub-pixel-farm .post-card__cover::after {
    display: none;
}

body.forgehub-pixel-farm .button,
body.forgehub-pixel-farm button,
body.forgehub-pixel-farm input[type="submit"],
body.forgehub-pixel-farm .text-link {
    border: 3px solid var(--pixel-line);
    background: #f2a65a;
    color: #27243a;
    box-shadow: 3px 3px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .button--primary {
    background: #3b78c2;
    color: #ffffff;
}

body.forgehub-pixel-farm .button:hover,
body.forgehub-pixel-farm .text-link:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--pixel-line);
}

body.forgehub-pixel-farm input,
body.forgehub-pixel-farm select,
body.forgehub-pixel-farm textarea,
body.forgehub-pixel-farm .search-box,
body.forgehub-pixel-farm .wide-search,
body.forgehub-pixel-farm .welcome-search {
    border: 3px solid var(--pixel-line);
    background: #fff6e3;
    color: #27243a;
    box-shadow: inset 3px 3px 0 rgba(91, 82, 111, .12);
}

body.forgehub-pixel-farm .thread-item:hover,
body.forgehub-pixel-farm .post-card:hover,
body.forgehub-pixel-farm .board-card:hover {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .post-card__badge,
body.forgehub-pixel-farm .thread-item__category,
body.forgehub-pixel-farm .post-card__category,
body.forgehub-pixel-farm .hot-keywords a,
body.forgehub-pixel-farm .tag-cloud a,
body.forgehub-pixel-farm .keyword-row a,
body.forgehub-pixel-farm .tag-row a,
body.forgehub-pixel-farm .tag-row span,
body.forgehub-pixel-farm .node-pill {
    border: 2px solid var(--pixel-line);
    background: #f2a65a;
    color: #27243a;
}

body.forgehub-pixel-farm .topic-row__rank,
body.forgehub-pixel-farm .topic-row__dot {
    border: 2px solid var(--pixel-line);
    background: #3b78c2;
    color: #fff6e3;
}

body.forgehub-pixel-farm .resource-meta-grid div,
body.forgehub-pixel-farm .download-list__item,
body.forgehub-pixel-farm .resource-safety-notice {
    border: 2px solid var(--pixel-line);
    background: #f7dfb6;
}

body.forgehub-pixel-farm .resource-meta-grid strong,
body.forgehub-pixel-farm .download-list__item strong,
body.forgehub-pixel-farm .thread-item__count,
body.forgehub-pixel-farm .post-card__meta span,
body.forgehub-pixel-farm .topic-row__rank,
body.forgehub-pixel-farm .page-numbers,
body.forgehub-pixel-farm .button {
    font-weight: 400;
    text-shadow: 1px 1px 0 rgba(255, 246, 227, .72);
}

body.forgehub-pixel-farm .page-hero__title,
body.forgehub-pixel-farm .article-title,
body.forgehub-pixel-farm .thread-item__title,
body.forgehub-pixel-farm .post-card__title,
body.forgehub-pixel-farm .section-heading h2 {
    color: #27243a;
    font-weight: 400;
    text-shadow: 2px 2px 0 rgba(91, 82, 111, .18);
}

body.forgehub-pixel-farm .brand strong,
body.forgehub-pixel-farm .brand small,
body.forgehub-pixel-farm .nav-link,
body.forgehub-pixel-farm .left-rail,
body.forgehub-pixel-farm .right-rail,
body.forgehub-pixel-farm .content-feed,
body.forgehub-pixel-farm .welcome-panel,
body.forgehub-pixel-farm .thread-item,
body.forgehub-pixel-farm .post-card,
body.forgehub-pixel-farm .article-body,
body.forgehub-pixel-farm .composer,
body.forgehub-pixel-farm .widget,
body.forgehub-pixel-farm .signal-panel,
body.forgehub-pixel-farm .board-card,
body.forgehub-pixel-farm .site-footer {
    color: #27243a;
}

body.forgehub-pixel-farm .eyebrow,
body.forgehub-pixel-farm .left-rail__kicker,
body.forgehub-pixel-farm .signal-panel__kicker,
body.forgehub-pixel-farm .widget-kicker {
    color: #2f6fb3;
}

body.forgehub-pixel-farm .welcome-panel h1,
body.forgehub-pixel-farm .page-hero h1,
body.forgehub-pixel-farm .post-detail__hero h1,
body.forgehub-pixel-farm .thread-item h2,
body.forgehub-pixel-farm .thread-item h2 a,
body.forgehub-pixel-farm .post-card__title,
body.forgehub-pixel-farm .post-card__title a,
body.forgehub-pixel-farm .section-heading h2,
body.forgehub-pixel-farm .panel-heading h2,
body.forgehub-pixel-farm .widget h2,
body.forgehub-pixel-farm .left-rail__section h2,
body.forgehub-pixel-farm .left-rail__section h3,
body.forgehub-pixel-farm .signal-panel h2,
body.forgehub-pixel-farm .node-chip strong,
body.forgehub-pixel-farm .topic-row strong {
    color: #27243a;
    text-shadow: 2px 2px 0 rgba(255, 246, 227, .7);
}

body.forgehub-pixel-farm .welcome-panel > p:not(.eyebrow),
body.forgehub-pixel-farm .section-heading p,
body.forgehub-pixel-farm .page-hero p,
body.forgehub-pixel-farm .thread-item p,
body.forgehub-pixel-farm .post-card__excerpt,
body.forgehub-pixel-farm .post-card__meta,
body.forgehub-pixel-farm .thread-item__meta,
body.forgehub-pixel-farm .thread-item__time,
body.forgehub-pixel-farm .widget p,
body.forgehub-pixel-farm .signal-panel p,
body.forgehub-pixel-farm .signal-panel__intro,
body.forgehub-pixel-farm .node-chip small,
body.forgehub-pixel-farm .topic-row small,
body.forgehub-pixel-farm .resource-note {
    color: #5f5a72;
}

body.forgehub-pixel-farm .notice-band__content p,
body.forgehub-pixel-farm .notice-band__link,
body.forgehub-pixel-farm .node-pill,
body.forgehub-pixel-farm .node-pill span,
body.forgehub-pixel-farm .node-pill--plain,
body.forgehub-pixel-farm .topic-row__main,
body.forgehub-pixel-farm .widget li a,
body.forgehub-pixel-farm .panel-heading a,
body.forgehub-pixel-farm .text-link {
    color: #27243a;
}

body.forgehub-pixel-farm .left-nav-item,
body.forgehub-pixel-farm .left-mini-links a,
body.forgehub-pixel-farm .left-tag-list a {
    border-color: rgba(91, 82, 111, .28);
    background: rgba(255, 246, 227, .78);
    color: #27243a;
    box-shadow: 2px 2px 0 rgba(91, 82, 111, .16);
    text-shadow: 1px 1px 0 rgba(255, 246, 227, .72);
}

body.forgehub-pixel-farm .left-nav-item small {
    color: #4f4a63;
}

body.forgehub-pixel-farm .topic-row,
body.forgehub-pixel-farm .signal-panel__block,
body.forgehub-pixel-farm .node-chip,
body.forgehub-pixel-farm .resource-meta-grid div {
    background: #f7dfb6;
    border-color: var(--pixel-line);
}

body.forgehub-pixel-farm .site-footer {
    border-top: 4px solid var(--pixel-line);
    background: #343a63;
}

body.forgehub-pixel-farm .site-footer strong,
body.forgehub-pixel-farm .site-footer h2 {
    color: #fff6e3;
}

body.forgehub-pixel-farm .back-top {
    border: 3px solid var(--pixel-line);
    background: #f2a65a;
    color: #27243a;
    box-shadow: 3px 3px 0 var(--pixel-line);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm {
    --bg: #0d1020;
    --bg-elevated: #15192b;
    --surface: #171a28;
    --surface-2: #202840;
    --surface-3: #2c3650;
    --panel: #171a28;
    --panel-strong: #252d45;
    --panel-soft: #111625;
    --ink: #f0edf7;
    --ink-soft: #cbc5d8;
    --ink-faint: #918aa5;
    --line: #786f9c;
    --line-soft: rgba(195, 184, 225, .2);
    --brand: #5ba8d8;
    --brand-strong: #82d2f4;
    --accent: #f2a65a;
    --accent-strong: #ffd38f;
    --success: #58c3a3;
    --danger: #f0795f;
    --sidebar: #111426;
    --sidebar-soft: #1a2036;
    --sidebar-line: rgba(195, 184, 225, .2);
    --sidebar-text: #f0edf7;
    --sidebar-muted: #aaa1c3;
    --shadow: 0 6px 0 #090b16;
    --shadow-soft: 0 4px 0 rgba(9, 11, 22, .72);
    background:
        linear-gradient(180deg, rgba(13, 16, 32, .9), rgba(13, 16, 32, .96)),
        var(--pixel-bg-image);
    background-attachment: fixed, fixed;
    background-position: center top;
    background-size: cover, cover;
    color: var(--ink);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .site-header,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .site-footer {
    border-color: #585172;
    background: #111426;
    color: var(--ink);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-rail {
    border: 0;
    border-right: 2px solid rgba(195, 184, 225, .18);
    background: transparent;
    box-shadow: none;
    color: var(--sidebar-text);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-rail__section {
    border-bottom: 2px solid rgba(195, 184, 225, .16);
    background: transparent;
    box-shadow: none;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .right-rail,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .content-feed,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .welcome-panel,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .thread-item,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .post-card,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .article-body,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .attachment-box,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .comment-box,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .empty-state,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .widget,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .signal-panel,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .board-card {
    border-color: #585172;
    background-color: var(--surface);
    color: var(--ink);
    box-shadow: 5px 5px 0 #090b16;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .page-hero,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band {
    border-color: #585172;
    background:
        linear-gradient(180deg, rgba(240, 237, 247, .1), transparent 42%),
        #242846;
    color: var(--ink);
    box-shadow: 5px 5px 0 #090b16;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .brand__mark,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .page-hero__icon,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .section-heading__icon,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .board-card__icon {
    border-color: #585172;
    background: #202840;
    color: var(--accent-strong);
    box-shadow: 3px 3px 0 #090b16;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .button,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm button,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm input[type="submit"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .text-link {
    border-color: #585172;
    background: #202840;
    color: var(--ink);
    box-shadow: 3px 3px 0 #090b16;
    text-shadow: none;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .button--primary {
    background: #2f6fb3;
    color: #ffffff;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-rail__section-toggle {
    border: 0;
    background: transparent;
    color: var(--sidebar-text);
    box-shadow: none;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-nav-item:hover,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-nav-item.is-active,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-mini-links a:hover,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-tag-list a:hover {
    border-color: rgba(195, 184, 225, .18);
    background: rgba(195, 184, 225, .08);
    color: var(--sidebar-text);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm input,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm select,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm textarea,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .search-box,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .wide-search,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .welcome-search {
    border-color: #585172;
    background: #111625;
    color: var(--ink);
    box-shadow: inset 3px 3px 0 rgba(9, 11, 22, .42);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .post-card__badge,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .thread-item__category,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .post-card__category,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .hot-keywords a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .tag-cloud a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .keyword-row a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .tag-row a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .tag-row span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .node-pill,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-meta-grid div,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .download-list__item,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-safety-notice,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .topic-row,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .signal-panel__block,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .node-chip {
    border-color: #585172;
    background: #202840;
    color: var(--ink);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .topic-row__rank,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .topic-row__dot {
    border-color: #585172;
    background: #2f6fb3;
    color: var(--ink);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .brand strong,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .brand small,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .nav-link,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .welcome-panel h1,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .page-hero h1,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .post-detail__hero h1,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .thread-item h2,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .thread-item h2 a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .post-card__title,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .post-card__title a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .section-heading h2,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .panel-heading h2,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .widget h2,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-rail__section h2,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-rail__section h3,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-rail__section-toggle strong,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .signal-panel h2,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .node-chip strong,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .topic-row strong,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .article-title {
    color: var(--ink);
    text-shadow: 2px 2px 0 rgba(9, 11, 22, .76);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .welcome-panel > p:not(.eyebrow),
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .section-heading p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .page-hero p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .thread-item p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .post-card__excerpt,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .post-card__meta,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .thread-item__meta,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .thread-item__time,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .widget p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .signal-panel p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .signal-panel__intro,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .node-chip small,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .topic-row small,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-note,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-nav-item small {
    color: var(--ink-soft);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band__content p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band__link,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .node-pill,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .node-pill span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .node-pill--plain,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .topic-row__main,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .widget li a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .panel-heading a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .text-link,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-mini-links a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-tag-list a {
    color: var(--ink);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-nav-item,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-mini-links a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-tag-list a {
    border-color: rgba(195, 184, 225, .16);
    background: rgba(26, 32, 54, .74);
    box-shadow: 2px 2px 0 rgba(9, 11, 22, .5);
    text-shadow: none;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .back-top {
    border-color: #585172;
    background: #202840;
    color: var(--ink);
    box-shadow: 3px 3px 0 #090b16;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(90deg, rgba(13, 16, 32, .94) 0, rgba(13, 16, 32, .82) 260px, rgba(15, 18, 34, .88) 260px, rgba(18, 20, 32, .96) 100%),
        linear-gradient(180deg, rgba(13, 16, 32, .78), rgba(18, 20, 32, .96)),
        var(--pixel-bg-image);
    background-attachment: fixed, fixed, fixed;
    background-position: center top;
    background-size: cover;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

main {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

::placeholder {
    color: inherit;
    opacity: .52;
}

svg,
i[data-lucide] {
    width: 17px;
    height: 17px;
    stroke-width: 2;
    flex: 0 0 auto;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.sr-only,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
    z-index: 50;
    width: auto;
    height: auto;
    clip: auto;
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fff;
    color: #111;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(15, 18, 34, .88);
    color: #eef5f0;
    backdrop-filter: blur(18px);
}

.masthead__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 56px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 210px;
}

.brand__mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 7px;
    background: linear-gradient(135deg, #5ba8d8, #f2a65a);
    color: #101426;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
}

.brand__mark--image {
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    color: inherit;
}

.brand__mark--image img,
.brand__mark--image .custom-logo-link,
.brand__mark--image .custom-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand strong,
.welcome-panel h1,
.page-hero h1,
.post-detail__hero h1,
.section-heading h2,
.thread-item h2,
.post-card__title,
.signal-panel h2 {
    font-family: var(--font-display);
    letter-spacing: 0;
}

.brand strong {
    display: block;
    color: #7cc7f2;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}

.brand small {
    display: block;
    margin-top: 2px;
    color: rgba(232, 232, 232, .6);
    font-size: 11px;
}

.brand--footer strong {
    font-size: 22px;
}

.search-box,
.wide-search,
.widget-search,
.welcome-search {
    display: flex;
    align-items: center;
    border-radius: var(--radius);
}

.search-box {
    flex: 1;
    min-width: 190px;
    max-width: 520px;
    height: 38px;
    padding: 0 7px 0 12px;
    border: 1px solid rgba(255, 255, 255, .11);
    background: rgba(255, 255, 255, .06);
    color: #e9efeb;
}

.search-box input,
.widget-search input,
.wide-search input,
.welcome-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
}

.search-box button,
.widget-search button,
.welcome-search button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(91, 168, 216, .22);
    color: #9bd9ff;
    cursor: pointer;
}

.search-box.is-empty,
.wide-search.is-empty,
.widget-search.is-empty,
.welcome-search.is-empty {
    border-color: rgba(217, 85, 70, .62);
    box-shadow: 0 0 0 3px rgba(217, 85, 70, .16);
}

.widget_search .wp-block-search.is-empty .wp-block-search__input,
.widget_search .wp-block-search.is-empty .wp-block-search__button {
    border-color: rgba(217, 85, 70, .62);
    box-shadow: 0 0 0 3px rgba(217, 85, 70, .12);
}

.masthead__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.button,
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.button {
    min-height: 38px;
    padding: 0 13px;
    background: var(--surface-2);
    color: var(--ink);
    font-weight: 700;
}

.icon-button {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .1);
    color: #edf4ef;
}

.sidebar-toggle {
    flex: 0 0 auto;
}

.theme-toggle__icon {
    display: grid;
    place-items: center;
}

.theme-toggle__icon--light {
    display: none;
}

html[data-forgehub-theme="dark"] .theme-toggle__icon--dark {
    display: none;
}

html[data-forgehub-theme="dark"] .theme-toggle__icon--light {
    display: grid;
}

.button:hover,
.icon-button:hover,
.quick-action:hover,
.category-quick-button:hover,
.notice-band__link:hover,
.topic-row:hover,
.board-card:hover,
.post-card:hover,
.thread-item:hover,
.mini-feature:hover,
.node-pill:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: #3b78c2;
    color: #fff;
}

.button--primary:hover {
    background: var(--brand);
}

.button--ghost {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.nav-toggle,
.topbar,
.main-nav {
    display: none;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    background: rgba(0, 0, 0, .58);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu__panel {
    width: min(340px, 88vw);
    min-height: 100%;
    padding: 18px;
    border-right: 1px solid var(--sidebar-line);
    background: #101426;
    color: var(--sidebar-text);
    box-shadow: var(--shadow-soft);
}

.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 10px;
    border-radius: 7px;
    color: rgba(241, 247, 243, .78);
}

.mobile-menu a.is-active,
.mobile-menu a:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.site-shell {
    display: grid;
    grid-template-columns: 256px minmax(0, 1fr) 300px;
    gap: 26px;
    align-items: start;
    padding: 0 16px 44px 0;
}

.site-shell > * {
    min-width: 0;
}

.site-shell.container {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.forgehub-layout-two-column .site-shell {
    grid-template-columns: 256px minmax(0, 1fr);
}

.forgehub-layout-two-column .sidebar {
    position: static;
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
}

.forgehub-layout-wide {
    --container: 1480px;
}

.forgehub-layout-wide .site-shell {
    grid-template-columns: 220px minmax(0, 1fr) 280px;
}

.content-stack,
.home-stage {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.left-rail {
    position: sticky;
    top: 74px;
    display: grid;
    gap: 16px;
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding: 20px 20px 20px 16px;
    border-right: 1px solid var(--sidebar-line);
}

body.forgehub-pixel-farm .left-rail {
    border: 0;
    border-right: 2px solid rgba(107, 79, 42, .28);
    background: transparent;
    box-shadow: none;
    color: var(--sidebar-text);
}

.left-rail__section {
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid var(--sidebar-line);
    border-radius: 0;
    background: transparent;
    color: var(--sidebar-text);
    box-shadow: none;
}

body.forgehub-pixel-farm .left-rail__section {
    border-bottom: 2px solid rgba(107, 79, 42, .22);
    background: transparent;
    box-shadow: none;
}

.left-rail__section:last-child {
    border-bottom: 0;
}

.left-rail__kicker,
.signal-panel__kicker,
.widget-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sidebar-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.left-rail__section h2,
.left-rail__section h3 {
    margin: 10px 0 0;
    color: #eef5f0;
}

.left-rail__section h2 {
    font-size: 18px;
    line-height: 1.15;
}

.left-rail__section h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sidebar-muted);
}

.left-rail__section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--sidebar-text);
    box-shadow: none;
    text-align: left;
}

.left-rail__section-toggle strong {
    display: block;
    color: inherit;
    font-size: 13px;
    line-height: 1.15;
}

body.forgehub-pixel-farm .left-rail__section-toggle {
    border: 0;
    background: transparent;
    color: var(--sidebar-text);
    box-shadow: none;
}

body.forgehub-pixel-farm .left-rail__section-toggle:hover {
    transform: none;
    box-shadow: none;
}

.left-rail__chevron {
    flex: 0 0 auto;
    color: var(--sidebar-muted);
    transition: transform .16s ease;
}

.left-rail__section.is-collapsed .left-rail__chevron {
    transform: rotate(-90deg);
}

.left-rail__section-body[hidden] {
    display: none;
}

.left-nav-list,
.left-mini-links,
.left-tag-list {
    display: grid;
    gap: 4px;
    margin-top: 10px;
}

.left-nav-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--sidebar-text);
}

.left-nav-item:hover,
.left-nav-item.is-active,
.left-mini-links a:hover,
.left-tag-list a:hover {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .06);
}

body.forgehub-pixel-farm .left-nav-item:hover,
body.forgehub-pixel-farm .left-nav-item.is-active,
body.forgehub-pixel-farm .left-mini-links a:hover,
body.forgehub-pixel-farm .left-tag-list a:hover {
    border-color: rgba(91, 82, 111, .42);
    background: rgba(255, 247, 207, .94);
    color: #27243a;
}

.left-nav-item.is-active {
    color: #fff;
}

body.forgehub-pixel-farm .left-nav-item.is-active {
    color: var(--sidebar-text);
}

.left-nav-item span:first-child {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    color: var(--left-color);
}

.left-nav-item strong,
.left-nav-item small {
    display: block;
    min-width: 0;
}

.left-nav-item strong {
    overflow: hidden;
    color: inherit;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.left-nav-item small {
    color: var(--sidebar-muted);
    font-size: 11px;
}

.left-mini-links a,
.left-tag-list a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 9px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--sidebar-text);
    font-size: 13px;
}

html.forgehub-rail-collapsed .site-shell {
    grid-template-columns: 1px minmax(0, 1fr) 300px;
}

html.forgehub-rail-collapsed .forgehub-layout-two-column .site-shell {
    grid-template-columns: 1px minmax(0, 1fr);
}

html.forgehub-rail-collapsed .forgehub-layout-wide .site-shell {
    grid-template-columns: 1px minmax(0, 1fr) 280px;
}

html.forgehub-rail-collapsed .left-rail {
    width: 1px;
    min-width: 0;
    padding: 0;
    border-right: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.welcome-panel {
    display: grid;
    justify-items: center;
    min-height: 230px;
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--line-soft);
    text-align: center;
}

.eyebrow {
    margin: 0;
    color: #72d79f;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.welcome-panel h1 {
    margin: 10px 0 0;
    color: #efefef;
    font-size: 52px;
    line-height: 1.04;
    font-weight: 800;
}

.welcome-panel > p:not(.eyebrow) {
    max-width: 620px;
    margin: 10px 0 0;
    color: rgba(232, 232, 232, .72);
    font-size: 15px;
}

.welcome-search {
    width: min(620px, 100%);
    min-height: 48px;
    margin-top: 22px;
    padding: 0 8px 0 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: #201b17;
    color: #e7e2de;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}

.node-pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
}

.node-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: #f2f2f2;
    font-weight: 800;
    transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.node-pill svg {
    color: var(--node-color);
}

.node-pill span {
    color: rgba(232, 232, 232, .56);
    font-size: 12px;
    font-weight: 700;
}

.node-pill--plain {
    color: #7cc7f2;
    font-size: 12px;
}

.hero-topic,
.signal-panel,
.mini-feature,
.notice-band,
.board-card,
.post-card,
.thread-item,
.article-body,
.attachment-box,
.comment-box,
.preview-box,
.composer,
.empty-state,
.page-hero,
.widget {
    border-radius: var(--radius);
}

.hero-topic {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.hero-topic img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .24;
}

.hero-topic::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 18, 11, .98), rgba(6, 18, 11, .62));
}

.hero-topic__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    max-width: 720px;
    padding: 28px;
    color: #f4f4f4;
}

.hero-topic__badge-row,
.hero-topic__meta,
.post-meta,
.thread-item__footer,
.post-detail__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-topic__pill,
.hero-topic__tags a,
.thread-item__category,
.post-detail__category,
.post-card__badge,
.hot-keywords a,
.tag-cloud a,
.keyword-row a,
.tag-row a,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}

.hero-topic__pill {
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
}

.hero-topic h1,
.page-hero h1,
.post-detail__hero h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.08;
}

.hero-topic p {
    max-width: 640px;
    margin: 12px 0 0;
    color: rgba(244, 244, 244, .72);
    font-size: 15px;
}

.hero-topic__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.hero-topic__tags a {
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 700;
}

.hero-topic__meta {
    margin-top: 16px;
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
}

.hero-topic__meta span,
.post-meta span,
.thread-item__footer span,
.post-detail__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hero-topic__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.notice-band {
    overflow: hidden;
    border: 1px solid rgba(91, 168, 216, .18);
    background: #1c284a;
    box-shadow: none;
}

.notice-band__inner {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 11px 14px;
}

.notice-band__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .08);
    color: #ffc46f;
}

.notice-band__content p {
    margin: 0;
    color: rgba(240, 237, 247, .76);
}

.notice-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.notice-band__link {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #effff5;
    font-weight: 700;
}

.post-section,
.board-overview,
.signal-panel {
    overflow: hidden;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    color: var(--ink);
    box-shadow: none;
}

.post-section,
.board-overview {
    padding: 0;
}

.section-heading,
.panel-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading {
    min-height: 54px;
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}

.section-heading__icon,
.page-hero__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: var(--section-color, var(--hero-color));
}

.section-heading h2 {
    margin: 0;
    color: #f2f2f2;
    font-size: 22px;
    line-height: 1.05;
}

.section-heading p,
.page-hero p {
    margin: 2px 0 0;
    color: var(--ink-faint);
}

.section-heading .text-link {
    margin-left: auto;
}

.panel-heading {
    justify-content: space-between;
    margin-bottom: 12px;
}

.panel-heading h2,
.widget h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--ink);
    font-size: 14px;
}

.panel-heading a,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #50d38a;
    font-size: 13px;
    font-weight: 700;
}

.panel-heading a:hover,
.text-link:hover,
.post-card__title a:hover,
.thread-item h2 a:hover,
.notice-list a:hover strong {
    color: var(--brand-strong);
}

.thread-list {
    display: grid;
    gap: 0;
}

.thread-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 14px;
    min-height: 74px;
    padding: 12px 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
    transition: background .16s ease, transform .16s ease;
}

.thread-item:last-child {
    border-bottom: 0;
}

.thread-item:hover {
    background: rgba(255, 255, 255, .035);
}

.thread-item__body {
    min-width: 0;
}

.thread-item__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--ink-faint);
    font-size: 12px;
}

.thread-item__category,
.post-detail__category {
    gap: 5px;
    min-height: 22px;
    padding: 0 8px;
    background: rgba(255, 255, 255, .06);
    color: var(--thread-color, var(--category-color));
    font-size: 11px;
    font-weight: 800;
}

.thread-item h2 {
    margin: 5px 0 4px;
    color: #efefef;
    font-size: 17px;
    line-height: 1.35;
}

.thread-item p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    margin: 0;
    color: var(--ink-faint);
    font-size: 13px;
}

.thread-item__activity {
    display: grid;
    grid-template-columns: 1fr 58px 72px;
    align-items: center;
    gap: 10px;
    color: var(--ink-faint);
    font-size: 12px;
}

.avatar-stack {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.avatar-stack .avatar + .avatar {
    margin-left: -7px;
}

.avatar,
.avatar--ghost {
    --avatar-accent: #d9783c;
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(91, 82, 111, .42);
    border-radius: 50%;
    background: #fff0ca;
    color: #27243a;
    font-size: 12px;
    font-weight: 800;
}

.avatar--default {
    --avatar-a: #f2a65a;
    --avatar-b: #d9783c;
    --avatar-c: #fff0ca;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .34), transparent 42%),
        linear-gradient(135deg, var(--avatar-a), var(--avatar-b) 58%, var(--avatar-c));
    color: #211f2b;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .24);
}

.avatar--image {
    background-color: transparent;
    background-position: center;
    background-size: cover;
    color: transparent;
    box-shadow: none;
}

.avatar__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar--ghost {
    position: relative;
    overflow: hidden;
    border-color: var(--avatar-accent);
    background:
        linear-gradient(135deg, rgba(255, 246, 227, .96), rgba(242, 166, 90, .42)),
        #fff0ca;
    color: #27243a;
    box-shadow: inset 0 -4px 0 rgba(217, 120, 60, .18);
}

.avatar--ghost::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 5px;
    height: 5px;
    border-radius: 2px;
    background: var(--avatar-accent);
    box-shadow: 0 0 0 1px rgba(255, 246, 227, .72);
}

body.forgehub-pixel-farm .avatar {
    border: 2px solid var(--pixel-line);
    background: #fff0ca;
    color: #27243a;
    box-shadow: 2px 2px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .avatar--default {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .34), transparent 42%),
        linear-gradient(135deg, var(--avatar-a), var(--avatar-b) 58%, var(--avatar-c));
    color: #211f2b;
}

body.forgehub-pixel-farm .avatar--image {
    overflow: hidden;
    background: #101426;
    color: transparent;
    image-rendering: pixelated;
}

body.forgehub-pixel-farm .avatar--ghost {
    border-color: var(--pixel-line);
    background:
        linear-gradient(135deg, rgba(255, 246, 227, .96), rgba(242, 166, 90, .46)),
        #fff0ca;
    color: #27243a;
}

body.forgehub-pixel-farm .avatar--ghost::after {
    background: var(--avatar-accent);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .avatar {
    border-color: #585172;
    background: #fff0ca;
    color: #27243a;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .avatar--image {
    background: #101426;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .avatar--ghost {
    background:
        linear-gradient(135deg, rgba(255, 246, 227, .94), rgba(242, 166, 90, .38)),
        #fff0ca;
    color: #27243a;
}

.thread-item__count {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    color: var(--accent-strong);
    font-weight: 800;
}

.thread-item__time {
    text-align: right;
    white-space: nowrap;
}

.home-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.thread-list--compact .thread-item {
    grid-template-columns: 1fr;
}

.thread-list--compact .thread-item__activity {
    grid-template-columns: auto auto 1fr;
}

.thread-list--compact .avatar-stack {
    justify-content: flex-start;
}

.thread-list--compact .thread-item__count {
    justify-content: flex-start;
}

.thread-list--compact .thread-item h2 {
    font-size: 16px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
    padding: 14px;
}

.post-grid--wide {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.post-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-2);
    box-shadow: none;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.post-card:hover {
    border-color: rgba(80, 211, 138, .28);
    background: #222;
}

.post-card__cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.post-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .48));
}

.post-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
    transition: transform .22s ease;
}

.post-card:hover .post-card__cover img {
    transform: scale(1.035);
}

.post-card__badge {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 1;
    min-height: 22px;
    padding: 0 8px;
    background: var(--badge-color);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.post-card__body {
    display: grid;
    gap: 7px;
    padding: 12px;
}

.post-card__eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--ink-faint);
    font-size: 11px;
}

.post-card__category {
    color: var(--category-color);
    font-weight: 800;
}

.post-card__title {
    margin: 0;
    color: #f1f1f1;
    font-size: 17px;
    line-height: 1.28;
}

.post-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 40px;
    margin: 0;
    color: var(--ink-faint);
    font-size: 13px;
}

.post-meta,
.post-detail__meta {
    color: var(--ink-faint);
    font-size: 12px;
}

.engagement-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.engagement-bar .button.is-active {
    border-color: rgba(80, 211, 138, .32);
    background: rgba(22, 163, 107, .18);
    color: #fff;
}

.resource-panel {
    display: grid;
    gap: 14px;
}

.resource-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 0 18px 16px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .04);
}

.resource-filter__group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
}

.resource-filter__group > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    color: var(--ink);
    font-weight: 800;
}

.resource-filter label {
    display: grid;
    gap: 4px;
    min-width: 130px;
}

.resource-filter small {
    color: var(--ink-faint);
    font-size: 11px;
    font-weight: 700;
}

.resource-filter select {
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}

.resource-filter__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pixivnow-filter {
    border-color: rgba(74, 168, 255, .28);
    background:
        linear-gradient(135deg, rgba(74, 168, 255, .10), transparent 42%),
        rgba(255, 255, 255, .04);
}

.pixivnow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 16px 18px 18px;
}

.pixivnow-grid--home {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.pixivnow-card {
    display: grid;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface-2);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .12);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.pixivnow-card:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 168, 255, .5);
    background: rgba(74, 168, 255, .08);
}

.pixivnow-card__cover {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(74, 168, 255, .22), rgba(242, 166, 90, .18)),
        #111625;
}

.pixivnow-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .88;
    transition: transform .24s ease, opacity .16s ease;
}

.pixivnow-card:hover .pixivnow-card__cover img {
    transform: scale(1.035);
    opacity: .96;
}

.pixivnow-card__cover img[src^="https://"] {
    background: #0b1220;
}

.pixivnow-card__type {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: #4aa8ff;
    color: #0b1220;
    font-size: 11px;
    font-weight: 900;
}

.pixivnow-card__source {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(17, 22, 37, .86);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.pixivnow-card__source--original {
    background: #39b980;
    color: #06120b;
}

.pixivnow-card__source--ai {
    background: #b388ff;
    color: #171126;
}

.pixivnow-card__source--authorized {
    background: #f2a65a;
    color: #201204;
}

.pixivnow-card__type svg {
    width: 14px;
    height: 14px;
}

.pixivnow-card__source svg {
    width: 14px;
    height: 14px;
}

.pixivnow-card__body {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 11px;
}

.pixivnow-card__body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

.pixivnow-card__body h3 a {
    color: var(--ink);
}

.pixivnow-card__body p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 38px;
    margin: 0;
    color: var(--ink-faint);
    font-size: 12px;
}

.pixivnow-remote-preview {
    display: grid;
    gap: 8px;
    width: 100%;
    margin: 18px 0;
}

.pixivnow-remote-preview > img,
.pixivnow-remote-preview__image {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(74, 168, 255, .36);
    border-radius: 7px;
    background: #0b1220;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .16);
}

.pixivnow-remote-preview > img,
.pixivnow-remote-preview__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    background: #0b1220;
}

.pixivnow-remote-preview figcaption {
    color: var(--ink-faint);
    font-size: 12px;
    line-height: 1.6;
}

.pixivnow-remote-preview figcaption a {
    color: var(--accent);
    font-weight: 800;
}

.pixivnow-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--ink-faint);
    font-size: 11px;
}

.pixivnow-card__meta span,
.pixivnow-card__meta a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: inherit;
}

.pixivnow-card__meta span:first-child {
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pixivnow-card__meta svg {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
}

.composer-pixivnow,
.pixivnow-panel,
.media-detail-panel {
    display: grid;
    gap: 14px;
}

.composer-pixivnow {
    padding: 14px;
    border: 1px solid rgba(74, 168, 255, .32);
    border-radius: 7px;
    background:
        linear-gradient(135deg, rgba(74, 168, 255, .10), transparent 44%),
        rgba(255, 255, 255, .035);
}

.composer-pixivnow[hidden] {
    display: none;
}

.composer-pixivnow__head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.composer-pixivnow__head > svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: #4aa8ff;
}

.composer-pixivnow__head div {
    display: grid;
    gap: 3px;
}

.composer-pixivnow__head strong {
    color: var(--ink);
    font-size: 15px;
}

.composer-pixivnow__head span {
    color: var(--ink-faint);
    font-size: 12px;
    line-height: 1.6;
}

.pixivnow-panel__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.pixivnow-panel__grid div {
    display: grid;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .04);
}

.pixivnow-panel__grid span {
    color: var(--ink-faint);
    font-size: 11px;
    font-weight: 800;
}

.pixivnow-panel__grid strong,
.pixivnow-panel__grid a {
    color: var(--ink);
    overflow-wrap: anywhere;
}

.resource-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.resource-meta-grid div {
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .04);
}

.resource-meta-grid span {
    display: block;
    color: var(--ink-faint);
    font-size: 11px;
}

.resource-meta-grid strong {
    display: block;
    margin-top: 4px;
    color: #f2f2f2;
}

.resource-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.download-list {
    display: grid;
    gap: 10px;
}

.download-list__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, .04);
}

.download-list__item div {
    display: grid;
    gap: 4px;
}

.download-list__item strong {
    color: #f4f4f4;
}

.download-list__item span {
    color: var(--ink-faint);
    font-size: 13px;
}

.resource-lock {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(247, 148, 29, .28);
    border-radius: 7px;
    background: rgba(247, 148, 29, .1);
    color: #ffe0b2;
}

.resource-note {
    margin: 0;
    color: var(--ink-faint);
    font-size: 12px;
}

.resource-safety-notice {
    margin: 12px 0 0;
    padding: 12px;
    border: 1px solid rgba(240, 184, 78, .38);
    border-radius: 7px;
    background: rgba(240, 184, 78, .08);
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.7;
}

.resource-report-button {
    justify-self: start;
}

.resource-report-button.is-active {
    border-color: rgba(80, 211, 138, .32);
    background: rgba(22, 163, 107, .18);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px 18px;
    border-top: 1px solid var(--line);
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--ink);
}

.page-numbers.current,
.page-numbers:hover {
    border-color: rgba(80, 211, 138, .28);
    background: rgba(22, 163, 107, .18);
    color: var(--ink);
}

body.forgehub-default-mode-dark .page-numbers.current,
body.forgehub-default-mode-dark .page-numbers:hover {
    color: #fff;
}

body.forgehub-default-mode-light .page-numbers,
body.forgehub-pixel-farm .page-numbers {
    border-color: rgba(91, 82, 111, .34);
    background: rgba(255, 246, 227, .86);
    color: #27243a;
    text-shadow: none;
}

body.forgehub-default-mode-light .page-numbers.current,
body.forgehub-default-mode-light .page-numbers:hover,
body.forgehub-pixel-farm .page-numbers.current,
body.forgehub-pixel-farm .page-numbers:hover {
    border-color: #4d4565;
    background: #b9e4bc;
    color: #27243a;
    text-shadow: none;
}

.sidebar {
    position: sticky;
    top: 74px;
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding-top: 20px;
}

.widget {
    padding: 14px;
    border: 1px solid var(--line-soft);
    background: rgba(23, 23, 23, .82);
    color: var(--ink);
    box-shadow: none;
}

.widget--callout {
    background: linear-gradient(180deg, rgba(13, 61, 38, .86), rgba(23, 23, 23, .9));
}

.widget p {
    margin: 10px 0 0;
    color: var(--ink-faint);
}

.widget ul,
.widget ol {
    display: grid;
    gap: 7px;
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--ink-faint);
}

.widget li a {
    color: #e8e8e8;
}

.widget li a:hover {
    color: var(--brand-strong);
}

.quick-actions {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .04);
    color: #f1f1f1;
    font-weight: 700;
    transition: transform .16s ease, background .16s ease;
}

.quick-action:hover {
    background: rgba(255, 255, 255, .08);
}

.widget-search {
    height: 38px;
    padding: 0 6px 0 10px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, .04);
    color: var(--ink);
}

.widget.widget_search {
    padding: 10px;
}

.widget_search .wp-block-search {
    display: grid;
    gap: 7px;
}

.widget_search .wp-block-search__label {
    margin: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.widget_search .wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.widget_search .wp-block-search__input {
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .04);
    color: var(--ink);
    font-size: 13px;
    line-height: 36px;
}

.widget_search .wp-block-search__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid rgba(91, 168, 216, .32);
    border-radius: 7px;
    background: rgba(91, 168, 216, .16);
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.hot-keywords,
.tag-cloud,
.keyword-row,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.hot-keywords a,
.tag-cloud a,
.keyword-row a,
.tag-row a,
.tag-row span {
    gap: 5px;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, .05);
    color: #cfd7d2;
    font-size: 12px;
}

.tag-cloud span {
    color: inherit;
    opacity: .62;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 12px;
}

.stat-grid div,
.signal-metrics div {
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .04);
}

.stat-grid strong,
.signal-metrics strong {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.stat-grid span,
.signal-metrics span {
    display: block;
    margin-top: 5px;
    color: var(--ink-faint);
    font-size: 11px;
}

.topic-list,
.board-list,
.notice-list {
    display: grid;
    gap: 5px;
    margin-top: 10px;
}

.topic-row,
.notice-list a,
.board-link {
    border-radius: 7px;
}

.topic-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 8px;
    transition: transform .16s ease, background .16s ease;
}

.topic-row:hover,
.notice-list a:hover,
.board-link:hover {
    background: rgba(255, 255, 255, .055);
}

.topic-row__rank {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(247, 148, 29, .13);
    color: var(--accent-strong);
    font-weight: 800;
}

.topic-row__dot {
    width: 9px;
    height: 9px;
    margin-left: 8px;
    border-radius: 50%;
    background: var(--dot-color);
}

.topic-row__main {
    min-width: 0;
}

.topic-row strong,
.notice-list strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-row small,
.notice-list span {
    display: block;
    overflow: hidden;
    color: var(--ink-faint);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-list a {
    display: grid;
    gap: 3px;
    padding: 8px;
    border: 1px solid var(--line-soft);
    color: var(--ink);
}

body.forgehub-pixel-farm .notice-list a {
    background: rgba(255, 246, 227, .34);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-list a {
    background: rgba(255, 255, 255, .035);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
}

.board-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    min-height: 96px;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.board-card:hover {
    border-color: rgba(80, 211, 138, .26);
}

.board-card__icon,
.board-link > span {
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: var(--board-color);
}

.board-card__icon {
    width: 40px;
    height: 40px;
    grid-row: span 3;
}

.board-card strong {
    color: #f0f0f0;
    font-size: 15px;
}

.board-card small {
    color: var(--ink-faint);
}

.board-card em {
    color: var(--board-color);
    font-style: normal;
    font-weight: 800;
}

.board-link {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px;
    color: var(--ink);
}

.board-link > span {
    width: 30px;
    height: 30px;
}

.board-link small {
    color: var(--ink-faint);
}

.page-hero {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(13, 61, 38, .72), rgba(23, 23, 23, .92));
    color: #f3f3f3;
    box-shadow: none;
}

.page-hero__inner {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.page-hero__icon {
    width: 48px;
    height: 48px;
}

.page-hero p {
    color: rgba(232, 232, 232, .7);
}

.page-hero .keyword-row a {
    color: #e7ece8;
}

.category-quick-panel {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.category-quick-list {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.category-quick-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(91, 125, 164, .32);
    border-radius: 7px;
    background: rgba(255, 255, 255, .94);
    color: #1f344b;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .62) inset,
        0 8px 18px rgba(31, 52, 75, .14);
}

.category-quick-button svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.category-quick-button.is-active {
    border-color: var(--quick-color, #4aa8ff);
    background: #2f7fc7;
    border-color: color-mix(in srgb, var(--quick-color, #4aa8ff) 70%, #fff 12%);
    background: color-mix(in srgb, var(--quick-color, #4aa8ff) 78%, #1d4771);
    color: #fff;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .16),
        0 10px 22px rgba(34, 104, 168, .26);
}

.category-quick-button:hover {
    border-color: var(--quick-color, #4aa8ff);
    background: #fff;
    color: #14283f;
}

.category-quick-button.is-active:hover {
    background: #2f7fc7;
    background: color-mix(in srgb, var(--quick-color, #4aa8ff) 82%, #173c61);
    color: #fff;
}

html[data-forgehub-theme="dark"] .category-quick-button {
    border-color: rgba(168, 197, 231, .26);
    background: rgba(24, 32, 52, .92);
    color: #f4f8ff;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .06),
        0 10px 22px rgba(0, 0, 0, .28);
}

html[data-forgehub-theme="dark"] .category-quick-button:hover {
    border-color: rgba(123, 189, 255, .62);
    background: rgba(38, 53, 82, .98);
    color: #fff;
}

html[data-forgehub-theme="dark"] .category-quick-button.is-active {
    border-color: #80c4ff;
    background: #66b8f2;
    color: #081321;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .28),
        0 12px 26px rgba(74, 168, 255, .32);
}

body.forgehub-pixel-farm .category-quick-button {
    border: 2px solid var(--pixel-line);
    background: #fff6e3;
    color: #27243a;
    box-shadow: 3px 3px 0 var(--pixel-line);
    text-shadow: none;
}

body.forgehub-pixel-farm .category-quick-button:hover {
    background: #fff0ca;
    color: #27243a;
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .category-quick-button.is-active {
    border-color: var(--pixel-line);
    background: #3b78c2;
    color: #ffffff;
    box-shadow: 3px 3px 0 var(--pixel-line);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .category-quick-button {
    border-color: #786e95;
    background: #1c2438;
    color: #fff6e3;
    box-shadow: 3px 3px 0 #090b16;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .category-quick-button:hover {
    border-color: #f2a65a;
    background: #263657;
    color: #fff6e3;
    box-shadow: 2px 2px 0 #090b16;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .category-quick-button.is-active {
    border-color: #f2a65a;
    background: #5ba8d8;
    color: #101426;
    box-shadow: 3px 3px 0 #090b16;
}

.category-quick-panel__publish {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
}

.category-quick-panel__publish .button {
    min-height: 42px;
    white-space: nowrap;
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.page-hero__actions .button {
    min-height: 34px;
}

.wide-search {
    gap: 10px;
    max-width: 760px;
    min-height: 46px;
    margin-top: 14px;
    padding-left: 13px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, .06);
    color: #f1f1f1;
}

.wide-search .button {
    min-height: 46px;
    border-radius: 0 7px 7px 0;
}

.post-detail__hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #111;
    color: #f4f4f4;
}

.post-detail__hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .32;
}

.post-detail__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 18, 12, .96), rgba(8, 18, 12, .28));
}

.post-detail__hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 36px;
}

.post-detail__category {
    margin-bottom: 10px;
    color: #fff;
}

.post-detail__hero p {
    max-width: 760px;
    color: rgba(244, 244, 244, .76);
}

.article-body,
.attachment-box,
.comment-box,
.preview-box,
.composer,
.empty-state {
    padding: 18px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: none;
}

.article-body {
    border-left: 4px solid var(--brand);
}

.article-body p {
    margin: 0 0 1em;
    color: #d8d8d8;
    font-size: 15px;
}

.attachment-list {
    display: grid;
    gap: 9px;
}

.attachment-list a {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .04);
}

.attachment-list a:hover {
    border-color: rgba(80, 211, 138, .25);
}

.attachment-list small,
.comment p,
.empty-state p {
    color: var(--ink-faint);
}

.empty-state--search-guide {
    text-align: center;
}

.empty-state--search-guide .search-suggestion-row {
    justify-content: center;
    margin-top: 14px;
}

.empty-state--search-guide .search-suggestion-row a {
    min-height: 30px;
}

.comment {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.comment:first-of-type {
    border-top: 0;
}

.comment p {
    margin: 3px 0 0;
}

.comment-box,
.comment-respond,
.comment-form,
.comment-form p,
.comment > div,
.comment .children {
    min-width: 0;
    max-width: 100%;
}

.comment p,
.comment-content,
.comment-form {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.comment > .children {
    grid-column: 2 / -1;
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding-left: 14px;
    border-left: 2px solid var(--line-soft);
}

.comment-form {
    display: grid;
    gap: 12px;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-weight: 700;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    max-width: 100%;
}

.comment-form .form-submit {
    margin: 0;
}

.no-comments {
    margin: 12px 0 0;
    color: var(--ink-faint);
}

.composer-form {
    display: grid;
    gap: 14px;
}

.composer-form label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-weight: 700;
}

.composer-field-title {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-weight: 700;
}

.composer-field-hint {
    color: var(--ink-faint);
    font-size: 12px;
    font-weight: 600;
}

.composer-editor__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.composer-editor__meta,
.composer-editor__status {
    color: var(--ink-faint);
    font-size: 12px;
    font-weight: 600;
}

.composer-template-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.composer-template-button,
.composer-template-bar .button,
.composer-template-bar .wp-switch-editor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .055);
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
    float: none;
    margin: 0;
    vertical-align: top;
}

.composer-template-button:hover,
.composer-template-bar .button:hover,
.composer-template-bar .wp-switch-editor:hover,
.composer-template-bar .wp-switch-editor[aria-pressed="true"] {
    border-color: rgba(91, 168, 216, .34);
    background: rgba(91, 168, 216, .12);
}

.composer-template-bar .button.button,
.composer-template-bar .wp-switch-editor.wp-switch-editor {
    height: 34px;
    min-height: 34px;
    margin: 0 !important;
    padding: 0 11px !important;
    border-radius: 7px !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1 !important;
    text-shadow: none;
}

.composer-template-bar .wp-switch-editor.wp-switch-editor {
    border-color: rgba(128, 139, 165, .32);
}

.composer-template-bar .wp-switch-editor[aria-pressed="true"],
.composer-template-bar .wp-switch-editor.switch-tmce[aria-pressed="true"],
.composer-template-bar .wp-switch-editor.switch-html[aria-pressed="true"] {
    border-color: rgba(91, 168, 216, .48) !important;
    background: rgba(91, 168, 216, .16) !important;
    color: var(--ink) !important;
}

.composer-template-bar .wp-switch-editor.switch-html:not([aria-pressed="true"]) {
    background: rgba(255, 255, 255, .035);
}

.composer-editor__native-group {
    display: contents;
}

.composer-template-bar .wp-media-buttons,
.composer-template-bar .wp-editor-tabs {
    float: none;
    margin: 0 !important;
}

.composer-template-bar .wp-media-buttons-icon {
    margin: 0 4px 0 0;
}

.composer-template-bar .wp-media-buttons-icon::before {
    padding: 0;
}

.composer-editor .wp-editor-tools.is-rehomed {
    min-height: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
}

.composer-template-button svg {
    width: 15px;
    height: 15px;
}

.composer-inline-upload {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.composer-form input,
.composer-form select,
.composer-form textarea {
    width: 100%;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    padding: 10px 11px;
    background: rgba(255, 255, 255, .06);
    color: var(--ink);
    outline: none;
}

.composer-form input[type="file"] {
    padding: 8px;
}

.composer-editor {
    display: grid;
    gap: 6px;
}

.composer-editor .wp-editor-wrap {
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: var(--surface);
}

.composer-editor .wp-editor-container,
.composer-editor .mce-tinymce,
.composer-editor .mce-container,
.composer-editor .quicktags-toolbar {
    max-width: 100%;
    min-width: 0;
}

.composer-editor .quicktags-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
}

.composer-editor .wp-editor-tabs,
.composer-editor .quicktags-toolbar,
.composer-editor .mce-toolbar-grp,
.composer-editor .mce-statusbar {
    background: var(--surface-2);
    border-color: var(--line-soft);
}

.composer-editor .wp-switch-editor,
.composer-editor .quicktags-toolbar input,
.composer-editor .mce-btn button {
    color: var(--ink);
}

.composer-editor .quicktags-toolbar input.ed_button {
    width: auto !important;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0 10px;
    min-height: 30px;
    border: 1px solid var(--line-soft);
    border-radius: 6px;
    background: rgba(242, 166, 90, .86);
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.composer-editor .quicktags-toolbar input.ed_button:hover,
.composer-editor .quicktags-toolbar input.ed_button:focus {
    border-color: rgba(91, 168, 216, .42);
    background: rgba(91, 168, 216, .16);
}

.composer-editor textarea.wp-editor-area {
    min-height: 280px;
    max-width: 100%;
    border: 0;
    border-radius: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: Consolas, "Liberation Mono", Menlo, monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    resize: vertical;
}

.composer-editor iframe {
    max-width: 100%;
}

.composer-editor pre,
.composer-editor code,
.article-body pre,
.article-body code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

img.forgehub-inline-image,
.forgehub-inline-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
}

img.forgehub-inline-image {
    display: inline-block;
    margin: 14px 0;
}

img.forgehub-inline-image.aligncenter {
    display: block;
    margin-inline: auto;
}

img.forgehub-inline-image.alignleft {
    float: left;
    margin: 6px 16px 10px 0;
}

img.forgehub-inline-image.alignright {
    float: right;
    margin: 6px 0 10px 16px;
}

.forgehub-inline-image:not(img) {
    display: grid;
    gap: 6px;
    margin: 14px 0;
}

.forgehub-inline-image figcaption {
    color: var(--ink-faint);
    font-size: 12px;
}

.composer-editor .mce-top-part::before {
    display: none;
}

.composer-editor .mce-toolbar .mce-btn button,
.composer-editor .mce-toolbar .mce-btn i,
.composer-editor .mce-toolbar .mce-btn span {
    color: var(--ink);
}

.composer-editor .mce-btn:hover,
.composer-editor .mce-btn.mce-active {
    background: rgba(91, 168, 216, .12);
}

.composer-editor.has-local-draft .composer-editor__status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid rgba(242, 166, 90, .36);
    border-radius: 7px;
    background: rgba(242, 166, 90, .12);
    color: var(--accent-strong);
    cursor: pointer;
}

#wp-link-wrap.forgehub-link-dialog #wplink-link-existing-content,
#wp-link-wrap.forgehub-link-dialog #search-panel,
#wp-link-wrap.forgehub-link-dialog .query-results,
#wp-link-wrap.forgehub-link-dialog .river,
#wp-link-wrap.forgehub-link-dialog .river-waiting,
#wp-link-wrap.forgehub-link-dialog #wp-link-search-toggle {
    display: none !important;
}

body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog {
    height: auto !important;
    min-height: 286px !important;
    max-height: calc(100vh - 72px) !important;
    margin-top: 0 !important;
    overflow: visible !important;
    transform: translateY(-50%) !important;
}

body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog #wp-link {
    height: auto !important;
    min-height: 286px !important;
    overflow: visible !important;
}

body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog #link-selector {
    position: static !important;
    display: block !important;
    height: auto !important;
    min-height: 160px !important;
    max-height: calc(100vh - 210px);
    overflow-y: auto !important;
    padding: 18px 18px 10px !important;
}

body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog #link-options {
    display: grid !important;
    gap: 10px !important;
}

body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog #link-options label {
    display: grid !important;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 0 !important;
}

body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog #link-options input[type="text"],
body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog #link-options input[type="url"] {
    width: 100% !important;
    min-height: 34px !important;
    padding: 6px 9px !important;
}

body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog .submitbox {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px !important;
    padding: 12px 18px 14px !important;
}

body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog .link-target {
    margin-top: 4px;
}

body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog .link-target label {
    display: inline-flex !important;
    grid-template-columns: none;
    align-items: center;
    gap: 8px;
}

body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog .link-target input[type="checkbox"] {
    width: auto !important;
    min-height: 0 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-container-body,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-window-head,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-foot,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link {
    background: #fffaf0 !important;
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-title,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-label,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-formitem label,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-checkbox span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-close,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-close i,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #link-modal-title,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #wp-link-close,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap label,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .link-target label,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .howto,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .wp-link-text-field {
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-label.mce-disabled,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-disabled .mce-label,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-checkbox.mce-disabled span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .description {
    color: #746b82 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window input,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window textarea,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window select,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap input[type="text"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap input[type="url"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap textarea {
    border-color: #5b526f !important;
    background: #fffdf6 !important;
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window input::placeholder,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window textarea::placeholder,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap input::placeholder,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap textarea::placeholder {
    color: #746b82 !important;
}

@media (max-width: 640px) {
    body.forgehub-pixel-farm #wp-link-wrap.forgehub-link-dialog {
        left: 14px !important;
        width: calc(100vw - 28px) !important;
        margin-left: 0 !important;
    }
}

.composer-resource {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .035);
}

.composer-resource[data-resource-profile="media"] {
    border-left: 3px solid #e1864d;
}

.composer-resource[data-resource-profile="gallery"] {
    border-left: 3px solid #4aa8ff;
}

.composer-resource[data-resource-profile="ai"],
.composer-resource[data-resource-profile="tool"] {
    border-left: 3px solid #4d95b8;
}

.composer-resource[data-resource-profile="ebook"] {
    border-left: 3px solid #7b6fc2;
}

.composer-resource[data-resource-profile="asset"] {
    border-left: 3px solid #b46ac5;
}

.composer-resource[data-resource-profile="deal"] {
    border-left: 3px solid #d77a28;
}

.composer-resource[hidden],
[data-support-status-field][hidden],
[data-context-excerpt-field][hidden],
[data-gallery-template][hidden],
[data-gallery-hidden][hidden] {
    display: none;
}

.resource-fields {
    display: grid;
    gap: 16px;
}

.resource-fields[hidden] {
    display: none;
}

.resource-fields [data-resource-version-field][hidden],
.resource-fields [data-resource-platform-field][hidden] {
    display: none;
}

.composer-resource__description {
    margin: 0;
    color: var(--ink-faint);
    font-size: 13px;
    line-height: 1.65;
}

.resource-fields__primary,
.resource-fields__meta {
    display: grid;
    gap: 14px;
    align-items: start;
}

.resource-fields__primary[hidden],
.resource-episode-fields[hidden] {
    display: none;
}

.resource-fields__meta {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.composer-form .resource-field {
    min-width: 0;
    align-content: start;
    align-self: start;
    gap: 7px;
}

.composer-form .resource-field > span:first-child {
    min-height: 20px;
    line-height: 1.45;
}

.composer-form .resource-field > input,
.composer-form .resource-field > select {
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
}

.resource-field__hints {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 12px;
}

.resource-episode-fields {
    display: grid;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.resource-episode-fields__head,
.resource-episode-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.resource-episode-fields__head > div {
    display: grid;
    gap: 4px;
}

.resource-episode-fields__head > div > span,
.resource-episode-actions > span {
    color: var(--ink-faint);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.composer-form .resource-mode-select {
    min-width: 150px;
}

.composer-form .resource-mode-select select {
    height: 40px;
    min-height: 40px;
}

.resource-episode-list {
    display: grid;
    gap: 0;
}

.resource-episode-row {
    display: grid;
    grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--line-soft);
}

.resource-episode-row:last-child {
    border-bottom: 1px solid var(--line-soft);
}

.composer-form .resource-episode-row label {
    min-width: 0;
    align-content: start;
}

.composer-form .resource-episode-row input,
.composer-form .resource-episode-remove {
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
}

.resource-episode-actions {
    align-items: center;
}

.resource-panel[data-resource-profile="media"] .download-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.composer-resource .composer-field-hint {
    margin: 0;
    line-height: 1.6;
}

body.forgehub-pixel-farm .composer-resource .composer-field-hint {
    display: inline !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #5d5669 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-resource .composer-field-hint {
    color: #c8c2d3 !important;
}

.composer-resource .composer-field-hint[hidden],
body.forgehub-pixel-farm .composer-resource .composer-field-hint[hidden] {
    display: none !important;
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.composer-form .checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.composer-form .checkbox-row input {
    width: auto;
    min-width: 16px;
}

.composer-form input:focus,
.composer-form select:focus,
.composer-form textarea:focus,
.wide-search input:focus,
.welcome-search input:focus,
.search-box input:focus {
    box-shadow: 0 0 0 3px rgba(22, 163, 107, .16);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.composer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.user-avatar {
    display: inline-grid;
    place-items: center;
    width: var(--avatar-size, 42px);
    height: var(--avatar-size, 42px);
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: #fff0ca;
    color: #27243a;
    font-weight: 800;
}

.user-avatar--image {
    background: #fff6e3;
}

.user-avatar--default {
    --avatar-a: #f2a65a;
    --avatar-b: #d9783c;
    --avatar-c: #fff0ca;
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .34), transparent 42%),
        linear-gradient(135deg, var(--avatar-a) 0%, var(--avatar-b) 54%, var(--avatar-c) 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .24);
}

.user-avatar--default::before,
.user-avatar--default::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 38%;
    height: 38%;
    background: rgba(255, 255, 255, .16);
}

.user-avatar--default::before {
    top: 10%;
    left: 12%;
}

.user-avatar--default::after {
    right: 12%;
    bottom: 12%;
}

.user-avatar--default span {
    display: grid;
    place-items: center;
    width: 58%;
    height: 58%;
    border: 2px solid rgba(23, 19, 37, .52);
    border-radius: 6px;
    background: rgba(255, 246, 227, .82);
    color: #171325;
    line-height: 1;
}

.forgehub-avatar-tone-1 {
    --avatar-a: #f2a65a;
    --avatar-b: #d9783c;
    --avatar-c: #fff0ca;
}

.forgehub-avatar-tone-2 {
    --avatar-a: #e96f5f;
    --avatar-b: #f3aa66;
    --avatar-c: #ffe1c8;
}

.forgehub-avatar-tone-3 {
    --avatar-a: #4aa88d;
    --avatar-b: #91c979;
    --avatar-c: #edf5cf;
}

.forgehub-avatar-tone-4 {
    --avatar-a: #8b6fc9;
    --avatar-b: #d98fb3;
    --avatar-c: #f5d8ff;
}

.forgehub-avatar-tone-5 {
    --avatar-a: #b66a45;
    --avatar-b: #8da85d;
    --avatar-c: #f7e2aa;
}

.forgehub-avatar-tone-6 {
    --avatar-a: #7b6d59;
    --avatar-b: #c89558;
    --avatar-c: #fff6e3;
}

.user-avatar--image img,
.user-avatar__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-uploader {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
}

.avatar-uploader > div > strong,
.avatar-uploader > div > span {
    display: block;
}

.avatar-uploader > div > strong {
    color: var(--ink);
}

.avatar-uploader > div > span {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.6;
}

.avatar-uploader input[type="file"] {
    margin-top: 9px;
    width: 100%;
    color: var(--ink);
}

.avatar-uploader__remove {
    margin-top: 8px;
}

.account-menu {
    position: relative;
}

.account-menu__trigger {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: #edf4ef;
    cursor: pointer;
}

.account-menu__trigger .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.account-menu__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 1px solid rgba(16, 20, 38, .9);
    border-radius: 999px;
    background: var(--accent);
    color: #101426;
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
    text-align: center;
}

.account-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 45;
    width: min(320px, calc(100vw - 24px));
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(23, 26, 40, .98);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.account-menu__panel[hidden] {
    display: none;
}

.account-menu__head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 4px 4px 12px;
}

.account-menu__head strong,
.account-menu__head small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu__head small {
    color: var(--ink-faint);
}

.account-menu__quick {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-soft);
}

.account-menu__quick a,
.account-menu__quick button {
    display: grid;
    place-items: center;
    min-height: 56px;
    gap: 4px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .045);
    color: var(--ink-soft);
    font-size: 12px;
    cursor: pointer;
}

.account-menu__quick button.is-active {
    color: var(--accent-strong);
}

.account-menu__links {
    display: grid;
    gap: 4px;
    padding-top: 10px;
}

.account-menu__links a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 0 9px;
    border-radius: 7px;
    color: var(--ink-soft);
}

.account-menu__links a:hover,
.account-menu__quick a:hover,
.account-menu__quick button:hover {
    background: rgba(255, 255, 255, .075);
    color: var(--ink);
}

.user-center {
    display: grid;
    gap: 14px;
    padding: 0;
    overflow: hidden;
}

.user-center-hero {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid var(--line-soft);
    background:
        linear-gradient(90deg, rgba(91, 168, 216, .12), transparent 52%),
        rgba(255, 255, 255, .03);
}

.user-center-hero .user-avatar {
    width: 68px;
    height: 68px;
    font-size: 24px;
}

.user-center-hero h2 {
    margin: 2px 0;
    color: var(--ink);
    font-size: 26px;
    line-height: 1.1;
}

.user-center-hero p {
    margin: 0;
    color: var(--ink-faint);
}

.user-center-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.user-center-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 0 14px 4px;
    scrollbar-width: thin;
}

.user-center-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    flex: 0 0 auto;
    padding: 0 10px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .035);
    color: var(--ink-soft);
    font-weight: 700;
}

.user-center-tabs a.is-active,
.user-center-tabs a:hover {
    border-color: rgba(91, 168, 216, .4);
    background: rgba(91, 168, 216, .12);
    color: var(--ink);
}

.user-center-metrics {
    padding: 0 14px;
}

.user-center-panels {
    padding: 0 14px 16px;
}

.user-center-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.user-center-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
}

.user-center-card--wide {
    grid-column: 1 / -1;
}

.user-center-card h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 16px;
}

.user-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 9px;
}

.user-stat-grid div {
    padding: 11px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .035);
}

.user-stat-grid span,
.user-feed-item small,
.user-badge-grid span {
    color: var(--ink-faint);
    font-size: 12px;
}

.user-stat-grid strong {
    display: block;
    margin-top: 3px;
    color: var(--ink);
    font-size: 22px;
}

.user-center-feed {
    display: grid;
    gap: 9px;
}

.user-feed-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .03);
}

.user-feed-item__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: rgba(91, 168, 216, .13);
    color: var(--brand-strong);
}

.user-feed-item strong,
.user-feed-item p {
    display: block;
    margin: 0;
}

.user-feed-item p {
    color: var(--ink-soft);
}

.user-category-list,
.user-badge-list,
.user-badge-grid {
    display: grid;
    gap: 8px;
}

.user-category-list a,
.user-badge-list span,
.user-badge-grid div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .035);
}

.user-badge-list span {
    justify-content: flex-start;
    color: var(--ink-soft);
}

.user-badge-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.user-badge-grid div {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 112px;
    opacity: .5;
}

.user-badge-grid div.is-earned {
    opacity: 1;
    border-color: rgba(242, 166, 90, .45);
    background: rgba(242, 166, 90, .08);
}

.user-badge-grid i[data-lucide] {
    color: var(--accent-strong);
}

.user-preferences-form {
    max-width: 760px;
}

.user-center-notice {
    padding: 9px 11px;
    border: 1px solid rgba(88, 195, 163, .35);
    border-radius: 7px;
    background: rgba(88, 195, 163, .1);
}

.user-center-notice--error {
    border-color: rgba(217, 79, 79, .42);
    background: rgba(217, 79, 79, .1);
    color: var(--ink);
}

.invite-exchange {
    display: grid;
    gap: 12px;
}

.invite-exchange__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.invite-exchange__head h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 16px;
}

.invite-exchange__badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid rgba(91, 168, 216, .28);
    border-radius: 7px;
    background: rgba(91, 168, 216, .1);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 700;
}

.invite-exchange__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.invite-exchange__meta span {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .035);
    color: var(--ink-faint);
    font-size: 12px;
}

.invite-exchange__meta strong {
    display: block;
    margin-top: 3px;
    color: var(--ink);
    font-size: 16px;
}

.invite-exchange__message {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.6;
}

.invite-code-list {
    display: grid;
    gap: 8px;
}

.invite-code-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .03);
}

.invite-code-list__item code {
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 3px 6px;
    border-radius: 5px;
    background: rgba(0, 0, 0, .06);
    color: var(--ink);
    font-size: 12px;
}

.invite-code-list__item span {
    flex: 0 0 auto;
    color: var(--ink-faint);
    font-size: 12px;
}

body.forgehub-pixel-farm .account-menu__trigger,
body.forgehub-pixel-farm .account-menu__panel,
body.forgehub-pixel-farm .account-menu__quick a,
body.forgehub-pixel-farm .account-menu__quick button,
body.forgehub-pixel-farm .account-menu__links a,
body.forgehub-pixel-farm .user-center-card,
body.forgehub-pixel-farm .user-center-tabs a,
body.forgehub-pixel-farm .user-stat-grid div,
body.forgehub-pixel-farm .user-feed-item,
body.forgehub-pixel-farm .invite-exchange__meta span,
body.forgehub-pixel-farm .invite-code-list__item,
body.forgehub-pixel-farm .user-category-list a,
body.forgehub-pixel-farm .user-badge-list span,
body.forgehub-pixel-farm .user-badge-grid div {
    border-color: var(--pixel-line);
}

body.forgehub-pixel-farm .account-menu__panel {
    border-width: 3px;
    background: var(--surface);
    box-shadow: 5px 5px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .account-menu__quick button,
body.forgehub-pixel-farm .account-menu__quick a,
body.forgehub-pixel-farm .account-menu__links a,
body.forgehub-pixel-farm .user-center-tabs a {
    background: rgba(255, 246, 227, .7);
    color: var(--ink);
    box-shadow: none;
    text-shadow: none;
}

body.forgehub-pixel-farm .user-center-card,
body.forgehub-pixel-farm .user-stat-grid div,
body.forgehub-pixel-farm .user-feed-item,
body.forgehub-pixel-farm .invite-exchange__meta span,
body.forgehub-pixel-farm .invite-code-list__item,
body.forgehub-pixel-farm .user-category-list a,
body.forgehub-pixel-farm .user-badge-list span,
body.forgehub-pixel-farm .user-badge-grid div {
    background: rgba(255, 246, 227, .76);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .account-menu__panel,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-center-card,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-stat-grid div,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-feed-item,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .avatar-uploader,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .invite-exchange__meta span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .invite-code-list__item,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-category-list a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-badge-list span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-badge-grid div {
    background: var(--surface);
    color: var(--ink);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-avatar--default span {
    border-color: rgba(240, 237, 247, .46);
    background: rgba(17, 22, 37, .88);
    color: var(--ink) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .avatar-uploader > div > strong,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-preferences-form label,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-form label,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-meta-grid strong,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-center-metrics strong,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-center-hero h2,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-center-card h3,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-stat-grid strong {
    color: var(--ink);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .avatar-uploader > div > span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .avatar-uploader__remove span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-note,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-feed-item p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-center-hero p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-stat-grid span {
    color: var(--ink-soft);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .avatar-uploader input[type="file"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-form input,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-form textarea,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-form select {
    border-color: #585172;
    background: #171d31;
    color: var(--ink);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .avatar-uploader input[type="file"]::file-selector-button {
    border-color: #70688a;
    background: #242c45;
    color: var(--ink);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-center-tabs a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .account-menu__quick a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .account-menu__quick button,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .account-menu__links a {
    background: rgba(255, 255, 255, .035);
    color: var(--ink-soft);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .account-menu__badge {
    border-color: #090b16;
    background: #d9783c;
    color: #fff6e3;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .mce-toolbar .mce-btn button,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .mce-toolbar .mce-btn i,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .mce-toolbar .mce-btn span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-template-bar .button,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .wp-switch-editor,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .quicktags-toolbar input,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-template-button {
    color: var(--ink) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .mce-panel,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .mce-toolbar-grp,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .mce-statusbar,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .wp-editor-tabs,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .quicktags-toolbar,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-template-bar .button,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-template-bar .wp-switch-editor,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-template-button {
    border-color: #585172 !important;
    background: #202840 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-template-bar .button,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-template-bar .wp-switch-editor,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-template-button {
    border-width: 1px !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-template-bar .wp-switch-editor[aria-pressed="true"] {
    border-color: rgba(91, 168, 216, .58) !important;
    background: rgba(91, 168, 216, .2) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .quicktags-toolbar input.ed_button {
    border-color: #585172 !important;
    background: #202840 !important;
    color: var(--ink) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .quicktags-toolbar input.ed_button:hover,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor .quicktags-toolbar input.ed_button:focus {
    border-color: rgba(91, 168, 216, .58) !important;
    background: rgba(91, 168, 216, .2) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .forgehub-inline-image img {
    border-color: #585172;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .forgehub-inline-image figcaption {
    color: var(--ink-soft);
}

.empty-state {
    display: grid;
    place-items: center;
    min-height: 220px;
    text-align: center;
}

.empty-state svg {
    width: 42px;
    height: 42px;
    color: var(--brand);
}

.empty-state h2 {
    margin: 8px 0 0;
}

.signal-panel__intro,
.signal-panel__block {
    padding: 16px;
}

.signal-panel h2 {
    margin: 10px 0 0;
    color: #f2f2f2;
    font-size: 22px;
    line-height: 1.1;
}

.signal-panel p {
    margin: 8px 0 0;
    color: var(--ink-faint);
}

.signal-metrics,
.node-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.signal-metrics {
    padding: 0 16px 16px;
}

.node-chip {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .04);
}

.node-chip span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: var(--node-color);
}

.node-chip strong {
    display: block;
    color: #f1f1f1;
}

.node-chip small {
    color: var(--ink-faint);
}

.mini-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mini-feature {
    position: relative;
    min-height: 134px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    background: #121212;
    box-shadow: none;
    transition: transform .16s ease;
}

.mini-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
}

.mini-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, .24), rgba(17, 17, 17, .9));
}

.mini-feature__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 134px;
    padding: 14px;
}

.mini-feature__content em {
    color: var(--feature-color);
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.mini-feature__content strong {
    margin-top: 5px;
    color: #f4f4f4;
    font-size: 18px;
    line-height: 1.16;
}

.mini-feature__content small {
    margin-top: 5px;
    color: rgba(244, 244, 244, .66);
    font-size: 12px;
}

.site-footer {
    border-top: 1px solid var(--line-soft);
    background: #101426;
    color: rgba(240, 237, 247, .7);
    padding: 34px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
}

.site-footer .brand__mark {
    box-shadow: none;
}

.site-footer strong,
.site-footer h2 {
    color: #f2f2f2;
}

.site-footer p {
    margin: 8px 0 0;
}

.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #3b78c2;
    color: #fff;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
}

body.comment-emoji-open .back-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

body.site-popup-open {
    overflow: hidden;
}

.site-popup[hidden] {
    display: none !important;
}

.site-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 22px;
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

.site-popup.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.site-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 16, 32, .58);
}

.site-popup__panel {
    position: relative;
    width: min(520px, 100%);
    max-height: min(78vh, 680px);
    overflow: auto;
    padding: 22px;
    border: 3px solid var(--pixel-line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 6px 6px 0 var(--pixel-line);
    outline: 0;
    transform: translateY(10px);
    transition: transform .18s ease;
}

.site-popup.is-visible .site-popup__panel {
    transform: translateY(0);
}

.site-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid var(--line);
    border-radius: 7px;
    background: var(--panel);
    color: var(--ink);
    cursor: pointer;
}

.site-popup__kicker {
    display: inline-flex;
    margin: 0 42px 10px 0;
    padding: 4px 8px;
    border: 1px solid var(--line-soft);
    border-radius: 6px;
    background: var(--panel-soft);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 800;
}

.site-popup h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(22px, 4vw, 32px);
    line-height: 1.14;
}

.site-popup__body {
    margin-top: 12px;
    color: var(--ink-soft);
    line-height: 1.75;
}

.site-popup__body p {
    margin: 0 0 10px;
}

.site-popup__body p:last-child {
    margin-bottom: 0;
}

.site-popup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.site-popup--bottom-right {
    place-items: end;
}

.site-popup--bottom-right .site-popup__panel {
    width: min(430px, 100%);
}

.site-popup--bottom-bar {
    place-items: end center;
}

.site-popup--bottom-bar .site-popup__panel {
    width: min(760px, 100%);
}

.article-body {
    color: var(--ink);
    line-height: 1.75;
}

.article-body :where(p, li, dd, figcaption),
.resource-note,
.resource-safety-notice,
.download-list__item span {
    color: var(--ink-soft);
}

.article-body :where(h1, h2, h3, h4, h5, h6, strong),
.resource-meta-grid strong,
.download-list__item strong {
    color: var(--ink);
}

.article-body a {
    color: var(--brand-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-hero p,
.post-detail__hero p {
    color: var(--ink-soft);
}

.post-detail__category,
.thread-item__category,
.page-hero .keyword-row a {
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, .08);
    color: var(--ink);
}

.resource-lock {
    color: var(--ink);
}

body.forgehub-pixel-farm .article-body :where(p, li, dd, figcaption),
body.forgehub-pixel-farm .page-hero p,
body.forgehub-pixel-farm .post-detail__hero p,
body.forgehub-pixel-farm .resource-note,
body.forgehub-pixel-farm .resource-safety-notice,
body.forgehub-pixel-farm .download-list__item span {
    color: #3f3a54;
}

body.forgehub-pixel-farm .article-body :where(h1, h2, h3, h4, h5, h6, strong),
body.forgehub-pixel-farm .resource-meta-grid strong,
body.forgehub-pixel-farm .download-list__item strong {
    color: #27243a;
}

body.forgehub-pixel-farm .post-detail__category,
body.forgehub-pixel-farm .thread-item__category,
body.forgehub-pixel-farm .page-hero .keyword-row a {
    border: 2px solid var(--pixel-line);
    background: #f2a65a;
    color: #27243a;
    box-shadow: 2px 2px 0 rgba(91, 82, 111, .18);
    text-shadow: 1px 1px 0 rgba(255, 246, 227, .72);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .article-body :where(p, li, dd, figcaption),
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .page-hero p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .post-detail__hero p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-note,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-safety-notice,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .download-list__item span {
    color: var(--ink-soft);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .post-detail__category,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .thread-item__category,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .page-hero .keyword-row a {
    border-color: #585172;
    background: #202840;
    color: var(--ink);
    box-shadow: 2px 2px 0 rgba(9, 11, 22, .5);
    text-shadow: none;
}

.login-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 18px;
    align-items: stretch;
}

.login-page-shell {
    padding: 24px 0 36px;
}

.login-panel__visual,
.login-card {
    padding: 22px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.login-panel__visual {
    display: grid;
    align-content: center;
    gap: 14px;
    min-height: 360px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 46%),
        var(--panel-soft);
}

.login-panel__visual h1 {
    margin: 0;
    color: var(--ink);
    font-size: 36px;
    line-height: 1.08;
}

.login-panel__visual p {
    max-width: 560px;
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.login-panel__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.login-panel__features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, .06);
    color: var(--ink);
    font-size: 12px;
}

.login-card,
.login-form,
.login-card__actions {
    display: grid;
    gap: 14px;
}

.login-card__tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--line-soft);
    background: var(--panel-soft);
}

.login-card__tabs a {
    display: grid;
    min-height: 36px;
    place-items: center;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--ink-soft) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
}

.login-card__tabs a.is-active,
.login-card__tabs a:hover {
    border-color: rgba(91, 168, 216, .34);
    background: rgba(91, 168, 216, .13);
    color: var(--ink) !important;
}

.login-card__tabs a.is-active {
    border-color: rgba(91, 168, 216, .44);
    background: rgba(91, 168, 216, .2);
}

.login-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 13px;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
}

.login-form__inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.login-form__send-code {
    min-height: 42px;
    padding-inline: 14px;
    white-space: nowrap;
}

.login-form__hint {
    display: block;
    color: var(--ink-faint);
    font-size: 12px;
    line-height: 1.6;
}

.login-form__status {
    padding: 10px 12px;
    border: 1px solid var(--line-soft);
    background: var(--panel-soft);
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.6;
}

.login-form__status[hidden] {
    display: none !important;
}

.login-form__status[data-tone="success"] {
    border-color: rgba(88, 195, 163, .34);
    background: rgba(88, 195, 163, .12);
    color: var(--success);
}

.login-form__status[data-tone="warning"] {
    border-color: rgba(242, 166, 90, .34);
    background: rgba(242, 166, 90, .12);
    color: var(--accent-strong);
}

.login-form__status[data-tone="error"] {
    border-color: rgba(227, 93, 91, .34);
    background: rgba(227, 93, 91, .12);
    color: #ffb1af;
}

.login-card__empty--register {
    gap: 8px;
}

.login-form__submit {
    width: 100%;
    justify-content: center;
}

.login-card__empty {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line-soft);
    background: var(--panel-soft);
}

.login-card__empty strong {
    color: var(--ink);
}

.login-card__empty span {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.6;
}

.login-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    padding-top: 4px;
    border-top: 1px solid var(--line-soft);
}

.login-card__links a {
    color: var(--brand-strong);
}

.login-card__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, .05);
}

.login-card__user strong,
.login-card__user span {
    display: block;
}

.login-card__user span {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 13px;
}

body.forgehub-pixel-farm .login-panel__visual,
body.forgehub-pixel-farm .login-card,
body.forgehub-pixel-farm .login-panel__features span,
body.forgehub-pixel-farm .login-card__user {
    border: 3px solid var(--pixel-line);
    background: var(--surface);
    color: #27243a;
    box-shadow: 5px 5px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .login-panel__visual {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .48), transparent 44%),
        #dbe8f6;
}

body.forgehub-pixel-farm .login-panel__visual p,
body.forgehub-pixel-farm .login-card__user span {
    color: #3f3a54;
}

body.forgehub-pixel-farm .login-form__hint {
    color: #4f4a63;
}

body.forgehub-pixel-farm .login-form__status {
    border: 3px solid var(--pixel-line);
    background: #fff6e3;
    color: #27243a;
    box-shadow: 3px 3px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .login-form__status[data-tone="success"] {
    background: #dcefd4;
    color: #224d35;
}

body.forgehub-pixel-farm .login-form__status[data-tone="warning"] {
    background: #f7dfb6;
    color: #8b4a18;
}

body.forgehub-pixel-farm .login-form__status[data-tone="error"] {
    background: #f2d0c8;
    color: #7a2b1f;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .login-panel__visual,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .login-card,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .login-panel__features span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .login-card__user {
    border-color: #585172;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 5px 5px 0 #090b16;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .login-form__status {
    border-color: #585172;
    background: #1a2036;
    color: #f0edf7;
    box-shadow: 3px 3px 0 #090b16;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .login-form__status[data-tone="success"] {
    background: #1c3a32;
    color: #bdf1dd;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .login-form__status[data-tone="warning"] {
    background: #3b2e1e;
    color: #ffd8a1;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .login-form__status[data-tone="error"] {
    background: #402321;
    color: #ffc0bd;
}

@media (max-width: 1180px) {
    .site-shell,
    .forgehub-layout-two-column .site-shell,
    .forgehub-layout-wide .site-shell {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .sidebar,
    .forgehub-layout-wide .sidebar {
        position: static;
        grid-column: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
        padding-top: 0;
    }
}

@media (max-width: 920px) {
    .resource-fields__meta {
        grid-template-columns: 1fr;
    }

    .resource-episode-fields__head,
    .resource-episode-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .composer-form .resource-mode-select {
        width: 100%;
    }

    .resource-episode-row {
        grid-template-columns: 1fr;
    }

    .resource-episode-remove {
        justify-self: start;
    }

    .resource-panel[data-resource-profile="media"] .download-list {
        grid-template-columns: 1fr;
    }

    .back-top {
        display: none;
    }

    body {
        background:
            linear-gradient(180deg, rgba(13, 16, 32, .84), rgba(18, 20, 32, .96)),
            var(--pixel-bg-image);
        background-attachment: fixed;
        background-position: center top;
        background-size: cover;
    }

    .site-shell,
    .forgehub-layout-two-column .site-shell,
    .forgehub-layout-wide .site-shell,
    .home-columns {
        grid-template-columns: 1fr;
    }

    .site-shell.container {
        width: min(var(--container), calc(100% - 24px));
        margin-right: auto;
        margin-left: auto;
        padding-right: 0;
    }

    .content-stack {
        order: 1;
    }

    .left-rail {
        position: static;
        order: 2;
        max-height: none;
        overflow: visible;
        padding: 14px 0 0;
        border-right: 0;
    }

    .left-rail__section {
        border: 1px solid var(--line-soft);
        border-radius: var(--radius);
        padding: 12px;
        background: rgba(255, 255, 255, .03);
    }

    .sidebar,
    .forgehub-layout-two-column .sidebar,
    .forgehub-layout-wide .sidebar {
        order: 3;
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .masthead__inner {
        min-height: auto;
        padding: 12px 0;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .brand {
        min-width: 0;
        flex: 1;
    }

    .brand strong {
        font-size: 24px;
    }

    .search-box {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .masthead__actions .icon-button:not(.nav-toggle) {
        display: none;
    }

    .masthead__actions .icon-button.theme-toggle {
        display: inline-flex;
    }

    .masthead__actions .account-menu {
        display: none;
    }

    .sidebar-toggle {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    html.forgehub-rail-collapsed .site-shell,
    html.forgehub-rail-collapsed .forgehub-layout-two-column .site-shell,
    html.forgehub-rail-collapsed .forgehub-layout-wide .site-shell {
        grid-template-columns: 1fr;
    }

    html.forgehub-rail-collapsed .left-rail {
        position: static;
        width: auto;
        padding: 14px 0 0;
        border-right: 0;
        overflow: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .welcome-panel {
        min-height: 210px;
        padding: 24px 0 18px;
    }

    .thread-item {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .thread-item__activity {
        grid-template-columns: auto auto 1fr;
    }

    .avatar-stack,
    .thread-item__count {
        justify-content: flex-start;
    }

    .thread-item__time {
        text-align: left;
    }

    .board-grid,
    .footer-grid,
    .form-grid,
    .user-center-grid,
    .mini-feature-grid {
        grid-template-columns: 1fr;
    }

    .user-center-hero {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .user-center-hero .user-avatar {
        width: 56px;
        height: 56px;
    }

    .user-center-hero__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .user-center-tabs {
        flex-wrap: wrap;
        overflow-x: visible;
        padding-inline: 0;
    }

    .user-center-tabs a {
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
        min-width: 0;
        min-height: 38px;
        text-align: center;
    }

    .page-hero__inner,
    .notice-band__inner {
        grid-template-columns: 1fr;
    }

    .category-quick-panel {
        flex-direction: column;
    }

    .category-quick-panel__publish,
    .category-quick-panel__publish .button {
        width: 100%;
    }

    .category-quick-panel__publish .button {
        justify-content: center;
    }

    .notice-band__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .brand small {
        display: none;
    }

    .welcome-panel h1 {
        font-size: 34px;
    }

    .node-pill-row {
        justify-content: flex-start;
    }

    .node-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .invite-exchange__head {
        display: grid;
    }

    .composer-editor__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .composer-template-button {
        flex: 1 1 96px;
        justify-content: center;
    }

    .invite-exchange__meta {
        grid-template-columns: 1fr;
    }

    .invite-code-list__item {
        align-items: flex-start;
        flex-direction: column;
    }

    .avatar-uploader {
        grid-template-columns: 1fr;
    }

    .button {
        min-width: 0;
        padding-inline: 12px;
    }

    .hero-topic__actions,
    .composer-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-topic__actions .button,
    .composer-actions .button {
        width: 100%;
    }

    .post-grid,
    .signal-metrics,
    .node-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading .text-link {
        margin-left: 0;
    }

    .section-heading h2,
    .page-hero h1,
    .post-detail__hero h1 {
        font-size: 24px;
    }

    .download-list__item {
        grid-template-columns: 1fr;
    }

    .download-list__item .button {
        width: 100%;
    }
}

@media (max-width: 920px) {
    .login-panel {
        grid-template-columns: 1fr;
    }

    .login-panel__visual {
        min-height: auto;
    }

    .login-form__inline {
        grid-template-columns: 1fr;
    }

    .login-form__send-code {
        width: 100%;
    }
}

body.forgehub-pixel-farm {
    background:
        linear-gradient(180deg, rgba(223, 231, 239, .9), rgba(255, 246, 227, .94)),
        var(--pixel-bg-image) !important;
    background-attachment: fixed, fixed !important;
    background-position: center top !important;
    background-size: cover, cover !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm {
    background:
        linear-gradient(180deg, rgba(13, 16, 32, .9), rgba(13, 16, 32, .96)),
        var(--pixel-bg-image) !important;
    background-attachment: fixed, fixed !important;
    background-position: center top !important;
    background-size: cover, cover !important;
}

.site-header .masthead .search-box {
    display: none !important;
}

body.forgehub-pixel-farm .thread-item h2 a,
body.forgehub-pixel-farm .post-card__title a,
body.forgehub-pixel-farm .topic-row strong {
    color: var(--ink) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-nav-item,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-mini-links a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-tag-list a {
    color: var(--sidebar-text) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-nav-item small {
    color: var(--sidebar-muted) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .left-nav-item strong {
    color: inherit !important;
}

body.forgehub-pixel-farm .engagement-bar .button {
    border-color: rgba(91, 82, 111, .34) !important;
    background: rgba(255, 246, 227, .82) !important;
    color: var(--ink) !important;
}

body.forgehub-pixel-farm .engagement-bar .button.is-active {
    border-color: rgba(59, 120, 194, .62) !important;
    background: #e7f0ff !important;
    color: #1f3f72 !important;
    box-shadow: 3px 3px 0 rgba(91, 82, 111, .28) !important;
}

body.forgehub-pixel-farm .engagement-bar .button.is-active svg,
body.forgehub-pixel-farm .engagement-bar .button.is-active span {
    color: inherit !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .engagement-bar .button {
    border-color: #585172 !important;
    background: #202840 !important;
    color: var(--ink) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .engagement-bar .button.is-active {
    border-color: #7cc7f2 !important;
    background: #26395f !important;
    color: var(--ink) !important;
}

.thread-item {
    grid-template-columns: minmax(0, 1fr) max-content;
}

.thread-item__activity {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: max-content;
}

.thread-item__activity .avatar-stack {
    flex: 0 0 auto;
    min-width: 45px;
}

.thread-item__activity .thread-item__count {
    flex: 0 0 auto;
    min-width: 28px;
}

.thread-item__time {
    flex: 0 0 auto;
    min-width: 112px;
    width: auto;
    text-align: right;
}

.thread-list--compact .thread-item {
    grid-template-columns: 1fr;
}

.thread-list--compact .thread-item__activity {
    justify-content: flex-start;
    flex-wrap: wrap;
    min-width: 0;
}

.thread-list--compact .thread-item__time {
    min-width: max-content;
    text-align: left;
}

@media (max-width: 760px) {
    .thread-item {
        grid-template-columns: 1fr;
    }

    .thread-item__activity {
        justify-content: flex-start;
        flex-wrap: wrap;
        min-width: 0;
    }

    .thread-item__time {
        min-width: max-content;
        text-align: left;
    }
}

/* Global readability guard: keep repeated content surfaces legible across modes. */
body.forgehub-pixel-farm :where(
    .content-stack,
    .article-body,
    .post-detail,
    .content-feed,
    .thread-item,
    .post-card,
    .page-hero,
    .notice-band,
    .widget,
    .composer,
    .comment-box,
    .attachment-box,
    .resource-panel,
    .download-list,
    .login-panel,
    .login-card,
    .user-center,
    .user-center-card,
    .account-menu__panel
) {
    color: var(--ink);
}

body.forgehub-pixel-farm :where(
    .content-stack,
    .article-body,
    .post-detail,
    .content-feed,
    .thread-item,
    .post-card,
    .page-hero,
    .notice-band,
    .widget,
    .composer,
    .comment-box,
    .attachment-box,
    .resource-panel,
    .download-list,
    .login-card,
    .user-center,
    .user-center-card,
    .account-menu__panel
) :where(h1, h2, h3, h4, strong, label, dt) {
    color: var(--ink);
}

body.forgehub-pixel-farm :where(
    .content-stack,
    .article-body,
    .post-detail,
    .content-feed,
    .thread-item,
    .post-card,
    .page-hero,
    .notice-band,
    .widget,
    .composer,
    .comment-box,
    .attachment-box,
    .resource-panel,
    .download-list,
    .login-card,
    .user-center,
    .user-center-card,
    .account-menu__panel
) :where(p, li, dd, figcaption, small, span:not(.avatar):not(.user-avatar):not(.brand__mark):not(.page-hero__icon):not(.section-heading__icon):not(.left-nav-item__icon):not(.post-card__badge):not(.topic-row__rank):not(.account-menu__badge), em) {
    color: var(--ink-soft);
}

body.forgehub-pixel-farm :where(.article-body, .post-detail, .post-card, .thread-item, .widget, .user-center, .login-card, .composer) a:not(.button):not(.post-detail__category):not(.thread-item__category):not(.post-card__category):not(.user-center-tabs a):not(.login-card__tabs a):not(.node-pill):not(.tag-row a) {
    color: var(--brand-strong);
}

body.forgehub-pixel-farm :where(input, textarea, select) {
    color: var(--ink);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .content-stack,
    .article-body,
    .post-detail,
    .content-feed,
    .thread-item,
    .post-card,
    .page-hero,
    .notice-band,
    .widget,
    .composer,
    .comment-box,
    .attachment-box,
    .resource-panel,
    .download-list,
    .login-panel,
    .login-card,
    .user-center,
    .user-center-card,
    .account-menu__panel
) {
    color: var(--ink) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .content-stack,
    .article-body,
    .post-detail,
    .content-feed,
    .thread-item,
    .post-card,
    .page-hero,
    .notice-band,
    .widget,
    .composer,
    .comment-box,
    .attachment-box,
    .resource-panel,
    .download-list,
    .login-card,
    .user-center,
    .user-center-card,
    .account-menu__panel
) :where(h1, h2, h3, h4, strong, label, dt, code) {
    color: var(--ink) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .content-stack,
    .article-body,
    .post-detail,
    .content-feed,
    .thread-item,
    .post-card,
    .page-hero,
    .notice-band,
    .widget,
    .composer,
    .comment-box,
    .attachment-box,
    .resource-panel,
    .download-list,
    .login-card,
    .user-center,
    .user-center-card,
    .account-menu__panel
) :where(p, li, dd, figcaption, small, span:not(.avatar):not(.user-avatar):not(.brand__mark):not(.page-hero__icon):not(.section-heading__icon):not(.left-nav-item__icon):not(.post-card__badge):not(.topic-row__rank):not(.account-menu__badge), em) {
    color: var(--ink-soft) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(.resource-meta-grid strong, .user-stat-grid strong, .user-center-metrics strong, .download-list__item strong, .invite-exchange__meta strong) {
    color: var(--ink) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(.resource-meta-grid span, .user-stat-grid span, .user-center-metrics span, .download-list__item span, .invite-exchange__meta span, .resource-note) {
    color: var(--ink-soft) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(.article-body, .post-detail, .post-card, .thread-item, .widget, .user-center, .login-card, .composer) a:not(.button):not(.post-detail__category):not(.thread-item__category):not(.post-card__category):not(.user-center-tabs a):not(.login-card__tabs a):not(.node-pill):not(.tag-row a) {
    color: var(--brand-strong) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(input, textarea, select) {
    color: var(--ink) !important;
}

/* Preserve intentional component colors after the global readability guard. */
body.forgehub-pixel-farm :where(.button, button, .icon-button) :where(span:not(.account-menu__badge), strong, small, i, svg) {
    color: inherit !important;
}

body.forgehub-pixel-farm .user-avatar--default span {
    color: #171325 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-avatar--default span {
    border-color: rgba(240, 237, 247, .46) !important;
    background: rgba(17, 22, 37, .88) !important;
    color: var(--ink) !important;
}

/* Global user feedback emphasis. A final EOF lock below protects it from trailing readability guards. */
body.forgehub-pixel-farm .notice-band {
    border: 2px solid #5b526f !important;
    border-left-width: 6px !important;
    border-radius: 8px !important;
    background: #eef4ff !important;
    color: #27243a !important;
    box-shadow: 4px 4px 0 rgba(91, 82, 111, .22), 0 12px 28px rgba(39, 36, 58, .12) !important;
}

body.forgehub-pixel-farm .notice-band--compact {
    margin: 0 0 14px !important;
}

body.forgehub-pixel-farm .notice-band--success {
    border-color: #2e8a57 !important;
    background: #e6f7df !important;
}

body.forgehub-pixel-farm .notice-band--warning {
    border-color: #b86f14 !important;
    background: #fff0bf !important;
}

body.forgehub-pixel-farm .notice-band--danger {
    border-color: #c9443f !important;
    background: #ffe3df !important;
}

body.forgehub-pixel-farm .notice-band__inner {
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    gap: 13px !important;
    padding: 13px 15px !important;
}

body.forgehub-pixel-farm .notice-band__icon {
    width: 38px !important;
    height: 38px !important;
    border: 2px solid currentColor !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .48) !important;
    color: #3b78c2 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body.forgehub-pixel-farm .notice-band--success .notice-band__icon {
    color: #2e8a57 !important;
}

body.forgehub-pixel-farm .notice-band--warning .notice-band__icon {
    color: #9a5b0e !important;
}

body.forgehub-pixel-farm .notice-band--danger .notice-band__icon {
    color: #b9332e !important;
}

body.forgehub-pixel-farm .notice-band__content p,
body.forgehub-pixel-farm .notice-band__content a {
    color: #27243a !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.65 !important;
}

body.forgehub-pixel-farm .notice-band__content a {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

body.forgehub-pixel-farm .composer--notice {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.forgehub-pixel-farm .composer-field-hint {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: 2px !important;
    padding: 7px 10px !important;
    border: 1px solid rgba(59, 120, 194, .28) !important;
    border-left: 5px solid #3b78c2 !important;
    border-radius: 7px !important;
    background: #eef4ff !important;
    color: #27243a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.55 !important;
}

body.forgehub-pixel-farm .composer-editor__status {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: 10px !important;
    padding: 7px 11px !important;
    border: 2px solid #3b78c2 !important;
    border-left-width: 6px !important;
    border-radius: 8px !important;
    background: #eef4ff !important;
    color: #27243a !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
    box-shadow: 3px 3px 0 rgba(91, 82, 111, .16) !important;
}

body.forgehub-pixel-farm .composer-editor__status[data-tone="success"] {
    border-color: #2e8a57 !important;
    background: #e6f7df !important;
    color: #163a25 !important;
}

body.forgehub-pixel-farm .composer-editor__status[data-tone="warning"] {
    border-color: #b86f14 !important;
    background: #fff0bf !important;
    color: #4a310c !important;
}

body.forgehub-pixel-farm .composer-editor__status[data-tone="error"] {
    border-color: #c9443f !important;
    background: #ffe3df !important;
    color: #4a1816 !important;
}

body.forgehub-pixel-farm .resource-note,
body.forgehub-pixel-farm .resource-safety-notice,
body.forgehub-pixel-farm [data-resource-report-message],
body.forgehub-pixel-farm .invite-exchange__message,
body.forgehub-pixel-farm .user-center-notice {
    border: 1px solid rgba(59, 120, 194, .3) !important;
    border-left: 5px solid #3b78c2 !important;
    border-radius: 8px !important;
    background: #eef4ff !important;
    color: #27243a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.65 !important;
}

body.forgehub-pixel-farm .resource-note,
body.forgehub-pixel-farm [data-resource-report-message],
body.forgehub-pixel-farm .invite-exchange__message,
body.forgehub-pixel-farm .user-center-notice {
    padding: 8px 10px !important;
}

body.forgehub-pixel-farm span.resource-note {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
}

body.forgehub-pixel-farm [data-resource-report-message][hidden] {
    display: none !important;
}

body.forgehub-pixel-farm [data-resource-report-message][data-tone="success"],
body.forgehub-pixel-farm .invite-exchange__message[data-tone="success"],
body.forgehub-pixel-farm .user-center-notice:not(.user-center-notice--error) {
    border-color: rgba(46, 138, 87, .42) !important;
    border-left-color: #2e8a57 !important;
    background: #e6f7df !important;
    color: #163a25 !important;
}

body.forgehub-pixel-farm [data-resource-report-message][data-tone="error"],
body.forgehub-pixel-farm .invite-exchange__message[data-tone="error"],
body.forgehub-pixel-farm .user-center-notice--error {
    border-color: rgba(201, 68, 63, .42) !important;
    border-left-color: #c9443f !important;
    background: #ffe3df !important;
    color: #4a1816 !important;
}

body.forgehub-pixel-farm .invite-exchange__message[data-tone="info"],
body.forgehub-pixel-farm [data-resource-report-message][data-tone="info"] {
    border-left-color: #3b78c2 !important;
    background: #eef4ff !important;
    color: #27243a !important;
}

body.forgehub-pixel-farm .empty-state {
    border: 2px dashed rgba(59, 120, 194, .45) !important;
    background: #eef4ff !important;
    color: #27243a !important;
    box-shadow: 3px 3px 0 rgba(91, 82, 111, .14) !important;
}

body.forgehub-pixel-farm .empty-state :where(h2, h3, strong),
body.forgehub-pixel-farm .empty-state :where(p, span, li) {
    color: #27243a !important;
    font-weight: 800 !important;
}

.forgehub-toast-region {
    position: fixed;
    top: 72px;
    right: 18px;
    z-index: 100000;
    display: grid;
    gap: 10px;
    width: min(390px, calc(100vw - 24px));
    pointer-events: none;
}

.forgehub-toast {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    gap: 10px;
    align-items: center;
    padding: 11px 10px 11px 12px;
    border: 2px solid #3b78c2;
    border-left-width: 7px;
    border-radius: 8px;
    background: #eef4ff;
    color: #27243a;
    box-shadow: 5px 5px 0 rgba(91, 82, 111, .24), 0 14px 34px rgba(11, 15, 28, .18);
    animation: forgehub-toast-in .16s ease-out;
}

.forgehub-toast.is-leaving {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease;
}

.forgehub-toast--success {
    border-color: #2e8a57;
    background: #e6f7df;
}

.forgehub-toast--warning {
    border-color: #b86f14;
    background: #fff0bf;
}

.forgehub-toast--error {
    border-color: #c9443f;
    background: #ffe3df;
}

.forgehub-toast__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid currentColor;
    border-radius: 7px;
    color: #3b78c2;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.forgehub-toast--success .forgehub-toast__icon {
    color: #2e8a57;
}

.forgehub-toast--warning .forgehub-toast__icon {
    color: #9a5b0e;
}

.forgehub-toast--error .forgehub-toast__icon {
    color: #b9332e;
}

.forgehub-toast__text {
    min-width: 0;
    color: #27243a;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.55;
}

.forgehub-toast--success .forgehub-toast__text {
    color: #163a25;
}

.forgehub-toast--warning .forgehub-toast__text {
    color: #4a310c;
}

.forgehub-toast--error .forgehub-toast__text {
    color: #4a1816;
}

.forgehub-toast__close {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(91, 82, 111, .55);
    border-radius: 7px;
    background: rgba(255, 255, 255, .52);
    color: #27243a;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-field-hint,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor__status,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-note,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-safety-notice,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm [data-resource-report-message],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .invite-exchange__message,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .empty-state {
    background: #1b263d !important;
    color: #f0edf7 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band__content p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band__content a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-field-hint,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor__status,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-note,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-safety-notice,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm [data-resource-report-message],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .invite-exchange__message,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .empty-state :where(h2, h3, strong, p, span, li) {
    color: #f0edf7 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band--success,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor__status[data-tone="success"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm [data-resource-report-message][data-tone="success"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .invite-exchange__message[data-tone="success"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-center-notice:not(.user-center-notice--error) {
    background: #163a25 !important;
    color: #e6f7df !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band--warning,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor__status[data-tone="warning"] {
    background: #4a310c !important;
    color: #fff0bf !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band--danger,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor__status[data-tone="error"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm [data-resource-report-message][data-tone="error"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .invite-exchange__message[data-tone="error"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-center-notice--error {
    background: #4a1816 !important;
    color: #ffe3df !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band--success .notice-band__content p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band--success .notice-band__content a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor__status[data-tone="success"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm [data-resource-report-message][data-tone="success"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .invite-exchange__message[data-tone="success"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-center-notice:not(.user-center-notice--error) {
    color: #e6f7df !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band--warning .notice-band__content p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band--warning .notice-band__content a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor__status[data-tone="warning"] {
    color: #fff0bf !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band--danger .notice-band__content p,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band--danger .notice-band__content a,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .composer-editor__status[data-tone="error"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm [data-resource-report-message][data-tone="error"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .invite-exchange__message[data-tone="error"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-center-notice--error {
    color: #ffe3df !important;
}

html[data-forgehub-theme="dark"] .forgehub-toast {
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .46), 0 14px 34px rgba(0, 0, 0, .34);
}

@keyframes forgehub-toast-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .forgehub-toast-region {
        top: auto;
        right: 12px;
        bottom: 16px;
        left: 12px;
        width: auto;
    }

    .forgehub-toast {
        grid-template-columns: 30px minmax(0, 1fr) 28px;
    }
}

/* Hide shortcode-only page hero summaries on setup pages. */
body.page-id-30 .page-hero p:not(.eyebrow),
body.page-id-32 .page-hero p:not(.eyebrow) {
    display: none;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(.post-card__badge, .topic-row__rank, .account-menu__badge) {
    color: inherit !important;
}

/* Extended readability coverage for shared layout modules. */
body.forgehub-pixel-farm :where(
    .left-rail,
    .right-rail,
    .sidebar,
    .post-section,
    .board-overview,
    .signal-panel,
    .board-card,
    .board-link,
    .notice-list,
    .topic-row,
    .stat-grid,
    .signal-metrics,
    .node-chip,
    .empty-state,
    .preview-box,
    .site-popup__panel,
    .login-panel__visual,
    .login-panel__features,
    .login-card__empty,
    .account-menu__head,
    .account-menu__quick,
    .account-menu__links,
    .user-feed-item,
    .avatar-uploader,
    .invite-code-list__item,
    .invite-exchange__meta
) {
    color: var(--ink);
}

body.forgehub-pixel-farm :where(
    .left-rail,
    .right-rail,
    .sidebar,
    .post-section,
    .board-overview,
    .signal-panel,
    .board-card,
    .board-link,
    .notice-list,
    .topic-row,
    .stat-grid,
    .signal-metrics,
    .node-chip,
    .empty-state,
    .preview-box,
    .site-popup__panel,
    .login-panel__visual,
    .login-panel__features,
    .login-card__empty,
    .account-menu__head,
    .account-menu__quick,
    .account-menu__links,
    .user-feed-item,
    .avatar-uploader,
    .invite-code-list__item,
    .invite-exchange__meta
) :where(h1, h2, h3, h4, strong, label, dt) {
    color: var(--ink);
}

body.forgehub-pixel-farm :where(
    .left-rail,
    .right-rail,
    .sidebar,
    .post-section,
    .board-overview,
    .signal-panel,
    .board-card,
    .board-link,
    .notice-list,
    .topic-row,
    .stat-grid,
    .signal-metrics,
    .node-chip,
    .empty-state,
    .preview-box,
    .site-popup__panel,
    .login-panel__visual,
    .login-panel__features,
    .login-card__empty,
    .account-menu__head,
    .account-menu__quick,
    .account-menu__links,
    .user-feed-item,
    .avatar-uploader,
    .invite-code-list__item,
    .invite-exchange__meta
) :where(p, li, dd, figcaption, small, span:not(.avatar):not(.user-avatar):not(.brand__mark):not(.page-hero__icon):not(.section-heading__icon):not(.left-nav-item__icon):not(.post-card__badge):not(.topic-row__rank):not(.account-menu__badge):not(.site-popup__kicker):not(.left-rail__kicker), em) {
    color: var(--ink-soft);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .left-rail,
    .right-rail,
    .sidebar,
    .post-section,
    .board-overview,
    .signal-panel,
    .board-card,
    .board-link,
    .notice-list,
    .topic-row,
    .stat-grid,
    .signal-metrics,
    .node-chip,
    .empty-state,
    .preview-box,
    .site-popup__panel,
    .login-panel__visual,
    .login-panel__features,
    .login-card__empty,
    .account-menu__head,
    .account-menu__quick,
    .account-menu__links,
    .user-feed-item,
    .avatar-uploader,
    .invite-code-list__item,
    .invite-exchange__meta
) {
    color: var(--ink) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .left-rail,
    .right-rail,
    .sidebar,
    .post-section,
    .board-overview,
    .signal-panel,
    .board-card,
    .board-link,
    .notice-list,
    .topic-row,
    .stat-grid,
    .signal-metrics,
    .node-chip,
    .empty-state,
    .preview-box,
    .site-popup__panel,
    .login-panel__visual,
    .login-panel__features,
    .login-card__empty,
    .account-menu__head,
    .account-menu__quick,
    .account-menu__links,
    .user-feed-item,
    .avatar-uploader,
    .invite-code-list__item,
    .invite-exchange__meta
) :where(h1, h2, h3, h4, strong, label, dt) {
    color: var(--ink) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .left-rail,
    .right-rail,
    .sidebar,
    .post-section,
    .board-overview,
    .signal-panel,
    .board-card,
    .board-link,
    .notice-list,
    .topic-row,
    .stat-grid,
    .signal-metrics,
    .node-chip,
    .empty-state,
    .preview-box,
    .site-popup__panel,
    .login-panel__visual,
    .login-panel__features,
    .login-card__empty,
    .account-menu__head,
    .account-menu__quick,
    .account-menu__links,
    .user-feed-item,
    .avatar-uploader,
    .invite-code-list__item,
    .invite-exchange__meta
) :where(p, li, dd, figcaption, small, span:not(.avatar):not(.user-avatar):not(.brand__mark):not(.page-hero__icon):not(.section-heading__icon):not(.left-nav-item__icon):not(.post-card__badge):not(.topic-row__rank):not(.account-menu__badge):not(.site-popup__kicker):not(.left-rail__kicker), em) {
    color: var(--ink-soft) !important;
}

body.forgehub-pixel-farm .post-detail__hero,
body.forgehub-pixel-farm .post-detail__hero :where(h1, h2, h3, strong, a, span) {
    color: #fff6e3 !important;
}

body.forgehub-pixel-farm .post-detail__hero :where(p, small, .post-detail__meta) {
    color: rgba(255, 246, 227, .78) !important;
}

body.forgehub-pixel-farm .site-footer {
    color: rgba(240, 237, 247, .78) !important;
}

body.forgehub-pixel-farm .site-footer :where(strong, h2, a) {
    color: #fff6e3 !important;
}

body.forgehub-pixel-farm .site-footer :where(p, li, small, span:not(.brand__mark)) {
    color: rgba(240, 237, 247, .72) !important;
}

body.forgehub-pixel-farm .left-rail__kicker,
body.forgehub-pixel-farm .site-popup__kicker {
    color: var(--brand-strong) !important;
}

body.forgehub-pixel-farm .node-chip span {
    color: var(--node-color) !important;
}

body.forgehub-pixel-farm .node-pill span {
    color: inherit !important;
}

body.forgehub-pixel-farm :where(.button, button, .icon-button) :where(span:not(.account-menu__badge), strong, small, i, svg) {
    color: inherit !important;
}

body.forgehub-pixel-farm .account-menu__badge {
    color: #101426 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .account-menu__badge {
    color: #fff6e3 !important;
}

body.forgehub-pixel-farm .user-avatar--default span {
    color: #171325 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .user-avatar--default span {
    border-color: rgba(240, 237, 247, .46) !important;
    background: rgba(17, 22, 37, .88) !important;
    color: var(--ink) !important;
}

/* Final feedback contrast lock after all global readability guards. */
body.forgehub-pixel-farm :where(.notice-band__content p, .notice-band__content a, .composer-field-hint, .composer-editor__status, .resource-note, .resource-safety-notice, [data-resource-report-message], .invite-exchange__message, .user-center-notice, .empty-state p, .empty-state span, .empty-state li) {
    font-weight: 800 !important;
}

body.forgehub-pixel-farm :where(.notice-band__content p, .notice-band__content a, .composer-field-hint, .composer-editor__status, .resource-note, .resource-safety-notice, [data-resource-report-message], .invite-exchange__message, .empty-state p, .empty-state span, .empty-state li) {
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(.notice-band__content p, .notice-band__content a, .composer-field-hint, .composer-editor__status, .resource-note, .resource-safety-notice, [data-resource-report-message], .invite-exchange__message, .empty-state p, .empty-state span, .empty-state li) {
    color: #f0edf7 !important;
}

body.forgehub-pixel-farm :where(.notice-band--success .notice-band__content p, .notice-band--success .notice-band__content a, .composer-editor__status[data-tone="success"], [data-resource-report-message][data-tone="success"], .invite-exchange__message[data-tone="success"], .user-center-notice:not(.user-center-notice--error)) {
    color: #163a25 !important;
}

body.forgehub-pixel-farm :where(.notice-band--warning .notice-band__content p, .notice-band--warning .notice-band__content a, .composer-editor__status[data-tone="warning"]) {
    color: #4a310c !important;
}

body.forgehub-pixel-farm :where(.notice-band--danger .notice-band__content p, .notice-band--danger .notice-band__content a, .composer-editor__status[data-tone="error"], [data-resource-report-message][data-tone="error"], .invite-exchange__message[data-tone="error"], .user-center-notice--error) {
    color: #4a1816 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(.notice-band--success .notice-band__content p, .notice-band--success .notice-band__content a, .composer-editor__status[data-tone="success"], [data-resource-report-message][data-tone="success"], .invite-exchange__message[data-tone="success"], .user-center-notice:not(.user-center-notice--error)) {
    color: #e6f7df !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(.notice-band--warning .notice-band__content p, .notice-band--warning .notice-band__content a, .composer-editor__status[data-tone="warning"]) {
    color: #fff0bf !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(.notice-band--danger .notice-band__content p, .notice-band--danger .notice-band__content a, .composer-editor__status[data-tone="error"], [data-resource-report-message][data-tone="error"], .invite-exchange__message[data-tone="error"], .user-center-notice--error) {
    color: #ffe3df !important;
}

/* Front-end editor chrome must remain readable when WordPress injects light UI into the dark theme. */
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-floatpanel,
    .mce-menu,
    .mce-panel.mce-menu,
    .mce-menu .mce-container-body,
    .mce-notification,
    .mce-notification-inner
) {
    border-color: #5b526f !important;
    background: #fffaf0 !important;
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-menu-item,
    .mce-menu-item .mce-text,
    .mce-menu-item .mce-ico,
    .mce-menu-item .mce-caret,
    .mce-notification,
    .mce-notification *
) {
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-menu-item:hover,
    .mce-menu-item.mce-selected,
    .mce-menu-item.mce-active
) {
    background: #3b78c2 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-menu-item:hover .mce-text,
    .mce-menu-item:hover .mce-ico,
    .mce-menu-item.mce-selected .mce-text,
    .mce-menu-item.mce-selected .mce-ico,
    .mce-menu-item.mce-active .mce-text,
    .mce-menu-item.mce-active .mce-ico
) {
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-menu-item.mce-disabled .mce-text,
    .mce-menu-item.mce-disabled .mce-ico,
    .mce-menu-item.mce-disabled:hover .mce-text,
    .mce-menu-item.mce-disabled:hover .mce-ico
) {
    color: #746b82 !important;
    opacity: 1 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-notification {
    box-shadow: 4px 4px 0 rgba(91, 82, 111, .18) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-notification .mce-close,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-notification .mce-close i {
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    #wp-link-wrap,
    #wp-link-wrap #wp-link,
    #wp-link-wrap #link-selector,
    #wp-link-wrap .link-search-wrapper,
    #wp-link-wrap .link-target,
    #wp-link-wrap .submitbox,
    #wp-link-wrap .wp-link-text-field
) {
    border-color: #5b526f !important;
    background: #fffaf0 !important;
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    #wp-link-wrap,
    #wp-link-wrap *,
    #wp-link-wrap label,
    #wp-link-wrap .howto,
    #wp-link-wrap #link-modal-title
) {
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    #wp-link-wrap input[type="text"],
    #wp-link-wrap input[type="url"],
    #wp-link-wrap input[type="search"],
    #wp-link-wrap textarea
) {
    border: 2px solid #5b526f !important;
    background: #fff6e3 !important;
    color: #27243a !important;
    box-shadow: none !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .description {
    color: #746b82 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    #wp-link-wrap .button,
    #wp-link-wrap button,
    #wp-link-wrap input[type="button"],
    #wp-link-wrap input[type="submit"]
) {
    border-color: #5b526f !important;
    background: #1b2238 !important;
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .media-modal,
    .media-frame,
    .media-frame-content,
    .media-frame-router,
    .media-frame-title,
    .media-frame-toolbar,
    .attachments-browser,
    .attachments-browser .media-toolbar,
    .media-sidebar,
    .uploader-inline,
    .uploader-inline-content,
    .upload-ui
) {
    border-color: #d5c3a0 !important;
    background: #fffaf0 !important;
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .media-modal,
    .media-modal *,
    .media-frame-title h1,
    .media-frame-content h2,
    .media-frame label,
    .media-frame p,
    .media-frame span,
    .media-frame .setting,
    .media-frame .setting .name,
    .media-frame .setting .value,
    .media-frame .details,
    .uploader-inline .drop-instructions,
    .uploader-inline .upload-instructions,
    .uploader-inline .max-upload-size,
    .uploader-inline .post-upload-ui
) {
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .media-menu,
    .media-frame-menu
) {
    background: #f1f2f4 !important;
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .media-menu .media-menu-item,
    .media-router .media-menu-item
) {
    border-color: transparent !important;
    background: transparent !important;
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .media-menu .media-menu-item.active,
    .media-menu .media-menu-item:hover,
    .media-router .media-menu-item.active,
    .media-router .media-menu-item:hover
) {
    background: #1b2238 !important;
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .media-modal-close,
    .media-modal-close .media-modal-icon::before
) {
    color: #27243a !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .media-modal .button,
    .media-modal button,
    .media-frame .button,
    .media-frame button
) {
    border-color: #5b526f !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .media-modal .button-primary,
    .media-frame .button-primary,
    .uploader-inline .browser
) {
    background: #1b2238 !important;
    color: #fff6e3 !important;
}

/* 0.4.53: keep editor popovers dark, not bright white, inside the dark front-end composer. */
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-floatpanel,
    .mce-floatpanel .mce-container-body,
    .mce-tooltip,
    .mce-tooltip-inner,
    .mce-notification,
    .mce-notification-inner,
    .mce-window,
    .mce-window .mce-container-body,
    .mce-window .mce-window-head,
    .mce-window .mce-foot,
    #wp-link-wrap,
    #wp-link-wrap #wp-link,
    #wp-link-wrap #link-selector,
    #wp-link-wrap .link-search-wrapper,
    #wp-link-wrap .link-target,
    #wp-link-wrap .submitbox,
    #wp-link-wrap .wp-link-text-field
) {
    border-color: #6d6485 !important;
    background: #111625 !important;
    color: #f4efff !important;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .35) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-tooltip-arrow,
    .mce-tooltip-arrow::before,
    .mce-tooltip-arrow::after
) {
    border-bottom-color: #111625 !important;
    border-top-color: #111625 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-floatpanel *,
    .mce-tooltip *,
    .mce-notification,
    .mce-notification *,
    .mce-window .mce-title,
    .mce-window .mce-label,
    .mce-window .mce-formitem label,
    .mce-window .mce-checkbox span,
    .mce-window .mce-close,
    .mce-window .mce-close i,
    #wp-link-wrap,
    #wp-link-wrap *,
    #wp-link-wrap label,
    #wp-link-wrap .howto,
    #wp-link-wrap #link-modal-title,
    #wp-link-wrap #wp-link-close,
    #wp-link-wrap #wp-link-close::before
) {
    color: #f4efff !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-window .mce-label.mce-disabled,
    .mce-window .mce-disabled .mce-label,
    .mce-window .mce-checkbox.mce-disabled span,
    .mce-menu-item.mce-disabled .mce-text,
    .mce-menu-item.mce-disabled .mce-ico,
    .mce-menu-item.mce-disabled:hover .mce-text,
    .mce-menu-item.mce-disabled:hover .mce-ico,
    #wp-link-wrap .description
) {
    color: #b9b0cd !important;
    opacity: 1 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-window input,
    .mce-window textarea,
    .mce-window select,
    .mce-textbox,
    #wp-link-wrap input[type="text"],
    #wp-link-wrap input[type="url"],
    #wp-link-wrap input[type="search"],
    #wp-link-wrap textarea
) {
    border: 2px solid #786e95 !important;
    background: #0c1120 !important;
    color: #fff6e3 !important;
    box-shadow: none !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-window input::placeholder,
    .mce-window textarea::placeholder,
    .mce-textbox::placeholder,
    #wp-link-wrap input::placeholder,
    #wp-link-wrap textarea::placeholder
) {
    color: #a89fba !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-menu-item:hover,
    .mce-menu-item.mce-selected,
    .mce-menu-item.mce-active,
    .mce-btn:hover,
    .mce-btn.mce-active
) {
    background: #263657 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-menu-item:hover .mce-text,
    .mce-menu-item:hover .mce-ico,
    .mce-menu-item.mce-selected .mce-text,
    .mce-menu-item.mce-selected .mce-ico,
    .mce-menu-item.mce-active .mce-text,
    .mce-menu-item.mce-active .mce-ico
) {
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-window .mce-close,
    .mce-notification .mce-close,
    .mce-notification .mce-close i,
    #wp-link-wrap #wp-link-close,
    #wp-link-wrap #wp-link-close::before
) {
    min-width: 36px;
    min-height: 36px;
    border: 2px solid #786e95 !important;
    background: #1c2438 !important;
    color: #fff6e3 !important;
    opacity: 1 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    .mce-window .mce-close:hover,
    .mce-notification .mce-close:hover,
    #wp-link-wrap #wp-link-close:hover
) {
    border-color: #f2a65a !important;
    background: #2e2234 !important;
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm :where(
    #wp-link-wrap .button,
    #wp-link-wrap button,
    #wp-link-wrap input[type="button"],
    #wp-link-wrap input[type="submit"],
    .mce-window .mce-btn button
) {
    border-color: #786e95 !important;
    background: #1c2438 !important;
    color: #fff6e3 !important;
}

/* 0.4.54: browser-verified overrides for WordPress/TinyMCE selectors with higher specificity than legacy light rules. */
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel.mce-arrow-up,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .mce-container-body,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .mce-toolbar,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .mce-btn-group {
    border-color: #6d6485 !important;
    background: #111625 !important;
    color: #f4efff !important;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .35) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .mce-btn,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .mce-btn button {
    border-color: #786e95 !important;
    background: #1c2438 !important;
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .mce-btn:hover,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .mce-btn:hover button,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .mce-btn.mce-active,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .mce-btn.mce-active button {
    border-color: #f2a65a !important;
    background: #263657 !important;
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .wp-link-input,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .wp-link-preview {
    background: transparent !important;
    color: #f4efff !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel input[type="text"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel input[type="url"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-toolbar-grp.mce-inline-toolbar-grp.mce-panel .mce-textbox {
    border-color: #786e95 !important;
    background: #0c1120 !important;
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #wp-link,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #link-modal-title,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #link-selector,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .link-search-wrapper,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .link-target,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .submitbox,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .wp-link-text-field {
    border-color: #6d6485 !important;
    background: #111625 !important;
    color: #f4efff !important;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .35) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap *,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap label,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .howto,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #link-modal-title,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #wp-link-close,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #wp-link-close::before {
    color: #f4efff !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap input[type="text"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap input[type="url"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap input[type="search"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap textarea {
    border: 2px solid #786e95 !important;
    background: #0c1120 !important;
    color: #fff6e3 !important;
    box-shadow: none !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .description {
    color: #b9b0cd !important;
    opacity: 1 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #wp-link-close,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #wp-link-close::before {
    min-width: 36px;
    min-height: 36px;
    border: 2px solid #786e95 !important;
    background: #1c2438 !important;
    color: #fff6e3 !important;
    opacity: 1 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #wp-link-close:hover,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap #wp-link-close:hover::before {
    border-color: #f2a65a !important;
    background: #2e2234 !important;
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap .button,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap button,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap input[type="button"],
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm #wp-link-wrap input[type="submit"] {
    border-color: #786e95 !important;
    background: #1c2438 !important;
    color: #fff6e3 !important;
}

/* 0.4.55: global dark coverage for TinyMCE modal windows found during editor-wide popover QA. */
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window.mce-floatpanel,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-window-head,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-window-body,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-container-body,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-foot,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-abs-layout {
    border-color: #6d6485 !important;
    background: #111625 !important;
    color: #f4efff !important;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .35) !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-title,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-label,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-text,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-formitem label,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-checkbox span,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-close,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-close i,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window table,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window td,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window th {
    color: #f4efff !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-charmap,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-charmap td,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window table,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window td,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window th {
    border-color: #514a66 !important;
    background: #0c1120 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-charmap td:hover,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-charmap td:focus {
    border-color: #f2a65a !important;
    background: #263657 !important;
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-btn,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-btn button {
    border-color: #786e95 !important;
    background: #1c2438 !important;
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-btn:hover,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-btn:hover button {
    border-color: #f2a65a !important;
    background: #263657 !important;
    color: #fff6e3 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-close,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-close i {
    min-width: 36px;
    min-height: 36px;
    border: 2px solid #786e95 !important;
    background: #1c2438 !important;
    color: #fff6e3 !important;
    opacity: 1 !important;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-close:hover,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .mce-window .mce-close:hover i {
    border-color: #f2a65a !important;
    background: #2e2234 !important;
    color: #fff6e3 !important;
}

/* 0.4.74: tighten selected-state contrast after broad pixel-farm text guards. */
html[data-forgehub-theme] body.wp-theme-forgehub-hybrid :where(
    .category-quick-button,
    .media-hub-tab,
    .left-nav-item,
    .user-center-tabs a,
    .login-card__tabs a,
    .mobile-menu a,
    .page-numbers,
    .account-menu__quick button,
    .resource-report-button,
    .tag-row a,
    .node-pill
):is(:hover, :active, .is-active, .active, .current, .selected, .is-selected, [aria-selected="true"], [aria-current="page"], [aria-current="true"]),
html[data-forgehub-theme] body.wp-theme-forgehub-hybrid .button--primary {
    font-weight: 700 !important;
}

html[data-forgehub-theme] body.wp-theme-forgehub-hybrid :where(
    .button--primary,
    .category-quick-button,
    .media-hub-tab,
    .left-nav-item,
    .user-center-tabs a,
    .login-card__tabs a,
    .mobile-menu a,
    .page-numbers,
    .account-menu__quick button,
    .resource-report-button,
    .tag-row a,
    .node-pill
):is(:hover, :active, .is-active, .active, .current, .selected, .is-selected, [aria-selected="true"], [aria-current="page"], [aria-current="true"]) :where(span, strong, small, em, i, svg),
html[data-forgehub-theme] body.wp-theme-forgehub-hybrid .button--primary :where(span, strong, small, em, i, svg) {
    color: inherit !important;
}

html[data-forgehub-theme] body.wp-theme-forgehub-hybrid :where(
    .button--primary,
    .category-quick-button,
    .media-hub-tab,
    .left-nav-item,
    .user-center-tabs a,
    .login-card__tabs a,
    .mobile-menu a,
    .page-numbers,
    .account-menu__quick button,
    .resource-report-button,
    .tag-row a,
    .node-pill
):is(:hover, :active, .is-active, .active, .current, .selected, .is-selected, [aria-selected="true"], [aria-current="page"], [aria-current="true"]) svg,
html[data-forgehub-theme] body.wp-theme-forgehub-hybrid .button--primary svg {
    stroke: currentColor !important;
}

html[data-forgehub-theme="light"] body.wp-theme-forgehub-hybrid :where(
    .button--primary,
    .category-quick-button.is-active,
    .category-quick-button.active,
    .category-quick-button.current,
    .category-quick-button.selected,
    .category-quick-button.is-selected,
    .category-quick-button[aria-selected="true"],
    .category-quick-button[aria-current="page"],
    .category-quick-button[aria-current="true"],
    .page-numbers.current,
    .tag-row a.selected,
    .node-pill.is-active
) {
    color: #ffffff !important;
}

html[data-forgehub-theme="light"] body.wp-theme-forgehub-hybrid :where(
    .page-numbers.current,
    .tag-row a.selected,
    .node-pill.is-active
) {
    border-color: #2f6fb3 !important;
    background: #3b78c2 !important;
}

html[data-forgehub-theme="light"] body.wp-theme-forgehub-hybrid .resource-filter select {
    font-weight: 700;
}

html[data-forgehub-theme="light"] body.wp-theme-forgehub-hybrid .resource-filter select option {
    background: #fff6e3;
    color: #27243a;
}

html[data-forgehub-theme="light"] body.wp-theme-forgehub-hybrid .resource-filter select option:checked {
    background: #2f6fb3;
    color: #ffffff;
    font-weight: 700;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid .resource-filter select {
    font-weight: 700;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid .resource-filter select option {
    background: #1c2438;
    color: #fff6e3;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid .resource-filter select option:checked {
    background: #2f6fb3;
    color: #ffffff;
    font-weight: 700;
}

/* 0.4.75: managed friend links and footer legal information. */
.friend-links {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.friend-links h2 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 15px;
}

.friend-links__list {
    display: grid;
    gap: 8px;
}

.friend-link {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--line-soft);
    background: var(--panel-soft);
    color: var(--ink);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .18);
}

.friend-link strong,
.friend-link small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.friend-link strong {
    color: currentColor;
}

.friend-link small {
    color: var(--ink-soft);
    line-height: 1.5;
}

.friend-link:hover,
.friend-link:focus-visible {
    border-color: var(--brand);
    background: var(--brand);
    color: #ffffff;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    transform: translate(-1px, -1px);
}

.friend-link:hover small,
.friend-link:focus-visible small {
    color: #ffffff;
}

.site-footer .friend-links h2,
.site-footer .friend-link strong,
body.forgehub-pixel-farm .site-footer .friend-links h2,
body.forgehub-pixel-farm .site-footer .friend-link strong {
    color: var(--ink) !important;
}

.site-footer .friend-link,
body.forgehub-pixel-farm .site-footer .friend-link {
    color: var(--ink) !important;
}

.site-footer .friend-link small,
body.forgehub-pixel-farm .site-footer .friend-link small {
    color: var(--ink-soft) !important;
}

.site-footer .friend-link:hover strong,
.site-footer .friend-link:focus-visible strong,
.site-footer .friend-link:hover small,
.site-footer .friend-link:focus-visible small {
    color: #ffffff !important;
}

.friend-links--footer {
    display: none;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    width: min(var(--container), calc(100% - 32px));
    margin: 24px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: rgba(240, 237, 247, .86);
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.footer-legal a,
.footer-legal span {
    color: inherit;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: #ffffff;
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

.footer-legal__public-security {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-legal__public-security img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

body.forgehub-pixel-farm .friend-links,
body.forgehub-pixel-farm .friend-link {
    border-color: var(--pixel-line);
    border-radius: 0;
}

body.forgehub-pixel-farm .friend-links {
    background: var(--panel);
    box-shadow: var(--shadow-soft);
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .friend-links,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .friend-link {
    color: var(--ink);
}

@media (max-width: 920px) {
    .friend-links--sidebar {
        display: none;
    }

    .friend-links--footer {
        display: block;
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-legal {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        text-align: left;
    }
}
.not-found-actions {
    display: grid;
    gap: 18px;
}

.not-found-actions .wide-search {
    margin: 0;
}

.not-found-actions__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 560px) {
    .not-found-actions__links .button {
        flex: 1 1 100%;
        justify-content: center;
    }
}
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .pagination .page-numbers,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .page-numbers {
    border-color: #585172;
    background: #202840;
    color: #f0edf7;
    text-shadow: none;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .pagination .page-numbers.current,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .pagination .page-numbers:hover,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .pagination .page-numbers:focus-visible,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .page-numbers.current,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .page-numbers:hover,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .page-numbers:focus-visible {
    border-color: #78aee8;
    background: #2f6fb3;
    color: #ffffff;
    box-shadow: 3px 3px 0 #090b16;
}

body.forgehub-pixel-farm .notice-band__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.25;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .notice-band__icon {
    border-color: #78aee8 !important;
    background: #202840 !important;
    color: #a9d4ff !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06) !important;
}

.left-rail,
.sidebar {
    --rail-scrollbar-thumb: rgba(67, 82, 112, .58);
    --rail-scrollbar-thumb-hover: rgba(59, 120, 194, .84);
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color .22s ease .55s;
}

html[data-forgehub-theme="dark"] .left-rail,
html[data-forgehub-theme="dark"] .sidebar {
    --rail-scrollbar-thumb: rgba(130, 143, 181, .54);
    --rail-scrollbar-thumb-hover: rgba(120, 174, 232, .86);
}

.left-rail.is-scrollbar-active,
.sidebar.is-scrollbar-active {
    scrollbar-color: var(--rail-scrollbar-thumb) transparent;
    transition-delay: 0s;
}

.left-rail::-webkit-scrollbar,
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.left-rail::-webkit-scrollbar-track,
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.left-rail::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px !important;
    background-color: transparent;
    background-clip: padding-box;
    transition: background-color .22s ease .55s;
}

.left-rail.is-scrollbar-active::-webkit-scrollbar-thumb,
.sidebar.is-scrollbar-active::-webkit-scrollbar-thumb {
    background-color: var(--rail-scrollbar-thumb);
    transition-delay: 0s;
}

.left-rail::-webkit-scrollbar-thumb:hover,
.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: var(--rail-scrollbar-thumb-hover);
}
/* 0.4.79 reading density polish */
:root {
    --font-reading: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

.node-pill__count--empty,
.left-nav-item__count--empty {
    opacity: .72;
    font-size: 11px;
    font-weight: 400;
}

.section-heading p,
.page-hero p,
.thread-item p,
.post-card__excerpt,
.resource-filter small,
.widget p,
.widget li a,
.topic-row strong,
.notice-list strong,
.topic-row small,
.notice-list span,
.comment-content,
.comment p,
.comment-form .logged-in-as,
.comment-form .comment-notes,
.comment-form-cookies-consent,
.resource-note,
.resource-safety-notice {
    font-family: var(--font-reading);
}

.section-heading p,
.page-hero p,
.widget p {
    line-height: 1.55;
}

.thread-item p,
.post-card__excerpt {
    line-height: 1.6;
}

.topic-row strong,
.notice-list strong {
    line-height: 1.48;
}

.notice-list a {
    gap: 5px;
    padding: 9px 8px;
}

.article-body {
    font-family: var(--font-reading);
}

body.forgehub-pixel-farm .article-body :where(h1, h2, h3, h4, h5, h6),
body.forgehub-pixel-farm .comment-author,
body.forgehub-pixel-farm .comment-reply-title {
    font-family: "ForgeHub Pixel CN", "ForgeHub Pixel Latin", "Microsoft YaHei", monospace;
}

.comment-content,
.comment p,
.comment-form .logged-in-as,
.comment-form .comment-notes,
.comment-form-cookies-consent,
.resource-note,
.resource-safety-notice {
    line-height: 1.65;
}

body.archive.forgehub-pixel-farm .page-hero {
    border-width: 2px;
    box-shadow: 3px 3px 0 var(--pixel-line);
}

html[data-forgehub-theme="dark"] body.archive.forgehub-pixel-farm .page-hero {
    box-shadow: 3px 3px 0 #090b16;
}

body.archive.forgehub-pixel-farm .resource-filter {
    border-color: rgba(91, 82, 111, .24);
    background: rgba(255, 246, 227, .22);
}

html[data-forgehub-theme="dark"] body.archive.forgehub-pixel-farm .resource-filter {
    border-color: rgba(195, 184, 225, .12);
    background: rgba(17, 22, 37, .42);
}
/* 0.4.80 native emoji and pagination hotfix */
html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pagination .page-numbers.current,
html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .page-numbers.current {
    color: #ffffff !important;
}
/* 0.4.80 gallery badge contrast */
body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__type,
body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__source--pixiv {
    border: 2px solid #fff6e3 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: 2px 2px 0 rgba(39, 36, 58, .78) !important;
}

body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__type {
    background: #3b78c2 !important;
}

body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__source--pixiv {
    background: rgba(32, 40, 64, .94) !important;
}

body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__source--original {
    background: #58c3a3 !important;
    color: #10251d !important;
}

body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__source--ai {
    background: #b99af5 !important;
    color: #21183a !important;
}

body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__source--authorized {
    background: #f2a65a !important;
    color: #2d1907 !important;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__type,
html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__source--pixiv {
    border-color: #a9d4ff !important;
    box-shadow: 2px 2px 0 #090b16 !important;
}

body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__type svg,
body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .pixivnow-card__source svg {
    color: inherit !important;
    stroke: currentColor !important;
}

/* 0.4.81 media hub and weekly animation schedule; 0.4.82 navigation polish */
.media-hub-nav {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line-soft);
}

.media-hub-nav__row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.media-hub-nav__row--secondary {
    grid-template-columns: 104px minmax(0, 1fr) auto;
    padding-top: 12px;
    border-top: 1px dashed var(--line-soft);
}

.media-hub-nav__row--filter {
    padding-top: 12px;
    border-top: 1px dashed var(--line-soft);
}

.media-hub-nav__schedule {
    min-width: 0;
    justify-self: end;
}

.media-hub-nav__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.media-hub-nav__label svg {
    width: 16px;
    height: 16px;
    color: var(--media-color);
}

.media-hub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.media-hub-tab,
.media-week-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: var(--surface-2);
    color: var(--ink-soft);
    font-weight: 700;
    line-height: 1;
    transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.media-hub-tab {
    min-width: 78px;
    padding: 0 12px;
}

.media-hub-tab svg {
    width: 16px;
    height: 16px;
    color: currentColor;
}

.media-hub-tab:hover,
.media-hub-tab:focus-visible,
.media-week-day:hover,
.media-week-day:focus-visible {
    border-color: #3b78c2;
    color: #2f6fb3;
    outline: 2px solid rgba(59, 120, 194, .28);
    outline-offset: 2px;
    transform: translateY(-1px);
}

.media-hub-tab.is-active,
.media-week-day.is-active {
    border-color: #2f6fb3;
    background: #3b78c2;
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(39, 36, 58, .5);
}

.media-hub-tab--schedule {
    min-width: 158px;
    border-color: #a9572d;
    background: #f6d5a8;
    color: #4a2614;
    font-weight: 800;
    box-shadow: 3px 3px 0 rgba(74, 38, 20, .42);
}

.media-hub-tab--schedule:not(.is-active) {
    color: #4a2614;
}

.media-hub-tab--schedule:hover,
.media-hub-tab--schedule:focus-visible {
    border-color: #874321;
    background: #f2a65a;
    color: #2d1907;
}

.media-hub-tab--schedule.is-active {
    border-color: #a9572d;
    background: #3b78c2;
    color: #ffffff;
}

.media-hub-tab__hint {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 5px;
    border: 1px solid currentColor;
    color: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    opacity: 1;
}

/* 0.4.83: match category-button child text inheritance after broad text guards. */
html[data-forgehub-theme] body.wp-theme-forgehub-hybrid .media-hub-tab--schedule :where(span, small, svg) {
    color: inherit !important;
}

.media-week {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.media-week__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 2px 0 14px;
    border-bottom: 2px solid var(--line-soft);
}

.media-week__head h2,
.media-week__head p {
    margin: 0;
}

.media-week__head h2 {
    margin-top: 4px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 23px;
    letter-spacing: 0;
}

.media-week__head p {
    margin-top: 6px;
    color: var(--ink-soft);
    font-family: var(--font-reading, inherit);
    line-height: 1.55;
}

.media-week__today {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    flex: 0 0 auto;
    padding: 0 10px;
    border: 1px solid #c8733f;
    border-radius: 7px;
    background: #f6d5a8;
    color: #5f3218;
    font-weight: 800;
}

.media-week__today svg {
    width: 16px;
    height: 16px;
}

.media-week-days {
    display: flex;
    gap: 7px;
    min-width: 0;
    overflow-x: auto;
    padding: 2px 2px 7px;
    scrollbar-width: thin;
}

.media-week-day {
    min-width: 72px;
    flex: 1 0 72px;
    padding: 0 9px;
}

.media-week-day small {
    display: grid;
    place-items: center;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    border-radius: 5px;
    background: rgba(39, 36, 58, .08);
    color: currentColor;
    font-size: 10px;
}

.media-week-day.is-active small {
    background: rgba(255, 255, 255, .2);
}

.media-week-day.is-today:not(.is-active) {
    border-color: #c8733f;
    box-shadow: inset 0 -2px 0 #c8733f;
}

.media-week-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.media-week-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.media-week-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.media-week-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 50px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line-soft);
    background: var(--panel-soft);
}

.media-week-panel > header div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.media-week-panel > header span,
.media-week-panel > header strong {
    color: var(--ink);
}

.media-week-panel > header span {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
}

.media-week-panel > header small {
    padding: 3px 6px;
    border-radius: 5px;
    background: #f6d5a8;
    color: #5f3218;
    font-weight: 800;
}

.media-week-panel > header strong {
    font-size: 12px;
}

.media-week-panel.is-today {
    border-color: #c8733f;
}

.media-week-panel.is-today > header {
    box-shadow: inset 4px 0 0 #c8733f;
}

.media-week-panel__list {
    display: grid;
    padding: 0 12px;
}

.media-week-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 11px;
    min-width: 0;
    padding: 12px 0;
    border-top: 1px solid var(--line-soft);
}

.media-week-item:first-child {
    border-top: 0;
}

.media-week-item__poster {
    width: 62px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 6px;
    background: var(--panel-soft);
}

.media-week-item__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-week-item__body {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.media-week-item__body h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-reading, inherit);
    font-size: 14px;
    line-height: 1.45;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.media-week-item__body h3 a {
    color: inherit;
}

.media-week-item__body h3 a:hover,
.media-week-item__body h3 a:focus-visible {
    color: #2f6fb3;
    outline: 2px solid rgba(59, 120, 194, .28);
    outline-offset: 2px;
}

.media-week-item__meta,
.media-week-item__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
    min-width: 0;
    color: var(--ink-faint);
    font-size: 11px;
}

.media-week-item__meta span,
.media-week-item__status span,
.media-week-item__status strong {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.media-week-item__meta svg {
    width: 13px;
    height: 13px;
}

.media-week-item__status strong {
    color: #9a5529;
}

.media-week-panel__empty {
    display: grid;
    place-items: center;
    gap: 7px;
    min-height: 132px;
    color: var(--ink-faint);
    font-family: var(--font-reading, inherit);
}

.media-week-panel__empty svg {
    width: 24px;
    height: 24px;
}

.composer-resource-classification,
.composer-media {
    display: grid;
    gap: 14px;
    padding: 14px;
    border-radius: 7px;
}

.composer-resource-classification {
    border: 1px solid rgba(77, 149, 184, .38);
    background: rgba(77, 149, 184, .08);
}

.composer-media {
    border: 1px solid rgba(225, 134, 77, .38);
    background: rgba(225, 134, 77, .07);
}

.composer-resource-classification[hidden],
.composer-media[hidden],
[data-media-template][hidden],
[data-media-genre-field][hidden],
[data-media-classification-field][hidden],
[data-media-anime-field][hidden] {
    display: none;
}

.composer-resource-classification__head,
.composer-media__head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.composer-resource-classification__head > svg,
.composer-media__head > svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
}

.composer-resource-classification__head > svg {
    color: #4d95b8;
}

.composer-media__head > svg {
    color: #c8733f;
}

.composer-resource-classification__head div,
.composer-media__head div {
    display: grid;
    gap: 3px;
}

.composer-resource-classification__head strong,
.composer-media__head strong {
    color: var(--ink);
    font-size: 15px;
}

.composer-resource-classification__head span,
.composer-media__head span {
    color: var(--ink-faint);
    font-size: 12px;
    line-height: 1.6;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-hub-tab {
    border-color: #786e95 !important;
    background: #1c2438 !important;
    color: #fff6e3 !important;
    box-shadow: 3px 3px 0 #090b16 !important;
    text-shadow: none !important;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-hub-tab:hover,
html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-hub-tab:focus-visible {
    border-color: #f2a65a !important;
    background: #263657 !important;
    color: #fff6e3 !important;
    box-shadow: 2px 2px 0 #090b16 !important;
    transform: translate(1px, 1px);
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-hub-tab.is-active {
    border-color: #f2a65a !important;
    background: #5ba8d8 !important;
    color: #101426 !important;
    box-shadow: 3px 3px 0 #090b16 !important;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-week-day {
    border-color: #4f5875 !important;
    background: #202840 !important;
    color: #d8dcec !important;
    text-shadow: none !important;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-week-day:hover,
html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-week-day:focus-visible {
    border-color: #78aee8 !important;
    background: #263657 !important;
    color: #a9d4ff !important;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-week-day.is-active {
    border-color: #78aee8 !important;
    background: #2f6fb3 !important;
    color: #ffffff !important;
    box-shadow: 2px 2px 0 #090b16 !important;
}

html[data-forgehub-theme="dark"] .media-hub-tab--schedule:not(.is-active),
html[data-forgehub-theme="dark"] .media-week-item__status strong {
    color: #f0aa79;
}

html[data-forgehub-theme="dark"] .media-week__today,
html[data-forgehub-theme="dark"] .media-week-panel > header small {
    border-color: #d98b58;
    background: #4a2d22;
    color: #ffd7b8;
}

html[data-forgehub-theme="dark"] .media-week-panel {
    border-color: #4f5875;
    background: #171d30;
    box-shadow: 3px 3px 0 #090b16;
}

html[data-forgehub-theme="dark"] .media-week-panel > header {
    border-color: #4f5875;
    background: #202840;
}

html[data-forgehub-theme="dark"] .media-week-panel.is-today {
    border-color: #d98b58;
}

body.forgehub-pixel-farm .media-hub-tab,
body.forgehub-pixel-farm .media-week-day,
body.forgehub-pixel-farm .media-week-panel,
body.forgehub-pixel-farm .media-week-item__poster,
body.forgehub-pixel-farm .media-week__today,
body.forgehub-pixel-farm .composer-resource-classification,
body.forgehub-pixel-farm .composer-media {
    border-radius: 0;
}

body.forgehub-pixel-farm .media-hub-tab {
    min-height: 42px;
    padding: 0 14px;
    border: 2px solid var(--pixel-line);
    background: #fff6e3;
    color: #27243a;
    box-shadow: 3px 3px 0 var(--pixel-line);
    text-shadow: none;
}

body.forgehub-pixel-farm .media-hub-tab:hover,
body.forgehub-pixel-farm .media-hub-tab:focus-visible {
    border-color: var(--pixel-line);
    background: #fff0ca;
    color: #27243a;
    box-shadow: 2px 2px 0 var(--pixel-line);
    transform: translate(1px, 1px);
}

body.forgehub-pixel-farm .media-hub-tab.is-active,
body.forgehub-pixel-farm .media-week-day.is-active,
body.forgehub-pixel-farm .media-week-panel {
    box-shadow: 3px 3px 0 var(--pixel-line);
}

body.forgehub-pixel-farm .media-hub-tab.is-active {
    border-color: var(--pixel-line);
    background: #3b78c2;
    color: #ffffff;
}

body.forgehub-pixel-farm .media-hub-tab--schedule:not(.is-active) {
    border-color: #a9572d;
    background: #f6d5a8;
    color: #4a2614;
}

body.forgehub-pixel-farm .media-hub-tab--schedule:hover,
body.forgehub-pixel-farm .media-hub-tab--schedule:focus-visible {
    border-color: #874321;
    background: #f2a65a;
    color: #2d1907;
}

body.forgehub-pixel-farm .media-hub-tab--schedule.is-active {
    border-color: #a9572d;
    background: #3b78c2;
    color: #ffffff;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .media-hub-tab.is-active,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .media-week-day.is-active,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .media-week-panel {
    box-shadow: 3px 3px 0 #090b16;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-hub-tab--schedule:not(.is-active) {
    border-color: #f2a65a !important;
    background: #4a2d22 !important;
    color: #ffd7b8 !important;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-hub-tab--schedule:hover,
html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-hub-tab--schedule:focus-visible {
    border-color: #ffd7b8 !important;
    background: #633720 !important;
    color: #ffffff !important;
}

html[data-forgehub-theme="dark"] body.wp-theme-forgehub-hybrid.forgehub-pixel-farm .media-hub-tab--schedule.is-active {
    border-color: #f2a65a !important;
    background: #5ba8d8 !important;
    color: #101426 !important;
}

@media (max-width: 720px) {
    .media-hub-nav__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .media-hub-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 2px 2px 7px;
        scrollbar-width: thin;
    }

    .media-hub-tab {
        flex: 0 0 auto;
    }

    .media-hub-nav__schedule {
        width: 100%;
        justify-self: stretch;
    }

    .media-hub-tab--schedule {
        width: 100%;
    }

    .media-week__head {
        align-items: stretch;
        flex-direction: column;
    }

    .media-week__today {
        align-self: flex-start;
    }

    .media-week-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .media-week-panel__list {
        padding: 0 10px;
    }

    .media-week-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 9px;
    }

    .media-week-item__poster {
        width: 56px;
    }

    .composer-resource-classification .form-grid,
    .composer-media .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* 0.4.88 collaborative resource updates */
.submission-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
    padding: 6px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: var(--surface-2);
}

.submission-mode-switch button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--ink-soft);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.submission-mode-switch button.is-active {
    border-color: rgba(91, 168, 216, .42);
    background: rgba(91, 168, 216, .14);
    color: var(--ink);
}

.submission-mode-switch button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.submission-mode-switch svg {
    width: 17px;
    height: 17px;
}

.resource-update-form,
.resource-update-fields,
.resource-update-item-list {
    display: grid;
    gap: 14px;
}

.resource-update-form label,
.resource-update-fields label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--ink);
    font-weight: 700;
}

.resource-update-form input,
.resource-update-form textarea {
    width: 100%;
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: var(--ink);
    font: inherit;
    outline: none;
}

.resource-update-form input:focus,
.resource-update-form textarea:focus {
    border-color: rgba(91, 168, 216, .58);
    box-shadow: 0 0 0 2px rgba(91, 168, 216, .12);
}

.resource-update-search-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.resource-update-search-results {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 7px;
    background: var(--surface);
}

.resource-update-search-result {
    display: grid;
    gap: 3px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.resource-update-search-result:last-child {
    border-bottom: 0;
}

.resource-update-search-result:hover,
.resource-update-search-result:focus-visible {
    background: rgba(91, 168, 216, .1);
}

.resource-update-search-result > span,
.resource-update-search-result > small,
.resource-update-target small {
    color: var(--ink-faint);
    font-size: 12px;
}

.resource-update-search-result > strong {
    overflow-wrap: anywhere;
}

.composer-field-hint[data-tone="success"] {
    color: var(--success);
}

.composer-field-hint[data-tone="warning"] {
    color: var(--accent-strong);
}

.composer-field-hint[data-tone="error"] {
    color: var(--danger);
}

.resource-update-target {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(80, 211, 138, .28);
    border-radius: 7px;
    background: rgba(22, 163, 107, .09);
}

.resource-update-target > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.resource-update-target strong {
    overflow-wrap: anywhere;
}

.resource-update-target [data-resource-update-profile] {
    color: var(--success);
    font-size: 11px;
    font-weight: 800;
}

.resource-update-fields {
    min-width: 0;
    margin: 0;
    padding: 14px 0 0;
    border: 0;
    border-top: 1px solid var(--line-soft);
}

.resource-update-fields legend {
    padding: 0 0 10px;
    color: var(--ink);
    font-weight: 900;
}

.resource-update-fields:disabled {
    opacity: .52;
}

.resource-update-item {
    display: grid;
    grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr) 40px;
    gap: 10px;
    align-items: end;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
}

.resource-update-remove {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
}

.resource-panel__actions,
.resource-update-review-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.resource-contribution-byline,
.media-progress-byline {
    color: var(--success) !important;
    font-size: 11px !important;
}

.resource-update-review-queue {
    display: grid;
    gap: 0;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}

.resource-update-review-queue h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 15px;
}

.resource-update-review-queue h3 span {
    color: var(--accent-strong);
}

.resource-update-review-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line-soft);
}

.resource-update-review-item > div:first-child {
    display: grid;
    gap: 3px;
}

.resource-update-review-item span {
    color: var(--ink-faint);
    font-size: 12px;
}

.resource-update-review-links {
    display: grid;
    gap: 4px;
}

.resource-update-review-links span {
    display: grid;
    grid-template-columns: minmax(90px, auto) minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
}

.resource-update-review-links code {
    overflow-wrap: anywhere;
    color: var(--ink-soft);
    white-space: normal;
}

.resource-update-history {
    display: grid;
}

.resource-update-history__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
}

.resource-update-history__item > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.resource-update-history__item a {
    color: var(--ink);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.resource-update-history__item span {
    color: var(--ink-faint);
    font-size: 12px;
}

.resource-update-history__item small {
    color: var(--ink-soft);
    font-size: 12px;
}

.resource-update-history__item > strong {
    color: var(--accent-strong);
    font-size: 12px;
}

.resource-update-history__item > strong[data-status="approved"] {
    color: var(--success);
}

.resource-update-history__item > strong[data-status="rejected"] {
    color: var(--danger);
}

body.forgehub-pixel-farm .submission-mode-switch,
body.forgehub-pixel-farm .resource-update-search-results,
body.forgehub-pixel-farm .resource-update-target {
    border: 2px solid var(--pixel-line);
    background: #f7dfb6;
}

body.forgehub-pixel-farm .submission-mode-switch button.is-active {
    border: 2px solid var(--pixel-line);
    background: #3b78c2;
    color: #fff6e3;
}

body.forgehub-pixel-farm .resource-update-form input,
body.forgehub-pixel-farm .resource-update-form textarea {
    border: 2px solid var(--pixel-line);
    background: rgba(255, 246, 227, .86);
    color: #27243a;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .submission-mode-switch,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-update-search-results,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-update-target {
    border-color: #585172;
    background: #202840;
}

html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-update-form input,
html[data-forgehub-theme="dark"] body.forgehub-pixel-farm .resource-update-form textarea {
    border-color: #585172;
    background: #171d31;
    color: var(--ink);
}

@media (max-width: 720px) {
    .submission-mode-switch,
    .resource-update-item {
        grid-template-columns: minmax(0, 1fr);
    }

    .resource-update-search-control,
    .resource-update-review-item,
    .resource-update-history__item {
        grid-template-columns: minmax(0, 1fr);
    }

    .resource-update-review-links span {
        grid-template-columns: minmax(0, 1fr);
    }

    .resource-update-target {
        align-items: stretch;
        flex-direction: column;
    }

    .resource-update-target .button,
    .resource-update-search-control .button {
        width: 100%;
    }
}
