.hv-world{--hv-signal:#edbb67;--hv-dim:#b5a78f;--hv-bg:#101c1e;--hv-line:#48605c;color:#e7e8d9;background:var(--hv-bg);border:1px solid #69776c;border-radius:14px;overflow:hidden;font:14px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}.hv-world[data-theme=green]{--hv-signal:#a1edab}.hv-world[data-theme=ice]{--hv-signal:#93ddea}.hv-header{padding:36px 5% 24px;background:repeating-linear-gradient(0deg,#ffffff02 0 1px,transparent 1px 4px),linear-gradient(115deg,#2b342c,#111d20 70%);border-bottom:5px double #8b7755}.hv-header h2{color:var(--hv-signal);font:bold clamp(38px,6vw,68px)/1 monospace;letter-spacing:.13em;margin:24px 0 12px;text-shadow:0 0 18px #f5b95a18}.hv-header h2 span{display:block;font:12px/2 monospace;letter-spacing:.27em;margin-top:10px;color:#aab9af}.hv-header>p{font-size:17px}.hv-connect{border-top:1px solid #586c5b;padding-top:15px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#bdc6b9}.hv-led{width:8px;height:8px;display:inline-block;border-radius:50%;background:#7d5941}.hv-led.on{background:#95c882}.hv-tabs{display:flex;overflow-x:auto;gap:6px;padding:14px 3%;background:#0c1619;border-bottom:1px solid var(--hv-line);scrollbar-width:thin}.hv-world button{background:#1e302f;color:var(--hv-signal);border:1px solid #5e7667;border-radius:3px;font:13px/1.4 monospace;padding:8px 11px;cursor:pointer}.hv-world button[aria-current=page]{background:var(--hv-signal);color:#142420;border-color:var(--hv-signal)}.hv-tabs button{white-space:nowrap}.hv-world button:hover{border-color:var(--hv-signal)}.hv-world button:disabled{opacity:.5;cursor:default}.hv-world :focus-visible{outline:3px solid #b6e7e5;outline-offset:4px}.hv-world a{color:#9ad5d0;overflow-wrap:anywhere}.hv-world [data-desk-status]{padding:0 5%;min-height:1.4em;color:#f2d198}.hv-world [data-desk-content]{padding:18px 5% 36px;min-width:0}.hv-world h3{font-size:25px;color:var(--hv-signal);line-height:1.25}.hv-world h4{font-size:17px;color:#e1d9b9;margin:12px 0}.hv-card{background:#152426;border:1px solid #435e55;padding:22px;margin:16px 0;border-radius:3px;overflow-wrap:anywhere}.hv-card button{margin:8px 8px 0 0}.hv-card small,.hv-muted{color:#b1beb2;font-size:12px}.hv-field{display:flex;flex-direction:column;gap:8px;margin:14px 0;flex:1;min-width:0;color:#c2c8b7;font-size:12px}.hv-world input,.hv-world textarea,.hv-world select{background:#091618;color:#d9e7d0;border:1px solid #61796b;border-radius:2px;padding:10px;font:14px/1.5 monospace;box-sizing:border-box;max-width:100%}.hv-world textarea{width:100%;resize:vertical;min-height:150px}.hv-world fieldset{border:0;padding:0;min-width:0}.hv-toolbar,.hv-actions{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.hv-notice{border-left:3px solid var(--hv-signal);background:#a5b7760c;padding:14px;color:#dfd5b8}.hv-terminal-scroll{background:#070c10;border:7px solid #293c38;border-radius:8px;overflow-x:auto;max-width:100%;padding:12px;box-shadow:inset 0 0 30px #0008}.hv-screen{font:12px/1.12 'Courier New',monospace;letter-spacing:0;white-space:pre;margin:0;min-width:max-content;color:#c4bb9b;tab-size:8}.hv-screen span{font:inherit}.hv-transcript{max-height:240px;overflow:auto;white-space:pre-wrap;color:#9ab8a3;background:#0a1618;padding:16px;font:12px/1.5 monospace}.hv-writing{white-space:pre-wrap}.hv-world pre{overflow:auto;max-width:100%}.hv-card>details pre{font-size:11px;max-height:340px;white-space:pre-wrap}.hv-grid{display:grid;grid-template-columns:repeat(5,42px);max-width:max-content;border:1px solid #7e957c}.hv-grid span{display:grid;place-items:center;width:42px;height:38px;border:1px solid #415a4e;color:var(--hv-signal);font-size:24px}.hv-import{border:1px dashed #7c917b;padding:10px;font-size:12px;max-width:100%}.hv-import input{display:block;font-size:11px;max-width:260px;margin-top:8px}.hv-world details{margin:18px 0}.hv-world summary{cursor:pointer;color:var(--hv-signal)}.hv-table{overflow-x:auto}.hv-table table{border-collapse:collapse;width:100%;font-size:12px}.hv-table td,.hv-table th{padding:14px;border:1px solid #486457;text-align:left;vertical-align:top}.hv-table th{color:#e7c68d}.hv-world footer{padding:18px 5%;border-top:1px solid var(--hv-line);color:#acb9ae;font-size:11px}.hv-world footer button{margin-left:12px}.hv-thread{border-left:3px solid #87af9b;padding-left:16px}@media(max-width:650px){.hv-header h2{font-size:38px;letter-spacing:.06em}.hv-header{padding:24px 5%}.hv-screen{font-size:11px}.hv-world [data-desk-content]{padding:16px 4%}.hv-card{padding:16px}.hv-world button{min-height:40px}.hv-toolbar>*{min-width:100%}}

/* The display bar stays outside the scrolling work area in full-screen mode. */
.hv-display-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 4%;background:#0a1618;border-bottom:1px solid var(--hv-line);flex:none}
.hv-display-bar>strong{font:600 14px/1.2 monospace;color:var(--hv-signal);white-space:nowrap}
.hv-display-bar>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.hv-world .hv-display-bar button,.hv-world .hv-dialup button{min-height:44px}
.hv-world :focus-visible{outline:3px solid var(--hv-signal);outline-offset:2px}
.hv-dialup{padding:16px 4%;border-bottom:1px solid var(--hv-line);background:#091417;flex:none;max-height:38dvh;overflow:auto;overscroll-behavior:contain}
.hv-dialup[hidden],.hv-world [data-hvn-action][hidden]{display:none!important}
.hv-dialup>div:first-child{display:flex;align-items:center;gap:10px;color:var(--hv-signal)}
.hv-dialup pre{font:14px/1.5 monospace;margin:12px 0;white-space:pre-wrap;min-height:3em}
.hv-dialup small{color:var(--hv-dim)}
.hv-dialup .hv-actions{margin-top:12px}
.hv-dialup[data-phase=connected]{border-color:#a1edab}
.hv-system-bulletins>summary{font-size:12px;color:var(--hv-dim)}
body[data-heaven-fullscreen=true]{overflow:hidden}
body[data-heaven-fullscreen=true] .verse-window{position:fixed!important;inset:0!important;transform:none!important;width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;border:0!important;border-radius:0!important;resize:none;overflow:hidden!important;opacity:1!important;--verse-window-alpha:1}
body[data-heaven-fullscreen=true] .verse-window-bar{display:none!important}
.hv-world[data-fullscreen=true],.hv-world:fullscreen{position:fixed;inset:0;z-index:40;box-sizing:border-box;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);display:flex;flex-direction:column;overflow:hidden;background:var(--hv-bg)}
.hv-world[data-fullscreen=true]>.hv-header{padding:6px 4%;border-bottom:1px solid var(--hv-line);flex:none}
.hv-world[data-fullscreen=true]>.hv-header>.eyebrow,.hv-world[data-fullscreen=true]>.hv-header>h2,.hv-world[data-fullscreen=true]>.hv-header>p,.hv-world[data-fullscreen=true]>footer{display:none}
.hv-world[data-fullscreen=true]>.hv-tabs{flex:none;padding:8px 3%;max-height:100px}
.hv-world[data-fullscreen=true]>[data-desk-status]{flex:none;margin:6px 0;min-height:0;max-height:16dvh;overflow:auto}
.hv-world[data-fullscreen=true]>[data-desk-status]:empty{display:none}
.hv-world[data-fullscreen=true]>[data-desk-content]{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 4% 30px}
.hv-world[data-fullscreen=true] .hv-display-bar{flex:none}
@media(max-width:480px){.hv-display-bar{padding:8px 10px;gap:8px}.hv-display-bar>strong{font-size:12px}.hv-display-bar button{font-size:11px;padding:8px}.hv-world[data-fullscreen=true]>.hv-header{font-size:11px}.hv-dialup{padding:12px}.hv-dialup .hv-actions{gap:6px}.hv-world .hv-dialup button{font-size:11px}}
