*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg:#0a0a0f;--bg-card:#12121a;--text:#e0e0e6;--text-muted:#8892b0;--accent:#00f0ff;--accent2:#7b2fff;--accent3:#ff2fc8;--border:#1e1e2e;--max-width:860px}body{background:var(--bg);min-height:100vh;color:var(--text);-webkit-font-smoothing:antialiased;font-family:Segoe UI,Roboto,Helvetica Neue,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.75;position:relative}html{scroll-behavior:smooth}#bg-canvas{z-index:0;opacity:.6;pointer-events:none;width:100vw;height:100vh;position:fixed;top:0;left:0}.page-wrap{z-index:1;position:relative}.site-header,.container,.site-footer{position:relative}a{color:var(--accent);text-decoration:none;transition:color .2s}a:hover{color:var(--accent3)}.site-header{border-bottom:1px solid var(--border);text-align:center;padding:20px 0}.site-header .logo{background:linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));color:#0000;-webkit-background-clip:text;background-clip:text;font-size:1.8rem;font-weight:900}.site-header .logo a{color:inherit;background:inherit;-webkit-background-clip:text;background-clip:text}.site-header nav{margin-top:8px}.site-header nav a{color:var(--text-muted);margin:0 12px;font-size:.9rem}.site-header nav a:hover{color:var(--accent)}.container{max-width:var(--max-width);margin:0 auto;padding:40px 20px}.site-footer{text-align:center;color:var(--text-muted);border-top:1px solid var(--border);padding:30px 20px;font-size:.8rem}.post-list{list-style:none}.post-item{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;margin-bottom:16px;padding:24px;transition:border-color .2s,transform .2s}.post-item:hover{border-color:var(--accent);transform:translateY(-2px)}.post-item .post-title{margin-bottom:6px;font-size:1.25rem;font-weight:700}.post-item .post-meta{color:var(--text-muted);font-size:.85rem}.post-item .post-summary{color:var(--text-muted);margin-top:8px;font-size:.95rem}.post-header{border-bottom:1px solid var(--border);margin-bottom:32px;padding-bottom:20px}.container-post{max-width:1240px}.post-layout{grid-template-columns:280px minmax(0,1fr);grid-template-areas:"toc main";align-items:start;gap:36px;display:grid}.post-layout.no-toc{grid-template-columns:minmax(0,1fr)}.post-main{grid-area:main;min-width:0}.post-header h1{margin-bottom:8px;font-size:2rem;font-weight:800;line-height:1.3}.post-header .post-meta{color:var(--text-muted);font-size:.9rem}.post-content h1,.post-content h2,.post-content h3,.post-content h4,.post-content h5,.post-content h6{color:#fff;margin-top:1.8em;margin-bottom:.6em;scroll-margin-top:120px;font-weight:700}.post-content h2{border-bottom:1px solid var(--border);padding-bottom:6px;font-size:1.5rem}.post-content h3{font-size:1.25rem}.post-content p{margin-bottom:1em}.post-content ul,.post-content ol{margin-bottom:1em;padding-left:1.5em}.post-content li{margin-bottom:.3em}.post-content blockquote{border-left:3px solid var(--accent2);color:var(--text-muted);background:#7b2fff0f;margin:1em 0;padding:12px 20px}.post-content img{border-radius:6px;max-width:100%;margin:1em 0}.post-content code{background:#1a1a2e;border-radius:4px;padding:2px 6px;font-family:Fira Code,Consolas,monospace;font-size:.9em}.post-content pre{border:1px solid var(--border);background:#112;border-radius:6px;margin:1em 0;padding:16px;overflow-x:auto}.post-content pre code{background:0 0;padding:0}.post-content table{border-collapse:collapse;width:100%;margin:1em 0}.post-content th,.post-content td{border:1px solid var(--border);text-align:left;padding:8px 12px}.post-content th{background:#1a1a2e;font-weight:600}.post-content hr{border:none;border-top:1px solid var(--border);margin:2em 0}.post-toc{border:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#12121ae0;border-radius:12px;grid-area:toc;max-height:calc(100vh - 120px);padding:14px 14px 16px;position:sticky;top:88px;overflow:auto}.post-toc::-webkit-scrollbar{width:10px}.post-toc::-webkit-scrollbar-track{background:0 0}.post-toc::-webkit-scrollbar-thumb{background:linear-gradient(#00f0ff59,#7b2fff73);border:2px solid #12121ae0;border-radius:999px}.post-toc{scrollbar-width:thin;scrollbar-color:#00f0ff73 transparent}.post-toc-toggle{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.post-toc-title{color:#fff;font-size:.95rem;font-weight:700}.post-toc-toggle-text{color:var(--text-muted);font-size:.8rem}.post-toc-nav{margin-top:12px}.post-toc-list{list-style:none}.post-toc-item+.post-toc-item{margin-top:6px}.post-toc-item.depth-2{padding-left:14px}.post-toc-item.depth-3{padding-left:28px}.post-toc-item.depth-4{padding-left:42px}.post-toc-link{color:var(--text-muted);border-left:2px solid #0000;border-radius:6px;padding:6px 10px;font-size:.92rem;line-height:1.5;transition:color .2s,border-color .2s,background .2s;display:block}.post-toc-link:hover{color:var(--text);background:#7b2fff14}.post-toc-link.is-active{color:var(--accent);border-left-color:var(--accent);background:#00f0ff14}.back-link{color:var(--accent);margin-top:32px;font-size:.9rem;display:inline-block}.comments-section{border-top:1px solid var(--border);margin-top:48px;padding-top:32px}.comments-title{color:#fff;margin-bottom:24px;font-size:1.25rem;font-weight:700}.comments-loading,.comments-empty,.comments-error{color:var(--text-muted);margin-bottom:16px;font-size:.9rem}.comment-btn{border:1px solid var(--accent);color:var(--accent);border-radius:6px;margin-top:12px;padding:8px 20px;font-size:.9rem;transition:background .2s,color .2s;display:inline-block}.comment-btn:hover{background:var(--accent);color:#000}.comments-list{margin-bottom:16px}.comment-item{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;margin-bottom:12px;padding:16px}.comment-meta{align-items:center;gap:8px;margin-bottom:10px;display:flex}.comment-avatar{border-radius:50%;flex-shrink:0;width:28px;height:28px}.comment-user{font-size:.9rem;font-weight:600}.comment-time{color:var(--text-muted);margin-left:auto;font-size:.8rem}.comment-body{font-size:.95rem;line-height:1.65}.comment-body p{margin-bottom:.5em}.comment-body p:last-child{margin-bottom:0}.comment-body code{background:#1a1a2e;border-radius:3px;padding:2px 5px;font-family:Fira Code,Consolas,monospace;font-size:.88em}.comment-body pre{border:1px solid var(--border);background:#112;border-radius:6px;margin:.5em 0;padding:12px;overflow-x:auto}.comment-body pre code{background:0 0;padding:0}.search-box{margin-bottom:24px}.search-box input{background:var(--bg-card);border:1px solid var(--border);width:100%;color:var(--text);border-radius:8px;outline:none;padding:12px 16px;font-size:1rem;transition:border-color .2s}.search-box input::placeholder{color:var(--text-muted)}.search-box input:focus{border-color:var(--accent)}#search-results .search-empty{text-align:center;color:var(--text-muted);padding:40px 0}#search-results .search-highlight{color:var(--accent3);font-weight:700}.back-link:hover{color:var(--accent3)}.archive-list{list-style:none}.archive-item{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;align-items:baseline;gap:16px;margin-bottom:8px;padding:14px 20px;transition:border-color .2s,transform .2s;display:flex}.archive-item:hover{border-color:var(--accent);transform:translateY(-1px)}.archive-date{color:var(--text-muted);white-space:nowrap;min-width:100px;font-size:.85rem}.archive-title{color:var(--text);font-size:1.05rem;font-weight:600;transition:color .2s}.archive-title:hover{color:var(--accent)}@media (width<=600px){.archive-item{flex-direction:column;gap:4px}.archive-date{min-width:auto}}@media (width<=1100px){.post-layout{grid-template-columns:minmax(0,1fr)}.post-toc{max-height:none;margin-bottom:20px;position:static;top:auto}.post-toc-toggle-text{display:none}}@media (width<=768px){.container{padding:28px 16px}.post-layout{flex-direction:column;gap:20px;display:flex}.post-toc{order:-1;max-height:min(48vh,360px);padding:14px;overflow:hidden}.post-toc.is-collapsed{max-height:none}.post-toc.is-collapsed .post-toc-nav{display:none}.post-toc.is-open-mobile{overflow:auto}.post-toc-toggle{padding-bottom:0}.post-toc-toggle-text{display:inline}.post-content h2{font-size:1.35rem}.post-content h3{font-size:1.15rem}}@media (width<=600px){.post-header h1{font-size:1.5rem}.container{padding:24px 16px}}body.home-3d{color:#ebf2ff;background:radial-gradient(circle at 20% 10%,#1a2670 0%,#090f3f 42%,#05071f 100%);margin:0;font-family:Trebuchet MS,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;overflow:hidden}.home-3d .room-page{width:100vw;height:100vh;position:relative}.home-3d .room-canvas{position:absolute;inset:0}.home-3d .room-canvas canvas{width:100%;height:100%;display:block}.home-3d .room-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:10;background:linear-gradient(160deg,#0a0f32e6,#0f1441ad);border:1px solid #9ab8ff52;border-radius:16px;width:min(390px,100vw - 32px);padding:18px 18px 16px;position:absolute;top:24px;right:24px;box-shadow:0 16px 40px #0204148c}.home-3d .room-card-kicker{letter-spacing:.12em;text-transform:uppercase;color:#9fc0ff;margin-bottom:10px;font-size:.76rem;display:inline-block}.home-3d .room-card h1{color:#f4f8ff;margin:0;font-size:1.45rem;line-height:1.25}.home-3d .room-card p{color:#cfddff;margin:12px 0 0;font-size:.96rem;line-height:1.7}.home-3d .room-card-actions{gap:10px;margin-top:14px;display:flex}.home-3d .room-card-actions a{color:#eaf1ff;background:#232f6673;border:1px solid #a5c3ff59;border-radius:999px;padding:8px 12px;font-size:.85rem;transition:transform .2s,border-color .2s,background .2s;display:inline-block}.home-3d .room-card-actions a:hover{background:#4c69bc80;border-color:#d5e3ff;transform:translateY(-1px)}.home-3d .room-hotspots{pointer-events:none;z-index:9;position:absolute;inset:0}.home-3d .room-hotspot{pointer-events:auto;color:#e9f1ff;letter-spacing:.01em;cursor:pointer;opacity:0;background:#090d26db;border:1px solid #aac2ff66;border-radius:999px;padding:8px 14px;font-size:.94rem;font-weight:600;transition:transform .2s,background .2s,border-color .2s,opacity .2s;position:absolute;transform:translate(-50%,-50%);box-shadow:0 8px 22px #060a1f73}.home-3d .room-hotspot:hover,.home-3d .room-hotspot.is-active{background:linear-gradient(120deg,#4c7cffeb,#6238bfeb);border-color:#eaf2ffb8}.home-3d .room-tip{color:#c6d5ff;letter-spacing:.03em;z-index:10;background:#080c22c2;border:1px solid #89a5ed59;border-radius:999px;padding:8px 20px;font-size:.92rem;position:absolute;bottom:22px;left:50%;transform:translate(-50%)}.home-3d .room-search-modal{z-index:30;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#030718a6;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.home-3d .room-search-modal[hidden]{display:none}.home-3d .room-search-panel{background:linear-gradient(170deg,#0c1236f2,#090e2be6);border:1px solid #a0b8ed75;border-radius:16px;width:min(900px,100vw - 24px);max-height:min(78vh,780px);padding:16px;overflow:auto;box-shadow:0 18px 50px #00000073}.home-3d .room-search-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.home-3d .room-search-header h2{color:#edf4ff;margin:0;font-size:1.16rem}.home-3d #room-search-close{color:#ecf4ff;cursor:pointer;background:#1f2d5c8c;border:1px solid #aecbff73;border-radius:999px;width:34px;height:34px;font-size:1.2rem;line-height:1}.home-3d .room-search-box{margin-bottom:10px}.home-3d .room-search-box input{background:#0f1537f2}.home-3d #room-search-results{min-height:88px}.home-3d #room-search-results .post-item{background:#111841d1}body.is-home-search-open{overflow:hidden}@media (width<=900px){.home-3d .room-card{width:min(360px,100vw - 24px);padding:14px;top:12px;right:12px}.home-3d .room-card h1{font-size:1.28rem}.home-3d .room-tip{text-align:center;width:calc(100vw - 26px);font-size:.84rem}.home-3d .room-hotspot{padding:6px 10px;font-size:.84rem}.home-3d .room-search-panel{border-radius:12px;padding:12px}}.bgm-btn{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#e9f1ff;cursor:pointer;background:#090d26e0;border:1px solid #89a5ed66;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;font-size:1.2rem;transition:background .2s,border-color .2s,transform .2s;display:flex;position:fixed;bottom:24px;right:24px}.bgm-btn:hover{background:#232f66e6;border-color:#eaf2ff99;transform:scale(1.08)}
