.viewport-gate[hidden] { display: none; }
.viewport-too-small #crt-screen, .viewport-too-small #boot-terminal { visibility: hidden !important; }
.viewport-gate { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; background: #040906; color: #88b99d; font-family: var(--font-mono, "Cascadia Mono", Consolas, monospace); }
.viewport-gate-screen { width: min(100%, 900px); min-height: min(560px, calc(100vh - 32px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(110, 231, 183, .44); border-radius: 4px; background: linear-gradient(135deg, rgba(8, 25, 17, .98), rgba(3, 11, 8, .98)); box-shadow: 0 0 0 1px rgba(16, 185, 129, .08), 0 0 34px rgba(16, 185, 129, .12), inset 0 0 50px rgba(16, 185, 129, .035); }
.viewport-gate-header, .viewport-gate-footer { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; color: #648e77; font-size: 10px; letter-spacing: .08em; border-bottom: 1px solid rgba(110, 231, 183, .18); }
.viewport-gate-header span:first-child { color: #6ee7b7; }
.viewport-gate-body { position: relative; flex: 1; display: grid; align-items: center; padding: 42px clamp(24px, 7vw, 76px); overflow: hidden; }
.viewport-gate-copy { position: relative; z-index: 1; max-width: 620px; }
.viewport-gate-eyebrow { margin: 0 0 26px; color: #a7f3d0; font-size: 12px; letter-spacing: .13em; }
.viewport-gate h1 { margin: 0 0 18px; color: #d4f4df; font-size: clamp(22px, 4vw, 38px); font-weight: 500; letter-spacing: .08em; text-shadow: 0 0 10px rgba(110, 231, 183, .18); }
.viewport-gate-message { margin: 0 0 10px; color: #b4ddc4; font-size: 16px; }
.viewport-gate-detail { margin: 0; color: #648e77; font-size: 13px; }
.viewport-gate-status { margin: 34px 0 0; color: #648e77; font-size: 11px; }
.viewport-gate-status span { color: #d6bc86; margin-right: 10px; }
.viewport-gate-status b, .viewport-gate-footer b { color: #6ee7b7; font-weight: 400; }
.viewport-gate-signature { position: absolute; right: -3%; bottom: -8%; width: min(42vw, 430px); max-height: 90%; opacity: .18; filter: brightness(0) saturate(100%) invert(79%) sepia(24%) saturate(885%) hue-rotate(99deg) brightness(90%); pointer-events: none; }
.viewport-gate-footer { border-top: 1px solid rgba(110, 231, 183, .18); border-bottom: 0; }
@media (max-width: 560px) { .viewport-gate { padding: 10px; } .viewport-gate-screen { min-height: calc(100vh - 20px); } .viewport-gate-header, .viewport-gate-footer { font-size: 8px; } .viewport-gate-body { padding: 28px 20px; } .viewport-gate-signature { width: 60vw; opacity: .12; } }
