@import url('./wh.css');
@import url('./themes/dark.css');
@import url('./themes/light.css');

html {
    overflow-x: hidden;
}
body {
    /* cursor: none; */
    overflow-x: hidden;
}

a {
    cursor: pointer;
    color: var(--text-color);
    text-decoration: none;
    text-underline-offset: 0.25rem; /* 可以使用像素值或百分比 */
}
a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

a.current {
    font-weight: bold;
    color: var(--bs-blue);
}

input.no-border[type='text'],
input.no-border[type='text']:hover,
input.no-border[type='text']:focus {
    border: none;
    outline: none;
    border-radius: 0;
    background-color: transparent;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 2rem;
}

.list-a a {
    margin: 0.5rem;
}

.color-bottom div {
    font-size: 1rem;
    font-weight: 500;
}
.color-bottom div a {
    padding: 0.5rem;
    margin: 0 0.5rem;
}

.pointer {
    cursor: pointer;
    caret-color: transparent;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

.show {
    display: block !important;
}
.hide {
    display: none !important;
}

.fs-d6 {
    font-size: 0.6rem;
}

.fs-d8 {
    font-size: 0.8rem;
}

.render-btn {
    cursor: pointer;
    caret-color: transparent;
    font-size: 0.8rem;
    padding: 0.125rem 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid var(--bs-gray-400);
    border-radius: 2rem;
}
.render-btn:hover {
    color: color-mix(in srgb, var(--bs-blue) 50%, white);
    border: 1px solid color-mix(in srgb, var(--bs-blue) 50%, white);
    text-decoration: none;
}

.render-btn.current {
    font-weight: bold;
    color: var(--bs-blue);
    border: 1px solid var(--bs-blue);
}

#loading {
    width: 30px;
    height: 30px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--bs-blue);
    border-radius: 50%;
    cursor: pointer;
    caret-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.ar-1-1 {
    aspect-ratio: 1/1;
}
