/* Admin dock menu - APP version (indigo theme) */
.adock{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;z-index:300;padding:0 10px calc(env(safe-area-inset-bottom,0px) + 8px);pointer-events:none;}
.adock-bar{pointer-events:auto;display:flex;align-items:center;gap:2px;background:rgba(99,102,241,0.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:16px;padding:6px 8px;box-shadow:0 -2px 24px rgba(0,0,0,0.25),0 0 0 1px rgba(255,255,255,0.08);}

.adock-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 4px;border-radius:12px;color:rgba(255,255,255,0.55);font-size:10px;font-weight:600;letter-spacing:-0.2px;transition:all .15s ease;cursor:pointer;text-decoration:none;-webkit-tap-highlight-color:transparent;}
.adock-item:active{transform:scale(0.92);}
.adock-item:hover,.adock-item:focus{color:rgba(255,255,255,0.85);background:rgba(255,255,255,0.08);}
.adock-item svg{opacity:0.6;transition:opacity .15s;}
.adock-item:hover svg{opacity:0.9;}

.adock-item.adock-active{color:#fff;background:rgba(255,255,255,0.12);}
.adock-item.adock-active svg{opacity:1;}

.adock-sep{width:1px;height:28px;background:rgba(255,255,255,0.12);margin:0 4px;flex-shrink:0;}

.adock-auto{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 10px;cursor:pointer;flex-shrink:0;}
.adock-auto input{position:absolute;opacity:0;pointer-events:none;}
.adock-auto-track{width:36px;height:20px;background:rgba(255,255,255,0.15);border-radius:10px;position:relative;transition:background .2s ease;}
.adock-auto-thumb{position:absolute;left:2px;top:2px;width:16px;height:16px;background:#666;border-radius:50%;transition:all .2s ease;box-shadow:0 1px 3px rgba(0,0,0,0.3);}
.adock-auto input:checked~.adock-auto-track{background:rgba(76,175,80,0.5);}
.adock-auto input:checked~.adock-auto-track .adock-auto-thumb{transform:translateX(16px);background:#4CAF50;}
.adock-auto-text{font-size:10px;color:rgba(255,255,255,0.4);font-weight:600;}
.adock-auto input:checked~.adock-auto-text{color:rgba(76,175,80,0.85);}

body.has-adock .app-body{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 100px);}
body.has-adock .pc-body{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 100px);}

/* Super Sheet */
.super-overlay{position:fixed;inset:0;z-index:400;background:rgba(0,0,0,0);transition:background .25s ease;display:flex;align-items:flex-end;justify-content:center;}
.super-overlay-show{background:rgba(0,0,0,0.5);}

.super-sheet{width:100%;max-width:480px;max-height:75vh;background:#fff;border-radius:20px 20px 0 0;display:flex;flex-direction:column;transform:translateY(100%);transition:transform .3s cubic-bezier(0.32,0.72,0,1);box-shadow:0 -4px 30px rgba(0,0,0,0.2);}
.super-sheet-show{transform:translateY(0);}

.super-sheet-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 8px;border-bottom:1px solid #eee;}
.super-sheet-header h3{margin:0;font-size:17px;font-weight:700;color:#222;}
.super-sheet-close{width:32px;height:32px;border:none;background:#f0f0f0;border-radius:50%;font-size:20px;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;transition:background .15s;}
.super-sheet-close:active{background:#ddd;}

.super-sheet-search{padding:10px 16px 6px;}
.super-search-input{width:100%;padding:10px 14px;border:1px solid #ddd;border-radius:10px;font-size:15px;outline:none;transition:border-color .15s;box-sizing:border-box;}
.super-search-input:focus{border-color:#6366F1;}

.super-sheet-list{flex:1;overflow-y:auto;padding:4px 8px 20px;-webkit-overflow-scrolling:touch;}

.super-group-header{display:flex;align-items:center;gap:8px;padding:14px 12px 6px;}
.super-group-line{flex:1;height:1px;background:#e0e0e0;}
.super-group-label{font-size:13px;font-weight:700;color:#6366F1;white-space:nowrap;}
.super-group-count{font-size:11px;font-weight:600;color:#999;white-space:nowrap;}

.super-sub-label{font-size:11px;font-weight:700;color:#888;text-transform:uppercase;letter-spacing:0.3px;padding:10px 14px 4px;border-bottom:1px solid #f0f0f0;margin-bottom:2px;}

.super-team-header{display:flex;align-items:center;gap:6px;padding:10px 14px;margin:2px 0;border-radius:10px;background:#f7f9fc;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .12s;}
.super-team-header:active{background:#edf1f7;}
.super-team-arrow{font-size:10px;color:#999;transition:transform .2s;display:inline-block;}
.super-team-closed .super-team-arrow{transform:rotate(-90deg);}
.super-team-name{font-size:14px;font-weight:700;color:#333;flex:1;}
.super-team-count{font-size:12px;font-weight:600;color:#6366F1;background:#EEF2FF;padding:2px 8px;border-radius:10px;}
.super-team-body{transition:max-height .25s ease;overflow:hidden;}
.super-team-collapsed{max-height:0 !important;overflow:hidden;padding:0;}

.super-user{padding:10px 14px;margin:1px 0;border-radius:10px;cursor:pointer;transition:background .12s;-webkit-tap-highlight-color:transparent;}
.super-user:active{background:#eef2ff;}
.super-user:hover{background:#f5f7fa;}
.super-user-dim{opacity:0.45;}

.super-user-main{display:flex;align-items:center;gap:6px;}
.super-user-name{font-size:14px;font-weight:600;color:#222;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.super-user-name small{font-weight:400;color:#888;font-size:11px;}
.super-user-badge{font-size:10px;font-weight:600;color:#fff;background:#6366F1;padding:2px 7px;border-radius:5px;white-space:nowrap;}
.super-user-score{font-size:12px;font-weight:700;color:#6366F1;white-space:nowrap;}
.super-user-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;}
.super-user-src{font-size:10px;color:#999;background:#f0f0f0;padding:1px 5px;border-radius:4px;white-space:nowrap;}
.super-user-status{font-size:10px;font-weight:600;color:#F44336;background:#FFF3F3;padding:1px 6px;border-radius:4px;white-space:nowrap;}
.super-user-sub{font-size:11px;color:#888;margin-top:2px;padding-left:14px;}

.super-loading,.super-empty{text-align:center;padding:30px 0;color:#999;font-size:14px;}
