Files
2025-08-04 00:10:19 -07:00

1288 lines
26 KiB
CSS

/* RTS Mode Full UI Styles - Zoo Emergency Theme */
#rts-main-container {
position: fixed;
top: var(--topBarBlockSize);
left: 0;
right: 0;
bottom: 0;
background: inherit;
color: inherit;
z-index: 1000;
display: flex;
flex-direction: column;
}
/* Updated Header Styling */
.rts-header-bar {
height: 40px;
background: var(--SmartThemeBlurTintColor);
border-bottom: 1px solid var(--SmartThemeBorderColor);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 12px;
position: relative;
}
.rts-header-left {
display: flex;
align-items: center;
gap: 12px;
}
.rts-header-left .drag-grabber {
cursor: move;
color: var(--SmartThemeBodyColor);
opacity: 0.7;
}
.rts-header-title {
margin: 0;
font-size: 14px;
font-weight: 600;
color: var(--SmartThemeBodyColor);
}
.rts-header-right {
display: flex;
align-items: center;
gap: 8px;
}
/* Settings Dropdown */
.rts-settings-dropdown {
position: absolute;
top: 40px;
right: 12px;
background: var(--SmartThemeBlurTintColor);
border: 1px solid var(--SmartThemeBorderColor);
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
z-index: 1001;
min-width: 320px;
max-width: 400px;
}
.rts-settings-content {
padding: 16px;
}
.rts-settings-content h3 {
margin: 0 0 16px 0;
font-size: 16px;
font-weight: 600;
color: var(--SmartThemeBodyColor);
border-bottom: 1px solid var(--SmartThemeBorderColor);
padding-bottom: 8px;
}
.rts-setting-group {
margin-bottom: 16px;
}
.rts-setting-label {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
font-weight: 500;
color: var(--SmartThemeBodyColor);
cursor: pointer;
}
.rts-setting-description {
margin: 4px 0 0 0;
font-size: 12px;
color: var(--SmartThemeQuoteColor);
line-height: 1.3;
}
.rts-setting-select {
width: 100%;
padding: 6px 8px;
border: 1px solid var(--SmartThemeBorderColor);
border-radius: 4px;
background: var(--SmartThemeEmColor);
color: var(--SmartThemeBodyColor);
font-size: 13px;
margin-bottom: 4px;
}
/* Custom Toggle Switch */
.rts-toggle-switch {
position: relative;
display: inline-block;
width: 44px;
height: 24px;
}
.rts-toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.rts-toggle-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--SmartThemeBorderColor);
transition: .3s;
border-radius: 24px;
}
.rts-toggle-slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 3px;
bottom: 3px;
background-color: white;
transition: .3s;
border-radius: 50%;
}
input:checked + .rts-toggle-slider {
background-color: var(--SmartThemeAccentColor);
}
input:checked + .rts-toggle-slider:before {
transform: translateX(20px);
}
.rts-setting-actions {
display: flex;
gap: 8px;
margin-top: 20px;
padding-top: 16px;
border-top: 1px solid var(--SmartThemeBorderColor);
}
.rts-setting-actions button {
flex: 1;
}
#rts-game-area {
flex: 1;
min-height: 0;
gap: 0;
padding: 0;
}
/* Side Panels - Match SillyTavern's panel styling */
.rts-panel {
width: calc((100vw - var(--sheldWidth) - 2px) / 2);
width: calc((100dvw - var(--sheldWidth) - 2px) / 2);
min-width: 280px;
background: transparent;
border: none;
border-radius: 0;
padding: 0;
min-height: 0;
position: relative;
overflow-y: auto;
max-height: calc(100vh - var(--topBarBlockSize) - 20px);
max-height: calc(100dvh - var(--topBarBlockSize) - 20px);
}
.rts-panel-header {
background: var(--SmartThemeBlurTintColor);
padding: 12px;
border-bottom: 1px solid var(--SmartThemeBorderColor);
border-radius: 6px 6px 0 0;
}
.rts-panel-header h3 {
margin: 0;
font-size: 16px;
font-weight: 600;
}
.rts-section {
padding: 15px;
margin: 10px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
backdrop-filter: blur(10px);
}
.rts-section:last-child {
border-bottom: 1px solid var(--SmartThemeBorderColor);
}
.rts-section-title {
margin: 0 0 10px 0;
font-size: 14px;
font-weight: 600;
color: inherit;
opacity: 0.9;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Resources */
.rts-resources-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.rts-resource-item {
display: flex;
align-items: center;
gap: 6px;
padding: 6px;
background: rgba(0, 0, 0, 0.2);
border-radius: 4px;
font-size: 12px;
color: inherit;
}
.rts-resource-item i {
opacity: 0.8;
width: 16px;
}
/* Units and Buildings */
.rts-units-list, .rts-buildings-list, .rts-threat-display {
display: flex;
flex-direction: column;
gap: 4px;
}
.rts-unit-item, .rts-building-item, .rts-threat-item {
display: flex;
align-items: center;
gap: 8px;
padding: 6px;
background: rgba(0, 0, 0, 0.2);
border-radius: 4px;
font-size: 12px;
color: inherit;
}
.rts-unit-item i, .rts-building-item i, .rts-threat-item i {
opacity: 0.8;
width: 16px;
}
/* Map Container - Enhanced with modern styling */
#rts-map-container {
background: var(--SmartThemeBodyColor);
border: none;
border-radius: 0;
min-height: 0;
width: var(--sheldWidth);
margin: 0 auto;
position: relative;
overflow: hidden;
box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}
.rts-map-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 15px;
margin: 8px;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 12px;
backdrop-filter: blur(15px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.rts-map-header:hover {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.rts-map-header h3 {
margin: 0;
font-size: 14px;
font-weight: 600;
color: inherit;
opacity: 0.9;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.rts-map-controls {
display: flex;
gap: 6px;
padding: 4px;
background: rgba(0, 0, 0, 0.2);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.rts-map-controls .menu_button {
transition: all 0.2s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.rts-map-controls .menu_button:hover {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2);
transform: scale(1.05);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.rts-map-wrapper {
position: relative;
background: linear-gradient(45deg, #1a2332 0%, #2d3748 50%, #1a202c 100%);
border: 2px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
margin: 8px;
box-shadow:
inset 0 0 30px rgba(0, 0, 0, 0.3),
0 4px 15px rgba(0, 0, 0, 0.2);
cursor: grab;
}
.rts-map-wrapper:active {
cursor: grabbing;
}
.rts-map-wrapper::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
pointer-events: none;
z-index: 1;
}
#rts-game-map {
border: none;
background: transparent;
max-width: 100%;
max-height: 100%;
display: block;
image-rendering: crisp-edges;
position: relative;
z-index: 2;
}
.rts-map-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
/* Allow interaction inside overlay tooltips and context menus */
pointer-events: auto;
z-index: 10;
}
/* Element info tooltips */
.rts-element-info {
background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 30, 0.95) 100%);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
color: white;
font-size: 12px;
min-width: 180px;
max-width: 300px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
backdrop-filter: blur(10px);
pointer-events: auto;
animation: fadeInUp 0.2s ease-out;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.rts-info-header {
background: linear-gradient(90deg, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
padding: 8px 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 6px 6px 0 0;
font-weight: 600;
}
.rts-info-close {
background: rgba(239, 68, 68, 0.2);
border: 1px solid rgba(239, 68, 68, 0.4);
color: #fca5a5;
width: 20px;
height: 20px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 12px;
transition: all 0.2s ease;
}
.rts-info-close:hover {
background: rgba(239, 68, 68, 0.4);
border-color: rgba(239, 68, 68, 0.6);
color: white;
transform: scale(1.1);
box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}
.rts-info-content {
padding: 12px;
line-height: 1.4;
}
.rts-info-content p {
margin: 0 0 8px 0;
color: rgba(255, 255, 255, 0.9);
}
.rts-info-content div {
font-size: 11px;
color: rgba(255, 255, 255, 0.7);
}
.rts-info-content > div {
margin-bottom: 4px;
}
.rts-info-actions {
display: flex;
gap: 4px;
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rts-info-actions .menu_button {
font-size: 10px;
padding: 4px 6px;
transition: all 0.2s ease;
}
.rts-info-actions .menu_button:hover {
transform: scale(1.05);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
/* Context menu */
.rts-context-menu {
background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 30, 0.98) 100%);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
min-width: 140px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
backdrop-filter: blur(15px);
pointer-events: auto;
z-index: 1000;
animation: contextMenuFadeIn 0.15s ease-out;
}
@keyframes contextMenuFadeIn {
from {
opacity: 0;
transform: scale(0.95) translateY(-5px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}
.rts-context-item {
padding: 8px 12px;
color: #e2e8f0;
cursor: pointer;
font-size: 12px;
transition: all 0.15s ease;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.rts-context-item:last-child {
border-bottom: none;
}
.rts-context-item:hover {
background: linear-gradient(90deg, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
color: white;
padding-left: 16px;
}
.rts-context-separator {
height: 1px;
background: rgba(255, 255, 255, 0.1);
margin: 4px 0;
}
.rts-map-footer {
padding: 12px 15px;
margin: 8px;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 12px;
backdrop-filter: blur(15px);
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.rts-map-footer:hover {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
border-color: rgba(255, 255, 255, 0.2);
}
.rts-turn-info {
display: flex;
gap: 16px;
font-size: 12px;
color: var(--SmartThemeQuoteColor);
align-items: center;
font-weight: 500;
}
.rts-turn-info > span {
display: flex;
align-items: center;
gap: 4px;
padding: 4px 8px;
background: rgba(255, 255, 255, 0.05);
border-radius: 6px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.2s ease;
}
.rts-turn-info > span:hover {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-1px);
}
.rts-separator {
opacity: 0.3;
font-weight: 300;
color: rgba(255, 255, 255, 0.3);
}
/* Quick Actions */
.rts-quick-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px;
}
.rts-quick-actions .menu_button {
font-size: 11px;
padding: 6px;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
text-align: center;
}
.rts-quick-actions .menu_button i {
font-size: 14px;
}
/* Command Input */
.rts-command-input-area {
display: flex;
flex-direction: column;
gap: 8px;
height: 100%;
}
#rts-command-input {
flex: 1;
resize: none;
min-height: 80px;
}
.rts-command-controls {
display: flex;
gap: 6px;
}
#rts-execute-btn {
flex: 1;
}
/* Game Log */
.rts-game-log {
max-height: 200px;
overflow-y: auto;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 4px;
padding: 8px;
}
.rts-log-entry {
margin-bottom: 8px;
font-size: 12px;
line-height: 1.4;
}
.rts-log-entry:last-child {
margin-bottom: 0;
}
.rts-log-timestamp {
color: var(--SmartThemeQuoteColor);
opacity: 0.7;
font-weight: 500;
}
.rts-log-message {
margin-left: 8px;
}
.rts-log-system .rts-log-message {
color: var(--SmartThemeFastUIBGColor);
}
.rts-log-action .rts-log-message {
color: var(--SmartThemeQuoteColor);
}
.rts-log-result .rts-log-message {
color: #4CAF50;
}
.rts-log-error .rts-log-message {
color: #f44336;
}
/* Legacy small UI styles for when RTS UI is not full-screen */
#rts-mode-root {
padding: 8px;
background: var(--SmartThemeBodyColor);
color: var(--SmartThemeQuoteColor);
display: flex;
gap: 12px;
}
#rts-map-canvas {
border: 1px solid var(--SmartThemeBorderColor);
max-width: 100%;
max-height: 100%;
}
#rts-resource-panel {
width: 280px;
background: var(--SmartThemeEmColor);
padding: 8px;
border: 1px solid var(--SmartThemeBorderColor);
border-radius: 8px;
max-height: calc(100vh - 120px);
overflow-y: auto;
}
.rts-status-panel {
display: flex;
flex-direction: column;
gap: 12px;
}
.rts-panel-section {
background: rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
padding: 10px;
}
.rts-panel-section h3 {
margin: 0 0 8px 0;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--SmartThemeQuoteColor);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding-bottom: 4px;
}
.stat-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 3px 0;
font-size: 11px;
color: var(--SmartThemeQuoteColor);
}
.stat-item span {
font-weight: 600;
color: #fff;
}
.scrollable-list {
max-height: 120px;
overflow-y: auto;
margin-top: 6px;
}
.list-item {
padding: 6px;
margin-bottom: 4px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 4px;
font-size: 10px;
line-height: 1.3;
transition: all 0.2s ease;
}
.list-item:last-child {
margin-bottom: 0;
}
.list-item:hover {
background: rgba(0, 0, 0, 0.3);
border-color: rgba(255, 255, 255, 0.2);
transform: translateX(2px);
}
.list-item.casualty {
border-left: 3px solid #dc2626;
}
.list-item.animal {
border-left: 3px solid #f97316;
}
.list-item.personnel.alive {
border-left: 3px solid #22c55e;
}
.list-item.personnel.injured {
border-left: 3px solid #eab308;
}
.list-item.incident.emergency {
border-left: 3px solid #dc2626;
background: rgba(220, 38, 38, 0.1);
}
.list-item.incident.ongoing {
border-left: 3px solid #3b82f6;
}
.list-item strong {
color: #fff;
font-weight: 600;
}
.list-item small {
color: rgba(255, 255, 255, 0.7);
display: block;
margin-top: 2px;
}
#rts-resource-panel ul {
list-style: none;
padding: 0;
margin: 0;
}
#rts-resource-panel li {
margin-bottom: 4px;
}
/* ===== ENHANCED MAP CONTAINER IMPROVEMENTS ===== */
/* Enhanced Map Container Responsiveness */
@media (max-width: 1200px) {
.rts-map-header {
padding: 10px 12px;
margin: 6px;
}
.rts-map-controls {
gap: 4px;
}
.rts-map-footer {
padding: 10px 12px;
margin: 6px;
}
.rts-turn-info {
gap: 12px;
font-size: 11px;
}
}
@media (max-width: 768px) {
.rts-map-header {
flex-direction: column;
gap: 8px;
text-align: center;
}
.rts-map-controls {
justify-content: center;
}
.rts-turn-info {
flex-wrap: wrap;
justify-content: center;
gap: 8px;
}
.rts-element-info {
max-width: 200px;
font-size: 11px;
}
.rts-context-menu {
min-width: 120px;
}
}
/* Map Loading States */
.rts-map-loading {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: rgba(255, 255, 255, 0.7);
font-size: 14px;
z-index: 100;
display: flex;
align-items: center;
gap: 8px;
}
.rts-map-loading::before {
content: "";
width: 20px;
height: 20px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top: 2px solid rgba(139, 92, 246, 0.8);
border-radius: 50%;
animation: mapLoadingSpin 1s linear infinite;
}
@keyframes mapLoadingSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Map Performance Optimizations */
.rts-map-wrapper canvas {
will-change: transform;
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
}
/* Accessibility Improvements */
.rts-map-controls .menu_button:focus {
outline: 2px solid rgba(139, 92, 246, 0.6);
outline-offset: 2px;
}
.rts-info-close:focus {
outline: 2px solid rgba(239, 68, 68, 0.6);
outline-offset: 2px;
}
/* Enhanced Visual Effects */
.rts-map-wrapper::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(
45deg,
rgba(255, 255, 255, 0.02) 0%,
transparent 30%,
transparent 70%,
rgba(255, 255, 255, 0.02) 100%
);
pointer-events: none;
z-index: 5;
animation: mapShimmer 3s ease-in-out infinite;
}
@keyframes mapShimmer {
0%, 100% { opacity: 0.3; }
50% { opacity: 0.7; }
}
/* Map Interaction Feedback */
.rts-map-wrapper.selecting {
cursor: crosshair;
}
.rts-map-wrapper.dragging {
cursor: grabbing;
user-select: none;
}
/* Minimap Enhancements */
.rts-minimap-container {
position: absolute;
top: 20px;
right: 20px;
z-index: 20;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
}
.rts-minimap-container:hover {
transform: scale(1.05);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
/* Fog of War Visual Enhancement */
.rts-fog-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
mix-blend-mode: multiply;
z-index: 8;
}
/* ===== ZOO EMERGENCY SPECIFIC STYLES ===== */
/* Zoo Status Panel */
.rts-zoo-status {
display: grid;
grid-template-columns: 1fr;
gap: 8px;
}
.rts-status-item {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 8px;
background: rgba(220, 38, 38, 0.1);
border: 1px solid rgba(220, 38, 38, 0.3);
border-radius: 6px;
font-size: 11px;
transition: all 0.2s ease;
}
.rts-status-item:hover {
background: rgba(220, 38, 38, 0.15);
border-color: rgba(220, 38, 38, 0.4);
transform: translateX(2px);
}
.rts-status-item i {
font-size: 12px;
min-width: 14px;
}
/* Animals List */
.rts-animals-list, .rts-incidents-list, .rts-people-list {
max-height: 120px;
overflow-y: auto;
background: rgba(0, 0, 0, 0.15);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
padding: 4px;
}
.rts-animal-item, .rts-incident-item, .rts-person-item {
display: flex;
flex-direction: column;
gap: 2px;
padding: 8px;
margin-bottom: 6px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 4px;
font-size: 10px;
line-height: 1.3;
transition: all 0.2s ease;
}
.rts-animal-item:last-child,
.rts-incident-item:last-child,
.rts-person-item:last-child {
margin-bottom: 0;
}
.rts-animal-item:hover,
.rts-incident-item:hover,
.rts-person-item:hover {
background: rgba(0, 0, 0, 0.3);
border-color: rgba(255, 255, 255, 0.2);
transform: translateX(3px);
}
.rts-animal-item.rts-escaped {
border-color: rgba(220, 38, 38, 0.4);
background: rgba(220, 38, 38, 0.1);
}
.rts-animal-name, .rts-person-name {
font-weight: 600;
color: #fff;
display: flex;
align-items: center;
gap: 6px;
}
.rts-animal-location, .rts-incident-location, .rts-person-location {
color: rgba(255, 255, 255, 0.7);
font-style: italic;
}
.rts-animal-status, .rts-person-status {
font-weight: 500;
padding: 2px 6px;
border-radius: 3px;
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.rts-status-hunting {
background: rgba(220, 38, 38, 0.3);
color: #fca5a5;
}
.rts-status-feeding {
background: rgba(234, 88, 12, 0.3);
color: #fed7aa;
}
.rts-status-stalking {
background: rgba(168, 85, 247, 0.3);
color: #ddd6fe;
}
.rts-status-injured {
background: rgba(245, 158, 11, 0.3);
color: #fde68a;
}
.rts-status-trapped {
background: rgba(34, 197, 94, 0.3);
color: #bbf7d0;
}
.rts-status-dying {
background: rgba(127, 29, 29, 0.5);
color: #fca5a5;
animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
0%, 100% { opacity: 0.7; }
50% { opacity: 1; }
}
.rts-incident-desc {
color: #fff;
font-weight: 500;
}
/* Emergency Action Buttons */
#rts-observe-btn {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.2) 100%);
border-color: rgba(59, 130, 246, 0.4);
}
#rts-observe-btn:hover {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(37, 99, 235, 0.3) 100%);
border-color: rgba(59, 130, 246, 0.6);
}
#rts-move-btn {
background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(21, 128, 61, 0.2) 100%);
border-color: rgba(34, 197, 94, 0.4);
}
#rts-move-btn:hover {
background: linear-gradient(135deg, rgba(34, 197, 94, 0.4) 0%, rgba(21, 128, 61, 0.3) 100%);
border-color: rgba(34, 197, 94, 0.6);
}
#rts-hide-btn {
background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(124, 58, 237, 0.2) 100%);
border-color: rgba(168, 85, 247, 0.4);
}
#rts-hide-btn:hover {
background: linear-gradient(135deg, rgba(168, 85, 247, 0.4) 0%, rgba(124, 58, 237, 0.3) 100%);
border-color: rgba(168, 85, 247, 0.6);
}
#rts-interact-btn {
background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.2) 100%);
border-color: rgba(245, 158, 11, 0.4);
}
#rts-interact-btn:hover {
background: linear-gradient(135deg, rgba(245, 158, 11, 0.4) 0%, rgba(217, 119, 6, 0.3) 100%);
border-color: rgba(245, 158, 11, 0.6);
}
/* Emergency Log Entries */
.rts-log-warning .rts-log-message {
color: #fbbf24;
}
.rts-log-danger .rts-log-message {
color: #ef4444;
font-weight: 500;
}
.rts-log-death .rts-log-message {
color: #dc2626;
font-weight: 600;
text-shadow: 0 0 4px rgba(220, 38, 38, 0.3);
}
.rts-log-escape .rts-log-message {
color: #f97316;
}
.rts-log-feeding .rts-log-message {
color: #dc2626;
font-style: italic;
}
/* Zoo Map Filter Toggle */
#rts-toggle-filter {
background: linear-gradient(135deg, rgba(107, 114, 128, 0.3) 0%, rgba(75, 85, 99, 0.2) 100%);
border-color: rgba(107, 114, 128, 0.4);
}
#rts-toggle-filter:hover {
background: linear-gradient(135deg, rgba(107, 114, 128, 0.4) 0%, rgba(75, 85, 99, 0.3) 100%);
border-color: rgba(107, 114, 128, 0.6);
}
#rts-toggle-filter.active {
background: linear-gradient(135deg, rgba(34, 197, 94, 0.4) 0%, rgba(21, 128, 61, 0.3) 100%);
border-color: rgba(34, 197, 94, 0.6);
}
/* Alert level color coding */
#rts-alert-level {
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
text-shadow: 0 0 4px rgba(220, 38, 38, 0.5);
}
/* Breathing animation for critical elements */
.rts-status-item:first-child {
animation: emergencyBreathe 3s ease-in-out infinite;
}
@keyframes emergencyBreathe {
0%, 100% {
box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
}
50% {
box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}
}
/* Settings Toggle Switch */
.rts-settings-toggle {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px;
background: rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
.rts-toggle-label {
font-weight: 500;
}
.rts-switch {
position: relative;
display: inline-block;
width: 50px;
height: 28px;
}
.rts-switch input {
opacity: 0;
width: 0;
height: 0;
}
.rts-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
}
.rts-slider:before {
position: absolute;
content: "";
height: 20px;
width: 20px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
}
input:checked + .rts-slider {
background-color: #dc2626;
}
input:focus + .rts-slider {
box-shadow: 0 0 1px #dc2626;
}
input:checked + .rts-slider:before {
transform: translateX(22px);
}
.rts-slider.round {
border-radius: 34px;
}
.rts-slider.round:before {
border-radius: 50%;
}