body {
    display: flex;
    justify-content: center;
    padding-bottom: 40px;

    font-family: "Inter", sans-serif;
    font-weight: 400;

    background-color: var(--bg-body);
    color: var(--text-primary);

    letter-spacing: -0.25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.div-main-area {
    position: relative;
    width: 80%;
    max-width: 1200px;
    min-height: calc(100vh - 40px - 2*8px - 50px - 30px - 30px - 10px);
    padding: 30px 50px 10px;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    background: var(--bg-main);
    border-radius: 20px;
    box-shadow: 0 2px 6px var(--shadow);
}

.div-header-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-bottom: 20px;
}

.div-header-main * {
    user-select: none;
}

.header-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.img-header-logo {
    height: 4em;
    width: auto;
}

.header {
    color: var(--text-header);
    font-size: 64px;
    font-family: 'Cinzel', serif;
    margin: 0;
}

.tooltip {
    position: absolute;

    background: var(--bg-tooltip);
    color: var(--text-tooltip);
    backdrop-filter: blur(6px);

    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;

    white-space: nowrap;
    transform: translateX(-50%) scale(0.95);

    opacity: 0;
    transition: 
        opacity .25s cubic-bezier(0.22, 1, 0.36, 1),
        transform .25s cubic-bezier(0.22, 1, 0.36, 1);

    pointer-events: none;
    z-index: 1000;
}

.tooltip.show {
    opacity: 1;
    transform: translate(-50%) scale(1);
}

.dark .tooltip {
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-main {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(80% + 2*22px);
    max-width: 1260px;

    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;

    white-space: nowrap;
    overflow: hidden;
    
    padding: 8px 20px;

    border-radius: 20px 20px 0 0;

    background: var(--bg-footer);
    color: var(--text-secondary);

    backdrop-filter: blur(6px);

    font-size: 14px;
    z-index: 1000;
}

.app-version--a {
    color: var(--text-secondary);   
}

.app-version--a:hover {
    color: var(--text-primary);   
}

.footer-app-version {
    flex-shrink: 0;
    white-space: nowrap;
}

.footer-disk-volume {
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
}

.server-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--server-status-offline);
    margin-right: 8px;
    vertical-align: middle;
}

.server-status-dot.online {
    background-color: var(--server-status-online);
}

@media (max-width: 768px) {
    .div-main-area {
        width: 95%;
        min-height: calc(100vh - 40px - 2*8px - 2*15px);
        padding: 15px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .footer-main {
        width: calc(95% - 2*5px);  
        padding: 8px 10px;
    }

    .header {
        font-size: 40px;
    }
    
    .img-header-logo {
        height: 2.5em;
    }
}

@media (max-width: 480px) {
    body {
        margin: 0;
        background: var(--bg-main);
    }

    .div-main-area {
        width: 95%;
        min-height: auto;
        padding: 10px;
        margin-top: 0px;
        margin-bottom: 0px;
        border-radius: 0;
        box-shadow: none;
        background: var(--bg-main);
    }

    .footer-main {
        width: 95%;
        justify-content: center;
    }

    .img-header-logo {
        height: 1.8em;
    }

    .header {
        font-size: 28px;
    }
}