/* file định nghĩa các thuộc tính chung nhất - cấu hình cho điện thoại */
:root {
    --header-height: 70px;
    --navbar-height: 38px;

    --text-board: aqua;
    --color-menuphone: #2a3e43cc;
    /* --gold: #a07820; */
    --red-deep: #8b1a1a;
    --red: #c0392b;
    --text-color: #f4f4f4;
    --primary-color: #4dabf7;
    --border-color: #444;
    --body-color: #1b1b1b;
    --gold: rgb(229, 245, 128);
    --gold-light: #e8c97a;
    --box-hsk: rgba(247, 243, 235, .03);
    --paper: #f7f3eb;
    --hsk-color: rgba(247, 243, 235, .5);
    --background-color: #0a0a0f;
    --text-whitecolor: #f4f4f4;
}

.light-mode {
    --text-whitecolor: #f4f4f4;
    --text-board: rgb(24, 31, 31);
    --color-menuphone: #0b1011cc;
    --gold: #2d2d2d;
    --text-color: #4d4c4c;
    --primary-color: #338efe;
    --black-color: #000;
    --white-color: #fff;
    --border-color: #dbdbdb;
    --body-color: #fdf6e3;
    --gold-light: #b8860b;
    --box-hsk: rgba(180, 150, 80, 0.08);
    --paper: #2c2c2c;
    --hsk-color: rgba(50, 45, 35, 0.6);
    --background-color: #bcb6a8;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    line-height: 1.6;
    font-family: "Roboto", sans-serif;
    box-sizing: border-box;

    overflow-y: scroll;
}

body.preload {
    visibility: hidden;
}

body {
    margin: 0;
    font-size: 1.6rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background-color: var(--body-color);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
    z-index: 0;
    background: #000;
}

.app {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.font-roboto {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.grid {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.modal {
    background: var(--body-color);
    border: 1px solid rgba(201, 168, 76, .2);
    border-radius: 16px;
    padding: 0;
    width: 100%;
    max-width: 440px;
    margin: 16px;
    position: relative;
}

a {
    text-decoration: none;
}

/* footer -- nội dung bổ xung */
.footer {
    padding: 15px;
    border-top: 1px solid #ddd;

    display: flex;
    flex-direction: column;
    gap: 12px;

    font-size: 1.3rem;
}

.dash-footer {
    display: flex;
    justify-content: flex-end;
}

.footer-note {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;

    color: #666;
    line-height: 1.6;
}

/* thanh tren */
.dash-left {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-right: 1px solid var(--border);
    height: 100%;
}