:root { color-scheme: light; font-family: 'Courier New', Courier, monospace; color: #242424; background: #ff6600; font-synthesis: none; }
* { box-sizing: border-box; }
/* Author display rules must never resurrect a hidden element. */
[hidden] { display: none !important; }
body { margin: 0; padding: 28px 22px; min-height: 100vh; font-size: 16px; background-color: #ff6600; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22192%22%20height%3D%22192%22%20viewBox%3D%220%200%20192%20192%22%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2224%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2248%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%2272%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ffffff%22%2F%3E%3Crect%20x%3D%2296%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22120%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23f5893c%22%2F%3E%3Crect%20x%3D%22144%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%22168%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2224%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23f5893c%22%2F%3E%3Crect%20x%3D%2224%22%20y%3D%2224%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%2248%22%20y%3D%2224%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2272%22%20y%3D%2224%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2296%22%20y%3D%2224%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%22120%22%20y%3D%2224%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23a93e00%22%2F%3E%3Crect%20x%3D%22144%22%20y%3D%2224%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22168%22%20y%3D%2224%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2248%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2224%22%20y%3D%2248%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ffffff%22%2F%3E%3Crect%20x%3D%2248%22%20y%3D%2248%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23a93e00%22%2F%3E%3Crect%20x%3D%2272%22%20y%3D%2248%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2296%22%20y%3D%2248%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22120%22%20y%3D%2248%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%22144%22%20y%3D%2248%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ffffff%22%2F%3E%3Crect%20x%3D%22168%22%20y%3D%2248%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2272%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%2224%22%20y%3D%2272%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2248%22%20y%3D%2272%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2272%22%20y%3D%2272%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23f5893c%22%2F%3E%3Crect%20x%3D%2296%22%20y%3D%2272%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ffffff%22%2F%3E%3Crect%20x%3D%22120%22%20y%3D%2272%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22144%22%20y%3D%2272%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22168%22%20y%3D%2272%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%2296%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2224%22%20y%3D%2296%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23a93e00%22%2F%3E%3Crect%20x%3D%2248%22%20y%3D%2296%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ffffff%22%2F%3E%3Crect%20x%3D%2272%22%20y%3D%2296%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2296%22%20y%3D%2296%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%22120%22%20y%3D%2296%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22144%22%20y%3D%2296%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23f5893c%22%2F%3E%3Crect%20x%3D%22168%22%20y%3D%2296%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%22120%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ffffff%22%2F%3E%3Crect%20x%3D%2224%22%20y%3D%22120%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2248%22%20y%3D%22120%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2272%22%20y%3D%22120%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%2296%22%20y%3D%22120%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22120%22%20y%3D%22120%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23f5893c%22%2F%3E%3Crect%20x%3D%22144%22%20y%3D%22120%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22168%22%20y%3D%22120%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%22144%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2224%22%20y%3D%22144%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%2248%22%20y%3D%22144%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23f5893c%22%2F%3E%3Crect%20x%3D%2272%22%20y%3D%22144%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2296%22%20y%3D%22144%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22120%22%20y%3D%22144%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23a93e00%22%2F%3E%3Crect%20x%3D%22144%22%20y%3D%22144%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%22168%22%20y%3D%22144%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ffffff%22%2F%3E%3Crect%20x%3D%220%22%20y%3D%22168%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23f5893c%22%2F%3E%3Crect%20x%3D%2224%22%20y%3D%22168%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2248%22%20y%3D%22168%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%2272%22%20y%3D%22168%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ffffff%22%2F%3E%3Crect%20x%3D%2296%22%20y%3D%22168%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23cc4b00%22%2F%3E%3Crect%20x%3D%22120%22%20y%3D%22168%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22144%22%20y%3D%22168%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3Crect%20x%3D%22168%22%20y%3D%22168%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ff6600%22%2F%3E%3C%2Fsvg%3E"); background-size: 80px 80px; }
.site { max-width: 1080px; margin: 0 auto; background: #f6f6ef; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 6px 12px 6px 6px; background: #ff6600; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #111; text-decoration: none; font-weight: bold; font-size: 16px; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 28px; flex-shrink: 0; border: 1px solid #fff; color: white; font: bold 16px 'Courier New', monospace; letter-spacing: -1px; }
.current-page { font-size: 14px; color: #111; }
main { padding: 25px 54px 84px; }
.breadcrumb { font-size: 12px; color: #70706a; }
.breadcrumb span { padding: 0 8px; color: #9a9a91; }
.login-layout { display: grid; grid-template-columns: minmax(0, 340px); justify-content: center; margin-top: 55px; }
.eyebrow { font: bold 12px/1.5 'Courier New', Courier, monospace; letter-spacing: 0; text-align: center; color: #64645d; margin: 0 0 15px; }
h1 { font-size: 24px; letter-spacing: 0; text-align: center; line-height: 1.2; margin: 0 0 13px; }
.intro { text-align: center; font-size: 14px; color: #64645d; line-height: 1.6; margin: 0 0 30px; }
.field { margin-bottom: 21px; }
label { display: block; margin-bottom: 8px; font-size: 14px; }
input { display: block; width: 100%; min-width: 0; height: 41px; padding: 8px 10px; font: inherit; border: 1px solid #92928a; border-radius: 0; box-shadow: inset 1px 1px 0 #e5e5df; background: #fff; color: #171717; }
.password-field { display: flex; border: 1px solid #92928a; background: white; box-shadow: inset 1px 1px 0 #e5e5df; }
.password-field input { border: 0; box-shadow: none; background: transparent; height: 39px; }
.reveal { background: transparent; border: 0; padding: 0 12px; color: #62625c; font: 12px 'Courier New', Courier, monospace; text-decoration: underline; cursor: pointer; }
button { border-radius: 0; }
.login-button { display: flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 40px; padding: 9px 15px; margin: 27px auto 0; border: 1px solid #c54f00; background: #ff6600; color: #151515; font: bold 14px 'Courier New', Courier, monospace; box-shadow: inset 1px 1px 0 #ffb27f, 1px 1px 0 #d4d4c9; cursor: pointer; }
.login-button:hover { background: #ef6000; }
.login-button:active { box-shadow: inset 1px 1px 0 #b84a00; transform: translate(1px, 1px); }
.login-button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid #154da0; outline-offset: 3px; }
.status { font-size: 14px; line-height: 1.6; color: #793100; border-left: 2px solid #ff6600; padding-left: 12px; margin: 22px 0 0; }
footer { display: flex; justify-content: space-between; gap: 16px; border-top: 2px solid #ff6600; padding: 19px 24px 22px; color: #70706a; font-size: 12px; line-height: 1.6; }
@media (max-width: 700px) { body { padding: 12px; } main { padding: 23px 25px 50px; } .login-layout { grid-template-columns: 1fr; gap: 48px; margin-top: 43px; } .login { max-width: 400px; width: 100%; } footer { padding: 16px 20px; flex-wrap: wrap; } }
@media (max-width: 380px) { body { padding: 6px; } .brand { font-size: 14px; gap: 6px; } .masthead { gap: 8px; } main { padding-left: 17px; padding-right: 17px; } }

/* Classic forum controls and inline feedback. */
.site { border: 1px solid #804000; box-shadow: 3px 3px 0 #803300; }
.masthead { border-bottom: 1px solid #b34700; }
input { border: 2px inset #c2c2b8; box-shadow: none; }
.password-field { border: 2px inset #c2c2b8; box-shadow: none; }
.password-field input { height: 37px; }
.reveal { margin: 4px; padding: 0 8px; background: #e9e9df; border: 2px outset #e9e9df; text-decoration: none; }
.reveal:active { border-style: inset; }
.login-button { border: 2px outset #ffc18f; box-shadow: none; }
.login-button:active { border-style: inset; box-shadow: none; transform: none; }
input[aria-invalid="true"] { background: #fff4dc; outline: 1px solid #a00000; outline-offset: -2px; }
.field-error { margin: 7px 0 0; color: #980000; font-size: 14px; line-height: 1.5; }
.status { border: 1px solid #a07840; background: #fff4cf; padding: 10px 12px; color: #663300; font-size: 14px; line-height: 1.5; }

.profile-preview-link { margin: 24px 0 0; text-align: center; font-size: 14px; line-height: 1.6; }
.profile-preview-link a { color: #874000; }
.text-button { padding: 0; border: 0; background: transparent; color: #874000; font: inherit; text-decoration: underline; cursor: pointer; }
.auth-switch { margin: 26px 0 0; padding-top: 19px; border-top: 1px solid #c7c7bd; text-align: center; color: #64645d; font-size: 14px; line-height: 1.6; }
.auth-switch a { color: #874000; font-weight: bold; }
.form-note { margin: -11px 0 20px; color: #70706a; font-size: 12px; line-height: 1.5; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 460px) { .name-row { grid-template-columns: 1fr; gap: 0; } }

/* Terminal bridge status chip, shown only when the local tfn bridge is serving. */
.bridge-chip { position: fixed; right: 10px; bottom: 10px; z-index: 20; padding: 6px 10px; background: #1b1005; color: #ffb066; border: 2px outset #a93e00; font: bold 11px 'Courier New', Courier, monospace; letter-spacing: 0; }
.bridge-chip[data-live="no"] { color: #ffd7b5; opacity: .75; }
@media (max-width: 480px) { .bridge-chip { right: 6px; bottom: 6px; font-size: 10px; } }
.bridge-chip[data-claimable="yes"] { cursor: pointer; border-style: outset; }
.bridge-chip[data-claimable="yes"]:hover { color: #ffffff; background: #3a2109; }

/* ---- Masthead ribbon naming whoever owns this network. */
.founder-ribbon { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 7px 14px; background: #1b1005; color: #ffb066; border-bottom: 2px solid #a93e00; font-size: 12px; letter-spacing: 1px; }
.ribbon-mark { color: #ff8a3d; }
.ribbon-name { color: #ffffff; font-weight: bold; text-decoration: none; border-bottom: 1px dotted #ff8a3d; }
.ribbon-name:hover { color: #ffd7b5; }
.ribbon-title { text-transform: uppercase; color: #ff8a3d; font-weight: bold; }
.ribbon-you { margin-left: auto; color: #c79a75; text-transform: lowercase; letter-spacing: 0; }
.founder-badge { display: inline-block; padding: 1px 6px; background: #1b1005; color: #ffb066; border: 1px solid #a93e00; font: bold 10px 'Courier New', Courier, monospace; letter-spacing: 1px; vertical-align: 2px; }
.role-badge { display: inline-block; padding: 1px 6px; background: #efefe4; color: #6b4322; border: 1px solid #c3c3b6; font: bold 10px 'Courier New', Courier, monospace; letter-spacing: 1px; vertical-align: 2px; }
.nav-signout { color: #111; text-decoration: underline; }
.nav-offline { color: #7a2c00; font-size: 12px; }

/* ---- Buttons that read as text, and the destructive ones. */
.link-button { padding: 0; border: 0; background: transparent; color: #874000; font: 12px 'Courier New', Courier, monospace; text-decoration: underline; cursor: pointer; }
.link-button:hover { color: #a00000; }
.link-button.danger { color: #980000; }
.retro-button.danger { background: #ffe0dc; border-color: #ffb9ae; color: #7a0000; }
.retro-button.small { min-height: 28px; padding: 4px 9px; font-size: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.founder-ribbon[data-state="offline"] { background: #5c1b00; color: #ffd7b5; }
.founder-ribbon[data-state="offline"] .ribbon-title { color: #ffb066; }
.founder-ribbon[data-state="offline"] .ribbon-you { margin-left: 0; text-transform: none; letter-spacing: 0; color: #ffd7b5; }
