/* Reference assets are individual controls and the house ad creative. Paid ads are rendered independently. */
#forum-search-master .fs28-search-emblem,
#forum-recent-master .frm-hero-icon,
#forum-recent-master .frm-summary-icon {
    background-position:center;
    background-size:100% 100%;
    background-repeat:no-repeat;
    border:0;
    box-shadow:none;
    filter:none;
}
#forum-search-master .fs28-search-emblem {background-image:url("images/forum/search-feed/search-icon.webp")}
#forum-recent-master .frm-hero-icon {background-image:url("images/forum/search-feed/feed-icon.webp")}
#forum-recent-master .frm-summary-icon.fire {background-image:url("images/forum/search-feed/fire.webp")}
#forum-recent-master .frm-summary-icon.chat {background-image:url("images/forum/search-feed/messages.webp")}
#forum-recent-master .frm-summary-icon.bell {background-image:url("images/forum/search-feed/bell.webp")}
#forum-search-master .fs28-search-emblem svg,
#forum-recent-master :is(.frm-hero-icon,.frm-summary-icon) svg {opacity:0}
@media(min-width:851px) {
    #forum-search-master {
        width:85.7421875%;max-width:1360px;
    }
    #forum-search-master .fs28-layout {--su:calc(100cqw / 878);--fu:calc(1.3 * var(--su));grid-template-columns:minmax(0,678fr) minmax(0,182fr)}
    #forum-search-master .fs28-crumb {height:34px;padding:0;font-size:10px}
    #forum-search-master .fs28-search-panel {padding:calc(8 * var(--su)) calc(10 * var(--su)) 0}
    #forum-search-master .fs28-title {min-height:calc(59 * var(--su));margin-bottom:calc(10 * var(--su))}
    #forum-search-master .fs28-search-emblem {width:calc(61 * var(--su));height:calc(59 * var(--su))}
    #forum-search-master .fs28-fields {row-gap:calc(15 * var(--su))}
    #forum-search-master .fs28-fields>label:first-child {min-height:calc(62 * var(--su))}
    #forum-search-master .fs28-advanced {min-height:calc(237 * var(--su))}
    #forum-search-master .fs28-advanced:not([open]) {min-height:0}
}
@media(min-width:761px) {
    #forum-recent-master .frm-crumb {min-height:calc(34 * var(--ru))}
    #forum-recent-master .frm-hero {padding-block:calc(10 * var(--ru)) calc(8 * var(--ru))}
    #forum-recent-master .frm-hero-icon {width:calc(70 * var(--ru));height:calc(58 * var(--ru))}
    #forum-recent-master .frm-summary>div {padding:calc(5 * var(--ru)) calc(6 * var(--ru));gap:calc(10 * var(--ru))}
    #forum-recent-master .frm-topic {min-height:calc(69 * var(--ru))}
    #forum-recent-master .frm-topic-cell {padding-block:calc(6 * var(--ru))}
}
@media(min-width:1100px) {
    :is(#forum-search-master,#forum-recent-master) {width:calc(100% - 96px);max-width:1360px;margin-inline:auto}
}
@media(max-width:540px) {
    #forum-recent-master .frm-tabs {scroll-padding-inline:4px}
    #forum-search-master .fs28-title>a {padding:4px}
}

#forum-search-master .fs28-badge-poll {background:#20b9f2;color:#001627}
@media(min-width:851px) {
    #forum-search-master {margin-bottom:0}
    #forum-search-master .fs28-title {margin-bottom:calc(9 * var(--su))}
    #forum-search-master .fs28-fields>label:first-child {min-height:calc(60 * var(--su))}
    #forum-search-master .fs28-active {margin-top:calc(11 * var(--su))}
    #forum-search-master .fs28-results {margin-top:calc(8 * var(--su));border:0;background:transparent}
    #forum-search-master .fs28-result {
        grid-template-columns:calc(29 * var(--su)) minmax(0,2.65fr) minmax(0,1.15fr) minmax(0,1fr) calc(42 * var(--su)) minmax(0,.8fr) calc(14 * var(--su));
        padding-block:calc(4 * var(--su));border:1px solid #073754;border-left-color:#00aaff;
        border-radius:calc(4 * var(--su));margin-top:-1px;min-height:calc(68 * var(--su));
        background:linear-gradient(100deg,#001c30,#00213a 70%,#001c2e);
    }
    #forum-search-master .fs28-result:first-child {margin-top:0}
    #forum-search-master .fs28-result-copy h3 {overflow-wrap:anywhere;white-space:normal}
    #forum-search-master .fs28-result-copy {align-self:center}
}
@media(min-width:761px) {
    #forum-recent-master {padding-bottom:0;margin-bottom:0}
    #forum-recent-master .frm-pagination {padding-bottom:0}
    #forum-recent-master .frm-filter-panel {padding-top:calc(14 * var(--ru))}
    #forum-recent-master .frm-topic {min-height:calc(73 * var(--ru))}
    #forum-recent-master .frm-topic-cell {padding-block:calc(7 * var(--ru))}
}
@media(min-width:851px) {
}
/* R6: approved search/feed composition with the accepted homepage tokens.
   These rules never target the shared sidebar or website chrome. */
html body :is(#forum-search-master,#forum-recent-master) {
    --forum-font:var(--forum-shared-font,Manrope,Arial,sans-serif);
    --forum-light:var(--forum-shared-ink,#eff5ff);
    --forum-copy:var(--forum-shared-copy,#c5d9ec);
    --forum-subtext:var(--forum-shared-muted,#80acd2);
    --forum-link:var(--forum-shared-cyan,#00c9ff);
    --forum-control:var(--forum-shared-primary,linear-gradient(115deg,#006cff,#0055fc));
    --forum-panel:var(--forum-shared-panel,linear-gradient(180deg,#001e34,#00192d));
    --forum-edge:var(--forum-shared-edge,#00304e);
    font-family:var(--forum-font);
}
#forum-search-master .fs28-main,
#forum-recent-master .frm-main {color:var(--forum-shared-ink);font-family:var(--forum-shared-font)}
#forum-search-master :is(.fs28-search-panel,.fs28-advanced),
#forum-recent-master :is(.frm-hero,.frm-filter-panel) {background:var(--forum-shared-panel);border-color:var(--forum-shared-edge);box-shadow:var(--forum-shared-panel-shadow)}
#forum-search-master .fs28-result,
#forum-search-master .fs28-result:nth-child(even),
#forum-recent-master .frm-topic {background:var(--forum-shared-card);border-color:var(--forum-shared-edge);border-left-color:var(--forum-shared-cyan)}
#forum-search-master .fs28-result:last-child {border-bottom:1px solid var(--forum-shared-edge)}
#forum-search-master .fs28-result-copy p,
#forum-search-master .fs28-result-heading p {color:var(--forum-shared-muted)}
#forum-search-master .fs28-control select,#forum-search-master .fs28-fields input,
#forum-recent-master .frm-filters select {background:var(--forum-shared-control);border-color:var(--forum-shared-control-edge)}
#forum-recent-master .frm-filters {background:transparent;box-shadow:none}
#forum-recent-master .frm-filters select {
    appearance:none;padding-right:calc(25 * var(--ru));
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23c5d9ec' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 4 3 3 3-3'/%3E%3C/svg%3E"),var(--forum-shared-control);
    background-position:right calc(8 * var(--ru)) center,center;background-size:calc(12 * var(--ru)) calc(12 * var(--ru)),100% 100%;background-repeat:no-repeat;
}
#forum-recent-master .frm-summary-icon:is(.fire,.chat,.bell) {background-repeat:no-repeat;background-size:100% 100%;background-position:center;flex:none}
#forum-recent-master .frm-author-avatar {margin-top:calc(12 * var(--ru))}
#forum-recent-master .frm-state {color:var(--forum-shared-ink)}
#forum-recent-master .frm-state.pin {color:#ff315f}
#forum-recent-master .frm-state.check {color:#00c797}
#forum-recent-master .frm-state.poll {color:#a96cff}
#forum-recent-master .frm-count-cell {border-left:1px solid var(--forum-shared-edge)}
#forum-recent-master .frm-count-cell svg {color:var(--forum-shared-copy)}
#forum-recent-master .frm-last-person .frm-avatar {width:calc(30 * var(--ru));height:calc(30 * var(--ru));min-width:calc(30 * var(--ru))}
#forum-recent-master .frm-topic-tags>a {background:var(--forum-shared-control);border-color:var(--forum-shared-edge)}
#forum-recent-master .frm-prefix {font-weight:600}
@media(min-width:851px) {
    #forum-search-master .fs28-layout {--su:min(calc(100cqw / 878),1.25px)}
}
@media(min-width:761px) {
    #forum-recent-master .frm-surface {--ru:min(calc(100cqw / 884),1.25px)}
    #forum-recent-master .frm-topic {min-height:calc(73 * var(--ru))}
    #forum-recent-master .frm-filters {column-gap:calc(12 * var(--ru))}
    #forum-recent-master .frm-filters select {height:calc(28 * var(--ru))}
    #forum-recent-master .frm-filter-actions {margin-top:calc(14 * var(--ru))}
    #forum-recent-master .frm-last-person time {font-size:calc(8.5 * var(--ru))}
}
@media(max-width:540px) {
    #forum-search-master .fs28-result-copy h3 {font-size:13px;font-weight:600;line-height:1.35}
    #forum-search-master .fs28-result {grid-template-columns:18px minmax(0,1fr) 40px 18px;padding-block:10px}
    #forum-search-master .fs28-result-forum {display:flex;grid-column:2 / 4;padding:0;flex-direction:row;flex-wrap:wrap;font-size:10px}
    #forum-search-master .fs28-result-author {display:flex;grid-column:2 / 4;font-size:10px}
    #forum-search-master .fs28-result-author>div {display:flex;align-items:center;gap:8px}
    #forum-search-master .fs28-result-author time {margin:0;font-size:10px}
    #forum-search-master .fs28-result-metrics {grid-column:3;grid-row:1}
    #forum-search-master .fs28-open {grid-column:4;grid-row:1;min-height:36px}
    #forum-search-master .fs28-result-author .fs28-avatar {width:22px;height:22px}
    #forum-search-master .fs28-sort {flex-wrap:wrap;white-space:normal}
    #forum-search-master .fs28-results-footer {flex-wrap:wrap}
    #forum-search-master .fs28-saved {margin-left:0}
    #forum-search-master .fs28-query-row {grid-template-columns:minmax(0,1fr) 76px}
    #forum-recent-master .frm-filters select {min-height:36px;font-size:11px}
    #forum-recent-master .frm-topic h2 {font-size:12px;font-weight:600;line-height:1.35}
    #forum-recent-master .frm-author-avatar {margin-top:3px}
    #forum-recent-master .frm-topic-tags {gap:3px}
}

html body #forum-recent-master .frm-main .frm-filters {background:transparent;border:0;box-shadow:none}
#forum-recent-master .frm-filters label>span {color:var(--forum-shared-ink)}
#forum-search-master .fs28-filter-actions .fs28-primary {min-width:calc(159 * var(--su))}
#forum-search-master .fs28-filter-actions .fs28-button:not(.fs28-primary) {min-width:calc(143 * var(--su));padding-inline:calc(12 * var(--su))}

@media(max-width:540px) {
    #forum-search-master .fs28-title>a {flex-basis:100%;justify-content:flex-end;margin-top:2px}
    #forum-search-master .fs28-title>div {min-width:0}
    #forum-search-master .fs28-filter-actions .fs28-button {min-width:0;flex:1;padding-inline:10px}
}@media(max-width:360px) {
    #forum-recent-master .frm-summary>div {flex-direction:column;align-items:flex-start;gap:6px}
    #forum-recent-master .frm-summary>div>span:last-child {min-width:0;max-width:100%}
    #forum-recent-master .frm-summary-icon {width:28px;height:28px}
}
@media(max-width:760px) {
    #forum-search-master {width:calc(100% - 24px);margin-inline:auto}
}
