.panel { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); } .toolbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-surface-2); gap: 12px; flex-wrap: wrap; } .toolbarLeft { display: flex; align-items: center; gap: 8px; } .toolBtn { display: flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; background: var(--bg-surface); border: 1.5px solid var(--border); border-radius: var(--radius-sm); color: var(--text-secondary); cursor: pointer; transition: all 0.15s ease; } .toolBtn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); } .toolBtnActive { background: var(--accent) !important; border-color: var(--accent) !important; color: white !important; } .toolbarDivider { width: 1px; height: 20px; background: var(--border); } .iconBtn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-secondary); cursor: pointer; transition: all 0.15s ease; } .iconBtn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); background: var(--accent-light); } .iconBtn:disabled { opacity: 0.35; cursor: not-allowed; } .zoomLabel { font-size: 11.5px; font-weight: 600; color: var(--text-muted); min-width: 36px; text-align: center; } .opacityControl { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); font-weight: 500; } .opacitySlider { width: 110px; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--authentic) 0%, var(--suspect) 50%, var(--ai-generated) 100%); cursor: pointer; outline: none; } .opacitySlider::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; background: var(--bg-surface); border: 2px solid var(--accent); cursor: pointer; box-shadow: 0 0 0 4px var(--accent-light); } .mediaFrame { position: relative; background: #0e0e14; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; } .mediaContainer { position: relative; display: inline-block; transition: transform 0.25s ease, filter 0.2s ease; max-width: 100%; } .mediaContainerHeatmapOn .mediaEl { filter: saturate(calc(0.96 + var(--media-heatmap-strength) * 0.08)) contrast(calc(1 + var(--media-heatmap-strength) * 0.08)); } .mediaEl { display: block; max-width: 100%; max-height: 420px; width: auto; height: auto; object-fit: contain; } .heatmapWrap { position: absolute; inset: 0; pointer-events: none; } .heatmapOverlay { position: absolute; inset: 0; transition: opacity 0.2s ease; mix-blend-mode: screen; } .heatmapOverlay::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 60%); opacity: calc(var(--heatmap-strength) * 0.9); } .heatmapRegion { position: absolute; border-radius: 14px; transform: scale(var(--region-scale)); background: radial-gradient(circle at center, color-mix(in srgb, var(--region-color) calc(var(--region-alpha) * 100%), transparent) 0%, color-mix(in srgb, var(--region-color) calc(var(--region-alpha) * 70%), transparent) 42%, color-mix(in srgb, var(--region-color) calc(var(--region-alpha) * 35%), transparent) 68%, transparent 100%); border: 1.5px solid color-mix(in srgb, var(--region-color) calc(var(--region-border-alpha) * 100%), transparent); box-shadow: 0 0 var(--region-ring) color-mix(in srgb, var(--region-color) calc(var(--region-glow-alpha) * 100%), transparent), inset 0 0 22px color-mix(in srgb, var(--region-color) calc(var(--region-alpha) * 85%), transparent); filter: blur(var(--region-blur)) saturate(1.25); } .heatmapLegend { position: absolute; bottom: 12px; right: 12px; background: rgba(20, 24, 32, 0.85); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-md); padding: 10px 13px; display: flex; flex-direction: column; gap: 7px; } .legendTitle { font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.8px; } .legendItems { display: flex; flex-direction: column; gap: 5px; } .legendItem { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: rgba(255, 255, 255, 0.8); font-weight: 500; } .legendDot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .dotHigh { background: var(--ai-generated); } .dotMed { background: var(--suspect); } .dotLow { background: var(--authentic); } .regionAnnotations { padding: 14px 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; } .regionHeader { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.7px; } .regionGrid { display: flex; flex-direction: column; gap: 6px; } .regionItem { display: flex; align-items: center; gap: 9px; font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--bg-surface-3); } .regionItem:last-child { border-bottom: none; } .regionDot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .regionLabel { flex: 1; color: var(--text-secondary); font-weight: 500; } .regionScore { color: var(--text-primary); font-weight: 700; font-size: 12px; } .fileInfo { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--border); } .fileInfoItem { display: flex; flex-direction: column; padding: 12px 16px; flex: 1; min-width: 100px; border-right: 1px solid var(--border); gap: 3px; } .fileInfoItem:last-child { border-right: none; } .fileInfoItem span:first-child { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; } .fileInfoItem span:last-child { font-size: 12.5px; font-weight: 600; color: var(--text-primary); }