:root{--accent:#b15cff;--accent2:#7547ff;--bg:#090910;--surface:#11111d;--surface2:#181827;--card:rgba(20,20,34,.8);--border:rgba(255,255,255,.1);--text:#f5f3ff;--muted:#a5a1b5;--soft:#706b7f;--shadow:0 24px 70px rgba(0,0,0,.35)}html.light{--bg:#f7f5fb;--surface:#fff;--surface2:#f0ecf7;--card:rgba(255,255,255,.9);--border:rgba(40,25,65,.12);--text:#1d1727;--muted:#61596e;--soft:#8b8297;--shadow:0 24px 70px rgba(63,40,90,.12)}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;scroll-padding-top:84px}body{font-family:Inter,'Noto Sans SC',system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.65;transition:.3s}body.modal-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{color:inherit}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip-link{position:fixed;z-index:99999;left:12px;top:12px;background:var(--accent2);color:#fff;padding:8px 14px;border-radius:9px;transform:translateY(-160%)}.skip-link:focus{transform:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(177,92,255,.6);outline-offset:3px}
.site-header{position:fixed;inset:0 0 auto;z-index:1000;background:rgba(9,9,16,.72);border-bottom:1px solid rgba(255,255,255,.07);backdrop-filter:blur(18px)}html.light .site-header{background:rgba(255,255,255,.8)}.nav-shell{width:min(1120px,calc(100% - 40px));height:68px;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{font-weight:800;font-size:21px;background:linear-gradient(135deg,#e6b8ff,var(--accent));background-clip:text;color:transparent}.nav-links{display:flex;align-items:center;gap:8px}.nav-links>a{padding:8px 13px;color:var(--muted);font-size:14px}.nav-links>a:hover{color:var(--text)}.nav-write{border:1px solid rgba(177,92,255,.35);background:rgba(177,92,255,.12);padding:7px 13px;border-radius:9px;cursor:pointer}.theme-btn{display:grid;place-items:center;width:36px;height:36px;border:0;background:transparent;border-radius:9px;cursor:pointer}.theme-btn svg{width:19px}.dark .moon-icon,.light .sun-icon{display:none}.menu-toggle{display:none;background:none;border:0;width:40px;padding:10px;cursor:pointer}.menu-toggle span{display:block;height:2px;background:currentColor;margin:4px 0}
.hero{position:relative;min-height:100svh;display:grid;place-items:center;overflow:hidden}.hero-bg,.hero-shade{position:absolute;inset:0}.hero-bg{background:url('../assets/game-cover.png') center/cover;transform:scale(1.04)}.hero-shade{background:linear-gradient(180deg,rgba(7,7,15,.55),rgba(7,7,15,.72) 55%,var(--bg)),radial-gradient(circle,transparent,rgba(0,0,0,.6))}.hero-content{position:relative;z-index:1;width:min(760px,calc(100% - 40px));text-align:center;padding-top:70px}.avatar{width:118px;height:118px;margin:0 auto 24px;display:grid;place-items:center;border-radius:50%;font-size:44px;font-weight:800;background:#15101d;border:3px solid var(--accent);box-shadow:0 18px 60px rgba(177,92,255,.35)}.eyebrow,.section-kicker{font-size:12px;letter-spacing:.2em;font-weight:700;color:var(--accent)}.hero h1{font-size:clamp(58px,9vw,94px);line-height:1;letter-spacing:-.06em;margin:14px 0;background:linear-gradient(135deg,#fff,#dc9cff 55%,#8b55ff);background-clip:text;color:transparent}.hero-copy{max-width:610px;margin:auto;color:#d1cbd9;font-size:17px}.hero-actions,.game-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:30px}.button{min-height:46px;padding:11px 20px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:650;border:1px solid transparent;transition:.2s}.button:hover{transform:translateY(-2px)}.primary{color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent2));box-shadow:0 12px 30px rgba(117,71,255,.3)}.ghost{color:#fff;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.18)}.secondary{background:var(--surface2);border-color:var(--border)}.scroll-hint{position:absolute;z-index:2;bottom:28px;width:24px;height:38px;border:1px solid #ffffff59;border-radius:99px}.scroll-hint span{display:block;width:4px;height:7px;margin:8px auto;background:#fff;border-radius:9px;animation:scroll 1.8s infinite}@keyframes scroll{to{opacity:0;transform:translateY(13px)}}
.section{width:min(1120px,calc(100% - 40px));margin:auto;padding:105px 0}.muted-section{width:100%;padding-inline:max(20px,calc((100% - 1120px)/2));background:var(--surface)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:30px}.section-heading h2,.about-card h2{font-size:clamp(30px,4vw,44px);letter-spacing:-.04em;line-height:1.2;margin-top:6px}.post-count{color:var(--soft);font-size:14px}.toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:24px}.search-box{display:flex;align-items:center;gap:10px;width:min(410px,100%);padding:9px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.search-box svg{width:19px}.search-box input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.filters{display:flex;gap:6px}.filter-btn{border:1px solid var(--border);background:var(--surface);color:var(--muted);padding:8px 14px;border-radius:9px;cursor:pointer}.filter-btn.active{background:#b15cff26;border-color:#b15cff66;color:var(--accent)}.posts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.post-card{padding:25px;background:var(--card);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);transition:.25s}.post-card:hover{transform:translateY(-4px);border-color:#b15cff66}.post-tags{margin-bottom:14px}.post-tag,.badges span{font-size:12px;padding:3px 9px;border-radius:99px;background:#b15cff21;color:var(--accent)}.tag-life{background:#ff90501f;color:#ff9d66}.post-date{font-size:13px;color:var(--soft)}.post-title{font-size:20px;margin:6px 0 8px}.post-content{color:var(--muted);font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-wrap}.post-actions{text-align:right;margin-top:16px}.delete-btn{border:1px solid var(--border);background:transparent;color:var(--soft);padding:5px 12px;border-radius:7px;cursor:pointer}.empty-state{grid-column:1/-1;text-align:center;padding:70px 20px;border:1px dashed var(--border);border-radius:16px;color:var(--soft)}.empty-state strong{display:block;color:var(--muted);font-size:18px}
.timeline-hint{color:var(--soft);font-size:13px}.timeline-scroll{max-height:330px;padding:5px 18px 5px 8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:var(--accent) var(--surface2);scrollbar-width:thin}.timeline-scroll:focus-visible{outline:3px solid rgba(177,92,255,.45);outline-offset:7px;border-radius:8px}.timeline{border-left:1px solid var(--border);margin-left:8px}.timeline-item{position:relative;display:grid;grid-template-columns:130px 1fr;gap:24px;padding:0 0 36px 28px;scroll-margin-top:12px}.timeline-item:before{content:'';position:absolute;left:-6px;top:7px;width:11px;height:11px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 5px #b15cff1f}.timeline time{color:var(--accent);font-size:13px}.timeline p{color:var(--muted)}
.game-card{display:grid;grid-template-columns:1.08fr .92fr;overflow:hidden;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:var(--shadow)}.game-cover{min-height:470px;background:#15101c}.game-cover img{width:100%;height:100%;object-fit:cover;display:block}.game-info{padding:44px;display:flex;flex-direction:column;justify-content:center}.badges{display:flex;gap:7px;flex-wrap:wrap}.game-info h3{font-size:clamp(30px,4vw,44px);line-height:1.15;letter-spacing:-.04em;margin:17px 0}.game-info>p{color:var(--muted)}.game-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:26px 0}.game-meta div{padding:12px;background:var(--surface2);border-radius:10px}.game-meta dt{font-size:11px;color:var(--soft)}.game-meta dd{font-size:14px;font-weight:650}.game-actions{justify-content:flex-start;margin-top:0}.download-button svg{width:19px}.checksum{font:11px/1.5 monospace;margin-top:16px!important;word-break:break-all}.about-section{padding-top:45px}.about-card{display:grid;grid-template-columns:130px 1fr;gap:34px;align-items:center;padding:45px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(135deg,#b15cff1f,var(--surface))}.about-mark{width:120px;height:120px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(135deg,var(--accent),var(--accent2));font-size:50px;font-weight:800}.about-card p:last-child{color:var(--muted);margin-top:15px}footer{width:min(1120px,calc(100% - 40px));margin:auto;padding:36px 0 50px;border-top:1px solid var(--border);display:flex;justify-content:space-between;color:var(--soft);font-size:13px}
.games-list{display:grid;gap:32px}.source-game-cover{display:grid;place-items:center;background:linear-gradient(rgba(0,28,48,.12),rgba(0,28,48,.38)),url('../assets/douyin-game-bg.jpg') center/cover no-repeat}.source-game-title{text-align:center;color:#fff;text-shadow:0 5px 18px rgba(0,0,0,.75);transform:rotate(-3deg)}.source-game-title span,.source-game-title strong{display:block}.source-game-title span{font-size:clamp(28px,4vw,54px);font-weight:900;letter-spacing:.08em;color:#ffe044}.source-game-title strong{font-size:clamp(22px,3vw,42px);letter-spacing:.04em}.source-text{width:max-content;margin:0 0 16px;padding:7px 12px;border-left:3px solid var(--accent);border-radius:5px;background:var(--surface2);color:var(--text)!important;font-weight:750}
.modal-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:#000b;backdrop-filter:blur(8px)}.hidden{display:none}.modal-content{width:min(540px,100%);padding:30px;background:var(--surface);border:1px solid #b15cff4d;border-radius:17px}.modal-header{display:flex;justify-content:space-between;margin-bottom:22px}.modal-close{border:0;background:none;font-size:28px;cursor:pointer}.form-group{margin-bottom:17px}.form-group label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:9px;background:var(--surface2);color:var(--text)}.form-group textarea{resize:vertical}.submit-btn{width:100%;border:0;border-radius:10px;padding:12px;color:#fff;font-weight:700;cursor:pointer;background:linear-gradient(135deg,var(--accent),var(--accent2))}
@media(max-width:800px){.menu-toggle{display:block}.nav-links{position:absolute;top:68px;left:0;right:0;padding:14px 20px 20px;background:var(--surface);display:none;flex-wrap:wrap}.nav-links.open{display:flex}.nav-links>a{width:calc(50% - 4px)}.toolbar{flex-direction:column}.posts-grid,.game-card{grid-template-columns:1fr}.game-cover{min-height:330px}.game-info{padding:28px}.game-meta{grid-template-columns:1fr 1fr}.about-card{grid-template-columns:1fr}.about-mark{width:90px;height:90px}.timeline-item{grid-template-columns:1fr;gap:6px}}@media(max-width:480px){.nav-shell,.section,footer{width:calc(100% - 28px)}.section{padding-block:78px}.hero-actions .button,.game-actions .button{width:100%}.game-meta{grid-template-columns:1fr}.game-info{padding:23px}.about-card{padding:27px}footer{flex-direction:column;gap:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* User-selected game background and profile photo */
.hero-bg{background-image:url('../assets/home-bg.png')}
.avatar{font-size:0;background:url('../assets/avatar.jpg') center 35%/cover no-repeat}
.game-cover{background:url('../assets/game-bg.jpg') center/cover no-repeat}
.game-cover.source-game-cover{background:linear-gradient(rgba(0,28,48,.12),rgba(0,28,48,.38)),url('../assets/douyin-game-bg.jpg') center/cover no-repeat}
.footer-top{border:0;background:transparent;color:var(--soft);cursor:pointer}.footer-top:hover{color:var(--text)}.article-source{display:inline-flex;margin:18px auto 0;padding:9px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--accent);font-size:13px;font-weight:650}.article-source:hover{border-color:rgba(177,92,255,.5)}
.game-cover img{content:url('../assets/game-bg.jpg')}
.about-mark{font-size:0;background:url('../assets/avatar.jpg') center 35%/cover no-repeat}

/* Current downloadable build metadata */
.checksum{font-size:0}
.checksum::after{content:'SHA-256：1587129EEB17…8E0EE4C';font:11px/1.5 monospace}

/* Blog card open/close interaction */
.post-card{cursor:pointer}
.post-card.expanded{grid-column:1/-1}
.post-card.expanded .post-content{display:block;-webkit-line-clamp:unset;overflow:visible}
.read-more{display:inline-block;margin-top:16px;color:var(--accent);font-size:13px;font-weight:650}
.post-actions{cursor:default}

/* Full article page */
.article-page{background:var(--bg)}
.article-nav{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:14px}
.article-nav>a:hover{color:var(--accent)}
.article-shell{width:min(820px,calc(100% - 40px));margin:0 auto;padding:145px 0 90px}
.article-header{text-align:center;margin-bottom:42px}
.article-category{display:inline-block;padding:4px 12px;border-radius:99px;background:rgba(177,92,255,.14);color:var(--accent);font-size:13px;font-weight:650}
.article-header h1{font-size:clamp(52px,9vw,88px);line-height:1;letter-spacing:-.06em;margin:22px 0;background:linear-gradient(135deg,var(--text),var(--accent));background-clip:text;color:transparent}
.article-header h1.article-split-title{display:grid;justify-items:center;gap:14px;line-height:1.08}.article-series,.article-main-title{display:block;white-space:nowrap;font-size:clamp(15px,5.4vw,46px)}.article-series{letter-spacing:.08em}.article-main-title{letter-spacing:-.045em}
.article-lead{font-size:clamp(18px,3vw,23px);color:var(--muted)}
.article-meta{display:flex;justify-content:center;gap:20px;margin-top:20px;color:var(--soft);font-size:13px}
.article-cover{aspect-ratio:16/9;overflow:hidden;border-radius:20px;margin-bottom:50px;box-shadow:var(--shadow)}
.article-cover img{width:100%;height:100%;display:block;object-fit:cover}
.article-body{font-size:17px;line-height:1.95;color:var(--muted)}
.article-body p{margin:0 0 24px}
.article-body h2{margin:54px 0 18px;color:var(--text);font-size:30px;letter-spacing:-.03em}
.article-body blockquote{margin:38px 0;padding:24px 28px;border-left:4px solid var(--accent);border-radius:0 13px 13px 0;background:var(--surface);color:var(--text);font-size:19px}
.article-footer{display:flex;justify-content:space-between;gap:14px;margin-top:65px;padding-top:30px;border-top:1px solid var(--border)}
@media(max-width:600px){.article-shell{width:calc(100% - 28px);padding-top:115px}.article-header{text-align:left}.article-meta{justify-content:flex-start;flex-wrap:wrap}.article-body{font-size:16px}.article-footer{flex-direction:column}.article-footer .button{width:100%}}

/* Encrypted private vault */
.brand{border:0;padding:0;cursor:pointer}
.private-modal{max-height:calc(100svh - 40px);overflow:auto}
.nav-private{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(83,216,170,.35);background:rgba(83,216,170,.1);color:#78e6bf;padding:7px 13px;border-radius:9px;cursor:pointer}.nav-private:hover{background:rgba(83,216,170,.17)}.private-modal{width:min(620px,100%)}.private-modal .modal-header h3{font-size:28px;line-height:1.2;margin-top:4px}.private-step{text-align:center}.security-mark{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 14px;border:1px solid rgba(83,216,170,.45);border-radius:50%;background:rgba(83,216,170,.1);color:#78e6bf;font-size:22px;font-weight:800}.private-step h4{font-size:21px}.private-step>p{color:var(--muted);font-size:14px;margin:5px 0 20px}.private-step form{text-align:left}.private-label{display:block;margin:13px 0 6px;color:var(--muted);font-size:13px}.private-step input,.private-step textarea{width:100%;padding:12px 13px;border:1px solid var(--border);border-radius:9px;background:var(--surface2);color:var(--text)}.private-step textarea{resize:vertical;min-height:260px;line-height:1.65}.private-error{min-height:25px!important;margin:4px 0 8px!important;color:#ff8181!important;font-size:13px!important}.private-notice{margin-top:18px;padding-top:15px;border-top:1px solid var(--border);color:var(--soft);font-size:11px;line-height:1.5}.vault-status,.vault-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}.vault-status{margin-bottom:16px}.vault-status span{color:#78e6bf;font-size:13px}.vault-status i{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#53d8aa;box-shadow:0 0 0 4px rgba(83,216,170,.12)}.vault-status button{border:1px solid var(--border);background:transparent;color:var(--muted);padding:6px 11px;border-radius:8px;cursor:pointer}.vault-footer{margin-top:12px}.vault-footer span{color:var(--soft);font-size:12px}.vault-footer .submit-btn{width:auto;min-width:120px}.private-step.hidden{display:none}@media(max-width:800px){.nav-private{order:2}.private-modal{padding:24px}.vault-footer{align-items:flex-end;flex-direction:column}.vault-footer .submit-btn{width:100%}}

/* Music player */
.music-btn{display:grid;place-items:center;width:40px;height:40px;border:0;background:transparent;border-radius:9px;cursor:pointer;color:var(--muted)}
.music-btn svg{width:19px}
.music-btn:hover{color:var(--text)}
.music-btn.playing{color:var(--accent)}
.music-slash{transition:opacity .2s}
.music-btn.playing .music-slash{opacity:0}
.music-panel{position:fixed;top:76px;right:20px;z-index:1200;width:min(340px,calc(100% - 40px));max-height:min(72vh,540px);display:none;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.music-panel.open{display:flex}
.music-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px 12px;border-bottom:1px solid var(--border)}
.music-kicker{font-size:11px;letter-spacing:.2em;font-weight:700;color:var(--accent)}
.music-hint{font-size:12px;color:var(--soft)}
.music-list{list-style:none;overflow-y:auto;padding:6px 8px 8px}
.music-item{padding:10px 12px;border-radius:8px;color:var(--muted);font-size:14px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.music-item:hover{color:var(--text);background:var(--surface2)}
.music-item.active{color:var(--accent);background:#b15cff21}
.music-mini{position:fixed;left:20px;bottom:20px;z-index:1150;display:none;align-items:center;gap:10px;max-width:calc(100% - 40px);padding:9px 12px;background:var(--surface);border:1px solid var(--border);border-radius:999px;box-shadow:var(--shadow)}
.music-mini.show{display:flex}
.music-mini-btn{width:28px;height:28px;display:grid;place-items:center;border:0;background:transparent;border-radius:50%;color:var(--muted);cursor:pointer;font-size:14px;flex:none}
.music-mini-btn svg{width:16px;height:16px}
.music-mini-btn:hover{color:var(--text)}
.music-mini-grip{display:grid;place-items:center;width:20px;height:28px;color:var(--soft);cursor:grab;flex:none;touch-action:none;user-select:none}
.music-mini-grip svg{width:14px;height:18px}
.music-mini-grip:active{cursor:grabbing}
.music-mini-stop:hover{color:#ff8181}
.music-mini-info{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.music-mini-title{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.music-mini-seek{width:clamp(90px,32vw,180px);appearance:none;-webkit-appearance:none;height:10px;background:transparent;cursor:pointer}
.music-mini-seek::-webkit-slider-runnable-track{height:3px;border-radius:99px;background:var(--border)}
.music-mini-seek::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;border-radius:50%;background:var(--accent);margin-top:-4px;border:0}
.music-mini-seek::-moz-range-track{height:3px;border-radius:99px;background:var(--border)}
.music-mini-seek::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:var(--accent);border:0}
