/* Coworker Header 7 */
.coworker-header{ position:fixed; top:40px !important; left:0; right:0; z-index:1000 !important; background:#fff; border-bottom:1px solid rgba(0,0,0,.08); box-shadow:0 6px 20px rgba(15,23,42,.06); }
.coworker-header .container{ max-width:1180px; margin:0 auto; height:84px; display:flex; align-items:center; justify-content:space-between; padding:0 16px; }
.coworker-brand{ display:flex; align-items:center; gap:12px; color:#334155; text-decoration:none; font-weight:800; font-size:18px; }
.coworker-brand i{ color:#3b82f6; }
.coworker-primary-menu{ flex:1; margin-left:18px; height:100%; }
.coworker-menu{ list-style:none; display:flex; align-items:center; gap:0; height:100%; margin:0; padding:0; }
.coworker-menu > li{ position:relative; height:100%; margin:0; }

/* 菜单项样式 */
.coworker-menu > li > a.tile{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; background:#f8fafc; color:#0f172a; border:1px solid rgba(0,0,0,.06); border-radius:0; height:100%; padding:0 16px; transition:all .18s ease; }
.coworker-menu > li > a.tile:hover{ background:linear-gradient(135deg, rgba(59,130,246,.10), rgba(139,92,246,.10)); border-color: rgba(0,0,0,.12); }

/* 图标样式 - 缩小并调整位置 */
.coworker-menu .tile-icon{ display:inline-flex; width:24px; height:24px; align-items:center; justify-content:center; font-size:16px; }
.coworker-menu .tile-icon i{ font-size:16px; }

/* 文字样式 */
.coworker-menu .tile-label{ font-weight:700; letter-spacing:.08em; text-transform:uppercase; font-size:13px; color:#334155; white-space:nowrap; }

/* 悬停渐变 */
.coworker-menu > li:nth-child(1) > a.tile:hover{ background:linear-gradient(135deg, #60a5fa, #93c5fd); }
.coworker-menu > li:nth-child(2) > a.tile:hover{ background:linear-gradient(135deg, #a78bfa, #f0abfc); }
.coworker-menu > li:nth-child(3) > a.tile:hover{ background:linear-gradient(135deg, #f59e0b, #ef4444); }
.coworker-menu > li:nth-child(4) > a.tile:hover{ background:linear-gradient(135deg, #60a5fa, #e5f0ff); }
.coworker-menu > li:nth-child(5) > a.tile:hover{ background:linear-gradient(135deg, #14b8a6, #22c55e); }

/* 下拉菜单 */
.coworker-menu .dropdown-menu{ position:absolute; top:100%; left:0; margin-top:0; min-width:720px; padding:14px; background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:0; box-shadow:0 20px 30px rgba(15,23,42,.20); display:none; }
.coworker-menu > li:hover > .dropdown-menu{ display:block; }
.coworker-menu .dropdown-item{ display:block; padding:10px 12px; border-radius:0; color:#0f172a; text-decoration:none; background:#f8fafc; border:1px solid rgba(0,0,0,.06); font-weight:700; margin-bottom:2px; }
.coworker-menu .dropdown-item:hover{ background:#eaf2ff; color:#0c4a6e; }

/* 用户区 */
.coworker-user{ display:flex; align-items:center; gap:10px; margin-left:18px; }
.coworker-user .user-id{ color:#334155; font-weight:700; background:#eef2ff; border:1px solid rgba(99,102,241,.25); padding:6px 10px; border-radius:999px; }
.coworker-user a{ color:#475569; text-decoration:none; font-size:13px; }

/* 响应式 */
@media (max-width:980px){ 
    .coworker-header .container{ height:58px; } 
    .coworker-primary-menu{ display:none; } 
}

/* 其他 */
.gaming-nav{ display:none !important; }
a.btn-game, .btn-game{ text-decoration:none !important; }
body.modal-open .coworker-header{ z-index:100; }
body.has-coworker-header .app-wrapper{ margin-top:8px !important; }
