*{box-sizing:border-box}body{margin:0;font-family:Arial,'Noto Sans KR',sans-serif;background:#f5f7fa;color:#1f2937}a{color:#2563eb;text-decoration:none}input,select,button{font:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{width:220px;background:#111827;color:#fff;padding:22px 16px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{font-size:20px;font-weight:800;margin-bottom:26px}.brand span{font-weight:400;color:#93c5fd}.sidebar nav{display:grid;gap:6px}.sidebar nav a{padding:11px 12px;border-radius:9px;color:#cbd5e1}.sidebar nav a:hover,.sidebar nav a.active{background:#1f2937;color:#fff}.sidebar-bottom{margin-top:auto;font-size:13px;color:#9ca3af;display:grid;gap:8px}.sidebar-bottom a{color:#fca5a5}.content{margin-left:220px;padding:30px;width:calc(100% - 220px)}.page-head{margin-bottom:20px}.page-head h1{margin:0 0 6px;font-size:28px}.page-head p{margin:0;color:#6b7280}.card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px;margin-bottom:18px}.card.compact{padding:14px}.card h2{margin:0 0 16px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.stat{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:22px}.stat strong{font-size:30px;display:block}.stat span{color:#6b7280}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px 10px;border-bottom:1px solid #eef0f3;text-align:left;white-space:nowrap}th{font-size:13px;color:#6b7280}.empty{text-align:center;color:#9ca3af;padding:28px}.badge{display:inline-block;background:#eef2ff;color:#4338ca;padding:4px 8px;border-radius:999px;font-size:12px}.badge.ok{background:#ecfdf5;color:#047857}.badge.off{background:#f3f4f6;color:#6b7280}.btn{border:1px solid #d1d5db;background:#fff;color:#111827;border-radius:8px;padding:9px 13px;cursor:pointer;display:inline-block}.btn.primary{background:#2563eb;color:#fff;border-color:#2563eb}.btn.danger{background:#fff1f2;color:#be123c;border-color:#fecdd3}.btn.small{padding:6px 9px;font-size:12px}.btn.full{width:100%}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:14px;align-items:end}.form-grid label,.server-select label,.login-card label{display:grid;gap:7px;font-size:13px;font-weight:700}.form-grid input,.form-grid select,.server-select select,.login-card input{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:8px}.form-grid .check{display:flex;align-items:center;gap:7px;padding-bottom:10px}.form-grid .check input{width:auto}.server-select{max-width:500px}.server-select.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sound-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.sound-card audio{width:100%;margin:12px 0}.sound-card input[type=file]{width:100%;margin:12px 0}.filename{font-size:12px;color:#6b7280;margin-top:8px}.architecture{display:flex;align-items:center;gap:10px;overflow:auto}.arch-box{min-width:160px;padding:18px;border:1px solid #dbeafe;background:#eff6ff;border-radius:12px;text-align:center}.arch-box strong,.arch-box span{display:block}.arch-box span{font-size:12px;color:#64748b;margin-top:6px}.arrow{font-size:22px;color:#94a3b8}.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.principles>div{border:1px solid #e5e7eb;border-radius:10px;padding:14px}.principles strong,.principles span{display:block}.principles span{color:#6b7280;font-size:13px;margin-top:5px}.alert{padding:12px;border-radius:9px;margin-bottom:14px}.alert.error{background:#fff1f2;color:#be123c}.login-body{min-height:100vh;display:grid;place-items:center;background:#eef2f7}.login-card{width:min(400px,calc(100% - 32px));background:#fff;padding:30px;border-radius:16px;border:1px solid #e5e7eb}.login-card form{display:grid;gap:14px}@media(max-width:900px){.sidebar{width:180px}.content{margin-left:180px;width:calc(100% - 180px);padding:20px}.form-grid,.sound-grid,.principles,.stat-grid{grid-template-columns:1fr}.architecture{flex-direction:column}.arrow{transform:rotate(90deg)}}
.alert.success{background:#ecfdf5;color:#047857}.help{color:#6b7280;font-size:13px}.card input[type=file]{margin:8px 10px 8px 0}

.alert.success{background:#ecfdf5;color:#047857}
.help{color:#6b7280;font-size:13px;margin:-5px 0 14px}
.muted{color:#9ca3af;font-weight:400}
.section-flex{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.import-options{display:flex;gap:18px;flex-wrap:wrap;padding:12px 14px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:14px}
.import-options label{display:flex;gap:7px;align-items:center;font-size:13px}
.card input[type=file]{margin:8px 10px 8px 0}

.version-tag{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:11px;vertical-align:middle}
.sound-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sound-scope-info{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.sound-scope-info span{color:#64748b;font-size:13px}
.sound-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.badge.channel{background:#eef2ff;color:#4338ca}
.badge.inherit{background:#f1f5f9;color:#475569}
.filename small{display:block;margin-top:3px;color:#64748b}
.sound-empty{padding:14px 0;color:#94a3b8;font-size:13px}
.reset-form{margin-top:8px}
.row-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}
.alert.warning{background:#fff7ed;color:#9a3412}
@media(max-width:900px){.sound-filter-grid{grid-template-columns:1fr}.row-actions{justify-content:flex-start}}

.live-indicator{display:flex;gap:7px;align-items:center;color:#64748b;font-size:13px}.live-indicator span{width:8px;height:8px;border-radius:50%;background:#22c55e}
.dashboard-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.dashboard-summary .stat{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px}.dashboard-summary strong{display:block;font-size:24px}.dashboard-summary span{font-size:12px;color:#64748b}
.boss-state{padding:4px 8px;border-radius:999px;background:#f1f5f9;font-size:11px;font-weight:700}.boss-state.soon{background:#fff7ed;color:#c2410c}.boss-state.due{background:#fef2f2;color:#b91c1c}.remain{font-weight:700;font-variant-numeric:tabular-nums}.remain.soon{color:#ea580c}.remain.due{color:#dc2626}
.timeline-item{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid #f1f5f9}.timeline-item i{width:9px;height:9px;border-radius:50%;background:#94a3b8;margin-top:5px}.timeline-item i.cut{background:#ef4444}.timeline-item i.mung,.timeline-item i.auto_mung{background:#f59e0b}.timeline-item i.set{background:#3b82f6}.timeline-item span,.timeline-item small{margin-left:8px;color:#64748b;font-size:12px}@media(max-width:900px){.dashboard-summary{grid-template-columns:repeat(2,1fr)}}

.instance-path{display:flex;gap:12px;align-items:center;padding:12px 14px;margin-bottom:14px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px}
.instance-path code{word-break:break-all}.file-chip-grid{display:flex;flex-wrap:wrap;gap:8px}.file-chip-grid span{background:#f1f5f9;border-radius:8px;padding:7px 10px;font-size:12px}
.form-grid .full{grid-column:1/-1}.form-grid small{display:block;margin-top:5px;color:#64748b}

.login-link{text-align:center;margin:16px 0 0;font-size:13px;color:#64748b}
.service-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.service-card-head h2{margin:0 0 5px}.service-card-head code,.service-card-head span{color:#64748b;font-size:12px}
.service-badges{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.badge.service-active{background:#ecfdf5;color:#047857}.badge.service-pending{background:#fff7ed;color:#c2410c}.badge.service-expired{background:#fef2f2;color:#b91c1c}.badge.service-suspended{background:#f3f4f6;color:#374151}.badge.service-cancelled{background:#f3f4f6;color:#6b7280}
.service-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.service-info-grid>div{border:1px solid #e5e7eb;background:#fafafa;border-radius:10px;padding:12px}
.service-info-grid span,.service-info-grid small{display:block;color:#64748b;font-size:11px;margin-bottom:4px}
.service-info-grid strong{font-size:14px}
.service-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.service-actions form{margin:0}
.payment-request-box{border-top:1px solid #eef0f3;padding-top:16px}.payment-request-box h3{margin:0 0 10px}
.form-grid .wide{grid-column:span 2}.admin-activate-form{border-top:1px solid #eef0f3;padding-top:16px;margin-top:10px}
@media(max-width:900px){.service-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card-head{flex-direction:column}.service-badges{justify-content:flex-start}.form-grid .wide{grid-column:auto}}

/* ===== BossBot Public Site v10 ===== */
:root{--pub-bg:#f6f8fb;--pub-text:#111827;--pub-muted:#667085;--pub-line:#e7ebf0;--pub-accent:#4f46e5;--pub-accent-soft:#eef2ff;--pub-dark:#111827}
.public-body{margin:0;background:#fff;color:var(--pub-text);font-family:Inter,Pretendard,"Noto Sans KR",Arial,sans-serif}
.public-body *{box-sizing:border-box}.public-body a{text-decoration:none}
.public-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(231,235,240,.9)}
.public-nav{max-width:1180px;height:72px;margin:auto;padding:0 24px;display:flex;align-items:center;gap:36px}
.brand{display:inline-flex;align-items:center;gap:9px;color:#111827;font-size:20px;font-weight:800;letter-spacing:-.03em}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#111827;color:#fff;font-size:16px}
.public-links{display:flex;align-items:center;gap:27px;margin-right:auto}.public-links a{color:#475467;font-size:14px;font-weight:600}.public-links a:hover,.public-links a.active{color:#111827}
.public-actions{display:flex;align-items:center;gap:8px}.public-actions .btn,.hero-actions .btn,.public-cta .btn{border-radius:10px}
.mobile-nav-toggle{display:none;border:0;background:none;font-size:23px}
.public-main{min-height:70vh}.hero-section{max-width:1180px;margin:0 auto;padding:92px 24px 86px;display:grid;grid-template-columns:1.03fr .97fr;gap:68px;align-items:center}
.eyebrow,.section-kicker{display:block;color:#6366f1;font-size:12px;font-weight:800;letter-spacing:.13em;margin-bottom:18px}
.hero-copy h1{font-size:56px;line-height:1.1;letter-spacing:-.055em;margin:0 0 24px}.hero-copy h1 span{color:#6366f1}
.hero-lead{max-width:590px;color:#667085;font-size:17px;line-height:1.75;margin:0}.hero-actions{display:flex;gap:10px;margin:32px 0 20px}
.btn.large{padding:13px 20px;font-size:15px}.btn.ghost{background:#fff;color:#344054;border:1px solid #d0d5dd}.btn.ghost:hover{background:#f9fafb}
.hero-points{display:flex;flex-wrap:wrap;gap:8px}.hero-points span{padding:6px 10px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;color:#667085;font-size:12px}
.hero-console{overflow:hidden;border:1px solid #e5e7eb;border-radius:22px;background:#f8fafc;box-shadow:0 24px 60px rgba(17,24,39,.12)}
.console-top{height:48px;padding:0 17px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:7px}.console-top span{width:9px;height:9px;border-radius:50%;background:#d0d5dd}.console-top b{margin-left:8px;color:#667085;font-size:12px}
.console-body{padding:26px}.discord-line{margin-bottom:17px}.discord-line i{display:block;color:#98a2b3;font-size:11px;font-style:normal;margin-bottom:5px}.discord-line strong{display:block;font-size:14px}.discord-line.bot{padding:14px;background:#fff;border:1px solid #e5e7eb;border-radius:12px}.discord-line.bot i{color:#6366f1}.discord-line.bot small{display:block;color:#667085;margin-top:4px}
.boss-preview{display:grid;gap:7px;margin-top:18px}.boss-preview div{display:grid;grid-template-columns:60px 1fr auto;gap:12px;align-items:center;padding:11px 13px;background:#fff;border-radius:10px;border:1px solid #e5e7eb}.boss-preview b{font-size:12px}.boss-preview span{font-weight:700;font-size:13px}.boss-preview em{font-style:normal;color:#667085;font-size:11px;font-variant-numeric:tabular-nums}
.public-section{padding:86px 24px}.public-section>*,.public-section .section-title{max-width:1180px;margin-left:auto;margin-right:auto}.public-section.alt{background:#f8fafc}.section-title{text-align:center;margin-bottom:38px}.section-title.left{text-align:left}.section-title span{color:#6366f1;font-size:11px;font-weight:800;letter-spacing:.14em}.section-title h2{font-size:34px;letter-spacing:-.04em;margin:9px 0 10px}.section-title p{color:#667085;margin:0}
.feature-grid{max-width:1180px;margin:auto;display:grid;gap:16px}.feature-grid.three{grid-template-columns:repeat(3,1fr)}.feature-grid.four{grid-template-columns:repeat(4,1fr)}
.feature-card,.mini-feature{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:25px}.feature-card h3,.mini-feature b{font-size:17px;margin:13px 0 8px}.feature-card p,.mini-feature p{color:#667085;line-height:1.7;font-size:14px;margin:0}.feature-no{font-size:11px;color:#6366f1;font-weight:800}.feature-icon{display:inline-flex;padding:7px 9px;border-radius:7px;background:#eef2ff;color:#4f46e5;font-size:10px;font-weight:800;letter-spacing:.08em}
.center-action{text-align:center;margin-top:28px}.donation-section{padding-top:52px}.donation-card{max-width:1180px!important;display:flex;justify-content:space-between;align-items:center;gap:30px;padding:34px 38px;border-radius:20px;background:#111827;color:#fff}.donation-card h2{font-size:27px;margin:0 0 10px}.donation-card p{max-width:760px;margin:0;color:#cbd5e1;line-height:1.7}.donation-card .eyebrow{color:#a5b4fc}
.faq-list{max-width:820px!important}.faq-list details{border-bottom:1px solid #e5e7eb;padding:18px 0}.faq-list summary{cursor:pointer;font-weight:700}.faq-list p{color:#667085;line-height:1.7;margin:11px 0 0}
.public-cta{max-width:1180px;margin:28px auto 80px;padding:34px 38px;border-radius:20px;background:#eef2ff;display:flex;align-items:center;justify-content:space-between;gap:24px}.public-cta h2{margin:0 0 8px;font-size:27px}.public-cta p{margin:0;color:#667085}
.public-footer{border-top:1px solid #e5e7eb;background:#fafafa}.public-footer-inner{max-width:1180px;margin:auto;padding:40px 24px;display:flex;justify-content:space-between;gap:30px}.public-footer p{color:#98a2b3;font-size:13px}.footer-links{display:flex;gap:22px;align-items:flex-start}.footer-links a{color:#667085;font-size:13px}.public-footer-bottom{max-width:1180px;margin:auto;padding:14px 24px 24px;color:#98a2b3;font-size:11px}.footer-brand{font-size:17px}.footer-brand .brand-mark{width:28px;height:28px}
.sub-hero{padding:82px 24px 68px;text-align:center;background:linear-gradient(180deg,#f8faff 0%,#fff 100%)}.sub-hero h1{font-size:45px;letter-spacing:-.05em;margin:0 0 16px}.sub-hero p{max-width:680px;margin:auto;color:#667085;line-height:1.8}
.split-intro{max-width:1180px!important;display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:start}.split-intro h2{font-size:35px;letter-spacing:-.04em;margin:0}.split-intro p{color:#667085;line-height:1.9;font-size:16px;margin:0}
.command-groups{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.command-groups article{padding:24px;border-radius:15px;background:#fff;border:1px solid #e5e7eb}.command-groups h3{margin:0 0 16px}.command-tags{display:flex;flex-wrap:wrap;gap:7px}.command-tags code{padding:6px 8px;border-radius:6px;background:#f3f4f6;color:#344054;font-size:12px}
.support-layout{max-width:1180px!important;display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}.support-layout h2{font-size:34px;margin:0 0 13px}.support-layout p{color:#667085;line-height:1.8}.point-flow{display:flex;align-items:center;justify-content:space-between;gap:8px}.point-flow>div{flex:1;text-align:center;padding:17px 10px;background:#fff;border:1px solid #e5e7eb;border-radius:13px}.point-flow b{display:grid;place-items:center;width:26px;height:26px;margin:0 auto 9px;border-radius:50%;background:#111827;color:#fff;font-size:11px}.point-flow span{font-size:12px;font-weight:700}.point-flow i{color:#98a2b3;font-style:normal}.notice-box{max-width:1180px!important;margin-top:20px!important;padding:16px 18px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;display:flex;gap:12px}.notice-box strong{color:#c2410c}.notice-box p{margin:0;color:#9a3412;font-size:13px}
.guide-layout{max-width:1180px!important;display:grid;grid-template-columns:220px 1fr;gap:52px}.guide-index{position:sticky;top:100px;align-self:start;display:grid;gap:2px;padding:16px;background:#f8fafc;border-radius:13px}.guide-index strong{padding:8px 10px;margin-bottom:5px}.guide-index a{padding:9px 10px;border-radius:8px;color:#667085;font-size:13px}.guide-index a:hover{background:#fff;color:#111827}.guide-content{display:grid;gap:18px}.guide-step{scroll-margin-top:100px;padding:30px;border:1px solid #e5e7eb;border-radius:17px}.guide-step>span{color:#6366f1;font-size:10px;font-weight:800;letter-spacing:.12em}.guide-step h2{font-size:23px;margin:8px 0 12px}.guide-step>p{color:#667085;line-height:1.8}.guide-note{margin-top:16px;padding:15px;border-left:3px solid #6366f1;background:#f8faff}.guide-note p{margin:5px 0 0;color:#667085;font-size:13px}.guide-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.guide-tags span{padding:7px 10px;border-radius:999px;background:#f3f4f6;font-size:12px}.screen-mock{margin-top:16px;padding:18px;border-radius:12px;background:#f8fafc;display:grid;grid-template-columns:130px 1fr;gap:8px;font-size:13px}.screen-mock b{color:#667085}.path-preview{margin-top:15px;padding:13px 15px;background:#111827;color:#d1d5db;border-radius:9px;font:13px Consolas,monospace}.command-demo{margin-top:16px;border-radius:13px;background:#f8fafc;padding:15px}.command-demo div{display:grid;grid-template-columns:70px 1fr;padding:7px}.command-demo span{color:#98a2b3;font-size:11px}.command-demo b{font-size:13px}
@media(max-width:900px){
.public-nav{height:64px;padding:0 16px}.public-links,.public-actions{display:none}.public-menu-open .public-links,.public-menu-open .public-actions{display:flex;position:absolute;left:0;right:0;background:#fff;padding:16px;flex-direction:column;align-items:stretch}.public-menu-open .public-links{top:64px}.public-menu-open .public-actions{top:190px}.mobile-nav-toggle{display:block;margin-left:auto}
.hero-section{grid-template-columns:1fr;padding-top:58px}.hero-copy h1{font-size:42px}.feature-grid.three,.feature-grid.four,.command-groups{grid-template-columns:1fr}.split-intro,.support-layout,.guide-layout{grid-template-columns:1fr;gap:28px}.guide-index{position:static}.donation-card,.public-cta{flex-direction:column;align-items:flex-start}.point-flow{flex-wrap:wrap}.point-flow i{display:none}.point-flow>div{min-width:45%}
}

/* ===== Detailed Bot Setup Guide v10.1 ===== */
.guide-hero .guide-start-actions{display:flex;gap:10px;justify-content:center;margin-top:28px}
.guide-quick{background:#111827;color:#fff;padding:38px 24px}
.guide-quick-inner{max-width:1180px;margin:auto;display:grid;grid-template-columns:.55fr 1.45fr;gap:50px;align-items:center}
.guide-quick h2{font-size:28px;margin:0 0 8px}.guide-quick p{margin:0;color:#94a3b8}.guide-quick .section-kicker{color:#a5b4fc}
.prep-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.prep-grid>div{padding:17px;background:#1f2937;border:1px solid #374151;border-radius:12px}.prep-grid b{display:block;color:#818cf8;font-size:10px;margin-bottom:7px}.prep-grid strong{display:block;font-size:14px;margin-bottom:5px}.prep-grid span{display:block;color:#94a3b8;font-size:11px;line-height:1.55}
.detailed-guide-layout{max-width:1230px!important;grid-template-columns:245px 1fr;gap:42px}
.guide-index.detailed{padding:14px}.guide-index.detailed a{display:flex;align-items:center;gap:8px}.guide-index.detailed a span{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#fff;border:1px solid #e5e7eb;color:#6366f1;font-size:9px;font-weight:800}
.guide-content.detailed{gap:24px}.detailed-step{padding:34px 36px}.step-heading{display:flex;gap:18px;align-items:flex-start;margin-bottom:25px}.step-heading .step-number{flex:0 0 auto;padding:7px 9px;border-radius:7px;background:#eef2ff;color:#4f46e5;font-size:10px;font-weight:900;letter-spacing:.08em}.step-heading .step-number.problem{background:#fff7ed;color:#c2410c}.step-heading h2{margin:0 0 7px;font-size:25px;letter-spacing:-.035em}.step-heading p{margin:0;color:#667085;line-height:1.7;font-size:14px}
.instruction-list{display:grid;gap:9px}.instruction-list.compact{margin-top:18px}.instruction-row{display:grid;grid-template-columns:32px 1fr;gap:12px;align-items:flex-start;padding:12px 14px;background:#f8fafc;border-radius:10px}.instruction-row>b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#fff;border:1px solid #dbe2ea;color:#4f46e5;font-size:10px}.instruction-row>div{padding-top:3px;color:#475467;font-size:14px;line-height:1.65}.instruction-row strong{color:#111827}.instruction-row code{padding:2px 5px;border-radius:4px;background:#eef2ff;color:#4338ca}
.ui-path{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px;padding:13px 16px;border:1px solid #e5e7eb;border-radius:10px;color:#667085;font-size:12px}.ui-path i{font-style:normal;color:#cbd5e1}.ui-path strong{color:#4f46e5}
.guide-success{margin-top:15px;padding:13px 15px;border-radius:10px;background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;font-size:13px;line-height:1.6}.guide-success b{font-weight:800}
.external-link-card{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 18px;margin-bottom:18px;border-radius:12px;background:#f8fafc;border:1px solid #e5e7eb}.external-link-card strong{display:block}.external-link-card span{display:block;margin-top:4px;color:#98a2b3;font-size:11px}
.guide-tip,.guide-note,.danger-box,.guide-warning{margin-top:16px;padding:15px 17px;border-radius:10px;font-size:13px;line-height:1.65}.guide-tip{background:#f8faff;border:1px solid #dfe4ff}.guide-tip strong,.guide-note b{color:#4338ca}.guide-tip p,.guide-note p,.danger-box p{margin:5px 0 0}.guide-note{background:#f8fafc;border:1px solid #e5e7eb}.danger-box{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.danger-box strong{color:#c2410c}.compact-danger{margin-top:18px}.guide-warning{background:#fffbeb;border:1px solid #fde68a;color:#92400e}
.intent-table{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.intent-table>div{padding:13px;border:1px solid #e5e7eb;border-radius:10px}.intent-table span{display:block;color:#667085;font-size:11px}.intent-table b{display:block;margin-top:5px;font-size:12px}.intent-table .required{border-color:#a5b4fc;background:#f5f3ff}.intent-table .required b{color:#4f46e5}
.permission-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:16px}.permission-grid label{display:flex;gap:10px;align-items:center;padding:12px 14px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.permission-grid label>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#ecfdf5;color:#059669;font-weight:800}.permission-grid b{display:block;font-size:12px}.permission-grid small{display:block;color:#98a2b3;margin-top:2px}
.id-guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.id-guide-card{padding:20px;border:1px solid #e5e7eb;border-radius:13px;background:#fafafa}.id-guide-card>span{color:#6366f1;font-size:9px;font-weight:900;letter-spacing:.12em}.id-guide-card h3{margin:6px 0 13px}.id-guide-card ol{padding-left:19px;color:#667085;font-size:13px;line-height:1.9}.sample-id{padding:9px 11px;border-radius:7px;background:#111827;color:#d1d5db;font:11px Consolas,monospace}
.channel-plan{margin-top:22px}.channel-plan h3{font-size:16px}.channel-plan table{width:100%;border-collapse:collapse;font-size:12px}.channel-plan th,.channel-plan td{text-align:left;padding:10px;border-bottom:1px solid #e5e7eb}.channel-plan th{color:#667085;background:#f8fafc}.required-pill{display:inline-block;padding:3px 7px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:9px;font-weight:800}
.detailed-mock{grid-template-columns:1fr 1fr auto;align-items:end}.detailed-mock>div{display:grid;gap:5px}.detailed-mock small{color:#98a2b3}.detailed-mock strong{padding:9px 11px;background:#fff;border:1px solid #e5e7eb;border-radius:7px;font-size:12px}.detailed-mock button{padding:9px 14px;border:0;border-radius:7px;background:#111827;color:#fff}
.web-example{margin-top:17px;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.web-example-head{padding:10px 14px;background:#f8fafc;font-size:11px;font-weight:800;color:#667085}.web-example-row{display:grid;grid-template-columns:130px 1fr 220px;gap:10px;padding:11px 14px;border-top:1px solid #eef0f3;font-size:12px}.web-example-row span{color:#667085}.web-example-row code{color:#4338ca;text-align:right}
.two-method-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.two-method-grid>div{padding:20px;border:1px solid #e5e7eb;border-radius:13px}.two-method-grid h3{margin:8px 0 10px}.two-method-grid ol{padding-left:19px;color:#667085;font-size:13px;line-height:1.9}.method-label{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:9px;font-weight:800}.method-label.gray{background:#f3f4f6;color:#667085}.sub-step-title{margin:25px 0 12px;font-size:16px}.priority-box{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:16px;padding:13px 15px;background:#111827;color:#fff;border-radius:10px;font-size:11px}.priority-box>span{color:#94a3b8;margin-right:5px}.priority-box i{font-style:normal;color:#64748b}
.instance-result{display:flex;gap:13px;align-items:center;margin-top:18px;padding:17px;border-radius:12px;background:#ecfdf5;border:1px solid #a7f3d0}.instance-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#059669;color:#fff;font-weight:900}.instance-result strong{color:#047857}.instance-result p{margin:4px 0 0;color:#047857;font-size:12px}
.final-test-list{display:grid;gap:8px}.final-test-list>div{display:grid;grid-template-columns:62px 130px 1fr;gap:10px;align-items:center;padding:11px 13px;border:1px solid #e5e7eb;border-radius:10px}.final-test-list b{color:#6366f1;font-size:9px}.final-test-list code{font-weight:800;color:#111827}.final-test-list span{color:#667085;font-size:12px}.guide-body-text{color:#667085;line-height:1.7}.large-demo{margin-top:10px}
.trouble-step{border-color:#fed7aa}.trouble-list details{border-bottom:1px solid #eef0f3;padding:14px 0}.trouble-list details:last-child{border-bottom:0}.trouble-list summary{cursor:pointer;color:#111827;font-size:13px}.trouble-list details div{padding:9px 0 0 22px;color:#667085;font-size:13px;line-height:1.7}.trouble-list p{margin:0}
.guide-complete{display:grid;grid-template-columns:54px 1fr auto;gap:18px;align-items:center;padding:28px 30px;border-radius:18px;background:#111827;color:#fff}.complete-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#4f46e5;font-size:24px;font-weight:900}.guide-complete span{color:#a5b4fc;font-size:9px;font-weight:900;letter-spacing:.12em}.guide-complete h2{font-size:21px;margin:5px 0 6px}.guide-complete p{margin:0;color:#94a3b8;font-size:12px;line-height:1.6}
@media(max-width:900px){
.guide-quick-inner{grid-template-columns:1fr}.prep-grid{grid-template-columns:1fr}.detailed-guide-layout{grid-template-columns:1fr}.guide-index.detailed{position:static}.detailed-step{padding:23px 20px}.step-heading{flex-direction:column;gap:10px}.permission-grid,.intent-table,.id-guide-grid,.two-method-grid{grid-template-columns:1fr}.detailed-mock{grid-template-columns:1fr}.web-example-row{grid-template-columns:1fr}.web-example-row code{text-align:left}.final-test-list>div{grid-template-columns:60px 1fr}.final-test-list span{grid-column:1/-1}.guide-complete{grid-template-columns:1fr}.guide-start-actions{flex-direction:column}
}


/* ===== v10.2 Bot Guide layout fix =====
   전체순서를 좌측 sticky 사이드바가 아닌 상단 단계 네비게이션으로 표시 */
.detailed-guide-layout{
  display:block !important;
  max-width:1230px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.guide-index.detailed.top-step-index{
  position:static !important;
  top:auto !important;
  z-index:auto !important;
  width:100% !important;
  max-width:none !important;
  margin:0 0 28px !important;
  padding:18px !important;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:16px;
}
.guide-index.detailed.top-step-index>strong{
  grid-column:1/-1 !important;
  display:block;
  margin:0 0 6px !important;
  padding:0 2px 10px !important;
  font-size:14px;
  color:#111827;
  border-bottom:1px solid #e5e7eb;
}
.guide-index.detailed.top-step-index a{
  min-width:0;
  display:flex !important;
  align-items:center;
  gap:8px;
  padding:10px 11px !important;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  color:#475467;
  line-height:1.35;
  white-space:normal;
}
.guide-index.detailed.top-step-index a:hover{
  border-color:#c7d2fe;
  background:#eef2ff;
  color:#3730a3;
}
.guide-index.detailed.top-step-index a span{
  flex:0 0 24px;
}
.guide-content.detailed{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
}
.guide-step.detailed-step{
  width:100%;
  min-width:0;
}
.guide-step.detailed-step,
.guide-step.detailed-step *{
  overflow-wrap:anywhere;
}
.guide-step.detailed-step table{
  table-layout:fixed;
}
.guide-step.detailed-step code{
  word-break:break-all;
}

@media(max-width:1000px){
  .guide-index.detailed.top-step-index{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media(max-width:720px){
  .guide-index.detailed.top-step-index{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    padding:13px !important;
    gap:6px !important;
  }
  .guide-index.detailed.top-step-index a{
    padding:9px 8px !important;
    font-size:11px;
  }
}
@media(max-width:430px){
  .guide-index.detailed.top-step-index{
    grid-template-columns:1fr !important;
  }
}

/* v10.3 Discord Korean permission guide */
.discord-permission-korean{margin-top:16px;padding:18px;border:1px solid #c7d2fe;background:#f8faff;border-radius:12px}
.permission-korean-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}
.permission-korean-head strong{font-size:14px;color:#3730a3}.permission-korean-head span{font-size:11px;color:#667085}
.permission-korean-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.permission-korean-groups>div{padding:13px;background:#fff;border:1px solid #e0e7ff;border-radius:9px}
.permission-korean-groups b{display:block;font-size:12px;margin-bottom:8px}
.permission-korean-groups ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.permission-korean-groups li{position:relative;padding-left:18px;font-size:11px;color:#475467}
.permission-korean-groups li.yes:before{content:"✓";position:absolute;left:0;color:#059669;font-weight:900}
.permission-korean-groups li.no:before{content:"×";position:absolute;left:1px;color:#dc2626;font-weight:900}
.discord-permission-korean>p{margin:13px 0 0;color:#667085;font-size:11px;line-height:1.65}
@media(max-width:720px){.permission-korean-head{align-items:flex-start;flex-direction:column}.permission-korean-groups{grid-template-columns:1fr}}

/* v10.4 OAuth2 URL Generator guide */
.install-method-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0 0 22px}
.install-method{padding:16px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.install-method.primary-method{border-color:#c7d2fe;background:#f8faff}
.install-method>span{display:block;margin-bottom:5px;color:#6366f1;font-size:9px;font-weight:900;letter-spacing:.08em}
.install-method strong{display:block;font-size:14px;margin-bottom:5px}
.install-method p{margin:0;color:#667085;font-size:11px;line-height:1.55}
.oauth-title{margin-top:28px!important}
.oauth-guide-box{margin:12px 0 18px;padding:20px;border:1px solid #dbe2ea;background:#fbfcfe;border-radius:14px}
.oauth-path{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:15px;padding:11px 13px;background:#fff;border:1px solid #e5e7eb;border-radius:9px;font-size:12px}
.oauth-path span{color:#667085}.oauth-path i{font-style:normal;color:#cbd5e1}.oauth-path strong{color:#4338ca}
.oauth-scope-table{display:grid;gap:7px;margin-top:15px}
.scope-row{display:grid;grid-template-columns:175px 1fr;gap:12px;align-items:center;padding:12px 14px;border:1px solid #e5e7eb;border-radius:9px;background:#fff}
.scope-row code{font-size:11px;color:#4338ca;font-weight:700}
.scope-row strong{display:inline-block;margin-right:7px;font-size:11px}
.scope-row span{color:#667085;font-size:11px}
.required-scope{border-color:#a7f3d0;background:#f0fdf4}.required-scope strong{color:#047857}
.optional-scope{background:#f8fafc}.optional-scope strong{color:#64748b}
@media(max-width:720px){
  .install-method-tabs{grid-template-columns:1fr}
  .scope-row{grid-template-columns:1fr;gap:5px}
}

/* v10.5 OAuth2 explicit click/check flow */
.oauth-click-flow{
  margin:14px 0 18px;
  padding:18px;
  border:2px solid #c7d2fe;
  border-radius:14px;
  background:#f8faff
}
.oauth-click-step{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:12px;
  align-items:flex-start;
  padding:13px 14px;
  background:#fff;
  border:1px solid #e0e7ff;
  border-radius:10px
}
.oauth-click-step>b{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#4f46e5;
  color:#fff;
  font-size:12px
}
.oauth-click-step strong{
  display:block;
  font-size:14px;
  color:#111827;
  margin-bottom:5px
}
.oauth-click-step span{
  display:block;
  color:#667085;
  font-size:12px;
  line-height:1.6
}
.oauth-click-step mark{
  background:#fef3c7;
  color:#92400e;
  padding:2px 5px;
  border-radius:4px
}
.flow-arrow{
  text-align:center;
  color:#818cf8;
  font-size:18px;
  line-height:1.2;
  padding:4px 0
}
.oauth-check-example{
  margin:0 0 18px;
  padding:16px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff
}
.oauth-check-title{
  font-weight:800;
  font-size:13px;
  margin-bottom:10px
}
.oauth-check-example label{
  display:grid;
  grid-template-columns:28px 1fr auto;
  align-items:center;
  gap:9px;
  padding:10px 11px;
  border:1px solid #e5e7eb;
  border-radius:9px;
  margin-top:7px
}
.oauth-check-example label.checked{
  border-color:#86efac;
  background:#f0fdf4
}
.fake-check{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:5px;
  background:#4f46e5;
  color:#fff;
  font-size:12px;
  font-weight:900
}
.fake-check.empty{
  background:#fff;
  border:2px solid #d1d5db
}
.oauth-check-example code{
  font-size:12px;
  color:#4338ca;
  font-weight:700
}
.oauth-check-example label b{
  font-size:10px;
  color:#667085
}
.oauth-check-example label.checked b{
  color:#15803d
}
.oauth-check-example p{
  margin:12px 0 0;
  color:#667085;
  font-size:11px;
  line-height:1.65
}
@media(max-width:720px){
  .oauth-check-example label{
    grid-template-columns:28px 1fr
  }
  .oauth-check-example label b{
    grid-column:2
  }
}

/* ===== v11 Hosting + PC Agent ===== */
.mode-toggle-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px;margin-bottom:16px;border:1px solid #e5e7eb;border-radius:14px;background:#fafafa}
.mode-toggle-card strong{display:block}.mode-toggle-card p{margin:5px 0 0;color:#667085;font-size:12px}
.switch{position:relative;width:54px;height:30px;flex:0 0 54px}.switch input{display:none}.switch span{position:absolute;inset:0;border-radius:999px;background:#d1d5db;cursor:pointer}.switch span:after{content:"";position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.switch input:checked+span{background:#4f46e5}.switch input:checked+span:after{transform:translateX(24px)}
.current-mode{padding:18px;border-radius:13px;border:1px solid #e5e7eb}.current-mode b,.current-mode span{display:block}.current-mode b{font-size:18px}.current-mode span{margin-top:5px;color:#667085}.current-mode.free{background:#ecfdf5;border-color:#a7f3d0}.current-mode.free b{color:#047857}
.free-service-card{background:#111827}.free-mode-panel{display:grid;place-items:center;align-content:center;min-height:170px;padding:25px;border:1px solid #a7f3d0;border-radius:16px;background:#ecfdf5;text-align:center}.free-mode-panel b{font-size:11px;color:#047857}.free-mode-panel strong{font-size:34px;margin:5px;color:#065f46}.free-mode-panel span{color:#047857;font-size:12px}
.quick-host-card{max-width:1040px;margin-left:auto;margin-right:auto}.three-input-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #edf0f4}.three-input-head span{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:10px;font-weight:900}.three-input-head h2{margin:8px 0 5px}.three-input-head p{margin:0;color:#667085;font-size:12px}.three-flow{display:flex;align-items:center;gap:7px;padding-top:10px}.three-flow b{padding:6px 8px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;font-size:9px}.three-flow i{font-style:normal;color:#98a2b3}
.three-input-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.three-field{display:block;padding:19px;border:1px solid #e3e8ef;border-radius:15px;background:#fff;transition:.18s}.three-field.full{grid-column:1/-1}.three-field:focus-within{border-color:#6366f1;box-shadow:0 0 0 4px rgba(99,102,241,.09)}.three-label{display:flex;align-items:center;gap:10px;margin-bottom:12px}.three-label>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#111827;color:#fff;font-size:9px;font-weight:900}.three-label>div{min-width:0;flex:1}.three-label strong,.three-label small{display:block}.three-label strong{font-size:13px}.three-label small{margin-top:3px;color:#98a2b3;font-size:9px}.three-label em{padding:4px 7px;border-radius:999px;background:#f8fafc;color:#667085;font-size:8px;font-style:normal;font-weight:900}
.three-input{display:flex;height:55px;border:1px solid #d8e0e9;border-radius:11px;overflow:hidden}.three-input>b{display:grid;place-items:center;min-width:52px;border-right:1px solid #edf0f3;background:#f8fafc;color:#667085;font-size:10px}.three-input input{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;padding:0 14px!important;font-size:13px!important}.three-field>p{margin:8px 1px 0;color:#7b8798;font-size:10px}
.three-submit{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 19px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc}.three-submit strong,.three-submit span{display:block}.three-submit strong{font-size:12px}.three-submit span{margin-top:4px;color:#7b8798;font-size:9px}.three-submit button{min-width:220px;min-height:49px}
.host-setup-result{max-width:1040px;margin-left:auto;margin-right:auto;border-color:#a7f3d0}.host-result-title{display:flex;gap:13px;align-items:center}.host-result-title>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#059669;color:#fff;font-size:20px;font-weight:900}.host-result-title h2{margin:0 0 3px}.host-result-title p{margin:0;color:#667085;font-size:11px}.host-result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:17px}.host-result-grid>div{padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa}.host-result-grid small,.host-result-grid b,.host-result-grid span{display:block}.host-result-grid small{color:#98a2b3;font-size:8px}.host-result-grid b{margin:5px 0;font-size:11px}.host-result-grid span{color:#667085;font-size:9px;word-break:break-all}.agent-wait{margin-top:14px;padding:13px 15px;border-radius:10px;background:#eef2ff;color:#4338ca}.agent-wait b,.agent-wait span{display:block}.agent-wait span{margin-top:4px;font-size:10px}
@media(max-width:820px){.three-input-head,.three-submit{flex-direction:column;align-items:stretch}.three-flow{flex-wrap:wrap}.three-input-form{grid-template-columns:1fr}.three-field.full,.three-submit{grid-column:auto}.host-result-grid{grid-template-columns:1fr 1fr}.three-submit button{width:100%}}
@media(max-width:480px){.host-result-grid{grid-template-columns:1fr}}


/* ===== v11.2 Discord Auto Discovery ===== */
.auto-discovery-card{max-width:1040px;margin-left:auto;margin-right:auto}
.auto-discovery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding-bottom:22px;border-bottom:1px solid #edf0f4}
.auto-kicker{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:10px;font-weight:900}
.auto-discovery-head h2{margin:9px 0 5px;font-size:22px}
.auto-discovery-head p{margin:0;color:#667085;font-size:12px}
.auto-flow{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding-top:8px}
.auto-flow b{padding:7px 9px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;font-size:9px}
.auto-flow i{font-style:normal;color:#98a2b3}
.auto-step{display:flex;gap:15px;margin-top:16px;padding:20px;border:1px solid #e3e8ef;border-radius:15px;background:#fff;transition:.2s}
.auto-step.locked{opacity:.52;background:#f8fafc}
.auto-step.active{border-color:#dbe2ea;opacity:1}
.auto-step-no{display:grid;place-items:center;align-self:flex-start;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#111827;color:#fff;font-size:10px;font-weight:900}
.auto-step.locked .auto-step-no{background:#98a2b3}
.auto-step-body{min-width:0;flex:1}
.auto-step-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
.auto-step-title strong,.auto-step-title small{display:block}
.auto-step-title strong{font-size:14px}
.auto-step-title small{margin-top:4px;color:#98a2b3;font-size:10px}
.auto-step-title em{padding:4px 7px;border-radius:999px;background:#f3f4f6;color:#667085;font-size:8px;font-style:normal;font-weight:900}
.auto-token-row{display:flex;align-items:stretch;gap:10px}
.auto-token-input{flex:1}
.auto-token-row .btn{min-width:180px}
.auto-help{margin:9px 1px 0;color:#7b8798;font-size:10px}
.discord-lookup-status{margin-top:12px;padding:11px 13px;border-radius:9px;font-size:11px;font-weight:700}
.discord-lookup-status.loading{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8}
.discord-lookup-status.success{background:#ecfdf5;border:1px solid #a7f3d0;color:#047857}
.discord-lookup-status.error{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c}
.auto-detected-bot{display:flex;align-items:center;gap:9px;margin-bottom:10px;padding:10px 12px;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb}
.auto-detected-bot span{color:#98a2b3;font-size:9px}
.auto-detected-bot b{font-size:12px}
.auto-detected-bot small{margin-left:auto;color:#667085;font-size:9px}
.auto-select{width:100%;height:50px;padding:0 12px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;color:#101828;font-size:12px}
.auto-select:focus{outline:0;border-color:#6366f1;box-shadow:0 0 0 4px rgba(99,102,241,.08)}
.auto-select:disabled{background:#f2f4f7;color:#98a2b3}
.auto-channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auto-channel-grid label>span,.auto-channel-grid label>small{display:block}
.auto-channel-grid label>span{margin-bottom:7px;font-size:11px;font-weight:800}
.auto-channel-grid label>small{margin-top:6px;color:#98a2b3;font-size:9px}
.auto-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.auto-summary>div{padding:11px;border:1px solid #d1fae5;border-radius:10px;background:#f0fdf4}
.auto-summary span,.auto-summary b{display:block}
.auto-summary span{color:#059669;font-size:8px;font-weight:800}
.auto-summary b{margin-top:4px;color:#065f46;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.auto-finish{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;padding:18px 19px;border:1px solid #e5e7eb;border-radius:14px;background:#111827;color:#fff}
.auto-finish strong,.auto-finish span{display:block}
.auto-finish strong{font-size:12px}
.auto-finish span{margin-top:4px;color:#cbd5e1;font-size:9px}
.auto-finish .btn{min-width:220px}
.auto-finish .btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:820px){
 .auto-discovery-head,.auto-token-row,.auto-finish{flex-direction:column;align-items:stretch}
 .auto-token-row .btn,.auto-finish .btn{width:100%}
 .auto-channel-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
 .auto-step{padding:15px;gap:10px}
 .auto-summary{grid-template-columns:1fr}
 .auto-flow{display:none}
}


/* ===== v11.3 Beginner UX + Live Server Status ===== */
.user-friendly-sidebar{width:250px;padding:20px 14px}
.user-friendly-sidebar+.content{margin-left:250px;width:calc(100% - 250px)}
.sidebar-guide-label{margin:17px 10px 7px;color:#64748b;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.sidebar-guide-label:first-of-type{margin-top:0}
.sidebar-guide-label.admin-label{color:#fca5a5}
.menu-with-help{display:grid!important;gap:4px!important}
.menu-with-help a{display:block!important;padding:9px 10px!important}
.menu-with-help a strong,.menu-with-help a small{display:block}
.menu-with-help a strong{font-size:12px;color:#e5e7eb}
.menu-with-help a small{margin-top:3px;color:#718096;font-size:9px;line-height:1.35}
.menu-with-help a:hover small,.menu-with-help a.active small{color:#94a3b8}
.menu-with-help a.active strong{color:#fff}
.menu-with-help.compact-help a strong,.admin-menu a strong{font-size:11px}
.user-friendly-sidebar .sidebar-bottom{margin-top:20px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}

.user-page-help{display:flex;align-items:flex-start;gap:12px;margin:-5px 0 18px;padding:13px 15px;border:1px solid #dbeafe;border-radius:11px;background:#eff6ff}
.user-page-help strong{flex:0 0 auto;color:#1d4ed8;font-size:11px}
.user-page-help span{color:#475569;font-size:11px;line-height:1.55}

.welcome-guide{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px;margin-bottom:18px;border-radius:18px;background:#111827;color:#fff}
.welcome-guide-copy{max-width:420px}
.welcome-guide-copy>span{font-size:9px;font-weight:900;letter-spacing:.14em;color:#93c5fd}
.welcome-guide-copy h2{margin:8px 0 6px;font-size:22px}
.welcome-guide-copy p{margin:0;color:#cbd5e1;font-size:11px;line-height:1.65}
.welcome-progress{display:flex;align-items:center;gap:7px}
.welcome-progress>div{min-width:105px;padding:11px;border:1px solid #334155;border-radius:11px;background:#1e293b}
.welcome-progress>div i,.welcome-progress>div strong,.welcome-progress>div span{display:block}
.welcome-progress>div i{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#475569;font-size:9px;font-style:normal;font-weight:900}
.welcome-progress>div strong{margin-top:7px;font-size:10px}
.welcome-progress>div span{margin-top:3px;color:#94a3b8;font-size:8px}
.welcome-progress>div.done i{background:#059669}
.welcome-progress>div.current{border-color:#60a5fa}
.welcome-progress>div.current i{background:#2563eb}
.welcome-progress>em{color:#64748b;font-style:normal}
.beginner-menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.beginner-menu-grid a{position:relative;min-height:165px;padding:17px;border:1px solid #e5e7eb;border-radius:13px;background:#fff;color:#111827;transition:.18s}
.beginner-menu-grid a:hover{transform:translateY(-2px);border-color:#bfdbfe;box-shadow:0 10px 25px rgba(15,23,42,.06)}
.beginner-menu-grid a>b{display:grid;place-items:center;width:28px;height:28px;margin-bottom:13px;border-radius:8px;background:#111827;color:#fff;font-size:9px}
.beginner-menu-grid strong,.beginner-menu-grid p,.beginner-menu-grid span{display:block}
.beginner-menu-grid strong{font-size:13px}
.beginner-menu-grid p{margin:7px 0 25px;color:#667085;font-size:10px;line-height:1.55}
.beginner-menu-grid span{position:absolute;left:17px;bottom:15px;color:#2563eb;font-size:9px;font-weight:800}
.beginner-start-card{display:flex;align-items:center;justify-content:space-between;gap:20px}
.beginner-start-card span{color:#2563eb;font-size:9px;font-weight:900}.beginner-start-card h2{margin:5px 0}.beginner-start-card p{margin:0;color:#667085;font-size:11px}
.quick-server-list{display:grid;gap:8px}.quick-server-list>div{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e5e7eb;border-radius:10px}.quick-server-list strong{margin-right:auto;font-size:11px}.quick-server-list em{font-size:9px;font-style:normal;color:#667085}.quick-server-list a{font-size:9px;font-weight:700}.quick-server-led{width:9px;height:9px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.12)}.quick-server-led.on{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12),0 0 8px rgba(34,197,94,.65)}

.my-bot-card{overflow:hidden}.my-bot-card.is-running{border-color:#bbf7d0}.my-bot-card-head{display:flex;align-items:center;gap:15px}
.mini-server-machine{position:relative;width:78px;height:64px;flex:0 0 78px;padding:9px;border-radius:9px;background:#1f2937;border:2px solid #374151;box-shadow:inset 0 0 0 1px #0f172a}
.mini-server-machine:before,.mini-server-machine:after{content:"";position:absolute;bottom:-5px;width:13px;height:5px;border-radius:0 0 3px 3px;background:#374151}.mini-server-machine:before{left:8px}.mini-server-machine:after{right:8px}
.mini-server-led{position:absolute;right:8px;top:7px;width:7px;height:7px;border-radius:50%;background:#64748b}
.mini-server-machine.online .mini-server-led{background:#22c55e;box-shadow:0 0 8px #22c55e}
.mini-server-slots{display:grid;gap:5px;margin-top:8px}.mini-server-slots i{display:block;height:7px;border:1px solid #475569;border-radius:2px;background:repeating-linear-gradient(90deg,#0f172a 0 5px,#334155 5px 7px)}
.my-bot-title{min-width:0;flex:1}.my-bot-title small,.my-bot-title h2,.my-bot-title span{display:block}.my-bot-title small{color:#98a2b3;font-size:8px;font-weight:900}.my-bot-title h2{margin:4px 0;font-size:18px}.my-bot-title span{color:#667085;font-size:9px}
.my-bot-state{display:flex;align-items:center;gap:9px;padding:10px 13px;border-radius:11px;background:#f8fafc}.my-bot-state>i{width:11px;height:11px;border-radius:50%;background:#94a3b8}.my-bot-state small,.my-bot-state strong{display:block}.my-bot-state small{font-size:7px;color:#98a2b3}.my-bot-state strong{font-size:15px}.my-bot-state.on{background:#ecfdf5}.my-bot-state.on>i{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12),0 0 9px rgba(34,197,94,.8)}.my-bot-state.on strong{color:#047857}
.free-service-line{display:flex;align-items:center;gap:10px;margin-top:16px;padding:11px 13px;border-radius:10px;background:#f0fdf4;border:1px solid #dcfce7}.free-service-line span{font-size:9px;color:#65a30d}.free-service-line strong{font-size:11px;color:#166534}.free-service-line em{margin-left:auto;color:#4d7c0f;font-size:9px;font-style:normal}
.my-bot-runtime{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.my-bot-runtime>div{padding:10px;border:1px solid #e5e7eb;border-radius:9px;background:#fafafa}.my-bot-runtime span,.my-bot-runtime strong{display:block}.my-bot-runtime span{color:#98a2b3;font-size:8px}.my-bot-runtime strong{margin-top:4px;font-size:10px}.my-bot-actions{margin-top:14px}.empty-onboarding strong,.empty-onboarding p{display:block}.empty-onboarding p{margin:7px 0 13px}

.home-live-status{max-width:1180px;margin:0 auto;padding:10px 24px 40px}
.home-status-machine{display:flex;align-items:center;gap:34px;padding:23px 28px;border:1px solid #e5e7eb;border-radius:20px;background:#fff;color:#101828;box-shadow:0 16px 45px rgba(15,23,42,.05)}
.home-server-visual{position:relative;width:235px;flex:0 0 235px;padding:15px;border-radius:13px;background:#171d28;border:3px solid #30394a;box-shadow:0 12px 25px rgba(15,23,42,.18),inset 0 0 0 1px #0b0f16}
.home-server-visual:before,.home-server-visual:after{content:"";position:absolute;bottom:-8px;width:30px;height:8px;border-radius:0 0 4px 4px;background:#30394a}.home-server-visual:before{left:18px}.home-server-visual:after{right:18px}
.home-server-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#94a3b8;font-size:8px;font-weight:900;letter-spacing:.08em}.home-server-top>div{display:flex;align-items:center;gap:6px}.home-server-top i{width:8px;height:8px;border-radius:50%;background:#64748b}.home-server-visual.online .home-server-top i{background:#22c55e;box-shadow:0 0 8px #22c55e}.home-server-top b{color:#cbd5e1;font-size:8px}
.home-server-slot{display:flex;align-items:center;gap:5px;height:22px;margin-top:5px;padding:0 8px;border:1px solid #3b4658;border-radius:3px;background:#202938}.home-server-slot>i{width:5px;height:5px;border-radius:50%;background:#64748b}.home-server-visual.online .home-server-slot:first-of-type>i{background:#22c55e;box-shadow:0 0 5px #22c55e}.home-server-slot>span{width:24px;height:4px;border-radius:1px;background:repeating-linear-gradient(90deg,#0c111b 0 3px,#536174 3px 4px)}.home-server-slot em{margin-left:auto;color:#64748b;font-size:7px;font-style:normal}
.home-status-copy{flex:1}.home-status-copy h2{margin:8px 0 6px;font-size:25px}.home-status-copy h2 strong{color:#059669}.home-status-copy p{margin:0 0 12px;color:#667085;font-size:12px}.home-status-copy>b{color:#2563eb;font-size:11px}

.status-hero{max-width:1180px;margin:0 auto;padding:60px 24px 34px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.status-hero h1{margin:7px 0;font-size:42px;letter-spacing:-.045em}.status-hero p{max-width:620px;margin:0;color:#667085;line-height:1.7}.status-big-number{text-align:right}.status-big-number span,.status-big-number strong,.status-big-number em{display:block}.status-big-number span{color:#98a2b3;font-size:10px;font-weight:900}.status-big-number strong{font-size:58px;line-height:1;color:#059669}.status-big-number em{margin-top:5px;color:#667085;font-style:normal;font-size:11px}
.status-public-section{padding-top:15px}.status-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:34px}.status-summary-card{display:flex;align-items:center;gap:15px;padding:19px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.summary-led{width:14px;height:14px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 5px rgba(148,163,184,.12)}.status-summary-card.online .summary-led{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12),0 0 12px rgba(34,197,94,.5)}.status-summary-card.offline .summary-led{background:#64748b}.status-summary-card.total .summary-led{background:#3b82f6;box-shadow:0 0 0 5px rgba(59,130,246,.1)}.status-summary-card small,.status-summary-card strong,.status-summary-card p{display:block}.status-summary-card small{color:#98a2b3;font-size:8px;font-weight:900}.status-summary-card strong{margin:2px 0;font-size:24px}.status-summary-card p{margin:0;color:#667085;font-size:9px}
.rack-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.rack-section-head>div>span{color:#2563eb;font-size:9px;font-weight:900}.rack-section-head h2{margin:5px 0}.rack-section-head p{margin:0;color:#667085;font-size:10px}.live-refresh{display:flex;align-items:center;gap:7px;color:#667085;font-size:9px}.live-refresh i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 7px #22c55e;animation:statusPulse 1.7s infinite}.live-refresh b{font-weight:700;color:#344054}
.server-rack-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.server-unit-card{padding:13px;border:1px solid #e5e7eb;border-radius:15px;background:#fff}.server-case{position:relative;padding:12px;border-radius:10px;background:#181f2b;border:2px solid #343e4f;box-shadow:inset 0 0 0 1px #0e131c}.server-case:before,.server-case:after{content:"";position:absolute;bottom:-6px;width:18px;height:6px;background:#343e4f;border-radius:0 0 3px 3px}.server-case:before{left:9px}.server-case:after{right:9px}
.server-case-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.server-brand{color:#8492a6;font-size:7px;font-weight:900;letter-spacing:.1em}.server-power{display:flex;align-items:center;gap:5px}.server-power i{width:7px;height:7px;border-radius:50%;background:#64748b}.server-power b{color:#94a3b8;font-size:7px}.server-unit-card.online .server-power i{background:#22c55e;box-shadow:0 0 8px #22c55e}.server-unit-card.online .server-power b{color:#86efac}
.server-bay{display:flex;align-items:center;gap:6px;height:25px;margin-top:5px;padding:0 7px;border:1px solid #3b4658;border-radius:3px;background:#222b39}.bay-led{width:5px;height:5px;border-radius:50%;background:#64748b}.server-unit-card.online .server-bay:first-of-type .bay-led{background:#22c55e;box-shadow:0 0 5px #22c55e}.bay-vents{display:flex;gap:2px}.bay-vents i{width:3px;height:8px;border-radius:1px;background:#0e141d}.server-bay em{margin-left:auto;color:#64748b;font-size:6px;font-style:normal}.server-unit-info{padding:12px 3px 1px}.server-unit-info small,.server-unit-info strong{display:block}.server-unit-info small{color:#98a2b3;font-size:7px;font-weight:900}.server-unit-info strong{margin-top:3px;font-size:10px}.server-unit-card.online .server-unit-info strong{color:#059669}.server-unit-card.offline{opacity:.78}.status-empty{grid-column:1/-1;padding:40px;border:1px dashed #d0d5dd;border-radius:13px;text-align:center;color:#98a2b3}
@keyframes statusPulse{0%,100%{opacity:1}50%{opacity:.35}}

@media(max-width:1000px){
 .user-friendly-sidebar{width:220px}.user-friendly-sidebar+.content{margin-left:220px;width:calc(100% - 220px)}
 .server-rack-grid{grid-template-columns:repeat(3,1fr)}
 .beginner-menu-grid{grid-template-columns:repeat(2,1fr)}
 .welcome-guide{align-items:flex-start;flex-direction:column}
}
@media(max-width:760px){
 .status-hero,.home-status-machine,.rack-section-head,.beginner-start-card{flex-direction:column;align-items:stretch}
 .status-big-number{text-align:left}.home-server-visual{width:100%;max-width:300px;flex-basis:auto}
 .status-summary-grid,.server-rack-grid,.my-bot-runtime{grid-template-columns:1fr 1fr}
 .my-bot-card-head{align-items:flex-start;flex-wrap:wrap}.my-bot-state{margin-left:auto}
}
@media(max-width:560px){
 .status-summary-grid,.server-rack-grid,.beginner-menu-grid,.my-bot-runtime{grid-template-columns:1fr}
 .status-hero h1{font-size:34px}.status-big-number strong{font-size:48px}
 .welcome-progress{display:grid;grid-template-columns:1fr}.welcome-progress>em{display:none}
 .home-live-status{padding-left:16px;padding-right:16px}
}


/* ===== v11.5 Central Server + Clients ===== */
.central-status-hero{max-width:1180px;margin:0 auto;padding:62px 24px 30px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px}
.central-status-copy h1{margin:8px 0 7px;font-size:42px;letter-spacing:-.045em}
.central-status-copy p{margin:0;color:#667085}
.central-status-badge{display:flex;align-items:center;gap:11px;padding:13px 17px;border-radius:13px;background:#f8fafc;border:1px solid #e5e7eb}
.central-status-badge>i{width:14px;height:14px;border-radius:50%;background:#94a3b8}
.central-status-badge small,.central-status-badge strong{display:block}.central-status-badge small{color:#98a2b3;font-size:8px;font-weight:900}.central-status-badge strong{margin-top:3px;font-size:18px}
.central-status-badge.online{background:#ecfdf5;border-color:#a7f3d0}.central-status-badge.online>i{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12),0 0 12px #22c55e}.central-status-badge.online strong{color:#047857}
.central-status-badge.offline{background:#f8fafc}.central-status-badge.offline strong{color:#64748b}

.central-system-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;margin-bottom:38px}
.central-server-card{display:flex;align-items:center;gap:28px;padding:24px;border:1px solid #dbeafe;border-radius:18px;background:linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 18px 45px rgba(15,23,42,.05)}
.central-server-machine{position:relative;width:260px;flex:0 0 260px;padding:16px;border:3px solid #354052;border-radius:14px;background:#171e29;box-shadow:0 16px 30px rgba(15,23,42,.22),inset 0 0 0 1px #0b1017}
.central-server-machine:before,.central-server-machine:after{content:"";position:absolute;bottom:-9px;width:34px;height:9px;border-radius:0 0 4px 4px;background:#354052}.central-server-machine:before{left:18px}.central-server-machine:after{right:18px}
.central-server-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;color:#94a3b8;font-size:8px;font-weight:900;letter-spacing:.1em}
.central-server-head>div{display:flex;align-items:center;gap:6px}.central-server-head i{width:9px;height:9px;border-radius:50%;background:#64748b}.central-server-machine.online .central-server-head i{background:#22c55e;box-shadow:0 0 9px #22c55e}.central-server-head b{color:#cbd5e1;font-size:8px}
.central-server-bay{display:flex;align-items:center;gap:5px;height:26px;margin-top:6px;padding:0 8px;border:1px solid #3c4759;border-radius:3px;background:#222b39}.central-server-bay>i{width:5px;height:5px;border-radius:50%;background:#64748b}.central-server-machine.online .central-server-bay:first-of-type>i{background:#22c55e;box-shadow:0 0 5px #22c55e}.central-server-bay>span{width:29px;height:4px;border-radius:1px;background:repeating-linear-gradient(90deg,#0e141c 0 3px,#526075 3px 5px)}.central-server-bay em{margin-left:auto;color:#64748b;font-size:6px;font-style:normal}
.central-server-detail{min-width:0}.central-server-detail>span{color:#2563eb;font-size:9px;font-weight:900}.central-server-detail h2{margin:7px 0;font-size:23px}.central-server-detail>p{margin:0;color:#667085;font-size:11px;line-height:1.65}
.central-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:17px}.central-meta>div{padding:10px;border:1px solid #e5e7eb;border-radius:9px;background:#fff}.central-meta small,.central-meta b{display:block}.central-meta small{color:#98a2b3;font-size:7px}.central-meta b{margin-top:4px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.client-count-panel{display:flex;flex-direction:column;justify-content:space-between;padding:24px;border-radius:18px;background:#111827;color:#fff}.client-count-panel>div:first-child small,.client-count-panel>div:first-child strong,.client-count-panel>div:first-child span{display:block}.client-count-panel small{color:#93c5fd;font-size:8px;font-weight:900}.client-count-panel>div:first-child strong{margin:5px 0;font-size:52px;line-height:1}.client-count-panel>div:first-child span{color:#cbd5e1;font-size:11px}
.client-mini-stats{display:grid;gap:8px;margin-top:20px}.client-mini-stats p{display:flex;align-items:center;gap:8px;margin:0;padding:9px 10px;border:1px solid #334155;border-radius:9px;background:#1e293b}.client-mini-stats i{width:8px;height:8px;border-radius:50%}.client-mini-stats i.on{background:#22c55e;box-shadow:0 0 7px #22c55e}.client-mini-stats i.off{background:#64748b}.client-mini-stats span{color:#cbd5e1;font-size:9px}.client-mini-stats b{margin-left:auto;font-size:14px}

.client-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.client-section-head>div>span{color:#2563eb;font-size:9px;font-weight:900}.client-section-head h2{margin:5px 0}.client-section-head p{margin:0;color:#667085;font-size:10px}
.client-status-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:11px}.client-status-card{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid #e5e7eb;border-radius:13px;background:#fff}.client-status-icon{position:relative;width:42px;height:42px;flex:0 0 42px}.client-discord-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#5865f2;color:#fff;font-size:15px;font-weight:900}.client-status-icon>i{position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#94a3b8}.client-status-card.online .client-status-icon>i{background:#22c55e;box-shadow:0 0 7px #22c55e}.client-status-card small,.client-status-card strong,.client-status-card span{display:block}.client-status-card small{color:#98a2b3;font-size:7px;font-weight:900}.client-status-card strong{margin:3px 0;font-size:14px}.client-status-card span{color:#667085;font-size:8px}.client-status-card.online strong{color:#059669}.client-status-card.offline{opacity:.72}

.central-home-status{padding-top:12px}.home-central-card{display:flex;align-items:center;gap:32px;padding:23px 28px;border:1px solid #dbeafe;border-radius:20px;background:linear-gradient(135deg,#fff,#f8fbff);color:#101828;box-shadow:0 16px 45px rgba(15,23,42,.05)}
.home-central-machine{position:relative;width:240px;flex:0 0 240px;padding:15px;border:3px solid #30394a;border-radius:13px;background:#171d28;box-shadow:0 12px 25px rgba(15,23,42,.18),inset 0 0 0 1px #0b0f16}
.home-central-machine:before,.home-central-machine:after{content:"";position:absolute;bottom:-8px;width:30px;height:8px;border-radius:0 0 4px 4px;background:#30394a}.home-central-machine:before{left:18px}.home-central-machine:after{right:18px}
.home-central-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:#94a3b8;font-size:7px;font-weight:900;letter-spacing:.08em}.home-central-top>div{display:flex;align-items:center;gap:6px}.home-central-top i{width:8px;height:8px;border-radius:50%;background:#64748b}.home-central-machine.online .home-central-top i{background:#22c55e;box-shadow:0 0 8px #22c55e}.home-central-top b{color:#cbd5e1;font-size:7px}
.home-central-slot{display:flex;align-items:center;gap:5px;height:22px;margin-top:5px;padding:0 8px;border:1px solid #3b4658;border-radius:3px;background:#202938}.home-central-slot>i{width:5px;height:5px;border-radius:50%;background:#64748b}.home-central-machine.online .home-central-slot:first-of-type>i{background:#22c55e;box-shadow:0 0 5px #22c55e}.home-central-slot>span{width:24px;height:4px;border-radius:1px;background:repeating-linear-gradient(90deg,#0c111b 0 3px,#536174 3px 4px)}.home-central-slot em{margin-left:auto;color:#64748b;font-size:6px;font-style:normal}
.home-central-copy{flex:1}.home-central-copy h2{margin:8px 0 5px;font-size:25px}.home-central-copy h2 strong{color:#059669}.home-central-copy p{margin:0;color:#667085;font-size:11px}.home-client-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.home-client-numbers>div{padding:10px 11px;border:1px solid #e5e7eb;border-radius:9px;background:#fff}.home-client-numbers small,.home-client-numbers b{display:block}.home-client-numbers small{color:#98a2b3;font-size:7px}.home-client-numbers b{margin-top:3px;font-size:17px}.home-status-link{display:block;margin-top:12px;color:#2563eb;font-size:10px;font-weight:800}

.central-diagnostic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.central-diagnostic-grid>div{padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa}.central-diagnostic-grid span,.central-diagnostic-grid strong{display:block}.central-diagnostic-grid span{color:#98a2b3;font-size:8px}.central-diagnostic-grid strong{margin-top:4px;font-size:11px}

@media(max-width:1000px){
 .central-system-grid{grid-template-columns:1fr}.client-count-panel{display:grid;grid-template-columns:1fr 1fr;gap:20px}
 .client-status-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
 .central-status-hero,.central-server-card,.home-central-card,.client-section-head{flex-direction:column;align-items:stretch}
 .central-server-machine,.home-central-machine{width:100%;max-width:300px;flex-basis:auto}
 .central-meta{grid-template-columns:1fr 1fr}
 .client-status-grid{grid-template-columns:1fr 1fr}
 .central-diagnostic-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
 .client-count-panel{grid-template-columns:1fr}
 .client-status-grid,.central-meta,.home-client-numbers,.central-diagnostic-grid{grid-template-columns:1fr}
 .central-status-copy h1{font-size:34px}
}

/* ===== v11.7 Central Server Name Setting ===== */
.setting-field-card{margin-bottom:14px;padding:17px;border:1px solid #e5e7eb;border-radius:13px;background:#fff}
.setting-field-card label strong,.setting-field-card label span{display:block}
.setting-field-card label strong{font-size:12px}
.setting-field-card label span{margin-top:4px;color:#667085;font-size:10px}
.setting-field-card input{width:100%;height:48px;margin-top:10px;padding:0 12px;border:1px solid #d0d5dd;border-radius:9px;font-size:12px}
.setting-field-card input:focus{outline:0;border-color:#6366f1;box-shadow:0 0 0 4px rgba(99,102,241,.08)}


/* ===== v11.9 My BossBot Status Sync ===== */
.mybot-central-strip{display:flex;align-items:center;gap:11px;margin:0 0 14px;padding:12px 14px;border:1px solid #e5e7eb;border-radius:11px;background:#f8fafc}
.mybot-central-strip .mybot-central-led{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#e2e8f0}
.mybot-central-strip .mybot-central-led i{width:9px;height:9px;border-radius:50%;background:#94a3b8}
.mybot-central-strip>div:nth-child(2){min-width:0;flex:1}
.mybot-central-strip small,.mybot-central-strip strong{display:block}
.mybot-central-strip small{color:#98a2b3;font-size:7px;font-weight:900}
.mybot-central-strip strong{margin-top:2px;font-size:11px}
.mybot-central-strip>span{font-size:10px;font-weight:900;color:#64748b}
.mybot-central-strip.online{background:#ecfdf5;border-color:#a7f3d0}
.mybot-central-strip.online .mybot-central-led{background:#d1fae5}
.mybot-central-strip.online .mybot-central-led i{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12),0 0 7px #22c55e}
.mybot-central-strip.online>span{color:#047857}
.mybot-client-icon{position:relative;width:62px;height:62px;flex:0 0 62px}
.mybot-client-logo{display:grid;place-items:center;width:62px;height:62px;border-radius:17px;background:#eef2ff;color:#5865f2;border:1px solid #c7d2fe;font-size:23px;font-weight:900}
.mybot-client-icon>i{position:absolute;right:-2px;bottom:-2px;width:15px;height:15px;border:3px solid #fff;border-radius:50%;background:#94a3b8}
.mybot-client-icon.online>i{background:#22c55e;box-shadow:0 0 7px rgba(34,197,94,.8)}
.simple-free-line em{color:#4d7c0f}


/* ===== v11.10 Client Icon Picker ===== */
.mybot-client-icon{border:0;padding:0;background:transparent;cursor:pointer;font:inherit;text-align:left}
.mybot-client-logo.client-icon-svg{display:grid;place-items:center}
.client-icon-svg svg{width:32px;height:32px;fill:currentColor}
.mybot-client-icon:hover .mybot-client-logo{border-color:#93c5fd;box-shadow:0 0 0 4px rgba(59,130,246,.08)}
.client-icon-edit{position:absolute;left:50%;bottom:-17px;transform:translateX(-50%);padding:2px 6px;border-radius:999px;background:#111827;color:#fff;font-size:7px;font-weight:800;opacity:0;white-space:nowrap;transition:.15s}
.mybot-client-icon:hover .client-icon-edit{opacity:1}

.icon-modal-open{overflow:hidden}
.client-icon-modal{position:fixed;inset:0;z-index:9999}
.client-icon-modal[hidden]{display:none}
.client-icon-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(3px)}
.client-icon-modal-panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(720px,calc(100% - 32px));max-height:86vh;overflow:auto;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 30px 90px rgba(15,23,42,.25)}
.client-icon-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 18px;border-bottom:1px solid #edf0f3}
.client-icon-modal-head small{color:#4f46e5;font-size:8px;font-weight:900;letter-spacing:.12em}
.client-icon-modal-head h2{margin:5px 0 4px;font-size:20px}
.client-icon-modal-head p{margin:0;color:#667085;font-size:10px}
.client-icon-modal-close{width:34px;height:34px;border:1px solid #e5e7eb;border-radius:9px;background:#fff;color:#667085;font-size:20px;line-height:1;cursor:pointer}
.client-icon-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;padding:20px 24px}
.client-icon-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:94px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#475569;cursor:pointer;transition:.15s}
.client-icon-option:hover{transform:translateY(-1px);border-color:#a5b4fc;background:#f8faff}
.client-icon-option.selected{border-color:#6366f1;background:#eef2ff;color:#4f46e5;box-shadow:0 0 0 3px rgba(99,102,241,.08)}
.client-icon-option span{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#f8fafc}
.client-icon-option.selected span{background:#fff}
.client-icon-option svg{width:25px;height:25px;fill:currentColor}
.client-icon-option strong{font-size:9px}
.client-icon-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 24px;border-top:1px solid #edf0f3;background:#f8fafc}
.client-icon-modal-foot>span{color:#667085;font-size:9px}

@media(max-width:640px){
 .client-icon-grid{grid-template-columns:repeat(3,1fr);padding:16px}
 .client-icon-modal-head{padding:18px}
 .client-icon-modal-foot{padding:12px 16px}
}


/* ===== v11.12 CSS Integrity / Missing Utilities ===== */
.data-table{width:100%;border-collapse:collapse}
.data-table th,.data-table td{padding:11px 10px;border-bottom:1px solid #eef0f3;text-align:left;vertical-align:middle}
.data-table th{background:#f8fafc;color:#667085;font-size:11px;font-weight:800}
.data-table td{font-size:12px}
.form-action{display:flex;align-items:center;gap:8px;justify-content:flex-end}
.btn.secondary,.secondary{background:#f8fafc;color:#344054;border-color:#d0d5dd}
.admin-service-card{border-color:#dbeafe}
.auto-default-notice{padding:12px 14px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-size:11px}
.beginner-stats{margin-bottom:18px}
.central-status-section{padding-top:20px}
.fixed-check,.master-check{display:flex;align-items:center;gap:7px}
.status-cta{margin-top:30px}
.timeline{display:grid;gap:0}
.user{min-width:0}

/* public-page width safety */
.public-main{min-height:calc(100vh - 72px);overflow-x:hidden}
.public-section,.sub-hero,.guide-quick,.central-status-hero,.home-live-status{width:100%}
.public-section{max-width:1180px;margin-left:auto;margin-right:auto}
.guide-content,.guide-step,.central-server-card,.home-central-card{min-width:0}

/* long strings / ids must never break layouts */
code,.sample-id,.my-bot-title span,.host-result-grid span,.central-meta b{
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Ensure modal and cards remain above old cumulative rules */
.client-icon-modal{z-index:99999}
.client-icon-modal-panel{background:#fff}

/* mobile shell safety */
@media(max-width:900px){
  .user-friendly-sidebar{width:180px}
  .user-friendly-sidebar+.content{margin-left:180px;width:calc(100% - 180px)}
}
@media(max-width:700px){
  .sidebar.user-friendly-sidebar{position:static;width:100%;min-height:auto}
  .user-friendly-sidebar+.content{margin-left:0;width:100%;padding:16px}
  .app-shell{display:block}
}
