* {
    margin: 0;
    padding: 0;
}

html,
body {
    overflow: hidden;
}

.webgl {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

.jitter {
    animation-duration: 0.3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: jittery;
    z-index: -10;
}

.interface-wrapper {
    width: 100%;
    top: 64px;
    left: 64px;
}

.icon-control-container {
    height: 26.5px;
    width: 26.5px;
}

@media only screen and (max-width: 768px) {
    .interface-wrapper {
        width: 100%;
        top: 24px;
        left: 24px;
    }

    .icon-control-container {
        height: 19.5px;
        width: 19.5px;
    }
}

@keyframes jittery {
    10% {
        transform: translate(-0.1px, -0.15px) scale(1, 1);
    }

    20% {
        transform: translate(0.15px, 0.1px) scale(1, 1);
    }

    30% {
        transform: translate(-0.2px, -0.25px) scale(1, 1);
    }

    40% {
        transform: translate(0.05px, 0.1px) scale(1, 1);
    }

    50% {
        transform: translate(-0.025px, -0.05px) scale(1, 1);
    }

    60% {
        transform: translate(0px, 0.075px) scale(1, 1);
    }

    70% {
        transform: translate(-0.075px, -0.1px) scale(1, 1);
    }

    80% {
        transform: translate(0.075px, 0.125px) scale(1, 1);
    }

    90% {
        transform: translate(-0.125px, -0.075px) scale(1, 1);
    }

    100% {
        transform: translate(0.075px, 0.025px) scale(1, 1);
    }
}

/* Warm technical workspace: beige #E8D8BA, charcoal #20242B, teal #54D6B2, off-white #F7F5EF */
.pro-root {
    /* dusk (dark glass) is the default look */
    --glass: rgba(30, 27, 31, 0.66);
    --glass-strong: rgba(30, 27, 31, 0.94);
    --ink: #f7f5ef;
    --muted: #cfc8bd;
    --line: rgba(247, 245, 239, 0.16);
    --accent: #54d6b2;
    --accent-ink: #54d6b2;
    --on-accent: #20242b;
    --chip: rgba(84, 214, 178, 0.12);
    --top-fade: rgba(20, 16, 22, 0.55);
    --shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui,
        -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
}
.pro-root[data-theme='light'] {
    --glass: rgba(247, 245, 239, 0.8);
    --glass-strong: rgba(247, 245, 239, 0.95);
    --ink: #20242b;
    --muted: #4d5560;
    --line: rgba(32, 36, 43, 0.16);
    --accent-ink: #146a55; /* dark teal keeps text contrast on light glass */
    --chip: rgba(232, 216, 186, 0.55);
    --top-fade: rgba(247, 245, 239, 0.6);
    --shadow: 0 8px 28px rgba(32, 36, 43, 0.16);
}
.pro-root h1,
.pro-root h2,
.pro-root h3,
.pro-root p {
    font-family: inherit;
    color: inherit;
    margin: 0;
}
.pro-root h1,
.pro-root h2,
.pro-root h3 {
    font-weight: 700;
}
.pro-root button,
.pro-root a {
    font-family: inherit;
}
.pro-root :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.pro-root > * {
    pointer-events: auto;
}
.pro-hidden {
    opacity: 0;
    pointer-events: none !important;
    visibility: hidden;
}

/* ---- top bar ---- */
.pro-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    background: linear-gradient(var(--top-fade), transparent);
    border-bottom: 1px solid var(--line);
    pointer-events: none !important;
}
.pro-top > * {
    pointer-events: auto;
}
.pro-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease;
}
.pro-nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
    transition: opacity 0.3s ease;
}
.pro-nav button {
    cursor: pointer;
    position: relative;
    padding: 18px 12px;
    font-size: 14px;
    color: var(--muted);
    background: transparent;
    border: 0;
}
.pro-nav button:hover,
.pro-nav button.on {
    color: var(--ink);
}
.pro-nav button.on::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ---- toolbar (clock, music, mood) ---- */
.pro-toolbar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pro-nav + .pro-toolbar {
    margin-left: 8px;
}
.pro-tool,
.pro-clock {
    padding: 6px 12px;
    font-size: 13px;
    white-space: nowrap;
    color: var(--ink);
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 999px;
}
.pro-tool {
    cursor: pointer;
}
.pro-tool:hover {
    border-color: var(--accent);
}
.pro-audio {
    position: absolute;
    top: 44px;
    right: 0;
    display: flex;
    gap: 6px;
    padding: 6px;
    background: var(--glass-strong);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.pro-audio[hidden] {
    display: none;
}

/* ---- left profile panel ---- */
.pro-panel {
    position: absolute;
    left: 24px;
    top: 84px;
    width: 300px;
    padding: 24px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.pro-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-ink);
}
.pro-eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}
.pro-panel h1 {
    margin-top: 14px;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0.01em;
}
.pro-role {
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.pro-brand {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
}
.pro-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
}
.pro-tags li {
    padding: 2px 10px;
    font-size: 12px;
    color: var(--ink);
    background: var(--chip);
    border: 1px solid var(--line);
    border-radius: 999px;
}
.pro-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.pro-btn {
    cursor: pointer;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: border-color 0.15s, background 0.15s;
}
.pro-btn:hover {
    border-color: var(--accent);
    background: var(--chip);
}
.pro-btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}
.pro-btn.primary:hover {
    background: #6fe0c1;
}
.pro-social {
    display: flex;
    gap: 14px;
    margin-top: 14px;
    font-size: 13px;
}
.pro-social a,
.pro-links a,
.pro-cards a {
    color: var(--accent-ink);
    text-underline-offset: 3px;
}

/* ---- wall cards (positioned by JS every frame) ---- */
.pro-floats {
    position: absolute;
    inset: 0;
    pointer-events: none !important;
}
.pro-float {
    position: absolute;
    left: 0;
    top: 0;
    width: 156px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 9px 11px;
    text-align: left;
    color: var(--ink);
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, border-color 0.15s ease, background 0.15s ease;
    transform-origin: center;
}
.pro-float:hover,
.pro-float:focus-visible {
    border-color: var(--accent);
    background: var(--glass-strong);
}
.pf-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 10.5px;
    white-space: nowrap;
}
.pf-head b {
    font-weight: 700;
}
.pf-head i {
    font-style: normal;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1px 6px;
    color: var(--accent-ink);
    border: 1px solid var(--accent);
    border-radius: 999px;
}
.pf-steps {
    display: flex;
    justify-content: space-between;
}
.pf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    color: var(--muted);
}
.pf-check {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    font-size: 10px;
    color: var(--accent-ink);
    border: 1px solid var(--accent);
    border-radius: 50%;
}
.pf-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pf-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
}
.pf-row em {
    margin-left: auto;
    font-style: normal;
    color: var(--accent-ink);
}
.pf-row strong {
    margin-left: auto;
    font-size: 12px;
    color: var(--accent-ink);
}
.pf-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}
.pf-foot {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9.5px;
    color: var(--muted);
}

/* ---- section drawer ---- */
.pro-drawer {
    position: absolute;
    top: 72px;
    right: 16px;
    bottom: 56px;
    width: min(420px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    animation: pro-in 0.22s ease-out;
}
.pro-drawer header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}
.pro-drawer h2 {
    font-size: 18px;
}
.pro-close {
    cursor: pointer;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 1;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
}
.pro-close:hover {
    border-color: var(--accent);
}
.pro-drawer-body {
    padding: 16px 18px 20px;
    overflow: auto;
    font-size: 14px;
    line-height: 1.65;
}
.pro-drawer-body > * + * {
    margin-top: 12px;
}
.pro-lead {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}
.pro-quote {
    padding-left: 12px;
    border-left: 3px solid var(--accent);
    color: var(--muted);
    font-style: italic;
}
.pro-muted {
    font-size: 13px;
    color: var(--muted);
}
.pro-h3 {
    margin-top: 14px !important;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.pro-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.pro-cards li {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.pro-cards h3 {
    font-size: 15px;
}
.pro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
}
.pro-stats div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.pro-stats dt {
    font-size: 12px;
    color: var(--muted);
}
.pro-stats dd {
    margin: 2px 0 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-ink);
}
.pro-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 16px;
}

@keyframes pro-in {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---- tablet: no wall cards, smaller panel ---- */
@media (max-width: 1100px) {
    .pro-floats {
        display: none;
    }
    .pro-clock {
        display: none;
    }
    .pro-panel {
        width: 250px;
        padding: 18px;
    }
    .pro-panel h1 {
        font-size: 32px;
    }
    .pro-panel-tags {
        display: none;
    }
}

/* ---- phone: nothing requires the 3D scene ---- */
@media (max-width: 768px) {
    .pro-top {
        padding: 0 10px;
        gap: 8px;
        height: 52px;
    }
    .pro-logo {
        font-size: 14px;
    }
    .pro-nav {
        position: fixed;
        left: 8px;
        right: 8px;
        bottom: 62px;
        margin: 0;
        padding: 4px;
        overflow-x: auto;
        scrollbar-width: none;
        background: var(--glass);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: var(--shadow);
    }
    .pro-nav::-webkit-scrollbar {
        display: none;
    }
    .pro-nav button {
        flex: 0 0 auto;
        min-height: 44px;
        padding: 6px 9px;
        font-size: 13px;
    }
    .pro-nav button.on::after {
        bottom: 4px;
        left: 9px;
        right: 9px;
    }
    .pro-toolbar {
        margin-left: auto;
    }
    .pro-panel {
        left: 8px;
        right: 8px;
        top: auto;
        bottom: 124px;
        width: auto;
        padding: 12px 14px;
    }
    .pro-eyebrow {
        font-size: 10px;
    }
    .pro-panel h1 {
        margin-top: 6px;
        font-size: 22px;
    }
    .pro-role {
        margin-top: 2px;
    }
    .pro-brand {
        font-size: 13px;
        margin-top: 6px;
    }
    .pro-actions {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 10px;
        padding-top: 10px;
    }
    .pro-btn {
        min-height: 40px;
        padding: 6px 10px;
        font-size: 13px;
    }
    .pro-social {
        display: none;
    }
    .pro-tool {
        padding: 8px 10px;
        min-height: 36px;
    }
    .pro-drawer {
        z-index: 3;
        inset: 0;
        width: auto;
        border-radius: 0;
    }
    .pro-audio {
        position: fixed;
        top: 56px;
        right: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pro-drawer {
        animation: none;
    }
    .pro-panel,
    .pro-nav,
    .pro-btn,
    .pro-float,
    .pro-logo {
        transition: none;
    }
}

h1,
h2,
h3,
h4,
h5,
p {
    /* font-family: ocr-a-std, monospace; */
    font-family: monospace;
    font-weight: 400;
    font-style: normal;
    color: white;
    /* mobile friendly font size */
    font-size: 16px;
}

/* if on mobile */
@media only screen and (max-width: 768px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    p {
        font-size: 10px;
    }
}

br {
    padding-top: 8px;
    padding-bottom: 8px;
    height: 16px;
}

.loading::after {
    display: inline-block;
    animation: dotty steps(1, end) 1s infinite;
    content: '';
}

@keyframes dotty {
    0% {
        content: '   ';
    }
    25% {
        content: '. ';
    }
    50% {
        content: '.. ';
    }
    75% {
        content: '...';
    }
    100% {
        content: '   ';
    }
}
.blinking-cursor {
    background-color: #fff;
    width: 0.8em;
    height: 0.15em;
    -webkit-animation: 0.65s blink step-end infinite;
    -moz-animation: 0.65s blink step-end infinite;
    -ms-animation: 0.65s blink step-end infinite;
    -o-animation: 0.65s blink step-end infinite;
    animation: 0.65s blink step-end infinite;
}

@keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: white;
    }
}

@-moz-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: white;
    }
}

@-webkit-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: white;
    }
}

@-ms-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: white;
    }
}

@-o-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: white;
    }
}

.bios-start-button {
    background-color: #000;
    border: 4px solid #fff;
    border-width: 4px 3px 4px 3px;
}

.bios-start-button p {
    box-sizing: border-box;
    padding: 8px;
}

.bios-start-button:hover p {
    background-color: #fff;
    cursor: pointer;
    color: #000;
}

.loading-screen-header {
    padding: 48px;
}

.loading-screen-body {
    padding-left: 48px;
    padding-right: 48px;
}

.loading-screen-footer {
    padding: 48px;
    padding-bottom: 64px;
}

.info-wrapper {
    top: 64px;
    left: 64px;
}

/* if on mobile make all loading screen elements have a padding of 16 */
@media only screen and (max-width: 768px) {
    .loading-screen-header {
        padding: 16px;
    }

    .info-wrapper {
        top: 16px;
        left: 16px;
    }

    .blinking-cursor {
        background-color: #fff;
        width: 0.4em;
        height: 0.08em;
        -webkit-animation: 0.65s blink step-end infinite;
        -moz-animation: 0.65s blink step-end infinite;
        -ms-animation: 0.65s blink step-end infinite;
        -o-animation: 0.65s blink step-end infinite;
        animation: 0.65s blink step-end infinite;
    }
    
    .loading-screen-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .loading-screen-footer {
        padding: 16px;
        padding-bottom: 32px;
    }
}

/* light theme for the HUD chips */
.info-light p {
    color: #2b2b2b;
    font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif;
}

.blinking-cursor-dark {
    background-color: #2b2b2b;
    animation: 0.65s blink-dark step-end infinite;
}

@keyframes blink-dark {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: #2b2b2b;
    }
}


/*# sourceMappingURL=main.css.map*/