Files
2026-03-19 05:36:17 +01:00

2692 lines
50 KiB
CSS

:root {
--bg-overlay: rgba(5, 5, 8, 0.9);
--bg-modal: #121215;
--bg-sidebar: #181818;
--bg-panel: #202024;
--border-color: #484554;
--border-hover: #6e6a80;
--accent: #6366f1;
--accent-hover: #818cf8;
--accent-alpha: 0.25;
--text-main: #ada9bb;
--text-bright: #eef2ff;
--text-muted: #6b6b78;
--danger: #e6253a;
--danger-hover: #a60010;
--radius: 4px;
}
.mad-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--bg-overlay);
z-index: 10000;
display: flex;
justify-content: center;
align-items: center;
font-family: "Segoe UI", Roboto, Helvetica, sans-serif;
backdrop-filter: blur(5px);
opacity: 0;
transition: opacity 0.2s ease;
padding: 20px;
overflow: hidden;
}
.mad-overlay.visible {
opacity: 1;
}
.mad-layout-wrapper {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: auto;
transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mad-modal {
position: relative;
background: var(--bg-modal);
border: 1px solid var(--border-color);
border-radius: 8px;
height: calc(90vh + 5rem);
width: calc(85vh + 350px);
min-width: 850px;
min-height: 550px;
display: flex;
overflow: visible;
box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
resize: both;
opacity: 0;
z-index: 20;
transform: scale(0.98) translateY(10px);
transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mad-modal.visible {
opacity: 1;
transform: scale(1) translateY(0);
}
.mad-preview-loading-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(3px);
z-index: 20;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
animation: mad-fade-in 0.2s forwards;
}
@keyframes mad-fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.mad-preview-pane {
position: absolute;
right: 100%;
width: 360px;
max-height: 100%;
background: var(--bg-sidebar);
border: 1px solid var(--border-color);
border-radius: 8px;
margin-right: 16px;
display: flex;
flex-direction: column;
overflow: auto;
box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.4);
z-index: 10;
opacity: 0;
pointer-events: none;
user-select: none;
transform: translateX(50%) scale(0.95);
transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.mad-preview-pane.visible {
opacity: 1;
pointer-events: auto;
transform: translateX(0) scale(1);
}
.mad-preview-pane.visible:has(.mad-preview-viewport > div) {
overflow: hidden;
height: 100%;
}
@media (max-width: 1850px) {
.mad-overlay:has(.mad-preview-pane.visible) .mad-layout-wrapper {
width: 100%;
justify-content: flex-end;
}
.mad-overlay:has(.mad-preview-pane.visible) .mad-modal {
max-width: calc(100vw - 420px) !important;
min-width: 450px !important;
}
.mad-preview-pane {
transform: translateX(375px) !important;
}
}
.mad-preview-viewport {
position: relative;
width: 100%;
height: 100%;
max-height: 50vh;
background: #000;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
flex-shrink: 0;
border-bottom: 1px solid var(--border-color);
}
.mad-preview-media {
position: relative;
width: 100%;
height: 100%;
object-fit: contain;
opacity: 0;
transition: opacity 0.6s ease;
}
.mad-preview-media.active {
opacity: 1;
}
.mad-preview-placeholder {
display: flex;
justify-content: center;
align-items: center;
background: var(--bg-panel);
color: var(--border-color);
z-index: 0;
}
.mad-settings-scroll-area {
flex: 1;
overflow-y: auto;
padding: 10px;
background: var(--bg-sidebar);
display: flex;
flex-direction: column;
gap: 12px;
flex-shrink: 0;
position: relative;
}
.mad-setting-header {
background: var(--bg-modal);
border: 1px solid var(--border-color);
border-radius: var(--radius);
padding: 10px;
min-width: 0;
}
.mad-setting-title {
font-size: 10px;
color: var(--text-muted);
text-transform: uppercase;
font-weight: 700;
margin-bottom: 6px;
}
.mad-setting-value-row {
display: flex;
flex-direction: column;
gap: 10px;
}
.mad-header-row {
display: flex;
align-items: center;
width: 100%;
}
.mad-name-container {
display: flex;
align-items: center;
overflow: hidden;
flex: 1;
margin-right: 10px;
min-width: 0;
max-width: 305px;
}
.mad-btn-container {
display: flex;
gap: 6px;
flex-shrink: 0;
}
.mad-model-name {
font-size: 13px;
font-weight: 600;
color: var(--text-bright);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
min-width: 0;
}
.mad-btn-swap {
padding: 4px 8px;
font-size: 11px;
background: transparent;
border: 1px solid var(--border-color);
border-radius: 4px;
cursor: pointer;
color: var(--text-main);
display: flex;
align-items: center;
gap: 4px;
}
.mad-btn-swap:hover {
background: var(--accent);
color: #fff;
border-color: var(--accent);
}
.mad-sidebar {
width: 350px;
background: var(--bg-sidebar);
border-right: 1px solid var(--border-color);
display: flex;
flex-direction: column;
padding: 16px;
gap: 12px;
overflow-y: auto;
flex-shrink: 0;
}
.mad-panel {
background: var(--bg-panel);
padding: 10px;
border-radius: var(--radius);
border: 1px solid var(--border-color);
margin-bottom: 5px;
}
.mad-title {
margin: 0 0 12px 0;
color: var(--text-bright);
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
user-select: none;
}
.mad-profile-manager {
border-left: 3px solid var(--accent);
display: flex;
flex-direction: column;
gap: 6px;
padding-bottom: 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
margin-bottom: 10px;
}
.mad-profile-header {
display: flex;
justify-content: space-between;
align-items: center;
height: 20px;
}
.mad-profile-actions {
display: flex;
gap: 2px;
}
.mad-profile-action-btn {
background: transparent;
border: none;
color: var(--text-muted);
cursor: pointer;
padding: 4px;
border-radius: 3px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
width: 24px;
height: 24px;
}
.mad-profile-action-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--text-bright);
}
.mad-profile-action-btn.danger:hover {
background: rgba(230, 37, 58, 0.2);
color: var(--danger);
}
.mad-profile-controls {
display: flex;
gap: 6px;
align-items: stretch;
height: 30px;
}
.mad-profile-controls .mad-custom-select {
flex: 1;
}
.mad-profile-btn {
background: var(--bg-panel);
border: 1px solid var(--border-color);
color: var(--text-main);
border-radius: var(--radius);
padding: 0 10px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
min-width: 32px;
}
.mad-profile-btn:hover {
background: var(--bg-modal);
border-color: var(--border-hover);
color: var(--text-bright);
}
.mad-profile-controls .mad-custom-select .mad-select-trigger {
height: 30px;
padding: 0 10px;
}
.mad-input-modal {
background: var(--bg-panel);
border: 1px solid var(--border-color);
padding: 20px;
border-radius: 6px;
width: 300px;
display: flex;
flex-direction: column;
gap: 12px;
box-shadow: 0 20px 50px rgba(0,0,0,0.8);
transform: scale(0.95);
transition: transform 0.2s;
}
.mad-input-modal.visible {
transform: scale(1);
}
.mad-input-title {
color: var(--text-bright);
font-weight: 600;
font-size: 13px;
}
.mad-input-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 4px;
}
.mad-content {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
background: var(--bg-modal);
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
.mad-header {
height: 50px;
background: var(--bg-panel);
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 16px;
flex-shrink: 0;
}
.mad-header-group {
display: flex;
gap: 10px;
align-items: center;
}
.mad-canvas-wrap {
flex: 1;
position: relative;
overflow: hidden;
cursor: crosshair;
background: #121215;
}
.mad-canvas {
display: block;
width: 100%;
height: 100%;
outline: none;
}
.mad-status-bar {
height: 28px;
background: var(--bg-panel);
border-top: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 12px;
font-size: 11px;
color: var(--text-muted);
flex-shrink: 0;
}
.mad-btn {
padding: 6px 14px;
border-radius: var(--radius);
cursor: pointer;
color: var(--text-main);
transition: all 0.15s;
font-size: 12px;
font-weight: 600;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
background: var(--bg-panel);
border: 1px solid var(--border-color);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.mad-btn:hover {
background: var(--bg-modal);
color: var(--text-bright);
border-color: var(--border-hover);
}
.mad-btn:active {
transform: translateY(1px);
box-shadow: none;
}
.mad-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
transform: none;
}
.mad-btn-primary {
background: var(--accent);
border-color: var(--accent);
color: #fff;
}
.mad-btn-primary:hover {
background: var(--accent-hover);
border-color: var(--accent-hover);
color: #fff;
}
.mad-btn-danger {
background: transparent;
border-color: var(--danger);
color: var(--danger);
}
.mad-btn-danger:hover {
background: var(--danger);
border-color: var(--danger);
color: #fff;
}
.mad-btn-icon {
padding: 6px;
width: 34px;
height: 34px;
}
.mad-btn-add {
background: var(--bg-panel);
border-style: dashed;
width: 100%;
padding: 10px;
color: var(--accent);
border-color: var(--accent);
opacity: 0.8;
}
.mad-btn-add:hover {
background: var(--bg-modal);
opacity: 1;
}
.mad-label {
color: var(--text-main);
font-size: 12px;
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
user-select: none;
margin-bottom: 8px;
}
.mad-control-group {
display: flex;
flex-direction: column;
gap: 8px;
background: var(--bg-panel);
padding: 12px;
border-radius: var(--radius);
border: 1px solid var(--border-color);
margin-top: auto;
}
.mad-btn-row {
display: flex;
gap: 8px;
width: 100%;
}
.mad-btn-row .mad-btn {
flex: 1;
justify-content: center;
}
.mad-btn-reset {
background: transparent;
border: 1px solid var(--border-color);
color: var(--text-muted);
opacity: 0.8;
width: 100%;
}
.mad-btn-reset:hover {
background: var(--bg-modal);
color: var(--danger);
border-color: var(--danger);
opacity: 1;
}
.mad-label input[type="checkbox"] {
appearance: none;
-webkit-appearance: none;
width: 16px;
height: 16px;
background: var(--bg-modal);
border: 1px solid var(--border-color);
border-radius: 3px;
cursor: pointer;
position: relative;
transition: all 0.2s ease;
flex-shrink: 0;
}
.mad-label input[type="checkbox"]:checked {
background: var(--accent);
border-color: var(--accent);
}
.mad-label input[type="checkbox"]:checked::after {
content: '';
position: absolute;
left: 5px;
top: 3px;
width: 5px;
height: 8px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.mad-label input[type="checkbox"]:hover {
border-color: var(--accent-hover);
}
.mad-label-sm {
color: var(--text-main);
font-size: 11px;
font-weight: 500;
margin-bottom: 4px;
display: block;
}
.mad-input {
background: var(--bg-panel);
color: var(--text-bright);
border: 1px solid var(--border-color);
padding: 6px;
border-radius: var(--radius);
font-size: 12px;
outline: none;
transition: border-color 0.2s;
}
.mad-input:focus {
border-color: var(--accent);
}
.mad-list-container {
flex: 1;
display: flex;
flex-direction: column;
gap: 4px;
overflow-y: auto;
min-height: 100px;
padding-right: 2px;
}
.mad-list-item {
padding: 10px 12px;
background: var(--bg-panel);
border-radius: var(--radius);
cursor: pointer;
display: flex;
align-items: center;
gap: 10px;
transition: all 0.2s;
border-left: 3px solid transparent;
user-select: none;
border: 1px solid transparent;
}
.mad-list-item:hover {
border-color: var(--border-color);
background: #2a2a30;
}
.mad-list-item.disabled {
opacity: 0.4;
}
.mad-list-item.active {
background: #2a2a30;
border-color: var(--accent);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.mad-list-name {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: var(--text-main);
font-size: 12px;
}
.mad-icon-btn {
color: var(--text-muted);
font-size: 14px;
padding: 4px;
transition: color 0.2s;
display: flex;
align-items: center;
border-radius: 4px;
cursor: pointer;
}
.mad-icon-btn:hover {
color: var(--text-bright);
background: rgba(255, 255, 255, 0.05);
}
.mad-icon-del:hover {
color: var(--danger);
background: rgba(230, 37, 58, 0.1);
}
.mad-history-popover {
position: absolute;
top: 45px;
left: inherit;
width: 220px;
max-height: 300px;
background: var(--bg-panel);
border: 1px solid var(--border-color);
border-radius: var(--radius);
display: none;
flex-direction: column;
overflow-y: auto;
z-index: 200;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.mad-history-popover.visible {
display: flex;
}
.mad-history-item {
padding: 8px 12px;
border-bottom: 1px solid var(--border-color);
cursor: pointer;
color: var(--text-main);
font-size: 11px;
display: flex;
justify-content: space-between;
}
.mad-history-item:hover {
background: var(--bg-modal);
color: var(--text-bright);
}
.mad-history-item.current {
background: var(--accent);
color: #fff;
}
.mad-history-time {
opacity: 0.5;
font-size: 10px;
}
.titan-wrapper {
display: flex;
width: 100%;
height: 32px;
background: var(--bg-modal);
border: 1px solid var(--border-color);
border-radius: var(--radius);
overflow: hidden;
transform: translateZ(0);
}
.titan-wrapper:hover {
border-color: var(--border-hover);
}
.titan-wrapper.active {
border-color: var(--accent);
}
.titan-wrapper.disabled {
opacity: 0.5;
pointer-events: none;
filter: grayscale(1);
}
.titan-track {
position: relative;
flex-grow: 1;
cursor: ew-resize;
user-select: none;
display: flex;
align-items: center;
justify-content: center;
}
.titan-fill {
position: absolute;
top: 0;
bottom: 0;
background: var(--accent);
opacity: var(--accent-alpha);
pointer-events: none;
will-change: left, width;
}
.titan-center-mark {
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 1px;
background: rgba(255, 255, 255, 0.1);
display: none;
pointer-events: none;
z-index: 1;
}
.titan-center-mark.visible {
display: block;
}
.titan-label {
position: relative;
z-index: 2;
font-size: 0.8rem;
font-weight: 500;
color: var(--text-main);
pointer-events: none;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.titan-value-box {
width: 70px;
border-left: 1px solid var(--border-color);
position: relative;
background: rgba(0, 0, 0, 0.1);
flex-shrink: 0;
}
.titan-display {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Roboto Mono', 'Consolas', monospace;
font-size: 0.85rem;
color: var(--text-bright);
cursor: text;
}
.titan-input {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background: var(--bg-panel);
color: var(--text-bright);
border: 2px solid var(--accent);
font-family: inherit;
font-size: inherit;
text-align: center;
outline: none;
padding: 0;
display: none;
}
.mad-tooltip {
position: fixed;
background: var(--bg-overlay);
border: 1px solid var(--border-color);
color: var(--text-bright);
padding: 8px 12px;
border-radius: 4px;
font-size: 11px;
line-height: 1.4;
pointer-events: none;
z-index: 10005;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
max-width: 450px;
white-space: pre-line;
backdrop-filter: blur(4px);
opacity: 0;
transition: opacity 0.1s ease;
}
.mad-tooltip.visible {
opacity: 1;
}
.mad-tooltip strong {
color: var(--accent);
display: block;
margin-bottom: 2px;
}
.mad-tooltip .warning {
color: #ff7043;
margin-top: 4px;
display: block;
font-weight: 500;
}
.mad-arch-badge {
display: inline-block;
padding: 2px 6px;
border-radius: 3px;
background: rgba(99, 102, 241, 0.15);
border: 1px solid var(--accent);
color: #fff;
font-size: 9px;
font-weight: 700;
margin-left: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
box-shadow: 0 0 5px rgba(99, 102, 241, 0.2);
white-space: nowrap;
}
.mad-loader-box {
padding: 20px;
margin: 10px 0;
background: rgba(0, 0, 0, 0.2);
border: 1px dashed var(--border-color);
border-radius: 4px;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
color: var(--text-muted);
font-size: 11px;
}
.mad-loader-spinner {
width: 18px;
height: 18px;
border: 2px solid var(--border-color);
border-bottom-color: var(--accent);
border-radius: 50%;
display: inline-block;
animation: mad-spin 1s linear infinite;
}
@keyframes mad-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.mad-custom-select {
position: relative;
width: 100%;
user-select: none;
}
.mad-select-trigger {
width: 100%;
background: var(--bg-panel);
border: 1px solid var(--border-color);
border-radius: var(--radius);
padding: 8px 10px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
color: var(--text-bright);
font-size: 12px;
transition: all 0.2s;
}
.mad-select-trigger:hover {
border-color: var(--border-hover);
background: var(--bg-modal);
}
.mad-select-dropdown {
position: absolute;
background: var(--bg-panel);
border: 1px solid var(--border-color);
border-radius: var(--radius);
margin-top: 4px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
display: none;
flex-direction: column;
animation: mad-fade-in 0.1s ease-out;
overflow: auto;
z-index: 100;
width: 100%;
max-height: calc(100px + 4rem);
scrollbar-width: thin;
}
.mad-select-dropdown.visible {
display: flex;
}
.mad-select-item {
padding: 8px 10px;
cursor: pointer;
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
transition: background 0.1s;
}
.mad-select-item:last-child {
border-bottom: none;
}
.mad-select-item:hover {
background: var(--accent);
color: #fff;
}
.mad-select-item.selected {
background: rgba(99, 102, 241, 0.1);
border-left: 2px solid var(--accent);
}
.mad-select-item-title {
font-weight: 600;
font-size: 12px;
display: block;
margin-bottom: 2px;
}
.mad-select-item-desc {
font-size: 10px;
opacity: 0.7;
display: block;
}
.mad-select-item:hover .mad-select-item-desc {
opacity: 0.9;
}
.mad-seg-control {
display: flex;
width: 100%;
gap: 4px;
margin-top: 10px;
background: var(--bg-modal);
padding: 4px;
border-radius: var(--radius);
border: 1px solid var(--border-color);
}
.mad-seg-btn {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
padding: 6px;
border-radius: 3px;
cursor: pointer;
color: var(--text-muted);
transition: all 0.2s;
border: 1px solid transparent;
background: transparent;
}
.mad-seg-btn:hover {
color: var(--text-bright);
background: rgba(255, 255, 255, 0.05);
}
.mad-seg-btn.active {
background: var(--bg-panel);
color: var(--accent);
border-color: var(--border-color);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.mad-seg-btn svg {
width: 16px;
height: 16px;
}
.mad-confirm-box {
width: 420px;
height: auto;
min-height: auto;
min-width: auto;
padding: 24px;
display: flex;
flex-direction: column;
gap: 20px;
transform: scale(0.95);
transition: transform 0.2s;
background: var(--bg-panel);
border: 1px solid var(--border-color);
}
.mad-confirm-box.visible {
transform: scale(1);
}
.mad-confirm-title {
margin: 0;
color: #fff;
font-size: 16px;
font-weight: 600;
}
.mad-confirm-text {
margin: 0;
color: var(--text-main);
font-size: 13px;
line-height: 1.5;
}
.mad-confirm-actions {
display: flex;
justify-content: flex-end;
gap: 10px;
margin-top: 10px;
}
.mad-confirm-btn-primary {
background: var(--accent);
border-color: var(--accent);
color: white;
}
.mad-disabled-content {
opacity: 0.4;
user-select: none;
pointer-events: none;
filter: grayscale(1);
transition: all 0.2s ease;
}
.mad-compat-badge {
font-size: 9px;
padding: 2px 6px;
border-radius: 3px;
margin-left: 8px;
font-weight: 700;
display: inline-flex;
align-items: center;
gap: 4px;
cursor: help;
letter-spacing: 0.3px;
text-transform: uppercase;
flex-shrink: 0;
white-space: nowrap;
height: 18px;
}
.mad-compat-success {
background: rgba(102, 187, 106, 0.1);
color: #66bb6a;
border: 1px solid rgba(102, 187, 106, 0.2);
}
.mad-compat-error {
background: rgba(230, 37, 58, 0.1);
color: #e6253a;
border: 1px solid rgba(230, 37, 58, 0.3);
}
.mad-compat-checking {
background: rgba(255, 255, 255, 0.05);
color: var(--text-muted);
border: 1px dashed var(--border-color);
}
.mad-lbw-container {
margin-top: 10px;
border: 1px solid var(--border-color);
border-radius: var(--radius);
background: rgba(0, 0, 0, 0.2);
overflow: hidden;
transition: opacity 0.2s ease;
}
.mad-lbw-header {
padding: 8px 10px;
background: rgba(255, 255, 255, 0.03);
cursor: pointer;
font-size: 11px;
font-weight: 600;
color: var(--text-main);
display: flex;
justify-content: space-between;
align-items: center;
transition: background 0.2s;
border-bottom: 1px solid transparent;
}
.mad-lbw-header:hover {
background: rgba(255, 255, 255, 0.07);
color: var(--text-bright);
}
.mad-lbw-container:has(.mad-lbw-content[style*="display: flex"]) .mad-lbw-header {
border-bottom-color: var(--border-color);
}
.mad-lbw-content {
padding: 10px;
display: flex;
flex-direction: column;
gap: 10px;
background: transparent;
}
.mad-block-preset-wrapper {
padding: 10px 0 4px 0;
}
.mad-analysis-panel {
padding: 10px;
background: rgba(0, 0, 0, 0.2);
border-radius: var(--radius);
border: 1px solid var(--border-color);
margin-bottom: 10px;
}
.mad-analysis-metrics {
display: flex;
gap: 15px;
margin-bottom: 12px;
font-size: 10px;
}
.mad-analysis-metric {
display: flex;
flex-direction: column;
gap: 2px;
flex: 1;
}
.mad-analysis-metric-label {
color: var(--text-muted);
}
.mad-analysis-metric-value {
display: flex;
align-items: center;
gap: 6px;
}
.mad-analysis-dot {
width: 6px;
height: 6px;
border-radius: 50%;
}
.mad-analysis-text {
color: #eef2ff;
}
.mad-analysis-map-label {
font-size: 10px;
color: var(--text-muted);
margin-bottom: 6px;
}
.mad-heatmap-container {
display: flex;
height: 16px;
gap: 1px;
width: 100%;
background: rgba(0, 0, 0, 0.3);
padding: 1px;
border-radius: 2px;
}
.mad-heatmap-block {
flex: 1;
border-radius: 1px;
cursor: pointer;
position: relative;
}
.mad-heatmap-separator {
border-top: 2px solid rgba(255, 255, 255, 0.4);
}
.mad-analysis-placeholder {
padding: 20px;
background: rgba(0, 0, 0, 0.2);
border: 1px dashed var(--border-color);
border-radius: 4px;
color: var(--text-muted);
font-size: 11px;
text-align: center;
display: flex;
flex-direction: column;
gap: 8px;
align-items: center;
justify-content: center;
margin-bottom: 10px;
}
.mad-analysis-placeholder-icon {
font-size: 18px;
opacity: 0.5;
}
.mad-preset-badge {
display: inline-flex;
align-items: center;
padding: 2px 6px;
border-radius: 3px;
font-size: 9px;
font-weight: 700;
text-transform: uppercase;
margin-left: 8px;
background: rgba(99, 102, 241, 0.15);
color: var(--accent);
border: 1px solid rgba(99, 102, 241, 0.3);
letter-spacing: 0.5px;
}
.mad-analysis-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.mad-analysis-row {
display: flex;
justify-content: space-between;
margin-bottom: 4px;
font-size: 11px;
}
.mad-analysis-bar-bg {
height: 4px;
background: #333;
border-radius: 2px;
margin-bottom: 10px;
overflow: hidden;
position: relative;
}
.mad-analysis-bar-fill {
height: 100%;
transition: width 0.3s ease;
}
.mad-analysis-bar-wrapper {
position: relative;
height: 4px;
background: #333;
border-radius: 2px;
margin-bottom: 10px;
}
.mad-analysis-center-line {
position: absolute;
left: 50%;
height: 100%;
width: 1px;
background: rgba(255, 255, 255, 0.2);
}
.mad-analysis-bar-bipolar {
position: absolute;
height: 100%;
transition: all 0.3s ease;
}
.mad-analysis-badge {
font-size: 9px;
padding: 2px 6px;
border-radius: 4px;
font-weight: 700;
text-transform: uppercase;
}
.mad-analysis-legend {
display: flex;
gap: 10px;
justify-content: center;
margin-top: 6px;
flex-wrap: wrap;
}
.mad-legend-item {
display: flex;
align-items: center;
gap: 4px;
font-size: 9px;
color: var(--text-muted);
}
.mad-legend-dot {
width: 6px;
height: 6px;
border-radius: 1px;
}
.mad-block-toolbar {
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 4px 0 8px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
margin-bottom: 8px;
}
.mad-text-action {
font-size: 10px;
color: var(--text-muted);
cursor: pointer;
background: none;
border: none;
padding: 2px 4px;
border-radius: 2px;
}
.mad-text-action:hover {
color: var(--text-bright);
background: rgba(255, 255, 255, 0.05);
}
.mad-block-sticky-header {
flex-shrink: 0;
padding: 0 16px;
background: var(--bg-modal);
border-bottom: 1px solid var(--border-color);
}
.mad-block-footer-legend {
flex-shrink: 0;
padding: 8px 16px;
background: var(--bg-panel);
border-top: 1px solid var(--border-color);
display: flex;
justify-content: center;
}
.mad-block-footer-actions {
display: flex;
justify-content: flex-end;
gap: 10px;
padding: 16px;
}
.mad-kf-control {
margin-top: 10px;
padding-top: 10px;
border-top: 1px dashed var(--border-color);
}
.mad-kf-row {
display: flex;
gap: 10px;
align-items: center;
}
.mad-confirm-danger {
border: 1px solid var(--danger);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(230, 37, 58, 0.1);
background: var(--bg-modal);
width: fit-content;
height: fit-content;
min-width: fit-content;
min-height: fit-content;
padding: 0;
overflow: hidden;
display: flex;
flex-direction: column;
opacity: 0;
transform: scale(0.9) translateY(20px);
transition: opacity 0.2s ease-out, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
will-change: transform, opacity;
}
.mad-danger-header {
background: rgba(230, 37, 58, 0.1);
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
border-bottom: 1px solid rgba(230, 37, 58, 0.2);
}
.mad-danger-icon {
color: var(--danger);
margin-bottom: 12px;
filter: drop-shadow(0 0 10px rgba(230, 37, 58, 0.4));
}
.mad-danger-title {
color: #fff;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
}
.mad-danger-body {
padding: 24px;
display: flex;
flex-direction: column;
gap: 16px;
text-align: center;
}
.mad-danger-text {
color: var(--text-main);
font-size: 13px;
line-height: 1.6;
text-align: center;
}
.mad-danger-warning {
background: #1a1a1d;
border: 1px solid #333;
border-left: 3px solid var(--danger);
padding: 12px;
border-radius: 4px;
font-size: 12px;
color: var(--text-muted);
display: flex;
gap: 10px;
align-items: flex-start;
justify-content: flex-start;
text-align: left;
}
.mad-danger-footer {
padding: 16px 24px;
background: var(--bg-panel);
border-top: 1px solid var(--border-color);
display: flex;
justify-content: flex-end;
gap: 10px;
}
.mad-dimmed-slider {
opacity: 0.5;
filter: grayscale(0.6);
transition: all 0.3s ease;
}
.mad-dimmed-slider:hover {
opacity: 1;
filter: grayscale(0);
}
.mad-dimmed-slider .titan-label::after {
content: ' (Dampened)';
font-size: 9px;
opacity: 0.7;
margin-left: 5px;
font-weight: 400;
font-style: italic;
color: var(--text-muted);
}
.mad-dimmed {
opacity: 0.5;
}
.mad-text-accent {
color: var(--accent);
}
.mad-opacity-70 {
opacity: 0.7;
}
.mad-mx-4 {
margin: 0 4px;
}
.mad-hidden {
display: none !important;
}
.mad-cache-row {
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid var(--border-color);
}
.mad-btn-square {
padding: 4px 8px;
width: 44px;
}
.mad-vectors-btn {
width: 100%;
justify-content: space-between;
margin-top: 8px;
}
.mad-name-container {
display: flex;
align-items: center;
overflow: hidden;
flex: 1;
margin-right: 10px;
min-width: 0;
max-width: 305px;
}
.mad-btn-container {
display: flex;
gap: 6px;
flex-shrink: 0;
}
.mad-picker-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.95);
width: 600px;
max-width: 90vw;
height: 500px;
background: var(--bg-modal);
border: 1px solid var(--border-color);
border-radius: 8px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
z-index: 10002;
display: flex;
flex-direction: column;
scroll-behavior: smooth;
opacity: 0;
pointer-events: none;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mad-picker-modal.visible {
opacity: 1;
pointer-events: auto;
transform: translate(-50%, -50%) scale(1);
}
.mad-picker-overlay {
z-index: 10002 !important;
}
.mad-picker-header {
padding: 12px;
border-bottom: 1px solid var(--border-color);
display: flex;
gap: 10px;
align-items: center;
background: var(--bg-panel);
border-radius: 8px 8px 0 0;
}
.mad-picker-search {
flex: 1;
background: var(--bg-modal);
border: 1px solid var(--border-color);
color: var(--text-bright);
padding: 8px 12px;
border-radius: 4px;
font-size: 13px;
outline: none;
}
.mad-picker-search:focus {
border-color: var(--accent);
}
.mad-picker-list {
flex: 1;
overflow-y: auto;
padding: 8px;
}
.mad-picker-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 12px;
border-radius: 4px;
cursor: pointer;
color: var(--text-main);
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.mad-picker-item:hover {
background: var(--bg-panel);
color: var(--text-bright);
}
.mad-picker-item.selected {
background: rgba(99, 102, 241, 0.15);
color: #fff;
border: 1px solid var(--accent);
}
.mad-picker-icon {
color: var(--accent);
opacity: 0.7;
}
.mad-picker-text {
flex: 1;
font-size: 12px;
word-break: break-all;
}
.mad-global-counter {
margin-top: 2px;
color: var(--accent);
font-size: 10px;
font-weight: 600;
opacity: 0.5;
}
.mad-arrow-icon {
margin-right: 6px;
display: inline-flex;
transition: transform 0.2s;
width: 10px;
height: 10px;
}
.mad-group-dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 6px;
}
.mad-group-counter {
opacity: 0.5;
font-weight: 400;
font-size: 9px;
margin-left: 6px;
}
.mad-sync-btn {
margin-left: auto;
font-size: 9px;
padding: 2px 6px;
width: auto;
gap: 4px;
}
.mad-block-editor-modal {
min-width: 500px;
width: clamp(500px, 800px, 90vw);
height: fit-content;
max-height: 80vh;
display: flex;
flex-direction: column;
background: var(--bg-modal);
overflow: hidden;
opacity: 0;
transform: scale(0.9) translateY(20px);
transition:
opacity 0.2s ease-out,
transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
will-change: transform, opacity;
}
.mad-block-editor-modal.visible {
opacity: 1;
transform: scale(1) translateY(0);
}
.mad-error-state {
height: auto;
min-height: 200px;
justify-content: center;
align-items: center;
gap: 20px;
padding: 40px;
text-align: center;
}
.mad-error-icon {
font-size: 18px;
font-weight: 700;
color: var(--danger);
text-transform: uppercase;
letter-spacing: 1px;
}
.mad-error-text {
color: var(--text-muted);
font-size: 13px;
max-width: 300px;
line-height: 1.5;
}
.mad-block-header {
padding: 16px;
background: var(--bg-panel);
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
flex-shrink: 0;
}
.mad-block-title {
font-size: 16px;
font-weight: 700;
color: var(--text-bright);
}
.mad-block-subtitle {
font-size: 11px;
color: var(--text-muted);
margin-top: 4px;
display: flex;
align-items: center;
gap: 8px;
}
.mad-arch-tag {
background: rgba(99, 102, 241, 0.2);
color: var(--accent);
padding: 2px 6px;
border-radius: 4px;
font-weight: 700;
font-size: 9px;
}
.mad-block-content {
flex: 1;
overflow-y: auto;
padding: 16px;
display: flex;
flex-direction: column;
gap: 4px;
}
.mad-block-footer {
padding: 0;
border-top: 1px solid var(--border-color);
background: var(--bg-panel);
display: flex;
flex-direction: column;
flex-shrink: 0;
}
.mad-block-group-header {
font-size: 10px;
text-transform: uppercase;
color: var(--text-muted);
font-weight: 700;
margin-top: 12px;
margin-bottom: 6px;
padding-left: 4px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
user-select: none;
min-height: 28px;
display: flex;
align-items: center;
cursor: pointer;
}
.mad-group-master-slider {
margin-left: auto;
width: 160px !important;
height: 20px !important;
border: none !important;
background: rgba(0,0,0,0.3) !important;
}
.mad-group-master-slider .titan-label {
font-size: 9px !important;
padding-left: 4px;
opacity: 0.8;
}
.mad-block-group-header:first-child {
margin-top: 0;
}
.mad-block-row {
display: flex;
align-items: center;
background: rgba(255, 255, 255, 0.02);
border: 1px solid transparent;
border-radius: 4px;
padding: 4px 8px;
gap: 12px;
transition: background 0.1s;
}
.mad-block-row:hover {
background: rgba(255, 255, 255, 0.05);
border-color: rgba(255, 255, 255, 0.1);
}
.mad-block-info {
flex: 0 0 42%;
display: flex;
flex-direction: column;
gap: 4px;
overflow: hidden;
user-select: none;
}
.mad-block-label {
font-size: 11px;
color: var(--text-main);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-family: monospace;
padding-left: 8px;
}
.mad-block-energy-bar {
height: 3px;
width: 100%;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
overflow: hidden;
}
.mad-block-energy-fill {
height: 100%;
border-radius: 2px;
}
.mad-block-control {
flex: 0 0 55%;
}
.mad-block-control .titan-wrapper {
height: 24px;
}
.mad-block-control .titan-value-box {
width: 50px;
}
.mad-vector-info {
padding: 10px;
background: rgba(99, 102, 241, 0.1);
border: 1px solid rgba(99, 102, 241, 0.2);
border-radius: 4px;
font-size: 11px;
color: #eef2ff;
}
.mad-vector-info-title {
font-weight: 600;
margin-bottom: 2px;
color: var(--accent);
}
.mad-vector-info-text {
opacity: 0.7;
}
.mad-gallery-container {
position: absolute;
display: none;
flex-direction: column;
background-color: #000;
border: 1px solid #333;
box-sizing: border-box;
overflow: hidden;
border-radius: 0 0 4px 4px;
font-family: sans-serif;
transform-origin: 0 0;
will-change: transform;
z-index: 800;
}
.mad-gallery-toolbar {
padding: 4px 8px;
border-bottom: 1px solid #222;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #151515;
font-size: 10px;
color: #888;
height: 28px;
flex-shrink: 0;
gap: 10px;
}
.mad-gallery-title {
font-weight: bold;
color: #888;
}
.mad-gallery-ratio-btn-active {
background: #444;
color: #fff;
border-color: #666;
}
.mad-gallery-thumbnail-selected {
opacity: 1;
border-color: #00d2ff;
box-shadow: 0 0 10px rgba(0, 210, 255, 0.6), inset 0 0 5px rgba(0, 210, 255, 0.3);
}
.mad-gallery-ratio-group {
display: flex;
gap: 2px;
flex: 1;
justify-content: center;
}
.mad-gallery-ratio-btn {
background: #222;
color: #888;
border: 1px solid #333;
border-radius: 2px;
padding: 2px 6px;
font-size: 9px;
cursor: pointer;
min-width: 50px;
}
.mad-gallery-ratio-btn:hover {
background: #333;
color: #fff;
}
.mad-gallery-ratio-btn.active {
background: #444;
color: #fff;
border-color: #666;
}
.mad-gallery-clear-btn {
background: #333;
color: #fff;
border: none;
border-radius: 2px;
padding: 2px 6px;
font-size: 9px;
cursor: pointer;
}
.mad-gallery-clear-btn:hover {
background: #444;
}
.mad-gallery-grid-wrapper {
position: relative;
flex: 1;
overflow-y: auto;
background-color: #0a0a0a;
}
.mad-gallery-grid {
position: relative;
padding: 8px;
width: 100%;
box-sizing: border-box;
}
.mad-gallery-placeholder {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #444;
pointer-events: none;
text-align: center;
line-height: 1.5;
}
.mad-gallery-placeholder-icon {
font-size: 24px;
margin-bottom: 10px;
}
.mad-gallery-placeholder-title {
font-size: 12px;
font-weight: bold;
}
.mad-gallery-placeholder-subtitle {
font-size: 10px;
}
.mad-gallery-item {
position: absolute;
border-radius: 4px;
overflow: hidden;
cursor: pointer;
border: 2px solid #333;
background: #111;
transition: opacity 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out;
aspect-ratio: var(--item-ratio, 1/1);
opacity: 0.7;
}
.mad-gallery-thumb {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
pointer-events: none;
}
.mad-gallery-item:hover {
opacity: 1;
border-color: #555;
}
.mad-gallery-item.selected {
opacity: 1;
border-color: #00d2ff;
box-shadow: 0 0 10px rgba(0, 210, 255, 0.6), inset 0 0 5px rgba(0, 210, 255, 0.3);
}
.mad-gallery-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0,0,0,0.9);
z-index: 10000;
display: flex;
justify-content: center;
align-items: center;
cursor: default;
user-select: none;
}
.mad-gallery-fullscreen-img {
max-width: 95%;
max-height: 95%;
object-fit: contain;
box-shadow: 0 0 20px rgba(0,0,0,0.5);
cursor: auto;
}
.mad-gallery-analyze-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.65);
backdrop-filter: blur(6px);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
cursor: default;
user-select: none;
}
.mad-gallery-analyze-modal {
width: min(80vw, 720px);
max-height: 80vh;
background: #111;
border: 1px solid #333;
border-radius: 6px;
display: flex;
flex-direction: column;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
font-family: sans-serif;
}
.mad-gallery-analyze-header {
padding: 10px 12px;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #bbb;
border-bottom: 1px solid #222;
}
.mad-gallery-analyze-list {
padding: 10px 12px;
overflow: auto;
display: flex;
flex-direction: column;
gap: 8px;
}
.mad-gallery-analyze-item {
background: #1b1b1b;
border: 1px solid #2a2a2a;
border-radius: 4px;
padding: 8px 10px;
font-size: 12px;
line-height: 1.4;
color: #eee;
cursor: pointer;
white-space: pre-wrap;
transition: background 0.15s ease, border-color 0.15s ease;
}
.mad-gallery-analyze-item:hover {
background: #222;
border-color: #444;
}
.mad-gallery-analyze-item.copied {
border-color: #4caf50;
box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.4);
}
.mad-gallery-analyze-empty {
color: #666;
font-size: 12px;
text-align: center;
padding: 12px 0;
}
.mad-gallery-analyze-footer {
padding: 10px 12px;
border-top: 1px solid #222;
display: flex;
justify-content: flex-end;
}
.mad-gallery-analyze-close-btn {
background: #333;
color: #fff;
border: none;
border-radius: 3px;
padding: 4px 10px;
font-size: 11px;
cursor: pointer;
}
.mad-gallery-analyze-close-btn:hover {
background: #444;
}
.mad-gallery-upload-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(6px);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
cursor: default;
user-select: none;
}
.mad-gallery-upload-modal {
width: min(80vw, 560px);
max-height: 82vh;
background: #121212;
border: 1px solid #333;
border-radius: 8px;
display: flex;
flex-direction: column;
gap: 10px;
padding: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
font-family: sans-serif;
color: #d0d0d0;
}
.mad-gallery-upload-header {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #bbb;
}
.mad-gallery-upload-body {
display: flex;
flex-direction: column;
gap: 10px;
}
.mad-gallery-upload-section {
background: #161616;
border: 1px solid #262626;
border-radius: 6px;
padding: 8px;
display: flex;
flex-direction: column;
gap: 6px;
}
.mad-gallery-upload-title {
font-size: 10px;
color: #9a9a9a;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.mad-gallery-upload-btn {
align-self: flex-start;
background: #2a2a2a;
color: #f0f0f0;
border: 1px solid #3a3a3a;
border-radius: 4px;
padding: 4px 10px;
font-size: 10px;
cursor: pointer;
}
.mad-gallery-upload-btn:hover {
background: #3a3a3a;
}
.mad-gallery-upload-textarea {
width: 100%;
min-height: 70px;
background: #101010;
color: #e0e0e0;
border: 1px solid #2b2b2b;
border-radius: 4px;
padding: 6px;
font-size: 11px;
resize: vertical;
}
.mad-gallery-upload-paste {
border: 1px dashed #3a3a3a;
border-radius: 4px;
padding: 10px;
font-size: 11px;
color: #bdbdbd;
background: #101010;
cursor: text;
min-height: 24px;
}
.mad-gallery-upload-paste:focus {
outline: none;
border-color: #4f4f4f;
box-shadow: 0 0 0 1px rgba(120, 120, 120, 0.25);
}
.mad-gallery-upload-paste:empty::before {
content: attr(data-placeholder);
color: #8f8f8f;
pointer-events: none;
}
.mad-gallery-upload-status {
min-height: 16px;
font-size: 10px;
color: #9c9c9c;
}
.mad-gallery-upload-status[data-kind="warn"] {
color: #d6b46b;
}
.mad-gallery-upload-status[data-kind="error"] {
color: #d97d7d;
}
.mad-gallery-upload-close {
align-self: flex-end;
background: #333;
color: #ddd;
border: none;
border-radius: 4px;
padding: 4px 10px;
font-size: 10px;
cursor: pointer;
}
.mad-gallery-upload-close:hover {
background: #444;
}
.mad-gallery-close-btn {
position: absolute;
top: 20px;
right: 30px;
color: #fff;
font-size: 30px;
font-weight: bold;
cursor: pointer;
z-index: 10001;
font-family: sans-serif;
text-shadow: 0 2px 4px rgba(0,0,0,0.8);
opacity: 0.7;
transition: opacity 0.2s ease;
background: none;
border: none;
}
.mad-gallery-close-btn:hover {
opacity: 1;
}
.mad-gallery-context-menu {
position: fixed;
left: var(--ctx-x, 0px);
top: var(--ctx-y, 0px);
background-color: #222;
border: 1px solid #444;
border-radius: 4px;
padding: 4px 0;
z-index: 9999;
box-shadow: 0 4px 6px rgba(0,0,0,0.3);
min-width: 150px;
display: flex;
flex-direction: column;
}
.mad-gallery-context-item {
padding: 6px 12px;
cursor: pointer;
font-size: 12px;
color: #eee;
transition: background 0.1s;
}
.mad-gallery-context-item:hover {
background-color: #333;
}
.mad-gallery-context-item.destructive {
color: #ff6b6b;
}
.mad-disabled-overlay {
position: absolute;
inset: 0;
backdrop-filter: blur(10px) grayscale(100%) contrast(105%);
z-index: 50;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 16px;
padding: 20px;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease-in-out;
}
.mad-disabled-overlay.visible {
opacity: 1;
pointer-events: auto;
}
.mad-disabled-icon-large {
color: var(--text-muted);
opacity: 0.5;
transform: scale(2.5);
margin-bottom: 10px;
}
.mad-disabled-text {
color: var(--text-main);
font-size: 13px;
text-align: center;
max-width: 200px;
line-height: 1.5;
}
.mad-seg-text-btn {
font-size: 11px;
font-weight: 500;
padding: 6px 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mad-seg-text-btn.active {
font-weight: 700;
}
.mad-input-error {
color: var(--danger);
font-size: 11px;
min-height: 14px;
display: none;
}
.mad-input-full {
width: 100%;
}
.mad-text-muted-sm {
font-size: 11px;
color: var(--text-muted);
}
.mad-text-tiny-muted {
font-size: 9px;
opacity: 0.7;
}
.mad-text-italic-muted {
opacity: 0.7;
font-style: italic;
}
.mad-group-counter-inner {
opacity: 0.5;
font-weight: 400;
font-size: 9px;
margin-left: 6px;
}
.mad-scale-12 {
transform: scale(1.2);
}
.mad-cursor-help {
cursor: help;
}
.mad-desc-text {
font-size: 9px;
color: var(--text-muted);
}
.mad-h-24 {
height: 24px;
}
.mad-w-50 {
width: 50px;
}
.mad-overlay-blocking {
z-index: 20000;
background: rgba(5, 5, 8, 0.9);
backdrop-filter: blur(5px);
}
.mad-icon-danger-sm {
color: var(--danger);
margin-top: 1px;
}
.mad-btn-danger-solid {
background: var(--danger);
color: white;
border: none;
}
.mad-relative {
position: relative;
}
.mad-ml-4 {
margin-left: 4px;
}
.mad-opacity-60 {
opacity: 0.6;
}
.mad-spinner-white {
border-color: #fff;
border-bottom-color: var(--accent);
}
.mad-no-events {
user-select: none;
pointer-events: none;
}
.mad-compat-icon {
width: 24px;
margin-left: -4px;
cursor: help;
text-align: center;
border: unset;
background: none;
scale: 1.5;
user-select: none;
pointer-events: none;
}
.mad-disabled-half {
opacity: 0.5;
pointer-events: none;
}
.mad-name-box {
display: flex;
align-items: center;
overflow: hidden;
flex: 1;
margin-right: 10px;
min-width: 0;
max-width: 305px;
}
.mad-btn-group-sm {
display: flex;
gap: 6px;
flex-shrink: 0;
}
.mad-btn-square-sm {
padding: 4px 8px;
width: 44px;
}
.mad-btn-vectors {
width: 100%;
justify-content: space-between;
margin-top: 8px;
}
.mad-flex-col {
flex-direction: column;
}
.mad-display-block {
display: block;
}
.mad-stats-header {
font-size: 11px;
color: #6b6b78;
margin-bottom: 4px;
border-bottom: 1px solid #484554;
padding-bottom: 2px;
}
.mad-stats-row {
display: flex;
justify-content: space-between;
font-size: 11px;
margin-bottom: 2px;
}
.mad-stats-label-model {
color: #82caff;
}
.mad-stats-label-clip {
color: #ffd700;
}
.mad-stats-val {
color: #eef2ff;
}
.mad-stats-note {
font-size: 9px;
color: #6b6b78;
text-align: right;
margin-top: 2px;
}
.mad-status-right {
display: flex;
align-items: center;
gap: 12px;
}
.mad-report-btn {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
opacity: 0.4;
transition: all 0.2s ease;
color: var(--text-muted);
}
.mad-report-btn:hover {
opacity: 1;
color: var(--text-bright);
}