#terminal.is-bulletin #forumScroll { overflow: hidden; position: static; }
#terminal.is-bulletin .terminal-content,
#terminal.is-bulletin #forumRouteContent,
#terminal.is-bulletin #forumLayout,
#terminal.is-bulletin #forumMain,
#terminal.is-bulletin #forumView { position: static; }
#terminal.is-bulletin #forumLayout { display: block; }
#terminal.is-bulletin #forumRail,
#terminal.is-bulletin #scrollRail,
#terminal.is-bulletin footer,
#terminal.is-bulletin #forumStatus:empty { display: none; }
#terminal.is-bulletin .forum-header { position: relative; z-index: 5; transition: transform .25s ease, opacity .25s ease; }
#terminal.is-bulletin.bulletin-chrome-hidden .forum-header { transform: translateY(-110%); opacity: 0; pointer-events: none; }

.bulletin-stage { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #000; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; outline: none; }
.bulletin-cork { position: absolute; inset: 0; pointer-events: none; background: url('/assets/social/bulletin-cork-tile.webp?v=2') #7A5434; background-blend-mode: soft-light; }
.bulletin-grid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255, 255, 255, .5) 1.4px, transparent 2px); }
.bulletin-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; box-shadow: 0 0 0 calc(1px / var(--zoom, 1)) rgba(255, 255, 255, .22); will-change: transform; }
.bulletin-world.is-gliding { transition: transform .3s cubic-bezier(.22, .61, .36, 1); }

.bulletin-poster { position: absolute; }
.bulletin-photo { position: absolute; inset: 0; overflow: hidden; background: #1a1a1a; box-sizing: border-box; border: 1px solid #000; }
.bulletin-photo > * { display: block; width: 100%; height: 100%; }
.bulletin-tape { position: absolute; opacity: .93; }
.bulletin-tape > img { display: block; width: 100%; height: 100%; }
.bulletin-ink { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

.bulletin-overview { position: absolute; left: 12px; top: 12px; z-index: 3; overflow: hidden; box-sizing: content-box; background: rgba(0, 0, 0, .78); border: 1px solid rgba(255, 255, 255, .35); pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.bulletin-overview.is-on { opacity: 1; }
.bulletin-overview > canvas { position: absolute; display: block; background: #444; }
.bulletin-overview-box { position: absolute; box-sizing: border-box; border: 1.5px solid #FFE000; }

.bulletin-controls { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.bulletin-controls button { pointer-events: auto; }
.bulletin-banner { box-sizing: border-box; padding: 9px 13px; background: #d3122a; color: #fff; font-size: 14px; line-height: 1.25; text-align: center; }
.bulletin-corner { position: absolute; right: calc(env(safe-area-inset-right, 0px) + 18px); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; max-width: calc(100% - 36px); }
.bulletin-info { position: absolute; left: calc(env(safe-area-inset-left, 0px) + 18px); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: min(300px, calc(100% - 118px)); }
#terminal .bulletin-info-button { display: grid; place-items: center; box-sizing: border-box; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 2px solid #000; background: #3a3a3c; color: #fff; font: inherit; font-size: 24px; line-height: 1; }
#terminal .bulletin-info-button.is-on { background: #FFE000; color: #000; }
.bulletin-info-text { box-sizing: border-box; padding: 10px 12px; border: 2px solid #000; background: #3a3a3c; color: #fff; font-size: 15px; line-height: 1.3; text-align: left; pointer-events: auto; animation: bulletin-menu-up .16s ease-out both; }
.bulletin-add { display: grid; place-items: center; box-sizing: border-box; width: 58px; height: 58px; padding: 12px; border: 2px solid #000; border-radius: 50%; background: #fff; color: #000; box-shadow: 3px 3px 0 rgba(0, 0, 0, .58); }
.bulletin-add svg { display: block; width: 30px; height: 30px; fill: currentColor; }
.bulletin-add:active { background: #2b2b30; color: #fff; }
.bulletin-menu { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; animation: bulletin-menu-up .16s ease-out both; }
@keyframes bulletin-menu-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bulletin-menu-item, .bulletin-action, .bulletin-pill { font: inherit; box-sizing: border-box; border: 2px solid #000; background: #fff; color: #000; padding: 10px 16px; min-height: 44px; }
#terminal .bulletin-menu-item { display: grid; place-items: center; width: 58px; height: 58px; min-height: 58px; padding: 0; background: #3a3a3c; color: #fff; border: 2px solid #000; }
#terminal .bulletin-menu-item.is-dim { color: rgba(255, 255, 255, .45); }
.bulletin-menu-item svg { display: block; width: 30px; height: 30px; fill: currentColor; }
.bulletin-pill { min-height: 36px; padding: 6px 12px; background: #2b2b30; color: #fff; border-color: #777; }
.bulletin-pill.is-on { background: #FFE000; color: #000; border-color: #000; }
.bulletin-bar { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(440px, calc(100% - 24px)); }
.bulletin-actions { display: flex; gap: 8px; justify-content: center; width: 100%; }
.bulletin-actions .bulletin-action { flex: 1 1 0; }
.bulletin-action.is-primary { background: var(--tint, #FFE000); color: #000; }
.bulletin-action.is-red { background: #d3122a; color: #fff; }
.bulletin-action.is-wide { width: 100%; }
.bulletin-action:disabled { opacity: .45; }

.bulletin-draft { position: absolute; pointer-events: auto; z-index: 100000; box-sizing: border-box; outline: calc(1.5px / var(--zoom, 1)) solid rgba(255, 255, 255, .45); }
.bulletin-draft > img { display: block; width: 100%; height: 100%; pointer-events: none; }
.bulletin-draft.is-selected { outline: calc(3px / var(--zoom, 1)) solid #fff; cursor: move; }
.bulletin-draft.is-blocked { opacity: .75; outline-color: #ff2d2d; }
.bulletin-handle { display: none; position: absolute; right: calc(-14px / var(--zoom, 1)); bottom: calc(-14px / var(--zoom, 1)); width: calc(28px / var(--zoom, 1)); height: calc(28px / var(--zoom, 1)); border: calc(2px / var(--zoom, 1)) solid #000; box-sizing: border-box; background: #fff; cursor: nwse-resize; }
.bulletin-draft.is-selected .bulletin-handle { display: block; }

.bulletin-focus { position: absolute; inset: 0; z-index: 6; background: #000; }
.bulletin-focus.is-closing { background: transparent; pointer-events: none; }
.bulletin-focus-glitch { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; box-sizing: border-box; }
.bulletin-focus-glitch.is-glitch-in { animation: forum-glitch-in .2s steps(1, end) both; }
.bulletin-focus-glitch.is-glitch-out { animation: photo-viewer-glitch-out .2s steps(1, end) both; }
.bulletin-focus-glitch:is(.is-glitch-in, .is-glitch-out) .photo-viewer-bars { animation: forum-glitch-bars .2s steps(1, end) both; }
.bulletin-focus-image { display: block; flex: 0 1 auto; min-height: 0; max-width: 100%; max-height: calc(100% - 190px); object-fit: contain; }
.bulletin-focus-info { display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(440px, 100%); text-align: center; }
.bulletin-focus-name { color: #fff; font-size: 18px; text-decoration: underline; }
.bulletin-focus-status { color: #ccc; font-size: 14px; }
.bulletin-focus-message:empty { display: none; }
.bulletin-focus-message { width: 100%; }

.bulletin-draw { position: absolute; inset: 0; z-index: 6; background: #000; }
.bulletin-draw-scroll { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; touch-action: none; }
.bulletin-draw-scroll::-webkit-scrollbar { display: none; }
.bulletin-draw-sheet { position: relative; touch-action: none; margin-bottom: 150px; cursor: crosshair; }
.bulletin-draw-page { position: absolute; transform: rotate(90deg); pointer-events: none; }
.bulletin-draw-page > img { display: block; width: 100%; height: 100%; }
.bulletin-draw-bar { z-index: 2; background: rgba(0, 0, 0, .78); padding: 10px; box-sizing: border-box; }
.bulletin-swatches { display: flex; gap: 8px; justify-content: center; }
.bulletin-swatches button { width: 34px; height: 34px; padding: 0; border: 2px solid #666; border-radius: 50%; }
.bulletin-swatches button.is-on { border: 3px solid #FFE000; }
@media (min-width: 861px) {
  .bulletin-stage::after { content: ''; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: var(--bulletin-top, 0px); background: rgba(0, 0, 0, .6); pointer-events: none; transition: opacity .25s ease; }
  #terminal.bulletin-chrome-hidden .bulletin-stage::after { opacity: 0; }
}
