* {
    box-sizing: border-box;
}
:root {
    --tt-w-background: #fcfff8;
    --tt-w-card-background: #f2f5ed;
    /*--tt-w-card-text: #1A1D16;*/
    --tt-w-card-text: #48672F;
    --tt-w-button-background: #DAE7C9;
    --tt-w-button-text: #3F4A34;
    --gi-badge-border: #3C5A43;
    --gi-badge-text: #3C5A43;
    --gi-btn-bg: #3C5A43;
    --gi-btn-text: #fff;
    --gi-btn-radius: 20px;
    --gi-shadow: 0 2px 8px rgba(60, 90, 67, 0.08);
}
html {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'TT-WebfontUI-Song';
    font-weight: normal;
    font-style: normal;
    padding: 20px;
    margin: 0px;
    height: calc(99.9vh);
    background-color: var(--tt-w-background);
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    color: var(--tt-w-card-text);
    max-width: 100vw;
    overflow-x: hidden;
    /* 隱藏橫向溢出 */
}

a {
    color: var(--tt-w-button-text);
}

h1 {
    font-style: normal;
    font-weight: normal;
    font-size: 3em;
}

h2 {
    font-style: normal;
    font-weight: normal;
    font-size: 2em;
    line-height: 1.6em;
}

h4 {
    font-style: normal;
    font-weight: normal;
    font-size: 1.4em;
    margin-block-start: 1em;
    margin-block-end: 1em;
}

input {
    font-family: 'IPST-M';
}

.navbarBox {
    flex: 6;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgb(255, 255, 255);
    height: calc(6vh);
    /*min-height: 25px;*/
}

.loginBox {
    min-width: 200px;
    border-radius: 300px;
    background-color: var(--tt-w-button-background);
    color: var(--tt-w-button-text);
    height: 100%;
    text-align: center;
    font-size: 1.2em;
    line-height: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logoBox {
    background-color: rgba(50, 57, 57, 0);
    background-image: url("/assets/logo-baa178cf.png");
    background-size: cover;
    background-position: center;
    aspect-ratio: 21/4;
    border-radius: 0px;
    height: 100%;

}

.mainBox {
    width: 100%;
    flex: 60;
    display: flex;
    background-color: rgba(215, 215, 213, 1);
    background-size: cover;
    border-radius: 20px;
    background-position: center;
    align-items: flex-end;
    box-sizing: border-box;
    padding: 15px;
    max-height: calc(94vh);
}

.contentBox {
    width: calc(100%);
    flex: 34;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 10px;
}

.subContentBox {
    flex: 1;
    min-height: 50px;
    background-color: var(--tt-w-card-background);
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-start;
    line-height: 1em;
    padding: 5px 10px;
    color: var(--tt-w-card-text);
    font-size: 1.2em;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 300,
        'GRAD' -25,
        'opsz' 48
}


@media (max-width: 768px) {
    body {
        font-size: 0.5em;
    }

    .contentBox {
        flex-direction: column;

    }
    .loginBox {
    min-width: 100px;
}
}




code[class*=language-],
pre[class*=language-] {
    font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace;
    font-size: 14px;
    line-height: 1.375;
    direction: ltr;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    background: #f5f7ff;
    color: #728fcb
}

pre>code[class*=language-] {
    font-size: 1em
}

code[class*=language-] : : -moz-selection,
code[class*=language-]: : -moz-selection,
pre[class*=language-] : : -moz-selection,
pre[class*=language-]: : -moz-selection {
    text-shadow: none;
    background: #f5f7ff;
}

code[class*=language-] : : selection,
code[class*=language-]: : selection,
pre[class*=language-] : : selection,
pre[class*=language-]: : selection {
    text-shadow: none;
    background: #f5f7ff;
}

pre[class*=language-] {
    padding: 1em;
    margin: .5em 0;
    overflow: auto
}

: not(pre)>code[class*=language-] {
    padding: .1em;
    border-radius: .3em
}

.token.cdata,
.token.comment,
.token.doctype,
.token.prolog {
    color: #b6ad9a
}

.token.punctuation {
    color: #b6ad9a
}

.token.namespace {
    opacity: .7
}

.token.number,
.token.operator,
.token.tag {
    color: #063289
}

.token.function,
.token.property {
    color: #b29762
}

.token.atrule-id,
.token.selector,
.token.tag-id {
    color: #2d2006
}

.token.attr-name,
code.language-javascript {
    color: #896724
}

.language-css .token.string,
.language-scss .token.string,
.style .token.string,
.token.atrule,
.token.attr-value,
.token.boolean,
.token.control,
.token.directive,
.token.entity,
.token.keyword,
.token.regex,
.token.statement,
.token.string,
.token.unit,
.token.url,
code.language-css,
code.language-scss {
    color: #728fcb
}

.token.placeholder,
.token.variable {
    color: #93abdc
}

.token.deleted {
    text-decoration: line-through
}

.token.inserted {
    border-bottom: 1px dotted #2d2006;
    text-decoration: none
}

.token.italic {
    font-style: italic
}

.token.bold,
.token.important {
    font-weight: 700
}

.token.important {
    color: #896724
}

.token.entity {
    cursor: help
}

pre>code.highlight {
    outline: .4em solid #896724;
    outline-offset: .4em
}

.line-numbers.line-numbers .line-numbers-rows {
    border-right-color: #ece8de
}

.line-numbers .line-numbers-rows>span: before {
    color: #cdc4b1
}

.line-highlight.line-highlight {
    background: rgba(45, 32, 6, .2);
    background: -webkit-linear-gradient(left, rgba(45, 32, 6, .2) 70%, rgba(45, 32, 6, 0));
    background: linear-gradient(to right, rgba(45, 32, 6, .2) 70%, rgba(45, 32, 6, 0))
}