
      :root { 
        --bg: #fff; --bg-alt: #fcfcfc; --text: #000; 
        --border: 1px solid #000; --border-color: #000;
        --gray: gray; --pending-bg: #fff9e6;
        --font: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', 'PingFang SC', 'Microsoft YaHei', serif;
      }
      :root[data-theme="dark"] {
        --bg: #312d3e; --bg-alt: color-mix(in srgb, var(--bg), white 5%); --text: #eee; 
        --border: 1px solid #555; --border-color: #555;
        --gray: #aaa; --pending-bg: color-mix(in srgb, var(--bg), #ffaa00 10%);
      }
      @media (prefers-color-scheme: dark) {
        :root:not([data-theme="light"]) { 
          --bg: #312d3e; --bg-alt: color-mix(in srgb, var(--bg), white 5%); --text: #eee; 
          --border: 1px solid #555; --border-color: #555;
          --gray: #aaa; --pending-bg: color-mix(in srgb, var(--bg), #ffaa00 10%);
        }
      }

      * { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 !important; }
      body { font-family: var(--font) !important; background: var(--bg); color: var(--text); line-height: 1.6; word-break: break-word; transition: background 0.3s, color 0.3s; min-height: 100vh; display: flex; flex-direction: column; }
      .container { max-width: 800px; margin: 0 auto; border-left: var(--border); border-right: var(--border); flex: 1; width: 100%; padding-bottom: 4rem; }
      header, .block, footer { border-bottom: var(--border); padding: 2rem; }
      h1 { text-transform: uppercase; letter-spacing: 2px; font-weight: 900; }
      a { color: var(--text); text-decoration: none; font-weight: bold; }
      a:hover { background: var(--text); color: var(--bg); }
      
      a:hover .badge-new { color: var(--bg); border-color: var(--bg); background-color: transparent; }
      
      input, textarea, button { padding: 0.8rem; border: var(--border); font-family: inherit; font-size: 1rem; background: transparent; color: var(--text); }
      button { cursor: pointer; text-transform: uppercase; font-weight: bold; background: var(--bg); color: var(--text); transition: all 0.2s; }
      button:hover, button.invert { background: var(--text); color: var(--bg); }
      button:disabled { opacity: 0.5; cursor: not-allowed; }
      button.danger { color: #ff4444; border-color: #ff4444; }
      button.danger:hover { background: #ff4444; color: #fff; }
      
      .list-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed var(--border-color); padding: 1rem 0; }
      .list-item:last-child { border-bottom: none; }
      
      .index-list-item { transition: background-color 0.2s; padding: 1rem 0.5rem; margin: 0 -0.5rem; cursor: pointer; }
      .index-list-item:hover { background-color: var(--bg-alt); }

      .tox-tinymce { border: var(--border) !important; border-radius: 0 !important; border-top: none !important; }
      
      .star-important { color: rgba(255, 0, 0, 0.4); margin-left: 6px; font-size: 1.1rem; vertical-align: baseline; }
      .badge-new { background-color: rgba(0, 200, 0, 0.1); border: 1px solid rgba(0, 200, 0, 0.2); color: var(--text); font-size: 0.75rem; padding: 2px 6px; margin-left: 8px; vertical-align: text-bottom; display: inline-block; transition: all 0.2s; }
      
      /* --- 编辑器多标签栏样式 --- */
      .editor-tabs-container { display: flex; overflow-x: auto; border-bottom: var(--border); background: var(--bg-alt); user-select: none; margin-bottom: 0; }
      .editor-tabs-container::-webkit-scrollbar { height: 4px; }
      .editor-tabs-container::-webkit-scrollbar-thumb { background: var(--gray); }
      .editor-tab { padding: 0.6rem 1rem; border-right: var(--border); font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; white-space: nowrap; color: var(--gray); transition: background 0.2s; }
      .editor-tab.active { background: var(--bg); font-weight: bold; color: var(--text); border-bottom: 2px solid var(--text); margin-bottom: -1px; }
      .editor-tab:hover:not(.active) { background: color-mix(in srgb, var(--bg-alt), var(--text) 5%); }
      .editor-tab-close { font-size: 1.1rem; line-height: 1; border-radius: 50%; width: 20px; height: 20px; text-align: center; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s; }
      .editor-tab-close:hover { background: #ff4444; color: #fff; }
      
      /* --- 右键上下文菜单样式 --- */
      .editor-context-menu { position: absolute; background: var(--bg); border: 2px solid var(--text); box-shadow: 4px 4px 0 var(--border-color); display: none; flex-direction: column; z-index: 10000; min-width: 120px; }
      .editor-context-menu button { border: none; padding: 0.6rem 1rem; text-align: left; font-size: 0.85rem; border-bottom: 1px dashed var(--gray); background: transparent; color: var(--text); margin: 0; width: 100%; transition: none; }
      .editor-context-menu button:last-child { border-bottom: none; }
      .editor-context-menu button:hover { background: var(--text); color: var(--bg); }

      /* --- 工作台布局预设 --- */
      .workspace-box { border: var(--border); padding: 1.5rem; background: var(--bg-alt); display: flex; flex-direction: column; gap: 1rem; }
      .workspace-left input:not([type="checkbox"]), .workspace-left button { width: 100%; box-sizing: border-box; }

      /* --- 内容核心排版修正 --- */
      .article-content { font-size: 1.1rem; line-height: 1.8; margin-top: 1rem; }
      .article-content p { margin-bottom: 1.5rem; }
      .article-content blockquote { border-left: 4px solid var(--text); padding-left: 1rem; margin-left: 0; font-style: italic; color: var(--gray); }
      
      hr { border: none; border-top: 1px dashed var(--gray); margin: 2.5rem 0; clear: both; }
      
      .comment-box { border: var(--border); padding: 1rem; margin-bottom: 1rem; background: var(--bg); }
      
      figure { margin: 1.5rem 0; text-align: center; display: block; }
      figure img, figure video, figure audio, figure iframe, img, video, audio, iframe { 
        margin: 0 auto; max-width: 100%; display: block; border: var(--border); border-radius: 0 !important;
      }
      img { height: auto !important; object-fit: contain; cursor: zoom-in; }
      video { width: 100%; background-color: #000; object-fit: contain; height: auto; aspect-ratio: 16 / 9; min-height: 250px; }
      iframe { width: 100%; aspect-ratio: 16 / 9; background: var(--bg-alt); }
      audio::-webkit-media-controls-enclosure, 
      video::-webkit-media-controls-enclosure { border-radius: 0 !important; background-color: var(--bg-alt); }
      
      details.mce-accordion { border: var(--border); padding: 1rem; margin-bottom: 1.5rem; background: var(--bg-alt); transition: background-color 0.2s; }
      details.mce-accordion summary { font-weight: bold; cursor: pointer; outline: none; list-style: none; }
      details.mce-accordion summary::-webkit-details-marker { display: none; }
      details.mce-accordion summary::before { content: "[+] "; color: var(--gray); }
      details.mce-accordion[open] summary::before { content: "[-] "; }
      details.mce-accordion > *:not(summary) { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--gray); }

      figure figcaption { padding: 0.5rem; font-size: 0.9rem; color: var(--gray); font-style: italic; }
      
      .lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); display: none; justify-content: center; align-items: center; z-index: 10000; flex-direction: column; cursor: zoom-out; backdrop-filter: blur(5px); }
      .lightbox-overlay img { max-width: 90vw; max-height: 80vh; border: 2px solid #fff; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
      .lightbox-caption { color: #ccc; margin-top: 1rem; font-size: 1rem; font-weight: bold; text-align: center; max-width: 80%; }

      .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: none; justify-content: center; align-items: center; z-index: 9999; backdrop-filter: blur(2px); }
      .modal-box { background: var(--bg); border: 2px solid var(--text); padding: 2rem; min-width: 320px; max-width: 90%; text-align: center; font-weight: bold; box-shadow: 8px 8px 0 var(--border-color); }
      
      .sys-toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--text); color: var(--bg); padding: 0.6rem 1.2rem; font-size: 0.85rem; font-weight: bold; z-index: 10000; opacity: 0; pointer-events: none; transition: opacity 0.4s; box-shadow: 4px 4px 0 var(--border-color); }

      .bottom-bar-inner { padding-left: 1.5rem; display: flex; align-items: center; pointer-events: auto; }
      .bottom-menu-btn { border: none; padding: 0.5rem; font-size: 1.5rem; font-weight: bold; line-height: 1; outline: none; background: transparent; color: var(--gray); cursor: pointer; }
      .bottom-menu-btn:hover { background: transparent; color: var(--text); }
      .bottom-menu-content { display: none; position: absolute; border: var(--border); background: var(--bg); padding: 1rem; flex-direction: column; gap: 0.8rem; box-shadow: 4px 4px 0 var(--border-color); min-width: 150px; }
      
      @media (max-width: 600px) {
        .container:not(.admin-layout) { border: none; padding-bottom: 5rem; }
        header, .block, footer { padding: 1.2rem; }
        h1 { font-size: 1.4rem; }
        input, textarea, button, .nav-btn { width: 100%; margin-bottom: 0.5rem; text-align: center; display: block; }
        header nav:not(#admin-nav) { display: flex; flex-direction: column; width: 100%; margin-top: 1rem; }
        #admin-nav { flex-direction: row !important; justify-content: space-between; gap: 0.5rem; width: 100%; margin-top: 1rem; }
        #admin-nav .nav-btn { margin-bottom: 0 !important; flex: 1; }
        .list-item { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
        .list-actions { width: 100%; display: flex; gap: 0.5rem; }
        .list-actions button { margin-bottom: 0; width: 50%; }
        .bottom-bar-inner { padding-left: 0.7rem; }
        .sys-toast { bottom: auto; top: 1rem; right: 1rem; left: 1rem; text-align: center; }
      }
    