* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #eee;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.backLink {
    margin-bottom: 20px;
}

.backLink a {
    color: #64b5f6;
    text-decoration: none;
    font-size: 0.95em;
}

.backLink a:hover {
    text-decoration: underline;
}

.mainTitle {
    font-size: 2em;
    color: #fff;
    margin-bottom: 10px;
}

.subtitle {
    color: #aaa;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.section {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.section h2 {
    color: #64b5f6;
    font-size: 1.4em;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(100, 181, 246, 0.3);
    padding-bottom: 10px;
}

.section p {
    color: #ccc;
    margin-bottom: 15px;
}

.operGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.operCard {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.operCard:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(100, 181, 246, 0.3);
    transform: translateY(-3px);
}

.operIcon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.operInfo h3 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.operDesc {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.filePath {
    display: inline-block;
    background: rgba(100, 181, 246, 0.1);
    color: #64b5f6;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85em;
    word-break: break-all;
}

.note {
    display: block;
    color: #ffc107;
    font-size: 0.85em;
    margin-top: 8px;
}

.codeBlock {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 0;
    overflow-x: auto;
    margin: 15px 0;
    border: 1px solid #333;
}

.codeBlock pre {
    margin: 0;
    padding: 15px !important;
    font-family: 'Consolas', 'Monaco', 'Fira Code', monospace;
    font-size: 0.9em;
    color: #c9d1d9;
    line-height: 1.5;
    background: transparent !important;
}

.codeBlock code {
    background: transparent !important;
    padding: 0 !important;
    font-size: inherit;
    color: inherit;
}

/* Prism.js 覆盖样式 */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #6a737d !important;
}

.token.punctuation {
    color: #c9d1d9 !important;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: #f97583 !important;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #9ecbff !important;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #79b8ff !important;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #f9826c !important;
}

.token.function,
.token.class-name {
    color: #b392f0 !important;
}

.token.regex,
.token.important,
.token.variable {
    color: #ffab70 !important;
}

.compareTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.compareTable th, .compareTable td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.compareTable th {
    background: rgba(100, 181, 246, 0.2);
    color: #fff;
}

.compareTable tr:hover {
    background: rgba(255,255,255,0.05);
}

.compareTable td {
    color: #ccc;
}

.compareTable code {
    background: rgba(206, 147, 216, 0.1);
    color: #ce93d8;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
}