.reader-panel {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reader-panel.active {
    opacity: 1;
    pointer-events: auto;
}

.reader-container {
    width: 80%;
    max-width: 800px;
    height: 80vh;
    background: var(--bg-card);
    border: 1px solid var(--sep-color);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    position: relative;
}

.reader-header {
    padding: 15px 25px;
    border-bottom: 1px solid var(--sep-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Courier New', monospace;
}

.reader-title {
    font-size: 0.8rem;
    color: var(--latin-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.reader-close {
    cursor: pointer;
    font-size: 0.7rem;
    color: var(--latin-color);
    transition: color 0.3s;
}

.reader-close:hover {
    color: var(--accent-color);
}

.reader-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    font-family: 'Georgia', serif;
    line-height: 1.8;
    color: var(--text-color);
    text-align: left;
    scrollbar-width: thin;
}

/* Markdown 内部样式微调 */
.reader-content h1, .reader-content h2 {
    color: var(--accent-color);
    font-family: 'Times New Roman', serif;
    border-bottom: 1px solid var(--sep-color);
    padding-bottom: 10px;
}

.reader-content p {
    margin-bottom: 1.5rem;
}

.reader-content code {
    font-family: 'Courier New', monospace;
    background: var(--panel-bg);
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.9em;
}
