:root {
    --main: 'Arya', sans-serif;
    --accent: #ffffffbf;
    --bg-color: #000000;
    --text-main: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --nav-scrolled-bg: rgba(0, 0, 0, 0.5);
    --loader-bg: #000000;
    --border-main: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.05);
    --card-hover-border: rgba(255, 255, 255, 0.2);
    --input-bg: rgba(0, 0, 0, 0.3);
    --input-border: rgba(255, 255, 255, 0.2);
}

body.light-mode {
    --bg-color: #ffffff !important;
    --text-main: #000000 !important;
    --text-secondary: rgba(0, 0, 0, 0.7) !important;
    --text-muted: rgba(0, 0, 0, 0.5) !important;
    --nav-scrolled-bg: rgba(255, 255, 255, 0.5) !important;
    --loader-bg: #ffffff !important;
    --border-main: #000000 !important;
    --card-bg: rgba(0, 0, 0, 0.03) !important;
    --card-border: rgba(0, 0, 0, 0.1) !important;
    --card-hover-bg: rgba(0, 0, 0, 0.05) !important;
    --card-hover-border: rgba(0, 0, 0, 0.2) !important;
    --input-bg: rgba(255, 255, 255, 0.7) !important;
    --input-border: rgba(0, 0, 0, 0.2) !important;
}

#auth-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--loader-bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    min-height: 100vh;
    color: var(--text-main);
    background: var(--bg-color) !important;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    font-family: var(--main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-image: var(--bg-image, url('/resources/SDO-back-back-option-two.png'));
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(170px);
    opacity: 1;
    z-index: 0;
    animation: backgroundFloat 30s ease-in-out infinite;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

body.light-mode::before {
    filter: blur(200px) contrast(2);
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    25% {
        transform: rotate(45deg) scale(1.05);
        opacity: 0.7;
    }
    50% {
        transform: rotate(90deg) scale(1.1);
        opacity: 0.9;
    }
    75% {
        transform: rotate(45deg) scale(1.05);
        opacity: 0.7;
    }
}

.front-cover {
    background-image: url('/resources/grid.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    height: 115vh;
    width: 101.5vw;
    z-index: 0;
    transition: background-image 0.3s ease;
}

body.light-mode .front-cover {
    background-image: url('/resources/grid-light.png');
}

/* NAV */
nav {
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 9rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    z-index: 10;
    pointer-events: none;
}

.brand h1 {
    font-family: var(--main);
    font-size: 2.5rem;
    padding: 0;
    margin: 0;
}

.brand img {
    height: 2.8rem;
    width: 2.8rem;
    padding: 0;
    margin: 0;
    margin-right: 0.5rem;
    transform: translateY(.38rem);
    transition: all 0.3s ease;
}

.nav-options {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.nav-options ul {
    display: flex;
    list-style: none;
    gap: 5rem;
}

.nav-options a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 100;
    opacity: 0.5;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-options a.active,
.nav-options a:hover {
    opacity: 1;
}

.nav-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.7rem;
    z-index: 10;
}

.nav-extras-top p {
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.nav-extras-top p .admin-badge {
    color: var(--text-main);
    font-weight: 700;
}

.nothing-here {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.nav-extras-bottom a {
    color: var(--text-main);
    text-decoration: none;
    padding: 0.1rem .5rem;
    border: 1px solid var(--text-secondary);
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-extras-bottom a:hover {
    background: var(--text-main);
    color: var(--bg-color);
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: .6rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem .5rem;
}

body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

body.light-mode .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.3);
}

.toggle-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
    background-image: url('/resources/lmoded.png');
}

body.light-mode .toggle-icon {
    background-image: url('/resources/dmodel.png');
}

.theme-toggle:hover .toggle-icon {
    transform: rotate(20deg);
}

nav.scrolled {
    background-color: var(--nav-scrolled-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

body.light-mode nav.scrolled {
    box-shadow: 0 1px 5px rgba(255, 255, 255, 0.1);
}

.mobile-nav,
.mobile-menu {
    display: none;
}

/* HEADER */
.header {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    margin-top: 8rem;
}

.header-top h1 {
    font-family: var(--main);
    font-size: 2.5rem;
    padding: 0;
    margin: 0;
    pointer-events: none;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.header-left {
    position: absolute;
    left: 0;
    margin-left: 15vw;
    padding: 0;
    transform: translateY(0.2rem);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-left input {
    background: var(--input-bg);
    backdrop-filter: blur(10px);
    text-align: center;
    border-radius: 5px;
    padding: 0.3rem 1rem; 
    margin: 0;
    font-family: var(--main);
    font-size: 1rem;
    width: 10rem;
    color: var(--text-main);
    border: 1px solid var(--input-border);
    transition: all 0.3s ease;
}

.header-left input::placeholder {
    color: var(--text-muted);
}

.header-left input:focus {
    outline: none;
    background: var(--input-bg);
    border-color: var(--text-secondary);
}

body.light-mode .header-left input:focus {
    background: rgba(255, 255, 255, 0.9);
}

.header-spacer {
    height: 1px;
    width: 80vw;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

body.light-mode .header-spacer {
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.25), transparent);
}

/* DASHBOARD CONTENT */
.home-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 9rem 0 9rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.home-body .db-one {
    display: flex;
    flex-direction: column;
}

.home-body .db-one h2 {
    font-family: var(--main);
    font-size: 1.25rem;
    padding: 0;
    margin: 5rem 0 0.5rem 1.5rem;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.console-body .db-one h2 {
    font-family: var(--main);
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 0rem 0rem 0rem 1.5rem;
    transition: color 0.3s ease;
    word-break: break-word;
    overflow-wrap: break-word;
}

.db-one-box {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.db-one-box:hover {
    background: var(--card-hover-bg);
    border-color: var(--card-hover-border);
    transform: translateY(-2px);
}

.db-one-box h1 {
    font-family: var(--main);
    font-size: 1.75rem;
    padding: 0;
    margin: 0;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.db-one-box ol {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.db-one-box li {
    font-family: var(--main);
    font-size: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.db-one-box-spacer {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--text-muted), transparent);
    margin: 2rem 0 1rem 0;
}

.db-one-box-bottom {
    opacity: 0.5;
}

.db-one-box-bottom p {
    font-family: var(--main);
    font-size: 0.8rem;
    padding: 0;
    margin: 0;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* CONSOLE CONTENT */
.console-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, max-content));
    gap: 1.5rem;
    padding: 1rem 9rem 0 9rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 4rem;
    justify-content: start; 
}

.console-body .db-one {
    display: flex;
    flex-direction: column;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: max-content; 
}

.console-body .db-one p {
    font-family: var(--main);
    font-size: 1rem;
    padding: 0.3rem 5rem .5rem 1.5rem;
    margin: 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    width: max-content; 
    white-space: nowrap; 
    border: 1px solid var(--card-border);
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.console-body .db-one:hover {
    transform: translateY(-2px);
}

.console-body .db-one:hover p {
    background: var(--card-hover-bg);
    border-color: var(--card-hover-border);
}

/* FOOTER */
.end-footer {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

body.light-mode .end-footer {
    background-color: rgba(255, 255, 255, 0.5);
}

.footer-content {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 8rem;
    margin-top: 1rem;
}

.footer-column-one {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.footer-column-one h3 {
    font-family: var(--main);
    padding: 0;
    margin: 0;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.footer-column-one li {
    font-family: var(--main);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column-one ul {
    padding: 0;
    margin: 0;
}

.footer-column-one a {
    color: var(--text-main);
    text-decoration: none;
    padding: 0;
    margin: 0;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-column-two {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
}

.footer-column-two h3 {
    font-family: var(--main);
    padding: 0;
    margin: 0;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.footer-column-two a {
    font-family: var(--main);
    color: var(--text-main);
    text-decoration: none;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-column-one a:hover,
.footer-column-two a:hover {
    opacity: 1;
}

.footer-spacer {
    height: 1px;
    width: 80vw;
    background-color: var(--text-main);
    opacity: 0.15;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
}

.end-footer p {
    font-family: var(--main);
    opacity: 0.25;
    padding: 0;
    margin: 0;
    font-size: 0.825rem;
    color: var(--text-main);
    transition: color 0.3s ease;
}

/* LOADER */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.3s ease;
}

.loader-circle {
    position: absolute;
    width: 10rem;
    height: 10rem;
    background-size: contain;
    background-repeat: no-repeat;
    animation: loaderSpin 2s ease-in-out infinite;
}

.circle-1 {
    background-image: url('/resources/loading-l.png');
    animation-delay: 0s;
}

.circle-2 {
    background-image: url('/resources/loading-m.png');
    animation-delay: 0.1s;
}

.circle-3 {
    background-image: url('/resources/loading-s.png');
    animation-delay: 0.2s;
}

@keyframes loaderSpin {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0.8;
    }
}

.empty-state, .error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-state h2, .error-state h2 {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.empty-state p, .error-state p {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.back-link {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-link:hover {
    background: var(--card-hover-bg);
    border-color: var(--card-hover-border);
    transform: translateX(-5px);
}

.company-name {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.empty-list {
    opacity: 0.5;
    font-style: italic;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* OVERRIDES */
/* Mobile Phones */
@media (max-width: 768px) {
    /* Disable background animation for performance */
    body::before {
        animation: none;
        background-size: 100%;
        filter: blur(100px);
    }
    
    .front-cover {
        height: 100vh;
        width: 100vw;
    }
    
    /* Hide desktop nav elements on mobile */
    .nav-options,
    .nav-extras,
    .front-cover {
        display: none;
    }
    
    /* Show mobile nav */
    .mobile-nav {
        display: flex;
    }

    nav {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
        min-height: auto;
    }

    .brand {
        margin-left: 1rem;
        flex-shrink: 0;
    }

    .brand h1 {
        font-size: 1.5rem;
        color: var(--text-main);
        transform: translateY(0.05rem);
    }
    
    .brand img {
        height: 2rem;
        width: 2rem;
        margin-right: 0.3rem;
        transform: translateY(0.4rem);
    }

        /* Hamburger Menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        cursor: pointer;
        padding: 0;
        margin-right: 3rem;
        border: none;
        background: transparent;
    }
    
    .hamburger-line {
        height: 1.5px;
        background-color: var(--text-main);
        transition: all 0.3s ease-in-out;
        border-radius: 2px;
    }
    
    nav.scrolled .hamburger-line {
        background-color: var(--text-main);
    }
    
    body.light-mode nav.scrolled .hamburger-line {
        background-color: #000000;
    }
    
    .hamburger-line-one {
        width: 20px;
    }
    
    .hamburger-line-two {
        width: 15px;
        margin-top: 5px;
        align-self: flex-end;
    }
    
    .hamburger-line-three {
        width: 20px;
        margin-top: 5px;
    }
    
    .hamburger.active .hamburger-line-one {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .hamburger-line-two {
        opacity: 0;
        width: 0;
    }
    
    .hamburger.active .hamburger-line-three {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hamburger.active .hamburger-line {
        background-color: var(--text-main);
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-color);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.8);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: none;
        border: none;
        color: var(--text-main);
        font-size: 2rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: rotate(90deg);
    }
    
    body.light-mode .mobile-menu-close:hover {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-items {
        list-style: none;
        text-align: center;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-items li {
        margin: .5rem 0;
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.3s ease;
        transition-delay: calc(var(--i) * 0.1s);
    }
    
    .mobile-menu.active .mobile-menu-items li {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-menu-items a {
        color: var(--text-main);
        text-align: center;
        font-family: var(--main);
        font-size: 1.5rem;
        font-weight: 700;
        text-decoration: none;
        padding: 1rem 1rem;
        border-radius: 15px;
        display: block;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-menu-items a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        transition: left 0.5s;
    }
    
    body.light-mode .mobile-menu-items a::before {
        background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    }
    
    .mobile-menu-items a:hover::before {
        left: 100%;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    nav.scrolled {
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    body.light-mode nav.scrolled {
        background-color: rgba(255, 255, 255, 0.8);
    }

    .nav-options {
        display: none;
    }

    .nav-extras {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .header {
        margin-top: 4rem;
        padding: 0 1rem;
    }

    .header-top h1 {
        font-size: 1.8rem;
    }

    .header-left {
        position: static;
        margin: 1rem 0;
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-left input {
        width: 100%;
        max-width: 250px;
    }

    .home-body {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .console-body {
        display: grid !important;
        grid-template-columns: 1fr !important;  /* ← full-width single column */
        justify-content: center !important;
        padding: 1rem !important;
        gap: 1rem !important;
    }

    .console-body .db-one p {
        padding: 0.3rem 1rem;
        white-space: normal;
        word-wrap: break-word;
    }

    .db-one-box {
        padding: 1rem 2rem 1rem 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .header-spacer,
    .footer-spacer {
        width: 95vw;
        padding: 0;
        margin: 0;
    }

    /* LOADER - MOBILE */
    .loader-circle {
        width: 6rem;
        height: 6rem;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    nav {
        padding: 0.3rem 3rem;
    }

    .brand h1 {
        font-size: 2.2rem;
    }

    .nav-options ul {
        gap: 3rem;
    }

    .nav-options a {
        font-size: 1.3rem;
    }

    .header {
        margin-top: 6rem;
    }

    .header-left {
        margin-left: 8vw;
    }

    .header-left input {
        width: 8rem;
    }

    .home-body {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 1rem 3rem;
        gap: 1.2rem;
    }

    .console-body {
        grid-template-columns: repeat(auto-fill, minmax(300px, max-content));
        padding: 1rem 3rem;
        gap: 1.2rem;
    }

    .footer-content {
        gap: 5rem;
    }
}

/* Large Tablets/Small Laptops */
@media (min-width: 1025px) and (max-width: 1200px) {
    nav {
        padding: 0.2rem 5rem;
    }

    .nav-options ul {
        gap: 4rem;
    }

    .header-left {
        margin-left: 12vw;
    }

    .home-body {
        padding: 1rem 5rem;
    }

    .console-body {
        padding: 1rem 5rem;
    }

    .footer-content {
        gap: 6rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        margin-top: 3rem;
    }

    .header-top h1 {
        font-size: 1.5rem;
    }

    .home-body {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .db-one-box,
    .console-body .db-one,
    .theme-toggle,
    .nav-extras-bottom a,
    .back-link {
        min-height: 44px;
        touch-action: manipulation;
    }

    .nav-options a {
        padding: 0.5rem;
    }
}