@import url("https://fastly.jsdelivr.net/gh/esofar/cnblogs-theme-silence@latest/dist/silence.min.css");

/* ========================================================
   风格一：粗野主义 (Brutalism) 作用域
   ======================================================== */
body.theme-brutalism { 
    background-color: #f7f7f7 !important; 
    color: #000000 !important; 
    font-family: "Courier New", Courier, monospace, "SimSun" !important; 
}
body.theme-brutalism #header, 
body.theme-brutalism .day, 
body.theme-brutalism .postTitle, 
body.theme-brutalism .cnblogs-post-body pre, 
body.theme-brutalism #mainContent { 
    border: 3px solid #000000 !important; 
    border-radius: 0px !important; 
    box-shadow: 6px 6px 0px #000000 !important; 
    background: #ffffff !important; 
    transition: none !important; 
}
body.theme-brutalism #clg { 
    border: 3px solid #000000 !important; 
    border-radius: 0px !important; 
    box-shadow: 4px 4px 0px #000000 !important; 
}
body.theme-brutalism .cnblogs-markdown h2, 
body.theme-brutalism .cnblogs-markdown h3 { 
    background: #000000 !important; 
    color: #ffffff !important; 
    padding: 10px !important; 
    display: inline-block !important; 
    border-radius: 0px !important; 
}

/* ========================================================
   风格二：构成主义 (Constructivism) 作用域
   ======================================================== */
body.theme-constructivism { 
    background-color: #f2efe9 !important; 
    color: #1a1a1a !important; 
    font-family: "Arial Black", Impact, sans-serif !important; 
}
body.theme-constructivism #header { 
    border-bottom: 10px solid #1a1a1a !important; 
    padding-bottom: 20px !important; 
}
body.theme-constructivism .day { 
    border-left: 8px solid #d32f2f !important; 
    border-bottom: 2px solid #1a1a1a !important; 
    background: transparent !important; 
    padding: 20px !important; 
    margin-bottom: 40px !important; 
}
body.theme-constructivism .postTitle a, 
body.theme-constructivism .cnblogs-markdown h2 { 
    font-weight: 900 !important; 
    letter-spacing: -1px !important; 
    color: #1a1a1a !important; 
}
body.theme-constructivism .cnblogs-markdown h2 { 
    border-bottom: 4px solid #d32f2f !important; 
    padding-bottom: 5px !important; 
}
body.theme-constructivism .cnblogs-post-body pre { 
    background: #1a1a1a !important; 
    color: #f2efe9 !important; 
    border-radius: 0px !important; 
    border: none !important; 
}

/* ========================================================
   左下角控制按钮样式 (随主题自适应变色)
   ======================================================== */
#style-switcher { 
    position: fixed; 
    bottom: 20px; 
    left: 20px; 
    z-index: 99999; 
    background: #fff; 
    color: #000; 
    padding: 6px 12px; 
    border: 1px solid #ddd; 
    font-family: monospace; 
    font-size: 11px; 
    font-weight: bold;
    cursor: pointer; 
    letter-spacing: 1px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.05);
}
body.theme-brutalism #style-switcher { 
    border: 3px solid #000 !important; 
    box-shadow: 4px 4px 0px #000 !important; 
    background: #fff !important; 
    color: #000 !important; 
}
body.theme-constructivism #style-switcher { 
    background: #d32f2f !important; 
    color: #f2efe9 !important; 
    border: 2px solid #1a1a1a !important; 
    box-shadow: 3px 3px 0px #1a1a1a !important; 
}