body.home-screen {
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

.title-wrap {
    position: fixed;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-start;
    gap: 5px;
    z-index: 20;
}

.site-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #F5F5F5;
    white-space: nowrap;
    line-height: 1;
}

.refresh-title {
    width: 14px;
    height: 14px;
    background: none;
    border: none;
    color: #343434;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    margin-top: -7px;
    padding: 0;
    opacity: 0.8;
}

.refresh-title:hover {
    color: #6A6A6A;
    opacity: 1;
}

.cursor {
    display: inline-block;
    margin-left: 2px;
    color: #F5F5F5;
    animation: blink 1.2s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.sidebar {
    position: fixed;
    top: 88px;
    right: 0;
    width: 160px;
    z-index: 10;
    background-color: #2A2A2A;
}

.menu-section {
    width: 100%;
}

.menu-button {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid #3A3A3A;
    color: #BDBDBD;
    font-size: 28px;
    font-weight: 800;
    text-align: left;
    padding: 4px 0 5px 10px;
    cursor: pointer;
}

.menu-button:hover {
    color: #F5F5F5;
}

.work-button,
.professional-button {
    color: #BDBDBD;
    font-size: 35px;
    border-bottom-color: #565656;
    letter-spacing: 0.3px;
}

.work-button:hover,
.professional-button:hover {
    color: #F5F5F5;
    border-bottom-color: #7C7C7C;
}

.dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background-color: #2A2A2A;
}

.menu-section.active .dropdown {
    max-height: 220px;
}

.dropdown-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #3A3A3A;
}

.dropdown-preview {
    flex: 1;
    color: #BDBDBD;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 7px 0 7px 12px;
    cursor: pointer;
}

.dropdown-preview:hover {
    color: #F5F5F5;
}

.dropdown-link {
    color: #565656;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 10px 7px 6px;
}

.dropdown-link:hover {
    color: #BDBDBD;
}

main {
    min-height: 100vh;
    padding: 140px 210px 140px 80px;
}

.center-block {
    position: fixed;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 70vw);
    text-align: center;
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.4px;
}

.center-block h2 {
    color: #F5F5F5;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.center-block p {
    margin-bottom: 6px;
}

.content-panel {
    display: none;
    position: fixed;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 70vw);
    text-align: left;
    color: #CFCFCF;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.content-panel.active {
    display: block;
}

.content-panel h2 {
    color: #F5F5F5;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    border-bottom: 1px solid #3A3A3A;
    padding-bottom: 8px;
}

.content-panel p {
    color: #BDBDBD;
    margin-bottom: 8px;
}

.panel-link {
    display: inline-block;
    margin-top: 10px;
    color: #EAEAEA;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    border-bottom: 1px solid #3A3A3A;
    padding-bottom: 2px;
}

.panel-link:hover {
    color: #F5F5F5;
    border-color: #EAEAEA;
}

.home-log {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    width: min(460px, 78vw);
    z-index: 15;
    display: grid;
    gap: 10px;
}

.current-focus {
    color: #6A6A6A;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.3px;
    text-align: left;
}

.changelog {
    color: #7C7C7C;
    font-size: 12px;
    line-height: 1.7;
    letter-spacing: 0.3px;
    text-align: left;
}

.changelog-heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #3A3A3A;
    padding-bottom: 4px;
    margin-bottom: 6px;
}

.changelog-title {
    background: none;
    border: none;
    color: #A8A8A8;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    padding: 0;
}

.changelog-title:hover {
    color: #F5F5F5;
}

.changelog-page-link {
    color: #565656;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}

.changelog-page-link:hover {
    color: #BDBDBD;
}

.changelog-entry {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    align-items: start;
}

.changelog-date {
    color: #6A6A6A;
    white-space: nowrap;
}

.changelog-text {
    color: #8C8C8C;
    min-width: 0;
}

.full-changelog-list {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 8px;
}

.full-changelog-entry {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    padding: 3px 0;
}

.full-changelog-date {
    color: #6A6A6A;
    white-space: nowrap;
}

.full-changelog-text {
    color: #8C8C8C;
}

@media (max-width: 760px) {
    body.home-screen {
        min-height: 100vh;
        height: 100vh;
        overflow: hidden;
    }

    .title-wrap {
        top: 28px;
    }

    .site-title {
        font-size: 24px;
    }

    .sidebar {
        top: 78px;
        right: 0;
        width: 128px;
    }

    .menu-button {
        font-size: 18px;
        padding: 8px 0 8px 8px;
        border-bottom-width: 1px;
    }

    .work-button,
.professional-button {
        font-size: 22px;
    }

    .dropdown-preview {
        font-size: 12px;
        padding: 7px 0 7px 8px;
    }

    .dropdown-link {
        font-size: 11px;
        padding: 7px 7px 7px 4px;
    }

    main {
        padding: 120px 142px 190px 4vw;
    }

    .center-block,
    .content-panel {
        position: static;
        transform: none;
        width: min(52vw, 420px);
        margin: 175px auto 0;
    }

    .center-block {
        text-align: center;
    }

    .home-log {
        bottom: 22px;
        width: min(92vw, 460px);
    }
}

.side-switch {
    position: fixed;
    right: 12px;
    bottom: 8px;
    color: #565656;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    z-index: 30;
}

.side-switch:hover {
    color: #A8A8A8;
}

.menu-link {
    display: block;
    text-decoration: none;
    box-sizing: border-box;
}

.professional-home .sidebar .dropdown,
.professional-home .content-panel {
    display: none;
}

.dropdown-direct {
    flex: 1;
    display: block;
    color: #BDBDBD;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 7px 0 7px 12px;
}

.dropdown-direct:hover {
    color: #F5F5F5;
}

@media (max-width: 760px) {
    .dropdown-direct {
        font-size: 12px;
        padding: 7px 0 7px 8px;
    }
}


.personal-home .surprise-section {
    position: relative;
}

.personal-home #surprise-button {
    color: #CFCFCF;
    transform-origin: center;
    will-change: transform, filter, text-shadow;
}

.personal-home #surprise-button:hover,
.personal-home #surprise-button:focus-visible {
    color: #F5F5F5;
    border-bottom-color: #8C8C8C;
    outline: none;
}

.personal-home #surprise-button.is-jittering {
    animation: surprise-hard-jitter 0.56s steps(2, end) 1;
}

.personal-home #surprise-button.is-flipping {
    animation: surprise-flip 0.72s cubic-bezier(0.2, 0.9, 0.2, 1.1) 1;
}

.personal-home #surprise-button.is-mirroring {
    animation: surprise-mirror 0.82s steps(3, end) 1;
}

.personal-home #surprise-button.is-dvd-mode {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.personal-home #surprise-button.is-corner-perfect {
    color: #F5F5F5;
    filter: drop-shadow(0 0 12px rgba(245, 245, 245, 0.48));
    text-shadow: 0 0 7px rgba(245, 245, 245, 0.9), 0 0 18px rgba(245, 245, 245, 0.42), 0 0 32px rgba(245, 245, 245, 0.22);
    animation: surprise-corner-ascend 5s ease forwards;
}

@keyframes surprise-corner-ascend {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    38% {
        transform: translateY(-24px) scale(1.08);
        opacity: 1;
    }

    100% {
        transform: translateY(-42px) scale(1.14);
        opacity: 0.92;
    }
}

@keyframes surprise-flip {
    0% {
        transform: rotateX(0deg) rotateZ(0deg) translate(0, 0);
    }

    35% {
        transform: rotateX(150deg) rotateZ(-8deg) translate(-3px, -5px);
    }

    70% {
        transform: rotateX(315deg) rotateZ(6deg) translate(4px, 3px);
    }

    100% {
        transform: rotateX(360deg) rotateZ(0deg) translate(0, 0);
    }
}

@keyframes surprise-mirror {
    0% {
        transform: scaleX(1) translate(0, 0);
        filter: none;
    }

    20% {
        transform: scaleX(-1) translate(7px, -2px);
        filter: blur(0.2px);
    }

    42% {
        transform: scaleX(-1) translate(-6px, 3px);
        filter: none;
    }

    68% {
        transform: scaleX(1) translate(5px, -4px);
        filter: blur(0.2px);
    }

    100% {
        transform: scaleX(1) translate(0, 0);
        filter: none;
    }
}

@keyframes surprise-hard-jitter {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    12% {
        transform: translate(-6px, 4px) rotate(-3deg);
    }

    24% {
        transform: translate(7px, -5px) rotate(2deg);
    }

    36% {
        transform: translate(-9px, -2px) rotate(-2deg);
    }

    48% {
        transform: translate(8px, 5px) rotate(3deg);
    }

    60% {
        transform: translate(-5px, 6px) rotate(-2deg);
    }

    72% {
        transform: translate(6px, -4px) rotate(2deg);
    }

    84% {
        transform: translate(-4px, -5px) rotate(-1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Night desk home layer */
body.home-screen {
    background:
        radial-gradient(circle at 48% 26%, rgba(214, 168, 79, 0.19), transparent 18%),
        radial-gradient(circle at 50% 45%, rgba(255, 236, 184, 0.065), transparent 28%),
        linear-gradient(145deg, var(--desk-bg-deep), var(--desk-bg) 58%, #1f1511);
}

.title-wrap {
    top: 42px;
    align-items: center;
    gap: 8px;
}

.site-title {
    color: var(--desk-text);
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: 0;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.cursor {
    color: var(--desk-lamp);
}

.refresh-title {
    width: 22px;
    height: 22px;
    margin-top: -18px;
    border: 1px solid var(--desk-line);
    border-radius: 999px;
    color: var(--desk-faint);
    background-color: rgba(33, 29, 23, 0.64);
}

.refresh-title:hover {
    color: var(--desk-lamp);
    border-color: var(--desk-line-strong);
}

.sidebar {
    top: 104px;
    right: 22px;
    width: 188px;
    border: 1px solid var(--desk-line);
    border-radius: var(--desk-radius);
    background-color: rgba(33, 29, 23, 0.7);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
    overflow: hidden;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.menu-button {
    border-bottom-color: var(--desk-line);
    color: var(--desk-text-soft);
    font-size: 24px;
    padding: 10px 12px;
    background-color: transparent;
    transition: color 160ms ease, background-color 160ms ease, padding-left 160ms ease;
}

.menu-button:hover,
.menu-section.active > .menu-button {
    color: var(--desk-lamp);
    background-color: rgba(214, 168, 79, 0.08);
    padding-left: 16px;
}

.work-button,
.professional-button {
    color: var(--desk-text);
    font-size: 29px;
    border-bottom-color: var(--desk-line-strong);
}

.dropdown,
.dropdown-row {
    background-color: rgba(15, 13, 10, 0.34);
    border-bottom-color: var(--desk-line);
}

.dropdown-preview,
.dropdown-direct {
    color: var(--desk-muted);
    padding: 9px 0 9px 14px;
}

.dropdown-preview:hover,
.dropdown-direct:hover,
.dropdown-link:hover {
    color: var(--desk-lamp);
}

.dropdown-link {
    color: var(--desk-faint);
}

.center-block,
.content-panel {
    width: min(470px, 68vw);
    color: var(--desk-text-soft);
    padding: 26px 28px;
    border: 1px solid var(--desk-line);
    border-radius: var(--desk-radius);
    background:
        linear-gradient(145deg, rgba(255, 237, 196, 0.045), transparent 42%),
        rgba(33, 29, 23, 0.74);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.center-block h2,
.content-panel h2 {
    color: var(--desk-text);
    border-bottom-color: var(--desk-line);
}

.center-block p,
.content-panel p {
    color: var(--desk-text-soft);
}

.panel-link {
    color: var(--desk-lamp);
    border-bottom-color: var(--desk-line-strong);
}

.panel-link:hover {
    color: var(--desk-text);
    border-color: var(--desk-lamp);
}

.home-log {
    width: min(520px, 82vw);
    padding: 14px 16px;
    border: 1px solid var(--desk-line);
    border-radius: var(--desk-radius);
    background-color: rgba(15, 13, 10, 0.56);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.current-focus,
.changelog-date,
.full-changelog-date {
    color: var(--desk-faint);
}

.changelog-heading {
    border-bottom-color: var(--desk-line);
}

.changelog-title {
    color: var(--desk-muted);
}

.changelog-title:hover,
.changelog-page-link:hover {
    color: var(--desk-lamp);
}

.changelog-text,
.full-changelog-text {
    color: var(--desk-muted);
}

.side-switch {
    right: 18px;
    bottom: 14px;
    color: var(--desk-faint);
}

.side-switch:hover {
    color: var(--desk-lamp);
}

@media (max-width: 760px) {
    .title-wrap {
        top: 24px;
    }

    .sidebar {
        top: 78px;
        right: 12px;
        width: 136px;
    }

    .menu-button {
        font-size: 17px;
        padding: 9px 10px;
    }

    .work-button,
    .professional-button {
        font-size: 20px;
    }

    .center-block,
    .content-panel {
        width: min(58vw, 420px);
        margin-top: 150px;
        padding: 18px;
    }

    .home-log {
        bottom: 28px;
        width: min(92vw, 520px);
    }
}

/* Quiet window desk refinement */
body.home-screen {
    background:
        radial-gradient(circle at 18% 88%, rgba(216, 205, 162, 0.11), transparent 22%),
        radial-gradient(circle at 72% 4%, rgba(91, 128, 151, 0.16), transparent 34%),
        linear-gradient(145deg, #070d12, #101820 58%, #081018);
}

.sidebar {
    right: 34px;
    width: 168px;
    border-color: transparent;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.menu-button {
    border-bottom: 1px solid rgba(150, 181, 184, 0.12);
    color: var(--desk-muted);
    font-size: 22px;
    padding: 9px 0 9px 4px;
    letter-spacing: 0;
}

.menu-button:hover,
.menu-section.active > .menu-button {
    color: var(--desk-text-soft);
    background-color: transparent;
    padding-left: 9px;
}

.work-button,
.professional-button {
    color: var(--desk-text-soft);
    font-size: 27px;
    border-bottom-color: rgba(216, 205, 162, 0.18);
}

.dropdown,
.dropdown-row {
    background-color: transparent;
    border-bottom-color: rgba(150, 181, 184, 0.08);
}

.dropdown-preview,
.dropdown-direct {
    color: var(--desk-faint);
    padding-left: 8px;
}

.dropdown-preview:hover,
.dropdown-direct:hover,
.dropdown-link:hover {
    color: var(--desk-text-soft);
}

.center-block,
.content-panel,
.home-log {
    border-color: rgba(150, 181, 184, 0.12);
    background:
        linear-gradient(145deg, rgba(216, 205, 162, 0.028), transparent 42%),
        rgba(9, 15, 21, 0.58);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

.center-block h2,
.content-panel h2 {
    border-bottom-color: rgba(150, 181, 184, 0.14);
}

.panel-link,
.changelog-title:hover,
.changelog-page-link:hover,
.side-switch:hover {
    color: var(--desk-text-soft);
}

@media (max-width: 760px) {
    .sidebar {
        right: 14px;
        width: 124px;
    }

    .menu-button {
        font-size: 16px;
        padding: 8px 0 8px 2px;
    }

    .work-button,
    .professional-button {
        font-size: 19px;
    }
}

/* Personal pass: calmer home, one boxed changelog, SE-friendly flow */
.refresh-title {
    position: relative;
    z-index: 40;
    display: grid;
    place-items: center;
    min-width: 24px;
    min-height: 24px;
    margin-top: -16px;
    pointer-events: auto;
    font-size: 11px;
    line-height: 1;
}

.center-block,
.content-panel,
.home-log {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.center-block,
.content-panel {
    padding: 0;
}

.home-log {
    padding: 0;
}

.changelog {
    padding: 13px 15px;
    border: 1px solid rgba(150, 181, 184, 0.14);
    border-radius: var(--desk-radius);
    background:
        linear-gradient(145deg, rgba(216, 205, 162, 0.035), transparent 44%),
        rgba(8, 13, 18, 0.62);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

@media (max-width: 430px), (max-height: 620px) {
    body.home-screen {
        min-height: 100svh;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .title-wrap {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        justify-content: center;
        width: 100%;
        padding: 20px 52px 0;
    }

    .site-title {
        max-width: 100%;
        overflow: hidden;
        font-size: 22px;
        text-overflow: ellipsis;
    }

    .refresh-title {
        min-width: 26px;
        min-height: 26px;
        margin-top: -10px;
        flex: 0 0 26px;
    }

    .sidebar {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: calc(100% - 32px);
        margin: 22px 16px 0;
        z-index: 12;
    }

    .menu-button {
        min-height: 34px;
        font-size: 16px;
        line-height: 1.15;
        padding: 7px 0 7px 2px;
    }

    .work-button,
    .professional-button {
        font-size: 18px;
    }

    .dropdown-preview,
    .dropdown-direct,
    .dropdown-link {
        min-height: 32px;
        font-size: 12px;
        line-height: 1.25;
    }

    main {
        min-height: auto;
        padding: 26px 18px 18px;
    }

    .center-block,
    .content-panel {
        position: static;
        width: 100%;
        margin: 0;
        transform: none;
        font-size: 13px;
        line-height: 1.65;
        text-align: left;
    }

    .center-block h2,
    .content-panel h2 {
        font-size: 16px;
    }

    .content-panel.active {
        display: block;
    }

    .home-log {
        position: static;
        width: calc(100% - 32px);
        margin: 18px 16px 46px;
        transform: none;
        gap: 11px;
    }

    .current-focus {
        font-size: 10px;
        line-height: 1.45;
    }

    .changelog {
        padding: 11px 12px;
        font-size: 11px;
        line-height: 1.55;
    }

    .changelog-heading {
        gap: 7px;
        margin-bottom: 7px;
    }

    .changelog-entry,
    .full-changelog-entry {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 7px;
    }

    .changelog-date,
    .full-changelog-date {
        white-space: normal;
    }

    .side-switch {
        right: 12px;
        bottom: 10px;
    }
}

/* Work side: plain, steady, less theatrical. */
body.professional-home {
    background: #0d1117;
}

.professional-home .title-wrap {
    top: 44px;
}

.professional-home .site-title {
    color: #e6edf3;
    text-shadow: none;
}

.professional-home .cursor {
    color: #7d8590;
}

.professional-home .refresh-title {
    border-color: transparent;
    background: transparent;
    color: #7d8590;
}

.professional-home .refresh-title:hover {
    color: #c9d1d9;
}

.professional-home .sidebar {
    top: 112px;
    right: 40px;
    width: 148px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.professional-home .menu-button {
    border-bottom: 1px solid rgba(125, 133, 144, 0.24);
    color: #8b949e;
    font-size: 18px;
    font-weight: 700;
    padding: 9px 0;
    background: transparent;
}

.professional-home .menu-button:hover,
.professional-home .menu-section.active > .menu-button {
    color: #e6edf3;
    padding-left: 0;
    background: transparent;
}

.professional-home .professional-button {
    color: #e6edf3;
    font-size: 18px;
}

.professional-home .center-block {
    width: min(360px, 60vw);
    color: #8b949e;
    text-align: left;
}

.professional-home .center-block h2 {
    color: #e6edf3;
    font-size: 17px;
}

.professional-home .center-block p {
    color: #8b949e;
}

.professional-home .side-switch {
    color: #6e7681;
}

.professional-home .side-switch:hover {
    color: #c9d1d9;
}

body.work-light-mode.professional-home {
    background:
        radial-gradient(circle at 78% 8%, rgba(181, 159, 95, 0.09), transparent 28%),
        linear-gradient(135deg, #dce5dc, #c4d2d0 54%, #b3c1bd);
}

body.work-light-mode.professional-home .site-title,
body.work-light-mode.professional-home .professional-button,
body.work-light-mode.professional-home .center-block h2 {
    color: #1f2e35;
}

body.work-light-mode.professional-home .cursor,
body.work-light-mode.professional-home .refresh-title,
body.work-light-mode.professional-home .menu-button,
body.work-light-mode.professional-home .center-block,
body.work-light-mode.professional-home .center-block p {
    color: #53696e;
}

body.work-light-mode.professional-home .refresh-title:hover,
body.work-light-mode.professional-home .menu-button:hover,
body.work-light-mode.professional-home .menu-section.active > .menu-button,
body.work-light-mode.professional-home .side-switch:hover {
    color: #1f2e35;
}

body.work-light-mode.professional-home .menu-button {
    border-bottom-color: rgba(45, 63, 68, 0.2);
}

body.work-light-mode.professional-home .side-switch {
    color: #6f7d7f;
}

@media (max-width: 430px), (max-height: 620px) {
    .professional-home .sidebar {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - 32px);
        margin: 22px 16px 0;
    }

    .professional-home .center-block {
        width: 100%;
    }
}

/* refresh title button: hidden themed icon with a desktop-safe hitbox */
.title-wrap {
    pointer-events: none;
    z-index: 9999;
}

.site-title,
#typed-title,
.cursor {
    pointer-events: none;
}

.refresh-title,
button.refresh-title,
#refresh-title {
    position: relative;
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    min-width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    margin-left: -2px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: transparent;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto !important;
    user-select: none;
    opacity: 0.34;
    box-shadow: none;
}

.refresh-title::before,
button.refresh-title::before,
#refresh-title::before {
    content: "↻";
    display: block;
    color: var(--desk-faint);
    font-size: 14px;
    line-height: 1;
    transform: translateY(-0.5px);
    pointer-events: none;
}

.refresh-title:hover,
button.refresh-title:hover,
#refresh-title:hover,
.refresh-title:focus-visible,
button.refresh-title:focus-visible,
#refresh-title:focus-visible {
    border-color: rgba(150, 132, 94, 0.22);
    background: rgba(46, 38, 28, 0.22);
    opacity: 0.68;
    outline: none;
}

.refresh-title:hover::before,
button.refresh-title:hover::before,
#refresh-title:hover::before,
.refresh-title:focus-visible::before,
button.refresh-title:focus-visible::before,
#refresh-title:focus-visible::before {
    color: var(--desk-muted);
}

/* Freeway overlook pass: cleaner personal chrome over the moving view */
body.personal-home {
    background:
        radial-gradient(circle at 18% 88%, rgba(216, 205, 162, 0.07), transparent 22%),
        linear-gradient(145deg, #07111d, #0c1c28 58%, #081018);
}

.personal-home .title-wrap {
    top: 36px;
}

.personal-home .site-title {
    color: var(--desk-text);
    font-size: clamp(26px, 3.4vw, 38px);
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.48);
}

.personal-home .sidebar {
    top: 96px;
    right: 32px;
    width: 148px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.personal-home .menu-button {
    border: 0;
    border-bottom: 1px solid rgba(171, 191, 190, 0.14);
    color: rgba(205, 218, 214, 0.72);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    padding: 9px 0 8px;
    text-transform: uppercase;
    background: transparent;
}

.personal-home .menu-button:hover,
.personal-home .menu-section.active > .menu-button {
    color: var(--desk-text);
    padding-left: 6px;
    background: transparent;
}

.personal-home .dropdown,
.personal-home .dropdown-row {
    background: transparent;
    border-bottom-color: rgba(171, 191, 190, 0.1);
}

.personal-home .dropdown-preview,
.personal-home .dropdown-direct,
.personal-home .dropdown-link {
    color: rgba(185, 203, 201, 0.64);
}

.personal-home .dropdown-preview:hover,
.personal-home .dropdown-direct:hover,
.personal-home .dropdown-link:hover {
    color: var(--desk-text);
}

.personal-home .center-block,
.personal-home .content-panel {
    color: var(--desk-text-soft);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.58);
}

.personal-home .center-block h2,
.personal-home .content-panel h2 {
    color: var(--desk-text);
    border-bottom-color: rgba(171, 191, 190, 0.16);
}

.personal-home .center-block p,
.personal-home .content-panel p {
    color: var(--desk-text-soft);
}

.personal-home .changelog {
    border-color: rgba(171, 191, 190, 0.16);
    background:
        linear-gradient(145deg, rgba(216, 205, 162, 0.025), transparent 44%),
        rgba(6, 14, 22, 0.54);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body.personal-light-mode.personal-home {
    background:
        radial-gradient(circle at 18% 88%, rgba(186, 154, 82, 0.08), transparent 24%),
        linear-gradient(145deg, #8aa4a8, #6f8d96 58%, #556765);
}

body.personal-light-mode.personal-home .site-title,
body.personal-light-mode.personal-home .cursor {
    color: #1f2c31;
    text-shadow: 0 8px 22px rgba(226, 234, 219, 0.24);
}

body.personal-light-mode.personal-home .refresh-title::before {
    color: rgba(31, 44, 49, 0.58);
}

body.personal-light-mode.personal-home .menu-button {
    border-bottom-color: rgba(33, 52, 57, 0.2);
    color: rgba(30, 45, 50, 0.72);
}

body.personal-light-mode.personal-home .menu-button:hover,
body.personal-light-mode.personal-home .menu-section.active > .menu-button,
body.personal-light-mode.personal-home .dropdown-preview:hover,
body.personal-light-mode.personal-home .dropdown-direct:hover,
body.personal-light-mode.personal-home .dropdown-link:hover {
    color: #1c2b31;
}

body.personal-light-mode.personal-home .dropdown-preview,
body.personal-light-mode.personal-home .dropdown-direct,
body.personal-light-mode.personal-home .dropdown-link {
    color: rgba(39, 58, 62, 0.62);
}

body.personal-light-mode.personal-home .center-block,
body.personal-light-mode.personal-home .content-panel {
    color: #31484d;
    text-shadow: 0 8px 22px rgba(226, 234, 219, 0.18);
}

body.personal-light-mode.personal-home .center-block h2,
body.personal-light-mode.personal-home .content-panel h2 {
    color: #203036;
    border-bottom-color: rgba(33, 52, 57, 0.2);
}

body.personal-light-mode.personal-home .center-block p,
body.personal-light-mode.personal-home .content-panel p,
body.personal-light-mode.personal-home .current-focus,
body.personal-light-mode.personal-home .changelog-text,
body.personal-light-mode.personal-home .full-changelog-text {
    color: #3e565b;
}

body.personal-light-mode.personal-home .changelog {
    border-color: rgba(33, 52, 57, 0.22);
    background:
        linear-gradient(145deg, rgba(255, 242, 197, 0.1), transparent 44%),
        rgba(217, 226, 210, 0.34);
    box-shadow: 0 18px 38px rgba(31, 48, 52, 0.16);
}

body.personal-light-mode.personal-home .changelog-title,
body.personal-light-mode.personal-home .changelog-date,
body.personal-light-mode.personal-home .full-changelog-date,
body.personal-light-mode.personal-home .changelog-page-link,
body.personal-light-mode.personal-home .side-switch {
    color: #52696d;
}

body.personal-light-mode.personal-home .changelog-title:hover,
body.personal-light-mode.personal-home .changelog-page-link:hover,
body.personal-light-mode.personal-home .side-switch:hover {
    color: #203036;
}

@media (max-width: 430px), (max-height: 620px) {
    .personal-home .sidebar {
        position: fixed;
        top: 82px;
        right: 14px;
        left: auto;
        width: 108px;
        margin: 0;
        z-index: 30;
    }

    .personal-home .menu-button {
        font-size: 13px;
        letter-spacing: 0.06em;
    }

    .personal-home main {
        padding-top: 156px;
    }

    .personal-home .center-block,
    .personal-home .content-panel {
        text-align: left;
    }
}

@media (max-width: 430px) {
    body.personal-home {
        height: 100svh;
        min-height: 100svh;
        overflow: hidden;
    }

    .personal-home .title-wrap {
        position: fixed;
        top: 20px;
        left: 50%;
        width: min(78vw, 280px);
        padding: 0 48px 0 0;
        transform: translateX(-50%);
    }

    .personal-home .sidebar {
        top: 72px;
    }

    .personal-home main {
        position: fixed;
        left: 16px;
        right: 132px;
        top: 48%;
        bottom: auto;
        z-index: 16;
        min-height: 0;
        padding: 0;
        transform: translateY(-50%);
    }

    .personal-home .center-block,
    .personal-home .content-panel {
        width: 100%;
        max-height: 26svh;
        overflow: hidden;
        margin: 0;
        font-size: 12px;
        line-height: 1.55;
    }

    .personal-home .center-block h2,
    .personal-home .content-panel h2 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .personal-home .center-block p,
    .personal-home .content-panel p {
        margin-bottom: 4px;
    }

    .personal-home .home-log {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 26px;
        width: auto;
        margin: 0;
        padding: 0;
        transform: none;
        z-index: 22;
    }

    .personal-home .current-focus {
        display: none;
    }

    .personal-home .changelog {
        max-height: 30svh;
        overflow-y: auto;
        border-radius: 12px;
        padding: 10px 12px;
    }

    .personal-home .full-changelog-list {
        max-height: 22svh;
    }

    .personal-home .side-switch {
        bottom: 8px;
        right: 12px;
    }
}
