.rev-main {
background: linear-gradient(160deg, rgba(13,21,36,0.96), rgba(8,12,22,0.98)) !important;
border: 1px solid #1e6b7d !important;
border-left: 3px solid #3fd0e8 !important;
border-radius: 0 !important;
box-shadow: 0 0 14px rgba(63,208,232,0.18), inset 0 0 24px rgba(30,107,125,0.12) !important;
color: #c8e6f0 !important;
font-family: "Consolas", "Microsoft YaHei", sans-serif !important;
line-height: 1.9 !important;
padding: 18px 20px !important;
margin: 12px 0 !important;
position: relative !important;
font-size: 15px !important;
}

.rev-main::before {
content: "" !important;
position: absolute !important;
top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
background-image: linear-gradient(rgba(63,208,232,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(63,208,232,0.035) 1px, transparent 1px) !important;
background-size: 20px 20px !important;
pointer-events: none !important;
z-index: 0 !important;
}

.rev-main > * {
position: relative !important;
z-index: 1 !important;
}

.char-dialogue {
color: #7fe3d0 !important;
font-weight: 600 !important;
text-shadow: 0 0 4px rgba(127,227,208,0.35) !important;
}

.inner-thought {
color: #9db8d8 !important;
font-style: italic !important;
opacity: 0.92 !important;
}

.system-alert {
background: rgba(30,15,8,0.6) !important;
border: 1px solid #ff9a3c !important;
border-left: 3px solid #ff9a3c !important;
color: #ffcc99 !important;
padding: 10px 14px !important;
margin: 12px 0 !important;
border-radius: 0 !important;
font-size: 14px !important;
box-shadow: 0 0 10px rgba(255,154,60,0.2) !important;
}

.coser-panel {
background: linear-gradient(160deg, rgba(13,21,36,0.95), rgba(10,14,26,0.98)) !important;
border: 1px solid #1e6b7d !important;
border-radius: 0 !important;
box-shadow: 0 0 12px rgba(63,208,232,0.15), inset 0 0 18px rgba(30,107,125,0.1) !important;
color: #c8e6f0 !important;
font-family: "Consolas", "Microsoft YaHei", sans-serif !important;
margin: 10px 0 !important;
padding: 0 !important;
position: relative !important;
clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)) !important;
}

.coser-panel summary {
color: #3fd0e8 !important;
font-weight: bold !important;
letter-spacing: 2px !important;
padding: 10px 14px !important;
cursor: pointer !important;
border-bottom: 1px dashed rgba(63,208,232,0.35) !important;
text-shadow: 0 0 6px rgba(63,208,232,0.55) !important;
font-size: 15px !important;
list-style: none !important;
background: rgba(30,107,125,0.12) !important;
}

.coser-panel summary::-webkit-details-marker {
display: none !important;
}

.coser-panel[open] summary {
border-bottom: 1px solid rgba(63,208,232,0.5) !important;
}

.coser-panel > *:not(summary) {
padding: 4px 16px !important;
line-height: 1.85 !important;
font-size: 14px !important;
}

.coser-panel table {
width: 100% !important;
border-collapse: collapse !important;
margin: 8px 0 !important;
font-size: 13px !important;
}

.coser-panel th {
color: #3fd0e8 !important;
border-bottom: 1px solid rgba(63,208,232,0.4) !important;
padding: 4px 8px !important;
text-align: left !important;
}

.coser-panel td {
color: #c8e6f0 !important;
border-bottom: 1px dashed rgba(30,107,125,0.3) !important;
padding: 4px 8px !important;
}

.coser-panel hr {
border: none !important;
height: 1px !important;
background: linear-gradient(90deg, transparent, rgba(63,208,232,0.5), transparent) !important;
margin: 8px 0 !important;
}

.thinking-panel {
border-left: 3px solid #5a7a8a !important;
}
.thinking-panel summary {
color: #8fb0c0 !important;
text-shadow: 0 0 5px rgba(143,176,192,0.4) !important;
}

.scene-panel {
border-left: 3px solid #3fd0e8 !important;
box-shadow: 0 0 12px rgba(63,208,232,0.2), inset 0 0 18px rgba(30,107,125,0.1) !important;
}
.scene-panel summary {
color: #3fd0e8 !important;
}

.memory-panel {
border-left: 3px solid #9d7fe8 !important;
box-shadow: 0 0 12px rgba(157,127,232,0.2), inset 0 0 18px rgba(60,40,100,0.12) !important;
}
.memory-panel summary {
color: #b39ff0 !important;
text-shadow: 0 0 6px rgba(157,127,232,0.5) !important;
background: rgba(60,40,100,0.14) !important;
}
.memory-panel th {
color: #b39ff0 !important;
border-bottom-color: rgba(157,127,232,0.4) !important;
}

.player-panel {
border-left: 3px solid #3fd0e8 !important;
}
.player-panel summary {
color: #3fd0e8 !important;
}

.npc-panel {
border-left: 3px solid #4fd8b0 !important;
box-shadow: 0 0 12px rgba(79,216,176,0.18), inset 0 0 18px rgba(20,80,65,0.12) !important;
}
.npc-panel summary {
color: #4fd8b0 !important;
text-shadow: 0 0 6px rgba(79,216,176,0.5) !important;
background: rgba(20,80,65,0.14) !important;
}

.faction-panel {
border-left: 3px solid #ff9a3c !important;
box-shadow: 0 0 12px rgba(255,154,60,0.18), inset 0 0 18px rgba(90,50,15,0.12) !important;
}
.faction-panel summary {
color: #ff9a3c !important;
text-shadow: 0 0 6px rgba(255,154,60,0.5) !important;
background: rgba(90,50,15,0.16) !important;
}