.layui-layer{background:#0A0E27 !important;border-color:#202330 !important;color:#fff !important}
.layui-layer-title{color:#fff !important}
.tool_robots_container{max-width:1240px;margin:0 auto;padding:20px;color:#333;line-height:1.6;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
.tool_robots_breadcrumb{font-size:14px;color:#666;margin-bottom:20px;display:flex;align-items:center}
.tool_robots_breadcrumb svg{width:14px;margin:0 5px}
.tool_robots_breadcrumb a{color:#9CA3AF;text-decoration:none;font-size:14px}
.tool_robots_breadcrumb span:last-child{color:#fff;font-weight:500}
.tool_robots_card{background:#0E111F;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,0.05);padding:30px;margin-bottom:20px;border:1px solid #202330}
.tool_robots_card_title{font-size:18px;font-weight:bold;color:#fff;margin-bottom:20px}
.tool_robots_form_group{margin-bottom:20px}
.tool_robots_form_group label{display:block;font-size:14px;color:#fff;margin-bottom:8px;font-weight:500}
.tool_robots_input{width:100%;height:44px;padding:0 15px;border:1px solid #33354E;background:#242641;color:#fff;border-radius:4px;font-size:14px;outline:none;transition:border-color 0.3s}
.tool_robots_hint{margin-top:8px;font-size:13px;color:#6b7280}
.tool_robots_card_template{background:#0E111F}
.tool_robots_template_grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.tool_robots_template_item{position:relative;;border:2px solid #e5e7eb;border-radius:6px;padding:16px;cursor:pointer;transition:all 0.3s;background:#fff}
.tool_robots_template_item.selected{border-color:#3b82f6;background:#e6f2ff;box-shadow:0 2px 6px rgba(59,130,246,0.1)}
.tool_robots_template_item.selected::after {content: "✓";position: absolute;top: 12px;right: 12px;font-size: 16px;font-weight: bold;color: #fff;background: #2563EB; width: 24px;height: 24px;border-radius: 50%;display: flex;align-items: center;justify-content: center;z-index: 2;}
.tool_robots_template_item h4{font-size:14px;font-weight:600;margin-bottom:8px;color:#1f2937}
.tool_robots_template_item p{font-size:13px;color:#4b5563;line-height:1.5}
.tool_robots_template_item:nth-child(1){background:#F0FDF4;border-color:#4ADE80}
.tool_robots_template_item:nth-child(2){background:#EFF6FF;border-color:#BFDBFE}
.tool_robots_template_item:nth-child(3){background:#F5F3FF;border-color:#DDD6FE}
.tool_robots_template_item:nth-child(4){background:#FEF2F2;border-color:#FECACA}
.tool_robots_template_item:nth-child(5){background:#FFFBEB;border-color:#FDE68A}
.tool_robots_template_item:nth-child(6){background:#F9FAFB;border-color:#D1D5DB}
.tool_robots_template_item:nth-child(1):hover{border-color:#4ADE80}
.tool_robots_template_item:nth-child(2):hover{border-color:#60A5FA}
.tool_robots_template_item:nth-child(3):hover{border-color:#A78BFA}
.tool_robots_template_item:nth-child(4):hover{border-color:#F87171}
.tool_robots_template_item:nth-child(5):hover{border-color:#FBBF24}
.tool_robots_template_item:nth-child(6):hover{border-color:#6B7280}
.tool_robots_useragent_group{background:#0E111F;border:1px solid #33354E;border-radius:6px;padding:20px;margin-bottom:16px}
.tool_robots_useragent_header{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.tool_robots_useragent_label{font-size:12px;display:block;color:#999;white-space:nowrap;margin-bottom:5px}
.tool_robots_useragent_select{height:36px;width:220px;padding:0 12px;border:1px solid #33354E;border-radius:4px;font-size:14px;outline:none;background:#242641;min-width:140px;color:#fff;}
.tool_robots_useragent_value{flex:1;height:36px;padding:0 12px;border:1px solid #33354E;border-radius:4px;font-size:14px;outline:none;background:#242641;color:#fff;}
.tool_robots_group_remove_btn{width:32px;height:32px;border:none;background:none;color:#9ca3af;cursor:pointer;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all 0.2s;flex-shrink:0}
.tool_robots_group_remove_btn:hover{color:#ef4444;background:#fef2f2}
.tool_robots_rule_row{display:flex;gap:12px;margin-bottom:12px;align-items:center}
.tool_robots_rule_type_select{width:220px;height:36px;padding:0 10px;border:1px solid #33354E;border-radius:4px;font-size:14px;outline:none;background:#242641;flex-shrink:0;color:#fff;}
.tool_robots_rule_path_input{flex:1;height:36px;padding:0 12px;border:1px solid #33354E;border-radius:4px;font-size:14px;outline:none;background:#242641;color:#fff;}
.tool_robots_rule_remove_btn{width:32px;height:32px;border:none;background:none;color:#9ca3af;cursor:pointer;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all 0.2s;flex-shrink:0}
.tool_robots_rule_remove_btn:hover{color:#ef4444;background:#fef2f2}
.tool_robots_add_rule_btn{height:36px;padding:0 16px;background:#f3f4f6;color:#374151;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:background 0.3s;margin-top:4px}
.tool_robots_add_rule_btn:hover{background:#e5e7eb}
.tool_robots_add_group_btn{height:36px;padding:0 10px;max-width:max-content;background:#f3f4f6;color:#374151;border:none;border-radius:4px;font-size:12px;cursor:pointer;white-space:nowrap;transition:background 0.3s;width:100%}
.tool_robots_add_group_btn:hover{background:#e5e7eb}
.tool_robots_actions{display:flex;gap:16px;margin-top:24px}
.tool_robots_generate_btn{height:44px;padding:0 30px;background-color:#3b82f6;color:#fff;border:none;border-radius:4px;font-size:15px;cursor:pointer;white-space:nowrap;transition:background-color 0.3s}
.tool_robots_generate_btn:hover{background-color:#2563eb}
.tool_robots_preview_container{background:#1e293b;border-radius:8px;overflow:hidden}
.tool_robots_preview_header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:#0f172a;color:#cbd5e1;font-size:14px}
.tool_robots_preview_actions{display:flex;gap:8px}
.tool_robots_preview_btn{height:32px;padding:0 16px;background:#334155;color:#cbd5e1;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:background 0.3s}
.tool_robots_preview_btn:hover{background:#475569}
.tool_robots_preview_pre{margin:0;padding:20px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:13px;color:#e2e8f0;white-space:pre-wrap;word-break:break-all;max-height:400px;overflow-y:auto;background:#0f172a;line-height:1.7}
.tool_robots_title{font-size:18px;font-weight:bold;color:#fff;margin-bottom:15px}
.tool_robots_mt_large{margin-top:30px}
.tool_robots_list{padding-left:20px;color:#555;font-size:14px}
.tool_robots_list li{margin-bottom:8px;color:rgba(255,255,255,.7)}
.tool_robots_text{color:rgba(255,255,255,.7);font-size:14px}
.tool_robots_form_group_sitemap{display:flex;gap:24px;margin:24px 0;flex-wrap:wrap}
.tool_robots_form_group_sitemap div{flex:1;}
.tool_robots_form_group_sitemap div label{font-size:12px;font-weight:500;color:rgba(255,255,255,.7);white-space:nowrap}
.tool_robots_form_group_sitemap div input{width:100%;height:36px;display:block;padding:0 12px;border:1px solid #33354E;border-radius:4px;font-size:14px;outline:none;background:#242641;color:#fff;}
@media screen and (max-width:768px){
	.tool_robots_rule_path_input{flex:none;}
    .tool_robots_container{padding:15px}
    .tool_robots_card{padding:20px}
    .tool_robots_template_grid{grid-template-columns:1fr}
    .tool_robots_useragent_header{flex-wrap:wrap}
    .tool_robots_useragent_value{min-width:0}
    .tool_robots_rule_row{align-items:stretch;gap:8px}
    .tool_robots_rule_type_select{width:100%}
    .tool_robots_preview_header{flex-direction:column;gap:8px;align-items:flex-start}
    .tool_robots_preview_pre{max-height:320px;padding:15px;font-size:12px}
    .tool_robots_actions{flex-direction:column}
    .tool_robots_generate_btn{width:100%}
    .tool_robots_rule_type_select{width:100px;}
    .tool_robots_useragent_select{width:100px;min-width:100px;}
    .tool_robots_rule_path_input{flex:1;min-width:0;}
    .tool_robots_form_group_sitemap{flex-direction:column;gap:8px;}
}