/* BacklinkTalk · Halloween edition. Loaded after the standard frontend theme. */
@font-face {
  font-family: "Creepster";
  src: url("/images/halloween/creepster.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bt-ink: #fff2d7;
  --bt-muted: #bdb0cb;
  --bt-teal: #ffab59;
  --bt-line: #44304f;
  --bt-bg: #100b18;
  --haunt-orange: #ff8a28;
  --haunt-panel: #21132e;
  --haunt-display: "Creepster", Georgia, serif;
}
html { background: #100b18; scroll-padding-top: 24px; }
body {
  background: radial-gradient(ellipse at 7% 350px, #4e213e55, transparent 650px),
    radial-gradient(ellipse at 96% 750px, #5b2a1550, transparent 650px), #100b18;
  color: var(--bt-ink);
}
body::selection { background: #ff8a28; color: #100b18; }
a:link, a:visited { color: #ffab59; }
a:hover, a:active { color: #ffd397; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid #ffc675; outline-offset: 4px;
}
#container { position: relative; isolation: isolate; min-height: 100vh; }
#content { position: relative; z-index: 1; }
#header, #logo { background: #130d1d; }
#logo { border-bottom: 1px solid #56304c; }
#logo .wrapper { min-height: 108px; position: relative; z-index: 2; }
a.bt-brand { color: #fff2d7; gap: 13px; letter-spacing: .4px; font-family: var(--haunt-display); font-size: 36px; font-weight: 400; }
.bt-brand-accent { color: #ff8a28; text-shadow: 0 0 22px #ff7b2133; }
.bt-mark { width: 62px; height: 66px; background: none; border-radius: 0; flex: none; }
.bt-mark img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 12px #ff741c4d); }
.bt-brand small { color: #c0aacf; font: 700 8px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 2.5px; margin-top: 8px; }
#header #logo ul.top_links li a { color: #dfd0e6; border: 1px solid transparent; }
#header #logo ul.top_links li a:hover,
#header #logo ul.top_links li a[aria-current] {
  background: #331d36; color: #ffb36d; border-color: #6a3a47;
}
#panel .upper { background: #191020; color: #c4b3cf; border-bottom: 1px solid #33203e; }
#panel .lower { background: #24152e; border-bottom: 1px solid #44304f; }
#panel .upper a:link, #panel .upper a:visited,
#panel .upper a:hover, #panel .upper a:active { color: #ffb36d; }
#panel .upper .welcome a.login:link, #panel .upper .welcome a.login:visited,
#panel .upper .welcome a.logout:link, #panel .upper .welcome a.logout:visited {
  background: #261830; color: #ffe3bc; border-color: #68444f;
}
#panel .upper .welcome a.login:hover, #panel .upper .welcome a.logout:hover { background: #3b2338; color: #fff2d7; }
#panel .upper .welcome a.register:link, #panel .upper .welcome a.register:visited,
#search input.button { background: #ff8a28; color: #22101b; border-color: #ff8a28; }
#panel .upper .welcome a.register:hover, #search input.button:hover { background: #ffb064; color: #22101b; }
#panel .lower ul.menu li a:link, #panel .lower ul.menu li a:visited { color: #d5c1e0; }
#panel .lower ul.menu li a:hover { color: #ffd397; background: #39223e; }
#panel .upper input.textbox, #search input.textbox { background: #100c18; border-color: #503651; color: #fff2d7; }
.bt-skip-link { background: #ff8a28; color: #100b18 !important; }
.navigation, .navigation a, .bt-breadcrumb-separator { color: #bba3c9; }
.navigation .active { color: #ffe5bf; }

/* A moonlit welcome, with the illustration kept inside its own column. */
.bt-haunt-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center; gap: 10px; min-height: 410px; padding: 42px 42px 42px 46px;
  margin: 25px 0 0; border: 1px solid #704036; border-radius: 20px;
  background: radial-gradient(ellipse at 81% 30%, #6c304e66, transparent 52%),
    linear-gradient(120deg, #25142f 0%, #1e102b 53%, #382038 100%);
  box-shadow: 0 24px 70px #05020944, inset 0 1px #c78a5c19;
}
.bt-haunt-hero::before {
  content: ""; position: absolute; z-index: -1; inset: auto -20% -145px;
  height: 220px; background: radial-gradient(ellipse, #c6776d22, transparent 68%);
  pointer-events: none; animation: bt-haunt-fog 14s ease-in-out infinite alternate;
}
.bt-haunt-copy { position: relative; z-index: 2; min-width: 0; }
.bt-haunt-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 10px;
  border: 1px solid #8b4d4355; border-radius: 5px; background: #65302c33;
  color: #ffc28a; font-size: 9px; line-height: 1.5; font-weight: 750; letter-spacing: 1.8px;
}
.bt-haunt-eyebrow > span { color: #ff942e; font-size: 13px; }
h1.bt-haunt-title, .bt-haunt-hero h1 {
  color: #fff0d1; font-family: var(--haunt-display); font-weight: 400;
  font-size: clamp(42px, 4.2vw, 61px); letter-spacing: 1px; line-height: 1.08;
  margin: 19px 0 17px; text-shadow: 0 3px 0 #08040c55;
}
.bt-haunt-title span { display: block; color: #ff9b3d; text-shadow: 0 0 35px #ff791c22; }
.bt-haunt-description, .bt-haunt-hero p {
  max-width: 480px; margin: 0; color: #d4c1dc; font-size: 14px; line-height: 1.85;
}
.bt-haunt-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; margin-top: 27px; }
.bt-haunt-hero p.bt-haunt-caption { color: #bda2c9; font-size: 10px; letter-spacing: .3px; margin-top: 16px; }
.bt-haunt-art { position: relative; align-self: stretch; display: grid; place-items: center; min-width: 0; margin: -18px -18px -30px 0; }
.bt-haunt-art img { display: block; width: 100%; max-width: 490px; height: auto; max-height: 390px; object-fit: contain; filter: drop-shadow(0 15px 24px #08020c44); }
.bt-button, a.bt-button, input.button, button.button, .button,
a.button:link, a.button:visited {
  color: #261218; background: #ff8a28; border: 1px solid #ff9a42;
  border-radius: 7px; box-shadow: 0 4px 18px #ff781c16; font-weight: 750;
}
.bt-button:hover, a.bt-button:hover, input.button:hover, button.button:hover, a.button:hover {
  background: #ffb365; color: #21101a; border-color: #ffc181;
}
.bt-text-button, a.bt-text-button { color: #e0c4df; }
a.bt-text-button:hover { color: #fff0d1; }
.bt-topic-strip { padding: 24px 0 30px; }
.bt-topic-strip > span { color: #b59dc5; }
.bt-topic-strip a { background: #24162e; color: #dfc9e4; border-color: #50324e; }
.bt-topic-strip a:hover { background: #3d2336; color: #ffbd7c; border-color: #a45e3e; }
.bt-section-heading h2 { font-family: var(--haunt-display); color: #ffe4bd; font-size: 27px; font-weight: 400; letter-spacing: .8px; }
.bt-section-heading a { color: #ffb16c; }
.bt-forum-intro { color: #c7b4d1; }
h1.bt-forum-heading { font-family: var(--haunt-display); font-size: 35px; color: #ffbb75; font-weight: 400; letter-spacing: .7px; }

/* Haunted discussion rooms. Long titles and post text remain in the UI font. */
.tborder { background: #20142a; color: #fff2d7; border-color: #4d304f; border-radius: 11px; box-shadow: 0 7px 25px #07040b1f; }
.thead { background: linear-gradient(100deg, #3b203d, #2b1934); color: #ffe2b5; border-bottom: 1px solid #65404f; }
.thead a:link, .thead a:visited { color: #ffd19c; }
.thead a:hover { color: #fff0d1; }
.thead .smalltext { color: #d2b9db; }
.bt-forum-table .thead > div > strong { font-family: var(--haunt-display); font-size: 24px; font-weight: 400; letter-spacing: .65px; }
.bt-forum-table .thead { padding: 17px 19px !important; }
.tcat, .tcat .smalltext { color: #c7adcf; background: #1a1023; }
.tcat { border-bottom-color: #44294b; }
.tcat a:link, .tcat a:visited, .tcat a:hover, .tcat a:active { color: #dbc3df; }
.trow1, .trow2 { background: #20142a; color: #fff2d7; border-bottom-color: #3c2846; }
.trow2 { background: #22162c; }
.trow_sep { background: #302038; color: #e2c2e0; border-color: #51344f; }
.bt-forum-row:hover td, .bt-discussion-table .inline_row:hover td { background: #2e1c36; }
.bt-forum-row td:nth-child(2) > strong > a,
.bt-thread-list-title a:link, .bt-thread-list-title a:visited { color: #f9e7d3; }
.bt-forum-row td:nth-child(2) > strong > a:hover,
.bt-thread-list-title a:hover { color: #ffb064; }
.smalltext, .bt-count, .bt-mobile-reply-label { color: #beabc9; }
a[href*="member.php?action=profile"] > span[style="color: green;"],
a[href*="user-"] > span[style="color: green;"] { color: #b6db9a !important; }
.forum_status { width: 38px; height: 40px; background: transparent !important; border-radius: 0; opacity: .65; }
.forum_status::before { content: ""; display: block; width: 38px; height: 40px; background: url("/images/halloween/pumpkin-logo.svg") center / contain no-repeat; }
.forum_on { opacity: 1; filter: drop-shadow(0 0 7px #ff8a2833); }
.expcolimage { opacity: .8; filter: sepia(1) saturate(.5) brightness(1.5); }
.tfoot { background: #1a1123; color: #bfa9ca; border-color: #4a2e4a; }
.bt-thread-title { color: #ffe5c1; }
.bt-thread-summary { color: #d1b9da; }
.post { background: #20142a; border-color: #503052; border-radius: 11px; overflow: hidden; }
.post .post_head, .post .post_author, .post.classic .post_author { background: #291a34; color: #e5d0e7; border-color: #51334f; }
.post .post_head { border-bottom: 1px solid #493049; }
.post .post_content { background: #20142a; }
.bt-post-heading { color: #ffe6be; }
.post_body { color: #eee1ee; }
.post .post_controls { background: #1b1124; border-color: #493049; }
.post .post_meta, .post_signature, .post .post_date { color: #bca7c9; }
.post_signature { border-color: #4d304f; }
.postbit_buttons > a:link, .postbit_buttons > a:visited { background: #2b1b35; color: #e7c9df; border-color: #66404f; }
.postbit_buttons > a:hover { background: #482a3b; color: #ffd19c; border-color: #996043; }
blockquote, .codeblock { background: #180e22; color: #d8c4e1; border: 1px solid #503353; border-left: 3px solid #b8693c; border-radius: 6px; }
blockquote cite, .codeblock .title { color: #ffbd82; border-bottom-color: #49304f; }
blockquote cite > span { color: #bfa8cb; }
.codeblock code, .codeblock .body { color: #e8d8ee; background: #180e22; }
.post_author img, .avatar img { border-radius: 8px; }
.pagination a { background: #291a33; color: #e4c8df; border-color: #5d3a52; }
.pagination a:hover { background: #48283a; color: #ffd49b; }
.pagination .pagination_current { background: #ff8a28; color: #22101b; border-color: #ff8a28; }

/* Sidebar, forms and the less-travelled corners of MyBB. */
.bt-side-card { background: #23162e; border-color: #54334f; border-radius: 13px; box-shadow: 0 8px 25px #06020922; }
.bt-side-card h3 { color: #ffe4bd; }
.bt-side-card p, .bt-checks { color: #c3afcd; }
.bt-card-label, .bt-side-card h3.bt-card-label { color: #ffad63; }
.bt-welcome-card { background: radial-gradient(ellipse at top right, #69372c33, transparent 70%), #2b1930; border-color: #7a473e; }
.bt-welcome-card h3, .bt-latest-card h3 { font-family: var(--haunt-display); font-size: 27px; letter-spacing: .65px; font-weight: 400; }
.bt-latest-card { border-top: 3px solid #e98134; }
.bt-latest-card .bt-latest-title:link, .bt-latest-card .bt-latest-title:visited { color: #f0dfee; }
.bt-latest-card .bt-latest-title:hover { color: #ffb674; }
.bt-latest-meta { color: #b9a3c7; }
.bt-latest-list > li, .bt-latest-footer { border-top-color: #4a2c4d; }
.bt-latest-forum, .bt-side-link { color: #ffb575; }
.bt-checks li::before { content: "✦"; color: #ff9b47; }
.bt-guide > span { color: #ffd39e; background: #4a293c; }
.bt-guide div { color: #f3dce7; }
.bt-guide small { color: #bfa7ca; }
.bt-live-dot { background: #ffab59; box-shadow: 0 0 8px #ff8a2866; }
.bt-privacy { background: #21142b; border: 1px solid #50324f; }
input.textbox, textarea, select, input[type="email"], input[type="password"], input[type="search"] {
  background: #130d1c; color: #fff2d7; border-color: #63405d; accent-color: #ff8a28;
}
input::placeholder, textarea::placeholder { color: #a68fb6; opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: #ff8a28; }
fieldset, #registration_form fieldset { border-color: #51334f; }
legend, #bt-search-form label, #bt-search-form legend { color: #e8d1e6; }
.modal { background: #21132e; color: #fff2d7; border-color: #8c5148; box-shadow: 0 25px 100px #0009; }
.blocker { background-color: #08030de0; }
.select2-container .select2-choice, .select2-container-multi .select2-choices, .select2-drop,
.select2-search input, .select2-container .select2-choice .select2-arrow { background: #1c1127; color: #f4e4ef; border-color: #67415e; }
.select2-results .select2-highlighted { background: #75452f; color: #fff2d7; }
.select2-container-multi .select2-choices .select2-search-choice { background: #42263d; color: #ffe2bd; border-color: #765146; }
.sceditor-container { max-width: 100%; border-color: #67415e !important; background: #21132e !important; }
.sceditor-container .sceditor-toolbar { background: #291a34 !important; border-color: #67415e !important; }
.sceditor-container .sceditor-group { background: #f1e5dc !important; border-color: #b99a91 !important; }
.sceditor-dropdown { background: #f8eee7 !important; color: #24162e !important; }
.sceditor-dropdown label, .sceditor-dropdown a { color: #24162e; }
.popup_menu, .popup_menu .popup_item, .autocomplete, .autocomplete_selected { background: #24162e; color: #ffe3bd; border-color: #694354; }
.popup_menu .popup_item:hover { background: #48283c; color: #fff2d7; }
.red_alert, .pm_alert, .error, .success_message, .warning_message { background: #392036; color: #ffe4c2; border-color: #976544; }
.red_alert a:link, .red_alert a:visited, .red_alert a:hover, .red_alert a:active { color: #ffc38d; }
div.error { background: #392036; color: #ffe4c2; border-color: #976544; }
div.error p { background: #582a3a; color: #ffe4c2; border-color: #976544; }
.highlight { color: #23121e; background: #ffc67f; }
.trow_reputation_positive, .trow_reputation_neutral, .trow_reputation_negative { color: #f1e0eb; background: #2b1d35; }
.reputation_positive { color: #b9dd9f; }
.reputation_neutral { color: #d0bdd9; }
.reputation_negative { color: #ffb6aa; }
hr { background-color: #50314e; border-color: #50314e; }
#footer { position: relative; margin-top: 40px; border-top: 1px solid #764035; background: #140c1c; }
#footer::before { content: ""; display: block; width: 44px; height: 42px; position: absolute; left: calc(50% - 22px); top: -24px; background: url("/images/halloween/pumpkin-logo.svg") center / contain no-repeat; filter: drop-shadow(0 0 12px #ff8a2833); }
#footer .upper, #footer .lower { background: #140c1c; color: #b69cc4; border-color: #40243e; }
#footer .upper { padding-top: 27px; }
#footer .upper a, #footer .lower a { color: #d1b2d7; }
#footer a:hover { color: #ffbb7d; }

/* Decorative silhouettes have no hit targets and never enter the reading column. */
.bt-haunt-decor { position: absolute; inset: 0 0 auto; height: 560px; overflow: hidden; pointer-events: none; z-index: 4; }
.bt-haunt-decor *, .bt-haunt-decor::before, .bt-haunt-decor::after { pointer-events: none; }
.bt-web-left, .bt-web-right {
  position: absolute; top: 0; width: 156px; height: 150px; opacity: .23;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23dac5e5' stroke-width='1'%3E%3Cpath d='M0 0L180 0M0 0L168 64M0 0L128 128M0 0L64 168M0 0L0 180'/%3E%3Cpath d='M38 0Q31 8 35 14Q26 18 27 27Q18 26 14 35Q8 31 0 38M74 0Q60 16 69 27Q49 34 52 52Q34 49 27 69Q16 60 0 74M110 0Q91 23 103 40Q74 49 78 78Q49 74 40 103Q23 91 0 110M146 0Q119 30 137 53Q98 66 103 103Q66 98 53 137Q30 119 0 146M180 0Q147 37 168 64Q123 82 128 128Q82 123 64 168Q37 147 0 180'/%3E%3C/g%3E%3C/svg%3E") left top / contain no-repeat;
}
.bt-web-left { left: 0; }
.bt-web-right { right: 0; transform: scaleX(-1); }
.bt-hanging-spider { position: absolute; width: 37px; height: 48px; background: url("/images/halloween/spider.svg") center bottom / contain no-repeat; transform-origin: 50% -80px; animation: bt-haunt-sway 7s ease-in-out infinite alternate; }
.bt-hanging-spider::before { content: ""; position: absolute; bottom: 41px; left: 50%; width: 1px; height: 160px; background: #ad94ba66; }
.bt-spider-one { top: 165px; left: max(2px, calc((100vw - 1408px) / 2)); }
.bt-spider-two { top: 245px; right: max(2px, calc((100vw - 1408px) / 2)); width: 32px; animation-delay: -3s; animation-duration: 9s; }
.bt-bat { position: absolute; width: 39px; height: 25px; opacity: .55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 54'%3E%3Cpath fill='%23b887be' d='M50 18L44 8L41 21C28 11 17 9 0 0C5 15 7 26 4 39C14 31 21 32 25 43C34 36 43 43 50 54C57 43 66 36 75 43C79 32 86 31 96 39C93 26 95 15 100 0C83 9 72 11 59 21L56 8Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.bt-bat-one { top: 174px; right: 22px; transform: rotate(-13deg); }
.bt-bat-two { top: 205px; right: 16px; transform: rotate(22deg) scale(.72); opacity: .35; }
.bt-bat-three { top: 464px; left: 8px; transform: rotate(-25deg) scale(.65); opacity: .3; }
@keyframes bt-haunt-sway { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes bt-haunt-fog { from { transform: translateX(-3%) scale(.96); opacity: .6; } to { transform: translateX(3%) scale(1.08); opacity: 1; } }

/* The same Halloween skin, without squeezing the conversation on phones. */
@media (max-width: 1100px) {
  a.bt-brand { font-size: 31px; gap: 9px; }
  .bt-mark { width: 53px; height: 59px; }
  .bt-brand small { letter-spacing: 1.8px; font-size: 7px; }
  #header #logo ul.top_links li a { padding: 9px 8px; }
  .bt-haunt-hero { padding: 35px 30px; min-height: 365px; }
  h1.bt-haunt-title, .bt-haunt-hero h1 { font-size: 47px; }
  .bt-haunt-art { margin-right: -12px; }
  .bt-spider-one { left: -9px; width: 30px; }
  .bt-spider-two, .bt-bat-two, .bt-bat-three { display: none; }
}
@media (max-width: 850px) {
  .bt-haunt-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; padding: 30px 27px; min-height: 340px; }
  h1.bt-haunt-title, .bt-haunt-hero h1 { font-size: 42px; }
  .bt-haunt-description, .bt-haunt-hero p { font-size: 13px; }
  .bt-haunt-eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .bt-haunt-art { margin: 0 -15px 0 0; }
  .bt-haunt-actions { gap: 15px; margin-top: 23px; }
  .bt-haunt-actions .bt-button { padding: 10px 14px; gap: 10px; }
  .bt-web-left, .bt-web-right { width: 105px; height: 105px; opacity: .16; }
  .bt-spider-one { top: 188px; }
}
@media (max-width: 600px) {
  #logo .wrapper { min-height: 0; gap: 13px; padding-top: 16px; }
  a.bt-brand { font-size: 34px !important; gap: 10px; }
  .bt-mark { width: 53px; height: 58px; }
  .bt-brand small { letter-spacing: 1.65px; font-size: 7px; }
  #header #logo ul.top_links li a { padding: 9px 6px; }
  .bt-haunt-hero { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; margin-top: 16px; padding: 27px 23px 0; gap: 0; border-radius: 15px; }
  h1.bt-haunt-title, .bt-haunt-hero h1 { font-size: clamp(39px, 8.8vw, 49px); margin: 16px 0 14px; }
  .bt-haunt-title span { white-space: normal; }
  .bt-haunt-description, .bt-haunt-hero p { max-width: 100%; font-size: 13px; line-height: 1.8; }
  .bt-haunt-eyebrow { font-size: 8px; letter-spacing: 1.1px; padding: 5px 8px; }
  .bt-haunt-actions { gap: 15px; margin-top: 20px; }
  .bt-haunt-art { height: 215px; margin: 8px -5px -9px; justify-self: center; width: min(100%, 330px); }
  .bt-haunt-art img { height: 100%; max-height: 215px; width: 100%; }
  .bt-topic-strip { padding: 19px 0 23px; }
  .bt-topic-strip a { font-size: 11px; padding: 5px 10px; }
  .bt-section-heading h2 { font-size: 25px; }
  .bt-forum-table .thead { padding: 15px 13px !important; }
  .bt-forum-table .thead > div > strong { font-size: 23px; }
  .forum_status, .forum_status::before { width: 30px; height: 34px; }
  .bt-discussion-table tr.inline_row { border-bottom-color: #48304e; }
  .bt-discussion-table tr.inline_row > td { background: #20142a; }
  .bt-discussion-table .inline_row:hover td { background: #2e1c36; }
  h1.bt-forum-heading { font-size: 30px; }
  .bt-side-card { padding: 22px; }
  .bt-web-left { display: none; }
  .bt-web-right { width: 115px; height: 115px; opacity: .2; }
  .bt-spider-one { top: 68px; left: auto; right: 10px; width: 27px; height: 36px; }
  .bt-hanging-spider::before { bottom: 30px; }
  .bt-bat-one { display: none; }
  #footer { margin-top: 44px; }
  input.textbox, textarea, select { font-size: 16px; }
}
@media (max-width: 400px) {
  a.bt-brand { font-size: 30px !important; }
  .bt-mark { width: 46px; height: 52px; }
  .bt-brand small { font-size: 6.5px; letter-spacing: 1.35px; }
  #header #logo ul.top_links li a { font-size: 11px; gap: 4px; padding: 8px 4px; }
  .bt-haunt-hero { padding: 24px 19px 0; }
  h1.bt-haunt-title, .bt-haunt-hero h1 { font-size: 38px; letter-spacing: .4px; }
  .bt-haunt-eyebrow { font-size: 7px; letter-spacing: .8px; }
  .bt-haunt-actions { gap: 12px; }
  .bt-haunt-actions .bt-button { padding: 10px 12px; font-size: 11px; }
  .bt-haunt-art { height: 195px; }
  .bt-section-heading h2 { font-size: 22px; }
  .bt-section-heading a { font-size: 10px; }
  .bt-spider-one { right: 3px; width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bt-hanging-spider, .bt-haunt-hero::before { animation: none; }
}

/* New posts has its own stylesheet loaded later, so scope this seasonal skin
   to its main region to keep every activity state in the Halloween palette. */
#bt-newposts-main { margin: 0 0 34px; }
#bt-newposts-main .bt-newposts-heading {
  position: relative; overflow: hidden; align-items: center;
  margin-bottom: 20px; padding: 30px 34px; gap: 28px;
  background: radial-gradient(ellipse at 95% 0, #713b343d, transparent 60%),
    linear-gradient(115deg, #2d1938, #21132e);
  border: 1px solid #6d3e4a; border-radius: 16px;
  box-shadow: 0 12px 36px #07030d33;
}
#bt-newposts-main .bt-newposts-heading > div:first-child { min-width: 0; }
#bt-newposts-main .bt-newposts-heading h1 {
  display: flex; align-items: center; gap: 13px;
  color: #ffe4bd; font: 400 44px/1.15 var(--haunt-display); letter-spacing: .6px;
  margin: 0 0 12px;
}
#bt-newposts-main .bt-newposts-heading h1::before {
  content: ""; width: 49px; height: 49px; flex: none;
  background: url("/images/halloween/pumpkin-logo.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 10px #ff8a2833);
}
#bt-newposts-main .bt-newposts-heading p { color: #d4c1dc; font-size: 13px; line-height: 1.8; max-width: 650px; }
#bt-newposts-main .bt-newposts-tools { flex: 0 0 auto; flex-direction: column; align-items: stretch; gap: 9px; padding: 0; }
#bt-newposts-main .bt-newposts-tools a {
  display: inline-flex; justify-content: center; padding: 9px 14px; border-radius: 7px;
  color: #ffcf9a; background: #3b2337; border: 1px solid #75434e;
  font-size: 12px; font-weight: 600; text-align: center;
}
#bt-newposts-main .bt-newposts-tools a:hover { color: #fff2d7; background: #4e2c3d; border-color: #ba704c; }
#bt-newposts-main .bt-newposts-count { color: #c6b0d1; margin: 0 0 14px; font-size: 12px; }
#bt-newposts-main .bt-newposts-list { gap: 14px; margin: 18px 0 24px; }
#bt-newposts-main .bt-newposts-list > li { min-width: 0; }
#bt-newposts-main .bt-newposts-item {
  background: #21152c; color: #fff2d7; border: 1px solid #50324f;
  border-left: 3px solid #a75a35; border-radius: 12px; padding: 23px 25px;
  box-shadow: 0 7px 22px #07030d26;
}
#bt-newposts-main .bt-newposts-item:hover,
#bt-newposts-main .bt-newposts-item:focus-within { background: #281932; border-color: #845044; border-left-color: #ff9b47; }
#bt-newposts-main .bt-newposts-category {
  display: inline-block; max-width: 100%; padding: 4px 9px; border-radius: 5px;
  background: #3b2437; border: 1px solid #65403e; color: #ffc08b;
  font-size: 10px; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere;
}
#bt-newposts-main .bt-newposts-category:hover { color: #ffe4bd; background: #4d2d3c; border-color: #9e6145; }
#bt-newposts-main .bt-newposts-item h2 { margin: 12px 0 9px; font-size: 19px; line-height: 1.5; }
#bt-newposts-main .bt-newposts-item h2 a:link,
#bt-newposts-main .bt-newposts-item h2 a:visited { color: #fff0db; }
#bt-newposts-main .bt-newposts-item h2 a:hover { color: #ffb36d; }
#bt-newposts-main .bt-newposts-excerpt { color: #cbb8d5; font-size: 13px; line-height: 1.8; margin: 0 0 18px; }
#bt-newposts-main .bt-newposts-meta {
  color: #bda7c9; gap: 9px 15px; padding-top: 14px; border-top: 1px solid #48304e;
  font-size: 11px; line-height: 1.7; overflow-wrap: anywhere;
}
#bt-newposts-main .bt-newposts-meta > span { min-width: 0; }
#bt-newposts-main .bt-newposts-meta a { color: #ffba7a; }
#bt-newposts-main .bt-newposts-meta a:hover { color: #ffe1b4; }
#bt-newposts-main .bt-newposts-role { color: #ffd3a2; background: #4b2c3b; border: 1px solid #775044; }
#bt-newposts-main a.bt-newposts-latest {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  color: #ffd09b; background: #382036; border: 1px solid #75434e; border-radius: 6px;
  padding: 7px 11px; font-size: 11px; line-height: 1.7; font-weight: 650;
}
#bt-newposts-main a.bt-newposts-latest:hover { color: #261218; background: #ffab59; border-color: #ffb66e; }
#bt-newposts-main .bt-newposts-pagination .pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
#bt-newposts-main .pagination .pages { color: #bda7c9; margin-right: 6px; }
#bt-newposts-main .pagination a,
#bt-newposts-main .pagination .pagination_current {
  display: inline-flex; align-items: center; justify-content: center; min-width: 35px; min-height: 35px;
  margin: 0; padding: 6px 10px; border: 1px solid #674053; border-radius: 6px;
  color: #e7cde1; background: #291a33;
}
#bt-newposts-main .pagination a:hover { color: #ffd09b; background: #48283a; border-color: #b16b45; }
#bt-newposts-main .pagination .pagination_current { color: #261218; background: #ff8a28; border-color: #ff9b47; }
#bt-newposts-main .bt-newposts-empty { background: #21152c; color: #fff2d7; border: 1px solid #50324f; border-radius: 12px; }
#bt-newposts-main .bt-newposts-empty h2 { color: #ffe4bd; }
#bt-newposts-main .bt-newposts-empty p { color: #cbb8d5; }
@media (max-width: 850px) {
  #bt-newposts-main .bt-newposts-heading { flex-direction: column; align-items: stretch; gap: 20px; padding: 25px; }
  #bt-newposts-main .bt-newposts-tools { flex-direction: row; flex-wrap: wrap; margin: 0; }
}
@media (max-width: 600px) {
  #bt-newposts-main .bt-newposts-heading { display: flex; padding: 23px 19px; border-radius: 13px; }
  #bt-newposts-main .bt-newposts-heading h1 { font-size: 37px; gap: 10px; }
  #bt-newposts-main .bt-newposts-heading h1::before { width: 42px; height: 42px; }
  #bt-newposts-main .bt-newposts-tools { gap: 8px; }
  #bt-newposts-main .bt-newposts-tools a { font-size: 11px; padding: 9px 11px; }
  #bt-newposts-main .bt-newposts-item { padding: 18px 16px; }
  #bt-newposts-main .bt-newposts-item h2 { font-size: 17px; }
  #bt-newposts-main .bt-newposts-meta { gap: 8px 12px; }
  #bt-newposts-main a.bt-newposts-latest { width: auto; flex-basis: 100%; margin: 5px 0 0; padding: 9px 12px; }
  #bt-newposts-main .pagination a,
  #bt-newposts-main .pagination .pagination_current { min-width: 38px; min-height: 38px; }
}

/* Shared moonlight and ember glow let the transparent scene blend into the hero. */
.bt-haunt-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: radial-gradient(ellipse at 81% 29%, #75446345, transparent 49%),
    radial-gradient(ellipse at 76% 81%, #e07b2920, transparent 43%),
    linear-gradient(115deg, #25142f 0%, #24132f 52%, #302039 100%);
}
.bt-haunt-art {
  align-self: end; margin: -18px -64px -42px -22px;
  isolation: isolate;
}
.bt-haunt-art::before {
  content: ""; position: absolute; z-index: -1;
  width: 65%; height: 52%; left: 29%; top: 38%;
  background: radial-gradient(ellipse, #ff9a3322, transparent 70%);
  pointer-events: none;
}
.bt-haunt-art img {
  width: 100%; max-width: 650px; height: auto; max-height: none;
  object-fit: contain; filter: none;
}
@media (max-width: 1100px) {
  .bt-haunt-art { margin: -12px -42px -35px -18px; }
}
@media (max-width: 850px) {
  .bt-haunt-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .bt-haunt-art { align-self: center; margin: 0 -40px -30px -14px; }
}
@media (max-width: 600px) {
  .bt-haunt-hero {
    grid-template-columns: minmax(0, 1fr);
    background: radial-gradient(ellipse at 65% 83%, #75446345, transparent 50%),
      radial-gradient(ellipse at 58% 94%, #e07b2920, transparent 40%),
      linear-gradient(155deg, #25142f, #302039);
  }
  .bt-haunt-art { align-self: auto; width: calc(100% + 46px); max-width: 360px; height: auto; margin: 2px -23px -21px; }
  .bt-haunt-art img { width: 100%; height: auto; max-height: none; }
}
@media (max-width: 400px) {
  .bt-haunt-art { width: calc(100% + 38px); margin: 2px -19px -18px; }
}
