/* Light Green TOC Theme */

/* 导入 Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');

h1 {
    color: #164E63;
    font-weight: 500;
}

h2 {
    color: #164E63;
    background: #ECFEFF;
    border-radius: 20px;
    padding: 20px 28px;
    margin: 28px 0;
    font-weight: 400;
    position: relative;
    backdrop-filter: blur(12px);
    box-shadow: 
        0 10px 40px rgba(6, 182, 212, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.08);
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

strong, h3 {
    color: #164E63 !important;
}

blockquote {
    border-left: 3px solid #164E63 !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 19px;
}

/* 针对韩语页面的字体设置 */
html[lang="ko"] body,
html[lang="ko-KR"] body {
    font-family: "Noto Sans KR", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
}

th {
    background-color:#b5f9f7
}

.toc {
    background: linear-gradient(135deg, #ECFEFF, #a7f7e5);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    box-shadow: 
        0 6px 24px #67e8f926,
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    padding-left: 20px;
}

.toc h2 {
    color: #164E63;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.toc li::marker {
    color: #164E63 !important;
}

#toc li::marker {
    color: #164E63 !important;
}

.toc li a {
    color: #0E7490;
    transition: all 0.25s ease;
    position: relative;
    font-size: 1.05em;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
}

.toc li a:hover {
    color: #06B6D4;
}

.toc li a:hover::before {
    content: '✦';
    position: absolute;
    left: -20px;
    color: #67E8F9;
    animation: sparkle 0.6s ease;
}

.toc-title {
    color: #164E63;
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: center;
}

/* -------------------------------------------------------- */
#toc {
    background: linear-gradient(135deg, #ECFEFF, #a7f7e5);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    box-shadow: 
        0 6px 24px #67e8f926,
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    padding-left: 20px;
}

#toc h2 {
    color: #164E63;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

#toc li a {
    color: #0E7490;
    transition: all 0.25s ease;
    position: relative;
    font-size: 1.05em;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
}

#toc li a:hover {
    color: #06B6D4;
}

#toc li a:hover::before {
    content: '✦';
    position: absolute;
    left: -20px;
    color: #67E8F9;
    animation: sparkle 0.6s ease;
}

#toc-title {
    color: #164E63;
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: center;
}
/* -------------------------------------------------------- */

#toc h3 {
    color: #164E63;
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}
