/*
Copyright (C) 2026 AstroPC (astroskyoffical)
SPDX-License-Identifier: GPL-3.0-only
Original project portions only; see https://github.com/astroskyoffical/PSVR-2-DroidXR/blob/main/LICENSE-SCOPE.md
License: https://www.gnu.org/licenses/gpl-3.0.html
*/
:root{color-scheme:dark;--paper:#080808;--ink:#ededed;--muted:#a0a0a0;--edge-alpha:.12;--edge-glow:3px;--bass-level:0;--pulse-glow:0;--logo-flash:0;--surface-glow:0;--trace-offset:0px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.85 "Segoe UI",Arial,sans-serif;padding:0 26px 90px;overflow-x:hidden}
#signal-canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.hacker-emblem{position:fixed;right:clamp(22px,4vw,90px);top:31vh;width:clamp(140px,14vw,190px);z-index:3;touch-action:none;user-select:none;cursor:grab;padding:8px;border:0;background:transparent;color:#fff;opacity:calc(.46 + var(--logo-flash)*.54);transform:translate(calc(var(--drag-x,0px) + var(--emblem-x,0px)),calc(var(--drag-y,0px) + var(--emblem-y,0px))) rotate(var(--emblem-tilt,0deg)) scale(calc(1 + var(--logo-flash)*.045));filter:drop-shadow(0 0 calc(2px + var(--logo-flash)*15px) #ffffff90);will-change:transform}.hacker-emblem.dragging{cursor:grabbing}.hacker-emblem:hover{color:#fff}.hacker-emblem svg{display:block;width:100%;height:auto;pointer-events:none}.emblem-orbit{opacity:.38;stroke-width:.8}.emblem-eyes{opacity:calc(.5 + var(--logo-flash)*.5)}
a{color:inherit;text-decoration:none;border-bottom:1px solid #777;padding-bottom:2px}a:hover{border-color:#fff}button,summary,a{touch-action:manipulation}:focus-visible{outline:2px solid #fff;outline-offset:5px}
.page-header,main{position:relative;z-index:1;width:min(720px,100%);margin:auto}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:31px 0 28px;font:12px/1.4 Consolas,monospace;color:#b5b5b5}.author{color:#dedede}.page-header nav{display:flex;gap:21px}.page-header a{border:0}
main{padding-top:36px}.intro{padding-bottom:55px}.note-label,.section-number{font:11px/1.7 Consolas,monospace;letter-spacing:.035em;color:#a1a1a1;margin:0 0 16px}h1{font-size:44px;line-height:1.15;font-weight:580;letter-spacing:-.04em;margin:0 0 21px}h2{font-size:22px;line-height:1.4;font-weight:500;letter-spacing:-.015em;margin:0 0 19px}.lead{font-size:19px;line-height:1.7;max-width:660px;color:#d3d3d3;margin:0}.intro,.page-header,section,footer{background:rgba(8,8,8,.78)}
.hero-purpose{font-size:29px;line-height:1.35;letter-spacing:-.025em;color:#e2e2e2;margin:0 0 23px;font-weight:450}.lead{font-size:17px;line-height:1.8;max-width:650px;color:#bcbcbc}.target-paths{margin:27px 0 23px;border-left:1px solid #383838;padding-left:15px;font:11px/1.8 Consolas,monospace;color:#bbb}.target-paths p{margin:0 0 9px}.target-paths span{display:block;color:#888;font-size:10px}.target-paths i{font-style:normal;margin:0 4px;color:#ddd}.target-paths small{display:block;max-width:530px;margin-top:14px;font:11px/1.7 "Segoe UI",sans-serif;color:#8f8f8f}.read-story{display:inline-block;font:11px/1.5 Consolas,monospace;margin-top:27px;color:#bbb}.project-links .source-note{font-size:12px;line-height:1.8;color:#929292;max-width:640px}
.current-note{font:12px/1.9 Consolas,monospace;color:#b9b9b9;margin:0}.status-dot{display:inline-block;width:5px;height:5px;background:#e5e5e5;border-radius:50%;margin-right:8px;box-shadow:0 0 var(--edge-glow) #ffffff70}.indent{padding-left:13px}
section{padding:36px 0 37px 24px;margin-left:-25px;border-top:1px solid rgba(255,255,255,.10);border-left:1px solid rgba(255,255,255,var(--edge-alpha));box-shadow:-3px 0 var(--edge-glow) rgba(255,255,255,.025)}section p:not(.section-number){color:#bcbcbc;margin:0 0 17px;max-width:690px}section p:last-child{margin-bottom:0}.project-links{padding-bottom:30px}.project-links a{display:inline-block;margin-bottom:10px;border-color:#666;text-shadow:0 0 var(--edge-glow) #ffffff0d}footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #242424;padding:24px 0;font:10px/1.6 Consolas,monospace;color:#828282}footer a{border:0}
code{font:14px/1.6 Consolas,monospace;color:#d6d6d6}.evidence-note{margin:24px 0 0;border-top:1px solid #303030;border-bottom:1px solid #303030;font-size:15px}.evidence-note summary{padding:14px 0;color:#d1d1d1;cursor:pointer}.evidence-note summary::marker{color:#929292}.evidence-scroll{overflow-x:auto}.evidence-note table{border-collapse:collapse;width:100%;text-align:left;font-size:14px;line-height:1.7;margin:0 0 18px}.evidence-note th,.evidence-note td{padding:10px 12px 10px 0;border-bottom:1px solid #262626;vertical-align:top}.evidence-note th{color:#d3d3d3;font-weight:500}.evidence-note td{color:#aaa}.evidence-note p{font-size:14px;line-height:1.8;padding-bottom:16px}.motion-off .hacker-emblem{transform:translate(var(--drag-x,0px),var(--drag-y,0px));filter:none;will-change:auto;opacity:.46}
.sound-tools{position:fixed;right:22px;bottom:18px;z-index:5;color:#aaa;font:11px/1.4 Consolas,monospace;background:#090909ec;border:1px solid #333;border-radius:4px}.tool-row{display:flex;gap:0;align-items:center}.tool-row button,.tool-row summary{border:0;border-right:1px solid #292929;background:transparent;color:#b8b8b8;font:inherit;cursor:pointer;min-height:35px;padding:9px 11px;white-space:nowrap}.tool-row button:hover,.tool-row summary:hover{color:white}.tool-row summary{font-size:18px;list-style:none;line-height:17px;border:0}.tool-row summary::-webkit-details-marker{display:none}.audio-panel{position:absolute;right:0;bottom:45px;width:315px;max-width:calc(100vw - 40px);padding:15px;background:#0b0b0b;border:1px solid #444;border-radius:4px;box-shadow:0 10px 35px #0008}.audio-panel audio{width:100%;height:35px}.audio-panel p{font:11px/1.6 "Segoe UI",sans-serif;color:#c6c6c6}.audio-panel .credit{font-size:10px;color:#828282}.sound-tools button[aria-pressed=true]{color:#fff}
@media(max-width:600px){body{padding:0 21px 95px;font-size:15px;line-height:1.85}.page-header{padding:24px 0;font-size:11px;gap:12px}.page-header nav{gap:13px}main{padding-top:20px}h1{font-size:36px}.lead{font-size:17px;line-height:1.7}.intro{padding-bottom:37px}section{padding:28px 0 29px 14px;margin-left:-15px}h2{font-size:20px}footer{align-items:flex-start;font-size:9px}.sound-tools{right:13px;bottom:13px}.tool-row button,.tool-row summary{padding:9px 10px;font-size:10px}.tool-row summary{font-size:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{font-size:18px;line-height:1.85}.page-header,main{width:min(780px,100%)}.page-header{font-size:13px}.note-label,.section-number{font-size:13px}.lead{font-size:19px;max-width:720px}h2{font-size:25px}section p:not(.section-number){max-width:750px;color:#c7c7c7}.target-paths{font:16px/1.75 "Segoe UI",Arial,sans-serif;border-color:#777;padding-left:19px}.target-paths span{font:13px/1.7 Consolas,monospace;color:#aaa}.target-paths small{font-size:14px;color:#aaa;max-width:650px}.current-note{font:14px/1.8 "Segoe UI",Arial,sans-serif;color:#c5c5c5}.read-story{font-size:13px}.project-links .source-note{font-size:14px}footer{font-size:12px}.audio-panel p{font-size:13px}.audio-panel .credit{font-size:12px}
.breakthrough{padding-top:31px}.demo-frame{margin:25px 0 15px;border:1px solid rgba(255,255,255,var(--edge-alpha));box-shadow:0 0 var(--edge-glow) #ffffff13;background:#111}.demo-frame video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#000}.demo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;color:#aaa;font-size:13px;line-height:1.5}.demo-toolbar button{border:1px solid #555;border-radius:3px;background:#151515;color:#ddd;font:inherit;min-height:38px;padding:6px 11px;cursor:pointer}section .media-caption{font-size:14px;line-height:1.75;color:#aaa}
.arrival-dialog{position:fixed;width:min(490px,calc(100% - 36px));max-height:calc(100% - 36px);padding:32px;border:1px solid #666;border-radius:7px;background:#101010;color:#eee;box-shadow:0 20px 100px #000b;font:17px/1.7 "Segoe UI",Arial,sans-serif}.arrival-dialog::backdrop{background:#0009}.arrival-dialog h2{padding-right:20px;margin-bottom:14px}.arrival-dialog p:not(.note-label){color:#bdbdbd;margin:0 0 25px}.invitation-close{position:absolute;right:10px;top:10px;border:0;background:transparent;color:#bbb;font-size:25px;line-height:1;min-width:40px;min-height:40px;cursor:pointer}.invitation-actions{display:flex;flex-wrap:wrap;gap:12px}.invitation-actions button{min-height:46px;padding:10px 16px;border:1px solid #666;border-radius:4px;background:transparent;color:#ddd;font:15px/1.4 "Segoe UI",Arial,sans-serif;cursor:pointer}.invitation-actions #sound-approve,.invitation-actions #mission-explore{background:#e6e6e6;color:#111;border-color:#e6e6e6}.invitation-actions button:hover,.invitation-close:hover{border-color:#fff;color:#fff}.invitation-actions #sound-approve:hover,.invitation-actions #mission-explore:hover{background:#fff;color:#080808}
@media(max-width:1150px){.hacker-emblem{right:8px;width:116px}}
.build-note h3{font-size:22px;line-height:1.45;font-weight:500;margin:26px 0 17px;letter-spacing:-.01em}.startup-line{font:14px/1.8 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;padding:13px 15px;margin:0 0 18px;border:1px solid #383838;background:#101010;color:#ddd}.build-note .evidence-note{margin-bottom:24px}
@media(max-width:600px){body{font-size:17px}.page-header{font-size:12px}.page-header nav{gap:12px}h2{font-size:23px}.hacker-emblem{position:absolute;right:13px;top:105px;bottom:auto;width:62px}.note-label{max-width:260px}.hero-purpose{font-size:25px;line-height:1.4}.lead{font-size:18px}.target-paths{font-size:16px;padding-left:14px}.target-paths small{font-size:14px}.current-note{font-size:14px}.evidence-note table{font-size:13px}.evidence-note th,.evidence-note td{padding-right:8px}footer{font-size:11px}.demo-toolbar{font-size:12px;gap:6px;padding:9px}.demo-toolbar button{font-size:12px;padding:6px}.note-label,.section-number{font-size:12px}}
@media(prefers-reduced-motion:reduce){.hacker-emblem{transform:translate(var(--drag-x,0px),var(--drag-y,0px));filter:none;will-change:auto;opacity:.46}}

/* Light technical surfaces keep small information legible without changing the dark journal. */
.note-label,.section-number{display:table;width:fit-content;padding:4px 9px;border:1px solid #dedede;border-radius:4px;background:#f5f5f5;color:#222;font-size:13px;line-height:1.55;letter-spacing:.02em}
.target-paths,.current-note,.project-links .source-note{background:#f5f5f5;color:#222;border:1px solid #dedede;border-radius:8px;box-shadow:none}
.target-paths{padding:17px 19px;font-size:16px}.target-paths p{color:inherit}.target-paths span{font-size:13px;color:#505050}.target-paths i{color:#171717}.target-paths small{font-size:14px;color:#464646}
.current-note{padding:12px 15px;font-size:14.5px}.current-note .status-dot{background:#171717;box-shadow:none}.project-links .source-note{padding:15px 17px;font-size:15px;line-height:1.75;color:#333}
code{padding:.12em .35em;border:1px solid #dedede;border-radius:4px;background:#f5f5f5;color:#111;font-size:14.5px;overflow-wrap:anywhere;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.evidence-note{padding:0 17px;margin-top:24px;border:1px solid #dedede;border-radius:8px;background:#f5f5f5;color:#222;box-shadow:none;font-size:16px}.evidence-note summary{padding:15px 0;color:#111;line-height:1.6}.evidence-note summary::marker{color:#555}.evidence-note p:not(.section-number){color:#333;font-size:15.5px;line-height:1.8;padding-bottom:10px}.evidence-note table{font-size:14px;color:#222}.evidence-note th,.evidence-note td{border-color:#d5d5d5;color:#333}.evidence-note th{color:#111}.evidence-note code{background:#fff;color:#111;border-color:#ddd}.evidence-note a:hover{border-color:#111}.startup-line{padding:14px 16px;border-color:#d2d2d2;border-radius:6px;background:#fff;color:#111;font-size:14.5px;line-height:1.85}.startup-line code{padding:0;border:0;background:transparent;color:inherit;font:inherit}
.demo-toolbar{padding:11px 14px;background:#f5f5f5;color:#333;font-size:14px}.demo-toolbar button{background:#fff;border-color:#ccc;border-radius:5px;color:#111;font-size:14px;min-height:40px}section .media-caption{font-size:16px;line-height:1.75;color:#bcbcbc}
.sound-tools{border-color:#d5d5d5;border-radius:6px;background:#f5f5f5;color:#222;font-size:12.5px}.tool-row button,.tool-row summary{min-height:40px;border-color:#d5d5d5;color:#222;font-size:12.5px;padding:10px}.tool-row summary{font-size:19px}.tool-row button:hover,.tool-row summary:hover{background:#e7e7e7;color:#000}.sound-tools button[aria-pressed=true]{background:#e1e1e1;color:#111}.audio-panel{bottom:49px;width:330px;background:#fff;border-color:#d5d5d5;border-radius:8px;color:#222}.audio-panel audio{color-scheme:light}.audio-panel p{color:#333;font-size:14px}.audio-panel .credit{color:#555;font-size:13px}
.evidence-note :focus-visible,.target-paths :focus-visible,.sound-tools :focus-visible,.demo-toolbar :focus-visible{outline-color:#111;outline-offset:-3px}
@media(max-width:600px){.note-label,.section-number{font-size:13px}.target-paths{padding:14px 15px}.current-note{padding:12px 14px;font-size:14px}.evidence-note{padding:0 13px}.evidence-note table{font-size:14px}.evidence-note p:not(.section-number){font-size:15px}.startup-line{padding:12px;font-size:14px}code{font-size:14px}.demo-toolbar{font-size:13px;padding:10px}.demo-toolbar button{font-size:13px}.tool-row button,.tool-row summary{min-height:42px;font-size:12px;padding:10px 9px}.tool-row summary{font-size:19px}.project-links .source-note{font-size:14px}footer{font-size:12px}}

/* A soft outer halo changes only paint; panel fills, text and video pixels stay steady. */
.note-label,.section-number,.target-paths,.current-note,.project-links .source-note,.evidence-note,.sound-tools,.audio-panel{box-shadow:0 0 1px #ffffff24,0 0 calc(6px + var(--surface-glow)*10px) rgba(255,255,255,calc(.035 + var(--surface-glow)*.10))}
.demo-frame{border-color:rgba(255,255,255,calc(.18 + var(--surface-glow)*.20));box-shadow:0 0 1px #ffffff35,0 0 calc(7px + var(--surface-glow)*11px) rgba(255,255,255,calc(.045 + var(--surface-glow)*.11))}

/* Mission navigation and optional build history use the existing journal surfaces. */
.mission-copy{font-size:17px;line-height:1.8;color:#bcbcbc;margin:20px 0 24px;max-width:720px}.intro-actions{display:flex;flex-wrap:wrap;gap:14px 25px;margin-top:25px}.intro-actions .read-story{margin:0;font-size:15px;line-height:1.7}
.method-steps,.reproduce-steps{padding-left:1.4em;margin:22px 0;color:#c7c7c7}.method-steps li,.reproduce-steps li{padding-left:.2em;margin-bottom:16px}.method-steps strong{color:#ededed;font-weight:550}section>h3{font-size:21px;line-height:1.5;font-weight:500;margin:27px 0 16px}
.history-step{padding:24px 0 8px;border-top:1px solid #d5d5d5}.history-step:first-of-type{border:0;padding-top:10px}.history-step h3,.history-step h4{color:#111;font-size:20px;line-height:1.5;font-weight:550;margin:15px 0}.history-step h4{font-size:18px}.history-step .evidence-note{margin-bottom:15px}.history-step .section-number{margin-bottom:14px}#build-history>summary{font-size:16px}
@media(max-width:600px){.mission-copy{font-size:16px;line-height:1.8}.intro-actions{gap:12px 20px}.intro-actions .read-story{font-size:14px}.method-steps,.reproduce-steps{padding-left:1.25em}.history-step h3{font-size:19px}}

.mission-invitation{width:min(560px,calc(100% - 36px))}.mission-invitation h2{font-size:29px;line-height:1.3;letter-spacing:-.025em}.arrival-dialog{overflow:auto}.mission-invitation .note-label{max-width:100%}
@media(max-width:600px){.mission-invitation{padding:26px}.mission-invitation h2{font-size:25px}.arrival-dialog{font-size:16px}.mission-invitation .invitation-actions{gap:10px}}

/* A finite, monochrome arrival scene. Controls stay clear throughout the reveal. */
.mission-invitation{inset:0;margin:0;width:100%;max-width:none;height:100%;max-height:none;padding:40px 26px;border:0;border-radius:0;background:#080808;box-shadow:none;overflow:auto}
.mission-invitation[open]{display:flex}.mission-invitation::backdrop{background:#0006}
#mission-vapor{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.mission-card{position:relative;z-index:1;width:min(620px,100%);margin:auto}.mission-prose{animation:mission-resolve 2.2s cubic-bezier(.2,.65,.3,1) both}
.mission-invitation .note-label{max-width:100%;background:transparent;color:#aaa;box-shadow:none;border:0;padding:0;margin-bottom:24px;letter-spacing:.12em;text-transform:uppercase;font-size:12px}
.mission-invitation .mission-card h2{font-size:clamp(30px,4vw,46px);line-height:1.16;letter-spacing:-.035em;padding:0;margin:0 0 27px;font-weight:500;color:#eee}
.mission-invitation .mission-card p:not(.note-label){font-size:18px;line-height:1.75;color:#c7c7c7;margin-bottom:22px}.mission-invitation .invitation-actions{margin-top:32px}.mission-invitation .invitation-close{position:fixed;right:22px;top:20px;z-index:2}
.mission-invitation.is-leaving{animation:mission-surface-out 1.7s ease both}.mission-invitation.is-leaving::backdrop{animation:mission-backdrop-out 1.7s ease both}.is-leaving .mission-prose{animation:mission-dissolve 1.4s ease-in both}.is-leaving .invitation-actions,.is-leaving .invitation-close{animation:mission-simple-out .28s ease both}
.mission-invitation.is-skipping{animation:mission-simple-out .18s ease both}.mission-invitation.is-skipping::backdrop{animation:mission-backdrop-out .18s ease both}.is-skipping .mission-prose{animation:none}
@keyframes mission-resolve{0%{opacity:0;filter:blur(9px);transform:translateY(10px)}45%{opacity:.8;filter:blur(2px)}100%{opacity:1;filter:blur(0);transform:none}}
@keyframes mission-dissolve{0%{opacity:1;filter:blur(0);transform:none}45%{opacity:.55;filter:blur(2px)}100%{opacity:0;filter:blur(9px);transform:translate(12px,-18px)}}
@keyframes mission-surface-out{from{background-color:#080808}to{background-color:rgba(8,8,8,0)}}
@keyframes mission-backdrop-out{to{background-color:transparent}}
@keyframes mission-simple-in{from{opacity:0}to{opacity:1}}
@keyframes mission-simple-out{to{opacity:0}}
.motion-off .mission-prose{animation:mission-simple-in .18s ease both}.motion-off #mission-vapor{display:none}.motion-off .mission-invitation.is-leaving{animation:mission-simple-out .18s ease both}.motion-off .is-leaving .mission-prose{animation:none}
@media(prefers-reduced-motion:reduce){.mission-prose{animation:mission-simple-in .18s ease both}#mission-vapor{display:none}.mission-invitation.is-leaving{animation:mission-simple-out .18s ease both}.is-leaving .mission-prose{animation:none}}
@media(max-width:600px){.mission-invitation{padding:72px 25px 36px}.mission-invitation .mission-card h2{font-size:31px;margin-bottom:22px}.mission-invitation .mission-card p:not(.note-label){font-size:16px;line-height:1.7}.mission-invitation .note-label{font-size:11px;margin-bottom:21px}.mission-invitation .invitation-actions{margin-top:26px}.mission-invitation .invitation-close{right:15px;top:14px}}
.ivry-acknowledgment{margin:26px 0;padding:20px 0 6px;border-top:1px solid #777;border-bottom:1px solid #555}.ivry-acknowledgment h3{font-size:23px;line-height:1.4;font-weight:500;margin:0 0 16px}.ivry-acknowledgment p{font-size:17px}
.emblem-scan{opacity:calc(.12 + var(--logo-flash)*.12)}.emblem-unlocked{stroke-linejoin:miter}
.emblem-dock{height:0}.hacker-emblem,.motion-off .hacker-emblem{opacity:1}.hacker-emblem svg{opacity:calc(.46 + var(--logo-flash)*.54)}.emblem-motto{display:block;color:#e5e5e5;font:15px/1.55 Consolas,monospace;letter-spacing:.035em;text-align:center;pointer-events:none;margin-top:4px}.emblem-motto span{display:block;white-space:nowrap}
@media(max-width:1279px){.emblem-dock{height:174px;display:flex;align-items:center;justify-content:center;margin:22px 0 28px}.hacker-emblem{position:relative;inset:auto;display:flex;align-items:center;gap:16px;width:300px;max-width:calc(100% - 28px);padding:8px 0}.hacker-emblem svg{width:116px;flex:0 0 116px}.emblem-motto{font-size:20px;line-height:1.6;text-align:left;margin:0;letter-spacing:0}}
@media(max-width:380px){.hacker-emblem{gap:12px}.hacker-emblem svg{width:100px;flex-basis:100px}.emblem-motto{font-size:19px}}
section .target-paths p{color:#222}
.demo-toolbar{flex-wrap:wrap}.demo-toolbar>span{flex:1 1 170px}.video-actions{display:flex;gap:8px;flex-wrap:wrap}
