/* DK Server List (dkadmin-step24-server-list) - dark theme matching the DK-Administrator dashboard */
:root{--bg:#1e1f22;--bg2:#232428;--card:#2b2d31;--card2:#313338;--line:#3a3c43;--text:#f2f3f5;--muted:#a3a6aa;
--blurple:#5865f2;--blurple2:#4752c4;--green:#23a55a;--green2:#1a8a4a;--dk:#3f8f4f;--red:#da373c;--yellow:#f0b232;--link:#00a8fc}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:15px;line-height:1.5}
a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}
h1,h2,h3{margin:0;line-height:1.2}
.sl-wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.sl-muted{color:var(--muted)}.sl-small{font-size:13px}.sl-err{color:#ff8a8d}
.sl-accent{background:linear-gradient(90deg,#5fd07a,#5865f2);-webkit-background-clip:text;background-clip:text;color:transparent}
/* header */
.sl-top{position:sticky;top:0;z-index:20;background:rgba(19,21,27,.92);backdrop-filter:blur(8px);border-bottom:1px solid #2a2c31}
.sl-top-in{display:flex;align-items:center;justify-content:space-between;height:64px;gap:12px}
.sl-brand{display:flex;align-items:center;gap:10px;color:var(--text);font-size:18px;white-space:nowrap}
.sl-brand:hover{text-decoration:none}.sl-brand img{border-radius:10px}.sl-brand b{color:#6fd08a}
.sl-nav{display:flex;align-items:center;gap:18px}.sl-nav a{color:#d5d7da;font-weight:500}.sl-nav a.sl-btn{color:#fff}
/* buttons */
.sl-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:10px;padding:10px 18px;font:inherit;font-weight:600;cursor:pointer;color:#fff;background:var(--card2);text-decoration:none!important;white-space:nowrap;transition:background .15s,transform .05s}
.sl-btn:active{transform:translateY(1px)}
.sl-btn-primary{background:var(--blurple)}.sl-btn-primary:hover{background:var(--blurple2)}
.sl-btn-join{background:var(--green)}.sl-btn-join:hover{background:var(--green2)}
.sl-btn-ghost{background:transparent;border:1px solid var(--line);color:var(--text)}.sl-btn-ghost:hover{background:var(--card2)}
.sl-btn-danger{background:transparent;border:1px solid #6b2c2e;color:#ff8a8d}.sl-btn-danger:hover{background:#3b1f21}
.sl-btn-off{background:var(--card2);color:var(--muted);cursor:default}
.sl-btn-sm{padding:7px 12px;font-size:13px;border-radius:8px}.sl-btn-lg{padding:14px 26px;font-size:16px}.sl-btn-block{width:100%}
.sl-main{padding-top:28px;padding-bottom:56px;min-height:60vh}
/* flash */
.sl-flash{padding:12px 16px;border-radius:10px;margin-bottom:20px;border:1px solid}
.sl-flash-ok{background:#16341f;border-color:#23a55a;color:#c9f5d6}.sl-flash-error{background:#3a1d1f;border-color:#da373c;color:#ffd1d2}
/* hero + search */
.sl-hero{text-align:center;padding:28px 0 22px;background:radial-gradient(ellipse at top,rgba(63,143,79,.18),transparent 60%),radial-gradient(ellipse at bottom right,rgba(88,101,242,.12),transparent 55%);border-radius:20px;margin-bottom:22px}
.sl-hero h1{font-size:40px;font-weight:800;letter-spacing:-.5px}
.sl-lead{color:#c4c7cc;font-size:16px;margin:10px 0 0}
.sl-search{display:flex;gap:10px;max-width:960px;margin:22px auto 14px;padding:0 10px;flex-wrap:wrap;justify-content:center}
.sl-search input[type=search]{flex:1 1 280px}
input,select,textarea{background:#1a1b1e;border:1px solid var(--line);color:var(--text);border-radius:10px;padding:10px 12px;font:inherit;outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--blurple);box-shadow:0 0 0 3px rgba(88,101,242,.25)}
/* chips */
.sl-tags{display:flex;flex-wrap:wrap;gap:6px}.sl-tags-center{justify-content:center;max-width:900px;margin:0 auto;padding:0 10px}
.sl-chip{position:relative;z-index:2;display:inline-block;background:#26282d;border:1px solid #34363c;color:#cfd2d6;border-radius:999px;padding:3px 10px;font-size:12.5px}
.sl-chip:hover{border-color:var(--blurple);text-decoration:none;color:#fff}.sl-chip small{color:var(--muted)}
.sl-chip-cat{background:rgba(63,143,79,.18);border-color:rgba(95,208,122,.35);color:#9be3ad}.sl-chip-on{background:var(--blurple);border-color:var(--blurple);color:#fff}
.sl-filterbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px;color:var(--muted)}
/* grid + cards */
.sl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.sl-card{position:relative;display:flex;flex-direction:column;gap:12px;background:var(--card);border:1px solid #303237;border-radius:16px;padding:18px;transition:transform .12s,border-color .12s,box-shadow .12s}
.sl-card:hover{transform:translateY(-2px);border-color:#45484f;box-shadow:0 10px 28px rgba(0,0,0,.35)}
.sl-card-link{position:absolute;inset:0;z-index:1;border-radius:16px}
.sl-card-head{display:flex;gap:12px;align-items:center}
.sl-card-title{min-width:0}.sl-card-title h3{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sl-meta{color:var(--muted);font-size:13px;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sl-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--green);display:inline-block}
.sl-desc{margin:0;color:#d2d5d9;font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:63px}
.sl-card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto}
.sl-card-foot .sl-btn{position:relative;z-index:2}
.sl-icon{width:56px;height:56px;border-radius:16px;object-fit:cover;flex:none;background:#1a1b1e}
.sl-icon-fallback{display:flex;align-items:center;justify-content:center;font-weight:800;color:#fff;background:linear-gradient(135deg,#3f8f4f,#5865f2)}
.sl-icon-lg{width:72px;height:72px;border-radius:20px;font-size:24px}.sl-icon-xl{width:112px;height:112px;border-radius:28px;font-size:36px}
.sl-pages{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:26px}
.sl-empty{text-align:center;background:var(--card);border:1px dashed var(--line);border-radius:18px;padding:44px 20px;max-width:640px;margin:10px auto}
.sl-empty-icon{font-size:42px}.sl-empty h2{margin:8px 0}
.sl-how{margin-top:40px;background:var(--bg2);border:1px solid #2c2e33;border-radius:16px;padding:22px 26px}
.sl-how ol{margin:12px 0 0;padding-left:22px}.sl-how li{margin:6px 0;color:#d2d5d9}
/* detail */
.sl-back{display:inline-block;margin-bottom:16px;color:var(--muted)}
.sl-detail-head{display:flex;gap:22px;align-items:center;background:linear-gradient(135deg,rgba(63,143,79,.22),rgba(88,101,242,.16));border:1px solid #34363c;border-radius:20px;padding:26px}
.sl-detail-title{flex:1;min-width:0}.sl-detail-title h1{font-size:32px;font-weight:800;word-break:break-word}.sl-detail-title .sl-tags{margin-top:12px}
.sl-detail-body{display:grid;grid-template-columns:1fr 300px;gap:18px;margin-top:18px}
.sl-panel{background:var(--card);border:1px solid #303237;border-radius:16px;padding:22px}
.sl-panel h2{font-size:17px;margin-bottom:12px}
.sl-long{white-space:pre-line;color:#dcdee1;word-break:break-word}
.sl-facts dl{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:0 0 16px}.sl-facts dt{color:var(--muted)}.sl-facts dd{margin:0;text-align:right;font-weight:600}
/* my servers */
.sl-pagehead{margin-bottom:18px}.sl-pagehead h1{font-size:30px;font-weight:800}
.sl-section{margin-top:26px}.sl-section>h2{font-size:19px;margin-bottom:12px}
.sl-mylist{display:flex;flex-direction:column;gap:10px}
.sl-myrow,.sl-addcard{display:flex;align-items:center;gap:14px;background:var(--card);border:1px solid #303237;border-radius:14px;padding:14px}
.sl-myrow .sl-icon,.sl-addcard .sl-icon{width:48px;height:48px;border-radius:14px}
.sl-myinfo{flex:1;min-width:0}.sl-myname{font-weight:700;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sl-myactions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.sl-myactions form{margin:0}
.sl-addgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
.sl-badge{font-size:11.5px;font-weight:700;border-radius:999px;padding:2px 9px;text-transform:uppercase;letter-spacing:.3px}
.sl-badge-green{background:#16341f;color:#7ee2a0}.sl-badge-blue{background:#1f2550;color:#a9b1ff}.sl-badge-yellow{background:#3a3016;color:#f6d37a}.sl-badge-red{background:#3a1d1f;color:#ff9a9c}
.sl-confirm{position:relative}.sl-confirm summary{list-style:none}.sl-confirm summary::-webkit-details-marker{display:none}
.sl-confirm[open] form{position:absolute;right:0;top:40px;z-index:5;background:var(--card2);border:1px solid var(--line);border-radius:10px;padding:12px;width:260px;display:flex;flex-direction:column;gap:8px;box-shadow:0 10px 24px rgba(0,0,0,.4)}
.sl-table-wrap{overflow-x:auto;background:var(--card);border:1px solid #303237;border-radius:14px}
.sl-table{width:100%;border-collapse:collapse;font-size:14px}.sl-table th,.sl-table td{padding:10px 12px;border-bottom:1px solid #303237;text-align:left;vertical-align:top}
.sl-table th{color:var(--muted);font-weight:600;font-size:12.5px;text-transform:uppercase}
.sl-modform{display:flex;gap:6px;flex-wrap:wrap}.sl-modform input{padding:6px 8px;font-size:13px;min-width:160px}
/* form */
.sl-formhead{display:flex;gap:16px;align-items:center;margin-bottom:18px}.sl-formhead h1{font-size:26px;font-weight:800}
.sl-form{display:flex;flex-direction:column;gap:16px;max-width:760px}
.sl-form label{display:flex;flex-direction:column;gap:6px;font-weight:600}.sl-form label>span.sl-muted{font-weight:400}
.sl-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sl-check{flex-direction:row!important;align-items:flex-start;gap:10px!important;font-weight:400!important;color:#d2d5d9}.sl-check input{margin-top:4px;width:18px;height:18px}
.sl-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.sl-form .sl-actions{justify-content:flex-start}
.sl-login{max-width:520px}.sl-login-logo{border-radius:20px;box-shadow:0 0 30px rgba(88,101,242,.25)}.sl-login .sl-actions{margin:18px 0}
/* footer */
.sl-foot{border-top:1px solid #2a2c31;background:#16171a;padding:26px 0;color:var(--muted);font-size:14px}
.sl-foot-in{display:flex;flex-direction:column;gap:10px}.sl-foot-brand{display:flex;align-items:center;gap:10px}.sl-foot-brand img{border-radius:8px}
.sl-foot nav{display:flex;flex-wrap:wrap;gap:16px}.sl-foot nav a{color:#c4c7cc}
/* mobile */
@media (max-width:760px){
 .sl-wrap{padding:0 14px}.sl-hero h1{font-size:28px}.sl-nav{gap:10px}.sl-nav-browse{display:none}
 .sl-brand span{font-size:16px}
 .sl-search select,.sl-search button{flex:1 1 45%}
 .sl-detail-head{flex-direction:column;text-align:center}.sl-detail-title .sl-tags{justify-content:center}
 .sl-detail-body{grid-template-columns:1fr}.sl-form-row{grid-template-columns:1fr}
 .sl-myrow{flex-wrap:wrap}.sl-myactions{width:100%;justify-content:flex-start}
}
/* badges: Verified (blue check) + Partner (green handshake), set by DKtreme2 */
.sl-badges{display:inline-flex;gap:6px;vertical-align:middle;margin-left:8px}
.sl-bdg{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;font-size:14px;cursor:help}
.sl-bdg-verified{color:#fff;background:#1d9bf0;box-shadow:0 0 0 2px rgba(29,155,240,.25),0 0 14px rgba(29,155,240,.45)}
.sl-bdg-partner{color:#fff;background:#23a55a;box-shadow:0 0 0 2px rgba(35,165,90,.25),0 0 14px rgba(35,165,90,.45)}
.sl-card-corner{position:absolute;top:12px;right:12px;z-index:3}.sl-card-corner .sl-badges{margin-left:0}
.sl-card-verified .sl-card-title,.sl-card-partner .sl-card-title{padding-right:62px}
.sl-card-verified{border-color:rgba(29,155,240,.35)}
.sl-card-partner{border-color:rgba(35,165,90,.45);background:linear-gradient(160deg,rgba(35,165,90,.10),var(--card) 45%)}
.sl-detail-title h1 .sl-badges{margin-left:12px}.sl-detail-title h1 .sl-bdg{width:32px;height:32px;font-size:17px}
.sl-badge-text{display:flex;gap:14px;margin-top:6px;font-size:13px;font-weight:600}
.sl-txt-verified,.sl-c-blue{color:#4cb3ff}.sl-txt-partner,.sl-c-green{color:#5fd07a}
.sl-myname .sl-badges{margin-left:0}.sl-myname .sl-bdg,.sl-table .sl-bdg{width:20px;height:20px;font-size:11px}
.sl-table .sl-badges{margin-left:6px}
.sl-nav-my i,.sl-btn i{font-size:.9em}
/* step26: Official badge (green check, DKtreme2's own servers) + badge descriptions on hover / focus / tap */
.sl-bdg-official{color:#fff;background:linear-gradient(135deg,#3ddc84,#0f9d58);box-shadow:0 0 0 2px rgba(61,220,132,.35),0 0 14px rgba(61,220,132,.5)}
.sl-bdg-official i{font-size:1.05em}
.sl-card-official{border-color:rgba(61,220,132,.55);background:linear-gradient(160deg,rgba(61,220,132,.12),var(--card) 45%)}
.sl-txt-official,.sl-c-official{color:#3ddc84}
.sl-card-b1 .sl-card-title{padding-right:34px}.sl-card-b2 .sl-card-title{padding-right:64px}.sl-card-b3 .sl-card-title{padding-right:96px}
.sl-bdg{position:relative;flex:none;outline:none;-webkit-tap-highlight-color:transparent}
.sl-table td:first-child{min-width:170px}
.sl-bdg:focus-visible{box-shadow:0 0 0 3px #fff}
.sl-tip{position:absolute;z-index:30;top:calc(100% + 9px);left:50%;transform:translateX(-50%);width:max-content;max-width:240px;
 padding:8px 11px;border-radius:9px;background:#0d0f14;color:#e9ebef;border:1px solid rgba(255,255,255,.14);
 box-shadow:0 8px 24px rgba(0,0,0,.45);font:500 12.5px/1.4 Inter,system-ui,sans-serif;letter-spacing:0;text-align:left;
 white-space:normal;text-transform:none;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s,visibility .12s}
.sl-tip b{display:block;font-weight:700;margin-bottom:2px}
.sl-bdg-official .sl-tip b{color:#3ddc84}.sl-bdg-verified .sl-tip b{color:#4cb3ff}.sl-bdg-partner .sl-tip b{color:#5fd07a}
.sl-tip::before{content:"";position:absolute;bottom:100%;left:50%;margin-left:-6px;border:6px solid transparent;border-bottom-color:#0d0f14}
.sl-bdg:hover .sl-tip,.sl-bdg:focus .sl-tip,.sl-bdg:focus-within .sl-tip,.sl-bdg:active .sl-tip{opacity:1;visibility:visible}
.sl-card-corner .sl-badges{position:relative}.sl-card-corner .sl-bdg{position:static}
.sl-card-corner .sl-tip{left:auto;right:-4px;transform:none}.sl-card-corner .sl-tip::before{left:auto;margin-left:0;right:11px}
.sl-card-corner .sl-bdg:nth-last-child(2) .sl-tip::before{right:43px}.sl-card-corner .sl-bdg:nth-last-child(3) .sl-tip::before{right:75px}
.sl-table .sl-badges{position:relative}.sl-table .sl-bdg{position:static}
.sl-table .sl-tip{top:50%;left:calc(100% + 10px);transform:translateY(-50%)}
.sl-table .sl-tip::before{bottom:auto;top:50%;left:auto;right:100%;margin:-6px 0 0;border-bottom-color:transparent;border-right-color:#0d0f14}
@media (hover:none){.sl-bdg{cursor:pointer}}
@media (max-width:760px){.sl-nav a.sl-nav-my{display:inline-flex}.sl-hide-xs{display:none}.sl-nav-browse{display:none}}
