/* ===== QQ APP ===== */
.qq-app { display: flex; height: 100%; background: #1a1a2e; color: #ddd; }
.qq-sidebar { width: 56px; background: #111; display: flex; flex-direction: column; align-items: center; padding-top: 12px; gap: 8px; }
.qq-sidebar-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: background 0.15s; }
.qq-sidebar-icon:hover, .qq-sidebar-icon.active { background: rgba(79,195,247,0.2); }
.qq-nav { width: 200px; border-right: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; }
.qq-nav-header { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.qq-search { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; padding: 6px 10px; color: #ccc; font-size: 12px; outline: none; font-family: inherit; }
.qq-contact-list { flex: 1; overflow-y: auto; }
.qq-contact { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; transition: background 0.15s; position: relative; }
.qq-contact:hover { background: rgba(255,255,255,0.05); }
.qq-contact.active { background: rgba(79,195,247,0.1); }
.qq-avatar { width: 36px; height: 36px; border-radius: 8px; background: #333; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.qq-contact-info { flex: 1; overflow: hidden; }
.qq-contact-name { font-size: 13px; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qq-contact-preview { font-size: 11px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.qq-badge { position: absolute; right: 10px; top: 10px; background: #f44; color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 8px; }
.qq-chat { flex: 1; display: flex; flex-direction: column; }
.qq-chat-header { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 10px; }
.qq-chat-name { font-size: 14px; font-weight: bold; color: #fff; }
.qq-chat-status { font-size: 11px; color: #666; }
.qq-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.qq-msg { display: flex; gap: 10px; max-width: 80%; }
.qq-msg.self { flex-direction: row-reverse; align-self: flex-end; }
.qq-msg-avatar { width: 32px; height: 32px; border-radius: 6px; background: #333; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.qq-msg-body { display: flex; flex-direction: column; gap: 4px; }
.qq-msg.self .qq-msg-body { align-items: flex-end; }
.qq-msg-name { font-size: 11px; color: #666; }
.qq-bubble { background: rgba(255,255,255,0.07); padding: 8px 12px; border-radius: 8px; font-size: 13px; color: #ddd; line-height: 1.5; }
.qq-msg.self .qq-bubble { background: rgba(79,195,247,0.15); }
.qq-msg-time { font-size: 10px; color: #444; }
.qq-deleted { color: #f00; font-style: italic; }
.qq-system-msg { text-align: center; font-size: 11px; color: #555; padding: 4px 0; }
.qq-chat-input-area { border-top: 1px solid rgba(255,255,255,0.06); padding: 10px 12px; }
.qq-input-bar { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 8px 12px; color: #ccc; font-size: 13px; width: 100%; outline: none; font-family: inherit; cursor: not-allowed; }

/* QQ Space */
.qq-space { flex: 1; overflow-y: auto; padding: 20px; background: #111; }
.qq-space-post { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.qq-space-user { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.qq-space-text { font-size: 14px; color: #ddd; line-height: 1.6; margin-bottom: 12px; }
.qq-space-img { width: 100%; border-radius: 6px; cursor: zoom-in; }
.qq-space-meta { font-size: 11px; color: #555; }
.qq-album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qq-album-item { aspect-ratio: 1; background: rgba(255,255,255,0.03); border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.qq-album-item img { width: 100%; height: 100%; object-fit: cover; }


/* ===== NETEASE MUSIC ===== */
.netease-app { height: 100%; background: #1a0505; color: #eee; display: flex; flex-direction: column; }
.netease-header { background: #c20c0c; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.netease-logo { font-size: 22px; font-weight: bold; color: #fff; }
.netease-search { flex: 1; background: rgba(255,255,255,0.15); border: none; border-radius: 16px; padding: 6px 14px; color: #fff; font-size: 13px; outline: none; font-family: inherit; }
.netease-search::placeholder { color: rgba(255,255,255,0.5); }
.netease-nav { display: flex; padding: 0 8px; background: rgba(0,0,0,0.2); }
.netease-nav-item { padding: 10px 12px; font-size: 13px; color: #aaa; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.15s; }
.netease-nav-item.active { color: #c20c0c; border-bottom-color: #c20c0c; }
.netease-body { flex: 1; overflow-y: auto; }
/* Playlist page */
.netease-playlist-header { padding: 16px; display: flex; gap: 16px; }
.playlist-cover { width: 100px; height: 100px; border-radius: 8px; background: #300; display: flex; align-items: center; justify-content: center; font-size: 40px; flex-shrink: 0; }
.playlist-meta { flex: 1; }
.playlist-name { font-size: 16px; font-weight: bold; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.playlist-creator { font-size: 12px; color: #888; margin-bottom: 8px; }
.playlist-desc { font-size: 12px; color: #666; line-height: 1.5; font-family: monospace; word-break: break-all; background: rgba(255,255,255,0.03); padding: 8px; border-radius: 4px; margin-top: 8px; }
.netease-song-list { padding: 0 8px; }
.netease-song { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 6px; cursor: pointer; transition: background 0.15s; }
.netease-song:hover { background: rgba(255,255,255,0.05); }
.song-index { width: 24px; text-align: center; font-size: 12px; color: #666; }
.song-info { flex: 1; }
.song-name { font-size: 14px; color: #ddd; }
.song-artist { font-size: 12px; color: #666; margin-top: 2px; }
.song-duration { font-size: 12px; color: #555; font-family: monospace; }
.song-duration.highlight { color: #c20c0c; font-weight: bold; }

/* ===== LIBRARY SYSTEM ===== */
.library-app { height: 100%; background: #f5f5f0; color: #333; display: flex; flex-direction: column; font-family: "Simsun", serif; }
.library-header { background: #2c3e50; color: #fff; padding: 12px 20px; }
.library-title { font-size: 18px; font-weight: bold; }
.library-subtitle { font-size: 11px; color: #aaa; margin-top: 2px; }
.library-nav { background: #34495e; display: flex; }
.library-nav-item { padding: 8px 16px; font-size: 12px; color: #ccc; cursor: pointer; transition: background 0.15s; }
.library-nav-item:hover, .library-nav-item.active { background: #2c3e50; color: #fff; }
.library-body { flex: 1; overflow-y: auto; padding: 16px; }
.library-search-bar { display: flex; gap: 8px; margin-bottom: 16px; }
.lib-input { flex: 1; border: 1px solid #ddd; border-radius: 4px; padding: 8px 12px; font-size: 13px; outline: none; font-family: inherit; background: #fff; }
.lib-input:focus { border-color: #2c3e50; }
.lib-btn { padding: 8px 16px; background: #2c3e50; color: #fff; border: none; border-radius: 4px; font-size: 13px; cursor: pointer; font-family: inherit; }
.lib-btn:hover { background: #34495e; }
.library-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.library-table th { background: #2c3e50; color: #fff; padding: 8px 12px; text-align: left; }
.library-table td { padding: 8px 12px; border-bottom: 1px solid #eee; }
.library-table tr:hover td { background: #f0f0e8; cursor: pointer; }
.status-overdue { color: #e74c3c; font-weight: bold; }
.status-ok { color: #27ae60; }
.library-result { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 16px; }
.library-result-title { font-size: 16px; font-weight: bold; color: #2c3e50; margin-bottom: 12px; }
.library-field { margin-bottom: 8px; font-size: 13px; }
.library-field label { color: #888; display: inline-block; width: 80px; }
.library-hidden-text { color: #f5f5f0; font-size: 12px; line-height: 1.6; margin-top: 12px; padding: 8px; background: #f5f5f0; border-radius: 4px; cursor: text; user-select: text; }
.library-hidden-text:hover { color: #333; background: #fffde7; }

/* ===== TIANWANG SYSTEM ===== */
.tianwang-app { height: 100%; background: #0a0a0f; color: #0f0; font-family: "Courier New", monospace; display: flex; align-items: center; justify-content: center; }
.tianwang-login { width: 320px; }
.tianwang-logo { text-align: center; margin-bottom: 24px; }
.tianwang-logo-text { font-size: 24px; color: #0f0; letter-spacing: 4px; }
.tianwang-logo-sub { font-size: 11px; color: #0a0; margin-top: 4px; letter-spacing: 2px; }
.tw-input { width: 100%; background: #000; border: 1px solid #0f0; padding: 10px 12px; color: #0f0; font-size: 14px; font-family: inherit; outline: none; margin-bottom: 10px; }
.tw-btn { width: 100%; padding: 10px; background: #0f0; color: #000; border: none; font-size: 14px; font-weight: bold; cursor: pointer; font-family: inherit; letter-spacing: 2px; }
.tw-btn:hover { background: #0c0; }
.tw-error { color: #f00; font-size: 12px; margin-top: 8px; text-align: center; }
.tw-access-denied { text-align: center; }
.tw-denied-text { color: #f00; font-size: 24px; letter-spacing: 4px; margin-bottom: 16px; }
.tw-denied-sub { color: #555; font-size: 13px; line-height: 1.8; }
.tw-terminal { color: #0f0; font-size: 12px; line-height: 1.8; text-align: left; max-width: 400px; }
.tw-terminal .line { display: block; }
.tw-terminal .cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 50%{opacity:0} }

/* ===== BROWSER APP ===== */
.browser-app { height: 100%; display: flex; flex-direction: column; background: #1e1e2e; }
.browser-toolbar { background: #16162a; padding: 8px 10px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.browser-nav-btns { display: flex; gap: 4px; }
.browser-nav-btn { width: 28px; height: 28px; background: rgba(255,255,255,0.05); border: none; border-radius: 4px; color: #888; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.browser-nav-btn:hover { background: rgba(255,255,255,0.1); color: #ccc; }
.browser-url-bar { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 5px 14px; color: #ccc; font-size: 12px; outline: none; font-family: monospace; }
.browser-url-bar:focus { border-color: rgba(79,195,247,0.4); }
.browser-body { flex: 1; overflow-y: auto; }
/* Ghost page */
.ghost-page { background: #000; min-height: 100%; padding: 40px; }
.ghost-title { font-size: 12px; color: #333; font-family: monospace; margin-bottom: 20px; }
.ghost-log { font-family: monospace; font-size: 13px; color: #0a0; line-height: 1.9; white-space: pre-wrap; }
.ghost-log .red { color: #f00; }
.ghost-log .yellow { color: #ff0; }
.ghost-log .white { color: #fff; }
.ghost-log .dim { color: #333; }

/* ===== NOTEPAD ===== */
.notepad-app { height: 100%; display: flex; flex-direction: column; background: #fffef5; color: #333; }
.notepad-menu { background: #f5f5f5; border-bottom: 1px solid #ddd; padding: 4px 8px; display: flex; gap: 12px; }
.notepad-menu-item { font-size: 12px; color: #444; cursor: pointer; padding: 2px 4px; }
.notepad-menu-item:hover { background: #ddd; }
.notepad-body { flex: 1; padding: 12px; font-family: "Courier New", monospace; font-size: 13px; color: #333; overflow-y: auto; white-space: pre-wrap; line-height: 1.7; }

/* ===== FINAL PAGE ===== */
.final-page { background: #000; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; }
.final-scroll { width: 100%; max-width: 500px; }
.final-name { font-family: monospace; font-size: 13px; color: #333; padding: 3px 0; transition: color 0.1s; }
.final-name:hover { color: #0f0; }
.final-name.highlight { color: #fff; font-weight: bold; }
.final-input-section { margin-top: 40px; text-align: center; }
.final-prompt { font-family: monospace; font-size: 14px; color: #666; margin-bottom: 16px; line-height: 1.6; }
.final-input { background: transparent; border: none; border-bottom: 1px solid #333; color: #0f0; font-family: monospace; font-size: 14px; width: 100%; max-width: 400px; padding: 8px 0; outline: none; text-align: center; }
.final-submit-btn { margin-top: 16px; background: transparent; border: 1px solid #0f0; color: #0f0; font-family: monospace; font-size: 14px; padding: 10px 40px; cursor: pointer; letter-spacing: 2px; }
.final-submit-btn:hover { background: #0f0; color: #000; }
.ai-response { margin-top: 24px; font-family: monospace; font-size: 13px; color: #aaa; line-height: 1.8; white-space: pre-wrap; max-width: 500px; border-left: 2px solid #333; padding-left: 16px; }
.ai-score { font-size: 24px; color: #0f0; margin-bottom: 8px; font-weight: bold; }

/* ===== MUSIC APP ENHANCED ===== */
.music-app { display:flex; height:100%; background:#181818; color:#ddd; }
.music-sidebar { width:200px; background:#111; padding:16px 0; display:flex; flex-direction:column; gap:2px; flex-shrink:0; }
.music-logo { font-size:14px; font-weight:bold; color:#fff; padding:0 16px 16px; letter-spacing:0.5px; }
.music-nav-item { padding:8px 16px; font-size:13px; color:#aaa; cursor:pointer; border-radius:0; transition:background 0.15s,color 0.15s; }
.music-nav-item:hover { background:rgba(255,255,255,0.06); color:#fff; }
.music-nav-item.active { background:rgba(255,255,255,0.08); color:#fff; }
.music-nav-divider { height:1px; background:rgba(255,255,255,0.06); margin:8px 16px; }
.music-nav-label { font-size:11px; color:#555; padding:4px 16px; letter-spacing:1px; text-transform:uppercase; }
.music-main { flex:1; overflow:hidden; display:flex; flex-direction:column; }
.music-banner { padding:24px 20px; color:#fff; flex-shrink:0; }
.music-banner-title { font-size:16px; font-weight:bold; margin-bottom:4px; }
.music-banner-sub { font-size:12px; opacity:0.7; }
.music-section-title { font-size:13px; color:#888; padding:16px 20px 8px; font-weight:bold; letter-spacing:0.5px; }
.music-playlist-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; padding:0 20px 20px; }
.music-playlist-card { border-radius:8px; padding:16px 12px; cursor:pointer; transition:transform 0.15s,filter 0.15s; }
.music-playlist-card:hover { transform:translateY(-2px); filter:brightness(1.2); }
.music-playlist-card-highlight { border:1px solid rgba(79,195,247,0.3); box-shadow:0 0 12px rgba(79,195,247,0.08); }
.music-playlist-cover { font-size:32px; margin-bottom:8px; }
.music-playlist-name { font-size:12px; color:#fff; font-weight:bold; line-height:1.4; }
.music-playlist-count { font-size:11px; color:#666; margin-top:4px; }
.music-playlist-count-special { color:#4fc3f7; }
.music-search-row { display:flex; gap:8px; margin-bottom:20px; }
.music-search-bar { flex:1; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); border-radius:20px; padding:8px 16px; color:#fff; font-size:13px; outline:none; font-family:inherit; }
.music-search-bar:focus { border-color:rgba(79,195,247,0.4); }
.music-search-btn { background:#e74c3c; border:none; color:#fff; padding:8px 20px; border-radius:20px; cursor:pointer; font-size:13px; font-family:inherit; transition:background 0.15s; }
.music-search-btn:hover { background:#c0392b; }
.music-user-result { display:flex; align-items:center; gap:12px; padding:14px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.06); border-radius:8px; cursor:pointer; transition:background 0.15s; }
.music-user-result:hover { background:rgba(255,255,255,0.08); }
.music-user-avatar { width:48px; height:48px; background:#2a2a2a; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.music-user-header { padding:24px 20px 16px; display:flex; gap:16px; align-items:center; border-bottom:1px solid rgba(255,255,255,0.06); }
.music-user-big-avatar { width:64px; height:64px; background:#2a2a2a; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; flex-shrink:0; }
.music-user-name { font-size:18px; color:#fff; font-weight:bold; }
.music-user-id { font-size:12px; color:#666; margin-top:4px; }
.music-user-stats { display:flex; gap:16px; margin-top:10px; font-size:12px; color:#888; }
.music-user-stats b { color:#fff; }
.music-playlist-row { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid rgba(255,255,255,0.05); cursor:pointer; transition:background 0.15s; }
.music-playlist-row:hover { background:rgba(255,255,255,0.04); border-radius:8px; padding:12px 8px; margin:0 -8px; }
.music-playlist-row-cover { width:48px; height:48px; background:#1a1a2e; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.music-playlist-hero { display:flex; gap:16px; padding:20px; border-bottom:1px solid rgba(255,255,255,0.06); align-items:flex-start; }
.music-playlist-hero-cover { width:80px; height:80px; background:#1a0a1a; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:36px; flex-shrink:0; }
.music-playlist-hero-title { font-size:16px; color:#fff; font-weight:bold; margin-bottom:4px; }
.music-playlist-hero-meta { font-size:12px; color:#666; margin-bottom:8px; }
.music-playlist-hero-desc { font-size:12px; color:#888; line-height:1.6; }
.music-track-hint { font-size:11px; color:#555; padding:10px 20px; border-bottom:1px solid rgba(255,255,255,0.04); }
.music-track-list { padding:4px 0; }
.music-track-item { display:flex; align-items:center; gap:12px; padding:8px 20px; transition:background 0.12s; cursor:default; }
.music-track-item:hover { background:rgba(255,255,255,0.04); }
.music-track-num { width:24px; text-align:center; font-size:12px; color:#555; flex-shrink:0; }
.music-track-info { flex:1; min-width:0; }
.music-track-title { font-size:14px; color:#fff; }
.music-track-artist { font-size:11px; color:#666; margin-top:2px; }
.music-track-duration { font-size:12px; color:#ff0; font-family:monospace; flex-shrink:0; }
.music-comment-section { padding:16px 20px; border-top:1px solid rgba(255,255,255,0.06); }
.music-comment-title { font-size:12px; color:#666; margin-bottom:12px; font-weight:bold; }
.music-comment-item { background:rgba(255,255,255,0.04); border-radius:8px; padding:14px; }
.music-comment-user { font-size:12px; color:#888; margin-bottom:6px; }
.music-comment-date { color:#444; font-size:11px; margin-left:8px; }
.music-comment-text { font-size:13px; color:#ccc; font-style:italic; line-height:1.5; }
.music-comment-likes { font-size:11px; color:#555; margin-top:8px; }
/* Music hint page */
.music-hint-page { background:#0a0a15; height:100%; padding:24px; font-family:monospace; overflow-y:auto; }
.music-hint-title { font-size:15px; color:#4fc3f7; margin-bottom:8px; font-weight:bold; }
.music-hint-desc { font-size:12px; color:#666; margin-bottom:16px; }
.music-hint-table { display:flex; flex-direction:column; gap:6px; margin-bottom:20px; }
.music-hint-row { display:flex; align-items:center; gap:12px; padding:6px 10px; background:rgba(255,255,255,0.03); border-radius:4px; }
.music-hint-time { font-size:13px; color:#888; width:40px; }
.music-hint-arrow { color:#555; }
.music-hint-num { font-size:15px; color:#ff0; font-weight:bold; letter-spacing:2px; }
.music-hint-result-box { border-top:1px solid #222; padding-top:16px; }
.music-hint-result-label { font-size:12px; color:#555; margin-bottom:8px; }
.music-hint-result-code { font-size:28px; color:#ff0; letter-spacing:6px; margin-bottom:8px; }
.music-hint-result-note { font-size:11px; color:#444; }

/* ===== RECYCLE BIN ENHANCED ===== */
.recycle-app { height:100%; display:flex; flex-direction:column; background:#1e1e2e; }
.recycle-toolbar { display:flex; align-items:center; justify-content:space-between; padding:10px 16px; background:#16162a; border-bottom:1px solid rgba(255,255,255,0.06); }
.recycle-toolbar-title { font-size:12px; color:#888; }
.recycle-clear-btn { font-size:11px; background:transparent; border:1px solid #444; color:#888; padding:4px 12px; border-radius:4px; cursor:pointer; transition:all 0.15s; font-family:inherit; }
.recycle-clear-btn:hover { border-color:#e94560; color:#e94560; }
.recycle-items { flex:1; overflow-y:auto; padding:8px; display:flex; flex-direction:column; gap:4px; }
.recycle-item { display:flex; align-items:center; gap:14px; padding:12px 14px; border-radius:8px; cursor:pointer; transition:background 0.15s; border:1px solid transparent; }
.recycle-item:hover { background:rgba(255,255,255,0.05); border-color:rgba(255,255,255,0.06); }
.recycle-item:active { background:rgba(79,195,247,0.1); }
.recycle-icon { font-size:28px; flex-shrink:0; }
.recycle-info { flex:1; min-width:0; }
.recycle-name { font-size:13px; color:#ddd; font-weight:500; }
.recycle-meta { font-size:11px; color:#555; margin-top:3px; }
.recycle-hint { font-size:10px; color:#4fc3f7; margin-top:3px; opacity:0; transition:opacity 0.2s; }
.recycle-item:hover .recycle-hint { opacity:1; }


/* ===== DOUYIN (enhanced) ===== */
.douyin-app { height:100%; background:#000; color:#fff; display:flex; }
.douyin-sidebar { width:180px; background:#111; border-right:1px solid #1a1a1a; padding:20px 0; display:flex; flex-direction:column; flex-shrink:0; }
.dy-nav-item { padding:10px 20px; font-size:13px; color:#666; cursor:pointer; transition:all 0.15s; border-left:3px solid transparent; }
.dy-nav-item.active,.dy-nav-item:hover { color:#fff; background:rgba(255,255,255,0.05); border-left-color:#fff; }
.douyin-main { flex:1; overflow-y:auto; display:flex; flex-direction:column; }
.dy-search-bar { flex:1; background:#111; border:1px solid #333; border-radius:20px; padding:7px 14px; color:#fff; font-size:13px; outline:none; font-family:inherit; }
.dy-search-bar:focus { border-color:#555; }
.dy-search-btn { background:#fe2c55; border:none; color:#fff; padding:7px 18px; border-radius:20px; font-size:13px; cursor:pointer; font-family:inherit; white-space:nowrap; }
.dy-user-result { display:flex; align-items:center; gap:14px; padding:14px; background:rgba(255,255,255,0.04); border-radius:10px; cursor:pointer; transition:background 0.15s; border:1px solid rgba(255,255,255,0.06); }
.dy-user-result:hover { background:rgba(255,255,255,0.08); }
.dy-user-avatar { width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.dy-follow-btn { display:inline-block; background:rgba(254,44,85,0.15); border:1px solid rgba(254,44,85,0.4); color:#fe2c55; font-size:11px; padding:2px 8px; border-radius:10px; margin-left:8px; cursor:pointer; }
.dy-feed { padding:8px; display:flex; flex-direction:column; gap:1px; }
.dy-post { display:flex; gap:12px; padding:16px; background:#0a0a0a; border-bottom:1px solid #111; }
.dy-post-avatar { width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:18px; color:#fff; font-weight:bold; flex-shrink:0; }
.dy-post-content { flex:1; }
.dy-post-user { font-size:14px; font-weight:bold; color:#fff; margin-bottom:6px; }
.dy-post-text { font-size:13px; color:#ccc; margin-bottom:10px; line-height:1.5; }
.dy-post-video { width:100%; max-width:280px; aspect-ratio:16/9; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:36px; cursor:pointer; }
.dy-video-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; padding:2px; }
.dy-video-thumb { aspect-ratio:9/16; background:#111; border:1px solid #1a1a1a; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:6px; cursor:pointer; transition:background 0.15s; border-radius:4px; }
.dy-video-thumb:hover { background:#1a1a1a; border-color:#333; }
.dy-video-thumb-icon { font-size:28px; }
.dy-video-thumb-label { font-size:10px; color:#555; text-align:center; padding:0 4px; }
.dy-profile-header { padding:20px; border-bottom:1px solid rgba(255,255,255,0.06); display:flex; gap:20px; align-items:center; }
.dy-profile-avatar { width:72px; height:72px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; flex-shrink:0; }
.dy-profile-stats { display:flex; gap:20px; margin-top:10px; }
.dy-stat { text-align:center; }
.dy-stat-num { font-size:16px; font-weight:bold; color:#fff; }
.dy-stat-label { font-size:11px; color:#666; margin-top:2px; }

/* ===== MUSIC (enhanced) ===== */
.music-app { height:100%; display:flex; background:#0f0f1a; color:#ddd; font-family:"Microsoft YaHei",sans-serif; }
.music-sidebar { width:180px; background:#0a0a12; border-right:1px solid rgba(255,255,255,0.05); padding:16px 0; flex-shrink:0; }
.music-sidebar-logo { font-size:14px; font-weight:bold; color:#e74c3c; padding:0 16px 20px; letter-spacing:1px; }
.music-nav-item { padding:9px 16px; font-size:13px; color:#666; cursor:pointer; transition:all 0.15s; border-left:3px solid transparent; }
.music-nav-item:hover,.music-nav-item.active { color:#ddd; background:rgba(255,255,255,0.04); border-left-color:#e74c3c; }
.music-main { flex:1; overflow-y:auto; }
.music-banner { padding:20px; display:flex; align-items:center; gap:16px; }
.music-banner-cover { width:72px; height:72px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:32px; flex-shrink:0; }
.music-banner-title { font-size:16px; font-weight:bold; color:#fff; }
.music-banner-sub { font-size:12px; color:#888; margin-top:4px; }
.music-search-bar { flex:1; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); border-radius:20px; padding:7px 14px; color:#ddd; font-size:13px; outline:none; font-family:inherit; }
.music-search-bar:focus { border-color:rgba(231,76,60,0.5); }
.music-search-btn { background:#e74c3c; border:none; color:#fff; padding:7px 18px; border-radius:20px; font-size:13px; cursor:pointer; font-family:inherit; white-space:nowrap; }
.music-track-item { display:flex; align-items:center; gap:12px; padding:9px 0; border-bottom:1px solid rgba(255,255,255,0.04); cursor:pointer; transition:background 0.15s; border-radius:4px; padding-left:4px; }
.music-track-item:hover { background:rgba(255,255,255,0.04); }
.music-playlist-item { cursor:pointer; transition:transform 0.15s,box-shadow 0.15s; }
.music-playlist-item:hover { transform:translateY(-2px); box-shadow:0 4px 16px rgba(0,0,0,0.4); }
.music-user-card { display:flex; align-items:center; gap:14px; padding:14px; background:rgba(255,255,255,0.04); border-radius:10px; cursor:pointer; transition:background 0.15s; border:1px solid rgba(255,255,255,0.06); }
.music-user-card:hover { background:rgba(255,255,255,0.08); }



/* ===== QQ REDESIGN CLASSES ===== */
.qq-sidebar-avatar { width:40px; height:40px; border-radius:10px; background:linear-gradient(135deg,#4fc3f7,#0288d1); display:flex; align-items:center; justify-content:center; font-size:16px; color:#fff; font-weight:bold; margin-bottom:12px; }
.qq-main { flex:1; display:flex; flex-direction:column; background:#1a1a2e; overflow:hidden; }
.qq-search-bar { padding:8px 10px; border-bottom:1px solid rgba(255,255,255,0.05); }
.qq-search-input { width:100%; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); border-radius:14px; padding:6px 12px; color:#ccc; font-size:12px; outline:none; font-family:inherit; }
.qq-chat-list { flex:1; overflow-y:auto; }
.qq-chat-item { display:flex; align-items:center; gap:10px; padding:10px 12px; cursor:pointer; transition:background 0.15s; position:relative; }
.qq-chat-item:hover { background:rgba(255,255,255,0.05); }
.qq-chat-item.unread { background:rgba(79,195,247,0.04); }
.qq-chat-avatar { width:40px; height:40px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:15px; color:#fff; font-weight:bold; flex-shrink:0; }
.qq-chat-info { flex:1; overflow:hidden; }
.qq-chat-name { font-size:13px; color:#ddd; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.qq-chat-preview { font-size:11px; color:#555; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.qq-chat-meta { display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex-shrink:0; }
.qq-chat-time { font-size:10px; color:#444; }
.qq-chat-badge { background:#f44; color:#fff; font-size:10px; padding:1px 5px; border-radius:8px; min-width:16px; text-align:center; }

/* QQ chat window */
.qq-chat-window { flex:1; display:flex; flex-direction:column; background:#12122a; }
.qq-chat-titlebar { padding:10px 14px; border-bottom:1px solid rgba(255,255,255,0.06); display:flex; align-items:center; gap:10px; background:rgba(0,0,0,0.2); }
.qq-chat-title-name { font-size:13px; font-weight:bold; color:#fff; }
.qq-chat-title-status { font-size:11px; color:#555; margin-top:1px; }
.qq-messages { flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:14px; }
.qq-chat-input-area { padding:10px 12px; border-top:1px solid rgba(255,255,255,0.06); }
.qq-input-bar { width:100%; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:8px; padding:8px 12px; color:#666; font-size:13px; outline:none; font-family:inherit; cursor:not-allowed; }

/* QQ messages */
.qq-msg-them { display:flex; gap:10px; align-items:flex-start; max-width:75%; }
.qq-msg-me { display:flex; flex-direction:row-reverse; gap:10px; align-items:flex-start; max-width:75%; align-self:flex-end; }
.qq-msg-avatar { width:32px; height:32px; border-radius:6px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:bold; }
.qq-msg-body { display:flex; flex-direction:column; gap:3px; }
.qq-msg-me .qq-msg-body { align-items:flex-end; }
.qq-msg-name { font-size:10px; color:#555; padding:0 4px; }
.qq-msg-bubble { background:rgba(255,255,255,0.07); padding:8px 12px; border-radius:10px; font-size:13px; color:#ddd; line-height:1.5; max-width:360px; word-break:break-word; }
.qq-msg-me .qq-msg-bubble { background:rgba(79,195,247,0.18); color:#e0f4ff; }
.qq-msg-time { font-size:10px; color:#3a3a5a; padding:0 4px; }
.qq-chat-zone-hint { margin:0 12px 8px; padding:8px 12px; background:rgba(79,195,247,0.08); border:1px solid rgba(79,195,247,0.2); border-radius:6px; font-size:12px; color:#888; cursor:pointer; }
.qq-chat-zone-hint:hover { background:rgba(79,195,247,0.14); }

/* QQ Space redesign */
.qq-space-feed { flex:1; overflow-y:auto; padding:16px; background:#111; }
.qq-space-post { background:#1a1a2e; border:1px solid rgba(255,255,255,0.06); border-radius:10px; padding:14px; margin-bottom:14px; }
.qq-space-user-name { font-size:13px; color:#ddd; font-weight:bold; }
.qq-space-user-time { font-size:11px; color:#444; margin-top:1px; }
.qq-space-text { font-size:13px; color:#ccc; line-height:1.6; margin-bottom:10px; }
.qq-space-img-grid { display:grid; grid-template-columns:repeat(3,80px); gap:6px; margin-bottom:10px; }
.qq-space-img-item { width:80px; height:80px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:28px; cursor:pointer; transition:background 0.15s; }
.qq-space-img-item:hover { background:rgba(255,255,255,0.1); }
.qq-space-meta { display:flex; gap:16px; font-size:11px; color:#555; }

/* ===== SETTINGS APP ===== */
.settings-app { display: flex; height: 100%; background: #1a1a2e; color: #ddd; }
.settings-sidebar { width: 160px; background: #111; border-right: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; padding: 12px 0; flex-shrink: 0; }
.settings-sidebar-title { padding: 8px 16px 16px; font-size: 14px; font-weight: bold; color: #4fc3f7; }
.settings-nav-item { padding: 9px 16px; font-size: 13px; color: #888; cursor: pointer; transition: background 0.15s, color 0.15s; border-radius: 0; }
.settings-nav-item:hover { background: rgba(255,255,255,0.05); color: #ccc; }
.settings-nav-item.active { background: rgba(79,195,247,0.1); color: #4fc3f7; border-left: 2px solid #4fc3f7; }
.settings-main { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.settings-section { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 16px; }
.settings-section-title { font-size: 12px; color: #4fc3f7; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.settings-progress-bar { height: 8px; background: #111; border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.settings-progress-fill { height: 100%; background: linear-gradient(90deg, #4fc3f7, #0288d1); border-radius: 4px; transition: width 0.5s; }
.settings-progress-label { font-size: 12px; color: #666; }
.settings-clue-list { display: flex; flex-direction: column; gap: 2px; }
.settings-clue-row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 5px; transition: background 0.1s; }
.settings-clue-row.done { background: rgba(79,195,247,0.05); }
.settings-clue-icon { font-size: 14px; width: 20px; text-align: center; }
.settings-clue-label { flex: 1; font-size: 12px; color: #666; }
.settings-clue-row.done .settings-clue-label { color: #bbb; }
.settings-clue-status { font-size: 13px; color: #333; }
.settings-clue-row.done .settings-clue-status { color: #4caf50; }
.settings-btn { background: rgba(79,195,247,0.1); border: 1px solid rgba(79,195,247,0.2); color: #4fc3f7; padding: 7px 14px; border-radius: 5px; font-size: 12px; cursor: pointer; font-family: inherit; transition: background 0.15s; }
.settings-btn:hover { background: rgba(79,195,247,0.2); }
.settings-btn-danger { background: rgba(233,69,96,0.1); border: 1px solid rgba(233,69,96,0.2); color: #e94560; padding: 7px 14px; border-radius: 5px; font-size: 12px; cursor: pointer; font-family: inherit; transition: background 0.15s; }
.settings-btn-danger:hover { background: rgba(233,69,96,0.2); }
.settings-about-text { font-size: 13px; color: #666; line-height: 2; }

/* ===== ABOUT APP ===== */
.about-app { padding: 32px; display: flex; flex-direction: column; align-items: center; background: #1a1a2e; height: 100%; color: #ddd; }
.about-icon { font-size: 52px; margin-bottom: 12px; }
.about-title { font-size: 18px; font-weight: bold; color: #fff; margin-bottom: 4px; }
.about-sub { font-size: 12px; color: #555; margin-bottom: 20px; }
.about-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 16px; }
.about-row { display: flex; justify-content: space-between; width: 100%; max-width: 300px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 13px; }
.about-key { color: #666; }
.about-val { color: #ccc; text-align: right; }
