/* BITNFO 3.1 public identity and member priorities. No auth/data/presence behaviour. */
body.b31-public-shell {
    --b3-bg: #030a17; --b3-surface: #0a1728; --b3-raised: #0c2133;
    --b3-text: #eef7ff; --b3-muted: #afc3d7; --b3-line: #273c57;
    --b3-green: #00ffad; --b3-cyan: #00e5ff; --topbar-height: 84px;
    background: radial-gradient(ellipse at 92% 12%, #4d21772b, transparent 35%), radial-gradient(ellipse at 0 3%, #005c6b22, transparent 32%), #030a17;
}
.b31-public-shell .acc-icon, .b31-home .acc-icon { display: inline-block; width: 21px; height: 21px; flex: 0 0 21px; vertical-align: middle; }
.b31-public-shell .nfo-topbar { background: #030b19ed; border-bottom: 1px solid #243f59; }
.b31-public-shell .nfo-topbar-inner { width: calc(100% - 80px); max-width: 1560px; gap: 24px; min-height: 84px; }
.b31-public-shell .b3-brand { gap: 13px; }
.b31-public-shell .b3-brand-symbol { width: 42px; height: 42px; font-size: 34px; border: 1px solid #00c59a; background: linear-gradient(135deg, #063b32, #071d29); border-radius: 12px; box-shadow: inset 0 0 14px #00ff881a; }
.b31-public-shell .b3-brand strong { font-size: 24px; letter-spacing: .07em; }
.b31-public-shell .b3-brand em, .b31-public-shell .nfo-footer em { color: #00efb1; font-style: normal; }
.b31-public-shell .b3-brand-caption { color: #aecbdc; font-size: 11px; border-left-color: #306471; }
.b31-public-shell .nfo-top-links { gap: 28px; }
.b31-public-shell .nfo-top-links a:not(.btn) { font-size: 13px; color: #d3deee; }
.b31-public-shell .nfo-top-links .btn { font-size: 12px; padding: 11px 16px; color: #012e25; }
.b31-public-shell .public-main > .container { max-width: 1560px; width: calc(100% - 80px); padding: 0 0 48px; }
.b31-public-shell .nfo-footer { background: #040d1a; border-top-color: #254256; }
.b31-public-shell .nfo-footer-inner { max-width: 1560px; width: calc(100% - 80px); padding: 35px 0; font-size: 11px; }
.b31-public-shell .nfo-footer strong { font-size: 20px; letter-spacing: .08em; color: #e3f3ff; line-height: 2; }
.b31-public-shell .nfo-footer-links { gap: 24px; }
.b31-public-shell .btn-primary { background: linear-gradient(110deg, #00fca1, #00dfc0); border-color: #00efae; box-shadow: 0 0 24px #00ff8815; color: #012a22; }
.b31-public-shell .btn-primary:hover { background: #67ffd3; border-color: #67ffd3; box-shadow: 0 0 22px #00ff8828; }
.b31-public-shell .btn-secondary { background: #091b2b; border-color: #3e6278; }
.b31-public-shell :focus-visible { outline: 2px solid #70f5ff; outline-offset: 5px; }
.b31-home { color: #eef7ff; }
.b31-home h1, .b31-home h2, .b31-home h3 { letter-spacing: -.04em; }
.b31-home p { margin-top: 0; }
.b31-eyebrow { display: flex; align-items: center; gap: 9px; color: #64e9e9; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; }
.b31-eyebrow > span { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #00ffb6; box-shadow: 0 0 10px #00ff8860; }
.b31-hero { position: relative; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; min-height: 660px; gap: 0; padding: 48px 0 62px; }
.b31-hero-copy { position: relative; z-index: 1; }
.b31-hero .b31-eyebrow { font-size: 10px; margin-bottom: 25px; }
.b31-hero-wordmark { font-size: clamp(58px, 5.5vw, 94px); line-height: 1; font-weight: 800; letter-spacing: -.04em; margin-bottom: 22px; }
.b31-hero-wordmark span { color: #00fba9; text-shadow: 0 0 25px #00fba94f; }
.b31-public-shell .b31-hero h1 { font-size: clamp(32px, 3.55vw, 60px); font-weight: 700; line-height: 1.1; margin: 0 0 23px; }
.b31-hero h1 span { color: #00f6b0; }
.b31-motto { font-size: clamp(17px, 1.5vw, 24px); font-weight: 650; color: #e9f5fc; margin-bottom: 20px; letter-spacing: -.025em; }
.b31-hero-description { max-width: 480px; color: #a9c0d5; font-size: 15px; line-height: 1.85; margin-bottom: 28px; }
.b31-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.b31-home .b31-actions .btn { min-height: 50px; padding: 14px 20px; border-radius: 9px; font-size: 13px; gap: 14px; }
.b31-home .b31-hero-note { max-width: 420px; font-size: 11px; line-height: 1.7; color: #9ab2c9; margin: 20px 0 0; }
.b31-hero-visual { position: relative; min-width: 0; isolation: isolate; margin: 0 -15px 0 -10px; }
.b31-network-visual { display: block; width: 100%; height: auto; max-width: none; }
.b31-hero-visual::before { content: ''; position: absolute; inset: 18% 7% 9%; z-index: -1; background: radial-gradient(ellipse, #008ab315, #44207615 50%, transparent 70%); }
.b31-boot-trace { position: absolute; inset: 18%; border: 1px solid #00ffd0; border-radius: 50%; opacity: 0; pointer-events: none; }
.b31-boot-controls { position: absolute; right: 16px; bottom: -18px; left: 16px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.b31-boot-controls > span { color: #73dfdd; font: 10px/1.5 var(--font-mono, monospace); letter-spacing: .04em; }
.b31-boot-controls button { border: 1px solid #38546d; background: #071524; color: #b9d4e6; border-radius: 7px; min-height: 44px; padding: 8px 12px; font-size: 11px; }
.b31-hero.is-booting .b31-boot-trace { animation: b31-network-pulse 1.6s ease-out both; }
.b31-hero.is-booting .b31-network-visual { animation: b31-network-light 1.6s ease-out both; }
@keyframes b31-network-pulse { 0% { opacity: 0; transform: scale(.8); } 35% { opacity: .65; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes b31-network-light { 0% { filter: brightness(.9); } 55% { filter: brightness(1.17); } 100% { filter: brightness(1); } }
.b31-pillars-section, .b31-tools-section { padding: 65px 0; scroll-margin-top: 110px; }
.b31-pillars-section { border-top: 1px solid #2c3d55; }
.b31-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.b31-section-heading .b31-eyebrow { margin-bottom: 14px; }
.b31-home h2 { font-size: clamp(29px, 2.6vw, 44px); font-weight: 650; line-height: 1.15; margin: 0; }
.b31-section-heading > p { color: #9eb9ce; font-size: 13px; line-height: 1.8; margin-bottom: 3px; max-width: 330px; }
.b31-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.b31-pillar { --pillar-accent: #00f5ad; display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid #254960; border-radius: 15px; background: linear-gradient(140deg, #0e2434, #07121f 80%); box-shadow: inset 0 1px #7cfdf00a; }
.b31-pillar[data-tone="cyan"] { --pillar-accent: #45e9ff; border-color: #284967; background: linear-gradient(140deg, #0b253c, #07121f 80%); }
.b31-pillar[data-tone="violet"] { --pillar-accent: #bd9aff; border-color: #4e3d73; background: linear-gradient(140deg, #211a38, #0b1323 80%); }
.b31-pillar-number { color: #98b7ce; font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.b31-icon-tile { display: grid; place-items: center; height: 49px; width: 49px; border: 1px solid #496d785c; border-radius: 13px; margin: 28px 0 23px; color: var(--pillar-accent); background: #00d4b20a; box-shadow: 0 0 24px #00d4b208; }
.b31-icon-tile .acc-icon { height: 25px; width: 25px; }
.b31-home .b31-pillar h3 { font-size: 20px; line-height: 1.35; font-weight: 600; margin: 0 0 14px; }
.b31-pillar p { flex: 1; color: #afc5d6; font-size: 12px; line-height: 1.8; margin-bottom: 23px; }
.b31-pillar a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; color: #e3f6ff; font-size: 12px; font-weight: 600; border-top: 1px solid #2a4057; padding-top: 12px; }
.b31-pillar a > span { color: var(--pillar-accent); }
.b31-pillar a:hover { color: var(--pillar-accent); }
.b31-pillar small { color: #98b0c6; font-size: 9px; line-height: 1.6; }
.b31-community-preview { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: center; margin: 25px 0; padding: 56px; border: 1px solid #2c536a; border-radius: 23px; background: radial-gradient(ellipse at 85% 10%, #4a277d25, transparent 55%), linear-gradient(120deg, #0a2430, #081224 60%, #101529); }
.b31-community-copy h2 { font-size: clamp(30px, 3vw, 47px); margin-bottom: 23px; }
.b31-community-copy h2 em { color: #00f4b3; font-style: normal; }
.b31-community-copy > p:not(.b31-eyebrow) { color: #b2c8d9; font-size: 13px; line-height: 1.8; margin-bottom: 25px; }
.b31-community-copy .btn { min-height: 48px; gap: 14px; }
.b31-community-copy .b31-private-note { display: flex; align-items: center; gap: 8px; font-size: 10px !important; margin: 19px 0 0 !important; color: #9dbacb !important; }
.b31-private-note .acc-icon { height: 15px; width: 15px; flex-basis: 15px; color: #63dcce; }
.b31-lobby-introduction { background: linear-gradient(145deg, #091d2d, #0b1526); border: 1px solid #3d6883; border-bottom-color: #3ea895; border-radius: 16px; padding: 23px; box-shadow: 0 20px 40px #0003; min-width: 0; }
.b31-intro-room { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid #244154; }
.b31-intro-room > span:first-child { font-size: 25px; font-weight: 700; color: #00ffb4; }
.b31-intro-room strong { font-size: 18px; font-weight: 650; }
.b31-member-only { display: flex; align-items: center; gap: 5px; color: #8fcbce; font-size: 9px; margin-left: auto; }
.b31-member-only .acc-icon { height: 13px; width: 13px; flex-basis: 13px; }
.b31-intro-kicker { color: #9dbfd2; font-size: 9px; letter-spacing: .13em; margin: 22px 0 17px; }
.b31-conversation-ideas { display: grid; gap: 10px; }
.b31-conversation-ideas > div { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; padding: 13px 15px; border: 1px solid #30475e; border-radius: 9px; background: #12283b; }
.b31-conversation-ideas > div:nth-child(2) { margin-left: 20px; background: #102c32; border-color: #2b5857; }
.b31-conversation-ideas > div:nth-child(3) { margin-left: 10px; background: #1a2239; border-color: #484063; }
.b31-conversation-ideas .acc-icon { grid-row: 1 / 3; color: #65efcf; margin-top: 3px; }
.b31-conversation-ideas strong { font-size: 12px; font-weight: 550; }
.b31-conversation-ideas span { font-size: 10px; color: #acc3d6; line-height: 1.7; }
.b31-intro-privacy { color: #94b2c7; font-size: 9px; line-height: 1.7; margin: 18px 0 0; }
.b31-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
.b31-tools-grid > article { display: flex; flex-direction: column; border-top: 1px solid #39516d; padding: 26px 0 0; }
.b31-tool-label { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .12em; color: #9ac6e1; }
.b31-tool-label .acc-icon { color: #70dfdc; }
.b31-home .b31-tools-grid h3 { margin: 22px 0 14px; font-size: 21px; line-height: 1.4; }
.b31-tools-grid p { flex: 1; color: #acc2d5; font-size: 12px; line-height: 1.85; margin-bottom: 18px; }
.b31-tools-grid a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; color: #d9f3ff; font-size: 12px; font-weight: 550; }
.b31-tools-grid a span { color: #36ead3; }
.b31-join { position: relative; overflow: hidden; isolation: isolate; text-align: center; margin: 30px 0 35px; padding: 65px 28px; border: 1px solid #40335e; border-radius: 20px; background: radial-gradient(ellipse at 50% 100%, #19375470, transparent 60%), linear-gradient(120deg, #071e29, #0c1129 60%, #211539); }
.b31-join-orbit { position: absolute; width: 700px; height: 700px; border: 1px solid #405b8150; border-radius: 50%; left: 50%; top: -110px; transform: translateX(-50%) rotate(25deg) scaleX(1.7); z-index: -1; box-shadow: 0 0 90px #4844c018; }
.b31-join .b31-eyebrow { justify-content: center; font-size: 9px; }
.b31-join h2 { font-size: clamp(38px, 4vw, 63px); margin: 0 0 22px; }
.b31-join h2 span { color: #00eab3; }
.b31-join > p:not(.b31-eyebrow) { color: #b1cadd; font-size: 14px; margin-bottom: 25px; }
.b31-join .b31-actions { justify-content: center; }
.b31-text-link { color: #c6e5f4; font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; padding: 10px 4px; text-decoration: underline; text-underline-offset: 5px; }
.b31-risk-note { font-size: 11px; color: #9ab5ca; line-height: 1.85; max-width: 1000px; margin: 0; }
.b31-risk-note a { color: #c3e7f1; text-decoration: underline; text-underline-offset: 4px; }
/* The existing member data and links stay present; community moves first in DOM order. */
.b31-member-dashboard { --b3-green: #00efad; --b3-cyan: #40e5ed; }
.b31-member-dashboard .b3-member-head { border-bottom: 1px solid #274457; margin-bottom: 25px; padding-bottom: 28px; }
.b31-member-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: 0 0 auto; }
.b31-member-profile-link { color: #a6d7e8; font-size: 12px; min-height: 30px; display: inline-flex; align-items: center; }
.b31-member-dashboard .b3-member-community-grid { grid-template-columns: 1.35fr 1fr; }
.b31-member-dashboard .b3-lobby-widget { margin-bottom: 0; }
.b31-member-dashboard .b3-member-summary { margin-bottom: 24px; }
.b31-member-dashboard .b3-summary-card { padding: 16px 19px; }
.b31-member-dashboard .b3-summary-card strong { font-size: 23px; }
@media (max-width: 1250px) {
    .b31-public-shell .b3-brand-caption { display: none; }
    .b31-public-shell .nfo-topbar-inner, .b31-public-shell .public-main > .container, .b31-public-shell .nfo-footer-inner { width: calc(100% - 64px); }
    .b31-hero { min-height: 610px; padding-top: 45px; }
    .b31-pillar { padding: 20px; }
    .b31-home .b31-pillar h3 { font-size: 18px; }
    .b31-community-preview { padding: 36px; gap: 6%; }
    .b31-member-dashboard .b3-member-community-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    body.b31-public-shell { --topbar-height: 72px; }
    .b31-public-shell .nfo-topbar-inner { width: calc(100% - 36px); min-height: 72px; }
    .b31-public-shell .b3-brand strong { font-size: 21px; }
    .b31-public-shell .b3-brand-symbol { width: 35px; height: 35px; font-size: 29px; }
    .b31-public-shell.b3-js .nfo-top-links { background: #071525; border-color: #31546b; padding: 18px; gap: 8px; }
    .b31-public-shell .nfo-top-links .btn { justify-content: center; }
    .b31-public-shell .nfo-top-links a:not(.btn) { min-height: 44px; font-size: 15px; }
    .b31-public-shell .public-main > .container { width: calc(100% - 40px); }
    .b31-hero { grid-template-columns: 1fr; padding: 48px 0 35px; min-height: 0; }
    .b31-hero-copy { max-width: 620px; }
    .b31-public-shell .b31-hero h1 { font-size: clamp(32px, 6vw, 48px); }
    .b31-hero-wordmark { font-size: 72px; }
    .b31-hero-description { max-width: 540px; }
    .b31-hero-visual { width: min(100%, 640px); margin: 0 auto; }
    .b31-boot-controls { bottom: 0; }
    .b31-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .b31-pillars-section, .b31-tools-section { padding: 40px 0; }
    .b31-community-preview { grid-template-columns: 1fr; padding: 32px; gap: 30px; }
    .b31-community-copy > p { max-width: 510px; }
    .b31-section-heading { align-items: flex-start; gap: 20px; }
    .b31-section-heading > p { max-width: 250px; font-size: 12px; }
    .b31-tools-grid { gap: 22px; }
    .b31-home .b31-tools-grid h3 { font-size: 18px; }
}
@media (max-width: 540px) {
    .b31-public-shell .nfo-topbar-inner { width: calc(100% - 24px); }
    .b31-public-shell .b3-brand { gap: 9px; }
    .b31-public-shell .b3-brand strong { font-size: 20px; }
    .b31-public-shell .public-main > .container { width: calc(100% - 32px); padding-bottom: 30px; }
    .b31-public-shell .nfo-footer-inner { width: calc(100% - 32px); gap: 24px; }
    .b31-hero { padding-top: 35px; padding-bottom: 25px; }
    .b31-hero .b31-eyebrow { font-size: 8px; letter-spacing: .12em; margin-bottom: 24px; }
    .b31-hero-wordmark { font-size: 64px; margin-bottom: 22px; }
    .b31-public-shell .b31-hero h1 { font-size: 32px; margin-bottom: 20px; }
    .b31-motto { font-size: 17px; margin-bottom: 17px; }
    .b31-hero-description { font-size: 13px; line-height: 1.8; margin-bottom: 23px; }
    .b31-home .b31-actions .btn { padding: 13px 15px; font-size: 12px; gap: 9px; }
    .b31-hero-note { font-size: 10px !important; max-width: 300px !important; }
    .b31-hero-visual { margin-top: 9px; }
    .b31-boot-controls { bottom: -9px; left: 0; right: 0; }
    .b31-boot-controls > span { font-size: 8px; }
    .b31-section-heading { flex-direction: column; gap: 16px; }
    .b31-section-heading > p { max-width: none; }
    .b31-eyebrow { font-size: 9px; line-height: 1.6; }
    .b31-home h2 { font-size: 31px; }
    .b31-pillars { grid-template-columns: 1fr; gap: 13px; }
    .b31-pillar { padding: 22px; }
    .b31-icon-tile { height: 42px; width: 42px; margin: 20px 0 17px; }
    .b31-home .b31-pillar h3 { font-size: 22px; }
    .b31-pillar p { font-size: 13px; }
    .b31-pillar small { font-size: 10px; }
    .b31-community-preview { padding: 24px 17px; margin: 18px 0; border-radius: 16px; }
    .b31-community-copy h2 { font-size: 34px; }
    .b31-lobby-introduction { padding: 16px; }
    .b31-intro-room { gap: 7px; }
    .b31-intro-room strong { font-size: 17px; }
    .b31-member-only { font-size: 8px; gap: 3px; }
    .b31-conversation-ideas > div { padding: 12px; column-gap: 7px; grid-template-columns: 24px minmax(0, 1fr); }
    .b31-conversation-ideas > div:nth-child(2) { margin-left: 8px; }
    .b31-conversation-ideas > div:nth-child(3) { margin-left: 0; }
    .b31-conversation-ideas strong { font-size: 11px; }
    .b31-tools-grid { grid-template-columns: 1fr; gap: 25px; }
    .b31-home .b31-tools-grid h3 { font-size: 23px; }
    .b31-tools-grid p { font-size: 13px; }
    .b31-join { padding: 45px 20px; }
    .b31-join h2 { font-size: 40px; }
    .b31-join .b31-actions { flex-direction: column; }
    .b31-join .b31-eyebrow { font-size: 8px; }
    .b31-member-actions { align-items: flex-start; }
    .b31-member-dashboard .b3-summary-card { padding: 14px; }
    .b31-member-dashboard .b3-summary-card strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .b31-hero *, .b31-hero *::before, .b31-hero *::after { animation: none !important; transition: none !important; }
}
