.bulletin-actions { display:flex; gap:12px; justify-content:flex-end; margin:24px 0; }
#bulletin button, #bulletin-editor button { display:inline-flex; align-items:center; justify-content:center; gap:9px; font-family:"Comfortaa",sans-serif; font-size:14px; color:#ffe09a; background:#151615; border:1px solid #ffd16655; border-radius:999px; padding:11px 18px; cursor:pointer; transition:background .18s,box-shadow .18s; }
#bulletin button:hover, #bulletin-editor button:hover { background:#28251a; box-shadow:0 0 20px #ffd16618; }
#bulletin button svg { width:22px; height:22px; }
#bulletin [hidden], #bulletin-editor [hidden] { display:none!important; }
#bulletin-posts { text-align:left; }
.bulletin-post { padding:28px 0; border-top:1px solid #ffd16630; }
.bulletin-post h3 { font-family:"Comfortaa",sans-serif; font-size:25px; margin:16px 0; overflow-wrap:anywhere; }
.bulletin-post h4 { margin:20px 0 8px; }
.bulletin-copy { white-space:pre-wrap; overflow-wrap:anywhere; }
.bulletin-meta { display:flex; gap:8px; align-items:center; flex-wrap:wrap; font-size:13px; }
.bulletin-meta time { color:#b7b5ad; margin-right:8px; }
.bulletin-tag { border:1px solid #ffd16640; border-radius:20px; padding:5px 10px; color:#ffd166; font-family:"Comfortaa",sans-serif; }
.bulletin-post li { margin:8px 0; overflow-wrap:anywhere; }
#bulletin-editor { width:min(720px,calc(100vw - 28px)); max-height:88dvh; overflow:auto; padding:28px; color:#eee; background:#101212; border:1px solid #ffd16655; border-radius:20px; margin:auto; }
#bulletin-editor::backdrop { background:#0009; backdrop-filter:blur(8px); }
#bulletin-editor { box-sizing:border-box; color-scheme:dark; }
#bulletin-form { min-width:0; text-align:left; }
#bulletin-editor header { position:static; }
#bulletin-editor footer { position:static; flex-wrap:wrap; }
#bulletin-verify { padding:16px; border:1px solid #ffd16655; border-radius:12px; background:#ffd16608; }
#bulletin-editor small { line-height:1.5; color:#b7b5ad; }
#bulletin-editor header, #bulletin-editor footer { display:flex; justify-content:space-between; align-items:center; gap:16px; }
#bulletin-editor h2 { font-family:"Indie Flower",cursive; font-size:38px; font-weight:400; margin:0; }
#bulletin-editor label { display:grid; gap:8px; margin:18px 0; text-align:left; font-family:"Comfortaa",sans-serif; font-size:14px; }
#bulletin-editor input:not([type=checkbox]), #bulletin-editor textarea { width:100%; box-sizing:border-box; padding:12px; border:1px solid #ffffff30; border-radius:8px; background:#ffffff07; color:white; font:16px "Oxanium",sans-serif; }
#bulletin-editor textarea { resize:vertical; }
.bulletin-fields { display:grid; grid-template-columns:2fr 1fr; gap:16px; }
#bulletin-editor .bulletin-publish { display:flex; align-items:center; }
#bulletin-editor button:disabled { opacity:.5; cursor:wait; }
#bulletin-save-status, #bulletin-status { color:#ffd166; }
.crosswired-nav-logo { display:flex; align-items:center; flex:0 0 46px; width:46px; height:46px; border:0; padding:4px; background:none; cursor:pointer; }
.crosswired-nav-logo img { display:block; width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 0 8px #9c7cff44); }
@media(max-width:760px) { .bulletin-fields { grid-template-columns:1fr; gap:0; } #bulletin-editor { padding:20px; } .crosswired-nav-logo { width:32px; height:32px; flex-basis:32px; padding:0; } }
.crosswired-nav-logo { pointer-events:auto; }
/* Keep the brand joined to the desktop navigation and aligned on phones. */
.nav-shell > .crosswired-nav-logo { position:relative; z-index:2; width:48px; height:44px; flex-basis:48px; padding:2px 10px 2px 2px; margin-right:2px; border-right:1px solid #ffd16630; border-radius:0; }
body.dashboard-host .crosswired-nav-logo, body.showing-dashboard .crosswired-nav-logo { display:none!important; }
@media(max-width:840px) {
 body:not(.dashboard-host):not(.showing-dashboard) .topbar { display:flex; justify-content:flex-start; align-items:center; gap:8px; }
 .topbar > .crosswired-nav-logo { width:40px; height:52px; flex:0 0 40px; padding:0; margin:0; align-self:center; }
 .topbar > .crosswired-nav-logo img { width:40px; height:40px; }
 body:not(.dashboard-host):not(.showing-dashboard) .topbar .account-controls { margin-left:auto; max-width:calc(100% - 108px); }
 #home .home-signature { position:absolute; left:22px; right:auto; bottom:76px; margin:0; justify-content:flex-start; text-align:left; }
}
@media(max-width:360px) {
 body:not(.dashboard-host):not(.showing-dashboard) .topbar { gap:6px; padding-left:10px; padding-right:10px; }
 .topbar > .crosswired-nav-logo { width:32px; flex-basis:32px; }
 .topbar > .crosswired-nav-logo img { width:32px; height:32px; }
}
/* Mobile credit stays at the viewport edge, including on tall/scrollable home pages. */
@media(max-width:840px) {
 body.showing-home #home .home-signature {
   position:fixed; left:max(18px, env(safe-area-inset-left)); right:auto;
   bottom:calc(58px + env(safe-area-inset-bottom)); z-index:18;
   margin:0; transform:none; transition:none; font-size:13px;
   text-shadow:0 2px 8px #000;
 }
 body.showing-home #home .home-ticker {
   position:fixed; left:0; right:0; bottom:0; z-index:17;
   padding-bottom:env(safe-area-inset-bottom); transform:none;
   background:rgba(4,7,7,.9);
 }
}
