/* SG Teamliste 1.4.0 - PHP-Fusion v7 - längliche Neon-Version */
.sg-teamlist-shell{--sg-bg:#02070c;--sg-role-height:68px;position:relative;overflow:hidden;margin:16px auto;padding:16px;border:1px solid #0b4872;border-radius:14px;background:radial-gradient(circle at 50% -12%,rgba(0,157,255,.17),transparent 32%),linear-gradient(180deg,#040b13 0%,#010408 100%);box-shadow:0 15px 45px rgba(0,0,0,.48),inset 0 0 55px rgba(0,131,218,.05);color:#eaf7ff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box}
.sg-teamlist-shell:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.2;background-image:linear-gradient(rgba(34,147,218,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(34,147,218,.06) 1px,transparent 1px);background-size:34px 34px}
.sg-teamlist-header{position:relative;z-index:1;text-align:center;margin-bottom:13px;padding-bottom:12px;border-bottom:1px solid rgba(37,169,255,.22)}
.sg-teamlist-banner{overflow:hidden;border-radius:9px;border:1px solid #0b4d7b;background:#01070d;box-shadow:0 0 22px rgba(0,142,255,.15)}
.sg-teamlist-banner img{display:block;width:100%;height:auto;max-height:220px;object-fit:cover}
.sg-teamlist-brand{display:flex;justify-content:center;align-items:center;gap:14px;padding:8px 0}.sg-teamlist-logo{width:64px;height:64px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:900;font-size:28px;font-style:italic;color:#fff;border:3px solid #168fe2;background:radial-gradient(circle at 35% 28%,#38caff,#067cd3 52%,#00254f 80%);box-shadow:0 0 22px rgba(0,153,255,.45)}
.sg-teamlist-title{margin:0;font-size:38px;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:#dff5ff;text-shadow:0 0 13px rgba(0,162,255,.42)}
.sg-teamlist-subtitle{margin-top:9px;color:#b6d8e8;font-size:11px;font-weight:bold;letter-spacing:7px;text-transform:uppercase}.sg-teamlist-intro{max-width:700px;margin:8px auto 0;color:#7299af;font-size:12px;line-height:1.5}
.sg-role-list{position:relative;z-index:1;display:flex;flex-direction:column;gap:8px}.sg-role{--sg-color:#20a8ff;position:relative;border:1px solid #174f72;border-radius:8px;background:linear-gradient(90deg,rgba(2,7,12,.99),rgba(3,11,18,.96),rgba(2,7,12,.99));box-shadow:0 0 12px rgba(0,145,235,.13),inset 0 0 22px rgba(0,0,0,.35);overflow:hidden}
.sg-role-head{position:relative;display:flex;align-items:center;min-height:var(--sg-role-height);padding:0 18px 0 8px;overflow:hidden;border-left:3px solid var(--sg-color);box-shadow:inset 0 1px 0 rgba(255,255,255,.035),inset 0 -1px 0 rgba(255,255,255,.025);background-position:center center;background-size:cover;background-repeat:no-repeat}
.sg-role-toggle{width:100%;cursor:pointer;background:none;border:none;text-align:left;color:inherit;font:inherit}
.sg-role-head:before{content:"";position:absolute;left:66px;right:-24px;top:7px;bottom:7px;border-top:1px solid var(--sg-color);border-bottom:1px solid var(--sg-color);opacity:.48;transform:skewX(-16deg);pointer-events:none}.sg-role-head:after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;background:linear-gradient(90deg,rgba(1,6,10,.95),rgba(3,10,16,.78),rgba(1,6,10,.96));pointer-events:none}.sg-role-head .sg-role-icon,.sg-role-head .sg-role-titlebox,.sg-role-head .sg-role-count,.sg-role-head .sg-role-arrow{position:relative;z-index:2}
.sg-role-icon{position:relative;z-index:2;width:54px;height:54px;flex:0 0 54px;margin-right:16px;border:1px solid var(--sg-color);clip-path:polygon(18% 0,82% 0,100% 18%,100% 82%,82% 100%,18% 100%,0 82%,0 18%);display:flex;align-items:center;justify-content:center;font-size:27px;font-weight:bold;color:var(--sg-color);background:radial-gradient(circle,#07141e,#01060a 72%);box-shadow:0 0 13px rgba(0,153,255,.16)}.sg-role-icon img{width:36px;height:36px;object-fit:contain;display:block}
.sg-role-titlebox{position:relative;z-index:2;min-width:0;flex:1}.sg-role-name{font-size:26px;line-height:1.05;font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:.7px;color:#f3f7fa;text-shadow:0 2px 4px #000,0 0 8px rgba(255,255,255,.05)}.sg-role-description{margin-top:3px;color:#7899ac;font-size:10px;line-height:1.25}.sg-role-count{position:relative;z-index:2;flex:0 0 auto;min-width:27px;height:27px;line-height:27px;text-align:center;margin-left:10px;border:1px solid var(--sg-color);border-radius:50%;color:var(--sg-color);font-size:10px;font-weight:bold;background:#02080d}.sg-role-arrow{position:relative;z-index:2;display:inline-block;width:14px;height:14px;margin-left:12px;flex:0 0 14px}.sg-role-arrow:before{content:"";display:block;width:10px;height:10px;border-right:2px solid var(--sg-color);border-bottom:2px solid var(--sg-color);transform:rotate(45deg);margin:1px 0 0 1px}.sg-role-collapsible.is-closed .sg-role-arrow:before{transform:rotate(-45deg);margin-top:3px}.sg-role-content.is-closed{display:none}.sg-role-content.is-open{display:block}
.sg-members{display:grid;gap:7px;padding:8px 9px 9px;border-top:1px solid rgba(83,155,198,.08)}.sg-members.sg-cols-1{grid-template-columns:1fr}.sg-members.sg-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-members.sg-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sg-member{position:relative;display:flex;align-items:center;gap:9px;min-width:0;padding:8px 9px;border:1px solid rgba(119,182,219,.12);border-radius:7px;background:linear-gradient(90deg,rgba(5,15,23,.92),rgba(2,8,13,.92))}.sg-member-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;overflow:hidden;border:2px solid var(--sg-color);display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#506374,#172631);color:#fff;font-size:19px;font-weight:bold;box-shadow:0 0 10px rgba(0,132,214,.13)}.sg-member-avatar img{width:100%;height:100%;object-fit:cover;display:block}.sg-member-main{min-width:0;flex:1}.sg-member-name{font-size:14px;font-weight:bold;color:#f2f8fb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-member-name a{color:#f2f8fb;text-decoration:none}.sg-member-role{margin-top:2px;font-size:10px;color:var(--sg-color);text-transform:uppercase;letter-spacing:.5px}.sg-member-text{margin-top:3px;color:#7894a5;font-size:10px;line-height:1.3}.sg-member-status{flex:0 0 auto;padding:3px 6px;border-radius:10px;font-size:9px;font-weight:bold;text-transform:uppercase}.sg-member-status.online{color:#7cff9d;background:rgba(28,150,70,.13);border:1px solid rgba(67,215,105,.27)}.sg-member-status.away{color:#ffd75a;background:rgba(190,143,20,.12);border:1px solid rgba(255,202,64,.24)}.sg-member-status.vacation{color:#65dfff;background:rgba(18,153,197,.12);border:1px solid rgba(70,207,242,.25)}.sg-member-status.offline{color:#aeb8be;background:rgba(120,130,140,.1);border:1px solid rgba(160,170,180,.18)}.sg-empty{padding:8px 12px;color:#658396;font-size:11px;border-top:1px solid rgba(83,155,198,.08)}
.sg-teamlist-footer{position:relative;z-index:1;margin-top:12px;padding:12px 10px 3px;text-align:center;border-top:1px solid rgba(38,164,236,.2);text-transform:uppercase}.sg-teamlist-footer strong{display:block;color:#33baff;letter-spacing:6px;font-size:16px}.sg-teamlist-footer span{display:block;margin-top:6px;color:#7398ac;font-size:9px;letter-spacing:3px}
/* Kompaktmodus */.sg-layout-compact .sg-role-head{min-height:54px}.sg-layout-compact .sg-role-icon{width:44px;height:44px;flex-basis:44px;font-size:22px}.sg-layout-compact .sg-role-icon img{width:30px;height:30px}.sg-layout-compact .sg-role-name{font-size:21px}.sg-layout-compact .sg-role-description{display:none}
/* Panel */.sg-teamlist-panel-list{display:flex;flex-direction:column;gap:6px}.sg-teamlist-panel-row{display:flex;align-items:center;gap:8px;padding:7px 8px;border-left:3px solid var(--sg-color);border-radius:6px;background:linear-gradient(90deg,rgba(4,15,23,.95),rgba(2,8,13,.95));color:#dcecf5}.sg-teamlist-panel-icon{width:25px;text-align:center;color:var(--sg-color);font-size:17px}.sg-teamlist-panel-name{flex:1;font-weight:bold;font-size:11px;text-transform:uppercase}.sg-teamlist-panel-count{font-size:10px;color:#7f9aac}
/* Admin */.sg-admin-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.sg-admin-tabs a{padding:7px 10px;border:1px solid #31749c;border-radius:5px;text-decoration:none;background:#06131d;color:#d5efff}.sg-admin-tabs a.active{background:#0c5c8c;color:#fff}.sg-admin-message{padding:9px 11px;margin:0 0 12px;border:1px solid #2d8fc5;background:#082638;color:#dff7ff}.sg-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sg-admin-card{box-sizing:border-box;margin-bottom:12px;padding:12px;border:1px solid #245876;border-radius:7px;background:#06111a}.sg-admin-card h3{margin:0 0 10px;color:#45bfff}.sg-stat span,.sg-stat small{display:block;color:#7996a6}.sg-stat strong{display:block;margin:4px 0;font-size:29px;color:#fff}.sg-form-row{margin-bottom:10px}.sg-form-row label{display:block;margin-bottom:4px;font-weight:bold}.sg-form-row input[type=text],.sg-form-row input[type=number],.sg-form-row select,.sg-form-row textarea{box-sizing:border-box;width:100%;padding:7px;border:1px solid #36677e;background:#02080d;color:#e5f5ff}.sg-form-row textarea{min-height:75px}.sg-form-row small{display:block;margin-top:3px;color:#7292a4}.sg-color-preview,.sg-color-dot{display:inline-block;width:17px;height:17px;vertical-align:middle;border-radius:50%;border:1px solid #8ea5b2}.sg-image-current{display:flex;align-items:center;gap:10px;margin-top:7px}.sg-image-current img{max-width:140px;max-height:80px;border-radius:6px;object-fit:cover}.sg-header-preview img{max-width:100%;max-height:180px;margin-top:8px;border:1px solid #245876}.sg-admin-icon-img{width:38px;height:38px;object-fit:contain}.sg-admin-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover}.sg-admin-table-wrap{overflow-x:auto}.sg-admin-table th{white-space:nowrap}
@media(max-width:760px){.sg-teamlist-shell{padding:10px}.sg-teamlist-title{font-size:29px}.sg-teamlist-logo{width:54px;height:54px;font-size:24px}.sg-teamlist-subtitle{letter-spacing:4px}.sg-role-name{font-size:20px}.sg-role-head{padding-right:9px}.sg-role-icon{width:47px;height:47px;flex-basis:47px;margin-right:11px}.sg-members.sg-cols-2,.sg-members.sg-cols-3{grid-template-columns:1fr}.sg-admin-grid{grid-template-columns:1fr}}
@media(max-width:460px){.sg-teamlist-brand{gap:8px}.sg-teamlist-title{font-size:24px}.sg-role-name{font-size:18px}.sg-role-description{display:none}.sg-role-count{display:none}.sg-member-status{display:none}}
