body.authorAboutOpen,
body.projectChannelsOpen {
    height: 100dvh;
    overflow: hidden;
}

.siteMastheadInfoActions {
    position: absolute;
    left: 24px;
    bottom: 21px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.siteMastheadAboutButton {
    min-width: 190px;
    padding: 8px 14px 7px;
    border: 7px solid transparent;
    border-image: url("./assets/interface-ui/tile-button-crt.webp") 8 fill / 7px / 0 stretch;
    color: #f1f3ee;
    background: rgba(4, 11, 13, 0.78);
    font-family: "WenHanJianZhu", "RuiZheng", "PingFang SC", sans-serif;
    font-size: clamp(15px, 1.22vw, 22px);
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 2px #000;
    white-space: nowrap;
    cursor: pointer;
}

.siteMastheadChannelsButton {
    min-width: 260px;
}

.siteMastheadAboutButton:hover,
.siteMastheadAboutButton:focus-visible {
    color: #fff;
    filter: brightness(1.2);
}

.authorAboutModal[hidden] {
    display: none !important;
}

.authorAboutModal {
    position: fixed;
    inset: 0;
    z-index: 1400000;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: auto;
    box-sizing: border-box;
    background:
        linear-gradient(rgba(1, 5, 7, 0.82), rgba(1, 5, 7, 0.92)),
        url("./tno-workbench-map.png") center / cover no-repeat,
        #020607;
}

.authorAboutModal::before {
    position: fixed;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 45%, transparent 0 28%, rgba(0, 0, 0, 0.66) 88%),
        repeating-linear-gradient(
            0deg,
            rgba(94, 224, 216, 0.025) 0,
            rgba(94, 224, 216, 0.025) 1px,
            transparent 1px,
            transparent 4px
        );
}

.authorAboutDialog {
    position: relative;
    display: grid;
    width: min(1040px, calc(100vw - 48px));
    height: min(820px, calc(100dvh - 48px));
    min-height: 480px;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 10px solid transparent;
    border-image: url("./assets/interface-ui/tile-window-thin-crt.webp") 18 fill / 10px / 0 stretch;
    box-sizing: border-box;
    color: #e7eeea;
    background: #071011;
    outline: none;
    filter: drop-shadow(0 26px 56px rgba(0, 0, 0, 0.82));
}

.authorAboutHeader {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 15px 10px 22px;
    border-bottom: 1px solid rgba(89, 224, 216, 0.48);
    background:
        linear-gradient(90deg, rgba(31, 69, 68, 0.42), transparent 62%),
        rgba(4, 11, 13, 0.92);
    box-sizing: border-box;
}

.authorAboutHeader span {
    display: block;
    margin-bottom: 4px;
    color: #6fcfc7;
    font-family: "TNOAldrich", "RuiZheng", sans-serif;
    font-size: 10px;
    letter-spacing: 0.18em;
}

.authorAboutHeader h2 {
    margin: 0;
    color: #eff4ef;
    font-family: "WenHanJianZhu", "RuiZheng", sans-serif;
    font-size: clamp(25px, 3vw, 40px);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    text-shadow:
        0 2px 1px #000,
        0 0 8px rgba(91, 225, 216, 0.2);
}

.authorAboutClose {
    width: 46px;
    height: 46px;
    flex: none;
    border: 6px solid transparent;
    border-image: url("./assets/interface-ui/tile-button-crt.webp") 8 fill / 6px / 0 stretch;
    color: #d9e5e0;
    background: #111a1b;
    font-family: "TNOAldrich", sans-serif;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.authorAboutClose:hover,
.authorAboutClose:focus-visible,
.authorAboutReturn:hover,
.authorAboutReturn:focus-visible {
    color: #fff;
    filter: brightness(1.18);
}

.authorAboutBody {
    position: relative;
    min-height: 0;
    overflow: auto;
    padding: 32px clamp(30px, 6vw, 82px) 46px;
    color: #e4ebe7;
    background:
        linear-gradient(rgba(4, 12, 14, 0.88), rgba(4, 12, 14, 0.96)),
        url("./tno-workbench-map.png") center / cover no-repeat;
    box-sizing: border-box;
    font-family: "RuiZheng", "PingFang SC", sans-serif;
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 700;
    line-height: 1.78;
    text-shadow: 0 1px 1px #000;
    scrollbar-color: #4fc8c0 #071113;
    scrollbar-width: thin;
}

.authorAboutBody::-webkit-scrollbar {
    width: 9px;
}

.authorAboutBody::-webkit-scrollbar-track {
    background: #071113;
}

.authorAboutBody::-webkit-scrollbar-thumb {
    border: 1px solid #173639;
    background: #4bbab4;
}

.authorAboutBody p {
    max-width: 860px;
    margin: 0 auto 19px;
}

.authorAboutBody .authorAboutLead {
    margin-bottom: 27px;
    color: #a7f1e9;
    font-family: "WenHanJianZhu", "RuiZheng", sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.authorAboutBody .authorAboutSignoff {
    padding-top: 20px;
    border-top: 1px solid rgba(91, 224, 216, 0.36);
    color: #b8ece6;
    font-size: 1.08em;
}

.projectChannelsBody {
    display: grid;
    align-content: start;
    gap: 30px;
}

.projectChannelsBody section {
    width: min(860px, 100%);
    margin: 0 auto;
}

.projectChannelsBody section + section {
    padding-top: 28px;
    border-top: 1px solid rgba(91, 224, 216, 0.32);
}

.projectChannelsBody h3 {
    margin: 0 0 18px;
    color: #a7f1e9;
    font-family: "WenHanJianZhu", "RuiZheng", sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.15;
}

.projectChannelsBody .projectChannelsNotice {
    padding: 14px 16px;
    border-left: 3px solid #e0a16c;
    color: #f0ded1;
    background: linear-gradient(90deg, rgba(116, 65, 37, 0.34), transparent);
}

.projectChannelsLinks {
    display: grid;
    gap: 10px;
    max-width: 860px;
    margin: 4px auto 20px;
}

.projectChannelsLink {
    display: grid;
    gap: 3px;
    max-width: 860px;
    margin: 4px auto 20px;
    padding: 12px 15px;
    border: 1px solid rgba(83, 218, 208, 0.46);
    color: #dff8f4;
    background: rgba(5, 22, 24, 0.82);
    box-sizing: border-box;
    text-decoration: none;
}

.projectChannelsLinks .projectChannelsLink {
    width: 100%;
    margin: 0;
}

.projectChannelsLink strong {
    color: #a7f1e9;
    font-family: "TNOAldrich", "RuiZheng", sans-serif;
    font-size: 0.9em;
    letter-spacing: 0.04em;
}

.projectChannelsLink span {
    overflow-wrap: anywhere;
    color: #7dc8c1;
    font-family: "TNOAldrich", ui-monospace, monospace;
    font-size: 0.72em;
    font-weight: 400;
}

.projectChannelsLink:hover,
.projectChannelsLink:focus-visible {
    border-color: #8ce9e0;
    color: #fff;
    background: rgba(12, 48, 50, 0.9);
    filter: brightness(1.12);
    outline: none;
}

.authorAboutFooter {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 7px 10px 7px 20px;
    border-top: 1px solid rgba(102, 213, 205, 0.24);
    background: #050c0e;
    box-sizing: border-box;
}

.authorAboutFooter span {
    color: #648e89;
    font-family: "TNOAldrich", sans-serif;
    font-size: 10px;
    letter-spacing: 0.15em;
}

.authorAboutReturn {
    min-width: 164px;
    height: 39px;
    padding: 0 18px;
    border: 6px solid transparent;
    border-image: url("./assets/interface-ui/tile-button-crt.webp") 8 fill / 6px / 0 stretch;
    color: #e8efeb;
    background: #11191a;
    font-family: "WenHanJianZhu", "RuiZheng", sans-serif;
    font-size: 15px;
    letter-spacing: 0.08em;
    cursor: pointer;
}

@media screen and (max-width: 1179px) {
    .siteMastheadInfoActions {
        left: 14px;
        bottom: 10px;
        gap: 6px;
    }

    .siteMastheadAboutButton {
        min-width: 0;
        font-size: 13px;
    }
}

@media screen and (max-width: 700px) {
    .authorAboutModal {
        padding: 8px;
    }

    .authorAboutDialog {
        width: calc(100vw - 16px);
        height: calc(100dvh - 16px);
        min-height: 0;
    }

    .authorAboutHeader {
        min-height: 70px;
        padding-left: 14px;
    }

    .authorAboutHeader span,
    .authorAboutFooter span {
        display: none;
    }

    .authorAboutBody {
        padding: 24px 18px 36px;
        font-size: 15px;
        line-height: 1.68;
    }

    .siteMastheadInfoActions {
        max-width: calc(100% - 28px);
    }

    .siteMastheadChannelsButton {
        min-width: 0;
    }

    .authorAboutFooter {
        justify-content: flex-end;
        padding-left: 8px;
    }
}
