:root{--navbar-height:56px;--sidebar-width:280px;--content-max-width:1200px}.text-xs{font-size:.75rem!important;line-height:1.25}.text-sm{font-size:.875rem!important;line-height:1.5}.text-base{font-size:1rem!important;line-height:1.75}.text-lg{font-size:1.125rem!important;line-height:1.75}.post-card{box-shadow:0 1px 3px rgba(0,0,0,5%)!important;transition:all .2s ease}.post-card:hover{transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,8%)!important}.post-list{gap:.5rem}.post-card .card-title a{word-break:break-all}.post-card .post-summary{word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.snow-container{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:9999;overflow:hidden}.snowflake{position:absolute;background:#fff;border-radius:50%;opacity:.8;animation:fall linear infinite;filter:blur(1px)}[data-bs-theme=light] .snowflake{background:rgba(173,216,230,.8);box-shadow:0 0 5px rgba(173,216,230,.5)}[data-bs-theme=light]{--bs-body-bg:#f8f9fa;--bs-card-bg:#ffffff;--bs-border-color:#e9ecef;--text-color:#212529;--secondary-color:#6c757d;--code-bg:#f1f3f4;--card-bg:#ffffff}@keyframes fall{0%{transform:translateY(-10vh)translateX(0)rotate(0);opacity:.8}100%{transform:translateY(110vh)translateX(var(--drift))rotate(360deg);opacity:0}}::selection{background-color:var(--bs-primary);color:#fff}#mainNav{background-color:var(--card-bg)!important;backdrop-filter:blur(10px);transition:transform .3s ease,box-shadow .3s ease}#mainNav.navbar-hidden{transform:translateY(-100%)}#mainNav .navbar-brand{color:var(--bs-primary)}#mainNav .nav-link{color:var(--text-color);transition:color .3s ease}#mainNav .nav-link:hover,#mainNav .nav-link.active{color:var(--bs-primary)}#searchModal .modal-content{background-color:var(--card-bg);border:1px solid var(--border-color)}#searchModal .form-control{background-color:transparent;color:var(--text-color)}#searchModal .form-control::placeholder{color:var(--secondary-color)}.search-highlight{background-color:#ffeb3b;color:#000;padding:2px 4px;border-radius:3px;font-weight:500}[data-bs-theme=dark] .search-highlight{background-color:#ffc107;color:#000}.carousel-section{margin-top:1rem}.carousel-slide{background:linear-gradient(135deg,var(--bs-primary) 0%,var(--bs-indigo,#6610f2) 100%)}.carousel-caption{bottom:0;top:auto;left:0;right:0;transform:none;max-width:100%;text-align:center}.carousel-title{font-size:1.75rem;font-weight:600;line-height:1.5;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:16em;margin-left:auto;margin-right:auto;text-align:center;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.3)}.carousel-subtitle{font-size:1rem;opacity:.9;margin-bottom:1rem;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.3)}.carousel-caption .btn{margin:0 auto;background-color:rgba(255,255,255,.95);color:var(--bs-primary);border:none;box-shadow:0 2px 8px rgba(0,0,0,.2);transition:all .3s ease}.carousel-caption .btn:hover{background-color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.3)}@media(max-width:767.98px){.carousel-title{font-size:1.5rem;max-width:14em}.carousel-subtitle{font-size:.9rem}}.post-card{transition:transform .3s ease,box-shadow .3s ease;background-color:var(--card-bg)}.post-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(0,0,0,.1)!important}.post-card .card-title a{color:var(--text-color);transition:color .3s ease}.post-card .card-title a:hover{color:var(--bs-primary)}.post-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card{background-color:var(--card-bg)}.card-header{background-color:transparent}.list-group-item{background-color:transparent;border-color:var(--border-color);transition:background-color .3s ease}.list-group-item:hover{background-color:rgba(var(--bs-primary-rgb),.05)}.list-group-item a{color:var(--text-color)}.list-group-item a:hover{color:var(--bs-primary)}.post-content{line-height:1.8;font-size:1rem;color:var(--text-color)}.post-content h1,.post-content h2,.post-content h3,.post-content h4,.post-content h5,.post-content h6{margin-top:1.5rem;margin-bottom:1rem;font-weight:600;line-height:1.3;scroll-margin-top:calc(var(--navbar-height) + 20px)}.post-content h2{padding-bottom:.5rem;border-bottom:1px solid var(--border-color)}.post-content p{margin-bottom:1rem}.post-content a{color:var(--bs-primary);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .3s ease}.post-content a:hover{border-bottom-color:var(--bs-primary)}.post-content ul,.post-content ol{padding-left:1.5rem;margin-bottom:1rem}.post-content li{margin-bottom:.5rem}.post-content blockquote{padding:1rem 1.5rem;margin:1rem 0;background-color:rgba(var(--bs-primary-rgb),.05);border-left:4px solid var(--bs-primary);border-radius:0 .5rem .5rem 0}.post-content blockquote p:last-child{margin-bottom:0}.post-content pre{background-color:var(--code-bg);border-radius:.5rem;padding:1rem;overflow-x:auto;margin:1rem 0;max-width:100%;border:none}.post-content code{font-family:fira code,consolas,monospace;font-size:.875rem;background-color:var(--code-bg);padding:.2rem .4rem;border-radius:.25rem;color:var(--bs-primary);border:none}.post-content pre code{background:0 0;padding:0;color:inherit;border:none}.post-content .highlight{margin:1rem 0;border-radius:.5rem;overflow:hidden;border:none}.post-content .highlight pre{margin:0;border-radius:0;border:none}.post-content .highlight table{margin:0;width:100%}.post-content .highlight td{padding:0}.post-content .highlight .lntd:first-child{width:1%;padding-right:1rem;user-select:none}.post-content img{max-width:100%;height:auto;border-radius:.5rem;margin:1rem 0}.post-content math,.post-content svg,.post-content .katex-display,.post-content .math,.post-content .equation{display:block;overflow-x:auto;overflow-y:hidden;white-space:nowrap;margin:.8rem 0;padding:0;max-height:none}.post-content .katex{font-size:1.125rem!important}.post-content div.math-container{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;max-height:none}@media(max-width:767.98px){.post-content .katex{font-size:1rem!important}.post-content math,.post-content svg{font-size:1rem!important}}.post-content table{width:100%;margin:1rem 0;border-collapse:collapse;overflow-x:auto;display:block}.post-content th,.post-content td{padding:.75rem;border:1px solid var(--border-color)}.post-content th{background-color:rgba(var(--bs-primary-rgb),.1)}.post-content iframe,.post-content video,.post-content embed,.post-content object{max-width:100%;height:auto}.video-container,.post-content .video-wrapper,.post-content [class*=video]{position:relative;width:100%;max-width:100%;padding-bottom:56.25%;height:0;overflow:hidden;margin:1rem 0;border-radius:.5rem}.video-container iframe,.video-container video,.post-content .video-wrapper iframe,.post-content [class*=video] iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.bilibili-video,.douyin-video,.kuaishou-video,.xiaohongshu-video,.x-video{position:relative;width:100%;max-width:100%;padding-bottom:56.25%;height:0;overflow:hidden;margin:1rem 0;border-radius:.5rem;background:var(--code-bg)}.bilibili-video iframe,.douyin-video iframe,.kuaishou-video iframe,.xiaohongshu-video iframe,.x-video iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.post-content iframe[src*=vimeo],.post-content iframe[src*="player.vimeo"]{background:#000;display:block}.post-content>p:has(iframe[src*=vimeo]),.post-content>p:has(iframe[src*="player.vimeo"]),.post-content>div:has(iframe[src*=vimeo]),.post-content>div:has(iframe[src*="player.vimeo"]){background:#000;margin:1rem 0;padding:0;line-height:0}.post-content>div[style*="position: relative"]{background:#000!important}.post-content>div[style*="position: relative"] iframe{background:#000}.toc-card{max-width:85%}.toc-container{scroll-behavior:smooth}.toc-nav .nav-link{color:var(--text-color);padding:.25rem .5rem;font-size:.875rem;border-left:2px solid transparent;transition:all .3s ease}.toc-nav .nav-link:hover,.toc-nav .nav-link.active{color:var(--bs-primary);background-color:rgba(var(--bs-primary-rgb),.05);border-left-color:var(--bs-primary)}.toc-nav .nav-link.toc-h3{padding-left:1.5rem;font-size:.8rem}.reading-progress{position:fixed;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,var(--bs-primary),var(--bs-info));z-index:9999;transition:width .1s ease}.hover-card{transition:transform .3s ease,box-shadow .3s ease}.hover-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px rgba(0,0,0,.1)!important}.hover-bg:hover{background-color:rgba(var(--bs-primary-rgb),.05)}#backToTop{transition:all .3s ease;opacity:0;visibility:hidden}#backToTop.show{opacity:1;visibility:visible}#backToTop:hover{transform:translateY(-3px)}[data-bs-theme=dark]{--card-bg:#212529;--code-bg:#2d3748}[data-bs-theme=dark] #mainNav{background-color:rgba(33,37,41,.95)!important}[data-bs-theme=dark] .card,[data-bs-theme=dark] .list-group-item{background-color:var(--card-bg);border-color:var(--border-color)}[data-bs-theme=dark] .carousel-slide{background:linear-gradient(135deg,#1a237e 0%,#4a148c 100%)}[data-bs-theme=dark] .post-content pre,[data-bs-theme=dark] .post-content code,[data-bs-theme=dark] .highlight,[data-bs-theme=dark] .highlight pre,[data-bs-theme=dark] .highlight div,[data-bs-theme=dark] .highlight table,[data-bs-theme=dark] .highlight td,[data-bs-theme=dark] pre[class*=language-],[data-bs-theme=dark] code[class*=language-]{background-color:#272822!important;color:#f8f8f2!important;border:none!important;box-shadow:none!important}[data-bs-theme=dark] .post-content pre code,[data-bs-theme=dark] .highlight code{color:#f8f8f2!important;background-color:transparent!important;border:none!important;box-shadow:none!important}[data-bs-theme=dark] .post-content pre,[data-bs-theme=dark] .highlight,[data-bs-theme=dark] .highlight pre{border:none!important;outline:none!important}[data-bs-theme=dark] .token.comment,[data-bs-theme=dark] .token.prolog,[data-bs-theme=dark] .token.doctype,[data-bs-theme=dark] .token.cdata{color:#8292a2!important}[data-bs-theme=dark] .token.punctuation{color:#f8f8f2!important}[data-bs-theme=dark] .token.property,[data-bs-theme=dark] .token.tag,[data-bs-theme=dark] .token.constant,[data-bs-theme=dark] .token.symbol,[data-bs-theme=dark] .token.deleted{color:#f92672!important}[data-bs-theme=dark] .token.boolean,[data-bs-theme=dark] .token.number{color:#ae81ff!important}[data-bs-theme=dark] .token.selector,[data-bs-theme=dark] .token.attr-name,[data-bs-theme=dark] .token.string,[data-bs-theme=dark] .token.char,[data-bs-theme=dark] .token.builtin,[data-bs-theme=dark] .token.inserted{color:#a6e22e!important}[data-bs-theme=dark] .token.operator,[data-bs-theme=dark] .token.entity,[data-bs-theme=dark] .token.url,[data-bs-theme=dark] .language-css .token.string,[data-bs-theme=dark] .style .token.string,[data-bs-theme=dark] .token.variable{color:#f8f8f2!important}[data-bs-theme=dark] .token.atrule,[data-bs-theme=dark] .token.attr-value,[data-bs-theme=dark] .token.function,[data-bs-theme=dark] .token.class-name{color:#e6db74!important}[data-bs-theme=dark] .token.keyword{color:#66d9ef!important}[data-bs-theme=dark] .token.regex,[data-bs-theme=dark] .token.important{color:#fd971f!important}[data-bs-theme=dark] .category-card{border:1px solid var(--border-color)!important}[data-bs-theme=dark] .category-card:hover{border-color:var(--bs-primary)!important}[data-bs-theme=dark] .accordion-button{color:var(--text-color)}[data-bs-theme=dark] .accordion-button:not(.collapsed){background-color:transparent;box-shadow:none}[data-bs-theme=dark] .accordion-button::after{filter:invert(1)}@media(min-width:1400px){.container{max-width:1320px}}@media(max-width:991.98px){.carousel-slide{height:300px!important}.carousel-caption h3{font-size:1.5rem}.carousel-caption p{font-size:.9rem}}@media(max-width:767.98px){:root{--navbar-height:56px}.carousel-slide{height:240px!important}.carousel-caption{padding:1rem!important}.carousel-caption h3{font-size:1.2rem}.carousel-caption p{display:none}.post-content{font-size:.9375rem}.post-content h1{font-size:1.5rem}.post-content h2{font-size:1.25rem}.post-content h3{font-size:1.125rem}.sticky-top{position:static!important}}@media(max-width:575.98px){.container{padding-left:1rem;padding-right:1rem}.card-body{padding:1rem}.carousel-slide{height:200px!important}}@media print{#mainNav,#backToTop,.reading-progress,.carousel-section,aside,footer,.btn{display:none!important}.col-lg-8{width:100%;max-width:100%}body{background:#fff!important;color:#000!important}}.about-content h1,.about-content h2,.about-content h3,.links-intro h1,.links-intro h2,.links-intro h3{color:var(--bs-primary);margin-top:1.5rem;margin-bottom:1rem}.about-content h1:first-child,.links-intro h1:first-child{margin-top:0}.about-content p,.links-intro p{line-height:1.8}.about-content ul,.about-content ol,.links-intro ul,.links-intro ol{padding-left:1.5rem}.about-content li,.links-intro li{margin-bottom:.5rem}.toast-container{position:fixed;top:80px;right:20px;z-index:9999}.custom-toast{background-color:var(--bs-primary);color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);animation:slideIn .3s ease}@keyframes slideIn{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.page-transition{animation:pageSlideIn .4s ease-out}@keyframes pageSlideIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.post-list{animation:fadeIn .5s ease-out}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.page-link{transition:all .3s ease}.page-link:hover{transform:scale(1.1)}.page-item.active .page-link{transform:scale(1.05)}.post-featured-image{flex-shrink:0;width:100px;height:75px;position:relative;z-index:2}.post-featured-image img{width:100%;height:100%;object-fit:cover}.post-content-area{min-width:0;overflow:hidden;flex:1}.post-title-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.35rem;font-weight:600}.post-summary-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.425rem}@media(max-width:767.98px){.post-featured-image{width:80px;height:60px}.post-title-text{font-size:.95rem}.post-summary-text{font-size:.85rem}}@media(max-width:575.98px){.post-featured-image{width:70px;height:52px}}