/**
 * Minified by jsDelivr using clean-css v5.3.3.
 * Original file: /npm/@unocss/reset@66.1.3/tailwind.css
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
*,
::after,
::before {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: var(--un-default-border-color, #e5e7eb)
}

::after,
::before {
    --un-content: ''
}

:host,
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent
}

body {
    margin: 0;
    line-height: inherit
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px
}

abbr:where([title]) {
    text-decoration: underline dotted
}

/*h1,*/
/*h2,*/
/*h3,*/
/*h4,*/
/*h5,*/
/*h6 {*/
/*    font-size: inherit;*/
/*    font-weight: inherit*/
/*}*/

a {
    color: inherit;
    text-decoration: inherit
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
pre,
samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0
}

button,
select {
    text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none
}

:-moz-focusring {
    outline: auto
}

:-moz-ui-invalid {
    box-shadow: none
}

progress {
    vertical-align: baseline
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
    margin: 0
}

fieldset {
    margin: 0;
    padding: 0
}

legend {
    padding: 0
}

menu,
ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0
}

dialog {
    padding: 0
}

textarea {
    resize: vertical
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #9ca3af
}

[role=button],
button {
    cursor: pointer
}

:disabled {
    cursor: default
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block;
    vertical-align: middle
}

img,
video {
    max-width: 100%;
    height: auto
}

[hidden]:where(:not([hidden=until-found])) {
    display: none
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* 最小高度为视口高度 */
    margin: 0;
    /* 移除默认边距 */
}

/* 内容容器（需根据实际主模板结构调整选择器） */
main,
/* 假设内容区域用<main>标签 */
.page-content {
    /* 或内容区域的类名 */
    flex: 1;
    /* 自动填充剩余空间 */
}

/*# sourceMappingURL=/sm/f313dd8f516db176bb3bc52901eb0cbd46e85903faf39d220fe82788a3a65d7d.map */
/* 自定义 */
.cPrimary {
    color: #295ECC !important;
}

.cb6b6b6 {
    color: #b6b6b6;
}

.bPrimary {
    background: #2f75b9;
}

.b9AE2FE {
    background: #9AE2FE;
}

.bF3F9C7 {
    background: #F3F9C7;
}

.bDEECFD {
    background: #DEECFD;
}

/* 确保初始状态正确 */
#sideNav {
    right: -100%;
    visibility: hidden;
}

#sideNav.active {
    right: 0;
    visibility: visible;
}

/* 防止FOUC (Flash of Unstyled Content) */
.js-loading #sideNav {
    display: none;
}

@keyframes modalShow {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.card-shadow {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* 棋盘格效果 */
.checkerboard {
    background: url(../images/pentagrambg.webp) repeat-x;
    background-size: 50px 50px;
}

.todayCheckerboard {
    background: url(../images/bookbg.webp) repeat-x;
    background-size: 50px 50px;
}

.star {
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

/* 新版本 - 简洁 */
.nav-link {
    border: 2px solid #f5f5f5;
    transition: all 0.3s ease;
}

.nav-link.active {
    background: #295ECC;
    color: #fff;
}

.nav-link:not(.active):hover {
    color: #295ECC;
    background-color: #f5f5f5;
}

/* 返回按钮样式 */
.back-btn {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
    background: #f8fafc;
    transform: translateX(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .animate-scroll {
        animation-duration: 20s;
    }

    .flex-shrink-0 {
        width: 140px;
    }
}