/* Home and community: warm metal, deep slate, and light from the portal. */
.header-inner { gap: 40px; min-height: 94px; }
.brand-wordmark { width: 218px; }
.brand-portal { width: 46px; }
.primary-nav { gap: 27px; }
.landing-hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; min-height: 555px; position: relative; }
.hero-copy { position: relative; z-index: 2; padding: 48px 0; }
.hero-copy .eyebrow { font-size: 10px; letter-spacing: 1.7px; }
.hero-copy h1 { font-size: clamp(40px, 4.1vw, 59px); line-height: 1.2; letter-spacing: -1.4px; margin-bottom: 25px; }
.hero-copy h1 span { color: var(--gold-light); }
.hero-copy > p { max-width: 490px; line-height: 1.9; font-size: 16px; margin-bottom: 29px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .button { min-height: 49px; padding-inline: 22px; }
.hero-footnote { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #8e9eac; margin-top: 24px; }
.hero-footnote svg { color: #bba16c; }
.hero-art { position: relative; min-width: 0; display: grid; place-items: center; height: 510px; isolation: isolate; }
.hero-art img { width: 450px; position: relative; z-index: 1; filter: drop-shadow(0 12px 18px #0008) drop-shadow(0 0 45px #22b5a728); animation: portal-drift 9s ease-in-out infinite; }
.hero-glow { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(ellipse, #3be2b524, #2ce2bb08 45%, transparent 70%); }
.orbit { position: absolute; width: 430px; height: 430px; border: 1px solid #ad935226; border-radius: 50%; }
.orbit::before, .orbit::after { content: ''; width: 5px; height: 5px; background: #b4a16c; position: absolute; transform: rotate(45deg); top: 50%; left: -3px; box-shadow: 0 0 12px #e4c37b55; }
.orbit::after { left: auto; right: -3px; }
.orbit-inner { width: 370px; height: 370px; border-style: dashed; border-color: #779c9e1c; transform: rotate(40deg); }
.portal-coordinate { position: absolute; top: 22px; font-size: 8px; letter-spacing: 2.8px; color: #82968b; }
.portal-caption { display: flex; gap: 10px; align-items: center; position: absolute; bottom: 20px; font-size: 9px; letter-spacing: 3px; color: #b7c7bc; }
.landing-stats { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; border-top: 1px solid #65563c; border-bottom: 1px solid #34403f; padding: 22px 0; background: linear-gradient(90deg, #1f2a311f, #203b3325, #1f2a311f); }
.landing-stats > div { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 0 30px; border-right: 1px solid #34413f; }
.landing-stats > div > svg { grid-row: span 2; color: var(--gold); }
.landing-stats > div > strong { font-size: 25px; font-weight: 500; line-height: 1.2; }
.landing-stats > div > span { color: #98a9b3; font-size: 11px; margin-top: 5px; }
.landing-stats > a { display: flex; align-items: center; justify-content: center; gap: 15px; font-size: 11px; color: var(--muted); line-height: 1.8; }
.landing-stats > a > svg:first-child { color: var(--teal); }
.landing-stats > a strong { font-weight: 500; color: var(--text); }
.landing-section { padding: 65px 0 52px; }
.landing-section .eyebrow, .journey-section .eyebrow { font-size: 9px; margin-bottom: 10px; }
.landing-section h2, .journey-section h2 { font-size: 26px; }
.landing-section .section-heading { margin-bottom: 28px; align-items: end; }
.world-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.world-card { border: 1px solid #394640; border-radius: 5px; overflow: hidden; background: linear-gradient(135deg, #19252c, #121c24); transition: border-color .2s, transform .2s; }
.world-card:hover { border-color: #897144; transform: translateY(-3px); }
.world-art { display: grid; place-items: center; height: 160px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 115%, var(--accent-dark), #10191f 85%); border-bottom: 1px solid #46534b; }
.world-art::before, .world-art::after { content: ''; position: absolute; width: 235px; height: 235px; border: 1px solid var(--accent); transform: rotate(45deg); opacity: .13; }
.world-art::after { width: 185px; height: 185px; }
.world-art .server-sigil { width: 88px; height: 101px; background: none; border: 0; box-shadow: none; }
.world-art .server-sigil span { font-size: 70px; }
.world-number { position: absolute; top: 15px; left: 19px; font: 16px var(--heading); color: #bdb591; }
.world-type { position: absolute; bottom: 13px; right: 15px; background: #0b121ba8; border: 1px solid #81908445; padding: 2px 9px; border-radius: 3px; font-size: 10px; color: #cccfbd; }
.world-copy { padding: 22px; }
.world-title { display: flex; gap: 12px; align-items: center; margin-bottom: 11px; }
.world-title h3 { font-size: 23px; overflow-wrap: anywhere; }
.world-copy > p { font-size: 13px; line-height: 1.8; min-height: 47px; }
.world-meta { display: flex; justify-content: space-between; gap: 10px; color: #a3b1ba; font-size: 11px; padding-bottom: 17px; }
.world-meta > span:last-child { color: var(--teal); }
.world-link { border-top: 1px solid #38433f; padding-top: 15px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #dfc78c; }
.landing-demo { margin-top: 13px; font-size: 10px; }
.play-style { display: flex; align-items: center; gap: 12px; margin-top: 25px; flex-wrap: wrap; }
.play-style > span { font-size: 11px; color: var(--muted); margin-right: 8px; }
.play-style a { display: flex; gap: 25px; align-items: center; border: 1px solid #34443f; padding: 6px 13px; font-size: 11px; border-radius: 3px; color: #c1c9c6; }
.play-style a:hover { border-color: var(--gold-border); background: #202d32; }
.wide-empty { grid-column: 1 / -1; }
.community-feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 75px; padding: 48px; border: 1px solid #4d5142; border-radius: 5px; position: relative; background: radial-gradient(ellipse at 5% 90%, #2e514233, transparent 65%), #131f25; }
.community-feature-copy .eyebrow { font-size: 9px; }
.community-feature-copy h2 { font-size: 31px; line-height: 1.45; margin-bottom: 19px; }
.community-feature-copy h2 span { color: var(--gold-light); }
.community-feature-copy p { font-size: 14px; line-height: 1.9; }
.community-signature { display: flex; align-items: center; gap: 12px; font-size: 10px; color: #95aaa4; margin-top: 25px; }
.community-signature svg { color: var(--teal); }
.home-discussions { min-width: 0; align-self: center; }
.home-discussions .section-heading { border-bottom: 1px solid #3c4b44; padding-bottom: 18px; margin-bottom: 0; }
.home-discussions h3 { font: 600 15px var(--font); }
.subtle-label { font-size: 9px; letter-spacing: 1.5px; color: #97a79f; }
.home-topic { display: flex; align-items: center; gap: 14px; padding: 19px 0; border-bottom: 1px solid #33443e; }
.home-topic > span:nth-child(2) { min-width: 0; }
.home-topic small { display: block; font-size: 10px; color: var(--teal); }
.home-topic strong { display: block; font-size: 14px; margin: 3px 0; overflow-wrap: anywhere; }
.home-topic > span > span { display: block; font-size: 10px; color: var(--muted); }
.home-topic > svg { margin-left: auto; color: var(--gold); }
.discussion-bottom { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding-top: 20px; font-size: 9px; color: #a2b4af; }
.conversation-empty { padding: 29px 10px; text-align: center; }
.conversation-empty > svg { color: var(--teal); margin-bottom: 16px; }
.conversation-empty h3 { font-size: 17px; margin-bottom: 12px; }
.conversation-empty p { font-size: 13px; max-width: 340px; margin: 0 auto 19px; }
.conversation-empty .text-link { font-size: 12px; }
.journey-section { padding: 60px 0; }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; margin-top: 32px; }
.journey-grid > a { position: relative; border-top: 1px solid #62543a; padding: 25px 15px 0 0; }
.journey-grid > a > svg { color: var(--gold); margin-bottom: 20px; }
.journey-number { float: right; font: 30px var(--heading); color: #71827866; }
.journey-grid h3 { font-size: 20px; margin-bottom: 12px; }
.journey-grid p { font-size: 13px; line-height: 1.85; }
.journey-grid .text-link { font-size: 12px; }
.builder-banner { display: flex; align-items: center; gap: 28px; padding: 32px; border: 1px solid #7d6740; margin-bottom: 65px; background: linear-gradient(110deg, #39332177, #1b252a); border-radius: 4px; }
.builder-icon { color: var(--gold); }
.builder-banner .eyebrow { color: #d1b77b; font-size: 9px; margin-bottom: 9px; }
.builder-banner h2 { font-size: 22px; margin-bottom: 10px; }
.builder-banner p { font-size: 12px; margin: 0; }
.builder-banner > .button { margin-left: auto; flex-shrink: 0; }

/* Forums */
.forum-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 50px 0 35px; }
.forum-heading h1 { font-size: 43px; margin-bottom: 16px; }
.forum-heading .eyebrow { font-size: 10px; }
.forum-heading p { font-size: 14px; max-width: 700px; margin-bottom: 0; }
.forum-heading > .button { flex-shrink: 0; }
.forum-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 32px; padding-bottom: 65px; align-items: start; }
.forum-sidebar { display: grid; gap: 24px; }
.forum-categories { border: 1px solid #3b4843; padding: 18px 10px 10px; border-radius: 4px; background: #142027; }
.forum-categories .subtle-label { margin: 0 12px 17px; }
.forum-categories > a { display: flex; gap: 12px; align-items: center; padding: 13px 11px; font-size: 12px; color: #b7c2c4; border: 1px solid transparent; border-radius: 3px; }
.forum-categories > a > svg { color: #899e98; width: 18px; }
.forum-categories > a > small { margin-left: auto; font-size: 10px; color: #9dadad; }
.forum-categories > a.selected { background: #243b34; border-color: #456051; color: #dbe6ca; }
.forum-categories > a.selected > svg { color: var(--gold); }
.forum-categories > a:hover { background: #20352f; }
.forum-welcome { padding: 5px 15px; }
.forum-welcome > svg { color: var(--gold); margin-bottom: 15px; }
.forum-welcome h3 { font-size: 17px; margin-bottom: 12px; }
.forum-welcome p { font-size: 12px; line-height: 1.9; }
.forum-welcome .text-link { font-size: 11px; }
.forum-totals { display: flex; gap: 25px; padding: 18px 15px; border-top: 1px solid #36483e; font-size: 11px; color: var(--muted); }
.forum-totals strong { color: var(--text); margin-right: 4px; }
.forum-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 34px; }
.forum-category-grid > a { display: block; position: relative; padding: 23px; border: 1px solid #3d4b42; border-radius: 4px; background: linear-gradient(135deg, #1c2b30, #142027); }
.forum-category-grid > a:hover { border-color: #8e7951; background: #1d3033; }
.category-symbol { display: flex; color: var(--gold); margin-bottom: 17px; }
.forum-category-grid h2 { font-size: 18px; margin-bottom: 10px; }
.forum-category-grid p { font-size: 12px; line-height: 1.85; margin-bottom: 16px; }
.forum-category-grid .text-link { font-size: 11px; display: flex; justify-content: space-between; }
.forum-main .section-heading h2 { font-size: 22px; }
.topic-row { display: flex; align-items: center; gap: 18px; padding: 22px 20px; border: 1px solid #35433e; border-bottom: 0; background: #142026; }
.topic-row:first-child { border-radius: 4px 4px 0 0; }
.topic-row:last-child { border-bottom: 1px solid #35433e; border-radius: 0 0 4px 4px; }
.topic-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; color: #f0d594; background: linear-gradient(140deg, #3a4840, #24332f); border: 1px solid #827145; border-radius: 9px; font: 20px var(--heading); }
.topic-info { min-width: 0; }
.topic-info h3 { font: 600 15px/1.6 var(--font); margin-block: 4px; overflow-wrap: anywhere; }
.topic-info p { font-size: 10px; margin-bottom: 0; overflow-wrap: anywhere; }
.topic-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 10px; color: var(--teal); }
.topic-labels > span { display: inline-flex; gap: 5px; align-items: center; color: #d9c084; }
.topic-activity { display: grid; gap: 7px; text-align: right; margin-left: auto; flex-shrink: 0; font-size: 11px; color: #becbc5; }
.topic-activity time { font-size: 10px; color: var(--muted); }
.forum-empty { padding: 44px 30px; background: #132025; border-color: #52604b; }
.forum-empty p { max-width: 400px; margin-inline: auto; }
.forum-empty h3 { font-size: 22px; }
.forum-notice { display: flex; gap: 12px; padding: 17px 20px; background: #27372e; border: 1px solid #536446; border-radius: 4px; font-size: 12px; color: #d4d4b9; margin-bottom: 25px; }
.topic-composer { min-height: 270px; }
.composer-actions { display: flex; gap: 22px; align-items: center; margin-top: 25px; }
.forum-breadcrumbs { display: flex; gap: 13px; flex-wrap: wrap; font-size: 12px; color: var(--teal); padding: 30px 0; }
.forum-breadcrumbs > span { color: #80938a; }
.thread-heading { padding: 0 0 30px; }
.thread-heading h1 { font-size: clamp(26px, 3.5vw, 40px); margin: 13px 0 15px; overflow-wrap: anywhere; }
.thread-heading p { font-size: 12px; margin: 0; }
.forum-post { display: grid; grid-template-columns: 155px minmax(0, 1fr); border: 1px solid #465045; background: #142127; border-radius: 4px; margin-bottom: 18px; overflow: hidden; scroll-margin-top: 20px; }
.post-author { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 25px 15px; background: #19292b; border-right: 1px solid #35463e; text-align: center; }
.post-author .topic-avatar { width: 50px; height: 50px; font-size: 25px; }
.post-author strong { font-size: 12px; overflow-wrap: anywhere; max-width: 100%; }
.author-role { color: var(--gold); font-size: 10px; }
.post-author small { font-size: 9px; color: var(--muted); }
.post-content { padding: 24px; min-width: 0; }
.post-meta { display: flex; justify-content: space-between; gap: 15px; font-size: 9px; color: #9faeac; border-bottom: 1px solid #33463e; padding-bottom: 15px; margin-bottom: 19px; }
.post-meta > span { letter-spacing: 1px; color: #d1bd8d; }
.post-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.9; color: #cbd3cf; }
.replies-heading { display: flex; gap: 12px; align-items: center; margin: 30px 0 20px; }
.replies-heading h2 { font-size: 21px; }
.replies-heading > span { font-size: 12px; }
.no-replies { display: flex; gap: 13px; align-items: center; border: 1px dashed #425347; color: #a9bdb2; padding: 24px; font-size: 13px; }
.reply-composer { margin-top: 30px; }
.reply-composer h2 { font-size: 21px; margin-bottom: 12px; }
.reply-composer > p { margin-bottom: 23px; font-size: 13px; }
.reply-composer > p:last-child { margin-bottom: 0; }
.remove-control { margin-top: 22px; font-size: 12px; color: #d6ac98; }
.remove-control summary { cursor: pointer; }
.remove-control p { font-size: 12px; margin-block: 15px; }
.remove-control button { font-size: 12px; }

@media (max-width: 1150px) {
    .header-inner { gap: 25px; }
    .primary-nav { gap: 23px; }
    .brand-wordmark { width: 190px; }
    .brand-portal { width: 40px; }
    .hero-art img { width: 390px; }
    .orbit-outer { width: 365px; height: 365px; }
    .orbit-inner { width: 310px; height: 310px; }
    .hero-copy h1 { font-size: 46px; }
    .hero-copy .eyebrow { font-size: 8px; }
    .community-feature { gap: 40px; padding: 35px; }
    .forum-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 23px; }
    .world-copy { padding: 18px; }
    .world-meta { flex-wrap: wrap; gap: 5px; }
}
@media (max-width: 950px) {
    .header-inner { gap: 0 20px; }
    .primary-nav { gap: 32px; }
    .landing-hero { min-height: 490px; }
    .hero-copy h1 { font-size: 39px; }
    .hero-art { height: 430px; }
    .hero-art img { width: 325px; }
    .orbit-outer { width: 290px; height: 290px; }
    .orbit-inner { width: 250px; height: 250px; }
    .hero-actions .button { padding-inline: 16px; font-size: 12px; }
    .hero-copy .eyebrow { max-width: 300px; }
    .hero-copy > p { font-size: 14px; }
    .portal-coordinate { font-size: 7px; letter-spacing: 2px; top: 40px; }
    .portal-caption { font-size: 8px; bottom: 35px; }
    .landing-stats > div { padding: 0 15px; column-gap: 10px; }
    .landing-stats > a { gap: 10px; }
    .landing-stats > a > svg:last-child { display: none; }
    .world-grid { gap: 14px; }
    .world-title { flex-wrap: wrap; gap: 8px; }
    .world-title h3 { font-size: 21px; }
    .world-copy > p { min-height: 70px; }
    .community-feature { gap: 30px; padding: 30px; }
    .community-feature-copy h2 { font-size: 25px; }
    .discussion-bottom { flex-wrap: wrap; justify-content: start; }
    .builder-banner { flex-wrap: wrap; gap: 20px; }
    .builder-banner h2 { font-size: 20px; }
    .builder-banner > .button { margin-left: 60px; }
    .forum-layout { grid-template-columns: 1fr; }
    .forum-sidebar { gap: 0; }
    .forum-categories { display: flex; flex-wrap: wrap; padding: 10px; gap: 5px; }
    .forum-categories .subtle-label, .forum-welcome, .forum-totals { display: none; }
    .forum-categories > a { padding: 9px 12px; }
    .forum-categories > a > small { margin-left: 6px; }
    .thread-layout > .sidebar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .landing-hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-copy { padding: 44px 0 10px; }
    .hero-copy h1 { font-size: clamp(35px, 7vw, 47px); }
    .hero-copy .eyebrow { max-width: none; letter-spacing: 1.1px; font-size: 8px; }
    .hero-copy > p { max-width: 500px; }
    .hero-art { height: 330px; margin-top: 0; overflow: hidden; }
    .hero-art img { width: 315px; }
    .orbit-outer { width: 280px; height: 280px; }
    .orbit-inner { width: 240px; height: 240px; }
    .portal-coordinate { display: none; }
    .portal-caption { bottom: 5px; }
    .landing-stats { grid-template-columns: 1fr 1fr; row-gap: 22px; margin-top: 20px; }
    .landing-stats > div:nth-child(2) { border-right: 0; }
    .landing-stats > a { justify-content: start; padding-left: 15px; }
    .landing-stats > div > strong { font-size: 23px; }
    .landing-stats > div > span { font-size: 10px; }
    .landing-section { padding: 42px 0; }
    .landing-section .section-heading { flex-wrap: wrap; gap: 15px; }
    .landing-section h2, .journey-section h2 { font-size: 24px; }
    .world-grid { grid-template-columns: 1fr; gap: 20px; }
    .world-art { height: 155px; }
    .world-copy { padding: 22px; }
    .world-copy > p { min-height: 0; }
    .world-title h3 { font-size: 25px; }
    .play-style { gap: 9px; }
    .play-style > span { flex-basis: 100%; margin-bottom: 4px; }
    .play-style a { gap: 15px; }
    .community-feature { grid-template-columns: 1fr; padding: 28px 23px; gap: 34px; }
    .community-feature-copy h2 { font-size: 29px; }
    .journey-section { padding-block: 42px; }
    .journey-grid { grid-template-columns: 1fr; gap: 28px; }
    .journey-grid > a { padding-top: 22px; }
    .journey-grid p { max-width: 430px; }
    .builder-banner { padding: 25px; margin-bottom: 40px; }
    .builder-icon { display: none; }
    .builder-banner > .button { margin-left: 0; }
    .forum-heading { align-items: start; flex-direction: column; padding: 35px 0 25px; gap: 23px; }
    .forum-heading h1 { font-size: 35px; }
    .forum-heading p { font-size: 13px; }
    .forum-category-grid { gap: 12px; }
    .forum-category-grid > a { padding: 18px; }
    .forum-category-grid h2 { font-size: 17px; }
    .forum-category-grid p { font-size: 11px; }
    .forum-categories > a { font-size: 11px; padding: 8px; gap: 7px; }
    .forum-categories > a > svg { width: 16px; }
    .forum-categories > a > small { display: none; }
    .topic-row { padding: 18px 13px; gap: 12px; align-items: start; flex-wrap: wrap; }
    .topic-info { flex: 1; }
    .topic-activity { width: calc(100% - 52px); margin-left: 52px; display: flex; gap: 12px; text-align: left; }
    .forum-post { grid-template-columns: 1fr; }
    .post-author { flex-direction: row; flex-wrap: wrap; text-align: left; padding: 14px 18px; border-right: 0; border-bottom: 1px solid #35463e; }
    .post-author .topic-avatar { width: 33px; height: 33px; font-size: 18px; }
    .post-author strong { max-width: calc(100% - 50px); }
    .post-author small { display: none; }
    .post-content { padding: 20px; }
    .post-meta { flex-wrap: wrap; gap: 8px; }
    .thread-layout > .sidebar { grid-template-columns: 1fr; }
    .no-replies { align-items: start; }
}
@media (max-width: 380px) {
    .forum-category-grid { grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: 32px; }
    .hero-copy .eyebrow { font-size: 7px; }
    .hero-actions .button { padding-inline: 11px; }
    .discussion-bottom > span { display: none; }
}
