/* =========================================================
   SETUP PAGE
   ========================================================= */

html body.setup-page .setup-main {
    width: min(1000px, calc(100% - 48px));
    align-items: stretch;
}

html body.setup-page .setup-shell {
    width: 100%;
    margin: 0 auto;
    padding: 40px 0 80px;
}


/* =========================================================
   HEADING
   ========================================================= */










/* =========================================================
   DOCUMENT
   ========================================================= */

html body.setup-page .setup-document {
    margin-top: 24px;

    display: grid;

    gap: 20px;
}

html body.setup-page .setup-section {
    position: relative;
    padding: 28px;
    border-bottom: 1px solid var(--line);

    border: 1px solid var(--line);

    border-radius: var(--radius);

    background: linear-gradient(145deg, var(--accent-soft), transparent 60%), var(--surface);
}





html body.setup-page .setup-section h2 {
    margin: 0 0 22px;
    color: var(--text);
    font-size: 24px;
    font-weight: 700;

    letter-spacing: -.035em;
}


/* =========================================================
   SPECS
   ========================================================= */

html body.setup-page .setup-specs {
    display: grid;
    gap: 0;
}

html body.setup-page .setup-spec {
    display: grid;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);

    grid-template-columns: 100px minmax(0, 1fr) 44px;
}

html body.setup-page .setup-spec:last-child {
    border-bottom: 0;
}

html body.setup-page .setup-label {
    min-width: 0;
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.4;

    overflow-wrap: anywhere;
}

html body.setup-page .setup-value {
    min-width: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.65;

    overflow-wrap: anywhere;
}

html body.setup-page .copy-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    opacity: 1;
    transition:
        opacity .15s ease,
        color .15s ease,
        background .15s ease,
        transform .15s ease;

    position: relative;
}

html body.setup-page .setup-spec:hover .copy-btn,
html body.setup-page .copy-btn:focus-visible {
    opacity: 1;
}

html body.setup-page .copy-btn:hover {
    color: var(--text);
    background: var(--surface-2);
}

html body.setup-page .copy-btn:active {
    transform: scale(.92);
}

html body.setup-page .copy-btn.copied {
    color: var(--success);
    opacity: 1;
}


/* =========================================================
   SHARED WIREFRAME
   ========================================================= */

html body.setup-page .pc-layout,
html body.setup-page .monitor-layout,
html body.setup-page .peripherals-layout,
html body.setup-page .audio-layout {
    user-select: none;
}

html body.setup-page .wire-fan {
    width: 35px;
    height: 35px;
    position: relative;
    border: 1px solid var(--muted-2);
    border-radius: 50%;
    background: var(--surface-2);
}

html body.setup-page .wire-fan::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px dashed var(--line);
    border-radius: 50%;
}

html body.setup-page .wire-fan::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border: 1px solid var(--muted-2);
    border-radius: 50%;
    background: var(--bg);
    transform: translate(-50%, -50%);
}


/* =========================================================
   PC
   ========================================================= */

html body.setup-page .pc-content {
    display: flex;
    align-items: center;
    gap: 44px;
}

html body.setup-page .pc-content .setup-specs {
    flex: 1;
    min-width: 0;
}

html body.setup-page .pc-layout {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

html body.setup-page .pc-wireframe {
    width: 205px;
    height: 225px;
    position: relative;
    padding: 18px 7px 8px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background-color: var(--surface-2);
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 16px 16px;
}

html body.setup-page .pc-topbar {
    position: absolute;
    top: 7px;
    left: 10px;
    right: 10px;
    height: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

html body.setup-page .pc-topbar span {
    width: 3px;
    height: 3px;
    display: block;
    border: 1px solid var(--muted-2);
    border-radius: 50%;
}

html body.setup-page .pc-topbar span:last-child {
    margin-left: auto;
    width: 18px;
    border-radius: 2px;
}

html body.setup-page .pc-glass {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--bg);
}

html body.setup-page .pc-motherboard {
    position: absolute;
    top: 20px;
    left: 26px;
    width: 105px;
    height: 118px;
    border: 1px solid var(--line);
    border-radius: 3px;
    opacity: .75;
}

html body.setup-page .pc-motherboard::before {
    content: '';
    position: absolute;
    right: 8px;
    bottom: 9px;
    width: 28px;
    height: 16px;
    border: 1px solid var(--line);
    border-radius: 2px;
}

html body.setup-page .pc-motherboard::after {
    content: '';
    position: absolute;
    left: 6px;
    bottom: 8px;
    width: 16px;
    height: 20px;
    border: 1px solid var(--line);
    border-radius: 2px;
}

html body.setup-page .pc-rear-fan {
    position: absolute;
    top: 7px;
    left: 5px;
}

html body.setup-page .pc-front-fans {
    position: absolute;
    top: 7px;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

html body.setup-page .pc-cooler {
    position: absolute;
    top: 39px;
    left: 51px;
    display: flex;
    align-items: center;
    gap: 2px;
    z-index: 2;
}

html body.setup-page .cooler-tower {
    width: 12px;
    height: 45px;
    border: 1px solid var(--muted-2);
    border-radius: 2px;
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 3px,
            var(--line) 3px,
            var(--line) 4px
        );
}

html body.setup-page .cooler-fan {
    width: 30px;
    height: 30px;
}

html body.setup-page .pc-ram-group {
    position: absolute;
    top: 36px;
    left: 104px;
    display: flex;
    gap: 3px;
    z-index: 2;
}

html body.setup-page .pc-ram-group span {
    width: 5px;
    height: 47px;
    border: 1px solid var(--muted-2);
    border-radius: 2px;
    background: var(--surface-2);
}

html body.setup-page .pc-gpu-wire {
    position: absolute;
    top: 104px;
    left: 24px;
    right: 46px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 0 5px;
    border: 1px solid var(--muted-2);
    border-radius: 3px;
    background: var(--surface-2);
    z-index: 3;
}

html body.setup-page .gpu-name {
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
}

html body.setup-page .gpu-fans {
    display: flex;
    align-items: center;
    gap: 3px;
}

html body.setup-page .wire-fan-small {
    width: 18px;
    height: 18px;
}

html body.setup-page .wire-fan-small::before {
    inset: 3px;
}

html body.setup-page .wire-fan-small::after {
    width: 3px;
    height: 3px;
}

html body.setup-page .pc-psu-wire {
    position: absolute;
    bottom: 6px;
    left: 7px;
    width: 108px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 1px solid var(--muted-2);
    border-radius: 3px;
    background: var(--surface-2);
}

html body.setup-page .pc-psu-wire span {
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .12em;
}

html body.setup-page .pc-psu-wire::after {
    content: '';
    position: absolute;
    right: 8px;
    width: 22px;
    height: 22px;
    border: 1px dashed var(--line);
    border-radius: 50%;
}

html body.setup-page .pc-feet {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -4px;
    display: flex;
    justify-content: space-between;
}

html body.setup-page .pc-feet span {
    width: 25px;
    height: 3px;
    border-radius: 0 0 2px 2px;
    background: var(--muted-2);
}


/* =========================================================
   MONITORS
   ========================================================= */

html body.setup-page .monitors-content {
    display: flex;
    align-items: center;
    gap: 42px;
}

html body.setup-page .monitors-content .setup-specs {
    flex: 1;
    min-width: 0;
}

html body.setup-page .monitor-layout {
    width: 250px;
    height: 218px;
    position: relative;
    flex: 0 0 auto;
}

html body.setup-page .monitor-screen {
    position: absolute;
    padding: 3px;
    border: 1px solid var(--muted-2);
    border-radius: 5px;
    background: var(--surface-2);
    z-index: 2;
}

html body.setup-page .monitor-inner {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--bg);
}

html body.setup-page .monitor-inner span {
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 600;
}

html body.setup-page .monitor-screen-3 {
    top: 58px;
    left: 0;
    width: 93px;
    height: 57px;
    transform: rotate(-2deg);
}

html body.setup-page .monitor-center-stack {
    position: absolute;
    top: 0;
    left: 79px;
    width: 111px;
    height: 166px;
}

html body.setup-page .monitor-center-stack .monitor-screen {
    left: 0;
}

html body.setup-page .monitor-screen-2 {
    top: 0;
    width: 111px;
    height: 66px;
}

html body.setup-page .monitor-screen-1 {
    top: 72px;
    width: 111px;
    height: 66px;
}

html body.setup-page .monitor-screen-1 .monitor-inner {
    border-color: var(--muted-2);
}

html body.setup-page .monitor-screen-4 {
    top: 45px;
    right: 0;
    width: 55px;
    height: 94px;
    transform: rotate(2deg);
}

html body.setup-page .monitor-mount-pole {
    position: absolute;
    top: 61px;
    left: 132px;
    width: 4px;
    height: 116px;
    border-radius: 2px;
    background: var(--muted-2);
    z-index: 0;
}

html body.setup-page .monitor-mount-base {
    position: absolute;
    bottom: 30px;
    left: 110px;
    width: 49px;
    height: 5px;
    border-radius: 3px;
    background: var(--muted-2);
}

html body.setup-page .monitor-arm {
    position: absolute;
    height: 2px;
    background: var(--muted-2);
    transform-origin: center;
    z-index: 1;
}

html body.setup-page .monitor-arm-left {
    top: 88px;
    left: 72px;
    width: 65px;
    transform: rotate(-17deg);
}

html body.setup-page .monitor-arm-right {
    top: 91px;
    left: 136px;
    width: 68px;
    transform: rotate(13deg);
}

html body.setup-page .monitor-layout::after {
    content: '';
    position: absolute;
    left: 86px;
    right: 39px;
    bottom: 21px;
    height: 1px;
    background: var(--line);
}


/* =========================================================
   PERIPHERALS
   ========================================================= */

html body.setup-page .peripherals-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

html body.setup-page .peripherals-content .setup-specs {
    flex: 1;
    min-width: 0;
}

html body.setup-page .peripherals-layout {
    width: 235px;
    height: 175px;
    position: relative;
    flex: 0 0 auto;
}

html body.setup-page .peripheral-mousepad {
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 205px;
    height: 118px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface-2);
    transform: perspective(450px) rotateX(8deg);
}

html body.setup-page .peripheral-mousepad::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 7px;
    height: 1px;
    background: var(--line);
}

html body.setup-page .peripheral-keyboard {
    position: absolute;
    left: 13px;
    top: 23px;
    width: 143px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 1px solid var(--muted-2);
    border-radius: 5px;
    background: var(--bg);
}

html body.setup-page .kb-row {
    display: flex;
    gap: 2px;
}

html body.setup-page .kb-row span {
    width: 7px;
    height: 7px;
    display: block;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 1px;
    background: var(--surface-2);
}

html body.setup-page .kb-row-function span {
    height: 4px;
}

html body.setup-page .kb-row .kb-wide {
    width: 12px;
}

html body.setup-page .kb-row .kb-wide-2 {
    width: 16px;
}

html body.setup-page .kb-bottom-row {
    justify-content: center;
}

html body.setup-page .kb-row .kb-space {
    width: 42px;
}

html body.setup-page .peripheral-mouse {
    position: absolute;
    top: 39px;
    right: 17px;
    width: 25px;
    height: 39px;
    border: 1px solid var(--muted-2);
    border-radius: 13px 13px 10px 10px;
    background: var(--bg);
    transform: rotate(4deg);
}

html body.setup-page .mouse-split {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 15px;
    background: var(--line);
}

html body.setup-page .mouse-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: var(--muted-2);
    transform: translateX(-50%);
}

html body.setup-page .mouse-side-button {
    position: absolute;
    top: 19px;
    left: -2px;
    width: 5px;
    height: 8px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--surface-2);
}

html body.setup-page .desk-webcam {
    position: absolute;
    top: 0;
    left: 82px;
    width: 42px;
    height: 17px;
    display: grid;
    place-items: center;
    border: 1px solid var(--muted-2);
    border-radius: 7px;
    background: var(--surface-2);
}

html body.setup-page .desk-webcam::after {
    content: '';
    position: absolute;
    bottom: -6px;
    width: 14px;
    height: 5px;
    border: 1px solid var(--line);
    border-top: 0;
}

html body.setup-page .webcam-lens {
    width: 8px;
    height: 8px;
    border: 1px solid var(--muted-2);
    border-radius: 50%;
    background: var(--bg);
}

html body.setup-page .webcam-lens::after {
    content: '';
    position: absolute;
    top: 7px;
    right: 7px;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--muted-2);
}

html body.setup-page .controller-wire {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 78px;
    height: 48px;
    border: 1px solid var(--muted-2);
    border-radius: 18px 18px 11px 11px;
    background: var(--bg);
    transform: rotate(-5deg);
}

html body.setup-page .controller-wire::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 29px;
    width: 19px;
    height: 10px;
    border: 1px solid var(--line);
    border-radius: 2px;
}

html body.setup-page .controller-grip {
    position: absolute;
    bottom: -7px;
    width: 18px;
    height: 27px;
    border: 1px solid var(--muted-2);
    border-top: 0;
    background: var(--bg);
    z-index: -1;
}

html body.setup-page .controller-grip-left {
    left: 4px;
    border-radius: 0 0 10px 12px;
    transform: rotate(18deg);
}

html body.setup-page .controller-grip-right {
    right: 4px;
    border-radius: 0 0 12px 10px;
    transform: rotate(-18deg);
}

html body.setup-page .controller-stick {
    position: absolute;
    width: 9px;
    height: 9px;
    border: 1px solid var(--muted-2);
    border-radius: 50%;
}

html body.setup-page .controller-stick-left {
    left: 26px;
    bottom: 8px;
}

html body.setup-page .controller-stick-right {
    right: 26px;
    bottom: 8px;
}

html body.setup-page .controller-dpad {
    position: absolute;
    top: 13px;
    left: 11px;
    width: 13px;
    height: 13px;
}

html body.setup-page .controller-dpad span {
    position: absolute;
    background: var(--muted-2);
    border-radius: 1px;
}

html body.setup-page .controller-dpad span:first-child {
    top: 4px;
    left: 0;
    width: 13px;
    height: 5px;
}

html body.setup-page .controller-dpad span:last-child {
    top: 0;
    left: 4px;
    width: 5px;
    height: 13px;
}

html body.setup-page .controller-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 17px;
    height: 17px;
}

html body.setup-page .controller-buttons span {
    position: absolute;
    width: 4px;
    height: 4px;
    border: 1px solid var(--muted-2);
    border-radius: 50%;
}

html body.setup-page .controller-buttons span:nth-child(1) {
    top: 0;
    left: 6px;
}

html body.setup-page .controller-buttons span:nth-child(2) {
    top: 6px;
    right: 0;
}

html body.setup-page .controller-buttons span:nth-child(3) {
    bottom: 0;
    left: 6px;
}

html body.setup-page .controller-buttons span:nth-child(4) {
    top: 6px;
    left: 0;
}


/* =========================================================
   AUDIO
   ========================================================= */

html body.setup-page .audio-content {
    display: flex;
    align-items: center;
    gap: 42px;
}

html body.setup-page .audio-content .setup-specs {
    flex: 1;
    min-width: 0;
}

html body.setup-page .audio-layout {
    width: 230px;
    height: 145px;
    position: relative;
    flex: 0 0 auto;
}

html body.setup-page .headphones-wire {
    position: absolute;
    top: 0;
    left: 0;
    width: 94px;
    height: 105px;
}

html body.setup-page .headphone-band {
    position: absolute;
    top: 5px;
    left: 15px;
    width: 64px;
    height: 69px;
    border: 3px solid var(--muted-2);
    border-bottom: 0;
    border-radius: 40px 40px 0 0;
}

html body.setup-page .headphone-band::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 6px;
    right: 6px;
    height: 50px;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 32px 32px 0 0;
}

html body.setup-page .headphone-cup {
    position: absolute;
    top: 59px;
    width: 25px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid var(--muted-2);
    border-radius: 8px;
    background: var(--surface-2);
}

html body.setup-page .headphone-cup-left {
    left: 7px;
    transform: rotate(5deg);
}

html body.setup-page .headphone-cup-right {
    right: 7px;
    transform: rotate(-5deg);
}

html body.setup-page .headphone-cup div {
    width: 16px;
    height: 27px;
    border: 1px dashed var(--line);
    border-radius: 6px;
}

html body.setup-page .dac-wire {
    position: absolute;
    left: 91px;
    bottom: 11px;
    width: 73px;
    height: 48px;
    border: 1px solid var(--muted-2);
    border-radius: 5px;
    background: var(--surface-2);
}

html body.setup-page .dac-label {
    position: absolute;
    top: 6px;
    left: 7px;
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 6px;
    letter-spacing: .08em;
}

html body.setup-page .dac-knob {
    position: absolute;
    top: 13px;
    right: 8px;
    width: 22px;
    height: 22px;
    border: 1px solid var(--muted-2);
    border-radius: 50%;
    background: var(--bg);
}

html body.setup-page .dac-knob::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    width: 1px;
    height: 6px;
    background: var(--muted-2);
}

html body.setup-page .dac-led {
    position: absolute;
    left: 8px;
    bottom: 9px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--muted-2);
}

html body.setup-page .dac-port {
    position: absolute;
    bottom: 7px;
    left: 19px;
    width: 11px;
    height: 6px;
    border: 1px solid var(--line);
    border-radius: 1px;
}

html body.setup-page .mic-wire {
    position: absolute;
    top: 4px;
    right: 2px;
    width: 63px;
    height: 136px;
}

html body.setup-page .mic-head {
    position: absolute;
    top: 0;
    left: 17px;
    width: 29px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 6px;
    overflow: hidden;
    border: 1px solid var(--muted-2);
    border-radius: 14px 14px 8px 8px;
    background: var(--surface-2);
}

html body.setup-page .mic-head span {
    width: 100%;
    height: 1px;
    background: var(--line);
}

html body.setup-page .mic-body {
    position: absolute;
    top: 43px;
    left: 23px;
    width: 17px;
    height: 37px;
    border: 1px solid var(--muted-2);
    border-radius: 3px 3px 7px 7px;
    background: var(--surface-2);
}

html body.setup-page .mic-body::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 3px;
    height: 3px;
    border: 1px solid var(--muted-2);
    border-radius: 50%;
    transform: translateX(-50%);
}

html body.setup-page .mic-joint {
    position: absolute;
    top: 77px;
    left: 29px;
    width: 5px;
    height: 12px;
    background: var(--muted-2);
}

html body.setup-page .mic-stand {
    position: absolute;
    top: 85px;
    left: 30px;
    width: 3px;
    height: 34px;
    background: var(--muted-2);
}

html body.setup-page .mic-base {
    position: absolute;
    bottom: 9px;
    left: 13px;
    width: 38px;
    height: 5px;
    border-radius: 50%;
    background: var(--muted-2);
}


/* =========================================================
   HOVER DETAILS
   ========================================================= */

@media (hover: hover) {
    html body.setup-page .pc-wireframe,
    html body.setup-page .monitor-screen,
    html body.setup-page .peripheral-mousepad,
    html body.setup-page .controller-wire,
    html body.setup-page .dac-wire,
    html body.setup-page .headphone-cup,
    html body.setup-page .mic-head {
        transition:
            border-color .18s ease,
            transform .18s ease;
    }

    html body.setup-page .pc-wireframe:hover {
        border-color: var(--muted-2);
    }

    html body.setup-page .monitor-screen:hover {
        border-color: var(--text);
    }

    html body.setup-page .dac-wire:hover,
    html body.setup-page .headphone-cup:hover,
    html body.setup-page .mic-head:hover {
        border-color: var(--text);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 780px) {
    html body.setup-page .setup-main {
        width: min(700px, calc(100% - 40px));
    }

    html body.setup-page .pc-content,
    html body.setup-page .monitors-content,
    html body.setup-page .peripherals-content,
    html body.setup-page .audio-content {
        gap: 28px;
    }

    html body.setup-page .pc-wireframe {
        transform: scale(.9);
        transform-origin: center;
    }

    html body.setup-page .monitor-layout,
    html body.setup-page .peripherals-layout,
    html body.setup-page .audio-layout {
        transform: scale(.9);
        transform-origin: center;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    html body.setup-page .setup-main {
        width: calc(100% - 24px);
    }

    html body.setup-page .setup-shell {
        padding: 32px 0 48px;
    }





    html body.setup-page .setup-section {
        padding: 18px 16px;
    }

    html body.setup-page .pc-content,
    html body.setup-page .monitors-content,
    html body.setup-page .peripherals-content,
    html body.setup-page .audio-content {
        display: block;
    }

    html body.setup-page .pc-layout,
    html body.setup-page .monitor-layout,
    html body.setup-page .peripherals-layout,
    html body.setup-page .audio-layout {
        display: none;
    }

    html body.setup-page .setup-spec {
        gap: 7px;
    }

    html body.setup-page .setup-label {
        min-width: 0;
    }

    html body.setup-page .setup-value {
        flex: 1;
    }

    html body.setup-page .copy-btn {
        opacity: 1;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {
    html body.setup-page .setup-main {
        width: calc(100% - 24px);
    }

    html body.setup-page .setup-label {
        min-width: 0;
        font-size: 11px;
    }

    html body.setup-page .setup-value {
        font-size: 14px;
    }

    html body.setup-page .copy-btn {
        width: 44px;
        height: 44px;
    }
}


/* =========================================================
   WIREFRAME HOVER GIMMICKS
   ========================================================= */

/*
    Kleine technische Animationen.
    Nur auf Geräten mit echtem Hover,
    damit Mobile sauber bleibt.
*/

@media (hover: hover) and (pointer: fine) {

    /* -----------------------------------------------------
       PC
       ----------------------------------------------------- */

    html body.setup-page .pc-wireframe {
        transition:
            border-color .25s ease,
            background .25s ease,
            transform .25s ease;
    }

    html body.setup-page .pc-wireframe:hover {
        border-color: var(--muted-2);
        transform: translateY(-2px);
    }

    /*
        Lüfter drehen sich erst,
        wenn man über den PC hovered.
    */

    html body.setup-page .pc-wireframe .wire-fan::before {
        transition: transform .4s ease;
    }

    html body.setup-page .pc-wireframe:hover .wire-fan::before {
        animation: setup-fan-spin 2.8s linear infinite;
    }

    html body.setup-page .pc-wireframe:hover .wire-fan-small::before {
        animation-duration: 1.8s;
    }

    @keyframes setup-fan-spin {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }


    /*
        RAM bekommt einen sehr subtilen
        "Power on"-Effekt.
    */

    html body.setup-page .pc-ram-group span {
        transition:
            background .25s ease,
            border-color .25s ease,
            opacity .25s ease;
    }

    html body.setup-page .pc-wireframe:hover .pc-ram-group span:first-child {
        animation: setup-ram-pulse 1.7s ease-in-out infinite;
    }

    html body.setup-page .pc-wireframe:hover .pc-ram-group span:last-child {
        animation: setup-ram-pulse 1.7s ease-in-out .18s infinite;
    }

    @keyframes setup-ram-pulse {
        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 1;
            background: var(--surface-3);
        }
    }


    /*
        GPU bewegt sich praktisch nicht sichtbar,
        wirkt beim Hover aber etwas "aktiv".
    */

    html body.setup-page .pc-gpu-wire {
        transition:
            border-color .25s ease,
            transform .25s ease;
    }

    html body.setup-page .pc-wireframe:hover .pc-gpu-wire {
        border-color: var(--text);
        transform: translateX(1px);
    }


    /*
        PSU Fan dreht leicht.
    */

    html body.setup-page .pc-psu-wire::after {
        transition: transform .25s ease;
    }

    html body.setup-page .pc-wireframe:hover .pc-psu-wire::after {
        animation: setup-psu-spin 5s linear infinite;
    }

    @keyframes setup-psu-spin {
        to {
            transform: rotate(360deg);
        }
    }


    /* -----------------------------------------------------
       MONITORS
       ----------------------------------------------------- */

    html body.setup-page .monitor-screen {
        transition:
            transform .22s ease,
            border-color .22s ease,
            background .22s ease;
    }

    /*
        Jeder Monitor kann einzeln "angesehen" werden.
    */

    html body.setup-page .monitor-screen-1:hover {
        transform: translateY(-3px) scale(1.025);
        border-color: var(--text);
    }

    html body.setup-page .monitor-screen-2:hover {
        transform: translateY(-3px) scale(1.025);
        border-color: var(--text);
    }

    html body.setup-page .monitor-screen-3:hover {
        transform: rotate(-2deg) translateY(-3px) scale(1.025);
        border-color: var(--text);
    }

    html body.setup-page .monitor-screen-4:hover {
        transform: rotate(2deg) translateY(-3px) scale(1.025);
        border-color: var(--text);
    }


    /*
        Screen-Inhalt wird beim Hover
        minimal heller.
    */

    html body.setup-page .monitor-inner {
        position: relative;
        overflow: hidden;
        transition:
            background .22s ease,
            border-color .22s ease;
    }

    html body.setup-page .monitor-screen:hover .monitor-inner {
        background: var(--surface-2);
    }


    /*
        Sehr dezente Scanline.
    */

    html body.setup-page .monitor-inner::after {
        content: '';
        position: absolute;
        top: -20%;
        left: 0;
        width: 100%;
        height: 15%;
        pointer-events: none;
        opacity: 0;
        background: rgba(255, 255, 255, .035);
    }

    html body.setup-page .monitor-screen:hover .monitor-inner::after {
        opacity: 1;
        animation: setup-monitor-scan 1.8s linear infinite;
    }

    @keyframes setup-monitor-scan {
        from {
            top: -20%;
        }

        to {
            top: 110%;
        }
    }


    /*
        Monitor-Nummer etwas stärker anzeigen.
    */

    html body.setup-page .monitor-inner span {
        transition:
            color .22s ease,
            transform .22s ease;
    }

    html body.setup-page .monitor-screen:hover .monitor-inner span {
        color: var(--text);
        transform: scale(1.08);
    }


    /* -----------------------------------------------------
       PERIPHERALS
       ----------------------------------------------------- */

    html body.setup-page .peripheral-mousepad {
        transition:
            border-color .25s ease,
            transform .25s ease;
    }

    html body.setup-page .peripherals-layout:hover .peripheral-mousepad {
        border-color: var(--muted-2);
    }


    /*
        Keyboard hebt sich leicht an.
    */

    html body.setup-page .peripheral-keyboard {
        transition:
            transform .22s ease,
            border-color .22s ease;
    }

    html body.setup-page .peripheral-keyboard:hover {
        transform: translateY(-3px);
        border-color: var(--text);
    }


    /*
        Tasten leuchten nacheinander subtil auf.
    */

    html body.setup-page .kb-row span {
        transition:
            background .15s ease,
            border-color .15s ease,
            transform .15s ease;
    }

    html body.setup-page .peripheral-keyboard:hover .kb-row span {
        animation: setup-key-pulse 1.4s ease-in-out infinite;
    }

    html body.setup-page .peripheral-keyboard:hover .kb-row:nth-child(2) span {
        animation-delay: .08s;
    }

    html body.setup-page .peripheral-keyboard:hover .kb-row:nth-child(3) span {
        animation-delay: .16s;
    }

    html body.setup-page .peripheral-keyboard:hover .kb-row:nth-child(4) span {
        animation-delay: .24s;
    }

    html body.setup-page .peripheral-keyboard:hover .kb-row:nth-child(5) span {
        animation-delay: .32s;
    }

    @keyframes setup-key-pulse {
        0%,
        100% {
            background: var(--surface-2);
        }

        50% {
            background: var(--surface-3);
        }
    }


    /*
        Maus bewegt sich minimal,
        Scrollrad dreht.
    */

    html body.setup-page .peripheral-mouse {
        transition:
            transform .22s ease,
            border-color .22s ease;
    }

    html body.setup-page .peripheral-mouse:hover {
        transform: rotate(4deg) translateY(-3px);
        border-color: var(--text);
    }

    html body.setup-page .peripheral-mouse:hover .mouse-wheel {
        animation: setup-mouse-wheel .65s ease-in-out infinite;
    }

    @keyframes setup-mouse-wheel {
        0%,
        100% {
            transform: translateX(-50%) translateY(0);
        }

        50% {
            transform: translateX(-50%) translateY(3px);
        }
    }


    /*
        Webcam-Linse reagiert.
    */

    html body.setup-page .desk-webcam {
        transition:
            transform .22s ease,
            border-color .22s ease;
    }

    html body.setup-page .desk-webcam:hover {
        transform: translateY(-2px);
        border-color: var(--text);
    }

    html body.setup-page .webcam-lens {
        transition:
            transform .22s ease,
            background .22s ease;
    }

    html body.setup-page .desk-webcam:hover .webcam-lens {
        transform: scale(.85);
        background: var(--surface-3);
    }


    /*
        Controller bewegt sich leicht.
    */

    html body.setup-page .controller-wire {
        transition:
            transform .25s ease,
            border-color .25s ease;
    }

    html body.setup-page .controller-wire:hover {
        transform:
            rotate(-2deg)
            translateY(-4px)
            scale(1.025);

        border-color: var(--text);
    }


    /*
        Analog-Sticks reagieren leicht.
    */

    html body.setup-page .controller-stick {
        transition: transform .2s ease;
    }

    html body.setup-page .controller-wire:hover .controller-stick-left {
        transform: translate(-1px, -1px);
    }

    html body.setup-page .controller-wire:hover .controller-stick-right {
        transform: translate(1px, -1px);
    }


    /* -----------------------------------------------------
       AUDIO
       ----------------------------------------------------- */

    /*
        Headphones schweben ein kleines bisschen.
    */

    html body.setup-page .headphones-wire {
        transition: transform .28s ease;
    }

    html body.setup-page .headphones-wire:hover {
        transform: translateY(-4px);
    }

    html body.setup-page .headphone-cup {
        transition:
            border-color .22s ease,
            transform .22s ease;
    }

    html body.setup-page .headphones-wire:hover .headphone-cup-left {
        border-color: var(--text);
        transform: rotate(2deg) translateX(-1px);
    }

    html body.setup-page .headphones-wire:hover .headphone-cup-right {
        border-color: var(--text);
        transform: rotate(-2deg) translateX(1px);
    }


    /*
        DAC hebt sich an.
    */

    html body.setup-page .dac-wire {
        transition:
            transform .25s ease,
            border-color .25s ease;
    }

    html body.setup-page .dac-wire:hover {
        transform: translateY(-3px);
        border-color: var(--text);
    }


    /*
        Lautstärkeregler dreht sich.
    */

    html body.setup-page .dac-knob {
        transition:
            transform .45s cubic-bezier(.2, .8, .2, 1),
            border-color .22s ease;
    }

    html body.setup-page .dac-wire:hover .dac-knob {
        transform: rotate(115deg);
        border-color: var(--text);
    }


    /*
        DAC LED pulsiert leicht.
    */

    html body.setup-page .dac-led {
        transition: opacity .2s ease;
    }

    html body.setup-page .dac-wire:hover .dac-led {
        animation: setup-dac-led 1.1s ease-in-out infinite;
    }

    @keyframes setup-dac-led {
        0%,
        100% {
            opacity: .35;
        }

        50% {
            opacity: 1;
        }
    }


    /*
        Mikrofon bewegt sich leicht nach vorne.
    */

    html body.setup-page .mic-wire {
        transform-origin: bottom center;
        transition: transform .28s ease;
    }

    html body.setup-page .mic-wire:hover {
        transform: rotate(-2deg) translateY(-3px);
    }

    html body.setup-page .mic-head {
        transition: border-color .22s ease;
    }

    html body.setup-page .mic-wire:hover .mic-head {
        border-color: var(--text);
    }


    /*
        Die Linien im Mic-Grid pulsieren
        minimal wie Audio-Level.
    */

    html body.setup-page .mic-head span {
        transform-origin: center;
    }

    html body.setup-page .mic-wire:hover .mic-head span:nth-child(1) {
        animation: setup-mic-level .85s ease-in-out infinite;
    }

    html body.setup-page .mic-wire:hover .mic-head span:nth-child(2) {
        animation: setup-mic-level .65s ease-in-out .1s infinite;
    }

    html body.setup-page .mic-wire:hover .mic-head span:nth-child(3) {
        animation: setup-mic-level .95s ease-in-out .15s infinite;
    }

    html body.setup-page .mic-wire:hover .mic-head span:nth-child(4) {
        animation: setup-mic-level .7s ease-in-out .05s infinite;
    }

    html body.setup-page .mic-wire:hover .mic-head span:nth-child(5) {
        animation: setup-mic-level .8s ease-in-out .2s infinite;
    }

    @keyframes setup-mic-level {
        0%,
        100% {
            transform: scaleX(.55);
            opacity: .45;
        }

        50% {
            transform: scaleX(1);
            opacity: 1;
        }
    }
}


/* =========================================================
   ACCESSIBILITY
   Respect reduced motion setting
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html body.setup-page .pc-wireframe *,
    html body.setup-page .monitor-layout *,
    html body.setup-page .peripherals-layout *,
    html body.setup-page .audio-layout * {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

.setup-help { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 700px) {
    html body.setup-page .setup-spec { grid-template-columns: minmax(0, 1fr) 44px; grid-template-rows: auto auto; gap: 3px 12px; padding-block: 14px; }
    html body.setup-page .setup-label { grid-column: 1; grid-row: 1; }
    html body.setup-page .setup-value { grid-column: 1; grid-row: 2; }
    html body.setup-page .copy-btn { grid-column: 2; grid-row: 1 / 3; }
}
