.tutorial-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.75);
z-index:10000;
display:flex;
align-items:center;
justify-content:center;
}
.tutorial-prompt{
background:#1e1e1e;
border:1px solid #3a3a3a;
border-radius:12px;
padding:28px 32px;
max-width:420px;
text-align:center;
box-shadow:0 8px 32px rgba(0,0,0,0.4);
}
.tutorial-prompt-title{
font-size:20px;
font-weight:600;
color:#fff;
margin-bottom:12px;
}
.tutorial-prompt-body{
color:#a0a0a0;
margin-bottom:20px;
line-height:1.6;
font-size:14px;
}
.tutorial-prompt-buttons{
display:flex;
gap:12px;
justify-content:center;
}
.tutorial-btn{
padding:10px 24px;
border-radius:6px;
border:none;
cursor:pointer;
font-weight:500;
font-size:13px;
transition:background 0.2s,opacity 0.2s;
}
.tutorial-btn-primary{
background:#3b82f6;
color:#fff;
}
.tutorial-btn-primary:hover{
background:#2563eb;
}
.tutorial-btn-secondary{
background:#2a2a2a;
color:#d0d0d0;
border:1px solid #404040;
}
.tutorial-btn-secondary:hover{
background:#333;
border-color:#505050;
}
.tutorial-btn-sm{
padding:8px 16px;
font-size:12px;
}
.tutorial-step-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:10000;
pointer-events:none;
}
.tutorial-highlight{
position:fixed;
border:2px solid #3b82f6;
border-radius:8px;
box-shadow:0 0 0 9999px rgba(0,0,0,0.7);
pointer-events:none;
z-index:10001;
}
.tutorial-tooltip{
position:fixed;
background:#1e1e1e;
border:1px solid #3a3a3a;
border-radius:10px;
padding:16px;
width:320px;
z-index:10002;
box-shadow:0 8px 32px rgba(0,0,0,0.4);
pointer-events:auto;
}
.tutorial-tooltip-context{
width:280px;
}
.tutorial-tooltip::before{
content:'';
position:absolute;
width:0;
height:0;
border:10px solid transparent;
}
.tutorial-tooltip-right::before{
left:-20px;
top:20px;
border-right-color:#3a3a3a;
}
.tutorial-tooltip-left::before{
right:-20px;
top:20px;
border-left-color:#3a3a3a;
}
.tutorial-tooltip-bottom::before{
top:-20px;
left:36px;
border-bottom-color:#3a3a3a;
}
.tutorial-tooltip-top::before{
bottom:-20px;
left:36px;
border-top-color:#3a3a3a;
}
.tutorial-tooltip-header{
display:flex;
align-items:center;
gap:10px;
margin-bottom:12px;
}
.tutorial-step-indicator{
background:#3b82f6;
color:#fff;
padding:3px 10px;
border-radius:4px;
font-size:11px;
font-weight:500;
}
.tutorial-tooltip-title{
font-weight:600;
color:#fff;
font-size:15px;
flex:1;
}
.tutorial-tooltip-close{
background:none;
border:none;
color:#666;
font-size:20px;
cursor:pointer;
padding:0;
line-height:1;
transition:color 0.2s;
}
.tutorial-tooltip-close:hover{
color:#fff;
}
.tutorial-tooltip-body{
color:#a0a0a0;
font-size:13px;
line-height:1.6;
margin-bottom:16px;
}
.tutorial-tooltip-footer{
display:flex;
justify-content:space-between;
align-items:center;
}
.tutorial-dont-show{
font-size:11px;
color:#666;
display:flex;
align-items:center;
gap:6px;
cursor:pointer;
}
.tutorial-dont-show:hover{
color:#888;
}
.tutorial-dont-show input{
cursor:pointer;
accent-color:#3b82f6;
}
.tutorial-context-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:10000;
background:rgba(0,0,0,0.5);
}
.tutorial-lang-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:8px;
margin:16px 0;
}
.tutorial-lang-btn{
padding:10px 14px;
border:1px solid #3a3a3a;
border-radius:6px;
background:#252525;
color:#b0b0b0;
cursor:pointer;
font-size:13px;
transition:all 0.15s;
text-align:left;
display:flex;
align-items:center;
gap:8px;
}
.tutorial-lang-btn .flag-icon{
margin-right:4px;
}
.tutorial-lang-btn:hover{
border-color:#505050;
background:#2a2a2a;
color:#d0d0d0;
}
.tutorial-lang-btn.active{
border-color:#3b82f6;
background:#1e3a5f;
color:#fff;
}
.comfyui-setup-guide,.comfyui-error-guide{
background:#1e1e1e;
border:1px solid #3a3a3a;
border-radius:8px;
margin-bottom:12px;
overflow:hidden;
}
.guide-header{
display:flex;
align-items:center;
gap:10px;
padding:12px 14px;
background:#252525;
border-bottom:1px solid #3a3a3a;
}
.guide-header.error{
background:#2a1f1f;
border-bottom-color:#4a2a2a;
}
.comfyui-setup-guide.warning{
border-color:#5a4a1a;
}
.guide-header.warning{
background:#2a2510;
border-bottom-color:#5a4a1a;
}
.guide-header.warning .guide-title{
color:#fbbf24;
}
.step-num.warn{
background:#d97706;
}
.guide-step.highlight.warn{
border-left-color:#d97706;
background:#2a2510;
}
.guide-icon{
font-size:16px;
}
.guide-title{
flex:1;
font-weight:600;
font-size:13px;
color:#fff;
}
.guide-header.error .guide-title{
color:#f87171;
}
.guide-close{
background:none;
border:none;
color:#666;
font-size:18px;
cursor:pointer;
padding:0;
line-height:1;
}
.guide-close:hover{
color:#fff;
}
.guide-content{
padding:14px;
}
.guide-step{
display:flex;
align-items:flex-start;
gap:10px;
margin-bottom:10px;
font-size:12px;
color:#a0a0a0;
line-height:1.5;
}
.guide-step:last-child{
margin-bottom:0;
}
.guide-step.highlight{
background:#252525;
padding:10px;
border-radius:6px;
margin:10px 0;
border-left:2px solid #3b82f6;
}
.step-num{
background:#3b82f6;
color:#fff;
width:20px;
height:20px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:11px;
font-weight:500;
flex-shrink:0;
}
.guide-error-nodes{
background:#2a1f1f;
padding:10px;
border-radius:6px;
margin-bottom:12px;
font-size:12px;
color:#f87171;
border-left:2px solid #ef4444;
}
.guide-error-nodes code{
background:#1a1a1a;
padding:2px 6px;
border-radius:3px;
font-family:monospace;
color:#fca5a5;
font-size:11px;
}
.guide-tip,.guide-example{
background:#252525;
padding:10px;
border-radius:6px;
margin-top:10px;
font-size:11px;
color:#a0a0a0;
line-height:1.5;
}
.guide-example{
border-left:2px solid #3b82f6;
}
.guide-footer{
padding:10px 14px;
border-top:1px solid #3a3a3a;
display:flex;
justify-content:space-between;
align-items:center;
}
