/* Load Fonts */
@font-face{
    font-family: 'AlibabaPuHuiTi-2';
    src: url('./../fonts/AlibabaPuHuiTi-2-55-Regular.woff');
    font-weight: normal;
}
@font-face{
    font-family: 'AlibabaPuHuiTi-2';
    src: url('./../fonts/AlibabaPuHuiTi-2-75-SemiBold.woff');
    font-weight: bold;
}
@font-face{
    font-family: 'Oxygen';
    src: url('./../fonts/Oxygen-Regular.woff');
    font-weight: normal;
}
@font-face{
    font-family: 'Oxygen';
    src: url('./../fonts/Oxygen-Bold.woff');
    font-weight: bold;
}
@font-face{
    font-family: 'Font Awesome 5 Free';
    src: url('./../fonts/fontawesome/webfonts/fa-regular-400.woff2'), url('./../fonts/fontawesome/webfonts/fa-solid-900.woff2'), url('./../fonts/fontawesome/webfonts/fa-brands-400.woff2');
    font-weight: bold;
}

:root {
    --brown: #a52a2a;
    --brown-light: #ad4d4d;
    --brown-bg: #e0abab;
    --brown-bg-dark: #361616;
    --red: #ff0000;
    --red-light: #ff0000;
    --red-bg: #ffd9d9;
    --red-bg-dark: #4b2424;
    --orange: #ff7700;
    --orange-light: #ff7700;
    --orange-bg: #ffdaba;
    --orange-bg-dark: #322a24;
    --gold: #9a7d00;
    --gold-light: #a5944c;
    --gold-bg: #ffefa9;
    --gold-bg-dark: #1b1601;
    --yellow: #ffa900;
    --yellow-light: #ffff00;
    --yellow-bg: #fff8b8;
    --yellow-bg-dark: #363319;
    --green: #00a500;
    --green-light: #00ff00;
    --green-bg: #cfffcf;
    --green-bg-dark: #283228;
    --cyan: #00aebc;
    --cyan-light: #00aebc;
    --cyan-bg: #dcfff9;
    --cyan-bg-dark: #233f3a;
    --blue: #0000ff;
    --blue-light: #00bbff;
    --blue-light-strong: #00ffff;
    --blue-bg: #bbe3ff;
    --blue-bg-dark: #263036;
    --purple: #7d0dff;
    --purple-light: #bf89ff;
    --purple-bg: #f6efff;
    --purple-bg-dark: #241e2d;
    --pink: #f400fd;
    --pink-light: #f400fd;
    --pink-bg: #f8eaf6;
    --pink-bg-dark: #332130;
}

/* Basic Elements */
html, body{
    padding: 0;
    margin: 0;
    font-family: 'Oxygen', 'AlibabaPuHuiTi-2';
    line-height: 22px;
    font-size: 16px;
    box-sizing: border-box;
}
html{
    width: 100%;
    height: 100%;
}
body{
    width: 100%;
    min-height: 100vh;
    background-color: var(--purple);
    color: black;
}
#white-bg{
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    background-color: white;
}
.list-wide li{
    margin-bottom: 6px;
}
.list-stick{
    padding-left: 1em;
}
.list-tick, .list-cross{
    list-style: none;
    padding: 0px;
}
.list-tick li, .list-cross li{
    display: flex;
}
.list-tick li::before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    margin: 0 10px 0 0;
    width: 15px;
    text-align: center;
}
.list-cross li::before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00d";
    margin: 0 10px 0 0;
    width: 15px;
    text-align: center;
}
.list-brown li::before {
    color: var(--brown);
}
.list-red li::before {
    color: var(--red);
}
.list-orange li::before {
    color: var(--orange);
}
.list-yellow li::before {
    color: var(--yellow);
}
.list-green li::before {
    color: var(--green);
}
.list-cyan li::before {
    color: var(--cyan);
}
.list-blue li::before {
    color: var(--blue);
}
.list-purple li::before {
    color: var(--purple);
}
.list-pink li::before {
    color: var(--pink);
}

.centre-box {
    text-align: center;
}

/* Colour Classes */
.red, .red-standard {
    color: var(--red);
}
.red-light {
    color: var(--red-light);
}
.red-bg, .red-bg-standard {
    background-color: var(--red-bg);
}
.red-bg-dark {
    background-color: var(--red-bg-dark);
}
.orange, .orange-standard {
    color: var(--orange);
}
.orange-light {
    color: var(--orange-light);
}
.orange-bg, .orange-bg-standard {
    background-color: var(--orange-bg);
}
.orange-bg-dark {
    background-color: var(--orange-bg-dark);
}
.yellow, .yellow-standard {
    color: var(--yellow);
}
.yellow-light {
    color: var(--yellow-light);
}
.yellow-bg, .yellow-bg-standard {
    background-color: var(--yellow-bg);
}
.yellow-bg-dark {
    background-color: var(--yellow-bg-dark);
}
.green, .green-standard {
    color: var(--green);
}
.green-light {
    color: var(--green-light);
}
.green-bg, .green-bg-standard {
    background-color: var(--green-bg);
}
.green-bg-dark {
    background-color: var(--green-bg-dark);
}
.cyan, .cyan-standard {
    color: var(--cyan);
}
.cyan-light {
    color: var(--cyan-light);
}
.cyan-bg, .cyan-bg-standard {
    background-color: var(--cyan-bg);
}
.cyan-bg-dark {
    background-color: var(--cyan-bg-dark);
}
.blue, .blue-standard {
    color: var(--blue);
}
.blue-light {
    color: var(--blue-light);
}
.blue-bg, .blue-bg-standard {
    background-color: var(--blue-bg);
}
.blue-bg-dark {
    background-color: var(--blue-bg-dark);
}
.purple, .purple-standard {
    color: var(--purple);
}
.purple-light {
    color: var(--purple-light);
}
.purple-bg, .purple-bg-standard {
    background-color: var(--purple-bg);
}
.purple-bg-dark {
    background-color: var(--purple-bg-dark);
}
.pink, .pink-standard {
    color: var(--pink);
}
.pink-light {
    color: var(--pink-light);
}
.pink-bg, .pink-bg-standard {
    background-color: var(--pink-bg);
}
.pink-bg-dark {
    background-color: var(--pink-bg-dark);
}

/* Buttons */
.btn {
    background-color: var(--purple);
    padding: 10px 18px;
    height: 36px;
    line-height: 16px;
    font-size: 16px;
    color: white;
    text-decoration: none;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin-top: 0;
    margin-bottom: 12px;
    transition: background-color 0.3s ease;
    border-radius: 18px;
    box-sizing: border-box;
    z-index: 1;
}
.btn:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color: var(--purple-bg);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 18px;
}
.btn:hover {
    color: var(--purple);
    background-color: transparent;
}
.btn:hover:after {
    width: 100%;
    height: 100%;
}
/* brown */
.btn-brown {
    background-color: var(--brown);
}
.btn-brown:after {
    background-color: var(--brown-bg);
}
.btn-brown:hover {
    color: var(--brown);
}
/* red */
.btn-red {
    background-color: var(--red);
}
.btn-red:after {
    background-color: var(--red-bg);
}
.btn-red:hover {
    color: var(--red);
}
/* orange */
.btn-orange {
    background-color: var(--orange);
}
.btn-orange:after {
    background-color: var(--orange-bg);
}
.btn-orange:hover {
    color: var(--orange);
}
/* yellow */
.btn-yellow {
    background-color: var(--yellow);
}
.btn-yellow:after {
    background-color: var(--yellow-bg);
}
.btn-yellow:hover {
    color: var(--yellow);
}
/* green */
.btn-green {
    background-color: var(--green);
}
.btn-green:after {
    background-color: var(--green-bg);
}
.btn-green:hover {
    color: var(--green);
}
/* cyan */
.btn-cyan {
    background-color: var(--cyan);
}
.btn-cyan:after {
    background-color: var(--cyan-bg);
}
.btn-cyan:hover {
    color: var(--cyan);
}
/* blue */
.btn-blue {
    background-color: var(--blue);
}
.btn-blue:after {
    background-color: var(--blue-bg);
}
.btn-blue:hover {
    color: var(--blue);
}
/* pink */
.btn-pink {
    background-color: var(--pink);
}
.btn-pink:after {
    background-color: var(--pink-bg);
}
.btn-pink:hover {
    color: var(--pink);
}

/* Note Box */
.note-box {
    width: 100%;
    margin-bottom: 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 0 16px 16px 0;
    overflow: hidden;
}
.note-box-vbar {
    width: 6px;
    height: 100%;
}
.note-box-content {
    flex-grow: 1;
    padding: 0 12px;
    margin-left: 6px;
    box-sizing: border-box;
}
.note-box-title {
    font-size: 20px;
    margin-top: 12px;
    margin-bottom: 12px;
    font-weight: bold;
}
/* red */
.note-box-red {
    background-color: var(--red);
}
.note-box-red .note-box-content {
    background-color: var(--red-bg);
}
.note-box-red .note-box-title {
    color: var(--red);
}
/* orange */
.note-box-orange {
    background-color: var(--orange);
}
.note-box-orange .note-box-content {
    background-color: var(--orange-bg);
}
.note-box-orange .note-box-title {
    color: var(--orange);
}
/* yellow */
.note-box-yellow {
    background-color: var(--yellow);
}
.note-box-yellow .note-box-content {
    background-color: var(--yellow-bg);
}
.note-box-yellow .note-box-title {
    color: var(--yellow);
}
/* green */
.note-box-green {
    background-color: var(--green);
}
.note-box-green .note-box-content {
    background-color: var(--green-bg);
}
.note-box-green .note-box-title {
    color: var(--green);
}
/* cyan */
.note-box-cyan {
    background-color: var(--cyan);
}
.note-box-cyan .note-box-content {
    background-color: var(--cyan-bg);
}
.note-box-cyan .note-box-title {
    color: var(--cyan);
}
/* blue */
.note-box-blue {
    background-color: var(--blue);
}
.note-box-blue .note-box-content {
    background-color: var(--blue-bg);
}
.note-box-blue .note-box-title {
    color: var(--blue);
}
/* pink */
.note-box-pink {
    background-color: var(--pink);
}
.note-box-pink .note-box-content {
    background-color: var(--pink-bg);
}
.note-box-pink .note-box-title {
    color: var(--pink);
}

/* Link */
.standard-link {
    text-decoration: none;
    color: black;
    cursor: pointer;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: var(--purple);
}
.standard-link:hover {
    border-bottom-width: 3px;
}
.img-link {
    max-width: 100%;
    display: inline-block;
}

/* Paragraph */
p {
    margin-top: 0;
    margin-bottom: 12px;
}

/* Code */
.code {
    font-family: "Source Code Pro", "CMU Typewriter Text", "Consolas", "Courier New", "Arial", "Helvetica Neue", "AlibabaPuHuiTi-2";
    font-size: 15px;
    line-height: 24px;
    white-space: pre-wrap;
    background-color: #e3e3e3;
    padding: 8px 12px;
    box-sizing: border-box;
    overflow-x: auto;
    text-wrap: nowrap;
    color: var(--brown);
}
.shell-command {
    color: var(--gold);
}
.shell-flag {
    color: var(--blue);
}

/* Image */
.img-box {
    width: 100%;
    margin-top: 0;
    margin-bottom: 12px;
}
.img-box .img-link {
    display: block;
}
.img-with-border {
    border: 1px solid var(--purple);
    border-radius: 16px;
}
.img-caption {
    color: #888888;
    font-size: 14px;
}
.img-box.img-caption {
    margin-top: 0;
    margin-bottom: 0;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
}
th, td {
    padding: 6px 8px;
}
tbody > tr:nth-child(odd) {
    background-color: var(--purple-bg);
}
.table-hscroll {
    margin-bottom: 12px;
    overflow-x: auto;
}
.table-hscroll table {
    margin-bottom: 0;
}

/* No Margin */
.no-margin-top {
    margin-top: 0;
}
.no-margin-bottom {
    margin-bottom: 0;
}
.no-margin-tb {
    margin-top: 0;
    margin-bottom: 0;
}
.half-margin-top {
    margin-top: 8px;
}
.half-margin-bottom {
    margin-bottom: 8px;
}
.full-margin-top {
    margin-top: 16px;
}
.full-margin-bottom {
    margin-bottom: 16px;
}

/* Encrypted Email */
.em-enc-txt-p {
    display: none;
}

/* Aligner */
.aligner {
    width: 100%;
    max-width: 1232px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

/* Header */
#header {
    width: 100%;
    height: 56px;
    box-sizing: border-box;
    background-color: var(--purple-bg);
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#header .aligner {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
#header-l {
    justify-content: flex-start;
    align-items: center;
    width: 195px;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    column-gap: 10px;
    cursor: default;
}
html[lang="zh-CN"] #header-l,
html[lang="zh-HK"] #header-l
{
    width: 260px;
}
#header-r {
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
#header-brand-a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}
#header-logo {
    width: 40px;
    height: 40px;
}
/* bn = brand name */
#header-bn {
    font-size: 22px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0;
}
#header-menu {
    font-size: 17px;
    background-color: var(--purple-bg);
    height: 100%;
}
#header-menu-flexbox {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
}
.header-menu-pc-sep {
    width: 1.5px;
    height: 30px;
    background-color: var(--purple);
}
#header-menu a {
    color: var(--purple);
    text-decoration: none;
}
#header-menu a:hover {
    color: var(--green);
    text-decoration: none;
}
#header-menu-mobile,
#header-menu-mobile-btn-out
{
    display: none;
}
#header-menu-mobile-btn {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: var(--purple);
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-dropdown {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    row-gap: 6px;
    position: absolute;
    top: 48px;
    background-color: var(--purple-bg);
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: var(--purple);
    border-radius: 0 0 10px 10px;
    box-sizing: border-box;
    z-index: 4;
    cursor: default;
}
.header-dropdown-link {
    display: inline-block;
}
#header-lang-dropdown-out {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: default;
    position: relative;
    height: 100%;
}
/* set width for the convenience of dropdown items padding adjustment */
#header-lang-dropdown-out .fa-globe {
    text-align: left;
    width: 25px;
}
#header-lang-dropdown-out .fa-caret-down {
    text-align: right;
    width: 30px;
}
#header-lang-current {
    min-width: 60px;
}
#header-lang-others {
    left: 0;
    top: 48px;
    width: 100%;
    padding-left: 25px;
    padding-bottom: 8px;
}
#header-lang-others {
    left: 0;
    width: 100%;
    padding-left: 25px;
    padding-bottom: 8px;
}
#header-darkmode-out {
    height: 100%;
    width: 24px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
#header-darkmode-dropdown {
    right: -10px;
    width: 130px;
    padding: 0 12px 8px;
}
#header-menu #header-darkmode-dropdown a.header-darkmode-current {
    font-weight: bold;
    cursor: default;
    color: var(--green);
}
.header-darkmode-in-icon {
    display: inline-block;
    width: 22px;
    margin-right: 6px;
    text-align: center;
}

/* Middle */
#middle {
    background-color: white;
    width: 100%;
    min-height: calc(100vh - 50px);
    padding-top: 56px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}
body.err-page.no-sidebar #middle {
    align-items: center;
    background-image: linear-gradient(176deg, var(--purple-bg) 0%, var(--purple-bg) 15%, var(--blue-bg) 23%, var(--green-bg) 30%, #ffffff 40%, #ffffff 60%, var(--green-bg) 70%, var(--blue-bg) 77%, var(--purple-bg) 85%, var(--purple-bg) 100%);
}
#content-sidebar-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
.section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: white;
    text-align: center;
    width: 100%;
    padding-top: 36px;
    padding-bottom: 36px;
    box-sizing: border-box;
}
.section-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 28px;
}
.section-subtitle {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 24px;
}

/* Page Content */
#page-content {
    flex-grow: 1;
    width: calc(100% - 400px);
    min-height: 100px;
    padding-bottom: 24px;
}
body.no-sidebar #page-content {
    width: 100%;
}
.home-intro-box {
    margin-top: 36px;
    margin-bottom: 16px;
}
#page-title {
    font-size: 28px;
    line-height: 32px;
}
body.article-content #page-title {
    /* for better date display */
    margin-bottom: 4px;
}
.page-subtitle {
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.page-subtitle-2 {
    font-size: 20px;
    line-height: 24px;
    margin-top: 20px;
    margin-bottom: 20px;
}
#page-content img {
    width: 100%; /* can change to a specific pixel in the article */
    max-width: 100%;
    border-color: var(--purple);
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    border-radius: 16px;
}
.home-intro-box #page-title,
.home-intro-box p
{
    width: 100%;
    text-align: center;
}
.home-intro-box p:not(.home-intro-p-standard) {
    font-size: 18px;
}
#err-404-container {
    margin-top: 36px;
    margin-bottom: 36px;
}
.article-card {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 16px 16px 4px;
    margin-bottom: 16px;
    text-decoration: none;
    color: inherit;
}
.article-card p {
    margin-top: 0;
    margin-bottom: 12px;
}
.article-card p.article-card-title {
    font-size: 22px;
    line-height: 28px;
    font-weight: bold;
    margin-bottom: 3px;
}
.article-card p.article-card-date {
    margin-bottom: 6px;
}
.article-card-tags {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 6px;
    row-gap: 6px;
    margin-bottom: 12px;
}
.article-card-tag {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: max-content;
    padding: 2px 12px;
    box-sizing: border-box;
    height: 28px;
    border-radius: 14px;
    background-color: var(--purple);
    color: white;
    font-size: 14px;
}
#article-head {
    margin-bottom: 24px;
}
#article-tail {
    margin-top: 24px;
}
.article-tail-box {
    margin-bottom: 16px;
}

/* Right Sidebar */
#sidebar {
    width: 380px;
    margin-left: 20px;
    padding: 20px 0 24px;
    box-sizing: border-box;
}
.sidebar-card {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 16px 16px 4px;
    margin-bottom: 16px;
}
.sidebar-card-title {
    font-size: 22px;
    line-height: 26px;
    font-weight: bold;
}
.sidebar-card p {
    margin-top: 0;
    margin-bottom: 12px;
}
.sidebar-card p.p-before-list {
    margin-top: 0;
    margin-bottom: 4px;
}
.sidebar-article-card-out {
    margin-top: 16px;
    margin-bottom: 16px;
}
.sidebar-card .social-btn-out {
    width: 100%;
    margin-bottom: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    column-gap: 10px;
}
.sidebar-card .social-btn-out a {
    text-decoration: none;
    display: block;
}
.sidebar-card .social-btn {
    font-size: 28px;
}
.sidebar-article-card {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #888888;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.sidebar-card .sidebar-article-card:first-child {
    border-top: 1px solid #888888;
}
.sidebar-article-card-l {
    text-align: left;
    flex-grow: 1;
}
.sidebar-article-card p.article-card-title {
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 2px;
}
.sidebar-article-card p.article-card-date {
    margin-bottom: 0;
}
.sidebar-article-card-r {
    text-align: right;
    font-size: 24px;
    margin-left: 16px;
}
.article-card-date {
    font-size: 15px;
    color: #888888;
}

/* Footer */
#footer {
    background-color: var(--purple);
    color: white;
    width: 100%;
    padding: 8px 0;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#footer p,
#footer .footer-p
{
    margin-top: 6px;
    margin-bottom: 6px;
}
#footer-icp-no {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 6px;
}
#footer-icp-no span,
#footer-icp-no a
{
    display: inline-block;
}
.cn-public-security-icon {
    width: 18px;
    height: 18px;
    margin-right: 2px;
}
#footer a {
    text-decoration: none;
}
#footer a:hover {
    text-decoration: underline;
}

/* IPv6 Badge */
.ipv6-badge{
	font-size: 14px;
    line-height: 17px;
	border-width: 2px;
	border-radius: 3px;
	border-style: solid;
	border-color: var(--blue-light);
    display: inline-block;
	padding: 1px 3px;
    box-sizing: border-box;
	color: var(--blue-light);
	font-weight: bold;
	cursor: pointer;
	vertical-align: middle;
}
.ipv6-badge-now{
	border-color: #00cc00;
	color: #00cc00;
}
#header-l .ipv6-badge {
    position: relative;
    bottom: 8px;
}
.footer-p .ipv6-badge {
    position: relative;
    bottom: 1px;
}

/* Unique Personality */
#personality-content-out {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#personality-content {
    width: 100%;
    max-width: 950px;
    text-align: center;
}
#personality .item-card-holder {
    margin-bottom: 0;
}
#personality-content-inner-out {
    width: 100%;
    display: inline-block;
}
body.lang-zh-cn #personality-content-inner-out {
    max-width: 700px;
}
.personality-item-box {
    width: 100%;
    margin-top: 0;
    margin-bottom: 14px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.personality-item-no {
    width: 28px;
    height: 28px;
    padding: 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 50%;
    background-color: var(--purple);
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin-right: 12px;
}
.personality-item-text {
    flex-grow: 1;
    text-align: left;
}

/* Phone View */
@media screen and (max-width: 1029px) {
    #header-menu {
        display: none;
        z-index: 3;
        position: fixed;
        top: 56px;
        left: 0;
        width: 100% !important; /* overrides jQuery width animation */
        height: auto;
        max-height: calc(100% - 56px);
        padding: 28px 16px 40px;
        box-sizing: border-box;
        align-items: center;
        font-size: 20px;
        overflow-y: auto;
    }
    #header-menu-flexbox {
        flex-direction: column;
        justify-content: flex-start;
        row-gap: 24px;
    }
    .header-menu-pc-sep {
        display: none;
    }
    #header-menu-mobile-btn-out {
        display: block;
    }
    .header-dropdown-link:before {
        content: "|";
        display: inline-block;
        width: 12px;
        margin-left: 4px;
        text-align: center;
    }
    #header-lang-dropdown-out,
    #header-darkmode-out
    {
        width: 100%;
        height: auto;
        text-align: center;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    #header-lang-dropdown-out .fa-globe {
        width: 30px;
    }
    #header-lang-dropdown-out .fa-caret-down {
        display: none;
    }
    #header-lang-others,
    #header-darkmode-dropdown
    {
        position: static;
        display: block;
        width: auto;
        border-width: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    #header-darkmode-inst {
        display: none;
    }
    #page-content {
        width: calc(100% - 350px);
    }
    body.no-sidebar #page-content {
        width: 100%;
    }
    #sidebar {
        width: 330px;
    }
}
@media screen and (max-width: 899px) {
    #page-content {
        width: 100%;
    }
    #sidebar {
        display: none;
    }
}


/* PC View Only */
@media screen and (min-width: 1030px) {
    #header-lang-dropdown-out:hover #header-lang-others,
    #header-lang-others:hover,
    #header-darkmode-out:hover #header-darkmode-dropdown,
    #header-darkmode-dropdown:hover
    {
        display: flex;
    }
}

/* Dark Mode (Auto, System) */
@media (prefers-color-scheme: dark) {
    /* Basic Elements */
    body {
        color: white;
    }
    #white-bg {
        background-color: black;
    }
    .standard-link {
        color: white;
        border-bottom-color: var(--purple-light);
    }
    /* Colour Classes */
    .red {
        color: var(--red-light);
    }
    .red-bg {
        background-color: var(--red-bg-dark);
    }
    .orange {
        color: var(--orange-light);
    }
    .orange-bg {
        background-color: var(--orange-bg-dark);
    }
    .yellow {
        color: var(--yellow-light);
    }
    .yellow-bg {
        background-color: var(--yellow-bg-dark);
    }
    .green {
        color: var(--green-light);
    }
    .green-bg {
        background-color: var(--green-bg-dark);
    }
    .cyan {
        color: var(--cyan-light);
    }
    .cyan-bg {
        background-color: var(--cyan-bg-dark);
    }
    .blue {
        color: var(--blue-light);
    }
    .blue-bg {
        background-color: var(--blue-bg-dark);
    }
    .purple {
        color: var(--purple-light);
    }
    .purple-bg {
        background-color: var(--purple-bg-dark);
    }
    .pink {
        color: var(--pink-light);
    }
    .pink-bg {
        background-color: var(--pink-bg-dark);
    }
    .list-brown li::before {
        color: var(--brown-light);
    }
    .list-red li::before {
        color: var(--red-light);
    }
    .list-orange li::before {
        color: var(--orange-light);
    }
    .list-yellow li::before {
        color: var(--yellow-light);
    }
    .list-green li::before {
        color: var(--green-light);
    }
    .list-cyan li::before {
        color: var(--cyan-light);
    }
    .list-blue li::before {
        color: var(--blue-light);
    }
    .list-purple li::before {
        color: var(--purple-light);
    }
    .list-pink li::before {
        color: var(--pink-light);
    }
    /* Buttons */
    .btn-red:after {
        background-color: var(--red-bg-dark);
    }
    .btn-orange:after {
        background-color: var(--orange-bg-dark);
    }
    .btn-yellow:after {
        background-color: var(--yellow-bg-dark);
    }
    .btn-green:after {
        background-color: var(--green-bg-dark);
    }
    .btn-cyan:after {
        background-color: var(--cyan-bg-dark);
    }
    .btn-blue:after {
        background-color: var(--blue-bg-dark);
    }
    .btn-pink:after {
        background-color: var(--pink-bg-dark);
    }
    /* Note Box */
    .note-box-red .note-box-content {
        background-color: var(--red-bg-dark);
    }
    .note-box-orange .note-box-content {
        background-color: var(--orange-bg-dark);
    }
    .note-box-yellow .note-box-content {
        background-color: var(--yellow-bg-dark);
    }
    .note-box-green .note-box-content {
        background-color: var(--green-bg-dark);
    }
    .note-box-cyan .note-box-content {
        background-color: var(--cyan-bg-dark);
    }
    .note-box-blue .note-box-content {
        background-color: var(--blue-bg-dark);
    }
    .note-box-pink .note-box-content {
        background-color: var(--pink-bg-dark);
    }
    /* Code */
    .code {
        background-color: #222222;
        color: var(--brown-light);
    }
    .shell-command {
        color: var(--gold-light);
    }
    .shell-flag {
        color: var(--blue-light);
    }
    /* Table */
    tbody > tr:nth-child(odd) {
        background-color: var(--purple-bg-dark);
    }
    /* Header */
    #header, #header-menu {
        background-color: var(--purple-bg-dark);
    }
    #header-menu a {
        color: var(--purple-light);
    }
    #header-menu a:hover {
        color: var(--green-light);
    }
    .header-menu-pc-sep {
        background-color: var(--purple-light);
    }
    .header-dropdown {
        border-color: var(--purple-light);
    }
    #header-lang-others,
    #header-darkmode-dropdown
    {
        background-color: var(--purple-bg-dark);
    }
    #header-menu #header-darkmode-dropdown a.header-darkmode-current {
        color: var(--green-light)
    }
    /* Middle */
    #middle {
        background-color: black;
    }
    .section {
        background-color: black;
    }
    body.err-page.no-sidebar #middle {
        align-items: center;
        background-image: linear-gradient(176deg, var(--purple-bg-dark) 0%, var(--purple-bg-dark) 15%, var(--blue-bg-dark) 23%, var(--green-bg-dark) 30%, #000000 40%, #000000 60%, var(--green-bg-dark) 70%, var(--blue-bg-dark) 77%, var(--purple-bg-dark) 85%, var(--purple-bg-dark) 100%);
    }
}

/* Dark Mode (Dark, Manual) */
/* Basic Elements */
body.dark-mode-dark {
    color: white;
}
body.dark-mode-dark #white-bg {
    background-color: black;
}
body.dark-mode-dark .standard-link {
    color: white;
    border-bottom-color: var(--purple-light);
}
/* Colour Classes */
body.dark-mode-dark .red {
    color: var(--red-light);
}
body.dark-mode-dark .red-bg {
    background-color: var(--red-bg-dark);
}
body.dark-mode-dark .orange {
    color: var(--orange-light);
}
body.dark-mode-dark .orange-bg {
    background-color: var(--orange-bg-dark);
}
body.dark-mode-dark .yellow {
    color: var(--yellow-light);
}
body.dark-mode-dark .yellow-bg {
    background-color: var(--yellow-bg-dark);
}
body.dark-mode-dark .green {
    color: var(--green-light);
}
body.dark-mode-dark .green-bg {
    background-color: var(--green-bg-dark);
}
body.dark-mode-dark .cyan {
    color: var(--cyan-light);
}
body.dark-mode-dark .cyan-bg {
    background-color: var(--cyan-bg-dark);
}
body.dark-mode-dark .blue {
    color: var(--blue-light);
}
body.dark-mode-dark .blue-bg {
    background-color: var(--blue-bg-dark);
}
body.dark-mode-dark .purple {
    color: var(--purple-light);
}
body.dark-mode-dark .purple-bg {
    background-color: var(--purple-bg-dark);
}
body.dark-mode-dark .pink {
    color: var(--pink-light);
}
body.dark-mode-dark .pink-bg {
    background-color: var(--pink-bg-dark);
}
body.dark-mode-dark .list-brown li::before {
    color: var(--brown-light);
}
body.dark-mode-dark .list-red li::before {
    color: var(--red-light);
}
body.dark-mode-dark .list-orange li::before {
    color: var(--orange-light);
}
body.dark-mode-dark .list-yellow li::before {
    color: var(--yellow-light);
}
body.dark-mode-dark .list-green li::before {
    color: var(--green-light);
}
body.dark-mode-dark .list-cyan li::before {
    color: var(--cyan-light);
}
body.dark-mode-dark .list-blue li::before {
    color: var(--blue-light);
}
body.dark-mode-dark .list-purple li::before {
    color: var(--purple-light);
}
body.dark-mode-dark .list-pink li::before {
    color: var(--pink-light);
}
/* Buttons */
body.dark-mode-dark .btn-red:after {
    background-color: var(--red-bg-dark);
}
body.dark-mode-dark .btn-orange:after {
    background-color: var(--orange-bg-dark);
}
body.dark-mode-dark .btn-yellow:after {
    background-color: var(--yellow-bg-dark);
}
body.dark-mode-dark .btn-green:after {
    background-color: var(--green-bg-dark);
}
body.dark-mode-dark .btn-cyan:after {
    background-color: var(--cyan-bg-dark);
}
body.dark-mode-dark .btn-blue:after {
    background-color: var(--blue-bg-dark);
}
body.dark-mode-dark .btn-pink:after {
    background-color: var(--pink-bg-dark);
}
/* Note Box */
body.dark-mode-dark .note-box-red .note-box-content {
    background-color: var(--red-bg-dark);
}
body.dark-mode-dark .note-box-orange .note-box-content {
    background-color: var(--orange-bg-dark);
}
body.dark-mode-dark .note-box-yellow .note-box-content {
    background-color: var(--yellow-bg-dark);
}
body.dark-mode-dark .note-box-green .note-box-content {
    background-color: var(--green-bg-dark);
}
body.dark-mode-dark .note-box-cyan .note-box-content {
    background-color: var(--cyan-bg-dark);
}
body.dark-mode-dark .note-box-blue .note-box-content {
    background-color: var(--blue-bg-dark);
}
body.dark-mode-dark .note-box-pink .note-box-content {
    background-color: var(--pink-bg-dark);
}
/* Code */
body.dark-mode-dark .code {
    background-color: #222222;
    color: var(--brown-light);
}
body.dark-mode-dark .shell-command {
    color: var(--gold-light);
}
body.dark-mode-dark .shell-flag {
    color: var(--blue-light);
}
/* Table */
body.dark-mode-dark tbody > tr:nth-child(odd) {
    background-color: var(--purple-bg-dark);
}
/* Header */
body.dark-mode-dark #header,
body.dark-mode-dark #header-menu {
    background-color: var(--purple-bg-dark);
}
body.dark-mode-dark #header-menu a {
    color: var(--purple-light);
}
body.dark-mode-dark #header-menu a:hover {
    color: var(--green-light);
}
body.dark-mode-dark .header-menu-pc-sep {
    background-color: var(--purple-light);
}
body.dark-mode-dark .header-dropdown {
    border-color: var(--purple-light);
}
body.dark-mode-dark #header-lang-others,
body.dark-mode-dark #header-darkmode-dropdown
{
    background-color: var(--purple-bg-dark);
}
body.dark-mode-dark #header-menu #header-darkmode-dropdown a.header-darkmode-current {
    color: var(--green-light)
}
/* Middle */
body.dark-mode-dark #middle {
    background-color: black;
}
body.dark-mode-dark .section {
    background-color: black;
}
body.dark-mode-dark.err-page.no-sidebar #middle {
    align-items: center;
    background-image: linear-gradient(176deg, var(--purple-bg-dark) 0%, var(--purple-bg-dark) 15%, var(--blue-bg-dark) 23%, var(--green-bg-dark) 30%, #000000 40%, #000000 60%, var(--green-bg-dark) 70%, var(--blue-bg-dark) 77%, var(--purple-bg-dark) 85%, var(--purple-bg-dark) 100%);
}

/* Dark Mode (Light, Manual) */
/* Basic Elements */
body.dark-mode-light {
    color: black;
}
body.dark-mode-light #white-bg {
    background-color: white;
}
body.dark-mode-light .standard-link {
    color: black;
    border-bottom-color: var(--purple);
}
/* Colour Classes */
body.dark-mode-light .red {
    color: var(--red);
}
body.dark-mode-light .red-bg {
    background-color: var(--red-bg);
}
body.dark-mode-light .orange {
    color: var(--orange);
}
body.dark-mode-light .orange-bg {
    background-color: var(--orange-bg);
}
body.dark-mode-light .yellow {
    color: var(--yellow);
}
body.dark-mode-light .yellow-bg {
    background-color: var(--yellow-bg);
}
body.dark-mode-light .green {
    color: var(--green);
}
body.dark-mode-light .green-bg {
    background-color: var(--green-bg);
}
body.dark-mode-light .cyan {
    color: var(--cyan);
}
body.dark-mode-light .cyan-bg {
    background-color: var(--cyan-bg);
}
body.dark-mode-light .blue {
    color: var(--blue);
}
body.dark-mode-light .blue-bg {
    background-color: var(--blue-bg);
}
body.dark-mode-light .purple {
    color: var(--purple);
}
body.dark-mode-light .purple-bg {
    background-color: var(--purple-bg);
}
body.dark-mode-light .pink {
    color: var(--pink);
}
body.dark-mode-light .pink-bg {
    background-color: var(--pink-bg);
}
body.dark-mode-light .list-brown li::before {
    color: var(--brown);
}
body.dark-mode-light .list-red li::before {
    color: var(--red);
}
body.dark-mode-light .list-orange li::before {
    color: var(--orange);
}
body.dark-mode-light .list-yellow li::before {
    color: var(--yellow);
}
body.dark-mode-light .list-green li::before {
    color: var(--green);
}
body.dark-mode-light .list-cyan li::before {
    color: var(--cyan);
}
body.dark-mode-light .list-blue li::before {
    color: var(--blue);
}
body.dark-mode-light .list-purple li::before {
    color: var(--purple);
}
body.dark-mode-light .list-pink li::before {
    color: var(--pink);
}
/* Buttons */
body.dark-mode-light .btn-red:after {
    background-color: var(--red-bg);
}
body.dark-mode-light .btn-orange:after {
    background-color: var(--orange-bg);
}
body.dark-mode-light .btn-yellow:after {
    background-color: var(--yellow-bg);
}
body.dark-mode-light .btn-green:after {
    background-color: var(--green-bg);
}
body.dark-mode-light .btn-cyan:after {
    background-color: var(--cyan-bg);
}
body.dark-mode-light .btn-blue:after {
    background-color: var(--blue-bg);
}
body.dark-mode-light .btn-pink:after {
    background-color: var(--pink-bg);
}
/* Note Box */
body.dark-mode-light .note-box-red .note-box-content {
    background-color: var(--red-bg);
}
body.dark-mode-light .note-box-orange .note-box-content {
    background-color: var(--orange-bg);
}
body.dark-mode-light .note-box-yellow .note-box-content {
    background-color: var(--yellow-bg);
}
body.dark-mode-light .note-box-green .note-box-content {
    background-color: var(--green-bg);
}
body.dark-mode-light .note-box-cyan .note-box-content {
    background-color: var(--cyan-bg);
}
body.dark-mode-light .note-box-blue .note-box-content {
    background-color: var(--blue-bg);
}
body.dark-mode-light .note-box-pink .note-box-content {
    background-color: var(--pink-bg);
}
/* Code */
body.dark-mode-light .code {
    background-color: #e3e3e3;
    color: var(--brown);
}
body.dark-mode-light .shell-command {
    color: var(--gold);
}
body.dark-mode-light .shell-flag {
    color: var(--blue);
}
/* Table */
body.dark-mode-light tbody > tr:nth-child(odd) {
    background-color: var(--purple-bg);
}
/* Header */
body.dark-mode-light #header,
body.dark-mode-light #header-menu {
    background-color: var(--purple-bg);
}
body.dark-mode-light #header-menu a {
    color: var(--purple);
}
body.dark-mode-light #header-menu a:hover {
    color: var(--green);
}
body.dark-mode-light .header-menu-pc-sep {
    background-color: var(--purple);
}
body.dark-mode-light .header-dropdown {
    border-color: var(--purple);
}
body.dark-mode-light #header-lang-others,
body.dark-mode-light #header-darkmode-dropdown
{
    background-color: var(--purple-bg);
}
body.dark-mode-light #header-menu #header-darkmode-dropdown a.header-darkmode-current {
    color: var(--green)
}
/* Middle */
body.dark-mode-light #middle {
    background-color: white;
}
body.dark-mode-light .section {
    background-color: white;
}
body.dark-mode-light.err-page.no-sidebar #middle {
    align-items: center;
    background-image: linear-gradient(176deg, var(--purple-bg) 0%, var(--purple-bg) 15%, var(--blue-bg) 23%, var(--green-bg) 30%, #ffffff 40%, #ffffff 60%, var(--green-bg) 70%, var(--blue-bg) 77%, var(--purple-bg) 85%, var(--purple-bg) 100%);
}