/* The commons: midnight skies, paper-white discussions and the supplied transparent icon set. */
.forum-page { background: #152238; }
.forum-page main { background: radial-gradient(ellipse at 5% 25%, #30436755, transparent 45%); }
.forum-page .page-head::after { display: none; }
.forum-page .play-dock { display: none; }
.forum-hero { overflow: hidden; position: relative; border-bottom: 1px solid #f4c76b40; background: linear-gradient(90deg, #0b1629ed 0%, #0b1629cc 30%, #0b162940 62%, #0b16290a), linear-gradient(0deg, #152238a6, transparent 40%), url('../img/forum/hero.png') center 45% / cover; }
.forum-hero-inner { display: flex; align-items: center; min-height: clamp(26rem, 30vw, 32rem); padding-block: 3rem; }
.forum-hero-copy { max-width: 38rem; }
.forum-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -.025em; }
.forum-hero .lede { font-size: 1.15rem; color: #d4e0f0; line-height: 1.65; margin-bottom: 1.4rem; }
.forum-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.forum-hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.7rem 0 0; }
.forum-hero-stats > div { display: flex; align-items: baseline; gap: .45rem; }
.forum-hero-stats dd { order: 0; margin: 0; color: var(--gold); font: 800 1.2rem var(--body); }
.forum-hero-stats dt { order: 1; color: #bccbe0; font-size: .82rem; }
.forum-page .subnav { background: #111d31; border-block: 1px solid #ffffff10; margin-top: 0; margin-bottom: 2.5rem; }
.forum-page .subnav a { min-height: 3.4rem; display: inline-flex; align-items: center; }
.forum-page .forum-layout { grid-template-columns: minmax(0, 1fr) 16rem; gap: 1.75rem; }
#forum-directory, .forum-section h2 { scroll-margin-top: 1rem; }
.forum-directory-head { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-bottom: 1rem; }
.forum-directory-head h2 { font-size: 1.8rem; margin: 0; }
.forum-directory-head .eyebrow { margin-bottom: .35rem; }
.forum-find { position: relative; max-width: 100%; }
.forum-find input { width: 15rem; max-width: 100%; padding: .7rem 2.4rem .7rem .85rem; border: 1px solid #7187a760; border-radius: 9px; background: #101d30; color: var(--cloud); font: 600 .88rem var(--body); min-height: 44px; }
.forum-find input::placeholder { color: #abbad0; }
.forum-find > span { position: absolute; right: .85rem; top: .35rem; font-size: 1.4rem; pointer-events: none; color: var(--gold); }
.forum-jumps { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.forum-jumps a { color: #c0cede; font: 700 .78rem var(--body); text-decoration: none; padding: .45rem .7rem; border: 1px solid #ffffff18; border-radius: 6px; }
.forum-jumps a:hover { background: #ffffff0c; color: var(--cloud); border-color: #f4c76b70; }
.forum-page .forum-section { background: #edf3fa; border: 1px solid #51627f; border-radius: 14px; margin-bottom: 1.75rem; box-shadow: 0 10px 28px #07101e20; }
.forum-page .forum-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.35rem; background: #23334e linear-gradient(110deg, #304363, #23334e); border-top: 2px solid #f4c76b99; border-bottom: 1px solid #142139; }
.forum-page .forum-section-head h2 { font-size: 1.25rem; margin: 0; }
.forum-page .forum-section-head p { font-size: .8rem; color: #c1cee1; margin-top: .3rem; }
.forum-section-count { font: 700 .7rem var(--body); color: #cfdaea; white-space: nowrap; border: 1px solid #ffffff24; padding: .3rem .55rem; border-radius: 5px; }
.forum-page .forum-node { grid-template-columns: 68px minmax(0, 1fr) 4.5rem minmax(7rem, .65fr); gap: 1rem; padding: 1.25rem; border-color: #2136531c; background: transparent; }
.forum-page .forum-node:hover { background: #ffffffb0; }
.forum-illustration { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 0; }
.forum-illustration img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.forum-page .forum-illustration-stock img { border-radius: 12px; }
.node-icon, .node-icon .forum-illustration { width: 68px; height: 68px; }
.forum-page .node-icon { padding: 0; align-self: center; }
.forum-page .node-icon img { width: 68px; height: 68px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 4px 6px #20314b12); }
.forum-page .node-main h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-family: var(--body); font-size: 1rem; font-weight: 800; }
.forum-page .node-main h3 a { color: #203552; }
.forum-page .node-main h3 a:hover { color: #245e9c; }
.forum-page .node-main p { color: #53667e; font-size: .82rem; line-height: 1.5; margin-top: .3rem; }
.forum-page .node-stats { flex-direction: column; gap: .35rem; color: #607088; }
.forum-page .node-stats > div { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.forum-page .node-stats dt { font-size: .7rem; }
.forum-page .node-stats dd { color: #344963; font-size: .78rem; }
.forum-page .node-last { font-size: .78rem; }
.forum-page .node-last a { color: #2d5c91; }
.forum-page .node-last .fine { color: #64758a; font-size: .7rem; }
.forum-page .node-last .avatar { border-color: #c4d1e2; background: #d7e3f1; }
.forum-page .node-empty { white-space: normal; color: #53647B !important; font-size: .78rem; font-weight: 600; }
.forum-private-label { color: #645086; background: #e4dcf3; border: 1px solid #beaedb; border-radius: 4px; padding: .16rem .35rem; font: 800 .58rem var(--body); letter-spacing: .04em; text-transform: uppercase; }
.forum-page .node-private { font: 700 .7rem var(--body); color: #726387; }
.node-private-note { font: italic .9rem var(--display); color: #6C5D7D; }
.forum-page .panel { background: #1e2e48; border-color: #9ab1d22a; border-radius: 14px; padding: 1.3rem; }
.forum-page .forum-aside .panel h2 { font: 800 1.15rem var(--display); }
.forum-page .forum-welcome { position: relative; padding-top: 1rem; background: radial-gradient(ellipse at top right, #6e54952e, transparent), #21314d; }
.forum-welcome-icon { display: block; margin: 0 0 .8rem; object-fit: contain; }
.forum-page .forum-welcome h2 { font: 800 1.75rem/1.15 var(--display) !important; }
.forum-page .forum-welcome p:not(.eyebrow) { font-size: .88rem; color: #bac9dd; }
.forum-page .forum-welcome .eyebrow { font-size: .64rem; }
.forum-page .forum-aside .fine { font-size: .82rem; }
.forum-page .facts-plain { font-size: .85rem; }
.forum-page .latest-list { font-size: .85rem; }
.forum-page .forum-category-head { padding-block: 2.5rem; margin-bottom: 0; background: radial-gradient(ellipse at 0 50%, #35547770, transparent 65%); }
.forum-category-identity { display: flex; align-items: center; gap: 1.4rem; min-width: 0; flex: 1 1 30rem; }
.forum-category-identity > .forum-illustration { width: 100px; height: 100px; }
.forum-category-identity > div { min-width: 0; }
.forum-category-identity h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.forum-category-identity .lede { font-size: 1rem; color: #bac9dd; }
.forum-category-identity .crumbs { font-size: .8rem; }
.discussion-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: 1rem; }
.discussion-heading h2 { font-size: 1.7rem; margin: 0; }
.discussion-heading .fine { font-size: .8rem; }
.forum-page .thread-list { border-color: #7187a740; border-radius: 14px; }
.forum-page .thread-row { grid-template-columns: 44px minmax(0, 1fr) 6.5rem 10rem; padding: 1.3rem; background: #21314b; gap: 1.15rem; }
.forum-page .thread-row:hover { background: #293b58; }
.forum-page .thread-row.is-pinned { background: linear-gradient(100deg, #f4c76b12, transparent 70%), #26354d; border-left: 3px solid var(--gold); padding-left: calc(1.3rem - 3px); }
.forum-page .thread-title { font-size: 1rem; line-height: 1.5; color: #edf4ff; }
.forum-page .thread-meta { display: block; margin-top: .35rem; font-size: .76rem; color: #aabbd2; }
.forum-page .thread-counts { font-size: .7rem; }
.forum-page .thread-counts dd { font-size: .9rem; }
.forum-page .thread-last { font-size: .78rem; }
.forum-page .thread-last .fine { font-size: .73rem; }
.forum-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 3rem 1.5rem; border: 1px dashed #9ab1d249; border-radius: 16px; background: #21314b80; }
.forum-empty .forum-illustration { width: 112px; height: 112px; margin-bottom: 1.5rem; }
.forum-empty h2 { font-size: 1.8rem; }
.forum-empty p { max-width: 34rem; color: #bac9dd; font-size: .95rem; }
.forum-page .thread-layout { max-width: var(--wrap); }
.forum-page .thread-heading { font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 52rem; overflow-wrap: anywhere; }
.forum-page .posts { gap: 1.5rem; }
.forum-page .post { grid-template-columns: 12rem minmax(0, 1fr); border: 1px solid #667b995e; border-radius: 14px; background: #f3f6fb; box-shadow: 0 10px 25px #07101e20; }
.forum-page .post-author { background: radial-gradient(ellipse at 50% 0, #334869, #1e2e47 70%); border-right: 1px solid #17243b; border-top: 3px solid var(--rank, #719bbf); padding: 1rem; }
.forum-page .post-author .framed { width: 144px; }
.forum-page .post-author .rank-tag { max-width: 9rem; margin-block: .25rem .5rem; }
.forum-page .post-body { color: #2c3c53; padding: 1.4rem 1.6rem; }
.forum-page .post-meta { color: #66748a; font-size: .76rem; border-color: #21365326; padding-bottom: .8rem; margin-bottom: 1.3rem; }
.forum-page .post-meta a { color: #66748a; }
.forum-page .post-body .prose { color: #2c3c53; font-size: 1rem; line-height: 1.85; min-height: 5rem; }
.forum-page .post-body .fine { color: #66748a; }
.forum-page .post-body .prose a, .forum-page .post-actions a { color: #2b609b; }
.forum-page .post-body .prose blockquote { border-left-color: #c6a158; background: #e6edf6; color: #50617a; }
.forum-page .post-body .prose pre { background: #e2eaf4; color: #243752; }
.forum-page .post-signature { border-color: #21365330; color: #68778b; font-size: .8rem; margin-top: 1.75rem; }
.forum-page .post-actions { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid #2136531c; font-size: .8rem; }
.forum-page .post-actions .linkish, .forum-page .report summary { color: #526985; }
.forum-page .like { color: #62738b; background: #e6ecf5; border-color: #ccd7e5; }
.forum-page .like.is-liked { color: #a43859; background: #f8e1e8; border-color: #e9a8ba; }
.forum-page .reply-box { border: 1px solid #9ab1d230; background: #1e2e48; border-radius: 14px; padding: 1.6rem; }
.forum-page .reply-box h2 { font-size: 1.8rem; }
.forum-page .compose { width: 100%; }
.forum-page .compose-layout > .compose { background: #1e2e48; padding: 1.5rem; border: 1px solid #9ab1d230; border-radius: 14px; }
.forum-page .compose textarea { border-color: #9ab1d25c; }
.forum-page .compose .btn-primary { margin-top: .75rem; }
.forum-page [hidden] { display: none !important; }

@media (max-width: 1120px) and (min-width: 901px) {
  .forum-page .forum-layout { grid-template-columns: minmax(0, 1fr) 14rem; gap: 1.25rem; }
  .forum-page .forum-node { grid-template-columns: 64px minmax(0, 1fr) 4.5rem; }
  .forum-page .node-last { grid-column: 2 / -1; }
  .forum-page .node-last:has(.node-empty), .forum-page .node-last:has(.node-private-note) { display: none; }
}
@media (max-width: 900px) {
  .forum-page .forum-layout { grid-template-columns: minmax(0, 1fr); }
  .forum-page .forum-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .forum-aside .panel { margin: 0; }
  .forum-page .thread-row { grid-template-columns: 40px minmax(0, 1fr) 5.5rem; gap: .8rem; }
  .forum-page .thread-last { display: none; }
  .forum-page .post { grid-template-columns: minmax(0, 1fr); }
  .forum-page .post-author { flex-direction: row; text-align: left; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; padding: .7rem 1rem; border-right: 0; }
  .forum-page .post-author .framed { width: 72px; margin: -.4rem 0; }
  .forum-page .post-author .rank-tag { width: auto; margin: 0; }
  .forum-page .post-author .post-stats { display: none; }
}
@media (max-width: 600px) {
  .forum-hero { background-image: linear-gradient(90deg, #0b1629e6, #0b16299e), linear-gradient(0deg, #152238a6, transparent 40%), url('../img/forum/hero.png'); background-position: center, center, 68% center; }
  .forum-hero-inner { min-height: 26rem; padding-block: 2rem; }
  .forum-hero h1 { font-size: 2.7rem; }
  .forum-hero-stats { gap: 1rem; }
  .forum-hero-stats > div { gap: .3rem; }
  .forum-hero-stats dt { font-size: .7rem; }
  .forum-page .subnav { margin-bottom: 1.75rem; }
  .forum-find, .forum-find input { width: 100%; }
  .forum-directory-head { gap: 1.25rem; }
  .forum-page .forum-section-head { padding: 1rem; }
  .forum-section-count { display: none; }
  .forum-page .forum-node { grid-template-columns: 56px minmax(0, 1fr); gap: .5rem .85rem; padding: 1.1rem .85rem; }
  .node-icon, .node-icon .forum-illustration, .forum-page .node-icon img { width: 56px; height: 56px; }
  .forum-page .node-icon { align-self: start; }
  .forum-page .node-main h3 { font-size: .95rem; }
  .forum-page .node-main p { font-size: .78rem; }
  .forum-page .node-stats { grid-column: 2; flex-direction: row; gap: 1rem; }
  .forum-page .node-last { grid-column: 2; }
  .forum-page .node-last:has(.node-empty), .forum-page .node-last:has(.node-private-note) { display: none; }
  .forum-page .forum-aside { grid-template-columns: minmax(0, 1fr); }
  .forum-category-identity { gap: .85rem; }
  .forum-category-identity > .forum-illustration { width: 72px; height: 72px; }
  .forum-category-identity h1 { font-size: 1.8rem; }
  .forum-category-identity .lede { font-size: .9rem; }
  .forum-page .thread-row { grid-template-columns: 36px minmax(0, 1fr); padding: 1rem; }
  .forum-page .thread-counts { grid-column: 2; gap: 1rem; }
  .forum-page .thread-counts > div { display: flex; gap: .4rem; align-items: baseline; }
  .forum-page .post-body { padding: 1rem; }
  .forum-page .post-title { font-size: .75rem; }
  .forum-page .post-mc { font-size: .75rem; }
  .forum-page .post-meta { flex-wrap: wrap; gap: .5rem; }
  .forum-page .report form { min-width: 0; width: 100%; }
  .forum-page .reply-box { padding: 1.1rem; }
}

/* Posts from members you've blocked stay folded until opened. */
.post-blocked > summary { cursor: pointer; color: #95a8c2; font-style: italic; }
.post-blocked[open] > summary { margin-bottom: 0.75rem; }
