/*  name: 全局基础CSS
*   update date: 2026/8/24
*   by: rexxrt
*/

:root {
    --color-body: rgb(16, 16, 16);
    --color-header-background: rgba(16, 16, 16, 0.8);
    --color-header-Icon: rgba(247, 247, 247, 1);
    --color-header-tools-tool: rgba(250, 250, 250, 0.765);
    --color-header-tools-tool-hover: rgba(250, 250, 250, 1);
    --color-main-h1: rgba(247, 247, 247, 1);
    --color-main-h2: rgba(247, 247, 247, 0.985);
    --color-main-h3: rgba(247, 247, 247, 0.980);
    --color-main-h4: rgba(247, 247, 247, 0.975);
    --color-main-h5: rgba(247, 247, 247, 0.970);
    --color-main-h6: rgba(247, 247, 247, 0.965);
    --color-main-p: rgba(247, 247, 247, 0.9);
    --color-main-span: rgba(247, 247, 247, 0.9);
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a, button, input, textarea, [role="button"] {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
li {
    margin: 0;
    user-select: none !important;
}

h1 {
    color: var(--color-main-h1);
}

h2 {
    color: var(--color-main-h2);
}

h3 {
    color: var(--color-main-h3);
}

h4 {
    color: var(--color-main-h4);
}

h5 {
    color: var(--color-main-h5);
}

h6 {
    color: var(--color-main-h6);
}

p,
li {
    color: var(--color-main-p);
}

span {
    color: var(--color-main-span);
}

body {
    margin: 0;
    background-color: var(--color-body);
    user-select: none;
}

header,
header icon,
header tools,
header tools tool,
bottom,
bottom icon,
bottom tools,
bottom tools tool {
    display: flex;
    align-items: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100vw - 13vw - 13vw);
    height: 65px;
    padding: 0 13vw 0 13vw;
    justify-content: space-between;
    background-color: var(--color-header-background);
    backdrop-filter: blur(16px);
    z-index: 999;
}

header icon {
    cursor: pointer;
}

header icon p,
bottom icon p {
    font-size: large;
    font-weight: 700;
    color: var(--color-header-Icon);
}

header icon img,
header tools tool img,
bottom icon img,
bottom tools tool img {
    width: 32px;
    height: 32px;
    padding-right: 8px;
    border-radius: 100%;
}

header tools tool {
    min-width: 65px;
    height: 65px;
    padding: 0 8px 0 8px;
    justify-content: center;
    cursor: pointer;
}

header tools tool p {
    font-weight: 600;
    color: var(--color-header-tools-tool);
}

header tools tool:hover p {
    color: var(--color-header-tools-tool-hover);
}

main {
    width: calc(100% - 12vw - 12vw);
    min-height: calc(80vh - 65px - 8px);
    padding: calc(65px + 8px) 12vw 0 12vw;
}

bottom {
    width: calc(100% - 12vw - 12vw);
    min-height: calc(20vh - 8px);
    padding: 8px 12vw 0 12vw;
    justify-content: space-between;
}

main button {
    min-width: 86px;
    min-height: 48px;
    padding: 4px 16px 4px 16px;
    border: 1px solid var(--color-main-p);
    border-radius: 18px;
    color: var(--color-main-h1);
    background-color: transparent;
    cursor: pointer;
}

main ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

card {
    display: block;
    padding: 18px;
    border: 1px solid var(--color-main-p);
    border-radius: 18px;
}

li>card {
    margin: 16px 0 16px 0;
}
