body {
    --bg: #ffffff;
    --surface: #F2F2F2;
    --border: #ccc;
    --text: #000;
    --muted: #666;

    --radius: 10px;
    --shadow: 0 0 10px #ccc;

    --primary: #000;

    --color-light: #CECBC8;
    --color-dark: #313437;
}
hr {
    border-top: 3px solid #333;
}
.note {
    display: none;
}
.page-container.focus .page.active .note {
    display: block;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px #ccc;
    border-radius: 6px;
    width: 500px;
    margin: 0 auto;
    background-color: #F2F2F2;
    border-radius: 10px;
    animation: fadeIn .25s ;
    transition: .25s;
    position: absolute;
    top: 25%;
    left: 18.5%;
    right: 18.5%;
}
#noteInput {
    width: 100%;
    height: 60px;
    min-height: 40px;
    max-height: 150px;
    overflow: scroll;
    border: 1px solid #ccc;
    border-radius: 0.5em;
    margin-bottom: 10px;
    padding: 10px;
    padding-bottom: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    outline: 0;
    white-space: pre-line;
    resize: vertical;
}
.saveNote {
    text-align: center;
    padding-top: 10px;

    input {
        width: 80%;
        padding: 10px;
        border: none;
        background-color: #000;
        color: #fff;
        cursor: pointer;
        border: 0;
        border-radius: 6px;
    }
}
.noteListWrap {
    width: 100%;
}
.noteListHr {
    border: none;
    border-top: 3px double #333;
    color: #333;
    overflow: visible;
    text-align: center;
    height: 5px;
    margin: 20px auto 10px auto;
}
.noteListHr::after {
    background: #fff;
    content: '所有笔记将显示在下方';
    padding: 0 4px;
    position: relative;
    top: -10px;
    /* overflow: hidden; */
}
.notesContainer {
    max-height: 45vh; /* 或 80vh，根据你布局调整 */
    overflow-y: auto;
    padding-right: 8px; /* 防止滚动条盖住内容 */

    & > div {
        /* padding-top: 10px; */
        /* white-space: pre-wrap; */
        overflow: auto;
        /* max-width: 85%; */
    }
    img {
        width: 450px;
    }
    table, tbody, thead, th, tr, td {
        border: 1px solid;
    }
}
.notesDivider {
    color: #000;

    &::after {
        content: ' | ';
    }
}
.notesBtn {
    float: right;
    /* position: absolute; */
    transform: translate(0, -28px);
    /* margin-left: 18rem; */

    button {
        border: 0;
    }
}

@media (max-width: 426px) {
    .page-container.focus .page.active .note {
        width: 300px;
        margin-top: 150px !important;
    }
    #noteInput {
        min-height: 60px;
    }
}

/* 夜间模式 */
.night .page-container.focus .page.active .note {
    border: 1px solid #ccc;
    box-shadow: 0 0 10px #ccc;
    background-color: #F2F2F2;
}
.night #noteInput {
    border: 1px solid #ccc;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}